/* AETHER — 入口のデザイン。
 *
 * app.css は明るく丸いポップな配色で、それ自体は間違っていない。ただ
 * この作品の世界は「黙って沈んだ世界」なので、入口だけが明るいと、
 * 遊び始めた瞬間に別の作品へ入ったように感じる。
 *
 * そこで app.css の変数を暗い側へ入れ替えて、シェル全体をひとつの世界にする。
 * レイアウトの規則（角丸・余白・影の作法）はそのまま使うので、
 * 差し替えるのは色と、入口の絵まわりの新しい部品だけで済む。 */

body.aether {
  --bg: #0b0a16;
  --bg-soft: #171634;
  --ink: #f3effd;
  --ink-soft: #b6b0d2;
  --card: #171533;
  --line: #2c2a56;
  --coral: #ff85a1;
  --coral-deep: #7a2450;
  --sun: #ffd08a;
  --mint: #6fe6cf;
  --violet: #a58cff;
  --violet-deep: #cfc2ff;
  --sky: #7fdcff;
  --shadow: 0 8px 26px rgba(0, 0, 0, .38);
  --shadow-pop: 0 14px 38px rgba(0, 0, 0, .5);
  --font: "Inter", "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  background:
    radial-gradient(120% 68% at 68% -8%, #2b1f4d 0%, rgba(43, 31, 77, 0) 62%),
    var(--bg);
  background-attachment: fixed;
}

/* app.css で色を直接書いている箇所だけを、暗い側の値へ寄せ直す */
body.aether .btn.soft { background: #1e1c40; border-color: var(--line); color: var(--violet-deep); }
body.aether .btn.ghost { background: rgba(10, 9, 22, .7); border-color: var(--line); color: var(--ink); }
body.aether .btn.primary {
  background: linear-gradient(135deg, #b8375f, #7a2450);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}
body.aether .chip.active { background: #e8e3ff; color: #14122b; border-color: #e8e3ff; }
body.aether .badge.coin { border-color: #4a3f22; background: #2a2313; color: #ffdca8; }
body.aether .badge.streak { border-color: #4a2b3a; background: #2c1722; color: #ffbdd0; }
body.aether .toast { background: #ece7ff; color: #14122b; }
body.aether #bottombar { background: rgba(9, 8, 20, .94); border-top-color: var(--line); }
body.aether .nav-btn.active { color: #9fe4ff; background: #1a1940; }
body.aether #loading { background: rgba(11, 10, 22, .95); }
body.aether #calib-overlay { background: rgba(11, 10, 22, .97); }
body.aether .list-item.done { border-color: #2c4b46; background: #16302c; opacity: .82; }
body.aether .mc-best { background: #3a2f12; color: #ffd88f; }
body.aether .res-rank { background: linear-gradient(135deg, #3a2f12, #4a3a14); color: #ffdb9a; }
body.aether .selfie-tool[aria-pressed="true"] { background: #4c3fa8; border-color: #b3a9ff; }
body.aether #selfie-avatar { background: #1b1a3a; }
body.aether .tb-logo { letter-spacing: .16em; font-weight: 800; font-size: 13.5px; }

/* ---------- 表紙 ---------- */
.aether-art { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   トップページ — 絵を全面で見せる
   --------------------------------------------------------------------------
   帯状の挿絵の下に文章を積む作りは「絵のあるサイト」にしかならない。
   この作品は手続き的に描いた SVG という強い資産を既に持っているので、
   **一軸だけそこへ賭ける**：絵を画面いっぱいに敷き、文字はその上に載せる。
   他は静かにする（動きも装飾も足さない）。
   ========================================================================== */

/* 1.333（完全4度）の階段。行間は本文 1.6、見出し 1.1 */
body.aether {
  --t-xs: 11px; --t-sm: 13px; --t-md: 15px;
  --t-lg: 20px; --t-xl: 27px; --t-2xl: 36px;
}
.eyebrow {
  font-size: var(--t-xs); font-weight: 800; letter-spacing: .32em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 14px;
}

/* ---------- 表紙 ---------- */
/* app.css にも .hero がある（中央寄せ＋グラデーション文字）。
   同じ名前を使うと、こちらの意図と無関係な装飾が乗るので名前を分ける */
/* 表紙。**画面いっぱいに広げない。**
   端まで裁ち落とすと、表紙が「サイトの背景」になってしまい、下に並ぶ札と
   地続きに見える。枠の中に収めると、表紙は1枚の絵として立つ */
.gate-hero {
  position: relative; isolation: isolate;
  /* **画面いっぱいには出さない。**
     main 側は全画面にしていた（「角丸のカードだとサイトの挿絵になり、
     全画面にすると作品の入口になる」）。理屈は分かるが、2026-08-12 に
     「hero : full width bleed off にして」と명示で指示があったので戻す。
     全画面の絵は「もう始まっている」と読まれやすく、実際そう読まれていた。
     枠に収めると、表紙は1枚の絵として立つ */
  margin: 10px 0 0;
  min-height: min(52svh, 420px);
  display: flex; align-items: flex-end;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: radial-gradient(120% 90% at 50% 88%, #1a1733 0%, #0d0b1c 62%, #080714 100%);
}
/* 紋章は絵として置く。**引き伸ばして端を切らない**（slice だと口の形が
   画面の外へ出て、3つ並んでいることが読めなくなる） */
.gh-art { position: absolute; inset: 0; z-index: -2; display: flex; }
.gh-art svg { width: 100%; height: 100%; object-fit: contain; }
/* 文字の下だけを沈める。全面に膜をかけると絵ごと死ぬ */
.gh-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 10, 22, .5) 0%, rgba(11, 10, 22, 0) 26%),
    linear-gradient(0deg, var(--bg) 2%, rgba(11, 10, 22, .93) 44%, rgba(11, 10, 22, .5) 62%, rgba(11, 10, 22, 0) 82%);
}
/* 下の空きは 150px → 26px にした（2026-08-17）。
   150px は、下端に置いていたスクロールの手がかりを避けるための余白だった。
   手がかりを外したので、そのぶんの空白が表紙の下半分にまるごと残り、
   ボタンの下に**画面の3分の1の何も無い暗がり**ができていた。
   表紙は .screen の内側にあり、そちらが既に固定ナビぶんを空けている */
.gh-copy { position: relative; width: 100%; text-align: left;
  padding: 26px 20px calc(26px + env(safe-area-inset-bottom, 0px)); }
.gh-copy h1 {
  /* 日本語は英語より字が大きく見えるので、上限を下げる。
     8.6vw のままだと「そのまま操作にな／る。」と最後の1字だけが落ちた */
  font-size: clamp(26px, 7.4vw, 42px); font-weight: 800; line-height: 1.14;
  letter-spacing: -.022em; margin: 0 0 14px; color: var(--ink);
}
.lede {
  font-size: var(--t-md); line-height: 1.66; color: var(--ink-soft);
  max-width: 34ch; margin: 0;
}
.gh-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.gh-cta .btn { width: 100%; }
.gh-meta {
  font-size: var(--t-xs); letter-spacing: .1em; color: var(--ink-soft);
}
.gh-done { margin: 12px 0 0; font-weight: 700; font-size: var(--t-sm); color: var(--mint); }

/* ---------- 節 ---------- */
/* 表紙のすぐ下に札が来る。見出しは置かない —— 見出し（「3本」）は
   数えれば分かることを言葉で繰り返しているだけで、押すまでの行を1つ増やす */
.sec { margin-top: 22px; }
.sec.works { margin-top: 18px; }
/* 狭い画面では見出しと注記を縦に積む。横に並べると注記が2行に折れて、
   見出しの高さと噛み合わなくなる */
.sec-head {
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
@media (min-width: 480px) {
  .sec-head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 14px; }
}
.sec-head h2 {
  font-size: var(--t-lg); font-weight: 800; letter-spacing: -.01em; margin: 0; color: var(--ink);
}
.sec-note {
  font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- 作品の札 ---------- */
.doors { display: grid; gap: 16px; }
@media (min-width: 720px) { .doors { grid-template-columns: repeat(2, 1fr); } }

.door {
  position: relative; isolation: isolate;
  display: block; width: 100%; text-align: left; padding: 0;
  /* 4本になったので少し詰めた。5/6 のままだと、1画面に1枚しか入らない */
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* 上端の一本。**光っている縁**はこの世界の署名（ゲーム内の seam と同じ語彙）で、
   札を「箱」ではなく「地形の一片」に見せる */
.door::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, 0) 2px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
@media (min-width: 480px) { .door { aspect-ratio: 4 / 3; } }
.door:active { transform: scale(.99); }
@media (hover: hover) {
  .door:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: #4d4a8c; }
  .door:hover .door-play { background: #a9eaff; }
}
.door:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.door-art { position: absolute; inset: 0; z-index: -2; display: block; }
/* 膜を濃くした（2026-08-17）。前は 54% の高さで既に .34 まで抜けていたので、
   明るい空（ASA・MIZU の楽章は上端が白に近い）の上に載った題名が読めなかった。
   **絵は下半分を犠牲にしてよい。** 札の上半分が絵、下半分が文字、と割り切る */
.door-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg,
    rgba(9, 8, 20, .98) 0%, rgba(9, 8, 20, .95) 34%, rgba(9, 8, 20, .72) 52%,
    rgba(9, 8, 20, .28) 70%, rgba(9, 8, 20, 0) 88%);
}
.door-body {
  position: absolute; inset: auto 0 0; display: block; padding: 18px;
}
/* 番号は副題の頭に小さく置く。**薄い巨大な数字を面の奥に沈めるのは既製の常套句**で、
   しかも読める明度まで上げると今度は主役の題名と competing する */
.door-sub {
  display: flex; align-items: baseline; gap: 9px;
  font-size: var(--t-xs); font-weight: 800; letter-spacing: .22em;
  color: var(--coral); text-transform: uppercase;
}
.door-sub i {
  font-style: normal; letter-spacing: .16em; color: var(--sky);
  padding-right: 9px; border-right: 1px solid rgba(127, 220, 255, .34);
}
.door-body h3 {
  font-size: var(--t-xl); font-weight: 800; letter-spacing: -.01em;
  margin: 4px 0 6px; color: var(--ink);
}
.door-desc {
  display: block; font-size: var(--t-sm); line-height: 1.6; color: var(--ink-soft);
  max-width: 38ch;
}
.door-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(243, 239, 253, .14);
}
.door-move {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; color: var(--ink-soft);
}
.door-play {
  display: inline-flex; align-items: center;
  padding: 9px 17px; border-radius: 999px;
  background: var(--sky); color: #0d1018;
  font-size: var(--t-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s ease;
}
.door-best, .door-resume {
  position: absolute; top: 14px; z-index: 2;
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  background: rgba(9, 8, 20, .78); padding: 5px 10px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.door-best { right: 14px; color: #ffdb9a; border: 1px solid rgba(255, 219, 154, .38); }
.door-resume { right: 14px; color: var(--sky); border: 1px solid rgba(127, 220, 255, .42); }
.door-best + .door-resume { right: auto; left: 14px; }

/* 「読みとるのは3つだけ」の節（.how-*）は 2026-08-17 に外した。
   **読ませて教えるより、実物を見せたほうが速い。** いまは表紙の
   「顔の支度」で、自分の顔が読まれている様子と、4本の信号のバーが
   同時に出る。文章3つぶんの説明が、動いている画面1つで終わる */

/* ---------- 末尾 ---------- */
.gate-foot {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line);
  text-align: center;
}
.foot-lead { font-size: var(--t-sm); line-height: 1.7; color: var(--ink-soft); margin: 0; }
.gate-links {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0;
}
.linky {
  background: none; border: 0; padding: 6px 2px; font: inherit; font-size: var(--t-sm);
  color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.linky:hover { color: var(--sky); }
.linky:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.foot-mark {
  margin: 26px 0 0; font-size: var(--t-xs); font-weight: 800; letter-spacing: .3em;
  color: rgba(243, 239, 253, .3);
}

/* 光がゆっくり息をする。動きはこれ以上入れない
   （入口で視線を奪うと、遊ぶ前に疲れる） */
@keyframes aether-breathe { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
.gh-art .aether-art circle, .door-art .aether-art circle { animation: aether-breathe 7s ease-in-out infinite; }

/* ---------- はじめ方を選ぶ紙 ---------- */
/* カメラの有無をここでだけ聞く。トップに置くと、顔で遊ぶ作品なのに
   「顔を使わない」が最初の選択肢として目に入ってしまう */
/* **紙は画面より高くなりうる。**（2026-09-12）
   使う顔の札が増えた作品（くずしは あ・う・い の3枚）では、紙が縦に伸びて
   閉じる✕が画面の外へ出ていた——開いたら最後、閉じられない紙になる。
   紙の中だけをスクロールさせ、✕は画面に貼り付ける */
.sheet {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center;
  background: rgba(8, 7, 18, .72); backdrop-filter: blur(6px);
  padding: 16px;
  overflow: hidden;
}
.sheet.hidden { display: none; }
.sheet-panel {
  position: relative; width: 100%; max-width: 460px;
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow-pop); padding: 26px 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  animation: sheet-rise .26s cubic-bezier(.2, .9, .3, 1) both;
}
@keyframes sheet-rise { from { transform: translateY(16px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet-panel { animation: none; } }
.sheet-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .3em; color: var(--coral);
}
.sheet-title { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.sheet-sub { font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
.sheet-move {
  font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--ink);
  padding: 10px 13px; border-radius: 13px; background: var(--bg-soft); margin-bottom: 4px;
}
.sheet-note { font-size: 11px; color: var(--ink-soft); text-align: center; margin-top: 2px; }
.sheet-alt {
  background: none; border: 0; color: var(--ink-soft);
  font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px;
  padding: 10px; margin: 0 auto; cursor: pointer; min-height: 44px;
}
.sheet-alt:hover, .sheet-alt:focus-visible { color: var(--ink); }
.sheet-close {
  /* **紙の中で貼り付く（sticky）。** 紙が縦に伸びても、閉じる✕は必ず見えている。
     position: fixed は使えない —— 紙は開くときにアニメーションを持っていて、
     変形のある祖先は fixed の基準になるので、✕は紙と一緒に上へ流れて
     画面の外へ出る（実測 top: -434px）。
     order で列の先頭へ送り、負の下マージンで後ろの中身を✕の下へ潜らせる */
  position: sticky; top: 0; z-index: 2;
  order: -1; align-self: flex-end;
  margin: -10px -6px -36px 0;
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(14, 12, 28, .78); border: 1px solid rgba(255,255,255,.18); color: #fff;
  backdrop-filter: blur(6px);
  font-size: 15px; cursor: pointer;
}

/* ---------- 奥の間（合言葉つき） ----------
   表に出していない作品への入口。**目立たせない。**
   目立つ鍵は「入れない場所がある」ことを主張してしまい、
   3本しか無い入口を、鍵のかかった扉が並ぶ入口に変えてしまう */
.vault { margin: 18px 0 0; text-align: center; }
.vault-link {
  background: none; border: 0; padding: 8px 16px; min-height: 44px;
  color: rgba(255, 255, 255, .22); font-size: 13px; letter-spacing: .5em;
  cursor: pointer; text-decoration: none; display: inline-block;
}
.vault-link:hover, .vault-link:focus-visible { color: rgba(255, 255, 255, .55); }
#vault-open { letter-spacing: .08em; color: rgba(255, 255, 255, .45); }
.vault-field { display: block; margin: 18px 0 8px; }
.vault-field input {
  width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 14px;
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 17px;
  letter-spacing: .3em; text-align: center;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px;
}
.vault-field input:focus-visible { outline: 2px solid var(--mint, #7ff0d8); outline-offset: 2px; }
.vault-error { min-height: 1.3em; margin: 0 0 12px; font-size: 13px; color: #ff8fa8; }
.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;
}
.nav-btn.hidden { display: none; }

/* ==========================================================================
   顔の支度（readyCheck.js）
   --------------------------------------------------------------------------
   トップの最初の一手。**遊びではなく支度**なので、ゲームの画面には寄せない。
   黒い紙の上に、いま起きていること（顔が取れている／取れていない）だけを出す。
   ========================================================================== */
/* **grid + place-items: center で組まない。**
   自動サイズの列は中身の max-content まで伸びるので、横スクロールさせる
   映り方の札（.rc-views）が列を 460px 超へ押し広げ、その中で width:100% を
   解いた紙が画面の外（x=549px / 画面幅 390px）へ飛び出していた。
   flex + margin:auto なら、紙が画面より高いときも上が切れずにスクロールする */
.rc {
  position: fixed; inset: 0; z-index: 70; display: flex;
  background: rgba(6, 5, 16, .88); backdrop-filter: blur(10px);
  padding: 14px; overflow-y: auto;
}
.rc-panel {
  position: relative; width: 100%; max-width: 460px; margin: auto;
  background: linear-gradient(180deg, #1a1838, #100e26);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  padding: 22px 18px 18px; color: var(--ink);
  animation: sheet-rise .26s cubic-bezier(.2, .9, .3, 1) both;
}
@media (prefers-reduced-motion: reduce) { .rc-panel { animation: none; } }
.rc-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  border-radius: 999px; background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; cursor: pointer;
}
.rc-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: .34em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 6px;
}
.rc-title { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; }

/* 顔の出るところ。**正方形に固定する。** 映り方を切り替えるたびに
   高さが変わると、下のボタンが動いて押し間違いになる */
.rc-stage {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  /* 縦の上限。正方形のままだと、縦の短い端末で紙が画面2枚ぶんになる */
  max-height: 42svh; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  background: #0c0a1e; border: 1px solid rgba(255, 255, 255, .10);
}
.rc-video, .rc-draw, .rc-avatar {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover;
}
.rc-video { transform: scaleX(-1); }         /* 自撮りの慣習（ミラー） */
.rc-video.mono { filter: grayscale(1) contrast(1.08); }
.rc-stage .hidden { display: none !important; }
/* 顔を探しているあいだだけ、走査線が上下する。取れたら止める ——
   取れているのに動き続けると「まだ探している」に見える */
.rc-scan {
  position: absolute; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: .7; animation: rc-scan 2.4s ease-in-out infinite;
}
.rc-ok .rc-scan { display: none; }
@keyframes rc-scan { 0%, 100% { top: 8%; } 50% { top: 92%; } }
@media (prefers-reduced-motion: reduce) { .rc-scan { animation: none; top: 50%; } }
.rc-state {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; margin: 0;
  padding: 9px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 700;
  background: rgba(8, 7, 20, .82); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .10);
}
.rc-state[data-tone="ok"] { color: #7ff0d8; border-color: rgba(127, 240, 216, .4); }
.rc-state[data-tone="warn"] { color: #ffd08a; border-color: rgba(255, 208, 138, .4); }

/* 映り方の札。横スクロールで並べる（縦に積むと支度の紙が2画面ぶんになる） */
.rc-views {
  display: flex; gap: 8px; margin: 12px 0 4px; padding: 2px 2px 8px;
  overflow-x: auto; scrollbar-width: none;
}
.rc-views::-webkit-scrollbar { display: none; }
.rc-view {
  flex: 0 0 auto; max-width: 168px; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 13px; border-radius: 14px; min-height: 44px;
  background: rgba(255, 255, 255, .05); color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rc-view.on { background: #e8e3ff; color: #14122b; border-color: #e8e3ff; }
.rc-view:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.rc-view-name { font-size: 13px; font-weight: 800; white-space: nowrap; }
.rc-view-sub { font-size: 10.5px; opacity: .78; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }

/* 読み取れている信号。**4本しか出さない。**
   52個の blendshape を全部出すと計測器になってしまい、支度ではなくなる */
.rc-sig { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 6px; }
.rc-sig-row { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; }
.rc-sig-label { font-size: 11.5px; font-weight: 800; color: var(--ink-soft); }
.rc-sig-bar {
  height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden;
}
.rc-sig-bar i { display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--sky), var(--mint)); transition: width .07s linear; }
@media (prefers-reduced-motion: reduce) { .rc-sig-bar i { transition: none; } }

.rc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.rc-go {
  min-height: 52px; border: 0; border-radius: 16px; cursor: pointer;
  font: inherit; font-size: 15.5px; font-weight: 800;
  background: linear-gradient(135deg, #b8375f, #7a2450); color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}
.rc-ok .rc-go { background: linear-gradient(135deg, #2fb98f, #1c7a63); }
.rc-go[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.rc-retry {
  background: none; border: 0; color: var(--ink-soft); font: inherit; font-size: 12.5px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px;
}
.rc-retry.hidden { display: none; }
.rc-note {
  font-size: 11.5px; line-height: 1.7; color: var(--ink-soft);
  text-align: left; margin: 10px 0 0;
  padding: 10px 12px; border-radius: 11px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.rc-note strong { color: var(--ink); }
.rc-policy { color: var(--sky); white-space: nowrap; }

/* ==========================================================================
   はじめ方の紙（作り直し 2026-08-17）
   --------------------------------------------------------------------------
   押す前に要るのは3つ:「どの作品か」「どの顔を使うか」「いま押せる状態か」。
   作品の紹介文はここには要らない（札に書いてある）。
   ========================================================================== */
.start-panel { padding-top: 0; overflow: hidden; }
.start-art {
  position: relative; margin: 0 -22px; height: 116px; overflow: hidden;
}
.start-art .aether-art { width: 100%; height: 100%; display: block; }
.start-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--card) 2%, rgba(23, 21, 51, .55) 60%, rgba(23, 21, 51, 0));
}
.start-head { margin-top: -22px; position: relative; z-index: 1; }
.start-desc { font-size: 13px; line-height: 1.68; color: var(--ink-soft); margin: 2px 0 4px; }
.start-gestures {
  list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 0; padding: 0;
}
.start-gesture {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.start-gesture i {
  font-style: normal; font-weight: 900; font-size: 15px; line-height: 1;
  color: var(--sky); width: 20px; text-align: center;
}
.start-gesture span { font-size: 12px; font-weight: 700; color: var(--ink); }
/* いま押せる状態か。**一行にまとめる。**
   別々の行に散らすと、読む行が増えるだけで判断は速くならない */
.start-status {
  display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 4px 0 2px;
  font-size: 11.5px; font-weight: 700; color: var(--ink-soft);
}
.start-status.ok span:last-child { color: var(--mint); }
.start-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.start-actions .btn { width: 100%; }

/* 稽古台と支度が共有する小さな鏡（faceViews.js の createFaceMirror） */
.mirror { position: relative; overflow: hidden; }
.mirror-video, .mirror-draw { width: 100%; height: 100%; display: block; object-fit: cover; }
.mirror-video { transform: scaleX(-1); }
.mirror-video.mono { filter: grayscale(1) contrast(1.08); }
.mirror .hidden { display: none !important; }


/* ---- 面をえらぶ（面を持つ作品だけ出る） ---- */
/* 「つづきから」の下に置く。**初見に10個の選択肢を先に見せない** ——
   押す理由がある人だけが使う場所なので、静かに並べる */
.start-stages {
  /* **1行に収める。** 2行に折り返すと紙が縦に伸び、閉じる✕が画面の外へ出る
     （実際に出て、稽古台のテストがクリックできなくなった）。
     支度の画面の映り方チップと同じ、横に流す作り */
  display: flex; flex-wrap: nowrap; gap: 6px; align-items: center;
  margin: 10px 0 2px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.start-stages::-webkit-scrollbar { display: none; }
.start-stages-label {
  /* 11px なので 4.5:1 が要る。.5 の白は 4.42 で、わずかに足りていなかった */
  flex: 0 0 auto; font-size: 11px; letter-spacing: .12em;
  color: rgba(255, 255, 255, .62); padding-right: 2px;
}
.start-stage {
  flex: 0 0 auto;
  min-width: 34px; padding: 5px 7px;
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px;
  cursor: pointer;
}
.start-stage:hover, .start-stage:focus-visible {
  background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .34);
}
/* ---- 名前つきの面えらび（2026-09-12） ----
   番号だけを10個並べても、どれが何なのかは押すまで分からない。
   **この作品でいちばん見せたいものが、番号の裏に隠れていた。**
   紙の中だけが縦に伸びる（.sheet-panel が内側でスクロールする）ので、
   縦に並べても閉じる✕は画面に残る */
.start-stages.named {
  /* 紙そのものが内側でスクロールするので、ここは自然な高さのまま置く。
     入れ子でスクロールさせると、10行のうち2行しか見えない窓ができた */
  display: grid; grid-template-columns: 1fr; gap: 4px;
  overflow: visible; flex: 0 0 auto;
  margin: 8px 0 2px;
}
.start-stages.named .start-stages-label { padding: 0 0 2px; }
.start-stage.named {
  display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto;
  gap: 0 8px; align-items: baseline; text-align: left;
  width: 100%; min-width: 0; padding: 8px 10px; border-radius: 10px;
}
.start-stage.named > i {
  grid-row: 1 / 3; align-self: center;
  font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .06em;
  /* 12px は 4.5:1 が要る。.5 の白も、もとの珊瑚色も足りていなかった */
  color: rgba(255, 255, 255, .7); text-align: right;
}
.start-stage .ss-name { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.start-stage .ss-tag {
  font-size: 11px; font-weight: 500; line-height: 1.45; letter-spacing: 0;
  color: rgba(255, 255, 255, .62);
}
/* まだ行っていない面。**押せる。** 印を付けるだけ ——
   1面目を越えられない人が、この作品の見どころに一生たどり着けなくなる */
.start-stage.fresh > i { color: #ffc2d1; }

/* まだ行っていない面。**押せないことを、押してから知らせない** */
.start-stage.locked {
  color: rgba(255, 255, 255, .26); background: transparent;
  border-color: rgba(255, 255, 255, .08); cursor: default;
}
