#smart-garage-root,[data-sg-picker-root]{min-width:0}.sg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.sg-head h2{margin:0}.sg-head p,.sg-note,.sg-result-count{font-size:13px;line-height:1.5;color:var(--muted,#a8bdc9)}.sg-head button{min-width:44px}.sg-tabs,.sg-toolbar,.sg-shortcuts,.sg-chips,.sg-pages{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}.sg-tabs button[aria-pressed=true],.sg-shortcuts button:focus-visible{border-color:#f5d449;color:#f5d449}.sg-search{display:block}.sg-search input{width:100%;min-width:0;font-size:16px}.sg-toolbar>label{flex:1;min-width:120px}.sg-toolbar select{width:100%;font-size:14px;min-height:44px}.sg-toolbar button,.sg-tabs button,.sg-shortcuts button,.sg-pages button{min-height:44px;padding:10px 12px;font-size:14px}.sg-shortcuts{font-size:13px}.sg-shortcuts select{max-width:100%;min-height:44px;font-size:13px}.sg-chips button{border-radius:24px;padding:6px 12px;min-height:36px;font-size:12px}.sg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.sg-card{border:1px solid #315064;border-top:3px solid var(--rarity,#618eae);border-radius:16px;background:#0a293a;min-width:0;overflow:hidden;display:flex;flex-direction:column}.sg-card-top{display:flex;justify-content:space-between;align-items:center;padding:4px 8px 0 12px;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.sg-card-top button{border:0;background:transparent;min-width:44px;min-height:44px;color:#f5d449;font-size:23px;padding:3px}.sg-art{display:block;width:100%;padding:8px;border:0;background:transparent;border-radius:0;aspect-ratio:1.7;min-height:0}.sg-art img,.sg-compare-head img{object-fit:contain;width:100%;height:100%;max-height:145px;display:block}.sg-no-art{display:grid;place-items:center;color:#a8bdc9;font-size:12px;min-height:80px}.sg-copy{padding:8px 12px;flex:1}.sg-copy h3{font-size:16px;line-height:1.3;margin:0 0 7px;overflow-wrap:anywhere}.sg-copy p,.sg-copy small{font-size:12px;line-height:1.4;margin:4px 0;display:block;letter-spacing:0;text-transform:none}.sg-stars{color:#f5d449;font-size:14px;letter-spacing:1px}.sg-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:8px}.sg-card-actions button{min-height:44px;min-width:0;padding:7px 3px;font-size:12px}.sg-reason{padding:0 12px 10px;font-size:11px;line-height:1.4;text-transform:none;letter-spacing:0}.sg-empty{grid-column:1/-1;text-align:center;padding:28px 10px}.sg-pages{justify-content:center;margin:20px 0}.sg-suggestions{margin:18px 0;border:1px solid #315064;border-radius:12px;padding:12px}.sg-suggestions summary{cursor:pointer;min-height:32px}.sg-suggestions button{display:block;width:100%;text-align:left;margin-top:8px;font-size:14px;min-height:44px}.sg-suggestions small{display:block;font-size:12px;letter-spacing:0;text-transform:none;color:#adc2ce;margin-top:5px}.sg-dialog{box-sizing:border-box;background:#072536;color:#edf5fa;border:1px solid #3d6278;border-radius:18px;padding:20px;width:min(940px,calc(100% - 24px));max-width:100%;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;margin:auto}.sg-dialog::backdrop{background:#00101acc}.sg-dialog header,.sg-dialog footer{display:flex;gap:12px;justify-content:space-between;align-items:center}.sg-dialog header h2{font-size:22px}.sg-dialog header button,.sg-dialog footer button{min-height:44px}.sg-dialog details{border-bottom:1px solid #315064;padding:10px 0}.sg-dialog summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.sg-dialog label{display:block;font-size:14px;margin:8px 0}.sg-dialog input:not([type=checkbox]),.sg-dialog select{width:100%;min-height:44px;font-size:16px}.sg-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:4px;max-height:240px;overflow:auto}.sg-checks label{display:flex;gap:10px;align-items:center;min-height:44px;margin:0}.sg-checks input{width:22px;height:22px}.sg-range{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sg-dialog footer{position:sticky;bottom:-20px;background:#072536;padding:15px 0 max(15px,env(safe-area-inset-bottom));border-top:1px solid #315064}.sg-dialog p{font-size:14px;line-height:1.5}.sg-compare-row{display:grid;grid-template-columns:repeat(var(--sg-count,2),minmax(0,1fr));gap:12px}.sg-compare-head section{min-width:0;padding:8px}.sg-compare-head img{height:120px}.sg-compare-head h3{font-size:18px;line-height:1.3;overflow-wrap:anywhere}.sg-compare-head small{display:block;text-transform:none;letter-spacing:0}.sg-compare-head button{min-height:44px;font-size:13px;padding:8px;margin:8px 0}.sg-metric{border-top:1px solid #315064;padding:12px 0}.sg-metric h4{font-size:13px;margin:0 0 8px;color:#a9c0cd}.sg-metric .sg-compare-row>div{padding:8px;overflow-wrap:anywhere;font-size:15px;border-radius:8px}.sg-metric small{display:block;font-size:11px;letter-spacing:0;text-transform:none}.sg-best{background:#0c433c;color:#96edc8}.sg-note button{font-size:12px;min-height:44px;margin:8px 0}.sg-dialog :focus-visible,#smart-garage-root :focus-visible{outline:3px solid #f5d449;outline-offset:2px}.sg-champion-stats{font-size:12px;padding:6px 12px;background:#123b4b}.sg-entry-button{min-height:44px;margin:10px 0}
@media(max-width:600px){.sg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sg-card{border-radius:12px}.sg-copy{padding:6px 9px}.sg-copy h3{font-size:14px}.sg-card-top{font-size:10px;padding-left:9px}.sg-toolbar{gap:6px}.sg-toolbar button{padding:9px 8px;font-size:13px}.sg-toolbar select{font-size:13px}.sg-dialog{width:calc(100% - 12px);padding:14px;border-radius:14px;max-height:calc(100dvh - 12px)}.sg-filter-dialog{margin:auto 0 0;width:100%;border-radius:20px 20px 0 0;max-height:90dvh;padding-bottom:env(safe-area-inset-bottom)}.sg-checks{grid-template-columns:1fr}.sg-dialog footer{bottom:-14px}.sg-compare-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sg-compare-head h3{font-size:14px}.sg-compare-head img{height:90px}.sg-metric .sg-compare-row>div{font-size:13px;padding:5px}.sg-art{padding:6px}.sg-dialog header h2{font-size:19px}}
@media(max-width:330px){.sg-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){#smart-garage-root *, .sg-dialog *{animation:none!important;transition:none!important}}

.sg-history{font-size:13px;margin-top:8px;line-height:1.5}.sg-detail-art{max-width:420px;margin:auto}.sg-detail-art img{width:100%;height:auto;object-fit:contain}
.sg-search .sr-only,.sg-toolbar .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.sg-confirm-dialog{max-width:520px}.sg-confirm-dialog footer{position:static;flex-wrap:wrap}.sg-confirm-dialog footer button{flex:1;min-width:140px}

.sg-economy{margin-top:20px}.sg-storage-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}.sg-storage-summary section{padding:14px;border:1px solid #ffffff24;border-radius:12px;min-width:0}.sg-storage-summary strong{font-size:1.4rem;color:var(--gold,#f4cf53)}.sg-pages{flex-wrap:wrap;gap:12px}.sg-pages label{display:flex;align-items:center;gap:8px}.sg-transfer-confirm{position:sticky;bottom:0;background:var(--panel,#121d26);padding:16px;border-top:1px solid #ffffff30;z-index:3;flex-wrap:wrap}.sg-transfer-confirm p{width:100%;margin:0 0 8px}.sg-card-actions{flex-wrap:wrap}.sg-card-actions [data-sg="transfer-start"]{width:100%}
