:root{color-scheme:dark;--ink:#f4eedc;--muted:#b4c1cb;--gold:#cda768;--gold-light:#f8df9b;--blue:#73ccff;--panel:#081622;--line:rgba(208,167,98,.72);font-family:-apple-system,BlinkMacSystemFont,'PingFang TC','Microsoft JhengHei',sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;background:#040c13;color:var(--ink)}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #a9e4ff;outline-offset:4px}button:disabled{cursor:default;opacity:.65}button img{pointer-events:none}button{touch-action:manipulation}img{user-select:none;-webkit-user-drag:none}button:focus{scroll-margin:60px}#arena{position:relative;width:100%;height:100dvh;min-height:580px;overflow:hidden;isolation:isolate;background:#071726}#arena>picture,#background-video,.scene-background{position:absolute;inset:0;width:100%;height:100%;z-index:-3;pointer-events:none}#arena>picture img,.scene-background img,#background-video{width:100%;height:100%;object-fit:cover}.scene-scrim{position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 51% 48%,rgba(5,16,25,.06) 0%,rgba(4,13,22,.18) 48%,rgba(2,9,16,.5) 100%),linear-gradient(180deg,rgba(2,9,17,.24),transparent 20%,transparent 80%,rgba(2,8,14,.48))}.topbar{position:absolute;inset:0 0 auto;height:7.65%;z-index:8;background:linear-gradient(180deg,rgba(3,13,24,.95),rgba(3,13,24,.72));border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 1.25%;gap:10px}.brand{display:flex;align-items:center;gap:12px;width:27%;min-width:0}.brand-logo,.effect-emblem{display:block;flex-shrink:0;background:url('https://static.wixstatic.com/media/ac2004_5dd19e52746941f6b6eb7cbbd8e9f5fc~mv2.jpg') center/310% 432.9167% no-repeat;mask-image:radial-gradient(ellipse at center,#000 25%,transparent 68%)}.brand-logo{width:54px;height:62px}.brand-name{font-family:'Songti TC','Noto Serif TC',serif;letter-spacing:.13em;font-weight:700;font-size:clamp(22px,2vw,36px);white-space:nowrap;text-shadow:0 2px 5px #000}.preview-badge{font-size:11px;letter-spacing:.06em;color:#c2cbd1;white-space:nowrap;position:absolute;left:5.1%;bottom:3px}.phase-track{position:absolute;left:29.5%;width:52%;height:73%;display:flex;align-items:stretch;gap:3px}.phase-track>*{flex:1;display:flex;align-items:center;justify-content:center;font-size:clamp(12px,1.03vw,18px);color:#a6bbc9;position:relative;white-space:nowrap;border:1px solid transparent}.phase-track .active,.phase-track [aria-current=step]{color:#fff1b8;border-color:#cda768;background:linear-gradient(180deg,#76552599,#1c2428e8);box-shadow:inset 0 0 18px #e5bd5022,0 0 14px #ebba3c22;text-shadow:0 0 8px #f6c97066}.phase-track>*+*::before{content:'◇';font-size:12px;position:absolute;left:-7px;color:#b79254}.header-tools{margin-left:auto;display:flex;gap:9px}.icon-button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b18c50;border-radius:5px;background:#081725ee;color:#eee3c6;font-size:22px}.icon-button:hover{background:#253a47}.icon-button svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.8}.mobile-phase{display:none}.slot{position:absolute;display:block;padding:0;background:transparent;border:0;z-index:3;min-width:0;filter:drop-shadow(0 6px 8px #0008);transition:filter .18s,transform .18s;--frame:#bc9557;--edge:#f2d591}.slot:hover{z-index:9;filter:drop-shadow(0 0 9px #edbe5c80)}.slot .card-face{position:absolute;left:0;right:0;top:20px;bottom:0;overflow:hidden;background:#06121d;border:2px solid var(--frame);border-radius:3px;box-shadow:inset 0 0 0 2px #15202a,0 0 0 1px #211b15}.card-face::before,.card-face::after{content:'';position:absolute;z-index:3;pointer-events:none;width:18px;height:18px;border-color:var(--edge);border-style:solid;filter:drop-shadow(0 1px 1px #000)}.card-face::before{left:3px;top:3px;border-width:2px 0 0 2px;clip-path:polygon(0 0,100% 0,100% 18%,20% 18%,20% 100%,0 100%)}.card-face::after{bottom:3px;right:3px;border-width:0 2px 2px 0;clip-path:polygon(0 82%,80% 82%,80% 0,100% 0,100% 100%,0 100%)}.art{width:100%;height:100%;object-fit:cover;display:block}.slot-label{position:absolute;top:0;left:0;right:0;height:21px;font-size:clamp(12px,.95vw,17px);font-weight:600;text-align:center;color:#ede5d3;text-shadow:0 2px 3px #000;background:linear-gradient(90deg,transparent,#06101eeb 13%,#06101ef2 87%,transparent);line-height:21px;z-index:4;white-space:nowrap}.count-badge{position:absolute;bottom:7px;right:7px;min-width:25px;padding:1px 5px;border:1px solid #aa8a50;background:#09121eea;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;box-shadow:0 2px 3px #0008;z-index:5}.deity .card-face{top:0;bottom:0;border-color:#edca76;box-shadow:0 0 0 1px #5e442d,inset 0 0 0 3px #082c40,0 0 18px #deb56e29}.deity .art{height:calc(100% - 27px);object-position:center 40%}.cpu-god .art{object-position:50% 24%}.deity .stats{position:absolute;bottom:1px;left:2px;right:2px;height:27px;display:flex;align-items:center;justify-content:space-evenly;gap:3px;background:linear-gradient(180deg,#0c1c29,#020a13);border-top:1px solid #d6ae5c99;font-size:clamp(14px,1.35vw,23px);font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #000;z-index:4}.stats span{display:inline-flex;gap:4px;align-items:center}.stats img{width:clamp(13px,1.25vw,21px);height:clamp(15px,1.3vw,23px);object-fit:contain}.deity.activating{animation:invoke 1.3s ease-in-out;z-index:20}.deity.activating::after{content:'效果發動';position:absolute;top:-30px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#102a40ed;border:1px solid #ffdd8b;padding:4px 14px;font-size:16px;box-shadow:0 0 25px #ffda6c99}.empty-emblem{position:absolute;inset:0;display:none;align-items:center;justify-content:center;color:#bf9753;opacity:.52;font-size:48px;background:radial-gradient(ellipse,#16334866,#05121c)}.empty-emblem::before{content:'✧';font-family:serif}.pile .card-face{border-color:#8e8273;box-shadow:3px 3px #10202a,5px 5px #625d51,7px 7px #091019}.pile .art{object-fit:fill}.pile .slot-label{font-size:clamp(11px,.77vw,14px)}.grave .slot-label,.covered .slot-label{font-size:clamp(12px,.95vw,16px)}.covered .card-face{border-color:#979185}.covered .art{object-fit:fill}.effect-zone{border:2px solid #dca554;border-radius:4px;background:linear-gradient(160deg,#4a331cdd,#131a1cef 50%,#251e12ee);box-shadow:inset 0 0 14px #edb95644,0 0 13px #f5b64e66;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.effect-zone::before,.effect-zone::after{content:'';position:absolute;inset:5px;border:1px solid #b9924b99;pointer-events:none;clip-path:polygon(0 0,20% 0,20% 3%,3% 3%,3% 18%,0 18%,0 0,100% 100%,80% 100%,80% 97%,97% 97%,97% 82%,100% 82%,100% 100%)}.effect-emblem{width:62%;height:40%;margin:-2% 0 0;filter:sepia(.7)}.effect-label{font-size:clamp(14px,1.13vw,20px);font-weight:600;line-height:1.28;letter-spacing:.06em}.effect-zone small{font-size:clamp(10px,.8vw,14px);border:1px solid #e0bc6e55;padding:1px 10px;margin-top:6px;color:#ded0a7}.cpu-effect{border-color:#73ccff;background:linear-gradient(160deg,#103d66e8,#061c2dec);box-shadow:inset 0 0 14px #468aff55,0 0 13px #4fbcff66}.cpu-effect .effect-emblem{filter:none}.cpu-effect::before{border-color:#70c7f7}.resource-row{display:flex;align-items:center;gap:9px;filter:drop-shadow(0 4px 8px #0008);background:linear-gradient(160deg,#0c2433f5,#07111df5);border:1px solid #a58651;border-radius:3px;padding:5px 9px;z-index:4}.resource-title{font-size:clamp(12px,.9vw,16px);font-weight:600;white-space:nowrap;color:#e4d6b6;display:flex;flex-direction:column;line-height:1.3}.resource-title small{color:#8ea9bc;font-size:.75em}.resource-cards{height:100%;display:flex;align-items:stretch;gap:6px;min-width:0;flex:1}.resource-card{aspect-ratio:.714;height:100%;padding:0;border:1px solid #a78654;background:#061623;border-radius:2px;overflow:hidden;position:relative}.resource-card img{height:100%;width:100%;object-fit:cover}.resource-card.empty{opacity:.5;border-style:solid;background:linear-gradient(155deg,#162c38,#091522)}.cpu-resources{flex-direction:row-reverse}.cpu-resources .resource-cards{flex-direction:row-reverse}.cpu-resources .resource-title{text-align:right}.cpu-god{left:44.92%;top:22.42%;width:10.89%;height:17.43%}.player-god{left:44.92%;top:60.68%;width:10.89%;height:17.43%}.cpu-equip-left{left:38.1%;top:22.42%;width:6.2%;height:17.43%}.cpu-equip-right{left:56.95%;top:22.42%;width:6.2%;height:17.43%}.player-equip-left{left:38.1%;top:60.68%;width:6.2%;height:17.43%}.player-equip-right{left:56.95%;top:60.68%;width:6.2%;height:17.43%}.cpu-main{left:27.8%;top:13.28%;width:5.05%;height:11.9%}.cpu-extra{left:68.1%;top:13.28%;width:5.05%;height:11.9%}.player-main{left:67.05%;top:75.1%;width:5.15%;height:11.6%}.player-extra{left:27.8%;top:75.1%;width:5.15%;height:11.6%}.cpu-grave{left:27.8%;top:26.25%;width:5.2%;height:14.25%}.cpu-covered{left:23.25%;top:29.65%;width:3.85%;height:10.95%}.player-grave{left:67%;top:59.1%;width:5.2%;height:14.25%}.player-covered{left:72.6%;top:59.1%;width:3.85%;height:10.95%}.cpu-temple{left:68.1%;top:26.05%;width:6.2%;height:17.64%}.player-temple{left:26.7%;top:56.43%;width:6.2%;height:17.64%}.cpu-effect{left:37.02%;top:40.91%;width:8.07%;height:17.43%}.player-effect{left:56.1%;top:40.91%;width:8.07%;height:17.43%}.cpu-resources{left:38.58%;top:13.7%;width:25.12%;height:6.38%}.player-resources{left:38.58%;top:79.91%;width:25.12%;height:6.38%}.opponent-hand{position:absolute;left:44.3%;top:6.9%;width:13.7%;height:6.2%;display:flex;justify-content:center;gap:3px;z-index:4}.opponent-hand img,.opponent-hand .card-back{height:100%;width:auto;aspect-ratio:.716;object-fit:contain;border:1px solid #a19989;border-radius:2px;box-shadow:0 3px 4px #0009;transform:rotate(-5deg)}.opponent-hand img:nth-child(2){transform:rotate(-2deg)}.opponent-hand img:nth-child(3){transform:rotate(2deg)}.opponent-hand img:nth-child(4){transform:rotate(5deg)}.inspector,.battle-log{position:absolute;z-index:5;background:linear-gradient(130deg,#0d2635f5,#06121ef5 50%,#091723f7);border:1px solid #b69255;border-radius:4px;box-shadow:inset 0 0 0 4px #152534,0 8px 28px #0006;overflow:hidden}.inspector::before,.battle-log::before{content:'';position:absolute;inset:6px;border:1px solid #8f754b88;pointer-events:none;z-index:1}.inspector{left:.6%;top:8.2%;width:21.8%;height:80.8%;padding:16px 22px;display:flex;flex-direction:column;align-items:stretch;gap:10px}.inspector .detail-card,.inspector .full-card,.inspector>img{width:76%;height:45%;object-fit:contain;align-self:center;flex-shrink:0;filter:drop-shadow(0 5px 8px #0009)}.inspector h2{font-size:clamp(20px,1.6vw,28px);font-family:'Songti TC',serif;margin:2px 0;color:#f4d794;line-height:1.3}.inspector .card-meta{font-size:12px;color:#8eacbd;margin:0;letter-spacing:.03em}.card-description{white-space:pre-line;line-height:1.75;font-size:clamp(14px,1.03vw,18px);margin:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#7e6b47 transparent;color:#d8e0e2;min-height:0}.card-description strong{color:#eed6a5}.inspector .detail-open{border:1px solid #a48a53;background:#102434;color:#ecd5a3;padding:8px;margin-top:auto}.battle-log{left:80.62%;top:8.08%;width:19.38%;height:43.7%;padding:14px 13px}.battle-log h2{font-family:'Songti TC',serif;font-size:clamp(21px,1.7vw,29px);color:#f0d999;letter-spacing:.1em;margin:2px 5px 15px}.log-entries{display:flex;flex-direction:column;gap:10px;overflow:auto;height:calc(100% - 55px);padding:0 4px;scrollbar-width:thin}.log-entry{display:flex;gap:12px;align-items:center;border:1px solid #59768a55;padding:10px;background:#071523bd;flex-shrink:0;min-height:85px}.log-entry img{width:46px;height:64px;object-fit:cover;border:1px solid #c0a16b}.log-entry p{margin:0;font-size:clamp(12px,1vw,17px);line-height:1.6}.log-entry small{display:block;color:#90a9ba;font-size:.8em}.log-entry b{color:#ebc876}.player-hand{position:absolute;left:28.5%;top:86.2%;width:41.9%;height:15.5%;z-index:10;display:flex;align-items:flex-start;justify-content:center;isolation:isolate}.hand-card{position:relative;width:23%;aspect-ratio:.716;flex-shrink:0;padding:0;background:transparent;border:0;margin-left:-3%;transform-origin:50% 95%;transform:translateY(var(--raise,0px)) rotate(var(--angle,0deg));transition:transform .22s,filter .22s;filter:drop-shadow(0 7px 9px #000b);--angle:0deg;min-width:44px}.hand-card:first-child{margin-left:0;--angle:-12deg}.hand-card:nth-child(2){--angle:-6deg;top:-6px}.hand-card:nth-child(3){--angle:0deg;top:-10px}.hand-card:nth-child(4){--angle:6deg;top:-6px}.hand-card:nth-child(5){--angle:12deg}.hand-card .card-face{position:absolute;inset:0;border:3px solid #bb8b46;border-radius:6px;background:#1a1714;overflow:hidden;box-shadow:inset 0 0 0 2px #2e1514,0 0 0 2px #311c16}.hand-card .art{object-position:center}.hand-card .hand-card-name{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#050d17 30%);padding:17px 5px 7px;font-size:13px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hand-card.is-selected{--raise:-12px;z-index:8;filter:drop-shadow(0 0 7px #f6c768)}.hand-card:hover,.hand-card:focus-visible{--raise:-45px;--angle:0deg;z-index:12;filter:drop-shadow(0 0 10px #eec879)}.desktop-action{position:absolute;left:79.05%;bottom:1.4%;width:20.35%;height:12.1%;display:flex;flex-direction:column;align-items:center;gap:9px;z-index:11}.action-note{font-size:clamp(12px,.9vw,16px);color:#e2c78c;background:#07111edb;padding:5px 10px;text-align:center}.pass-button,.primary{position:relative;min-height:46px;color:#fff0c9;font-family:inherit;font-size:clamp(19px,1.5vw,27px);font-weight:600;letter-spacing:.08em;border:1px solid #e5bb64;background:linear-gradient(180deg,#75512a,#38291c 55%,#271d17);box-shadow:inset 0 0 0 3px #201e1c,inset 0 0 0 4px #b68d4d,0 3px 15px #0008;padding:12px 22px;clip-path:polygon(7% 0,93% 0,100% 50%,93% 100%,7% 100%,0 50%);transition:filter .2s}.pass-button:hover,.primary:hover{filter:brightness(1.25)}.desktop-action .pass-button{width:100%;flex:1}.mobile-dock{display:none}.mobile-log-close{display:none}
/* Readable, independently operable information layers. */
dialog{border:1px solid #c3a05c;border-radius:6px;color:var(--ink);background:#0a1b29;box-shadow:0 20px 80px #000b;padding:24px;width:min(900px,92vw);max-height:90dvh;overflow:auto}dialog::backdrop{background:#02070db8;backdrop-filter:blur(5px)}dialog h2{margin:0 50px 18px 0;font-family:'Songti TC',serif;color:#f2d693;font-size:26px}dialog button.close-dialog,.dialog-close{position:absolute;top:13px;right:13px;width:42px;height:42px;border:1px solid #9c8350;background:#142b3a;font-size:24px;border-radius:4px}.detail-content{display:grid;grid-template-columns:minmax(180px,38%) 1fr;gap:24px}.detail-content>img,.detail-content .detail-card{width:100%;max-height:70dvh;object-fit:contain}.detail-content .card-description{font-size:18px}.dialog-toolbar{display:flex;gap:12px;margin:18px 0 0;justify-content:flex-end}.dialog-toolbar button,.secondary{background:#193244;border:1px solid #8e7850;padding:10px 18px;min-height:44px;color:#f2e1bb}.zone-grid,.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:14px}.zone-card,.collection-card{position:relative;display:flex;flex-direction:column;gap:7px;align-items:center;background:#132b3c;padding:8px;border:2px solid transparent;border-radius:5px;min-height:44px}.zone-card img,.collection-card img{width:100%;aspect-ratio:.716;object-fit:contain;max-height:230px}.zone-card span,.collection-card span{font-size:14px;line-height:1.4}.zone-card.is-selected,.collection-card.is-selected,[aria-pressed=true].zone-card{border-color:#edc271;background:#4f452e}.zone-card.is-selected::after,.collection-card.is-selected::after{content:'✓';position:absolute;top:10px;right:10px;padding:2px 7px;background:#e5be71;color:#07121d;font-weight:bold}.restore-collection{position:fixed;z-index:30;left:50%;bottom:12%;transform:translateX(-50%);background:#143347;border:1px solid #edcb7c;padding:12px 20px;border-radius:5px;color:#f8e2ae;box-shadow:0 8px 24px #0009}.settings-list{display:flex;flex-direction:column;gap:16px}.settings-list label{display:flex;gap:14px;align-items:center;min-height:44px;font-size:17px}.settings-list input{width:22px;height:22px;accent-color:#dabd82}.settings-note{font-size:14px;line-height:1.8;color:#9db3c2}.settings-list button{min-height:44px;background:#163143;border:1px solid #9d865d;color:#ead7b0;padding:10px 18px;text-align:left}#public-reveal{position:absolute;right:1%;top:53%;width:18.5%;z-index:15;background:#071a28f5;border:1px solid #c5a261;box-shadow:0 6px 30px #0009;padding:14px;display:flex;flex-direction:column;gap:12px;border-radius:4px}#public-reveal[hidden]{display:none}#public-reveal h3{font-size:17px;margin:0;color:#f0d595}#public-reveal p{font-size:13px;color:#bfd0da;margin:0;line-height:1.6}.reveal-cards{display:flex;gap:7px}.reveal-cards button{width:33%;padding:0;background:none;border:1px solid #d7bb7a}.reveal-cards img{width:100%;display:block;aspect-ratio:.716;object-fit:contain}#public-reveal .primary{font-size:16px;min-height:42px;padding:8px}.toast,#status-toast{position:absolute;bottom:22%;left:50%;transform:translateX(-50%);z-index:45;border:1px solid #8eadae;background:#0c2336ed;color:#efdec2;padding:12px 22px;border-radius:4px;font-size:15px;text-align:center;max-width:80%;box-shadow:0 8px 25px #0008}.toast[hidden],#status-toast[hidden]{display:none}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}[hidden]{display:none!important}@keyframes invoke{0%,100%{transform:scale(1)}40%,65%{transform:scale(1.14);filter:drop-shadow(0 0 22px #fff0a7)}}
@media(max-aspect-ratio:1/1){#arena{min-height:650px;height:100dvh}.topbar{height:6.8%;padding:0 2%;align-items:flex-start;background:linear-gradient(#061320ef,#061320ab)}.brand{width:70%;height:100%;gap:6px}.brand-logo{height:43px;width:34px}.brand-name{font-size:clamp(20px,5.5vw,29px);letter-spacing:.07em}.preview-badge{left:48px;bottom:1px;font-size:8px}.phase-track{display:none}.mobile-phase{display:flex;align-items:center;justify-content:center;position:absolute;left:25%;top:4.9%;height:3.4%;width:50%;background:linear-gradient(180deg,#765128ef,#302019f5);border:1px solid #ebc678;clip-path:polygon(5% 0,95% 0,100% 50%,95% 100%,5% 100%,0 50%);font-size:clamp(12px,3.3vw,18px);color:#ffe7b2;font-weight:600;white-space:nowrap;z-index:9}.header-tools{gap:4px;margin-top:5px}.icon-button{width:36px;height:36px;font-size:20px;border-color:#a58a55}.header-tools .settings-button{display:none}.icon-button svg{width:19px;height:19px}.slot .card-face{top:17px;border-width:1.5px}.slot-label{height:18px;line-height:18px;font-size:clamp(10px,2.6vw,15px);background:linear-gradient(90deg,transparent,#081624f2 9%,#081624f2 91%,transparent)}.card-face::before,.card-face::after{width:12px;height:12px}.deity .card-face{top:0;border-width:1.5px}.deity .art{height:calc(100% - 20px)}.deity .stats{height:20px;left:1px;right:1px;font-size:clamp(11px,3.1vw,17px);gap:1px}.stats span{gap:2px}.stats img{width:clamp(10px,2.8vw,16px);height:clamp(12px,3vw,17px)}.slot-label,.count-badge{pointer-events:none}.slot::before{content:'';position:absolute;min-width:44px;min-height:44px;inset:0;z-index:6}.count-badge{min-width:17px;font-size:11px;right:3px;bottom:3px;padding:0 3px}.pile .slot-label,.grave .slot-label,.covered .slot-label{font-size:clamp(10px,2.5vw,14px)}.pile .card-face{box-shadow:2px 2px #10202a,3px 3px #625d51,4px 4px #091019}.cpu-god{left:36.03%;top:25.72%;width:28.06%;height:14.06%}.player-god{left:36.03%;top:54.61%;width:28.06%;height:14.06%}.cpu-equip-left{left:20.09%;top:26.61%;width:13.82%;height:12.08%}.cpu-equip-right{left:66%;top:26.61%;width:13.82%;height:12.08%}.player-equip-left{left:20.09%;top:55.38%;width:13.82%;height:12.08%}.player-equip-right{left:66%;top:55.38%;width:13.82%;height:12.08%}.second-equip-art{display:none!important}.cpu-equip-right .empty-emblem,.player-equip-right .empty-emblem{display:flex}.empty-emblem{font-size:clamp(28px,8vw,52px)}.cpu-main{left:3.08%;top:17.05%;width:13.6%;height:10.65%}.cpu-extra{left:83.63%;top:17.05%;width:15.2%;height:10.65%}.player-main{left:83.21%;top:67.05%;width:15.73%;height:10.59%}.player-extra{left:1.28%;top:67.05%;width:15.62%;height:10.59%}.cpu-grave{left:8.08%;top:30.08%;width:9.25%;height:8.19%}.cpu-covered{left:.74%;top:30.08%;width:7.23%;height:8.19%}.player-grave{left:82.68%;top:56.22%;width:9.25%;height:8.19%}.player-covered{left:92.03%;top:56.22%;width:7.23%;height:8.19%}.cpu-temple{left:83.21%;top:29.96%;width:15.09%;height:11.84%}.player-temple{left:1.7%;top:52.69%;width:15.09%;height:11.84%}.cpu-effect{left:21.68%;top:41.57%;width:16.58%;height:11.42%}.player-effect{left:61.74%;top:41.51%;width:16.58%;height:11.42%}.effect-zone{border-width:1px;box-shadow:inset 0 0 8px #edb95644,0 0 9px #f5b64e77}.cpu-effect{box-shadow:inset 0 0 8px #468aff55,0 0 9px #4fbcff77}.effect-label{font-size:clamp(11px,2.9vw,17px);letter-spacing:0;line-height:1.25}.effect-emblem{height:39%;width:64%}.effect-zone small{font-size:clamp(9px,2.2vw,12px);padding:0 4px;margin-top:3px}.cpu-resources{left:25.19%;top:17.11%;width:49.2%;height:5.2%}.player-resources{left:25.61%;top:72.19%;width:49.2%;height:5.2%}.resource-row{padding:3px 5px;gap:5px}.resource-title{font-size:clamp(10px,2.7vw,15px)}.resource-title small{display:none}.resource-cards{gap:3px;justify-content:space-between}.resource-card{min-width:0;flex:1}.opponent-hand{left:28.9%;top:8.7%;width:38.9%;height:5.8%;gap:2px}.opponent-hand img{height:100%;width:23%;object-fit:fill}.inspector{display:none}.battle-log{display:none}.battle-log.open{display:block;position:fixed;left:5%;right:5%;top:10%;width:90%;height:65%;z-index:40;padding:20px}.battle-log h2{font-size:25px}.battle-log.open .mobile-log-close{display:block;position:absolute;top:12px;right:12px;width:38px;height:38px;background:#193143;border:1px solid #b99b5b;color:var(--ink);font-size:20px}.log-entry{min-height:80px}.log-entry p{font-size:15px}.log-entry img{width:44px;height:61px}.player-hand{left:0;top:78.4%;width:100%;height:15%;}.hand-card{width:23%;margin-left:-3%;}.hand-card .card-face{border-width:2px}.hand-card .hand-card-name{display:none}.hand-card.is-selected{--raise:-6px}.hand-card:hover,.hand-card:focus-visible{--raise:-12px}.hand-card:nth-child(2){top:-3px}.hand-card:nth-child(3){top:-5px}.hand-card:nth-child(4){top:-3px}.desktop-action{display:none}.mobile-dock{display:grid;position:absolute;inset:auto 0 0;height:8%;min-height:64px;grid-template-columns:40px minmax(0,1fr) 110px;gap:8px;align-items:center;background:linear-gradient(155deg,#102b3cf5,#061422fa);border-top:2px solid #caa562;z-index:14;padding:8px 9px max(8px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #0008}.mobile-dock img{height:48px;width:35px;object-fit:cover;border:1px solid #d8b36b}.mobile-dock .selected-card-info{padding:0;background:none;border:0;min-height:44px;text-align:left;min-width:0}.mobile-dock strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:14px;color:#ead9b5}.mobile-dock small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#a9c1d2;margin-top:5px}.mobile-dock .pass-button{font-size:14px;letter-spacing:0;padding:8px 11px;min-height:44px;background:linear-gradient(#22485f,#112537);clip-path:polygon(9% 0,91% 0,100% 30%,100% 70%,91% 100%,9% 100%,0 70%,0 30%)}dialog{width:94vw;max-height:89dvh;padding:19px 15px}dialog h2{font-size:22px;margin-bottom:18px}.detail-content{display:flex;flex-direction:column;gap:16px}.detail-content>img,.detail-content .detail-card{height:32dvh;width:auto;max-width:100%;align-self:center}.detail-content .card-description{font-size:16px;line-height:1.8;overflow:visible}.zone-grid,.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.zone-card,.collection-card{padding:5px}.zone-card span,.collection-card span{font-size:12px}.dialog-toolbar{flex-wrap:wrap;gap:8px}.dialog-toolbar button{flex:1}.restore-collection{bottom:9%;font-size:14px;max-width:90%;white-space:nowrap}#public-reveal{position:absolute;top:8.7%;left:17%;right:17%;width:auto;padding:10px;max-height:36%;overflow:auto;z-index:16}#public-reveal h3{font-size:14px}#public-reveal p{font-size:11px}.reveal-cards{justify-content:center}.reveal-cards button{width:22%}#public-reveal .primary{font-size:14px;padding:5px;min-height:36px}.toast,#status-toast{bottom:19%;font-size:13px;min-width:70%;padding:10px 14px}.deity.activating::after{font-size:12px;top:-24px;padding:3px 8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{animation:none!important;transition:none!important}
/* Component contracts: all cards and controls remain separate DOM elements. */
#interface-root{position:absolute;inset:0}.loading-message{position:absolute;inset:40% 0 auto;text-align:center}.opponent-card{display:block;height:100%;aspect-ratio:.716;padding:0;background:transparent;border:0;transform:rotate(-5deg)}.opponent-card:nth-child(2){transform:rotate(-2deg)}.opponent-card:nth-child(3){transform:rotate(2deg)}.opponent-card:nth-child(4){transform:rotate(5deg)}.opponent-card img{width:100%;height:100%;transform:none}.resource-empty{display:block;aspect-ratio:.714;height:100%;min-width:0;border:1px solid #806b48;border-radius:2px;background:linear-gradient(155deg,#162c3870,#091522);opacity:.75}.covered-pile .card-face{border-color:#979185}.covered-pile .art{object-fit:fill}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}.panel-heading h2{font-family:'Songti TC',serif;color:#f0d999;font-size:clamp(17px,1.25vw,22px);margin:0}.panel-heading>span{color:#9baebc;font-size:11px;white-space:nowrap}.panel-heading button{border:0;background:transparent;font-size:21px;min-width:32px;height:32px}.inspector{gap:9px}.inspector-art{background:none;padding:0;border:0;width:100%;height:45%;min-height:0;flex-shrink:0}.inspector .inspector-art .full-card{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 9px #0008)}.inspector h3{font-family:'Songti TC',serif;font-size:clamp(18px,1.45vw,25px);margin:3px 0 0;line-height:1.4;color:#f3d69c}.effect-copy{white-space:pre-line;line-height:1.8;font-size:clamp(14px,1.05vw,18px);color:#d9e2e6;margin:0;min-height:0}.inspector .effect-copy{overflow:auto;scrollbar-width:thin;scrollbar-color:#7e6b47 transparent;flex:1}.text-button{border:1px solid #9d824f;background:#102737;padding:8px 12px;color:#e7d0a1;text-align:center;min-height:38px;font-size:13px}.battle-log .panel-heading{margin-bottom:12px}.battle-log .panel-heading h2{font-size:clamp(19px,1.5vw,26px)}.log-entries{height:calc(100% - 43px)}.log-entry{text-align:left}.log-entry>span{font-size:clamp(12px,.94vw,16px);line-height:1.5}.response-note{font-size:clamp(11px,.85vw,15px);color:#e7cc93;padding:3px 8px;text-align:center;text-shadow:0 1px 4px #000;background:#07111edb}.response-note::before{content:'!';display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;font-size:12px;background:#ddbc75;color:#142332;border-radius:50%;margin-right:5px;font-weight:800}.demo-caption{font-size:10px;color:#9faeab;letter-spacing:.05em}.dialog-heading{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-heading h2{margin:0 0 18px;font-size:25px}.dialog-heading>button{flex-shrink:0;width:38px;height:38px;border:1px solid #9c8350;background:#142b3a;font-size:26px;border-radius:4px}.detail-card-layout{display:grid;grid-template-columns:minmax(180px,40%) 1fr;gap:24px}.detail-card-layout>.full-card{width:100%;max-height:70dvh;object-fit:contain}.detail-copy{display:flex;flex-direction:column;gap:15px;align-self:center}.detail-copy .effect-copy{font-size:18px}.card-meta{font-size:13px;color:#9eb9c9;letter-spacing:.04em}.preview-note{font-size:12px;line-height:1.6;color:#8cabbf;margin:10px 0 0}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.dialog-actions button,.settings-content>button,.primary-button{background:#193244;border:1px solid #9e8552;padding:11px 18px;min-height:44px;color:#f2e1bb;border-radius:3px;font-size:15px}.primary-button{background:linear-gradient(#8c6d36,#503a20);border-color:#d4b16d;font-weight:600}.collection-description{font-size:15px;line-height:1.7;color:#adc1ce;margin:0 0 18px}.collection-card .selection-tick{display:none}.settings-content{display:flex;flex-direction:column;gap:17px}.settings-content>p{line-height:1.7;color:#b2c4d0;margin:0}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #54708044;min-height:50px;gap:20px}.setting-row small{display:block;font-size:12px;color:#8fa9ba;margin-top:6px}.setting-row input{width:24px;height:24px;accent-color:#d5af63}.settings-content>button{text-align:left}.reveal-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.reveal-heading h2{font-size:17px;margin:0;color:#f0d595}.reveal-heading>button{background:#183043;border:1px solid #607e8b;color:#dbe8ec;padding:6px;font-size:12px;min-height:32px}.reveal-cards{justify-content:center}.reveal-cards button{background:#0d2538;padding:3px}.reveal-cards span{display:block;font-size:11px;line-height:1.5;padding:5px 1px}.reveal-actions{display:flex;flex-direction:column;gap:8px}.reveal-actions small{color:#9ab4c4;font-size:10px;text-align:center}.reveal-actions .primary-button{min-height:38px;font-size:14px;padding:8px}#public-reveal{top:53.2%;max-height:33%;overflow:auto}.public-reveal.is-collapsed .reveal-actions small{display:none}[data-reduced-motion=true] *,[data-reduced-motion=true] *::before,[data-reduced-motion=true] *::after{animation:none!important;transition:none!important}
@media(max-aspect-ratio:1/1){.opponent-card{width:23%;aspect-ratio:.716}.opponent-card img{width:100%;height:100%}.resource-empty{flex:1}.battle-log.is-open{display:block;position:fixed;left:5%;right:5%;top:10%;width:90%;height:65%;z-index:40;padding:20px}.battle-log .panel-heading h2{font-size:23px}.log-entry>span{font-size:15px}.mobile-dock{grid-template-columns:minmax(0,1fr) 116px;column-gap:8px}.dock-selection{display:flex;align-items:center;gap:9px;min-width:0;padding:0;background:none;border:0;text-align:left;min-height:44px}.dock-thumbnail{flex-shrink:0}.dock-copy{min-width:0}.dock-expand{position:absolute;left:calc(50% - 22px);top:-13px;width:44px;height:22px;line-height:20px;padding:0;border:1px solid #bc9854;border-bottom:0;background:#0b1d2b;color:#ebd395;font-size:23px;clip-path:polygon(20% 0,80% 0,100% 100%,0 100%)}.mobile-dock .response-note{display:none}.mobile-dock .pass-button{grid-column:2;grid-row:1;width:100%}.detail-card-layout{display:flex;flex-direction:column;gap:17px}.detail-card-layout>.full-card{height:36dvh;width:auto;max-width:100%;align-self:center}.detail-copy .effect-copy{font-size:16px;line-height:1.8}.dialog-heading h2{font-size:21px;line-height:1.4}.dialog-heading>button{width:36px;height:36px}.dialog-actions{flex-wrap:wrap;gap:8px}.dialog-actions button{flex:1;font-size:13px;padding:10px}.reveal-heading h2{font-size:14px}.reveal-cards span{font-size:10px}.reveal-actions .primary-button{font-size:13px;min-height:34px}#public-reveal{top:8.7%;max-height:37%}.preview-note{font-size:11px}}
/* Metallic trim and restrained glow distinguish active cards from the scenery. */
.brand-logo,.effect-emblem{background-size:335% auto;mask-image:radial-gradient(ellipse at center,#000 54%,transparent 76%)}.topbar::after{content:'';position:absolute;left:1%;right:1%;bottom:-2px;height:3px;background:linear-gradient(90deg,transparent,#d5ad5d 8%,#fff1bc 25%,#8f6c36 42%,#ebc778 60%,transparent);opacity:.8;pointer-events:none}.slot .card-face{border-color:#d1af6c;box-shadow:inset 0 0 0 1px #352514,0 0 0 1px #3a2d1b,0 0 0 3px #8a692c55,0 5px 12px #0007}.card-face::before,.card-face::after{width:24px;height:24px;border-width:2px;clip-path:polygon(0 0,100% 0,100% 12%,12% 12%,12% 100%,0 100%)}.card-face::after{transform:rotate(180deg)}.slot .slot-label{left:8%;right:8%;background:linear-gradient(180deg,#27303b,#07121c 50%,#0d1821);border-top:1px solid #b79657;border-bottom:1px solid #977442;clip-path:polygon(9% 0,91% 0,100% 50%,91% 100%,9% 100%,0 50%);letter-spacing:.04em}.deity .card-face{border-color:#f8d288;box-shadow:0 0 0 1px #704817,0 0 0 3px #d5a75366,0 3px 20px #e3b85733}.deity .art{transform:scale(1.15);transform-origin:50% 30%}.deity .stats{background:linear-gradient(180deg,#263540,#07111d 30%,#060e18);border-top-color:#e0bd74}.player-god{filter:drop-shadow(0 0 9px #e8b95655)}.cpu-god{filter:drop-shadow(0 0 8px #5bc5fb55)}.equipment .art{transform:scale(1.12);transform-origin:center}.effect-zone{background:radial-gradient(ellipse at 50% 30%,#8b6d2d77,transparent 58%),linear-gradient(155deg,#42311ee8,#091522f5 55%,#392814ee);border-color:#e0b66b}.cpu-effect{background:radial-gradient(ellipse at 50% 30%,#3a8bb466,transparent 58%),linear-gradient(155deg,#164361ed,#071d32f5 55%,#123b5eeb);border-color:#8ad6ff}.effect-zone::after{inset:10px;border-color:#f5cf8d44;clip-path:none;border-radius:2px}.phase-track .active{background:linear-gradient(155deg,#a87836bb,#4d371ce8 42%,#17202a);border-color:#ecc982;box-shadow:inset 0 0 0 2px #49381f,0 0 16px #efb54344}.pass-button{background:linear-gradient(175deg,#b58b48,#6a4523 38%,#2b211c 70%,#57401e);text-shadow:0 2px 3px #000;font-family:'Songti TC','Noto Serif TC',serif}.pass-button::before{content:'';position:absolute;inset:6px;border:1px solid #ecc97a;clip-path:polygon(0 0,21% 0,21% 5%,3% 5%,3% 95%,21% 95%,21% 100%,0 100%,100% 100%,79% 100%,79% 95%,97% 95%,97% 5%,79% 5%,79% 0,100% 0);pointer-events:none}.inspector,.battle-log{background:linear-gradient(135deg,#122d3cf7,#05121df7 55%,#102535f7);border-color:#d2ac65;box-shadow:inset 0 0 0 3px #101c26,inset 0 0 0 4px #98794688,0 8px 28px #0006}.inspector::before,.battle-log::before{inset:8px;border-color:#d5ae5c88;clip-path:polygon(0 0,13% 0,13% 1%,1% 1%,1% 7%,0 7%,0 100%,13% 100%,13% 99%,1% 99%,1% 93%,0 93%,100% 100%,87% 100%,87% 99%,99% 99%,99% 93%,100% 93%,100% 0,87% 0,87% 1%,99% 1%,99% 7%,100% 7%)}.hand-card .card-face{border:2px solid #e0ad52;box-shadow:inset 0 0 0 2px #271b15,0 0 0 2px #6f441d,0 0 0 3px #d7ad4b99}.hand-card .art{transform:scale(1.06)}
@media(max-aspect-ratio:1/1){.slot .slot-label{left:0;right:0;letter-spacing:0}.slot .card-face{box-shadow:inset 0 0 0 1px #352514,0 0 0 1px #80622f,0 3px 8px #0006}.card-face::before,.card-face::after{width:15px;height:15px}.mobile-phase{background:linear-gradient(180deg,#9b6428f5,#432716f5 48%,#1c2026f5);border-color:#f1d190;box-shadow:inset 0 0 12px #e6ab4c66;font-family:'Songti TC',serif;font-weight:700}.deity .stats{font-size:clamp(12px,3.3vw,20px)}.mobile-dock .pass-button{background:linear-gradient(160deg,#38617a,#132a3d 50%,#0d1a2b);box-shadow:inset 0 0 0 2px #172735,inset 0 0 0 3px #c0a56b}.mobile-dock strong{font-size:13px}.brand-name{letter-spacing:.02em}.brand-logo{width:33px;height:41px}}
@media(min-aspect-ratio:1001/1000) and (min-width:761px){.battle-log.is-collapsed{height:62px}.battle-log.is-collapsed .log-entries{display:none}.battle-log.is-collapsed .panel-heading{margin-bottom:0}}
@media(max-aspect-ratio:1/1){.slot::before{pointer-events:none}}

/* Ornate gold presentation: vector metalwork with live, accessible labels. */
.inspector,.battle-log{border:0;border-radius:0;background:linear-gradient(145deg,#102b3cf8,#05131efb 45%,#071924fa);box-shadow:0 10px 30px #0008,inset 0 0 25px #0009}
.inspector::before,.battle-log::before{inset:0;clip-path:none;border:32px solid transparent;border-image:url('assets/interface-v6/ornate-panel-gold.svg') 32 / 32px / 0 stretch;z-index:3}
.inspector{padding:22px 25px 23px}.battle-log{padding:18px 18px 20px}
.inspector .panel-heading{padding-bottom:6px;border-bottom:1px solid #b08d4680}.battle-log .panel-heading{padding:0 2px 11px;margin-bottom:10px;border-bottom:1px solid #d5ab58;box-shadow:0 1px #493820}
.battle-log .panel-heading h2{font-size:clamp(20px,1.65vw,28px);text-shadow:0 1px 2px #000,0 0 10px #d6ad4d25}
.battle-log .log-entries{height:calc(100% - 53px);padding:0 1px}.log-entry{border:1px solid #24516b;background:linear-gradient(110deg,#0d293a99,#051522cc);box-shadow:inset 0 0 0 2px #06121d,inset 0 0 14px #348cc014;border-radius:3px;padding:11px;min-height:88px}.log-entry img{border:1px solid #f0cb7d;box-shadow:0 0 0 2px #5b4629,0 3px 9px #0008}
.topbar{border:0;background:linear-gradient(180deg,#04121ef5,#071b2ae8 68%,#05111dde)}
.brand{position:relative;height:100%}.brand::after{content:'';position:absolute;right:0;bottom:1px;width:45px;height:45px;background:url('assets/interface-v6/ornate-corner-gold.svg') center/contain no-repeat;transform:rotate(180deg);opacity:.9;pointer-events:none}
.phase-track{background:url('assets/interface-v6/ornate-phase-bar.svg') center/100% 100% no-repeat;padding:5px 18px;gap:0;height:76%}
.phase-track>*{border:0;font-family:'Songti TC','Noto Serif TC',serif;font-weight:600;text-shadow:0 1px 3px #000}
.phase-track>*+*::before{left:-5px;z-index:2;font-size:17px;color:#f0d28a;text-shadow:0 0 3px #000}
.phase-track .active,.phase-track [aria-current=step]{border:1px solid #ffe19a;background:radial-gradient(ellipse at 50% 0,#c98a39a8,transparent 80%),linear-gradient(#725022dd,#30241ce8);box-shadow:inset 0 0 0 2px #6e4f25,0 0 9px #ffc96766;color:#fff6dc;text-shadow:0 0 7px #ffb75488}
.phase-track .active::after{content:'';position:absolute;bottom:-2px;left:5%;right:5%;height:3px;background:linear-gradient(90deg,transparent,#e0ac4e,#fff5ce,#d99a37,transparent);box-shadow:0 0 8px #f7ad35}
.icon-button{background:linear-gradient(150deg,#17364a,#061522 60%);border-color:#edc879;box-shadow:inset 0 0 0 2px #07101a,inset 0 0 0 3px #6a5532,0 2px 7px #0008;border-radius:7px}
.pass-button{border:0;clip-path:none;background:transparent url('assets/interface-v6/ornate-button-amber.svg') center/100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 3px 7px #000a);padding:15px 30px;text-shadow:0 2px 3px #000,0 0 9px #efac4844}
.pass-button::before{display:none}.pass-button:hover{filter:brightness(1.17) drop-shadow(0 0 8px #d9a53866)}
.desktop-action{height:13.6%;bottom:.5%;gap:4px;padding:5px 0}.desktop-action .pass-button{min-height:64px;font-size:clamp(22px,1.9vw,34px);font-weight:700}.desktop-action .response-note{width:97%;border-bottom:1px solid #a88344;padding:5px 0;background:linear-gradient(90deg,transparent,#06121ef2 12%,#06121ef2 88%,transparent)}
.mobile-dock::before{content:'';position:absolute;inset:0;pointer-events:none;border:22px solid transparent;border-image:url('assets/interface-v6/ornate-panel-gold.svg') 32 / 22px / 0 stretch;z-index:3}
@media(max-aspect-ratio:1/1){
 .topbar{height:6.8%;background:linear-gradient(#061320f2,#061320ce)}.brand::after{display:none}
 .topbar::before{content:'';position:absolute;left:35%;top:-11px;width:32%;height:67px;background:url('assets/interface-v6/ornate-mobile-gem.svg') center/100% 100% no-repeat;pointer-events:none;opacity:.92;z-index:-1}
 .mobile-phase{left:24%;top:4.7%;width:54%;height:4.4%;border:0;clip-path:none;background:transparent url('assets/interface-v6/ornate-button-amber.svg') center/100% 100% no-repeat;box-shadow:none;text-shadow:0 1px 3px #000,0 0 6px #ffb25299;font-size:clamp(12px,3.3vw,18px);filter:drop-shadow(0 0 4px #f0a32677)}
 .mobile-dock{border:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:linear-gradient(125deg,#0e283afc,#04111dfc 55%,#0c2335fc);min-height:72px;grid-template-columns:minmax(0,1fr) 126px}
 .mobile-dock .pass-button{background:transparent url('assets/interface-v6/ornate-button-blue.svg') center/100% 100% no-repeat;box-shadow:none;clip-path:none;font-family:'Songti TC','Noto Serif TC',serif;font-weight:700;letter-spacing:.03em;font-size:15px;min-height:47px;padding:10px 11px}
 .dock-expand{border-color:#f5ca6d;background:linear-gradient(#16384c,#06131e);top:-12px;color:#fff0c2;z-index:4}.mobile-dock strong{font-size:13px}.mobile-dock small{font-size:10px}.dock-selection{gap:7px}.mobile-dock .dock-thumbnail{width:32px;height:44px}
 .battle-log.is-open{padding:23px}.inspector::before,.battle-log::before{border-image-width:28px}
}

@media(max-aspect-ratio:1/1){.mobile-dock{border:7px solid transparent;border-image:url('assets/interface-v6/ornate-panel-gold.svg') 32 / 20px / 0 stretch;padding:3px 5px max(3px,env(safe-area-inset-bottom));min-height:76px}.mobile-dock::before{display:none}.dock-expand{top:-18px}}

@media(max-aspect-ratio:1/1){.mobile-dock{border-image:none;border:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));background: url('assets/interface-v6/ornate-mobile-dock.svg') center/100% 100% no-repeat,linear-gradient(125deg,#0e283afc,#04111dfc 55%,#0c2335fc)}.dock-expand{top:-12px}}

/* Original card emblems and name strip remain visible outside deity slots. */
.game-card-ui{position:absolute;inset:0;display:block;overflow:hidden;background:linear-gradient(145deg,#80561f,#17293a 15%,#101a23 85%,#c3944c);border:1px solid #d2ad69;border-radius:2px;pointer-events:none}
.game-card-header{position:absolute;inset:0 0 auto;height:15.5%;overflow:hidden;z-index:3;background:#1d211f}.game-card-header img{position:absolute;top:0;left:0;width:100%;height:auto;display:block;max-width:none}
.game-card-illustration{position:absolute;inset:14% 3.5% 5%;overflow:hidden;border:1px solid #ba934c}.game-card-picture{width:100%;height:100%;object-fit:cover;display:block;transform:none!important}.game-card-code{position:absolute;bottom:0;left:0;right:0;height:5.5%;display:flex;align-items:center;justify-content:center;background:#080e15d9;color:#ead9ad;font-size:clamp(4px,.45vw,8px);font-family:Arial,sans-serif;letter-spacing:.03em}
.hand-card .hand-card-name{display:none}.slot .board-full-card,.hand-card .board-full-card,.resource-card .board-full-card{transform:none;object-fit:fill}.resource-card .game-card-ui{border-width:.5px}.resource-card .game-card-code{display:none}
.detail-card-layout>.full-card{touch-action:manipulation}

.audio-switch[aria-pressed=true]{color:#ffe9a1;box-shadow:inset 0 0 0 2px #06121a,0 0 10px #ebc76955}.audio-settings>button{min-height:44px;width:100%;color:#f2d799;border:1px solid #b38a47;background:#173043}.setting-row input[type=range]{width:140px;max-width:45%;height:30px}.player-hand[data-size="6"] .hand-card{width:19.5%;margin-left:-2.7%}.player-hand[data-size="7"] .hand-card{width:17%;margin-left:-2.4%}.player-hand[data-size="8"] .hand-card{width:15.2%;margin-left:-2.3%}.player-hand .hand-card:first-child{margin-left:0}
@media(max-aspect-ratio:1/1){.header-tools{gap:3px}.header-tools .icon-button{width:31px;height:34px}.brand{width:69%;gap:3px}.brand-name{font-size:clamp(19px,5.2vw,29px)}}
