/* Liquid-Glass-Design: Farben kommen aus dem gewählten Thema (body[data-theme]). */
:root {
  --bg: #070a14;
  --text: #f1eff8;
  --muted: #a6adc6;
  --accent: #ffb347;
  --danger: #ff9a9a;
  --sphere-hi: #ffd27a;
  --sphere-lo: #e0481a;
  --glow-rgb: 255, 170, 70;
  --glow2-rgb: 80, 110, 255;
  --ring-rgb: 255, 205, 130;
  --glass: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 12px 32px rgba(0, 0, 0, 0.38);
  --orb-shine: radial-gradient(circle at 31% 26%, rgba(255, 255, 255, 0.95) 0 5%, rgba(255, 255, 255, 0) 20%);
}
body[data-theme="blue"] { --accent: #7fb7d9; --sphere-hi: #b4dcf4; --sphere-lo: #2f628c; --glow-rgb: 111, 176, 216; --glow2-rgb: 150, 100, 255; --ring-rgb: 169, 212, 238; }
body[data-theme="mint"] { --accent: #7fd9b9; --sphere-hi: #c2f6e2; --sphere-lo: #25705c; --glow-rgb: 100, 210, 170; --glow2-rgb: 60, 150, 255; --ring-rgb: 170, 235, 210; }
body[data-theme="violet"] { --accent: #b9a2f0; --sphere-hi: #e0d2ff; --sphere-lo: #4f3590; --glow-rgb: 160, 130, 235; --glow2-rgb: 255, 110, 180; --ring-rgb: 205, 190, 250; }
body[data-theme="duo"] {
  --accent: #ffb15c; --sphere-hi: #ffc58a; --sphere-lo: #4f6fd0; --glow-rgb: 255, 150, 60; --glow2-rgb: 70, 130, 255; --ring-rgb: 255, 176, 100; --ring-rgb-2: 130, 170, 255;
  --sphere-bg: radial-gradient(circle at 30% 26%, rgba(255, 236, 200, 0.85) 0%, rgba(255, 200, 130, 0) 38%), linear-gradient(140deg, #ff9a4a 0%, #e0709a 48%, #3f78d6 100%);
  --glow-shadow: -26px -14px 70px 6px rgba(255, 150, 60, 0.36), 26px 18px 70px 6px rgba(80, 140, 255, 0.36), 0 0 130px 30px rgba(200, 120, 190, 0.16);
}

* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; position: relative; background: var(--bg); color: var(--text);
  font-family: "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* Leuchtende, langsam treibende Farbflächen hinter allem */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(70px);
  width: 70vmax; height: 70vmax; will-change: transform;
}
body::before { top: -30vmax; left: -25vmax; background: radial-gradient(closest-side, rgba(var(--glow-rgb), 0.34), transparent); animation: drift-a 26s ease-in-out infinite alternate; }
body::after { bottom: -34vmax; right: -28vmax; background: radial-gradient(closest-side, rgba(var(--glow2-rgb), 0.3), transparent); animation: drift-b 32s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-12vmax, -9vmax) scale(1.2); } }

main { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 16px max(48px, env(safe-area-inset-bottom)); }
h1 { margin: 8px 0 4px; font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; background: linear-gradient(120deg, #fff 30%, rgba(var(--ring-rgb), 1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin: 8px 0; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 0.82rem; margin-top: 28px; }
[hidden] { display: none !important; }

button {
  font: inherit; color: var(--text); cursor: pointer; padding: 12px 18px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  transition: transform 0.15s ease, border-color 0.2s ease, filter 0.2s ease;
}
button:hover { border-color: rgba(var(--glow-rgb), 0.7); filter: brightness(1.12); }
button:active { transform: scale(0.97); }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button.primary {
  position: relative; overflow: hidden; width: 100%; margin-top: 20px; padding: 16px; border-radius: 999px;
  font-weight: 650; font-size: 1.05rem; letter-spacing: 0.01em; color: #1a1005;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 52%), var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 -6px 14px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 34px rgba(var(--glow-rgb), 0.45);
}
button.primary:disabled { opacity: 0.4; cursor: not-allowed; filter: grayscale(0.4); }
button.danger { color: var(--danger); }
button.link { background: none; border: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--muted); padding: 4px 0; }

/* Übungskarten mit eigener Glas-Kugel */
.cards { display: grid; gap: 14px; margin-top: 18px; }
.cards button {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; text-align: left;
  padding: 16px 18px; border-radius: 24px;
}
.cards button::before, .swatch::after {
  content: ""; border-radius: 50%;
  background: var(--orb-shine), var(--sphere-bg, radial-gradient(circle at 50% 50%, var(--sphere-hi), var(--sphere-lo) 78%));
  box-shadow: inset -7px -9px 16px rgba(0, 0, 0, 0.38), inset 4px 5px 10px rgba(255, 255, 255, 0.35), 0 8px 22px rgba(var(--glow-rgb), 0.4);
}
.cards button::before { grid-row: 1 / span 2; grid-column: 1; width: 56px; height: 56px; }
.cards strong { grid-column: 2; font-size: 1.08rem; }
.cards .sub { grid-column: 2; display: block; color: var(--muted); font-size: 0.88rem; }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; }
.check input { margin-top: 5px; accent-color: var(--accent); }
.hold-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 4px; }
.hold-row > div { text-align: center; }
.hold-row strong { display: block; font-size: 2rem; letter-spacing: -0.02em; }
.hold-row button { width: 52px; height: 52px; padding: 0; border-radius: 50%; font-size: 1.4rem; }
.safety { border: 1px solid var(--glass-line); border-radius: 22px; padding: 14px 18px; margin: 16px 0; background: var(--glass); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.safety ul { margin: 8px 0; padding-left: 20px; }

/* Die große Flüssig-Glas-Kugel */
.circle-wrap { position: relative; display: flex; justify-content: center; align-items: center; height: 360px; margin-top: 12px; }
.viz { position: absolute; left: 50%; top: 50%; width: 360px; max-width: 100%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.circle {
  position: relative; isolation: isolate; width: 260px; height: 260px; border-radius: 50%;
  background: var(--sphere-bg, radial-gradient(circle at 40% 35%, var(--sphere-hi), var(--sphere-lo) 74%));
  box-shadow:
    inset -26px -32px 56px rgba(0, 0, 0, 0.36), inset 16px 18px 40px rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28), inset 0 0 46px rgba(255, 255, 255, 0.16),
    var(--glow-shadow, 0 0 40px 8px rgba(var(--glow-rgb), 0.4), 0 0 120px 30px rgba(var(--glow-rgb), 0.2));
  transition: transform var(--dur, 2s) ease-in-out;
  scale: var(--jsx, 1) var(--jsy, 1); translate: var(--jtx, 0px) var(--jty, 0px);
  touch-action: pan-y; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.circle[data-size="big"] { transform: scale(1); }
.circle[data-size="mid"] { transform: scale(0.75); }
.circle[data-size="small"] { transform: scale(0.45); }
/* Fließende Lichtschlieren im Inneren (folgt dem wabernden Rand, ohne Beschneiden und ohne Mischmodus) */
.circle::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background:
    radial-gradient(40% 40% at 28% 30%, rgba(255, 255, 255, 0.42), transparent 70%),
    radial-gradient(48% 48% at 74% 72%, rgba(var(--glow2-rgb), 0.4), transparent 72%),
    conic-gradient(from var(--spin), transparent, rgba(255, 255, 255, 0.16) 18%, transparent 40%, rgba(var(--glow-rgb), 0.2) 66%, transparent 86%);
  animation: liquid 16s linear infinite;
}
/* Lichtreflex oben links */
.circle::after {
  content: ""; position: absolute; top: 10%; left: 18%; width: 44%; height: 25%; border-radius: 50%; transform: rotate(-30deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0)); filter: blur(2.5px);
}
@keyframes liquid { to { --spin: 360deg; } }
/* Wellen an der Berührungsstelle, in einer Kreis-Maske gehalten (zuverlässiger als Beschneiden in Safari) */
.ripples {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 88%, transparent 96%);
  mask-image: radial-gradient(circle closest-side, #000 88%, transparent 96%);
}
.ripple {
  position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.8); box-shadow: 0 0 18px rgba(255, 255, 255, 0.55), inset 0 0 14px rgba(255, 255, 255, 0.35);
  animation: ripple 1s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes ripple { 0% { transform: scale(0.35); opacity: 0.95; } 65% { opacity: 0.35; } 100% { transform: scale(10); opacity: 0; } }
.phase { text-align: center; font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; min-height: 2.2rem; }
.counter { text-align: center; font-size: 1.05rem; color: var(--muted); min-height: 1.6rem; }
.actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* Bewertung */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.quick button { padding: 22px 8px; font-size: 1.1rem; border-radius: 22px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.scale button { padding: 12px 0; border-radius: 50%; aspect-ratio: 1; }
.mic-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 26px 0 8px; }
.mic-orb {
  position: relative; display: grid; place-items: center; width: 92px; height: 92px; padding: 0; border-radius: 50%; color: #fff;
  background: var(--orb-shine), var(--sphere-bg, radial-gradient(circle at 50% 50%, var(--sphere-hi), var(--sphere-lo) 78%));
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset -12px -16px 26px rgba(0, 0, 0, 0.42), inset 7px 9px 18px rgba(255, 255, 255, 0.32), 0 14px 40px rgba(var(--glow-rgb), 0.5);
}
.mic-orb svg { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45)); }
.mic-orb.listening { animation: mic-pulse 1.4s ease-out infinite; }
@keyframes mic-pulse {
  0% { box-shadow: inset -12px -16px 26px rgba(0, 0, 0, 0.42), inset 7px 9px 18px rgba(255, 255, 255, 0.32), 0 0 0 0 rgba(var(--glow-rgb), 0.65), 0 14px 40px rgba(var(--glow-rgb), 0.5); }
  100% { box-shadow: inset -12px -16px 26px rgba(0, 0, 0, 0.42), inset 7px 9px 18px rgba(255, 255, 255, 0.32), 0 0 0 36px rgba(var(--glow-rgb), 0), 0 14px 40px rgba(var(--glow-rgb), 0.5); }
}

/* Farbwahl als kleine Glas-Kugeln */
.themes { display: flex; gap: 14px; align-items: center; margin-top: 26px; }
.themes .label { color: var(--muted); font-size: 0.9rem; margin-right: 4px; }
.swatch { position: relative; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 2px solid transparent; box-shadow: none; }
.swatch::after { position: absolute; inset: 0; border-radius: 50%; }
.swatch[aria-pressed="true"] { border-color: #fff; }
.swatch[data-pick="amber"]::after { --sphere-bg: radial-gradient(circle at 50% 50%, #ffe9b0, #c2571a 80%); }
.swatch[data-pick="blue"]::after { --sphere-bg: radial-gradient(circle at 50% 50%, #b4dcf4, #2f628c 80%); }
.swatch[data-pick="mint"]::after { --sphere-bg: radial-gradient(circle at 50% 50%, #c2f6e2, #25705c 80%); }
.swatch[data-pick="violet"]::after { --sphere-bg: radial-gradient(circle at 50% 50%, #e0d2ff, #4f3590 80%); }
.swatch[data-pick="duo"]::after { --sphere-bg: linear-gradient(140deg, #ff9a4a 0%, #e0709a 48%, #3f78d6 100%); }

/* Klangraum */
.circle-wrap.sound { height: 300px; }
.circle.pulse { width: 220px; height: 220px; animation: slow-pulse 9s ease-in-out infinite alternate; }
@keyframes slow-pulse { from { transform: scale(0.74); } to { transform: scale(0.94); } }
.controls { display: grid; gap: 16px; margin-top: 8px; }
.field { display: grid; gap: 7px; color: var(--muted); font-size: 0.9rem; }
.field select {
  font: inherit; color: var(--text); background: var(--glass); border: 1px solid var(--glass-line); border-radius: 14px; padding: 12px;
  box-shadow: var(--glass-shadow);
}
.field select option { color: #111; }
.field input[type="range"] { width: 100%; height: 30px; background: transparent; -webkit-appearance: none; appearance: none; }
.field input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4); }
.field input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }
.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--orb-shine), radial-gradient(circle at 50% 50%, var(--sphere-hi), var(--sphere-lo) 85%);
  box-shadow: inset -3px -4px 7px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(var(--glow-rgb), 0.55);
}
.field input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5);
  background: radial-gradient(circle at 35% 30%, var(--sphere-hi), var(--sphere-lo) 85%); box-shadow: 0 4px 14px rgba(var(--glow-rgb), 0.55);
}
.center { text-align: center; }
.sound-bar { position: sticky; bottom: 0; background: linear-gradient(to top, rgba(7, 10, 20, 0.92) 60%, transparent); padding: 8px 0 10px; margin-top: 12px; }
.sound-bar .primary { margin-top: 0; }
.sound-bar .center { margin: 6px 0 0; min-height: 1.4rem; }

/* Startseite: atmende Kugel mit Takt-Anzeige und einblendenden Karten */
.hero { text-align: center; margin-bottom: 4px; }
.circle-wrap.hero-wrap { height: 300px; margin-top: 0; }
.circle.hero-orb { width: 210px; height: 210px; animation: slow-pulse 9s ease-in-out infinite alternate; }
.hero-wrap { animation: float 7s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
.cue { position: relative; height: 1.6rem; margin: -6px 0 6px; font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.cue span { position: absolute; inset: 0; opacity: 0; animation: 18s ease-in-out infinite; }
.cue .cue-in { animation-name: cue-in; }
.cue .cue-out { animation-name: cue-out; }
@keyframes cue-in { 0%, 4% { opacity: 0; } 14%, 40% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes cue-out { 0%, 54% { opacity: 0; } 64%, 90% { opacity: 1; } 100% { opacity: 0; } }
.cards button { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-wrap, .ripple, .circle.hero-orb, .cue span, .cards button, body::before, body::after, .circle::before, .circle.pulse, .mic-orb.listening { animation: none; }
  .cue .cue-in { opacity: 1; }
  .cards button { opacity: 1; }
  .circle { transition-duration: 0.01s; }
  .circle.pulse { transform: scale(0.84); }
}
#screen-relax .controls { margin-top: 22px; }
.voice-row { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.voice-row .label { color: var(--muted); font-size: 0.9rem; }
.voice-row select { flex: 1; font: inherit; color: var(--text); background: var(--glass); border: 1px solid var(--glass-line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--glass-shadow); }
.voice-row select option { color: #111; }
.voice-row button { padding: 10px 16px; border-radius: 14px; }
.update-banner {
  position: fixed; z-index: 10; left: 50%; top: max(12px, env(safe-area-inset-top)); transform: translateX(-50%); max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 999px; font-weight: 600; color: #1a1005; border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 52%), var(--accent);
  box-shadow: 0 10px 34px rgba(var(--glow-rgb), 0.5);
}
.circle-wrap.listen-wrap { height: 260px; }
.circle-wrap.listen-wrap .circle { width: 200px; height: 200px; }
.listen-time { display: flex; justify-content: space-between; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 8px; }
.listen-controls { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 18px 0 8px; }
.listen-controls > button:not(.mic-orb) { width: 58px; height: 58px; padding: 0; border-radius: 50%; font-size: 0.95rem; }
#listen-play .icon-pause { display: none; }
#listen-play[data-playing="true"] .icon-play { display: none; }
#listen-play[data-playing="true"] .icon-pause { display: block; }
.speed-row { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 8px 0 4px; color: var(--muted); font-variant-numeric: tabular-nums; }
.speed-row button { padding: 8px 16px; border-radius: 999px; font-size: 0.95rem; }

/* Anmeldeseite und Eingabefelder */
.form { display: grid; gap: 16px; margin-top: 8px; }
.text-input {
  font: inherit; color: var(--text); width: 100%; padding: 13px 14px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
}
.text-input::placeholder { color: rgba(166, 173, 198, 0.6); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 18px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-line); }
.tabs button { border: none; box-shadow: none; background: transparent; border-radius: 999px; padding: 10px; color: var(--muted); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tabs button[aria-selected="true"] { color: #1a1005; background: var(--accent); font-weight: 650; box-shadow: 0 6px 20px rgba(var(--glow-rgb), 0.4); }
.notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 154, 154, 0.5); background: rgba(255, 154, 154, 0.1); color: #ffd2d2; }
.notice.good { border-color: rgba(127, 217, 185, 0.5); background: rgba(127, 217, 185, 0.1); color: #cdf5e5; }
.circle-wrap.login-orb { height: 240px; }
.circle-wrap.login-orb .circle { width: 170px; height: 170px; }
.note a, .check a { color: var(--accent); }
.legal h2 { margin-top: 26px; font-size: 1.15rem; }
.legal p, .legal li { color: var(--muted); }
.link-back { display: inline-block; margin-bottom: 8px; color: var(--muted); text-decoration: none; }
.legal ul { padding-left: 20px; }

/* Konto */
h3 { margin: 26px 0 8px; font-size: 1.05rem; letter-spacing: -0.01em; }
.invites { display: grid; gap: 10px; margin: 10px 0; }
.invite-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.invite-row strong { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; word-break: break-all; }
.invite-row .meta { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; }
.invite-row button { padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; }
.row-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
#open-account { display: block; margin-top: 22px; }

.popup { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.55); }
.popup[hidden] { display: none; }
.popup-card { width: min(420px, 100%); display: grid; gap: 14px; padding: 20px; border-radius: 22px; background: var(--bg); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.stars { display: flex; gap: 8px; justify-content: center; }
.stars button { width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; }
.stars button[aria-checked="true"] { outline: 2px solid currentColor; }

.round-ask { display: grid; gap: 12px; margin: 12px 0; }
.round-ask[hidden] { display: none; }
.round-ask [aria-pressed="true"] { outline: 2px solid var(--accent); }

.elapsed {
  text-align: center; font: 300 2.4rem/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, rgb(var(--glow-rgb)), rgb(var(--glow2-rgb))); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(var(--glow-rgb), 0.45)); margin: 10px 0;
}
.tube {
  position: relative; height: 26px; margin: 12px auto; width: min(420px, 100%); border-radius: 999px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)); border: 1px solid var(--glass-line);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.tube[hidden] { display: none; }
.tube-fill {
  position: absolute; inset: 2px auto 2px 2px; width: calc(100% - 4px); border-radius: 999px; transform-origin: left center; transition: transform 0.28s linear;
  background: linear-gradient(90deg, rgb(var(--glow-rgb)), rgb(var(--glow2-rgb)));
  box-shadow: 0 0 16px rgba(var(--glow-rgb), 0.55), inset 0 6px 8px rgba(255, 255, 255, 0.35), inset 0 -5px 8px rgba(0, 0, 0, 0.25);
}
.tube-fill::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%); background-size: 200% 100%; animation: tube-shine 2.6s linear infinite;
}
@keyframes tube-shine { from { background-position: 200% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .tube-fill::after { animation: none; } .tube-fill { transition: none; } }
