/* AGIガールズチャンネル. Light, dotted paper; the three members' colours (blue, green, red) as the brand; tall
   condensed English titles with a Japanese line under them (after the gaming-group sites' look). */
:root {
  --ink: #1e1b2b;
  --ink-2: #4a4659;
  --dim: #7b7790;
  --paper: #fbfaff;
  --card: #ffffff;
  --line: #e6e3f0;
  --emi: #2c6de0;
  --chapiko: #2fb35a;
  --kurada: #e2433a;
  --work: #f0a032;
  --dot: rgba(30, 27, 43, 0.07);
  --radius: 22px;
  --shadow: 0 1px 0 rgba(30, 27, 43, 0.04), 0 10px 30px rgba(30, 27, 43, 0.07);
  --en: 'Anton', 'Dela Gothic One', sans-serif;
  --jp-head: 'Dela Gothic One', 'Zen Maru Gothic', sans-serif;
  --jp: 'Zen Maru Gothic', system-ui, -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--jp); font-weight: 500; line-height: 1.8; font-size: 15px;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--emi); outline-offset: 3px; border-radius: 6px; }

/* ---- the logo: three slanted bars in the members' colours */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1; }
.logo .bars { display: inline-flex; gap: 3px; transform: skewX(-18deg); }
.logo .bars i { width: 6px; height: 22px; border-radius: 2px; }
.logo .bars i:nth-child(1) { background: var(--emi); }
.logo .bars i:nth-child(2) { background: var(--chapiko); }
.logo .bars i:nth-child(3) { background: var(--kurada); }
.logo b { font-family: var(--en); font-weight: 400; font-size: 26px; letter-spacing: 0.02em; }
.logo small { font-family: var(--en); font-size: 11px; letter-spacing: 0.18em; color: var(--dim); align-self: flex-end; padding-bottom: 2px; }

/* ---- the header: a white pill bar */
.masthead {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 12px var(--gutter); background: rgba(251, 250, 255, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav { display: flex; gap: 2px; background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 4px; }
.nav a { font-family: var(--en); font-size: 15px; letter-spacing: 0.06em; text-decoration: none; padding: 6px 14px; border-radius: 999px; }
.nav a:hover { background: var(--ink); color: #fff; }
.nav a[aria-current='page'] { background: var(--ink); color: #fff; }
.menu-btn { display: none; }

/* ---- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--ink); background: var(--card); color: var(--ink);
  font: 700 15px/1 var(--jp); text-decoration: none; cursor: pointer; transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.pill { min-width: 220px; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }

/* ---- sections */
main { display: block; }
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--gutter) 0; position: relative; }
.sec-title h2 { margin: 0 0 22px; display: flex; flex-direction: column; line-height: 1; }
.sec-title .en { font-family: var(--en); font-weight: 400; font-size: clamp(56px, 10vw, 120px); letter-spacing: 0.01em; position: relative; }
.sec-title .en::before {
  content: ''; position: absolute; left: -2px; top: -10px; width: 58px; height: 8px; border-radius: 4px; transform: skewX(-18deg);
  background: linear-gradient(90deg, var(--emi) 0 33%, var(--chapiko) 33% 66%, var(--kurada) 66%);
}
.sec-title .ja { font-family: var(--jp); font-weight: 900; font-size: clamp(16px, 2vw, 20px); margin-top: 10px; color: var(--kurada); letter-spacing: 0.08em; }
.sec-title.right h2 { align-items: flex-end; text-align: right; }
.sec-title.right .en::before { left: auto; right: 0; }
.sec-lead { max-width: 640px; color: var(--ink-2); margin: -4px 0 26px; }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 6px; font-weight: 900; font-size: 13px; letter-spacing: 0.08em; color: var(--kurada); }
.fine { font-size: 12px; color: var(--dim); line-height: 1.7; }
.muted { color: var(--dim); }
.more { text-align: center; margin: 34px 0 0; }

/* ---- the hero: a rounded frame, the big words behind, the three in front */
.hero { padding: 8px var(--gutter) 0; max-width: 1320px; margin: 0 auto; }
.hero-frame {
  position: relative; border: 2px solid var(--ink); border-radius: 36px; background: linear-gradient(180deg, #ffffff 0%, #f3f1fb 100%);
  min-height: clamp(520px, 72vh, 760px); overflow: hidden; isolation: isolate;
}
.hero-frame::before, .hero-frame::after {
  content: ''; position: absolute; width: 22px; height: 180px; border-radius: 6px; transform: rotate(28deg); z-index: -1;
}
.hero-frame::before { background: var(--emi); left: 6%; top: 8%; }
.hero-frame::after { background: var(--chapiko); right: 7%; top: 14%; height: 120px; }
.hero-word {
  position: absolute; left: clamp(24px, 5vw, 72px); top: 12%; margin: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--en); font-size: clamp(60px, 8vw, 124px); line-height: 0.92; letter-spacing: 0.005em; color: var(--ink);
}
.hero-word em { font-style: normal; color: var(--emi); }
.hero-word em.c3 { color: var(--kurada); }
.hero-word span:nth-child(2) em { color: var(--chapiko); }
.hero-lead {
  position: absolute; left: clamp(24px, 5vw, 72px); bottom: clamp(20px, 4vw, 48px); z-index: 3; margin: 0;
  font: 900 clamp(15px, 1.6vw, 20px)/1.6 var(--jp); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 16px;
}
.hero-cast { position: absolute; right: 3%; bottom: -5%; width: min(50%, 600px); display: flex; align-items: flex-end; z-index: 2; }
.hero-cast img { filter: drop-shadow(0 12px 18px rgba(30, 27, 43, 0.18)); animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both; }
/* widths in proportion to each picture, so the three stand the same height whatever the frame's width */
.hero-cast .b-emi { width: 40.4%; margin-right: -5%; animation-delay: 0.1s; }
.hero-cast .b-chapiko { width: 25.1%; z-index: 1; animation-delay: 0.25s; }
.hero-cast .b-kurada { width: 33.6%; margin-left: -4%; animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.band { width: 106%; margin-left: -3%; margin-top: -2px; background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; padding: 14px 0; transform: rotate(-1.2deg) scale(1.03); }
.band-run { display: inline-flex; gap: 48px; animation: run 36s linear infinite; font-family: var(--jp-head); font-size: clamp(16px, 2vw, 22px); letter-spacing: 0.06em; }
.band-run span::before { content: '◆'; margin-right: 48px; color: var(--work); font-size: 0.7em; vertical-align: 0.15em; }
@keyframes run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-run, .hero-cast img { animation: none; } html { scroll-behavior: auto; } }

/* ---- NOW: today's game, the countdown, who is on */
.now-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; }
.today { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); overflow: hidden; }
.today .thumb { aspect-ratio: auto; min-height: 320px; }
.today .thumb img { position: absolute; inset: 0; }
.thumb { position: relative; display: block; background: #1f1d2b; aspect-ratio: 1 / 1; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.thumb:hover img { transform: scale(1.04); }
.thumb .noimg { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, #2a2738 0 12px, #24212f 12px 24px); }
.op-badge { position: absolute; left: 12px; top: 12px; font-family: var(--en); font-size: 18px; letter-spacing: 0.04em; background: var(--kurada); color: #fff; padding: 2px 12px; border-radius: 999px; }
.today-text { padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; }
.today-text h3 { margin: 0 0 10px; font: 400 clamp(24px, 3vw, 34px)/1.3 var(--jp-head); }
.twist { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.ai-scores { margin: 0 0 16px; font-weight: 700; font-size: 14px; }
.ai-scores.board { margin-top: -10px; font-weight: 500; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.side { display: grid; gap: 22px; align-content: start; }
.clock { padding: 22px 24px; text-align: center; }
.clock b { display: block; font-family: var(--en); font-weight: 400; font-size: clamp(48px, 6vw, 68px); line-height: 1.05; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.clock .sub { margin: 6px 0 0; font-size: 13px; color: var(--dim); }
.onair { padding: 20px 22px; }
.notify { padding: 20px 22px; }
.notify-topics { display: grid; gap: 6px; margin: 4px 0 12px; font-size: 14px; }
.notify-topics label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.notify-topics input { width: 18px; height: 18px; accent-color: var(--ink); }
.notify-row { display: flex; gap: 8px; flex-wrap: wrap; }
.notify .sub { margin: 8px 0 0; font-size: 13px; color: var(--dim); min-height: 1.4em; }
.onair-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.onair-list li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.onair-list img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: #eef; object-fit: cover; }
.onair-list b { display: block; color: var(--ink); font-size: 15px; }
.onair-list .live img { border-color: #e2433a; }
.live-dot { margin-left: 8px; padding: 1px 6px; border-radius: 4px; background: #e2433a; color: #fff; font: 400 11px/1.4 var(--en); font-style: normal; letter-spacing: 0.08em; vertical-align: 2px; }
.live-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #fff; vertical-align: 1px; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } }
.onair-list .meet { display: block; width: fit-content; margin-top: 8px; padding: 5px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; text-decoration: none; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.onair-list .meet:hover, .onair-list .meet:focus-visible { transform: translateY(-1px); box-shadow: 0 3px 0 var(--ink); }

/* ---- MEMBER: the name and profile, the big picture, the faces to switch */
.member-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'text art' 'tabs art'; gap: 10px 40px; align-items: start; --c: var(--emi); }
.member-stage[data-who='chapiko'] { --c: var(--chapiko); }
.member-stage[data-who='kurada'] { --c: var(--kurada); }
.member-text { grid-area: text; padding-top: 10px; }
.m-role { display: inline-block; margin: 0 0 8px; font-weight: 900; font-size: 13px; color: #fff; background: var(--c); padding: 2px 12px; border-radius: 999px; transition: background 0.3s; }
.m-name { margin: 0; font: 400 clamp(40px, 6vw, 72px)/1.15 var(--jp-head); }
.m-kana { margin: 6px 0 18px; font-family: var(--en); letter-spacing: 0.16em; color: var(--c); transition: color 0.3s; }
.m-catch { margin: 0 0 18px; font-weight: 700; font-size: 16px; max-width: 30em; }
.m-prof { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.m-prof dt { font-weight: 900; color: var(--c); transition: color 0.3s; }
.m-prof dd { margin: 0; color: var(--ink-2); }
.member-art { grid-area: art; position: relative; height: clamp(520px, 64vw, 760px); display: flex; justify-content: center; align-items: flex-end; }
.member-art::before {
  content: ''; position: absolute; inset: 8% 6% 4%; border-radius: 40px; background: var(--c); opacity: 0.14; transform: skewX(-8deg); transition: background 0.3s;
}
.member-art::after { content: ''; position: absolute; width: 26px; height: 64%; right: 10%; top: 4%; border-radius: 8px; background: var(--c); transform: rotate(24deg); opacity: 0.9; transition: background 0.3s; }
.member-art img { position: relative; z-index: 1; height: 100%; width: auto; filter: drop-shadow(0 14px 22px rgba(30, 27, 43, 0.2)); }
.member-art img.in { animation: slidein 0.5s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.member-tabs { grid-area: tabs; display: flex; gap: 12px; align-self: end; padding-bottom: 20px; }
.member-tabs button {
  appearance: none; border: 2px solid var(--ink); background: var(--card); border-radius: 16px; padding: 6px 6px 8px; cursor: pointer; width: 112px;
  transform: skewX(-8deg); transition: transform 0.15s, background 0.2s; color: var(--ink);
}
.member-tabs button > * { transform: skewX(8deg); }
.member-tabs button img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #f1eff8; }
.member-tabs button span { display: block; font-weight: 900; font-size: 13px; text-align: center; line-height: 1.4; margin-top: 2px; }
.member-tabs button:hover { transform: skewX(-8deg) translateY(-3px); }
.member-tabs button[aria-selected='true'] { background: var(--c); color: #fff; }

/* ---- game cards (the top's latest three, and the whole list) */
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.game { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s; }
.game:hover { transform: translateY(-4px); }
.game .thumb { aspect-ratio: 4 / 3; }
.game .new { position: absolute; right: 12px; top: 12px; font-family: var(--en); background: var(--chapiko); color: #fff; padding: 2px 12px; border-radius: 999px; letter-spacing: 0.06em; }
.g-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.g-date { margin: 0; font-family: var(--en); letter-spacing: 0.08em; color: var(--dim); font-size: 13px; }
.game .t { margin: 2px 0 8px; font: 400 21px/1.35 var(--jp-head); }
.game .t a { text-decoration: none; }
.game .t a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.g-theme { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.g-theme span { display: inline-block; font-size: 11px; font-weight: 900; color: #fff; background: var(--kurada); border-radius: 6px; padding: 0 6px; margin-right: 6px; vertical-align: 0.1em; }
.g-twist { margin: 0 0 12px; font-size: 13px; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.game .ai { margin: auto 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; }
.game .ai:empty { display: none; }
.game .ai .who { font-size: 11px; font-weight: 900; color: #fff; border-radius: 6px; padding: 0 6px; }
.game .ai .who.emi { background: var(--emi); }
.game .ai .who.chapiko { background: var(--chapiko); }
.game .ai .who.kurada { background: var(--kurada); }
.game .ai b { margin-right: 6px; }
.g-actions { display: flex; gap: 8px; }
.g-actions .btn { flex: 1; }

/* ---- the roster */
.sched { padding: clamp(16px, 3vw, 28px); }
.sched-head p { margin: 0 0 8px; color: var(--ink-2); }
.legend { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 18px; height: 8px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.legend .emi, .bar.emi { background: var(--emi); }
.legend .chapiko, .bar.chapiko { background: var(--chapiko); }
.legend .kurada, .bar.kurada { background: var(--kurada); }
.legend .work, .bar.work { background: var(--work); }
.table-scroll { overflow-x: auto; border: 2px solid var(--line); border-radius: 14px; }
.roster { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 12px; }
.roster th, .roster td { padding: 6px 10px; text-align: left; white-space: nowrap; }
.roster thead th { color: var(--dim); font-weight: 700; border-bottom: 2px solid var(--line); }
.roster tbody th { width: 78px; color: var(--ink); font-weight: 900; }
.roster tbody tr + tr th, .roster tbody tr + tr td { border-top: 1px solid var(--line); }
.roster tr.is-today th { color: var(--kurada); }
.roster tr.is-today td { background: #fff5f4; }
.scale { position: relative; height: 18px; }
.scale span { position: absolute; transform: translateX(-50%); font-size: 11px; }
.scale span:first-child { transform: none; }
.scale span:last-child { transform: translateX(-100%); }
.scale span.reveal { color: var(--kurada); font-weight: 900; }
.bars { position: relative; height: 54px; }
.bar { position: absolute; height: 12px; border-radius: 3px; }
.bar.work { height: 4px; }
.tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tick.reveal { background: var(--kurada); width: 2px; opacity: 0.6; }
.now { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }

/* ---- Blockworld */
.bw { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; background: var(--ink); color: #fff; }
.bw-art { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.bw-text { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.bw-text .eyebrow { color: #ffd24a; }
.bw-title { margin: 0 0 12px; font-family: var(--en); font-weight: 400; font-size: clamp(48px, 7vw, 84px); line-height: 1; letter-spacing: 0.02em; }
.bw-text p { color: #dcd9e8; }
.bw .btn.primary { background: #fff; color: var(--ink); border-color: #fff; align-self: flex-start; }
.bw .btn.primary:hover { box-shadow: 0 4px 0 #ffd24a; }

/* ---- the opinion box */
.box-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: clamp(18px, 3vw, 32px); }
.box-text p:first-child { margin-top: 0; }
form label { display: block; font-weight: 900; font-size: 13px; margin: 0 0 4px; }
form input, form textarea {
  width: 100%; font: 500 16px/1.6 var(--jp); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 10px 14px; margin-bottom: 14px;
}
form textarea { resize: vertical; }
.turnstile:not(:empty) { margin: 0 0 12px; min-height: 65px; }
.send { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#op-count { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
#op-status { min-height: 1.6em; margin: 10px 0 0; font-weight: 700; font-size: 14px; }
#op-status.ok { color: var(--chapiko); }
#op-status.err { color: var(--kurada); }

/* ---- footer */
.foot { max-width: var(--max); margin: clamp(64px, 10vw, 120px) auto 0; padding: 32px var(--gutter) 48px; border-top: 2px solid var(--ink); display: grid; gap: 14px; justify-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 700; font-size: 14px; }
.foot p { margin: 0; font-size: 12px; color: var(--dim); }

/* ---- the list page */
.page-head { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; position: relative; }
.page-head h1 { margin: 0 0 16px; display: flex; flex-direction: column; line-height: 1; }
.page-head h1 .en { font-family: var(--en); font-weight: 400; font-size: clamp(72px, 14vw, 168px); letter-spacing: 0.01em; }
.page-head h1 .ja { font-family: var(--jp); font-weight: 900; font-size: clamp(18px, 2.4vw, 24px); color: var(--kurada); margin-top: 12px; letter-spacing: 0.08em; }
.page-head p { max-width: 620px; color: var(--ink-2); }
.page-head .stats { font-weight: 700; color: var(--ink); }
.page-head .stats b { font-family: var(--en); font-weight: 400; font-size: 28px; letter-spacing: 0.04em; vertical-align: -0.1em; font-variant-numeric: tabular-nums; }
.page-head .sep { color: var(--dim); margin: 0 8px; }
.page-head-art { height: clamp(260px, 34vw, 420px); width: auto; filter: drop-shadow(0 12px 18px rgba(30, 27, 43, 0.18)); }
.archive { padding-top: 36px; }
/* the privacy page: plain reading text in one card */
.prose { padding-top: 24px; }
.prose .card { max-width: 760px; padding: clamp(22px, 4vw, 44px); }
.prose h2 { font-family: var(--jp-head); font-weight: 400; font-size: 19px; margin: 32px 0 8px; letter-spacing: 0.04em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 10px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose b { color: var(--ink); }
.sort { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; padding: 3px; background: var(--card); margin-bottom: 22px; }
.sort button { appearance: none; border: 0; background: none; font: 700 14px/1 var(--jp); padding: 9px 16px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.sort button[aria-pressed='true'] { background: var(--ink); color: #fff; }

/* ---- narrower screens */
@media (max-width: 960px) {
  .now-grid { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bw { grid-template-columns: minmax(0, 1fr); }
  .box-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .masthead { padding: 10px 16px; }
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; padding: 0 12px;
    border: 2px solid var(--ink); border-radius: 50%; background: var(--card); cursor: pointer; position: relative; z-index: 31;
  }
  .menu-btn i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s; }
  .menu-open .menu-btn i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-btn i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 30; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    border: 0; border-radius: 0; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
  }
  .nav a { font-size: 34px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .logo b { font-size: 22px; }
  .hero { padding: 4px 12px 0; }
  .hero-frame { min-height: 0; height: min(140vw, 640px); border-radius: 26px; }
  .hero-word { left: 0; right: 0; top: 5%; align-items: center; text-align: center; font-size: 16.5vw; }
  .hero-cast { left: 50%; right: auto; transform: translateX(-50%); width: 92%; bottom: -3%; }
  .hero-lead { left: 12px; right: 12px; bottom: 12px; font-size: 14px; padding: 10px 14px; }
  .hero-frame::before { height: 110px; width: 14px; top: 44%; left: 4%; }
  .hero-frame::after { height: 80px; width: 14px; top: 50%; right: 5%; }
  .sec { padding-left: 16px; padding-right: 16px; }
  .today { grid-template-columns: minmax(0, 1fr); }
  .today .thumb { aspect-ratio: 16 / 10; min-height: 0; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .member-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'art' 'tabs' 'text'; gap: 16px; }
  .member-art { height: 420px; }
  .member-tabs { justify-content: center; padding-bottom: 0; }
  .member-tabs button { width: 96px; }
  .games { grid-template-columns: minmax(0, 1fr); }
  .page-head { grid-template-columns: minmax(0, 1fr) 30%; padding-left: 16px; padding-right: 16px; }
  .page-head-art { height: auto; width: 100%; max-height: 260px; object-fit: contain; object-position: bottom; }
  .foot { padding-left: 16px; padding-right: 16px; }
}
