/* Round colours belong to the task, including its place in the personal album. */
[data-round="1"] { --round-ink: #a4e7ff; --round-surface: #183745; }
[data-round="2"] { --round-ink: #f7b7ed; --round-surface: #412943; }
[data-round="3"] { --round-ink: #ffd095; --round-surface: #453426; }
.hero .tagline { margin-bottom: 24px; }
.round-top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; min-height: 24px; }
.round-top > .badge { margin-left: auto; }
.round-top .receipt-slot:empty { display: none; }
#connection-note { margin: 0 0 8px; color: #ffdfa9; }
#submission-clock { font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.receipt-slot .toast {
  position: static; inset: auto; transform: none; background: transparent; box-shadow: none;
  padding: 0; border: 0; color: var(--mint); font-size: 13px;
}
.round-editor .progress li.current { color: var(--round-ink); border-color: var(--round-ink); }
.round-cover { position: relative; isolation: isolate; padding: 4px 0 12px; }
.editor-panel { overflow: hidden; }
.round-cover::before {
  content: ""; position: absolute; z-index: -1; inset: -26px -26px 0; pointer-events: none;
  background: radial-gradient(ellipse at 95% -18%, var(--round-surface) 3%, transparent 74%);
}
.round-cover::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; opacity: .52;
  width: 110px; height: 54px; right: 25px; top: -14px;
}
[data-round="1"] .round-cover::after {
  background: repeating-radial-gradient(ellipse at 90% -5%,transparent 0 7px,#63b8c2 8px,transparent 10px 15px);
  clip-path: polygon(0 82%, 45% 16%, 100% 0, 100% 39%, 58% 43%, 18% 100%);
}
[data-round="2"] .round-cover::after {
  background: radial-gradient(circle at 22% 69%,#f7b7ed 2px,transparent 3px),
    repeating-linear-gradient(113deg,transparent 0 11px,#b684c6 12px 14px,transparent 15px 19px);
  clip-path: polygon(1% 84%, 16% 42%, 43% 46%, 59% 12%, 94% 1%, 75% 41%, 48% 49%, 39% 70%);
}
[data-round="3"] .round-cover::after {
  background: repeating-conic-gradient(from 42deg at 94% -10%,transparent 0 10deg,#ffc276 11deg 12deg,transparent 13deg 19deg);
  clip-path: ellipse(50% 45% at 58% 30%);
}
.round-cover .eyeline { color: var(--round-ink); }
.round-cover .scene-badge { width: 56px; height: 50px; }
.round-cover .task-title { margin: 9px 0 10px; }
.round-cover .task-text { margin: 0; }
.field-notes { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 5px; }
.field-notes .mode-note { margin: 0; }
#prompt-controls { border: 0; padding: 0; margin-inline: 0; min-inline-size: 0; }
#prompt-controls .primary { width: 100%; }
.prompt-help { margin-top: 13px; }
.prompt-help summary { min-height: 32px; }
#previous-rounds { order: -1; }
.album-heading h3 { margin: 2px 0 12px; }
.round-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.round-slot {
  position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden;
  aspect-ratio: 0.82; border: 1px solid var(--line); border-radius: 9px;
  background: linear-gradient(148deg,var(--round-surface),#131c25 75%); color: var(--round-ink);
}
.round-slot::after {
  content: ""; position: absolute; inset: 7px; z-index: -1; border-radius: 5px;
  border: 1px solid currentColor; opacity: .18;
}
.round-slot > .ico { width: 32%; height: auto; opacity: .75; }
.round-slot > img { width: 100%; height: 100%; object-fit: cover; }
.round-slot small { position: absolute; bottom: 5px; left: 8px; font-weight: 800; font-variant-numeric: tabular-nums; }
.round-slot[data-state="ready"] small { background: #111b24dc; color: white; padding: 0 4px; border-radius: 3px; }
.round-slot[data-state="empty"] { border-style: dashed; }
#previous-rounds > .muted { margin-top: 10px; }
.collect-media { background: radial-gradient(ellipse at 20% 0%,var(--round-surface),#15222d); }
.collect-media.decoding > img { opacity: 0; }
.collect-body .scene-badge[data-scene="ARENA_REVEAL"] { height: 32px; width: 32px; }
.retry-portrait { position: absolute; }
.my-prompt { margin: 7px 0 12px; padding-left: 12px; border-left: 2px solid var(--round-ink); color: #d4e0e2; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 750px) {
  .hero-shell .hero { position: relative; gap: 0; min-height: 0; }
  .hero .hero-copy > .eyeline { padding-right: 80px; }
  .hero .hero-copy h1 { max-width: calc(100% - 112px); font-size: clamp(31px,7.7vw,53px); margin: 14px 0 9px; }
  .hero .hero-copy h1 br { display: block; }
  .hero .hero-copy h1 span::before { content: none; }
  .hero .tagline { font-size: 16px; margin: 0 0 19px; line-height: 1.35; }
  .hero-shell .hero .deck {
    position: absolute; top: 22px; right: 9px; width: 95px; height: 104px;
    min-height: 0; margin: 0; pointer-events: none;
  }
  .hero-shell .hero .deck-card { width: 65px; padding: 2px; border-radius: 7px; }
  .hero .deck .deck-body { border-radius: 5px; }
  .hero .deck .deck-card.front { transform: translate(-50%,-49%) rotate(7deg); }
  .hero .deck .card-title, .hero .deck .card-ident, .hero .deck .deck-spark,
  .hero .deck .deck-label, .hero .deck::before, .hero .deck::after { display: none; }
  .round-editor { padding-top: 12px; }
  .round-editor .progress { margin-bottom: 12px; }
  .editor-panel { padding: 15px; }
  .round-cover { padding-top: 0; padding-bottom: 10px; }
  .round-cover .scene-badge { width: 42px; height: 35px; }
  .round-cover .task-title { font-size: clamp(26px,6.2vw,38px); margin: 4px 0 9px; }
  .round-cover .task-text { font-size: 16px; line-height: 1.45; }
  #prompt { min-height: 109px; font-size: 16px; }
  .prompt-tools { margin: 0 0 5px; }
  .round-slot { max-height: 125px; }
  .prompt-help summary { min-height: 40px; }
  .header-in nav a[aria-current] { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .round-cover .task-title { animation: receive-task .22s ease-out; }
  @keyframes receive-task { from { opacity: .45; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
