@charset "UTF-8";
.app-6eaa842 {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(18px, 4vw, 56px) clamp(14px, 4vw, 48px);
  overflow: clip;
  color: var(--ink);
  isolation: isolate;
  /* 蓮ノ空の淡い色面に、せーはす番組サムネの斜め帯を薄く重ねる */
  background: radial-gradient(circle at 12% 12%, rgba(223, 111, 155, 0.12) 0 3%, transparent 3.2%), radial-gradient(circle at 84% 10%, rgba(214, 173, 85, 0.16) 0 4%, transparent 4.2%), radial-gradient(circle at 18% 82%, rgba(86, 184, 215, 0.16) 0 5%, transparent 5.2%), repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.24) 0 14px, transparent 14px 34px), linear-gradient(135deg, var(--stage-sky) 0%, #f7fbff 42%, var(--stage-pink) 100%);
}

/* 番組フレームは薄く残し、蓮ノ空らしい余白を優先する */
.app-6eaa842::before {
  content: "";
  position: absolute;
  inset: clamp(8px, 2vw, 18px);
  border: clamp(3px, 0.6vw, 6px) solid rgba(255, 255, 255, 0.74);
  border-radius: clamp(24px, 4vw, 44px);
  box-shadow: inset 0 0 0 3px rgba(86, 184, 215, 0.12), inset 0 0 0 8px rgba(223, 111, 155, 0.08);
  pointer-events: none;
  z-index: -1;
}

.app-6eaa842::after {
  content: "★  ♪  ◆  ★  ♪"/"";
  position: absolute;
  inset-inline: 0;
  top: 18px;
  color: rgba(214, 173, 85, 0.22);
  font-family: var(--font-jp-display);
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  letter-spacing: clamp(1rem, 7vw, 6rem);
  text-align: center;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: -1;
}

.panel-7914330 {
  width: min(1040px, 100%);
  padding: clamp(22px, 4vw, 36px);
  border: 3px solid #fff;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 100% 0, rgba(255, 230, 64, 0.22), transparent 28%), linear-gradient(var(--paper-veil), var(--paper-veil)) padding-box, linear-gradient(135deg, var(--hasu), var(--cerise), var(--telop-yellow)) border-box;
  box-shadow: var(--shadow-float);
}

.header-7914330 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.header-7914330 h1 {
  margin: 0;
  color: var(--hasu-deep);
  font-family: var(--font-jp-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 900;
  -webkit-text-stroke: 1px #fff;
  text-shadow: 0 3px 0 color-mix(in oklab, var(--telop-yellow) 64%, #fff), 2px 5px 0 rgba(27, 44, 95, 0.68);
}

.eyebrow-7914330 {
  margin: 0 0 6px;
  color: var(--hasu-deep);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.score-7914330,
.progress_card-7914330 {
  border: 2px solid rgba(17, 33, 90, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-chip);
}

.score-7914330 {
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 900;
}

.progress_card-7914330 {
  margin-top: 18px;
  padding: 14px 16px 16px;
  color: var(--hasu-deep);
  font-weight: 900;
}

.progress-7914330 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.progress-7914330 span {
  font-family: var(--font-jp-display);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
}
.progress-7914330 strong {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.progress_meter-7914330 {
  overflow: clip;
  block-size: 10px;
  margin-top: 10px;
  border-radius: var(--r-pill);
  background: rgba(27, 44, 95, 0.1);
}
.progress_meter-7914330 span {
  display: block;
  block-size: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hasu-deep), var(--hasu), var(--cerise));
  box-shadow: 0 0 14px rgba(86, 184, 215, 0.34);
  transition: inline-size 0.28s ease;
}

/* 再生ボタンは選択肢が多くてもスクロールで隠れないよう、画面上部に貼り付ける */
.player_area-7914330 {
  position: sticky;
  top: 8px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 2px solid #fff;
  border-radius: var(--r-md);
  background: repeating-linear-gradient(90deg, rgba(86, 184, 215, 0.08) 0 16px, rgba(223, 111, 155, 0.06) 16px 32px), rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.player_controls-7914330 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.player_meta-7914330 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 0.9rem;
}
.player_meta-7914330 span {
  padding: 7px 11px;
  border: 1px solid rgba(17, 33, 90, 0.12);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.74);
}

.player_notice-7914330,
.player_notice_hidden-7914330 {
  grid-column: 1/-1;
  margin: 0;
  padding: 10px 12px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  color: #7c4a13;
  background: rgba(255, 230, 64, 0.3);
  font-weight: 800;
}

.player_notice_hidden-7914330 {
  display: none;
}

.choices-7914330,
.autocomplete-7914330 {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.choices-7914330 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.choices_hidden-7914330,
.autocomplete_hidden-7914330 {
  display: none;
}

.choice-7914330,
.choice_selected-7914330,
.primary_button-7914330,
.secondary_button-7914330 {
  cursor: pointer;
  border-radius: 16px;
  font-weight: 900;
  transition: translate 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.choice-7914330,
.choice_selected-7914330 {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border: 2px solid rgba(17, 33, 90, 0.18);
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 4px 0 rgba(17, 33, 90, 0.12);
}

.choice_index-7914330 {
  display: grid;
  place-items: center;
  min-inline-size: 34px;
  block-size: 34px;
  border-radius: 50%;
  color: var(--hasu-deep);
  background: color-mix(in oklab, var(--stage-sky) 64%, #fff);
  font-family: var(--font-jp-display);
  font-size: 0.78rem;
  font-weight: 900;
}

.choice-7914330:hover:not(:disabled) {
  background: var(--stage-cream);
  translate: 0 -1px;
}

.choice_selected-7914330 {
  color: #ffffff;
  border-color: var(--ink);
  background: linear-gradient(135deg, var(--hasu-deep), var(--hasu) 52%, var(--cerise));
  box-shadow: 0 4px 0 color-mix(in oklab, var(--gold) 68%, #fff), 0 10px 18px rgba(27, 44, 95, 0.14);
  text-shadow: 1px 1px 0 rgba(27, 44, 95, 0.7);
}
.choice_selected-7914330 .choice_index-7914330 {
  color: var(--ink);
  background: var(--telop-yellow);
  text-shadow: none;
}

.chips-7914330 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-7914330,
.suggestion-7914330 {
  cursor: pointer;
  font-weight: 900;
}

.chip-7914330 {
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--hasu-deep), var(--hasu), var(--cerise));
  box-shadow: var(--shadow-chip);
}

.search_input-7914330 {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 2px solid rgba(17, 33, 90, 0.18);
  border-radius: 16px;
  font: inherit;
  background: #fff;
}

.suggestions-7914330 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.suggestion-7914330 {
  padding: 12px 14px;
  border: 2px solid rgba(17, 33, 90, 0.14);
  border-radius: 14px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 3px 0 rgba(17, 33, 90, 0.12);
}

.actions-7914330 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary_button-7914330,
.secondary_button-7914330 {
  padding: 12px 18px;
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 rgba(17, 33, 90, 0.18);
}

.primary_button-7914330:hover:not(:disabled),
.secondary_button-7914330:hover:not(:disabled) {
  translate: 0 -1px;
}

.primary_button-7914330 {
  color: #ffffff;
  background: linear-gradient(135deg, var(--hasu-deep), var(--hasu) 50%, var(--cerise));
  text-shadow: 1px 1px 0 rgba(27, 44, 95, 0.7);
}
.primary_button-7914330:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.secondary_button-7914330 {
  color: var(--ink);
  background: var(--stage-cream);
}

.feedback_correct-7914330,
.feedback_wrong-7914330,
.feedback_exceeded-7914330,
.feedback_hidden-7914330 {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 26px);
  border: 2px solid rgba(17, 33, 90, 0.12);
  border-radius: var(--r-md);
  font-weight: 800;
  box-shadow: var(--shadow-card);
}
.feedback_correct-7914330 p,
.feedback_wrong-7914330 p,
.feedback_exceeded-7914330 p,
.feedback_hidden-7914330 p {
  margin: 10px 0 18px;
  color: var(--ink);
  line-height: 1.7;
}

.feedback_hidden-7914330 {
  display: none;
}

.feedback_correct-7914330 {
  background: radial-gradient(circle at 100% 0, rgba(86, 184, 215, 0.18), transparent 30%), color-mix(in oklab, var(--stage-mint) 62%, #fff);
}

.feedback_wrong-7914330 {
  background: radial-gradient(circle at 100% 0, rgba(223, 111, 155, 0.18), transparent 30%), color-mix(in oklab, var(--stage-pink) 70%, #fff);
}

.feedback_exceeded-7914330 {
  background: radial-gradient(circle at 100% 0, rgba(255, 200, 40, 0.24), transparent 30%), color-mix(in oklab, var(--telop-yellow) 48%, #fff);
}

.feedback_exceeded-7914330 .feedback_heading-7914330 span {
  background: var(--gold);
  color: var(--ink);
}

.feedback_heading-7914330 {
  display: grid;
  gap: 4px;
}
.feedback_heading-7914330 span {
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  color: #fff;
  background: var(--hasu-deep);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.feedback_heading-7914330 strong {
  color: var(--hasu-deep);
  font-family: var(--font-jp-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
}

@media (max-width: 680px) {
  .header-7914330,
  .player_area-7914330 {
    grid-template-columns: 1fr;
  }
  .header-7914330 {
    display: grid;
  }
  .player_meta-7914330 {
    justify-content: flex-start;
  }
}
.panel-f77747b {
  width: min(880px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 3px solid #fff;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 100% 0, rgba(255, 230, 64, 0.22), transparent 30%), var(--paper-veil);
  box-shadow: var(--shadow-float);
}
.panel-f77747b h1 {
  margin: 0;
  color: var(--hasu-deep);
  font-family: var(--font-jp-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 900;
  -webkit-text-stroke: 1px #fff;
  text-shadow: 0 3px 0 color-mix(in oklab, var(--telop-yellow) 64%, #fff), 2px 5px 0 rgba(27, 44, 95, 0.68);
}

.score_card-f77747b {
  position: relative;
  overflow: clip;
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: clamp(22px, 5vw, 34px);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--r-lg);
  color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(242, 217, 131, 0.42), transparent 26%), linear-gradient(135deg, var(--hasu-deep), var(--hasu) 50%, var(--cerise));
  box-shadow: 0 16px 34px rgba(27, 44, 95, 0.18);
  text-shadow: 1px 1px 0 rgba(27, 44, 95, 0.55);
}
.score_card-f77747b span {
  width: fit-content;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  color: var(--ink);
  background: var(--telop-yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: none;
}
.score_card-f77747b strong {
  font-family: var(--font-jp-display);
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 900;
  line-height: 1;
}
.score_card-f77747b p {
  margin: 0;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 900;
}

.eyebrow-f77747b {
  margin: 0 0 8px;
  color: var(--hasu-deep);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.history-f77747b {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.history_header-f77747b,
.history_row-f77747b {
  display: grid;
  grid-template-columns: 120px 80px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
}

.history_header-f77747b {
  color: #fff;
  font-weight: 900;
  background: var(--hasu-deep);
}

.history_row-f77747b {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 2px rgba(17, 33, 90, 0.1), 0 3px 0 rgba(17, 33, 90, 0.08);
  font-weight: 700;
}

.badge_correct-f77747b,
.badge_wrong-f77747b {
  width: fit-content;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.badge_correct-f77747b {
  background: var(--hasu-deep);
}

.badge_wrong-f77747b {
  background: var(--telop-red);
}

.restart_button-f77747b {
  width: 100%;
  margin-top: 28px;
  padding: 16px 20px;
  cursor: pointer;
  border: 3px solid var(--ink);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--hasu-deep), var(--hasu) 48%, var(--cerise));
  box-shadow: 0 5px 0 color-mix(in oklab, var(--gold) 74%, #fff), 0 15px 26px rgba(27, 44, 95, 0.16);
  font-size: 1.05rem;
  font-weight: 900;
  text-shadow: 1px 1px 0 rgba(27, 44, 95, 0.7);
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}

.restart_button-f77747b:hover {
  translate: 0 -2px;
  box-shadow: 0 6px 0 color-mix(in oklab, var(--gold) 74%, #fff), 0 18px 30px rgba(27, 44, 95, 0.18);
}

@media (max-width: 640px) {
  .history_header-f77747b {
    display: none;
  }
  .history_row-f77747b {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
/*
 * Hasu Music Quiz — Design System tokens
 * コンセプト: 「蓮ノ空の上品さを持った、せーはす風番組企画」
 *   伝統感のある空色・桜色・白・紺・淡い金を基調に、番組サムネらしい太字見出しや装飾を控えめに重ねる。
 *   公式ロゴ/アセットは模倣せず、蓮ノ空らしい清楚さと せーはす の楽しい企画感を UI に翻訳する。
 * stylance は class セレクタのみをハッシュ化し、:root / 要素セレクタはグローバルに残す。
 */
:root {
  color-scheme: light;
  /* --- テロップ用インク --- */
  --ink: #1b2c5f;
  --ink-soft: #53608c;
  --ink-faint: #9aa2bf;
  /* --- 面 (surfaces) --- */
  --paper: #fffdf8;
  --paper-veil: rgba(255, 255, 255, 0.86);
  --paper-line: rgba(17, 33, 90, 0.14);
  /* --- 番組サムネイルの背景色 --- */
  --stage-sky: #d2f1fb;
  --stage-pink: #f8dce9;
  --stage-mint: #ddf4ec;
  --stage-cream: #fff6cf;
  /* --- ブランドアクセント --- */
  --hasu: #56b8d7;
  --hasu-deep: #2d679b;
  --cerise: #df6f9b;
  --telop-red: #c94c52;
  --telop-yellow: #f2d983;
  --gold: #d6ad55;
  /* --- ユニットイメージカラー --- */
  --unit-hasu: #e7a8bd;
  --unit-cerise: #e35f93; /* スリーズブーケ */
  --unit-doll: #3346a3; /* DOLLCHESTRA */
  --unit-mira: #ffb21b; /* みらくらぱーく！ */
  --unit-edel: #8a78c4; /* Edel Note */
  --unit-solo: #8b93b4;
  --unit-other: #a7adc4;
  /* --- 蓮ノ空メンバーカラー --- */
  --member-kaho: #f8b500;
  --member-sayaka: #5383c3;
  --member-kozue: #68be8d;
  --member-tsuzuri: #ba2636;
  --member-rurino: #e7609e;
  --member-megumi: #c8c2c6;
  --member-ginko: #a2d7dd;
  --member-kosuzu: #fad764;
  --member-hime: #9d8de2;
  --member-seras: #f56455;
  --member-izumi: #1ebecd;
  /* --- 角丸 --- */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 30px;
  --r-pill: 999px;
  /* --- 影 --- */
  --shadow-float: 0 18px 48px rgba(27, 44, 95, 0.14), 0 2px 0 rgba(255, 255, 255, 0.72) inset;
  --shadow-card: 0 10px 24px rgba(27, 44, 95, 0.08), 0 3px 0 rgba(45, 103, 155, 0.08);
  --shadow-chip: 0 3px 0 rgba(27, 44, 95, 0.1);
  /* --- 書体 --- */
  --font-jp-display: "M PLUS Rounded 1c", "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-en-display: "M PLUS Rounded 1c", "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-body: "Zen Kaku Gothic New", system-ui, -apple-system, sans-serif;
  /* --- レイアウト --- */
  --content-max: 1000px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--telop-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
/* Top ページ — 蓮ノ空の上品な色合いに、せーはす風の番組アクセントを少量。 */
.page-33e4ace {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
  z-index: 1;
  container-type: inline-size;
}

/* ===== 紙吹雪・音符(装飾) ===== */
.petals-33e4ace {
  position: absolute;
  inset: -28px -18px auto -18px;
  height: 360px;
  pointer-events: none;
  z-index: 0;
}

.petal_a-33e4ace,
.petal_b-33e4ace,
.petal_c-33e4ace {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--telop-yellow);
  box-shadow: 0 3px 0 rgba(27, 44, 95, 0.1);
  opacity: 0.48;
  animation: confettifloat 10s ease-in-out infinite;
}

.petal_a-33e4ace {
  left: 5%;
  top: 18%;
  clip-path: polygon(50% 0, 62% 32%, 96% 32%, 68% 52%, 80% 88%, 50% 66%, 20% 88%, 32% 52%, 4% 32%, 38% 32%);
}

.petal_b-33e4ace {
  right: 12%;
  top: 2%;
  width: 28px;
  height: 38px;
  border-radius: 50% 50% 44% 44%;
  background: color-mix(in oklab, var(--cerise) 72%, #fff);
  animation-delay: -3s;
  animation-duration: 12s;
}

.petal_c-33e4ace {
  right: 36%;
  top: 18%;
  width: 42px;
  height: 24px;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--hasu) 72%, #fff);
  transform: rotate(-18deg);
  animation-delay: -6s;
}

@keyframes confettifloat {
  0%, 100% {
    translate: 0 0;
    rotate: -8deg;
  }
  50% {
    translate: 0 24px;
    rotate: 18deg;
  }
}
/* ===== ヒーロー ===== */
.hero-33e4ace {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(18px, 3vw, 34px) clamp(12px, 3vw, 32px) 0;
}

.hero-33e4ace::before {
  content: "";
  position: absolute;
  inset: 16px 0 auto;
  height: clamp(170px, 30vw, 250px);
  border: 2px solid rgba(27, 44, 95, 0.08);
  border-radius: 34px;
  background: linear-gradient(90deg, rgba(86, 184, 215, 0.12), transparent 30% 70%, rgba(223, 111, 155, 0.1)), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 18px, rgba(255, 255, 255, 0.14) 18px 36px);
  transform: rotate(-1.2deg);
  z-index: -1;
}

.emblem-33e4ace {
  width: clamp(74px, 12vw, 108px);
  padding: 10px;
  border: 3px solid #fff;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--stage-sky), #fff 44%, var(--stage-pink));
  filter: drop-shadow(0 8px 18px rgba(45, 103, 155, 0.18));
  animation: emblemfloat 4.8s ease-in-out infinite;
}

.emblem-33e4ace svg {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes emblemfloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}
.title-33e4ace {
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.title_jp-33e4ace {
  font-family: var(--font-jp-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  letter-spacing: 0.02em;
  word-break: keep-all;
  text-wrap: balance;
  color: var(--telop-red);
  -webkit-text-stroke: clamp(1px, 0.18vw, 2px) #fff;
  text-shadow: 0 3px 0 color-mix(in oklab, var(--telop-yellow) 72%, #fff), 2px 5px 0 rgba(27, 44, 95, 0.82), 0 14px 24px rgba(27, 44, 95, 0.14);
}

.hairline-33e4ace {
  position: relative;
  width: min(360px, 74%);
  height: 12px;
  margin: 24px 0 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--member-kaho) 0 8.9%, rgba(27, 44, 95, 0.28) 8.9% 9.09%, var(--member-sayaka) 9.09% 17.99%, rgba(27, 44, 95, 0.28) 17.99% 18.18%, var(--member-kozue) 18.18% 27.08%, rgba(27, 44, 95, 0.28) 27.08% 27.27%, var(--member-tsuzuri) 27.27% 36.17%, rgba(27, 44, 95, 0.28) 36.17% 36.36%, var(--member-rurino) 36.36% 45.26%, rgba(27, 44, 95, 0.28) 45.26% 45.45%, var(--member-megumi) 45.45% 54.36%, rgba(27, 44, 95, 0.28) 54.36% 54.55%, var(--member-ginko) 54.55% 63.45%, rgba(27, 44, 95, 0.28) 63.45% 63.64%, var(--member-kosuzu) 63.64% 72.54%, rgba(27, 44, 95, 0.28) 72.54% 72.73%, var(--member-hime) 72.73% 81.63%, rgba(27, 44, 95, 0.28) 81.63% 81.82%, var(--member-seras) 81.82% 90.72%, rgba(27, 44, 95, 0.28) 90.72% 90.91%, var(--member-izumi) 90.91% 100%);
  box-shadow: 0 3px 0 rgba(27, 44, 95, 0.08);
  opacity: 0.82;
}

.hairline-33e4ace::after {
  content: "♪"/"";
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: color-mix(in oklab, var(--cerise) 86%, var(--hasu));
  transform: translateX(-50%) rotate(-10deg);
  font-size: 0.84rem;
  font-weight: 900;
}

/* ===== 設定パネル ===== */
.panel-33e4ace {
  position: relative;
  padding: clamp(22px, 4vw, 44px);
  border: 3px solid #fff;
  border-radius: var(--r-lg);
  background: linear-gradient(var(--paper-veil), var(--paper-veil)) padding-box, linear-gradient(135deg, var(--hasu), var(--cerise), var(--telop-yellow)) border-box;
  box-shadow: var(--shadow-float);
}

.settings_grid-33e4ace,
.filter_settings-33e4ace {
  display: grid;
  gap: 16px;
}

.primary_flow-33e4ace {
  display: grid;
  gap: 18px;
}

.primary_step-33e4ace {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid rgba(17, 33, 90, 0.12);
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 100% 0, rgba(255, 230, 64, 0.2), transparent 28%), rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-card);
}

.mode_grid-33e4ace {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 12px;
}

.secondary_steps-33e4ace {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 14px;
}

.compact_group-33e4ace {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(27, 44, 95, 0.12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 0 rgba(17, 33, 90, 0.06);
}

.settings_grid-33e4ace {
  grid-template-columns: repeat(auto-fit, minmax(min(232px, 100%), 1fr));
  margin-top: 10px;
}

.filter_settings-33e4ace {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  margin-top: 0;
}

.setting_group-33e4ace {
  padding: 18px;
  border: 1px solid rgba(27, 44, 95, 0.13);
  border-radius: var(--r-md);
  background: radial-gradient(circle at 100% 0, rgba(255, 230, 64, 0.2), transparent 30%), rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-card);
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}
.setting_group-33e4ace h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  color: #fff;
  background: linear-gradient(90deg, var(--hasu-deep), color-mix(in oklab, var(--hasu-deep) 82%, var(--hasu)));
  font-family: var(--font-jp-display);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.setting_group-33e4ace h2::before {
  content: "★"/"";
  color: var(--telop-yellow);
}

.setting_group-33e4ace:hover {
  translate: 0 -2px;
  box-shadow: 0 10px 0 rgba(19, 92, 168, 0.1), 0 18px 34px rgba(17, 33, 90, 0.13);
}

.option_row-33e4ace {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* ===== ボタン(選択肢) ===== */
.choice_card-33e4ace,
.choice_card_active-33e4ace,
.option-33e4ace,
.option_active-33e4ace,
.chip-33e4ace,
.chip_active-33e4ace {
  min-block-size: 40px;
  cursor: pointer;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 900;
  transition: translate 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.choice_card-33e4ace,
.choice_card_active-33e4ace {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  min-block-size: 96px;
  padding: 18px 20px;
  border: 2px solid rgba(27, 44, 95, 0.16);
  text-align: left;
  box-shadow: 0 4px 0 rgba(27, 44, 95, 0.1);
}
.choice_card-33e4ace strong,
.choice_card_active-33e4ace strong {
  font-family: var(--font-jp-display);
  font-size: clamp(1.18rem, 3vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.choice_mark-33e4ace {
  display: grid;
  place-items: center;
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  color: var(--hasu-deep);
  background: color-mix(in oklab, var(--stage-sky) 64%, #fff);
  font-family: var(--font-jp-display);
  font-size: 1.05rem;
  font-weight: 900;
}

.choice_card-33e4ace {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

.choice_card-33e4ace:hover:not(:disabled) {
  border-color: color-mix(in oklab, var(--hasu-deep) 48%, #fff);
  background: var(--stage-cream);
  translate: 0 -2px;
}

.choice_card_active-33e4ace {
  color: #fff;
  border-color: var(--ink);
  background: linear-gradient(135deg, var(--hasu-deep), var(--hasu) 52%, var(--cerise));
  box-shadow: 0 5px 0 color-mix(in oklab, var(--gold) 68%, #fff), 0 14px 22px rgba(27, 44, 95, 0.16);
  text-shadow: 1px 1px 0 rgba(27, 44, 95, 0.7);
}
.choice_card_active-33e4ace .choice_mark-33e4ace {
  color: var(--ink);
  background: var(--telop-yellow);
  text-shadow: none;
}

.option-33e4ace,
.option_active-33e4ace {
  padding: 9px 15px;
  border: 1px solid rgba(27, 44, 95, 0.24);
  font-size: 0.9rem;
}

.option-33e4ace {
  color: var(--ink-soft);
  background: #fff;
  box-shadow: 0 3px 0 rgba(27, 44, 95, 0.1);
}

.option-33e4ace:hover:not(:disabled) {
  color: var(--hasu-deep);
  background: var(--stage-cream);
  translate: 0 -1px;
}

.option_active-33e4ace {
  color: #fff;
  background: linear-gradient(135deg, var(--hasu-deep), var(--hasu) 52%, var(--cerise) 130%);
  box-shadow: 0 3px 0 color-mix(in oklab, var(--gold) 64%, #fff), 0 8px 16px rgba(27, 44, 95, 0.12);
}

.option-33e4ace:disabled,
.option_active-33e4ace:disabled {
  cursor: not-allowed;
  color: var(--ink-faint);
  border-color: rgba(17, 33, 90, 0.12);
  background: #eef0f6;
  box-shadow: none;
  opacity: 0.62;
  translate: none;
}

.choice_count_panel-33e4ace,
.choice_count_panel_hidden-33e4ace {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 33, 90, 0.12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.68);
}

.choice_count_panel_hidden-33e4ace {
  display: none;
}

.advanced_section-33e4ace {
  margin-top: 16px;
  border: 1px solid rgba(17, 33, 90, 0.13);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 4px 0 rgba(17, 33, 90, 0.06);
}
.advanced_section-33e4ace summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-block-size: 58px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}
.advanced_section-33e4ace summary::-webkit-details-marker {
  display: none;
}
.advanced_section-33e4ace summary::after {
  content: "+";
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--hasu-deep);
  flex: 0 0 auto;
}
.advanced_section-33e4ace[open] summary::after {
  content: "−";
}
.advanced_section-33e4ace summary span {
  color: var(--hasu-deep);
  font-family: var(--font-jp-display);
  font-size: 1.08rem;
}
.advanced_section-33e4ace > :not(summary) {
  margin: 0 18px 18px;
}
.advanced_section-33e4ace .settings_grid-33e4ace {
  margin-top: 0;
}

/* ===== チップ(ユニット/期フィルタ) ===== */
.chip-33e4ace,
.chip_active-33e4ace {
  padding: 8px 14px;
  border: 2px solid color-mix(in oklab, var(--accent) 56%, var(--ink));
  font-size: 0.88rem;
}

.chip-33e4ace {
  color: color-mix(in oklab, var(--accent) 70%, var(--ink));
  background: #fff;
  box-shadow: var(--shadow-chip);
}

.chip-33e4ace:hover {
  background: color-mix(in oklab, var(--accent) 18%, #fff);
  translate: 0 -1px;
}

.chip_active-33e4ace {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 3px 0 rgba(27, 44, 95, 0.18), 0 8px 16px color-mix(in oklab, var(--accent) 24%, transparent);
}

/* ===== 詳細・チェック ===== */
.number_field-33e4ace {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 800;
}
.number_field-33e4ace input {
  width: min(240px, 100%);
  padding: 10px 12px;
  border: 2px solid rgba(17, 33, 90, 0.18);
  border-radius: var(--r-sm);
  background: #fff;
}

.number_field_hidden-33e4ace {
  display: none;
}

.filter_checks-33e4ace {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 0;
  color: var(--ink-soft);
  font-weight: 900;
  grid-column: 1/-1;
  padding: 14px 16px;
  border: 1px solid rgba(27, 44, 95, 0.12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.66);
}
.filter_checks-33e4ace label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 32px;
  cursor: pointer;
}
.filter_checks-33e4ace input {
  width: 20px;
  height: 20px;
  accent-color: var(--cerise);
  cursor: pointer;
}

.mode_notice-33e4ace {
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 2px solid color-mix(in oklab, var(--unit-mira) 64%, var(--ink));
  border-radius: var(--r-sm);
  color: #7c4a13;
  background: rgba(255, 230, 64, 0.26);
  font-weight: 900;
}

.mode_notice_hidden-33e4ace {
  display: none;
}

/* ===== スタート ===== */
.cta_area-33e4ace {
  position: sticky;
  bottom: clamp(10px, 2vw, 18px);
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(150px, max-content) 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: calc(var(--r-pill) + 8px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(27, 44, 95, 0.14);
  backdrop-filter: blur(14px);
}

.target_count-33e4ace {
  display: grid;
  place-items: center;
  padding-inline: 16px;
}
.target_count-33e4ace strong {
  color: var(--hasu-deep);
  font-family: var(--font-jp-display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 900;
}

.start_button-33e4ace {
  width: 100%;
  min-block-size: 58px;
  margin-top: 0;
  padding: 17px 20px;
  cursor: pointer;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  color: #fff;
  background: linear-gradient(120deg, var(--hasu-deep), var(--hasu) 48%, var(--cerise));
  box-shadow: 0 5px 0 color-mix(in oklab, var(--gold) 74%, #fff), 0 15px 26px rgba(27, 44, 95, 0.16);
  font-family: var(--font-jp-display);
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 0 rgba(27, 44, 95, 0.7);
  transition: translate 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.start_button-33e4ace:hover:not(:disabled) {
  translate: 0 -2px;
  box-shadow: 0 6px 0 color-mix(in oklab, var(--gold) 74%, #fff), 0 18px 30px rgba(27, 44, 95, 0.18);
  filter: saturate(1.08) brightness(1.03);
}

.start_button-33e4ace:active:not(:disabled) {
  translate: 0 3px;
  box-shadow: 0 2px 0 color-mix(in oklab, var(--gold) 74%, #fff), 0 10px 20px rgba(27, 44, 95, 0.14);
}

.start_button-33e4ace:disabled {
  cursor: not-allowed;
  background: #c8ccd8;
  box-shadow: none;
  opacity: 0.72;
  text-shadow: none;
}

/* ===== 音量調整・試聴 ===== */
.volume_section-33e4ace {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(17, 33, 90, 0.12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 0 rgba(17, 33, 90, 0.06);
}

.volume_check_button-33e4ace {
  min-block-size: 36px;
  padding: 7px 16px;
  cursor: pointer;
  border: 1px solid rgba(27, 44, 95, 0.24);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  background: #fff;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.88rem;
  box-shadow: 0 3px 0 rgba(27, 44, 95, 0.1);
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}
.volume_check_button-33e4ace:hover:not(:disabled) {
  color: var(--hasu-deep);
  background: var(--stage-cream);
  translate: 0 -1px;
}
.volume_check_button-33e4ace:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@container (max-width: 560px) {
  .title_jp-33e4ace {
    text-shadow: 0 2px 0 color-mix(in oklab, var(--telop-yellow) 72%, #fff), 2px 4px 0 rgba(27, 44, 95, 0.82), 0 12px 20px rgba(27, 44, 95, 0.12);
  }
  .cta_area-33e4ace {
    grid-template-columns: 1fr;
    border-radius: var(--r-lg);
  }
  .target_count-33e4ace {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    justify-content: space-between;
  }
}
/* 音量調整 — トップ画面・クイズ画面共通 */
.volume_control-39e8d6d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 2px solid rgba(17, 33, 90, 0.12);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-chip);
}

.volume_label-39e8d6d {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
}

.volume_icon-39e8d6d {
  display: grid;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--hasu-deep);
}

.volume_icon-39e8d6d svg {
  width: 100%;
  height: 100%;
}

.volume_value-39e8d6d {
  min-width: 2.6em;
  text-align: right;
}

.volume_slider-39e8d6d {
  width: 110px;
  accent-color: var(--hasu);
  cursor: pointer;
  /* 非対応ブラウザ用の最低限フォールバック */
}
@supports not (accent-color: var(--hasu)) {
  .volume_slider-39e8d6d {
    accent-color: auto;
  }
}

/* スマホではやや幅を抑える */
@media (max-width: 480px) {
  .volume_control-39e8d6d {
    gap: 4px;
    padding: 5px 10px;
  }
  .volume_slider-39e8d6d {
    width: 80px;
  }
}
