.pantheon-panel{position:relative;overflow:hidden;margin:0 0 22px;padding:24px;border:1px solid #b6914f;border-radius:13px;color:#f8f3e7;background:radial-gradient(circle at 82% 5%,#795c3160,transparent 30%),radial-gradient(circle at 14% 90%,#253f5755,transparent 35%),linear-gradient(135deg,#1c1b27,#101922 68%,#191522);box-shadow:inset 0 0 0 1px #f2d79b1c,0 12px 32px #0006}
.pantheon-panel::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;background-image:radial-gradient(#e7c17a 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(110deg,transparent 12%,#000 95%)}
.pantheon-panel[hidden]{display:none!important}
.pantheon-heading,.pantheon-layout{position:relative;z-index:1}
.pantheon-heading{display:flex;align-items:center;gap:18px;padding-bottom:20px;border-bottom:1px solid #e4be7650}
.pantheon-heading img{flex:none;width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 0 16px #dfb8648a)}
.pantheon-heading .eyebrow,.pantheon-podium .eyebrow{color:#e6c783}
.pantheon-heading h2{margin:2px 0 4px;font-size:clamp(1.8rem,3vw,2.8rem);letter-spacing:.02em;line-height:1.05;text-transform:uppercase;color:#ffe1a0;text-shadow:0 2px 12px #0008}
.pantheon-heading p:last-child{margin:0;color:#d5d9df;font-size:.88rem}
.pantheon-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:24px;padding-top:20px}
.pantheon-layout h3{margin:0 0 14px;color:#fff2ce;font-size:1.05rem}
.pantheon-winners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pantheon-winner{display:flex;align-items:center;gap:12px;min-width:0;min-height:91px;padding:12px;border:1px solid #d2af755c;border-radius:8px;background:linear-gradient(140deg,#342c36cc,#1a2531dd);box-shadow:inset 0 1px #f7dfa125}
.pantheon-mark{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #e4bd70;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff0b6,#9e6f36 70%);color:#21180e;font-size:1.5rem;box-shadow:0 0 18px #e4bd704a}
.pantheon-winner>div{min-width:0}.pantheon-contest,.pantheon-winner strong,.pantheon-winner small{display:block}
.pantheon-contest{margin-bottom:2px;color:#d2ba8d;font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.pantheon-winner strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem}.pantheon-winner small{margin-top:4px;color:#e3e1e5;font-size:.68rem;line-height:1.35}
.pantheon-podium{padding:14px;border:1px solid #94b8ba52;border-radius:8px;background:#101d27ba}.pantheon-podium .eyebrow{margin:0 0 10px}
.pantheon-podium ol{display:grid;gap:8px;margin:0 0 15px;padding:0;list-style:none}.pantheon-podium li{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid #ffffff20}.pantheon-podium li:last-child{border-bottom:0}
.pantheon-rank{grid-row:span 2;color:#f8d083;font-size:1.15rem;font-weight:900}.pantheon-podium li strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pantheon-podium li small{grid-column:2;color:#cbd5dc;font-size:.68rem;line-height:1.4}
.pantheon-podium .secondary-btn{width:100%;min-height:42px;border-color:#cfaf72;color:#ffe4ae}.pantheon-status{position:relative;z-index:1;margin:18px 0 0;color:#bfcbd2;font-size:.67rem}
[data-panel="scores"][data-battlefield-paused="true"] .pantheon-panel{display:none!important}
@media(max-width:760px){.pantheon-panel{padding:16px}.pantheon-heading img{width:52px;height:52px}.pantheon-heading{gap:12px}.pantheon-heading h2{font-size:1.75rem}.pantheon-layout{grid-template-columns:1fr;gap:18px}.pantheon-winners{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.pantheon-panel{padding:13px}.pantheon-heading h2{font-size:1.42rem}.pantheon-heading p:last-child{font-size:.72rem}.pantheon-winners{grid-template-columns:1fr}.pantheon-winner{min-height:68px}.pantheon-podium{padding:12px}}

/* Season race: the running table for the season's top knights. */
.pantheon-season { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line, rgba(255,255,255,.12)); }
.pantheon-season-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 10px; }
.pantheon-season-head h3 { margin: 0; }
.pantheon-season-head p { margin: 0; color: var(--muted, #aab); font-size: 13px; }
.pantheon-season-scroll { overflow-x: auto; }
.pantheon-season-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0 4px; font-variant-numeric: tabular-nums; }
.pantheon-season-table th, .pantheon-season-table td { padding: 8px 10px; text-align: right; white-space: nowrap; }
.pantheon-season-table thead th { color: var(--muted, #aab); font-size: 12px; font-weight: 700; }
.pantheon-season-table thead th:nth-child(2), .pantheon-season-table tbody th { text-align: left; }
.pantheon-season-table tbody tr { background: rgba(255, 255, 255, .03); }
.pantheon-season-table tbody tr > :first-child { border-radius: 10px 0 0 10px; }
.pantheon-season-table tbody tr > :last-child { border-radius: 0 10px 10px 0; }
.pantheon-season-table tbody th { font-weight: 800; }
.pantheon-season-rank { width: 36px; color: var(--muted, #aab); font-weight: 800; text-align: center !important; }
.pantheon-season-points { color: var(--green, #61ff89); font-family: var(--heading, inherit); font-size: 18px; }
.pantheon-season-table tr.is-leader { background: linear-gradient(90deg, rgba(255, 207, 74, .2), rgba(255, 207, 74, .03)); }
.pantheon-season-table tr.is-leader .pantheon-season-rank { color: #ffcf4a; }
.pantheon-season-table tr.is-leader th::after { content: " ♛"; color: #ffcf4a; }
.pantheon-season-form { display: flex; justify-content: flex-end; gap: 4px; }
.pantheon-form { display: inline-grid; place-items: center; min-width: 34px; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, .06); color: var(--muted, #aab); }
.pantheon-form.is-gold { background: #ffcf4a; color: #241800; }
.pantheon-form.is-podium { background: rgba(255, 207, 74, .25); color: #ffe08a; }
.pantheon-form.is-top { background: rgba(53, 212, 255, .16); color: var(--cyan, #35d4ff); }

/* Collapsed during tournament weeks: only the heading (with its Show button) remains. */
.pantheon-toggle { margin-left: auto; flex: none; }
#battlePantheon[data-collapsed="true"] > :not(.pantheon-heading) { display: none; }
#battlePantheon[data-collapsed="true"] .pantheon-heading p:not(.eyebrow) { display: none; }
#battlePantheon[data-collapsed="true"] .pantheon-heading { padding-bottom: 0; border-bottom: 0; }
/* Names are rival shortcuts but read as names. */
.pantheon-name { cursor: pointer; }
.pantheon-name:hover, .pantheon-name:focus-visible { color: var(--cyan, #35d4ff); text-decoration: underline; text-underline-offset: 3px; }
