svg.cg-written-card{max-width:100%;height:auto}.cg-page{--cg-gold:#e9be72;--cg-text:#ece8dc;--cg-muted:#abb8b1;--cg-border:#35433e;max-width:1600px;color:var(--cg-text);margin:auto;padding:28px 34px 0}.cg-page button,.cg-page a,.cg-page input,.cg-page select{font:inherit}.cg-page button{cursor:pointer;color:inherit}.cg-page button:disabled{opacity:.4;cursor:not-allowed}:is(.cg-page button:focus-visible,.cg-page a:focus-visible){outline-offset:4px;outline:3px solid #f7d496}.cg-page h1,.cg-page h2,.cg-page h3{font-family:Georgia,serif}.cg-page h2{margin:4px 0 14px;font-size:clamp(28px,3vw,42px);line-height:1.12}.cg-page h3{margin:10px 0;font-size:22px}.cg-page p{line-height:1.65}.cg-kicker{letter-spacing:2.5px;color:var(--cg-gold);margin:0 0 12px;font-weight:700;font-size:10px!important}.cg-primary{border:1px solid #e9be72;border-radius:4px;justify-content:center;align-items:center;gap:22px;min-height:44px;padding:13px 19px;font-weight:700;text-decoration:none;display:inline-flex;color:#18201b!important;background:#e9be72!important;font-size:13px!important}.cg-primary:hover{background:#f5d398!important}.cg-hero{background:linear-gradient(90deg,#10211fec 0%,#172426dc 43%,#24232465 100%),url(/card-game/elementos.webp) 50%/cover;border:1px solid #425049;border-radius:12px;grid-template-columns:1fr 1fr;gap:20px;min-height:490px;padding:56px 58px;display:grid;position:relative;overflow:hidden}.cg-hero:after{content:"";filter:blur(50px);pointer-events:none;background:#e9be7212;width:300px;height:300px;position:absolute;bottom:10px;right:80px}.cg-hero-copy{z-index:1}.cg-hero h1{letter-spacing:-2px;margin:18px 0 24px;font-size:clamp(45px,5.5vw,78px);font-weight:400;line-height:1.02}.cg-hero h1 em{color:#eec885;font-weight:400}.cg-hero-copy>p:not(.cg-kicker){color:#c8d1cc;max-width:420px;margin-bottom:26px;font-size:15px}.cg-hero-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.cg-hero-actions button{background:0 0;border:0;border-bottom:1px solid #67776c;padding:10px 0;font-size:12px}.cg-hero-copy>small{letter-spacing:2px;color:#99ada1;margin-top:28px;font-size:9px;display:block}.cg-hero-cards{z-index:1;align-self:center;min-height:370px;position:relative}.cg-hero-cards button{filter:drop-shadow(0 20px 30px #0009);background:0 0;border:0;width:44%;max-width:250px;padding:0;transition:transform .3s;position:absolute}.cg-hero-cards button :is(img,svg.cg-written-card){border-radius:9px;width:100%}.cg-hero-cards button:hover{transform:translateY(-12px)rotate(0)}.cg-hero-elf{z-index:2;top:20px;left:9%;transform:rotate(-12deg)}.cg-hero-dwarf{z-index:3;top:5px;right:0;transform:rotate(10deg)}.cg-hero-back{filter:drop-shadow(0 10px 20px #0008);border-radius:8px;width:36%;position:absolute;top:45px;left:42%;transform:rotate(0)}.cg-element-ribbon{border-bottom:1px solid var(--cg-border);flex-wrap:wrap;justify-content:center;align-items:center;gap:25px;padding:23px 15px;font-size:12px;display:flex}.cg-element-ribbon span{align-items:center;gap:10px;display:flex}.cg-element-ribbon b{color:var(--element-color);font-size:24px;line-height:1}.cg-element-ribbon i{color:#698073;margin-left:10px;font-style:normal}.cg-element-ribbon small{color:#9baa9e;border-left:1px solid #405047;padding-left:22px;font-size:10px}.cg-workspace{padding-top:24px;scroll-margin-top:140px}.cg-tabs{border-bottom:1px solid var(--cg-border);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:28px;display:flex}.cg-tabs>button{color:#aab9b0;background:0 0;border:0;border-bottom:2px solid #0000;min-height:48px;padding:17px 20px;font-size:12px}.cg-tabs>button[aria-selected=true]{color:#f1d097;background:#e9be7207;border-bottom-color:#e9be72}.cg-wallet{color:#e9be72;align-items:center;gap:8px;margin-left:auto;padding:10px 15px;display:flex}.cg-wallet span{font-size:23px}.cg-wallet strong{font-size:19px}.cg-wallet small{color:#a8b5ae;font-size:10px}.cg-section-title{justify-content:space-between;align-items:center;gap:15px;margin:32px 0 14px;display:flex}.cg-section-title h2{margin-bottom:0}.cg-status{background:#25433355;border:1px solid #3b5949;border-radius:20px;align-items:center;gap:8px;padding:8px 12px;font-size:10px;display:flex}.cg-status i{background:#82c39c;border-radius:50%;width:6px;height:6px}.cg-training-note{color:#bac8be;background:#1d2d2b;border:1px solid #344b43;border-radius:6px;margin-bottom:20px;padding:13px 17px;font-size:11px;line-height:1.7}.cg-training-note strong{color:#e7d3af;margin-right:5px}.cg-onboarding{text-align:center;border:1px solid var(--cg-border);background:linear-gradient(130deg,#192e2a,#1d2630);border-radius:10px;padding:45px}.cg-onboarding h3{font-size:32px}.cg-onboarding p{color:var(--cg-muted);max-width:600px;margin:15px auto 25px;font-size:14px}.cg-choice-title{text-align:center}.cg-factions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;margin:25px 0;display:grid}.cg-faction{background:#1c2c27;border:1px solid #44544a;border-radius:9px;grid-template-columns:170px minmax(0,1fr);align-items:start;gap:24px;padding:25px;display:grid}.cg-faction.anoes{background:#312720;border-color:#62503b}.cg-faction>:is(img,svg.cg-written-card){aspect-ratio:8/11;object-fit:contain;border-radius:7px;align-self:start;width:100%;height:auto;display:block;box-shadow:0 10px 25px #0007}.cg-faction h3{font-size:35px}.cg-faction p{font-size:12px}.cg-faction small{color:#bac3b8;margin-bottom:20px;font-size:11px;line-height:1.6;display:block}.cg-faction button{width:100%}.cg-fine{color:#b1bdb4;font-size:10px!important;line-height:1.6!important}.cg-battle-toolbar{justify-content:space-between;align-items:center;gap:14px;margin:20px 0;display:flex}.cg-battle-toolbar>div{align-items:center;gap:12px;display:flex}.cg-battle-toolbar>div:first-child{flex-direction:column;align-items:flex-start;gap:4px}.cg-battle-toolbar strong{font-family:Georgia,serif;font-size:24px}.cg-battle-toolbar small{color:#a8b6ac;font-size:10px}.cg-battle-toolbar button:not(.cg-primary){border:1px solid var(--cg-border);background:0 0;border-radius:4px;padding:10px 14px;font-size:11px}.cg-battle-layout{grid-template-columns:minmax(200px,240px) minmax(430px,1fr) minmax(210px,250px);align-items:start;gap:22px;display:grid}.cg-inspector,.cg-history{background:#19251f;border:1px solid #34443a;border-radius:9px;padding:18px}.cg-detail-image{background:0 0;border:0;width:100%;padding:0;position:relative}.cg-detail-image :is(img,svg.cg-written-card){object-fit:contain;width:100%;max-height:280px}.cg-detail-image span{color:#afc0b2;padding:8px;font-size:9px;display:block}.cg-inspector h3{font-size:18px;line-height:1.3}.cg-stats{grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 0;display:grid}.cg-stats span{text-align:center;border:1px solid #3f5144;border-radius:3px;padding:9px 3px}.cg-stats small{color:#9cab9e;margin-bottom:4px;font-size:9px;display:block}.cg-stats b{color:#e9ca8a;font-size:16px}.cg-unit-elements{color:#bacdbb;flex-wrap:wrap;gap:8px;font-size:11px;display:flex}.cg-action-buttons{flex-direction:column;gap:8px;margin:14px 0;display:flex}.cg-action-buttons button{text-align:left;background:#24372b;border:1px solid #50614d;border-radius:4px;min-height:42px;padding:10px 12px;font-size:12px}.cg-action-buttons button.active,.cg-reserve-cards button.active{background:#3b422b;border-color:#f1c478;box-shadow:0 0 0 1px #f1c478}.cg-action-buttons select{background:#24372b;border:1px solid #50614d;border-radius:4px;width:100%;padding:10px;font-size:11px}.cg-skill-description{color:#bbccbc;margin:4px 0;font-size:11px;line-height:1.5!important}.cg-tip{color:#a9bca9;border-top:1px solid #3c4a3f;padding-top:18px;font-size:11px}.cg-tip strong{color:#dbcea7}.cg-tip p{margin:6px 0}.cg-field-panel{background:#111d19;border:1px solid #405246;border-radius:9px;overflow:hidden;box-shadow:0 25px 55px #0003}.cg-resource-bar{background:#352a24;border-bottom:1px solid #67472f;justify-content:space-between;align-items:center;gap:8px;padding:14px 16px;display:flex}.cg-resource-bar.player{background:#22382a;border-top:1px solid #49654b;border-bottom:0}.cg-resource-bar div{flex-direction:column;gap:4px;display:flex}.cg-resource-bar div:not(:first-child){text-align:center}.cg-resource-bar span{color:#c6ba9a;letter-spacing:1.3px;font-size:8px}.cg-resource-bar strong{font-family:Georgia,serif;font-size:22px}.cg-resource-bar small{color:#adbcaf;font-size:8px}.cg-resource-bar b{color:#f1cf87;font-size:17px;font-weight:500}.cg-board-scroll{background:radial-gradient(at 50% 30%,#72513a20,#0000 55%),radial-gradient(at 50% 85%,#49774d22,#0000 60%),#111b16;padding:14px;overflow:auto}.cg-board{grid-template-columns:repeat(5,1fr);gap:5px;min-width:395px;display:grid}.cg-cell{background:linear-gradient(140deg,#2c372466,#22302288);border:1px solid #54604b55;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;min-width:0;height:110px;padding:9px 5px 14px;transition:border .15s,background .15s;display:flex;position:relative}.cg-cell.enemy{background:linear-gradient(140deg,#43332855,#292b2377);border-color:#74593c55}.cg-cell.front-enemy{border-bottom:2px solid #a37a44aa;margin-bottom:5px}.cg-cell.front-own{border-top:2px solid #80a86b99;margin-top:5px}.cg-cell.occupied{background:#182019}.cg-cell.legal{cursor:crosshair;box-shadow:inset 0 0 15px #f0ce8220;background:#77663a40!important;border:2px solid #f0ce82!important}.cg-cell.selected{box-shadow:0 0 12px #dbbc6230;border:2px solid #f5d590!important}.cg-cell.engaged{box-shadow:inset 0 0 14px #cb604f33}.cg-cell .cg-coordinate{color:#82957b;z-index:2;font-size:8px;position:absolute;top:4px;left:5px}.cg-cell :is(img,svg.cg-written-card){object-fit:contain;filter:drop-shadow(0 3px 4px #0008);border-radius:2px;max-width:100%;height:77px}.cg-cell-name{text-overflow:ellipsis;white-space:nowrap;color:#d9dfcd;width:100%;padding:0 4px;font-size:7px;position:absolute;bottom:3px;overflow:hidden}.cg-cell-hp{background:#281b1b;border:1px solid #78976e70;border-radius:2px;width:90%;height:12px;min-height:12px;margin-top:2px;position:relative;overflow:hidden}.cg-cell-hp>span{background:#597b49;position:absolute;inset:0 auto 0 0}.cg-cell.enemy-unit .cg-cell-hp>span{background:#975545}.cg-cell-hp b{text-shadow:0 1px 3px #000;font-size:8px;font-weight:600;line-height:10px;display:block;position:relative}.cg-crown{color:#f4ce79;font-size:16px;position:absolute;top:1px;right:3px}.cg-engaged-mark{color:#ffe4c3;background:#7b3229;border-radius:3px;padding:2px;font-size:12px;position:absolute;bottom:15px;right:3px}.cg-empty-mark{color:#aab59444;font-size:20px}.cg-cell.legal .cg-empty-mark{color:#f8d789}.cg-instruction{color:#e9ce98;background:#203023;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:13px 15px;display:flex;font-size:11px!important}.cg-instruction button{white-space:nowrap;background:0 0;border:0;font-size:9px;text-decoration:underline}.cg-reserve{background:#17261c;padding:20px 15px}.cg-reserve h3{font-size:21px}.cg-reserve-cards{gap:12px;display:flex}.cg-reserve-cards button{text-align:left;background:#243426;border:1px solid #506148;border-radius:5px;align-items:center;gap:9px;width:50%;padding:8px;display:flex}.cg-reserve-cards :is(img,svg.cg-written-card){object-fit:contain;width:42px;height:59px}.cg-reserve-cards strong{font-size:10px;line-height:1.3;display:block}.cg-reserve-cards small{color:#d0c395;margin-top:5px;font-size:9px;display:block}.cg-reserve>.cg-fine{margin-bottom:0}.cg-history h3{font-size:23px}.cg-history-list{scrollbar-width:thin;scrollbar-color:#506348 #17251b;max-height:530px;padding-right:5px;overflow-y:auto}.cg-history-list p{color:#b6c1af;border-bottom:1px solid #3d4a3866;margin:0;padding:13px 0;font-size:10px;line-height:1.6}.cg-history-list small{color:#998c62;letter-spacing:1px;margin-bottom:4px;font-size:9px;display:block}.cg-reward-card{background:#382f1b80;border:1px solid #b2944b45;border-radius:6px;margin-top:20px;padding:17px 12px}.cg-reward-card>b{color:#f0cf79;margin-bottom:9px;font-size:29px;display:block}.cg-reward-card strong{color:#eacf8b;font-family:Georgia,serif;font-size:18px;display:block}.cg-reward-card p{color:#c1b591;font-size:11px}.cg-reward-card small{color:#bcad83;font-size:9px}.cg-forfeit{margin-top:15px;font-size:11px}.cg-forfeit button{color:#c1a68f;background:0 0;border:0;padding:9px;font-size:10px;text-decoration:underline}.cg-result{background:#3b2721;border:1px solid #92644e;border-radius:8px;margin-bottom:20px;padding:20px}.cg-result.player{background:#253b23;border-color:#6e9460}.cg-result h3{margin-top:0;font-size:28px}.cg-result p{margin:8px 0;font-size:13px}.cg-result strong{color:#ebcd8f}.cg-result small{color:#bec4b2;margin-top:8px;font-size:10px;display:block}.cg-message{background:#2d482f;border:1px solid #718c58;border-radius:5px;margin:12px 0;padding:13px 17px;font-size:12px}.cg-message.cg-error{background:#512a27;border-color:#bf7466}.cg-message button{background:0 0;border:0;margin-left:12px;text-decoration:underline}.cg-catalog-filters{flex-wrap:wrap;align-items:center;gap:15px;margin:25px 0;display:flex}.cg-catalog-filters input:not([type=checkbox]),.cg-catalog-filters select{color:#e9eddb;background:#1c2b24;border:1px solid #4a5c4c;border-radius:4px;padding:12px;font-size:12px}.cg-catalog-filters input:not([type=checkbox]){flex:1;min-width:240px}.cg-catalog-filters label{color:#bdcbb9;align-items:center;gap:8px;font-size:12px;display:flex}.cg-gallery{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px;margin:25px 0;display:grid}.cg-gallery button{text-align:left;background:#1b2922;border:1px solid #43553e;border-radius:7px;padding:12px;transition:transform .2s}.cg-gallery button:hover{border-color:#d6b770;transform:translateY(-5px)}.cg-gallery :is(img,svg.cg-written-card){object-fit:contain;filter:drop-shadow(0 6px 9px #0006);width:100%;height:270px;display:block}.cg-gallery strong{margin:13px 0 7px;font-family:Georgia,serif;font-size:17px;line-height:1.3;display:block}.cg-gallery span,.cg-gallery small{color:#b2c0aa;font-size:10px;line-height:1.6;display:block}.cg-gallery small{color:#e3c388;margin-top:5px}.cg-elements-panorama{aspect-ratio:2.5;object-fit:cover;border:1px solid #5b5949;border-radius:9px;width:100%;margin:20px 0 0}.cg-element-cards{grid-template-columns:repeat(5,1fr);gap:15px;margin:22px 0 30px;display:grid}.cg-element-cards article{border:1px solid var(--element-color);background:#17251f;border-radius:7px;padding:0 0 16px;overflow:hidden}.cg-element-art{background-image:url(/card-game/elementos.webp);background-size:500%;background-position:var(--element-x) center;height:120px}.cg-element-cards h3{color:var(--element-color);padding:0 13px;font-size:24px}.cg-element-cards h3 span{font-family:system-ui}.cg-element-cards p{padding:0 13px;font-size:12px}.cg-element-cards small{color:#bac6b5;padding:0 13px;font-size:10px;line-height:1.6;display:block}.cg-rule-columns{grid-template-columns:repeat(3,1fr);gap:24px;padding:25px 0;display:grid}.cg-rule-columns article{border-top:1px solid #7b866647;padding-top:15px}.cg-rule-columns p{color:#bac7b5;font-size:12px}.cg-shop{grid-template-columns:repeat(3,1fr);gap:24px;margin:30px 0;display:grid}.cg-shop article{background:#242c22;border:1px solid #5c5940;border-radius:8px;flex-direction:column;padding:20px;display:flex}.cg-shop-art{background:0 0;border:0;padding:0}.cg-shop-art :is(img,svg.cg-written-card){object-fit:contain;filter:drop-shadow(0 10px 12px #0007);width:100%;height:280px}.cg-shop article>div{margin-top:auto}.cg-shop h3{font-size:22px}.cg-shop small{letter-spacing:1px;color:#d9b978;margin-top:18px;font-size:9px;display:block}.cg-shop p{color:#b7c2ad;font-size:11px}.cg-shop .cg-primary{width:100%}.cg-wallet-log{border-top:1px solid var(--cg-border);color:#b6c6ad;padding:20px 0;font-size:12px}.cg-wallet-log summary{cursor:pointer}.cg-wallet-log p{font-size:11px}.cg-footer{color:#abb7a4;border-top:1px solid #4e544333;align-items:center;gap:24px;margin-top:50px;padding:30px 0;display:flex}.cg-footer :is(img,svg.cg-written-card){object-fit:contain;width:100px;height:65px}.cg-footer p{margin:0;font-size:10px}.cg-footer>span{letter-spacing:2px;color:#9eab93;margin-left:auto;font-size:9px}.cg-preview{color:#e6d5b4;background:#0e1612;border:1px solid #b69964;border-radius:9px;max-width:min(92vw,660px);max-height:95dvh;margin:auto;padding:25px 20px 12px;position:fixed;inset:0;box-shadow:0 20px 80px #000b}.cg-preview::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000c}.cg-preview>:is(img,svg.cg-written-card){object-fit:contain;max-width:100%;max-height:80dvh;margin:auto;display:block}.cg-preview p{text-align:center;margin:8px 0 0;font-size:11px}.cg-preview-close{z-index:2;background:#121b16dd;border:0;border-radius:50%;width:35px;height:35px;font-size:18px;position:absolute;top:5px;right:7px;color:#f7dcac!important}@media (min-width:1450px){.cg-cell{height:123px}.cg-cell :is(img,svg.cg-written-card){height:88px}}@media (max-width:1150px){.cg-battle-layout{grid-template-columns:200px minmax(380px,1fr)}.cg-history{grid-column:1/-1;grid-template-columns:2fr 1fr;gap:20px;display:grid}.cg-history>.cg-kicker,.cg-history>h3{grid-column:1/-1;margin:0}.cg-history-list{max-height:230px}.cg-reward-card{margin:0}.cg-hero{min-height:420px;padding:40px}.cg-hero-cards{min-height:300px}.cg-faction{grid-template-columns:110px 1fr;gap:15px;padding:18px}.cg-element-cards{gap:10px}.cg-element-cards h3{font-size:20px}}@media (max-width:760px){.cg-page{padding:16px 14px 0}.cg-hero{grid-template-columns:1fr;gap:0;min-height:0;padding:30px 25px 20px}.cg-hero h1{font-size:51px}.cg-hero-copy>p:not(.cg-kicker){max-width:380px;margin-bottom:20px;font-size:13px}.cg-hero-cards{width:340px;max-width:100%;min-height:290px;margin:30px auto 0}.cg-hero-cards button{width:45%}.cg-hero-elf{top:8px;left:6%}.cg-hero-dwarf{top:0;right:4%}.cg-hero-back{width:37%;top:25px;left:40%}.cg-element-ribbon{gap:15px;padding:16px 0}.cg-element-ribbon span{gap:5px;font-size:10px}.cg-element-ribbon b{font-size:20px}.cg-element-ribbon i{margin-left:1px}.cg-element-ribbon small{text-align:center;border:0;width:100%;padding:0}.cg-tabs{gap:0}.cg-tabs>button{padding:12px 9px;font-size:10px}.cg-wallet{border-top:1px solid var(--cg-border);width:100%;margin-left:0;padding:12px 5px}.cg-section-title{flex-direction:column;align-items:flex-start;gap:10px}.cg-section-title h2{font-size:34px}.cg-factions{grid-template-columns:1fr}.cg-faction{grid-template-columns:110px 1fr}.cg-onboarding{padding:30px 20px}.cg-battle-layout{flex-direction:column;gap:15px;display:flex}.cg-field-panel{order:0;width:100%}.cg-inspector{order:1;grid-template-columns:115px 1fr;gap:8px 15px;width:100%;display:grid}.cg-inspector>.cg-kicker,.cg-inspector>.cg-tip{grid-column:1/-1}.cg-detail-image{grid-row:2/7;align-self:start}.cg-inspector h3{margin:0}.cg-inspector .cg-stats{margin:3px 0}.cg-inspector .cg-action-buttons{grid-column:1/-1;grid-template-columns:1fr 1fr;margin:3px 0;display:grid}.cg-action-buttons .cg-skill-description,.cg-action-buttons select{grid-column:1/-1}.cg-history{order:2;width:100%;display:block}.cg-history-list{max-height:250px}.cg-history>h3{margin:10px 0}.cg-reward-card{margin-top:20px}.cg-battle-toolbar{flex-direction:column;align-items:flex-start}.cg-battle-toolbar>div:last-child{justify-content:space-between;width:100%}.cg-cell{height:106px}.cg-board-scroll{padding:8px}.cg-board{gap:4px;min-width:370px}.cg-resource-bar{padding:12px 10px}.cg-resource-bar strong{font-size:20px}.cg-resource-bar b{font-size:16px}.cg-resource-bar span{letter-spacing:.6px;font-size:7px}.cg-reserve-cards{gap:8px}.cg-reserve-cards button{gap:6px;padding:6px}.cg-reserve-cards :is(img,svg.cg-written-card){width:33px;height:48px}.cg-catalog-filters{gap:10px}.cg-catalog-filters input:not([type=checkbox]){flex:auto;width:100%;min-width:0}.cg-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cg-gallery button{padding:8px}.cg-gallery :is(img,svg.cg-written-card){height:210px}.cg-gallery strong{font-size:15px}.cg-element-cards{grid-template-columns:1fr 1fr}.cg-element-cards article:last-child{grid-column:1/-1}.cg-element-art{background-size:500%;height:130px}.cg-rule-columns{grid-template-columns:1fr;gap:15px}.cg-shop{grid-template-columns:1fr 1fr;gap:12px}.cg-shop article{padding:12px}.cg-shop-art :is(img,svg.cg-written-card){height:220px}.cg-shop h3{font-size:18px}.cg-shop .cg-primary{padding:10px 7px;font-size:11px!important}.cg-footer{flex-wrap:wrap;gap:12px}.cg-footer>span{width:100%;margin-left:0;font-size:8px}.cg-result h3{font-size:23px}}@media (prefers-reduced-motion:reduce){.cg-page *{scroll-behavior:auto!important;transition:none!important}}.cg-skill-choice{grid-column:1/-1}.cg-skill-choice button{width:100%}.cg-skill-choice p{color:#afc2b0;margin:7px 0 13px;font-size:10px;line-height:1.55}.cg-cell.surrounded{box-shadow:inset 0 0 18px #f0994533;border-color:#f09a45!important}.cg-cell.surrounded .cg-crown{color:#ff9548}.cg-returned{border:1px solid #56644d;border-radius:5px;margin-top:14px;padding:12px}.cg-returned h4{margin:0 0 8px;font-size:12px}.cg-returned button{background:#27392a;border:1px solid #5e6c51;width:100%;margin:6px 0;padding:10px;font-size:11px;display:block}.cg-cell.moving{z-index:3}.cg-cell.moving :is(img,svg.cg-written-card){animation:.65s ease-out cg-board-move}.cg-duel-overlay{z-index:200;pointer-events:none;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#07100dc9;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.cg-duel-scene{text-align:center;color:#f8dfb2;background:radial-gradient(#86603833,#0000 65%);width:min(800px,94vw);padding:25px}.cg-duel-scene>p{letter-spacing:2px;text-shadow:0 2px 6px #000;font-size:13px}.cg-duel-cards{justify-content:center;align-items:center;gap:50px;margin:25px 0;display:flex}.cg-duel-cards figure{filter:drop-shadow(0 20px 25px #000);width:230px;margin:0}.cg-duel-cards :is(img,svg.cg-written-card){object-fit:contain;border-radius:7px;width:100%;max-height:55dvh}.cg-duel-cards figcaption{color:#e9c68b;margin-top:12px;font-size:14px}.cg-duel-attacker{animation:1.3s both cg-lunge}.cg-duel-defender{animation:1.3s both cg-recoil}.cg-duel-impact{z-index:3;text-shadow:0 3px 12px #000;flex-direction:column;gap:8px;animation:1.3s both cg-damage;display:flex;position:absolute}.cg-duel-impact strong{color:#ff9b76;font:700 70px Georgia,serif}.cg-duel-impact span{letter-spacing:2px;font-size:11px}.cg-duel-impact b{background:#865624dd;border:1px solid #ffd187;padding:7px;font-size:11px}.cg-duel-scene>small{font-size:12px}@keyframes cg-board-move{0%{transform:translate(var(--move-x),var(--move-y));opacity:.65}to{opacity:1;transform:translate(0)}}@keyframes cg-lunge{0%{opacity:0;transform:translate(-60px)scale(.8)}18%,35%{opacity:1;transform:translate(0)scale(1)}48%{transform:translate(85px)rotate(8deg)scale(1.08)}62%,88%{transform:translate(0)rotate(0)scale(1)}to{opacity:0;transform:scale(.86)}}@keyframes cg-recoil{0%{opacity:0;transform:translate(60px)scale(.8)}18%,45%{opacity:1;transform:translate(0)scale(1)}52%{transform:translate(22px)rotate(-7deg)}65%,88%{transform:translate(0)rotate(0)}to{opacity:0;transform:scale(.86)}}@keyframes cg-damage{0%,45%{opacity:0;transform:scale(.5)}55%,85%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.15)}}@media (max-width:760px){.cg-duel-scene{padding:10px}.cg-duel-cards{gap:18px}.cg-duel-cards figure{width:40%}.cg-duel-impact strong{font-size:48px}.cg-duel-scene>p{font-size:10px}.cg-duel-impact b{font-size:8px}}@media (prefers-reduced-motion:reduce){.cg-cell.moving :is(img,svg.cg-written-card),.cg-duel-attacker,.cg-duel-defender,.cg-duel-impact{animation:none!important}.cg-duel-cards figure,.cg-duel-impact{opacity:1!important;transform:none!important}}.cg-screenbar,.cg-account-bar{color:#bfd0bf;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;font-size:12px;display:flex}.cg-screenbar button,.cg-account-bar button{background:#27382c;border:1px solid #7c8e64;border-radius:5px;min-height:44px;padding:10px 14px}.cg-account{background:#18281f;border:1px solid #566348;border-radius:8px;grid-template-columns:1fr 1fr;gap:35px;margin:15px 0 30px;padding:28px;display:grid}.cg-account h3{font-size:28px}.cg-account p{color:#bfd0bc;font-size:13px}.cg-account a{color:#e9c77c}.cg-account small{color:#b8c4ab;font-size:11px}.cg-account form{flex-direction:column;gap:13px;display:flex}.cg-account label{flex-direction:column;gap:7px;font-size:12px;display:flex}.cg-account input{color:#eee;background:#0d1a13;border:1px solid #59664c;border-radius:4px;padding:12px}.cg-account-tabs{gap:8px;display:flex}.cg-account-tabs button{background:#273729;border:1px solid #657550;border-radius:4px;padding:10px}.cg-account-tabs .active{color:#f2cd8b;border-color:#e7bb6c}.cg-account label.cg-account-link{flex-direction:row;align-items:center}.cg-error-text{color:#ffaaa0!important}.cg-hand-section{background:#17261c;padding:18px}.cg-hand-heading{align-items:center;gap:20px;display:flex}.cg-draw-pile{align-items:center;gap:12px;min-width:120px;display:flex;position:relative}.cg-draw-pile :is(img,svg.cg-written-card){border-radius:5px;width:58px;box-shadow:3px 3px #766443,6px 6px #303929}.cg-draw-pile span{color:#e0c894;font-size:11px;line-height:1.6}.cg-hand-heading h3{font-size:20px}.cg-hand-cards{gap:12px;padding:15px 0;display:flex;overflow-x:auto}.cg-hand-cards article{background:#263527;border:1px solid #5c704e;border-radius:7px;flex-direction:column;flex:0 0 120px;gap:8px;padding:9px;display:flex}.cg-hand-cards article.active{border-color:#efc775;box-shadow:0 0 0 1px #efc775}.cg-hand-cards button{background:#33442d;border:1px solid #75845e;border-radius:4px;min-height:36px;padding:8px 5px;font-size:10px}.cg-hand-cards .cg-hand-art{background:0 0;border:0;padding:0}.cg-hand-art :is(img,svg.cg-written-card){object-fit:contain;width:100%;height:150px}.cg-hand-cards strong{font-size:10px;line-height:1.4}.cg-hand-cards small{color:#e4c77e;font-size:10px}.cg-discard-warning{color:#ffdfae;background:#623c22;border:1px solid #eaba79;padding:12px;font-size:12px}.cg-hand-cards button.cg-discard{background:#743f2b;border-color:#eaaa7b}.cg-opponent-hand{color:#dcc499;background:#2a241b;align-items:center;gap:12px;padding:12px;font-size:11px;display:flex}.cg-opponent-hand>:is(img,svg.cg-written-card){width:37px;box-shadow:3px 3px #65563d}.cg-opponent-hand>div{flex:1;justify-content:center;display:flex}.cg-opponent-hand>div :is(img,svg.cg-written-card){border-radius:2px;width:29px;margin-left:-9px;transform:rotate(3deg)}.cg-page.cg-focus-mode{z-index:150;background:#0f1c16;max-width:none;padding:16px 25px;position:fixed;inset:0;overflow:auto}.cg-page:-webkit-full-screen{background:#0f1c16;width:100%;max-width:none;height:100%;overflow:auto}.cg-page:fullscreen{background:#0f1c16;width:100%;max-width:none;height:100%;overflow:auto}.cg-focus-mode .cg-hero,.cg-focus-mode .cg-element-ribbon,.cg-focus-mode .cg-footer{display:none}.cg-focus-mode .cg-workspace{padding-top:0}.cg-focus-mode .cg-screenbar{z-index:10;background:#0f1c16;position:sticky;top:0}.cg-focus-mode .cg-battle-layout{max-width:1550px;margin:auto}.cg-focus-mode .cg-section-title{margin-top:15px}@media (max-width:760px){.cg-account{grid-template-columns:1fr;gap:20px;padding:20px}.cg-screenbar{font-size:10px}.cg-account-bar{flex-wrap:wrap}.cg-page.cg-focus-mode{padding:10px}.cg-hand-heading{gap:12px}.cg-draw-pile{min-width:90px}.cg-hand-heading h3{font-size:17px}.cg-opponent-hand{gap:8px;font-size:9px}.cg-opponent-hand>div :is(img,svg.cg-written-card){width:23px}}.cg-duel-dice{justify-content:center;gap:65px;margin:25px 0 15px;display:flex}.cg-dice-display{flex-direction:column;align-items:center;gap:7px;display:flex}.cg-dice-stage{perspective:400px;width:60px;height:60px;margin:8px}.cg-dice-cube{width:60px;height:60px;transform-style:preserve-3d;transform:rotateX(var(--dice-x)) rotateY(var(--dice-y));animation:1s ease-out both cg-roll-d6;position:relative}.cg-dice-face{-webkit-backface-visibility:hidden;backface-visibility:hidden;background:linear-gradient(135deg,#fff1cd,#c9b788);border:2px solid #796d4c;border-radius:7px;grid-template-columns:repeat(3,1fr);gap:3px;padding:8px;display:grid;position:absolute;inset:0}.cg-dice-face span{border-radius:50%}.cg-dice-face .pip{background:#263526;box-shadow:inset 1px 1px 2px #0009}.cg-dice-face.face-1{transform:translateZ(30px)}.cg-dice-face.face-2{transform:rotateY(90deg)translateZ(30px)}.cg-dice-face.face-3{transform:rotateX(90deg)translateZ(30px)}.cg-dice-face.face-4{transform:rotateX(-90deg)translateZ(30px)}.cg-dice-face.face-5{transform:rotateY(-90deg)translateZ(30px)}.cg-dice-face.face-6{transform:rotateY(180deg)translateZ(30px)}.cg-dice-display small{font-size:10px}.cg-dice-result{font-size:15px;animation:1s step-end both cg-dice-result}.cg-duel-attacker,.cg-duel-defender,.cg-duel-impact{animation-delay:1.1s}.cg-duel-cards :is(img,svg.cg-written-card){max-height:43dvh}.cg-duel-scene>p{margin-top:0}.cg-duel-cards{margin:14px 0}.cg-pack-offers{grid-template-columns:repeat(4,1fr);gap:18px;margin:25px 0;display:grid}.cg-pack{--pack:#bb8343;border:1px solid var(--pack);background:linear-gradient(150deg,#2b3025,#16201a);border-radius:9px;padding:18px}.cg-pack.prata{--pack:#bac8d0}.cg-pack.ouro{--pack:#edce74}.cg-pack.diamante{--pack:#75d6dc}.cg-pack h3{color:var(--pack)}.cg-pack>strong{font-size:13px}.cg-pack>p{color:#c5c9b5;min-height:60px;font-size:11px}.cg-pack .cg-primary{width:100%;padding:11px;font-size:11px!important}.cg-pack-art{border:2px solid var(--pack);background:radial-gradient(ellipse at center,var(--pack),#1a241e 80%);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;height:210px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 25px #0005}.cg-pack-art :is(img,svg.cg-written-card){opacity:.28;filter:grayscale(.8);height:100%;position:absolute}.cg-pack-art span{color:var(--pack);text-shadow:0 5px 15px #000;font-size:75px;position:relative}.cg-pack-art b{letter-spacing:3px;color:var(--pack);background:#102018cc;padding:10px;position:relative}.cg-pack-opening{text-align:center;background:radial-gradient(at top,#63543a55,#12231a);border:1px solid #bba772;border-radius:9px;margin:30px 0;padding:25px}.cg-reveal-cards{justify-content:center;gap:25px;margin:25px 0;display:flex}.cg-reveal-card{color:#e0d6b4;background:#1a271e;border:1px solid #998358;border-radius:8px;width:220px;padding:12px;transition:transform .3s}.cg-reveal-card:hover:not(:disabled){transform:translateY(-7px)}.cg-reveal-card:disabled{cursor:default;opacity:1!important}.cg-reveal-card :is(img,svg.cg-written-card){object-fit:contain;width:100%;height:280px}.cg-reveal-card strong,.cg-reveal-card small{margin-top:10px;font-size:12px;display:block}.cg-reveal-card.incomum{border-color:#63a6db;box-shadow:0 0 20px #63a6db33}.cg-reveal-card.rara{border-color:#dda756;box-shadow:0 0 30px #dda75666}.cg-pack-shop>details{color:#c7cbb9;margin:20px 0;font-size:12px}.cg-path-summary{background:#213229;border:1px solid #65744b;border-radius:8px;justify-content:space-between;gap:20px;padding:25px;display:flex}.cg-path-summary div{flex-direction:column;gap:8px;display:flex}.cg-path-summary b{color:#eace8c;font:32px Georgia,serif}.cg-path-summary span{color:#bdc9b4;font-size:12px}.cg-progression>progress{accent-color:#d5b56b;width:100%;height:14px;margin-top:20px}.cg-progression>p{color:#c5cbb7;font-size:13px}.cg-path-pages{flex-wrap:wrap;gap:8px;margin:25px 0;display:flex}.cg-path-pages button{background:#243528;border:1px solid #6a774d;border-radius:5px;padding:10px;font-size:12px}.cg-path-pages button.active{color:#f2ce80;border-color:#f2ce80}.cg-path-nodes{grid-template-columns:repeat(5,1fr);gap:15px;display:grid}.cg-path-nodes article{opacity:.65;background:#1c2a20;border:1px solid #576546;border-radius:8px;flex-direction:column;gap:12px;padding:18px;display:flex;position:relative}.cg-path-nodes .earned{opacity:1;background:#273b28;border-color:#759c6a}.cg-path-nodes .next{opacity:1;border:2px solid #e8c98b}.cg-level-number{color:#dbc286;font:28px Georgia,serif}.cg-path-nodes strong{font-size:13px}.cg-path-nodes small{color:#bbc6aa;font-size:10px}.cg-five-wins{gap:6px;display:flex}.cg-five-wins i{border:1px solid #97a47f;border-radius:50%;width:9px;height:9px}.cg-five-wins .filled{background:#d8bc79}.cg-path-nodes .royal{border-color:#d8b373}.cg-path-nodes :is(img,svg.cg-written-card){object-fit:contain;height:170px}.cg-deck-toolbar{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.cg-deck-toolbar input,.cg-deck-toolbar select,.cg-deck-search{color:#e5e7cf;background:#1d2b20;border:1px solid #728059;border-radius:5px;padding:12px}.cg-deck-toolbar input{flex:1}.cg-deck-search{width:100%;margin-bottom:18px}.cg-deck-cards{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.cg-deck-cards article{background:#1b271c;border:1px solid #46543a;border-radius:7px;gap:14px;padding:12px;display:flex}.cg-deck-cards .included{border-color:#cfb578}.cg-deck-cards :is(img,svg.cg-written-card){object-fit:contain;width:85px;height:125px}.cg-deck-cards strong{font-size:12px;display:block}.cg-deck-cards small{color:#bbc6a9;margin:10px 0;font-size:10px;display:block}.cg-deck-cards article>div>div{align-items:center;gap:14px;display:flex}.cg-deck-cards button{background:#344832;border:1px solid #7f8e63;border-radius:4px;width:32px;height:34px}.cg-deck-editor>p{color:#c1cbb6;font-size:12px}@keyframes cg-roll-d6{0%{transform:translateY(-15px)rotateX(650deg)rotateY(450deg)}45%{transform:translateY(7px)rotateX(310deg)rotateY(210deg)}75%{transform:translateY(-6px) rotateX(calc(var(--dice-x) + 60deg)) rotateY(calc(var(--dice-y) + 30deg))}to{transform:translateY(0) rotateX(var(--dice-x)) rotateY(var(--dice-y))}}@keyframes cg-dice-result{0%,99%{opacity:0}to{opacity:1}}@keyframes cg-card-reveal{0%{opacity:.2;transform:rotateY(80deg)}to{opacity:1;transform:rotateY(0)}}@media (max-width:1100px){.cg-pack-offers{grid-template-columns:repeat(2,1fr)}.cg-path-nodes{grid-template-columns:repeat(4,1fr)}.cg-deck-cards{grid-template-columns:repeat(2,1fr)}}@media (max-width:760px){.cg-path-summary{gap:12px;padding:15px}.cg-path-summary b{font-size:23px}.cg-path-summary span{font-size:10px}.cg-path-nodes{grid-template-columns:repeat(2,1fr)}.cg-path-nodes article{padding:12px}.cg-pack-offers{gap:12px}.cg-pack{padding:12px}.cg-pack-art{height:170px}.cg-reveal-cards{gap:8px}.cg-pack-opening{padding:12px}.cg-reveal-card{width:31%;padding:5px}.cg-reveal-card :is(img,svg.cg-written-card){height:170px}.cg-reveal-card strong,.cg-reveal-card small{font-size:9px}.cg-deck-cards{grid-template-columns:1fr}.cg-duel-dice{gap:50px;margin:15px 0}.cg-dice-stage{margin:0;transform:scale(.85)}.cg-duel-scene{padding:8px}.cg-duel-cards :is(img,svg.cg-written-card){max-height:38dvh}}@media (prefers-reduced-motion:reduce){.cg-dice-cube,.cg-dice-result,.cg-reveal-card.revealed{animation:none!important}.cg-dice-result{opacity:1!important}.cg-duel-attacker,.cg-duel-defender,.cg-duel-impact{animation-delay:0s}}.cg-duel-counter-dice{justify-content:center;gap:30px;display:flex}.cg-duel-counter-dice .cg-dice-stage{height:45px;margin:0;transform:scale(.65)}.cg-duel-counter-dice .cg-dice-display{gap:3px}.cg-duel-counter-dice .cg-dice-result{font-size:12px}.cg-dice-display{min-width:104px;position:relative}.cg-dice-webgl{width:104px;height:104px}.cg-dice-webgl canvas{display:block}.cg-dice-fallback{background:#fff4da;border-radius:12px;grid-template-columns:repeat(3,1fr);gap:6px;width:62px;height:62px;padding:11px;display:grid;position:absolute;top:21px;left:21px;box-shadow:0 5px 14px #0006}.cg-dice-fallback .pip{background:#29261f;border-radius:50%}.cg-pending{color:#352913;background:#fff0bd;border:2px solid #ae7b20;border-radius:12px;margin:12px 0;padding:18px}.cg-pending button,.cg-skill-controls button,.cg-deck-start button{margin:6px 5px 6px 0}.cg-pending select,.cg-skill-controls select,.cg-deck-start select{color:#292318;background:#fffaf0;border:1px solid #ac9967;border-radius:6px;max-width:100%;padding:8px}.cg-cell-input{flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0;display:flex}.cg-cell-input label{flex-direction:column;display:flex}.cg-effects-text{text-align:left;margin:14px 0;font-size:14px;line-height:1.5}.cg-effects-text summary{cursor:pointer;font-weight:700}.cg-effects-text p{margin:10px 0}.cg-rule-pending{background:#a978171a;border-left:3px solid #d9aa54;padding:10px;font-size:12px}.cg-skill-controls form{border:1px solid #85704a;border-radius:8px;margin:10px 0;padding:12px}.cg-skill-controls select{width:100%;margin:8px 0;display:block}.cg-equipment-row{border:1px solid #b59350;border-radius:8px;margin:8px 0;padding:8px;font-size:12px}.cg-deck-start{flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;display:flex}.cg-preview .cg-effects-text{color:#eee0ba;max-width:650px;padding:0 20px 20px}.cg-unit-status{color:#efeaff;background:#413b66;border-radius:6px;padding:8px;font-size:12px}.cg-terrain-label{color:#e9f0d5;text-align:center;background:#275244;border-radius:8px;padding:10px;font-size:13px}.cg-audit-card{border-bottom:1px solid #83714d;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:24px 0;display:grid}.cg-audit-card :is(img,svg.cg-written-card){border-radius:12px;align-self:start;width:100%;height:auto}.cg-audit-card h3{margin:0 0 12px;font-size:22px}.cg-audit-card p{line-height:1.65}.cg-audit-ok{color:#adddbb}.cg-audit-card .cg-rule-pending{color:#ffe9af;background:#6b491f}@media (max-width:600px){.cg-audit-card{grid-template-columns:1fr}.cg-audit-card :is(img,svg.cg-written-card){width:190px;margin:auto}}.cg-page :is(img,svg.cg-written-card){-webkit-user-drag:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.cg-selected-card-menu{background:#1c3024;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.cg-selected-card-menu button{white-space:nowrap;background:#324c38;border:1px solid #c9ac72;border-radius:6px;padding:10px 14px}.cg-selected-card-menu span{font-size:13px}.cg-hand-art span{color:#e8cf99;padding:5px;font-size:11px;display:block}.cg-master-rules{background:#36554033;border-left:3px solid #8dcf9d;padding:12px}.cg-preview{width:min(92vw,760px);overflow:auto}.cg-preview>:is(img,svg.cg-written-card){width:100%;max-height:82dvh}.cg-preview .cg-effects-text{font-size:14px}.cg-preview .cg-effects-text p{text-align:left;font-size:14px;line-height:1.65}@media print{.cg-page :is(img,svg.cg-written-card),.cg-preview,.cg-duel-overlay{visibility:hidden!important}}.cg-duel-scene{scrollbar-width:thin;max-height:90vh;overflow-y:auto}.cg-combat-rolls{flex-wrap:wrap;justify-content:center;gap:12px;max-height:40vh;padding:8px;display:flex;overflow-y:auto}.cg-combat-rolls section{background:#0c161acc;border:1px solid #b8a17266;border-radius:8px;min-width:125px;padding:8px 12px}.cg-combat-rolls h4{color:#ead5a9;max-width:260px;margin:0 auto 5px;font-size:11px;font-weight:600}.cg-roll-group{flex-wrap:wrap;justify-content:center;gap:5px;display:flex}.cg-roll-sum{color:#f3dfb5;margin:5px 0 0!important;font-size:12px!important}.cg-roll-sum strong{color:#fff1c7}.cg-combat-rolls .cg-dice-display small{font-size:9px}.cg-dice-light .cg-dice-webgl{display:none}.cg-dice-light .cg-dice-fallback{animation:1.1s ease-out both cg-light-roll}@keyframes cg-light-roll{0%{transform:rotate(-160deg)scale(.7)}60%{transform:rotate(25deg)scale(1.08)}to{transform:rotate(0)scale(1)}}.cg-defeated-card{isolation:isolate;pointer-events:none;width:100%;animation:.45s linear 1.15s both cg-card-tremor;position:relative}.cg-defeated-card .cg-defeated-size{visibility:hidden;width:100%;display:block;height:auto!important;max-height:none!important}.cg-card-shard{position:absolute;inset:0;overflow:hidden}.cg-card-shard :is(img,svg.cg-written-card){object-fit:contain;width:100%;display:block;height:100%!important;max-height:none!important}.cg-card-shard-top{clip-path:polygon(0 0,100% 0,100% 65%,0 35%);animation:.65s ease-in 1.65s both cg-card-break-top}.cg-card-shard-bottom{clip-path:polygon(0 35%,100% 65%,100% 100%,0 100%);animation:.65s ease-in 1.65s both cg-card-break-bottom}.cg-card-slash{opacity:0;z-index:3;background:linear-gradient(90deg,#0000,#fff7cb,#fff,#0000);width:130%;height:4px;animation:.22s ease-out 1.55s both cg-card-cut;position:absolute;top:50%;left:-15%;transform:rotate(20deg);box-shadow:0 0 12px #ffcf72}.cg-destroyed-cell{z-index:5;pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:8px}.cg-destroyed-cell .cg-defeated-card{width:58px}.cg-destruction-gallery{margin:12px auto}.cg-destruction-gallery>strong{color:#f6b995;margin-bottom:8px;font-size:12px;display:block}.cg-destruction-gallery>div{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.cg-destruction-gallery figure{width:90px;margin:0}.cg-destruction-gallery figcaption{color:#dbc8b1;margin-top:4px;font-size:9px}.cg-destruction-gallery>small{color:#e4d4b8;font-size:10px;display:block}.cg-duel-cards .cg-defeated-card{max-width:200px;margin:auto}@keyframes cg-card-tremor{0%,to{transform:translate(0)}15%,45%,75%{transform:translate(-5px,1px)rotate(-2deg)}30%,60%,90%{transform:translate(5px,-1px)rotate(2deg)}}@keyframes cg-card-cut{0%{opacity:0;background-position:0;transform:translate(-25%)rotate(20deg)}12%{opacity:1}88%{opacity:1;background-position:100%;transform:translate(20%)rotate(20deg)}to{opacity:0;background-position:100%;transform:translate(25%)rotate(20deg)}}@keyframes cg-card-break-top{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-35%,-25%)rotate(-14deg)}}@keyframes cg-card-break-bottom{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(35%,35%)rotate(14deg)}}@media (prefers-reduced-motion:reduce){.cg-defeated-card,.cg-dice-light .cg-dice-fallback{animation:none}.cg-card-shard-top,.cg-card-shard-bottom{animation:.15s 1.2s both cg-card-fade}.cg-card-slash{display:none}@keyframes cg-card-fade{to{opacity:0}}}.cg-effect-badges{z-index:6;flex-wrap:wrap;gap:5px;margin:7px 0;display:flex;position:relative}.cg-effect-badges>[role=button]{color:#ffe4aa;cursor:pointer;background:#202a39;border:1px solid #deb66b;border-radius:7px;justify-content:center;align-items:center;min-width:28px;min-height:28px;font-size:18px;display:inline-flex}.cg-effect-badges>[role=button]:focus-visible{outline-offset:2px;outline:2px solid #fff}.cg-cell .cg-effect-badges{max-height:75px;margin:0;position:absolute;top:25px;left:3px;right:3px;overflow:auto}.cg-cell .cg-effect-badges>[role=button]{min-width:24px;min-height:24px;font-size:15px}.cg-effect-dialog{color:#f6e8d1;background:#172332;border:1px solid #deb66b;border-radius:14px;max-width:min(480px,90vw);padding:25px;line-height:1.6}.cg-effect-dialog::backdrop{background:#000a}.cg-effect-dialog>button{float:right;color:inherit;background:0 0;border:1px solid #deb66b;border-radius:5px;padding:5px 10px}.cg-stats b{overflow-wrap:anywhere;font-size:14px}.cg-stats span{min-width:0}.cg-cell.ally-unit{background:linear-gradient(140deg,#234c3655,#16382877);border-color:#69ac82}.cg-cell.enemy-unit{background:linear-gradient(140deg,#663b3555,#42272077);border-color:#bc7066}.cg-cell.ally-unit .cg-cell-hp{border-color:#83bd91}.cg-cell.ally-unit .cg-cell-hp>span{background:#597b49}.cg-cell.enemy-unit .cg-cell-hp{border-color:#bc7066}.cg-gm{background:#182823;border:1px solid #997d4b;border-radius:12px;padding:22px}.cg-gm button,.cg-inbox button{background:#283d31;border:1px solid #70836e;border-radius:5px;min-height:40px;padding:10px 14px}.cg-gm-tabs,.cg-gm-paging,.cg-gm-search{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.cg-gm-tabs button[aria-pressed=true]{color:#13231b;background:#b3985b}.cg-gm input,.cg-gm select,.cg-gm textarea{box-sizing:border-box;color:#f3e5cc;background:#0d1d18;border:1px solid #566950;border-radius:5px;width:100%;padding:11px}.cg-gm-search input{flex:1;min-width:150px}.cg-gm label{gap:7px;margin:13px 0;font-size:13px;display:grid}.cg-gm-table{overflow:auto}.cg-gm table{border-collapse:collapse;width:100%;min-width:500px}.cg-gm th,.cg-gm td{text-align:left;border-bottom:1px solid #405442;padding:13px}.cg-gm td small{overflow-wrap:anywhere;color:#b4c5b7;margin-top:6px;display:block}.cg-gm tr.active{background:#52653a55}.cg-gm-forms{grid-template-columns:1fr 1fr;gap:20px;display:grid}.cg-gm-forms form,.cg-gm-message{border:1px solid #526242;border-radius:8px;padding:20px}.cg-gm-offers{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:20px;display:grid}.cg-gm-offers form{background:#1e3025;border:1px solid #526242;border-radius:8px;padding:16px}.cg-gm-offers form>button:first-child{background:0 0;border:0;width:100%;padding:0}.cg-gm-offers :is(img,svg.cg-written-card){object-fit:contain;max-width:100%;height:230px}.cg-gm-offers h4{font-size:17px;line-height:1.4}.cg-gm .cg-gm-check{align-items:center;gap:10px;display:flex}.cg-gm-check input{width:auto}.cg-gm-log{border-bottom:1px solid #526242;padding:15px 0}.cg-gm-log summary{cursor:pointer}.cg-gm pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#102019;padding:12px;font-size:12px}.cg-inbox{border:1px solid #4a654c;border-radius:7px;margin:15px 0;padding:14px}.cg-inbox summary{cursor:pointer}.cg-inbox article{border-bottom:1px solid #4a654c;padding:14px}.cg-inbox p,.cg-notice-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}.cg-notice-dialog{color:#f4e5c6;background:#1b2c22;border:1px solid #bf9f61;border-radius:12px;max-width:min(600px,90vw);max-height:85dvh;padding:28px;overflow:auto}.cg-notice-dialog::backdrop{background:#000b}.cg-notice-dialog h2{font-size:28px}.cg-notice-dialog p{line-height:1.7}@media (max-width:650px){.cg-gm{padding:12px}.cg-gm-forms{grid-template-columns:1fr}.cg-gm-offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cg-gm-offers form{padding:10px}.cg-gm-offers :is(img,svg.cg-written-card){height:170px}.cg-gm-offers h4{font-size:14px}.cg-gm-offers input{min-width:0}.cg-gm-log summary{font-size:13px}}.cg-reveal-cards{grid-template-columns:repeat(3,minmax(0,220px));align-items:start;gap:24px;display:grid}.cg-reveal-card{perspective:1000px;width:100%;min-width:0;transition:transform .22s,box-shadow .22s;display:block}.cg-reveal-card.cg-facedown:hover:not(:disabled){transform:translateY(-9px)rotate(-2deg);box-shadow:0 12px 25px #0006}.cg-reveal-card.cg-facedown:active:not(:disabled){transform:translateY(-3px)}.cg-reveal-card.revealed{animation:none}.cg-pack-flip{perspective:1100px;aspect-ratio:250/350;width:100%;display:block}.cg-pack-flip-inner{width:100%;height:100%;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.2,.7,.2,1);display:block;position:relative;transform:rotateY(0)}.cg-reveal-waiting .cg-pack-flip-inner{transform:rotateY(78deg)}.cg-reveal-card.revealed .cg-pack-flip-inner{transform:rotateY(180deg)}.cg-pack-card-back,.cg-pack-card-front{-webkit-backface-visibility:hidden;backface-visibility:hidden;border-radius:6px;display:block;position:absolute;inset:0;overflow:hidden}.cg-pack-card-back{background:#142319;transform:rotateY(0)}.cg-pack-card-front{background:#142319;transform:rotateY(180deg)}.cg-reveal-card .cg-pack-flip :is(img,svg.cg-written-card){object-fit:contain;width:100%;height:100%;margin:0;display:block}.cg-pack-card-back>span{color:#efd298;background:#142319dd;border:1px solid #9f875a;border-radius:15px;padding:4px 10px;font-size:12px;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.cg-reveal-card.revealed.rara{box-shadow:0 0 28px #dda75666}.cg-reveal-card.revealed.incomum{box-shadow:0 0 22px #63a6db44}@media (max-width:650px){.cg-reveal-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cg-reveal-card{width:100%;padding:5px}.cg-pack-card-back>span{padding:2px 6px;font-size:9px}.cg-reveal-card strong,.cg-reveal-card small{overflow-wrap:anywhere}}@media (prefers-reduced-motion:reduce){.cg-pack-flip-inner{transition:none}.cg-reveal-card.cg-facedown:hover:not(:disabled){transform:none}}.cg-deck-builder{grid-template-columns:minmax(0,1fr) 355px;align-items:start;gap:24px;display:grid}.cg-deck-owned{min-width:0}.cg-deck-filters{gap:12px;margin-bottom:10px;display:flex}.cg-deck-filters input{flex:1;min-width:0}.cg-deck-filters input,.cg-deck-filters select{color:#e8e0cb;background:#14251e;border:1px solid #607452;border-radius:5px;padding:12px}.cg-owned-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:18px;display:grid}.cg-owned-grid article{background:#1c2c23;border:1px solid #465a42;border-radius:8px;min-width:0;padding:9px}.cg-owned-grid article.included{background:#25382b;border-color:#c5a661}.cg-owned-count{justify-content:space-between;align-items:center;gap:4px;margin-bottom:7px;font-size:11px;display:flex}.cg-owned-count i{color:#3c4e40;font-size:13px;font-style:normal}.cg-owned-count i.owned{color:#a7c592}.cg-owned-count i.in-deck{color:#e9bd70}.cg-owned-art{border:0;width:100%;padding:0;transition:transform .2s;display:block;background:0 0!important}.cg-owned-art:hover{transform:translateY(-4px)}.cg-owned-art :is(img,svg.cg-written-card){aspect-ratio:250/350;object-fit:contain;width:100%;display:block}.cg-owned-grid small{color:#bcc7b2;font-size:10px}.cg-deck-copy-controls{justify-content:space-between;align-items:center;gap:9px;margin-top:9px;display:flex}.cg-deck-copy-controls button{background:#405b39;border:1px solid #88a96b;border-radius:4px;width:36px;min-height:34px;font-size:19px}.cg-deck-list-panel{background:#13231c;border:1px solid #72875b;border-radius:9px;min-width:0;padding:17px;position:sticky;top:100px}.cg-deck-list-heading small{color:#b6c0aa;margin-top:7px;font-size:11px;display:block}.cg-deck-list-panel h3{overflow-wrap:anywhere;margin:0 0 8px;font-size:22px}.cg-deck-list-group h4{color:#d5bf88;margin:18px 0 7px;font-size:12px}.cg-deck-list-row>b{flex-shrink:0;font-size:11px}.cg-deck-list-row>span{white-space:nowrap;color:#e6c57d;font-size:11px}.cg-deck-list-name{text-align:left;overflow-wrap:anywhere;background:0 0;border:0;flex:1;min-width:0;padding:5px 0;line-height:1.35;font-size:11px!important}.cg-deck-hover-preview{z-index:70;pointer-events:none;filter:drop-shadow(0 15px 25px #000a);width:min(300px,30vw);position:fixed;top:50%;right:380px;transform:translateY(-50%)}.cg-deck-hover-preview :is(img,svg.cg-written-card){object-fit:contain;width:100%;max-height:78dvh}@media (min-width:1500px){.cg-deck-hover-preview{right:max(380px,50vw - 395px)}}@media (max-width:950px){.cg-deck-builder{grid-template-columns:minmax(0,1fr) 300px;gap:14px}.cg-deck-hover-preview{width:230px;right:325px}.cg-owned-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (max-width:650px){.cg-deck-builder{grid-template-columns:1fr}.cg-deck-list-panel{position:relative;top:0}.cg-deck-filters{flex-wrap:wrap}.cg-deck-filters input{flex-basis:100%}.cg-deck-hover-preview{display:none}.cg-owned-grid strong{font-size:11px}.cg-owned-grid small{font-size:9px}.cg-deck-list-name{font-size:12px!important}}.cg-page:has(.cg-deck-editor){max-width:1900px}.cg-deck-editor{min-width:0}.cg-deck-editor>.cg-section-title{align-items:center;margin:12px 0 8px}.cg-deck-editor>.cg-section-title .cg-kicker{margin-bottom:5px}.cg-deck-editor>.cg-section-title h2{margin:0;font-size:clamp(27px,2.2vw,34px)}.cg-deck-editor>.cg-section-title>strong{white-space:nowrap;color:#f0cf86;font-size:13px}.cg-deck-editor>p{color:#c1cbb6;margin:5px 0 9px;font-size:10px;line-height:1.4}.cg-deck-toolbar{grid-template-columns:minmax(170px,230px) minmax(180px,1fr) auto;gap:8px;margin:8px 0 12px;display:grid}.cg-deck-toolbar select,.cg-deck-toolbar input{min-width:0;padding:9px 11px}.cg-deck-toolbar .cg-primary{min-height:40px;padding:9px 15px;font-size:11px!important}.cg-deck-builder{grid-template-columns:minmax(0,1fr) minmax(330px,370px);align-items:start;gap:18px;min-width:0;display:grid;position:relative}.cg-deck-owned{grid-area:1/1;min-width:0}.cg-deck-filters{grid-template-columns:minmax(210px,2fr) repeat(4,minmax(105px,1fr));gap:7px;margin:0 0 6px;display:grid}.cg-deck-filters input,.cg-deck-filters select{box-sizing:border-box;width:100%;min-width:0;padding:9px 10px;font-size:11px}.cg-deck-owned>.cg-fine{margin:5px 0 8px;font-size:9px!important}.cg-owned-grid{grid-template-columns:repeat(10,minmax(0,1fr));justify-content:center;gap:9px;width:100%;margin:0 auto;display:grid}.cg-owned-grid article{border-radius:7px;min-width:0;padding:6px}.cg-owned-count{margin-bottom:4px;font-size:9px}.cg-owned-count i{font-size:10px}.cg-owned-art :is(img,svg.cg-written-card){aspect-ratio:auto;object-fit:contain;width:100%;height:clamp(142px,11vw,174px);display:block}.cg-owned-grid strong{min-height:26px;margin:5px 0 3px;font-size:10px;line-height:1.25;display:block}.cg-owned-grid small{font-size:9px;line-height:1.25;display:block}.cg-deck-copy-controls{gap:6px;margin-top:5px}.cg-deck-copy-controls button{width:30px;min-height:29px;font-size:16px}.cg-deck-pagination{color:#c6d0c2;border-top:1px solid #405442;justify-content:center;align-items:center;gap:10px;margin:9px auto 0;padding:8px 0;font-size:11px;display:flex}.cg-deck-pagination button{background:#1c3023;border:1px solid #607452;border-radius:5px;padding:7px 10px;font-size:10px}.cg-deck-pagination strong{white-space:nowrap;color:#e8c980}.cg-deck-pagination span{color:#aebbae}.cg-deck-list-panel{box-sizing:border-box;overscroll-behavior:contain;scrollbar-gutter:stable;background:linear-gradient(160deg,#13231c,#101e18);border:1px solid #72875b;border-radius:9px;grid-area:1/2;align-self:start;width:100%;min-width:0;height:min(74dvh,720px);max-height:calc(100dvh - 128px);margin:0;padding:12px;position:sticky;top:14px;overflow-y:auto}.cg-deck-list-heading{z-index:3;background:#13231c;border-bottom:1px solid #405442;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px;margin:-1px -1px 9px;padding:2px 1px 9px;display:grid;position:sticky;top:-12px}.cg-deck-list-heading h3{overflow-wrap:anywhere;margin:0;font-size:18px}.cg-deck-list-heading>strong{color:#f0cf86;white-space:nowrap;font-size:12px}.cg-deck-list-heading small{color:#b6c0aa;grid-column:1/-1;margin-top:2px;font-size:9px;display:block}.cg-deck-king-section{background:linear-gradient(135deg,#473c1c,#242b20 72%);border:1px solid #d6b96a;border-radius:7px;margin:0 0 10px;padding:9px;box-shadow:inset 0 0 18px #e6c77312}.cg-deck-king-section>header{color:#f2d98e;letter-spacing:1px;justify-content:space-between;align-items:center;margin:0 0 7px;font:700 9px/1.2 system-ui,sans-serif;display:flex}.cg-deck-king-section>header strong{font-size:11px}.cg-deck-king-feature{background:#171f19;border:1px solid #bca05599;border-radius:5px;grid-template-columns:52px minmax(0,1fr) 25px;align-items:center;gap:9px;padding:7px;display:grid}.cg-deck-king-feature>:is(img,svg.cg-written-card){aspect-ratio:250/350;object-fit:contain;border-radius:4px;align-self:center;width:52px;height:73px;min-height:0;max-height:73px;display:block}.cg-deck-king-feature>div{flex-direction:column;gap:3px;min-width:0;display:flex}.cg-deck-king-feature>div>small{color:#c6b978;letter-spacing:.4px;font-size:8px}.cg-deck-king-feature .cg-deck-list-name{color:#ffe7a8;white-space:normal;width:100%;padding:1px 0;font-weight:700;line-height:1.25;font-size:12px!important}.cg-deck-king-feature>div>strong,.cg-deck-king-feature>div>span{color:#e9d9ab;font-size:9px}.cg-deck-king-feature>button:last-child{color:#ffe4d4;background:#432b24;border:1px solid #a77859;border-radius:4px;width:25px;height:25px;padding:0}.cg-deck-king-missing{color:#f0dca4;font-size:11px;margin:0!important;line-height:1.5!important}.cg-deck-list-panel>.cg-fine{margin:6px 0 9px;font-size:9px!important}.cg-deck-list-panel>section{width:auto;margin:0 0 10px;display:block}.cg-deck-list-group h4{z-index:1;letter-spacing:.2px;color:#e2c983;background:#172920;border-bottom:1px solid #405442;margin:0;padding:5px 4px;font-size:10px;position:sticky;top:56px}.cg-deck-list-row{background:linear-gradient(90deg,#263f2d,#1b3023);border:1px solid #435a45;border-radius:4px;align-items:center;gap:7px;min-height:29px;margin:3px 0;padding:2px 4px;display:flex}.cg-deck-list-row>b,.cg-deck-list-row>span{flex-shrink:0;font-size:9px}.cg-deck-list-row>span{white-space:nowrap;color:#e6c57d}.cg-deck-list-row .cg-deck-list-name{text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;flex:1;min-width:0;padding:4px 0;line-height:1.25;overflow:hidden;font-size:10px!important}.cg-deck-list-row>button:last-child{background:#263b29;border:1px solid #739166;border-radius:4px;flex-shrink:0;width:23px;height:23px}.cg-deck-hover-preview{z-index:70;pointer-events:none;color:#eee0ba;filter:none;background:#111e19;border:1px solid #a88a52;border-radius:9px;grid-template-columns:minmax(115px,38%) minmax(0,1fr);align-items:start;gap:12px;width:min(420px,100vw - 420px);max-height:86dvh;padding:12px;display:grid;position:fixed;top:50%;right:calc(max(18px,50vw - 560px));overflow:hidden;transform:translateY(-50%);box-shadow:0 16px 48px #000b}.cg-deck-hover-preview>:is(img,svg.cg-written-card){object-fit:contain;border-radius:5px;width:100%;height:auto;max-height:80dvh;display:block}.cg-deck-hover-preview>div{min-width:0;max-height:80dvh;padding:3px 5px 5px;overflow:auto}.cg-deck-hover-preview small{color:#d5bd82;font-size:10px}.cg-deck-hover-preview h3{margin:5px 0 9px;font-size:19px;line-height:1.2}.cg-deck-hover-preview .ioc-preview-stats{border-block:1px solid #485343;flex-wrap:wrap;gap:7px;padding:8px 0;font-size:11px;display:flex}.cg-deck-hover-preview>div>p,.cg-deck-hover-preview section p{margin:8px 0;font-size:11px;line-height:1.5}.cg-deck-hover-preview section{padding-top:6px}@media (max-width:1500px){.cg-owned-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.cg-owned-art :is(img,svg.cg-written-card){height:clamp(138px,12vw,165px)}.cg-deck-builder{grid-template-columns:minmax(0,1fr) minmax(310px,340px)}}@media (max-width:1120px){.cg-deck-builder{grid-template-columns:minmax(0,1fr) 300px;gap:12px}.cg-owned-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.cg-deck-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cg-deck-filters input{grid-column:1/-1}.cg-deck-toolbar{grid-template-columns:180px minmax(0,1fr)}.cg-deck-toolbar .cg-primary{grid-column:1/-1}.cg-deck-hover-preview{display:none}}@media (max-width:800px){.cg-deck-builder{flex-direction:column;gap:12px;display:flex}.cg-deck-owned{width:100%}.cg-owned-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cg-deck-list-panel{width:100%;height:48dvh;max-height:440px;position:relative;top:0}.cg-deck-toolbar{grid-template-columns:1fr}.cg-deck-toolbar .cg-primary{grid-column:auto}.cg-deck-editor>.cg-section-title{flex-direction:column;align-items:flex-start}.cg-deck-editor>.cg-section-title>strong{white-space:normal}.cg-deck-pagination{flex-wrap:wrap}.cg-deck-hover-preview{display:none}}@media (max-width:520px){.cg-owned-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cg-owned-art :is(img,svg.cg-written-card){height:clamp(155px,48vw,210px)}.cg-deck-filters{grid-template-columns:1fr 1fr}.cg-deck-filters input{grid-column:1/-1}.cg-deck-pagination{gap:7px}.cg-deck-pagination span{text-align:center;width:100%}.cg-deck-list-panel{height:48dvh;max-height:420px}.cg-deck-list-row .cg-deck-list-name{font-size:11px!important}}@media (prefers-reduced-motion:reduce){.cg-deck-jump,.cg-deck-jump span{transition:none}}.cg-deck-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;align-content:start;gap:4px 7px;display:grid}.cg-deck-list-grid .cg-deck-list-row{gap:4px;min-width:0;min-height:29px;margin:0;padding:2px 4px}.cg-deck-list-grid .cg-deck-list-row>b{min-width:16px;font-size:9px}.cg-deck-list-grid .cg-deck-list-row>span{font-size:9px}.cg-deck-list-grid .cg-deck-list-row .cg-deck-list-name{font-size:9px!important}.cg-deck-list-grid .cg-deck-list-row>button:last-child{width:20px;height:21px;padding:0;font-size:12px}.cg-deck-hover-preview{z-index:500;grid-template-columns:minmax(125px,38%) minmax(0,1fr);gap:12px;width:min(430px,100vw - 24px);max-height:min(610px,100dvh - 16px);padding:11px;position:fixed;overflow:hidden;transform:none;box-shadow:0 18px 55px #000c}.cg-deck-hover-preview>:is(img,svg.cg-written-card){object-fit:contain;align-self:start;width:100%;height:auto;max-height:min(370px,100dvh - 48px)}.cg-deck-hover-preview>div{overscroll-behavior:contain;max-height:min(585px,100dvh - 38px);overflow:auto}@media (max-width:800px){.cg-deck-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cg-deck-hover-preview{display:none}}@media (max-width:520px){.cg-deck-list-grid{grid-template-columns:1fr}}.cg-deck-hover-preview{grid-template-columns:minmax(170px,42%) minmax(0,1fr);gap:14px;width:min(520px,100vw - 24px);max-height:min(620px,100dvh - 16px);padding:13px}.cg-deck-hover-preview>:is(img,svg.cg-written-card){max-height:min(420px,100dvh - 48px)}.cg-terrain-slot{background:linear-gradient(110deg,#162b24,#24352b);border-block:1px solid #b6925055;align-items:center;gap:16px;min-height:110px;padding:14px 20px;display:flex}.cg-terrain-slot.cpu{background:linear-gradient(110deg,#302b25,#222c25)}.cg-terrain-card{border:1px dashed #c5a45d;border-radius:6px;flex:none;justify-content:center;align-items:center;width:65px;height:88px;display:flex}.cg-terrain-card>button{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0}.cg-terrain-card :is(img,svg.cg-written-card){object-fit:contain;width:100%;height:100%}.cg-terrain-card>span{color:#b79b63;font-size:34px}.cg-terrain-slot small{color:#d6b876;letter-spacing:.12em;font-size:10px;display:block}.cg-terrain-slot strong{color:#f2dfb8;font-size:16px;display:block}.cg-terrain-slot p{color:#bfcab9;margin:5px 0;font-size:12px}.cg-terrain-slot div>button{color:#ebd297;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.cg-board{isolation:isolate;position:relative}.cg-terrain-backdrop{z-index:-1;pointer-events:none;border-radius:5px;position:absolute;inset:0;overflow:hidden}.cg-terrain-layer{background:#18251e;animation:.6s ease-out cg-terrain-arrive;position:absolute;inset:0}.cg-terrain-layer :is(img,svg.cg-written-card){object-fit:cover;object-position:center;opacity:.34;filter:saturate(.85);width:100%;height:100%}.cg-terrain-layer:after{content:"";background:linear-gradient(#101b1633,#101b1655);position:absolute;inset:0}.cg-terrain-backdrop.divided .layer-0{bottom:50%}.cg-terrain-backdrop.divided .layer-1{top:50%}.cg-territory-frontier{background:#d9b96a;height:2px;position:absolute;top:50%;left:0;right:0;box-shadow:0 0 9px #d9b96a88}.cg-cell{z-index:1}.cg-terrain-backdrop :is(img,svg.cg-written-card){-webkit-user-select:none;user-select:none}@keyframes cg-terrain-arrive{0%{opacity:0}to{opacity:1}}@media (max-width:650px){.cg-terrain-slot{gap:10px;padding:10px}.cg-terrain-slot strong{font-size:14px}.cg-terrain-card{width:52px;height:72px}.cg-terrain-slot p{font-size:11px}}@media (prefers-reduced-motion:reduce){.cg-terrain-layer{animation:none}}.cg-duel-shell.is-open .cg-board-scroll{padding:6px 70px;position:relative}.cg-duel-shell.is-open .cg-resource-bar{justify-content:center;gap:26px;padding-right:14px;position:relative}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life{background:radial-gradient(#486343,#1a3021);border:1px solid #d4b875;border-radius:20px;order:-1;padding:2px 12px;box-shadow:0 0 12px #d3b26d33}.cg-duel-shell.is-open .cg-hand-section{z-index:11;background:radial-gradient(at bottom,#39563a88,#10241cdd 75%);justify-content:center;overflow:visible}.cg-duel-shell.is-open .cg-hand-heading{z-index:1;width:65px;position:absolute;bottom:8px;left:8px}.cg-duel-shell.is-open .cg-hand-cards{flex:none;justify-content:center;gap:0;width:calc(100% - 150px);max-width:650px;padding-top:8px;overflow:visible}.cg-duel-shell.is-open .cg-hand-cards article{transform-origin:50% 110%;width:clamp(70px,13vw,112px);min-width:0;transform:rotate(calc((var(--fan-index) - (var(--fan-count) - 1)/2)*3deg));z-index:calc(2 + var(--fan-index));flex:0 112px;max-height:100%;margin-left:-12px;transition:transform .2s,filter .2s,box-shadow .2s;box-shadow:0 5px 14px #0009}.cg-duel-shell.is-open .cg-hand-cards article>button:last-child{z-index:1;position:relative}.cg-duel-shell.is-open .cg-selection-panel .cg-selection-summary :is(img,svg.cg-written-card){object-fit:contain;filter:drop-shadow(0 6px 9px #0008);width:100px;height:140px}.cg-duel-shell.is-open .cg-selection-panel.is-choosing .cg-selection-summary{display:none}.cg-duel-shell.is-open .cg-selection-panel.is-confirming{background:linear-gradient(145deg,#254032f5,#0b211cf5);border-color:#e0c481;max-height:60%;box-shadow:0 0 30px #000b}.cg-duel-shell.is-open .cg-selection-actions{background:#10241cf5}@media (max-width:900px){.cg-duel-shell.is-open .cg-arena-menu>strong{display:none}.cg-duel-shell.is-open .cg-arena-menu{justify-content:center}.cg-duel-shell.is-open .cg-board-scroll{padding:4px 48px}.cg-duel-shell.is-open .cg-hand-cards{width:calc(100% - 65px);margin-left:45px}.cg-duel-shell.is-open .cg-hand-heading{width:43px;font-size:7px}.cg-duel-shell.is-open .cg-hand-cards article{flex-basis:86px;margin-left:-10px}.cg-duel-shell.is-open .cg-resource-bar{gap:10px}.cg-duel-shell.is-open .cg-selection-panel .cg-selection-summary :is(img,svg.cg-written-card){width:65px;height:90px}}@media (max-height:650px){.cg-duel-shell.is-open .cg-hand-cards article:hover,.cg-duel-shell.is-open .cg-hand-cards article:focus-within{transform:translateY(-6px)rotate(0)}}@media (prefers-reduced-motion:reduce){.cg-duel-shell.is-open .cg-hand-cards article{transition:none}.cg-duel-shell.is-open .cg-hand-cards article:hover,.cg-duel-shell.is-open .cg-hand-cards article:focus-within{transform:none}}.cg-duel-shell.is-open .cg-end-turn-float{z-index:30;border:1px solid #f1d79b;border-radius:22px;max-width:130px;min-height:44px;padding:8px;font-size:10px;display:block;position:absolute;bottom:8px;right:8px;box-shadow:0 0 14px #e8bf6544}.cg-duel-shell.is-open .cg-battle-toolbar>div:last-child>.cg-primary{visibility:hidden}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life{order:0}.cg-duel-shell.is-open .cg-hand-cards{padding-right:100px}@media (max-width:900px){.cg-duel-shell.is-open .cg-end-turn-float{max-width:78px;min-height:38px;padding:5px;font-size:8px;bottom:4px;right:4px}.cg-duel-shell.is-open .cg-hand-cards{padding-right:48px}.cg-duel-shell.is-open .cg-resource-bar>div:first-child{position:static}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life{padding:2px 7px}}.cg-duel-shell.is-open{width:100vw;max-width:none;height:100vh;height:100dvh;padding:6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-sizing:border-box;background:radial-gradient(#13291e22,#0b151bb0),url(/card-game/elementos.webp) 50%/cover;grid-template-rows:40px 42px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:4px;margin:0;display:grid;position:fixed;inset:0;overflow:hidden}.cg-duel-shell.is-open .cg-battle-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;width:100%;max-width:none;height:100%;min-height:0;margin:0;display:grid;position:relative;overflow:visible}.cg-duel-shell.is-open .cg-field-panel{width:100%;height:100%;min-height:0;max-height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;order:0;grid-template-rows:34px 24px 16px minmax(0,1fr) 34px 24px 28px 212px;grid-template-columns:minmax(0,1fr);display:grid;overflow:hidden}.cg-duel-shell.is-open .cg-board-scroll{grid-row:4;align-items:stretch;width:100%;height:100%;min-height:0;padding:4px 78px;display:flex;position:relative;overflow:visible}.cg-duel-shell.is-open .cg-board{perspective:none;background:0 0;border:0;grid-template-rows:repeat(6,minmax(0,1fr));grid-template-columns:repeat(5,minmax(0,1fr));align-content:stretch;align-items:stretch;gap:3px 10px;width:100%;min-width:0;max-width:none;height:100%;min-height:0;display:grid}.cg-duel-shell.is-open .cg-cell{width:100%;min-width:0;height:100%;min-height:0;box-shadow:none;background:linear-gradient(#15352830,#12291f50);border:1px solid #aac4af33;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;padding:2px;display:flex;position:relative;overflow:hidden}.cg-duel-shell.is-open .cg-cell>:is(img,svg.cg-written-card){object-fit:contain;filter:drop-shadow(0 3px 4px #0009);border-radius:3px;flex:auto;width:auto;max-width:100%;height:calc(100% - 13px);min-height:0;max-height:100%;display:block}.cg-duel-shell.is-open .cg-cell-hp{flex:none;width:min(100px,85%);height:11px;min-height:11px;margin:0}.cg-duel-shell.is-open .cg-cell-hp b{font-size:9px;line-height:11px}.cg-duel-shell.is-open .cg-cell-name{display:none}.cg-duel-shell.is-open .cg-coordinate{color:#e6e8d5a0;font-size:9px}.cg-duel-shell.is-open .cg-cell.ally-unit{border-color:#85c78488;box-shadow:inset 0 0 16px #61b86518}.cg-duel-shell.is-open .cg-cell.enemy-unit{border-color:#d4756288;box-shadow:inset 0 0 16px #c96b5518}.cg-duel-shell.is-open .cg-cell.legal{background:#d0ae6240;border-color:#ffe196;box-shadow:inset 0 0 16px #f5d18d44}.cg-duel-shell.is-open .cg-cell.selected,.cg-duel-shell.is-open .cg-cell.pick-selected{border-color:#ffe7a3;box-shadow:0 0 10px #f2d08077}.cg-duel-shell.is-open .cg-inspector{z-index:40;overscroll-behavior:contain;background:linear-gradient(145deg,#1b332cf5,#0c211cf5);border:1px solid #c8ae6a99;border-radius:12px;width:320px;max-width:calc(100% - 16px);height:auto;max-height:none;padding:12px;display:none;position:absolute;top:8px;bottom:8px;left:8px;overflow-y:auto;box-shadow:0 12px 45px #000a}.cg-duel-shell.is-open.show-actions .cg-inspector,.cg-duel-shell.is-open .cg-arena-actions-toggle{display:block}.cg-duel-shell.is-open .cg-inspector .cg-detail-image :is(img,svg.cg-written-card){object-fit:contain;width:100%;height:auto;max-height:42dvh;display:block}.cg-duel-shell.is-open .cg-inspector .cg-arena-panel-close{z-index:2;background:#10251ff5;width:100%;min-height:40px;display:block;position:sticky;top:0}.cg-duel-shell.is-open .cg-inspector .cg-stats{margin:8px 0}.cg-duel-shell.is-open .cg-resource-bar{background:linear-gradient(90deg,#0000,#15372aa0,#0000);border:0;justify-content:center;gap:24px;margin:0;padding:2px 10px;position:relative}.cg-duel-shell.is-open .cg-resource-bar.cpu{background:linear-gradient(90deg,#0000,#4e3528a0,#0000)}.cg-duel-shell.is-open .cg-resource-bar>div:first-child{position:absolute;left:85px}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life{border-radius:22px;order:0;justify-content:center;min-width:88px;padding:3px 18px;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 0 15px #d5b86755}.cg-duel-shell.is-open .cg-resource-bar>div:nth-child(2){margin-right:115px}.cg-duel-shell.is-open .cg-resource-bar>div:nth-child(3){margin-left:0}.cg-duel-shell.is-open .cg-resource-bar>div:nth-child(5){position:absolute;right:90px}.cg-duel-shell.is-open .cg-terrain-slot{background:0 0;border:0;justify-content:center;height:24px;min-height:0;padding:1px 85px}.cg-duel-shell.is-open .cg-terrain-slot.cpu{background:0 0}.cg-duel-shell.is-open .cg-opponent-hand{background:0 0;justify-content:center;height:16px;min-height:0;padding:0}.cg-duel-shell.is-open .cg-opponent-hand>:is(img,svg.cg-written-card),.cg-duel-shell.is-open .cg-opponent-hand>span:first-of-type{display:none}.cg-duel-shell.is-open .cg-instruction{text-align:center;background:#0d241bd9;border:1px solid #c2ad5a44;border-radius:6px;justify-content:center;height:28px;min-height:0;font-size:11px}.cg-duel-shell.is-open .cg-hand-section{z-index:11;background:radial-gradient(at bottom,#142e24cc,#0000 72%);border:0;justify-content:center;align-items:flex-end;gap:0;width:100%;height:100%;min-height:0;max-height:100%;padding:8px 145px 6px 90px;display:flex;overflow:visible}.cg-duel-shell.is-open .cg-hand-heading{width:70px;height:auto;bottom:10px;left:8px}.cg-duel-shell.is-open .cg-hand-heading .cg-draw-pile{display:none}.cg-duel-shell.is-open .cg-hand-heading h3{font-size:10px}.cg-duel-shell.is-open .cg-hand-cards{isolation:isolate;flex:0 auto;justify-content:center;align-items:flex-end;gap:0;width:auto;max-width:100%;height:100%;min-height:0;margin:0;padding:0 0 9px;display:flex;overflow:visible}.cg-duel-shell.is-open .cg-hand-cards article{transform-origin:50% 110%;width:126px;min-width:40px;height:180px;max-height:calc(100% - 6px);transform:translateY(var(--fan-lift,0px)) rotate(var(--fan-angle,0deg));z-index:calc(2 + var(--fan-index));background:#182f24;border:1px solid #c4a76699;border-radius:8px;flex:0 126px;grid-template-rows:minmax(0,1fr) 12px 16px 34px;grid-template-columns:minmax(0,1fr);align-content:stretch;gap:1px;margin:0 0 0 -18px;padding:3px;transition:transform .18s,border-color .18s;display:grid;box-shadow:0 8px 16px #0009}.cg-duel-shell.is-open .cg-hand-cards article:first-child{margin-left:0}.cg-duel-shell.is-open .cg-hand-cards article:hover,.cg-duel-shell.is-open .cg-hand-cards article:focus-within,.cg-duel-shell.is-open .cg-hand-cards article.active{z-index:30;border-color:#ffe5a2;transform:translateY(-18px)rotate(0)scale(1.08);box-shadow:0 0 24px #d6b96777}.cg-duel-shell.is-open .cg-hand-cards article .cg-hand-art{background:0 0;border:0;border-radius:3px;width:100%;min-width:0;height:100%;min-height:0;max-height:100%;padding:0;display:block;overflow:hidden}.cg-duel-shell.is-open .cg-hand-cards article .cg-hand-art :is(img,svg.cg-written-card){object-fit:contain;width:100%;height:100%;max-height:100%;display:block}.cg-duel-shell.is-open .cg-hand-cards article .cg-hand-art span{display:none}.cg-duel-shell.is-open .cg-hand-cards article strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:12px;overflow:hidden}.cg-duel-shell.is-open .cg-hand-cards article small{font-size:10px;line-height:16px}.cg-duel-shell.is-open .cg-hand-cards article>button:last-child{white-space:normal;border-radius:4px;height:34px;min-height:34px;padding:2px;font-size:10px;line-height:1.1;display:block}.cg-duel-shell.is-open .cg-end-turn-float{z-index:31;max-width:125px;min-height:48px;font-size:11px;display:block;bottom:15px;right:12px}.cg-duel-shell.is-open .cg-battle-toolbar{background:#11281c77;border:0;border-radius:0}.cg-duel-shell.is-open .cg-battle-toolbar>div:last-child>.cg-primary{visibility:visible;display:none}.cg-duel-shell.is-open .cg-discard-warning{border-radius:5px;top:0;left:90px;right:145px}.cg-duel-shell.is-open .cg-selection-panel,.cg-duel-shell.is-open .cg-pending{z-index:45;background:#10271ef5;width:min(350px,100% - 24px);max-height:60%;bottom:12px;right:12px}.cg-duel-shell.is-open .cg-selection-panel.is-choosing{max-height:130px}.cg-duel-shell.is-open .cg-history{max-height:none;top:92px;bottom:10px}@media (max-width:900px){.cg-duel-shell.is-open .cg-arena-menu>strong{display:none}.cg-duel-shell.is-open .cg-arena-menu{justify-content:center}.cg-duel-shell.is-open .cg-arena-menu button{padding:5px 8px;font-size:10px}.cg-duel-shell.is-open .cg-field-panel{grid-template-rows:30px 22px 14px minmax(0,1fr) 30px 22px 26px 170px}.cg-duel-shell.is-open .cg-board-scroll{padding:3px 48px}.cg-duel-shell.is-open .cg-board{gap:3px 4px}.cg-duel-shell.is-open .cg-hand-section{padding:8px 80px 4px 42px}.cg-duel-shell.is-open .cg-hand-cards article{flex-basis:100px;grid-template-rows:minmax(0,1fr) 9px 12px 32px;width:100px;min-width:34px;height:145px;margin-left:-17px}.cg-duel-shell.is-open .cg-hand-cards article strong{font-size:7px;line-height:9px}.cg-duel-shell.is-open .cg-hand-cards article small{font-size:8px;line-height:12px}.cg-duel-shell.is-open .cg-hand-cards article>button:last-child{height:32px;min-height:32px;font-size:8px}.cg-duel-shell.is-open .cg-end-turn-float{max-width:73px;min-height:44px;padding:5px;font-size:9px;bottom:10px;right:3px}.cg-duel-shell.is-open .cg-hand-heading{width:35px;left:3px}.cg-duel-shell.is-open .cg-hand-heading h3{font-size:7px}.cg-duel-shell.is-open .cg-resource-bar{gap:12px}.cg-duel-shell.is-open .cg-resource-bar>div:first-child{left:4px}.cg-duel-shell.is-open .cg-resource-bar>div:first-child strong{font-size:10px}.cg-duel-shell.is-open .cg-resource-bar>div:first-child span{display:none}.cg-duel-shell.is-open .cg-resource-bar>div:nth-child(2){margin-right:85px}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life{min-width:70px;padding:2px 8px}.cg-duel-shell.is-open .cg-resource-bar b{font-size:14px}.cg-duel-shell.is-open .cg-resource-bar small{font-size:7px}.cg-duel-shell.is-open .cg-terrain-slot{height:22px;padding:0 45px}.cg-duel-shell.is-open .cg-inspector{width:280px;max-height:none;top:4px;bottom:4px;left:4px}.cg-duel-shell.is-open .cg-discard-warning{font-size:9px;left:40px;right:80px}.cg-duel-shell.is-open .cg-selection-panel,.cg-duel-shell.is-open .cg-pending{width:min(330px,100% - 12px);bottom:6px;right:6px}.cg-duel-shell.is-open .cg-selection-panel.is-choosing{max-height:120px}}@media (max-height:650px){.cg-duel-shell.is-open{grid-template-rows:34px 32px minmax(0,1fr);gap:2px;padding-top:3px}.cg-duel-shell.is-open .cg-field-panel{grid-template-rows:24px 18px 0 minmax(0,1fr) 24px 18px 22px 108px}.cg-duel-shell.is-open .cg-opponent-hand{display:none}.cg-duel-shell.is-open .cg-terrain-slot{height:18px}.cg-duel-shell.is-open .cg-hand-cards article{flex-basis:82px;grid-template-rows:minmax(0,1fr) 0 10px 26px;width:82px;height:97px;margin-left:-12px}.cg-duel-shell.is-open .cg-hand-cards article strong{display:none}.cg-duel-shell.is-open .cg-hand-cards article small{font-size:7px;line-height:10px}.cg-duel-shell.is-open .cg-hand-cards article>button:last-child{height:26px;min-height:26px;font-size:8px}.cg-duel-shell.is-open .cg-hand-cards article:hover,.cg-duel-shell.is-open .cg-hand-cards article:focus-within{transform:translateY(-6px)rotate(0)}.cg-duel-shell.is-open .cg-battle-toolbar strong{font-size:11px}.cg-duel-shell.is-open .cg-battle-toolbar small{display:none}.cg-duel-shell.is-open .cg-battle-toolbar button{min-height:28px;padding:4px;font-size:9px!important}.cg-duel-shell.is-open .cg-arena-menu button{min-height:28px;padding:4px 7px}.cg-duel-shell.is-open .cg-selection-panel.is-choosing{max-height:90px}.cg-duel-shell.is-open .cg-history{top:72px}.cg-duel-shell.is-open .cg-instruction{height:22px;font-size:9px}}@media (prefers-reduced-motion:reduce){.cg-duel-shell.is-open .cg-hand-cards article{transition:none}.cg-duel-shell.is-open .cg-hand-cards article:hover,.cg-duel-shell.is-open .cg-hand-cards article:focus-within{transform:none}}.cg-duel-shell:not(.is-open){display:none}.cg-duel-shell.is-open{--hand-zone:212px;--top-zone:74px;--bottom-zone:86px;width:100vw!important;max-width:none!important;height:100dvh!important;padding:0!important;display:block!important;position:fixed!important;inset:0!important;overflow:hidden!important}.cg-duel-shell.is-open .cg-arena-menu{z-index:32;border-bottom:1px solid #cfb57655;justify-content:space-between;align-items:center;gap:8px;height:38px;display:flex;position:absolute;top:4px;left:8px;right:8px}.cg-duel-shell.is-open .cg-battle-toolbar{z-index:30;flex-direction:row;justify-content:space-between;align-items:center;gap:8px;height:38px;margin:0;padding:3px 8px;display:flex;position:absolute;top:44px;left:8px;right:8px}.cg-duel-shell.is-open .cg-battle-toolbar strong{font-size:13px}.cg-duel-shell.is-open .cg-battle-toolbar small{font-size:9px;display:block}.cg-duel-shell.is-open .cg-battle-toolbar>div:last-child{gap:5px;width:auto;display:flex}.cg-duel-shell.is-open .cg-battle-toolbar button{min-height:32px;padding:4px 8px;font-size:11px!important}.cg-duel-shell.is-open .cg-battle-layout{inset:86px 0 0;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;display:block!important;position:absolute!important;overflow:hidden!important}.cg-duel-shell.is-open .cg-field-panel{background:0 0!important;border:0!important;width:100%!important;height:100%!important;display:block!important;position:absolute!important;inset:0!important;overflow:hidden!important}.cg-duel-shell.is-open .cg-board-scroll{left:0;right:0;top:var(--top-zone);bottom:calc(var(--hand-zone) + var(--bottom-zone));z-index:5;width:100%;min-height:0;margin:0;padding:4px 78px;display:flex;overflow:visible;height:auto!important;position:absolute!important}.cg-duel-shell.is-open .cg-board{transform-origin:50%;min-height:0;margin:0;transform:perspective(1600px)rotateX(3deg);grid-template-rows:repeat(6,minmax(0,1fr))!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;max-width:none!important;height:100%!important;display:grid!important}.cg-duel-shell.is-open .cg-resource-bar.cpu{z-index:6;height:34px;position:absolute;top:0;left:0;right:0}.cg-duel-shell.is-open .cg-terrain-slot.cpu{z-index:6;height:24px;position:absolute;top:34px;left:0;right:0}.cg-duel-shell.is-open .cg-opponent-hand{z-index:6;height:16px;display:flex;position:absolute;top:58px;left:0;right:0}.cg-duel-shell.is-open .cg-resource-bar.player{bottom:calc(var(--hand-zone) + 52px);z-index:6;height:34px;position:absolute;left:0;right:0}.cg-duel-shell.is-open .cg-terrain-slot.player{bottom:calc(var(--hand-zone) + 28px);z-index:6;height:24px;position:absolute;left:0;right:0}.cg-duel-shell.is-open .cg-instruction{bottom:var(--hand-zone);z-index:6;width:auto;height:28px;margin:0;display:flex;position:absolute;left:8px;right:8px}.cg-duel-shell.is-open .cg-hand-section{z-index:11;height:var(--hand-zone)!important;width:100%!important;display:flex!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important}.cg-duel-shell.is-open .cg-hand-section>.cg-fine,.cg-duel-shell.is-open .cg-hand-heading .cg-fine,.cg-duel-shell.is-open .cg-hand-art span{display:none}.cg-duel-shell.is-open .cg-hand-heading{z-index:1;position:absolute}.cg-duel-shell.is-open .cg-hand-cards article .cg-hand-art{align-self:stretch;min-height:0;line-height:0}.cg-duel-shell.is-open .cg-hand-cards article .cg-hand-art :is(img,svg.cg-written-card){object-fit:contain!important;width:100%!important;height:100%!important}.cg-duel-shell.is-open .cg-inspector{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);width:300px;max-width:calc(100vw - 24px);z-index:220!important;height:auto!important;max-height:none!important;display:none!important;position:fixed!important;top:94px!important;bottom:12px!important;left:12px!important}.cg-duel-shell.is-open .cg-inspector .cg-arena-panel-close{display:block}.cg-duel-shell.is-open .cg-selected-card-menu{display:none}.cg-duel-shell.is-open .cg-history{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#10261ff5;border:1px solid #bca46e;border-radius:10px;width:min(390px,100vw - 24px);padding:12px;overflow:auto;z-index:220!important;height:auto!important;display:none!important;position:fixed!important;inset:94px 12px 12px auto!important}.cg-duel-shell.is-open.show-journal .cg-history{display:block!important}.cg-duel-shell.is-open .cg-history .cg-arena-panel-close{display:block}.cg-duel-shell.is-open .cg-selection-panel,.cg-duel-shell.is-open .cg-pending{border:1px solid #dabd7b;overflow:auto;box-shadow:0 10px 30px #000a;z-index:45!important;position:absolute!important}.cg-duel-shell.is-open .cg-selection-panel .cg-selection-actions{background:#10241cf5;gap:5px;padding:5px 0;display:flex;position:sticky;bottom:0}.cg-duel-shell.is-open .cg-selection-panel.is-choosing>p:not(:first-of-type),.cg-duel-shell.is-open .cg-selection-panel.is-choosing>.cg-selection-summary{display:none}.cg-duel-shell.is-open .cg-selection-panel h3{margin:0 0 5px;font-size:15px}.cg-duel-shell.is-open .cg-selection-panel p{margin:5px 0;font-size:12px}.cg-duel-shell.is-open .cg-selection-panel small{font-size:10px}.cg-duel-shell.is-open .cg-selection-actions button{min-height:36px}.cg-duel-shell.is-open .cg-effect-badges{z-index:4;max-height:22px;position:absolute;top:3px;right:3px;overflow:hidden}.cg-duel-shell.is-open .cg-effect-badge{width:19px;height:19px;min-height:19px;padding:0;font-size:10px}.cg-duel-shell.is-open .cg-inspector .cg-effect-badges{max-height:none;position:relative;overflow:visible}.cg-duel-shell.is-open .cg-result{z-index:60;background:#142a22f5;border:1px solid #e0c584;border-radius:12px;width:min(460px,90vw);padding:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.cg-duel-shell.is-open .cg-arena-alert{z-index:230;background:#673c2a;border:1px solid #e6bb7c;border-radius:6px;padding:12px;position:fixed;top:90px;left:50%;transform:translate(-50%)}@media (max-width:900px){.cg-duel-shell.is-open{--hand-zone:170px;--top-zone:66px;--bottom-zone:78px}.cg-duel-shell.is-open .cg-board-scroll{padding:3px 48px}.cg-duel-shell.is-open .cg-resource-bar.cpu{height:30px}.cg-duel-shell.is-open .cg-terrain-slot.cpu{height:22px;top:30px}.cg-duel-shell.is-open .cg-opponent-hand{height:14px;top:52px}.cg-duel-shell.is-open .cg-resource-bar.player{bottom:calc(var(--hand-zone) + 48px);height:30px}.cg-duel-shell.is-open .cg-terrain-slot.player{bottom:calc(var(--hand-zone) + 26px);height:22px}.cg-duel-shell.is-open .cg-instruction{height:26px}.cg-duel-shell.is-open .cg-inspector{width:270px}.cg-duel-shell.is-open .cg-arena-menu{justify-content:center}.cg-duel-shell.is-open .cg-arena-menu>strong{display:none}.cg-duel-shell.is-open .cg-arena-menu button{padding:4px 6px;font-size:9px}}@media (max-height:650px){.cg-duel-shell.is-open{--hand-zone:108px;--top-zone:42px;--bottom-zone:64px}.cg-duel-shell.is-open .cg-arena-menu{height:30px;top:2px}.cg-duel-shell.is-open .cg-arena-menu button{min-height:28px}.cg-duel-shell.is-open .cg-battle-toolbar{height:30px;top:34px}.cg-duel-shell.is-open .cg-battle-layout{top:66px}.cg-duel-shell.is-open .cg-resource-bar.cpu{height:24px}.cg-duel-shell.is-open .cg-terrain-slot.cpu{height:18px;top:24px}.cg-duel-shell.is-open .cg-opponent-hand{display:none}.cg-duel-shell.is-open .cg-resource-bar.player{bottom:calc(var(--hand-zone) + 40px);height:24px}.cg-duel-shell.is-open .cg-terrain-slot.player{bottom:calc(var(--hand-zone) + 22px);height:18px}.cg-duel-shell.is-open .cg-instruction{height:22px}.cg-duel-shell.is-open .cg-inspector,.cg-duel-shell.is-open .cg-history{top:72px!important}.cg-duel-shell.is-open .cg-battle-toolbar small{display:none}}@media (prefers-reduced-motion:reduce){.cg-duel-shell.is-open .cg-board{transform:none}}.cg-duel-shell.is-open{--top-zone:16px;--bottom-zone:28px;--board-width:min(calc(100vw - 170px),calc((100dvh - 342px)*.72));--terrain-width:clamp(42px,calc((100dvh - 342px)*.113),90px);background-color:#0c1e17!important;background-image:linear-gradient(#0b1d174d,#0b1d174d),url(/card-game/elementos.webp)!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:cover!important}.cg-duel-shell.is-open .cg-board-scroll{justify-content:center;align-items:stretch;padding:3px 8px!important}.cg-duel-shell.is-open .cg-board{flex:none;gap:4px 5px;transform:perspective(1600px)rotateX(2deg);width:var(--board-width)!important;max-width:100%!important}.cg-duel-shell.is-open .cg-arena-menu{z-index:40;background:linear-gradient(90deg,#0c1b16e8,#10231ddd);border:1px solid #cfb57666;border-radius:8px;justify-content:space-between;gap:14px;height:48px;min-height:48px;padding:4px 12px;top:4px}.cg-duel-shell.is-open .cg-arena-menu>strong{letter-spacing:.04em;color:#f1d69d;white-space:nowrap;flex:none;font:700 14px/1.2 Georgia,serif;display:block}.cg-duel-shell.is-open .cg-arena-menu>strong small{letter-spacing:.16em;color:#c6b78f;margin-top:2px;font:600 9px/1.2 system-ui,sans-serif;display:block}.cg-duel-shell.is-open .cg-arena-menu>div{white-space:nowrap;flex:auto;justify-content:flex-end;align-items:center;gap:6px;min-width:0;display:flex}.cg-duel-shell.is-open .cg-arena-menu>div>button{color:#f1ead8;white-space:nowrap;background:#1d382d;border:1px solid #c6ad7277;border-radius:6px;flex:none;justify-content:center;align-items:center;min-height:36px;padding:7px 11px;font:600 12px/1.15 system-ui,sans-serif;display:inline-flex}.cg-duel-shell.is-open .cg-arena-menu>div>button:hover{background:#31503d;border-color:#efcf87}.cg-duel-shell.is-open .cg-battle-toolbar{z-index:35;height:38px;padding:2px 12px;top:56px}.cg-duel-shell.is-open .cg-battle-layout{top:98px}@media (max-width:1100px){.cg-duel-shell.is-open .cg-arena-menu{gap:6px;height:auto;min-height:48px;padding:4px 8px}.cg-duel-shell.is-open .cg-arena-menu>strong{display:none}.cg-duel-shell.is-open .cg-arena-menu>div{flex-wrap:wrap;gap:4px}.cg-duel-shell.is-open .cg-arena-menu>div>button{min-height:32px;padding:5px 8px;font-size:11px}.cg-duel-shell.is-open .cg-battle-toolbar{top:52px}.cg-duel-shell.is-open .cg-battle-layout{top:94px}}@media (max-width:700px){.cg-duel-shell.is-open .cg-arena-menu{align-items:flex-start;min-height:74px;top:2px;left:4px;right:4px}.cg-duel-shell.is-open .cg-arena-menu>div{justify-content:center}.cg-duel-shell.is-open .cg-arena-menu>div>button{min-height:30px;padding:4px 7px;font-size:10px}.cg-duel-shell.is-open .cg-battle-toolbar{height:34px;padding:1px 6px;top:78px;left:4px;right:4px}.cg-duel-shell.is-open .cg-battle-layout{top:116px}}@media (max-height:650px){.cg-duel-shell.is-open .cg-arena-menu{height:42px;min-height:42px;top:2px}.cg-duel-shell.is-open .cg-battle-toolbar{height:30px;top:48px}.cg-duel-shell.is-open .cg-battle-layout{top:82px}}.cg-duel-shell.is-open .cg-cell{border-radius:6px;padding:2px 5px}.cg-duel-shell.is-open .cg-cell>:is(img,svg.cg-written-card){max-width:100%;width:auto!important;height:calc(100% - 13px)!important}.cg-duel-shell.is-open .cg-coordinate{font-size:7px;top:1px;left:2px}.cg-duel-shell.is-open .cg-opponent-hand{height:16px;top:0!important}.cg-duel-shell.is-open .cg-terrain-slot{aspect-ratio:5/7;z-index:8;border-radius:6px;width:var(--terrain-width)!important;background:#10251e88!important;border:1px dashed #ceb77899!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:absolute!important;overflow:visible!important}.cg-duel-shell.is-open .cg-terrain-slot.player{left:calc(50% - var(--board-width)/2 - var(--terrain-width) - 28px)!important;top:auto!important;right:auto!important;bottom:calc(var(--hand-zone) + var(--bottom-zone) + 26px)!important}.cg-duel-shell.is-open .cg-terrain-slot.cpu{left:auto!important;right:calc(50% - var(--board-width)/2 - var(--terrain-width) - 28px)!important;top:38px!important;bottom:auto!important}.cg-duel-shell.is-open .cg-terrain-card{aspect-ratio:5/7;background:0 0;place-items:center;margin:0;display:grid;border:0!important;width:100%!important;height:100%!important;padding:0!important}.cg-duel-shell.is-open .cg-terrain-card>button{background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.cg-duel-shell.is-open .cg-terrain-card :is(img,svg.cg-written-card){object-fit:contain;border-radius:5px;width:100%;height:100%;display:block}.cg-duel-shell.is-open .cg-terrain-card>span{color:#ddc68d99;font-size:28px}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child{text-align:center;pointer-events:none;width:130px;display:block;position:absolute;top:-17px;left:50%;transform:translate(-50%)}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child>small{color:#f1dbab;white-space:nowrap;font-size:8px;display:block}.cg-duel-shell.is-open .cg-terrain-slot strong,.cg-duel-shell.is-open .cg-terrain-slot p,.cg-duel-shell.is-open .cg-terrain-slot>div:last-child button{display:none!important}.cg-duel-shell.is-open .cg-resource-bar{z-index:8;border-radius:14px;grid-template-columns:1fr 1fr;box-shadow:0 8px 22px #0005;background:linear-gradient(145deg,#193b2ddd,#091f19ee)!important;border:1px solid #8cb07966!important;gap:8px!important;width:146px!important;height:auto!important;min-height:0!important;padding:10px!important;display:grid!important;position:absolute!important}.cg-duel-shell.is-open .cg-resource-bar.cpu{left:calc(50% - var(--board-width)/2 - 174px)!important;background:linear-gradient(145deg,#573b2ddd,#281f19ee)!important;border-color:#c1977066!important;top:32px!important;bottom:auto!important;right:auto!important}.cg-duel-shell.is-open .cg-resource-bar.player{left:auto!important;right:calc(50% - var(--board-width)/2 - 174px)!important;top:auto!important;bottom:calc(var(--hand-zone) + var(--bottom-zone) + 20px)!important}.cg-duel-shell.is-open .cg-resource-bar>div{flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex;order:0!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}.cg-duel-shell.is-open .cg-resource-bar>div:first-child{grid-area:1/1/auto/-1;position:static!important}.cg-duel-shell.is-open .cg-resource-bar>div:first-child>span{letter-spacing:.8px;font-size:7px;display:block!important}.cg-duel-shell.is-open .cg-resource-bar>div:first-child>strong{font-size:14px}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life{background:radial-gradient(circle,#516f46,#17362a);border:1px solid #d4b97a;border-radius:50%;grid-area:2/1/auto/-1;justify-content:center;justify-self:center;width:74px;height:74px;box-shadow:0 0 20px #dbc08533;min-width:0!important;padding:8px!important;position:static!important;left:auto!important;transform:none!important}.cg-duel-shell.is-open .cg-resource-bar.cpu .cg-king-life{background:radial-gradient(circle,#8a553a,#38281f)}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life b{color:#ffe5a5;font:700 28px Georgia}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life small{font-size:9px!important}.cg-duel-shell.is-open .cg-resource-bar>div:nth-child(2){grid-area:3/1}.cg-duel-shell.is-open .cg-resource-bar>div:nth-child(3){grid-area:3/2}.cg-duel-shell.is-open .cg-resource-bar>div:nth-child(5){grid-area:4/1/auto/-1}.cg-duel-shell.is-open .cg-resource-bar b{color:#ecd098;font-size:18px}.cg-duel-shell.is-open .cg-resource-bar small{display:block;font-size:8px!important}@media (max-width:900px){.cg-duel-shell.is-open{--board-width:min(calc(100vw - 148px),calc((100dvh - 300px)*.72));--terrain-width:clamp(36px,calc((100dvh - 300px)*.113),76px)}.cg-duel-shell.is-open .cg-resource-bar{gap:5px!important;width:65px!important;padding:5px!important}.cg-duel-shell.is-open .cg-resource-bar.cpu{left:calc(50% - var(--board-width)/2 - 70px)!important;top:23px!important}.cg-duel-shell.is-open .cg-resource-bar.player{right:calc(50% - var(--board-width)/2 - 70px)!important}.cg-duel-shell.is-open .cg-resource-bar>div:first-child>span{letter-spacing:0;font-size:5px}.cg-duel-shell.is-open .cg-resource-bar>div:first-child>strong{font-size:9px}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life{width:48px;height:48px;padding:3px!important}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life b{font-size:20px}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life small{font-size:7px!important}.cg-duel-shell.is-open .cg-resource-bar b{font-size:12px}.cg-duel-shell.is-open .cg-resource-bar small{font-size:6px!important}.cg-duel-shell.is-open .cg-terrain-slot.player{left:calc(50% - var(--board-width)/2 - var(--terrain-width) - 9px)!important}.cg-duel-shell.is-open .cg-terrain-slot.cpu{right:calc(50% - var(--board-width)/2 - var(--terrain-width) - 9px)!important;top:32px!important}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child{width:75px;top:-13px}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child>small{font-size:6px}}@media (max-height:650px){.cg-duel-shell.is-open{--board-width:min(calc(100vw - 190px),calc((100dvh - 218px)*.72));--terrain-width:clamp(32px,calc((100dvh - 218px)*.113),65px);--top-zone:4px;--bottom-zone:22px}.cg-duel-shell.is-open .cg-resource-bar{gap:4px!important;width:95px!important;padding:5px!important}.cg-duel-shell.is-open .cg-resource-bar.cpu{left:calc(50% - var(--board-width)/2 - 110px)!important;top:8px!important}.cg-duel-shell.is-open .cg-resource-bar.player{right:calc(50% - var(--board-width)/2 - 110px)!important;bottom:calc(var(--hand-zone) + var(--bottom-zone) + 6px)!important}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life{width:48px;height:48px;padding:3px!important}.cg-duel-shell.is-open .cg-resource-bar .cg-king-life b{font-size:20px}.cg-duel-shell.is-open .cg-resource-bar>div:first-child>span{display:none!important}.cg-duel-shell.is-open .cg-resource-bar>div:first-child>strong{font-size:10px}.cg-duel-shell.is-open .cg-resource-bar b{font-size:13px}.cg-duel-shell.is-open .cg-terrain-slot.cpu{top:20px!important}.cg-duel-shell.is-open .cg-terrain-slot.player{bottom:calc(var(--hand-zone) + var(--bottom-zone) + 14px)!important}}.cg-duel-shell.is-open .cg-pending,.cg-duel-shell.is-open .cg-selection-panel.is-confirming{overscroll-behavior:contain;text-align:left;max-width:calc(100vw - 32px);z-index:225!important;color:#fff4d8!important;background:linear-gradient(145deg,#1b352dfc,#0b211bfc)!important;border:1px solid #e5ce88!important;border-radius:14px!important;width:min(460px,100vw - 32px)!important;max-height:calc(100dvh - 48px)!important;margin:0!important;padding:22px!important;position:fixed!important;inset:50% auto auto 50%!important;overflow:auto!important;transform:translate(-50%,-50%)!important;box-shadow:0 20px 70px #000c!important}.cg-duel-shell.is-open .cg-pending h3,.cg-duel-shell.is-open .cg-selection-panel h3{line-height:1.3;color:#ffe5a3!important;margin:0 0 12px!important;font-size:20px!important}.cg-duel-shell.is-open .cg-pending p,.cg-duel-shell.is-open .cg-pending .cg-effects-text,.cg-duel-shell.is-open .cg-selection-panel p,.cg-duel-shell.is-open .cg-selection-panel small{line-height:1.6;color:#f2eddf!important;font-size:13px!important}.cg-duel-shell.is-open .cg-pending strong,.cg-duel-shell.is-open .cg-pending summary,.cg-duel-shell.is-open .cg-selection-summary strong{color:#ffe8af!important}.cg-duel-shell.is-open .cg-pending small{color:#d4e1d6!important}.cg-duel-shell.is-open .cg-pending>button{width:100%;margin:10px 0 0;display:block}.cg-duel-shell.is-open .cg-pending button,.cg-duel-shell.is-open .cg-selection-panel button,.cg-duel-shell.is-open .cg-inspector .cg-action-buttons button{cursor:pointer;font-weight:700;transition:background .15s,border-color .15s,box-shadow .15s;box-shadow:0 2px 6px #0004;color:#fff!important;background:linear-gradient(#3b6449,#294a38)!important;border:1px solid #adc997!important;border-radius:8px!important;min-height:44px!important;padding:11px 15px!important;font-size:13px!important;line-height:1.35!important}.cg-duel-shell.is-open .cg-selection-panel button.cg-primary{color:#17271d!important;background:linear-gradient(#ead399,#cba861)!important;border-color:#ffe9a3!important}.cg-duel-shell.is-open .cg-pending button.cg-cancel-action,.cg-duel-shell.is-open .cg-selection-actions>button:last-child{color:#fff2ed!important;background:linear-gradient(#603e38,#402a29)!important;border-color:#cb8c80!important}.cg-duel-shell.is-open .cg-pending button:hover:not(:disabled),.cg-duel-shell.is-open .cg-selection-panel button:hover:not(:disabled),.cg-duel-shell.is-open .cg-inspector .cg-action-buttons button:hover:not(:disabled){filter:brightness(1.18);box-shadow:0 0 12px #dfca7444;border-color:#ffe6a3!important}.cg-duel-shell.is-open .cg-pending button:focus-visible{outline-offset:3px;outline:3px solid #ffe4a1}.cg-duel-shell.is-open .cg-selection-panel button:focus-visible{outline-offset:3px;outline:3px solid #ffe4a1}.cg-duel-shell.is-open .cg-inspector .cg-action-buttons button:focus-visible{outline-offset:3px;outline:3px solid #ffe4a1}.cg-duel-shell.is-open .cg-pending button:disabled,.cg-duel-shell.is-open .cg-selection-panel button:disabled{opacity:.5;cursor:not-allowed}.cg-duel-shell.is-open .cg-selection-panel .cg-selection-actions{background:#10271ff5;flex-wrap:wrap;gap:8px;padding-top:10px;display:flex}.cg-duel-shell.is-open .cg-selection-actions>button{flex:100px}.cg-duel-shell.is-open .cg-selection-panel.is-choosing{border-radius:9px;z-index:45!important;background:#10271ff5!important;width:min(350px,100% - 16px)!important;max-height:140px!important;padding:10px!important;position:absolute!important;inset:4px 8px auto auto!important;transform:none!important}.cg-duel-shell.is-open .cg-selection-panel.is-choosing h3{margin-bottom:4px!important;font-size:14px!important}.cg-duel-shell.is-open .cg-selection-panel.is-choosing p,.cg-duel-shell.is-open .cg-selection-panel.is-choosing small{font-size:11px!important}.cg-duel-shell.is-open .cg-selection-panel.is-choosing button{min-height:36px!important;padding:7px!important;font-size:11px!important}@media (max-height:650px){.cg-duel-shell.is-open .cg-pending,.cg-duel-shell.is-open .cg-selection-panel.is-confirming{max-height:calc(100dvh - 20px)!important;padding:14px!important}.cg-duel-shell.is-open .cg-pending h3,.cg-duel-shell.is-open .cg-selection-panel h3{font-size:17px!important}.cg-duel-shell.is-open .cg-selection-panel.is-choosing{max-height:120px!important}}@media (prefers-reduced-motion:reduce){.cg-duel-shell.is-open .cg-pending button,.cg-duel-shell.is-open .cg-selection-panel button{transition:none}}.cg-duel-shell.is-open .cg-selection-panel.is-choosing{top:auto!important;bottom:4px!important}@media (max-height:650px){.cg-duel-shell.is-open .cg-selection-panel.is-choosing{max-height:100px!important}}.cg-selection-panel.is-grave,.cg-duel-shell.is-open .cg-selection-panel.is-choosing.is-grave{border:2px solid #dfc382;box-shadow:0 18px 90px #000c;z-index:225!important;background:#10271ffa!important;width:min(880px,100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;margin:0!important;padding:20px!important;position:fixed!important;inset:50% auto auto 50%!important;overflow-y:auto!important;transform:translate(-50%,-50%)!important}@media (max-width:600px){.cg-selection-panel.is-grave,.cg-duel-shell.is-open .cg-selection-panel.is-choosing.is-grave{padding:12px!important}}@media (max-width:760px),(max-width:1000px) and (pointer:coarse){.cg-duel-shell.is-open .cg-terrain-slot.cpu{top:132px!important}.cg-duel-shell.is-open .cg-terrain-slot.player{bottom:calc(var(--hand-zone) + var(--bottom-zone) + 116px)!important}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child{width:76px;top:-14px}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child>small{white-space:normal;font-size:6px;line-height:1.15}.cg-duel-shell.is-open .cg-cell .cg-effect-badges{pointer-events:none;gap:2px;width:18px;max-height:calc(100% - 30px);top:13px;left:1px;right:auto;overflow:auto}.cg-duel-shell.is-open .cg-cell .cg-effect-badges>[role=button]{pointer-events:auto;border-radius:4px;width:16px;min-width:16px;height:16px;min-height:16px;padding:0;font-size:10px}.cg-duel-shell.is-open .cg-inspector{width:min(400px,100vw - 20px);padding:12px;overflow-y:auto;transform:translate(-50%,-50%);max-height:calc(100dvh - 30px)!important;top:50%!important;bottom:auto!important;left:50%!important}.cg-duel-shell.is-open .cg-inspector .cg-kicker{margin:8px 0;font-size:9px!important}.cg-duel-shell.is-open .cg-inspector .cg-detail-image{float:left;grid-row:auto;width:76px;margin:0 12px 8px 0}.cg-duel-shell.is-open .cg-inspector .cg-detail-image :is(img,svg.cg-written-card){object-fit:contain;width:76px;height:105px;max-height:105px}.cg-duel-shell.is-open .cg-inspector .cg-detail-image span{padding:4px 0;font-size:9px}.cg-duel-shell.is-open .cg-inspector h3{margin:8px 0;font-size:18px}.cg-duel-shell.is-open .cg-inspector .cg-stats{gap:4px;margin:6px 0}.cg-duel-shell.is-open .cg-inspector .cg-stats span{padding:6px}.cg-duel-shell.is-open .cg-inspector .cg-stats b{font-size:18px}.cg-duel-shell.is-open .cg-inspector .cg-stats small{font-size:10px}.cg-duel-shell.is-open .cg-inspector .cg-effect-badges{clear:both;gap:5px}.cg-duel-shell.is-open .cg-inspector .cg-action-buttons{clear:both;margin-top:8px}.cg-duel-shell.is-open .cg-inspector .cg-tip{margin-top:12px;font-size:11px}.cg-duel-shell.is-open .cg-inspector .cg-tip p{line-height:1.45}.cg-duel-shell.is-open .cg-inspector .cg-unit-status{padding:6px;font-size:11px}}@media (max-height:500px) and (pointer:coarse){.cg-duel-shell.is-open .cg-terrain-slot.cpu{top:100px!important}.cg-duel-shell.is-open .cg-terrain-slot.player{bottom:calc(var(--hand-zone) + var(--bottom-zone) + 86px)!important}.cg-duel-shell.is-open .cg-inspector{max-height:calc(100dvh - 16px)!important}}.cg-pile-rail{pointer-events:none;z-index:9;position:absolute;inset:0}.cg-pile-rail>section{text-align:center;pointer-events:auto;gap:5px;width:56px;display:grid;position:absolute;bottom:8px;left:7px}.cg-pile-rail>section:first-child{inset:8px 7px auto auto}.cg-pile-rail>section>small{color:#d8c895;letter-spacing:.6px;font-size:7px}.cg-rail-deck{justify-items:center;display:grid;position:relative}.cg-rail-deck :is(img,svg.cg-written-card){object-fit:contain;border-radius:3px;width:36px;height:50px;box-shadow:3px 3px #9a814c,5px 5px #483c29}.cg-rail-deck b{background:#15251def;border:1px solid #d8bd7a;border-radius:50%;padding:2px 5px;font-size:11px;position:absolute;bottom:10px}.cg-rail-deck span{margin-top:6px;font-size:8px}.cg-rail-grave{border-radius:5px;flex-direction:column;align-items:center;gap:2px;min-height:54px;display:flex;background:#18251f!important;border:1px solid #9e8560!important;padding:3px!important;position:relative!important}.cg-rail-grave>span{color:#c9b899;font-size:20px}.cg-rail-grave>:is(img,svg.cg-written-card){object-fit:contain;width:31px;height:43px}.cg-rail-grave b{background:#102219;border-radius:50%;padding:2px 4px;font-size:10px;position:absolute;top:1px;right:1px}.cg-rail-grave small{font-size:8px}.cg-grave-popover{text-align:left;background:#10231ff5;border:1px solid #d0ae68;border-radius:8px;width:220px;max-height:260px;padding:9px;position:absolute;bottom:0;left:60px;overflow:auto;box-shadow:0 12px 30px #000b}.cg-pile-rail>section:first-child .cg-grave-popover{inset:0 60px auto auto}.cg-grave-popover header{justify-content:space-between;align-items:center;font-size:11px;display:flex}.cg-grave-popover header button{min-width:36px;min-height:36px}.cg-grave-popover>button{align-items:center;gap:7px;width:100%;margin-top:5px;padding:4px;font-size:10px;display:flex}.cg-grave-popover :is(img,svg.cg-written-card){object-fit:contain;width:30px;height:42px}@media (max-width:900px){.cg-pile-rail>section{width:38px;left:4px}.cg-pile-rail>section:first-child{right:4px}.cg-rail-deck :is(img,svg.cg-written-card){width:26px;height:37px}.cg-rail-grave{min-height:42px}.cg-rail-grave>:is(img,svg.cg-written-card){width:23px;height:32px}.cg-rail-grave small,.cg-rail-deck span{font-size:6px}.cg-pile-rail>section>small{font-size:5px}.cg-grave-popover{width:190px;left:43px}.cg-pile-rail>section:first-child .cg-grave-popover{right:43px}}@media (max-height:650px){.cg-pile-rail>section{flex-wrap:wrap;gap:2px;width:44px;display:flex}.cg-pile-rail>section>small{width:100%}.cg-rail-deck :is(img,svg.cg-written-card){width:19px;height:26px}.cg-rail-grave{min-height:28px}.cg-rail-grave>:is(img,svg.cg-written-card){width:16px;height:22px}.cg-rail-grave small,.cg-rail-deck span{display:none}}@media (max-width:900px){.cg-pile-rail>section{bottom:2px;left:0}.cg-pile-rail>section:first-child{top:2px;right:0}.cg-pile-rail>section{width:26px;left:1px}.cg-pile-rail>section:first-child{right:1px}.cg-rail-deck :is(img,svg.cg-written-card){width:19px;height:28px}.cg-rail-grave>:is(img,svg.cg-written-card){width:18px;height:26px}.cg-rail-grave{min-height:35px}.cg-rail-grave small,.cg-rail-deck span{font-size:5px}.cg-pile-rail>section>small{font-size:4px}.cg-rail-deck b,.cg-rail-grave b{font-size:8px}}.cg-duel-overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;justify-content:flex-end;align-items:flex-start}.cg-duel-scene{overscroll-behavior:contain;text-align:center;pointer-events:none;background:linear-gradient(145deg,#182a23f2,#091610f4);border:1px solid #c9ad70;border-radius:12px;width:min(390px,34vw);max-height:calc(100dvh - 116px);padding:14px;position:fixed;top:102px;right:12px;overflow:auto;box-shadow:0 12px 34px #000b}.cg-duel-scene>p{letter-spacing:1px;margin:0 0 8px;font-size:11px}.cg-duel-scene .cg-combat-rolls{justify-content:flex-end;gap:6px;max-height:35dvh;padding:3px;overflow:auto}.cg-duel-scene .cg-combat-rolls section{background:#07120ee8;min-width:104px;padding:6px}.cg-duel-scene .cg-dice-display{gap:3px;min-width:64px}.cg-duel-scene .cg-dice-webgl{width:64px;height:64px}.cg-duel-scene .cg-dice-fallback{gap:4px;width:48px;height:48px;padding:8px;top:8px;left:8px}.cg-duel-scene .cg-dice-display small{font-size:8px}.cg-duel-scene .cg-dice-result{font-size:11px}.cg-duel-scene .cg-combat-calculation{background:#050e0bc9;border-radius:7px;padding:5px 8px}.cg-duel-scene .cg-combat-calculation p{margin:4px 0;font-size:10px;line-height:1.4}.cg-duel-scene .cg-duel-cards{gap:12px;margin:10px 0}.cg-duel-scene .cg-duel-cards .cg-duel-attacker,.cg-duel-scene .cg-duel-cards .cg-duel-defender,.cg-duel-scene .cg-duel-impact{opacity:1;animation:none;transform:none}.cg-duel-scene .cg-duel-cards figure{width:90px}.cg-duel-scene .cg-duel-cards :is(img,svg.cg-written-card){max-height:130px}.cg-duel-scene .cg-duel-cards figcaption{margin-top:4px;font-size:9px}.cg-duel-scene .cg-duel-impact strong{font-size:35px}.cg-duel-scene .cg-destruction-gallery figure{width:55px}.cg-duel-scene .cg-destruction-gallery figcaption{font-size:8px}.cg-hover-inspection{z-index:240;pointer-events:none;color:#fff3d2;background:linear-gradient(145deg,#172a23f7,#07140ff7);border:1px solid #e3c57d;border-radius:10px;grid-template-columns:132px minmax(0,1fr);gap:10px;width:min(350px,100vw - 16px);max-height:min(390px,100dvh - 16px);padding:9px;display:grid;position:fixed;overflow:hidden;box-shadow:0 12px 35px #000d}.cg-hover-inspection>:is(img,svg.cg-written-card){object-fit:contain;filter:drop-shadow(0 4px 8px #000b);border-radius:5px;align-self:start;width:132px;height:190px;max-height:calc(100dvh - 36px)}.cg-hover-card-details{min-width:0;max-height:370px;overflow:hidden}.cg-hover-card-details>strong{color:#ffe2a0;margin:3px 2px 8px;font:700 15px/1.2 Georgia,serif;display:block}.cg-hover-card-details .cg-effects-text{color:#f4ecda;max-height:calc(100% - 26px);padding:0 3px;font-size:10px;line-height:1.4;display:block;overflow:auto}.cg-hover-card-details .cg-effects-text summary{display:none}.cg-hover-card-details .cg-effects-text p{color:#e8e4d7;margin:4px 0;font-size:10px;line-height:1.4}.cg-hover-card-details .cg-effects-text h4{color:#e9cb8c;margin:6px 0 2px;font-size:10px}.cg-hover-card-details .cg-master-rules{padding:5px;font-size:9px}.cg-hover-card-details .cg-master-rules p{font-size:9px}.cg-card-slash{filter:brightness(1.5)saturate(.65);background-image:url(/card-game/vfx/wind.webp);background-position:0;background-repeat:no-repeat;background-size:800% 100%;width:180%;height:52%;animation:.34s steps(7,end) 1.5s both cg-card-cut;left:-40%;box-shadow:0 0 15px #b6ecff}@media (max-width:760px){.cg-duel-scene{top:auto;right:8px;bottom:calc(var(--hand-zone,170px) + 40px);width:min(300px,54vw);max-height:43dvh;padding:8px}.cg-duel-scene .cg-duel-cards figure{width:68px}.cg-duel-scene .cg-duel-cards :is(img,svg.cg-written-card){max-height:90px}.cg-hover-inspection{grid-template-columns:95px minmax(0,1fr);gap:7px;padding:7px}.cg-hover-inspection>:is(img,svg.cg-written-card){width:95px;height:140px}.cg-hover-card-details>strong{font-size:12px}.cg-hover-card-details .cg-effects-text,.cg-hover-card-details .cg-effects-text p{font-size:9px}}@media (prefers-reduced-motion:reduce){.cg-card-slash{opacity:.9;background-position:50%;animation:none!important}}.cg-surrender-dialog{overscroll-behavior:contain;color:#f7f0de;z-index:400;background:linear-gradient(145deg,#193329,#0b1b15);border:1px solid #d2b775;border-radius:14px;width:min(540px,100vw - 32px);max-width:calc(100vw - 32px);max-height:min(88dvh,620px);margin:auto;padding:24px 26px;position:fixed;inset:0;overflow:auto;box-shadow:0 22px 90px #000d}.cg-surrender-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#020806c9}.cg-surrender-dialog h2{color:#ffe2a0;margin:0 0 12px;font:700 clamp(20px,3vw,28px)/1.2 Georgia,serif}.cg-surrender-dialog p{color:#e8eadf;margin:0;font:14px/1.65 system-ui,sans-serif}.cg-surrender-dialog>div{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.cg-duel-shell.is-open .cg-board-scroll{isolation:isolate;perspective:none;background:0 0;justify-content:center;align-items:center;position:relative;overflow:visible;padding:0!important}.cg-duel-shell.is-open .cg-board-scroll:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(145deg,#172e27c9,#0a1915dc),url(/card-game/elementos.webp) 50%/cover;border:1px solid #d9bd8177;border-radius:22px;position:absolute;inset:8px clamp(24px,5vw,82px);transform:perspective(1200px)rotateX(4deg);box-shadow:inset 0 0 0 5px #07120d99,0 18px 42px #0008}.cg-duel-shell.is-open .cg-board{z-index:1;aspect-ratio:1.2;transform-origin:50%;max-height:100%;transform-style:preserve-3d;background:linear-gradient(#10291db8,#102219a8);border:1px solid #e4c98eaa;border-radius:18px;gap:clamp(3px,.55vw,8px);padding:clamp(7px,1vw,14px);position:relative;box-shadow:0 18px 38px #0008;grid-template-rows:repeat(6,minmax(0,1fr))!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:min(78vw,120dvh - 474px)!important;max-width:100%!important;height:auto!important;transform:perspective(1000px)rotateX(12deg)!important}.cg-duel-shell.is-open .cg-board:after{content:"";z-index:3;pointer-events:none;border-top:2px solid #efd18bbc;height:0;position:absolute;top:50%;left:7px;right:7px;box-shadow:0 1px 8px #f5d99555}.cg-duel-shell.is-open .cg-cell{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:linear-gradient(145deg,#31504042,#101d1950);border:1px solid #e4e5cf38;border-radius:9px;transition:background .16s,border-color .16s,box-shadow .16s}.cg-duel-shell.is-open .cg-cell.enemy{background:linear-gradient(145deg,#704c3a32,#281d1d50)}.cg-duel-shell.is-open .cg-cell.own{background:linear-gradient(145deg,#3b714333,#12271d55)}.cg-duel-shell.is-open .cg-cell.front-enemy{border-bottom:2px solid #dfbb7cb8}.cg-duel-shell.is-open .cg-cell.front-own{border-top:2px solid #dfbb7cb8}.cg-duel-shell.is-open .cg-cell:hover:not(:disabled){box-shadow:inset 0 0 24px #ffe29a2b,0 0 12px #ffe19a55;background:#e9c87838!important;border-color:#ffe19a!important}.cg-duel-shell.is-open .cg-cell.legal{box-shadow:inset 0 0 18px #f5d18d44,0 0 11px #efd18b77;background:#d0ae6240!important;border:2px solid #ffe196!important}.cg-duel-shell.is-open .cg-cell.legal:hover{box-shadow:inset 0 0 26px #ffe6a866,0 0 18px #ffe19a88;background:#f1cd765e!important}.cg-duel-shell.is-open .cg-pile-rail>section{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0b1a15d9;border:1px solid #d6bc7d77;border-radius:10px;width:clamp(38px,4.8vw,64px);padding:7px 4px;box-shadow:0 8px 22px #0007}.cg-duel-shell.is-open .cg-pile-rail>section:first-child{top:8px;right:8px}.cg-duel-shell.is-open .cg-pile-rail>section:not(:first-child){bottom:8px;left:8px}.cg-duel-shell.is-open .cg-rail-deck :is(img,svg.cg-written-card){aspect-ratio:5/7;width:clamp(28px,3vw,42px);height:auto}.cg-duel-shell.is-open .cg-resource-bar.cpu{top:12px!important;left:12px!important}.cg-duel-shell.is-open .cg-resource-bar.player{right:12px!important;bottom:calc(var(--hand-zone) + var(--bottom-zone) + 12px)!important}.cg-duel-shell.is-open .cg-inspector{left:var(--cg-menu-left,50%)!important;top:var(--cg-menu-top,50%)!important;background:linear-gradient(150deg,#19352df7,#0a1b16f7)!important;border:1px solid #dfc786!important;border-radius:12px!important;width:min(292px,100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:min(390px,100dvh - 104px)!important;padding:10px!important;bottom:auto!important;right:auto!important;transform:none!important;box-shadow:0 16px 42px #000b!important}.cg-duel-shell.is-open.show-actions .cg-inspector{display:block!important}.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-stats,.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions]>.cg-effect-badges,.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-location,.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-help{display:none!important}.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-card{float:left;width:76px;height:106px;margin:0 8px 7px 0;min-height:106px!important;max-height:106px!important;display:block!important}.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-card :is(img,svg.cg-written-card){object-fit:contain;width:100%;height:100%;max-height:106px}.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:8px 0;display:grid}.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-actions button{text-align:center!important;min-height:38px!important;padding:6px 4px!important;font-size:10px!important}.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-equipment{gap:5px;display:flex}.cg-duel-shell.is-open .cg-inspector[data-panel-tab=actions] .cg-panel-equipment button{min-width:44px;min-height:44px;padding:3px}@media (max-width:900px){.cg-duel-shell.is-open .cg-board-scroll{padding:0!important}.cg-duel-shell.is-open .cg-board-scroll:before{border-radius:16px;inset:4px 20px}.cg-duel-shell.is-open .cg-board{max-height:calc(100dvh - var(--top-zone) - var(--hand-zone) - var(--bottom-zone) - 150px);aspect-ratio:1.2;border-radius:13px;gap:3px;padding:6px;width:min(82vw,calc((100dvh - var(--top-zone) - var(--hand-zone) - var(--bottom-zone) - 150px)*1.2))!important;max-width:calc(100vw - 48px)!important;transform:perspective(1000px)rotateX(10deg)!important}.cg-duel-shell.is-open .cg-cell{border-radius:6px;padding:1px}.cg-duel-shell.is-open .cg-pile-rail>section{width:29px;padding:3px 1px}.cg-duel-shell.is-open .cg-pile-rail>section:first-child{right:1px}.cg-duel-shell.is-open .cg-pile-rail>section:not(:first-child){left:1px}.cg-duel-shell.is-open .cg-pile-rail>section>small{font-size:5px}.cg-duel-shell.is-open .cg-inspector{left:var(--cg-menu-left,8px)!important;top:var(--cg-menu-top,94px)!important;width:min(276px,100vw - 16px)!important;max-height:calc(100dvh - 110px)!important;position:fixed!important;bottom:auto!important}.cg-duel-shell.is-open .cg-resource-bar.cpu{top:2px!important;left:4px!important}.cg-duel-shell.is-open .cg-resource-bar.player{right:4px!important}}@media (max-height:500px){.cg-duel-shell.is-open{--hand-zone:94px;--top-zone:38px;--bottom-zone:48px}.cg-duel-shell.is-open .cg-board{max-height:calc(100dvh - 300px);width:min(76vw,120dvh - 360px)!important;transform:perspective(1000px)rotateX(7deg)!important}}@media (prefers-reduced-motion:reduce){.cg-duel-shell.is-open .cg-cell{transition:none}}.cg-duel-shell.is-open .cg-board>.cg-terrain-slot{aspect-ratio:5/7;z-index:9;border-radius:10px;box-shadow:0 0 0 4px #07120dcc,0 10px 26px #000b,inset 0 0 0 1px #f4dca033;width:var(--terrain-width)!important;background:linear-gradient(155deg,#18362bef,#081711)!important;border:2px solid #d6bd7d!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:absolute!important;overflow:visible!important;transform:none!important}.cg-duel-shell.is-open .cg-board>.cg-terrain-slot.player{left:calc(0px - var(--terrain-width) - 18px)!important;top:auto!important;bottom:10%!important;right:auto!important}.cg-duel-shell.is-open .cg-board>.cg-terrain-slot.cpu{left:auto!important;right:calc(0px - var(--terrain-width) - 18px)!important;top:10%!important;bottom:auto!important}.cg-duel-shell.is-open .cg-terrain-card{border-radius:6px;position:relative;box-shadow:inset 0 0 14px #0008;background:linear-gradient(145deg,#d8c78a16,#0008)!important;border:1px solid #d5be8055!important}.cg-duel-shell.is-open .cg-terrain-card>span{text-shadow:0 2px 8px #000;font-size:30px;color:#e8d294!important}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child{width:140px;top:-18px}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child>small{letter-spacing:.08em;text-shadow:0 1px 5px #000;font-size:8px;font-weight:800}@media (max-width:900px){.cg-duel-shell.is-open .cg-board>.cg-terrain-slot.player{left:calc(0px - var(--terrain-width) - 6px)!important}.cg-duel-shell.is-open .cg-board>.cg-terrain-slot.cpu{right:calc(0px - var(--terrain-width) - 6px)!important}}@media (max-width:520px){.cg-duel-shell.is-open{--terrain-width:32px}.cg-duel-shell.is-open .cg-board>.cg-terrain-slot.player{left:-18px!important}.cg-duel-shell.is-open .cg-board>.cg-terrain-slot.cpu{right:-18px!important}.cg-duel-shell.is-open .cg-terrain-slot>div:last-child{width:82px}}.cg-selection-panel.is-grave .cg-grave-options{overscroll-behavior:contain;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;max-height:min(58dvh,520px);padding:4px 4px 10px;display:grid;overflow:auto}.cg-selection-panel.is-grave .cg-grave-options>button{text-align:center;grid-template-rows:minmax(0,1fr) auto auto auto;align-items:center;gap:6px;min-width:0;display:grid;min-height:260px!important;padding:10px!important}.cg-selection-panel.is-grave .cg-grave-options>button>:is(img,svg.cg-written-card){object-fit:contain;filter:drop-shadow(0 6px 12px #0009);border-radius:6px;width:100%;height:min(32dvh,190px);min-height:120px;display:block}.cg-selection-panel.is-grave .cg-grave-options>button strong,.cg-selection-panel.is-grave .cg-grave-options>button small,.cg-selection-panel.is-grave .cg-grave-options>button span{min-width:0;display:block}.cg-selection-panel.is-grave .cg-grave-options>button strong{font:700 14px/1.25 Georgia,serif}.cg-selection-panel.is-grave .cg-grave-options>button small{color:#d6dfd3!important;font-size:10px!important}.cg-selection-panel.is-grave .cg-grave-options>button span{color:#14241b;background:#d8bd78;border-radius:6px;padding:7px 9px;font-size:11px;font-weight:800}@media (max-width:600px){.cg-selection-panel.is-grave .cg-grave-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:60dvh}.cg-selection-panel.is-grave .cg-grave-options>button{min-height:210px!important;padding:7px!important}.cg-selection-panel.is-grave .cg-grave-options>button>:is(img,svg.cg-written-card){height:min(28dvh,150px);min-height:95px}}.cg-surrender-dialog button{color:#f7f2e4;cursor:pointer;background:linear-gradient(#365a43,#233f30);border:1px solid #94ae86;border-radius:8px;min-height:44px;padding:10px 16px;font:700 13px system-ui,sans-serif}.cg-surrender-dialog .cg-surrender-button{color:#fff2ec;background:linear-gradient(#854b3e,#5e322c);border-color:#d19787}.cg-surrender-dialog button:hover{filter:brightness(1.15)}.cg-surrender-dialog button:focus-visible{outline-offset:3px;outline:3px solid #ffe4a1}@media (max-width:600px){.cg-surrender-dialog{padding:18px}.cg-surrender-dialog p{font-size:13px}.cg-surrender-dialog>div{flex-direction:column-reverse}.cg-surrender-dialog button{width:100%}}.cg-cover-picker{background:linear-gradient(120deg,#102b2e,#07171e);border:1px solid #9c804b66;border-radius:12px;margin:18px 0;overflow:hidden}.cg-cover-picker summary{cursor:pointer;align-items:center;gap:14px;padding:12px 18px;list-style:none;display:flex}.cg-cover-picker summary::-webkit-details-marker{display:none}.cg-cover-picker summary>img{object-fit:contain;border-radius:6px;width:70px;height:70px}.cg-cover-picker summary>span{flex:1;gap:6px;min-width:0;display:grid}.cg-cover-picker summary strong{color:#f7dc9f}.cg-cover-picker summary small{color:#b6c4c3}.cg-cover-picker summary>b{color:#e9c88c;font-size:12px}.cg-cover-picker>p{color:#b6c4c3;padding:0 18px 12px;font-size:12px}.cg-cover-options{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;padding:8px 18px 18px;display:grid}.cg-cover-options>button{color:#eee2c9;cursor:pointer;background:#07171c;border:1px solid #69817d66;border-radius:10px;gap:5px;min-width:0;padding:8px;display:grid}.cg-cover-options>button[aria-pressed=true]{background:#26332d;border:2px solid #f4ca78;box-shadow:0 0 15px #eec26a33}.cg-cover-options img{aspect-ratio:1;object-fit:contain;border-radius:6px;width:100%;height:auto;display:block}.cg-cover-options small{color:#b7c6bf;font-size:10px}:is(.cg-cover-options button:focus-visible,.cg-cover-picker summary:focus-visible){outline-offset:3px;outline:2px solid #ffe4aa}@media (max-width:600px){.cg-cover-picker summary{gap:8px;padding:10px}.cg-cover-picker summary>img{width:48px;height:48px}.cg-cover-picker summary>b{font-size:10px}.cg-cover-picker summary small{font-size:11px}.cg-cover-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px}}.cg-arena-overlay{z-index:2147480800;box-sizing:border-box;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);color:#eee8d9;isolation:isolate;background:#020b12a8;place-items:center;padding:12px;font:13px/1.4 system-ui;display:grid;position:fixed;inset:0}.cg-arena-overlay button{font:inherit;color:#f5e9ce;cursor:pointer;background:#18352f;border:1px solid #9b885e;border-radius:7px;min-height:34px;padding:6px 12px}.cg-arena-overlay button:disabled{opacity:.4;cursor:not-allowed}:is(.cg-arena-overlay button:focus-visible,.cg-arena-overlay summary:focus-visible){outline-offset:2px;outline:2px solid #ffe1a0}.cg-grave-dialog,.cg-arena-overlay .cg-selection-panel{overscroll-behavior:contain;box-shadow:0 20px 80px #0009;box-sizing:border-box!important;background:linear-gradient(145deg,#17342e,#07171f)!important;border:1px solid #c5a76b!important;border-radius:13px!important;width:min(1000px,100vw - 24px)!important;max-width:100%!important;max-height:calc(100dvh - 24px)!important;margin:0!important;padding:16px!important;position:relative!important;inset:auto!important;overflow:auto!important;transform:none!important}.cg-arena-overlay .cg-selection-panel:not([data-card-gallery]){width:min(650px,100vw - 24px)!important}.cg-grave-dialog>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.cg-grave-dialog h3,.cg-arena-overlay .cg-selection-panel h3{color:#f4d89c;margin:0 0 6px;font:700 17px/1.3 Georgia}.cg-grave-dialog>header>button{min-width:38px;font-size:22px}.cg-card-gallery{width:100%;min-width:0}.cg-gallery-nav{justify-content:space-between;align-items:center;gap:8px;margin:8px 0 12px;display:flex}.cg-gallery-nav>span{color:#c9d6c9;text-align:center;font-size:12px}.cg-gallery-row{justify-content:center;align-items:stretch;gap:12px;min-width:0;overflow:hidden;flex-wrap:nowrap!important;display:flex!important}.cg-gallery-row>article{text-align:center;flex-direction:column;flex:1 1 0;gap:5px;min-width:0;max-width:185px;display:flex}.cg-gallery-art{overflow:hidden;background:0 0!important;border:0!important;width:100%!important;height:min(230px,100dvh - 270px)!important;min-height:48px!important;padding:0!important;display:block!important}.cg-gallery-art>img,.cg-gallery-art>svg.cg-written-card{border-radius:7px;object-fit:contain!important;opacity:1!important;width:100%!important;max-width:100%!important;height:100%!important;min-height:0!important;display:block!important;position:static!important}.cg-gallery-row>article>strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;min-height:28px;max-height:28px;font-size:11px;line-height:1.3;display:-webkit-box;overflow:hidden}.cg-gallery-choose{min-height:32px!important;padding:5px!important;font-size:12px!important}.cg-grave-dialog .cg-gallery-art{height:min(270px,100dvh - 190px)!important}.cg-gallery-empty{text-align:center;color:#c9d6c9;padding:25px}.cg-arena-overlay .cg-selection-panel[data-card-gallery]>.cg-selection-summary{display:none!important}.cg-arena-overlay .cg-selection-panel>p{margin:5px 0;font-size:12px}.cg-arena-overlay .cg-selection-actions{flex-wrap:wrap;gap:8px;margin:10px 0 6px;display:flex}.cg-arena-overlay .cg-selection-panel>small{font-size:11px}.cg-selection-description summary,.cg-skill-description summary,.cg-hand-rules summary,.cg-king-passive-status summary{cursor:pointer;color:#dfcfa1;margin-top:6px;padding:5px 0;font-size:11px}.cg-skill-description p{font-size:12px!important}.cg-hand-rules:not([open]){margin:0}.cg-hand-rules[open]{margin-bottom:8px}.cg-direct-skill{padding:8px!important}.cg-direct-skill>button{width:100%;margin-top:6px;min-height:34px!important}.cg-king-passive-status details:not([open]){margin:0}.cg-king-passive-status>strong{font-size:11px}@media (max-height:500px){.cg-arena-overlay{padding:8px}.cg-grave-dialog,.cg-arena-overlay .cg-selection-panel{max-height:calc(100dvh - 16px)!important;padding:10px!important}.cg-gallery-nav{margin:5px 0 7px}.cg-gallery-row{gap:7px}.cg-gallery-nav button{padding:4px 8px;font-size:11px}.cg-arena-overlay .cg-selection-panel>small{display:none}.cg-selection-description{margin:0}}.cg-cover-options>button{background:radial-gradient(at 50% 35%,#42685d66,#0000 70%),linear-gradient(145deg,#10292e,#050e16)}.cg-cover-options>button[aria-pressed=true]{background:radial-gradient(at 50% 30%,#b38a4166,#0000 75%),linear-gradient(145deg,#293c32,#08151c)}.cg-cover-options img,.cg-cover-picker summary>img{background:radial-gradient(at 50% 45%,#546d6133,#0000 70%)}.cg-deck-copy-footer{border-top:1px solid #d6b77a40;gap:8px;padding:16px;display:grid}.cg-deck-copy-footer small{color:#a9afbc}.cg-deck-copy-footer p:empty{display:none}.cg-deck-copy-footer textarea{box-sizing:border-box;resize:vertical;width:100%;max-height:200px}.cg-deck-delete-confirm{background:#201916;border:1px solid #b27850;border-radius:10px;margin:12px 0;padding:16px}.cg-deck-delete-confirm button{margin:4px}.cg-selection-summary{align-items:center;gap:12px;min-width:0;margin:10px 0;display:flex}.cg-selection-summary>strong{white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:13px;line-height:1.4;display:block}.cg-selection-summary>strong>small{margin-top:4px;font-size:11px;font-weight:400;display:block}.cg-arena-overlay .cg-selection-summary>:is(img,svg.cg-written-card){flex:0 0 64px;object-fit:contain!important;width:64px!important;min-width:0!important;max-width:100%!important;height:88px!important;min-height:0!important;display:block!important;position:static!important}.cg-arena-overlay .cg-selection-panel{overflow-x:hidden!important}@media (max-height:500px){.cg-arena-overlay .cg-selection-summary{margin:6px 0}.cg-arena-overlay .cg-selection-summary>:is(img,svg.cg-written-card){flex-basis:40px;width:40px!important;height:55px!important}}.cg-initial-decklist{margin:12px 0;font-size:12px}.cg-initial-decklist summary{cursor:pointer;color:#e7c78e;padding:8px 0}.cg-initial-decklist ul{scrollbar-width:thin;max-height:220px;padding-left:18px;line-height:1.8;overflow:auto}.cg-initial-decklist li{overflow-wrap:anywhere}.cg-terrain-layer>picture{width:100%;height:100%;display:block}
