:root{color-scheme:dark}.lobby-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.lobby-heading .eyebrow{margin:0}.lobby-heading button{padding:0;font-size:10px;white-space:nowrap}.start-dialog{width:1000px}.start-dialog[open]{grid-template-columns:.85fr 1fr}.start-art{min-height:720px}.start-content{padding:28px 32px}.start-content h1{margin-top:18px;font-size:32px;line-height:1.3}.start-intro{margin-block:14px 18px}.start-content .name-field{margin-bottom:13px}.mode-options{margin-bottom:15px}.deck-picker{display:flex;align-items:flex-end;gap:9px;margin-top:10px}.deck-picker label{flex:1;min-width:0;font-size:10px;color:var(--muted)}.deck-picker .secondary-account{width:auto;padding:11px 12px;font-size:11px;margin:0;white-space:nowrap}.deck-picker select,.opponent-picker select,.workshop-dialog select,.collection-tools select{font:inherit;color:var(--ink);background:#111b2a;border:1px solid #3d4b60;border-radius:5px;padding:10px 12px;min-width:0}.deck-picker select{display:block;width:100%;font-size:12px;margin-top:7px}.deck-description{margin:9px 0 13px;line-height:1.6;min-height:30px}.field-label{font-size:10px;color:var(--muted)}.difficulty-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:7px}.difficulty-options button{padding:9px 4px;background:#1c293b;border:1px solid #3b495c;border-radius:5px;text-align:center}.difficulty-options button[aria-pressed=true]{background:#b3976523;border-color:var(--gold)}.difficulty-options b{display:block;font-size:11px;font-weight:500}.difficulty-options small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.opponent-picker{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:9px;margin:10px 0 17px}.opponent-picker select{flex:1;font-size:10px;padding:7px 9px}.start-foot{margin-top:14px}.bot-options[hidden]+.lobby-error[hidden]+.primary{margin-top:15px}.unit.stealthed{box-shadow:0 0 15px #b899f442;filter:saturate(.75)}.unit.stealthed img{opacity:.74}.unit.silenced .unit-keyword{color:#a3adba}.unit.silenced img{filter:saturate(.5)}.unit.rebirth-ready{border-style:double}.hero-info strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workshop-dialog{padding:0;width:1160px;max-width:calc(100% - 28px);overflow:hidden}.workshop-header{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #3b4658;background:#171f2e;gap:15px}.workshop-header .eyebrow{font-size:8px;margin-bottom:9px}.workshop-header h2{font-size:25px;font-weight:500;letter-spacing:-.7px}.workshop-layout{display:grid;grid-template-columns:minmax(0,1fr)334px;height:min(720px,calc(100dvh - 160px))}.workshop-library{padding:20px 22px;display:flex;flex-direction:column;min-height:0;min-width:0}.workshop-elements{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:13px}.workshop-elements button{background:transparent;color:var(--muted);border:1px solid #39485b;border-radius:20px;font-size:11px;padding:7px 12px}.workshop-elements button[aria-pressed=true]{background:#c4a7731f;border-color:var(--gold);color:var(--gold)}.workshop-filters{display:grid;grid-template-columns:minmax(100px,1fr)100px 90px auto;gap:7px;align-items:center;margin-bottom:15px}.workshop-filters input{width:100%;min-width:0;padding:9px 10px;font:inherit;font-size:11px;background:#111b2a;border:1px solid #3d4b60;border-radius:5px;color:var(--ink)}.workshop-filters select{padding:8px 5px;font-size:10px}.workshop-filters>span{font-size:9px;color:var(--muted)}.workshop-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start;overflow-y:auto;padding:1px 7px 10px 1px;scrollbar-width:thin;scrollbar-color:#566677 transparent}.workshop-card{border:1px solid #3e495d;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;background:#121d2b}.workshop-card.in-deck{border-color:#b59c6e}.workshop-card-art{height:119px;position:relative;flex-shrink:0}.workshop-card-art img{height:100%;width:100%;object-position:center 25%}.workshop-card-art:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 50%,#121d2b)}.workshop-card-art>span{position:absolute;top:7px;left:8px;z-index:1;border:1px solid #b0d8e1;background:#172e46;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font:19px Georgia,serif}.workshop-card-art>small{position:absolute;bottom:3px;right:8px;z-index:1;font-size:8px;color:var(--gold)}.workshop-card-copy{padding:9px 11px 11px;display:flex;flex-direction:column;flex:1}.workshop-card h3{font-size:12px;font-weight:500;margin:0 0 8px;letter-spacing:-.4px}.workshop-card-copy>b{font-size:10px;color:var(--gold);font-weight:400}.workshop-card-copy>p{font-size:10px;color:#a7b4c6;line-height:1.65;margin:9px 0 12px;flex:1;min-height:48px}.workshop-card-copy>div{display:flex;align-items:center;justify-content:space-between;color:#91a0b5;font-size:10px}.workshop-card button,.draft-row button{background:#28364a;border:1px solid #526078;border-radius:4px;color:#d4bc89;width:27px;height:25px;display:grid;place-items:center;font-size:17px}.workshop-card button:disabled,.draft-row button:disabled{opacity:.3}.workshop-draft{padding:20px;display:flex;flex-direction:column;min-height:0;border-left:1px solid #3b4658;background:#111a27}.draft-title{display:flex;align-items:flex-end;gap:10px}.draft-title label{font-size:9px;color:var(--muted);flex:1;min-width:0}.draft-title input{display:block;width:100%;font:inherit;font-size:13px;color:var(--ink);padding:8px 0 6px;background:transparent;border:0;border-bottom:1px solid #455167;outline-offset:4px;margin-top:4px}.draft-title>strong{font:22px Georgia,serif;color:#a3adbd;white-space:nowrap}.draft-title>strong.complete{color:var(--gold)}#workshop-summary{font-size:9px;color:var(--muted);margin-top:12px}.workshop-curve{display:flex;height:65px;align-items:flex-end;justify-content:space-between;gap:5px;margin:10px 0}.curve-bar{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;min-width:0}.curve-bar>span{font-size:8px;color:#a1b8ca}.curve-bar>i{display:block;width:100%;max-height:42px;min-height:3px;background:linear-gradient(#9ecdd5,#4e6a91);border-radius:3px 3px 0 0}.curve-bar>small{font-size:8px;color:#8693a7}.workshop-advice{font-size:9px;line-height:1.6;color:#a8bdac;min-height:29px;margin-bottom:13px}.workshop-template{display:flex;gap:5px;align-items:center;margin-bottom:12px}.workshop-template select{width:100%;font-size:9px;padding:7px 3px}.workshop-template button{border:1px solid #46546a;border-radius:4px;color:#b8c2d0;background:#1d2a3a;font-size:9px;padding:8px 6px;white-space:nowrap}.workshop-list{min-height:60px;flex:1;overflow-y:auto;scrollbar-width:thin;margin-bottom:8px}.draft-row{display:flex;gap:6px;align-items:center;padding:5px 0;border-bottom:1px solid #2c394a55}.draft-row>img{width:27px;height:29px;border-radius:3px;object-position:center 25%}.draft-cost{font-size:10px;color:#a8d5e4;width:10px}.draft-name{font-size:10px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.draft-row button{width:21px;height:21px;font-size:14px;flex-shrink:0}.draft-row>b{font-size:10px;color:var(--gold);min-width:9px;text-align:center}.workshop-status{font-size:10px;color:#a7d1b6;line-height:1.6;min-height:17px;margin:5px 0 10px}.workshop-status.error{color:#f1aaa4}.workshop-draft>.primary{font-size:11px;padding:12px 5px}.saved-heading{display:flex;justify-content:space-between;align-items:center;margin:17px 0 8px}.saved-heading h3{font-size:11px;font-weight:500;margin:0}.saved-heading span{font-size:9px;color:var(--muted)}#workshop-saved{max-height:110px;overflow-y:auto;min-height:20px}.saved-deck{display:flex;align-items:center;gap:4px;padding:5px 0}.saved-deck strong{font-size:10px;font-weight:400;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-deck button{background:transparent;border:1px solid #3c4c60;border-radius:4px;color:var(--muted);font-size:9px;padding:5px;white-space:nowrap}.workshop-empty{font-size:10px;line-height:1.7;color:var(--muted);padding:8px 0}
@media(max-width:1000px) and (min-width:761px){.workshop-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-layout{grid-template-columns:minmax(0,1fr)300px}.workshop-filters{grid-template-columns:minmax(0,1fr)90px}.workshop-filters>span{display:none}.topbar{padding-inline:20px}.topbar .menu-button{padding-inline:7px}}
@media(max-width:760px){.topbar{height:auto;min-height:100px;padding:13px 15px 10px;gap:9px;flex-wrap:wrap}.topbar .brand{font-size:20px}.topbar nav{width:100%;justify-content:space-between;gap:0}.topbar .menu-button{font-size:10px;padding:8px 4px}.topbar .outlined{padding-inline:9px}.start-dialog{width:470px}.start-dialog[open]{display:block}.start-art{height:118px;min-height:118px}.start-content{padding:14px 21px 20px}.start-content h1{font-size:25px;margin-top:13px;line-height:1.3}.start-content .start-intro{font-size:10px;margin:10px 0 13px}.start-content .name-field{margin-bottom:11px}.deck-picker select{font-size:16px;padding:8px}.deck-picker .secondary-account{font-size:10px;padding:11px 9px}.deck-description{font-size:9px;margin-bottom:10px;min-height:25px}.difficulty-options button{padding:8px 3px}.difficulty-options b{font-size:11px}.difficulty-options small{font-size:8px}.opponent-picker{margin-bottom:13px}.opponent-picker select{font-size:12px;padding:6px}.lobby-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.start-foot{font-size:8px}.hero-info strong{max-width:124px}.workshop-dialog{max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);overflow-y:auto}.workshop-header{padding:17px;position:sticky;top:0;z-index:4}.workshop-header h2{font-size:21px}.workshop-header .eyebrow{font-size:7px;letter-spacing:2px}.workshop-header button{font-size:10px}.workshop-layout{display:flex;flex-direction:column;height:auto}.workshop-draft{order:0;padding:17px;border:0;border-bottom:1px solid #3b4658}.workshop-library{order:1;padding:18px 14px;min-height:440px}.workshop-list{max-height:142px;min-height:30px}.workshop-curve{height:43px;margin-block:7px}.curve-bar i{max-height:24px}.workshop-advice{min-height:0;margin-bottom:10px}.workshop-draft>.primary{font-size:12px}.saved-heading{margin-top:14px}#workshop-saved{max-height:78px}.workshop-filters{grid-template-columns:minmax(0,1fr)90px 75px}.workshop-filters input{grid-column:1/-1;font-size:16px;padding:10px}.workshop-filters select{font-size:12px;padding:7px}.workshop-elements{gap:5px}.workshop-elements button{padding:7px 10px;font-size:10px}.workshop-catalog{grid-template-columns:repeat(2,minmax(0,1fr));max-height:60dvh;gap:9px}.workshop-card-art{height:116px}.workshop-card-copy{padding:9px}.workshop-card h3{font-size:11px}.workshop-card-copy>p{font-size:10px}.workshop-card button{width:31px;height:29px}.draft-title input{font-size:16px}.draft-row button{width:27px;height:25px}.draft-name{font-size:11px}.workshop-template select{font-size:12px}.workshop-template button{font-size:10px}.collection-tools select{font-size:16px}.saved-deck button{font-size:10px;padding:6px}}
/* Keep card rules and deck editing readable at normal browser zoom. */
.workshop-card-copy>p{font-size:12px;line-height:1.65}.workshop-card h3{font-size:14px}.draft-name{font-size:12px}.workshop-card-copy>b{font-size:11px}.workshop-status{font-size:11px}.workshop-draft>.primary{font-size:13px}.saved-deck strong{font-size:11px}.hand-card .card-name{font-size:10px;line-height:1.3}.unit .unit-name{overflow:hidden;text-overflow:ellipsis}.workshop-advice{font-size:10px}.deck-description{font-size:11px}
@media(max-width:760px){.workshop-card-copy>p{font-size:11px}.workshop-card h3{font-size:12px}.deck-description{font-size:10px}.workshop-card-copy>p{min-height:58px}.workshop-status{font-size:11px}}
@media(min-width:900px) and (max-height:850px){.topbar{height:64px;padding-inline:26px}.brand{font-size:22px}.sigil{font-size:36px}.layout{margin-top:12px;margin-bottom:9px;gap:24px}.duel-meta{margin-bottom:9px}.battlefield{padding:10px 18px 7px}.hero{padding:5px 9px 5px 5px;gap:8px;min-width:225px}.hero img{width:34px;height:34px}.hero-info{gap:3px}.hero-hp{font-size:24px}.field-row{min-height:105px;gap:12px}.slot{height:105px}.unit{height:105px;max-width:106px}.unit .unit-name{font-size:9px;bottom:26px}.unit-stats{font-size:16px;bottom:6px}.unit-keyword{font-size:7px;padding:2px 4px}.ailment-icons{top:24px;font-size:10px}.lane-label{margin:7px 0 5px}.player-lane{margin:5px 0 7px}.turn-divider{margin:8px 0}.end-turn{padding:9px 12px}.hand-heading{margin:10px 0 5px}.hand{min-height:116px;padding-block:5px}.hand-card{height:108px;width:91px;flex-basis:91px}.hand-card .card-name{font-size:9px;bottom:25px}.hand-card .card-mini-stats{bottom:7px;font-size:12px}.hand-card .spell-caption{bottom:7px;font-size:8px}.hand-card .cost{width:23px;height:25px;font-size:17px;top:5px;left:5px}.hint-bar{font-size:10px;margin-top:4px}.card-inspector{min-height:250px}.card-inspector .full-card{aspect-ratio:.97}.card-inspector .card-copy{bottom:14px}.card-inspector .large-stats{margin-top:9px}.inspect-description{margin:11px 0;min-height:40px}.use-card{padding:11px 7px;font-size:11px;min-height:38px}.battle-log{margin-top:17px;padding-top:12px}.battle-log ol{margin-top:10px;min-height:0;max-height:108px;overflow-y:auto;scrollbar-width:thin}.battle-log li{font-size:9px;padding-block:2px}.side-note{display:none}}
