:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#e8edf7;background:#0c1220;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #34435e;background:#1c2940;color:#f2f5fc;border-radius:9px;padding:10px 14px}button:hover{filter:brightness(1.16)}button:disabled{opacity:.55}input,select,textarea{background:#111c30;border:1px solid #36445f;color:#f4f6fb;border-radius:9px;padding:12px;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:#6f87ff}textarea{min-height:92px;resize:vertical}label{display:block;font-size:14px;font-weight:600;margin:12px 0 6px}.muted{color:#9daec9}.small{font-size:13px}.primary{background:#6658e9;border-color:#6658e9;color:#fff;font-weight:700}.full{width:100%;margin-top:12px}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#24245e,#0c1220 60%);padding:20px}.login-card{background:#151f32;border:1px solid #35415d;border-radius:20px;width:min(100%,430px);padding:38px;box-shadow:0 30px 90px #0007}.brand-icon{font-size:40px;color:#9c8aff}.login-card h1{margin:6px 0 0}.login-card h2{font-size:20px;margin-top:34px}.login-card .muted{margin-top:2px}.link{background:none;border:0;color:#aaa0ff;display:block;margin-left:auto}.error{color:#ff8e99}.tip{font-size:13px;color:#f6c27c}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000b;display:grid;place-items:center;padding:20px}.modal{max-width:400px;background:#1b2940;padding:28px;border-radius:16px;border:1px solid #455673}.modal button{float:right}.app{min-height:100vh;display:flex}.sidebar{width:245px;background:#111b2e;border-right:1px solid #26354d;padding:25px 14px;display:flex;flex-direction:column;gap:30px;flex-shrink:0}.logo{display:flex;align-items:center;gap:10px;color:#a99dff;font-size:25px;font-weight:800;padding:0 10px}.logo span{font-size:16px;color:#fff;line-height:1.25}.logo small{font-size:11px;color:#9caac5}.sidebar nav{display:grid;gap:6px}.sidebar nav button{text-align:left;background:transparent;border:0;color:#aab8d0}.sidebar nav button.active{background:#2b315a;color:#fff}.sidebar-bottom{margin-top:auto;display:grid;gap:10px;overflow-wrap:anywhere;color:#9cabc4}.content{width:100%;max-width:1500px;margin:0 auto;padding:32px;min-width:0}.content header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.content h1{margin:4px 0;font-size:32px}.eyebrow{letter-spacing:2px;font-size:11px;color:#8d87ec;font-weight:700}.avatar{background:#5145a2;border-radius:50%;padding:14px;font-size:12px;font-weight:700}.toolbar{display:flex;gap:12px;margin:22px 0}.toolbar input{flex:1}.toolbar select{max-width:190px}.set-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:16px}.set-card{min-height:165px;background:#172238;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}.set-card img{width:85%;height:85px;object-fit:contain}.set-placeholder{font-size:40px;color:#736cf0}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:17px;margin-top:20px}.pokemon-card{background:#172238;border:1px solid #2c3b56;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px}.pokemon-card img{width:100%;aspect-ratio:.72;object-fit:contain}.pokemon-card strong{font-size:14px}.pokemon-card button{margin-top:auto}.no-image{aspect-ratio:.72;background:#26354b;display:grid;place-items:center;color:#9daec9}.summary,.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px;margin:20px 0}.summary>div,.stat-card,.panel{background:#172238;border:1px solid #2c3b56;border-radius:14px;padding:20px}.summary span,.stat-card span{display:block;color:#9caecb}.summary strong,.stat-card strong{display:block;font-size:30px;margin:8px 0}.stat-card small{color:#9caecb}.bar{height:8px;border-radius:12px;background:#2b3750;overflow:hidden;margin:12px 0}.bar i{display:block;height:100%;background:#32bd91}.stack{display:grid;gap:16px;margin-top:18px}.panel h2{margin-top:0}.panel textarea{display:block;margin-top:8px}.panel button{margin-top:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.match-head{display:flex;justify-content:space-between;gap:10px}.notice{padding:12px 16px;border:1px solid #5362a0;background:#222e4b;border-radius:9px;display:flex;justify-content:space-between}.notice button{padding:0 7px}.center{display:grid;place-items:center;height:100vh}@media(max-width:720px){.app{display:block}.sidebar{width:100%;padding:12px;gap:12px}.sidebar nav{display:flex;overflow-x:auto}.sidebar nav button{white-space:nowrap}.sidebar-bottom{display:none}.content{padding:18px}.content h1{font-size:25px}.toolbar{flex-wrap:wrap}.toolbar select{max-width:none}.form-grid{grid-template-columns:1fr}.match-head{display:block}}.deck-create{margin:22px 0}.deck-create .form-grid{align-items:end}.deck-create label,.panel .form-grid label{margin-top:8px}.deck-create .muted{margin:14px 0 4px}@media(max-width:720px){.deck-create .form-grid{grid-template-columns:1fr}}.search-choice{position:relative;min-width:0}.search-choice>label{margin-top:12px}.search-choice-list{position:absolute;z-index:30;left:0;right:0;top:calc(100% - 14px);max-height:255px;overflow-y:auto;background:#18253d;border:1px solid #5362a0;border-radius:10px;box-shadow:0 16px 32px #0008;padding:5px}.search-choice-list button{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:6px;padding:10px 12px}.search-choice-list button:hover,.search-choice-list button.highlight{background:#333b70}.search-choice-list p{padding:10px;margin:0}.search-choice>small{display:block;margin-top:5px}.deck-gallery{margin-top:24px;border-top:1px solid #34435e;padding-top:20px}.deck-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.deck-gallery-heading h3{margin:0}.deck-gallery-heading span,.deck-gallery-section h4 span{color:#9daec9;font-size:14px}.deck-gallery-warning{background:#42351e;border:1px solid #856737;color:#ffdfa4;border-radius:9px;padding:10px 12px}.deck-gallery-section{margin-top:22px}.deck-gallery-section h4{margin:0 0 12px}.deck-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:13px}.deck-gallery-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:4px;padding:7px;background:#111c30;border:1px solid #34435e;border-radius:10px;min-width:0;margin:0!important}.deck-gallery-art{position:relative;width:100%;aspect-ratio:.72;overflow:hidden;border-radius:6px;background:#23324b}.deck-gallery-art img{width:100%;height:100%;object-fit:contain}.deck-gallery-placeholder{height:100%;display:grid;place-items:center;text-align:center;padding:9px;color:#9daec9;font-size:12px}.deck-gallery-qty{position:absolute;top:5px;left:5px;background:#101727e8;border:1px solid #8b80ff;border-radius:7px;padding:4px 7px;font-size:15px;color:#fff}.deck-gallery-name{font-size:13px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}.deck-gallery-card small{color:#9daec9}.deck-gallery-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;background:#000d;z-index:100;display:grid;place-items:center;padding:18px}.deck-gallery-dialog{max-width:min(92vw,420px);max-height:95vh;display:flex;flex-direction:column;align-items:center;gap:10px}.deck-gallery-dialog button{align-self:flex-end}.deck-gallery-dialog img{max-width:100%;max-height:75vh;object-fit:contain}@media(max-width:720px){.deck-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:9px}}.deck-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 22px;padding-bottom:14px;border-bottom:1px solid #34435e}.deck-tabs button{background:#172238;border-color:#34435e;color:#b8c7e3;font-weight:650}.deck-tabs button.active{background:#5147c6;border-color:#8176ff;color:#fff}.deck-tab-count{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:12px;background:#ffffff20;font-size:12px}.deck-saved-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:10px 0 18px}.deck-saved-header h2{margin:0 0 4px}.deck-saved-header p{margin:0}.deck-saved-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px;margin-bottom:22px}.deck-saved-item{display:flex;flex-direction:column;gap:9px;text-align:left;padding:17px;background:#172238;border:1px solid #34435e;min-width:0}.deck-saved-item strong{font-size:16px;overflow-wrap:anywhere}.deck-saved-item small{color:#a6b8d6;overflow-wrap:anywhere}.deck-saved-item span{font-size:12px;color:#a6b8d6}.deck-saved-item.active{border-color:#8c80ff;box-shadow:0 0 0 1px #8c80ff;background:#222a4a}@media(max-width:720px){.deck-tabs button{flex:1}.deck-saved-grid{grid-template-columns:1fr}}.match-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin-bottom:16px}.match-filters label{margin:0}.match-filters button{grid-column:1/-1;justify-self:end}.match-result-win{color:#61d4a8}.match-result-loss{color:#ff9da7}.match-result-draw{color:#f5d28a}@media(max-width:900px){.match-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.match-filters{grid-template-columns:1fr}.match-filters button{justify-self:stretch}}.matchup-deck{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:5px;width:100%;cursor:pointer}.matchup-deck:hover,.matchup-deck-active{border-color:#8073ff;background:#20294a}.matchup-deck strong{margin:3px 0}.matchup-panel{margin-top:20px}.matchup-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;flex-wrap:wrap}.matchup-heading h2{margin:0}.matchup-heading label{min-width:220px;margin:0}.matchup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;margin-top:18px}.matchup-item{padding:16px;border:1px solid #34435e;border-radius:12px;background:#111c30}.matchup-top{display:flex;justify-content:space-between;gap:12px}.matchup-meta{display:flex;flex-wrap:wrap;gap:9px;color:#aabbd4;font-size:13px}.matchup-meta span:first-child{color:#45cda3}.matchup-meta span:nth-child(2){color:#ff9a9f}@media(max-width:720px){.matchup-heading label{width:100%}.matchup-grid{grid-template-columns:1fr}}.rankings-page{display:grid;gap:18px}.ranking-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.ranking-filters label{flex:1;min-width:165px;margin:0}.ranking-filters button{margin:0;height:46px}.ranking-scroll{overflow-x:auto}.ranking-table{width:100%;border-collapse:collapse;min-width:680px;text-align:left}.ranking-table th,.ranking-table td{padding:12px 10px;border-bottom:1px solid #34435e}.ranking-table th{color:#9daec9;font-size:12px}.ranking-table td{font-size:14px}.ranking-group{display:flex;gap:8px;margin:18px 0}.ranking-group button.active{background:#6658e9;border-color:#6658e9}.ranking-deck{padding:12px 0;border-bottom:1px solid #34435e}.ranking-deck:last-child{border-bottom:0}.ranking-deck-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.ranking-deck-head span{color:#9daec9}.ranking-deck .bar{margin:9px 0}.ranking-deck .bar i{background:#8577ff}.rankings-page .panel h2{margin:0 0 10px}@media(max-width:720px){.ranking-filters{display:grid}.ranking-deck-head{display:block}}.match-manage-card{min-width:0;overflow-wrap:anywhere}.match-card-actions{margin-top:16px;padding-top:12px;border-top:1px solid rgba(160,175,215,.18)}.match-action-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.match-action-row button{cursor:pointer}.match-edit-form{margin-top:16px;padding:18px;border:1px solid rgba(150,135,255,.3);border-radius:12px;background:#6455be12}.match-edit-form h3{margin:0 0 14px}.match-edit-form .form-grid{margin-bottom:12px}.match-edit-form label{display:flex;flex-direction:column;gap:6px;min-width:0}.match-edit-form input,.match-edit-form select,.match-edit-form textarea{max-width:100%;box-sizing:border-box}.match-edit-form textarea{min-height:90px}.match-edit-form .match-action-row{margin-top:12px}.match-delete-confirm{margin-top:16px;padding:16px;border:1px solid rgba(250,100,120,.45);border-radius:12px;background:#c8374b17}.match-delete-confirm p{margin:8px 0 12px}.match-danger{background:#b7334b!important;color:#fff!important;border:1px solid #d9546b!important}.match-danger-outline{border:1px solid rgba(245,110,130,.55)!important;color:#ff9aaa!important;background:transparent!important}.match-danger:hover,.match-danger-outline:hover{filter:brightness(1.12)}@media(max-width:600px){.match-edit-form{padding:12px}.match-action-row button{max-width:100%}}.set-logo-frame{width:100%;height:88px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:10px}.set-logo-frame img{display:block;max-width:94%;max-height:82px;width:auto;height:auto;object-fit:contain}.set-logo-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#a6b9e5}.set-logo-fallback span{font-size:30px;color:#7968ff;line-height:1.1}.set-logo-fallback small{font-size:9px;letter-spacing:.12em;text-transform:uppercase}.set-logo-wordmark{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:100%;padding:8px;text-align:center;color:#e8e9ff}.set-logo-wordmark .set-logo-wordmark-star{color:#8271ff;font-size:22px;line-height:1}.set-logo-wordmark strong{font-size:clamp(12px,1.05vw,16px);line-height:1.15;font-weight:800;letter-spacing:.025em;text-transform:uppercase;text-wrap:balance;text-shadow:0 2px 10px rgba(110,93,255,.22)}.set-logo-wordmark small{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#b7c8ef}.catalog-quantity-form{display:flex;flex-direction:column;gap:9px;margin-top:auto;width:100%}.catalog-quantity-form label{font-size:12px;color:#b6c8ec;text-align:left}.catalog-quantity-controls{display:flex;align-items:stretch;gap:8px;width:100%}.catalog-quantity-controls button{flex:0 0 38px;min-height:38px;border:1px solid #405076;border-radius:9px;background:#1c2944;color:#f3f5ff;cursor:pointer;font-size:20px}.catalog-quantity-controls button:disabled{opacity:.45;cursor:not-allowed}.catalog-quantity-controls input{min-width:0;width:100%;flex:1;text-align:center;border:1px solid #405076;border-radius:9px;background:#111c33;color:#fff;padding:8px;font-size:16px}.catalog-quantity-form>.primary{width:100%;min-height:38px}.catalog-quantity-controls input::-webkit-inner-spin-button,.catalog-quantity-controls input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.catalog-quantity-controls input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.collection-filter-panel{margin:22px 0;padding:20px 22px}.collection-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.collection-filter-heading h2{margin:0;font-size:1.2rem}.collection-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:14px}.collection-filter-grid label{display:flex;flex-direction:column;gap:8px;color:#b4c9ed}.collection-filter-grid input,.collection-filter-grid select{width:100%;min-width:0}.collection-filter-panel p{margin:14px 0 0}.wishlist-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.wishlist-tabs button{padding:12px 20px;border:1px solid #394664;border-radius:10px;background:#19243a;color:#e6ecff;cursor:pointer;font:inherit}.wishlist-tabs button.active{background:#5848aa;border-color:#8270d6;color:#fff}.wishlist-tabs button span{margin-left:8px;opacity:.8}.wishlist-search{margin-bottom:24px}.wishlist-search label{display:block}.wishlist-search input{display:block;width:100%;margin-top:8px}.wishlist-card{display:flex;flex-direction:column;gap:9px}.wishlist-card label{font-size:13px;color:#b7c9e8}.wishlist-card input{width:100%;margin-top:5px;padding:9px;border-radius:8px;background:#101b30;border:1px solid #3a4b67;color:#fff}.wishlist-card button,.wishlist-add{width:100%;margin-top:6px;padding:10px;border-radius:8px;cursor:pointer}.wishlist-card .wishlist-remove{border:1px solid #a55269;color:#ffc1ce;background:transparent}.wishlist-add{background:transparent;color:#d4c9ff;border:1px solid #8573d7}.wishlist-card button:disabled,.wishlist-add:disabled{opacity:.5;cursor:wait}.admin-panel{display:grid;gap:18px}.admin-create{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}.admin-create label,.admin-modal label{display:grid;gap:6px}.admin-create input,.admin-modal input{width:100%;min-width:0}.admin-heading,.admin-user,.admin-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-users{display:grid;gap:10px}.admin-user{border:1px solid var(--border,#384354);border-radius:12px;padding:14px;flex-wrap:wrap}.admin-user>div:first-child{display:grid;gap:3px;overflow-wrap:anywhere}.admin-user small{color:var(--muted,#999)}.admin-actions{justify-content:flex-end;flex-wrap:wrap}.admin-danger{color:#ef7070!important}.admin-alert{padding:12px;border-radius:8px;background:#20966421}.admin-error{background:#e646461f;color:#f18a8a}.admin-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99;background:#000b;display:grid;place-items:center;padding:20px}.admin-modal{width:min(460px,100%);display:grid;gap:14px}@media(max-width:750px){.admin-create{grid-template-columns:1fr}.admin-user{align-items:flex-start}.admin-actions{justify-content:flex-start}}.welcome-page{max-width:1050px;margin:0 auto;padding:12px 0 36px;text-align:center}.welcome-heading{margin:10px auto 26px}.welcome-kicker{color:#b9a6ff;font-size:.78rem;font-weight:800;letter-spacing:.13em}.welcome-heading h2{font-size:clamp(1.55rem,3vw,2.55rem);line-height:1.2;margin:14px 0}.welcome-heading h2 span{color:#b5a2ff}.welcome-heading p{color:#aebbd3;font-size:1.04rem}.welcome-image{display:block;width:100%;max-width:900px;height:auto;max-height:510px;object-fit:contain;margin:0 auto 28px;border-radius:16px;border:1px solid #33425e;box-shadow:0 16px 42px #050b1a55}.welcome-description{max-width:820px;margin:0 auto;color:#d7e2f5;font-size:1.04rem;line-height:1.8}.welcome-description p{margin:0 0 15px}.welcome-motto{display:block;color:#c4b5fd;margin-top:18px;font-size:1.1rem}.welcome-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:27px}.welcome-actions button{cursor:pointer}@media(max-width:600px){.welcome-page{padding:5px 0 25px}.welcome-heading{margin-bottom:18px}.welcome-image{border-radius:10px;margin-bottom:20px}.welcome-description{font-size:.96rem;line-height:1.65}.welcome-actions button{width:100%}}.dashboard-filter-panel{margin-bottom:22px}.dashboard-filter-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}.dashboard-filter-heading h2{margin:0;font-size:1.15rem}.dashboard-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.dashboard-filter-grid label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#b9cae8}.dashboard-filter-grid select{width:100%;min-width:0}.dashboard-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 22px}.dashboard-overview-card{border:1px solid #31405b;background:#19243b;border-radius:15px;padding:19px 22px;display:flex;flex-direction:column;gap:12px}.dashboard-overview-card span{color:#a5bde5;font-size:.94rem}.dashboard-overview-card strong{font-size:clamp(1.5rem,2.4vw,2.2rem);font-weight:700;color:#f5f7ff}@media(max-width:750px){.dashboard-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.dashboard-filter-grid{grid-template-columns:1fr}.dashboard-overview-card{padding:14px}}.tier-page{display:grid;gap:20px}.tier-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.tier-intro h2{margin:0 0 8px}.tier-intro a,.tier-info a{color:#a5a0ff;text-decoration:none}.tier-controls{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.tier-controls label{display:grid;gap:6px;flex:1 1 170px}.tier-controls input:not([type=checkbox]),.tier-controls select{width:100%;min-width:0}.tier-controls .tier-checkbox{display:flex;align-items:center;gap:8px;flex:1 1 190px;padding-bottom:12px}.tier-controls .tier-checkbox input{width:auto}.tier-controls button{margin-bottom:0}.tier-table-wrap{overflow-x:auto;border:1px solid #334155;border-radius:12px}.tier-table{width:100%;border-collapse:collapse;min-width:590px}.tier-table th,.tier-table td{padding:14px 16px;text-align:left;border-bottom:1px solid #334155}.tier-table th{background:#1b2540}.tier-table tr:nth-child(2n){background:#182239}.tier-deck{display:flex;align-items:center;gap:12px}.tier-deck img{width:38px;height:38px;object-fit:contain}.tier-info{line-height:1.6}.tier-info code{overflow-wrap:anywhere}.tier-error{color:#ffb4b4}.tier-view-switch{display:flex;gap:8px;flex-wrap:wrap}.tier-view-switch button{border:1px solid #354365;background:#17223a;color:#dbe5ff;border-radius:9px;padding:10px 18px;cursor:pointer}.tier-view-switch button.active{background:#50469a;border-color:#8e83ff;color:#fff}.tier-board{border:1px solid #39445c;border-radius:14px;overflow:hidden;background:#101726}.tier-band{display:grid;grid-template-columns:130px minmax(0,1fr);border-bottom:2px solid #101726;min-height:142px}.tier-band:last-child{border-bottom:0}.tier-band-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:14px;color:#181c26}.tier-band-label strong{font-size:clamp(36px,4vw,60px);line-height:1;font-weight:900}.tier-band-label small{font-size:11px;font-weight:700}.tier-band-s .tier-band-label{background:#ff797b}.tier-band-a .tier-band-label{background:#ffc17c}.tier-band-b .tier-band-label{background:#ffe58c}.tier-band-c .tier-band-label{background:#b9df9b}.tier-band-decks{padding:14px;display:flex;gap:12px;flex-wrap:wrap;align-items:center;min-width:0;background:#1b253a}.tier-band:nth-child(2n) .tier-band-decks{background:#182137}.tier-tile{width:124px;min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px;border:1px solid #40506b;border-radius:10px;background:#101a2d;text-align:center;color:#f0f4ff}.tier-tile img{width:76px;height:65px;object-fit:contain}.tier-tile strong{font-size:12px;line-height:1.25;overflow-wrap:anywhere}.tier-tile small{font-size:11px;color:#aabde3}.tier-empty{color:#a4b1c9;font-size:13px;font-style:italic}@media(max-width:650px){.tier-band{grid-template-columns:75px minmax(0,1fr)}.tier-band-label small{font-size:9px}.tier-tile{width:104px}.tier-tile img{width:64px}}.account-menu{position:relative;display:flex;align-items:center;z-index:30}.account-trigger{display:flex;align-items:center;gap:10px;border:1px solid #343f60;border-radius:12px;background:#1a2540;color:#e9edff;padding:5px 12px 5px 6px;cursor:pointer;max-width:280px}.account-trigger .avatar{flex-shrink:0}.account-username{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.account-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:170px;background:#1a2540;border:1px solid #343f60;border-radius:10px;padding:6px;box-shadow:0 12px 24px #0006}.account-dropdown button{width:100%;text-align:left;color:#f2f3ff;background:transparent;border:0;padding:11px 12px;cursor:pointer;border-radius:7px}.account-dropdown button:hover{background:#303c60}@media(max-width:640px){.account-username{max-width:100px}}.backup-menu-divider{height:1px;background:#343f60;margin:5px 4px}.backup-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000b;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px}.backup-dialog{background:#1a2540;border:1px solid #455477;border-radius:16px;color:#f2f3ff;width:min(100%,520px);max-height:90vh;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:14px;box-shadow:0 16px 50px #0008}.backup-dialog-title{display:flex;justify-content:space-between;align-items:center}.backup-dialog-title h2{margin:0}.backup-dialog-title button{font-size:24px}.backup-dialog p{margin:0;line-height:1.5}.backup-dialog button{cursor:pointer}.backup-dialog input[type=file]{max-width:100%}.backup-summary{border:1px solid #455477;border-radius:10px;padding:12px;display:grid;gap:6px}.backup-summary small{color:#b6c5e4}.backup-error{color:#ff9c9c}.backup-status{color:#9ee5c4}.tcg-brand-pokeball{width:28px;height:28px;object-fit:contain;flex-shrink:0;vertical-align:middle}.tcg-pokeball-avatar{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;padding:0;background:transparent;flex-shrink:0}.tcg-pokeball-avatar img{display:block;width:100%;height:100%;object-fit:contain}.tcg-login-pokeball{display:block;width:52px;height:52px;object-fit:contain;margin:0 auto}.account-menu .account-trigger{display:flex;flex-direction:row;align-items:center;gap:12px;width:100%}.account-menu .account-trigger .tcg-pokeball-avatar{display:inline-flex;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important;flex:0 0 48px!important;border-radius:50%;padding:0;overflow:hidden;background:transparent}.account-menu .account-trigger .tcg-pokeball-avatar img{display:block;width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;object-fit:contain}.account-menu .account-trigger .account-username{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.account-menu .account-trigger>span:last-child{flex:0 0 auto;margin-left:auto}
