@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;600;650;700&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#d9dccf;background:#0e1412;font-synthesis:none;--gold:#c9ae73;--green:#99b792;--muted:#85947e;--line:#35412f;--serif:'Cormorant Garamond',Georgia,serif;color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,select{font:inherit}button{color:inherit;background:none;border:0;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button:hover:not(:disabled){color:#f2e3b9}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}.art{display:block;background-repeat:no-repeat;background-position:calc(var(--col)*100%/3) calc(var(--row)*100%);background-color:#263022}.spell-art{background-image:url('/assets/arena-atlas.png');background-size:400% 200%}.summon-art{background-image:url('/assets/summons-atlas.png');background-size:400% 500%;background-position:calc(var(--col)*100%/3) calc(var(--row)*100%/4)}.topbar{height:65px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #30382b;background:#0e1512}.brand{display:flex;gap:13px;align-items:center}.brand>span{width:30px;height:30px;display:grid;place-items:center;transform:rotate(45deg);border:1px solid #8e7b4e;color:var(--gold);background:#22291b}.brand svg{transform:rotate(-45deg)}.brand b{font:600 30px var(--serif);letter-spacing:5px;color:#dedcc1}.topbar nav{display:flex;gap:20px;align-items:center}.topbar nav>button{display:flex;gap:7px;align-items:center;font-size:12px;color:#9daa93;padding:7px 0}.topbar nav>button.sound-on{color:#c5b47f}.topbar nav button small{font-size:8px}.topbar nav>.outline-button{padding:8px 15px;border:1px solid #626547;border-radius:3px;color:#c8c6a4}select,input{background:#152016;border:1px solid #4e5c3b;padding:9px 12px;border-radius:3px;color:#d4d9bf;font-size:12px}select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a6b38b' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}.eyebrow{display:block;font-size:10px;letter-spacing:1.6px;color:#8f9c83;font-weight:600}.primary,.secondary{padding:12px 20px;border-radius:3px;font-size:13px;font-weight:650}.primary{background:linear-gradient(120deg,#baa16b,#d9bf83);color:#21281a;border:1px solid #d8bc80;width:100%;display:block}.primary:hover:not(:disabled){background:#e4ca91;color:#1c2717}.secondary{border:1px solid #68774c;color:#c3cda5;background:#283522}.primary:disabled{opacity:.4}.battle-screen,.draft-screen{max-width:1620px;margin:auto;padding:0 25px 24px}.scorebar{display:flex;align-items:center;justify-content:space-between;gap:25px;height:71px}.scorebar>div:first-child{display:flex;align-items:center;gap:10px}.scorebar strong{font:600 29px var(--serif);color:#dedbc2}.scorebar strong small{font-size:18px;color:#7e8c72}.score-track{display:flex;align-items:center;gap:19px;flex:1;max-width:630px}.score-track>span{font-size:11px;white-space:nowrap;color:#a4b393}.score-track>span:last-child{color:#c29784}.score-track b{font-size:16px;color:#dadbc2;margin:0 6px}.round-dots{display:flex;gap:11px;flex:1;justify-content:center}.round-dots i{height:12px;width:12px;transform:rotate(45deg);border:1px solid #435039;background:#172017;flex-shrink:0}.round-dots i.current{border-color:#d2b77e;background:#8b7848;box-shadow:0 0 10px #d0ba5825}.round-dots i.won{background:#7e9e65;border-color:#b3cc90}.round-dots i.lost{background:#8e5d47;border-color:#c28c6b}.win-condition{font-size:9px;letter-spacing:1.4px;color:#7c8d6d}.battle-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:20px;align-items:start}.table{position:relative;background:radial-gradient(ellipse at center,#31433440,transparent 70%),repeating-linear-gradient(125deg,#ffffff02 0 1px,transparent 1px 5px),#17201a;border:1px solid #656445;border-radius:5px;padding:14px 18px 0;box-shadow:0 15px 50px #0005}.table:before{content:'';position:absolute;inset:5px;border:1px solid #53603b45;pointer-events:none;border-radius:2px}.board-row{position:relative;padding-top:16px}.row-label{position:absolute;top:0;left:2px;color:#8d9e7f;font-size:9px;letter-spacing:1px;text-transform:uppercase}.enemy-row .row-label{color:#b58c76}.entity-row{display:grid;grid-template-columns:1.13fr 1fr 1fr 1fr;gap:17px;max-width:810px;margin:auto;align-items:start}.entity-card{position:relative;min-width:0;border:1px solid #71764e;border-radius:5px;background:#19251b;box-shadow:0 4px 12px #0005;isolation:isolate;transition:filter .15s,box-shadow .15s,transform .15s}.entity-card.champion-card{border-color:#b09b63;box-shadow:0 0 0 3px #a7994b0a,0 4px 12px #0006;margin-right:4px}.entity-card.enemy{border-color:#78614c;background:#281f1a}.entity-face{display:block;position:relative;width:100%;height:147px;border-radius:4px;overflow:hidden;text-align:left;padding:0}.entity-face>.art{position:absolute;inset:0;height:100%;width:100%;filter:brightness(.83)}.entity-face:after{content:'';position:absolute;inset:0;background:linear-gradient(#05110a08 20%,#0a140bbf 57%,#101c11 90%);pointer-events:none}.enemy .entity-face:after{background:linear-gradient(#14080500 15%,#180e0db0 57%,#231811 90%)}.entity-title{font:600 21px var(--serif);position:absolute;z-index:1;bottom:50px;left:9px;right:4px;color:#f0e7cc;line-height:1.1}.entity-role{position:absolute;bottom:38px;left:9px;font-size:7px;letter-spacing:1.1px;color:#a5b28d;z-index:1}.enemy .entity-role{color:#bb9b80}.entity-statline{position:absolute;bottom:20px;left:9px;right:7px;z-index:2;display:flex;align-items:center;gap:4px;font-size:10px;color:#cfbe8a}.entity-statline .block-badge{color:#a9d0cd;margin-left:auto}.damage-badge{color:#e09f81;margin-left:auto}.entity-statline .block-badge+.damage-badge{margin-left:3px}.health-bar{position:absolute;bottom:0;left:0;right:0;height:16px;background:#0c150e;border-top:1px solid #5c7544;z-index:2;display:block}.health-bar>i{display:block;height:100%;background:linear-gradient(90deg,#3d6745,#799a5a);transition:width .25s}.health-bar>b{position:absolute;inset:0;text-align:center;font-size:10px;font-weight:500;color:#f0eed8;line-height:15px}.enemy .health-bar{border-color:#8f6244}.enemy .health-bar>i{background:linear-gradient(90deg,#6c3b30,#a7774e)}.unit-abilities{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:4px}.unit-ability{padding:5px 4px;border:1px solid #4a5b3850;background:#1b2b1c;text-align:left;border-radius:2px;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:3px;min-height:26px}.unit-ability>span{font-size:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;gap:3px;align-items:center}.unit-ability>b{font-size:9px;color:#bdc694;font-weight:500}.unit-ability:disabled{opacity:.6}.unit-ability.assigned{border-color:#b7ab65;background:#5e64312e;color:#e2d39f}.unit-ability.armed{border-color:#e2c57b;box-shadow:0 0 7px #cbbb4830}.unit-ability:hover:not(:disabled){background:#3c4c28}.unit-order{font-size:8px;padding:3px 6px 6px;color:#657c59;min-height:19px;display:flex;justify-content:space-between;gap:2px}.unit-order>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unit-order.has-order{color:#c1c894}.unit-order>button{font-size:14px;line-height:10px;padding:0 2px;color:#d5c37b}.champion-powers{padding:7px;display:flex;gap:4px;flex-wrap:wrap;min-height:30px}.champion-powers>span{font-size:8px;color:#bcc49e;border:1px solid #5c6b3f60;padding:3px 5px;border-radius:2px}.enemy-row .unit-abilities,.enemy-row .unit-order{display:none}.enemy-row .champion-powers{min-height:0;padding:0}.enemy-row .champion-powers>span{margin:3px}.entity-card.valid-target{border-color:#edd186;box-shadow:0 0 0 2px #e1c47470,0 0 20px #ae9c4920;animation:targetPulse 1.3s ease-in-out infinite}.entity-card.valid-target .entity-face{cursor:crosshair}.entity-card.intent-hover{box-shadow:0 0 0 2px #d7b87e,0 0 25px #d5a44440}.fallen-slot{display:grid;place-items:center;height:147px;border:1px dashed #48543c;color:#58664c;font-size:10px;border-radius:4px}.turn-strip{height:41px;display:flex;gap:16px;align-items:center;justify-content:space-between;margin:5px 0;border-bottom:1px solid #4c59352f;border-top:1px solid #4c59352f}.turn-strip>span:first-child{font-size:10px;color:#b4c29d;white-space:nowrap}.turn-strip>b{font-size:10px;color:#e0c587;font-weight:500;text-align:right}.turn-strip>button{padding:3px;color:#c0b27a}.turn-line{height:1px;flex:1;background:linear-gradient(90deg,#55613b50,transparent);max-width:200px}.intent-stack{position:absolute;z-index:5;top:10px;right:-10px;display:flex;flex-direction:column;align-items:flex-end;gap:3px;pointer-events:none;max-width:85px}.applied-card{display:flex;gap:4px;align-items:center;position:relative;width:84px;min-height:31px;border:1px solid #bc8661;border-radius:3px;background:#281e16f0;box-shadow:0 2px 8px #0008;padding:2px;transform:rotate(calc((var(--stack) - 1)*1.3deg));pointer-events:auto;text-align:left;animation:stamp .24s ease-out}.applied-card>.art{height:27px;width:22px;flex-shrink:0;border-radius:1px}.applied-card>span{font-size:6px;line-height:1.3;max-width:55px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d7bc98}.applied-card b{display:block;font-size:13px;color:#edb28a}.applied-card b em{font-size:10px;font-style:normal;color:#8dc0c0}.applied-card.planned{border-style:dashed;opacity:.75;background:#293121eb}.applied-card.applied-buff{border-color:#91b078;background:#233321ed}.applied-buff b{color:#b4d895}.more-intents{font-size:8px;background:#342519;border:1px solid #a77c4f;color:#d8b282;padding:3px 6px;border-radius:3px}.valid-hit,.drag-valid{outline:2px solid #e0c27a!important;outline-offset:1px;cursor:crosshair!important}.hand-area{display:flex;gap:10px;align-items:center;min-height:220px;padding:12px 0 0}.hand{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;padding:8px 8px;min-height:210px}.hand-card{position:relative;flex-shrink:1;min-width:0;width:132px;max-width:132px;margin:0 -5px;transform:rotate(calc((var(--i) - (var(--n) - 1)/2)*1.3deg)) translateY(calc((var(--i) - (var(--n) - 1)/2)*(var(--i) - (var(--n) - 1)/2)*1px));transition:transform .15s}.hand-card:hover,.hand-card:focus-within{z-index:20;transform:translateY(-10px);flex-shrink:0}.spell-card{position:relative;display:flex;flex-direction:column;text-align:center;width:132px;height:196px;border:1px solid #7f8d59;border-radius:6px;box-shadow:0 4px 14px #0006;padding:0;background:#1f2d22;overflow:visible;color:#dfe1c7;isolation:isolate;user-select:none}.spell-card:before{content:'';position:absolute;inset:3px;border:1px solid #a8ac6625;border-radius:3px;pointer-events:none;z-index:4}.spell-card.attack{border-color:#a68b58;background:#30251b}.spell-card.power{border-color:#927d9f;background:#2a2231}.cost{position:absolute;left:-6px;top:-5px;z-index:5;width:25px;height:25px;border:1px solid #c4ba7a;border-radius:50%;background:radial-gradient(circle at 30% 20%,#72864c,#273b21);font:700 20px var(--serif);display:grid;place-items:center;color:#f2e7ae;box-shadow:0 2px 5px #0008}.spell-name{height:26px;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0 5px 0 13px;font:600 15px var(--serif);background:linear-gradient(90deg,#293d29,#465139,#293b28);border-radius:5px 5px 0 0;white-space:nowrap}.attack .spell-name{background:linear-gradient(90deg,#40321f,#5b472d,#3a2d1e)}.power .spell-name{background:linear-gradient(90deg,#392e40,#51415b,#352b3c)}.spell-image{height:72px;margin:0 5px;width:calc(100% - 10px);flex-shrink:0;border-left:1px solid #86754940;border-right:1px solid #86754940}.spell-type{display:flex;align-items:center;justify-content:center;gap:3px;padding:4px;font-size:7px;letter-spacing:1.3px;text-transform:uppercase;background:#53604045;border-top:1px solid #9f9a5d60;border-bottom:1px solid #9f9a5d30;min-height:21px}.spell-type>b{position:absolute;right:7px;font-size:9px;letter-spacing:0;color:#e7cb8d}.spell-text{font-size:10px;line-height:1.4;padding:6px 9px;display:flex;align-items:center;justify-content:center;flex:1;color:#d4d9bd}.spell-bottom{display:flex;justify-content:space-between;align-items:center;font-size:6px;letter-spacing:.5px;min-height:18px;padding:0 7px;border-top:1px solid #9c9b5d30;color:#92a07e}.spell-bottom>span:last-child{font-size:5.5px;text-transform:uppercase}.spell-card.selected{border-color:#f0d18b;box-shadow:0 0 0 2px #d0b46e,0 0 22px #c7b46530;transform:translateY(-7px)}.spell-card.unplayable{filter:saturate(.55) brightness(.6)}.spell-card.tier-5{border-color:#e0bb65;box-shadow:0 0 20px #d1ab3530}.pile{width:42px;flex-shrink:0;display:flex;flex-direction:column;gap:9px;align-items:center;color:#8b9e73;padding:0}.pile>span{display:grid;place-items:center;border:1px solid #6f7b4b;background:repeating-linear-gradient(45deg,transparent 0 4px,#87945813 4px 5px),#20301f;width:36px;height:51px;border-radius:3px;position:relative;box-shadow:3px -3px #35462d,4px -4px #697747}.pile b{position:absolute;right:-7px;bottom:-7px;border-radius:50%;border:1px solid #7e8b56;background:#1b2b1d;width:21px;height:21px;display:grid;place-items:center;font-size:10px;color:#cbd5ac}.pile>small{font-size:7px;letter-spacing:.8px;margin-top:4px}.table-footer{height:62px;border-top:1px solid #485738;display:flex;align-items:center;justify-content:space-between;gap:15px}.energy{display:flex;gap:9px;align-items:center;color:#bbcb8e}.energy>svg{padding:6px;box-sizing:content-box;border:1px solid #9eab67;border-radius:50%;background:radial-gradient(circle at 30% 25%,#617e3d,#1b2d1c)}.energy>b{font:600 28px var(--serif);color:#e1dfb4}.energy small{font:400 15px var(--serif);color:#8e9f76}.energy>span{font-size:8px;letter-spacing:1px;color:#99aa7f}.hand-counter{font-size:9px;color:#7e9170}.end-turn{display:flex;align-items:center;gap:20px;justify-content:center;background:linear-gradient(120deg,#bea36e,#d9bd7e);border:1px solid #e0c487;box-shadow:inset 0 0 0 3px #a58b5260;padding:11px 16px;color:#252c1b;border-radius:3px;font-size:12px;font-weight:650;min-width:155px}.end-turn:hover:not(:disabled){color:#16200f;background:#e2c98d}kbd{font:500 8px 'DM Sans',sans-serif;border:1px solid #786d4490;border-radius:2px;padding:2px 4px;color:#5a5c3a}.empty-hand{font-size:12px;color:#82976d}.ward-pool{display:flex;gap:8px;align-items:center;padding:9px 0 0;flex-wrap:wrap}.ward-pool>span{font-size:10px;color:#83b6b4}.ward-pool>button{font-size:11px;padding:5px 7px;border:1px solid #618d87;background:#243f39;border-radius:3px;color:#b8d8ca}.ward-pool small{font-size:8px;color:#97b1a1}.intent-panel{border:1px solid #46503a;background:#151e17;border-radius:4px;overflow:hidden}.intent-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 15px 9px;background:#3c2f1b20}.intent-heading>span{font-size:11px;letter-spacing:1.5px;color:#c6aa75;display:flex;align-items:center;gap:8px}.intent-heading>b{font:600 31px var(--serif);color:#e3b888}.intent-heading small{font:400 17px var(--serif);color:#8a7c5e}.intent-totals{display:flex;justify-content:space-between;font-size:9px;color:#9fae8c;padding:0 15px 15px;border-bottom:1px solid #39462e}.intent-totals>span{display:flex;gap:3px;align-items:center}.intent-totals>span:nth-child(2){color:#8ab9b5}.intent-totals>span:nth-child(3){color:#ce9b7d}.intent-list{padding:7px}.intent-hit{display:flex;align-items:center;gap:8px;text-align:left;border:1px solid #6f583b60;border-radius:3px;background:#30271c40;width:100%;padding:7px;margin-bottom:6px;min-height:65px}.intent-hit:last-child{margin-bottom:0}.intent-hit>.art{width:31px;height:43px;border:1px solid #87734c80;border-radius:2px;flex-shrink:0}.intent-hit-body{flex:1;min-width:0}.hit-source{font-size:10px;display:block;color:#d1c7a5;line-height:1.4}.hit-target{display:block;font-size:11px;color:#e2b78f;margin-top:3px}.hit-properties{font-size:6px;letter-spacing:.4px;line-height:1.6;color:#8c9c78;display:block;margin-top:4px;overflow-wrap:anywhere}.hit-numbers{display:flex;flex-direction:column;align-items:center;min-width:28px}.hit-numbers>b{font:600 24px var(--serif);color:#e1af83}.hit-numbers>small{font-size:8px;color:#8c9d78}.hit-numbers>em{font-style:normal;font-size:9px;color:#9fc9c2;margin-top:4px}.intent-hit.fully-blocked{border-color:#597c6460;background:#213c3125}.fully-blocked .hit-numbers>b{color:#95bcaa}.no-intent{padding:20px 7px;color:#7f9270;font-size:12px}.outgoing-summary{border-top:1px solid #35432b;border-bottom:1px solid #35432b;padding:12px 15px;display:flex;justify-content:space-between;align-items:center;color:#9dab84}.outgoing-summary>span{font-size:9px;letter-spacing:1.4px}.outgoing-summary>b{font-size:18px;color:#c5cba5}.outgoing-summary small{font-size:9px;font-weight:400;color:#8b9c72}.deck-button{display:flex;gap:8px;align-items:center;padding:14px 15px;border-bottom:1px solid #35432b;width:100%;font-size:12px;color:#bbc5a3}.deck-button>b{margin-left:auto;font-size:12px;border:1px solid #54623e;padding:3px 7px;border-radius:3px}.combat-log{padding:15px}.combat-log h3{font-size:10px;font-weight:500;letter-spacing:1px;color:#899d77;text-transform:uppercase;margin-bottom:13px}.combat-log p{font-size:10px;line-height:1.6;color:#829775;margin:8px 0}.combat-log p.damage{color:#b78d74}.combat-log p.round{color:#c0b57f}.draft-title{display:flex;align-items:center;justify-content:space-between;padding:28px 0 22px}.draft-title h1{font:500 38px var(--serif);color:#e2dfc5;margin-top:5px}.draft-turn{color:#d1bc84;font-size:15px;display:flex;gap:8px;align-items:center}.draft-turn>small{font-size:11px;color:#8e9d7b;margin-left:12px}.thinking-dot{width:6px;height:6px;background:#bdad68;border-radius:50%;animation:targetPulse 1s infinite}.draft-progress{display:flex;align-items:center;gap:8px;margin-bottom:24px}.draft-progress>span{display:flex;align-items:center;gap:6px;padding:6px 12px;font-size:10px;color:#6f825f;border:1px solid #35472d;border-radius:2px}.draft-progress>span.now{border-color:#c0a469;background:#79633322;color:#e1c185}.draft-progress>span.done{background:#2d412a;color:#afc897;border-color:#677b4a}.draft-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:25px}.draft-pool{min-width:0}.draft-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.draft-card{border:1px solid #546342;background:#19251a;position:relative;border-radius:5px;padding:0;overflow:hidden;text-align:left;min-width:0;transition:transform .16s,border-color .16s}.draft-card>.art{width:100%;height:135px;filter:brightness(.9)}.draft-card-name{display:block;font:600 22px var(--serif);color:#e4dfc1;padding:10px 10px 0}.draft-card-role{display:block;font-size:9px;color:#8fa37d;padding:4px 10px 8px}.draft-unit-stats{display:flex;gap:5px;align-items:center;font-size:10px;color:#c6bf8b;padding:1px 10px 9px}.draft-unit-stats>svg:nth-child(2){margin-left:9px;color:#a4bc87}.draft-ability-names{display:grid;grid-template-columns:1fr 1fr;gap:6px 4px;border-top:1px solid #425134;padding:10px}.draft-ability-names>span{display:flex;gap:3px;align-items:center;font-size:7px;color:#99ae85;white-space:nowrap;overflow:hidden}.draft-card:hover:not(:disabled){transform:translateY(-4px);border-color:#c1b478}.draft-card.selected{border-color:#e0c07e;box-shadow:0 0 0 2px #d6b36a35,0 0 24px #baa35215}.draft-card.taken{filter:saturate(.1) brightness(.45);opacity:.6}.drafted-label{position:absolute;top:45px;left:0;right:0;text-align:center;padding:7px;background:#0b110bcb;font-size:11px;letter-spacing:2px;color:#d0ccac}.champion-pool .draft-card>.art{height:255px}.champion-pool .draft-card-name{font-size:26px}.champion-pool .draft-card-role{font-size:10px;min-height:39px;line-height:1.6}.champion-deck-label{display:block;border-top:1px solid #465335;padding:12px 10px;font-size:10px;color:#b0bd96}.draft-sidebar{display:flex;flex-direction:column;gap:14px}.draft-roster{border:1px solid #384a30;border-radius:4px;padding:13px;background:#151f16}.draft-roster.active{border-color:#8c8351}.draft-roster h3{display:flex;justify-content:space-between;font-size:12px;color:#b8c7a3;font-weight:500;margin-bottom:12px}.draft-roster h3>small{font-size:8px;letter-spacing:1px;color:#c6b47b}.roster-champion{display:flex;gap:10px;align-items:center;margin-bottom:12px}.roster-champion>.art,.empty-portrait{width:35px;height:47px;flex-shrink:0;border:1px solid #6b7550;border-radius:3px}.empty-portrait{display:grid;place-items:center;color:#687851}.roster-champion b{font:600 22px var(--serif);color:#d0d8b5}.roster-champion small{font-size:9px;display:block;color:#849973;margin-top:3px}.roster-units{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.roster-units>div{height:61px;position:relative;border:1px solid #4b603b;border-radius:3px;display:grid;place-items:center;color:#5c7449;overflow:hidden}.roster-units .art{position:absolute;inset:0;width:100%;height:100%}.roster-units>div>span:last-child{position:absolute;bottom:0;left:0;right:0;background:#0c170cd9;padding:4px 2px;text-align:center;font-size:7px;color:#abbf93}.draft-detail{border:1px solid #667347;border-radius:4px;padding:15px;background:linear-gradient(#273322,#172318)}.draft-detail h3{font:600 27px var(--serif);color:#e0dbb9}.unit-trait{font-size:11px;color:#9aac87;line-height:1.6;margin:7px 0 13px}.ability-preview>div{display:flex;gap:9px;align-items:center;padding:9px 0;border-top:1px solid #46553450;color:#c9bd83}.ability-preview b{font-size:12px;color:#ccd1b1;display:block;font-weight:500}.ability-preview small{display:block;font-size:10px;color:#90a57a;margin-top:4px;line-height:1.4}.draft-rule{font-size:10px;color:#aab78a;margin:15px 0}.draft-detail .primary{margin-top:17px}.starter-list{margin-top:15px}.starter-list>div{display:flex;align-items:center;gap:10px;border-bottom:1px solid #42543160;padding:7px 0;font-size:11px;color:#b6c3a1}.starter-list small{margin-left:auto;color:#80976a}.small-cost{width:18px;height:18px;display:grid;place-items:center;border:1px solid #7e8c52;border-radius:50%;font-size:10px;color:#d2cb94;background:#344426}.role-filters{display:flex;align-items:center;gap:5px;margin-bottom:17px;flex-wrap:wrap}.role-filters>button,.library-controls>button{font-size:11px;color:#8ea17a;padding:7px 11px;border:1px solid transparent;border-radius:3px;text-transform:capitalize}.role-filters>button.active,.library-controls>button.active{border-color:#7f8b50;background:#334222;color:#d2d5a4}.role-filters>span{margin-left:auto;font-size:9px;color:#7c9069}.modal-backdrop{position:fixed;inset:0;background:#071009df;backdrop-filter:blur(7px);z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;overflow:auto}.modal{position:relative;max-height:calc(100dvh - 50px);overflow:auto;background:radial-gradient(ellipse at top,#2c3924,#172319);border:1px solid #838756;border-radius:7px;padding:30px;width:520px;max-width:100%;box-shadow:0 30px 100px #0009;animation:stamp .2s ease-out}.modal.wide{width:850px}.modal h2{font:500 34px var(--serif);color:#e3dec0;margin:0 30px 23px 0}.modal-close{position:absolute;top:13px;right:13px;color:#a7b48b;padding:5px}.modal>.primary{margin-top:20px}.modal>.final-score{font:600 45px var(--serif);text-align:center;margin:20px;color:#d6bc79}.modal>svg{display:block;margin:15px auto;color:#d2b56f}.setting-label{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#b6c4a0}.rules-note{font-size:11px;color:#8fa37a;margin:15px 0;line-height:1.7}.rules p{font-size:13px;line-height:1.8;margin:15px 0;color:#a8b996}.rules b{color:#d4dabb;font-weight:600}.library-controls{display:flex;align-items:center;gap:5px;margin-bottom:23px;flex-wrap:wrap}.library-controls input{margin-left:auto;width:200px}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:22px 15px;padding:7px}.card-grid .spell-card{width:100%;height:220px;cursor:default}.card-grid .spell-image{height:89px}.card-grid .spell-name{font-size:16px;height:29px}.card-grid .spell-text{font-size:11px}.card-grid .spell-bottom{font-size:7px}.text-button{display:block;padding:10px 0;color:#b8c99b;font-size:12px;text-decoration:underline;margin-top:15px}.reward-subhead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #52633d;padding-bottom:14px;font-size:12px;color:#bac79f}.reward-subhead>span{font-size:9px;letter-spacing:1px;color:#c0ad71}.reward-cards{display:flex;justify-content:center;gap:30px;padding:27px 0 20px}.reward-cards .spell-card{width:165px;height:235px}.reward-cards .spell-name{font-size:18px;height:31px}.reward-cards .spell-image{height:95px}.reward-cards .spell-text{font-size:12px}.reward-option{position:relative}.reward-option.picked{filter:drop-shadow(0 0 10px #d3bd5a50)}.reward-option.picked .spell-card{outline:2px solid #e1c684}.reward-option.not-picked{opacity:.35}.picked-label{font-size:10px;color:#d2c887;display:block;text-align:center;margin-top:9px}.reward-tools{display:flex;align-items:end;gap:15px;border-top:1px solid #425633;padding-top:18px}.reward-tools>label{flex:1;display:flex;align-items:center;gap:20px;font-size:12px;color:#a5b991}.reward-tools select{flex:1;max-width:260px}.training{border-top:1px solid #465b35;margin:20px 0;padding-top:17px}.training>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:15px}.training h3{font:600 25px var(--serif);color:#cdd8ad}.training>div:first-child>span{font-size:10px;color:#91a97a}.training-units{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.training-unit{position:relative;border:1px solid #4c6339;padding:10px;border-radius:4px;background:#162315}.training-unit>.art{width:38px;height:45px;border-radius:3px;float:left;margin-right:10px;margin-bottom:10px}.training-unit>b{font:600 20px var(--serif);color:#d1d9b3;display:flex;align-items:center;min-height:45px;line-height:1.1}.training-unit>button{display:block;clear:both;border:1px solid #4b633430;border-radius:3px;background:#25381c80;width:100%;margin-top:5px;padding:7px;text-align:left}.training-unit>button>span{font-size:10px;color:#c4d2a6;display:block}.training-unit>button>small{font-size:8px;line-height:1.5;color:#869f6f;display:block;margin-top:4px}.training-unit>button:hover:not(:disabled){border-color:#c2b36d}.hidden-hand{visibility:hidden}.toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);z-index:500;background:#2e3d25;border:1px solid #a0a66a;color:#e1dfbb;border-radius:4px;padding:12px 22px;font-size:13px;box-shadow:0 5px 25px #0008;animation:stamp .2s;max-width:90vw;text-align:center}#fx-layer{position:fixed;inset:0;pointer-events:none;z-index:300;overflow:hidden}.projectile{position:fixed;width:10px;height:10px;background:#e9c377;box-shadow:0 0 15px 7px #e6b65090;border-radius:50%;transform-origin:center}.projectile.fire{background:#fff5c2;box-shadow:0 0 8px 6px #ffca53,0 0 25px 14px #ed5e2470}.projectile.hex{background:#e4baff;box-shadow:0 0 20px 10px #a96cd580}.floating-number{position:fixed;z-index:2;transform:translate(-50%,-50%);font:700 31px var(--serif);color:#e8ca7c;text-shadow:0 2px 4px #000,0 0 10px #000;white-space:nowrap;animation:floatUp .7s ease-out forwards}.floating-number.damage{color:#ffd9b2;font-size:35px}.floating-number.heal{color:#b1ec9e}.floating-number.block{color:#a3e0dc;font-size:24px}.floating-number.intent{font-family:'DM Sans',sans-serif;font-size:13px;color:#efd5a2}.impact-slash{position:fixed;width:100px;height:5px;border-radius:50%;background:#fff5d0;box-shadow:0 0 14px 5px #f4ba65c0;animation:slash .45s ease-out forwards}.impact-slash:after{content:'';position:absolute;left:20px;top:12px;width:80px;height:3px;background:#fff7d6;box-shadow:0 0 10px #d5aa5e;transform:rotate(25deg)}.impact-slash.fire{background:#fff3a3;box-shadow:0 0 10px 10px #ffad3e,0 0 35px 25px #ed582750}.impact-slash.hex{background:#eac6ff;box-shadow:0 0 18px 12px #b05ae670}.entity-card.hit-flash{animation:hitFlash .4s ease-out}.entity-card.block-flash{animation:blockFlash .5s ease-out}.entity-card.heal-flash{animation:healFlash .5s ease-out}.entity-card.intent-flash{animation:intentFlash .45s ease-out}@keyframes stamp{from{opacity:0;scale:.92;translate:0 7px}to{opacity:1;scale:1;translate:0 0}}@keyframes targetPulse{50%{filter:brightness(1.12)}}@keyframes floatUp{0%{opacity:0;translate:0 15px;scale:.7}20%{opacity:1;scale:1.15}70%{opacity:1}100%{opacity:0;translate:0 -40px;scale:1}}@keyframes slash{0%{transform:translate(-50%,-50%) rotate(-45deg) scaleX(.1);opacity:1}40%{transform:translate(-50%,-50%) rotate(-45deg) scaleX(1.2);opacity:1}100%{transform:translate(-50%,-50%) rotate(-45deg) scaleX(1.4);opacity:0}}@keyframes hitFlash{15%{filter:brightness(2) sepia(.5);transform:translateX(-6px)}35%{transform:translateX(5px)}60%{transform:translateX(-2px)}100%{filter:brightness(1);transform:none}}@keyframes blockFlash{30%{box-shadow:0 0 0 3px #a8e2da,0 0 40px #8ac7c580;filter:brightness(1.4)}}@keyframes healFlash{30%{box-shadow:0 0 0 2px #a6da82,0 0 35px #9ec46c70;filter:brightness(1.4)}}@keyframes intentFlash{30%{box-shadow:0 0 0 2px #e4c480,0 0 30px #c99c4960;filter:brightness(1.25)}}
@media(min-width:1400px){.battle-screen,.draft-screen{padding:0 40px 30px}.battle-layout{grid-template-columns:minmax(0,1fr) 320px;gap:25px}.table{padding:18px 26px 0}.entity-row{gap:26px;max-width:900px}.entity-face{height:170px}.unit-ability{min-height:29px;padding:6px}.unit-ability>span{font-size:10px}.unit-ability>b{font-size:11px}.unit-order{font-size:9px}.entity-title{font-size:24px}.entity-role{font-size:8px}.entity-statline{font-size:11px}.hand-card{width:145px;max-width:145px}.spell-card{width:145px;height:211px}.spell-image{height:82px}.spell-name{font-size:17px}.spell-text{font-size:11px}.hand-area{min-height:237px}.intent-hit{min-height:73px}.hit-source{font-size:11px}.hit-target{font-size:12px}.hit-properties{font-size:7px}.draft-cards{grid-template-columns:repeat(5,minmax(0,1fr))}.draft-cards.champion-pool{grid-template-columns:repeat(4,minmax(0,1fr))}.draft-card>.art{height:160px}.champion-pool .draft-card>.art{height:315px}.draft-ability-names>span{font-size:8px}}
@media(max-width:1100px){.battle-screen,.draft-screen{padding:0 18px 22px}.battle-layout{grid-template-columns:minmax(0,1fr) 250px;gap:14px}.table{padding:12px 12px 0}.entity-row{gap:12px}.entity-face{height:137px}.entity-title{font-size:18px;left:7px}.entity-role{font-size:6px;left:7px}.entity-statline{font-size:9px;left:7px}.unit-abilities{grid-template-columns:1fr;gap:2px;padding:3px}.unit-ability{min-height:22px;padding:3px 4px}.unit-ability>span{font-size:8px}.unit-ability>b{font-size:9px}.hand-card{margin:0 -12px}.hand-counter{display:none}.applied-card{width:75px;min-height:27px}.applied-card>.art{height:23px;width:19px}.applied-card>span{font-size:5px}.applied-card b{font-size:11px}.intent-stack{right:-7px;max-width:75px}.intent-hit{gap:6px;padding:6px}.intent-hit>.art{width:26px;height:37px}.intent-heading{padding:14px 12px 8px}.intent-totals{font-size:8px;padding:0 12px 13px}.hit-source{font-size:9px}.hit-target{font-size:10px}.draft-layout{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.draft-cards{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.draft-cards.champion-pool{grid-template-columns:repeat(2,minmax(0,1fr))}.champion-pool .draft-card>.art{height:210px}.draft-card>.art{height:125px}.draft-card-name{font-size:20px}.draft-ability-names{padding:8px;gap:5px 3px}.draft-ability-names>span{font-size:6px}.role-filters>span{width:100%;margin-top:5px}.role-filters>button{padding:6px 8px;font-size:10px}}
@media(max-width:850px){.battle-layout{grid-template-columns:minmax(0,1fr)}.intent-panel{display:grid;grid-template-columns:1fr 1fr}.intent-heading,.intent-totals,.intent-list{grid-column:1/-1}.intent-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.intent-hit{margin:0}.intent-hit>.art{width:32px;height:45px}.hit-source{font-size:11px}.hit-target{font-size:12px}.hit-properties{font-size:7px}.combat-log{grid-column:1/-1;display:none}.outgoing-summary{border-bottom:0}.deck-button{border-top:1px solid #35432b;border-bottom:0}.entity-face{height:145px}.unit-abilities{grid-template-columns:1fr 1fr}.unit-ability{min-height:25px}.unit-ability>span{font-size:8px}.unit-order{font-size:8px}.hand-card{margin:0 -7px}.entity-title{font-size:20px}.hand-counter{display:block}.topbar nav{gap:16px}.score-track{max-width:540px}.round-dots{gap:8px}.win-condition{display:none}.draft-layout{grid-template-columns:minmax(0,1fr) 235px;gap:16px}.draft-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-cards.champion-pool{grid-template-columns:repeat(2,minmax(0,1fr))}.champion-pool .draft-card>.art{height:190px}.champion-pool .draft-card-name{font-size:22px}.draft-roster{padding:10px}.draft-detail{padding:12px}.draft-detail h3{font-size:24px}.draft-progress{gap:5px}.draft-progress>span{padding:5px 9px}}
@media(max-width:600px){.topbar{height:58px;padding:0 15px}.brand{gap:9px}.brand b{font-size:25px;letter-spacing:4px}.brand>span{width:24px;height:24px}.brand svg{width:18px}.topbar nav{gap:12px}.topbar nav>button{font-size:10px;gap:3px}.topbar nav>button>span{display:none}.topbar nav>.outline-button{padding:7px 9px;font-size:9px}.topbar nav button>small{display:none}.topbar select{font-size:9px;max-width:100px;padding:7px 22px 7px 7px}.battle-screen,.draft-screen{padding:0 9px 18px}.scorebar{height:60px;gap:8px}.scorebar strong{font-size:25px}.scorebar strong small{font-size:15px}.scorebar .eyebrow{font-size:7px}.scorebar>div:first-child{gap:5px}.score-track{gap:7px}.score-track>span{font-size:7px;max-width:58px}.score-track b{font-size:13px;margin:0 2px}.round-dots{gap:6px}.round-dots i{width:7px;height:7px}.table{padding:10px 8px 0}.entity-row{gap:8px;grid-template-columns:1fr 1fr 1fr 1fr}.entity-card.champion-card{margin-right:1px}.entity-face{height:117px}.entity-title{font-size:14px;left:4px;bottom:44px;right:2px;line-height:1.05}.entity-role{font-size:5px;letter-spacing:.3px;left:4px;bottom:33px}.entity-statline{font-size:7px;left:4px;right:3px;bottom:18px;gap:2px;flex-wrap:wrap}.entity-statline svg{width:9px;height:9px}.health-bar{height:15px}.health-bar>b{font-size:8px;line-height:14px}.unit-abilities{grid-template-columns:1fr;gap:2px;padding:3px}.unit-ability{padding:4px 2px;min-height:23px;gap:2px}.unit-ability>span{font-size:6px;gap:2px}.unit-ability svg{width:8px;height:8px}.unit-ability>b{font-size:7px}.unit-order{font-size:6px;min-height:18px;padding:4px 3px}.unit-order svg{display:none}.champion-powers{padding:4px;min-height:20px;gap:3px}.champion-powers>span{font-size:6px;padding:2px 3px}.fallen-slot{height:117px;font-size:8px}.board-row{padding-top:15px}.row-label{font-size:7px}.turn-strip{height:auto;min-height:35px;gap:6px;padding:6px 0}.turn-strip>span:first-child{font-size:8px}.turn-strip>b{font-size:8px;line-height:1.5}.intent-stack{max-width:60px;right:-5px;top:5px;gap:2px}.applied-card{width:60px;min-height:24px;gap:2px;padding:1px}.applied-card>.art{width:15px;height:20px}.applied-card>span{font-size:4px;max-width:40px}.applied-card b{font-size:10px}.applied-card b em{font-size:7px}.more-intents{font-size:6px;padding:2px 4px}.hand-area{gap:4px;min-height:192px;padding-top:6px}.hand{overflow:auto;justify-content:flex-start;gap:8px;min-height:192px;padding:9px 7px}.hand-card{margin:0;transform:none!important;width:108px;max-width:108px;min-width:108px;flex-shrink:0}.spell-card{width:108px;height:173px}.spell-name{font-size:12px;height:24px;padding-left:10px}.spell-image{height:59px}.spell-type{font-size:6px;letter-spacing:.8px;min-height:19px;padding:3px}.spell-type>b{font-size:8px;right:6px}.spell-type svg{width:9px;height:9px}.spell-text{font-size:8px;line-height:1.45;padding:5px 7px}.spell-bottom{font-size:5px;min-height:16px;padding:0 5px}.spell-bottom>span:last-child{font-size:4px}.cost{width:22px;height:22px;font-size:17px;top:-5px;left:-4px}.pile{width:25px;gap:7px}.pile>span{width:23px;height:37px}.pile svg{width:17px}.pile b{width:17px;height:17px;font-size:8px;right:-4px;bottom:-5px}.pile small{font-size:5px;letter-spacing:.5px}.table-footer{height:57px;gap:8px}.energy{gap:6px}.energy>svg{width:18px;height:18px;padding:5px}.energy>b{font-size:24px}.energy small{font-size:12px}.energy>span{font-size:6px}.hand-counter{display:none}.end-turn{min-width:120px;font-size:11px;padding:9px 11px;gap:14px}.end-turn kbd{font-size:7px}.intent-panel{margin-top:0}.intent-heading{padding:12px 12px 7px}.intent-heading>b{font-size:29px}.intent-list{grid-template-columns:minmax(0,1fr)}.intent-hit{gap:10px;min-height:68px}.intent-hit>.art{width:34px;height:46px}.hit-source{font-size:12px}.hit-target{font-size:12px}.hit-properties{font-size:7px}.intent-totals{font-size:10px}.outgoing-summary{font-size:10px;padding:12px}.ward-pool{gap:5px}.ward-pool>span{font-size:8px}.ward-pool>button{font-size:9px}.draft-title{padding:20px 5px 18px;gap:10px}.draft-title h1{font-size:31px}.draft-title .eyebrow{font-size:8px}.draft-turn{font-size:12px;display:flex;flex-direction:column;gap:5px;align-items:flex-end}.draft-turn small{font-size:9px;margin:0}.draft-progress{gap:4px;justify-content:space-between;margin:0 4px 18px}.draft-progress>span{padding:5px 6px;font-size:8px;gap:3px}.draft-progress svg{width:10px;height:10px}.draft-layout{display:flex;flex-direction:column-reverse;gap:18px}.draft-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:9px}.draft-roster{padding:9px}.draft-roster h3{font-size:10px;margin-bottom:8px}.draft-roster h3>small{font-size:6px}.roster-champion{gap:7px;margin-bottom:9px}.roster-champion>.art,.empty-portrait{width:27px;height:35px}.roster-champion b{font-size:17px}.roster-champion small{font-size:6px;line-height:1.5}.roster-units{gap:5px}.roster-units>div{height:40px}.roster-units>div>span:last-child{font-size:5px;padding:3px 1px}.draft-detail{grid-column:1/-1;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.draft-detail h3{font-size:25px;grid-column:1/-1}.unit-trait{font-size:10px;margin:0;line-height:1.5}.ability-preview{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.ability-preview>div{padding:6px 0;gap:6px}.ability-preview b{font-size:10px}.ability-preview small{font-size:8px;margin-top:3px}.ability-preview svg{width:13px}.draft-rule{font-size:8px;margin:6px 0;align-self:center}.draft-detail .primary{margin:5px 0 0;grid-column:2;font-size:11px;padding:10px}.draft-detail .unit-trait{grid-column:1/-1}.starter-list{grid-column:1/-1;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.starter-list>div{font-size:9px;padding:5px 0;gap:6px}.small-cost{width:15px;height:15px;font-size:8px}.draft-cards,.draft-cards.champion-pool{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.draft-card>.art{height:140px}.champion-pool .draft-card>.art{height:180px}.draft-card-name{font-size:22px;padding:9px 9px 0}.draft-card-role{font-size:8px;padding:4px 9px 7px}.draft-ability-names>span{font-size:7px}.draft-unit-stats{font-size:10px;padding:0 9px 9px}.champion-pool .draft-card-name{font-size:22px}.champion-pool .draft-card-role{font-size:9px}.champion-deck-label{font-size:9px}.role-filters{gap:4px}.role-filters>button{font-size:10px;padding:6px 8px}.role-filters>span{font-size:8px}.modal-backdrop{padding:12px}.modal{padding:25px 17px;max-height:calc(100dvh - 24px)}.modal h2{font-size:29px}.card-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:18px 12px;padding:4px}.card-grid .spell-card{height:200px}.card-grid .spell-image{height:75px}.card-grid .spell-name{font-size:14px}.card-grid .spell-text{font-size:10px}.card-grid .spell-bottom{font-size:6px}.library-controls input{width:100%;margin-top:8px}.library-controls>button{font-size:11px;padding:7px 10px}.rules p{font-size:12px}.reward-cards{justify-content:flex-start;gap:16px;overflow:auto;padding:22px 5px 16px}.reward-cards .spell-card{width:136px;height:207px}.reward-cards .spell-name{font-size:15px;height:27px}.reward-cards .spell-image{height:78px}.reward-cards .spell-text{font-size:10px}.reward-subhead{font-size:11px}.reward-subhead>span{font-size:8px}.reward-tools>label{flex-direction:column;align-items:flex-start;gap:8px;font-size:11px}.reward-tools select{width:100%}.secondary{font-size:11px;padding:10px 15px}.training>div:first-child{align-items:flex-start;gap:8px}.training h3{font-size:24px}.training>div:first-child>span{font-size:8px;max-width:120px;text-align:right;line-height:1.6}.training-units{grid-template-columns:1fr;gap:12px}.training-unit{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;padding:10px}.training-unit>.art{float:none;grid-column:1;width:42px;height:48px;margin:0}.training-unit>b{grid-column:2;font-size:23px;justify-self:end;text-align:right}.training-unit>button{clear:none;margin-top:3px;padding:8px}.training-unit>button>span{font-size:10px}.training-unit>button>small{font-size:8px}.floating-number{font-size:26px}.floating-number.damage{font-size:29px}.floating-number.intent{font-size:10px}.impact-slash{width:70px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.floating-number{animation:floatUp .1s linear forwards!important}}
/* Expanded combat rules and upgrades. */
.entity-row{grid-template-columns:1.13fr repeat(var(--slots,3),1fr)}
.empty-slot{height:147px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px dashed #52633d70;background:#13201430;border-radius:4px;color:#506940;min-width:0;font-size:9px}.empty-slot.valid-target{border:2px solid #d1b773;background:#65703c20;color:#d4c583;animation:targetPulse 1.3s infinite}.empty-slot>span{color:#7d9567}.entity-role{letter-spacing:.3px}.poison-badge{position:absolute;top:5px;left:5px;z-index:3;font-size:8px;border:1px solid #9ebf6960;background:#253c20d9;color:#b6d48f;padding:3px 5px;border-radius:3px}.spell-card.defense{background:#1a2d2b;border-color:#65978a}.defense .spell-name{background:linear-gradient(90deg,#253e38,#3b594c,#243d36)}.defense .spell-type{color:#adc9bf;background:#3e67574a}.spell-card.summon{background:#26311d;border-color:#91a560}.summon .spell-name{background:linear-gradient(90deg,#374526,#526438,#304323)}.spell-card.summon .spell-text{font-size:8px}.spell-text{flex-direction:column;gap:3px}.summon-card-hp{font-size:10px;color:#c8d7a9;display:block}.card-condition{font-size:8px;color:#cdb97a;display:block}.defense-attachments{position:absolute!important;display:flex!important;right:-7px;bottom:-8px;gap:2px;overflow:visible!important;max-width:none!important}.defense-attachments>i{display:block;position:relative;width:21px;height:25px;border:1px solid #7cb5ab;border-radius:2px;box-shadow:0 1px 5px #0008;background:#253e35}.defense-attachments .art{height:100%;width:100%;filter:brightness(.6)}.defense-attachments b{font-size:10px;position:absolute;inset:0;display:grid;place-items:center;color:#c3e7d9;text-shadow:0 1px 3px #000}.applied-card:has(.defense-attachments){margin-bottom:5px}.type-matchup{font-size:10px;color:#b9c59c;line-height:1.8;padding:8px 0;border-bottom:1px solid #5a6a3a50}.element-rules{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0}.element-rules>span{font-size:11px;color:#95ab7d}.element-rules b{color:#c4d6a9}.card-upgrade{border-top:1px solid #4c6239;padding-top:18px;margin-top:20px}.upgrade-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:15px}.upgrade-heading h3{font:600 25px var(--serif);color:#d1d9ae}.upgrade-heading>span{font-size:10px;color:#96aa7c}.upgrade-types{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.upgrade-types>button{border:1px solid #4b6539;background:#1d2c1a;padding:12px;text-align:left;border-radius:3px}.upgrade-types>button.selected{border-color:#d3b979;background:#5f633127}.upgrade-types b{font:600 22px var(--serif);color:#ddd6ad;display:block}.upgrade-types small{display:block;font-size:10px;color:#92aa7b;line-height:1.5;margin-top:5px}.upgrade-apply{display:flex;gap:12px;align-items:center;margin-top:13px}.upgrade-apply select{flex:1}.unit-ability[title]{cursor:crosshair}.ward-pool>button.selected{border-color:#e1c27e;box-shadow:0 0 0 1px #e1c27e}.spell-card.summon .spell-image{background-position:calc(var(--col)*100%/3) calc(var(--row)*100%/4)}
@media(min-width:1400px){.empty-slot{height:170px}.spell-card.summon .spell-text{font-size:10px}}
@media(max-width:1100px){.empty-slot{height:137px}}
@media(max-width:850px){.empty-slot{height:145px}}
@media(max-width:600px){.empty-slot{height:117px;gap:9px;font-size:7px}.empty-slot>svg{width:18px}.entity-row{min-width:calc((var(--slots,3) + 1)*74px)}.board-row{overflow-x:auto;overflow-y:visible}.entity-role{font-size:4.6px;letter-spacing:0}.poison-badge{font-size:6px;padding:2px 3px}.type-matchup{grid-column:1/-1;font-size:9px}.spell-card.summon .spell-text{font-size:7px}.summon-card-hp{font-size:9px}.card-condition{font-size:7px}.card-upgrade{margin-top:17px;padding-top:15px}.upgrade-heading{gap:10px}.upgrade-heading h3{font-size:24px}.upgrade-heading>span{font-size:8px;text-align:right;max-width:110px}.upgrade-types{gap:7px}.upgrade-types>button{padding:9px 7px}.upgrade-types b{font-size:19px}.upgrade-types small{font-size:8px}.upgrade-apply{gap:9px}.upgrade-apply select{max-width:calc(100% - 95px)}.element-rules{grid-template-columns:1fr}.defense-attachments>i{width:17px;height:21px}.defense-attachments b{font-size:8px}}
.draft-detail{order:-1}.draft-detail .primary{box-shadow:0 3px 12px #0004}.spell-type:has(b){justify-content:flex-start;padding-left:8px}
.ready-shields{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:9px 0 0;color:#91b5b0;font-size:9px}.ready-shield{border:1px solid #577d705e;background:#29463a70;border-radius:3px;padding:4px 7px;color:#b9d4b9}.applied-buff{cursor:crosshair}
/* Defense layers and named combat stats. */
.hand-summary{display:flex;justify-content:space-between;gap:10px;padding:10px 8px 0;font-size:9px;letter-spacing:.5px;color:#9caf8c}.hand-summary b{color:#d1d8b0;margin-left:5px}.hand.large-hand{overflow-x:auto;justify-content:flex-start;gap:9px;padding:18px 8px}.large-hand .hand-card{flex:0 0 124px;width:124px;max-width:124px;margin:0;transform:none}.large-hand .hand-card:hover{transform:translateY(-10px);z-index:5}
.relic-strip{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:7px 0;color:#c4b982}.relic-strip>button{display:inline-flex;align-items:center;gap:5px;font-size:9px;border:1px solid #80744955;border-radius:3px;padding:4px 7px;background:#2e312055;color:#c6bd8b}.relic-strip>button:first-child{border-color:transparent;background:none;color:#9fa17f}.relic-strip>button:hover{border-color:#d4b979;color:#e0cfa1}
.relic-reward{border-top:1px solid #786c414f;border-bottom:1px solid #786c414f;padding:19px 0;margin:4px 0 20px}.relic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.relic-option{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;border:1px solid #82734388;background:radial-gradient(ellipse at top,#4a422a66,#17251d);border-radius:6px;padding:18px 12px;min-width:0;color:#d5c492}.relic-option>b{font:600 22px var(--serif);line-height:1.1}.relic-option>p{font-size:11px;line-height:1.6;color:#b8c19c;margin:0}.relic-medallion{display:grid;place-items:center;width:61px;height:61px;border:1px solid #c3a45e;border-radius:50%;background:radial-gradient(circle,#82713a66,#1a271a);box-shadow:inset 0 0 0 4px #1d2c20,inset 0 0 0 5px #b49b4e44;color:#e2c484}.relic-option[data-relic-pick]:not(:disabled):hover,.relic-option.picked{border-color:#e2c37a;background:radial-gradient(ellipse at top,#88723955,#1b2b1c)}.relic-option:disabled:not(.picked){opacity:.4}.relic-option.picked{box-shadow:inset 0 0 0 1px #e2c37a55;opacity:1}.relic-option>small{color:#e2c37a;font-size:10px;text-transform:uppercase;letter-spacing:1px}.relic-reward .upgrade-heading>span{color:#b1b68d}
@media(max-width:600px){.relic-grid{gap:7px}.relic-option{padding:12px 7px;gap:8px}.relic-option>b{font-size:18px}.relic-option>p{font-size:10px;line-height:1.45}.relic-medallion{width:45px;height:45px}.relic-medallion svg{width:23px;height:23px}.relic-strip>button{font-size:8px;padding:3px 5px}.hand-summary{font-size:9px}.large-hand .hand-card{flex-basis:108px;width:108px;min-width:108px}.relic-strip{gap:4px}.topbar nav{gap:4px}}
.entity-defenses{display:flex;align-items:center;justify-content:space-around;gap:4px;border-top:1px solid #6b805744;border-bottom:1px solid #56674644;padding:5px 4px;background:#122119;font-size:8px}.entity-defenses>span{display:flex;gap:3px;align-items:center}.defense-block{color:#c8d2b0}.defense-barrier{color:#90c6d3}.entity-defenses b{font-weight:600;font-size:11px}.stat-pills{display:flex;gap:3px;flex-wrap:wrap;padding:4px;min-height:4px}.stat-pill{display:inline-flex;align-items:center;gap:3px;font-size:8px;line-height:1.4;border:1px solid color-mix(in srgb,var(--stat-color) 40%,transparent);background:#172319dd;border-radius:2px;padding:2px 4px;color:var(--stat-color);white-space:nowrap}.stat-pill>b{font-size:9px;font-weight:600}.stat-pill.debuff{background:#45292255}.enemy-row .stat-pill{background:#2b221bd9}.defense-order{display:flex;gap:5px;justify-content:center;align-items:center;padding:9px 5px;border-bottom:1px solid #47543c;color:#a8bc98;font-size:9px}.defense-order>i{font-style:normal;color:#6d8e66}.hit-defense-layers{display:block;font-size:9px;color:#a3d0c4;margin-top:5px;line-height:1.5}.hit-defense-sources{display:block;font-size:7px;color:#87a190;margin-top:3px}.hit-numbers>small{max-width:65px;line-height:1.6;text-align:center;white-space:normal}.hit-numbers>em{font-size:7px}.intent-totals{gap:5px;flex-wrap:wrap}.stat-glossary{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding:10px 0;border-top:1px solid #4c6339}.stat-glossary p{font-size:11px;margin:7px 0}.floating-number.barrier{color:#a0d4e1;font-size:23px}.spell-type{letter-spacing:.5px}.spell-text{line-height:1.38}.spell-card.tier-3 .spell-text,.spell-card.tier-4 .spell-text,.spell-card.tier-5 .spell-text{font-size:9px}
@media(min-width:1400px){.stat-pill{font-size:9px}.stat-pill>b{font-size:10px}.entity-defenses{font-size:9px}.entity-defenses b{font-size:12px}.spell-card.tier-3 .spell-text,.spell-card.tier-4 .spell-text,.spell-card.tier-5 .spell-text{font-size:10px}}
@media(max-width:600px){.entity-defenses{font-size:6px;gap:2px;padding:4px 2px;flex-wrap:wrap}.entity-defenses svg{width:8px;height:8px}.entity-defenses b{font-size:8px}.stat-pills{gap:2px;padding:3px}.stat-pill{font-size:5.5px;gap:2px;padding:2px 3px}.stat-pill svg{width:7px;height:7px}.stat-pill>b{font-size:7px}.defense-order{font-size:10px;gap:8px;padding:10px}.hit-defense-layers{font-size:10px}.hit-defense-sources{font-size:8px}.stat-glossary{grid-template-columns:1fr}.spell-card.tier-3 .spell-text,.spell-card.tier-4 .spell-text,.spell-card.tier-5 .spell-text{font-size:7px}}
/* Keep queued effects in the card's layout, clear of the portrait and HP. */
.intent-stack{position:relative;inset:auto;z-index:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:5px;max-width:none;width:100%;padding:6px;pointer-events:auto;border-top:1px solid #73805244;background:#101c1499}
.intent-stack-title{grid-column:1/-1;color:#b9c29a;font-size:9px;letter-spacing:.5px;line-height:1.4}
.intent-stack .applied-card{width:100%;min-width:0;min-height:34px;margin:0;transform:none;box-shadow:none}
.intent-stack .applied-card>span{flex:1;min-width:0;max-width:none;font-size:7px}
.intent-stack .applied-card b{font-size:12px}
.intent-stack .more-intents{position:static;grid-column:1/-1;color:#b9c29a;font-size:9px;text-align:center}
.intent-stack .defense-attachments{position:static!important;flex:0 0 auto!important;flex-wrap:wrap;gap:2px;max-width:42px!important}
.intent-stack .defense-attachments>i{width:17px;height:23px}
.intent-stack .applied-card:has(.defense-attachments){grid-column:1/-1;margin:0}
@media(max-width:600px){.intent-stack{grid-template-columns:minmax(0,1fr);padding:4px;gap:4px}.intent-stack-title{font-size:8px;letter-spacing:0}.intent-stack .applied-card{min-height:29px}.intent-stack .applied-card>span{font-size:6px}.intent-stack .applied-card b{font-size:10px}.intent-stack .defense-attachments{max-width:36px!important}.intent-stack .defense-attachments>i{width:14px;height:20px}}
/* Stable card sizes across browser zoom breakpoints. */
@media(min-width:851px){
 .battle-screen{max-width:1620px;padding:0 18px 18px}
 .battle-screen .scorebar{height:57px}
 .battle-layout{grid-template-columns:minmax(0,1fr) clamp(240px,23vw,292px);gap:16px;align-items:start}
 .table{padding:12px 12px 0}
 .battle-board .entity-row{gap:12px;max-width:100%}
 .battle-board .entity-face{height:132px}
 .battle-board .entity-title{font-size:20px}
 .battle-board .entity-role{font-size:7px}
 .battle-board .unit-abilities{grid-template-columns:repeat(2,minmax(0,1fr))}
 .battle-board .unit-ability{min-height:25px;padding:4px}
 .battle-board .turn-strip{height:31px;margin:3px 0}
 .relic-strip{padding:4px 0;gap:4px}
 .table-footer{height:54px;position:sticky;bottom:0;z-index:25;background:#17201af5}
 .intent-panel{position:sticky;top:10px;max-height:calc(100dvh - 20px);overflow-y:auto;scrollbar-gutter:stable}
}
.hand-area{min-height:0;height:225px;padding:0;flex:0 0 auto;gap:8px}
.hand,.hand.large-hand{height:100%;min-height:0;overflow-x:auto;overflow-y:hidden;justify-content:safe center;gap:8px;padding:12px 8px;scrollbar-gutter:stable;scroll-snap-type:x proximity}
.hand .hand-card,.hand.large-hand .hand-card{flex:0 0 132px;width:132px;min-width:132px;max-width:132px;margin:0;transform:none!important;scroll-snap-align:center}
.hand .spell-card{width:100%;height:201px}
.hand .spell-name{height:26px;font-size:15px}
.hand .spell-image{height:66px}
.hand .spell-text{font-size:10px;min-height:0;overflow-y:auto;justify-content:safe center}
.hand .spell-card.summon .spell-text,.hand .spell-card.tier-3 .spell-text,.hand .spell-card.tier-4 .spell-text,.hand .spell-card.tier-5 .spell-text{font-size:9px}
.hand-card:hover .spell-card,.hand-card:focus-within .spell-card{outline:1px solid #ddc483;box-shadow:0 0 15px #c9ae7330}
@media(min-width:851px) and (max-height:740px){.hand-area{height:195px}.hand .spell-card{height:173px}.hand .spell-image{height:46px}.battle-board .entity-face{height:112px}.table-footer{height:48px}.battle-screen .scorebar{height:46px}}
@media(max-width:850px){.battle-board{min-width:0}.hand,.hand.large-hand{justify-content:flex-start}}
@media(max-width:600px){body{min-width:320px}.hand-area{height:195px;gap:4px}.hand .hand-card,.hand.large-hand .hand-card{flex-basis:108px;width:108px;min-width:108px;max-width:108px}.hand .spell-card{height:173px}.hand .spell-name{font-size:12px;height:24px}.hand .spell-image{height:54px}.hand .spell-text{font-size:8px}.hand .spell-card.summon .spell-text,.hand .spell-card.tier-3 .spell-text,.hand .spell-card.tier-4 .spell-text,.hand .spell-card.tier-5 .spell-text{font-size:8px}}
