/* Dance remix: isolated layout; the legacy Dance selectors do not own this UI. */
body.game-screen-active #dance-game.remix.active { display:grid;grid-template-rows:64px minmax(0,1fr) 22px;gap:8px;overflow:hidden;width:100%;max-width:1500px;margin:auto;color:#f5f5ff; }
#dance-game.remix { --song-color:#5ce9d2; }
.remix [hidden] { display:none!important; }
.remix button { font:inherit;cursor:pointer;min-height:44px;letter-spacing:0;border:1px solid #57758c;border-radius:12px;background:#111d35;color:#eef7ff;padding:8px 14px; }
.remix button:focus-visible,.remix summary:focus-visible,.remix input:focus-visible { outline:3px solid #fff;outline-offset:3px; }
.remix button:disabled { opacity:.45;cursor:default; }
.remix-header { display:flex;align-items:center;gap:20px;min-width:0; }
.remix-header .back-link { margin:0;flex-shrink:0;min-height:44px; }
.remix-brand { flex:1;min-width:0; }
.remix-brand > span,.remix-kicker { font-size:.64rem;font-weight:800;letter-spacing:.17em;color:#8ceae5; }
.remix-brand h1 { margin:3px 0 0;font-size:clamp(1rem,2.2vw,1.8rem);letter-spacing:-.035em;line-height:1.15; }
.remix-tools { display:flex;gap:7px; }
.remix-tools button { font-size:.74rem; }
.remix-show { position:relative;min-height:0;isolation:isolate;overflow:hidden;border:1px solid #345571;border-radius:24px;background:#07152d url('../games/dance-com-pisquinho/stage-remix-v1.png') center/cover no-repeat; }
.remix-show::before { content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#040c2680,transparent 45%,#040c2650); }
.remix-performance { position:absolute;inset:0 55% 0 0;pointer-events:none; }
.remix[data-dance-mode='select'] .remix-performance { visibility:hidden; }
.remix:not([data-dance-mode='playing']) .remix-mascot,.remix:not([data-dance-mode='playing']) .pisquinho-sprite { animation-play-state:paused; }
.remix-marquee { position:absolute;left:15%;top:10%;transform:rotate(-4deg);text-shadow:4px 5px #060d29; }
.remix-marquee > span { font-size:.62rem;letter-spacing:.14em;color:#a4ebf0; }
.remix-marquee strong { display:block;font-size:clamp(2rem,5vw,5rem);line-height:.95;margin-top:18px;letter-spacing:-.07em; }
.remix-marquee em { color:#ffcd68;font-style:normal; }
.remix-mascot { position:absolute;bottom:8%;left:24%;width:58%;max-width:320px;aspect-ratio:192/208;animation:remix-bop .6s ease-in-out infinite;transform-origin:center bottom; }
.remix-mascot .pisquinho-sprite { --sprite-row:0%;animation:pisquinho-sprite-six 1.2s steps(1,end) infinite; }
.remix-mascot[data-pose='left'] .pisquinho-sprite { --sprite-row:20%; }
.remix-mascot[data-pose='right'] .pisquinho-sprite { --sprite-row:10%; }
.remix-mascot[data-pose='up'] .pisquinho-sprite { --sprite-row:30%;animation-name:pisquinho-sprite-four; }
.remix-mascot[data-pose='down'] .pisquinho-sprite { --sprite-row:70%; }
.remix-picker { position:absolute;z-index:6;inset:20px auto 20px 24px;width:min(390px,44%);padding:22px;border:1px solid #82a2be66;border-radius:18px;background:#09172bed;box-shadow:0 14px 35px #0007;display:flex;flex-direction:column;gap:12px;overflow:hidden; }
.remix-picker-options { flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px;scroll-padding-block:6px; }
.remix-picker-options,.remix-controls,.remix-overlay,.remix-overlay > div { scrollbar-width:thin;scrollbar-color:#426b83 #09172b; }
.remix-picker-options::-webkit-scrollbar,.remix-controls::-webkit-scrollbar,.remix-overlay::-webkit-scrollbar { width:5px;height:5px; }
.remix-picker-options::-webkit-scrollbar-track,.remix-controls::-webkit-scrollbar-track,.remix-overlay::-webkit-scrollbar-track { background:#09172b;border-radius:8px; }
.remix-picker-options::-webkit-scrollbar-thumb,.remix-controls::-webkit-scrollbar-thumb,.remix-overlay::-webkit-scrollbar-thumb { background:#426b83;border-radius:8px; }
.remix-picker-options::-webkit-scrollbar-button { display:none;width:0;height:0; }
.remix-miss-fx { position:absolute;z-index:5;inset:0;pointer-events:none;background:linear-gradient(0deg,#d66b8238,transparent 55%);border-bottom:2px solid #eaa2ac88;border-radius:inherit; }
.remix-miss-fx svg { position:absolute;bottom:25%;left:calc(50% - 42px);width:84px;height:34px;fill:none;stroke:#ffc4c9;stroke-width:3;stroke-linecap:round; }
.remix-picker > .remix-start { flex:none;margin-bottom:4px; }
.remix-picker h2 { font-size:2.2rem;letter-spacing:-.05em;margin:6px 0 18px; }
.remix-kicker { margin:0; }
.remix-tracks { display:grid;gap:8px; }
.remix-tracks button { display:flex;align-items:center;gap:12px;min-height:66px;text-align:left;padding:10px; }
.remix-tracks button > span { color:#96b2c6;font-size:.72rem; }
.remix-tracks strong { flex:1;font-size:.95rem; }
.remix-tracks small { display:block;font-size:.64rem;color:#abc4d8;margin-top:5px;font-weight:400; }
.remix-tracks b { font-size:1.4rem;color:#f4bf67; }
.remix button[aria-pressed='true']:not(#remix-sound) { border-color:var(--song-color);background:#164b566e;box-shadow:inset 3px 0 var(--song-color); }
.remix-difficulties { display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:16px 0 10px; }
.remix-difficulties button { padding:8px 4px;font-size:.78rem; }
.remix-best,.remix-help { font-size:.69rem;color:#bdd1dd;line-height:1.6; }
.remix-best strong { color:#ffce75; }
.remix-calibration { font-size:.68rem;margin:12px 0;color:#c7d9e6; }
.remix-calibration summary { cursor:pointer;padding:8px 0; }
.remix-calibration label { display:block;line-height:1.5; }
.remix-calibration input { width:100%;accent-color:#65e6d1; }
.remix .remix-start { width:100%;min-height:50px;background:#f9ca6d;color:#201e29;border-color:#ffe0a2;font-weight:900;box-shadow:0 4px 0 #997342; }
.remix-help { margin:14px 0 0;text-align:center; }
.remix-highway { position:absolute;top:12px;bottom:12px;right:6%;width:min(48%,560px);display:grid;grid-template-rows:auto auto minmax(0,1fr) 26px;gap:7px;min-height:0;padding:14px;border:1px solid #a1b8e37d;border-radius:18px;background:linear-gradient(#0c1537f5,#101329e8);box-shadow:0 15px 40px #0007; }
.remix-now { display:flex;justify-content:space-between;gap:10px;align-items:center;min-width:0; }
.remix-now strong { display:block;font-size:.95rem;color:#ffdb99; }
.remix-now small { display:block;font-size:.6rem;color:#a5b9d0;margin-top:3px; }
.remix-now > span { font-size:.64rem;border:1px solid #6ba5aa;padding:5px 8px;border-radius:20px;color:#9ffff0; }
.remix-stats { display:grid;grid-template-columns:1.3fr 1fr 1fr;padding:8px 0;border-block:1px solid #b5bfe52b;text-align:center; }
.remix-stats span { display:block;font-size:.53rem;letter-spacing:.1em;color:#adbed8; }
.remix-stats strong { font-size:1.3rem;font-variant-numeric:tabular-nums;color:#fff; }
.remix-runway { position:relative;overflow:hidden;min-height:0;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:10px;background:#0b122beb; }
.remix-lanes { position:absolute;inset:0;display:grid;grid-template-columns:repeat(4,1fr);pointer-events:none; }
.remix-lanes i { border-right:1px solid #a9caff25;background:linear-gradient(transparent,#9388ff10); }
.remix-lanes i:nth-child(even) { background:linear-gradient(transparent,#00eaff0e); }
.remix-note { --lane-color:#dba3ff;position:absolute;top:0;width:25%;height:0;will-change:transform;pointer-events:none; }
.remix-note[data-lane='1'],[data-remix-lane='1'] { --lane-color:#69d6ff; }
.remix-note[data-lane='2'],[data-remix-lane='2'] { --lane-color:#93eda1; }
.remix-note[data-lane='3'],[data-remix-lane='3'] { --lane-color:#ffa09c; }
[data-remix-lane='0'] { --lane-color:#dba3ff; }
.remix-note b { position:absolute;top:0;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:clamp(34px,4.4vw,58px);height:clamp(34px,4.4vw,58px);border:2px solid #fff9;border-radius:13px;background:var(--lane-color);color:#171b36;font:900 clamp(25px,3vw,40px)/1 system-ui;box-shadow:0 4px 0 #0007,0 0 16px color-mix(in srgb,var(--lane-color),transparent 75%); }
.remix-note i { position:absolute;bottom:0;left:calc(50% - 7px);height:var(--tail,0);width:14px;border-radius:8px;background:var(--lane-color);opacity:.65; }
.remix-note.sustained b { filter:brightness(1.3); }
.remix-receptors { position:absolute;bottom:0;inset-inline:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:68px;z-index:3;gap:5px; }
.remix .remix-receptors button { display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 0;border:0;border-radius:0;background:transparent;color:var(--lane-color);box-shadow:none;touch-action:none;user-select:none;-webkit-user-select:none; }
.remix-receptors b { font:900 30px/1 system-ui; }
.remix-receptors small { display:none; }
.remix .remix-receptors button.held { background:transparent;box-shadow:none; }
#remix-notes,.remix-notes-layer { position:absolute;inset:0;z-index:4;pointer-events:none; }
.remix-judge { position:absolute;left:0;right:0;top:25%;text-align:center;color:#ffe098;font-weight:900;font-size:clamp(1rem,2vw,1.5rem);text-shadow:0 3px 6px #000;z-index:4;pointer-events:none; }
.remix-judge[data-kind='miss'] { color:#ffb7b9; }
.remix-count { position:absolute;inset:20% 0 auto;text-align:center;font-size:4rem;font-weight:900;color:#fff;z-index:4;pointer-events:none; }
.remix-progress { display:flex;align-items:center;gap:10px; }
.remix-progress progress { width:100%;height:5px;accent-color:var(--song-color); }
.remix-progress span { min-width:32px;font-size:.62rem;color:#bed3df;font-variant-numeric:tabular-nums; }
.remix-message { margin:0;text-align:center;color:#bddbe6;font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.remix-overlay { position:absolute;inset:0;z-index:8;background:#030920d9;display:grid;place-items:center;padding:16px;overflow:auto; }
.remix-overlay > div { width:min(100%,420px);padding:24px;border:1px solid #96afc5;border-radius:18px;background:#0c1c36;text-align:center; }
.remix-overlay h2 { font-size:1.8rem;margin:10px 0; }
.remix-overlay p { line-height:1.6;font-size:.85rem; }
.remix-overlay button { width:100%;margin-top:12px; }
@keyframes remix-bop { 50% {transform:translateY(5px) scaleY(.97);} }
@media(max-width:700px) {
  body.game-screen-active #dance-game.remix.active { grid-template-rows:54px minmax(0,1fr) 20px;gap:5px; }
  .remix-header { gap:7px; }#dance-game .remix-header .back-link { min-width:82px;width:82px;padding:8px 5px;font-size:.63rem!important;min-height:44px; }
  .remix-brand > span { display:none; }.remix-brand h1 { font-size:.87rem; }
  .remix-tools { gap:4px; }.remix-tools button { font-size:.58rem;padding:7px; }
  .remix-show { border-radius:16px; }
  .remix-picker { inset:10px;width:auto;padding:16px;background:#09172bf2; }
  .remix-picker h2 { font-size:1.65rem;margin-bottom:12px; }
  .remix-highway { inset:8px;width:auto;padding:9px;gap:5px; }
  .remix[data-dance-mode='select'] .remix-highway { visibility:hidden; }
  .remix-performance { display:none; }
  .remix-note b { width:44px;height:44px;font-size:30px; }
  .remix-message { font-size:.61rem; }
}
@media(max-height:530px) and (min-width:701px) {
  body.game-screen-active #dance-game.remix.active { grid-template-rows:44px minmax(0,1fr) 18px;gap:4px; }
  .remix-brand > span { display:none; }.remix-brand h1 { font-size:1.05rem; }
  .remix-picker { inset:6px auto 6px 8px;width:45%;padding:12px; }
  .remix-picker h2 { font-size:1.4rem;margin:3px 0 8px; }
  .remix-tracks { gap:4px; }.remix-tracks button { min-height:44px;padding:5px 8px; }.remix-tracks strong { font-size:.75rem; }.remix-tracks small { margin-top:2px;font-size:.54rem; }
  .remix-difficulties { margin:8px 0; }.remix-best,.remix-help { margin:6px 0;font-size:.58rem; }
  .remix-highway { top:5px;bottom:5px;right:2%;width:47%;padding:7px;gap:3px;grid-template-rows:auto auto minmax(0,1fr) 14px; }
  .remix-stats { padding:3px 0; }.remix-stats strong { font-size:1rem; }.remix-now small { display:none; }
  .remix-receptors { height:50px; }.remix-receptors small { display:none; }.remix-note b { width:32px;height:32px;font-size:24px;border-radius:9px; }
  .remix-marquee { top:9%; }.remix-marquee strong { font-size:2.1rem; }.remix-mascot { width:36%;left:38%;bottom:6%; }
}
@media(prefers-reduced-motion:reduce) { .remix-mascot,.remix-mascot .pisquinho-sprite { animation:none!important; }.remix button { transition:none!important; } }

/* Drawn arrows share geometry and lane colors; no font glyphs or tile boxes. */
.remix-arrow { display:block;width:100%;height:100%;overflow:visible;transform:rotate(var(--turn));filter:drop-shadow(0 3px 0 #040914) drop-shadow(0 0 5px var(--lane-color)); }
.remix-arrow path { stroke-linejoin:round; }
.remix-arrow .arrow-outline { fill:var(--lane-color);stroke:#07142d;stroke-width:8; }
.remix-arrow .arrow-face { fill:var(--lane-color);stroke:#fff;stroke-width:2.2; }
.remix-arrow .arrow-shine { fill:none;stroke:#fff;stroke-width:4;stroke-linecap:round;opacity:.42; }
#dance-game .remix-note b { width:64px;height:64px;padding:0;background:none;border:0;border-radius:0;box-shadow:none; }
#dance-game .remix-receptors b { width:46px;height:46px; }
.remix-receptors button.held .arrow-face { fill:#fff;stroke:var(--lane-color); }
body.game-screen-active #dance-game.remix.active { grid-template-rows:64px minmax(0,1fr) 44px; }
.remix-footer { display:flex;align-items:center;justify-content:center;gap:12px;min-width:0; }
.remix-footer .remix-message { min-width:0; }
#dance-game #remix-action { flex-shrink:0;font-size:.65rem;min-height:40px;padding:5px 10px;opacity:.7; }
.remix-controls { width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;margin:auto;padding:22px;border:1px solid #70c5e8;border-radius:20px;background:#09172e;color:#eff8ff;box-shadow:0 20px 80px #000b; }
.remix-controls::backdrop { background:#010714d9; }
.remix-controls h2 { margin:0;font-size:1.5rem; }
.remix-controls p { font-size:.78rem;line-height:1.5;color:#bbd7e8; }
.remix-binding-row { display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px;align-items:center;margin:8px 0; }
.remix-binding-row strong { font-size:.8rem; }
.remix-binding-row select { min-width:0;width:100%;min-height:44px;border:1px solid #639ebd;border-radius:9px;padding:7px;background:#122e49;color:#fff;font:inherit; }
.remix-menu-actions { display:flex;gap:8px;justify-content:flex-end; }
.remix-menu-actions button { font-size:.75rem; }
@media(max-width:700px) {
  body.game-screen-active #dance-game.remix.active { grid-template-rows:54px minmax(0,1fr) 44px; }
  #dance-game .remix-note b { width:54px;height:54px; }
  #dance-game .remix-receptors b { width:42px;height:42px; }
  .remix-controls { padding:14px; }.remix-binding-row { gap:5px; }.remix-binding-row strong { font-size:.7rem; }
}
@media(max-height:530px) and (min-width:701px) {
  body.game-screen-active #dance-game.remix.active { grid-template-rows:44px minmax(0,1fr) 40px; }
  #dance-game .remix-note b { width:40px;height:40px; }
  #dance-game .remix-receptors b { width:34px;height:34px; }
}

/* High-BPM charts and local head-to-head use the same audio clock. */
.remix-difficulties { grid-template-columns:repeat(4,minmax(0,1fr)); }
.remix-difficulties button:last-child { color:#ffb69a; }
.remix-modes { display:grid;grid-template-columns:1fr 1fr;gap:6px; }
.remix-modes button { font-size:.75rem;padding:8px 5px; }
.remix-mascot { animation-duration:var(--beat-duration,.6s); }
.remix-stats { grid-template-columns:1.2fr .8fr 1fr 1fr;align-items:center; }
.remix-energy meter { display:block;width:85%;height:14px;margin:8px auto;accent-color:#66f3b3; }
.remix-energy meter::-webkit-meter-optimum-value { background:linear-gradient(90deg,#6abff5,#75f9b2); }
#remix-bind-player { width:100%;min-height:44px;background:#122e49;color:#fff;border:1px solid #639ebd;border-radius:9px;padding:7px; }
#dance-game[data-players='2'] .remix-performance { display:none; }
#dance-game[data-players='2'] .remix-highway { left:14px;right:auto;width:calc(50% - 21px); }
#dance-game[data-players='2'] [data-remix-player='1'] { left:auto;right:14px;border-color:#ffabcf; }
#dance-game[data-players='2'][data-dance-mode='select'] .remix-highway { visibility:hidden; }
#dance-game[data-players='2'][data-dance-mode='select'] .remix-picker { left:50%;transform:translateX(-50%);width:min(480px,calc(100% - 32px)); }
#dance-game[data-players='2'] .remix-now strong { font-size:.8rem; }
/* Note splash: white-core droplets and curved streaks, never a screen flash. */
.remix .remix-receptors button { position:relative;overflow:visible; }
.remix-receptor-guide { display:none; }
html[data-arcade-virtual-controls='off'] .remix-receptor-guide { display:flex;position:relative;align-items:center;justify-content:center;color:var(--lane-color);pointer-events:none; }
.remix-receptor-guide[data-remix-guide='0'] { --lane-color:#dba3ff; }
.remix-receptor-guide[data-remix-guide='1'] { --lane-color:#69d6ff; }
.remix-receptor-guide[data-remix-guide='2'] { --lane-color:#93eda1; }
.remix-receptor-guide[data-remix-guide='3'] { --lane-color:#ffa09c; }
.remix-receptor-guide.held .arrow-face { fill:#fff;stroke:var(--lane-color); }
.remix-runway { overflow:visible; }
.remix-lanes,#remix-notes,.remix-notes-layer { overflow:hidden;border-radius:inherit; }
.remix-splash { position:absolute;left:50%;top:50%;width:128px;height:128px;pointer-events:none;z-index:5;transform:translate(-50%,-50%); }
.remix-splash > svg { display:block;width:100%;height:100%;overflow:visible; }
.splash-arcs { fill:none;stroke:var(--lane-color);stroke-width:7;stroke-linecap:round; }
.splash-core { stroke:#fff;stroke-width:3; }
.splash-drops { fill:#fff;stroke:var(--lane-color);stroke-width:3;stroke-linejoin:round; }
.remix-singer .pisquinho-sprite { animation:none!important; }
.remix-microphone { position:absolute;left:-10%;top:48%;width:38%;height:auto;z-index:2;pointer-events:none; }
.remix-singer[data-singing='true'] .remix-microphone { filter:drop-shadow(0 0 3px #75ffdd); }
.remix-mini { display:none;position:relative;width:40px;height:44px;flex:0 0 40px; }
#dance-game[data-players='2'] .remix-mini { display:block; }
#remix-vocal { width:100%;min-height:44px;margin:0 0 12px;font-size:.8rem; }
@media(max-width:700px) {
  .remix-mini { display:block; }
  .remix-splash { width:112px;height:112px; }
  #dance-game[data-players='2'] .remix-mini { width:26px;height:28px;flex-basis:26px; }
  #dance-game[data-players='2'] .remix-now { gap:5px; }
  #dance-game[data-players='2'] .remix-splash { width:88px;height:88px; }
}
@media(max-height:530px) and (min-width:701px) {
  #dance-game[data-players='2'] .remix-mini { width:26px;height:28px;flex-basis:26px; }
  .remix-splash { width:96px;height:96px; }
}
@media(max-width:700px) {
  .remix-difficulties button { font-size:.65rem; }
  #dance-game[data-players='2'] .remix-highway { left:8px;right:8px;width:auto;top:8px;bottom:auto;height:calc(50% - 12px);padding:6px;gap:3px;grid-template-rows:auto auto minmax(0,1fr) 12px; }
  #dance-game[data-players='2'] [data-remix-player='1'] { top:auto;bottom:8px; }
  #dance-game[data-players='2'] .remix-now small { display:none; }
  #dance-game[data-players='2'] .remix-stats { padding:3px 0; }
  #dance-game[data-players='2'] .remix-stats strong { font-size:.9rem; }
  #dance-game[data-players='2'] .remix-receptors { height:48px; }
  #dance-game[data-players='2'] .remix-receptors b { width:32px;height:32px; }
  #dance-game[data-players='2'] .remix-note b { width:36px;height:36px; }
  #dance-game[data-players='2'] .remix-judge { top:4%;font-size:.75rem; }
  #dance-game[data-players='2'] .remix-count { font-size:2rem;top:2%; }
}

/* Dance com Pisquinho: o mesmo resultado cobre solo, duelo e fim de energia. */
.remix:not([data-dance-mode='finished']) .remix-finale-only { display:none; }

.remix[data-dance-mode='finished'] .remix-overlay {
  align-items: safe center;
  padding: clamp(8px, 2vw, 22px);
  background: linear-gradient(145deg, #22112de8, #061922ee);
}

.remix[data-dance-mode='finished'] .remix-finale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .83fr);
  align-items: center;
  gap: clamp(12px, 2.5vw, 25px);
  width: min(100%, 930px);
  min-width: 0;
  max-height: none;
  padding: clamp(10px, 2vw, 22px);
  border: 1px solid #8b6599;
  border-radius: 20px;
  background: linear-gradient(140deg, #311841, #171d35 63%, #183637);
  box-shadow: 0 14px 50px #0308179c;
  animation: none;
  text-align: left;
  box-sizing: border-box;
}

.remix[data-dance-mode='finished'] .remix-overlay.is-game-over .remix-finale { border-color:#be8a6f; }
.remix-finale > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  color: #f1dcd1;
  background: #24223c;
}
.remix-finale-body { min-width: 0; }
.remix[data-dance-mode='finished'] .remix-finale h2 {
  margin: 0 0 8px;
  color: #ffe5aa;
  font-size: clamp(1.55rem, 3.3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-shadow: none;
}
.remix[data-dance-mode='finished'] #remix-result { margin: 0; color: #e4f1f2; line-height: 1.38; }
.remix[data-dance-mode='finished'] .remix-finale-joke {
  margin: 11px 0 0;
  color: #b2f3e3;
  font-weight: 700;
  line-height: 1.35;
}
.remix-finale-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.remix-finale-actions button { flex: 1 1 116px; width: auto; min-height: 44px; margin: 0; padding: 8px; }
.remix-finale-actions #remix-retry { color:#22152e; background:#ffcf84; border-color:#ffe3b9; }
.remix-finale-actions [data-screen] { color:#e5fff4; background:#214b4b; border-color:#80bbae; }
.remix[data-dance-mode='finished'] #remix-choose { min-height: 44px; margin-top: 7px; }
.remix[data-dance-mode='finished'] #remix-save { min-height: 44px; margin-top: 10px; }
.remix-finale button:focus-visible, .remix-finale summary:focus-visible { outline: 3px solid #9eeedc; outline-offset: 3px; }
.remix-finale-credits { margin-top: 9px; color: #d4c4e4; font-size: .78rem; }
.remix-finale-credits summary { cursor: pointer; min-height: 30px; padding: 5px 0; }
.remix-finale-credits dl { display: grid; gap: 3px; margin: 4px 0 0; }
.remix-finale-credits dl > div { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.remix-finale-credits dd { margin: 0; color: #ffe5aa; }

@media (max-width: 700px) {
  .remix[data-dance-mode='finished'] .remix-finale {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 500px);
    border-radius: 16px;
  }
  .remix-finale > img { border-radius: 10px; }
}
