/* Shared round-end layer. It covers its positioned parent (the game panel). Games theme it with
   --re-bg, --re-card, --re-ink, --re-muted, --re-line and --re-accent on any ancestor. */
.cc-round-end{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 16px 18px;overflow:auto;overscroll-behavior:contain;background:var(--re-bg,#fffdf8);color:var(--re-ink,#2a2f3a);border-radius:inherit;text-align:center;box-sizing:border-box}
.cc-round-end[hidden],.cc-round-end [hidden]{display:none!important}
.cc-round-end>*{width:100%;max-width:540px;margin:0}
.cc-round-end .cc-re-title{font:800 24px/1.2 'Manrope',system-ui,sans-serif;letter-spacing:-.5px;margin:2px 0 0}
.cc-round-end .cc-re-line{font-size:15px;line-height:1.4;font-weight:700;color:var(--re-muted,#736c7c)}
.cc-re-again{display:flex;flex-direction:column;align-items:center;gap:2px}
.cc-re-play{width:100%;min-height:54px;border:0;border-radius:14px;background:var(--re-accent,#5b3f8f);color:#fff;font:800 19px 'Manrope',system-ui,sans-serif;cursor:pointer;touch-action:manipulation;box-shadow:0 6px 18px color-mix(in srgb,var(--re-accent,#5b3f8f) 35%,transparent)}
.cc-re-play:active{transform:translateY(2px)}
.cc-re-text{min-height:44px;padding:0 10px;border:0;background:none;touch-action:manipulation;color:var(--re-accent,#5b3f8f);font:700 13px 'DM Sans',system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cc-re-label{margin:2px 0 6px;font-size:12px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:var(--re-muted,#736c7c);text-align:left}
.cc-re-card{display:grid;grid-template-columns:132px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid var(--re-line,#e2dccd);border-radius:14px;background:var(--re-card,#fff);color:inherit;text-decoration:none;text-align:left}
.cc-re-card img{width:132px;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:9px;background:var(--re-line,#e2dccd)}
.cc-re-card,.cc-re-thumb{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.cc-re-card:active,.cc-re-thumb:active{transform:scale(.98)}
.cc-re-text:active{opacity:.7}
.cc-re-copy{min-width:0}
.cc-re-card .cc-re-name{display:block;font:800 17px/1.25 'Manrope',system-ui,sans-serif}
.cc-re-verb{display:block;margin-top:3px;font-size:13px;line-height:1.4;color:var(--re-muted,#736c7c)}
.cc-re-go{padding:11px 18px;border-radius:10px;background:var(--re-accent,#5b3f8f);color:#fff;font-weight:800;font-size:14px}
.cc-re-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.cc-re-thumb{display:flex;flex-direction:column;gap:5px;min-width:0;color:inherit;text-decoration:none;text-align:left}
.cc-re-thumb img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:8px;background:var(--re-line,#e2dccd)}
.cc-re-thumb .cc-re-name{font-size:12px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.cc-re-card:focus-visible,.cc-re-thumb:focus-visible,.cc-re-play:focus-visible,.cc-re-text:focus-visible{outline:3px solid var(--re-accent,#5b3f8f);outline-offset:3px}
@media(max-width:480px){
  .cc-round-end{padding:16px 12px 14px;gap:10px}
  .cc-re-card{grid-template-columns:104px minmax(0,1fr);gap:10px}
  .cc-re-card img{width:104px}
  .cc-re-go{grid-column:1/-1;text-align:center}
  .cc-re-thumbs{gap:6px}
}
@media(prefers-reduced-motion:reduce){.cc-re-play:active,.cc-re-card:active,.cc-re-thumb:active{transform:none}}
