#online-picker>summary{width:154px;justify-content:flex-start}#online-picker.is-active>summary{background:#203e4d;color:#a3edff;border-color:#528c9f}#online-game-name{overflow:hidden;text-overflow:ellipsis}#online-picker .game-menu{width:270px}#online-picker #online-game{display:flex;width:100%;height:40px;justify-content:flex-start;padding:9px 10px}.cr-online-mark{color:#b8a475;font-size:17px}
#crown-panel{--cr-bg:#0c1722;--cr-panel:#13232f;--cr-line:#2a3d4b;--cr-text:#e5edf2;--cr-muted:#8ea5b5;--cr-gold:#e5c183;background:var(--cr-bg);color:var(--cr-text);border:1px solid var(--cr-line);overflow:hidden;font-family:inherit}#crown-panel [hidden]{display:none!important}#crown-panel button,#crown-panel input{font:inherit}#crown-panel button{cursor:pointer;border:1px solid #3a5262;background:#192e3d;color:#dce9ee;border-radius:5px;min-height:38px;padding:7px 12px;font-size:12px;line-height:1.4;transition:background .15s,border-color .15s}#crown-panel button:hover:not(:disabled){background:#274152;border-color:#8caabe}#crown-panel button:disabled{cursor:default;opacity:.42}#crown-panel button:focus-visible,#crown-panel input:focus-visible{outline:2px solid var(--cr-gold);outline-offset:2px}#crown-panel .cr-primary{background:#d9b87b;color:#172432;border-color:#d9b87b;font-weight:800}#crown-panel .cr-primary:hover:not(:disabled){background:#eed39f;border-color:#eed39f}#crown-panel h1,#crown-panel h2,#crown-panel p{margin:0}#crown-panel small{font-size:10px;color:var(--cr-muted)}
.cr-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:#101f2b;border-bottom:1px solid var(--cr-line);gap:12px}.cr-brand{display:flex;align-items:center;gap:13px}.cr-crown{font-size:34px;color:var(--cr-gold);line-height:1}.cr-brand small{letter-spacing:3px;color:var(--cr-gold)!important;font-size:9px!important}.cr-brand h1{font-size:21px!important;letter-spacing:-.8px;margin-top:3px!important}.cr-phase{text-align:center;min-width:120px}.cr-phase strong{display:block;font-size:13px}.cr-phase span{display:block;color:var(--cr-muted);font-size:11px;font-variant-numeric:tabular-nums;margin-top:4px}.cr-header-actions{display:flex;gap:7px}.cr-header-actions button{font-size:11px!important;min-height:32px!important}
.cr-home{display:grid;grid-template-columns:1fr 1.05fr;max-width:1200px;margin:auto;padding:58px 46px 30px;gap:36px;min-height:600px;align-items:center}.cr-eyebrow{font-size:11px;letter-spacing:2px;color:var(--cr-gold)}.cr-home h2{font-size:clamp(29px,3.3vw,47px)!important;line-height:1.35;letter-spacing:-1.8px;margin:20px 0!important;font-weight:800}.cr-home h2 em{font-style:normal;color:var(--cr-gold)}.cr-home-copy>p{font-size:13px;line-height:1.9;color:var(--cr-muted)}.cr-home-buttons{display:flex;gap:10px;margin-top:30px}.cr-home-buttons button{min-width:160px;padding:13px 20px!important;text-align:left;font-size:15px!important}.cr-home-buttons button span{display:block;font-size:10px;font-weight:400;margin-top:6px;opacity:.8}.cr-home .cr-small{margin-top:16px!important;font-size:10px}.cr-home-art{position:relative;align-self:stretch;min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center}.cr-orbit{font-size:58px;color:var(--cr-gold);text-align:center;margin-bottom:22px}.cr-home-art:before{content:'';position:absolute;inset:15px 0;border:1px solid #b7975e33;border-radius:50%;transform:rotate(-15deg);pointer-events:none}.cr-home-art:after{content:'';position:absolute;inset:0 35px;border:1px solid #b7975e22;border-radius:50%;transform:rotate(30deg);pointer-events:none}#cr-hero-portraits{display:flex;justify-content:center;gap:12px;align-items:center;position:relative;z-index:1}#cr-hero-portraits>div{display:flex;flex-direction:column;align-items:center;gap:8px}#cr-hero-portraits>div:nth-child(even){transform:translateY(24px)}#cr-hero-portraits .cr-portrait{width:98px;height:135px;border-radius:44px 44px 8px 8px;border-color:#ab91cf;box-shadow:0 8px 24px #02070b88}#cr-hero-portraits small{letter-spacing:4px;color:#b4bdce;font-size:9px}.cr-art-label{margin-top:48px;position:relative;z-index:1;text-align:center;line-height:1.8}.cr-art-label span{font-size:10px;letter-spacing:4px;color:var(--cr-muted)}.cr-art-label strong{display:block;font-size:21px;color:var(--cr-gold);letter-spacing:-.5px}.cr-home-rules{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--cr-line);padding-top:25px;margin-top:14px;gap:20px}.cr-home-rules>div{display:grid;grid-template-columns:34px 1fr;gap:4px 12px}.cr-home-rules b{grid-row:span 2;color:var(--cr-gold);font-size:22px;font-weight:300}.cr-home-rules strong{font-size:12px}.cr-home-rules span{font-size:11px;color:var(--cr-muted)}
.cr-portrait{display:inline-block;width:40px;height:40px;flex-shrink:0;background-size:contain;border:1px solid var(--tier,#677f90);border-radius:4px;background-repeat:no-repeat;background-color:#0c1824}
.cr-online-home,.cr-lobby{max-width:1050px;margin:0 auto;padding:45px 30px;min-height:560px}.cr-online-heading h2{font-size:24px;margin-bottom:10px!important}.cr-online-heading p,.cr-small{font-size:12px;line-height:1.8;color:var(--cr-muted);margin-top:15px!important}.cr-room-form{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;margin:30px 0}.cr-room-form label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:var(--cr-muted)}.cr-room-form input{height:38px;width:140px;border:1px solid var(--cr-line);background:#09151f;padding:8px 10px;color:var(--cr-text);border-radius:4px;box-sizing:border-box}#cr-code{letter-spacing:3px}.cr-room-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cr-room-list button{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:18px!important;text-align:left}.cr-room-list button code{flex-basis:100%;color:var(--cr-gold);font-size:18px}.cr-lobby-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.cr-lobby-head h2{font-size:19px;margin-top:8px!important}.cr-lobby-head b{font-size:30px;color:var(--cr-gold);letter-spacing:5px;margin-left:15px}.cr-members{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.cr-member{border:1px solid var(--cr-line);background:var(--cr-panel);padding:22px 18px;display:flex;flex-direction:column;gap:12px;min-height:100px}.cr-member>span{font-size:11px;color:var(--cr-muted)}.cr-member strong{font-size:15px;overflow-wrap:anywhere}.cr-member.is-me{border-color:var(--cr-gold)}.cr-member.is-me small{color:var(--cr-gold)!important}.cr-lobby-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.cr-play{display:grid;grid-template-columns:200px minmax(350px,1fr) 286px;align-items:start;max-width:1600px;margin:auto}.cr-standings,.cr-crafting{padding:20px 16px;min-width:0}.cr-standings{border-right:1px solid var(--cr-line)}.cr-crafting{border-left:1px solid var(--cr-line)}.cr-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:4px}.cr-section-title h2{font-size:14px!important}.cr-section-title>span{font-size:10px;color:var(--cr-muted)}#cr-ranking{display:flex;flex-direction:column;gap:8px}#crown-panel .cr-rank{display:grid;grid-template-columns:23px 1fr 24px;gap:6px;align-items:center;padding:10px 6px;text-align:left;min-height:68px;background:#10202c;border-color:transparent;width:100%}.cr-rank>span:nth-child(2){min-width:0}.cr-rank strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:105px}.cr-rank strong small{color:var(--cr-gold)!important}.cr-rank em{display:block;height:3px;background:#2b3a47;margin:8px 0 4px}.cr-rank em i{display:block;height:100%;background:#6fbdad}.cr-rank small{font-size:9px!important}.cr-rank>b{font-size:16px;color:#c6dbe4;font-variant-numeric:tabular-nums}.cr-rank-icon{color:var(--cr-muted);font-size:19px;text-align:center}.cr-rank.is-me{border-color:#b49458!important;background:#1e2c31!important}.cr-rank.is-out{opacity:.45}.cr-damage-key{margin-top:28px;border-top:1px solid var(--cr-line);padding-top:16px}.cr-damage-key>div{display:flex;justify-content:space-between;gap:6px;margin-top:14px}.cr-damage-key span{font-size:9px;text-align:center}.cr-damage-key b{display:block;font-size:16px;margin-top:5px}
.cr-center{padding:18px 20px;min-width:0}.cr-match-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.cr-match-head small{letter-spacing:2px;color:var(--cr-gold)!important}.cr-match-head strong{display:block;font-size:12px;margin-top:4px;overflow-wrap:anywhere}.cr-wallet{display:flex;gap:16px;flex-shrink:0}.cr-wallet span{font-size:10px;color:var(--cr-muted);display:flex;flex-direction:column;gap:3px;text-align:right}.cr-wallet b{font-size:24px;color:#e4ecf1;line-height:1.1;font-variant-numeric:tabular-nums}.cr-wallet .cr-gold b{color:var(--cr-gold)}.cr-arena{position:relative;border:1px solid #304552;border-radius:5px;overflow:hidden;background:#111e2b}.cr-arena canvas{display:block;width:100%;height:auto;aspect-ratio:840/640}.cr-result{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;background:#091522d9;backdrop-filter:blur(3px);padding:12px}.cr-result>small{letter-spacing:3px;color:var(--cr-gold)!important}.cr-result h2{font-size:34px;color:var(--cr-gold)}.cr-result p{font-size:12px;color:#bed0dc}.cr-result button{margin-top:10px}.cr-formation-head,.cr-bench-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 8px}.cr-formation-head strong,.cr-bench-head strong{font-size:12px}.cr-formation-head strong span,.cr-bench-head strong span{color:var(--cr-gold);font-size:10px;padding-left:5px}.cr-formation-head>span,.cr-bench-head>span{font-size:9px;color:var(--cr-muted)}.cr-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}#crown-panel .cr-slot{min-height:66px;padding:5px;display:flex;align-items:center;gap:6px;background:#10212d;border-color:#2b404f;text-align:left;width:100%;min-width:0;overflow:hidden}.cr-slot .cr-portrait{width:37px;height:48px}.cr-unit-label{display:flex;flex-direction:column;gap:6px;min-width:0}.cr-unit-label strong{font-size:9px;line-height:1.4;overflow-wrap:anywhere}.cr-unit-label small{font-size:8px!important;white-space:nowrap}.cr-slot-num{color:#4f6a7b;font-size:9px;margin:auto}.cr-slot.has-unit{border-left:2px solid var(--tier)!important}.cr-slot.is-selected,.cr-bench-unit.is-selected{border-color:var(--cr-gold)!important;box-shadow:0 0 0 1px var(--cr-gold)}.cr-action-bar{display:flex;align-items:center;gap:7px;margin-top:12px}#cr-summon{flex:1;display:flex;justify-content:space-between;font-size:13px!important;padding:9px 16px!important}.cr-action-bar>button{min-height:38px;font-size:10px!important;white-space:nowrap}.cr-bench{display:flex;flex-wrap:wrap;gap:6px;min-height:58px;max-height:200px;overflow-y:auto;background:#0a141e;border:1px solid #203441;padding:8px;border-radius:4px}#crown-panel .cr-bench-unit{display:flex;align-items:center;gap:6px;padding:5px;background:#152733}.cr-bench-unit .cr-portrait{width:30px;height:37px}.cr-bench-unit .cr-unit-label{max-width:75px}.cr-bench-empty{font-size:10px;color:var(--cr-muted);align-self:center;padding:8px}.cr-selected{display:flex;align-items:center;gap:8px;margin-top:10px;min-height:60px;color:var(--cr-muted);font-size:10px;background:#12232f;padding:8px;border-radius:4px}.cr-selected>div{display:flex;gap:8px;align-items:center;flex:1;min-width:0}.cr-selected strong{display:block;color:var(--cr-text);font-size:11px}.cr-selected small{display:block;line-height:1.5;margin-top:5px}.cr-selected strong small{display:inline;margin:0}.cr-selected .cr-portrait{width:34px;height:44px}.cr-selected>button{min-height:30px!important;font-size:9px!important;padding:5px!important;white-space:nowrap}
.cr-craft-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:14px}#crown-panel .cr-craft-tabs button{padding:6px 3px;color:var(--tier);font-size:10px;min-height:32px;background:#11212d}#crown-panel .cr-craft-tabs button[aria-pressed=true]{border-color:var(--tier);background:#223747}.cr-recipe{border-bottom:1px solid var(--cr-line);padding:12px 0 14px}.cr-recipe:first-child{padding-top:0}.cr-recipe-head{display:flex;align-items:center;gap:9px}.cr-recipe-head .cr-portrait{width:46px;height:54px}.cr-recipe-head strong{font-size:11px;display:block}.cr-recipe-head small{display:block;font-size:9px!important;line-height:1.7;margin-top:5px}.cr-ingredients{display:flex;flex-direction:column;gap:5px;margin:12px 0}.cr-ingredients>span{display:flex;align-items:center;gap:7px;opacity:.65}.cr-ingredients .cr-portrait{width:22px;height:25px}.cr-ingredients>span>span:not(.cr-portrait){display:flex;flex:1;align-items:center;justify-content:space-between;font-size:10px}.cr-ingredients b{color:var(--cr-muted);font-size:10px;font-weight:400}.cr-ingredients .is-met{opacity:1}.cr-ingredients .is-met b{color:#79d6b4}.cr-recipe>button{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:30px!important;font-size:10px!important}.cr-recipe.is-available>button{border-color:#d9b87b!important;color:#e7c587!important}.cr-economy{margin-top:18px;padding:14px 0;border-bottom:1px solid var(--cr-line);color:var(--cr-muted)}.cr-economy strong,.cr-battle-log>strong{font-size:11px;color:var(--cr-text)}.cr-economy p{font-size:10px;line-height:1.9;margin-top:8px!important}.cr-economy>span{display:block;font-size:10px;color:var(--cr-gold);margin-top:10px}.cr-battle-log{margin-top:16px}.cr-battle-log p{display:flex;gap:8px;align-items:center;margin-top:12px!important;font-size:10px}.cr-battle-log p>span{color:var(--cr-muted)}.cr-win{color:#8ed9bf}.cr-loss{color:#eda3a3}.cr-message{padding:10px 22px;border-top:1px solid var(--cr-line);font-size:11px;color:var(--cr-muted);min-height:37px;line-height:1.6}.cr-message button{min-height:24px!important;padding:2px 7px!important;font-size:10px!important}
.cr-dialog{background:#13232f;color:#e5edf2;border:1px solid #526272;border-radius:8px;max-width:600px;width:calc(100% - 36px);padding:26px;font-family:inherit;box-sizing:border-box}.cr-dialog::backdrop{background:#020b15c9}.cr-dialog h2{margin:15px 0 20px;font-size:22px}.cr-dialog p{font-size:12px;color:#9db1c0;line-height:1.8}.cr-dialog ol{padding-left:20px}.cr-dialog li{font-size:12px;line-height:1.9;margin-bottom:12px;color:#a8bdca}.cr-dialog li strong{color:#e5edf2}.cr-dialog button{font:inherit;font-size:12px;min-height:35px;border:1px solid #4b667a;background:#233c4e;color:#e5edf2;border-radius:4px;padding:7px 12px;cursor:pointer}.cr-dialog-close{float:right}
@media(min-width:1600px){.cr-play{grid-template-columns:230px minmax(350px,1fr) 310px}.cr-rank strong{max-width:130px}.cr-slot .cr-portrait{width:45px;height:52px}.cr-unit-label strong{font-size:11px}}
@media(max-width:1200px){.cr-play{grid-template-columns:160px minmax(310px,1fr) 240px}.cr-standings,.cr-crafting{padding:16px 10px}.cr-center{padding:16px 12px}.cr-rank strong{max-width:82px;font-size:10px}.cr-rank small{font-size:8px!important}.cr-slot .cr-portrait{width:27px;height:36px}.cr-unit-label strong{font-size:8px}.cr-unit-label small{font-size:7px!important}.cr-formation-head>span{max-width:170px;text-align:right}.cr-home{padding:35px 28px;gap:20px}#cr-hero-portraits{gap:6px}#cr-hero-portraits .cr-portrait{width:82px;height:114px}}
@media(max-width:950px){.cr-play{grid-template-columns:minmax(320px,1fr) 250px}.cr-standings{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--cr-line);padding:10px 14px}.cr-standings .cr-section-title{margin:0 0 8px}#cr-ranking{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}#crown-panel .cr-rank{display:flex;flex-direction:column;min-height:0;padding:7px 3px;gap:4px;text-align:center}.cr-rank strong{max-width:80px;font-size:9px}.cr-rank em{margin:5px 0 0;width:54px}.cr-rank small,.cr-rank-icon{display:none}.cr-rank>b{font-size:13px}.cr-damage-key{display:none}.cr-home{grid-template-columns:1fr;min-height:0}.cr-home-art{display:none}.cr-home-copy{text-align:center}.cr-home-buttons{justify-content:center}.cr-home-rules{text-align:left}.cr-header{padding:14px 18px}}
@media(max-width:700px){#online-picker>summary{width:72px;padding:4px 6px;gap:4px}#online-game-name{display:none}.cr-header{padding:12px 10px;gap:6px}.cr-brand{gap:7px}.cr-brand h1{font-size:16px!important}.cr-brand small{font-size:7px!important;letter-spacing:1.5px}.cr-crown{font-size:27px}.cr-phase{min-width:0}.cr-phase strong{font-size:10px}.cr-phase span{font-size:9px}.cr-header-actions{gap:4px}.cr-header-actions button{padding:4px 7px!important;font-size:9px!important;min-height:29px!important}.cr-play{display:flex;flex-direction:column}.cr-standings,.cr-center,.cr-crafting{width:100%;box-sizing:border-box}.cr-standings{padding:9px 8px}.cr-rank strong{max-width:42px;font-size:8px;line-height:1.5}.cr-rank em{width:34px}.cr-rank>b{font-size:11px}#cr-ranking{gap:3px}.cr-center{padding:12px 9px}.cr-match-head{gap:8px}.cr-match-head strong{font-size:10px}.cr-match-head small{font-size:8px!important}.cr-wallet{gap:10px}.cr-wallet b{font-size:20px}.cr-arena canvas{min-height:185px;object-fit:contain}.cr-formation-head{margin-top:12px}.cr-formation-head>span{max-width:200px;font-size:8px}.cr-slot .cr-portrait{width:29px;height:37px}#crown-panel .cr-slot{min-height:54px;padding:4px;gap:4px}.cr-unit-label strong{font-size:8px}.cr-unit-label small{font-size:7px!important}.cr-action-bar{gap:5px}.cr-action-bar>button{padding:7px 8px!important;font-size:9px!important}#cr-summon{padding:8px 10px!important;font-size:12px!important}.cr-selected{flex-wrap:wrap}.cr-selected>div{flex-basis:100%}.cr-selected .cr-portrait{display:none}.cr-selected>button{flex:1}.cr-crafting{border-left:0;border-top:1px solid var(--cr-line);padding:15px 12px}.cr-section-title{margin-bottom:12px}#cr-recipes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cr-recipe-head .cr-portrait{width:33px;height:43px}.cr-recipe-head{gap:7px}.cr-recipe-head strong{font-size:10px}.cr-recipe-head small{font-size:8px!important}.cr-ingredients>span>span:not(.cr-portrait){font-size:8px;gap:4px}.cr-ingredients .cr-portrait{width:18px;height:21px}.cr-home{padding:35px 17px 24px;gap:14px}.cr-home h2{font-size:33px!important;letter-spacing:-1px}.cr-home-copy>p{font-size:12px}.cr-home-buttons{gap:8px}.cr-home-buttons button{min-width:0;flex:1;padding:13px 14px!important;font-size:14px!important}.cr-home-rules{gap:9px;padding-top:20px}.cr-home-rules>div{display:flex;flex-direction:column;gap:8px}.cr-home-rules strong{font-size:10px}.cr-home-rules span{font-size:9px;line-height:1.6}.cr-home-rules b{font-size:19px}.cr-message{padding:10px 12px;font-size:10px}.cr-online-home,.cr-lobby{padding:28px 16px;min-height:400px}.cr-online-heading h2{font-size:22px}.cr-room-form{gap:10px}.cr-room-form label{width:calc(50% - 5px)}.cr-room-form input{width:100%}.cr-room-form>button{flex:1;min-width:100px}.cr-room-list{grid-template-columns:1fr}.cr-members{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cr-member{padding:16px 12px;min-height:80px}.cr-member strong{font-size:12px}.cr-lobby-head h2{font-size:14px}.cr-lobby-head b{display:block;margin:7px 0 0;font-size:27px}.cr-result h2{font-size:26px}.cr-result p{font-size:10px}.cr-dialog{padding:20px}.cr-dialog h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){#crown-panel button{transition:none}}

#crown-panel [data-cr-unit]{touch-action:none;cursor:grab;user-select:none}#crown-panel .cr-drag-source{opacity:.25}#crown-panel .cr-drop-target{outline:2px solid #ffe3a3;outline-offset:-2px;background:#415343}#crown-panel .cr-is-dragging [data-cr-slot]{cursor:grabbing}.cr-drag-ghost{position:fixed;left:0;top:0;width:150px;padding:10px;display:flex;gap:8px;align-items:center;background:#193747;border:1px solid #e5c183;border-radius:8px;color:#e5edf2;box-shadow:0 10px 30px #0008;pointer-events:none;z-index:10000}.cr-drag-ghost .cr-unit-label{font:11px Pretendard,sans-serif}.cr-drag-ghost .cr-unit-label small{display:block}.cr-drag-ghost .cr-portrait{width:42px;height:42px}#cr-hero-portraits .cr-portrait{background-size:contain;background-position:center;background-repeat:no-repeat;border-radius:50%;width:98px;height:98px}

#crown-panel .cr-selected small.cr-skill-detail{color:#d4c3f2;line-height:1.6;margin-top:4px}.cr-bench{min-height:56px}.cr-arena canvas{display:block;aspect-ratio:84/64;width:100%;height:auto}

/* The accessible hit cells sit on the canvas, using its exact formation geometry. */
#crown-panel #cr-grid{position:absolute;left:11.904762%;top:59.375%;width:76.190476%;height:37.5%;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:0;z-index:2;margin:0;padding:0}
#crown-panel #cr-grid .cr-slot{height:100%;min-height:0;padding:0;border:0!important;border-radius:4px;background:transparent;box-shadow:none;touch-action:none}
#crown-panel #cr-grid .cr-slot>*{opacity:0;pointer-events:none}
#crown-panel #cr-grid .cr-slot:hover:not(:disabled){background:#dceaff09}
#crown-panel #cr-grid .cr-slot.is-selected{outline:1px solid #e5c18380;outline-offset:-3px}
#crown-panel #cr-grid .cr-slot.cr-drop-target{outline:2px solid #ffe3a3;outline-offset:-3px;background:#ffe3a31a}
#crown-panel #cr-grid .cr-slot:focus-visible{outline:2px solid #ffe3a3;outline-offset:-3px}
#crown-panel .cr-result{z-index:3}
#crown-panel .cr-arena canvas{min-height:0;object-fit:fill;aspect-ratio:840/640}
.cr-drag-ghost[hidden]{display:none}

.cr-watch-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:12px;border:1px solid #426374;border-radius:5px;background:#173442}
.cr-watch-bar>div{min-width:0;display:flex;flex-direction:column;gap:5px}
.cr-watch-bar strong{font-size:12px;color:#a8e8d4}
.cr-watch-bar span{font-size:10px;line-height:1.5;color:#aec4cf}
#crown-panel .cr-watch-bar button{font-size:10px;min-height:32px;flex-shrink:0}
#crown-panel .cr-rank.is-watched{outline:1px solid #8ed4c3;outline-offset:-2px}
#crown-panel .cr-rank:disabled{opacity:1;cursor:default}
#crown-panel .cr-rank.is-out{opacity:.45}
#crown-panel .cr-rank small.cr-rank-state{display:block;font-size:8px;color:#9eb8c5}
#crown-panel .cr-view-only [data-cr-unit]{cursor:pointer;touch-action:pan-y}
#crown-panel #cr-army-label{color:var(--cr-text);font-size:12px;padding-left:0}
#crown-panel #cr-info-close{flex:0 0 30px;font-size:17px!important}
@media(max-width:700px){.cr-watch-bar{padding:9px;gap:8px}.cr-watch-bar strong{font-size:11px}.cr-watch-bar span{font-size:9px}#crown-panel .cr-watch-bar button{font-size:9px;padding:6px}}
.cr-round-note{display:flex;flex-wrap:wrap;gap:6px 14px;padding:10px 12px;margin:12px 0;border:1px solid var(--cr-line);border-radius:8px;color:var(--cr-muted);font-size:14px;line-height:1.6}
.cr-round-note strong{color:var(--cr-text)}.cr-round-note.is-neutral{border-color:#75bd9966;background:#244d392e}.cr-round-note.is-neutral strong{color:#9ee5b9}
.cr-finisher-status{position:absolute;top:14px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;padding:9px 15px;border:1px solid #e6cc9466;border-radius:8px;background:#132632ed;color:#f6dfad;font-size:13px;text-align:center;pointer-events:none}

.cr-synergies{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0}.cr-synergies>div{border:1px solid #344957;border-radius:7px;padding:9px;background:#12232c;color:#8ca5b0}.cr-synergies strong,.cr-synergies span,.cr-synergies small{display:block}.cr-synergies strong{font-size:12px}.cr-synergies b{float:right;font-size:10px}.cr-synergies span{font-size:11px;margin:4px 0}.cr-synergies small{font-size:9px}.cr-synergies .is-active{color:#d9ebc2;border-color:#8caf63;background:#283c30}.cr-stats-status{font-size:11px;color:#98acb6;margin:10px 0}@media(max-width:650px){.cr-synergies{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cr-auto-match{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;margin-top:28px;border:1px solid #587b85;background:linear-gradient(115deg,#172a36,#111c28)}.cr-auto-match small{color:var(--cr-gold);font-size:10px;letter-spacing:2px}.cr-auto-match h3{font-size:21px;margin:9px 0}.cr-auto-match p{font-size:12px;color:var(--cr-muted);line-height:1.8}.cr-auto-match button{white-space:nowrap;padding:15px 24px!important}.cr-matching{max-width:680px;margin:auto;padding:45px 24px;text-align:center;min-height:500px;box-sizing:border-box}.cr-match-emblem{font-size:62px;line-height:1.6;color:var(--cr-gold);text-shadow:0 0 40px #88cdeb50}.cr-matching h2{font-size:26px;margin:8px 0 18px!important}.cr-matching #cr-match-count{color:#b8e9f3;font-size:16px}.cr-match-timer{display:flex;align-items:baseline;justify-content:center;gap:10px;margin:25px 0 12px}.cr-match-timer strong{font-size:58px;font-variant-numeric:tabular-nums;color:var(--cr-gold)}.cr-match-timer span{font-size:13px;color:var(--cr-muted)}#cr-match-cancel{margin-top:22px;padding:11px 28px!important}
@media(max-width:700px){.cr-auto-match{align-items:stretch;flex-direction:column;gap:16px;padding:20px}.cr-auto-match h3{font-size:19px}.cr-auto-match p{font-size:11px}.cr-matching{min-height:430px;padding:28px 16px}.cr-matching h2{font-size:21px!important}.cr-match-emblem{font-size:48px}}

.cr-header-actions .cr-history-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 12px;font-size:12px;color:var(--cr-gold);text-decoration:none;border:1px solid var(--cr-line);border-radius:4px;background:#192a35;white-space:nowrap}.cr-header-actions .cr-history-link:hover{background:#2a404e}@media(max-width:700px){.cr-header-actions .cr-history-link{font-size:10px;padding:4px 7px;min-height:29px}}

.cr-account-gold{display:inline-flex;gap:7px;align-items:center;margin-top:5px;color:#c8aa72;font-size:11px;text-decoration:none}.cr-account-gold b{color:#ffe09b;font-size:13px}.cr-account-gold:focus-visible{outline:2px solid #ffe09b;outline-offset:3px}.cr-account-reward{margin:8px 0;padding:12px 16px;background:#2c2716;border:1px solid #665025;border-radius:10px;color:#ffe09b;font-size:14px}.cr-account-reward[hidden]{display:none}

.cr-deck-link{display:inline-block;margin-top:20px;color:#e3c492;font-weight:750;text-decoration:none}.cr-deck-preview{display:flex;gap:8px;flex-wrap:wrap;padding:12px 4px;align-items:center}.cr-deck-preview>strong{font-size:11px;color:#adc2ce;margin-right:5px}.cr-deck-preview>span{display:grid;justify-items:center;max-width:65px}.cr-deck-preview .cr-portrait{width:35px;height:35px;display:block}.cr-deck-preview small{font-size:8px;color:#9db2be;max-width:65px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cr-elements{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 8px}.cr-elements span{font-size:10px;border:1px solid #334956;background:#102735;padding:3px 7px;border-radius:5px;color:#819caa}.cr-elements .is-active{color:var(--element);border-color:var(--element)}
.cr-command-status{margin:5px 0 8px;font-size:11px;color:#b8d1bf;min-height:18px}.cr-command-status:not([hidden]){display:block}
