/* release.css — the score box in the end card and the leaderboard card. Uses the game's own colours and buttons (game.css). */
.relBox { margin: 18px 0 4px; background: var(--ink2); border-radius: 14px; padding: 16px 18px; }
.relTop { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.relScore { display: flex; flex-direction: column; min-width: 150px; }
.relScore small { font-size: 13.5px; color: var(--mute); }
.relScore b { font-size: 52px; font-weight: 800; line-height: 1.05; color: var(--sun); font-variant-numeric: tabular-nums; }
.relHow { flex: 1; min-width: 220px; font-size: 15px; line-height: 1.5; color: var(--mute); margin: 0; }
.relForm { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.relName { flex: 1; min-width: 200px; height: 54px; padding: 0 16px; border-radius: 13px; border: 0; background: var(--white); color: #2b2114; font: inherit; font-size: 18px; font-weight: 700; user-select: text; -webkit-user-select: text; outline: none; }
.relName:focus { box-shadow: 0 0 0 3px var(--sun); }
.relName::placeholder { color: #8c7b5c; font-weight: 400; }
.relForm .big:disabled { opacity: .6; cursor: default; }
.relMsg { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--white); }
.relMsg:empty { display: none; }
.relMsg.bad { color: var(--pink); }
.relOpen { margin-top: 12px; }
.relBoard { width: min(760px, 94vw); }
.relList { display: flex; flex-direction: column; gap: 3px; margin: 4px 0 8px; }
.relRow { display: grid; grid-template-columns: 36px 1fr 90px 80px 110px; align-items: center; column-gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 9px; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.relRow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.relRow span:nth-child(1) { font-weight: 800; text-align: center; }
.relRow span:nth-child(n+3) { text-align: right; font-weight: 700; }
.relRow span:nth-child(n+4) { color: var(--mute); font-weight: 400; }
.relRow:nth-child(even) { background: rgba(255, 255, 255, .05); }
.relRow.head { min-height: 24px; background: none; }
.relRow.head span { font-size: 13px; font-weight: 400; color: var(--mute); }
.relRow.me { background: var(--paper); color: #2b2114; font-weight: 800; }
.relRow.me span:nth-child(n+4) { color: #6b4a1f; }
.relNote { margin: 10px 0 0; font-size: 13.5px; color: var(--mute); }
.relAsk { margin: 12px 0 0; font-size: 16px; color: var(--white); }
.relFoot .row2 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.relDel { background: none; color: var(--mute); font-size: 14px; text-decoration: underline; padding: 6px 4px; }
.relDel:hover { color: var(--white); }
@media (max-width: 560px) {
  .relRow { grid-template-columns: 28px 1fr 74px 50px; padding: 0 8px; font-size: 14px; }
  .relRow span:nth-child(5) { display: none; }
  .relScore b { font-size: 42px; }
}