/* YOMO GAME — neo (2026 winter): 明るいサイバー × ゲーム
   fresh デザイン（yomo.css / wp.css）の上に重ねる「着せ替え」。中身のHTMLと仕組みは fresh と共通。
   見た目は body[data-look] で 昼 / POP / 夕焼け / 夜 を切り替える（neo.js、右下のパネル）。
   記事の本文カード（.reading-card）はどの見た目でも昼の配色のまま＝読みやすさ優先。 */

/* ---------- 1. 配色（fresh の変数を見た目ごとに差し替える） ---------- */
body.yomo-neo, body.yomo-neo .reading-card {
  --bg: #eef8ff; --surface: #ffffff; --ink: #1c2747; --ink-2: #34436a; --ink-3: #46557a;
  --line: rgba(28, 39, 71, .12); --line-2: rgba(28, 39, 71, .22);
  --accent: #2f7fe6; --accent-ink: #1a62c4;
  --lav-50: #f1f8ff; --lav-100: #e2f1ff; --lav-200: #cfe6ff; --lav-300: #9fd0ff;
  --mint-100: #e3f5ec; --mint-200: #c8ecd9; --mint-ink: #1d6f50;
  --pink-100: #fdecf2; --pink-200: #f9d3e1; --pink-ink: #a83563;
  --sky-100: #e5f2fb; --sky-200: #c9e4f7; --sky-ink: #1f5f8f;
  --star: #ffbf2e;
  color-scheme: light;
}
body.yomo-neo {
  --a1: #ff4f9e; --a2: #2f9bff; --gold: #ffbf2e;
  --g1: #d81b78; --g2: #1a6fd6;                       /* 白文字を乗せる用の濃いめグラデ */
  --hero-bg: radial-gradient(120% 90% at 70% 0%, #ffffff 0%, #d4f0ff 40%, #9fdcff 100%);
  --glass: rgba(255, 255, 255, .68); --header-bg: rgba(238, 248, 255, .82);
  --card: linear-gradient(160deg, #ffffff, #f3faff);
  --panel: linear-gradient(150deg, #1c2747, #2b4a9c);
  --logo: linear-gradient(180deg, #ffffff 0%, #fff3b0 40%, #ffb3d9 100%); --logo-shadow: #2f9bff;
  --mq: rgba(47, 155, 255, .22); --mq2: rgba(255, 79, 158, .24); --floor: rgba(47, 155, 255, .4);
  --tint: transparent;
  --ticket: #fffdf6; --ticket-line: #f1d48a; --ticket-ink: #8a6510;
  --yomogi: #1aa3ee; --sindri: #ff6fa8; --primula: #9a5cff; --edamame: #4fb52a;
  --hard: 0 0 #0000; --bd: 1px solid var(--line);
  --bounce: cubic-bezier(.2, 1.5, .4, 1);
  --font-jp: "Dela Gothic One", "Zen Maru Gothic", system-ui, sans-serif;
  --font-en: "Unbounded", "Outfit", system-ui, sans-serif;
  --radius: 24px; --radius-l: 28px;
  transition: background-color .6s, color .6s;
}
body.yomo-neo[data-look="pop"] {
  --bg: #fff5fb; --ink: #2a1840; --ink-2: #4a3260; --ink-3: #59406e;
  --line: rgba(42, 24, 64, .22); --line-2: rgba(42, 24, 64, .42);
  --accent: #7b5cff; --accent-ink: #5a3fd6;
  --lav-50: #fff0f8; --lav-100: #ffe3f1; --lav-200: #ffd0e6; --lav-300: #ffa9cf; --star: #ffcc00;
  --a1: #ff3d8b; --a2: #7b5cff; --gold: #ffcc00; --g1: #e01f76; --g2: #6240f0;
  --hero-bg: radial-gradient(circle at 20% 20%, #fff 0 8%, transparent 8.5%) 0 0 / 26px 26px, linear-gradient(135deg, #ffe3f1 0%, #fff2b8 55%, #d9f3ff 100%);
  --glass: #ffffff; --header-bg: rgba(255, 245, 251, .9); --card: #ffffff;
  --panel: linear-gradient(150deg, #2a1840, #6240f0);
  --logo: linear-gradient(180deg, #fff, #fff); --logo-shadow: #2a1840;
  --mq: rgba(255, 61, 139, .3); --mq2: rgba(123, 92, 255, .3); --floor: rgba(255, 61, 139, .38);
  --sindri: #ff5c9d; --primula: #8c4dff; --edamame: #3fae1f;
  --hard: 6px 6px 0 #2a1840; --bd: 3px solid #2a1840;
}
body.yomo-neo[data-look="sunset"] {
  --bg: #fff1ea; --ink: #2e1b3d; --ink-2: #4c3556; --ink-3: #5b4060;
  --line: rgba(46, 27, 61, .14); --line-2: rgba(46, 27, 61, .26);
  --accent: #7d5cff; --accent-ink: #5b3fd0;
  --lav-50: #fff7f2; --lav-100: #ffe9e0; --lav-200: #ffd9cc; --lav-300: #ffb9a6; --star: #ffc65a;
  --a1: #ff5a7a; --a2: #7d5cff; --gold: #ffc65a; --g1: #d42f58; --g2: #6a48ee;
  --hero-bg: linear-gradient(180deg, #b7a4f4 0%, #e9a6dc 32%, #ffb3b0 62%, #ffe1b3 100%);
  --glass: rgba(255, 255, 255, .58); --header-bg: rgba(255, 241, 234, .84); --card: linear-gradient(160deg, #ffffff, #fff4ee);
  --panel: linear-gradient(150deg, #2e1b3d, #8a3f9c);
  --logo: linear-gradient(180deg, #ffffff 0%, #ffe9c7 50%, #ffc2d6 100%); --logo-shadow: #7d3c98;
  --mq: rgba(255, 255, 255, .34); --mq2: rgba(255, 255, 255, .22); --floor: rgba(255, 190, 120, .55);
  --tint: linear-gradient(180deg, rgba(183, 164, 244, .45), rgba(255, 179, 176, .35) 60%, rgba(255, 225, 179, .3));
}
body.yomo-neo[data-look="night"] {
  --bg: #0d0918; --surface: #1a1230; --ink: #f5efff; --ink-2: #cfc4ea; --ink-3: #a99cc9;
  --line: rgba(255, 255, 255, .13); --line-2: rgba(255, 255, 255, .24);
  --accent: #b68cff; --accent-ink: #cdb2ff;
  --lav-50: rgba(255, 255, 255, .05); --lav-100: rgba(155, 107, 255, .18); --lav-200: rgba(155, 107, 255, .3); --lav-300: #9b6bff;
  --mint-100: rgba(79, 207, 156, .15); --mint-200: rgba(79, 207, 156, .28); --mint-ink: #8fe3bd;
  --pink-100: rgba(255, 79, 216, .15); --pink-200: rgba(255, 79, 216, .28); --pink-ink: #ffa6e8;
  --sky-100: rgba(92, 200, 255, .15); --sky-200: rgba(92, 200, 255, .28); --sky-ink: #9bdcff;
  --star: #ffd35a;
  --a1: #ff4fd8; --a2: #9b6bff; --gold: #ffd35a; --g1: #c62bb0; --g2: #7a4be8;
  --hero-bg: radial-gradient(120% 80% at 75% 10%, #3a1f6e 0%, #1a1130 45%, #0d0918 80%);
  --glass: rgba(255, 255, 255, .07); --header-bg: rgba(13, 9, 24, .78);
  --card: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  --panel: linear-gradient(150deg, #2a1a52, #1a1130);
  --logo: linear-gradient(180deg, #fff 0%, #ffd6f6 45%, #c9a7ff 100%); --logo-shadow: #9b6bff;
  --mq: rgba(255, 255, 255, .15); --mq2: rgba(255, 79, 216, .24); --floor: rgba(155, 107, 255, .6);
  --tint: linear-gradient(180deg, rgba(26, 17, 48, .72), rgba(13, 9, 24, .55));
  --ticket: #241a12; --ticket-line: #8a6a22; --ticket-ink: #ffd98a;
  --yomogi: #5cc8ff; --sindri: #ffb3d1; --primula: #b07cff; --edamame: #9be36b;
  color-scheme: dark;
}
body.yomo-neo .reading-card { color: var(--ink); }

/* ---------- 2. fresh の部品を新しい色・形にそろえる ---------- */
body.yomo-neo :focus-visible { outline-color: var(--a1); }
body.yomo-neo .site-header { background: var(--header-bg); }
body.yomo-neo .brand-icon { background: conic-gradient(var(--yomogi), var(--sindri), var(--primula), var(--edamame), var(--yomogi)); color: #fff; border-radius: 50%; box-shadow: var(--hard); }
body.yomo-neo .brand:hover .brand-icon { animation: neo-spin 1.2s var(--bounce); }
body.yomo-neo .brand-text b { font-family: var(--font-en); font-weight: 900; font-size: 17px; letter-spacing: .06em; }
body.yomo-neo .brand-text b span { font-weight: 900; color: var(--a1); }
body.yomo-neo .site-nav a { transition: background .18s, color .18s, transform .25s var(--bounce); }
body.yomo-neo .site-nav a:hover { transform: translateY(-2px) rotate(-2deg); }
body.yomo-neo .icon-button { border: var(--bd); box-shadow: var(--hard); }

/* 白文字を乗せる濃い面は、文字色（--ink）ではなく専用のグラデを使う（夜でも読める） */
body.yomo-neo .ybtn.ybtn-primary, body.yomo-neo .yomo-ranking-button,
body.yomo-neo .tabs [aria-selected="true"], body.yomo-neo .tabs [aria-current="page"],
body.yomo-neo .filter-chip[aria-pressed="true"], body.yomo-neo .yomo-pagination a[aria-current="page"],
body.yomo-neo.yomo-fresh .nav-links .current, body.yomo-neo .skip,
body.yomo-neo .tool-card .actions .ybtn.ybtn-primary:hover {
  background: linear-gradient(90deg, var(--g1), var(--g2)); color: #fff; border-color: transparent;
}
body.yomo-neo .ybtn { border: var(--bd); box-shadow: var(--hard); transition: transform .25s var(--bounce), box-shadow .2s, background .2s; }
body.yomo-neo .ybtn.ybtn-primary { box-shadow: var(--hard), 0 10px 26px -10px var(--a1); }
body.yomo-neo .ybtn.ybtn-primary:hover, body.yomo-neo .yomo-ranking-button:hover { background: linear-gradient(90deg, var(--g1), var(--g2)); filter: brightness(1.08); }
body.yomo-neo .ybtn.ybtn-secondary { background: var(--glass); color: var(--ink); }
body.yomo-neo .pill-link { border: var(--bd); box-shadow: var(--hard); transition: transform .25s var(--bounce), border-color .18s, color .18s; }
body.yomo-neo .pill-link:hover { transform: translateY(-2px) rotate(-2deg); }
body.yomo-neo .filter-chip[aria-pressed="true"] .n { color: #fff; }
body.yomo-neo .tabs { border: var(--bd); box-shadow: var(--hard); }
body.yomo-neo .eyebrow { font-family: var(--font-en); font-weight: 800; font-size: 11px; letter-spacing: .22em; }

/* カード類：丸み・ふち・影・乗せると跳ねる */
body.yomo-neo .door, body.yomo-neo .post-feature, body.yomo-neo .post-list, body.yomo-neo .tool-mini,
body.yomo-neo .game-card, body.yomo-neo .bento > *, body.yomo-neo .tool-card, body.yomo-neo .game-detail,
body.yomo-neo .help-card, body.yomo-neo .stat, body.yomo-neo .toc-box, body.yomo-neo .author-box {
  border: var(--bd); box-shadow: var(--hard), 0 14px 36px -20px rgba(30, 40, 80, .38);
}
body.yomo-neo .post-feature, body.yomo-neo .tool-mini, body.yomo-neo .game-card, body.yomo-neo .tool-card { background: var(--card); transition: transform .3s var(--bounce), box-shadow .22s; }
body.yomo-neo .post-list, body.yomo-neo .about-card { background: var(--card); }
body.yomo-neo .post-feature:hover, body.yomo-neo .tool-mini:hover, body.yomo-neo .game-card:hover, body.yomo-neo .tool-card:hover { transform: translateY(-6px) rotate(-.6deg); border: var(--bd); }
body.yomo-neo .bento > * { transition: transform .3s var(--bounce); }
body.yomo-neo .bento > *:hover { transform: translateY(-5px) rotate(.5deg); }
body.yomo-neo .tool-mini .tile, body.yomo-neo .tool-card .tile, body.yomo-neo .watch-card .play { transition: transform .45s var(--bounce); }
body.yomo-neo .tool-mini:hover .tile, body.yomo-neo .tool-card:hover .tile, body.yomo-neo .watch-card:hover .play { transform: rotate(360deg) scale(1.1); }
body.yomo-neo .watch-card .play, body.yomo-neo .game-help .tile { background: var(--surface); }
body.yomo-neo .game-card .cover .chip { background: var(--surface); color: var(--ink); }
body.yomo-neo .toolbox-panel { background: var(--panel); color: #fff; border: var(--bd); box-shadow: var(--hard), 0 14px 36px -20px rgba(30, 40, 80, .5); }
body.yomo-neo .toolbox-panel .big { font-family: var(--font-en); font-weight: 900; color: #fff; }
body.yomo-neo .toolbox-panel p { color: #dfe3f5; }
body.yomo-neo .toolbox-panel .cat-links a { color: #fff; }
body.yomo-neo .toolbox-panel .ybtn { background: #fff; color: #1c2747; }
body.yomo-neo .toolbox-panel .ybtn:hover { background: #ffe9f4; }
body.yomo-neo .filter-bar { background: var(--header-bg); border: var(--bd); }
body.yomo-neo .search-box:focus-within { background: var(--surface); }
body.yomo-neo .yomo-ad { background: var(--glass); }
body.yomo-neo dialog { border: var(--bd); }

/* ランキング応援（チケット風は残して、色だけ見た目に合わせる） */
body.yomo-neo .yomo-ranking { margin-top: 20px; background: var(--ticket); border-color: var(--ticket-line); box-shadow: var(--hard), 0 10px 28px -18px rgba(176, 130, 20, .5); }
body.yomo-neo .yomo-ranking::before, body.yomo-neo .yomo-ranking::after { border-color: var(--ticket-line); }
body.yomo-neo .yomo-ranking .rank-label { color: var(--ticket-ink); }
body.yomo-neo .yomo-ranking-button { transition: transform .25s var(--bounce); }
body.yomo-neo .yomo-ranking-button:hover { transform: translateY(-3px) scale(1.03); }

/* フッター */
body.yomo-neo .site-footer { background: var(--surface); }
body.yomo-neo .back-top { transition: transform .3s var(--bounce); }
body.yomo-neo .back-top:hover { transform: translateY(-4px); }

/* 下のページ（ツール一覧・記事一覧・ゲーム・検索）の見出しの帯も、トップの動画と同じ空とグリッドの床にそろえる */
body.yomo-neo .gallery-hero, body.yomo-neo .archive-hero { isolation: isolate; }
body.yomo-neo .gallery-hero::before, body.yomo-neo .archive-hero::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); pointer-events: none;
  background: linear-gradient(var(--floor) 1.5px, transparent 1.5px) 0 0 / 56px 56px, linear-gradient(90deg, var(--floor) 1.5px, transparent 1.5px) 0 0 / 56px 56px, var(--hero-bg);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); opacity: .6; }
body.yomo-neo .gallery-hero h1, body.yomo-neo .archive-hero h1 { text-shadow: 0 2px 0 rgba(255, 255, 255, .6); }
body.yomo-neo[data-look="night"] .gallery-hero h1, body.yomo-neo[data-look="night"] .archive-hero h1 { text-shadow: none; }
/* 見た目パネルがフッターの「上へ戻る」に重ならないよう、下に余白 */
body.yomo-neo .site-footer { padding-bottom: 64px; }

/* ---------- 3. 進み具合バー・カーソルのキラキラ・見た目パネル ---------- */
.neo-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 4px; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
  background: linear-gradient(90deg, var(--yomogi), var(--sindri), var(--primula), var(--edamame)); }
.neo-trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }
.neo-looks-list { display: none; gap: 4px; align-items: center; }
.neo-looks.open .neo-looks-list { display: flex; }
.neo-looks-toggle { border: 0; height: 36px; padding: 0 12px 0 7px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(90deg, var(--g1), var(--g2)); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.neo-looks-toggle .ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: 12px; transition: transform .4s var(--bounce); }
.neo-looks.open .neo-looks-toggle .ico { transform: rotate(180deg); }
.neo-looks { position: fixed; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  display: flex; gap: 4px; align-items: center; padding: 5px; border-radius: 999px;
  background: var(--glass); border: var(--bd); box-shadow: var(--hard), 0 10px 30px rgba(0, 0, 0, .16); }

.neo-looks-list button { border: 0; width: 38px; height: 36px; border-radius: 999px; font-size: 13px; font-weight: 700; display: grid; place-items: center; background: transparent; color: var(--ink); padding: 0; transition: transform .25s var(--bounce), background .2s; }
.neo-looks-list button:hover { transform: translateY(-3px) scale(1.08); }
.neo-looks-list button[aria-pressed="true"] { background: linear-gradient(90deg, var(--g1), var(--g2)); color: #fff; }
.neo-looks-list button.auto { width: auto; padding: 0 12px; font-size: 10px; font-family: var(--font-en); font-weight: 800; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- 4. ヒーロー（左に文字、右にゲーム画面の枠に入れた動画。後ろは見た目ごとの空のアニメ） ---------- */
.neo-main { display: block; min-width: 0; }
.neo-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero-bg); display: flex; align-items: center;
  min-height: clamp(520px, 76vh, 760px); padding-block: clamp(36px, 6vw, 72px) clamp(96px, 12vw, 150px); transition: background .6s; }
.neo-hero-media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.neo-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.neo-celestial { position: absolute; right: -40px; top: -30px; width: min(520px, 66vw); aspect-ratio: 1; }
.neo-celestial svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.6) rotate(-30deg); transition: opacity .7s, transform .9s var(--bounce); }
body[data-look="night"] .c-moon, body[data-look="day"] .c-sun, body:not([data-look]) .c-sun, body[data-look="pop"] .c-star, body[data-look="sunset"] .c-dusk { opacity: 1; transform: none; }
.neo-celestial .spin { transform-origin: 50% 50%; animation: neo-spin 40s linear infinite; }
.neo-celestial .spin.r { animation-duration: 70s; animation-direction: reverse; }
.neo-celestial .spin.f { animation-duration: 16s; }
@keyframes neo-spin { to { transform: rotate(360deg); } }
/* ゲームっぽい奥行きの床（グリッド） */
/* 軽さ：線の模様そのものは動かさず、模様を描いた板を transform で動かす（毎コマ描き直さない） */
.neo-floor { position: absolute; left: -20%; right: -20%; bottom: 0; height: 46%; overflow: hidden; transform-origin: 50% 100%; transform: perspective(520px) rotateX(62deg);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 92%); mask-image: linear-gradient(to top, #000 10%, transparent 92%); }
.neo-floor::before { content: ""; position: absolute; left: 0; right: 0; top: -64px; bottom: 0;
  background-image: linear-gradient(var(--floor) 2px, transparent 2px), linear-gradient(90deg, var(--floor) 2px, transparent 2px); background-size: 64px 64px;
  animation: neo-floor 2.4s linear infinite; will-change: transform; }
@keyframes neo-floor { to { transform: translateY(64px); } }
.neo-marquees { position: absolute; left: 0; right: 0; bottom: 34%; display: grid; gap: 4px; transform: rotate(-4deg); }
.neo-mq { white-space: nowrap; font-family: var(--font-en); font-weight: 900; font-size: clamp(44px, 9vw, 112px); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--mq); }
.neo-mq div { display: inline-block; animation: neo-slide 38s linear infinite; }
.neo-mq.r { -webkit-text-stroke-color: var(--mq2); }
.neo-mq.r div { animation-direction: reverse; }
@keyframes neo-slide { to { transform: translateX(-50%); } }

.neo-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.neo-hero-inner > .neo-hero-copy:only-child { grid-column: 1 / -1; }
.neo-hero-copy { position: relative; min-width: 0; }
.neo-hero.has-video h1.neo-logo { font-size: clamp(46px, 5.6vw, 90px); white-space: nowrap; }

/* 動画は「ゲーム画面」の枠に入れる。文字と重ならないので、どの見た目でも読める */
.neo-hero.has-video .neo-catch { font-size: clamp(20px, 2.5vw, 34px); }
.neo-hero.has-video .neo-catch > :first-child, .neo-catch { word-break: keep-all; overflow-wrap: anywhere; }
.neo-screen { position: relative; min-width: 0; animation: neo-rise .9s .35s both; }
.neo-screen-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #cfe6ff; isolation: isolate;
  box-shadow: 0 0 0 3px #fff, 0 0 0 7px color-mix(in srgb, var(--a2) 65%, transparent), 0 30px 70px -24px color-mix(in srgb, var(--a2) 70%, transparent), 0 0 70px -12px color-mix(in srgb, var(--a1) 60%, transparent);
  transition: transform .5s var(--bounce); }
.neo-screen:hover .neo-screen-frame { transform: translateY(-4px) rotate(-.4deg); }
body.yomo-neo[data-look="pop"] .neo-screen-frame { box-shadow: 0 0 0 3px #2a1840, 9px 9px 0 3px #2a1840; }
body.yomo-neo .neo-hero-video { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: inherit; }
/* 走査線：光の帯を transform で流すだけ（動画の上で毎コマ合成し直す重い重ね方はしない） */
.neo-scan { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; border-radius: inherit; }
.neo-scan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .12) 50%, transparent);
  animation: neo-scan 6s linear infinite; will-change: transform; }
@keyframes neo-scan { from { transform: translateY(-100%); } to { transform: translateY(560%); } }
.neo-hud { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-en); font-weight: 800; font-size: 10px; letter-spacing: .16em; line-height: 1; color: #fff; white-space: nowrap;
  background: rgba(20, 28, 60, .74); pointer-events: none; }
.neo-hud.tl { left: 14px; top: 14px; }
.neo-hud.tl i { width: 7px; height: 7px; border-radius: 50%; background: #ff3d8b; box-shadow: 0 0 0 3px rgba(255, 61, 139, .35); animation: neo-blink 1.6s ease-in-out infinite; }
.neo-hud.br { right: 14px; bottom: 14px; }
.neo-hud.br b { color: #9bffcf; }
@keyframes neo-blink { 50% { opacity: .25; } }
.neo-play { position: absolute; z-index: 3; right: 14px; top: 14px; width: 34px; height: 34px; border: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(20, 28, 60, .74); color: #fff; transition: transform .25s var(--bounce), background .2s; }
.neo-play:hover { transform: scale(1.1); background: rgba(20, 28, 60, .8); }
.neo-play .pause { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.neo-play .play { display: none; width: 0; height: 0; margin-left: 3px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.neo-play.is-paused .pause { display: none; }
.neo-play.is-paused .play { display: block; }
.neo-corner { position: absolute; width: 28px; height: 28px; border: 3px solid var(--a1); pointer-events: none; }
.neo-corner.c1 { left: -13px; top: -13px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.neo-corner.c2 { right: -13px; top: -13px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; border-color: var(--a2); }
.neo-corner.c3 { left: -13px; bottom: -13px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; border-color: var(--a2); }
.neo-corner.c4 { right: -13px; bottom: -13px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.neo-eyebrow { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .26em; color: var(--g1); animation: neo-rise .8s .1s both; }
body.yomo-neo[data-look="night"] .neo-eyebrow { color: #ff9fe6; }
.neo-clock { letter-spacing: .1em; padding: 2px 10px; border-radius: 999px; background: var(--glass); border: var(--bd); color: var(--ink); }
body.yomo-neo h1.neo-logo { font-family: var(--font-jp); font-weight: 400; font-size: clamp(54px, 12.5vw, 156px); line-height: .98; letter-spacing: 0; margin: .14em 0 .1em; width: fit-content; cursor: pointer; }
.neo-logo span { display: inline-block; background: var(--logo); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .035em var(--logo-shadow); paint-order: stroke fill;
  filter: drop-shadow(0 .05em 0 var(--logo-shadow)); animation: neo-drop .9s var(--bounce) both; }
.neo-logo span:nth-child(2) { animation-delay: .07s; } .neo-logo span:nth-child(3) { animation-delay: .14s; } .neo-logo span:nth-child(4) { animation-delay: .21s; } .neo-logo span:nth-child(5) { animation-delay: .28s; }
.neo-logo span.jump { animation: neo-hop .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes neo-drop { from { transform: translateY(-80px) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes neo-hop { 40% { transform: translateY(-26px) rotate(-6deg) scale(1.08); } }
@keyframes neo-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.neo-catch { font-family: var(--font-round); font-weight: 900; font-size: clamp(22px, 3.4vw, 40px); line-height: 1.4; letter-spacing: .04em; animation: neo-rise .8s .5s both; }
.neo-catch span { display: block; width: fit-content; margin-top: 6px; font-size: .6em; font-weight: 700; color: var(--accent-ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--gold) 55%, transparent) 62%, color-mix(in srgb, var(--gold) 55%, transparent) 92%, transparent 92%); padding-inline: 2px; }
.neo-desc { margin-top: 14px; color: var(--ink-2); font-weight: 700; font-size: clamp(14px, 1.6vw, 16px); line-height: 1.9; animation: neo-rise .8s .65s both; }
.neo-hero .hero-actions { animation: neo-rise .8s .8s both; }
.neo-hero .hero-author { animation: neo-rise .8s .95s both; color: var(--ink-2); }

/* ---------- 5. 注目（ヒーローの下に重ねる3枚） ---------- */
.neo-pickup { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1.25fr 1fr; gap: 14px; margin-top: clamp(-84px, -7vw, -56px); }
.neo-pick { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; min-width: 0;
  border-radius: 22px; background: var(--glass); border: var(--bd); box-shadow: var(--hard), 0 18px 40px -22px rgba(30, 40, 80, .55);
  transition: transform .3s var(--bounce); }
.neo-pick:hover { transform: translateY(-6px) rotate(-.8deg); }
body.yomo-neo .neo-pick img { width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.neo-pick .txt { display: grid; gap: 2px; min-width: 0; line-height: 1.5; }
.neo-pick small { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.neo-pick strong { font-family: var(--font-round); font-size: 16px; }
.neo-pick .sticker { position: static; width: fit-content; padding: 2px 10px; font-size: 10px; transform: rotate(-4deg); margin-bottom: 2px; box-shadow: var(--hard); }
.neo-pick.is-note { grid-template-columns: auto minmax(0, 1fr) auto; padding-left: 16px; }
.neo-pick .circle-arrow { width: 34px; height: 34px; transition: transform .3s var(--bounce); }
.neo-pick:hover .circle-arrow { transform: translateX(4px) scale(1.1); }

/* ---------- 6. 入口カード（流れる文字つき） ---------- */
body.yomo-neo .doors { margin-top: 18px; }
body.yomo-neo .door { transition: transform .3s var(--bounce), box-shadow .2s; }
body.yomo-neo .door:hover { transform: translateY(-6px) rotate(-.8deg); }
body.yomo-neo .door > * { position: relative; z-index: 1; }
body.yomo-neo .door .tile { background: var(--surface); transition: transform .45s var(--bounce); }
body.yomo-neo .door:hover .tile { transform: rotate(360deg) scale(1.12); }
body.yomo-neo .door b small { font-family: var(--font-en); font-weight: 800; }
body.yomo-neo .door .num { font-family: var(--font-en); font-weight: 900; }
body.yomo-neo .door { padding-bottom: 50px; }
body.yomo-neo .door .neo-run { position: absolute; z-index: 0; left: 0; right: 0; bottom: 6px; }
.neo-run { display: block; overflow: hidden; white-space: nowrap; pointer-events: none; font-family: var(--font-en); font-weight: 900; font-size: 38px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c, var(--a2)); opacity: .32; }
.neo-run span { display: inline-block; animation: neo-slide 16s linear infinite; }
.door:hover .neo-run span { animation-duration: 5s; }

/* ---------- 7. セクションの見出し（大きい英字＋日本語の見出し） ---------- */
.neo-title { min-width: 0; }
.neo-big { font-family: var(--font-en); font-weight: 900; font-size: clamp(38px, 7vw, 84px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
/* ふち文字：字の重なり線が見えないよう、背景色で塗ってから外側にふちを付ける */
.neo-big em { font-style: normal; color: var(--bg); -webkit-text-stroke: 4px var(--a1); paint-order: stroke fill; }
body.yomo-neo .section-head .neo-title h2 { font-size: clamp(17px, 2vw, 21px); margin-top: 10px; color: var(--ink-2); }
body.yomo-neo .section-head .neo-title h2::before { content: "✦"; color: var(--gold); margin-right: 8px; }
.neo-title .lead { margin-top: 8px; color: var(--ink-2); font-size: 14px; max-width: 36em; }
body.yomo-neo .head-with-chibi { align-items: flex-end; }

/* ---------- 8. MEMBERS ---------- */
.neo-fig { position: relative; display: block; aspect-ratio: var(--ar); }
body.yomo-neo .neo-fig img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.neo-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.neo-card { position: relative; min-width: 0; overflow: hidden; border-radius: 26px; padding: 18px 18px 20px; background: var(--card); border: var(--bd);
  box-shadow: var(--hard), 0 14px 36px -18px rgba(30, 40, 80, .38); transition: transform .25s ease; }
.neo-card::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px; border-radius: 50%; background: var(--c); opacity: .18; filter: blur(30px); }
.neo-card .no { position: relative; font-family: var(--font-en); font-weight: 900; font-size: 12px; letter-spacing: .18em; color: var(--c); }
body.yomo-neo:not([data-look="night"]) .neo-card .no { filter: brightness(.72) saturate(1.3); }
.neo-card .bust { position: relative; height: 220px; margin: 8px -6px 4px; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); }
body.yomo-neo .neo-card .bust .neo-figure { position: absolute; left: 50%; top: 4px; height: 420px; width: auto; max-width: none; transform: translateX(-50%); transform-origin: 50% 30%; transition: transform .4s var(--bounce); filter: drop-shadow(0 8px 14px rgba(30, 40, 80, .18)); }
.neo-card:hover .bust .neo-figure, .neo-card.on .bust .neo-figure { transform: translateX(-50%) translateY(-10px) scale(1.05) rotate(-2deg); }
.neo-card.on .bust .neo-figure { animation: neo-cheer .6s var(--bounce); }
@keyframes neo-cheer { 40% { transform: translateX(-50%) translateY(-22px) scale(1.06) rotate(3deg); } }
body.yomo-neo .neo-card h3 { position: relative; font-family: var(--font-jp); font-weight: 400; font-size: 28px; line-height: 1.25; margin-top: 8px; letter-spacing: 0; }
.neo-card .en { font-family: var(--font-en); font-size: 10px; font-weight: 500; letter-spacing: .3em; color: var(--ink-3); }
.neo-card ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.6; }
.neo-card li { display: flex; gap: 8px; align-items: baseline; }
.neo-card li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--c); transform: translateY(-1px); }
.neo-chip { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; color: var(--ink); background: color-mix(in srgb, var(--c) 26%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); }

.neo-lineup { margin-top: 28px; border-radius: 26px; padding: 22px; background: var(--card); border: var(--bd); box-shadow: var(--hard), 0 14px 36px -20px rgba(30, 40, 80, .3); }
body.yomo-neo .neo-lineup h3 { font-family: var(--font-jp); font-weight: 400; font-size: 22px; letter-spacing: 0; }
.neo-lineup > p { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
/* 4人とも元の立ち絵と同じ縮尺（--lk 倍）。足の下の余白ぶんだけ下げて、足の位置をそろえる */
.neo-ruler { --lk: .15; position: relative; display: flex; align-items: flex-end; justify-content: space-around; gap: 6px; margin: 18px auto 0; padding-top: 8px; max-width: 820px; }
.neo-ruler::after { content: ""; position: absolute; left: 0; right: 0; bottom: 26px; height: 2px; background: var(--line-2); border-radius: 2px; }
.neo-ruler .who { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.neo-ruler .neo-fig { height: calc(var(--h) * var(--lk) * 1px); margin-bottom: calc(var(--pad) * var(--lk) * -1px); transition: transform .4s var(--bounce); }
.neo-ruler .who:hover .neo-fig { transform: translateY(-8px); }
.neo-ruler .who b { position: relative; height: 26px; display: grid; align-items: end; font-size: 12px; white-space: nowrap; color: var(--ink); }
.neo-ruler .who b::before { content: ""; position: absolute; left: -12px; bottom: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.neo-secret { margin-top: 26px; text-align: center; font-family: var(--font-jp); font-size: clamp(18px, 3vw, 28px); line-height: 1.5; }
.neo-secret span { background: linear-gradient(90deg, var(--yomogi), var(--sindri), var(--primula), var(--edamame)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.yomo-neo:not([data-look="night"]) .neo-secret span { filter: brightness(.8) saturate(1.25); }

/* ---------- 9. 動き：スクロールで出てくる・画面外は止める ---------- */
.neo-reveal { transition: transform .8s cubic-bezier(.2, 1, .3, 1), opacity .6s; }
.neo-reveal.lift { transform: translateY(30px); opacity: 0; }
.neo-card.neo-reveal { transition: transform .8s cubic-bezier(.2, 1, .3, 1), opacity .6s; }
.neo-paused, .neo-paused * { animation-play-state: paused !important; }

/* ---------- 10. 画面幅ごとの調整 ---------- */
@media (max-width: 1080px) {
  .neo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .neo-pickup { grid-template-columns: 1fr 1fr; }
  .neo-pick.is-note { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .neo-hero { min-height: 0; padding-block: 28px 96px; }
  .neo-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  /* スマホ・タブレットでは動画を一番上に。開いてすぐ4人が動いているのが見える */
  .neo-screen { order: -1; margin: 6px 4px 0; }
  .neo-hero.has-video h1.neo-logo { font-size: clamp(48px, 15vw, 96px); }
  .neo-screen-frame { border-radius: 20px; }
  .neo-corner { width: 20px; height: 20px; }
  .neo-corner.c1, .neo-corner.c3 { left: -8px; } .neo-corner.c2, .neo-corner.c4 { right: -8px; }
  .neo-corner.c1, .neo-corner.c2 { top: -8px; } .neo-corner.c3, .neo-corner.c4 { bottom: -8px; }
  .neo-pickup { grid-template-columns: 1fr; gap: 10px; margin-top: -64px; }
  .neo-pick { grid-template-columns: 104px minmax(0, 1fr) auto; }
  body.yomo-neo .neo-pick img { width: 104px; }
  .neo-pick.is-note { grid-column: auto; }
  .neo-ruler { --lk: .105; }
  body.yomo-neo .door .neo-run { display: none; }
  body.yomo-neo .door { padding-bottom: 14px; }
}
/* スマホ：重い飾りは減らす（ぼかし・流れる文字・床の動き・キラキラは neo.js 側でも止める） */
@media (max-width: 640px) {
  .neo-looks-list button { width: 34px; height: 34px; }
  .neo-celestial { opacity: .7; right: -80px; top: -60px; }
  .neo-floor::before { animation: none; }
  .neo-mq.r { display: none; }
  .neo-pick, .neo-looks, body.yomo-neo .ybtn.ybtn-secondary { -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.yomo-neo .neo-pick, body.yomo-neo .neo-looks { background: var(--surface); }
  .neo-cards { gap: 12px; }
  .neo-card { padding: 14px 14px 16px; border-radius: 22px; }
  .neo-card .bust { height: 150px; }
  body.yomo-neo .neo-card .bust .neo-figure { height: 290px; }
  body.yomo-neo .neo-card h3 { font-size: 20px; }
  .neo-card ul { font-size: 12.5px; }
  .neo-lineup { padding: 16px 10px; }
  .neo-ruler { --lk: .068; gap: 2px; }
  .neo-ruler .who b { font-size: 11px; }
  .neo-ruler .who b::before { display: none; }
  body.yomo-neo[data-look="pop"] { --hard: 4px 4px 0 #2a1840; --bd: 2px solid #2a1840; }
}
@media (prefers-reduced-motion: reduce) {
  .neo-reveal.lift { transform: none; opacity: 1; }
  .neo-trail { display: none; }
}
/* 軽さ（2026-11-17 よも「重そう」）：すりガラスのぼかしは、下の動画や空が動くたびに計算し直しになって重いので、全部やめて少し濃い色で代わりにする */
body.yomo-neo .site-header, body.yomo-neo .ybtn, .neo-looks, .neo-pick, .neo-hud, .neo-hud *, .neo-play, body.yomo-neo .game-card .cover .chip { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.yomo-neo .site-header { background: var(--header-bg); }
body.yomo-neo .neo-pick, body.yomo-neo .neo-looks, body.yomo-neo .ybtn.ybtn-secondary { background: var(--surface); }
/* スマホ（2026-11-17 よもの実機確認）：動画の上のラベル・ボタンがキャラに重なる、英語の小見出しが2行になる、
   「…つくっています。」の最後だけ落ちる、「見た目」ボタンがカードに重なる、を直す。PCは変えない */
@media (max-width: 640px) {
  .neo-hud { padding: 3px 7px; gap: 4px; font-size: 8px; letter-spacing: .1em; }
  .neo-hud.tl { left: 8px; top: 8px; }
  .neo-hud.tl i { width: 5px; height: 5px; box-shadow: 0 0 0 2px rgba(255, 61, 139, .35); }
  .neo-hud.br { display: none; }
  .neo-play { top: auto; bottom: 8px; right: 8px; width: 26px; height: 26px; }
  .neo-play .pause { width: 8px; height: 10px; border-left-width: 2.5px; border-right-width: 2.5px; }
  .neo-play .play { border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
  .neo-eyebrow { font-size: 10px; letter-spacing: .1em; white-space: nowrap; flex-wrap: nowrap; }
  .neo-hero .hero-author { font-size: 11.5px; gap: 8px; }
  .neo-hero .hero-author img { width: 28px; height: 28px; }
  .neo-looks-toggle { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .neo-looks-toggle .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .neo-looks-toggle .ico { width: 26px; height: 26px; font-size: 13px; }
}
