:root{color-scheme:dark;--ink:#f8eaca;--muted:#c5b8d3;--gold:#ddb65e;--line:#aa833e;--purple:#c18bff;--paper:#100d18e0;--title:'Cinzel',Georgia,serif;font-family:Georgia,'Times New Roman',serif;background:#100b19;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;min-height:100svh;background:linear-gradient(#110c203b,#11091825 46%,#0b0719ba),url('assets/ambiance.png') center top/cover fixed}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e2b5ff;outline-offset:4px}[hidden]{display:none!important}a{color:inherit}button{color:var(--ink)}
.topbar{height:60px;display:flex;align-items:center;justify-content:flex-end;gap:24px;padding:0 30px;border:0;background:transparent;backdrop-filter:none;box-shadow:none;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:6px;text-decoration:none}.brand img{width:51px;height:51px;object-fit:contain}.brand span{font:700 25px var(--title);color:#ff7f3e;letter-spacing:2px}.practice-label{font:13px 'Segoe UI',sans-serif;color:#e4d1b6;display:flex;gap:8px;align-items:center}.practice-label i{width:6px;height:6px;background:#e9c773;border-radius:100%;box-shadow:0 0 9px #f1b351}.topbar nav{margin-left:auto;display:flex;align-items:center;gap:20px}.text-button{border:0;background:none;text-decoration:underline;text-underline-offset:5px;font-size:14px;color:#d7c4df;padding:8px}.small-button,.secondary-action{border:1px solid #ba9856;border-radius:7px;background:linear-gradient(#453026,#1c1520);padding:10px 17px;font-weight:bold;box-shadow:inset 0 1px #ffe6a544}.small-button:hover,.secondary-action:hover{filter:brightness(1.2)}
main{max-width:1470px;margin:auto;padding:0 30px 22px}.hero{text-align:center;padding:30px 10px 28px;text-shadow:0 2px 12px #000}.eyebrow{font:600 10px 'Segoe UI',sans-serif;letter-spacing:3.4px;color:#d7bd87;margin:0 0 10px}.hero .eyebrow{font:600 13px var(--title);letter-spacing:5.5px}.hero h1{font:500 clamp(35px,4.4vw,64px)/1.16 var(--title);margin:0;color:#dca078;background:none;-webkit-text-fill-color:#dca078;filter:drop-shadow(0 3px 4px #000);letter-spacing:-1.4px}.hero-sub{font-size:20px;margin:10px 0 13px;color:#eadff0}.mode-chip{font:600 11px 'Segoe UI',sans-serif;display:inline-flex;gap:12px;border:1px solid #b9955a66;border-radius:99px;padding:6px 13px;background:#100b1a9c;color:#f1dcaf;letter-spacing:.7px}.mode-chip span{color:#b6a5c7;border-left:1px solid #9e835c77;padding-left:12px}
.arena-layout{display:grid;grid-template-columns:minmax(200px,.95fr) minmax(420px,2.5fr) minmax(210px,1fr);gap:19px;align-items:stretch}.panel,.table-panel{position:relative;border:1px solid var(--line);border-radius:14px;background:linear-gradient(140deg,#241325c2,#0b0c16ed 65%);box-shadow:0 10px 34px #0007,inset 0 0 0 4px #14101c,inset 0 0 0 5px #a77a3838}.panel:after,.table-panel:after{content:'';position:absolute;pointer-events:none;inset:9px;border:1px solid #b78c4555;border-radius:7px}.panel{padding:25px 19px;text-align:center}.panel h2{font:600 22px var(--title);color:#f0d596;margin:0 0 17px}.panel-ornament{position:absolute;top:-11px;left:calc(50% - 18px);width:36px;background:#211325;color:#d0a44f;font-size:23px;line-height:23px}.player-panel,.pot-panel{margin-top:9px}.player-panel .eyebrow,.pot-panel .eyebrow{font-size:8px;letter-spacing:2px;color:#bba688}.deck-pile{position:relative;width:124px;aspect-ratio:822/1122;margin:0 auto 14px;transform:rotate(-5deg);filter:drop-shadow(0 5px 13px #000c)}.deck-pile:before,.deck-pile:after{content:'';position:absolute;inset:0;background:#191120;border:1px solid #a8833e;border-radius:8px;transform:rotate(6deg);z-index:0}.deck-pile:before{transform:rotate(11deg)}.back-art{display:block;width:100%;height:100%;object-fit:cover;border-radius:7px;position:relative;z-index:1}.deck-count{position:absolute;right:-12px;bottom:3px;z-index:2;background:linear-gradient(#fae6a7,#bf8939);border:2px solid #2c192a;border-radius:50%;min-width:37px;height:37px;color:#281619;font:700 16px 'Segoe UI',sans-serif;display:grid;place-items:center;transform:rotate(5deg);box-shadow:0 2px 8px #0009}.deck-caption{font-size:12px;color:var(--muted);margin:8px 0 20px}.score-tile{border-top:1px solid #a5804750;border-bottom:1px solid #a5804750;padding:14px 0 12px;display:flex;align-items:baseline;gap:7px;justify-content:center;flex-wrap:wrap}.score-tile>span{width:100%;font:13px var(--title);color:#ddc7a1}.score-tile strong{font:600 39px var(--title);color:#ffe3a0;line-height:1}.score-tile small{color:#bbaec6;font-size:12px}.wins-line{font-size:11px;color:#c9bbd5;line-height:1.6;margin:12px 0 20px}.dot{color:#a18551;padding:0 4px}.wallet-line{display:flex;justify-content:space-between;align-items:center;border:1px solid #b28b493e;background:#17101b99;border-radius:7px;padding:10px;font-size:11px;color:#c9b9d2}.wallet-line strong{color:#efd18c;font:600 13px 'Segoe UI',sans-serif}
.table-panel{padding:16px 23px 20px;background:radial-gradient(ellipse at 50% 58%,#59304038,transparent 70%),linear-gradient(#170d21b5,#120b18eb);min-width:0;text-align:center}.table-toolbar{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1;font:12px 'Segoe UI',sans-serif;color:#d7bddf}.reserve-chip{display:inline-flex;align-items:center;gap:5px;color:#dccaa6;font-size:11px}.reserve-chip b{font-weight:500}.tiny-back{width:12px;height:17px;display:inline-block;transform:rotate(-12deg);background:#251a35;border:1px solid #bd9953;border-radius:2px;margin-right:3px}.confrontation{position:relative;display:grid;grid-template-columns:1fr 34px 1fr;gap:10px;align-items:start;margin-top:13px;padding:0 11px 10px}.table-sigil{position:absolute;left:0;right:0;top:27%;height:61%;border:2px solid #bc955a60;border-radius:50%;transform:perspective(600px) rotateX(44deg);background:radial-gradient(ellipse,#8d4f313d,#3c222b33 42%,#130e1810 65%);box-shadow:inset 0 0 0 8px #0b07178a,inset 0 0 0 10px #bf995b50,0 0 36px #dc8f2220;pointer-events:none}.table-sigil:before,.table-sigil:after{content:'';position:absolute;inset:16px;border:1px solid #af88534d;border-radius:50%}.table-sigil:after{inset:30px;border-style:dashed}.table-sigil span{position:absolute;inset:0;display:grid;place-items:center;font-size:100px;color:#c8974b30}.combatant{position:relative;z-index:1;min-width:0}.combatant-name{font:600 12px var(--title);letter-spacing:.2px;color:#eed9b5;min-height:18px;margin:0 0 12px;overflow-wrap:anywhere}.card-stage{position:relative;aspect-ratio:822/1122;max-width:212px;margin:auto;filter:drop-shadow(0 7px 11px #000b)}.playing-card{height:100%;width:100%;display:block;object-fit:contain;border-radius:5px}.card-stage.revealed{animation:card-reveal .38s ease-out}.card-stage.winner{filter:drop-shadow(0 0 12px #f5b34499)}.card-stage.winner:after{content:'✦';position:absolute;right:-8px;top:-11px;color:#fbd788;font-size:26px;text-shadow:0 0 16px #ffb62e}.card-value{position:absolute;right:-5px;bottom:3px;min-width:28px;height:28px;background:#17121fe8;border:1px solid #dcbb74;color:#ffe8ac;border-radius:50%;display:grid;place-items:center;font:700 12px 'Segoe UI',sans-serif;box-shadow:0 2px 9px #000a}.card-caption{font-size:11px;min-height:27px;line-height:1.4;margin:9px -8px 6px;color:#d8c9df}.versus{align-self:start;padding-top:137px;font:600 13px var(--title);color:#deb365;text-shadow:0 0 12px #cb8024}.equipment{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;max-width:230px;margin:auto}.equipment-slot{min-height:46px;border:1px solid #9b794942;background:#17101fa8;border-radius:5px;padding:5px 1px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#bfae9b;font:8px 'Segoe UI',sans-serif}.equipment-slot .slot-icon{font-size:15px;line-height:1;color:#bc964b}.equipment-slot.future{opacity:.57}.equipment-slot.active{background:#4b275133;border-color:#bc8cdf;color:#ecd3fc}.equipment-slot.active .slot-icon{color:#dfb4ff}.equipment-slot.future .slot-icon{filter:grayscale(.4)}.stake-ribbon{font:11px 'Segoe UI',sans-serif;margin:0 auto 7px;color:#d5bd92}.turn-status{font-size:15px;line-height:1.45;min-height:43px;max-width:470px;margin:6px auto 10px;text-wrap:balance;color:#f2e2bd}.turn-status.win{color:#ffdc83}.turn-status.split{color:#e1bdfd}.main-action{position:relative;border:1px solid #f7c46a;background:linear-gradient(#fce3a4,#efaf3f 50%,#c77e20);color:#311809;padding:13px 25px;font:700 15px var(--title);border-radius:7px;box-shadow:inset 0 0 0 3px #c8802960,inset 0 1px 0 #fff1cb,0 5px 20px #e2973229;text-shadow:0 1px #fff5cb77;min-height:47px;transition:filter .15s,transform .15s}.main-action:hover{filter:brightness(1.1);transform:translateY(-1px)}.main-action:active{transform:translateY(1px)}.table-panel>.main-action{min-width:235px}.turn-hint{font:10px/1.6 'Segoe UI',sans-serif;color:#bfaec9;margin:10px auto 0;max-width:370px;text-wrap:balance}.choice-actions{position:relative;z-index:2;display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:5px 0 10px}.choice-actions button{font-size:12px;border:1px solid #ae7adb;border-radius:5px;background:#44215d;padding:10px}.choice-actions button:hover{background:#713994}
.cauldron{position:relative;width:100%;max-width:240px;aspect-ratio:280/250;margin:4px auto 0}.cauldron svg{width:100%;height:100%;overflow:visible}.pot-value{position:absolute;left:17%;right:17%;top:48%;bottom:13%;display:flex;align-items:baseline;justify-content:center;gap:7px;text-shadow:0 0 16px #ba4bff,0 0 6px #ba4bff}.pot-value strong{font:600 clamp(30px,3.2vw,47px) var(--title);color:#f5ddff}.pot-value span{font:600 15px var(--title);color:#e5bdfd}.pot-note{font-size:12px;line-height:1.5;color:#d8c7e1;text-wrap:balance;max-width:190px;margin:8px auto 15px}.pot-panel .secondary-action{font-size:12px;width:100%;padding:11px 7px}.opponent-tile{margin-top:25px;border-top:1px solid #a5804750;padding-top:17px}.opponent-tile>span{font:600 13px var(--title);color:#dcc59e;display:block}.opponent-tile strong{display:block;font:600 28px var(--title);color:#d3b3ed;margin-top:7px}.opponent-tile strong small{font:12px Georgia;color:#bdb0c6}.opponent-tile p,.opponent-tile>small{font:10px/1.6 'Segoe UI',sans-serif;color:#b6a6bf;margin:5px 0}.smoke{filter:drop-shadow(0 0 7px #ac3bfa);animation:smoke 5s ease-in-out infinite;opacity:.8}.potion-bubble{animation:bubble 4s ease-in-out infinite}.potion-bubble.b2{animation-delay:-2s}
.game-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;margin-top:23px;font:10px 'Segoe UI',sans-serif;letter-spacing:.3px;color:#d6c8dfb0;text-shadow:0 1px 4px #000}.game-footer span+span:before{content:'✦';font-size:8px;margin-right:22px;color:#d4a652}
.memory-panel,.results-panel{max-width:790px;margin:25px auto 0;padding:28px 35px;scroll-margin-top:20px}.memory-panel h2,.results-panel h2{font-size:32px;margin-bottom:12px}.memory-panel>p:not(.eyebrow),.results-panel>p:not(.eyebrow){line-height:1.6;text-wrap:balance}.memory-meta{display:flex;justify-content:space-between;align-items:center;border-block:1px solid #94724055;margin:20px 0;padding:13px 3px;font:12px 'Segoe UI',sans-serif;color:#cbb5dc;gap:12px}.memory-meta strong{font:600 28px var(--title);color:#ffdf96}.memory-meta strong.urgent{color:#ff917b}.memory-panel form{display:flex;align-items:end;gap:12px;text-align:left}.memory-panel label{flex:1;min-width:0}.memory-panel .main-action{padding:11px 15px;font-size:11px;min-height:43px}.memory-panel select{width:100%}.memory-feedback{min-height:24px;color:#e1bcff;font-size:14px}.memory-rule{font:11px 'Segoe UI',sans-serif!important;color:#c9b3d4}.memory-found{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.found-card{max-width:80px}.found-card img{width:100%;border:1px solid #9e7a47;border-radius:4px}.found-card small{display:block;font-size:9px;line-height:1.3}.result-scores{display:flex;gap:24px;justify-content:center;margin:25px 0}.result-scores>div{min-width:130px;border:1px solid #b48c4c88;border-radius:8px;padding:15px;background:#120f1a}.result-scores strong{display:block;font:600 33px var(--title);color:#f7d38b}.result-scores span{font-size:12px;color:#d9c2dc}.unclaimed-cards{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:15px 0}.unclaimed-cards img{width:62px}.results-panel .main-action{margin-top:20px}
dialog{background:linear-gradient(135deg,#28152f,#0e0b17);color:var(--ink);border:1px solid #d1aa5d;box-shadow:0 18px 100px #000d,inset 0 0 0 5px #a6814122;border-radius:13px;width:min(510px,calc(100vw - 28px));max-height:calc(100svh - 35px);padding:30px;overflow:auto}dialog::backdrop{background:#070410c9;backdrop-filter:blur(5px)}dialog h2{font:500 25px var(--title);color:#f0d399;margin:0 0 25px}label{display:block;font:12px 'Segoe UI',sans-serif;color:#dbc8e3;margin-bottom:17px}input,select{display:block;background:#0e0a16;color:#f7ead8;border:1px solid #95754399;border-radius:5px;min-height:43px;padding:10px 11px;margin-top:7px;width:100%;font:14px 'Segoe UI',sans-serif}.dialog-note{color:#c7b3d2;font:12px/1.7 'Segoe UI',sans-serif;text-wrap:balance}.dialog-actions{display:flex;gap:10px;justify-content:end;margin-top:25px}.dialog-actions .main-action{font-size:12px;min-width:0;padding:12px 15px}.dialog-actions .secondary-action{font-size:13px}.rules-list{padding-left:23px;font:14px/1.7 Georgia}.rules-list li{margin-bottom:12px;padding-left:4px}
@keyframes card-reveal{from{opacity:.1;transform:translateY(-10px) rotateY(75deg)}to{opacity:1;transform:none}}@keyframes smoke{50%{transform:translateY(-7px);opacity:.45}}@keyframes bubble{50%{transform:translateY(-10px);opacity:.35}}
@media(min-width:1500px){.hero{padding-top:40px;padding-bottom:34px}.arena-layout{gap:25px}.table-panel{padding:20px 30px 27px}.confrontation{margin-top:22px}.card-stage{max-width:228px}.turn-status{margin-top:14px}.deck-pile{width:143px}.player-panel,.pot-panel{padding-top:30px}.hero h1{font-size:68px}}
@media(max-width:1100px){main{padding:0 18px 20px}.arena-layout{grid-template-columns:180px minmax(350px,1fr) 190px;gap:12px}.panel{padding:23px 14px}.panel h2{font-size:19px}.hero h1{font-size:49px}.hero-sub{font-size:18px}.table-panel{padding:14px 14px 20px}.confrontation{padding:0;gap:4px;grid-template-columns:1fr 25px 1fr}.card-stage{max-width:180px}.versus{padding-top:115px;font-size:11px}.deck-pile{width:112px}.table-toolbar{font-size:11px}.equipment-slot{font-size:7px}.pot-note{font-size:11px}.topbar{padding-inline:20px;gap:20px}}
@media(max-width:850px){.topbar{height:58px}.brand img{width:42px;height:42px}.brand span{font-size:20px}.practice-label{font-size:10px}.practice-label>span{display:none}.topbar nav{gap:10px}.text-button{font-size:12px}.small-button{padding:9px 11px;font-size:11px}main{padding-inline:15px}.hero{padding:25px 0 22px}.hero h1{font-size:43px}.hero .eyebrow{font-size:10px;letter-spacing:4px}.hero-sub{font-size:16px}.arena-layout{grid-template-columns:1fr 1fr;gap:15px}.table-panel{grid-column:1/-1;grid-row:1;padding:17px 23px 22px}.confrontation{max-width:500px;margin:16px auto 0;gap:16px;grid-template-columns:1fr 35px 1fr}.card-stage{max-width:185px}.combatant-name{font-size:13px}.versus{padding-top:125px;font-size:13px}.equipment-slot{font-size:9px;min-height:45px}.player-panel,.pot-panel{margin-top:0;min-height:220px}.player-panel{display:grid;grid-template-columns:90px 1fr;column-gap:16px;align-content:start;text-align:left;padding:22px 19px}.player-panel>.eyebrow,.player-panel>h2{grid-column:1/-1;text-align:center}.player-panel .deck-pile{width:78px;grid-column:1;grid-row:3/6;margin-top:3px}.deck-caption{display:none}.score-tile{grid-column:2;padding:9px 0;gap:5px;justify-content:start}.score-tile>span{font-size:11px}.score-tile strong{font-size:30px}.score-tile small{font-size:10px}.wins-line{grid-column:2;margin:8px 0;font-size:9px}.wallet-line{grid-column:1/-1;margin-top:14px}.pot-panel{padding:22px 19px;display:grid;grid-template-columns:110px 1fr;column-gap:15px;align-content:start}.pot-panel>.eyebrow,.pot-panel>h2{grid-column:1/-1}.cauldron{width:115px;grid-column:1;grid-row:3/6;margin:0}.pot-value strong{font-size:24px}.pot-value span{font-size:10px}.pot-note{grid-column:2;margin:3px 0 12px;font-size:10px}.pot-panel .secondary-action{grid-column:2;font-size:10px;padding:9px 4px}.opponent-tile{grid-column:1/-1;margin-top:13px;padding-top:11px;display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;text-align:left}.opponent-tile>span{font-size:11px}.opponent-tile strong{font-size:19px;margin:0 0 0 auto}.opponent-tile p,.opponent-tile>small{width:100%;font-size:9px;margin:0}.opponent-tile strong small{font-size:10px}.game-footer{font-size:9px;gap:10px}.game-footer span+span:before{margin-right:10px}.memory-panel,.results-panel{margin-top:18px}}
@media(max-width:520px){.topbar{padding-inline:14px;gap:14px;height:56px}.brand img{width:35px;height:35px}.brand span{font-size:17px;letter-spacing:1px}.practice-label{font-size:9px;gap:5px}.practice-label i{width:4px;height:4px}.topbar nav{gap:4px}.topbar #rules-button{font-size:0;padding:6px}.topbar #rules-button:after{content:'?';font:600 14px Georgia;display:grid;place-items:center;border:1px solid #aa8b55;border-radius:50%;width:21px;height:21px}.small-button{padding:8px;font-size:9px;border-radius:5px}.hero{padding:23px 0 20px}.hero h1{font-size:clamp(27px,7.8vw,40px);letter-spacing:-.9px}.hero-sub{font-size:14px;margin:9px 0 10px}.hero .eyebrow{font-size:9px;letter-spacing:3px;margin-bottom:10px}.mode-chip{font-size:9px;padding:5px 10px;gap:9px}.mode-chip span{padding-left:9px}main{padding-inline:11px}.arena-layout{gap:11px}.table-panel{padding:13px 13px 17px}.table-toolbar{font-size:10px}.reserve-chip{font-size:9px}.confrontation{grid-template-columns:1fr 22px 1fr;gap:5px;margin-top:15px}.combatant-name{font-size:10px;margin-bottom:8px;min-height:15px}.card-stage{max-width:145px}.versus{padding-top:91px;font-size:10px}.card-caption{font-size:9px;margin:7px -5px 5px;min-height:23px}.equipment{gap:4px}.equipment-slot{font-size:7px;min-height:37px;padding:3px 1px;gap:2px}.equipment-slot .slot-icon{font-size:12px}.turn-status{font-size:13px;min-height:37px;line-height:1.4;margin-top:4px;margin-bottom:8px}.table-panel>.main-action{font-size:12px;min-width:210px;padding:12px 17px;min-height:43px}.turn-hint{font-size:9px;margin-top:9px}.card-value{font-size:10px;min-width:24px;height:24px;right:-2px}.table-sigil{top:22%;height:64%}.stake-ribbon{font-size:9px}.panel:after,.table-panel:after{inset:6px}.player-panel,.pot-panel{padding:18px 12px 12px;grid-template-columns:55px 1fr;gap:0 10px;min-width:0}.panel h2{font-size:14px;margin-bottom:12px}.player-panel .eyebrow,.pot-panel .eyebrow{font-size:6px;letter-spacing:1.5px;margin-bottom:7px}.player-panel .deck-pile{width:48px;margin:6px 0 0 1px}.deck-count{min-width:24px;height:24px;font-size:10px;right:-7px;bottom:-5px}.score-tile{padding:6px 0}.score-tile>span{font-size:9px}.score-tile strong{font-size:25px}.score-tile small{font-size:8px}.wins-line{font-size:8px;line-height:1.5;margin:7px 0 5px}.wallet-line{font-size:8px;padding:7px;margin-top:10px;gap:5px}.wallet-line strong{font-size:10px}.cauldron{width:72px;margin-left:-9px;margin-top:5px}.pot-value{gap:3px}.pot-value strong{font-size:16px}.pot-value span{font-size:7px}.pot-note{font-size:8px;line-height:1.5;margin:4px 0 6px}.pot-panel .secondary-action{font-size:8px;padding:7px 3px;min-height:30px}.opponent-tile{margin-top:9px;padding-top:8px;gap:1px 5px}.opponent-tile>span{font-size:9px}.opponent-tile strong{font-size:15px}.opponent-tile strong small{font-size:8px}.opponent-tile p,.opponent-tile>small{font-size:7px;line-height:1.5}.game-footer{gap:5px 10px;margin-top:17px;font-size:8px}.game-footer span+span:before{display:none}.memory-panel,.results-panel{padding:23px 16px}.memory-panel h2,.results-panel h2{font-size:25px}.memory-panel>p:not(.eyebrow),.results-panel>p:not(.eyebrow){font-size:13px}.memory-panel form{display:grid;grid-template-columns:1.3fr 1fr;gap:0 9px}.memory-panel label{font-size:10px}.memory-panel .main-action{grid-column:1/-1;width:100%;font-size:11px}.memory-meta{font-size:9px;gap:7px}.memory-meta strong{font-size:24px}.found-card{max-width:57px}.memory-rule{font-size:9px!important}dialog{padding:25px 20px}dialog h2{font-size:22px}.rules-list{font-size:13px}.result-scores{gap:13px}.result-scores>div{min-width:110px}.choice-actions button{font-size:10px;padding:8px 6px}}
.arena-layout{grid-template-columns:minmax(200px,1fr) minmax(420px,2.65fr) minmax(200px,1fr)}.central-pot{position:relative;z-index:1;width:100%;height:145px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;margin:3px 0 0}.central-pot h2{font:600 11px var(--title);color:#e5c58e;margin:0 0 -2px}.central-pot .cauldron{width:120px;height:107px;aspect-ratio:auto;margin:0 auto -3px}.central-pot .pot-value strong{font-size:25px}.central-pot .pot-value span{font-size:10px}.central-pot .secondary-action{font-size:9px;min-height:25px;padding:5px 12px;position:relative;z-index:2}.central-pot+.confrontation{margin-top:4px}.card-caption{height:34px;min-height:34px}.attack-hint{display:block;color:#efb876;font:9px/1.4 'Segoe UI',sans-serif;margin-top:2px}.card-stage.attacking{filter:drop-shadow(0 0 17px #ffb746b0)}.card-stage.neutralized .playing-card{filter:grayscale(.65) brightness(.72)}.turn-status.triangle-win{color:#ffcf89}
@media(max-width:1100px) and (min-width:851px){.arena-layout{grid-template-columns:180px minmax(350px,1fr) 180px}}
@media(max-width:850px){.arena-layout{grid-template-columns:1fr 1fr}.central-pot{height:130px}.central-pot .cauldron{width:105px;height:94px;margin:0 auto -3px}.central-pot .pot-value strong{font-size:23px}.central-pot .pot-value span{font-size:9px}}
@media(max-width:520px){.central-pot{height:117px}.central-pot h2{font-size:9px}.central-pot .cauldron{width:94px;height:84px}.central-pot .secondary-action{font-size:8px;padding:4px 9px;min-height:23px}.central-pot .pot-value strong{font-size:20px}.central-pot .pot-value span{font-size:8px}}
@media(max-width:520px){.card-caption{height:29px;min-height:29px}.attack-hint{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}body{background-attachment:scroll}}

/* The decor remains visible behind the logo and the new-game command. */
.arena-top-actions #new-game{min-width:112px;min-height:40px}
.central-pot .arena-rules-button{position:absolute;z-index:4;top:0;right:0;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid #bb8de3;border-radius:8px;background:linear-gradient(#643184,#35164e);color:#faeaff;font:600 13px/1.2 var(--title);text-align:center;text-decoration:none;white-space:nowrap;box-shadow:inset 0 1px #ead1ff44,0 3px 8px #09031255}
.central-pot .arena-rules-button:hover{filter:brightness(1.15)}
@media(max-width:850px){.central-pot .arena-rules-button{min-height:40px;padding:8px 10px}.arena-top-actions #new-game{font-size:12px}}

/* Phoenix and new-game command share one row; no universe portal in the arena. */
.topbar.arena-top-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;height:auto;min-height:0;padding:12px 30px;gap:12px;position:relative;top:auto;right:auto}
.topbar.arena-top-actions>.brand{grid-column:1;grid-row:1;justify-self:start;min-height:44px}
.topbar.arena-top-actions>#new-game{grid-column:2;grid-row:1;justify-self:end}
.topbar .arena-brand-mark{display:block;flex:none;position:relative;width:60px;aspect-ratio:1307/960;overflow:hidden;line-height:0;letter-spacing:0}
.topbar .arena-brand-mark img{display:block;width:100%;height:auto;max-width:none;object-fit:initial}
@media(max-width:1100px){.topbar.arena-top-actions{padding-inline:20px}.topbar .arena-brand-mark{width:52px}}
@media(max-width:767px){
 .topbar.arena-top-actions{grid-template-columns:minmax(0,1fr) auto;min-height:0;padding:10px 14px;gap:10px}
 .topbar.arena-top-actions>.brand{grid-column:1;grid-row:1}
 .topbar.arena-top-actions>#new-game{grid-column:2;grid-row:1}
 .topbar .arena-brand-mark{width:46px}
}

/* Two distinct home destinations, with the Halloween shortcut beside its title. */
.hero h1{display:flex;align-items:center;justify-content:center;gap:12px}
.hero h1>span{color:#dca078;background:linear-gradient(180deg,#ffe6d5 0%,#eab28f 25%,#ce865a 49%,#b6663c 52%,#e8aa82 78%,#f7cfad 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
.arena-halloween-home{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;padding:4px;border:1px solid #c99d59;border-radius:9px;background:#20102a88;text-decoration:none;-webkit-text-fill-color:initial}
.arena-halloween-home svg{display:block;width:30px;height:30px}
.arena-halloween-home:hover{background:#452047;filter:brightness(1.1)}
.arena-halloween-home:focus-visible{outline:3px solid #f4d686;outline-offset:4px}
@media(max-width:520px){.hero h1{gap:8px}.arena-halloween-home{width:36px;height:36px;padding:3px}.arena-halloween-home svg{width:28px;height:28px}}

.xp-history-title{grid-column:1/-1;width:100%;text-align:center;color:#f6d66b;font:500 14px/1.3 var(--title);margin:13px 0 6px}
