.round-show-layer {
  position: fixed;
  inset: 0;
  z-index: 46;
  display: grid;
  place-items: start center;
  padding: clamp(5.25rem, 15vh, 9rem) 4vw 1rem;
  pointer-events: none;
  visibility: hidden;
  contain: layout paint;
}
.round-show-layer[data-active="1"] { visibility: visible; }
.question-count.round-show-preview { color: #632078; text-shadow: 0 0 2px #fff5a8, 0 0 8px rgba(255,190,73,.95); transform: scale(1.05); transition: color .18s ease, transform .18s ease; }
.round-show-layer[data-kind="preview"] { padding-top: clamp(8.6rem, 24vh, 12rem); }
.round-show-layer[data-kind="preview"] .round-show-banner { width: min(76vw, 22rem); padding: .35rem .7rem .4rem; border-width: 1px; }
.round-show-layer[data-kind="preview"] .round-show-message { font-size: clamp(1rem, 3.4vw, 1.65rem); }
.round-show-layer[data-kind="preview"] .round-show-detail { font-size: clamp(.65rem, 1.8vw, .85rem); }
.round-show-layer[data-kind="finish"] .round-show-banner { --banner-scale: 1; }
.round-show-layer[data-kind="finish"][data-rank="1"] .round-show-banner { --banner-scale: .92; background: linear-gradient(125deg, rgba(130,103,192,.94), rgba(99,87,178,.92)); }
.round-show-layer[data-kind="finish"][data-rank="2"] .round-show-banner { --banner-scale: .96; }
.round-show-layer[data-kind="finish"][data-rank="3"] .round-show-banner { --banner-scale: 1; background: linear-gradient(125deg, rgba(72,145,206,.95), rgba(112,86,204,.94)); }
.round-show-layer[data-kind="finish"][data-rank="4"] .round-show-banner { --banner-scale: 1.04; background: linear-gradient(125deg, rgba(214,92,177,.95), rgba(108,79,216,.94)); }
.round-show-layer[data-kind="finish"][data-rank="5"] .round-show-banner { --banner-scale: 1.08; background: linear-gradient(125deg, rgba(239,87,146,.96), rgba(103,61,213,.95)); }
.round-show-layer[data-kind="finish"][data-rank="6"] .round-show-banner { --banner-scale: 1.14; border-width: 3px; background: linear-gradient(125deg, rgba(255,83,126,.97), rgba(74,46,195,.97)); }
.round-show-banner {
  width: min(92vw, 42rem);
  padding: .65rem 1.1rem .7rem;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 1.1rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(69,23,87,.55);
  background: linear-gradient(125deg, rgba(210,76,170,.94), rgba(117,83,211,.92));
  box-shadow: 0 10px 28px rgba(57,22,96,.28), 0 0 0 5px rgba(255,224,250,.18);
  opacity: 0;
  --banner-scale: 1;
  transform: translateY(-.5rem) scale(calc(var(--banner-scale) * .94));
}
.round-show-banner.is-visible { animation: round-show-in .28s cubic-bezier(.2,.9,.25,1.2) both; }
.round-show-layer[data-kind="correct"][data-variant="medium"] .round-show-banner { border-color: #fff0a9; background: linear-gradient(125deg, rgba(226,105,70,.95), rgba(208,74,171,.94)); }
.round-show-layer[data-kind="correct"][data-variant="high"] .round-show-banner { --banner-scale: 1.05; background: linear-gradient(125deg, rgba(236,71,150,.96), rgba(107,75,218,.96)); }
.round-show-layer[data-kind="correct"][data-variant="peak"] .round-show-banner { --banner-scale: 1.1; border-width: 3px; background: linear-gradient(125deg, rgba(255,87,126,.97), rgba(83,54,205,.97)); }
.round-show-layer[data-kind="correct"][data-variant="medium"] .round-show-banner.is-visible { animation-duration: .24s; }
.round-show-layer[data-kind="correct"][data-variant="high"] .round-show-banner.is-visible { animation-duration: .2s; }
.round-show-layer[data-kind="correct"][data-variant="peak"] .round-show-banner.is-visible { animation-duration: .16s; }
.round-show-eyebrow { font-size: clamp(.72rem, 1.8vw, .95rem); font-weight: 800; letter-spacing: .08em; }
.round-show-message { margin-top: .12rem; font-size: clamp(1.55rem, 5vw, 3rem); line-height: 1.05; font-weight: 950; }
.round-show-detail { margin-top: .2rem; font-size: clamp(.78rem, 2vw, 1rem); font-weight: 700; }
@keyframes round-show-in { 0% { opacity: 0; transform: translateY(-.5rem) scale(calc(var(--banner-scale) * .94)); } 100% { opacity: 1; transform: translateY(0) scale(var(--banner-scale)); } }
@media (prefers-reduced-motion: reduce) {
  .round-show-banner.is-visible { animation: none; opacity: 1; transform: none; }
}
