#motion-comic{--ink:#10241f;--accent:#dec99f;--text:#fff3dd;--atlas:none;color:var(--text);font-family:Georgia,'Times New Roman',serif;width:100%;color-scheme:dark}
#motion-comic *{box-sizing:border-box}
#motion-comic .mc-shell{background:var(--ink);max-width:1920px;margin:auto;box-shadow:0 12px 45px #0005;overflow:hidden}
#motion-comic .mc-atlas{position:relative;isolation:isolate;background-color:var(--ink)}
#motion-comic .mc-atlas:before{content:'';position:absolute;inset:0;background-image:var(--atlas);background-size:100% var(--slice-size);background-position:center var(--slice-pos);background-repeat:no-repeat;z-index:-1;pointer-events:none}
#motion-comic .mc-header{--slice-size:var(--header-size);--slice-pos:var(--header-pos);min-height:104px;padding:20px 7%;display:flex;align-items:center;justify-content:space-between;gap:20px}
#motion-comic .mc-eyebrow,#motion-comic .mc-kicker{font:10px/1.5 system-ui,sans-serif;letter-spacing:2.6px;color:var(--accent);display:block}
#motion-comic h1{font-size:clamp(25px,4vw,38px);font-weight:400;line-height:1.1;margin:3px 0 0;letter-spacing:1px}
#motion-comic h2{font-size:clamp(16px,2.2vw,23px);font-weight:400;margin:6px 0 0;line-height:1.25}
#motion-comic .mc-chapter{text-align:right;max-width:55%}
#motion-comic .mc-stage{position:relative;aspect-ratio:16/9;overflow:hidden;isolation:isolate;background:var(--ink)}
#motion-comic .mc-panels{position:absolute;inset:0}
#motion-comic .mc-panel{position:absolute;inset:0;visibility:hidden;overflow:hidden}
#motion-comic .mc-panel.active{visibility:visible}
#motion-comic .mc-panel img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.01)}
#motion-comic .mc-panel-caption{display:none}
#motion-comic .mc-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#motion-comic .mc-ribbon{--slice-size:var(--button-size);--slice-pos:var(--button-pos);position:absolute;left:14px;top:13px;z-index:4;display:flex;gap:12px;align-items:center;padding:13px 29px;font:11px/1.4 system-ui,sans-serif;color:var(--text);max-width:85%;text-shadow:0 1px 4px #000;letter-spacing:.8px}
#motion-comic .mc-number{color:var(--accent);font-variant-numeric:tabular-nums;flex-shrink:0}
#motion-comic .mc-dialogue{--slice-size:var(--dialogue-size);--slice-pos:var(--dialogue-pos);min-height:126px;padding:24px 10%;display:grid;grid-template-columns:105px 1fr;gap:17px;align-items:center}
#motion-comic .mc-dialogue[hidden]{display:none}
#motion-comic .mc-speaker{font:11px/1.4 system-ui,sans-serif;color:var(--accent);letter-spacing:1.6px;text-transform:uppercase;overflow-wrap:anywhere}
#motion-comic .mc-line{font-size:clamp(17px,2.5vw,24px);line-height:1.45;margin:0;font-weight:400;text-shadow:0 2px 4px #0009}
#motion-comic .mc-progress{height:2px;background:#ffffff13}
#motion-comic .mc-progress i{height:100%;width:0;display:block;background:var(--accent)}
#motion-comic footer{padding:13px 17px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:linear-gradient(180deg,#ffffff02,#0003)}
#motion-comic .mc-actions,#motion-comic .mc-status{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#motion-comic button{font:12px/1.3 system-ui,sans-serif;color:var(--text);min-height:45px;padding:12px 25px;text-shadow:0 1px 3px #000;border:0}
#motion-comic button.mc-atlas{--slice-size:var(--button-size);--slice-pos:var(--button-pos);background-color:transparent;transition:filter .15s,transform .15s}
#motion-comic button.mc-atlas:hover{filter:brightness(1.22);transform:translateY(-1px)}
#motion-comic button.mc-play,#motion-comic button[aria-pressed=true]{filter:brightness(1.24);color:#fff}
#motion-comic button:disabled{opacity:.38;cursor:default;transform:none}
#motion-comic button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#motion-comic .mc-counter{font:12px system-ui;color:var(--accent);font-variant-numeric:tabular-nums;min-width:35px}
#motion-comic button.mc-full{background:transparent;padding:9px 5px;min-height:40px;color:var(--accent);font-size:11px}
#motion-comic .mc-particles{position:absolute;inset:0;z-index:3;pointer-events:none}
#motion-comic .mc-particles i{position:absolute;width:7px;height:4px;border-radius:80% 0 80% 0;background:var(--accent);opacity:0}
#motion-comic .mc-end{position:absolute;inset:0;z-index:5;background:#08120eda;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;gap:14px}
#motion-comic .mc-end[hidden]{display:none}
#motion-comic .mc-end.mc-versus{padding:0;background:#07111a;display:block}
#motion-comic .mc-end.mc-versus[hidden]{display:none}
#motion-comic .mc-end.mc-versus>strong,#motion-comic .mc-end.mc-versus>.mc-end-note{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.campaign-matchup{position:relative;aspect-ratio:16/9;width:100%;container-type:inline-size;overflow:hidden;background:#07111a;isolation:isolate}
.campaign-matchup .matchup-art{display:block;width:100%;height:100%;object-fit:contain}
.campaign-matchup .matchup-deck{position:absolute;top:64%;height:30%;width:40%;display:grid;grid-template-columns:1fr 1fr 1.55fr;gap:4%;padding:.2% .8%;background:#081622;border:1px solid #a98a43;border-radius:2%;color:#fff3dd;text-align:center;overflow:hidden}
.campaign-matchup .matchup-player{left:6%}.campaign-matchup .matchup-enemy{left:55.5%}
.campaign-matchup .matchup-card{min-width:0;display:flex;flex-direction:column;align-items:center;gap:2%;height:100%}
.campaign-matchup .matchup-card span,.campaign-matchup .matchup-radar>span{font:1cqw/1.2 Georgia,serif;display:block;color:#f3d99b}
.campaign-matchup .matchup-card img{height:89%;width:100%;object-fit:contain;min-height:0}
.campaign-matchup .matchup-radar{display:flex;flex-direction:column;min-width:0;height:100%}
.campaign-matchup .matchup-radar svg{width:100%;flex:1;min-height:0;display:block}
.campaign-matchup .matchup-radar p{font:.86cqw/1.3 system-ui,sans-serif;margin:0;white-space:nowrap;color:#fff3dd}
#game-panel .game-one-matchup{grid-column:1/-1;max-width:1100px;margin:auto}
#game-panel .choice-art[hidden]{display:none}
#motion-comic .mc-end-label{font:11px system-ui;letter-spacing:3px;color:var(--accent)}
#motion-comic .mc-end strong{font-size:clamp(24px,4vw,44px);font-weight:400}
#motion-comic .mc-end-note{font:12px/1.5 system-ui;max-width:440px}
#motion-comic.book .mc-stage{aspect-ratio:auto}
#motion-comic.book .mc-panels{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:var(--accent)}
#motion-comic.book .mc-panel{position:relative;inset:auto;visibility:visible}
#motion-comic.book .mc-panel[hidden]{display:none}
#motion-comic.book .mc-panel img{transform:none!important;aspect-ratio:16/9;height:auto}
#motion-comic.book .mc-panel-caption{display:block;background:var(--ink);padding:12px 15px;min-height:95px}
#motion-comic.book .mc-panel-caption span{font:10px/1.5 system-ui;color:var(--accent);letter-spacing:1.1px;text-transform:uppercase}
#motion-comic.book .mc-panel-caption p{font:16px/1.4 Georgia;margin:5px 0;color:var(--text)}
#motion-comic.book .mc-ribbon,#motion-comic.book .mc-particles{display:none}
#motion-comic:fullscreen{background:#050b08;overflow:auto;display:flex;align-items:center;justify-content:center}
#motion-comic:fullscreen .mc-shell{width:min(100%,calc((100vh - 285px)*16/9));min-width:320px}
#motion-comic.book:fullscreen{display:block}
#motion-comic.book:fullscreen .mc-shell{width:100%;max-width:1440px}
@media(max-width:580px){#motion-comic .mc-header{padding:17px 7%;min-height:94px;gap:10px}#motion-comic .mc-eyebrow,#motion-comic .mc-kicker{font-size:9px;letter-spacing:1.1px}#motion-comic h2{font-size:16px}#motion-comic .mc-ribbon{top:6px;left:6px;padding:10px 22px;font-size:10px;max-width:94%}#motion-comic .mc-dialogue{grid-template-columns:1fr;gap:5px;padding:20px 11%;min-height:140px}#motion-comic .mc-line{font-size:17px}#motion-comic footer{padding:10px;gap:8px}#motion-comic .mc-actions{gap:4px;flex:1}#motion-comic button{padding:12px 18px;font-size:11px}#motion-comic .mc-status{width:100%;justify-content:space-between}#motion-comic.book .mc-stage{aspect-ratio:auto;min-height:0}#motion-comic.book .mc-panels{position:relative;grid-template-columns:1fr}#motion-comic.book .mc-panel{aspect-ratio:auto}}
@media(prefers-reduced-motion:reduce){#motion-comic *{scroll-behavior:auto!important;transition:none!important}}
/* Modal runtime overrides: keep native dialog focus and fit every viewport. */
.regional-cinema.motion-comic-cinema{overflow:auto;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom));background:#050b08}
.motion-comic-cinema #motion-comic{max-width:1600px;margin:auto}
.motion-comic-cinema #motion-comic .mc-shell{width:min(100%,calc((100dvh - 310px)*16/9));min-width:min(100%,420px)}
.motion-comic-cinema #motion-comic h2{position:static;inset:auto;text-shadow:none}
.motion-comic-cinema #motion-comic button[hidden]{display:none}
.motion-comic-cinema #motion-comic .mc-panel[hidden]{display:none}
.motion-comic-cinema #motion-comic .mc-missing{display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;background:#10241f}
.motion-comic-cinema #motion-comic .mc-panel-caption{display:none}
.motion-comic-cinema #motion-comic.book .mc-panel-caption{display:block;background:#08120e;color:#fff3dd;padding:10px 14px;position:relative}
.motion-comic-cinema #motion-comic.book .mc-panel-caption p{font:16px/1.4 Georgia,serif;margin:5px 0}
.motion-comic-cinema #motion-comic.book .mc-panel-caption span{font:11px system-ui;color:var(--accent)}
.motion-comic-cinema #motion-comic.book .mc-stage{aspect-ratio:auto;overflow:visible}
.motion-comic-cinema #motion-comic.book .mc-panels{position:relative}
.motion-comic-cinema #motion-comic.book .mc-panel{aspect-ratio:auto}
.motion-comic-cinema #motion-comic.book .mc-panel img{height:auto;aspect-ratio:16/9}
.motion-comic-cinema #motion-comic.book .mc-panel:after{display:none}
@media(max-width:580px){.motion-comic-cinema #motion-comic .mc-shell{width:100%;min-width:0}.motion-comic-cinema #motion-comic .mc-header{min-height:80px}.motion-comic-cinema #motion-comic .mc-dialogue{min-height:115px}.motion-comic-cinema #motion-comic footer{padding-bottom:16px}}
/* Also loaded independently by the home-screen cutscene launcher. */
dialog.motion-comic-cinema{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;color:#fff;box-sizing:border-box}
dialog.motion-comic-cinema::backdrop{background:#000}
/* Isolate page-level header/footer rules and keep controls reachable. */
dialog.motion-comic-cinema{transform:none;left:0;top:0;border-radius:0}
.motion-comic-cinema #motion-comic .mc-header{position:relative;inset:auto;height:auto;flex-shrink:0}
.motion-comic-cinema #motion-comic footer{position:sticky;bottom:0;z-index:8;min-height:0;margin:0;background:var(--ink)}
.motion-comic-cinema #motion-comic .mc-shell{max-width:100%;min-width:0;width:min(100%,calc((100dvh - 340px)*16/9))}
@media(max-width:580px){.motion-comic-cinema #motion-comic .mc-shell{width:100%}}
@media(max-height:550px) and (min-width:581px){.motion-comic-cinema #motion-comic .mc-shell{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,38%)}.motion-comic-cinema #motion-comic .mc-header{grid-column:1/-1;min-height:55px;padding:8px 7%}.motion-comic-cinema #motion-comic .mc-header h1{font-size:22px}.motion-comic-cinema #motion-comic .mc-stage{max-height:calc(100dvh - 145px);align-self:center}.motion-comic-cinema #motion-comic .mc-dialogue{min-height:0;display:block;padding:18px 10%;align-content:center}.motion-comic-cinema #motion-comic .mc-line{font-size:17px}.motion-comic-cinema #motion-comic .mc-progress{grid-column:1/-1}.motion-comic-cinema #motion-comic footer{grid-column:1/-1;padding:5px 10px}.motion-comic-cinema #motion-comic button{padding:10px 15px;min-height:40px}}

/* Match handoff fills the viewport; keep the complete artwork visible. */
dialog.motion-comic-cinema.versus-only{padding:0;overflow:hidden;background:#000}
.versus-only #motion-comic{width:100vw;height:100dvh;max-width:none;display:grid;place-items:center}
.versus-only #motion-comic .mc-shell{display:block;width:min(100vw,calc(100dvh * 16 / 9));max-width:none;margin:0}
.versus-only #motion-comic .mc-stage{max-height:none;width:100%;aspect-ratio:16/9}
.versus-only #motion-comic .mc-header,.versus-only #motion-comic .mc-dialogue,.versus-only #motion-comic .mc-progress,.versus-only #motion-comic footer{display:none!important}
/* All comic modes fit the available viewport, including four-panel pages. */
.motion-comic-cinema:not(.versus-only){overflow:hidden}
.motion-comic-cinema:not(.versus-only) #motion-comic{height:100%;width:100%;display:flex;justify-content:center}
.motion-comic-cinema:not(.versus-only) #motion-comic .mc-shell{height:100%;width:min(100%,calc((100dvh - 280px)*16/9));display:flex;flex-direction:column;min-width:0}
.motion-comic-cinema:not(.versus-only) #motion-comic .mc-header{min-height:60px;padding:12px 7%;flex-shrink:0}
.motion-comic-cinema:not(.versus-only) #motion-comic .mc-stage{flex:1;min-height:0;max-height:none;aspect-ratio:auto}
.motion-comic-cinema:not(.versus-only) #motion-comic .mc-panel img{object-fit:contain}
.motion-comic-cinema:not(.versus-only) #motion-comic .mc-dialogue{min-height:80px;padding:14px 10%;flex-shrink:0}
.motion-comic-cinema:not(.versus-only) #motion-comic footer{position:static;flex-shrink:0;padding:6px;gap:5px}
.motion-comic-cinema:not(.versus-only) #motion-comic button{padding:10px 15px;min-height:38px}
.motion-comic-cinema #motion-comic.book .mc-panels{height:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:6px}
.motion-comic-cinema #motion-comic.book .mc-panel{min-height:0;display:flex;flex-direction:column;overflow:hidden}
.motion-comic-cinema #motion-comic.book .mc-panel[hidden]{display:none}
.motion-comic-cinema #motion-comic.book .mc-panel img{min-height:0;flex:1;aspect-ratio:auto;object-fit:contain}
.motion-comic-cinema #motion-comic.book .mc-panel-caption{padding:4px;flex-shrink:0}
.motion-comic-cinema #motion-comic.book .mc-panel-caption p{font-size:12px;line-height:1.2;margin:2px}
@media(max-width:700px){.motion-comic-cinema:not(.versus-only) #motion-comic .mc-shell{width:100%}.motion-comic-cinema:not(.versus-only) #motion-comic .mc-line{font-size:16px}.motion-comic-cinema:not(.versus-only) #motion-comic .mc-header{padding:9px 7%}}
@media(max-height:550px) and (min-width:581px){.motion-comic-cinema:not(.versus-only) #motion-comic .mc-shell{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 35%;grid-template-rows:auto minmax(0,1fr) auto auto}.motion-comic-cinema:not(.versus-only) #motion-comic .mc-dialogue{min-height:0}.motion-comic-cinema:not(.versus-only) #motion-comic .mc-header{min-height:44px}.motion-comic-cinema #motion-comic.book .mc-panel-caption p{font-size:10px}}

/* Edge-to-edge illustrated scenes with compact transport controls. */
dialog.motion-comic-cinema:not(.versus-only){padding:0}
.motion-comic-cinema:not(.versus-only) #motion-comic .mc-shell{width:100%;max-width:none;display:flex;flex-direction:column}
.motion-comic-cinema:not(.versus-only) #motion-comic .mc-panel img{object-fit:cover;width:100%;height:100%}
#motion-comic .mc-actions{width:100%;display:flex;align-items:center;justify-content:center;gap:12px}
#motion-comic .mc-transport{display:flex;align-items:center;gap:8px}
#motion-comic button.mc-icon{display:grid;place-items:center;padding:10px;width:46px;height:42px;min-height:42px;background:transparent;border:1px solid color-mix(in srgb,var(--accent) 45%,transparent);border-radius:7px}
#motion-comic .mc-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#motion-comic .mc-volume{position:relative;display:flex}
#motion-comic .mc-volume-popup{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding:16px 12px;width:150px;background:var(--ink);border:1px solid var(--accent);border-radius:8px;visibility:hidden;opacity:0;transition:opacity .12s;z-index:12}
#motion-comic .mc-volume:hover .mc-volume-popup,#motion-comic .mc-volume:focus-within .mc-volume-popup{visibility:visible;opacity:1}
#motion-comic .mc-volume input{width:100%;accent-color:var(--accent);cursor:pointer}
.motion-comic-cinema:not(.versus-only) #motion-comic footer{overflow:visible;position:relative;z-index:8}
@media(max-height:550px){.motion-comic-cinema:not(.versus-only) #motion-comic .mc-header{min-height:44px;padding:6px 7%}.motion-comic-cinema:not(.versus-only) #motion-comic .mc-dialogue{min-height:55px;padding:8px 10%}.motion-comic-cinema:not(.versus-only) #motion-comic .mc-line{font-size:15px}}
.motion-comic-cinema:not(.versus-only) #motion-comic{max-width:none;margin:0}
/* Regional preparation lives directly on the VS artwork. */
dialog.matchup-preparation{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#050c12;color:#ffe4a4;overflow:hidden}
dialog.matchup-preparation[open]{display:flex;flex-direction:column}
.matchup-preparation::backdrop{background:#050c12}
.matchup-selection-art{flex:1;min-height:0;display:grid;place-items:center;background:#050c12}
.matchup-selection-art .campaign-matchup{width:min(100vw,calc((100dvh - 96px)*16/9));max-height:100%}
.matchup-selection-controls{flex:0 0 auto;display:flex;align-items:end;justify-content:center;gap:14px;padding:12px 20px;border-top:1px solid #ac8747;background:linear-gradient(#132633,#071219);flex-wrap:wrap}
.matchup-selection-controls label{display:flex;flex-direction:column;gap:5px;font:12px Georgia;color:#f1d398}
.matchup-selection-controls select{min-width:210px;max-width:36vw;padding:10px;border:1px solid #af914c;border-radius:5px;background:#071620;color:#fff0cb;font:14px system-ui}
.matchup-selection-controls button{padding:10px 22px;min-height:42px}.matchup-error{width:100%;text-align:center;margin:0;color:#ffb39b}.matchup-error:empty{display:none}
@media(max-width:600px){.matchup-selection-controls{gap:8px;padding:10px}.matchup-selection-controls label{flex:1}.matchup-selection-controls select{min-width:0;width:100%;max-width:none}.matchup-selection-controls button{font-size:13px;padding:9px 14px}.matchup-selection-art .campaign-matchup{width:100%}}
@media(max-height:500px){.matchup-selection-controls{padding:6px;gap:8px}.matchup-selection-art .campaign-matchup{width:min(100vw,calc((100dvh - 80px)*16/9))}}
/* Full-deck view from the matchup screens: an (i) beside DECK MIX opens the deck builder's overview. */
.campaign-matchup .matchup-radar>span{display:flex;align-items:center;justify-content:center;gap:.5cqw}
.campaign-matchup .matchup-info{width:1.6cqw;height:1.6cqw;min-width:16px;min-height:16px;padding:0;border:1px solid #e4c589;border-radius:50%;background:#0f1c26;color:#ffe9b8;font:italic 700 .95cqw/1 Georgia,serif;cursor:pointer;flex:0 0 auto}
.campaign-matchup .matchup-info:hover,.campaign-matchup .matchup-info:focus-visible{background:#1c3444;outline:none;box-shadow:0 0 0 2px #e4c58966}
dialog.matchup-deck-view{width:min(96vw,1180px);max-height:92dvh;padding:0;border:1px solid #bb995a;border-radius:12px;background:#0a1620;color:#f2dfb5;box-shadow:0 20px 60px #000c;overflow:hidden}
dialog.matchup-deck-view::backdrop{background:#050c12cc}
dialog.matchup-deck-view header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 22px 10px;border-bottom:1px solid #a98a4355}
dialog.matchup-deck-view h2{margin:2px 0 0;font:700 24px/1.1 Georgia,serif;letter-spacing:.04em;text-transform:uppercase;color:#ffe4a8}
.matchup-deck-side{margin:0;font:600 10px/1.4 system-ui,sans-serif;letter-spacing:.2em;color:#cdb887}
.matchup-deck-hint{margin:4px 0 0;font:12px/1.4 system-ui,sans-serif;color:#b8a98a}
.matchup-deck-close{padding:8px 16px;border:1px solid #8fb4c6;border-radius:6px;background:#183b4c;color:#fff;font:14px system-ui,sans-serif;cursor:pointer}
.matchup-deck-body{padding:14px 22px 22px;max-height:calc(92dvh - 90px);overflow:auto}

/* Deck overview grid, copied from ui-shell.css (scoped there to .app-shell) so the campaign page can use it. */
.matchup-deck-view .overview-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.matchup-deck-view .overview-head h3{margin:0}
.matchup-deck-view .overview-sort{display:flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#9fb1b8}
.matchup-deck-view .overview-sort select{padding:5px 8px;font-size:12px;letter-spacing:normal;text-transform:none;border-radius:7px;border:1px solid #47657a;background:#081723;color:#dcebf3}
.matchup-deck-view .deck-overview h3{margin:0 0 10px;font-size:14px;color:#e6c58b}
.matchup-deck-view .deck-overview h3 span{font-size:12px;font-weight:400;color:#9fb1b8;margin-left:8px}
.matchup-deck-view .overview-main,.matchup-deck-view .overview-side{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}
.matchup-deck-view .overview-card{display:block;position:relative;min-width:0;width:100%;aspect-ratio:5/7;padding:3px;border:1px solid #52616d;border-radius:9px;background:#060e16;overflow:hidden;box-shadow:0 2px 6px #0008;cursor:zoom-in}
.matchup-deck-view .overview-card img{display:block;width:100%;height:100%;object-fit:contain;border-radius:5px}
.matchup-deck-view .overview-card:hover{border-color:#a2eddd;box-shadow:0 0 0 2px #a2eddd55}
.matchup-deck-view .overview-card.overview-champion{border:3px solid #e6bd59;box-shadow:0 0 10px #e6bd5944}
.matchup-deck-view .overview-badge{position:absolute;bottom:4px;right:4px;background:#08111dee;color:#f4df9d;border:1px solid #a1884b;border-radius:4px;padding:2px 5px;font-size:clamp(9px,1vw,13px);font-weight:600}
.matchup-deck-view .overview-lower{display:grid;grid-template-columns:1fr 5fr;gap:12px;margin-top:18px}
.matchup-deck-view .overview-resources{display:grid;grid-template-columns:3fr 2fr;gap:12px;margin-bottom:14px}
.matchup-deck-view .overview-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.matchup-deck-view .overview-card.overview-field{aspect-ratio:7/5}
.matchup-deck-view .overview-runes{display:flex;gap:8px;flex-wrap:wrap}
.matchup-deck-view .overview-rune{max-width:70px}
.matchup-deck-view .overview-empty{grid-column:1/-1;color:#9fb1b8;font-size:14px;padding:12px;margin:0;background:#ffffff05;border-radius:6px}
.matchup-deck-view .overview-missing{display:grid;place-items:center;height:100%;color:#9fb1b8;font-size:12px}
@media(max-width:760px){.matchup-deck-view .overview-main,.matchup-deck-view .overview-side{grid-template-columns:repeat(5,minmax(0,1fr))}
.matchup-deck-view .overview-lower{grid-template-columns:1fr 3fr}
.matchup-deck-view .overview-resources{grid-template-columns:1fr}
.matchup-deck-view .overview-badge{font-size:10px}
.matchup-deck-view .overview-main,.matchup-deck-view .overview-side{gap:5px}
.matchup-deck-view .overview-lower{grid-template-columns:1fr}
.matchup-deck-view .overview-legend>.overview-card{max-width:120px}
.matchup-deck-view .overview-badge{font-size:8px;padding:1px 2px}
.matchup-deck-view .overview-zoom{position:fixed;z-index:1000;pointer-events:none;box-sizing:border-box;padding:4px;border:1px solid #a2eddd;border-radius:12px;background:#060e16;box-shadow:0 16px 60px #000c}
.matchup-deck-view .overview-zoom[hidden]{display:none}
.matchup-deck-view .overview-zoom img{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px}
.matchup-deck-view #deck-browser-preview .overview-main,.matchup-deck-view #deck-browser-preview .overview-side{grid-template-columns:repeat(5,minmax(0,1fr))}
.matchup-deck-view .deck-overview h3{margin:0 0 10px;font-size:14px;color:#e6c58b}
