/* LTV Games — shared styles. White, quiet, lots of air; the games bring the colour. */
:root {
  --bg: #ffffff;
  --ink: #141417;
  --sub: #5f5f68;
  --faint: #9d9da6;
  --line: #ececef;
  --wash: #f6f6f3;
  --focus: #2f6bff;
  --radius: 28px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --latin: "Avenir Next", "Helvetica Neue", "Segoe UI", var(--sans);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .02em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---- header / footer ---- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--latin); font-weight: 600; font-size: 17px; letter-spacing: .01em; }
.logo i { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--ink); position: relative; flex: none; }
.logo i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
.logo span { color: var(--faint); font-weight: 500; }
.nav { display: flex; gap: clamp(16px, 3vw, 36px); font-size: 14px; }
.nav a { text-decoration: none; color: var(--sub); }
.nav a:hover { color: var(--ink); }
.site-foot { margin-top: clamp(96px, 14vw, 180px); border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 40px; padding-bottom: 56px; font-size: 13px; color: var(--faint); }
.site-foot a { color: var(--sub); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.site-foot nav { display: flex; gap: 24px; }

/* ---- hub hero ---- */
.hero { padding: clamp(56px, 10vw, 140px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 20px; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.22; font-weight: 700; letter-spacing: .01em; margin: 0; }
.hero h1 em { font-style: normal; background: linear-gradient(#ffe27a, #ffe27a) no-repeat 0 88% / 100% 24%; animation: mark 1s var(--ease) .35s both; }
@keyframes mark { from { background-size: 0% 24%; } }
.hero p.lead { color: var(--sub); font-size: clamp(15px, 1.6vw, 17px); max-width: 30em; margin: 28px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none; transition: transform .25s var(--ease), background .2s, box-shadow .25s; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(20, 20, 23, .6); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(20, 20, 23, .6); }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn .dice { display: inline-block; transition: transform .6s var(--ease); }
.btn:hover .dice { transform: rotate(200deg); }
.count { font-size: 13px; color: var(--faint); }

/* fanned captures in the hero */
.fan { position: relative; height: clamp(360px, 44vw, 560px); }
.fan .shot { position: absolute; left: 50%; top: 50%; width: clamp(150px, 17vw, 220px); aspect-ratio: 1 / 2; border-radius: 26px; overflow: hidden; background: #ddd; box-shadow: 0 30px 60px -28px rgba(20, 20, 30, .45), 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .7s var(--ease); }
.fan .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fan .s1 { transform: translate(-115%, -46%) rotate(-11deg); }
.fan .s2 { transform: translate(-50%, -54%) rotate(0deg); z-index: 2; }
.fan .s3 { transform: translate(15%, -46%) rotate(11deg); }
.fan:hover .s1 { transform: translate(-135%, -44%) rotate(-15deg); }
.fan:hover .s2 { transform: translate(-50%, -60%) scale(1.03); }
.fan:hover .s3 { transform: translate(35%, -44%) rotate(15deg); }
.fan .s1 { animation: float 7s ease-in-out infinite; }
.fan .s2 { animation: float 7s ease-in-out -2.3s infinite; }
.fan .s3 { animation: float 7s ease-in-out -4.6s infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.fan .dot { position: absolute; border-radius: 50%; filter: blur(2px); }
.fan .d1 { width: 120px; height: 120px; background: #ffe27a; left: 6%; top: 8%; opacity: .7; }
.fan .d2 { width: 70px; height: 70px; background: #9fe3dc; right: 8%; bottom: 10%; opacity: .8; }

/* ---- chooser ---- */
.chooser { padding-top: clamp(24px, 4vw, 40px); }
.chooser-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.chooser h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; margin: 0; font-weight: 700; }
.chooser .hint { margin: 6px 0 0; font-size: 14px; color: var(--faint); }
.moods { display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 20px; margin: 0 calc(-1 * var(--gutter)) clamp(24px, 4vw, 48px); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.moods::-webkit-scrollbar { display: none; }
.mood { flex: none; appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--wash); color: var(--sub); transition: background .2s, color .2s, transform .2s var(--ease); }
.mood:hover { color: var(--ink); transform: translateY(-1px); }
.mood[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mood .n { font-family: var(--latin); font-size: 12px; opacity: .6; }

/* ---- game cards ---- */
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) clamp(20px, 3vw, 44px); }
.games > li { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.games > li[hidden] { display: none; }
.game { display: block; text-decoration: none; color: inherit; position: relative; outline: none; }
.game .stage { position: relative; aspect-ratio: 5 / 6; border-radius: var(--radius); background: var(--tint, var(--wash)); overflow: hidden; isolation: isolate; perspective: 900px; transition: box-shadow .4s var(--ease); }
.game .stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 58%; transform: translate(-50%, -50%) scale(.8); background: var(--accent); opacity: .22; filter: blur(30px); transition: transform .6s var(--ease), opacity .6s; z-index: -1; }
.game .phone { position: absolute; left: 50%; top: 13%; width: 54%; aspect-ratio: 1 / 2; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--accent) 18%, #fff); box-shadow: 0 24px 40px -22px rgba(20, 20, 30, .55), 0 0 0 5px #fff, 0 0 0 6px rgba(0, 0, 0, .06); transform: translateX(-50%) rotate(var(--tilt, -3deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease), top .6s var(--ease); }
.games > li:nth-child(3n+2) .phone { --tilt: 2.5deg; }
.games > li:nth-child(3n) .phone { --tilt: -1.5deg; }
.game .phone img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 0; transform: translateY(var(--shot-y, 0%)); transition: transform 2.8s var(--ease), filter .5s; filter: saturate(.9) contrast(.98); }
.game .phone::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .0) 30%, rgba(255, 255, 255, .28) 45%, rgba(255, 255, 255, 0) 60%); transform: translateX(var(--sheen, -60%)); transition: transform .8s var(--ease); mix-blend-mode: soft-light; }
.game .badge { position: absolute; left: 18px; top: 18px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .3); }
.game .badge.play { background: var(--accent); color: #fff; }
.game .badge.app { background: var(--ink); color: #fff; }
.game .badge.soon { background: rgba(255, 255, 255, .8); color: var(--sub); }
.game .no { position: absolute; right: 20px; top: 16px; z-index: 2; font-family: var(--latin); font-size: 13px; font-weight: 600; color: rgba(0, 0, 0, .28); }
.game .info { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: center; margin-top: 22px; }
.game .icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.game .kind { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent); line-height: 1.2; filter: brightness(.82) saturate(1.2); }
.game h3 { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 700; }
.game p { margin: 12px 0 0; font-size: 14px; line-height: 1.8; color: var(--sub); }
.game .go { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.game .go b { display: inline-block; transition: transform .3s var(--ease); }
.game.is-soon .go { color: var(--faint); }

.games > li.is-awake .stage::before { transform: translate(-50%, -50%) scale(1.25); opacity: .38; }
.games > li.is-awake .phone { top: 8%; --tilt: 0deg; }
.games > li.is-awake .phone img { transform: translateY(var(--shot-y-to, -14%)); filter: saturate(1.08) contrast(1.02); }
@media (hover: hover) {
  .game:hover .stage::before, .game:focus-visible .stage::before { transform: translate(-50%, -50%) scale(1.25); opacity: .38; }
  .game:hover .phone, .game:focus-visible .phone { top: 8%; --tilt: 0deg; }
  .game:hover .phone img, .game:focus-visible .phone img { transform: translateY(var(--shot-y-to, -14%)); filter: saturate(1.08) contrast(1.02); }
  .game:hover .phone::after { --sheen: 60%; }
  .game:hover .go b { transform: translateX(4px); }
}
.game:focus-visible .stage { box-shadow: 0 0 0 3px var(--focus); }

/* おまかせ roulette */
.games.is-spinning > li:not(.is-spot) { opacity: .28; }
.games.is-spinning > li.is-spot { transform: translateY(-6px); }
.games > li.is-picked .stage { box-shadow: 0 0 0 3px var(--ink); }
.stamp { position: absolute; z-index: 3; right: 16px; bottom: 18px; width: 92px; height: 92px; border-radius: 50%; border: 3px solid #e2412e; color: #e2412e; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 15px; line-height: 1.25; transform: rotate(-14deg) scale(0); opacity: 0; background: rgba(255, 255, 255, .85); }
.is-picked .stamp { animation: stamp .5s var(--ease) .05s forwards; }
@keyframes stamp { 0% { transform: rotate(-30deg) scale(2.2); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(-14deg) scale(1); opacity: 1; } }

/* ---- promises strip ---- */
.promises { margin-top: clamp(96px, 14vw, 180px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.promises h3 { font-size: 17px; margin: 18px 0 8px; }
.promises p { margin: 0; color: var(--sub); font-size: 14px; }
.promises .mark { width: 44px; height: 44px; border-radius: 14px; background: var(--wash); display: grid; place-items: center; font-size: 20px; }

/* ---- game page ---- */
.g-hero { padding: clamp(40px, 7vw, 100px) 0 clamp(56px, 8vw, 110px); }
.g-hero .wrap { display: grid; grid-template-columns: 1fr minmax(300px, 400px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.crumb { font-size: 13px; color: var(--faint); margin: 0 0 28px; }
.crumb a { text-decoration: none; color: var(--sub); }
.g-hero h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.15; margin: 0; letter-spacing: .06em; }
.g-hero .tagline { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; margin: 18px 0 0; }
.g-hero .desc { color: var(--sub); margin: 18px 0 32px; max-width: 32em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--wash); color: var(--sub); }
.device { position: relative; width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 390 / 780; border-radius: 40px; background: #0b0c12; box-shadow: 0 50px 80px -40px rgba(20, 20, 30, .55), 0 0 0 10px #fff, 0 0 0 11px var(--line); overflow: hidden; }
.device img, .device iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: top; }
.device .poster { appearance: none; border: 0; padding: 0; margin: 0; cursor: pointer; position: absolute; inset: 0; width: 100%; background: none; }
.device .poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55)); }
.device .play-dot { position: absolute; z-index: 2; left: 50%; bottom: 44px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); white-space: nowrap; }
.device .poster:hover .play-dot { transform: translateX(-50%) scale(1.05); }
.device-note { text-align: center; font-size: 12px; color: var(--faint); margin: 22px 0 0; }
.device-note a { color: var(--sub); }

/* full-screen play on phones */
.overlay { position: fixed; inset: 0; z-index: 100; background: #000; display: none; }
.overlay.is-open { display: block; }
.overlay iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.overlay .close { position: absolute; z-index: 2; left: max(10px, env(safe-area-inset-left)); top: max(10px, env(safe-area-inset-top)); display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); color: #141417; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); }
body.no-scroll { overflow: hidden; }

.article { padding-top: clamp(16px, 3vw, 40px); }
.article section { padding: clamp(48px, 7vw, 88px) 0 0; }
.article h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 20px; }
.article h2 .i { font-family: var(--latin); font-size: 13px; font-weight: 600; color: var(--faint); letter-spacing: .12em; }
.article p, .article li { color: #3c3c44; }
.article ol { padding-left: 1.4em; }
.article li { margin: 0 0 10px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; }
.facts div { background: var(--wash); border-radius: 18px; padding: 20px 22px; font-size: 14px; line-height: 1.8; color: #3c3c44; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--faint); margin: 0 0 6px; }
.facts dd { margin: 0; }
.formula { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 2; background: var(--wash); border-radius: 18px; padding: 20px 22px; overflow-x: auto; color: var(--ink); }
.draft { border-left: 3px solid #ffd24a; padding: 4px 0 4px 18px; }
.draft small { display: block; color: var(--faint); font-size: 12px; margin-bottom: 6px; }
.app-card { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; background: var(--wash); border-radius: 24px; padding: 22px 24px; }
.app-card img { width: 64px; height: 64px; border-radius: 15px; }
.app-card strong { display: block; font-size: 16px; }
.app-card p { margin: 4px 0 0; font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--latin); font-size: 22px; line-height: 1; color: var(--faint); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; }
.log { list-style: none; padding: 0; margin: 0; }
.log li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 14px; }
.log time { font-family: var(--latin); color: var(--faint); }
.next { margin-top: clamp(80px, 10vw, 140px); }

/* ---- plain pages ---- */
.page-title { font-size: clamp(34px, 5vw, 52px); margin: clamp(48px, 8vw, 110px) 0 28px; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games > li:nth-child(n) .phone { --tilt: -2.5deg; }
  .games > li:nth-child(2n) .phone { --tilt: 2.5deg; }
}
@media (max-width: 760px) {
  .hero .wrap, .g-hero .wrap { grid-template-columns: 1fr; }
  .fan { height: 330px; margin-top: 8px; }
  .fan .shot { width: 138px; border-radius: 20px; }
  .promises { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .g-hero .device { max-width: 300px; }
  .log li { grid-template-columns: 1fr; gap: 0; }
  .nav a.hide-sp { display: none; }
}
@media (max-width: 560px) {
  .games { grid-template-columns: 1fr; gap: 56px; }
  .games > li:nth-child(n) .phone { --tilt: -2deg; }
  .games > li:nth-child(2n) .phone { --tilt: 2deg; }
  .game .stage { aspect-ratio: 1 / 1; }
  .game .phone { width: 46%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.article .narrow > h2 { margin-top: 64px; }

/* ---- brush-up 2 ---- */
/* light that follows the pointer over the stage */
.game .stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 40%), rgba(255, 255, 255, .55), transparent 45%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; }
@media (hover: hover) { .game:hover .stage::after { opacity: 1; } }
/* reveal on scroll */
.games.will-reveal > li:not(.is-in) { opacity: 0; transform: translateY(32px); }
.games.will-reveal > li { transition: opacity .8s var(--ease), transform .8s var(--ease); }
/* "見た" chip */
.game .seen { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--sub); }
.is-seen .game .seen { display: inline-block; }
/* burst */
.bit { position: absolute; z-index: 4; left: calc(100% - 62px); top: calc(100% - 64px); width: 8px; height: 12px; border-radius: 2px; pointer-events: none; animation: bit .95s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes bit { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
/* pick result bar */
.pick-bar { position: fixed; z-index: 30; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: min(640px, calc(100% - 24px)); padding: 12px 12px 12px 14px; border-radius: 22px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 50px -20px rgba(20, 20, 30, .45), 0 0 0 1px rgba(0, 0, 0, .06); animation: rise .5s var(--ease) both; }
.pick-bar[hidden] { display: none; }
.pick-bar img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.pick-bar > div { flex: 1; min-width: 0; line-height: 1.4; }
.pick-bar small { display: block; font-size: 11px; color: var(--faint); letter-spacing: .06em; }
.pick-bar strong { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-bar .btn { min-height: 44px; padding: 0 18px; font-size: 14px; flex: none; }
.pick-bar .btn[hidden] { display: none; }
.pick-x { appearance: none; border: 0; background: none; width: 36px; height: 44px; font-size: 16px; color: var(--faint); cursor: pointer; flex: none; }
@keyframes rise { from { transform: translate(-50%, 30px); opacity: 0; } }
@media (max-width: 560px) {
  .pick-bar { flex-wrap: wrap; gap: 10px; }
  .pick-bar > div { flex-basis: calc(100% - 110px); }
  .pick-bar .btn { flex: 1; }
  .pick-x { position: absolute; right: 6px; top: 6px; height: 36px; }
}
/* game page: more games + phone play bar */
.more { margin-top: clamp(96px, 12vw, 160px); }
.more h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 clamp(28px, 4vw, 48px); }
.sp-play { display: none; }
@media (max-width: 760px) {
  .sp-play { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; justify-content: center; transform: translateY(140%); transition: transform .4s var(--ease); }
  .sp-play.is-shown { transform: none; }
  .sp-play .btn { width: 100%; justify-content: center; }
}
.games.is-spinning > li { transition-duration: .18s !important; transition-delay: 0s !important; }
.more .game .no { display: none; }
/* ---- detail pages ---- */
.btn.is-static { cursor: default; color: var(--faint); }
.btn.is-static:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.guide { counter-reset: step; display: grid; gap: 0; }
.guide-step { position: relative; padding: 0 0 30px 52px; }
.guide-step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--latin); font-size: 14px; font-weight: 700; }
.guide-step::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px; width: 2px; background: var(--line); }
.guide-step:last-child::after { display: none; }
.guide-step h3 { margin: 2px 0 6px; font-size: 17px; line-height: 1.6; }
.guide-step p { margin: 0; }
.facts.modes { margin-top: 22px; }
.links { margin-top: 48px; font-size: 14px; color: var(--sub); }
/* ---- notes (つくった話) ---- */
.note h2 { margin: 56px 0 16px; font-size: clamp(21px, 2.4vw, 26px); }
.note p, .note li { color: #33333b; }
.note ul { padding-left: 1.3em; }
.note li { margin-bottom: 10px; }
.note-lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink) !important; line-height: 1.9; }
.note-meta { font-size: 13px; color: var(--faint) !important; margin: 0 0 28px; }
.note-game { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--wash); border-radius: 18px; padding: 12px 18px 12px 12px; margin-bottom: 8px; }
.note-game img { width: 44px; height: 44px; border-radius: 11px; }
.note-game span { flex: 1; font-weight: 700; line-height: 1.4; }
.note-game small { display: block; font-size: 11px; color: var(--faint); font-weight: 600; }
.note-foot { margin-top: 56px; font-size: 13px; color: var(--faint) !important; border-top: 1px solid var(--line); padding-top: 20px; }
.note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 44px); }
.note-list a { display: grid; grid-template-columns: 120px 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; text-decoration: none; }
.note-list img { width: 120px; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 18px; box-shadow: 0 18px 30px -18px rgba(20, 20, 30, .45), 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .4s var(--ease); }
.note-list a:hover img { transform: rotate(-3deg) translateY(-4px); }
.note-list small { font-size: 12px; color: var(--faint); font-weight: 600; }
.note-list h2 { margin: 6px 0 8px; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; }
.note-list p { margin: 0 0 8px; color: var(--sub); font-size: 14px; }
.story-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; text-decoration: none; border: 1.5px solid var(--line); border-radius: 22px; padding: 20px 24px; transition: border-color .2s; }
.story-card:hover { border-color: var(--ink); }
.story-card small { display: block; font-size: 12px; color: var(--faint); font-weight: 600; }
.story-card strong { font-size: 17px; line-height: 1.5; }
@media (max-width: 560px) { .note-list a { grid-template-columns: 84px 1fr; } .note-list img { width: 84px; border-radius: 14px; } }
/* ---- shelves (list-only apps) ---- */
.minis { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: var(--wash); text-decoration: none; color: inherit; height: 100%; transition: transform .25s var(--ease), background .2s; }
a.mini:hover { transform: translateY(-3px); background: #efefeb; }
.mini-art { width: 64px; height: 96px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 18px -12px rgba(20, 20, 30, .45), 0 0 0 1px rgba(0, 0, 0, .05); }
.mini-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini-art.icon-art { height: 64px; border-radius: 15px; }
.mini-body { display: grid; gap: 4px; min-width: 0; }
.mini-body .badge { justify-self: start; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--sub); }
.mini-body .badge.app { background: var(--ink); color: #fff; }
.mini-body b { font-size: 15px; line-height: 1.4; }
.mini-body small { font-size: 12px; line-height: 1.6; color: var(--sub); }
@media (max-width: 980px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .minis { grid-template-columns: 1fr; } }
/* ---- release notice ---- */
.notify { margin-top: clamp(80px, 12vw, 140px); }
.notify-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: linear-gradient(135deg, #fff8dc, #eef6ff); }
.notify h2 { margin: 0 0 10px; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.4; }
.notify p { margin: 0; color: var(--sub); }
.notify-actions { display: grid; gap: 12px; }
.notify-actions .btn { justify-content: center; }
.btn-line-app { background: #06c755; color: #fff; box-shadow: 0 10px 22px -12px rgba(6, 199, 85, .7); }
.btn-line-app:hover { transform: translateY(-2px); }
.notify-note { font-size: 12px; color: var(--faint) !important; line-height: 1.7; }
@media (max-width: 760px) { .notify-inner { grid-template-columns: 1fr; } }
/* ---- legal pages ---- */
.legal h2 { margin: 56px 0 14px; font-size: 21px; }
.legal h3 { margin: 32px 0 10px; font-size: 17px; }
.legal p, .legal li { font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.7; margin: 14px 0; display: block; overflow-x: auto; }
.legal th, .legal td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; min-width: 120px; }
.legal th { color: var(--sub); font-weight: 700; white-space: nowrap; }
/* cards for apps without a Web screen: big icon instead of a capture */
.game .bigicon { position: absolute; left: 50%; top: 50%; width: 38%; transform: translate(-50%, -46%) rotate(var(--tilt, -3deg)); transition: transform .6s var(--ease); }
.game .bigicon img { width: 100%; height: auto; border-radius: 22%; box-shadow: 0 24px 40px -22px rgba(20, 20, 30, .55), 0 0 0 1px rgba(0, 0, 0, .06); }
@media (hover: hover) { .game:hover .bigicon { transform: translate(-50%, -52%) rotate(0deg) scale(1.05); } }
.games > li.is-awake .bigicon { transform: translate(-50%, -52%) rotate(0deg) scale(1.05); }
.game .icon-dot { display: block; background: var(--tint); box-shadow: inset 0 0 0 12px var(--accent); opacity: .9; }
.game.is-soon .phone img { filter: saturate(.75) contrast(.97); }
