:root{--ink:#192f2e;--deep:#163c36;--green:#1f5b4e;--green2:#e6efe9;--muted:#75827b;--line:#dce3da;--paper:#f5f6f1;--white:#fff;--gold:#c5a06a;--goldsoft:#f6efe3;--red:#aa453c;--shadow:0 12px 40px rgba(25,47,46,.08)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;background:var(--paper);color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}a{color:var(--green)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2{letter-spacing:-.045em}h1{font-size:clamp(2.15rem,4vw,3.25rem);font-weight:700;line-height:1.12}h2{font-size:1.7rem;font-weight:700}h3{font-size:1.08rem;font-weight:700}small,.muted{color:var(--muted)}.eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.16em;color:var(--green);text-transform:uppercase}.subheading{color:var(--muted);font-size:.92rem;margin-top:7px}.mono{font-variant-numeric:tabular-nums}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:12px;padding:12px 17px;font-weight:700;white-space:nowrap;background:#e8eee9;color:var(--deep);transition:filter .14s,transform .14s}.button:active{transform:scale(.98)}.button.primary{background:var(--deep);color:white}.button.secondary{background:var(--white);color:var(--deep);border-color:var(--line)}.button.outline{background:transparent;color:var(--deep);border-color:#b7c9c0}.button.danger{background:#fff0ed;color:var(--red)}.button.wide{width:100%;margin-top:15px}.button.mini{padding:9px 12px;font-size:.86rem}.square-button{width:38px;height:38px;border-radius:11px;border:1px solid var(--line);background:white;color:var(--deep);font-size:20px;display:grid;place-items:center}.icon-button{border:0;background:none;text-align:left}.brandmark{display:flex;align-items:center;gap:10px;color:var(--deep);padding:0}.brandmark .logo-mark{display:grid;place-items:center;width:39px;height:39px;background:var(--deep);color:#f8f4ec;font-size:25px;font-family:Georgia,serif;border-radius:12px;font-weight:600;box-shadow:inset 0 0 0 2px #c5a06a}.brandmark strong{font-size:.88rem;display:block;letter-spacing:.12em}.brandmark small{font-size:.61rem;display:block;letter-spacing:.16em;margin-top:3px;font-weight:700}.shell{min-height:100vh}.topbar{height:77px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.topbar-inner{max-width:1480px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:0 27px;height:100%;gap:14px}.head-right{display:flex;align-items:center;gap:12px}.sync-pill{display:inline-flex;align-items:center;gap:7px;color:#507569;font-size:.79rem;font-weight:750}.status-dot{width:7px;height:7px;border-radius:50%;background:#4c9977}.sync-pill.warn{color:var(--red)}.sync-pill.warn .status-dot{background:var(--red)}.layout{max-width:1480px;margin:auto;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{padding:33px 16px 22px 24px;border-right:1px solid var(--line);min-height:calc(100vh - 77px);display:flex;flex-direction:column;gap:18px}.side-title{font-size:.7rem;font-weight:800;letter-spacing:.15em;color:#9ba8a1;padding:0 14px}.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:none;text-align:left;padding:12px 14px;border-radius:11px;display:flex;align-items:center;gap:12px;background:transparent;color:#58645e;font-weight:650}.sidebar nav button span{font-size:21px;width:24px;text-align:center}.sidebar nav button.active{background:var(--green2);color:var(--green);font-weight:800}.sidebar nav button:hover{background:#ebf0e9}.side-bottom{margin-top:auto}.side-note{padding:18px;border-radius:16px;background:#eaf0e8;display:grid;gap:7px}.side-note span{font-size:.66rem;letter-spacing:.13em;font-weight:800;color:#829c91}.side-note strong{font-size:.8rem}.side-note small{font-size:.74rem}.main-column{min-width:0;padding:36px clamp(18px,3.4vw,54px) 24px}.app-footer{display:flex;justify-content:space-between;gap:12px;margin:42px 0 0;color:#9aa69f;font-size:.75rem}.bottom-nav{display:none}.view-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:27px}.view-head .heading-text{max-width:670px}.view-head .eyebrow{margin-bottom:9px}.row-actions{display:flex;align-items:center;gap:8px}.panel{background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 2px 9px rgba(16,37,29,.025)}.welcome-panel{background:var(--deep);border-radius:21px;padding:30px 34px;color:white;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;min-height:205px}.welcome-panel::after{content:'C';position:absolute;right:35px;bottom:-70px;font-family:Georgia,serif;font-size:270px;line-height:1;color:rgba(221,235,224,.065);pointer-events:none}.welcome-panel h2{font-family:Georgia,serif;font-size:2.2rem;letter-spacing:-.026em;font-weight:500;max-width:520px;margin:9px 0 15px}.welcome-panel .intro{color:#ceded2;font-size:.91rem;max-width:520px;line-height:1.6}.welcome-panel .eyebrow{color:#d6b784}.welcome-pill{display:inline-flex;border:1px solid #4e6c61;border-radius:12px;padding:11px 14px;font-weight:700;font-size:.8rem;background:rgba(255,255,255,.07);align-self:flex-end;position:relative;z-index:1}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:19px 0 31px}.stat{padding:19px 20px}.stat .label{font-size:.78rem;color:#81918a;font-weight:700;display:block;margin-bottom:11px}.stat strong{display:block;font-size:clamp(1.3rem,2.5vw,1.9rem);letter-spacing:-.04em;font-weight:750}.stat .hint{font-size:.73rem;color:#899991;margin-top:6px;display:block}.section-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}.section-row h3{font-size:1.12rem}.text-link{border:0;background:none;color:var(--green);font-weight:800}.set-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.set-card{padding:23px 21px;position:relative;overflow:hidden}.set-card .set-overline{font-size:.72rem;color:#83918a;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.set-card strong{display:block;font-size:1.4rem;margin:8px 0 5px}.set-card .ratio{font-size:.91rem;color:#526a5d;font-weight:700}.progress{background:#e9eeeb;border-radius:20px;height:7px;overflow:hidden;margin-top:17px}.progress>span{height:100%;display:block;background:var(--green);border-radius:20px}.set-card .set-footer{font-size:.77rem;color:#9aa9a1;margin-top:10px}.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:15px;margin-top:20px}.notes-panel{padding:23px}.notes-panel p{color:#657770;line-height:1.65;margin-top:8px;font-size:.87rem}.activity-list{display:grid;gap:1px}.activity{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);gap:12px}.activity:last-child{border:0}.activity .card-main{font-weight:750}.activity small{display:block;margin-top:4px}.chip{display:inline-flex;align-items:center;border-radius:20px;font-size:.7rem;font-weight:800;padding:5px 10px;white-space:nowrap;background:#edf2ec;color:#48745f}.chip.gold{background:#fcf2e3;color:#a47b42}.chip.gray{background:#f1f2f0;color:#74827a}.chip.blue{background:#e9f0f4;color:#4f778e}.chip.red{background:#fff1ef;color:var(--red)}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:17px}.search-wrap{position:relative;flex:1;min-width:200px}.search-wrap::before{content:'⌕';position:absolute;left:14px;top:8px;color:#8fa097;font-size:24px}input,select,textarea{outline:0;border:1px solid #d6e0d8;background:white;color:var(--ink);border-radius:11px;min-height:43px;padding:11px 12px;width:100%}input:focus,select:focus,textarea:focus{border-color:#5b9f82;box-shadow:0 0 0 3px #e2f2e9}textarea{min-height:86px;resize:vertical}input[type=search]{padding-left:38px}select{width:auto;min-width:140px}.table-card{overflow:hidden}.table-wrap{overflow:auto;-webkit-overflow-scrolling:touch}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:.69rem;letter-spacing:.1em;text-transform:uppercase;color:#93a198;font-weight:800;background:#fbfcfa;padding:15px 17px;white-space:nowrap}td{padding:13px 17px;border-top:1px solid #eef1ee;font-size:.89rem;vertical-align:middle}tr:hover td{background:#fafcf9}td.card-name{font-weight:780;white-space:nowrap;cursor:pointer}td.card-name small{font-weight:500;font-size:.75rem}.symbol{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#f5f0e6;color:#987649;font-weight:900}.set-text{font-size:.73rem;color:#8b9a90}.set-sub{font-weight:800}.missing{color:#a4b4aa}.number{text-align:right;font-variant-numeric:tabular-nums;font-weight:720;white-space:nowrap}.table-click{border:none;background:transparent;color:var(--green);font-size:.78rem;font-weight:800;padding:8px 4px;white-space:nowrap}.list-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-top:1px solid var(--line);gap:12px;color:#83948b;font-size:.8rem}.empty{padding:42px 20px;text-align:center;color:#8b9c92}.empty strong{display:block;color:var(--deep);font-size:1.08rem;margin-bottom:7px}.result-meta{margin:0 0 13px;color:#8b9b91;font-size:.83rem}.segmented{display:inline-flex;border:1px solid #d8e2db;background:#edf2eb;border-radius:12px;padding:3px;gap:2px}.segmented button{border:none;border-radius:9px;padding:8px 13px;color:#74877b;background:transparent;font-weight:750}.segmented button.active{background:white;color:var(--deep);box-shadow:0 1px 3px #223d2b18}.infoline{color:#83938b;font-size:.82rem;line-height:1.5}.dex-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.dex-item{background:white;border:1px solid var(--line);border-radius:12px;padding:12px;text-align:left;min-height:76px}.dex-item:hover{border-color:#91b6a0}.dex-item .dex-no{display:block;color:#a2b1a8;font-size:.69rem;font-weight:850;margin-bottom:8px}.dex-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem}.dex-item .tiny{display:block;font-size:.65rem;color:#a5b5ac;margin-top:5px}.dex-item.has-first{background:#eaf2ea;border-color:#d3e7d9}.dex-item.has-first .tiny{color:#327659}.value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:19px}.value-panel{padding:22px}.value-panel small{display:block;margin-bottom:9px;color:#8c9c92}.value-panel strong{display:block;font-size:1.7rem;letter-spacing:-.035em}.value-panel em{font-style:normal;font-size:.75rem;color:#9ba99e;margin-top:7px;display:block}.bars{display:grid;gap:17px}.bar-label{display:flex;justify-content:space-between;font-size:.85rem;font-weight:750;margin-bottom:8px}.bar{height:11px;background:#edf1ed;border-radius:99px;overflow:hidden}.bar>div{height:100%;border-radius:99px;background:#397965}.drawer-overlay{position:fixed;inset:0;z-index:50}.drawer-backdrop{position:absolute;inset:0;background:#14241c90;backdrop-filter:blur(2px)}.drawer{position:absolute;right:0;top:0;height:100%;width:min(500px,100%);background:#fbfcf9;box-shadow:-15px 0 60px #142b1f25;display:flex;flex-direction:column}.drawer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:25px 25px 19px;border-bottom:1px solid var(--line);background:white}.drawer-head h2{font-size:1.5rem}.drawer-body{padding:24px 24px 110px;overflow:auto}.detail-sub{color:#86968c;font-size:.8rem;margin-top:5px}.detail-price-row{display:flex;justify-content:space-between;gap:10px;margin:22px 0 17px;background:#eef4ef;border:1px solid #ddebe0;padding:17px 18px;border-radius:12px}.detail-price-row small{display:block;margin-bottom:6px;color:#809a86}.detail-price-row strong{font-size:1.25rem}.detail-copy{border:1px solid var(--line);border-radius:14px;background:white;margin:14px 0;overflow:hidden}.detail-copy-head{padding:16px;display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f8faf7}.detail-copy-head h3{font-size:1rem}.detail-copy-body{padding:15px;display:grid;gap:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:grid;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:.73rem;font-weight:800;color:#72877a}.field input,.field select{min-width:0;width:100%}.field textarea{font-size:.86rem}.form-actions{display:flex;gap:9px;margin:12px 0 4px}.drawer-section{margin:25px 0 12px;font-size:.95rem;font-weight:800}.tool-actions{display:grid;gap:10px}.tool-actions .button{justify-content:flex-start;width:100%}.danger-area{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);max-width:min(90vw,440px);padding:13px 19px;border-radius:13px;background:#163c36;color:white;z-index:100;font-size:.85rem;box-shadow:var(--shadow)}.error-text{color:var(--red);font-size:.83rem;margin-top:9px}.login-view{min-height:100vh;display:grid;place-items:center;padding:25px;position:relative;overflow:hidden;background:#e6ece4}.login-view::before{content:'';position:absolute;width:700px;height:700px;border:1px solid #cad9ca;border-radius:50%;top:-420px;left:-240px;box-shadow:0 0 0 95px #dfe9dc,0 0 0 190px #e6ece4}.login-ornament{position:absolute;right:10%;bottom:-70px;font-size:290px;font-family:Georgia;color:#d5e2d5}.login-card{position:relative;z-index:1;background:white;border:1px solid #d5e1d5;border-radius:24px;max-width:470px;width:100%;padding:35px;box-shadow:0 24px 65px #173c3617}.login-rule{height:1px;background:var(--line);margin:26px 0}.login-card h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-.04em;font-size:2.5rem;margin:10px 0 14px}.login-card h1 em{color:var(--green);font-weight:400}.login-card .muted{line-height:1.6;margin-bottom:26px}.login-card form{display:grid;gap:8px}.login-card label{font-size:.77rem;font-weight:800}.login-foot{font-size:.72rem;color:#9daba1;text-align:center;margin-top:23px}.mobile-only{display:none}
@media(max-width:1050px){.layout{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding-left:11px}.stats-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.dex-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.topbar{height:64px}.topbar-inner{padding:0 15px}.head-right{gap:8px}.head-right .button{display:none}.brandmark .logo-mark{width:35px;height:35px;font-size:23px}.brandmark strong{font-size:.75rem}.brandmark small{font-size:.55rem}.sync-pill{font-size:.68rem}.sidebar{display:none}.layout{display:block}.main-column{padding:26px 16px 105px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:18;background:#fffdfbed;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 5px calc(9px + env(safe-area-inset-bottom));backdrop-filter:blur(18px)}.bottom-nav button{border:0;background:transparent;color:#84938a;display:grid;gap:4px;justify-items:center;align-items:center;padding:2px 0;min-width:0}.bottom-nav button span{font-size:24px;line-height:22px}.bottom-nav button small{font-size:.64rem;font-weight:800}.bottom-nav button.active{color:var(--green)}.bottom-nav .add-tab{width:45px;height:45px;border-radius:14px;background:var(--deep);color:white;font-size:31px;align-self:start;justify-self:center;margin-top:-14px;box-shadow:0 5px 18px #173c3640}.app-footer{display:none}.view-head{align-items:flex-start;gap:14px}.view-head h1{font-size:2.15rem}.view-head .row-actions{display:none}.welcome-panel{padding:25px;min-height:176px}.welcome-panel h2{font-size:1.75rem}.welcome-panel .intro{font-size:.82rem}.welcome-pill{display:none}.stats-grid{gap:9px;margin:13px 0 26px}.stat{padding:16px}.stat .label{font-size:.69rem}.stat strong{font-size:1.5rem}.set-grid{grid-template-columns:1fr;gap:10px}.set-card{padding:18px}.set-card strong{margin:6px 0 2px}.set-card .progress{margin-top:12px}.set-card .set-footer{margin-top:6px}.two-col{gap:12px}.toolbar{gap:8px}.toolbar select{flex:1;min-width:calc(50% - 5px)}.toolbar .search-wrap{flex-basis:100%}th{padding:12px 13px}td{padding:11px 13px}table .hide-mobile{display:none}.table-card{margin:0 -2px}.dex-grid{grid-template-columns:repeat(3,1fr);gap:7px}.dex-item{padding:10px;min-height:66px}.dex-item strong{font-size:.77rem}.value-grid{grid-template-columns:1fr 1fr;gap:9px}.value-panel{padding:17px}.value-panel strong{font-size:1.36rem}.drawer{top:auto;bottom:0;right:0;left:0;height:min(95vh,950px);width:100%;border-radius:22px 22px 0 0}.drawer-head{padding:18px 18px 15px;border-radius:22px 22px 0 0}.drawer-body{padding:18px 18px calc(65px + env(safe-area-inset-bottom))}.form-grid{gap:9px}.login-card{padding:28px 23px}.mobile-only{display:block}.list-footer{padding:13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.collection-tabs{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:12px;background:#edf2eb;margin-right:auto}.collection-tabs button{border:0;background:transparent;color:#718178;border-radius:9px;padding:8px 12px;font-weight:800;font-size:.78rem}.collection-tabs button.active{background:#fff;color:var(--deep);box-shadow:0 1px 3px #223d2b18}.side-title-spaced{margin-top:15px}.hub-hero{background:var(--deep);border-radius:21px;padding:32px 34px;color:white;position:relative;overflow:hidden}.hub-hero::after{content:'C';position:absolute;right:35px;bottom:-74px;font-family:Georgia,serif;font-size:270px;line-height:1;color:rgba(221,235,224,.065);pointer-events:none}.hub-hero h2{font-family:Georgia,serif;font-size:2.15rem;letter-spacing:-.026em;font-weight:500;margin:9px 0 14px;position:relative;z-index:1}.hub-hero p:not(.eyebrow){color:#ceded2;line-height:1.6;max-width:540px;position:relative;z-index:1}.hub-hero .eyebrow{color:#d6b784;position:relative;z-index:1}.hub-section{margin-top:27px}.hub-card{width:100%;border:1px solid var(--line);border-radius:18px;background:#fff;padding:25px;display:flex;align-items:center;gap:19px;text-align:left;color:var(--ink);box-shadow:0 2px 9px rgba(16,37,29,.025)}.hub-card:hover{border-color:#9fbaaa}.hub-card h2{font-size:1.25rem;margin:6px 0}.hub-card p:not(.eyebrow){color:#718178;line-height:1.55}.hub-card-mark{width:52px;height:52px;flex:0 0 52px;border-radius:16px;display:grid;place-items:center;background:#eaf0e8;color:var(--green);font-size:25px}.hub-card-action{margin-left:auto;color:var(--green);font-weight:800;white-space:nowrap}.hub-stats{margin-top:18px}
@media(max-width:760px){.topbar{height:104px}.topbar-inner{align-items:flex-start;padding-top:12px;position:relative}.topbar .brandmark>div{display:none}.collection-tabs{position:absolute;left:15px;bottom:8px;margin:0}.collection-tabs button{padding:7px 12px}.head-right .sync-pill{display:none}.hub-hero{padding:25px;min-height:176px}.hub-hero h2{font-size:1.75rem}.hub-hero p:not(.eyebrow){font-size:.82rem}.hub-card{padding:18px;align-items:flex-start}.hub-card-mark{width:44px;height:44px;flex-basis:44px;border-radius:13px}.hub-card h2{font-size:1.08rem}.hub-card p:not(.eyebrow){font-size:.8rem}.hub-card-action{display:none}.hub-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-stats .stat{padding:14px 10px}.hub-stats .stat strong{font-size:1.25rem}}

.pokemon-sidebar[hidden]{display:none!important}.topbar-inner{gap:18px}.topbar .brandmark strong{letter-spacing:0;font-size:.9rem}.collection-tabs{flex-shrink:0}.hub-stats{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.topbar .brandmark>div{display:block}.topbar .brandmark strong{font-size:.8rem}.topbar .brandmark small{font-size:.48rem}.topbar-inner{height:104px;align-items:flex-start}.head-right{margin-left:auto}.layout{padding-top:0}}
