
.dc-app, .dc-app * { box-sizing: border-box; }
.dc-app { --dc-ink: #eef1f7; --dc-muted: #9aa5bb; --dc-line: rgba(160, 172, 196, .26); --dc-glass: rgba(14, 18, 27, .82);
  --dc-good: #7ed492; --dc-bad: #f2a07b; --dc-lime: #a3e635; --dc-gold: #ffd166;
  --gs-ink: var(--dc-ink); --gs-muted: var(--dc-muted); --gs-line: #2a3140; --gs-accent: #a3e635; --gs-accent-ink: #10200a;
  --gs-panel: #151a24; --gs-bg: #0b1020; --gs-chip: rgba(21, 26, 36, .9);
  position: relative; display: flex; flex-direction: column; color: var(--dc-ink); font: 16px/1.45 "Segoe UI", system-ui, Arial, sans-serif; overflow: clip; }
.dc-app.dc-embedded { height: clamp(560px, calc(100svh - 110px), 880px); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); border: 1px solid #2a3140; background: #0b1020; }
.dc-app.gs-fs { background: #0b1020; }
.dc-app button { font: inherit; color: inherit; cursor: pointer; }
.dc-app button:focus-visible, .dc-input:focus-visible { outline: 2px solid var(--dc-lime); outline-offset: 2px; }
.dc-app .gs-stage, .dc-app .gs-main { min-height: 0; }
.dc-app.gs-wide .gs-stage { align-items: stretch; grid-template-rows: minmax(0, 1fr); }
.dc-app .gs-side { min-height: 0; overflow: auto; }
.dc-msg0 { text-align: center; padding: 30px 10px; color: var(--dc-muted); }
.dc-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: #0b1020;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.dc-top { flex: 0 0 auto; padding: 8px 10px 0; }
.dc-hud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: min(100%, 680px); margin: 0 auto; }
.dc-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 5px 4px; min-width: 0;
  background: var(--dc-glass); border: 1px solid var(--dc-line); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.dc-chip small { font: 700 9px/1 monospace; letter-spacing: 1.3px; color: var(--dc-muted); text-transform: uppercase; white-space: nowrap; }
.dc-chip b { font: 800 16px/1.15 monospace; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dc-band { font-size: 11px; font-weight: 700; padding: 1px 6px; background: var(--b); color: #0b1020; }
.dc-streak { width: min(100%, 680px); margin: 4px auto 0; display: flex; justify-content: flex-end; height: 24px; visibility: hidden; pointer-events: none; }
.dc-streak.on { visibility: visible; }
.dc-pill { padding: 3px 10px; font: 700 12px/1.2 "Segoe UI", Arial, sans-serif; color: #ffd9b0; white-space: nowrap; background: var(--dc-glass); border: 1px solid rgba(255, 150, 70, .6);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); will-change: transform; }
.dc-pill b { color: #fff; font: 800 14px/1 monospace; }
.dc-pill small { font-size: 10px; color: rgba(255,255,255,.65); margin-left: 4px; }
.dc-pill.ms { color: #fff; background: rgba(120, 50, 0, .82); }
.dc-pill.pop { animation: dcPillPop .5s ease; }
.dc-pill.ms.pop { animation: dcPillMs .9s ease; }
@keyframes dcPillPop { 40% { transform: scale(1.18); } }
@keyframes dcPillMs { 25% { transform: scale(1.4); } 55% { transform: scale(.96); } 80% { transform: scale(1.08); } }
.dc-scene { position: relative; flex: 1 1 0; min-height: 70px; width: min(calc(100% - 20px), 680px); margin: 8px auto 0; overflow: hidden; background: #070d22; border: 1px solid #1f2633;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.dc-scene.off { display: none; }
.dc-still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dc-place { position: absolute; left: 10px; top: 8px; z-index: 2; pointer-events: none; font: 700 11px/1.5 "Segoe UI", Arial, sans-serif; letter-spacing: .4px; color: rgba(255, 255, 255, .92);
  background: rgba(5, 8, 14, .45); border: 1px solid rgba(255, 255, 255, .14); padding: 1px 9px; }
.dc-air { position: absolute; right: 10px; top: 8px; z-index: 2; pointer-events: none; font: 700 11px/1.5 "Segoe UI", Arial, sans-serif; color: #fecaca;
  background: rgba(127, 29, 29, .55); border: 1px solid rgba(254, 202, 202, .4); padding: 1px 9px; opacity: 0; transition: opacity .2s; }
.dc-air.on { opacity: 1; animation: dcAir 1s ease-in-out infinite; }
@keyframes dcAir { 50% { opacity: .45; } }
.dc-toast { position: absolute; left: 50%; top: 34px; transform: translateX(-50%); z-index: 6; color: var(--dc-gold); font-weight: 800; font-size: 20px; pointer-events: none; opacity: 0; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.dc-toast.show { animation: dcToast 1.1s ease-out; } .dc-toast.big { font-size: 24px; }
@keyframes dcToast { 0% { opacity: 0; transform: translate(-50%, 8px); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -18px); } }
.dc-tw { animation: dcTw 3s ease-in-out infinite; } @keyframes dcTw { 50% { opacity: .25; } }
.dc-beacon { animation: dcBeacon 2.2s ease-in-out infinite; } @keyframes dcBeacon { 50% { opacity: .6; } }
.dc-wv { transform-box: fill-box; transform-origin: center; opacity: 0; }
.dc-scene.dc-on .dc-wv { animation: dcWave 1.8s ease-out infinite; }
@keyframes dcWave { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(6); opacity: 0; } }
.dc-scene.dc-static::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 3px); animation: dcStatic .5s steps(5) 1; pointer-events: none; }
@keyframes dcStatic { 0% { opacity: .9; } 100% { opacity: 0; } }
.dc-scene.dc-finale .dc-beacon { animation: dcFinale .5s ease-in-out 6; } @keyframes dcFinale { 50% { opacity: .15; } }
.dc-dock { flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px)); width: min(100%, 700px); align-self: center; }
.dc-says { max-height: 24svh; overflow-y: auto; overscroll-behavior: contain; }
.dc-says:empty { display: none; }
.dc-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-marks:empty { display: none; }
.dc-m { display: inline-flex; flex-direction: column; align-items: center; padding: 4px 8px; font: 15px/1.3 Georgia, serif; border: 1px solid transparent;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); animation: dcPop .3s ease-out backwards; animation-delay: calc(var(--i, 0) * 25ms); }
@keyframes dcPop { 0% { transform: scale(.85); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.dc-m small { font: 700 9.5px/1.2 Arial, sans-serif; letter-spacing: .3px; text-transform: uppercase; margin-top: 1px; opacity: .85; }
.dc-m.ok { background: rgba(52, 211, 153, .12); color: #a7f3d0; border-color: rgba(52, 211, 153, .3); }
.dc-m.alt { background: rgba(52, 211, 153, .12); color: #a7f3d0; border-color: rgba(250, 204, 21, .5); }
.dc-m.wrong { background: rgba(251, 113, 133, .14); color: #fecdd3; border-color: rgba(251, 113, 133, .55); }
.dc-m.wrong small { color: #fda4af; }
.dc-m.wrong.near { background: rgba(250, 204, 21, .12); color: #fde68a; border-color: rgba(250, 204, 21, .55); }
.dc-m.wrong.near small { color: #fde68a; }
.dc-m.missing { min-width: 46px; color: #94a3b8; border: 1px dashed #64748b; background: rgba(148, 163, 184, .06); }
.dc-m.extra { color: #94a3b8; background: rgba(148, 163, 184, .08); border-color: #334155; }
.dc-feedback:empty { display: none; }
.dc-feedback { margin-top: 6px; }
.dc-fb { font-size: 14px; line-height: 1.5; padding: 8px 12px; }
.dc-fb.bad { background: rgba(251, 113, 133, .1); color: #fecdd3; }
.dc-fb.info { background: rgba(148, 163, 184, .1); color: #cbd5e1; }
.dc-fb b { color: #fff; }
.dc-solved { text-align: center; padding: 2px 4px; animation: dcPop .4s ease; }
.dc-solved-head { font-size: 15px; font-weight: 800; color: #86efac; letter-spacing: .3px; }
.dc-solved.shown .dc-solved-head { color: #fda4af; }
.dc-solved-text { font: 18px/1.5 Georgia, 'Times New Roman', serif; color: #fff; margin: 6px 0 4px; }
.dc-solved-meta { font-size: 12.5px; color: #8899aa; } .dc-solved-meta b { color: var(--dc-gold); }
.dc-uk { font-size: 12.5px; color: #fde68a; margin-top: 4px; }
.dc-player { position: relative; overflow: hidden; border: 1px solid #1f2633; padding: 10px 12px; background: linear-gradient(180deg, #0f1730, #0a1022);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.dc-wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: .9; }
.dc-player-row { position: relative; display: flex; gap: 14px; align-items: center; }
.dc-play { position: relative; flex: 0 0 auto; margin-left: 4px; width: 72px; height: 72px; border-radius: 50%; border: 0; padding: 0; color: #10200a;
  background: radial-gradient(circle at 35% 30%, #ecfccb, #a3e635 55%, #65a30d); box-shadow: 0 6px 22px rgba(132, 204, 22, .35); transition: transform .12s, box-shadow .12s; }
.dc-play:hover { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(190, 242, 100, .18), 0 10px 30px rgba(132, 204, 22, .45); }
.dc-play:active { transform: scale(.96); }
.dc-play.playing { animation: dcPulse 1.2s ease-in-out infinite; }
@keyframes dcPulse { 50% { box-shadow: 0 0 0 10px rgba(190, 242, 100, .16), 0 6px 22px rgba(132, 204, 22, .5); } }
.dc-play-icon { position: relative; font-size: 28px; line-height: 72px; display: block; text-align: center; padding-left: 4px; }
.dc-play.playing .dc-play-icon { padding-left: 0; font-size: 24px; }
.dc-ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); pointer-events: none; }
.dc-ring-bg { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 3; }
.dc-ring-fg { fill: none; stroke: #ecfccb; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.dc-player-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.dc-player-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #cbd5e1; }
.dc-voice { font-weight: 700; color: #ecfccb; } .dc-words { color: #8899aa; font-family: monospace; }
.dc-worth { display: flex; align-items: center; gap: 10px; }
.dc-worth-bar { flex: 1 1 auto; height: 10px; background: rgba(255, 255, 255, .07); overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); }
.dc-worth-fill { height: 100%; width: 100%; background: linear-gradient(90deg, #facc15, #a3e635); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.dc-worth-fill.low { background: linear-gradient(90deg, #fb7185, #f59e0b); }
.dc-worth-txt { flex: 0 0 auto; font-family: monospace; font-weight: 700; color: var(--dc-gold); font-size: 14px; white-space: nowrap; }
.dc-worth-txt.hit { animation: dcShake .4s; color: #fda4af; }
.dc-player-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dc-chip-btn { min-height: 40px; background: rgba(255, 255, 255, .06); border: 1px solid #334155; color: #e2e8f0; padding: 6px 14px; font-size: 13.5px;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.dc-chip-btn:hover:not(:disabled) { border-color: #bef264; color: #fff; }
.dc-chip-btn:disabled { opacity: .45; cursor: default; }
.dc-listens { font-size: 12px; color: #8899aa; }
.dc-input { width: 100%; resize: none; min-height: 64px; max-height: 20svh; background: #060a12; color: #f1f5f9; border: 1px solid #2a3344; padding: 10px 12px; font: 17px/1.45 Georgia, 'Times New Roman', serif;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.dc-input:focus { border-color: #a3e635; box-shadow: 0 0 0 3px rgba(163, 230, 53, .15); }
.dc-input:disabled { opacity: .7; }
.dc-input.dc-shake { animation: dcShake .4s; border-color: #fb7185; }
.dc-input.good { border-color: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
@keyframes dcShake { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.dc-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dc-check, .dc-next { flex: 1 1 auto; min-height: 48px; border: 0; padding: 0 24px; font: 800 14px/1 'Segoe UI', sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #10200a;
  background: linear-gradient(180deg, #bef264, #65a30d); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.dc-check:hover:not(:disabled), .dc-next:hover { filter: brightness(1.08); }
.dc-check:disabled { opacity: .55; cursor: default; }
.dc-reveal { flex: 1 1 100%; min-height: 44px; background: none; border: 1px solid #475569; color: #cbd5e1; font-size: 13.5px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.dc-reveal:hover { border-color: #fda4af; color: #fff; }
.dc-next { display: none; } .dc-after .dc-next { display: block; }
.dc-over { align-items: center; justify-content: center; }
.dc-ocard { width: min(94%, 440px); max-height: 88%; overflow-y: auto; background: rgba(14, 18, 27, .96); border: 1px solid var(--dc-line); padding: 16px 18px; color: var(--dc-ink); text-align: center;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.dc-kick { font: 700 11px/1 'Segoe UI', sans-serif; letter-spacing: 1.6px; color: var(--dc-muted); text-transform: uppercase; }
.dc-stars { font-size: 26px; letter-spacing: 4px; margin: 6px 0; }
.dc-stars span { color: rgba(255, 255, 255, .22); } .dc-stars span.on { color: var(--dc-gold); text-shadow: 0 0 8px rgba(255, 209, 102, .6); }
.dc-otitle { font: 800 19px/1.3 'Segoe UI', sans-serif; margin: 4px 0; }
.dc-osub { font: 500 13px/1.5 'Segoe UI', sans-serif; color: var(--dc-muted); }
.dc-oband { color: #bef264; font-size: 13.5px; margin: 8px 0 4px; }
.dc-go { margin-top: 10px; width: 100%; min-height: 48px; border: 0; background: linear-gradient(180deg, #bef264, #65a30d); color: #10200a; font: 800 14px/1 'Segoe UI', sans-serif; letter-spacing: 1px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.dc-list { margin: 0; padding-left: 18px; line-height: 1.7; } .dc-list li { margin-bottom: 4px; }
@media (max-width: 760px) {
  .dc-player { padding: 8px 10px; }
  .dc-player-row { gap: 10px; }
  .dc-input { font-size: 16px; }
  .dc-solved-text { font-size: 16.5px; }
}
@media (max-height: 700px) { .dc-scene { display: none; } .dc-says { max-height: 22svh; } }
