/* One visual language: painted artwork, aged brass, moss and oxblood. */
body:has(#court:not([hidden])){--gold:#c9b27a;--text:#e5dfc9;--muted:#aaa58f;--bg:#171b15;--line:#625d43}
body:has(#court:not([hidden])){background:radial-gradient(ellipse at 50% 40%,#353b2b,#121711 85%)}
.court-top{background:#171b15f2;border:0;box-shadow:0 8px 20px #0003}.court-content{max-width:1380px}.court-hero{background:#272c22;border-color:#8b81523b}.hero-vignette{background:linear-gradient(90deg,#20271e 8%,#20271eee 35%,#20271e22 75%),linear-gradient(0deg,#20271ecc,transparent 50%)}.path-card,.mode-card,.battle-setup,.quest,.deck-panel,.collection-card,.recent>div,.chest-stage{background-color:#252b20;border-color:#82734a44}.path-card,.battle-setup,.quest{background-image:linear-gradient(120deg,#3b3d2c77,#22291e)}.mode-card.selected{background:linear-gradient(110deg,#53503977,#2d3427);border-color:#b3a16e}.opponent-tabs{background:#191f16;border-color:#5f6345}.opponent-tabs button.active{background:#4b5037}.collection-body small,.court-king small,.deck-total>span{color:#c0b58a}.court-king{background:#242d21;border-color:#77754f55}#court .btn.primary{background:linear-gradient(125deg,#a88c4e,#d1bd80);color:#22251a;border-color:#dac891}.collection-body p{color:#bebba2}.ownership{background:#182016e6}.collection-card{border-radius:5px;box-shadow:0 4px 12px #0003}.deck-panel{background:#242b20}.quest-icon{background:#55563b}.chest-stage{background:radial-gradient(ellipse at 50% 15%,#8d78354a,#222a1e 70%)}
.chronicle-full .log-entry{display:grid;grid-template-columns:80px 1fr;gap:12px;border-bottom:1px solid #7d7c4c22;padding:9px;font-size:12px}.chronicle-full .log-entry b{font-size:8px;letter-spacing:1px}
@media(max-width:850px){.card-summary{display:none}.court-top{gap:10px}.court-top nav{gap:14px}}.manual-opening,.manual-classes,.manual-sovereigns,.manual-reserve,.manual-choices{margin:35px 0}.manual-opening>h2,.manual-classes>h2,.manual-sovereigns>h2,.manual-reserve>h2,.manual-choices>h2{font:29px Georgia;color:#dfd5b0}.manual-opening>div{display:grid;grid-template-columns:1fr 1fr;gap:20px}.manual-opening article{display:flex;gap:16px;padding:22px;background:#2a3224}.manual-opening article>b{font:35px Georgia;color:#bcab73}.manual-opening h3,.manual-classes h3{font:22px Georgia;margin:2px 0 10px}.manual-opening p,.manual-classes p,.manual-sovereigns p,.manual-choices p,.manual-reserve>p{font-size:13px;line-height:1.85;color:#b9b6a0;margin:0}.manual-classes>div{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.manual-classes article{background:#293223;overflow:hidden}.manual-classes img{width:100%;height:200px;object-fit:contain;object-position:50% 0;background:#323b29}.manual-classes article>div{padding:20px}.manual-sovereigns>article{display:grid;grid-template-columns:190px 1fr;gap:25px;padding:22px;background:#283022;margin:15px 0}.manual-sovereigns img{width:100%;height:200px;object-fit:contain;object-position:50% 0}.manual-sovereigns h3{font:28px Georgia;margin:7px 0 13px}.manual-sovereigns details{margin-top:8px}.manual-reserve>div{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:20px}.manual-reserve article{display:flex;gap:14px;background:#283022;align-items:center;padding:10px}.manual-reserve img{width:65px;height:86px;object-fit:contain;object-position:50% 0}.manual-reserve h3{font:18px Georgia;margin:0 0 7px}.manual-reserve small{display:block;color:#b6ad88;font-size:10px}.manual-reserve b{display:block;color:#d4c18d;font-size:12px;margin-top:10px}.manual-choices{padding:25px 30px;background:#283022}.manual-choices p{margin:16px 0}.manual-choices strong{color:#d2c391;font-weight:400}.manual-end{display:flex;gap:15px;margin:30px 0}.court-top nav{gap:17px}.court-top nav button{font-size:11px}@media(max-width:900px){.manual-classes>div,.manual-reserve>div{grid-template-columns:1fr 1fr}.manual-opening>div{grid-template-columns:1fr}.manual-sovereigns>article{grid-template-columns:140px 1fr}}@media(max-width:560px){.manual-sovereigns>article{grid-template-columns:1fr}.manual-sovereigns img{height:200px}.manual-classes>div{grid-template-columns:1fr}.manual-reserve>div{grid-template-columns:1fr}.manual-end{flex-direction:column}}

.result-win{color:#c5cf8e}.result-loss{color:#d2a08a}.result-draw{color:#bcb9a1}.match-history h2{color:#d0c498}
/* Resource colours remain the white and red tokens printed on the cards. */
/* Framing follows the original printed cards: straight edges and a royal shield. */

.match-reward{margin:20px auto;display:grid;justify-items:center;gap:9px;padding:20px;background:radial-gradient(ellipse,#b8a45622,transparent 75%)}.match-reward>span{color:#d7bf74;font-size:25px}.match-reward strong{font:27px Georgia;color:#dec891}.match-reward small{font-size:10px;color:#aead90}.match-reward button{margin-top:6px}
/* Keep instructions outside the board so they cannot intercept target clicks. */
