/* Arcade-zine home. Paper ground, heavy ink outlines, sticker shadows, and genre tiles that can be played a little. */
:root {
  --paper: #f4f1ea; --ink: #141414; --ink-2: #55524c;
  --lime: #d6f43a; --lilac: #b7a5ff; --sky: #a9dde3; --pink: #ff8fc4; --tomato: #ff5b3a; --tomato-deep: #bf3517; --cream: #fff9e8;
  --jp-heavy: "Murecho", sans-serif; --jp-heavy-weight: 900; --cond: "Anton", sans-serif; --serif: "Instrument Serif", serif;
  --hand: "Yomogi", cursive; --sans: "Zen Kaku Gothic New", sans-serif; --mono: "IBM Plex Mono", monospace;
  --g: clamp(16px, 3.4vw, 48px);
  --bounce: cubic-bezier(.3, 1.6, .5, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.play { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 500; line-height: 1.7; overflow-x: hidden; }
.play a { color: inherit; text-decoration: none; }
.play img { display: block; max-width: 100%; }
.play button { font: inherit; color: inherit; }
.play :focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }
.play-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.play-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.play-skip:focus { top: 12px; }
.play-run { display: flex; flex-shrink: 0; }

/* header */
.play-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 12px var(--g); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px); }
.play-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.play-logo-mark { width: 44px; height: 44px; object-fit: contain; transition: transform .4s var(--bounce); }
.play-logo:hover .play-logo-mark { transform: rotate(-8deg) scale(1.06); }
.play-logo b { font-family: var(--cond); font-weight: 400; font-size: 20px; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.play-logo b small { display: block; margin-top: 3px; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: var(--ink-2); }
.play-nav { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.play-pill { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 13px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; transition: transform .25s var(--bounce), background .2s; }
.play-pill:hover { transform: translateY(-2px) rotate(-2deg); }
.play-pill.is-lime { background: var(--lime); }
.play-round { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper) !important; display: grid; place-items: center; }

/* age notice */
.play-age { display: flex; align-items: center; gap: 14px; margin: 0 var(--g) 6px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-size: 12px; line-height: 1.6; }
.play-age p { margin: 0; color: var(--ink-2); }
.play-age strong { color: var(--ink); margin-right: 8px; }
.play-age a { margin-left: auto; white-space: nowrap; font-weight: 700; border-bottom: 2px solid var(--ink); }
.play-age-badge { flex-shrink: 0; font-family: var(--cond); font-size: 18px; line-height: 1; padding: 6px 8px; border-radius: 8px; background: var(--tomato-deep); color: #fff; border: 2px solid var(--ink); }

/* hero shelf */
.play-shelf { position: relative; height: 640px; overflow: hidden; border-bottom: 2px solid var(--ink); background: repeating-linear-gradient(0deg, transparent 0 47px, #1414140d 47px 48px), repeating-linear-gradient(90deg, transparent 0 47px, #1414140d 47px 48px); }
.play-ghost { position: absolute; right: -.04em; top: 30px; max-width: 75%; font-family: var(--cond); font-size: clamp(120px, 17vw, 250px); line-height: .84; color: transparent; -webkit-text-stroke: 2px #14141422; text-align: right; text-transform: uppercase; pointer-events: none; }
.play-side-tag { position: absolute; left: var(--g); top: 70px; z-index: 5; writing-mode: vertical-rl; background: var(--lime); border: 2px solid var(--ink); border-radius: 999px; padding: 16px 8px; font-family: var(--cond); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 4px 4px 0 var(--ink); }
.play-stage { position: absolute; left: 0; right: 0; top: 40px; height: 470px; perspective: 1500px; }
.play-cover { position: absolute; left: 50%; top: 50%; width: 270px; height: 400px; margin: -200px 0 0 -135px; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #2a2730 var(--img) center / cover no-repeat; box-shadow: 6px 6px 0 var(--ink); transition: transform .9s cubic-bezier(.2, .9, .1, 1), filter .6s, box-shadow .3s; }
.play-cover.is-front { box-shadow: 10px 10px 0 var(--ink); }
.play-cover-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px; background: linear-gradient(transparent 42%, #000d); color: #fff; }
.play-cover-body b { font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 21px; line-height: 1.25; word-break: auto-phrase; }
.play-cover-body span { font-size: 11px; opacity: .85; }
.play-cover:not(.is-front) .play-cover-body b { font-size: 15px; }
.play-cover-no { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 0 10px; font-family: var(--mono); font-size: 11px; }
.play-cover:not(.is-front) .play-cover-no { display: none; }
.play-burst { position: absolute; left: calc(50% + 95px); top: 26px; z-index: 30; width: 104px; height: 104px; display: grid; place-items: center; text-align: center; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 16px; line-height: 1.1; background: var(--lime); border: 2px solid var(--ink); clip-path: polygon(50% 0, 61% 13%, 77% 6%, 80% 22%, 96% 24%, 89% 39%, 100% 50%, 89% 61%, 96% 76%, 80% 78%, 77% 94%, 61% 87%, 50% 100%, 39% 87%, 23% 94%, 20% 78%, 4% 76%, 11% 61%, 0 50%, 11% 39%, 4% 24%, 20% 22%, 23% 6%, 39% 13%); animation: play-spin 14s linear infinite; }
@keyframes play-spin { to { transform: rotate(360deg); } }
.play-bubble { position: absolute; z-index: 31; left: calc(50% - 390px); top: 310px; width: 240px; margin: 0; padding: 14px 18px; background: #fff; border: 2px solid var(--ink); border-radius: 22px 22px 22px 4px; font-family: var(--hand); font-size: 16px; line-height: 1.55; transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--ink); }
.play-bubble:empty { display: none; }
.play-bubble small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px; color: var(--ink-2); }
.play-shelf-ui { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: center; gap: 18px; }
.play-arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--paper) !important; display: grid; place-items: center; border: 0; cursor: pointer; transition: transform .25s var(--bounce); }
.play-arrow:hover { transform: scale(1.1); }
.play-dots { display: flex; gap: 6px; }
.play-dots i { width: 9px; height: 9px; border-radius: 9px; border: 2px solid var(--ink); transition: width .3s, background .3s; }
.play-dots i.is-on { background: var(--ink); width: 26px; }
.play-cta { position: absolute; right: var(--g); bottom: 22px; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 10px 0 26px; border-radius: 999px; background: var(--ink); color: var(--paper) !important; font-weight: 700; }
.play-cta i, .play-big i, .play-more i { width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-style: normal; transition: transform .3s var(--bounce); }
.play-cta:hover i, .play-big:hover i, .play-more:hover i { transform: rotate(-20deg) scale(1.1); }
.play-empty-hero { padding: 120px var(--g); text-align: center; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 22px; border-bottom: 2px solid var(--ink); }

/* tags marquee */
.play-tags { display: flex; overflow: hidden; border-bottom: 2px solid var(--ink); padding: 12px 0; }
.play-tags .play-run { gap: 10px; padding-right: 10px; animation: play-run 80s linear infinite; }
.play-tags:hover .play-run, .play-tags:focus-within .play-run { animation-play-state: paused; }
.play-tags a { white-space: nowrap; border: 2px solid var(--ink); border-radius: 8px; padding: 4px 12px; font-weight: 700; font-size: 13px; background: #fff; transition: background .2s; }
.play-tags a:hover { background: var(--lime); }
@keyframes play-run { to { transform: translateX(-100%); } }
/* 途中の帯（ジャンル・タグ／キャスト）。上のタグの帯と同じ細さで、色と流れる向きで見分ける。 */
.play-tags.is-band { border-top: 2px solid var(--ink); background: var(--cream); }
.play-tags.is-band .play-run { animation-duration: 96s; }
.play-tags.is-band a { background: var(--lime); }
.play-tags.is-band a:nth-child(3n + 2) { background: #fff; }
.play-tags.is-band a:hover { background: var(--pink); }
.play-tags.is-cast { background: var(--paper); }
.play-tags.is-cast .play-run { animation-name: play-run-back; }
.play-tags.is-cast a { background: var(--lilac); }
.play-tags.is-cast a:nth-child(3n + 2) { background: #fff; }
@keyframes play-run-back { from { transform: translateX(-100%); } to { transform: none; } }

/* pick up orbit */
.play-pick { position: relative; height: 660px; overflow: hidden; }
.play-pick h2 { position: absolute; left: 0; right: 0; top: 34px; z-index: 3; margin: 0; text-align: center; font-family: var(--serif); font-weight: 400; font-size: 112px; line-height: 1; }
.play-pick h2 em { font-style: italic; }
.play-pick h2::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 190px; height: 190px; margin: -130px 0 0 -95px; border-radius: 50%; background: repeating-conic-gradient(var(--lime) 0 6deg, transparent 6deg 15deg); mask: radial-gradient(circle, transparent 30%, #000 31%); }
.play-orbit { position: absolute; left: 50%; top: 230px; width: 1240px; height: 240px; margin-left: -620px; border: 2px solid #14141433; border-radius: 50%; transform: rotate(-4deg); }
.play-orbit-card { position: absolute; left: 50%; top: 50%; width: 170px; height: 236px; margin: -118px 0 0 -85px; border: 2px solid var(--ink); overflow: hidden; background: #2a2730 var(--img) center / cover; transition: box-shadow .3s; }
.play-orbit-card.s0 { border-radius: 85px 85px 14px 14px; } .play-orbit-card.s1 { border-radius: 14px; } .play-orbit-card.s2 { border-radius: 999px; } .play-orbit-card.s3 { border-radius: 14px 60px 14px 60px; }
.play-orbit-card:hover, .play-orbit-card:focus-visible { box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 2px var(--ink); }
.play-orbit-label { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; padding: 6px 8px; font-weight: 700; font-size: 12px; line-height: 1.35; word-break: auto-phrase; }
.play-orbit-label small { display: block; font-family: var(--mono); font-size: 9px; color: var(--ink-2); }

/* words */
.play-words { display: flex; overflow: hidden; border-block: 2px solid var(--ink); background: var(--ink); color: var(--paper); }
.play-words .play-run { animation: play-run 26s linear infinite; }
.play-words span { font-family: var(--cond); font-size: 88px; line-height: 1.05; padding: 6px 26px; white-space: nowrap; text-transform: uppercase; }
.play-words span.o { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.play-words span.l { color: var(--lime); }

/* section heads */
.play-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 84px var(--g) 22px; }
.play-head h2 { margin: 0; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 44px; line-height: 1.1; word-break: auto-phrase; }
.play-head h2 span { background: linear-gradient(transparent 58%, var(--lime) 58%); }
.play-head p { margin: 0; max-width: 360px; color: var(--ink-2); font-size: 14px; }

/* genre tiles: the head of each ALL GAMES row */
.play-tile { position: relative; display: block; min-height: 330px; border: 2px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--sky); box-shadow: 6px 6px 0 var(--ink); transition: transform .3s var(--bounce); }
.play-tile:hover { transform: translateY(-3px); }
.play-tile-cap { position: absolute; left: 18px; bottom: 18px; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.play-tile-cap span { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 1px 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.play-tile-cap b { font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 26px; line-height: 1.1; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 12px; }
.play-tile-go { position: absolute; right: 16px; bottom: 16px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; transition: transform .3s var(--bounce), background .2s; }
.play-tile:hover .play-tile-go { transform: rotate(-45deg) scale(1.08); background: var(--lime); }
.kind-block-breaker { background: #1d1a24 var(--img) center / cover; }
.play-bricks { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(7, 1fr); gap: 4px; padding: 4px; }
.play-bricks i { border-radius: 5px; border: 2px solid var(--ink); transition: transform .5s cubic-bezier(.5, 0, .75, 0), opacity .5s; }
.play-bricks i.is-gone { transform: translateY(180px) rotate(30deg); opacity: 0; }
.play-ball { position: absolute; left: 47%; top: 58%; z-index: 4; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.play-paddle { position: absolute; left: 40%; bottom: 74px; z-index: 4; width: 150px; height: 14px; border-radius: 999px; background: var(--lime); border: 2px solid var(--ink); }
.kind-minesweeper { background: var(--sky); }
.play-ms { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(7, 1fr); background: #2a2730 var(--img) center 20% / cover; }
.play-ms i { display: grid; place-items: center; background: var(--sky); border: 1.5px solid #14141455; font-family: var(--cond); font-style: normal; font-size: 20px; transition: transform .35s cubic-bezier(.6, 0, .4, 1); }
.play-ms i.is-open { transform: scale(0); }
.play-ms i.is-flag::before { content: ""; border-left: 13px solid var(--tomato); border-block: 8px solid transparent; }
.kind-pairs { background: var(--lilac); }
.play-cards { position: absolute; inset: 22px 22px 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; perspective: 800px; }
.play-card { position: relative; transform-style: preserve-3d; transition: transform .6s var(--bounce); }
.play-card.is-up { transform: rotateY(180deg); }
.play-card .b, .play-card .f { position: absolute; inset: 0; backface-visibility: hidden; border: 2px solid var(--ink); border-radius: 10px; }
.play-card .b { background: var(--cream) radial-gradient(circle, var(--lilac) 0 3px, transparent 3.5px) 0 0 / 14px 14px; }
.play-card .b::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--cond); font-size: 32px; }
.play-card .f { transform: rotateY(180deg); background: #2a2730 var(--face, var(--img)) center / cover; }
.kind-yakyuken { background: var(--tomato); }
.play-photo { position: absolute; right: -30px; top: -10px; width: 300px; height: 350px; border-radius: 150px 150px 0 0; border: 2px solid var(--ink); background: #2a2730 var(--img) center / cover; transform: rotate(6deg); }
.play-photo.is-wide { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; transform: none; }
.play-hands { position: absolute; inset: 0 0 90px; display: flex; align-items: center; justify-content: center; gap: 16px; padding-right: 160px; }
.play-hands span { width: 112px; height: 112px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 26px; box-shadow: 5px 5px 0 var(--ink); transition: transform .3s var(--bounce), background .2s; }
.play-hands span:hover { transform: translateY(-8px) rotate(-8deg); background: var(--lime); }
.play-tile:not(.kind-block-breaker):not(.kind-minesweeper):not(.kind-pairs):not(.kind-yakyuken) { background: var(--pink); }

/* library */
.play-find { display: flex; gap: 10px; flex-wrap: wrap; }
.play-search input, .play-sort select { height: 46px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; padding: 0 18px; font: inherit; font-size: 14px; color: var(--ink); }
.play-search input { width: min(300px, 70vw); }
.play-sort select { padding-right: 14px; cursor: pointer; }
.play-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 0 var(--g) 22px; }
.play-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.play-chips button { height: 36px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .2s, transform .25s var(--bounce); }
.play-chips button:hover { transform: translateY(-2px); }
.play-chips button.is-active { background: var(--ink); color: var(--paper); }
.play-chips.is-collection button.is-active { background: var(--lime); color: var(--ink); }
.play-chips small { font-family: var(--mono); font-size: 10px; opacity: .7; }
.play-count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.play-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 0 var(--g); }
.play-game { position: relative; display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 5px 5px 0 var(--ink); transition: transform .3s var(--bounce), box-shadow .3s; }
.play-game:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 8px 8px 0 var(--ink); }
.play-game[hidden] { display: none; }
.play-game-media { aspect-ratio: 16 / 10; background: #2a2730; border-bottom: 2px solid var(--ink); display: grid; place-items: center; color: var(--paper); font-size: 28px; overflow: hidden; }
.play-game-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.play-game:hover .play-game-media img { transform: scale(1.05); }
.play-heart { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font-size: 17px; line-height: 1; cursor: pointer; transition: transform .25s var(--bounce), background .2s; }
.play-heart:hover { transform: scale(1.12); }
.play-heart[aria-pressed="true"] { background: var(--pink); }
.play-game-body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 12px 14px 14px; }
.play-game-body h3 { margin: 0; font-size: 15px; line-height: 1.45; word-break: auto-phrase; }
.play-game-body p { margin: 0 0 8px; font-size: 12px; color: var(--ink-2); }
.play-start { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--paper) !important; font-weight: 700; font-size: 13px; transition: background .2s; }
.play-start:hover { background: var(--tomato); }
.play-empty { margin: 0 var(--g); padding: 40px; text-align: center; border: 2px dashed var(--ink); border-radius: 18px; }
.play-empty p { margin: 0 0 12px; font-weight: 700; }
.play-empty button { border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); padding: 8px 18px; font-weight: 700; cursor: pointer; }
.play .play-more, .play .play-big { display: flex; align-items: center; gap: 14px; margin: 30px auto 0; height: 58px; padding: 0 10px 0 34px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; cursor: pointer; }
.play-more[hidden] { display: none; }
.play-grid[hidden], .play-rows[hidden], .play-back[hidden], .play-row-nav [hidden] { display: none; }
.play-back { height: 36px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); font-weight: 700; font-size: 13px; cursor: pointer; }

/* ALL GAMES rows: genre tile on the left, its games flowing to the right */
.play-rows { display: flex; flex-direction: column; gap: 36px; padding: 0 var(--g); }
.play-row { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; }
.play-row .play-tile { min-height: 300px; }
/* 段のタイルは幅 340px なので、野球拳の写真と手は小さめにして左上に寄せる。 */
.play-row .play-photo:not(.is-wide) { width: 190px; height: 250px; right: -24px; top: 26px; }
.play-row .play-hands { justify-content: flex-start; align-items: flex-start; gap: 8px; padding: 22px 0 0 18px; }
.play-row .play-hands span { width: 70px; height: 70px; font-size: 17px; box-shadow: 4px 4px 0 var(--ink); }
.play-row-body { position: relative; min-width: 0; }
/* 上下の余白は、カードを浮かせたときの影が切れないようにするため。 */
.play-track { display: flex; gap: 20px; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 12px 14px 4px; margin: -8px 0 -14px -4px; scroll-padding-inline: 4px 12px; }
.play-track::-webkit-scrollbar { display: none; }
.play-track > .play-game { flex: 0 0 250px; scroll-snap-align: start; }
.play-row.has-all { grid-template-columns: 340px minmax(0, 1fr) 150px; }
.play-row-all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--ink); border-radius: 18px; font-weight: 700; transition: background .2s; }
.play-row-all b { font-family: var(--cond); font-weight: 400; font-size: 54px; line-height: 1; }
.play-row-all i { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-style: normal; transition: transform .3s var(--bounce); }
.play-row-all:hover i { transform: rotate(-20deg) scale(1.1); }
.play-row-all:hover { background: var(--lime); }
.play-row-nav button { position: absolute; top: calc(50% - 21px); z-index: 6; width: 42px; height: 42px; box-shadow: 3px 3px 0 var(--lime); }
.play-row-nav button:first-child { left: -14px; }
.play-row-nav button:last-child { right: -14px; }
.play-rows-more { display: flex; align-items: center; gap: 14px; margin: 10px 0 -10px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-2); }
.play-rows-more::after { content: ""; flex: 1; border-top: 2px solid var(--ink); }
.play-row.is-slim { grid-template-columns: 220px minmax(0, 1fr); }
.play-row.is-slim .play-track > .play-game { flex-basis: 210px; }
.play-row-label { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 18px; background: var(--cream); }
.play-row-label b { font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 24px; line-height: 1.15; }
.play-row-label small { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 1px 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.play-row-label a { margin-top: auto; font-weight: 700; font-size: 13px; background: linear-gradient(transparent 58%, var(--lime) 58%); }

/* cast snap */
.play-cast { padding-top: 84px; }
.play-snap-head { display: flex; overflow: hidden; }
.play-snap-head .play-run { animation: play-run 30s linear infinite; }
.play-snap-head span { font-family: var(--cond); font-size: 120px; line-height: .95; padding: 0 18px; text-transform: uppercase; white-space: nowrap; }
.play-snap-head span.o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
/* ジャンルのページ: 上に検索・並び順だけを置き、見出しはページの頭（h1）に任せる。 */
.play-head.is-genre { justify-content: flex-end; padding-top: 10px; }
.play-page-head .play-back { display: inline-flex; align-items: center; gap: 6px; }
/* ジャンルのページには流れる文字の帯を置かないので、見出しの上を少し空ける。 */
.play-page-head.is-genre .play-head { padding-top: 56px; }
.play-cast.is-genre { padding-top: 0; }
/* 見出しは ALL GAMES と同じ .play-head。上に帯があるので、上の余白だけ詰める。 */
.play-head.is-cast { padding-top: 56px; }
/* 横にはじく列では、続けて触れたときにダブルタップ拡大が起きないようにし、端まで送ったときに画面全体が引っ張られないようにする（ピンチ拡大は残す）。 */
.play-snap, .play-track, .play-orbit, .play-chips { touch-action: pan-x pan-y pinch-zoom; overscroll-behavior-x: contain; }
.play-snap { display: flex; gap: 26px; padding: 20px var(--g) 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.play-who { flex: 0 0 220px; position: relative; display: block; padding: 66px 0 0; scroll-snap-align: start; }
.play-who-ph { display: grid; place-items: center; height: 300px; border: 2px solid var(--ink); border-radius: 110px 110px 16px 16px; background: var(--lilac) var(--img) center 20% / cover; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 72px; transition: transform .4s var(--bounce), box-shadow .3s; }
.play-who:nth-child(even) .play-who-ph { border-radius: 16px 16px 110px 110px; background-color: var(--sky); }
.play-who:hover .play-who-ph { transform: rotate(-3deg) translateY(-6px); }
.play-who:focus-visible .play-who-ph { box-shadow: 7px 7px 0 var(--lime), 7px 7px 0 2px var(--ink); }
.play-say { position: absolute; top: 0; left: -6px; right: 10px; padding: 8px 12px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; font-family: var(--hand); font-size: 14px; line-height: 1.45; transform: rotate(-3deg); }
.play-who:nth-child(3n+2) .play-say { transform: rotate(3deg); left: 16px; right: -8px; }
.play-say::after { content: ""; position: absolute; left: 34px; bottom: -10px; width: 16px; height: 16px; background: #fff; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.play-who-meta { display: block; margin-top: 12px; border-left: 2px solid var(--ink); padding-left: 10px; }
.play-who-meta b { display: block; font-size: 17px; letter-spacing: .04em; }
.play-who-meta span { font-size: 12px; color: var(--ink-2); }
.play-who-meta span { display: block; }
.play-who-meta .play-who-size { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.play-who { padding-top: 8px; }
.play-center { display: flex; justify-content: center; }

/* desk */
.play-desk { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 28px; margin: 84px var(--g) 0; padding: 36px; border: 2px solid var(--ink); border-radius: 30px; background: var(--sky); box-shadow: 6px 6px 0 var(--ink); }
.play-desk-badge { align-self: start; justify-self: start; margin: 0; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 22px; background: var(--lilac); border: 2px solid var(--ink); border-radius: 999px; padding: 14px 26px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-4deg); }
.play-desk h3 { margin: 0 0 10px; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 17px; }
.play-desk-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-top: 2px dashed #14141455; }
.play-desk-row span:first-child { aspect-ratio: 16 / 10; border-radius: 12px; border: 2px solid var(--ink); background: #2a2730 var(--img) center / cover; }
.play-desk-row b { display: block; font-size: 14px; line-height: 1.4; }
.play-desk-row small { font-size: 12px; color: var(--ink-2); }
.play-desk-empty { margin: 0; padding: 14px 0; border-top: 2px dashed #14141455; font-size: 13px; color: var(--ink-2); }
.play-desk-note { grid-column: 2 / -1; margin: -10px 0 0; font-size: 11px; color: var(--ink-2); }

/* news + footer */
.play-news { display: flex; align-items: center; gap: 28px; margin: 60px var(--g) 0; padding: 20px 0; border-block: 2px solid var(--ink); }
.play-news h2 { margin: 0; font-family: var(--cond); font-weight: 400; font-size: 40px; line-height: 1; }
.play-news div { flex: 1; display: grid; gap: 4px; }
.play-news div a { display: flex; gap: 16px; font-weight: 700; font-size: 14px; }
.play-news div a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.play-news time { font-family: var(--mono); font-size: 12px; color: var(--ink-2); font-weight: 500; }
.play-news p { margin: 0; color: var(--ink-2); font-size: 14px; }
.play-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 60px; padding: 26px var(--g) 36px; border-top: 2px solid var(--ink); font-size: 13px; }
.play-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.play-foot a:hover { text-decoration: underline; }
.play-sns { display: inline-flex; align-items: center; gap: 7px; }
.play-sns i { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
/* ヘッダーの SNS: アイコンだけの丸いボタン（ほかのピルと同じ縁取り）。狭い画面ではフッターに任せて隠す。 */
.play-sns-btn { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); transition: transform .25s var(--bounce), background .2s; }
.play-sns-btn:hover { transform: translateY(-2px) rotate(-4deg); background: var(--lime); }
.play-sns-btn i { width: 16px; height: 16px; background: var(--ink); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

/* sub pages: news */
.play-pill.is-current { background: var(--ink); color: var(--paper) !important; }
.play-page-head { border-bottom: 2px solid var(--ink); }
.play-page-run { display: flex; overflow: hidden; padding-top: 40px; }
.play-page-run .play-run { animation: play-run 30s linear infinite; }
.play-page-run span { font-family: var(--cond); font-size: 120px; line-height: .95; padding: 0 18px; text-transform: uppercase; white-space: nowrap; }
.play-page-run span.o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.play-page-head .play-head { padding-top: 26px; }
.play-head h1 { margin: 0; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 44px; line-height: 1.1; }
.play-head h1 span { display: block; margin-top: 10px; width: fit-content; font-family: var(--sans); font-weight: 700; font-size: 15px; background: linear-gradient(transparent 55%, var(--lime) 55%); }
.play-page-head .play-head p { font-family: var(--mono); }
.play-news-list { display: grid; gap: 18px; padding: 40px var(--g) 0; }
.play-news-card { position: relative; display: grid; grid-template-columns: 70px 170px minmax(0, 1fr) auto 56px; gap: 22px; align-items: center; padding: 22px 24px; border: 2px solid var(--ink); border-radius: 22px; background: #fff; box-shadow: 5px 5px 0 var(--ink); transition: transform .3s var(--bounce), box-shadow .3s; }
.play-news-card:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 8px 8px 0 var(--ink); }
.play-news-card:nth-child(odd) { background: var(--cream); }
.play-news-no { font-family: var(--cond); font-size: 44px; line-height: 1; }
.play-news-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.play-news-meta time { font-family: var(--mono); font-size: 13px; }
.play-news-tag { border: 2px solid var(--ink); border-radius: 999px; padding: 0 10px; font-size: 12px; font-weight: 700; background: var(--lime); }
.play-news-copy b { display: block; font-size: 18px; line-height: 1.5; word-break: auto-phrase; }
.play-news-copy span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; color: var(--ink-2); font-size: 13px; }
.play-news-thumb { width: 150px; aspect-ratio: 16 / 10; border: 2px solid var(--ink); border-radius: 12px; background: #2a2730 var(--img) center / cover; }
.play-news-card .play-tile-go { position: static; }
.play-news-card:hover .play-tile-go { transform: rotate(-45deg) scale(1.08); background: var(--lime); }
.play-article { max-width: 820px; margin: 0 auto; padding: 40px var(--g) 0; }
.play-crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); }
.play-crumbs a { border-bottom: 2px solid var(--ink); color: var(--ink); font-weight: 700; }
.play-article header { margin: 26px 0 28px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.play-article .play-news-meta { flex-direction: row; align-items: center; gap: 12px; }
.play-article h1 { margin: 16px 0 0; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: clamp(28px, 4vw, 44px); line-height: 1.3; word-break: auto-phrase; }
.play-article-image { width: 100%; margin-bottom: 30px; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.play-article-body { font-size: 16px; line-height: 2; }
.play-article .play-center { margin-top: 30px; }

/* sub pages: characters */
.play-cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 26px; padding: 40px var(--g) 0; }
.play-cast-grid .play-who { flex: none; }
.play-profile { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: start; padding: 40px var(--g) 0; }
.play-profile-ph { position: relative; aspect-ratio: 3 / 4; border: 2px solid var(--ink); border-radius: 210px 210px 22px 22px; background: var(--lilac) var(--img) center 18% / cover; box-shadow: 8px 8px 0 var(--ink); display: grid; place-items: center; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 120px; }
.play-profile-ph::after { content: "CAST"; position: absolute; right: -16px; top: 30px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); font-family: var(--cond); font-size: 22px; transform: rotate(8deg); }
.play-profile h1 { margin: 18px 0 0; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: clamp(36px, 5vw, 64px); line-height: 1.15; }
.play-profile .romaji { margin: 6px 0 0; font-family: var(--cond); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.play-profile-say { position: relative; margin: 28px 0 0; padding: 18px 22px; background: #fff; border: 2px solid var(--ink); border-radius: 22px 22px 22px 4px; font-family: var(--hand); font-size: 18px; line-height: 1.8; box-shadow: 4px 4px 0 var(--ink); }
/* profile sheet: job, age, three sizes, personality as a pop name-card */
.play-profile-job { display: inline-block; margin: 22px 0 0; padding: 4px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); font-weight: 700; font-size: 14px; transform: rotate(-2deg); }
.play-profile-job + h1 { margin-top: 12px; }
.play-sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 26px 0 0; border: 2px solid var(--ink); border-radius: 22px; background: #fff; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.play-sheet > div { padding: 14px 20px 16px; border-top: 2px solid var(--ink); }
.play-sheet > div:first-child { border-top: 0; }
.play-sheet > div:first-child:not(.is-wide) + div:not(.is-wide) { border-top: 0; border-left: 2px solid var(--ink); }
.play-sheet > .is-wide { grid-column: 1 / -1; }
.play-sheet dt { display: flex; align-items: baseline; gap: 8px; margin: 0; font-family: var(--cond); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--tomato-deep); }
.play-sheet dt small { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; color: var(--ink-2); text-transform: none; }
.play-sheet dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; line-height: 1.6; }
.play-sheet dd small { margin-left: 3px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.play-sizes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; font-family: var(--cond); font-weight: 400 !important; font-size: 30px !important; letter-spacing: .02em; }
.play-sizes span { display: inline-flex; align-items: baseline; gap: 6px; }
.play-sizes i { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; background: var(--pink); font: 400 13px/1 var(--cond); font-style: normal; transform: translateY(-4px); }
.play-sizes span:nth-child(2) i { background: var(--sky); }
.play-sizes span:nth-child(3) i { background: var(--lilac); }
.play-sizes small { font-family: var(--sans); }
.play-profile-text { margin: 22px 0 0; font-size: 15px; line-height: 2; white-space: pre-line; }
.play-profile-works { margin-top: 34px; }
.play-profile-works h2 { margin: 0 0 14px; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 20px; }
.play-profile-works .play-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
.play-profile-gallery { margin-top: 34px; }
.play-profile-gallery h2 { margin: 0 0 14px; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 20px; }
.play-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.play-gallery li { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.play-gallery-shot { display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--lilac); box-shadow: 4px 4px 0 var(--ink); cursor: zoom-in; transition: transform .2s; }
.play-gallery-shot:hover, .play-gallery-shot:focus-visible { transform: translate(-2px, -2px); }
.play-gallery-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.play-gallery-game { position: absolute; right: 8px; top: 8px; max-width: calc(100% - 16px); padding: 4px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.play-gallery-game:hover { background: #fff; }
.play-gallery-caption { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.play-lightbox { width: min(92vw, 980px); max-width: none; max-height: 92vh; padding: 0; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); color: var(--ink); overflow: visible; }
.play-lightbox::backdrop { background: rgba(20, 18, 26, .82); }
.play-lightbox figure { display: grid; gap: 10px; margin: 0; padding: 16px 56px; justify-items: center; }
.play-lightbox img { display: block; max-width: 100%; max-height: 74vh; border-radius: 10px; object-fit: contain; }
.play-lightbox figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; min-height: 1.6em; font-size: 14px; line-height: 1.6; }
.play-lightbox figcaption a { padding: 6px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none; }
.play-lightbox-close, .play-lightbox-nav { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.play-lightbox-close { right: -10px; top: -14px; z-index: 1; }
.play-lightbox-nav { top: 50%; transform: translateY(-50%); }
.play-lightbox-nav.is-prev { left: 8px; }
.play-lightbox-nav.is-next { right: 8px; }
.play-others { margin-top: 70px; border-top: 2px solid var(--ink); }
.play-others h2 { margin: 0; padding: 30px var(--g) 0; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 24px; }

/* sub pages: game detail — the key art as a framed cover, the pitch as the character's speech bubble */
.play-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 40px var(--g) 0; }
.play-detail-visual { position: sticky; top: 96px; aspect-ratio: 16 / 10; border: 2px solid var(--ink); border-radius: 26px; background: #2a2730 var(--img) center / cover; box-shadow: 8px 8px 0 var(--ink); display: grid; place-items: center; color: var(--paper); font-size: 48px; transform: rotate(-1deg); }
.play-detail-genre { position: absolute; left: -14px; bottom: 26px; padding: 6px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); color: var(--ink); font-family: var(--cond); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-4deg); }
.play-detail .play-detail-burst { left: auto; right: -18px; top: -24px; }
.play-detail-kind { margin: 18px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-2); }
.play-detail h1 { margin: 6px 0 0; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: clamp(30px, 4.2vw, 54px); line-height: 1.2; word-break: auto-phrase; }
.play-detail .play-profile-say { margin-top: 22px; }
.play-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.play-detail-tags a { padding: 3px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); font-weight: 700; font-size: 13px; transition: transform .25s var(--bounce); }
.play-detail-tags a:nth-child(3n + 2) { background: var(--sky); }
.play-detail-tags a:nth-child(3n) { background: var(--pink); }
.play-detail-tags a:hover { transform: translateY(-2px) rotate(-2deg); }
.play-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.play .play-detail-start { margin: 0; color: var(--paper) !important; transition: background .2s; }
.play .play-detail-start:hover { background: var(--tomato); }
.play-detail .play-detail-heart { position: static; width: 52px; height: 52px; font-size: 22px; }
.play-detail-share { height: 52px; padding: 0 22px; }
.play-detail-status { min-height: 1.4em; margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.play-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.play-facts div { padding: 10px 14px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; }
.play-facts div:nth-child(5n + 1) { background: var(--cream); }
.play-facts div:nth-child(5n + 3) { background: var(--sky); }
.play-facts dt { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.play-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }
.play-howto { margin-top: 22px; padding: 16px 20px; border: 2px dashed var(--ink); border-radius: 18px; }
.play-howto h2 { margin: 0 0 4px; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 16px; }
.play-howto p { margin: 0; font-size: 14px; }
.play-detail-cast { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 18px 12px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lilac); box-shadow: 4px 4px 0 var(--ink); transition: transform .3s var(--bounce), box-shadow .3s; }
.play-detail-cast:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.play-detail-cast-ph { flex: none; width: 58px; height: 58px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper) var(--img) center 18% / cover; display: grid; place-items: center; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 24px; }
.play-detail-cast > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.play-detail-cast small { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.play-detail-cast b { font-size: 17px; }
.play-detail-cast em { font-family: var(--cond); font-style: normal; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.play-detail-cast i { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-style: normal; }
.play-related { padding-top: 22px; }

/* sub pages: info (about / guidelines / privacy) and 404 */
.play-doc { max-width: 880px; margin: 0 auto; padding: 40px var(--g) 0; }
.play-doc-head { margin: 22px 0 30px; padding-bottom: 26px; border-bottom: 2px solid var(--ink); }
.play-doc-kicker { margin: 0; font-family: var(--cond); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.play-doc-head h1 { margin: 8px 0 0; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: clamp(32px, 5vw, 56px); line-height: 1.2; word-break: auto-phrase; }
.play-doc-head p:not(.play-doc-kicker) { margin: 14px 0 0; font-size: 16px; color: var(--ink-2); }
.play-doc-meta { font-family: var(--mono); font-size: 13px !important; }
.play-doc-body { font-size: 15.5px; line-height: 2; }
.play-doc-body h2 { display: flex; align-items: center; gap: 12px; margin: 38px 0 10px; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 21px; line-height: 1.4; }
.play-doc-body h2 .no { flex: none; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); font-family: var(--cond); font-size: 16px; letter-spacing: .04em; }
.play-doc-body h2:nth-of-type(3n + 2) .no { background: var(--sky); }
.play-doc-body h2:nth-of-type(3n) .no { background: var(--pink); }
.play-doc-body p { margin: 0 0 12px; }
.play-doc a:not(.play-big):not(.play-pill) { border-bottom: 2px solid var(--ink); font-weight: 700; }
.play-doc .play-crumbs a { font-weight: 700; }
.play-notice { display: flex; align-items: flex-start; gap: 16px; padding: 18px 22px; border: 2px solid var(--ink); border-radius: 20px; background: var(--cream); box-shadow: 5px 5px 0 var(--ink); line-height: 1.9; }
.play-notice p { margin: 0; }
.play-notice strong { display: block; }
.play-notice .play-age-badge { font-size: 22px; padding: 8px 10px; }
.play-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.play-point { position: relative; padding: 22px 22px 20px; border: 2px solid var(--ink); border-radius: 22px; background: var(--lime); box-shadow: 6px 6px 0 var(--ink); transition: transform .3s var(--bounce); }
.play-point:nth-child(2) { background: var(--sky); transform: rotate(1deg); }
.play-point:nth-child(3) { background: var(--lilac); }
.play-point:hover { transform: translateY(-4px) rotate(-1deg); }
.play-point .no { font-family: var(--cond); font-size: 44px; line-height: 1; }
.play-point h2 { margin: 10px 0 6px; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: 20px; }
.play-point p { margin: 0; font-size: 14px; line-height: 1.8; }
.play-doc-say { margin: 40px auto 0; max-width: 520px; padding: 18px 24px; background: #fff; border: 2px solid var(--ink); border-radius: 22px 22px 22px 4px; box-shadow: 4px 4px 0 var(--ink); font-family: var(--hand); font-size: 20px; text-align: center; }
.play-lost { max-width: 720px; margin: 0 auto; padding: 60px var(--g) 20px; text-align: center; }
.play-lost-code { margin: 0; font-family: var(--cond); font-size: clamp(120px, 22vw, 220px); line-height: .9; color: var(--ink); text-shadow: 8px 8px 0 var(--lime); }
.play-lost h1 { margin: 18px 0 8px; font-family: var(--jp-heavy); font-weight: var(--jp-heavy-weight); font-size: clamp(24px, 3.6vw, 36px); }
.play-lost p { margin: 0; color: var(--ink-2); }
.play-lost-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.play-lost-actions .play-big { margin: 20px 0 0; }
.play-lost-actions .play-pill { margin-top: 20px; height: 46px; padding: 0 22px; }
@media (max-width: 860px) {
  .play-doc { padding-top: 24px; }
  .play-points { grid-template-columns: 1fr; }
  .play-point:nth-child(2) { transform: none; }
  .play-notice { flex-direction: column; gap: 10px; }
}
@media (max-width: 860px) {
  .play-detail { grid-template-columns: 1fr; gap: 30px; padding-top: 24px; }
  .play-detail-visual { position: relative; top: auto; transform: none; }
  .play-detail .play-detail-burst { right: -6px; top: -16px; }
  .play-detail-genre { left: -6px; bottom: 14px; font-size: 18px; }
  .play-detail-actions .play-detail-start { flex: 1 1 100%; justify-content: space-between; }
  .play-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .play-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  /* 狭い画面: ロゴの副題を畳み、ボタンを縮めて、しおり・検索が枠からはみ出さないようにする。 */
  .play-top { gap: 8px; }
  .play-logo { gap: 6px; }
  .play-logo-mark { width: 34px; height: 34px; }
  .play-logo b { font-size: 15px; }
  .play-logo b small { display: none; }
  .play-nav { gap: 6px; }
  .play-pill { padding: 0 11px; font-size: 12px; }
  .play-round { width: 36px; height: 36px; }
}
@media (max-width: 860px) {
  .play-nav .play-pill:not(.is-lime), .play-sns-btn { display: none; }
  .play-logo b { font-size: 17px; }
  .play-age { align-items: flex-start; flex-wrap: wrap; }
  .play-age a { margin-left: 0; }
  .play-shelf { height: 560px; }
  .play-side-tag { display: none; }
  .play-stage { top: 40px; height: 420px; }
  .play-cover { width: 220px; height: 330px; margin: -165px 0 0 -110px; }
  .play-bubble { left: 12px; top: 54px; width: 190px; font-size: 14px; padding: 10px 14px; }
  .play-burst { left: auto; right: 10px; top: 14px; width: 84px; height: 84px; font-size: 13px; }
  .play-shelf-ui { justify-content: flex-start; padding-left: 16px; }
  .play-dots { display: none; }
  .play-cta { right: 16px; bottom: 18px; height: 50px; }
  .play-pick { height: auto; padding: 150px 0 30px; }
  .play-pick h2 { font-size: 64px; }
  .play-pick h2::before { width: 120px; height: 120px; margin: -82px 0 0 -60px; }
  .play-orbit { position: static; display: flex; gap: 14px; width: auto; height: auto; margin: 0; padding: 10px 16px 20px; border: 0; transform: none; overflow-x: auto; scrollbar-width: none; }
  .play-orbit-card { position: relative; left: auto; top: auto; flex: 0 0 150px; height: 210px; margin: 0; transform: none !important; opacity: 1 !important; }
  .play-words span { font-size: 52px; }
  .play-head { flex-direction: column; align-items: flex-start; padding-top: 64px; }
  .play-head h2 { font-size: 30px; }
  .play-rows { gap: 30px; }
  .play-row, .play-row.is-slim { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .play-row .play-tile { min-height: 210px; }
  .play-track { gap: 14px; }
  .play-track > .play-game, .play-row.is-slim .play-track > .play-game { flex-basis: calc((100% - 28px) / 2.3); }
  .play-row.has-all { grid-template-columns: minmax(0, 1fr); }
  .play-row-all { flex-direction: row; gap: 12px; height: 54px; }
  .play-row-all b { font-size: 26px; }
  .play-row-all i { width: 34px; height: 34px; }
  .play-row-nav { display: none; }
  .play-row-label { flex-direction: row; align-items: center; padding: 10px 14px; }
  .play-row-label b { font-size: 19px; }
  .play-row-label a { margin: 0 0 0 auto; }
  .play-photo { width: 170px; height: 230px; right: -30px; top: 40px; }
  .play-hands { justify-content: flex-start; align-items: flex-start; gap: 8px; padding: 22px 0 0 16px; }
  .play-hands span { width: 66px; height: 66px; font-size: 16px; }
  .play-filters { gap: 10px; }
  .play-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .play-chips button { flex-shrink: 0; }
  .play-count { margin-left: 0; }
  .play-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .play-game-body { padding: 10px; }
  .play-game-body h3 { font-size: 13px; }
  .play-heart { width: 34px; height: 34px; }
  .play-cast { padding-top: 64px; }
  .play-head.is-cast { padding-top: 44px; }
  .play-page-head.is-genre .play-head { padding-top: 36px; }
  .play-snap-head span { font-size: 68px; }
  .play-who { flex: 0 0 190px; }
  .play-who-ph { height: 250px; }
  .play-desk { grid-template-columns: 1fr; padding: 22px; margin-top: 64px; }
  .play-desk-note { grid-column: 1; margin: 0; }
  .play-news { flex-direction: column; align-items: flex-start; gap: 12px; }
  .play-page-run span { font-size: 68px; }
  .play-head h1 { font-size: 32px; }
  .play-news-list { gap: 14px; padding-top: 24px; }
  .play-news-card { grid-template-columns: auto minmax(0, 1fr) 44px; grid-template-areas: "no meta go" "copy copy copy"; gap: 10px 14px; padding: 16px; }
  .play-news-no { grid-area: no; font-size: 34px; }
  .play-news-card .play-news-meta { grid-area: meta; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .play-news-copy { grid-area: copy; }
  .play-news-thumb { display: none; }
  .play-news-card .play-tile-go { grid-area: go; width: 40px; height: 40px; }
  .play-article { padding-top: 24px; }
  .play-cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; padding-top: 24px; }
  .play-cast-grid .play-who-ph { height: 210px; }
  .play-cast-grid .play-say { font-size: 12px; }
  .play-profile { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .play-profile-ph { max-width: 320px; }
  .play-profile-ph::after { right: -8px; }
  .play-sheet { grid-template-columns: 1fr; box-shadow: 4px 4px 0 var(--ink); }
  .play-sheet > div, .play-sheet > div:first-child:not(.is-wide) + div:not(.is-wide) { border-top: 2px solid var(--ink); border-left: 0; }
  .play-sheet > div:first-child { border-top: 0; }
  .play-sizes { font-size: 26px !important; }
  .play-profile-works .play-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .play-lightbox figure { padding: 12px 12px 56px; }
  .play-lightbox-nav { top: auto; bottom: 8px; transform: none; }
  .play-lightbox-nav.is-prev { left: calc(50% - 52px); }
  .play-lightbox-nav.is-next { right: calc(50% - 52px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play *, .play *::before, .play *::after { animation: none !important; transition: none !important; }
}

/* 「ボイス」の印。音声ありの作品だけ（app.py の SHOW_VOICE_BADGE / game_has_voice）。カードとカバーは画像の左上、作品ページはジャンル名の横。 */
.play-voice { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1; box-shadow: 2px 2px 0 var(--ink); pointer-events: none; }
.play-voice span { font-size: 13px; }
.play-cover .play-voice { top: 14px; left: auto; right: 14px; }
.play-voice.is-inline { position: static; margin-left: 8px; padding: 3px 9px 3px 7px; font-family: inherit; letter-spacing: 0; vertical-align: 1px; box-shadow: none; }
