:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  color: #172b43;
  background: #f1f5f8;
  font-synthesis: none;
  font-size: 16px;
  --blue: #315cdf;
  --muted: #596b7b;
  --line: #d5dfe8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
label,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: var(--blue);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #5376eb;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
#app {
  max-width: 900px;
  margin: 0 auto;
}
.top {
  padding: calc(20px + env(safe-area-inset-top)) 24px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 850;
  font-size: 21px;
  letter-spacing: -1px;
  text-decoration: none;
  color: #172b43;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.brand span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  align-self: flex-end;
  margin-bottom: 5px;
}
.avatar {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background: #dfe9ff;
  color: #243d81;
  font-size: 15px;
  font-weight: 700;
}
main {
  padding: 14px 24px calc(105px + env(safe-area-inset-bottom));
  outline: none;
}
h1 {
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: -0.9px;
  margin: 8px 0 12px;
  font-weight: 780;
}
h2 {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 6px;
}
h3 {
  font-size: 18px;
  line-height: 1.6;
  margin: 12px 0;
}
p {
  line-height: 1.75;
  margin: 10px 0;
}
.date {
  color: #566b7b;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.lead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #dde5e9;
  height: 405px;
}
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(12, 30, 47, 0.88));
}
.hero-caption {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 22px;
  right: 22px;
  color: #fff;
}
.hero-caption > span {
  font-size: 12px;
}
.hero-caption h2 {
  font-size: 23px;
  line-height: 1.5;
  margin: 7px 0 18px;
}
.primary {
  background: var(--blue);
  color: white;
  font-weight: 650;
  border-radius: 12px;
  min-height: 52px;
  padding: 14px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  line-height: 1.5;
}
.hero .primary {
  background: white;
  color: #172b43;
  width: 100%;
  justify-content: space-between;
}
.secondary {
  background: #e7eef6;
  color: #243f59;
  border-radius: 11px;
  min-height: 46px;
  padding: 12px 16px;
  line-height: 1.5;
}
.wide {
  width: 100%;
}
.summary {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.summary div {
  display: grid;
  gap: 6px;
}
.summary b {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.summary span {
  font-size: 11px;
  color: var(--muted);
}
.text-button {
  background: transparent;
  color: var(--blue);
  min-height: 44px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 650;
}
.summary .text-button {
  margin-left: auto;
}
.next {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 25px 0;
}
.next h2 {
  font-size: 14px;
  margin: 0;
}
.next p {
  font-size: 12px;
  margin: 5px 0 0;
  color: var(--muted);
}
.food-mark {
  height: 46px;
  width: 46px;
  border-radius: 16px;
  background: #dbeee7;
  color: #176653;
  display: grid;
  place-items: center;
  font-size: 32px;
  flex-shrink: 0;
}
.circle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6ecf4;
  color: #172b43;
  font-size: 24px;
}
.next .circle {
  margin-left: auto;
}
.subtle,
small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.dock {
  position: fixed;
  z-index: 3;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.dock button {
  background: transparent;
  color: #617587;
  display: grid;
  gap: 3px;
  place-items: center;
  min-height: 55px;
  font-size: 11px;
  font-weight: 600;
}
.dock button span {
  font-size: 24px;
  height: 27px;
  line-height: 1;
}
.dock button[aria-current] {
  color: var(--blue);
}
.dock button[aria-current] span {
  background: #e8eeff;
  border-radius: 20px;
  width: 55px;
}
.title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.title-row h1 {
  margin: 0;
}
.title-row .text-button {
  flex-shrink: 0;
}
.photo-input {
  position: relative;
  background: #dfebe9;
  border: 1px dashed #7ca99d;
  min-height: 178px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.photo-input img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}
.photo-button {
  display: grid;
  place-items: center;
  gap: 9px;
  padding: 22px;
  width: 100%;
  color: #176653;
  cursor: pointer;
}
.photo-button > span {
  font-size: 32px;
  line-height: 1;
}
.photo-button small {
  color: #346c5d;
}
.photo-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.fields {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
}
input:not([type="checkbox"], [type="radio"], [type="file"]),
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #c4d1df;
  border-radius: 10px;
  padding: 13px 12px;
  min-height: 48px;
  color: #172b43;
  background: white;
  font-weight: 400;
  font-size: 16px;
}
input::placeholder {
  color: #71808c;
  font-size: 14px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
details {
  border-block: 1px solid var(--line);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-size: 14px;
  min-height: 28px;
}
details .two {
  margin-top: 18px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label,
.portion label {
  position: relative;
  cursor: pointer;
}
.chips input,
.portion input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.chips span {
  padding: 11px 14px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #c7d5e1;
  font-size: 13px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.chips input:checked + span {
  background: #dfe9ff;
  color: #2244aa;
  border-color: #315cdf;
}
.chips input:focus-visible + span,
.portion input:focus-visible + span {
  outline: 3px solid var(--blue);
}
.portion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.portion span {
  background: white;
  border: 1px solid #c4d1df;
  border-radius: 12px;
  padding: 16px 6px;
  display: grid;
  text-align: center;
  gap: 8px;
}
.portion b {
  font-size: 13px;
}
.portion input:checked + span {
  background: #dfe9ff;
  border-color: var(--blue);
  color: #21449e;
}
.condition {
  padding: 22px 18px;
  background: white;
  border-radius: 16px;
}
.condition h2 {
  font-size: 16px;
  margin-bottom: 15px;
}
.condition .secondary {
  margin-top: 16px;
  width: 100%;
}
.guidance {
  margin: 22px 0;
  font-size: 14px;
  color: #385369;
}
.exercise-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.exercise-number {
  width: 25px;
  align-self: flex-start;
  margin-top: 5px;
  color: #8d9dae;
  font-size: 20px;
  font-weight: 700;
}
.exercise-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.exercise-row h2 {
  font-size: 17px;
  margin-top: 4px;
}
.exercise-row p {
  font-size: 14px;
  margin: 5px 0;
}
.exercise-row small {
  font-size: 11px;
  display: block;
}
.tag {
  color: #37625e;
  font-size: 11px;
  font-weight: 600;
}
.play {
  height: 47px;
  width: 47px;
  background: #315cdf;
  color: white;
  border-radius: 50%;
  font-size: 25px;
  flex-shrink: 0;
}
.rest,
.empty {
  padding: 35px 20px;
  background: white;
  border-radius: 16px;
  margin: 22px 0;
}
.rest b {
  color: #176653;
}
.history-list {
  border-top: 1px solid var(--line);
}
.history-row {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  gap: 14px;
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
  color: #172b43;
}
.history-icon {
  height: 42px;
  width: 42px;
  border-radius: 14px;
  background: #dfe9ff;
  color: #315cdf;
  display: grid;
  place-items: center;
  font-size: 25px;
  flex-shrink: 0;
}
.history-row > span:nth-child(2) {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.history-row b {
  font-size: 15px;
}
.history-row > span:last-child {
  font-size: 24px;
}
.loading,
.login {
  max-width: 450px;
  margin: 0 auto;
  padding: 70px 25px;
}
.login h1 {
  margin-top: 45px;
}
.login .fields {
  margin-top: 35px;
}
dialog {
  border: 0;
  border-radius: 22px 22px 0 0;
  background: #f7f9fc;
  color: #172b43;
  width: min(100%, 640px);
  max-width: 100%;
  max-height: 92dvh;
  margin: auto auto 0;
  padding: 0;
  box-shadow: 0 -12px 70px #172b4330;
}
dialog::backdrop {
  background: #101e3866;
  backdrop-filter: blur(3px);
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f7f9fc;
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid #dbe3eb;
}
.sheet-head h2 {
  font-size: 18px;
  margin: 0;
}
.sheet-body {
  padding: 20px 20px calc(28px + env(safe-area-inset-bottom));
}
.sheet-body > .fields:first-child {
  margin-top: 0;
}
.demo {
  width: 100%;
  display: block;
  max-height: 400px;
  background: #172b43;
  border-radius: 12px;
}
.clip-switch {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.clip-switch [aria-pressed="true"] {
  background: var(--blue);
  color: white;
}
.record-box {
  background: #e8eef5;
  padding: 15px;
  border-radius: 14px;
  margin-top: 20px;
}
.record-box p {
  font-size: 12px;
}
.record-box video {
  width: 100%;
  border-radius: 8px;
}
.record-box .two {
  grid-template-columns: 1fr;
}
.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
}
.checkline input {
  width: 21px;
  height: 21px;
}
.advice {
  padding: 20px;
  background: #e5efeb;
  border-radius: 15px;
  margin: 16px 0 24px;
}
.advice h3 {
  font-size: 17px;
}
.advice p {
  font-size: 14px;
}
.link-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.link-list a {
  display: block;
  background: white;
  border-radius: 8px;
  padding: 14px;
  font-size: 14px;
  text-decoration: none;
}
.library-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 78px;
  padding: 15px 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
  color: #172b43;
  text-align: left;
}
.library-row span:first-child {
  display: grid;
  gap: 5px;
}
.library-row b {
  font-size: 15px;
}
.search {
  margin-bottom: 16px;
}
.saved-photo {
  width: 100%;
  border-radius: 12px;
}
.logout {
  display: block;
  margin-top: 30px;
  font-size: 13px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
#notice {
  position: fixed;
  z-index: 10;
  bottom: calc(92px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  background: #172b43;
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 4px 20px #172b4330;
  pointer-events: none;
  opacity: 0;
}
#notice.visible {
  opacity: 1;
}
@media (min-width: 700px) {
  main {
    padding-inline: 65px;
  }
  .top {
    padding-inline: 65px;
  }
  .hero {
    height: 460px;
  }
  .hero-caption {
    max-width: 320px;
  }
  .hero video {
    object-position: 50% 45%;
  }
  .hero:after {
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 30, 47, 0.85), transparent 75%);
  }
  .hero-caption {
    bottom: 32px;
    left: 30px;
  }
  .hero-caption h2 {
    font-size: 30px;
  }
  .photo-input {
    min-height: 210px;
  }
  dialog {
    margin: auto;
    border-radius: 22px;
    max-height: 90dvh;
  }
}
@media (max-width: 350px) {
  main {
    padding-inline: 16px;
  }
  .top {
    padding-inline: 16px;
  }
  h1 {
    font-size: 28px;
  }
  .portion b {
    font-size: 11px;
  }
  .summary {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.attempt-review { margin: 20px 0; }
.attempt-review > div { margin: 16px 0; }
.attempt-choice { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 14px; line-height: 1.6; }
.attempt-choice input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 0 0; }

.draft-compare { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 24px 0; font-size: 13px; }
.draft-compare th, .draft-compare td { text-align: left; vertical-align: top; padding: 10px 6px; border-bottom: 1px solid var(--line, #d5dfe8); overflow-wrap: anywhere; }

/* ===== Freeletics寄せテーマ（SHUGYO-2 のみ。このブロックを消せば元の見た目に戻る） ===== */
:root {
  color: #f3f5f4;
  background: #141619;
  --blue: #2fe0a0; /* 既存の変数名のままアクセントをミントに差し替え */
  --mint: #2fe0a0;
  --mint-ink: #07180f;
  --surface: #1f2226;
  --surface-2: #2a2e33;
  --muted: #9aa4a0;
  --line: #2c3035;
}
body { background: #141619; }
a { color: var(--mint); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline-color: var(--mint); }

/* 見出しは太く・詰めて・英字は大文字寄りに */
h1 { font-weight: 900; letter-spacing: -1.2px; }
h1::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--mint); margin-top: 14px; }
.title-row h1::after, .login h1::after { margin-top: 10px; }
h2, h3 { font-weight: 800; }
.brand { color: #fff; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }
.brand span { background: var(--mint); }
.avatar { background: var(--surface-2); color: #fff; }
.date { color: var(--mint); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.lead, .subtle, small, .next p, .summary span { color: var(--muted); }

/* ヒーロー：濃い写真カード＋ミントのピルボタン */
.hero { border-radius: 24px; background: #0d0f11; }
.hero:after { background: linear-gradient(transparent, rgba(8, 10, 12, 0.94)); }
.hero-caption > span { color: var(--mint); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-caption h2 { font-weight: 900; }
.primary { background: var(--mint); color: var(--mint-ink); border-radius: 999px; font-weight: 800; }
.hero .primary { background: var(--mint); color: var(--mint-ink); }
.secondary { background: var(--surface-2); color: #f3f5f4; border-radius: 999px; font-weight: 700; }
.text-button { color: var(--mint); }

/* 今日の数字はスコア風のカードに */
.summary { background: var(--surface); border: 0; border-radius: 20px; padding: 22px; margin-top: 18px; }
.summary b { font-size: 30px; font-weight: 900; color: #fff; }
.next { background: var(--surface); border-radius: 20px; padding: 20px; margin: 14px 0 18px; }
.food-mark { background: var(--surface-2); color: var(--mint); border-radius: 50%; }
.circle { background: var(--mint); color: var(--mint-ink); font-weight: 800; }

/* 下のタブバー：黒地・選択中はミント */
.dock { background: rgba(16, 18, 20, 0.97); border-top-color: var(--line); }
.dock button { color: #7f8985; }
.dock button[aria-current] { color: var(--mint); }
.dock button[aria-current] span { background: rgba(47, 224, 160, 0.14); }

/* カード類（体調・休憩・空・記録） */
.condition, .rest, .empty, .record-box, .link-list a { background: var(--surface); border-radius: 20px; }
.advice { background: rgba(47, 224, 160, 0.1); border-radius: 20px; }
.guidance { color: #c2cac7; }
.rest b, .tag { color: var(--mint); }
.tag { text-transform: uppercase; letter-spacing: 0.08em; }

/* 種目一覧 */
.exercise-row, .history-list, .history-row, .library-row, details, hr { border-color: var(--line); }
.exercise-number { color: #4c5450; font-weight: 900; }
.play { background: var(--mint); color: var(--mint-ink); }
.history-row, .library-row { color: #f3f5f4; }
.history-icon { background: var(--surface-2); color: var(--mint); border-radius: 50%; }

/* 入力・選択 */
input:not([type="checkbox"], [type="radio"], [type="file"]), select { background: var(--surface); border-color: #363b41; color: #f3f5f4; border-radius: 14px; }
input::placeholder { color: #707a76; }
.chips span, .portion span { background: var(--surface); border-color: #363b41; color: #dfe4e2; }
.chips span { border-radius: 999px; }
.chips input:checked + span, .portion input:checked + span { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); font-weight: 700; }
.photo-input { background: var(--surface); border-color: #3c4a44; }
.photo-button, .photo-button small { color: var(--mint); }
.clip-switch [aria-pressed="true"] { background: var(--mint); color: var(--mint-ink); }

/* シート・通知 */
dialog { background: #191b1e; color: #f3f5f4; box-shadow: 0 -12px 70px #00000080; }
dialog::backdrop { background: #000000a0; }
.sheet-head { background: #191b1e; border-bottom-color: var(--line); }
.demo { background: #0d0f11; }
#notice { background: var(--mint); color: var(--mint-ink); font-weight: 700; }

/* ===== トレーニング再生画面（カウントダウン → お手本全画面） ===== */
body.player-open { overflow: hidden; }
.player { position: fixed; inset: 0; z-index: 30; background: #15171a; color: #fff; display: flex; flex-direction: column; }
.player-close { position: absolute; z-index: 2; top: calc(14px + env(safe-area-inset-top)); left: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 22px; line-height: 1; }
.player-count { flex: 1; display: grid; place-items: center; position: relative; }
.player-count b { font-size: clamp(110px, 32vw, 180px); font-weight: 800; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.player-count b.pop { animation: player-pop 0.9s ease-out; }
.player-count p { position: absolute; left: 22px; bottom: calc(26px + env(safe-area-inset-bottom)); margin: 0; font-size: 18px; font-weight: 800; }
@keyframes player-pop { from { transform: scale(1.35); opacity: 0; } 25% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
.player-stage { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.player-stage[hidden] { display: none !important; }
.player-video { position: relative; flex: 1; min-height: 0; background: #0d0f11; display: grid; place-items: center; }
.player-video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.player-clips { position: absolute; right: 14px; top: calc(14px + env(safe-area-inset-top)); display: flex; gap: 6px; }
.player-clips button { background: rgba(0, 0, 0, 0.5); color: #fff; border-radius: 999px; padding: 8px 12px; min-height: 36px; font-size: 12px; font-weight: 700; }
.player-clips button[aria-pressed="true"] { background: var(--mint); color: var(--mint-ink); }
.player-panel { background: #1b1e21; border-radius: 22px 22px 0 0; margin-top: -18px; position: relative; padding: 18px 22px calc(14px + env(safe-area-inset-bottom)); }
.player-bar { height: 4px; border-radius: 2px; background: #33383d; width: 64px; overflow: hidden; margin-bottom: 10px; }
.player-bar span { display: block; height: 100%; width: 0; background: var(--mint); transition: width 0.25s linear; }
.player-hint { margin: 0 0 2px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.player-row { display: flex; align-items: center; justify-content: space-between; }
.player-big { font-size: 46px; font-weight: 900; letter-spacing: -1px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.player-big small { font-size: 18px; margin-left: 2px; color: #fff; }
.player-pause { width: 44px; height: 44px; border-radius: 50%; background: #2c3136; color: #fff; font-size: 14px; }
.player-panel h2 { font-size: 19px; margin: 2px 0 0; }
.player-next { font-size: 12px; color: var(--muted); margin: 2px 0 0; line-height: 1.6; }
.player-time { font-size: 12px; color: var(--mint); margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.player-panel .text-button { display: block; margin: 4px auto 0; color: #aab3af; }
@media (min-width: 700px) {
  .player-panel { max-width: 640px; width: 100%; margin-inline: auto; }
  .player-count p { left: 50%; transform: translateX(-50%); }
}

/* ===== 「はじめる」タブ ===== */
.dock { grid-template-columns: repeat(5, 1fr); }
.dock button.dock-start span { width: 46px; height: 46px; margin-top: -18px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 18px rgba(47, 224, 160, 0.35); }
.dock button.dock-start { color: var(--mint); }
.dock button.dock-start[aria-current] span { width: 46px; background: var(--mint); border-radius: 50%; }
.start-check { margin-bottom: 16px; }
.start-check .subtle { margin: -8px 0 12px; }
.start-card { background: var(--surface); border-radius: 22px; padding: 22px; }
.start-meta { display: grid; gap: 2px; }
.start-meta b { font-size: 34px; font-weight: 900; }
.start-list { list-style: none; counter-reset: n; padding: 0; margin: 16px 0 18px; display: grid; gap: 2px; }
.start-list li { counter-increment: n; display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.start-list li::before { content: counter(n); color: #4c5450; font-weight: 900; width: 18px; }
.start-list li span { flex: 1; min-width: 0; }
.start-list li small { color: var(--mint); font-weight: 800; font-size: 13px; }
.start-go { min-height: 60px; font-size: 17px; justify-content: center; gap: 10px; }
.start-card > .subtle { text-align: center; margin: 10px 0 0; }
.empty b { display: block; font-size: 17px; margin-bottom: 4px; }
.start-check { padding: 16px 16px 6px; }
.start-check h2 { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.start-check h2 small { font-size: 11px; font-weight: 600; }
.start-check .chips { gap: 6px; }
.start-check .chips span { padding: 7px 11px; min-height: 36px; font-size: 12px; }
.start-check .text-button { min-height: 40px; }
.start-card { padding: 18px 20px; }
.start-meta b { font-size: 28px; }
.start-list { margin: 10px 0 14px; }
.start-list li { padding: 10px 0; }
.start-go { margin-top: 14px; }
.start-card > .subtle { margin: 8px 0 4px; }
.start-empty-title { font-size: 22px; margin: 6px 0 2px; }
.start-sub { margin-top: 10px; font-size: 14px; }
.start-other { display: block; margin: 0 auto; }

/* ===== サーキット ===== */
.start-note { margin: 12px 0 0; }
.circuit-opts { margin: 16px 0; }
.circuit-list { list-style: none; padding: 0; margin: 12px 0 6px; display: grid; gap: 6px; }
.circuit-list li { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 14px; padding: 8px 8px 8px 12px; }
.circuit-list li b { flex: 1; min-width: 0; font-size: 14px; }
.circuit-no { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); font-size: 12px; font-weight: 900; display: grid; place-items: center; flex-shrink: 0; }
.circuit-list button { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: #fff; font-size: 14px; flex-shrink: 0; }
.circuit-list button:disabled { opacity: 0.3; cursor: default; }
.empty-hint { background: var(--surface); border-radius: 14px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.circuit-plus { width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-weight: 900; flex-shrink: 0; }
.circuit-progress { display: flex; gap: 4px; margin-bottom: 10px; }
.circuit-progress i { flex: 1; height: 4px; border-radius: 2px; background: #33383d; }
.circuit-progress i.done { background: var(--mint); }
.circuit-progress i.now { background: linear-gradient(90deg, var(--mint), #33383d); }
.circuit-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.circuit-safety { margin: 8px 0 0; text-align: center; }
.circuit-rest-badge { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: rgba(13, 15, 17, 0.72); }
.circuit-rest-badge span { color: var(--mint); font-weight: 900; letter-spacing: 0.2em; }
.circuit-rest-badge b { font-size: 96px; font-weight: 900; line-height: 1.1; }
.circuit-rest-badge small { color: #c2cac7; }
.circuit-side { position: absolute; left: 50%; top: calc(16px + env(safe-area-inset-top)); transform: translateX(-50%); background: var(--mint); color: var(--mint-ink); font-weight: 900; border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.circuit.is-rest .player-big { color: var(--mint); }
.circuit-finish { flex: 1; overflow-y: auto; padding: calc(70px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom)); max-width: 560px; width: 100%; margin: 0 auto; }
.circuit-total { display: flex; gap: 32px; background: var(--surface); border-radius: 20px; padding: 18px 22px; margin: 6px 0 4px; }
.circuit-total div { display: grid; gap: 2px; }
.circuit-total b { font-size: 32px; font-weight: 900; font-variant-numeric: tabular-nums; }
.circuit-total span { font-size: 12px; color: var(--muted); }
.circuit-finish .text-button { display: block; margin: 8px auto 0; }

/* ===== ヒアリング ===== */
.hearing-cta { background: linear-gradient(135deg, rgba(47, 224, 160, 0.18), rgba(47, 224, 160, 0.04)); border: 1px solid rgba(47, 224, 160, 0.35); border-radius: 22px; padding: 20px; margin-bottom: 16px; }
.hearing-cta h2 { font-size: 20px; margin: 6px 0 4px; }
.hearing-cta p { font-size: 13px; color: #c2cac7; margin: 0 0 14px; line-height: 1.6; }
.hearing fieldset { background: var(--surface); border-radius: 18px; padding: 16px; }
.hearing legend { float: left; width: 100%; margin-bottom: 10px; }
.hearing .chips { clear: both; }
.hearing .chips span { min-height: 40px; padding: 8px 13px; }
.hearing small { display: block; margin-top: 8px; }
.circuit-list.result li { align-items: flex-start; padding: 12px; }
.circuit-list.result li > span:last-child { display: grid; gap: 3px; }
.circuit-list.result small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.circuit-total { gap: 22px; }

/* ===== はじめるタブ（興味を引く版） ===== */
.start-h1 { font-size: 30px; margin-bottom: 18px; }
.start-h1::after { display: none; }
.week { background: var(--surface); border-radius: 20px; padding: 14px 16px; margin-bottom: 16px; }
.week-dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 11px; color: var(--muted); }
.week-dots span { display: grid; justify-items: center; gap: 4px; }
.week-dots i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #343a40; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 13px; }
.week-dots .done i { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.week-dots .today { color: #fff; font-weight: 800; }
.week-dots .today i { border-color: var(--mint); }
.week p { margin: 10px 0 0; font-size: 13px; color: #c2cac7; text-align: center; line-height: 1.5; }
.week p b { color: var(--mint); }
.start-hero { position: relative; overflow: hidden; border-radius: 26px; height: 420px; background: #0d0f11; }
.start-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.start-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 12, 0.15) 20%, rgba(8, 10, 12, 0.92) 85%); }
.start-hero-body { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; color: #fff; }
.start-hero-tag { display: inline-block; background: var(--mint); color: var(--mint-ink); font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.05em; }
.start-hero h2 { font-size: 27px; font-weight: 900; line-height: 1.3; margin: 10px 0 8px; max-width: 70%; }
.start-hero-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.start-hero-stats span { background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 700; }
.start-play { position: absolute; right: 0; bottom: 22px; width: 74px; height: 74px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); font-size: 26px; box-shadow: 0 0 0 0 rgba(47, 224, 160, 0.6); animation: start-pulse 2s infinite; }
.start-play span { margin-left: 4px; }
@keyframes start-pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 224, 160, 0.55); } 70% { box-shadow: 0 0 0 18px rgba(47, 224, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 224, 160, 0); } }
.start-hero-hint { margin: 12px 0 0; font-size: 11px; color: #c2cac7; }
.rail-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 8px; }
.rail-head h2 { font-size: 17px; margin: 0; }
.start-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px 6px; scrollbar-width: none; }
.start-rail::-webkit-scrollbar { display: none; }
.rail-card { position: relative; flex: 0 0 142px; scroll-snap-align: start; background: var(--surface); border-radius: 18px; overflow: hidden; color: #fff; text-align: left; padding: 0; }
.rail-card video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #0d0f11; }
.rail-card div { padding: 9px 11px 11px; display: grid; gap: 2px; }
.rail-card b { font-size: 13px; line-height: 1.4; }
.rail-card small { color: var(--mint); font-weight: 800; font-size: 12px; }
.rail-no { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.rail-add { display: grid; place-content: center; justify-items: center; gap: 6px; border: 2px dashed #3a4046; background: transparent; min-height: 190px; }
.rail-add span { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 20px; color: var(--mint); }
.diagnose { position: relative; display: grid; gap: 6px; width: 100%; text-align: left; margin-top: 18px; padding: 20px 70px 20px 20px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(47, 224, 160, 0.45), transparent 55%), linear-gradient(135deg, #1f2f29, #1b1e21); border: 1px solid rgba(47, 224, 160, 0.35); }
.diagnose-badge { justify-self: start; font-size: 11px; font-weight: 900; color: var(--mint); border: 1px solid var(--mint); border-radius: 999px; padding: 3px 10px; }
.diagnose b { font-size: 18px; line-height: 1.45; font-weight: 900; }
.diagnose small { color: #c2cac7; font-size: 12px; }
.diagnose-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.redo-link { display: block; margin: 14px auto 0; background: transparent; color: var(--mint); font-size: 13px; font-weight: 700; min-height: 44px; }
.cond { margin-top: 18px; background: var(--surface); border: 0; border-radius: 18px; padding: 0; }
.cond summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; list-style: none; min-height: 52px; }
.cond summary::-webkit-details-marker { display: none; }
.cond summary span { font-size: 13px; color: var(--muted); }
.cond summary b { flex: 1; font-size: 14px; }
.cond summary small { color: var(--mint); font-weight: 700; }
.cond .start-check { padding: 0 16px 16px; margin: 0; background: transparent; }
@media (min-width: 700px) { .start-hero { height: 460px; } .start-rail { margin: 0; padding: 0 0 6px; } }
@media (prefers-reduced-motion: reduce) { .start-play { animation: none; } }

/* ===== ヒアリング（ステップ式） ===== */
.hearing-progress { padding: 0 0 6px; }
.hearing-progress div { height: 6px; border-radius: 3px; background: #2c3035; overflow: hidden; }
.hearing-progress span { display: block; height: 100%; background: var(--mint); border-radius: 3px; transition: width 0.3s ease; }
.hearing-progress p { margin: 8px 0 0; font-size: 12px; font-weight: 800; color: var(--mint); }
.hearing-step { display: grid; gap: 14px; }
.hearing-step[hidden] { display: none !important; }
.hearing-step h3 { font-size: 22px; margin: 4px 0 0; }
.hearing fieldset.need { outline: 2px solid #ff8a7a; }
.hearing-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: -28px; background: #191b1e; padding: 10px 0 6px; }
.hearing-nav [hidden] { display: none !important; }
.hearing-nav .primary { grid-column: 2; }

/* ===== ヒアリング最終ステップ：分数ダイヤル ===== */
.hdial { position: relative; width: 200px; aspect-ratio: 1; margin: 6px auto 0; max-width: 100%; }
.hdial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hdial-arc { transition: stroke-dashoffset 0.2s ease; }
.hdial-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hdial-val b { font-size: 64px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.hdial-val span { font-size: 13px; color: var(--muted); }
.hdial-ctl { display: grid; grid-template-columns: 48px 1fr 48px; gap: 10px; align-items: center; }
.hdial-ctl button { height: 48px; border-radius: 50%; background: var(--surface-2); color: #fff; font-size: 22px; font-weight: 800; }
.hdial-ctl input[type="range"] { accent-color: var(--mint); padding: 0; border: 0; background: transparent; min-height: 0; }
.hdial-preview { background: var(--mint-soft, rgba(47, 224, 160, 0.12)); border: 1px solid rgba(47, 224, 160, 0.35); border-radius: 18px; padding: 14px 16px; display: grid; gap: 2px; text-align: center; }
.hdial-preview span { font-size: 12px; color: var(--mint); font-weight: 800; }
.hdial-preview b { font-size: 20px; }
.hdial-preview small { color: var(--muted); font-size: 12px; }

/* ===== レベル下降（v0.2）・方式の切り替え ===== */
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface); border-radius: 18px; padding: 5px; margin-bottom: 12px; }
.mode-tabs button { border-radius: 14px; padding: 9px 8px; display: grid; gap: 1px; color: var(--muted); font-weight: 800; font-size: 14px; background: transparent; }
.mode-tabs button small { font-size: 11px; font-weight: 500; }
.mode-tabs [aria-selected="true"] { background: var(--mint); color: var(--mint-ink); }
.rail-card.dim { opacity: 0.45; }
.ladder-step { display: grid; gap: 8px; margin: 14px 0; }
.ladder-chip { border: 1px solid #3a4046; border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 13px; color: #fff; background: transparent; }
.ladder-chip[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.ladder-list { display: grid; gap: 6px; }
.ladder-lv { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); color: #fff; text-align: left; }
.ladder-lv b { width: 44px; font-size: 18px; font-weight: 900; }
.ladder-lv span { flex: 1; font-weight: 700; font-size: 14px; }
.ladder-lv[aria-pressed="true"] { outline: 2px solid var(--mint); background: rgba(47, 224, 160, 0.12); }
.circuit-actions.stack { grid-template-columns: 1fr; }
.circuit-actions .primary { grid-column: 1 / -1; }
.run-lv { position: absolute; left: 14px; top: calc(14px + env(safe-area-inset-top)); margin-left: 52px; background: var(--mint); color: var(--mint-ink); font-weight: 900; border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.run-frames { max-height: 180px; overflow-y: auto; }

/* 通知は下のタブバーと開始ボタンに重ならない高さに出す */
#notice { bottom: auto; top: calc(14px + env(safe-area-inset-top)); }

/* ===== 今日の調子（v0.2の開始前確認） ===== */
.today { display: grid; gap: 12px; }
.today-row, .today-more { display: grid; gap: 6px; }
.today-q { font-size: 12px; font-weight: 800; color: var(--muted); }
.today-more { border-left: 2px solid var(--mint); padding-left: 10px; }
.today-more[hidden] { display: none !important; }
.today .chips span { padding: 7px 12px; min-height: 36px; font-size: 13px; }

/* ===== 今日のコンディション（メーターとタイル） ===== */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.cond { margin: 0 0 16px; }
.cond summary { gap: 14px; padding: 14px 16px; }
.power-ring { --c: var(--mint); width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #2c3136 0); transition: --p 1.1s cubic-bezier(.2,.8,.2,1); position: relative; }
.power-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); }
.power-ring b { position: relative; z-index: 1; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; color: #fff; }
.power-text { display: grid; gap: 1px; flex: 1; min-width: 0; }
.power-text small { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; }
.cond .power-text b { font-size: 19px; font-weight: 900; color: #fff; flex: none; }
.power-text em { font-style: normal; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.power-edit { color: var(--mint); font-weight: 700; }
.power-fire .power-ring { --c: #ffb347; box-shadow: 0 0 24px rgba(255, 179, 71, 0.35); }
.power-fire .power-text b { color: #ffcf8a; }
.power-ok .power-ring { --c: #9be7c4; }
.power-low .power-ring { --c: #8fb7ff; }
.power-rest .power-ring { --c: #6b7680; }
.cond.just .power-ring { animation: ring-in 1.1s cubic-bezier(.2,.8,.2,1); }
@keyframes ring-in { from { --p: 0; transform: scale(.85); } 60% { transform: scale(1.08); } to { transform: scale(1); } }
.power-msg { margin: 0 16px 12px; padding: 10px 12px; border-radius: 12px; background: rgba(47, 224, 160, 0.12); color: #c9f5e2; font-size: 13px; font-weight: 700; animation: msg-in .5s ease-out; }
.power-fire .power-msg { background: rgba(255, 179, 71, 0.14); color: #ffd9a3; }
.power-rest .power-msg { background: var(--surface-2); color: var(--muted); }
@keyframes msg-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile span { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border-radius: 16px; background: var(--surface-2); border: 1px solid #363b41; font-size: 12.5px; font-weight: 800; color: #dfe4e2; transition: transform .15s ease, background .15s ease; }
.tile i { font-style: normal; font-size: 22px; line-height: 1; letter-spacing: -2px; color: var(--muted); }
.tile input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(47, 224, 160, 0.25); }
.tile input:checked + span i { color: var(--mint-ink); }
.tile input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.today-go { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .power-ring { transition: none; } .cond.just .power-ring, .power-msg { animation: none; } }
.today-q small { font-weight: 500; font-size: 11px; margin-left: 4px; }
.tile input[type="checkbox"] + span i { font-size: 20px; }

/* ===== エンドレス ===== */
.mode-tabs { grid-template-columns: repeat(3, 1fr); }
.mode-tabs button { font-size: 13px; padding: 9px 4px; }
.mode-tabs button small { font-size: 10px; line-height: 1.3; }
.ai-pick { gap: 8px; }
.endless-min { text-align: center; font-size: 14px; color: var(--muted); }
.endless-min b { font-size: 44px; font-weight: 900; color: #fff; margin-right: 4px; font-variant-numeric: tabular-nums; }
.endless-fams { display: grid; gap: 8px; }
.endless-fam { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; background: var(--surface); border-radius: 16px; padding: 10px 12px; }
.endless-fam.off { opacity: 0.5; }
.endless-fam small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.endless-lv { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.endless-lv button { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: #fff; font-size: 18px; font-weight: 800; }
.endless-lv b { min-width: 48px; text-align: center; font-size: 18px; font-weight: 900; color: var(--mint); }
.chart-lv { margin: 14px 0; }
.chart-lv h3 { margin: 0 0 6px; font-size: 16px; color: var(--mint); }
.chart-row { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--surface); margin-bottom: 4px; font-size: 14px; }
.chart-row b { flex: 1; min-width: 0; }
.chart-fam { font-size: 11px; color: var(--muted); width: 40px; flex-shrink: 0; }
.chart-row small { color: var(--muted); font-size: 11px; }
.chart-row.na { opacity: 0.45; }
.chart-row.mine { outline: 2px solid var(--mint); background: rgba(47, 224, 160, 0.1); }
.mine-mark { background: var(--mint); color: var(--mint-ink); border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 900; }
.circuit-progress .session { flex: 1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--mint) var(--w, 0%), #33383d var(--w, 0%)); }

/* ===== レベル下降：結果・エクストラステージ・診断の開始Lv ===== */
.hearing-start { display: block; margin-top: 6px; color: var(--mint); font-weight: 700; font-size: 13px; }
.hearing-start b { color: #fff; }
.run-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0; }
.run-result div { background: var(--surface-2); border-radius: 14px; padding: 10px 6px; display: grid; justify-items: center; gap: 2px; text-align: center; }
.run-result b { font-size: 26px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.run-result span { font-size: 10.5px; color: var(--muted); line-height: 1.3; }
.run-result .exp { background: linear-gradient(135deg, rgba(255, 179, 71, 0.25), rgba(47, 224, 160, 0.15)); }
.run-result .exp b { color: #ffcf8a; }
.run-result-sub { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; line-height: 1.5; }
.circuit-finish .run-result { margin: 12px 0 4px; }
.player.extra-stage .player-panel { box-shadow: 0 -2px 0 #ffb347 inset, 0 -8px 30px rgba(255, 179, 71, 0.2); }
.player.extra-stage .player-hint { color: #ffcf8a; font-weight: 900; letter-spacing: 0.04em; }
.player.extra-stage .run-lv { background: #ffb347; }
.player.extra-stage .run-lv::before { content: "EXTRA "; }
.sub-note { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
