/* =========================================================
   みつきbooks — 見た目（色・形・動き）
   ========================================================= */

:root {
  --ink: #1d1b3f;
  --ink-soft: #55527a;
  --ink-faint: #8c89ad;
  --paper: #fffaf2;
  --card: #ffffff;
  --line: #ece6f7;
  --night-1: #17133f;
  --night-2: #3b2b8f;
  --moon: #ffd43b;
  --lemon: #ffe873;
  --coral: #ff6b6b;
  --pink: #ff8fb1;
  --sky: #4dabf7;
  --mint: #38d9a9;
  --violet: #7c5cff;
  --amazon: #ff9f1a;
  --amazon-deep: #f08300;
  --kindle: #2463d6;
  --kindle-deep: #1a4fb3;
  --radius: 22px;
  --shadow: 0 14px 34px -16px rgba(29, 27, 63, 0.45);
  --shadow-pop: 0 22px 44px -18px rgba(29, 27, 63, 0.55);
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-display: "Dela Gothic One", "Zen Maru Gothic", "Hiragino Sans", sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 242, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(29, 27, 63, .45); }
.header__in { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .02em; }
.logo__moon { width: 30px; height: 30px; flex: none; animation: moonSway 6s ease-in-out infinite; transform-origin: 50% 60%; }
.logo__mitsuki { color: var(--ink); }
.logo__books { color: var(--violet); }
.logo:hover .logo__moon { animation: moonSpin .8s cubic-bezier(.3,1.6,.5,1); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .2s;
}
.nav a:hover { background: #f1ecff; transform: translateY(-2px); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav .nav__icon { padding: 8px; display: inline-grid; place-items: center; }
.nav .nav__icon svg { width: 22px; height: 22px; }

/* ---------- 動く文字 ---------- */
.chars > span[aria-hidden] {
  display: inline-block; opacity: 0;
  transform: translateY(.7em) rotate(10deg) scale(.5);
}
.is-in .chars > span[aria-hidden], .chars.is-in > span[aria-hidden], .play .chars > span[aria-hidden] {
  animation: charPop .62s cubic-bezier(.2, 1.5, .4, 1) forwards;
  animation-delay: calc(var(--i) * 38ms + var(--d, 0ms));
}
@keyframes charPop {
  0% { opacity: 0; transform: translateY(.7em) rotate(10deg) scale(.5); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.wave-hover:hover .chars > span[aria-hidden] { animation: charWave .6s ease forwards; animation-delay: calc(var(--i) * 30ms); }
@keyframes charWave { 0%, 100% { transform: none; opacity: 1; } 40% { transform: translateY(-.25em); opacity: 1; } }

.reveal { opacity: 0; transform: translateY(26px) scale(.97); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .7s cubic-bezier(.2, 1.25, .35, 1);
  transition-delay: var(--delay, 0ms);
}

/* ---------- トップの夜空 ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(124, 92, 255, .55), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(255, 143, 177, .35), transparent 60%),
    linear-gradient(160deg, var(--night-1), var(--night-2));
  padding: 56px 0 120px;
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i {
  position: absolute; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%;
  background: #fff; opacity: .2; animation: twinkle var(--t, 3s) ease-in-out infinite; animation-delay: var(--dl, 0s);
}
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
.hero__moon { position: absolute; right: -40px; top: 40px; width: 220px; opacity: .95; animation: moonSway 9s ease-in-out infinite; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moon); box-shadow: 0 0 0 0 rgba(255, 212, 59, .7); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 212, 59, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 212, 59, 0); } }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 6.2vw, 4.1rem); line-height: 1.28; margin: 18px 0 14px; letter-spacing: .01em;
}
.hero__title .hl { color: var(--moon); }
.hero__rotator { font-size: clamp(1.02rem, 2.6vw, 1.3rem); font-weight: 700; margin: 0 0 26px; }
.rotator {
  display: inline-block; perspective: 600px; vertical-align: bottom;
  background: var(--lemon); color: var(--ink); padding: 2px 14px; border-radius: 12px; margin-right: 4px;
  box-shadow: 0 6px 0 -1px #e3b800; transition: transform .2s;
}
.rotator:hover { transform: translateY(-2px) rotate(-1deg); }
.rotator__text { display: inline-block; transform-origin: 50% 100%; transition: transform .32s cubic-bezier(.5, 0, .5, 1), opacity .32s; }
.rotator.is-out .rotator__text { transform: rotateX(90deg) translateY(-6px); opacity: 0; }
.rotator.is-in2 .rotator__text { animation: flipIn .45s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes flipIn { from { transform: rotateX(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }

.search {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); max-width: 560px;
}
.search svg { width: 22px; height: 22px; color: var(--ink-faint); flex: none; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; font-size: 1rem; color: var(--ink); padding: 10px 0; }
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search button {
  border: 0; cursor: pointer; background: var(--violet); color: #fff; font-weight: 700;
  padding: 10px 20px; border-radius: 999px; transition: transform .15s, background .2s;
}
.search button:hover { background: #6a48ff; transform: scale(1.04); }
.search button:active { transform: scale(.95); }
.hero__hint { margin: 10px 4px 0; font-size: .85rem; opacity: .75; }

.stats { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.stat {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px;
  padding: 10px 18px; min-width: 110px;
}
.stat b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--moon); display: block; line-height: 1.2; }
.stat span { font-size: .82rem; opacity: .85; }

.hero__covers { position: relative; height: 400px; }
.float-cover {
  position: absolute; width: 46%; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6);
  transform: rotate(var(--r)); animation: floaty 5.5s ease-in-out infinite; animation-delay: var(--dl, 0s);
  transition: box-shadow .3s;
}
.float-cover img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; }
.float-cover:hover { z-index: 5; box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .7); }
.float-cover:nth-child(1) { left: 2%; top: 60px; --r: -9deg; }
.float-cover:nth-child(2) { left: 28%; top: 0; --r: 3deg; z-index: 2; --dl: -1.8s; }
.float-cover:nth-child(3) { left: 54%; top: 80px; --r: 11deg; --dl: -3.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-14px) rotate(calc(var(--r) + 2deg)); } }
.float-cover__tag {
  position: absolute; left: 8px; bottom: 8px; right: 8px; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: .72rem; font-weight: 700; border-radius: 8px; padding: 4px 8px; line-height: 1.4;
}
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

@keyframes moonSway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-6px); } }
@keyframes moonSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------- 流れるテープ ---------- */
.tape {
  position: relative; z-index: 3; margin: -36px -10px 0; transform: rotate(-2deg);
  background: var(--lemon); border-block: 3px solid var(--ink); overflow: hidden; padding: 10px 0;
  box-shadow: 0 10px 0 -4px rgba(29, 27, 63, .15);
}
.tape--pink { background: var(--pink); transform: rotate(1.5deg); margin-top: 18px; }
.tape__track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.tape:hover .tape__track { animation-play-state: paused; }
.tape__item { display: inline-flex; align-items: center; gap: 12px; padding: 0 22px; font-weight: 900; white-space: nowrap; font-size: 1.02rem; }
.tape__item small { font-weight: 700; opacity: .7; font-size: .82rem; }
.tape__item:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.tape__star { width: 18px; height: 18px; flex: none; }
.tape--reverse .tape__track { animation-direction: reverse; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- セクション ---------- */
.section { padding: 76px 0 20px; position: relative; }
.section--tint { background: linear-gradient(180deg, transparent, #f4efff 18%, #f4efff 82%, transparent); }
.section--peach { background: linear-gradient(180deg, transparent, #fff1e2 18%, #fff1e2 82%, transparent); }
.sec-head { margin-bottom: 28px; }
.sec-head__en { font-family: var(--font-display); font-size: .82rem; letter-spacing: .18em; color: var(--violet); margin: 0; }
.sec-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 4px 0 0; line-height: 1.35; }
.squiggle { display: block; width: 180px; height: 14px; margin-top: 6px; }
.squiggle path { fill: none; stroke: var(--accent, var(--coral)); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.is-in .squiggle path { transition: stroke-dashoffset 1.1s cubic-bezier(.6, 0, .2, 1) .35s; stroke-dashoffset: 0; }
.sec-lead { color: var(--ink-soft); margin: 10px 0 0; }
.sec-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; color: var(--violet);
  border-bottom: 2px dashed currentColor; padding-bottom: 2px;
}
.sec-more:hover .arrow { transform: translateX(4px); }
.arrow { display: inline-block; transition: transform .2s; }

/* ---------- 本のカード ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 22px; }
.hscroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 220px); gap: 22px;
  overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.hscroll > * { scroll-snap-align: start; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  padding: 14px 14px 16px; box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2, 1.4, .4, 1), box-shadow .35s;
  --accent: var(--violet);
}
.card:hover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: var(--shadow-pop); }
.card__cover {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 7 / 10; background: #eee;
  perspective: 800px;
}
.card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, 1.2, .4, 1); transform-origin: left center; }
.card:hover .card__cover img { transform: rotateY(-14deg) scale(1.03); }
.badge-new {
  position: absolute; top: 10px; left: -4px; z-index: 2; background: var(--coral); color: #fff; font-family: var(--font-display);
  font-size: .75rem; padding: 3px 12px 3px 10px; border-radius: 0 999px 999px 0; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4);
  animation: wobble 2.6s ease-in-out infinite;
}
@keyframes wobble { 0%, 100% { transform: rotate(0); } 8% { transform: rotate(-8deg) scale(1.08); } 16% { transform: rotate(6deg); } 24% { transform: rotate(0); } }
.card__hook {
  margin: 12px 0 2px; font-size: .82rem; font-weight: 700; color: var(--accent); line-height: 1.5;
}
.card__title { margin: 2px 0 0; font-size: 1.08rem; line-height: 1.45; font-weight: 900; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); z-index: 1; }
.card__author { margin: 2px 0 8px; font-size: .84rem; color: var(--ink-soft); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; }
.mini-amazon {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 900;
  background: var(--amazon); color: #2b1600; padding: 5px 11px; border-radius: 999px; transition: transform .15s, background .2s;
  white-space: nowrap;
}
.mini-amazon:hover { transform: scale(1.07); background: var(--amazon-deep); color: #fff; }

/* ジャンルのチップ */
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; line-height: 1;
  padding: 6px 10px; border-radius: 999px; background: var(--c, #7048e8); color: #fff;
}
.chip--light { color: var(--ink); }

/* 生成した表紙（画像がない本） */
.gen-cover {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative;
  background: linear-gradient(150deg, var(--c1, #7c5cff), var(--c2, #ff8fb1)); color: #fff; padding: 12px;
}
.gen-cover__title { writing-mode: vertical-rl; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .1em; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.gen-cover__author { position: absolute; bottom: 10px; left: 12px; font-size: .75rem; font-weight: 700; opacity: .9; }

/* ---------- こんな人に（タイル） ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tile {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 18px; border-radius: var(--radius);
  background: var(--tc, #fff); color: var(--tt, var(--ink)); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .3s cubic-bezier(.2, 1.5, .4, 1), box-shadow .3s;
}
.tile:hover { transform: translateY(-6px) scale(1.02) rotate(.8deg); box-shadow: var(--shadow-pop); }
.tile__text { flex: 1; min-width: 0; }
.tile__name { font-weight: 900; font-size: 1.02rem; line-height: 1.45; display: block; }
.tile__count { font-size: .82rem; font-weight: 700; opacity: .8; }
.tile__stack { display: flex; flex: none; }
.tile__stack img { width: 38px; aspect-ratio: 7 / 10; object-fit: cover; border-radius: 4px; border: 2px solid #fff; margin-left: -14px; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5); transition: transform .3s; }
.tile__stack img:first-child { margin-left: 0; }
.tile:hover .tile__stack img:nth-child(1) { transform: rotate(-10deg) translateY(-3px); }
.tile:hover .tile__stack img:nth-child(3) { transform: rotate(10deg) translateY(-3px); }
.tile::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

/* ジャンルの大きいチップ */
.genre-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.genre-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 900;
  background: var(--c); color: #fff; box-shadow: 0 6px 0 -1px rgba(0, 0, 0, .18); transition: transform .2s cubic-bezier(.2, 1.6, .4, 1);
}
.genre-btn small { background: rgba(255, 255, 255, .28); border-radius: 999px; padding: 0 8px; font-size: .78rem; }
.genre-btn:hover { transform: translateY(-4px) rotate(-3deg) scale(1.06); }
.genre-btn:nth-child(even):hover { transform: translateY(-4px) rotate(3deg) scale(1.06); }

/* 受賞 */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.award {
  position: relative; display: flex; gap: 16px; align-items: center; padding: 16px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, 1.5, .4, 1);
}
.award:hover { transform: translateY(-5px); }
.award img { width: 78px; aspect-ratio: 7 / 10; object-fit: cover; border-radius: 8px; flex: none; }
.award__medal {
  display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #ffe873, #ffb703); color: #4a3300;
  font-weight: 900; font-size: .82rem; padding: 4px 12px; border-radius: 999px;
}
/* カードの受賞・ランキング（一目でわかるように表紙のすぐ下に出す） */
.card__awards { margin: 12px 0 -4px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__awards .award__medal { font-size: .78rem; padding: 3px 10px; box-shadow: 0 3px 8px -4px rgba(150, 100, 0, .6); }
.award__title { font-weight: 900; font-size: 1.1rem; margin: 6px 0 0; }

/* 作家 */
.author-card {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; background: #fff; border-radius: 28px; padding: 22px 26px;
  box-shadow: var(--shadow);
}
.author-card__name { font-family: var(--font-display); font-size: 1.7rem; margin: 0; line-height: 1.3; }
.author-card__yomi { color: var(--ink-faint); font-size: .85rem; margin: 0; }
.author-card__nums { display: flex; gap: 12px; margin-left: auto; flex-wrap: wrap; }
.pill-num { background: #f4efff; border-radius: 16px; padding: 8px 16px; text-align: center; }
.pill-num b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--violet); line-height: 1.2; }
.pill-num span { font-size: .78rem; color: var(--ink-soft); }

/* ---------- 一覧ページ ---------- */
.page-head {
  position: relative; overflow: hidden; padding: 44px 0 30px;
  background:
    radial-gradient(circle at 12px 12px, rgba(124, 92, 255, .14) 2.5px, transparent 3px) 0 0 / 24px 24px,
    linear-gradient(180deg, #f4efff, var(--paper));
}
.page-head__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 6vw, 3.1rem); margin: 0; line-height: 1.3; }
.page-head__lead { color: var(--ink-soft); margin: 8px 0 0; }
.page-head__deco { position: absolute; right: 6%; top: 18px; width: 120px; opacity: .9; animation: moonSway 7s ease-in-out infinite; }

.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.toolbar .search { flex: 1 1 360px; max-width: none; box-shadow: var(--shadow); }
.toolbar .search .clear { background: #eee; color: var(--ink); padding: 8px 12px; display: none; }
.toolbar .search.has-value .clear { display: inline-block; }
.select {
  appearance: none; -webkit-appearance: none; border: 0; background: #fff; border-radius: 999px; padding: 12px 40px 12px 18px;
  font-weight: 700; box-shadow: var(--shadow); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d1b3f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.filter-toggle {
  display: none; border: 0; cursor: pointer; background: var(--ink); color: #fff; font-weight: 700; border-radius: 999px; padding: 12px 18px;
}
.filter-toggle .n { background: var(--moon); color: var(--ink); border-radius: 999px; padding: 0 8px; margin-left: 6px; font-size: .8rem; }

.layout { display: grid; grid-template-columns: 270px 1fr; gap: 34px; align-items: start; padding: 30px 0 60px; }
.filters { position: sticky; top: 84px; display: grid; gap: 22px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); max-height: calc(100vh - 110px); overflow: auto; }
.fgroup h3 { margin: 0 0 10px; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.fgroup h3 .fdot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent, var(--violet)); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  border: 2px solid var(--c, var(--line)); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: .84rem; font-weight: 700;
  cursor: pointer; transition: transform .15s, background .2s, color .2s; line-height: 1.4; text-align: left;
}
.fchip small { opacity: .6; margin-left: 2px; }
.fchip:hover { transform: translateY(-2px); }
.fchip[aria-pressed="true"] { background: var(--c, var(--violet)); border-color: var(--c, var(--violet)); color: #fff; animation: chipPop .35s cubic-bezier(.2, 1.8, .4, 1); }
.fchip.is-empty { opacity: .4; }
@keyframes chipPop { 0% { transform: scale(.85); } 100% { transform: scale(1); } }
.filters__clear { border: 0; background: none; color: var(--coral); font-weight: 900; cursor: pointer; text-align: left; padding: 0; }
.filters__done { display: none; }

.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; scroll-margin-top: 84px; }
.results-count { font-weight: 900; font-size: 1.05rem; margin: 0; }
.results-count b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--violet); display: inline-block; min-width: 1.2em; text-align: center; }
.results-count b.bump { animation: bump .4s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes bump { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; min-height: 0; }
.active-chip {
  border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: .82rem; font-weight: 700; animation: chipPop .3s cubic-bezier(.2, 1.8, .4, 1);
}
.active-chip span { opacity: .7; }
.empty { text-align: center; padding: 50px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty svg { width: 90px; margin: 0 auto 10px; animation: moonSway 3s ease-in-out infinite; }
.empty button { border: 0; background: var(--violet); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; margin-top: 12px; }

/* ---------- 詳細ページ ---------- */
.crumbs { font-size: .85rem; color: var(--ink-soft); padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.book-hero { position: relative; padding: 24px 0 40px; }
.book-hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 78%; z-index: -1;
  background:
    radial-gradient(circle at 20px 20px, color-mix(in srgb, var(--accent) 22%, transparent) 3px, transparent 3.5px) 0 0 / 34px 34px,
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, #fff), var(--paper));
}
.book-hero__grid { display: grid; grid-template-columns: 330px 1fr; gap: 46px; align-items: start; }
.book-cover { position: relative; perspective: 1000px; }
.book-cover__img {
  border-radius: 6px 14px 14px 6px; overflow: hidden; box-shadow: 18px 26px 40px -18px rgba(29, 27, 63, .6), inset 4px 0 0 rgba(0, 0, 0, .08);
  animation: floatBook 6s ease-in-out infinite; transform-origin: left center;
}
.book-cover__img img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; }
@keyframes floatBook { 0%, 100% { transform: translateY(0) rotateY(-6deg) rotate(-1deg); } 50% { transform: translateY(-12px) rotateY(-12deg) rotate(1deg); } }
.book-cover__shadow { width: 70%; height: 18px; margin: 18px auto 0; border-radius: 50%; background: rgba(29, 27, 63, .18); filter: blur(6px); animation: shadowPulse 6s ease-in-out infinite; }
@keyframes shadowPulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.82); opacity: .55; } }
.book-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5.4vw, 3.3rem); line-height: 1.25; margin: 12px 0 6px; }
.book-author { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-soft); border-bottom: 2px dashed var(--line); }
.book-author:hover { color: var(--accent); border-color: var(--accent); }
.hook {
  position: relative; display: inline-block; margin: 22px 0 6px; padding: 14px 22px; background: var(--ink); color: #fff;
  border-radius: 20px; font-weight: 900; font-size: clamp(1.05rem, 2.6vw, 1.3rem); line-height: 1.55;
  transform-origin: 20px 100%; opacity: 0;
}
.hook::after { content: ""; position: absolute; left: 26px; bottom: -12px; border: 12px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
.play .hook, .hook.is-in { animation: bubble .7s cubic-bezier(.2, 1.6, .4, 1) .5s forwards; }
@keyframes bubble { 0% { opacity: 0; transform: scale(.3) rotate(-8deg); } 100% { opacity: 1; transform: none; } }
.catch { font-size: clamp(1rem, 2.4vw, 1.15rem); font-weight: 900; margin: 18px 0 0; line-height: 1.75; }
.catch span {
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--accent) 35%, #fff) 58%) no-repeat 0 0 / 0% 100%;
  animation: sweep 1s cubic-bezier(.6, 0, .2, 1) 1s forwards; padding: 0 2px;
}
@keyframes sweep { to { background-size: 100% 100%; } }

/* 購入ボタン */
.buy { margin-top: 26px; background: #fff; border-radius: 26px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 12px; max-width: 560px; }
.buy__label { margin: 0 0 2px; font-weight: 900; font-size: .9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.btn-buy {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-radius: 18px;
  font-weight: 900; color: #fff; transition: transform .18s cubic-bezier(.2, 1.6, .4, 1), filter .2s, box-shadow .2s;
  box-shadow: 0 7px 0 var(--deep), 0 16px 26px -14px rgba(0, 0, 0, .5);
}
.btn-buy:hover { transform: translateY(-3px); filter: brightness(1.05); }
.btn-buy:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--deep), 0 6px 12px -8px rgba(0, 0, 0, .5); }
.btn-buy::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg);
  animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 80%, 100% { left: 130%; } }
.btn-buy__icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; flex: none; }
.btn-buy__icon svg { width: 24px; height: 24px; }
.btn-buy__text { display: grid; line-height: 1.35; flex: 1; }
.btn-buy__text b { font-size: 1.15rem; }
.btn-buy__text small { font-size: .8rem; font-weight: 700; opacity: .92; }
.btn-buy__arrow { font-size: 1.4rem; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.btn-amazon { background: linear-gradient(135deg, #ffb340, var(--amazon) 55%, var(--amazon-deep)); color: #2b1600; --deep: #c96a00; }
.btn-amazon .btn-buy__icon { background: rgba(255, 255, 255, .45); }
.btn-kindle { background: linear-gradient(135deg, #4b86f0, var(--kindle) 55%, var(--kindle-deep)); --deep: #143f8f; }
.btn-buy--sub { padding: 11px 18px; }
.btn-buy--sub .btn-buy__text b { font-size: 1rem; }
.buy__note { margin: 2px 4px 0; font-size: .78rem; color: var(--ink-faint); line-height: 1.6; }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .5);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2, 1.3, .4, 1);
}
.buybar.is-show { transform: none; }
.buybar a { flex: 1; text-align: center; padding: 12px 8px; border-radius: 14px; font-weight: 900; font-size: .95rem; }
.buybar .a { background: var(--amazon); color: #2b1600; }
.buybar .k { background: var(--kindle); color: #fff; }

/* 中身のブロック */
.book-body { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; padding-bottom: 50px; }
.block { background: #fff; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); margin-bottom: 24px; position: relative; }
.block__label {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 900; font-size: .92rem;
  padding: 6px 16px 6px 12px; border-radius: 999px; margin: 0 0 16px;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 65%, #000); /* 斜めにせず、下の影でポップに */
}
.block__label svg { width: 18px; height: 18px; }
.synopsis p { margin: 0 0 1em; }
.synopsis p:last-child { margin-bottom: 0; font-weight: 900; }
.recs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.recs li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 8%, #fff); }
.check { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.check svg { width: 16px; height: 16px; }
.check path { fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.is-in .check path { transition: stroke-dashoffset .5s ease calc(var(--delay, 0ms) + 250ms); stroke-dashoffset: 0; }
.points { list-style: none; margin: 0; padding: 0; counter-reset: pt; display: grid; gap: 16px; }
.points li { counter-increment: pt; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.points li::before {
  content: counter(pt); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display);
  font-size: 1.3rem; color: #fff; background: var(--accent); box-shadow: 0 5px 0 rgba(0, 0, 0, .15);
}
.block__note { margin: 14px 0 0; font-size: .78rem; color: var(--ink-faint); }

.obi {
  position: relative; padding: 20px 24px; border-radius: 12px; font-weight: 900; font-size: clamp(1.1rem, 2.8vw, 1.4rem); line-height: 1.6;
  background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--accent) 92%, #000) 0 10px, var(--accent) 10px 20px); color: #fff;
  clip-path: inset(0 100% 0 0 round 12px);
}
.is-in .obi { transition: clip-path .9s cubic-bezier(.7, 0, .2, 1) .2s; clip-path: inset(0 0 0 0 round 12px); }
.placeholder {
  border: 2.5px dashed #cbc5e3; border-radius: 14px; padding: 14px 16px; color: var(--ink-faint); font-weight: 700; background: #faf8ff;
  display: flex; gap: 10px; align-items: center;
}
.placeholder::before { content: "✎"; font-size: 1.2rem; }

.info { width: 100%; border-collapse: collapse; font-size: .92rem; }
.info th, .info td { text-align: left; padding: 10px 6px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.info th { width: 7.5em; color: var(--ink-soft); font-weight: 700; white-space: nowrap; }
.info tr:last-child th, .info tr:last-child td { border-bottom: 0; }
.ed { display: block; }
.ed + .ed { margin-top: 6px; }
.ed small { color: var(--ink-faint); }
.award-chip { display: inline-block; background: linear-gradient(135deg, #ffe873, #ffb703); color: #4a3300; font-weight: 900; font-size: .8rem; padding: 3px 10px; border-radius: 999px; margin: 0 6px 6px 0; }

.side-sticky { position: sticky; top: 84px; }
.others { display: flex; flex-wrap: wrap; gap: 8px; }
.other {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--line); font-size: .84rem; font-weight: 700;
  transition: transform .15s, border-color .2s, background .2s;
}
.other:hover { transform: translateY(-2px); border-color: var(--amazon); background: #fff7eb; }
.other .ext { font-size: .7rem; opacity: .6; }
.mini-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px; margin-bottom: 16px; }
.mini-book { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; line-height: 1.4; }
.mini-book img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.2, 1.5, .4, 1); }
.mini-book:hover img { transform: translateY(-5px) rotate(-3deg); }
.subhead { font-size: .88rem; font-weight: 900; color: var(--ink-soft); margin: 4px 0 10px; }
.more-books { padding-bottom: 40px; }
.more-books .mini-books { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 112px; gap: 16px; overflow-x: auto; padding: 8px 4px 14px; margin-bottom: 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.more-books .mini-book { scroll-snap-align: start; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0 60px; }
.pager a {
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.2, 1.5, .4, 1);
}
.pager a:hover { transform: translateY(-4px); }
.pager a.next { justify-content: flex-end; text-align: right; }
.pager img { width: 46px; aspect-ratio: 7 / 10; object-fit: cover; border-radius: 6px; }
.pager small { display: block; color: var(--ink-faint); font-size: .75rem; }
.pager b { font-size: .95rem; }
.notfound { text-align: center; padding: 80px 20px; }

/* ---------- フッター ---------- */
.footer { background: var(--night-1); color: #d9d6f5; padding: 50px 0 34px; margin-top: 40px; position: relative; }
.footer .logo__mitsuki { color: #fff; }
.footer .logo__books { color: var(--moon); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.footer p { font-size: .88rem; margin: 10px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; justify-content: flex-end; }
.footer__links a { border: 1px solid rgba(255, 255, 255, .25); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; transition: background .2s; }
.footer__links a:hover { background: rgba(255, 255, 255, .12); }
.footer__small { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .76rem; opacity: .75; }

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__in > * { min-width: 0; }
  .hero__covers { height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero__moon { width: 112px; right: -30px; top: 8px; opacity: 1; }
  .layout { grid-template-columns: 1fr; gap: 10px; padding-top: 18px; }
  .filter-toggle { display: inline-flex; align-items: center; }
  .filters { position: static; max-height: none; display: none; overflow: visible; }
  .filters.is-open { display: grid; animation: drop .35s cubic-bezier(.2, 1.3, .4, 1); }
  .filters__done { display: block; position: sticky; bottom: 12px; width: 100%; border: 0; border-radius: 999px; background: var(--violet); color: #fff; font-weight: 900; font-size: 1rem; padding: 14px; cursor: pointer; box-shadow: 0 6px 0 -1px #5a3fd6, 0 14px 24px -10px rgba(29, 27, 63, .5); }
  .filters__done b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-right: 2px; }
  .book-hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .book-hero { padding-top: 12px; }
  .book-hero__grid { gap: 12px; }
  /* 表紙の上からキャッチコピーまでを、スマホの1画面に収める（2026-12-02 みつき） */
  .book-cover { width: min(160px, 42vw); margin: 0 auto; }
  .book-cover__shadow { margin-top: 10px; height: 12px; }
  .book-title { margin-top: 6px; }
  .hook { margin-top: 14px; }
  .catch { margin-top: 12px; }
  .book-body { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
  .buybar { display: none; }  /* 下についてくる買うボタンは出さない（2026-12-02 みつき） */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .header__in { height: 58px; }
  .logo { font-size: 1.12rem; }
  .nav a { padding: 7px 10px; font-size: .86rem; }
  .nav .hide-sm { display: none; }
  .hero { padding: 34px 0 100px; }
  .stats { gap: 8px; }
  .stat { min-width: 0; flex: 1; padding: 8px 10px; }
  .stat b { font-size: 1.5rem; }
  .stat span { font-size: .72rem; }
  .search button { padding: 10px 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .card { padding: 9px 9px 12px; border-radius: 18px; }
  .card__title { font-size: .96rem; }
  .card__hook { font-size: .74rem; }
  .card__foot { flex-direction: column; align-items: flex-start; }
  .hscroll { grid-auto-columns: 46%; gap: 12px; }
  .section { padding-top: 56px; }
  .block { padding: 20px 18px; }
  .tiles { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .author-card__nums { margin-left: 0; }
  .pager { grid-template-columns: 1fr; }
  .page-head__deco { width: 80px; right: 4%; }
  .toolbar .select { flex: 1; }
  body.has-buybar { padding-bottom: 0; }
  .more-books .mini-books { grid-auto-columns: 96px; gap: 12px; }
}

/* 動きを減らす設定の人には、動きを止める */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chars > span[aria-hidden], .reveal, .hook { opacity: 1 !important; transform: none !important; }
  .obi { clip-path: none !important; }
  .catch span { background-size: 100% 100% !important; }
  .squiggle path, .check path { stroke-dashoffset: 0 !important; }
}

/* ページを切りかえた時に見出しへ移す印（枠は出さない） */
h1[tabindex="-1"]:focus { outline: none; }

/* 紹介動画（サムネイルつき。押すと YouTube が開く） */
.video-card { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 16px; align-items: center; color: inherit; text-decoration: none; padding: 10px; margin: -10px; border-radius: 18px; transition: background .2s; }
.video-card:hover { background: color-mix(in srgb, var(--accent) 7%, #fff); }
.video-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--accent), #ff8fb1); box-shadow: 0 6px 0 color-mix(in srgb, var(--accent) 35%, transparent); }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.2, 1.2, .4, 1); }
.video-card:hover .video-card__thumb img { transform: scale(1.05); }
.video-card__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 38px; margin: -19px 0 0 -27px; border-radius: 12px; background: #ff0033; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.2, 1.4, .4, 1); }
.video-card__play svg { width: 22px; height: 22px; }
.video-card:hover .video-card__play { transform: scale(1.12); }
.video-card__body { display: grid; gap: 8px; }
.video-card__title { font-weight: 900; line-height: 1.55; }
.video-card__cta { justify-self: start; font-size: .82rem; font-weight: 900; color: #fff; background: var(--accent); padding: 4px 12px; border-radius: 999px; box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 65%, #000); }
@media (max-width: 640px) {
  .video-card { grid-template-columns: 1fr; gap: 12px; }
}
/* ショート動画は縦長のサムネイル */
.video-card--short { grid-template-columns: 150px 1fr; }
.video-card--short .video-card__thumb { aspect-ratio: 9 / 16; }
@media (max-width: 640px) { .video-card--short { grid-template-columns: 130px 1fr; } }
/* 長尺とショートを縦に並べる */
.video-list { display: grid; gap: 22px; }
.video-card__kind { justify-self: start; font-size: .72rem; font-weight: 900; letter-spacing: .08em; color: var(--accent); }

/* スマホで右が切れないように：中身が画面より広がらないようにする（iPhone のアプリ内表示で、はみ出しに合わせてページ全体が広がっていた） */
#main { overflow-x: clip; }
.hero__in > * { min-width: 0; }
.search { max-width: 100%; }
.search input { width: 100%; }
.stats { max-width: 100%; }
@media (max-width: 640px) {
  .stats { flex-wrap: nowrap; }
  .hero__covers { max-width: 100%; }
  .float-cover { width: 41%; }
  .float-cover:nth-child(1) { left: 3%; }
  .float-cover:nth-child(2) { left: 29%; }
  .float-cover:nth-child(3) { left: 54%; }
}

/* 大きな賞（本屋大賞受賞・芥川賞・直木賞）はネオンブルーのグラデーション（フチなし）。ランキングやノミネートの黄色とは分ける（光ったり色が変わったりはしない） */
.award__medal.is-glam, .award-chip.is-glam { color: #fff; background: linear-gradient(135deg, #00c6ff, #3a5bff, #8a2be2); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); box-shadow: 0 3px 10px -4px rgba(58, 91, 255, .7); }
.fchip--glam { border-color: #3a5bff; }
.fchip--glam[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, #00c6ff, #3a5bff, #8a2be2); background-origin: border-box; border-color: transparent; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }

/* ホームの受賞作：賞ごとのボタン（押すと、その賞の作品だけを「本をさがす」で出す） */
.awcat__lead { margin: -6px 0 16px; color: var(--ink-soft); font-size: .9rem; }
.awcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.awcat { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: linear-gradient(135deg, #ffe873, #ffb703); color: #4a3300; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, 1.5, .4, 1); }
.awcat:hover { transform: translateY(-4px); }
.awcat.is-glam { color: #fff; background: linear-gradient(135deg, #00c6ff, #3a5bff, #8a2be2); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.awcat__covers { display: flex; flex: none; width: 96px; }
.awcat__covers img { width: 42px; aspect-ratio: 7 / 10; object-fit: cover; border-radius: 5px; box-shadow: 0 3px 8px -3px rgba(0, 0, 0, .5); border: 2px solid #fff; }
.awcat__covers img + img { margin-left: -16px; }
.awcat__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.awcat__name { font-weight: 900; font-size: 1.02rem; }
.awcat__count { font-size: .82rem; font-weight: 700; opacity: .85; }
@media (max-width: 640px) { .awcats { grid-template-columns: 1fr; gap: 10px; } }

/* もどるボタン（来たページへ、見ていた位置のままもどる） */
.backbar { padding-top: 16px; }
.backbtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--ink, #17133f); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: 0 4px 12px -6px rgba(23, 19, 63, .6); }
.backbtn:hover { opacity: .88; }
.backbar + .crumbs { padding-top: 10px; }
