/* The settings card replaces the small ROUND banner and does not block play. */
.round-banner { display:none !important; }
.round-settings-popup { position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:16px; background:#07112aa8; pointer-events:none; }
.round-settings-card { width:min(390px,100%); max-height:calc(100dvh - 32px); overflow:auto; display:grid; gap:12px; padding:24px; border:1px solid #9fc4ff; border-radius:20px; color:#fff; background:#172b50; box-shadow:0 20px 60px #0008; text-align:center; pointer-events:auto; animation:round-settings-arrive .35s ease-out both; }
.round-settings-eyebrow { color:#b7d2ff; font-size:.8rem; font-weight:800; letter-spacing:.16em; }
.round-settings-title { font-size:1.45rem; line-height:1.2; }
.round-settings-list { display:grid; gap:0; margin:0; border-radius:12px; overflow:hidden; background:#ffffff10; text-align:left; }
.round-settings-list > div { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 12px; border-bottom:1px solid #ffffff1c; }
.round-settings-list > div:last-child { border-bottom:0; }
.round-settings-list dt { color:#cadcff; font-size:.9rem; }
.round-settings-list dd { margin:0; color:#fff; font-size:.95rem; font-weight:700; text-align:right; }
.round-settings-close { justify-self:center; min-width:120px; min-height:42px; padding:7px 20px; border:1px solid #a9c8ff; border-radius:9px; background:#f4f8ff; color:#14274a; font:inherit; font-weight:700; cursor:pointer; }
.round-settings-close:focus-visible { outline:3px solid #ffd95e; outline-offset:3px; }
.round-settings-card small { color:#c7d8f1; font-size:.78rem; }
@keyframes round-settings-arrive { from { opacity:0; transform:translateY(12px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
@media (prefers-reduced-motion:reduce) { .round-settings-card { animation:none; } }
/* A separate pre-round announcement makes the available bridge budget explicit. */
.bridge-round-popup { position:fixed; inset:0; z-index:125; display:grid; place-items:center; padding:16px; background:#07112adb; }
.bridge-round-card { width:min(420px,100%); max-height:calc(100dvh - 32px); overflow:auto; display:grid; justify-items:center; gap:12px; padding:26px 24px; border:2px solid #e2b775; border-radius:22px; background:linear-gradient(155deg,#243a57,#142237); color:#fff; text-align:center; box-shadow:0 24px 70px #0009; animation:round-settings-arrive .35s ease-out both; }
.bridge-round-eyebrow { color:#f4d69d; font-size:.8rem; font-weight:800; letter-spacing:.16em; }
.bridge-round-title { font-size:1.4rem; line-height:1.25; }
.bridge-round-count { display:flex; align-items:baseline; justify-content:center; gap:9px; }
.bridge-round-count b { color:#ffdc96; font-size:4.2rem; font-weight:850; line-height:1; }
.bridge-round-count span { font-size:1.1rem; font-weight:750; }
.bridge-round-card p { margin:0; color:#e1ebf6; font-size:.93rem; line-height:1.5; }
.bridge-round-card small { color:#c6d5e6; font-size:.78rem; line-height:1.4; }
.bridge-round-art { position:relative; width:154px; height:52px; margin:4px 0; transform:rotate(-5deg); filter:drop-shadow(0 5px 3px #0005); }
.bridge-round-art:has(svg) { width:190px; height:auto; } .bridge-round-art svg { display:block; width:100%; height:auto; overflow:visible; }
.bridge-round-deck { position:absolute; inset:8px 3px; border:3px solid #653b1d; border-radius:4px; background:repeating-linear-gradient(90deg,#d9a060 0 18px,#855326 18px 21px); }
.bridge-round-rail { position:absolute; z-index:1; left:0; width:100%; height:7px; border:2px solid #653b1d; border-radius:4px; background:#edbc77; }
.bridge-round-rail:first-child { top:7px; } .bridge-round-rail:last-child { bottom:7px; }
@media(max-height:520px) { .bridge-round-card { gap:7px; padding:16px 22px; } .bridge-round-art { display:none; } .bridge-round-count b { font-size:3.2rem; } .bridge-round-title { font-size:1.15rem; } .bridge-round-card p { font-size:.85rem; } }
@media(prefers-reduced-motion:reduce) { .bridge-round-card { animation:none; } }
