@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2c55a0e60120577a-s.0-dom-5bn10r2.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5476f68d60460930-s.2uwcyprjm3xu3.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2bbe8d2671613f1f-s.0k62hbripvv8p.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Fallback;src:local(Arial);ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.0%;size-adjust:107.12%}.inter_fe8b9d92-module__LINzvG__className{font-family:Inter,Inter Fallback;font-style:normal}.inter_fe8b9d92-module__LINzvG__variable{--font-inter:"Inter", "Inter Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.31988l_ccedte.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.0r6juujl39pe6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.grid{display:grid}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--background:#111317;--surface:#171a20;--surface-raised:#1d2129;--surface-hover:#232832;--surface-selected:#202c43;--border:#2b303a;--border-strong:#3a4350;--foreground:#f4f6f8;--muted:#929aa8;--muted-strong:#b6bdc8;--accent:#4d8dff;--accent-hover:#6ba0ff;--accent-muted:#20365c;--win:#4bc27a;--loss:#f0646a;--draw:#8d97a6;--warning:#e9ad4a;--font-ui:var(--font-inter), Inter, system-ui, sans-serif;--font-stat:var(--font-geist-mono), ui-monospace, monospace}*{box-sizing:border-box}html,body{background:var(--background);min-height:100%}body{color:var(--foreground);font-family:var(--font-ui);margin:0}button,input,select,textarea{font:inherit}button{color:inherit}button,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-loading{min-height:100vh;color:var(--muted);place-items:center;display:grid}.dashboard-shell{background:radial-gradient(circle at 50% -30%, #4d8dff14, transparent 45%), var(--background);min-height:100vh}.topbar{z-index:20;border-bottom:1px solid var(--border);background:#111317f0;justify-content:space-between;align-items:center;min-height:68px;padding:10px 22px;display:flex;position:relative}.brand,.brand>div,.topbar-actions,.player-identity,.sync-control summary,.button,.direction-control,.confidence-bar,.battle-meta,.battle-counts,.active-filters,.filter-chip,.drawer-header,.drawer-header-actions,.save-state,.review-heading,.review-toggle,.tag,.ranking-tabs,.mobile-panel-switcher,.period-selector{align-items:center;display:flex}.brand{gap:11px}.brand-mark{background:var(--accent);color:#fff;width:36px;height:36px;font-family:var(--font-stat);letter-spacing:-.04em;border-radius:9px;place-items:center;font-size:13px;font-weight:800;display:grid}.brand>div,.player-identity{flex-direction:column;align-items:flex-start}.brand strong{letter-spacing:-.01em;font-size:14px}.brand span:last-child,.player-identity span,.player-identity strong{color:var(--muted);font-size:11px}.player-identity{border-right:1px solid var(--border);padding-right:15px;line-height:1.35}.player-identity strong{color:var(--muted-strong);font-family:var(--font-stat);font-weight:500}.topbar-actions{gap:14px}.sync-control{position:relative}.sync-control summary{cursor:pointer;min-width:160px;color:var(--muted-strong);gap:9px;list-style:none}.sync-control summary::-webkit-details-marker{display:none}.sync-control summary>svg:first-child{width:17px;color:var(--accent)}.sync-control.sync-healthy summary>svg:first-child{color:var(--win)}.sync-control.sync-degraded summary>svg:first-child,.sync-control.sync-configuration-error summary>svg:first-child{color:var(--warning)}.sync-control summary span{flex-direction:column;flex:1;min-width:0;display:flex}.sync-control summary strong{font-size:12px}.sync-control summary small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.sync-popover{border:1px solid var(--border-strong);background:var(--surface-raised);border-radius:10px;width:310px;padding:16px;position:absolute;top:calc(100% + 14px);right:0;box-shadow:0 20px 50px #00000059}.sync-popover p{color:var(--muted);margin:7px 0 0;font-size:12px;line-height:1.5}.warning-text{color:var(--warning)!important}.button{cursor:pointer;background:var(--surface-raised);border:1px solid #0000;border-radius:8px;justify-content:center;gap:8px;min-height:38px;padding:0 14px;font-size:12px;font-weight:650;transition:background .13s,border-color .13s}.button:hover{background:var(--surface-hover)}.button.primary,.refine-button{background:var(--accent);color:#fff}.button.primary:hover,.refine-button:hover{background:var(--accent-hover)}.button.secondary{border-color:var(--border)}.filter-count{min-width:19px;font-family:var(--font-stat);background:#ffffff2e;border-radius:5px;padding:2px 5px;font-size:10px}.dashboard-content{flex-direction:column;gap:12px;max-width:1800px;height:calc(100vh - 68px);margin:0 auto;padding:14px 18px 18px;display:flex}.statistics-row,.desktop-periods{gap:10px;display:grid}.statistics-row{grid-template-columns:minmax(0,1fr) 270px}.desktop-periods{grid-template-columns:repeat(3,minmax(0,1fr))}.period-tile,.result-tile,.panel{border:1px solid var(--border);background:var(--surface)}.period-tile{border-radius:11px;justify-content:space-between;align-items:center;gap:18px;min-height:112px;padding:15px 17px;display:flex}.period-tile>div:first-child{flex-direction:column;min-width:92px;display:flex}.eyebrow{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:10px;font-weight:700}.period-tile strong{font-family:var(--font-stat);letter-spacing:-.06em;margin-top:4px;font-size:clamp(24px,2.4vw,38px);font-weight:620}.delta{color:var(--muted);font-family:var(--font-stat);margin-top:3px;font-size:10px}.positive{color:var(--win)!important}.negative{color:var(--loss)!important}.sparkline{width:min(48%,210px);overflow:visible}.sparkline-empty{border-bottom:1px dashed var(--border-strong);width:min(48%,210px);height:48px}.result-tile{border-radius:11px;grid-template-columns:repeat(3,1fr);align-items:center;gap:5px 10px;min-height:112px;padding:15px;display:grid}.statistic{flex-direction:column;min-width:0;display:flex}.statistic strong{font-family:var(--font-stat);margin-top:3px;font-size:22px}.statistic-positive strong{color:var(--win)}.statistic-negative strong{color:var(--loss)}.stat-detail{color:var(--muted);font-size:10px}.result-bar{background:var(--border);border-radius:2px;grid-column:1/-1;height:5px;display:flex;overflow:hidden}.result-bar .wins{background:var(--win)}.result-bar .losses{background:var(--loss)}.result-bar .draws{background:var(--draw)}.mobile-period{display:none}.global-error{color:var(--muted-strong);background:#f0646a14;border:1px solid #f0646a4d;border-radius:8px;align-items:center;gap:10px;padding:10px 13px;font-size:12px;display:flex}.global-error>svg{color:var(--loss);flex:none}.active-filters{gap:7px;min-height:30px}.filter-chip,.filter-overflow{border:1px solid var(--border-strong);cursor:pointer;background:var(--surface-raised);min-height:26px;color:var(--muted-strong);border-radius:6px;padding:0 9px;font-size:10px}.filter-chip{gap:5px}.filter-chip:hover,.filter-overflow:hover{border-color:var(--accent)}.analyzer-grid{flex:1;grid-template-columns:minmax(430px,.92fr) minmax(520px,1.08fr);gap:12px;min-height:0;display:grid}.panel{border-radius:11px;min-height:0;overflow:hidden}.battles-panel,.rankings-panel{flex-direction:column;display:flex}.rankings-wrapper{min-height:0}.rankings-wrapper>.panel{height:100%}.panel-header{border-bottom:1px solid var(--border);min-height:67px;padding:13px 15px}.panel-header h2,.drawer-header h2,.detail-section h3,.review-heading h3{letter-spacing:-.025em;margin:2px 0 0;font-size:16px}.battle-list-header,.ranking-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.battle-counts{color:var(--muted);font-family:var(--font-stat);font-size:10px}.battle-counts strong{color:var(--muted-strong)}.quick-search{border:1px solid var(--border);color:var(--muted);background:var(--background);border-radius:7px;align-items:center;gap:8px;margin:10px 12px 0;padding:0 10px;display:flex}.quick-search input{min-width:0;height:34px;color:var(--foreground);background:0 0;border:0;outline:0;flex:1;font-size:12px}.battle-list,.ranking-list{overscroll-behavior:contain;scrollbar-color:var(--border-strong) transparent;min-height:0;overflow:auto}.battle-list{padding:10px 8px 8px}.battle-row{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:72px minmax(0,1fr);gap:8px;width:100%;min-height:82px;padding:9px;display:grid}.battle-row:hover{background:var(--surface-hover)}.battle-row.is-selected{background:var(--surface-selected);border-color:#4d8dff73}.battle-result-column,.battle-main{flex-direction:column;min-width:0;display:flex}.battle-result-column{justify-content:center;align-items:flex-start;gap:6px}.result{color:var(--draw);justify-content:center;align-items:center;display:flex}.result-win{color:var(--win)}.result-loss{color:var(--loss)}.relative-time{color:var(--muted);white-space:nowrap;font-size:10px}.battle-main{justify-content:center;gap:8px}.battle-meta{min-width:0;color:var(--muted);gap:9px;font-size:10px}.battle-meta strong{max-width:150px;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.battle-meta .record{font-family:var(--font-stat)}.deck-name{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.deck-view{align-items:flex-end;gap:8px;min-width:0;display:flex}.deck-cards{gap:3px;min-width:0;display:flex}.deck-grid .deck-cards,.deck-detail .deck-cards{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.card-view{flex:none;position:relative;overflow:hidden}.card-xs{width:40px;height:49px}.card-sm{width:56px;height:69px}.card-md{width:clamp(62px,6vw,82px);height:clamp(77px,7.4vw,101px)}.card-art{object-fit:cover}.card-fallback{width:100%;height:100%;color:var(--muted);font-family:var(--font-stat);background:#252a32;border-radius:5px;place-items:center;font-size:10px;font-weight:700;display:grid}.level-badge{z-index:1;font-family:var(--font-stat);text-transform:uppercase;background:#0e1115e0;padding:1px 3px;font-size:7px;position:absolute;bottom:2px;right:2px}.tower-card{color:var(--muted);text-transform:uppercase;flex-direction:column;align-items:center;gap:2px;font-size:7px;display:flex}.direction-control{border:1px solid var(--border);background:var(--background);border-radius:7px;gap:3px;padding:3px}.direction-control button,.ranking-tabs button,.mobile-panel-switcher button,.period-selector button{cursor:pointer;color:var(--muted);background:0 0;border:0;border-radius:5px;font-size:11px;font-weight:650}.direction-control button{align-items:center;gap:5px;min-height:28px;padding:0 9px;display:flex}.direction-control button.active,.ranking-tabs button.active,.mobile-panel-switcher button.active,.period-selector button.active{background:var(--surface-selected);color:#9ec0ff}.ranking-tabs{gap:4px;padding:8px 12px 0}.ranking-tabs button{border-bottom:2px solid #0000;border-radius:5px 5px 0 0;flex:1;min-height:32px;padding:0 8px}.ranking-tabs button.active{border-bottom-color:var(--accent);color:var(--foreground);background:0 0}.confidence-bar{border-top:1px solid var(--border);border-bottom:1px solid var(--border);min-height:40px;color:var(--muted);justify-content:space-between;gap:12px;padding:0 14px;font-size:10px}.confidence-bar label,.check-control,.review-toggle{align-items:center;gap:7px;display:flex}input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent)}.early-warning{color:var(--warning)}.ranking-list{padding:6px 8px 8px}.ranking-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 150px 56px;align-items:center;gap:12px;min-height:78px;padding:10px 8px;display:grid;position:relative}.ranking-row:last-child{border-bottom:0}.ranking-row:hover{background:var(--surface-hover)}.ranking-identity{align-items:center;gap:10px;min-width:0;display:flex}.representative-cards{gap:3px;display:flex}.ranking-identity>div:last-child,.ranking-stats{flex-direction:column;min-width:0;display:flex}.ranking-identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.ranking-identity span,.ranking-stats span{color:var(--muted);font-family:var(--font-stat);margin-top:4px;font-size:9px}.ranking-stats{align-items:flex-end}.ranking-stats>strong{font-family:var(--font-stat);font-size:20px}.confidence{text-transform:uppercase;background:#323843;border-radius:3px;align-self:flex-end;padding:2px 4px}.confidence-medium{color:var(--warning)!important}.apply-filter{cursor:pointer;color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;font-size:9px;display:flex}.apply-filter:hover{color:var(--accent-hover)}.panel-message{min-height:180px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:20px;display:flex}.panel-message strong{color:var(--muted-strong);font-size:13px}.panel-message span{max-width:380px;font-size:11px;line-height:1.5}.error-message strong{color:var(--loss)}.skeleton{background:#1c2027;position:relative;overflow:hidden}.skeleton:after{content:"";background:linear-gradient(90deg,#0000,#ffffff0a,#0000);animation:1.4s infinite shimmer;position:absolute;inset:0;transform:translate(-100%)}.mobile-panel-switcher{display:none}.overlay{z-index:50;background:#040609b8;justify-content:flex-end;animation:.14s fade-in;display:flex;position:fixed;inset:0}.drawer{border-left:1px solid var(--border-strong);background:var(--surface);height:100%;animation:.18s slide-in;overflow:auto;box-shadow:-20px 0 60px #0006}.filter-drawer{width:min(520px,100vw)}.battle-drawer{width:min(1100px,76vw)}.drawer-header{z-index:4;border-bottom:1px solid var(--border);background:#171a20f5;justify-content:space-between;gap:20px;min-height:72px;padding:14px 18px;position:sticky;top:0}.drawer-header p{color:var(--muted);margin:5px 0 0;font-size:11px}.icon-button{border:1px solid var(--border);cursor:pointer;background:var(--surface-raised);border-radius:8px;flex:none;place-items:center;width:36px;height:36px;display:grid}.icon-button:hover{background:var(--surface-hover)}.filter-form{flex-direction:column;min-height:calc(100% - 72px);display:flex}.filter-form section{border-bottom:1px solid var(--border);padding:20px 18px}.section-heading h3,.section-heading p,fieldset,legend{margin:0}.section-heading h3{font-size:14px}.section-heading p{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.45}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:16px;display:grid}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>span,fieldset legend{color:var(--muted-strong);font-size:10px;font-weight:650}.field input,.field select,.field textarea,.tag-editor{border:1px solid var(--border);background:var(--background);width:100%;color:var(--foreground);border-radius:7px}.field input,.field select{height:38px;padding:0 10px}.field textarea{resize:vertical;min-height:86px;padding:10px;line-height:1.5}.field input::placeholder,.field textarea::placeholder{color:#646d7a}fieldset{border:0;margin-top:18px;padding:0}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px;display:grid}.check-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.check-control{border:1px solid var(--border);min-height:36px;color:var(--muted-strong);border-radius:7px;padding:0 10px;font-size:10px}.drawer-actions{border-top:1px solid var(--border);background:#171a20f5;justify-content:flex-end;gap:8px;margin-top:auto;padding:14px 18px;display:flex;position:sticky;bottom:0}.battle-detail-grid{grid-template-columns:minmax(0,1fr) minmax(340px,.76fr);min-height:calc(100% - 72px);display:grid}.battle-information,.review-editor{padding:22px}.battle-information{border-right:1px solid var(--border)}.detail-section{padding:5px 0 20px}.detail-section h3{margin-bottom:14px}.deck-detail{align-items:center}.deck-detail .deck-cards{gap:7px}.classification{color:var(--muted);margin:14px 0 0;font-size:11px}.versus-divider{border-top:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--muted);font-family:var(--font-stat);text-align:center;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:13px 0;display:grid}.versus-divider span{color:var(--foreground);font-size:22px}.review-editor{flex-direction:column;gap:14px;display:flex}.review-heading{justify-content:space-between;gap:14px}.review-toggle{font-size:11px}.review-field textarea{min-height:84px}.tag-editor{flex-wrap:wrap;align-items:center;gap:5px;min-height:40px;padding:5px;display:flex}.tag-editor input{border:0;outline:0;flex:1;min-width:110px;height:28px}.tag{border:1px solid var(--border-strong);cursor:pointer;background:var(--surface-raised);min-height:27px;color:var(--muted-strong);border-radius:5px;gap:4px;padding:0 7px;font-size:9px}.save-state{color:var(--muted);gap:5px;font-size:10px}.save-state.error{color:var(--loss)}.save-state.success{color:var(--win)}.save-state svg{width:14px;height:14px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.new-battles-toast{z-index:60;border:1px solid var(--win);background:var(--surface-raised);color:var(--win);font-family:var(--font-ui);cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:10px 16px;font-size:13px;font-weight:600;animation:.25s ease-out toast-in;display:flex;position:fixed;top:16px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000059}.new-battles-toast svg{color:var(--win)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}@keyframes shimmer{to{transform:translate(100%)}}@keyframes fade-in{0%{opacity:0}}@keyframes slide-in{0%{transform:translate(24px)}}@media (max-height:760px) and (min-width:900px){.topbar{height:58px;min-height:58px;padding-block:9px}.dashboard-content{height:calc(100vh - 58px);padding-top:10px}.period-tile,.result-tile{min-height:92px;padding-block:10px}.period-tile strong{font-size:26px}}@media (max-width:1050px){.analyzer-grid{grid-template-columns:minmax(370px,.85fr) minmax(460px,1.15fr)}.battle-drawer{width:92vw}.card-xs{width:35px;height:43px}}@media (max-width:860px){.dashboard-shell,.dashboard-content{height:auto;min-height:100vh}.topbar{align-items:flex-start;padding:12px 14px}.brand>div span,.player-identity,.sync-control summary small{display:none}.sync-control summary{min-width:0}.sync-control summary>svg:last-child,.sync-control summary span{display:none}.sync-popover{right:-45px}.topbar-actions{gap:8px}.refine-button{width:36px;height:36px;min-height:36px;padding:0;font-size:0;position:relative;overflow:visible}.refine-button svg{width:18px;height:18px}.refine-button .filter-count{min-width:17px;font-size:9px;position:absolute;top:-5px;right:-5px}.dashboard-content{padding:12px}.statistics-row{grid-template-columns:minmax(0,1fr) 190px}.desktop-periods{display:none}.mobile-period{min-height:120px;display:block}.period-selector{gap:3px}.period-tile.mobile-period>.period-selector{flex-direction:row;min-width:0}.period-selector button{min-height:25px;padding:0 8px}.mobile-period-value{justify-content:space-between;align-items:flex-end;gap:8px;margin-top:9px;display:flex}.mobile-period-value>div{flex-direction:column;display:flex}.mobile-period-value strong{margin:0}.mobile-period-value span{color:var(--muted);font-size:10px}.result-tile{min-height:120px}.mobile-panel-switcher{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:stretch;min-height:38px;padding:3px;display:flex}.mobile-panel-switcher button{flex:1}.analyzer-grid{min-height:600px;display:block}.battles-panel,.rankings-wrapper{display:none}.battles-panel.mobile-battles,.rankings-wrapper.mobile-rankings{min-height:600px;display:flex}.rankings-wrapper.mobile-rankings{height:600px}.battle-drawer{width:100vw}.battle-detail-grid{flex-direction:column-reverse;display:flex}.battle-information{border-top:1px solid var(--border);border-right:0}}@media (max-width:560px){.statistics-row{grid-template-columns:1fr}.mobile-period,.result-tile{min-height:104px}.result-tile{padding-block:10px}.active-filters{overflow-x:auto}.filter-chip,.filter-overflow{flex:none}.ranking-header{flex-direction:column;align-items:flex-start}.direction-control{width:100%}.direction-control button{flex:1;justify-content:center}.ranking-tabs{overflow-x:auto}.ranking-tabs button{min-width:max-content}.ranking-row{grid-template-columns:minmax(0,1fr) 72px}.ranking-stats>span:last-child{display:none}.apply-filter{flex-direction:row;position:absolute;bottom:7px;right:8px}.battle-row{grid-template-columns:60px minmax(0,1fr)}.battle-meta>span:first-of-type,.battle-meta>span:nth-of-type(3){display:none}.deck-cards{gap:2px}.card-xs{width:33px;height:41px}.filter-drawer,.battle-drawer{width:100vw}.field-grid,.check-grid{grid-template-columns:1fr}.check-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.battle-information,.review-editor{padding:16px}.deck-detail .deck-cards{gap:4px}.card-md{width:calc(25vw - 19px);max-width:82px;height:calc(31.25vw - 23.75px);max-height:101px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
