.result-card-dialog{background:0 0;border:none;width:100%;max-width:min(640px,100vw - 32px);padding:0}.result-card-dialog::backdrop{background:#0009}.result-card-dialog__box{background:var(--bg-card);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;padding:16px}.result-card-dialog__box img,.result-card-dialog__placeholder{aspect-ratio:1200/630;border-radius:10px;width:100%;display:block}.result-card-dialog__placeholder{background:var(--bg-secondary);color:var(--text-secondary);font-size:var(--fs-body);justify-content:center;align-items:center;display:flex}.result-card-dialog__actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px;display:flex}.streak-meter{text-align:center;flex-shrink:0;width:72px}.streak-meter__label{font-size:var(--fs-caption);text-transform:uppercase;color:var(--text-muted);letter-spacing:.05em}.streak-meter__value{font-variant-numeric:tabular-nums;color:var(--streak-color);align-items:center;gap:4px;font-size:1rem;font-weight:800;transition:color .3s;display:inline-flex}.streak-meter__count{display:inline-block}.streak-icon{flex-shrink:0;display:block}.streak-icon__bar{fill:currentColor;transform-box:fill-box;transform-origin:bottom}.streak-icon--cold{opacity:.35}.streak-icon--beat .streak-icon__bar{animation:.8s ease-in-out infinite streak-eq}.streak-icon--beat .streak-icon__bar:nth-child(2){animation-delay:-.27s}.streak-icon--beat .streak-icon__bar:nth-child(3){animation-delay:-.53s}@keyframes streak-eq{0%,to{transform:scaleY(1)}50%{transform:scaleY(.45)}}.streak-meter__track{background:var(--border);border-radius:2px;width:44px;height:3px;margin:3px auto 0;overflow:hidden}.streak-meter__fill{background:var(--streak-color);border-radius:2px;height:100%;transition:width .2s,background-color .3s}.streak-pop{animation:.22s ease-out streak-pop}@keyframes streak-pop{0%{transform:scale(1.45)}to{transform:scale(1)}}.streak-callout{pointer-events:none;z-index:2;border-radius:12px;justify-content:center;align-items:center;gap:10px;display:flex;position:absolute;inset:0}.streak-callout--tier{background:color-mix(in srgb, var(--bg-secondary) 82%, var(--streak-color));animation:1.4s forwards streak-callout-fade}.streak-callout__inner{flex-wrap:wrap;justify-content:center;align-items:baseline;column-gap:12px;display:inline-flex}.streak-callout__name{letter-spacing:-.02em;color:var(--streak-color);text-shadow:0 2px 18px color-mix(in srgb, var(--streak-color) 55%, transparent);font-size:clamp(1.5rem,5vw,2.1rem);font-weight:900}.streak-callout__count{font-size:var(--fs-small);color:var(--text-secondary);font-weight:700}.streak-callout--top .streak-callout__name{background:linear-gradient(90deg,#f472b6,#facc15,#4ade80,#60a5fa,#a78bfa);color:#0000;-webkit-background-clip:text;background-clip:text}.streak-callout[data-motion=full].streak-callout--tier .streak-callout__inner{animation:.55s cubic-bezier(.2,1.6,.4,1) streak-burst}.streak-callout--break{background:var(--bg-secondary);color:var(--text-secondary);font-weight:700;font-size:var(--fs-body);animation:1.8s forwards streak-callout-fade}@keyframes streak-burst{0%{opacity:0;transform:scale(.4)rotate(-6deg)}60%{opacity:1;transform:scale(1.18)rotate(2deg)}to{transform:scale(1)rotate(0)}}@keyframes streak-callout-fade{0%,70%{opacity:1}to{opacity:0}}.streak-glow{border-radius:12px;transition:box-shadow .4s}.streak-glow[data-tier="1"]{box-shadow:0 0 0 1px color-mix(in srgb, var(--streak-color) 55%, transparent)}.streak-glow[data-tier="2"],.streak-glow[data-tier="3"],.streak-glow[data-tier="4"]{box-shadow:0 0 0 1px var(--streak-color), 0 0 22px color-mix(in srgb, var(--streak-color) 35%, transparent)}.streak-glow[data-motion=full][data-tier="2"],.streak-glow[data-motion=full][data-tier="3"],.streak-glow[data-motion=full][data-tier="4"]{animation:1.6s ease-in-out infinite streak-glow-pulse}@keyframes streak-glow-pulse{50%{box-shadow:0 0 0 1px var(--streak-color), 0 0 34px color-mix(in srgb, var(--streak-color) 50%, transparent)}}@media (prefers-reduced-motion:reduce){.streak-pop,.streak-icon--beat .streak-icon__bar,.streak-callout[data-motion=full].streak-callout--tier .streak-callout__inner,.streak-glow[data-motion=full]{animation:none!important}}.game-area{flex-direction:column;gap:16px;min-width:0;display:flex}.lyric-stage{border:1px solid var(--border-strong);background:var(--bg-sunken);border-radius:24px;flex-direction:column;gap:clamp(14px,2.4vw,22px);padding:clamp(14px,2.6vw,28px);display:flex}.game-area--line .lyric-stage{border-radius:16px;padding:clamp(12px,2vw,18px)}.lyric-stage__head{flex-direction:column;gap:10px;display:flex}.lyric-stage__status{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.lyric-stage__status .status-pill{white-space:normal}.lyric-stage__meta{font-size:var(--fs-small);color:var(--text-secondary);font-variant-numeric:tabular-nums}.lyric-stage__track{align-items:center;gap:6px;display:flex}.lyric-stage__bar{background:var(--border-strong);border-radius:999px;flex:1;height:8px;overflow:hidden}.lyric-stage__bar--clip{flex:0 0 28%}.lyric-stage__bar span{background:var(--accent);border-radius:999px;height:100%;transition:width .3s linear;display:block}.lyric-stage__rest{border:1px dashed var(--border-strong);border-radius:999px;flex:1;height:8px}.lyric-stage__clip{font-size:var(--fs-small);color:var(--text-secondary);flex-wrap:wrap;justify-content:space-between;gap:6px 16px;display:flex}.lyric-stage__unlock svg{vertical-align:-2px;margin-inline-end:6px}.lyric-stage__btn{white-space:nowrap;border-radius:14px;flex-shrink:0;min-height:48px;padding:0 16px}.game-area__stats{position:relative}.stat-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.stat-tile{border:1px solid var(--border);background:var(--bg-card);border-radius:16px;flex-direction:column;gap:2px;min-width:0;padding:14px 18px;display:flex;position:relative}.stat-tile__value{font-family:var(--font-display);color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:clamp(1.4rem,2.6vw,1.875rem);font-weight:700;line-height:1.1}.stat-tile__label{font-size:var(--fs-small);color:var(--text-secondary)}.stat-tile__streak{top:10px;position:absolute;inset-inline-end:12px}.game-hint{font-size:var(--fs-small);color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;display:flex}.game-hint kbd{border:1px solid var(--border-strong);font-family:var(--font-display);color:var(--text-primary);border-radius:6px;padding:2px 8px;font-weight:600}.game-hint span{margin-inline-start:12px}.end-layout{flex-direction:column;gap:24px;margin-top:8px;scroll-margin-top:16px;display:flex}.end-layout__top--aside{flex-direction:column;gap:24px;display:flex}@media (width<=640px){.game-area{gap:10px}.game-area__stats{order:-1}.stat-tiles{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:6px}.stat-tile--words{display:none}.stat-tile{border-radius:12px;padding:8px 10px}.stat-tile__label{font-size:var(--fs-caption)}.stat-tile__streak{top:6px;inset-inline-end:8px}.lyric-stage{border-radius:16px}.lyric-stage__btn{padding:0 12px}.game-hint{display:none}}@media (prefers-reduced-motion:reduce){.lyric-stage__bar span{transition:none}}
