/* RIVER CROWN — lamplit card-room UI (palette: ink #0F0E12, brass #D6B25E, parchment #F2EAD8) */
@font-face { font-family: 'Cinzel'; font-weight: 400; font-display: swap; src: url(../assets/fonts/cinzel-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 600; font-display: swap; src: url(../assets/fonts/cinzel-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(../assets/fonts/cinzel-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(../assets/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(../assets/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(../assets/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(../assets/fonts/inter-latin-700-normal.woff2) format('woff2'); }
:root { --ink: #0F0E12; --ink2: #18161c; --brass: #D6B25E; --brass2: #b8913e; --parch: #F2EAD8; --muted: #b9ae98; --accent: #D6B25E; --red: #b03a3a; --green: #4f9a63;
  --panel: rgba(18, 16, 22, .80); --line: rgba(214, 178, 94, .35); --r: 14px; --bs: min(76vh, 58vw, 860px); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); color: var(--parch); font: 15px/1.5 Inter, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
body { overflow-x: hidden; }
h1, h2, h3, .logo h1, .tb-title, .label { font-family: Cinzel, Georgia, serif; font-weight: 600; letter-spacing: .04em; margin: .2em 0 .4em; }
h1 { font-size: 2.2rem; } h2 { font-size: 1.45rem; } h3 { font-size: 1.1rem; }
a { color: var(--brass); }
.tiny { font-size: .82rem; color: var(--muted); } .center { text-align: center; justify-content: center; } .hidden { display: none !important; }
.row { display: flex; align-items: center; } .gap { gap: 10px; } .wrap { flex-wrap: wrap; }
.gold-text { background: linear-gradient(180deg, #fff1c4, #d6b25e 55%, #9c7a3c); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 2px 18px rgba(214, 178, 94, .25); }
.quote { font-style: italic; color: #e8dcc0; }

/* ---------- scene */
#app { position: relative; min-height: 100vh; }
#scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #000; --dim: 0; --light: .8; }
#scene .plate { position: absolute; inset: -2%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.3s ease, transform 30s linear; transform: scale(1.02); }
#scene .plate.on { opacity: 1; transform: scale(1.06); }
#scene::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%), rgba(8, 6, 10, calc(var(--dim) + (1 - var(--light)) * .35)); transition: background 1s; }
#scene.shimmer .plate.on { animation: shimmer 2.4s ease; }
@keyframes shimmer { 0% { filter: brightness(1); } 30% { filter: brightness(1.8) saturate(1.3) blur(2px); } 100% { filter: brightness(1); } }
#fx { position: fixed; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; }
.screen { position: relative; z-index: 2; min-height: 100vh; padding-bottom: 30px; }

/* ---------- chrome */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: linear-gradient(180deg, rgba(10,9,12,.92), rgba(10,9,12,.7)); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.topbar .tb-title { flex: 1; font-size: 1.05rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand { font-family: Cinzel; color: var(--brass); font-weight: 700; padding: 0 6px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,240,200,.06); backdrop-filter: blur(6px); }
.btn { font: 600 .92rem Inter, sans-serif; color: var(--parch); background: rgba(30, 26, 34, .85); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 6px; justify-content: center; text-decoration: none; }
.btn:hover:not(:disabled) { border-color: var(--brass); box-shadow: 0 0 14px rgba(214,178,94,.25); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.gold { background: linear-gradient(180deg, #ecd08a, #d6b25e 50%, #a8843a); color: #1b140a; border-color: #f2d58e; text-shadow: 0 1px 0 rgba(255,255,255,.3); }
.btn.big { font-size: 1.05rem; padding: 13px 26px; }
.btn.icon { width: 38px; height: 38px; padding: 0; font-size: 1.05rem; }
.btn.small { padding: 5px 12px; font-size: .8rem; }
.btn.danger { border-color: rgba(176, 58, 58, .6); }
.btn.pulse { animation: pulse 1.4s infinite; }

/* ---------- background room canvas + app shell */
#app { position: relative; min-height: 100vh; min-height: 100dvh; }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
#bgshade { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.05) 20%, rgba(0,0,0,.7) 100%), rgba(8,6,10,.35); }
.screen { position: relative; z-index: 2; min-height: 100vh; min-height: 100dvh; padding-bottom: 40px; }
.screen.noscroll { height: 100dvh; min-height: 0; padding: 0; overflow: hidden; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.pill.gold { color: var(--brass); border-color: var(--brass); }
.chipcount { font: 700 1rem Cinzel; color: #f0d27a; display: inline-flex; align-items: center; gap: 6px; }
.chipcount::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #f2efe6 28%, #c4262e 30% 62%, #f2efe6 64%); border: 1px solid #fff5; }
.stars { color: var(--brass); letter-spacing: 2px; } .stars .off { color: #5a5240; }
canvas.portrait { border-radius: 12px; display: block; }
canvas.portrait.round { border-radius: 50%; }
.topbar .right { display: flex; gap: 8px; align-items: center; }

/* ---------- title */
.title-screen { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; }
.logo h1 { font-size: clamp(2.6rem, 9vw, 5.6rem); margin: 0; letter-spacing: .12em; background: linear-gradient(180deg, #fff6d8, #e6c470 45%, #9c7a3c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(214,178,94,.35)); }
.logo .crown { font-size: 2.2rem; filter: drop-shadow(0 2px 8px #000); }
.logo-small { font-family: Cinzel; letter-spacing: .4em; color: var(--brass); font-size: .85rem; text-transform: uppercase; }
.tagline { color: #e8dcc0; max-width: 560px; margin: 8px auto 0; }
.title-menu { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: min(380px, 92vw); }
.title-menu .btn { justify-content: center; }
.title-cast { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; max-width: 760px; }
.daily { border: 1px solid var(--brass); background: rgba(40,30,10,.7); border-radius: 12px; padding: 10px 14px; display: flex; gap: 12px; align-items: center; justify-content: center; }
.field { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; font-weight: 600; font-size: .9rem; text-align: left; }
.field.chk { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.field input[type=text], .field input[type=password], .field input[type=number], .field select, .field textarea { background: rgba(0,0,0,.35); color: var(--parch); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; }
.field input[type=range] { accent-color: var(--brass); }

/* ---------- worlds */
.world-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.world-card { padding: 0; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; position: relative; }
.world-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 0 1px var(--wc, var(--brass)); }
.world-card .wc-art { height: 170px; position: relative; overflow: hidden; background: #000; }
.world-card .wc-art canvas.bgc { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.world-card .wc-char { position: absolute; right: 8px; bottom: -4px; }
.wc-body { padding: 12px 14px 14px; } .wc-body h3 { margin: 0; color: var(--wc, var(--brass)); } .wc-stat { font-size: .85rem; margin: 6px 0; color: var(--muted); }
.champ-badge { position: absolute; top: 10px; left: 10px; background: rgba(15,14,18,.85); border: 1px solid var(--brass); color: var(--brass); padding: 3px 10px; border-radius: 999px; font: 600 .75rem Cinzel; z-index: 2; }
.world-card.soon { opacity: .6; cursor: default; filter: grayscale(.6); } .world-card.soon:hover { transform: none; box-shadow: none; }
.soon-art { height: 170px; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #1a1620, #1a1620 12px, #14111a 12px, #14111a 24px); font: 600 1.1rem Cinzel; color: var(--muted); letter-spacing: .15em; }

/* ---------- world hub */
.hub-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hub-head h1 { margin: 0; } .hub-head .grow { flex: 1; min-width: 220px; }
.tier { margin: 20px 0; }
.tier-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.tier-head .tier-art { width: 190px; height: 88px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); position: relative; flex: none; }
.tier-head .tier-art canvas { width: 100%; height: 100%; display: block; }
.tier-head h3 { margin: 0; } .tier-head .sub { color: var(--muted); font-size: .85rem; }
.tier.locked { opacity: .55; }
.table-card { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; }
.table-card .num { font: 700 1.5rem Cinzel; color: var(--brass); text-align: center; }
.table-card.locked { opacity: .5; } .table-card.champ { border-color: var(--brass); box-shadow: 0 0 22px rgba(232,200,104,.25); }
.opp-row { display: flex; gap: 4px; margin: 6px 0; } .opp-row canvas { border: 1px solid var(--line); }
.meta { font-size: .8rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.learn-card { display: flex; gap: 16px; align-items: center; padding: 14px; flex-wrap: wrap; }
.learn-card .grow { flex: 1; min-width: 220px; }
.progress { height: 8px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; margin: 6px 0; } .progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brass2), var(--brass)); }

/* ---------- intro / result overlays */
.intro { display: grid; grid-template-columns: auto 1fr; gap: 18px; text-align: left; align-items: start; }
.intro .info { min-width: 220px; } .intro h2 { margin-top: 0; }
@media (max-width: 640px) { .intro { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.result h2 { font-size: 1.8rem; } .result .big-stars { font-size: 2.4rem; }
.result .detail { color: var(--muted); }
.ceremony { background: radial-gradient(circle at 50% 30%, rgba(232,200,104,.25), rgba(0,0,0,0) 60%); }
.crown-big { font-size: 4rem; filter: drop-shadow(0 4px 18px rgba(232,200,104,.6)); animation: floaty 2.4s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- table screen */
.table-screen { position: relative; height: 100dvh; display: flex; flex-direction: column; background: #000; }
.stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.table-canvas { position: absolute; inset: 0; }
.hud { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: flex-start; padding: 8px 12px; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,0)); }
.hud > * { pointer-events: auto; } .hud-right { display: flex; gap: 6px; }
.hud-title { font: 700 1.05rem Cinzel; color: var(--brass); } .hud-blinds { font-size: .8rem; color: var(--parch); opacity: .85; }
.goal-chip { position: absolute; z-index: 5; top: 46px; left: 12px; font-size: .78rem; background: rgba(0,0,0,.55); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; color: var(--brass); max-width: 70vw; }
.hand-name { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: 150px; background: rgba(0,0,0,.6); border: 1px solid var(--line); border-radius: 99px; padding: 3px 14px; font: 600 .95rem Cinzel; color: #f0d27a; pointer-events: none; }
.hand-name:empty { display: none; }
.log { position: absolute; z-index: 6; right: 8px; top: 48px; width: min(300px, 70vw); max-height: 45vh; overflow: auto; background: rgba(8,6,10,.88); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .78rem; line-height: 1.45; }
.actionbar { z-index: 6; background: linear-gradient(180deg, rgba(10,8,12,.92), rgba(5,4,6,.98)); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; align-items: center; min-height: 92px; justify-content: center; }
.actionbar .row { gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; }
.actionbar .wait { color: var(--muted); font-style: italic; }
.btn.act { font-size: 1.05rem; padding: 12px 22px; min-width: 120px; justify-content: center; position: relative; }
.btn.act .k { font: 600 .65rem Inter; opacity: .6; border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; position: relative; top: -1px; }
.btn.act.fold { border-color: #8a3a3a; } .btn.act.fold:hover { box-shadow: 0 0 14px rgba(200,60,60,.4); }
.btn.act.call, .btn.act.check { background: linear-gradient(180deg, #3f8a5c, #2a6a42); border-color: #7fcf9a; }
.btn.act.raise { background: linear-gradient(180deg, #ecd08a, #d6b25e 50%, #a8843a); color: #1b140a; border-color: #f2d58e; }
.btn.tiny { padding: 3px 9px; font-size: .74rem; }
.raisebox { display: flex; flex-direction: column; gap: 4px; align-items: stretch; min-width: 260px; flex: 1; max-width: 460px; }
.raisebox.none { color: var(--muted); align-items: center; }
.raisebox .quick { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.raise-row { display: flex; gap: 8px; align-items: center; } .raise-range { flex: 1; accent-color: var(--brass); height: 28px; }
.raise-num { width: 92px; background: rgba(0,0,0,.4); color: var(--parch); border: 1px solid var(--line); border-radius: 8px; padding: 6px; font: 600 1rem Inter; text-align: right; }
.coach { background: rgba(40,32,12,.85); border: 1px solid var(--brass); border-radius: 10px; padding: 8px 12px; font-size: .88rem; max-width: 640px; }
@media (max-width: 760px) { .btn.act { min-width: 0; padding: 12px 14px; flex: 1; } .raisebox { min-width: 100%; max-width: none; } .hand-name { bottom: 190px; } }

/* ---------- lessons */
.lesson { max-width: 820px; margin: 0 auto; padding: 16px; }
.lesson .coachline { display: flex; gap: 14px; align-items: flex-start; }
.lesson .say { background: rgba(250,240,215,.1); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; flex: 1; }
.cardrow { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 12px 0; } .cardrow canvas { width: 78px; height: auto; border-radius: 6px; }
.cardrow.small canvas { width: 58px; } .cardrow canvas.dim { opacity: .35; } .cardrow canvas.hl { filter: drop-shadow(0 0 8px #ffe27a); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; margin-top: 10px; }
.choices .btn { justify-content: center; border-radius: 12px; padding: 12px; } .choices .btn.right { background: #2c6a42; border-color: #7fcf9a; } .choices .btn.wrong { background: #6a2a2a; border-color: #cf7f7f; }
.lessons-list { display: grid; gap: 8px; } .lesson-item { display: flex; gap: 12px; align-items: center; padding: 10px 14px; cursor: pointer; } .lesson-item .n { font: 700 1.2rem Cinzel; color: var(--brass); width: 30px; text-align: center; } .lesson-item.done .n::after { content: ' ✓'; color: var(--green); font-size: .8rem; }
.vs { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; } .vs .side { text-align: center; } .vs .side .btn { margin-top: 6px; }
.reveal-btn { margin-top: 10px; }

/* ---------- settings / misc */
.settings .panel { margin-bottom: 14px; }
.settings h3 { margin-top: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; } .seg button { background: transparent; color: var(--parch); border: 0; padding: 6px 14px; cursor: pointer; font: 600 .85rem Inter; } .seg button.on { background: var(--brass); color: #1b140a; }
table.list { width: 100%; border-collapse: collapse; font-size: .9rem; } table.list th, table.list td { padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; } table.list tr.me td { color: var(--brass); font-weight: 600; }
.trophy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.trophy { text-align: center; padding: 12px; } .trophy.off { opacity: .35; filter: grayscale(1); } .trophy .ic { font-size: 2.2rem; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; } .stat { text-align: center; } .stat b { display: block; font: 700 1.5rem Cinzel; color: var(--brass); }
.lobby-table { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; padding: 10px 14px; }
.chat { height: 90px; overflow: auto; font-size: .8rem; background: rgba(0,0,0,.4); border-radius: 8px; padding: 6px 8px; }
.menu-list { display: flex; flex-direction: column; gap: 8px; min-width: 260px; }
.banner-note { background: rgba(214,178,94,.12); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .85rem; }
.hall-host { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.field-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; } .field-list .f { text-align: center; font-size: .75rem; color: var(--muted); max-width: 110px; }
.sr { position: absolute; left: -9999px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.caption { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); top: 52px; width: min(760px, 94vw); display: flex; gap: 10px; align-items: flex-start; background: rgba(12,10,16,.9); border: 1px solid var(--brass); border-radius: 14px; padding: 10px 14px; box-shadow: 0 8px 30px rgba(0,0,0,.6); font-size: .95rem; }
.caption.hidden { display: none; } .caption .say { flex: 1; } .caption canvas { flex: none; }
.btn:disabled { opacity: .35; pointer-events: none; }
.hl-card { outline: 3px solid #ffe27a; }

.rank-list { display: grid; gap: 6px; margin: 10px 0; } .rank-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(214,178,94,.15); padding: 4px 0; flex-wrap: wrap; } .rank-row .rr-n { font: 600 .95rem Cinzel; color: var(--brass); min-width: 190px; } .rank-row .cardrow { margin: 0; }
.avatars { display: flex; gap: 6px; justify-content: center; margin-top: 6px; flex-wrap: wrap; } .avatar { background: none; border: 2px solid transparent; border-radius: 50%; padding: 1px; cursor: pointer; } .avatar.on { border-color: var(--brass); box-shadow: 0 0 12px rgba(214,178,94,.6); }
.opp-lineup { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; } .opp-card { text-align: center; max-width: 150px; font-size: .85rem; } .opp-card canvas { display: block; margin: 0 auto 4px; }
.cardrow .sep { width: 18px; } .overlay.wide .overlay-panel { max-width: 720px; width: 94vw; max-height: 92vh; overflow: auto; }
.world-card.sel { box-shadow: 0 0 0 2px var(--wc, var(--brass)); } .lesson-item:hover { border-color: var(--brass); }
body.in-table #bgshade { display: none; } body.in-table { overflow: hidden; }
.menu-ov .overlay-panel { min-width: min(340px, 92vw); } .table-card { cursor: default; }

#bgshade { background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.35) 10%, rgba(0,0,0,.82) 100%), rgba(6,5,8,.55); }
.lesson { background: rgba(14,12,18,.78); border: 1px solid var(--line); border-radius: 16px; margin-top: 16px; padding: 18px; }
.wrap-narrow { max-width: 1200px; } .world-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.world-card .wc-art { height: 190px; }
.title-screen .logo h1 { text-shadow: 0 2px 30px #000; } .tagline { text-shadow: 0 1px 8px #000; }
@media (min-aspect-ratio: 5/4) { .caption { left: 12px; transform: none; top: 62px; width: min(340px, 34vw); flex-direction: column; font-size: .9rem; } }

/* century-ladder */
/* Century Ladder map (shared template) */
.ladder-map .lsum { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.ladder-map .lrow { margin: 8px 0; padding: 10px 12px; border-left: 4px solid var(--wc, #c8a84e); }
.ladder-map .lrow.locked { opacity: .62; }
.ladder-map .lhead { display: flex; justify-content: space-between; gap: 8px; cursor: pointer; margin-bottom: 6px; }
.ladder-map .lcells { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.ladder-map .lcell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; padding: 3px 0; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.28); color: inherit; font: inherit; cursor: pointer; }
.ladder-map .lcell .ln { font-weight: 700; font-size: 14px; }
.ladder-map .lcell .ls { font-size: 10px; letter-spacing: -1px; color: #f0c868; }
.ladder-map .lcell.won { background: rgba(200,168,78,.22); border-color: rgba(240,200,104,.55); }
.ladder-map .lcell.open { border-color: rgba(255,255,255,.4); }
.ladder-map .lcell.locked { opacity: .5; cursor: default; }
.ladder-map .lcell.champ { box-shadow: inset 0 0 0 1px rgba(240,200,104,.6); }
.ladder-map .lcell.final { background: linear-gradient(135deg, rgba(240,200,104,.35), rgba(160,60,160,.3)); }
.ladder-map .lcell.next { outline: 2px solid #f0c868; animation: lpulse 1.6s ease-in-out infinite; }
@keyframes lpulse { 50% { outline-color: rgba(240,200,104,.25); } }
.world-card.locked { opacity: .7; }
.century-note { margin: 6px 0; font-weight: 600; }
@media (max-width: 560px) { .ladder-map .lcells { grid-template-columns: repeat(5, 1fr); } .ladder-map .lcell { min-height: 40px; } }
@media (prefers-reduced-motion: reduce) { .ladder-map .lcell.next { animation: none; } }
