@import "https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Inter:wght@400;500;600;700&display=swap";:root{color:#edf0f5;font-synthesis:none;background:#080a0f;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,textarea,select{font:inherit}button{cursor:pointer}.setup-footer code{color:#f4d88a;white-space:nowrap;background:#17140d;border:1px solid #62563b;border-radius:3px;padding:2px 5px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace}.setup-shell,.game-shell{background:radial-gradient(circle at 50% 28%,#282434 0,#12151f 38%,#080a0f 82%);min-height:100vh;position:relative;overflow-x:hidden}.setup-shell:before,.game-shell:before{content:"";pointer-events:none;opacity:.08;background-image:linear-gradient(#d7b9692e 1px,#0000 1px),linear-gradient(90deg,#d7b9692e 1px,#0000 1px);background-size:48px 48px;position:fixed;inset:0;-webkit-mask-image:radial-gradient(circle,#000,#0000 74%);mask-image:radial-gradient(circle,#000,#0000 74%)}.app-header,.game-topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:5;background:#080a10e6;border-bottom:1px solid #39394a;align-items:center;gap:13px;height:68px;padding:0 28px;display:flex;position:relative}.brand-rune{color:#18140c;clip-path:polygon(50% 0,93% 20%,83% 84%,50% 100%,17% 84%,7% 20%);background:#d7b969;place-items:center;width:39px;height:43px;display:grid}.app-header>div:nth-child(2){display:grid}.app-header small{color:#9299aa;letter-spacing:.16em;font-size:8px}.app-header h1{letter-spacing:.15em;margin:1px 0 0;font:700 21px Cinzel}.app-header a{color:#cdd2dc;background:#171b26;border:1px solid #444b5d;border-radius:5px;align-items:center;gap:7px;margin-left:auto;padding:8px 11px;font-size:10px;text-decoration:none;display:flex}.setup-intro{text-align:center;max-width:820px;margin:0 auto;padding:46px 24px 34px;position:relative}.setup-intro>small{color:#d8b960;letter-spacing:.2em;font-size:9px;font-weight:700}.setup-intro h2{margin:8px 0 9px;font:700 38px Cinzel}.setup-intro>p{color:#a8afbd;max-width:680px;margin:0 auto;font-size:12px;line-height:1.7}.setup-intro>div{justify-content:center;gap:9px;margin-top:22px;display:flex}.setup-intro>div span{color:#9299a8;text-transform:uppercase;letter-spacing:.08em;background:#141822b3;border:1px solid #343a4a;border-radius:5px;justify-content:center;align-items:baseline;gap:6px;min-width:118px;padding:8px 12px;font-size:9px;display:flex}.setup-intro>div strong{color:#f1e3b5;font:700 19px Cinzel}.rules-readiness{background:linear-gradient(100deg,#301d1af0,#14161ff5);border:1px solid #765348;border-radius:8px;grid-template-columns:auto minmax(0,1fr) minmax(240px,.72fr);align-items:center;gap:13px;width:min(920px,100% - 40px);margin:-10px auto 26px;padding:13px 16px;display:grid;position:relative;box-shadow:0 15px 42px #00000040}.rules-readiness.authoritative{background:linear-gradient(100deg,#143027f0,#14161ff5);border-color:#4b806f}.rules-engine-icon{color:#e4a68e;background:#2e1c19;border:1px solid #8c5e4d;border-radius:7px;place-items:center;width:43px;height:43px;display:grid}.rules-readiness.authoritative .rules-engine-icon{color:#91d7c0;background:#17342c;border-color:#4e8b77}.rules-readiness small{color:#a08176;letter-spacing:.14em;font-size:7px;font-weight:700}.rules-readiness h3{margin:2px 0 3px;font:700 14px Cinzel}.rules-readiness h3 span{color:#8992a4;font:500 8px Inter}.rules-readiness p{color:#989fad;margin:0;font-size:8px;line-height:1.45}.rules-result{color:#e5aa94;border-left:1px solid #493a39;grid-template-columns:auto 1fr;align-content:center;align-items:center;gap:3px 7px;min-height:42px;padding-left:13px;display:grid}.authoritative .rules-result{color:#9cdec8;border-color:#345a50}.rules-result strong{font-size:9px}.rules-result small{color:#a48277;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-size:7px;font-weight:500;overflow:hidden}.rules-result .checking{border:2px solid #685248;border-top-color:#e0aa92;border-radius:50%;width:13px;height:13px;animation:.8s linear infinite rules-spin}@keyframes rules-spin{to{transform:rotate(360deg)}}.import-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(1380px,100% - 40px);margin:0 auto;display:grid;position:relative}.deck-importer{background:linear-gradient(160deg,#1c212ef0,#0c0f17f5);border:1px solid #3c4354;border-radius:9px;min-height:410px;padding:14px;box-shadow:0 18px 45px #0000004d}.deck-importer.ready{border-color:#587b70;box-shadow:inset 0 0 28px #4191770f,0 18px 45px #0000004d}.deck-importer>header{border-bottom:1px solid #353c4d;align-items:center;gap:9px;height:45px;padding-bottom:10px;display:flex}.seat-icon{border-radius:50%;place-items:center;width:33px;height:33px;display:grid}.seat-icon.human{color:#a9eadc;background:#18332f;border:1px solid #4d8d81}.seat-icon.cpu{color:#efb293;background:#34221d;border:1px solid #8c5d49}.deck-importer header>div{display:grid}.deck-importer header small{color:#818a9c;letter-spacing:.13em;text-transform:uppercase;font-size:7px}.deck-importer header strong{font:700 15px Cinzel}.clear-deck{color:#b8beca;background:#191e2a;border:1px solid #4c5466;border-radius:50%;place-items:center;width:28px;height:28px;margin-left:auto;display:grid}.deck-importer textarea{resize:none;color:#e4e7ed;background:#0e121b;border:1px solid #424a5d;border-radius:6px;outline:none;width:100%;height:258px;margin-top:13px;padding:12px;font:10px/1.55 ui-monospace,SFMono-Regular,monospace}.deck-importer textarea:focus{border-color:#b29753;box-shadow:0 0 0 2px #d7b9691a}.import-actions{grid-template-columns:1fr 1.2fr;gap:7px;margin-top:9px;display:grid}.import-actions label,.import-actions button{color:#d8dce4;background:#1c2230;border:1px solid #4b5468;border-radius:5px;justify-content:center;align-items:center;gap:6px;min-height:37px;font-size:9px;font-weight:700;display:flex}.import-actions input{display:none}.import-actions button{color:#17140c;background:#d7b969;border-color:#d7b969}.import-actions button:disabled{opacity:.4;cursor:default}.import-error{color:#f0a797;gap:5px;font-size:9px;line-height:1.4;display:flex}.loaded-deck{grid-template-columns:66px minmax(0,1fr);align-items:center;gap:11px;margin:13px 0;display:grid}.loaded-deck .mtg-card{width:66px}.loaded-deck small{color:#77b6a5;letter-spacing:.13em;font-size:7px}.loaded-deck h3{text-overflow:ellipsis;white-space:nowrap;margin:4px 0;font:700 15px Cinzel;overflow:hidden}.loaded-deck p{color:#8f98a8;margin:0;font-size:8px}.commander-select{gap:4px;margin-top:8px;display:grid}.commander-select span,.deck-name-input span{color:#8992a3;text-transform:uppercase;letter-spacing:.09em;font-size:8px}.commander-select select,.deck-name-input input{color:#e2e5eb;background:#151a25;border:1px solid #444d60;border-radius:4px;width:100%;min-width:0;padding:8px;font-size:9px}.deck-name-input{gap:4px;margin-top:7px;display:grid}.deck-name-input input:focus{border-color:#b69b57;outline:none;box-shadow:0 0 0 2px #d7b9691a}.validation-list{background:#2c1c1b;border:1px solid #794d47;max-height:104px;margin-top:10px;padding:7px 9px;overflow-y:auto}.validation-list p{color:#edb1a5;gap:5px;margin:3px 0;font-size:8px;line-height:1.35;display:flex}.validation-list small{color:#c87d72;font-size:7px}.unresolved-list{background:#30201c;border:1px solid #9a6650;border-radius:5px;margin-top:10px;padding:9px}.unresolved-list>strong{color:#f0b499;align-items:center;gap:6px;font-size:9px;display:flex}.unresolved-list ul{color:#f1d4c7;background:#090a0f5c;max-height:92px;margin:7px 0;padding:6px 6px 6px 22px;font:9px/1.55 ui-monospace,SFMono-Regular,monospace;overflow-y:auto}.unresolved-list small{color:#bc9180;font-size:7px;line-height:1.4}.source-editor{border-top:1px solid #343c4d;margin-top:10px;padding-top:9px}.source-editor summary{color:#d8c17b;cursor:pointer;letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:700}.source-editor[open] summary{margin-bottom:7px}.source-editor textarea{height:170px;margin-top:0}.deck-valid{color:#9cddc7;letter-spacing:.05em;text-transform:uppercase;background:#142a25;border:1px solid #3f7163;justify-content:center;align-items:center;gap:6px;margin-top:13px;padding:8px;font-size:8px;font-weight:700;display:flex}.save-library{color:#e4d49f;text-transform:uppercase;letter-spacing:.06em;background:#252116;border:1px solid #655a3b;border-radius:4px;justify-content:center;align-items:center;gap:6px;width:100%;margin-top:8px;padding:8px;font-size:8px;font-weight:700;display:flex}.saved-deck-picker{background:#171521;border:1px solid #494359;border-radius:6px;margin-top:13px;padding:9px}.saved-deck-picker>label{color:#c7b5df;letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:6px;font-size:8px;font-weight:700;display:flex}.saved-deck-picker>div{grid-template-columns:minmax(0,1fr) 54px;gap:6px;margin-top:7px;display:grid}.saved-deck-picker select{color:#e2e5eb;background:#10131c;border:1px solid #4b4659;border-radius:4px;min-width:0;padding:7px;font-size:8px}.saved-deck-picker button{color:#eee8f5;background:#392c4a;border:1px solid #8d79a8;border-radius:4px;font-size:8px;font-weight:700}.saved-deck-picker button:disabled{opacity:.4;cursor:default}.deck-library{background:#11111ae6;border:1px solid #464052;border-radius:8px;width:min(1380px,100% - 40px);margin:-11px auto 22px;padding:11px 13px;position:relative}.deck-library>header{color:#bca8d4;justify-content:space-between;align-items:center;display:flex}.deck-library>header>div{align-items:center;gap:8px;display:flex}.deck-library>header span{display:grid}.deck-library header small{color:#7f778d;letter-spacing:.13em;font-size:6px}.deck-library header strong{color:#e8e4ec;font:700 11px Cinzel}.deck-library>div{gap:8px;margin-top:9px;display:flex;overflow-x:auto}.deck-library article{background:#151823;border:1px solid #383747;border-radius:5px;grid-template-columns:42px minmax(0,1fr) 27px;align-items:center;gap:8px;min-width:225px;padding:7px;display:grid}.deck-library article .mtg-card{width:42px}.deck-library article>span{gap:3px;min-width:0;display:grid}.deck-library article strong{color:#e0e2e8;text-overflow:ellipsis;white-space:nowrap;font:700 9px Cinzel;overflow:hidden}.deck-library article small{color:#777f90;font-size:6px}.deck-library article>button{color:#d9978e;background:#291b1d;border:1px solid #614846;border-radius:50%;place-items:center;width:27px;height:27px;padding:0;display:grid}.library-message{z-index:40;color:#eee7d3;background:#282317;border:1px solid #75643d;border-radius:6px;align-items:center;gap:12px;padding:9px 11px;font-size:9px;display:flex;position:fixed;top:78px;left:50%;transform:translate(-50%);box-shadow:0 12px 34px #0000008c}.setup-footer{align-items:center;gap:20px;width:min(1380px,100% - 40px);margin:14px auto 0;padding-bottom:30px;display:flex;position:relative}.setup-footer p{color:#858e9f;gap:7px;margin:0;font-size:9px;line-height:1.5;display:flex}.setup-footer button{color:#17140b;text-transform:uppercase;letter-spacing:.08em;background:#d7b969;border:1px solid #e2c873;border-radius:5px;justify-content:center;align-items:center;gap:8px;min-width:230px;margin-left:auto;padding:12px 17px;font-size:10px;font-weight:800;display:flex}.setup-footer button:disabled{color:#767e8d;cursor:default;background:#1c212c;border-color:#41495a}.quick-fill-pod{color:#d9c7eb;background:#2b2037;border:1px solid #6f5984;border-radius:5px;justify-content:center;align-items:center;gap:7px;margin:16px auto 0;padding:9px 13px;font-size:9px;font-weight:750;display:flex}.quick-fill-pod:disabled{color:#737987;cursor:default;background:#1a1e27;border-color:#414754}.mtg-card{aspect-ratio:488/680;background:#121722;border:1px solid #5d6678;border-radius:6px;width:116px;padding:0;transition:transform .15s,border-color .15s;display:block;overflow:hidden;box-shadow:0 8px 20px #0000007a}.mtg-card:hover,.mtg-card:focus-visible{z-index:3;border-color:#e0c46c;transform:translateY(-4px)scale(1.04)}.mtg-card.compact{width:66px}.mtg-card.tapped{opacity:.82;transform:rotate(90deg)scale(.76)}.mtg-card.tapped:hover,.mtg-card.tapped:focus-visible{transform:rotate(90deg)scale(.82)}.mtg-card img{object-fit:cover;width:100%;height:100%;display:block}.card-back{color:#c6a756;background:radial-gradient(circle,#27375a,#10182d 65%);align-content:center;place-items:center;gap:7px;display:grid;box-shadow:inset 0 0 0 3px #090d18,inset 0 0 0 4px #a88c49,0 8px 20px #0000007a}.card-back span{letter-spacing:.13em;font:700 7px Cinzel}.card-inspector{z-index:100;background:#0c0f17fc;border:1px solid #b49b58;border-radius:12px;grid-template-columns:310px 1fr;width:min(660px,100vw - 44px);max-height:calc(100vh - 80px);display:grid;position:fixed;top:50%;right:22px;overflow:hidden;transform:translateY(-50%);box-shadow:0 30px 90px #000c}.card-inspector.hover-preview{pointer-events:none;left:22px;right:auto}.card-inspector.pinned{pointer-events:auto}.card-inspector>button{z-index:2;color:#e8eaf0;background:#202632;border:1px solid #555e70;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:10px;right:10px}.card-inspector>img{object-fit:contain;background:radial-gradient(circle,#333044,#0b0e16);width:100%;max-height:calc(100vh - 80px);padding:14px}.card-inspector>div{padding:26px 22px;overflow-y:auto}.card-inspector small{color:#d6b866;text-transform:uppercase;letter-spacing:.08em;font-size:9px}.card-inspector h2{margin:8px 35px 3px 0;font:700 27px Cinzel}.card-inspector>div>strong{color:#b7bfce;font-size:11px}.card-inspector p{color:#e2e5eb;white-space:pre-line;background:#171c27;border-left:3px solid #d7b969;margin-top:18px;padding:14px;font-size:12px;line-height:1.6}.card-inspector>div>span{color:#e2c66f;text-align:right;font:700 22px Cinzel;display:block}.keyword-reference{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:15px;display:grid}.keyword-reference>small{color:#d6b866;letter-spacing:.13em;grid-column:1/-1;font-size:8px;font-weight:800}.keyword-reference article{background:linear-gradient(145deg,#202a3a,#161b25);border:1px solid #465269;border-radius:6px;grid-template-columns:29px minmax(0,1fr);gap:7px;min-width:0;padding:7px;display:grid}.keyword-reference article>i{color:#daf3ff;background:#203b4b;border:1px solid #547a91;border-radius:50%;place-items:center;width:29px;height:29px;display:grid}.keyword-reference article>span{align-content:start;gap:2px;min-width:0;display:grid}.keyword-reference article b{color:#edf4fa;text-transform:capitalize;font-size:10px}.keyword-reference article em{color:#aeb9c8;font-size:8px;font-style:normal;line-height:1.35}.room-reference{background:linear-gradient(145deg,#2a2032,#161923);border:1px solid #7d648c;border-radius:8px;margin-top:16px;padding:10px}.room-reference>header{color:#d2b5e4;align-items:center;gap:7px;display:flex}.room-reference>header span{gap:2px;display:grid}.room-reference>header small{color:#c49bdd;letter-spacing:.13em;font-size:8px;font-weight:800}.room-reference>header b{color:#e4dcea;font-size:9px}.room-reference>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px;display:grid}.room-reference article{background:#1c1d28;border:1px solid #4f4459;border-radius:6px;min-width:0;padding:8px}.room-reference article>span{justify-content:space-between;align-items:start;gap:5px;display:flex}.room-reference article b{color:#f0e6f4;font:700 10px/1.3 Cinzel}.room-reference article strong{color:#d7b969;white-space:nowrap;font-size:9px}.room-reference article>small{color:#9e8da9;margin-top:4px;font-size:7px;display:block}.room-reference article p{color:#d1d4dc;background:#151721;border:0;border-left:2px solid #8966a0;margin:7px 0 0;padding:7px;font-size:9px;line-height:1.45}.game-shell{padding-bottom:180px}.game-topbar{justify-content:space-between}.game-topbar>div{align-items:center;gap:10px;display:flex}.game-topbar strong{letter-spacing:.11em;font:700 15px Cinzel}.game-topbar span{color:#a2aaba;letter-spacing:.1em;border-left:1px solid #414859;padding-left:11px;font-size:9px}.game-topbar button{color:#c8ced8;background:#171c27;border:1px solid #444d5e;border-radius:4px;gap:6px;padding:7px 10px;font-size:9px;display:flex}.game-topbar button.active{color:#17140c;background:#d7b969;border-color:#d7b969}.game-topbar .auto-pass-header{color:#c8d5e5;background:#1b2533;border-color:#53627a}.game-topbar .auto-pass-header.active{color:#d9fff2;background:#18372d;border-color:#4c9c81;box-shadow:0 0 16px #4ab18d2e}.game-topbar .auto-pass-header:disabled{opacity:.44}.pod-table{background:radial-gradient(#332c38 0,#1d202b 42%,#10141d 85%);border:1px solid #3f4351;border-radius:50px;grid-template-rows:repeat(3,minmax(310px,auto));grid-template-columns:minmax(360px,1fr) 430px minmax(360px,1fr);gap:12px;width:min(1520px,100% - 28px);min-height:1040px;margin:14px auto;padding:12px;display:grid;position:relative;box-shadow:inset 0 0 100px #00000059,0 28px 70px #00000080}.player-board{background:linear-gradient(150deg,#1b202df5,#0c0f17f5);border:1px solid #424a5c;border-radius:9px;flex-direction:column;min-width:0;min-height:310px;padding:10px;transition:border-color .2s,box-shadow .2s;display:flex}.player-board.active{border-color:#d5b55f;box-shadow:0 0 0 2px #d5b55f1f,0 0 28px #d5b55f1f}.player-board.cpu2{grid-area:1/2}.player-board.cpu1{grid-area:2/1}.player-board.cpu3{grid-area:2/3}.player-board.human{grid-area:3/2}.player-board>header{align-items:center;gap:8px;display:flex}.pod-avatar{color:#d6bc73;background:#222938;border:1px solid #566073;border-radius:50%;place-items:center;width:31px;height:31px;display:grid}.player-board>header>div:nth-child(2){min-width:0;display:grid}.player-board header small{color:#8993a5;letter-spacing:.12em;font-size:7px}.player-board header strong{font:700 13px Cinzel}.player-board header em{color:#737e91;text-overflow:ellipsis;white-space:nowrap;max-width:150px;font-size:7px;font-style:normal;overflow:hidden}.life-total{color:#dc8580;align-items:center;gap:3px;margin-left:auto;display:flex}.life-total button{color:#cdd2db;background:#1c2230;border:1px solid #515a6c;width:23px;height:23px;padding:0}.life-total strong{color:#f2f3f6;text-align:center;min-width:34px;font:700 21px Cinzel}.board-main{grid-template-columns:76px minmax(0,1fr);gap:7px;min-height:0;margin-top:8px;display:grid}.command-zone{background:#10151f;border:1px solid #343c4d;min-width:0;padding:6px}.command-zone>small{color:#8993a5;letter-spacing:.1em;margin-bottom:5px;font-size:6px;display:block}.command-zone>div{gap:3px;display:flex}.command-zone .mtg-card{width:48px}.command-zone>span{color:#d0b768;font-size:7px}.field-layout{background:radial-gradient(circle at 38% 46%,#191d28,#0f141d 78%);border:1px solid #343c4d;border-radius:5px;grid-template-rows:1fr 1fr;grid-template-columns:minmax(0,1fr) 94px;gap:0 7px;min-width:0;padding:4px 5px;display:grid;overflow:hidden}.creature-lane,.land-lane,.support-zone{background:0 0;border:0;min-width:0;padding:2px;overflow:hidden}.creature-lane{grid-area:1/1}.land-lane{border-top:1px dashed #5e827557;grid-area:2/1}.support-zone{border-left:1px dashed #85779761;grid-area:1/2/3;padding-left:7px}.creature-lane>span,.land-lane>span,.support-zone>span{color:#8993a5;letter-spacing:.07em;white-space:nowrap;align-items:center;gap:3px;height:13px;font-size:6px;display:flex}.creature-lane>div,.land-lane>div{align-items:center;gap:3px;min-height:48px;display:flex;overflow-x:auto}.support-zone>div{flex-wrap:wrap;align-items:flex-start;gap:3px;min-height:110px;display:flex;overflow-y:auto}.creature-lane .mtg-card,.land-lane .mtg-card,.support-zone .mtg-card{flex:0 0 43px;width:43px}.creature-lane em,.land-lane em,.support-zone em{color:#586276;text-align:center;margin:auto;font-size:6px;font-style:normal}.open-battlefield{background:radial-gradient(circle at 40% 42%,#1c202c,#0f141d 80%);border:1px solid #343c4d;border-radius:5px;flex-direction:column;min-width:0;min-height:192px;max-height:310px;padding:6px;display:flex;overflow:hidden}.field-key{color:#858fa1;letter-spacing:.07em;text-transform:uppercase;flex:none;gap:9px;padding:0 2px 5px;font-size:6px;display:flex}.field-key span:before{content:"";vertical-align:0;border-radius:50%;width:5px;height:5px;margin-right:4px;display:inline-block}.field-key .creature:before{background:#ba7771}.field-key .support:before{background:#a28ac0}.field-key .land:before{background:#67a58f}.permanent-flow{flex-wrap:wrap;flex:1;align-content:flex-start;gap:5px 7px;min-height:0;padding:4px;display:flex;overflow-y:auto}.permanent-flow>em{color:#596376;text-align:center;margin:auto;font-size:8px;font-style:normal}.permanent{flex:0 0 47px;width:47px;min-height:67px;position:relative}.permanent:after{content:"";border-radius:2px;height:2px;position:absolute;bottom:-2px;left:5px;right:5px}.permanent.creature:after{background:#ba7771}.permanent.support:after{background:#a28ac0}.permanent.land:after{background:#67a58f}.permanent .mtg-card{width:47px}.activate-permanent{color:#f0d989;letter-spacing:.04em;text-transform:uppercase;background:#292313;border:1px solid #9b8142;border-radius:3px;justify-content:center;align-items:center;gap:2px;width:55px;margin:3px 0 0 -4px;padding:3px 2px;font-size:5px;font-weight:800;display:flex}.zone-counts{grid-column:1/-1;grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.zone-counts>span{color:#d8dce5;background:#171c27;border:1px solid #333a4a;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:0 4px;padding:4px;font:700 10px Cinzel;display:grid}.zone-counts small{color:#737d90;text-transform:uppercase;grid-column:1/-1;font:500 6px Inter}.commander-damage{align-items:center;gap:8px;margin-top:6px;display:flex}.commander-damage>span{color:#707b8d;letter-spacing:.09em;font-size:6px}.commander-damage>div{gap:5px;display:flex}.commander-damage small{color:#8e97a8;align-items:center;gap:3px;font-size:6px;display:flex}.commander-damage i{background:#d7b969;border-radius:50%;width:5px;height:5px}.commander-damage strong{color:#e5e8ed;font-size:8px}.damage-actions{align-items:center;gap:3px;margin-top:5px;display:flex;overflow-x:auto}.damage-actions span{color:#707a8d;white-space:nowrap;font-size:6px}.damage-actions button{color:#d7a29b;white-space:nowrap;background:#281c20;border:1px solid #51484a;padding:3px 5px;font-size:6px}.player-board.eliminated{opacity:.5;filter:grayscale(.7)}.eliminated-banner{color:#efaaa1;background:#13080abd;place-items:center;font:700 13px Cinzel;display:grid;position:absolute;inset:0}.player-board{position:relative}.turn-console{text-align:center;background:radial-gradient(circle,#332d20,#141821 73%);border:1px solid #75663f;border-radius:50%;grid-area:2/2;align-self:center;padding:18px;box-shadow:0 0 50px #00000073}.turn-console small{color:#d7b969;letter-spacing:.16em;font-size:8px}.turn-console h2{margin:6px 0;font:700 24px Cinzel}.turn-console p{color:#959eae;margin:0;font-size:9px;line-height:1.5}.shared-stack{background:#17131f;border:1px solid #5b5069;border-radius:6px;gap:3px;margin-top:10px;padding:8px;display:grid}.shared-stack>span{color:#c5aee0;letter-spacing:.1em;justify-content:center;align-items:center;gap:4px;font-size:7px;font-weight:700;display:flex}.shared-stack strong{color:#7b7188;font:700 13px Cinzel}.shared-stack small{color:#777f90;font-size:6px;line-height:1.4}.shared-stack.occupied{border-color:#a58ac1;box-shadow:0 0 22px #8b67b129}.shared-stack.occupied .mtg-card{width:72px;margin:4px auto}.shared-stack.occupied strong{color:#eee4f6;font-size:10px}.turn-console button{color:#17140c;text-transform:uppercase;background:#d7b969;border:1px solid #dfc46f;border-radius:4px;align-items:center;gap:6px;margin:12px auto 0;padding:8px 12px;font-size:9px;font-weight:800;display:flex}.human-hand{z-index:12;background:#0a0d14f7;border:1px solid #4a5264;border-bottom:0;border-radius:12px 12px 0 0;width:min(900px,100% - 330px);height:170px;padding:11px 14px 0;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -15px 45px #00000080}.human-hand header{align-items:baseline;gap:8px;height:23px;display:flex}.human-hand header span{color:#d7b969;letter-spacing:.15em;font-size:8px;font-weight:700}.human-hand header strong{font:700 16px Cinzel}.human-hand header small{color:#7d8798;margin-left:auto;font-size:7px}.human-hand header>button{color:#cbd1db;background:#202632;border:1px solid #495264;border-radius:4px;flex:none;place-items:center;width:25px;height:23px;padding:0;display:grid}.human-hand>div{justify-content:center;gap:6px;height:137px;display:flex;overflow-x:auto}.human-hand.collapsed{height:42px;padding-bottom:6px}.human-hand.collapsed>div{display:none}.human-hand>div>div{flex:0 0 82px;transition:transform .15s}.human-hand .mtg-card{width:82px}.human-hand .playable{cursor:pointer}.human-hand .playable .mtg-card{border-color:#70b49f;box-shadow:0 0 0 2px #5cb59a1f,0 8px 20px #0000007a}.game-feed{z-index:11;background:#0d1018f7;border:1px solid #41495b;border-radius:9px;width:360px;height:370px;transition:height .18s;position:fixed;bottom:218px;left:14px;overflow:hidden;box-shadow:0 14px 38px #00000073}.game-feed.collapsed{height:38px}.game-feed header{background:#191e2a;border-bottom:1px solid #343b4c;align-items:center;gap:7px;height:38px;padding:0 9px;display:flex}.game-feed header span{letter-spacing:.12em;font-size:10px;font-weight:700}.game-feed header small{color:#929cad;margin-left:auto;font-size:8px}.game-feed header button{color:#d6dae2;background:#222836;border:1px solid #4d5669;border-radius:3px;place-items:center;width:23px;height:22px;padding:0;display:grid}.game-feed>div{height:calc(100% - 38px);padding:3px 10px 10px;overflow-y:auto}.game-feed p{color:#c2c8d2;border-bottom:1px solid #4952654d;margin:0;padding:8px 0;font-size:10px;line-height:1.5}.combat-receipt{color:#dce2eb;background:linear-gradient(145deg,#30231b,#171b24);border:1px solid #875c3e;border-radius:7px;margin:8px 0 10px;padding:10px;box-shadow:inset 0 0 18px #d37a3914}.combat-receipt>div{align-items:center;gap:7px;display:flex}.combat-receipt>div>svg{color:#f2a565;flex:none}.combat-receipt>div>span{gap:2px;display:grid}.combat-receipt>div small{color:#d28e5d;letter-spacing:.09em;font-size:7px;font-weight:800}.combat-receipt>div strong{color:#fff0d9;font:700 11px/1.35 Cinzel}.combat-receipt>section{text-align:left;border-top:1px solid #745b486b;grid-template-columns:38px minmax(0,1fr);gap:8px;margin-top:8px;padding-top:8px;display:grid}.combat-receipt>section>img{border-radius:3px;width:38px}.combat-receipt>section>span{align-content:start;gap:2px;display:grid}.combat-receipt section b{color:#e5e8ee;font-size:9px}.combat-receipt section em{color:#f0c77e;font-size:8px;font-style:normal}.combat-receipt section small{color:#aeb7c5;font-size:7px;line-height:1.35}.combat-receipt footer{color:#d9c4f0;background:#251d2d;border:1px solid #604c75;border-radius:4px;gap:4px;margin-top:8px;padding:7px;display:grid}.combat-receipt footer span{align-items:flex-start;gap:4px;font-size:7px;line-height:1.35;display:flex}.combat-receipt .referee-ruling{color:#dce2eb;background:#d7b96914;border-left:3px solid #d7b969;margin:8px 0 0;padding:7px 8px;font-size:8px;line-height:1.45}.combat-receipt .referee-ruling b{color:#f2d47d;font-size:inherit;letter-spacing:.06em}.action-notice{z-index:30;color:#f0e9d7;background:#282317;border:1px solid #82704a;border-radius:6px;align-items:center;gap:12px;max-width:min(620px,100vw - 30px);padding:10px 12px;font-size:10px;display:flex;position:fixed;bottom:181px;left:50%;transform:translate(-50%);box-shadow:0 14px 38px #0000008c}.action-notice svg{flex:none;margin-left:auto}.library-search{z-index:90;background:#0c0e16fb;border:1px solid #a58ac1;border-radius:12px;flex-direction:column;padding:18px;display:flex;position:fixed;inset:86px max(22px,50vw - 560px) 190px;overflow:hidden;box-shadow:0 35px 100px #000c}.library-search>header{align-items:flex-start;gap:10px;display:flex}.library-search>header>svg{color:#c7abde;flex:none;margin-top:4px}.library-search header small{color:#ae91c6;letter-spacing:.13em;font-size:7px;font-weight:700}.library-search h2{margin:3px 0;font:700 22px Cinzel}.library-search p{color:#929bad;margin:0;font-size:9px}.library-search>div{background:#0d1119;border:1px solid #34394a;border-radius:7px;align-items:flex-start;gap:10px;min-height:0;margin:15px 0;padding:12px;display:flex;overflow:auto}.library-search>div>span{flex:0 0 116px;gap:6px;width:116px;display:grid}.library-search>div strong{color:#d9dce5;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.library-search>button{color:#d4d8e0;text-transform:uppercase;letter-spacing:.06em;background:#202633;border:1px solid #5e6678;border-radius:4px;align-self:flex-end;padding:9px 13px;font-size:8px;font-weight:700}@media (width<=1100px){.import-grid{grid-template-columns:repeat(2,1fr)}.pod-table{border-radius:18px;grid-template-rows:auto;grid-template-columns:1fr 1fr}.player-board.cpu2,.player-board.cpu1,.player-board.cpu3,.player-board.human,.turn-console{grid-area:auto}.turn-console{border-radius:10px}.human-hand{width:calc(100% - 24px)}.game-feed{display:none}}@media (width<=680px){.app-header{padding-inline:12px}.app-header a{font-size:0}.setup-intro{padding-top:30px}.setup-intro h2{font-size:29px}.setup-intro>div{grid-template-columns:1fr 1fr;display:grid}.rules-readiness{grid-template-columns:auto 1fr;width:calc(100% - 20px)}.rules-result{border-top:1px solid #493a39;border-left:0;grid-column:1/-1;padding:10px 0 0}.deck-library{width:calc(100% - 20px)}.import-grid{grid-template-columns:1fr;width:calc(100% - 20px)}.setup-footer{flex-direction:column;align-items:stretch;width:calc(100% - 20px)}.setup-footer button{margin:0}.pod-table{grid-template-columns:1fr;min-height:0;padding-bottom:175px}.human-hand{padding-inline:8px}.card-inspector{grid-template-columns:1fr 1fr;width:auto;max-height:none;inset:76px 10px 182px;transform:none}.card-inspector>img{max-height:calc(100vh - 270px)}.card-inspector>div{padding:18px 10px}.card-inspector h2{font-size:20px}.library-search{inset:76px 10px 182px}}.game-topbar b{color:#9ee0c9;letter-spacing:.1em;background:#142d26;border:1px solid #477d6c;border-radius:4px;padding:5px 8px;font-size:7px}.game-topbar>div:last-child{gap:7px;display:flex}.starting-roll-show{z-index:160;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:radial-gradient(circle,#31273ef0,#07090efb 72%);place-items:center;padding:24px;animation:.35s ease-out both roll-show-in;display:grid;position:fixed;inset:0}.roll-stage{text-align:center;background:radial-gradient(circle at 50% 32%,#302a3b,#11151e 72%);border:1px solid #aa8e4c;border-radius:24px;width:min(920px,100%);padding:34px;box-shadow:0 35px 110px #000000bf,inset 0 0 70px #d7b9690f}.roll-stage>small{color:#d7b969;letter-spacing:.22em;font-size:8px;font-weight:800}.roll-stage>h1{margin:7px 0 25px;font:700 37px Cinzel}.roll-round>strong{color:#9c91aa;letter-spacing:.13em;margin:10px 0;font-size:8px;display:block}.roll-round>div{justify-content:center;gap:clamp(12px,3vw,32px);display:flex}.roll-round article{opacity:0;justify-items:center;gap:9px;width:145px;animation:.75s cubic-bezier(.2,.8,.2,1) .25s forwards die-arrive;display:grid}.roll-round article>b{color:#c7ccd5;font:700 12px Cinzel}.d20{color:#17130b;clip-path:polygon(50% 0,95% 25%,89% 75%,50% 100%,11% 75%,5% 25%);filter:drop-shadow(0 15px 14px #0000008c);background:linear-gradient(145deg,#f3db8c,#a9812f);place-items:center;width:112px;height:104px;animation:1.5s cubic-bezier(.2,.75,.25,1) both d20-tumble;display:grid;position:relative}.d20:before{content:"";clip-path:polygon(50% 0,100% 100%,0 100%);border:1px solid #3a2a0c6b;width:84px;height:72px;position:absolute}.d20 i{z-index:1;font:800 34px Cinzel;position:relative}.roll-round article.winner .d20{filter:drop-shadow(0 0 22px #f0c959c7);background:linear-gradient(145deg,#fff2b5,#d7a82f);animation:1.5s cubic-bezier(.2,.75,.25,1) both d20-tumble,1s ease-in-out 1.65s infinite alternate winner-pulse}.roll-round article.winner>b{color:#f4d97e}.roll-stage>h2{color:#f2da8b;margin:25px 0 4px;font:700 22px Cinzel;animation:.5s 1.9s both winner-reveal}.roll-stage>p{color:#929bab;margin:0;font-size:8px;animation:.5s 2.05s both winner-reveal}.roll-stage>button{color:#d7cda9;background:#242016;border:1px solid #74643f;border-radius:4px;margin-top:17px;padding:8px 14px;font-size:8px}.game-winner-show{z-index:170;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);background:radial-gradient(circle,#443318db,#080a10f9 70%);place-items:center;padding:24px;animation:.45s ease-out both winner-overlay-in;display:grid;position:fixed;inset:0;overflow:hidden}.winner-stage{text-align:center;background:radial-gradient(circle at 50% 5%,#51401d,#241f1a 38%,#11151e 80%);border:1px solid #d6b85d;border-radius:26px;justify-items:center;width:min(760px,100%);padding:42px 34px 32px;display:grid;position:relative;box-shadow:0 36px 120px #000000d1,inset 0 0 80px #f2cb5d14}.winner-stage>svg{color:#f2cd62;filter:drop-shadow(0 0 20px #f2cd62a6);animation:.8s cubic-bezier(.2,.8,.2,1) trophy-arrive}.winner-stage>small{color:#dbbd62;letter-spacing:.22em;margin-top:15px;font-size:9px;font-weight:800}.winner-stage h1{color:#fff1bd;margin:7px 0 0;font:700 40px/1.2 Cinzel}.winner-stage h2{color:#c8b989;margin:7px 0 0;font:600 16px Cinzel}.winner-stage>p{color:#b8bec9;margin:12px 0 20px;font-size:11px}.winner-stage>div{grid-template-columns:repeat(4,1fr);gap:7px;width:100%;display:grid}.winner-stage>div span{color:#a2a9b6;background:#171c26;border:1px solid #414958;border-radius:7px;gap:3px;padding:9px;display:grid}.winner-stage>div span.winner{color:#fff0b3;background:#372d18;border-color:#b8953c;box-shadow:0 0 18px #d7b96924}.winner-stage>div b{font:700 10px Cinzel}.winner-stage>div em{font-size:8px;font-style:normal}.winner-stage footer{gap:9px;margin-top:22px;display:flex}.winner-stage footer button{color:#e1e4ea;background:#202632;border:1px solid #596274;border-radius:5px;padding:9px 14px;font-size:9px}.winner-stage footer .winner-new-pod{color:#1b160b;background:#e1c167;border-color:#e1c167;font-weight:800}.victory-burst{pointer-events:none;position:absolute;inset:0}.victory-burst i{background:#e9c75e;width:8px;height:28px;animation:3s ease-in infinite victory-fall;position:absolute;top:-30px;left:12%}.victory-burst i:first-child{animation-delay:-.4s;left:12%;transform:rotate(12deg)}.victory-burst i:nth-child(2){background:#b477d1;animation-delay:-1.7s;left:28%}.victory-burst i:nth-child(3){background:#69bd9e;animation-delay:-.9s;left:43%}.victory-burst i:nth-child(4){background:#d76f5f;animation-delay:-2.2s;left:58%}.victory-burst i:nth-child(5){background:#7ea9dc;animation-delay:-1.2s;left:74%}.victory-burst i:nth-child(6){animation-delay:-2.6s;left:89%}@keyframes roll-show-in{0%{opacity:0}}@keyframes die-arrive{0%{opacity:0;transform:translateY(-70px)scale(.55)rotate(-35deg)}to{opacity:1;transform:none}}@keyframes d20-tumble{0%{transform:rotate(-540deg)scale(.55)}72%{transform:rotate(18deg)scale(1.12)}to{transform:rotate(0)scale(1)}}@keyframes winner-pulse{to{transform:translateY(-5px)scale(1.06)}}@keyframes winner-reveal{0%{opacity:0;transform:translateY(8px)}}@keyframes winner-overlay-in{0%{opacity:0}}@keyframes trophy-arrive{0%{opacity:0;transform:translateY(-30px)scale(.55)rotate(-12deg)}}@keyframes victory-fall{to{top:110%;transform:rotate(520deg)}}.authoritative-game{padding-bottom:225px;overflow-x:clip}.authoritative-game>.game-topbar{z-index:60;position:sticky;top:0}.phase-rail{z-index:59;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#090c13fa;border:1px solid #596274;border-top:0;border-radius:0 0 10px 10px;justify-content:center;align-items:center;gap:4px;width:fit-content;max-width:calc(100% - 28px);min-height:44px;margin:0 auto;padding:5px 8px;display:flex;position:sticky;top:68px;overflow-x:auto;box-shadow:0 12px 30px #0000009e}.phase-rail>strong{color:#dfca89;white-space:nowrap;margin-right:3px;font:700 9px Cinzel}.phase-rail>span{color:#70798a;background:#171b25;border:1px solid #0000;border-radius:5px;align-items:center;gap:4px;min-width:64px;padding:5px 6px;display:flex;position:relative}.phase-rail>span:not(:last-of-type):after{content:"";background:#424a59;width:5px;height:1px;position:absolute;right:-6px}.phase-rail span i{color:#717b8d;border:1px solid #454d5c;border-radius:50%;flex:none;place-items:center;width:15px;height:15px;font-size:5px;font-style:normal;display:grid}.phase-rail span b{letter-spacing:.06em;white-space:nowrap;font-size:8px}.phase-rail span.complete{color:#8eb4a7}.phase-rail span.complete i{color:#bde4d7;background:#1c392f;border-color:#477565}.phase-rail span.current{color:#fff0bd;background:linear-gradient(145deg,#4d4025,#272217);border-color:#aa8c45;box-shadow:0 0 18px #d7b96933}.phase-rail span.current i{color:#1b160b;background:#e4c363;border-color:#f0d27d}.phase-rail>em{color:#d7b969;letter-spacing:.06em;white-space:nowrap;border-left:1px solid #454b58;margin-left:3px;padding:3px 5px;font-size:7px;font-style:normal;animation:.3s ease-out phase-arrive}.xmage-table{background:radial-gradient(circle at 37% 48%,#352d39 0,#1a1d29 48%,#0d1119 88%);border:1px solid #4b4652;border-radius:26px;grid-template-rows:repeat(2,minmax(370px,auto));grid-template-columns:repeat(2,minmax(410px,1fr)) minmax(330px,370px);gap:14px;width:min(1580px,100% - 24px);min-height:790px;margin:14px auto;padding:14px;display:grid;box-shadow:inset 0 0 110px #0006,0 28px 70px #00000085}.xmage-player{opacity:.86;background:linear-gradient(150deg,#1b202df7,#0b0e16fa);border:1px solid #424a5c;border-radius:12px;flex-direction:column;min-width:0;min-height:370px;padding:13px;transition:opacity .2s,transform .2s,border-color .2s,box-shadow .2s;display:flex}.xmage-player.active{z-index:3;opacity:1;background:linear-gradient(150deg,#2b282bfc,#0e1118fc);border-color:#d4b55e;transform:scale(1.012);box-shadow:0 0 0 2px #d7b96924,0 16px 36px #00000057}.xmage-player.priority{box-shadow:0 0 0 2px #68bea42e,0 0 30px #4ba48921}.xmage-player.cpu2{grid-area:1/1}.xmage-player.cpu3{grid-area:1/2}.xmage-player.cpu1{grid-area:2/1}.xmage-player.human{grid-area:2/2}.xmage-player>header{align-items:center;gap:8px;display:flex}.xmage-player>header>div{display:grid}.xmage-player header small{color:#98a3b5;letter-spacing:.12em;font-size:9px}.xmage-player header strong{font:700 16px Cinzel}.player-vitals{align-items:center;gap:7px;margin-left:auto;display:flex}.xmage-life{color:#f0b0a9;align-items:center;gap:5px;font:700 25px Cinzel;display:flex}.poison-total{color:#b8ef9b;background:#1d3520;border:1px solid #5d8d4b;border-radius:999px;align-items:center;gap:3px;padding:5px 7px;font:800 13px Cinzel;display:flex;box-shadow:0 0 13px #66c4501f}.poison-total small{color:#83ae75;font:700 7px Inter}.poison-total.danger{color:#fff0a8;background:#4a3516;border-color:#c0933f;box-shadow:0 0 16px #e2a8374d}.xmage-zones{grid-template-columns:88px minmax(0,1fr);gap:9px;min-height:285px;margin-top:10px;display:grid}.xmage-zones>aside{background:#10141d;border:1px solid #343b4b;border-radius:7px;padding:7px}.xmage-zones label{color:#a2adbd;letter-spacing:.1em;margin-bottom:7px;font-size:8px;display:block}.xmage-field{background:radial-gradient(circle at 40% 40%,#1d212d,#0f131c 82%);border:1px solid #343b4b;border-radius:7px;flex-wrap:wrap;align-content:flex-start;gap:10px;min-width:0;padding:10px;display:flex;overflow-y:auto}.xmage-field.drop-ready{background:radial-gradient(circle at 40% 40%,#302d22,#11151d 82%);border-color:#d7b969;box-shadow:inset 0 0 24px #d7b9691f}.xmage-field>em{color:#6f7a8e;margin:auto;font-size:11px;font-style:normal}.drop-rejection{color:#efb0a1;background:#281a1c;border:1px solid #6d4944;border-radius:4px;width:100%;padding:7px 9px;font-size:10px;line-height:1.4}.xmage-card{align-content:start;gap:3px;width:62px;display:grid;position:relative}.xmage-card .mtg-card{width:62px}.xmage-player.active .xmage-card:not(.attached-card),.xmage-player.active .xmage-card:not(.attached-card) .mtg-card{width:70px}.xmage-card>small{color:#b0b8c6;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:7px;line-height:1.25;overflow:hidden}.room-door-state{z-index:13;pointer-events:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;display:grid;position:absolute;bottom:14px;left:-5px;right:-5px}.room-door-state>b{color:#c8cbd2;text-align:center;text-overflow:ellipsis;white-space:nowrap;background:#1f222af5;border:1px solid #626875;border-radius:3px;gap:1px;min-width:0;padding:3px 2px;font-size:5px;line-height:1.15;display:grid;overflow:hidden}.room-door-state>b.unlocked{color:#dcffe9;background:#18452bf5;border-color:#5baf7a;box-shadow:0 0 10px #4bcf7c47}.room-door-state i{color:#9da3af;letter-spacing:.08em;font-size:4px;font-style:normal}.room-door-state .unlocked i{color:#91eeb3}.room-door-state em{color:#d8be71;font-size:5px;font-style:normal}.xmage-card.legal .mtg-card{border-color:#e2c568;box-shadow:0 0 0 2px #e2c56830,0 8px 20px #0000007a}.xmage-card.attacking .mtg-card{border-color:#ff715e;animation:1s ease-in-out infinite alternate combat-pulse;box-shadow:0 0 0 3px #ff55416b,0 0 22px #ff442d80}.xmage-card.blocking .mtg-card{border-color:#71c8ff;animation:1s ease-in-out infinite alternate blocker-pulse;box-shadow:0 0 0 4px #439ceb85,0 0 28px #3284d29e}.xmage-card.stack-targeted .mtg-card{border-color:#ff6356;animation:.8s ease-in-out infinite alternate target-pulse;box-shadow:0 0 0 4px #ff4c3e8f,0 0 30px #eb352bad}.xmage-card.combat-selectable .mtg-card{cursor:crosshair;border-color:#ffb24f;animation:1s ease-in-out infinite alternate attack-ready;box-shadow:0 0 0 3px #ffa43566,0 0 24px #f2771f75}.xmage-card.mana-selectable .mtg-card{cursor:pointer;border-color:#63caff;animation:1s ease-in-out infinite alternate mana-ready;box-shadow:0 0 0 3px #42b7ef6b,0 0 25px #2e9cdf80}.xmage-card[draggable=true]{cursor:grab}.xmage-card.dragging{opacity:.42}.counter-badges{z-index:12;pointer-events:none;gap:2px;display:grid;position:absolute;top:-7px;right:-8px}.counter-badges b{color:#0b160f;white-space:nowrap;background:linear-gradient(145deg,#aaffbd,#54cf7a);border:2px solid #dcffe5;border-radius:999px;place-items:center;min-width:27px;min-height:22px;padding:4px 3px;font:900 8px/1 Cinzel;display:grid;box-shadow:0 3px 9px #000000bf,0 0 12px #5be98280}.combat-stats{z-index:11;color:#fff8e8;text-align:center;pointer-events:none;background:#0c0f14f7;border:2px solid #e1d19f;border-radius:5px;min-width:34px;padding:5px 6px;font:900 10px/1 Cinzel;position:absolute;bottom:13px;right:-6px;box-shadow:0 3px 8px #000000c7}.stack-target-marker,.combat-role-marker{z-index:14;letter-spacing:.07em;pointer-events:none;white-space:nowrap;border-radius:999px;padding:2px 5px;font-size:5px;font-weight:900;position:absolute;top:-7px;left:50%;transform:translate(-50%)}.stack-target-marker{color:#fff0ed;background:#8d2922;border:1px solid #f06c5f;box-shadow:0 0 12px #f446378c}.combat-role-marker{color:#ffe0d9;background:#652b25;border:1px solid #bb5a4d;top:auto;bottom:3px}.combat-role-marker.blocking{color:#e4f5ff;background:#214e70;border-color:#4c9bd0}.permanent-group{border-radius:7px;align-items:flex-start;display:inline-flex;position:relative}.permanent-group.modified{background:linear-gradient(145deg,#61458d45,#171322e6);border:1px solid #a784e7bf;margin:-2px 0 16px -2px;padding:2px 3px 15px 2px;box-shadow:0 0 15px #9167d333}.permanent-group.modified:before{content:"MODIFIED";z-index:7;color:#eadfff;letter-spacing:.09em;background:#6f519a;border-radius:3px;padding:2px 4px;font-size:6px;position:absolute;top:-8px;left:4px}.attachment-fan{z-index:5;filter:drop-shadow(0 5px 5px #0009);align-items:flex-start;display:flex;position:absolute;top:55px;left:27px}.attachment-fan>strong{z-index:8;color:#e5d5ff;letter-spacing:.08em;white-space:nowrap;font-size:6px;position:absolute;top:-10px;left:0}.permanent-group.nested-attachment{width:32px;box-shadow:none;transform-origin:top;background:0 0;border:0;margin-left:-8px;padding:0;transform:rotate(5deg)}.permanent-group.nested-attachment:first-of-type{margin-left:0;transform:rotate(-4deg)}.xmage-card.attached-card{width:48px;transition:transform .15s,z-index .15s}.xmage-card.attached-card .mtg-card{border-color:#aa8ad4;width:48px}.xmage-card.attached-card>small{color:#e3d8ee;font-size:6px}.xmage-card.attached-card:hover{z-index:20;transform:translateY(-8px)scale(1.15)}.attachment-controller{z-index:9;color:#e0d6ed;text-overflow:ellipsis;white-space:nowrap;background:#2b1f39f0;border-radius:2px;width:42px;padding:1px 2px;font-size:3.5px;line-height:1.2;position:absolute;top:48px;left:1px;overflow:hidden}.permanent-statuses{flex-wrap:wrap;justify-content:center;gap:2px;display:flex}.permanent-statuses b{color:#e7edf5;text-align:center;text-overflow:ellipsis;white-space:nowrap;background:#253043;border:1px solid #59667b;border-radius:999px;max-width:100%;padding:2px 4px;font-size:6px;font-weight:750;line-height:1.3;overflow:hidden}.permanent-statuses b.keyword{color:#d7f2ff;background:#173044;border-color:#477a96}.permanent-statuses b.danger{color:#ffd9c1;background:#45251d;border-color:#a45e43}.permanent-statuses b.combat{color:#ffe1a8;background:#48351b;border-color:#a97937}.permanent-statuses b.limited{color:#d0d4dc;background:#2c3038;border-color:#5d6471}.missing-art{color:#e5e0d3;background:linear-gradient(145deg,#3d3541,#171923);padding:5px;font:700 6px/1.3 Cinzel}.xmage-player>footer{justify-content:space-around;gap:4px;margin-top:7px;display:flex}.xmage-player>footer span{color:#a2adbd;align-items:center;gap:4px;font-size:8px;display:flex}.xmage-player>footer button{color:#c5b5d7;background:#201b29;border:1px solid #4b4257;border-radius:4px;align-items:center;gap:4px;padding:2px 4px;font-size:8px;display:flex}.xmage-player>footer button:disabled{color:#737b89;cursor:default;background:0 0;border-color:#0000}.commander-damage-track{background:#20161bc7;border:1px solid #4b3e45;border-radius:5px;gap:4px;margin-top:7px;padding:6px;display:grid}.commander-damage-track>small{color:#b78e91;letter-spacing:.11em;font-size:6px;font-weight:800}.commander-damage-track>div{flex-wrap:wrap;gap:4px;display:flex}.commander-damage-track>div>span{color:#cbd1db;background:#251a1f;border:1px solid #59484e;border-radius:4px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1px 4px;min-width:0;padding:3px 5px;display:grid}.commander-damage-track i{background:#bd7772;border-radius:50%;width:6px;height:6px}.commander-damage-track b{text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.commander-damage-track em{color:#8f98a8;text-overflow:ellipsis;white-space:nowrap;grid-column:2;max-width:92px;font-size:6px;font-style:normal;overflow:hidden}.commander-damage-track strong{color:#f1b4ac;grid-area:1/3/span 2;font:800 11px Cinzel}.commander-damage-track strong small{color:#9f7778;font:700 6px Inter}.commander-damage-track>div>span.danger{background:#42231f;border-color:#b16355;box-shadow:0 0 12px #c955412e}.xmage-console{text-align:center;background:radial-gradient(circle,#332d21,#141821 76%);border:1px solid #766641;border-radius:16px;grid-area:1/3/span 2;align-self:start;max-height:calc(100vh - 344px);padding:20px;position:sticky;top:124px;overflow-y:auto;box-shadow:0 0 50px #0000007a}.xmage-console>small{color:#e9cc78;letter-spacing:.15em;font-size:9px}.xmage-console h2{margin:7px 0;font:700 21px/1.3 Cinzel}.xmage-console>p{color:#aeb6c4;font-size:10px;line-height:1.45}.turn-order{color:#939cac;letter-spacing:.08em;margin:3px 0 9px;font-size:8px;display:block}.priority-controls{z-index:8;gap:5px;margin:7px 0 9px;display:grid;position:sticky;top:-20px}.priority-quick-pass{color:#18140c;background:linear-gradient(145deg,#f0cf70,#c9a54e);border:1px solid #f0d17a;border-radius:6px;gap:2px;width:100%;margin:0;padding:9px 11px;display:grid;box-shadow:0 7px 18px #0000006b}.priority-quick-pass strong{font-size:11px}.priority-quick-pass small{color:#4b3c19;font-size:8px}.priority-quick-pass:disabled{opacity:.58}.xmage-stack{background:#17131f;border:1px solid #756284;border-radius:6px;gap:7px;margin:9px 0;padding:8px;display:grid}.xmage-stack>span:first-child{color:#c6afe0;justify-content:center;align-items:center;gap:4px;font-size:7px;display:flex}.stack-entries{gap:7px;display:grid}.stack-entry{background:linear-gradient(135deg,#251d2d,#171922);border:1px solid #4d4358;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:7px;display:flex}.stack-entry.targeting{background:linear-gradient(135deg,#3d201f,#191820);border-color:#a94f45;box-shadow:inset 0 0 18px #e5493914}.stack-entry.targeting .stack-source .mtg-card,.stack-entry.targeting .stack-target-card .mtg-card{border-color:#ee6759;box-shadow:0 0 0 2px #ee4a3d52,0 0 16px #e0342a57}.stack-source,.stack-target-card{justify-items:center;gap:3px;width:62px;display:grid}.stack-source>b,.stack-target-card>b{color:#fff1ba;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;background:#382f1b;border:1px solid #7c6838;border-radius:999px;max-width:100%;padding:2px 5px;font-size:6px;overflow:hidden}.stack-target-card>b{color:#ffe0db;background:#45231f;border-color:#95564c}.stack-source>small,.stack-target-card>small{color:#d7dce5;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:7px;overflow:hidden}.stack-source>.xmage-card>small{display:none}.target-arrow{color:#ef9a78;justify-items:center;gap:1px;display:grid}.target-arrow b{font-size:21px;line-height:1}.target-arrow small{letter-spacing:.09em;font-size:6px;font-weight:800}.stack-targets{flex-wrap:wrap;justify-content:center;gap:7px;min-width:0;display:flex}.stack-target-label{color:#dce5ef;background:#202938;border:1px solid #57667b;border-radius:6px;justify-items:center;gap:3px;max-width:100px;padding:8px;display:grid}.stack-target-label.player{color:#f2dd9f;background:#342d1d;border-color:#89733f}.stack-target-label b{text-overflow:ellipsis;white-space:nowrap;max-width:86px;font-size:8px;overflow:hidden}.stack-target-label small{color:#9eabba;text-transform:uppercase;font-size:6px}.stack-entry.ability-entry{background:linear-gradient(135deg,#2c2037,#171922);border-color:#66517a;flex-wrap:wrap}.stack-ability-copy{text-align:left;background:#1d1824;border:1px solid #584668;border-radius:5px;flex:150px;gap:3px;min-width:130px;padding:8px;display:grid}.stack-ability-copy>small{color:#b78dce;letter-spacing:.1em;font-size:6px;font-weight:800}.stack-ability-copy>strong{color:#f0e6f5;font:700 10px Cinzel}.stack-ability-copy>p{color:#cbd0da;margin:0;font-size:8px;line-height:1.45}.combat-now{background:radial-gradient(circle at 50% 0,#83302780,#1d1214f5);border:1px solid #a04d41;border-radius:7px;min-width:0;margin:9px 0;padding:8px;overflow:hidden;box-shadow:inset 0 0 20px #c6412d1f}.combat-now>header{align-items:center;gap:7px;display:flex}.combat-now>header>span{color:#ffad9e;letter-spacing:.1em;align-items:center;gap:5px;font:700 7px Cinzel;display:flex}.combat-now>header>small{color:#c99890;margin-left:auto;font-size:6px}.combat-now>header>button{color:#f2d8d2;background:#3b2421;border:1px solid #875149;border-radius:4px;align-items:center;gap:3px;padding:4px 6px;font-size:6px;display:flex}.combat-now>div{overscroll-behavior-x:contain;justify-content:flex-start;gap:13px;max-width:100%;margin-top:10px;padding:7px 3px 12px;display:flex;overflow-x:auto}.combat-now article{flex:0 0 74px;align-content:start;justify-items:center;gap:3px;min-width:74px;display:grid}.combat-now article>strong{color:#ffc1b7;max-width:90px;font-size:5px;line-height:1.25}.combat-now article.defender>strong{color:#b9dcff}.combat-now.expanded{z-index:145;background:radial-gradient(circle at 50% 0,#5e2824,#171820 72%);border-color:#d07262;border-radius:15px;margin:0;padding:18px;position:fixed;inset:76px 24px 215px;overflow:auto;box-shadow:0 35px 120px #000000e0}.combat-now.expanded>header>span{font-size:12px}.combat-now.expanded>header>small{font-size:9px}.combat-now.expanded>header>button{padding:7px 10px;font-size:9px}.combat-now.expanded>div{flex-wrap:wrap;align-content:flex-start;gap:20px;overflow:visible}.combat-now.expanded article{flex-basis:112px;min-width:112px}.combat-now.expanded .xmage-card,.combat-now.expanded .xmage-card .mtg-card{width:104px}.combat-now.expanded article>strong{max-width:120px;font-size:8px}.combat-picker{text-align:left;background:linear-gradient(135deg,#4c251e,#191a21 68%);border:1px solid #bd674d;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin:9px 0;padding:10px;display:grid;box-shadow:0 0 26px #be4a2c33}.combat-picker>span{color:#ffad83;background:#3b211c;border:1px solid #a65f49;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.combat-picker>div:nth-child(2){gap:2px;display:grid}.combat-picker small{color:#f39b73;letter-spacing:.12em;font-size:8px;font-weight:800}.combat-picker strong{color:#f4e1d8;font:700 12px/1.3 Cinzel}.combat-picker p{color:#c0c5ce;margin:2px 0 0;font-size:9px;line-height:1.45}.combat-picker>div:last-child{gap:4px;display:grid}.combat-picker button{color:#f1e8dc;background:#33241f;border:1px solid #795b4f;border-radius:4px;min-width:94px;padding:8px 10px;font-size:9px}.combat-picker .finish-combat-selection{color:#1b140d;background:#e1af68;border-color:#dda55c;font-weight:800}.combat-flash{text-align:left;background:linear-gradient(135deg,#5b261f,#24191b);border:1px solid #d36b58;border-radius:7px;justify-content:center;align-items:center;gap:9px;margin:8px 0;padding:8px 10px;animation:.22s ease-out combat-arrival;display:flex;box-shadow:0 0 25px #dd4a3352}.combat-flash>svg{color:#ff9b87;flex:none}.combat-flash .xmage-card,.combat-flash .xmage-card .mtg-card{width:38px}.combat-flash .xmage-card>small,.combat-flash .permanent-statuses,.combat-flash .combat-stats,.combat-flash .counter-badges{display:none}.combat-flash>span:last-child{gap:2px;display:grid}.combat-flash>span:last-child strong{color:#ffab9a;letter-spacing:.12em;font:700 7px Cinzel}.combat-flash>span:last-child small{color:#f1d8d3;font-size:7px;line-height:1.4}@keyframes combat-pulse{0%{transform:translateY(0)}to{transform:translateY(-3px)}}@keyframes blocker-pulse{to{filter:brightness(1.18)}}@keyframes target-pulse{to{filter:brightness(1.2)saturate(1.2)}}@keyframes combat-arrival{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes attack-ready{to{filter:brightness(1.12);transform:translateY(-4px)}}@keyframes mana-ready{to{filter:brightness(1.14);transform:translateY(-3px)}}@keyframes phase-arrive{0%{opacity:0;transform:translate(-5px)}}.mana-picker{text-align:left;background:linear-gradient(135deg,#16384c,#171b25 70%);border:1px solid #4d9bc5;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:9px;margin:9px 0;padding:10px;display:grid;box-shadow:0 0 26px #34a0d82e}.mana-picker>span{color:#8cddff;background:#17364a;border:1px solid #4d9bc5;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.mana-picker>div{gap:3px;min-width:0;display:grid}.mana-picker small{color:#83d1f4;letter-spacing:.12em;font-size:8px;font-weight:800}.mana-picker strong{color:#e4f6ff;font:700 12px/1.3 Cinzel}.mana-picker p{color:#c4d4dc;margin:2px 0;font-size:9px;line-height:1.45}.mana-picker>button{color:#d8eaf2;background:#1d3441;border:1px solid #52758a;border-radius:4px;padding:7px 9px;font-size:8px}.mana-source-strip{align-items:flex-start;padding:6px 1px 2px;overflow-x:auto;gap:10px!important;display:flex!important}.mana-source-strip .xmage-card{flex:0 0 58px;width:58px}.mana-source-strip .xmage-card .mtg-card{width:58px}.mana-source-strip .permanent-statuses,.mana-source-strip .combat-stats,.mana-source-strip .counter-badges{display:none}.floating-mana{flex-wrap:wrap;gap:5px!important;display:flex!important}.floating-mana button{color:#dff6ff;background:#20465a;border:1px solid #5793b1;border-radius:4px;padding:5px 7px;font-size:8px}.xmage-inline-prompt{text-align:left;background:linear-gradient(145deg,#302919,#171a23 72%);border:1px solid #8c7448;border-radius:8px;gap:9px;margin:9px 0;padding:10px;display:grid;box-shadow:inset 0 0 22px #d7b96912}.xmage-inline-prompt>header{align-items:flex-start;gap:8px;display:flex}.xmage-inline-prompt>header>svg{color:#d7b969;flex:none}.xmage-inline-prompt header small{color:#d7b969;letter-spacing:.12em;font-size:7px;font-weight:800}.xmage-inline-prompt h3{color:#f1ead7;margin:2px 0;font:700 13px/1.35 Cinzel}.xmage-inline-prompt p{color:#aeb6c4;margin:0;font-size:8px;line-height:1.4}.xmage-inline-prompt>div{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:6px;display:grid}.xmage-inline-prompt>div>button{color:#e7e9ed;text-align:left;background:#1c222e;border:1px solid #50596b;border-radius:5px;align-items:center;gap:6px;min-height:40px;padding:6px;display:flex}.xmage-inline-prompt>div>button:hover{background:#29271f;border-color:#d7b969}.xmage-inline-prompt .visual-choice img{object-fit:cover;border-radius:3px;width:48px;max-height:68px}.xmage-inline-prompt button span{gap:2px;min-width:0;display:grid}.xmage-inline-prompt button strong{font-size:8px;line-height:1.35}.xmage-inline-prompt button em{color:#aeb7c5;font-size:7px;font-style:normal;line-height:1.3}.xmage-inline-prompt>.prompt-choice-browser{grid-template-columns:1fr;gap:8px;display:grid}.prompt-choice-search{color:#aeb7c5;background:#111721;border:1px solid #50596b;border-radius:5px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-height:34px;padding:0 9px;display:grid}.prompt-choice-search input{color:#f1ead7;background:0 0;border:0;outline:0;width:100%;font:600 9px Inter,sans-serif}.prompt-choice-search span{white-space:nowrap;font-size:7px}.prompt-choice-section{gap:5px;display:grid}.prompt-choice-section>header{color:#d7b969;justify-content:space-between;align-items:center;display:flex}.prompt-choice-section>header strong{letter-spacing:.06em;font:700 8px Cinzel}.prompt-choice-section>header small{color:#8993a4;font-size:7px}.prompt-choice-section>div{scrollbar-gutter:stable;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:6px;max-height:300px;display:grid;overflow:auto}.prompt-choice-section>div>button{color:#e7e9ed;text-align:left;background:#1c222e;border:1px solid #50596b;border-radius:5px;align-items:center;gap:7px;min-height:42px;padding:6px;display:flex}.prompt-choice-section>div>button:hover{background:#29271f;border-color:#d7b969}.prompt-choice-section .visual-choice img{object-fit:cover;border-radius:3px;width:48px;max-height:68px}.prompt-choice-section button span{gap:2px;min-width:0;display:grid}.prompt-choice-section button strong{font-size:8px;line-height:1.35}.prompt-choice-section button em,.prompt-choice-section button small{color:#aeb7c5;font-size:7px;font-style:normal;line-height:1.3}.choice-count{color:#171a23;background:#d7b969;border-radius:8px;margin-left:5px;padding:1px 4px;font-size:7px}.prompt-choice-empty{text-align:center;border:1px dashed #50596b;border-radius:5px;padding:10px}.xmage-actions{gap:5px;display:grid}.priority-why{text-align:left;background:#2b261ba6;border:1px solid #504936;border-radius:5px;padding:6px 7px}.priority-why summary{color:#d8c99f;cursor:pointer;align-items:center;gap:6px;display:flex}.priority-why summary svg{color:#d7b969}.priority-why summary strong{font:700 8px Cinzel}.priority-why>div{gap:3px;padding:6px 2px 1px;display:grid}.priority-why small{color:#c3c8d1;font-size:8px;line-height:1.45}.priority-why em{color:#9ca5b4;text-overflow:ellipsis;white-space:nowrap;font-size:7px;font-style:normal;overflow:hidden}.xmage-actions>p{color:#bbc1cc;margin:3px 0 7px;font-size:9px;line-height:1.5}.xmage-actions button{color:#eeeaf0;background:#24202a;border:1px solid #5c5261;border-radius:4px;gap:2px;padding:7px 8px;display:grid}.xmage-actions button strong{font-size:10px}.xmage-actions button small{color:#bbb0c0;font-size:8px}.legal-action-menu{background:linear-gradient(145deg,#2b2232e6,#12131bd9);border:1px solid #665575;border-radius:6px;margin-bottom:3px;padding:7px}.legal-action-menu>header{color:#e1d8e7;align-items:center;gap:7px;padding:3px;display:flex}.legal-action-menu>header strong{font:700 10px Cinzel}.legal-action-menu>header small{color:#ad9bb8;margin-left:auto;font-size:8px}.legal-action-menu button{width:100%;margin-top:5px}.legal-action-menu .action-count{color:#e9d48d;background:#3a311c;border:1px solid #756537;border-radius:999px;margin-left:6px;padding:1px 5px;font-size:8px}.engine-thinking{color:#9bd8c5;justify-content:center;align-items:center;gap:7px;margin-top:10px;font-size:10px;display:flex}.engine-thinking i{border:2px solid #446c61;border-top-color:#9bd8c5;border-radius:50%;width:12px;height:12px;animation:.8s linear infinite rules-spin}.engine-error{color:#f1a59b!important}.human-hand{width:min(1080px,100% - 340px);height:205px}.human-hand header{height:28px}.human-hand header span{font-size:10px}.human-hand header small{font-size:9px}.human-hand>div{height:172px}.xmage-hand .xmage-card{flex:0 0 104px;width:104px}.xmage-hand .xmage-card .mtg-card{width:104px}.xmage-hand .xmage-card>small{font-size:8px}.amount-choices{background:#10141d;border:1px solid #3e4657;border-radius:6px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:13px;padding:10px;display:grid}.amount-choices label{color:#cbd0d9;gap:4px;font-size:8px;display:grid}.amount-choices input{color:#f0e7cf;background:#1a202b;border:1px solid #535d70;border-radius:4px;width:100%;padding:7px}.amount-choices>small{color:#9ca5b5;align-self:center;font-size:7px}.amount-choices>button{color:#17140c;background:#d7b969;border:1px solid #d7b969;border-radius:4px;padding:8px;font-size:8px;font-weight:800}.graveyard-browser{z-index:92;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0c0e15fb;border:1px solid #7c668e;border-radius:14px;flex-direction:column;padding:16px;display:flex;position:fixed;inset:88px max(24px,50vw - 590px) 190px;overflow:hidden;box-shadow:0 35px 110px #000000db}.graveyard-browser>header{align-items:flex-start;gap:10px;display:flex}.graveyard-browser>header>svg{color:#c1a4d8;margin-top:4px}.graveyard-browser>header>div{gap:2px;display:grid}.graveyard-browser header small{color:#a98bc1;letter-spacing:.14em;font-size:7px;font-weight:800}.graveyard-browser h2{margin:0;font:700 22px Cinzel}.graveyard-browser p{color:#969faf;margin:0;font-size:9px}.graveyard-browser>header>button{color:#dce0e8;background:#202632;border:1px solid #535c6d;border-radius:50%;place-items:center;width:32px;height:32px;margin-left:auto;display:grid}.graveyard-browser>div{background:#0d1119;border:1px solid #333a49;border-radius:8px;flex-wrap:wrap;align-content:flex-start;gap:12px;min-height:0;margin-top:14px;padding:12px;display:flex;overflow-y:auto}.graveyard-browser article{justify-items:center;gap:5px;width:116px;display:grid}.graveyard-browser article>strong{color:#d6dbe3;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:8px;overflow:hidden}.graveyard-missing{aspect-ratio:488/680;color:#ddd3e4;text-align:center;background:#251e2c;border:1px solid #665474;border-radius:6px;place-items:center;width:116px;padding:8px;font:700 8px/1.4 Cinzel;display:grid}.authoritative-game.large-text .phase-rail span b,.authoritative-game.large-text .phase-rail>em,.authoritative-game.large-text .turn-order,.authoritative-game.large-text .xmage-zones label,.authoritative-game.large-text .xmage-player>footer span,.authoritative-game.large-text .xmage-card>small,.authoritative-game.large-text .permanent-statuses b,.authoritative-game.large-text .combat-receipt section small,.authoritative-game.large-text .combat-receipt footer span{font-size:10px}.authoritative-game.large-text .xmage-player header small,.authoritative-game.large-text .xmage-console>small,.authoritative-game.large-text .xmage-console>p,.authoritative-game.large-text .combat-picker p,.authoritative-game.large-text .mana-picker p,.authoritative-game.large-text .priority-why small,.authoritative-game.large-text .xmage-actions>p,.authoritative-game.large-text .xmage-actions button small,.authoritative-game.large-text .legal-action-menu>header,.authoritative-game.large-text .human-hand header small,.authoritative-game.large-text .game-feed>div>p,.authoritative-game.large-text .combat-receipt .referee-ruling{font-size:12px}.authoritative-game.large-text .xmage-player header strong{font-size:18px}.authoritative-game.large-text .xmage-console h2{font-size:24px}.authoritative-game.large-text .combat-picker strong,.authoritative-game.large-text .mana-picker strong{font-size:14px}.authoritative-game.large-text .combat-receipt section b{font-size:12px}.authoritative-game.large-text .combat-receipt section em{font-size:11px}@media (width<=1100px){.phase-rail{justify-content:flex-start;overflow-x:auto}.phase-rail>strong{display:none}.xmage-table{border-radius:18px;grid-template-rows:auto;grid-template-columns:1fr 1fr;min-height:0}.xmage-player.cpu2{grid-area:1/1}.xmage-player.cpu3{grid-area:1/2}.xmage-player.cpu1{grid-area:2/1}.xmage-player.human{grid-area:2/2}.xmage-console{grid-area:3/1/auto/-1;max-height:none;position:static}}@media (width<=680px){.phase-rail{width:calc(100% - 12px);padding-inline:5px;top:68px;overflow:hidden}.phase-rail>span{justify-content:center;min-width:38px;padding-inline:4px}.phase-rail span b{display:none}.phase-rail>span.current{min-width:82px}.phase-rail>span.current b{display:block}.phase-rail>em,.game-topbar b{display:none}.game-topbar{gap:6px}.game-topbar strong{font-size:11px}.game-topbar span{padding-left:6px;font-size:7px}.game-topbar button{padding:6px;font-size:7px}.xmage-table{grid-template-columns:1fr;padding-bottom:215px}.xmage-player.cpu2,.xmage-player.cpu1,.xmage-player.cpu3,.xmage-player.human,.xmage-console{grid-area:auto/1}.human-hand{width:calc(100% - 12px)}.human-hand>div{overscroll-behavior-x:contain;justify-content:flex-start}.human-hand header small{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.xmage-hand .xmage-card{flex-basis:92px;width:92px}.xmage-hand .xmage-card .mtg-card{width:92px}.combat-now.expanded{padding:12px;inset:70px 8px 175px}.roll-stage{padding:24px 12px}.roll-stage>h1{font-size:29px}.roll-round>div{flex-wrap:wrap}.roll-round article{width:92px}.d20{width:78px;height:72px}.d20:before{width:58px;height:50px}.d20 i{font-size:25px}.room-reference>div{grid-template-columns:1fr}}
