:root{color:#172033;background:#f3f6fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{margin:0}main{max-width:1280px;margin:0 auto;padding:32px}.loginPanel{align-items:center;background:#fffaf0e6;border:1px solid #e1cf9f;border-radius:26px;box-shadow:0 22px 60px #3d290921;display:flex;flex-direction:column;gap:24px;justify-content:center;margin:12vh auto 0;max-width:420px;padding:34px;text-align:center}.loginPanel h1{font-size:clamp(2rem,5vw,4rem);margin:0 0 10px}.loginBrand{align-items:center;display:flex;flex-direction:column;gap:12px;margin-bottom:24px;text-align:center}.loginBrand .cardquestLogo{border-radius:12px;height:80px;width:80px}.loginBrand p{color:#6e604d;margin:0}.loginPanelCentered{flex-direction:column;gap:24px;justify-content:center;max-width:420px;text-align:center}.loginFormCentered{align-items:center;display:flex;flex-direction:column;gap:16px}.loginForm{display:grid;gap:12px}.hero{align-items:center;background:linear-gradient(135deg,#0d1b3f,#2651d7);border-radius:28px;color:#fff;display:flex;justify-content:space-between;padding:40px;box-shadow:0 24px 60px #1a378c40}.eyebrow{color:#9fbcff;font-weight:700;letter-spacing:.12em;text-transform:uppercase}h1{font-size:clamp(2.4rem,6vw,5rem);line-height:.95;margin:0}.subtitle{color:#dce6ff;font-size:1.1rem;max-width:680px}.actions{display:flex;flex-direction:column;gap:12px}button,input{border:0;border-radius:14px;font:inherit;padding:13px 16px}button{background:#fff;color:#173578;cursor:pointer;font-weight:800}button:disabled{cursor:wait;opacity:.65}input{background:#eef3fb;min-width:260px}.notice{background:#fff7dc;border-radius:16px;margin:20px 0;padding:16px}.jobStatus{background:#fffaf0f0;border:1px solid rgba(137,106,52,.2);border-radius:18px;box-shadow:0 12px 28px #48321414;display:grid;gap:12px;margin:18px 0;padding:16px}.jobHeader{align-items:center;display:flex;justify-content:space-between;gap:12px}.jobHeader span{color:#806d50;font-weight:800}.progressTrack{background:#eadfbd;border-radius:999px;height:10px;overflow:hidden}.progressFill{background:linear-gradient(90deg,#26371f,#d8b75c);border-radius:inherit;height:100%;transition:width .3s ease}.jobSummary{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.jobSummary span{background:#fff7e6;border:1px solid #eadfbd;border-radius:14px;color:#806d50;padding:10px}.jobSummary strong{color:#241b0d}.stats{display:grid;gap:12px;grid-template-columns:repeat(5,minmax(0,1fr));margin:24px 0}.stats article,.panel{background:#fff;border:1px solid #e3e9f4;border-radius:22px;box-shadow:0 12px 30px #15285414}.stats article{padding:18px}.stats article.statTile{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}.stats article.statTile:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f}.stats article.statTile.active{background:linear-gradient(135deg,#2f3c27,#3d4f33);border-color:#2f3c27}.stats article.statTile.active span{color:#c9d4a8}.stats article.statTile.active strong{color:#fff}.stats span{color:#65728a;display:block}.stats strong{display:block;font-size:clamp(1.35rem,2vw,2rem);margin-top:8px}.panel{padding:24px}.panelHeader{align-items:center;display:flex;justify-content:space-between;gap:16px}.inventoryHeader{align-items:flex-start;display:grid;gap:20px;grid-template-columns:1fr minmax(360px,520px)}.inventoryHeader h2{margin-bottom:6px}.inventoryHeader p{color:#6e604d;margin:0}.inventorySearch{display:grid;gap:7px}.inventorySearch label{color:#7a684d;font-size:.82rem;font-weight:900;text-transform:uppercase}.searchRow{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(180px,1fr) auto auto}.searchRow input{min-width:0;width:100%}.searchRow button{padding:11px 14px}.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.card{border:1px solid #e5ebf4;border-radius:18px;display:grid;grid-template-columns:92px 1fr;gap:14px;padding:14px}.card img{background:#edf2f8;border-radius:14px;height:128px;object-fit:cover;width:92px}.card h3{font-size:1rem;margin:0 0 8px}.card p,.card span{color:#65728a;display:block;margin:5px 0}.card a{color:#2651d7;display:inline-block;font-weight:800;margin-top:10px}.columns{display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-top:24px}.alert{border-bottom:1px solid #edf1f7;color:#34425a;padding-bottom:10px}@media(max-width:860px){main{padding:16px}.hero,.panelHeader{align-items:stretch;flex-direction:column}.stats,.columns{grid-template-columns:1fr}}:root{color:#211b16;background:#f2ead8}body{background:radial-gradient(circle at 20% 0%,rgba(202,171,96,.28),transparent 32%),linear-gradient(135deg,#f8f1df,#ece0c4 46%,#d8cab0)}main{max-width:1180px;padding:28px}.hero{background:linear-gradient(135deg,#1e2d22f5,#59492af0),radial-gradient(circle at 90% 10%,rgba(219,188,109,.35),transparent 34%);border:1px solid rgba(255,239,187,.42);border-radius:30px;box-shadow:0 24px 70px #42311747;color:#fff6dd;gap:28px;padding:28px}.brandMark{flex:0 0 auto}.crest{align-items:center;aspect-ratio:1;background:radial-gradient(circle,#eee2b8 0,#eee2b8 42%,#2f3c27 43%,#2f3c27 48%,#d6bd73 49%,#d6bd73 58%,#18160f 59%,#18160f 62%,#eee2b8 63%);border:7px solid #f1dfad;border-radius:28px;box-shadow:inset 0 0 0 2px #19160f,0 16px 32px #00000047;color:#19160f;display:flex;flex-direction:column;height:140px;justify-content:center;letter-spacing:.08em;text-align:center;text-transform:uppercase;width:140px}.crest strong{font-family:Georgia,serif;font-size:2.5rem;line-height:1}.crest span{font-size:.65rem;font-weight:900}.crestTop{transform:translateY(-8px)}.heroCopy{flex:1}.eyebrow{color:#d8bd74}h1{font-family:Georgia,Times New Roman,serif}.subtitle{color:#f7ebc6}button{background:linear-gradient(180deg,#f8e8b5,#d8b75c);border:1px solid rgba(84,65,28,.22);border-radius:999px;color:#241b0d;box-shadow:0 5px 12px #4d39141f;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}button:hover:not(:disabled){box-shadow:0 8px 18px #4d391429;filter:brightness(1.02);transform:translateY(-1px)}input{background:#fffaf0;border:1px solid #e1cf9f}.stats article,.panel{background:#fffaf0eb;border:1px solid rgba(137,106,52,.18);box-shadow:0 14px 36px #4832141a}.reactivateButton{margin-top:10px;padding:8px 16px;border-radius:999px;border:none;background:linear-gradient(180deg,#f8e8b5,#d8b75c);color:#241b0d;font-size:.85rem;font-weight:600;cursor:pointer;transition:transform .15s}.reactivateButton:hover{transform:translateY(-2px)}.statusBar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#2f3c27f2,#1a2515fa);border-radius:16px;padding:14px 20px;margin:20px 0;color:#f7ebc6;flex-wrap:wrap}.lastUpdate{display:flex;align-items:center;gap:16px;font-size:.9rem}.nextUpdate{color:#d8bd74;font-weight:500}.spreadsheetLink{background:linear-gradient(180deg,#f8e8b5,#d8b75c);color:#241b0d;text-decoration:none;padding:10px 18px;border-radius:999px;font-weight:600;font-size:.9rem;transition:transform .15s,box-shadow .15s}.spreadsheetLink:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000004d}.sectionKicker{color:#98713c;font-size:.78rem;font-weight:900;letter-spacing:.12em;margin:0 0 4px;text-transform:uppercase}.controls p{color:#6e604d}.questHeader{align-items:flex-start;background:linear-gradient(135deg,#fff7e6f2,#efe2bfa6);border:1px solid #eadfbd;border-radius:18px;display:grid;gap:16px;grid-template-columns:1fr auto;padding:18px}.questHeader h2{margin:0 0 8px}.cardToggle{background:#fffaf0;border:1px solid #e1cf9f;border-radius:999px;box-shadow:0 6px 14px #4d391414;padding:10px 13px}.toggle{align-items:center;color:#3b3022;display:inline-flex;flex:0 0 auto;gap:10px;justify-content:flex-end;line-height:1.2;max-width:none;min-width:220px;white-space:nowrap}.toggle input{min-width:0;width:auto}.playerComposer{display:grid;gap:10px;grid-template-columns:1fr auto;margin:20px 0 12px}.controlButtons{display:flex;gap:8px;margin-bottom:10px}.selectedRoster{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;min-height:0}.selectedChip{background:#2d2416;border:none;border-radius:999px;color:#f5e9c8;cursor:pointer;font-size:.85rem;font-weight:600;padding:6px 14px;transition:background .15s}.selectedChip:hover{background:#4a3820}.playerGrid{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.playerComposer input{width:auto}.controlButtons button{background:#efe2bf;box-shadow:none}.playerPill{background:#fff7e6;border:1px solid #ddca93;border-radius:999px;box-shadow:none;color:#3b3022;padding:8px 11px}.playerPill.active{background:#d8b75c;border-color:#9f762c;color:#20180d}.cardquestBadge{align-items:center;background:linear-gradient(145deg,#fbefc9,#dfcb91);border-radius:22px;box-shadow:inset 0 0 0 2px #11140c,0 16px 34px #0000004d;display:flex;height:142px;justify-content:center;padding:10px;width:142px}.badgeRing{align-items:center;background:radial-gradient(circle at center,#f4e7bb 0 35%,transparent 36%),conic-gradient(from -18deg,#8a925a,#d5c081,#6d774a,#b8ad78,#8a925a);border:4px solid #15170f;border-radius:50%;box-shadow:inset 0 0 0 4px #d9c17b,inset 0 0 0 7px #15170f;color:#14150f;display:flex;flex-direction:column;height:112px;justify-content:center;position:relative;width:112px}.badgeTitle{font-family:Georgia,serif;font-size:.78rem;font-weight:900;letter-spacing:.16em;position:absolute;text-transform:uppercase;top:13px}.badgeStar{color:#5a4d20;font-size:1rem;position:absolute;top:32px}.shield{border:3px solid #12140d;border-radius:9px 9px 18px 18px;display:grid;grid-template-columns:1fr 1fr;height:48px;overflow:hidden;transform:translateY(7px);width:50px}.shieldPanel{align-items:center;color:#f7edc9;display:flex;font-family:Georgia,serif;font-size:.72rem;font-weight:900;justify-content:center}.shieldPanel.red{background:#8d2e22}.shieldPanel.dark{background:#1f2118}.shieldPanel.green{background:#4d6236}.shieldPanel.gold{background:#9b8b35;color:#271f10}.badgeBottom{bottom:14px;font-size:.48rem;font-weight:900;letter-spacing:.08em;position:absolute;text-transform:uppercase}.inventorySortBar{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.inventorySortBar button{background:#efe2bf;border:1px solid #d8bd74;box-shadow:none;color:#2d2417;padding:8px 11px}.inventorySortBar button.active{background:#26371f;border-color:#26371f;color:#fff6dd}.inventorySortBar .clearSortButton{background:#fff;border:1px solid #d8bd74;color:#8b2635}.graderFilters{align-items:center;background:#fff7e6;border:1px solid #eadfbd;border-radius:16px;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:10px 12px}.graderFilters>span{color:#806d50;font-size:.8rem;font-weight:900;text-transform:uppercase}.graderFilters label{align-items:center;background:#fffaf0;border:1px solid #e1cf9f;border-radius:999px;color:#3b3022;display:inline-flex;font-weight:900;gap:6px;padding:7px 10px}.graderFilters input{min-width:0;width:auto}.playerFilter{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fffaf0db;border:1px solid #eadfbd;border-radius:12px;margin:12px 0;flex-wrap:wrap}.playerFilter span{font-weight:600;color:#5a4d3a;font-size:.9rem;white-space:nowrap}.playerFilter select{flex:1;min-width:200px;max-width:400px;padding:8px 12px;border-radius:8px;border:1px solid #d4c8b0;background:#fff;color:#3b3022;font-size:.9rem;min-height:40px}.playerFilter button{padding:8px 16px;border-radius:999px;border:none;background:linear-gradient(180deg,#f8e8b5,#d8b75c);color:#241b0d;font-weight:600;cursor:pointer;font-size:.85rem;transition:transform .15s}.playerFilter button:hover{transform:translateY(-2px)}.playerFilterSection{background:linear-gradient(135deg,#faf8f5,#f5f0e8);border:1px solid #e8e0d5;border-radius:12px;padding:16px 20px;margin:12px 0}.playerFilterSection h4{margin:0 0 12px;color:#5a4d3a;font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.selectedPlayers{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.playerPill{display:flex;align-items:center;gap:6px;background:linear-gradient(135deg,#98713c,#b8935f);color:#fff;padding:4px 12px;border-radius:20px;font-size:.85rem;font-weight:500}.playerPill button{background:none;border:none;color:#fff;cursor:pointer;font-size:1.1rem;line-height:1;padding:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .15s}.playerPill button:hover{background:#fff3}.playerSelectRow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.playerDropdown{flex:1;min-width:180px;padding:10px 14px;border:1px solid #d4c4a8;border-radius:8px;background:#fff;color:#3d342b;font-size:.95rem;cursor:pointer;transition:border-color .15s}.playerDropdown:hover,.playerDropdown:focus{border-color:#98713c;outline:none}.orDivider{color:#8a7d6a;font-size:.85rem;font-weight:500}.playerTypeInput{flex:1;min-width:150px;padding:10px 14px;border:1px solid #d4c4a8;border-radius:8px;background:#fff;color:#3d342b;font-size:.95rem;transition:border-color .15s}.playerTypeInput:hover,.playerTypeInput:focus{border-color:#98713c;outline:none}.ebayPricingDisplay{background:linear-gradient(135deg,#f8f6f3,#f0ebe3);border:1px solid #e0d8cc;border-radius:10px;padding:12px 16px;margin-top:12px}.ebayPricingDisplay h5{margin:0 0 10px;color:#5a4d3a;font-size:.85rem;font-weight:600}.ebayPricingGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ebayPriceItem{text-align:center;padding:8px;background:#fff;border-radius:6px;border:1px solid #e8e0d5}.ebayPriceLabel{font-size:.7rem;color:#8a7d6a;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.ebayPriceValue{font-size:1rem;font-weight:700;color:#2d5a3d}.ebayPriceValue.noData{color:#999;font-weight:400}.playerFilterPill span{font-size:.9rem;color:#5a4d3a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.priceChangeBadge{border-radius:999px;display:inline-block;font-weight:900;margin-right:8px;padding:3px 7px}.priceChangeBadge.up{background:#e7f4df;color:#2f6a25}.priceChangeBadge.down{background:#fde8df;color:#9a3b1e}.ebayButton{background:linear-gradient(180deg,#98713c,#7a5a2e);border:none;border-radius:999px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:8px 14px;transition:transform .15s,box-shadow .15s}.ebayButton:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #98713c4d}.ebayButton:disabled{background:#ccc;cursor:not-allowed}.ebayPricing{background:linear-gradient(135deg,#98713c14,#7a5a2e1f);border-radius:12px;margin-top:12px;padding:12px 16px}.ebayRow{align-items:center;display:flex;gap:8px;margin-bottom:6px}.ebayRow span:first-child{color:#5a4d3a;font-size:.85rem}.ebayRow strong{color:#2f3c27;font-size:.95rem}.ebayRow .positive{background:#e7f4df;border-radius:999px;color:#2f6a25;font-size:.8rem;font-weight:600;padding:2px 8px}.ebayRow .negative{background:#fde8df;border-radius:999px;color:#9a3b1e;font-size:.8rem;font-weight:600;padding:2px 8px}.ebayRow .soldCount,.ebayRow .soldDate{color:#5a4d3a;font-size:.8rem;font-style:italic}.ebayLinks{margin-top:8px}.ebayLinks a{color:#98713c;font-size:.85rem;font-weight:600;text-decoration:none}.ebayLinks a:hover{text-decoration:underline}.certTabs{display:flex;gap:12px;border-bottom:2px solid rgba(47,60,39,.2);padding-bottom:12px}.certTabs button{background:transparent;border:none;color:#5a4d3a;cursor:pointer;font-size:1rem;font-weight:600;padding:8px 16px;position:relative}.certTabs button.active{color:#2f3c27}.certTabs button.active:after{background:#98713c;bottom:-14px;content:"";height:3px;left:0;position:absolute;right:0}.certList{display:flex;flex-direction:column;gap:16px}.certItem{align-items:start;background:#fffef5;border:1px solid rgba(47,60,39,.12);border-radius:12px;display:flex;gap:16px;padding:16px}.certItemImage{flex:0 0 80px;width:80px}.certInlineZoom{flex:0 0 300px;width:300px;height:100px;border-radius:4px;overflow:hidden}.certInlineZoomImg{width:100%;height:100%;object-fit:cover}.certItemDetails{flex:1 1 auto;min-width:0;overflow:hidden}.certItemActions{flex:0 0 auto}.certItemImage{align-items:center;background:#2f3c270f;border-radius:8px;display:flex;height:100px;justify-content:center;overflow:hidden;width:80px;grid-column:1}.certInlineZoom{grid-column:2;width:120px;height:60px;border-radius:4px;overflow:hidden}.certItemDetails{grid-column:3;min-width:0;overflow:hidden}.certItemActions{grid-column:4}.certItemImage img{height:100%;object-fit:cover;width:100%}.certItemImage .noImage{color:#5a4d3a;font-size:.75rem}.certItemDetails{display:flex;flex-direction:column;align-items:stretch;gap:4px}.certTitle{color:#2f3c27;font-size:1rem;font-weight:600;margin:0;line-height:1.3}.certInfoBlock{color:#5a4d3a;font-size:.85rem;margin:0}.certPlayerName{color:#2f3c27;font-size:.85rem;font-weight:600;background:#98713c1a;padding:3px 10px;border-radius:4px;display:inline-block;width:fit-content;margin:2px 0}.certActionsRow{display:flex;align-items:center;gap:8px;margin:4px 0}.certGraderTag{background:linear-gradient(135deg,#98713c,#7a5a2e);color:#fff;font-size:.75rem;font-weight:700;padding:4px 10px;border-radius:6px}.certLinkBtn{display:inline-flex;align-items:center;background:linear-gradient(135deg,#7a5a2e,#5a4018);color:#f7ebc6;font-size:.7rem;font-weight:600;text-decoration:none;padding:4px 10px;border-radius:6px;border:1px solid rgba(152,113,60,.5);white-space:nowrap;visibility:visible;opacity:1}.certLinkBtn:hover{background:linear-gradient(135deg,#98713c,#7a5a2e)}.certLinkBtn span{display:inline}.certPrice{color:#2f3c27;font-size:1.1rem;font-weight:700;margin:0}.certItemActions{display:flex;flex-direction:column;gap:8px;min-width:200px}.certDisplay{align-items:center;display:flex;gap:12px;justify-content:flex-end}.certNumber{background:#98713c26;border-radius:6px;color:#2f3c27;font-family:monospace;font-size:.9rem;font-weight:600;padding:4px 10px}.noCert{color:#9a3b1e;font-size:.85rem;font-style:italic}.certItemActions button{background:linear-gradient(180deg,#98713c,#7a5a2e);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:8px 14px}.certEditForm{align-items:center;display:flex;gap:8px}.certEditForm input{background:#fff;border:2px solid rgba(47,60,39,.2);border-radius:8px;font-family:monospace;font-size:.9rem;padding:8px 12px;width:150px}.certEditForm button:first-of-type{background:linear-gradient(180deg,#3d4f33,#2f3c27)}.certEditForm button:last-of-type{background:#2f3c2726;color:#5a4d3a}.inventoryList{display:grid;gap:14px;max-height:760px;overflow-y:auto;padding-right:4px}.inventoryLoading,.inventoryEmpty{background:#fffaf0eb;border:2px dashed rgba(137,106,52,.3);border-radius:18px;padding:48px 32px;text-align:center;color:#6e604d}.inventoryLoading p,.inventoryEmpty p{font-size:1.1rem;margin:0}.inventoryLoading:before{content:"⏳";display:block;font-size:2.5rem;margin-bottom:12px;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.5}50%{opacity:1}}.inventoryItem{background:#fffaf0db;border:1px solid #eadfbd;border-radius:18px;display:grid;gap:14px;grid-template-columns:72px minmax(260px,1.35fr) minmax(420px,2fr) auto;padding:16px;align-items:start}.itemThumb{width:72px;height:96px;border-radius:6px;overflow:hidden;flex-shrink:0;background:#e8dfc8}.itemThumb img{width:100%;height:100%;object-fit:cover;display:block}.inventoryItem:hover{background:#fff4d7}.itemMain{display:flex;gap:10px;justify-content:space-between}.itemEyebrow{align-items:center;color:#8b6a2f;display:flex;flex-wrap:wrap;font-size:.82rem;font-weight:900;gap:7px;margin:0 0 4px;text-transform:uppercase}.newestBadge{background:linear-gradient(135deg,#d39b13,#ffe19a);border-radius:999px;color:#241b0d;font-size:.68rem;padding:4px 7px}.itemMain h3{font-size:1.02rem;margin:0}.itemSubline{color:#65553f;margin:5px 0 0}.itemTags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.itemTags span{background:#ead9a7;border-radius:999px;color:#392b16;font-size:.78rem;font-weight:800;padding:5px 8px}.itemFacts{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(110px,1fr))}.itemFacts div{min-width:0}.itemFacts span{color:#806d50;display:block;font-size:.74rem;font-weight:800;text-transform:uppercase}.itemFacts strong{display:block;margin-top:3px;overflow-wrap:anywhere}.itemActions{align-items:center;display:flex;justify-content:flex-end}.money{font-variant-numeric:tabular-nums;font-weight:800;white-space:nowrap}.favoriteButton{background:transparent;box-shadow:none;color:#a08130;font-size:1.35rem;padding:4px 8px}.favoriteButton.active{color:#d39b13;text-shadow:0 1px 8px rgba(211,155,19,.35)}.tableLink{background:#26371f;border-radius:999px;color:#fff6dd;display:inline-block;font-weight:900;padding:7px 11px;text-decoration:none;white-space:nowrap}@media(max-width:1100px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.inventoryHeader{grid-template-columns:1fr}.inventoryItem{grid-template-columns:72px 1fr}.inventoryItem>.itemFacts,.inventoryItem>.itemActions{grid-column:1 / -1}.itemActions{justify-content:flex-start}}@media(max-width:860px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.questHeader{grid-template-columns:1fr}.cardToggle{justify-content:flex-start}.playerComposer{grid-template-columns:1fr}.panelHeader{align-items:stretch}.panelHeader input{min-width:0;width:auto}.itemFacts{grid-template-columns:repeat(2,minmax(120px,1fr))}}@media(max-width:560px){.stats,.searchRow,.itemFacts{grid-template-columns:1fr}.inventorySortBar button{flex:1 1 130px}}.heroDashboardLink{background:linear-gradient(180deg,#f8e8b5,#d8b75c);border-radius:14px;color:#241b0d;cursor:pointer;display:inline-block;font-size:1rem;font-weight:800;padding:13px 16px;text-decoration:none;white-space:nowrap}.heroDashboardLink:hover{background:linear-gradient(180deg,#e8d7a0,#c9a84a)}.exportMenu{position:relative}.exportMenuToggle{background:linear-gradient(180deg,#f8e8b5,#d8b75c);border-radius:14px;color:#241b0d;cursor:pointer;font-weight:800;padding:13px 16px;width:100%;border:1px solid rgba(84,65,28,.22)}.exportDropdown{background:#fff;border:1px solid #ddd;border-radius:12px;box-shadow:0 8px 24px #00000026;display:flex;flex-direction:column;gap:4px;left:0;min-width:200px;padding:8px;position:absolute;top:calc(100% + 6px);z-index:200}.exportDropdown button{background:transparent;border-radius:8px;color:#241b0d;font-size:.9rem;font-weight:600;padding:10px 14px;text-align:left;width:100%}.exportDropdown button:hover{background:#f8e8b5}.certZoomOverlay{background:#000000bf;bottom:0;display:flex;align-items:flex-start;justify-content:center;left:0;overflow-y:auto;padding:40px 16px;position:fixed;right:0;top:0;z-index:1000}.certZoomModal{background:#faf7f0;border-radius:16px;box-shadow:0 24px 60px #0006;max-width:600px;padding:28px;width:94%;margin:auto}.certZoomHeader h3{color:#2d2416;font-size:1.2rem;margin:0 0 4px}.certZoomHint{color:#6b5c3e;font-size:.88rem;margin:0 0 16px}.certZoomImageWrap{border-radius:10px;overflow:hidden;position:relative;margin-bottom:16px;background:#000}.certZoomImg{display:block;width:100%;height:auto}.certZoomFocus{border:3px solid #e8a020;border-radius:6px;pointer-events:none;position:absolute;top:4%;right:4%;width:38%;height:28%;box-shadow:0 0 0 2000px #00000073}.certInlineZoom{border-radius:6px;flex-shrink:0;height:72px;overflow:hidden;width:200px;border:2px solid #c8b97a;background:#111;position:relative}.certInlineZoomSpinner{position:absolute;top:4px;right:6px;color:#f5e9c8;font-size:.85rem;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.certEditInline{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.certEditInline input{flex:1;min-width:110px;border:2px solid #ddca93;border-radius:8px;font-size:1rem;letter-spacing:1px;padding:8px 12px}.certEditInline input:focus{border-color:#98713c;outline:none}.certInlineZoomImg{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.certZoomNoImage{background:#f0ebe0;border-radius:10px;color:#6b5c3e;font-size:.88rem;margin-bottom:16px;padding:20px;text-align:center}.certZoomInput{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.certZoomInput input{flex:1;border:2px solid #ddca93;border-radius:8px;font-size:1.1rem;letter-spacing:1px;padding:10px 14px}.certZoomInput input:focus{border-color:#98713c;outline:none}.certZoomSave{background:#2d2416;border:none;border-radius:8px;color:#f5e9c8;cursor:pointer;font-weight:700;padding:10px 20px;white-space:nowrap}.certZoomCancel{background:transparent;border:1px solid #ddca93;border-radius:8px;color:#6b5c3e;cursor:pointer;padding:10px 16px;white-space:nowrap}.certZoomCropRow{margin-bottom:12px;text-align:center}.certZoomCropImg{border:2px solid #c8b97a;border-radius:8px;display:block;max-height:130px;width:100%;object-fit:cover;object-position:center}.certItemExpanded{flex-wrap:wrap;align-items:flex-start}.certItemExpanded .certItemActions{width:100%;order:10;padding-top:8px;border-top:1px solid #ecdfc0}.certInlineEdit{display:flex;flex-direction:column;gap:8px;width:100%}.certInlineEditImg{border:2px solid #c8b97a;border-radius:8px;display:block;width:100%;max-height:120px;object-fit:cover;object-position:center}.certInlineEditRow{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.certInlineEditRow input{flex:1;min-width:120px;border:2px solid #ddca93;border-radius:8px;font-size:1rem;letter-spacing:1px;padding:8px 12px}.certInlineEditRow input:focus{border-color:#98713c;outline:none}.certReadingHint{color:#9a7c3f;font-size:.82rem;margin:0;font-style:italic}.certZoomCropHint{color:#9a7c3f;font-size:.78rem;margin:4px 0 0}.certSuggestion{background:#f5fae8;border:2px solid #a8c850;border-radius:10px;margin-bottom:14px;padding:12px 16px}.certSuggestionLabel{color:#5a7a20;font-size:.82rem;font-weight:600;margin:0 0 4px}.certSuggestionValue{color:#1a3a08;font-size:1.3rem;font-weight:800;letter-spacing:2px;margin:0 0 10px}.certSuggestionActions{display:flex;gap:8px}.certAcceptBtn{background:#4a8a18;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:700;padding:8px 18px}.certSuggestionDismiss{background:transparent;border:1px solid #a8c850;border-radius:8px;color:#5a7a20;cursor:pointer;padding:8px 14px}.certReadBtn{background:#f0e8d0;border:2px solid #c8b97a;border-radius:8px;color:#6b4c1e;cursor:pointer;font-weight:700;padding:10px 16px;white-space:nowrap}.certReadBtn:hover:not(:disabled){background:#e8d8b0}.certReadBtn:disabled{opacity:.5;cursor:not-allowed}.dealAlertBadge{background:linear-gradient(135deg,#e8a020,#c47a10);border-radius:999px;color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.5px;padding:3px 10px;text-transform:uppercase;animation:dealPulse 2s ease-in-out infinite}@keyframes dealPulse{0%,to{box-shadow:0 0 #e8a02080}50%{box-shadow:0 0 0 5px #e8a02000}}.ebayButton{background:#e53;border:none;border-radius:999px;color:#fff;cursor:pointer;font-size:.8rem;font-weight:600;padding:7px 14px;transition:background .15s;white-space:nowrap}.ebayButton:hover{background:#c42}.ebayButton:disabled{background:#aaa;cursor:wait}.ebayPricing{background:#fffaf2;border:1px solid #e8dfc8;border-radius:10px;display:flex;flex-direction:column;gap:6px;margin-top:10px;padding:12px 16px;width:100%}.ebayRow{align-items:center;display:flex;font-size:.88rem;gap:8px}.ebayRow span{color:#6b5c3e}.ebayRow strong{color:#1a1208;font-size:1rem}.ebayRow .positive{color:#2a7a2a;font-weight:600}.ebayRow .negative{color:#c0392b;font-weight:600}.ebayRow .soldCount,.ebayRow .soldDate{color:#999;font-size:.8rem}.ebayLinks{border-top:1px solid #e8dfc8;margin-top:4px;padding-top:8px}.ebayLinks a{color:#8b5e1a;font-size:.85rem;text-decoration:underline}.certAutoFillBar{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}.certAutoFillBtn{background:#4a7c3f;color:#fff;border:none;border-radius:8px;padding:9px 18px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .15s}.certAutoFillBtn:hover:not(:disabled){background:#3a6230}.certAutoFillBtn:disabled{opacity:.6;cursor:default}.certAutoFillStatus{color:#5a7a3a;font-size:.88rem;font-style:italic}.certItemGraderBadge{background:linear-gradient(135deg,#98713c,#7a5a2e);color:#fff;font-size:.8rem;font-weight:700;padding:5px 12px;border-radius:6px;letter-spacing:.5px;display:inline-flex;align-items:center}.certItemArenaBtn{display:inline-flex;align-items:center;gap:4px;background:linear-gradient(135deg,#7a5a2e,#5a4018);color:#f7ebc6;font-size:.75rem;font-weight:600;text-decoration:none;padding:5px 10px;border-radius:6px;transition:all .2s;box-shadow:0 2px 4px #00000026;border:1px solid rgba(152,113,60,.5)}.certItemArenaBtn:hover{background:linear-gradient(135deg,#98713c,#7a5a2e);transform:translateY(-1px);box-shadow:0 4px 8px #0003}.arenaBtnIcon{font-size:.7rem}.arenaBtnText{line-height:1}@media(max-width:768px){.certItem{grid-template-columns:70px 1fr;grid-template-rows:auto auto auto;gap:12px;padding:12px}.certItemImage{width:70px;height:90px;grid-row:1 / 3}.certInlineZoom{grid-column:1 / -1;order:3;margin-top:8px}.certItemDetails{grid-column:2;grid-row:1 / 3}.certItemDetails h3{font-size:.95rem}.certItemArenaBtn{padding:4px 8px;font-size:.7rem}.certItemActions{grid-column:1 / -1;min-width:auto;width:100%}.certDisplay{justify-content:space-between;width:100%}.certEditInline{display:flex;flex-wrap:wrap;gap:8px;width:100%}.certEditInline input{flex:1;min-width:140px}.panel{padding:16px}.hero{padding:24px 16px}.hero h1{font-size:1.5rem}.certTabs{flex-direction:column;gap:8px}.certTabs button{width:100%;text-align:center}.certAutoFillBar{flex-direction:column;align-items:stretch}.inventorySearch input{width:100%}}@media(max-width:480px){.certItem{grid-template-columns:1fr;grid-template-rows:auto}.certItemImage{width:100%;height:140px;grid-row:auto;grid-column:1}.certItemDetails{grid-column:1;grid-row:auto}.certItemGraderRow{flex-direction:column;align-items:flex-start}.certItemGraderBadge{font-size:.85rem;padding:6px 12px}.certNumber{font-size:.85rem}}.spreadsheetContainer{min-height:100vh;background:#f5f1e6;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.spreadsheetHeader{background:linear-gradient(135deg,#2f3c27,#1a2515);color:#f7ebc6;padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.spreadsheetHeader h1{margin:0;font-size:1.6rem;font-weight:700}.spreadsheetControls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.globalSearch{padding:10px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:#ffffff1a;color:#fff;min-width:240px;font-size:.95rem}.globalSearch::placeholder{color:#fff9}.spreadsheetControls button{padding:10px 18px;border-radius:999px;border:none;background:linear-gradient(180deg,#f8e8b5,#d8b75c);color:#241b0d;font-weight:600;cursor:pointer;transition:transform .15s,box-shadow .15s}.spreadsheetControls button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000004d}.backLink{color:#d8bd74;text-decoration:none;font-weight:500;padding:8px 12px;border-radius:8px;transition:background .15s}.backLink:hover{background:#d8bd7426}.spreadsheetStats{padding:16px 28px;background:#e8e0d0;border-bottom:1px solid #d4c8b0;color:#5a4d3a;font-size:.9rem}.spreadsheetWrapper{overflow:auto;padding:0 28px 28px;max-height:calc(100vh - 180px);border:1px solid #d4c8b0;border-radius:12px;background:#fff}.spreadsheetTable{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000001a;font-size:.88rem}.spreadsheetTable thead{background:linear-gradient(180deg,#3d4f33,#2f3c27);color:#f7ebc6}.spreadsheetTable thead tr{position:sticky;top:0;z-index:100;background:linear-gradient(180deg,#3d4f33,#2f3c27)}.spreadsheetTable th{padding:12px 10px;text-align:left;font-weight:600;border-right:1px solid rgba(255,255,255,.1);cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:top;background:inherit}.spreadsheetTable th:hover{background:#ffffff0d}.spreadsheetTable th.sorted-asc,.spreadsheetTable th.sorted-desc{background:#d8bd7433}.thContent{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.sortIndicator{font-size:.75rem;opacity:.8}.columnFilter{width:100%;padding:6px 8px;border-radius:6px;border:1px solid rgba(255,255,255,.2);background:#ffffff1a;color:#fff;font-size:.8rem;font-weight:400}.columnFilter::placeholder{color:#ffffff80}.spreadsheetTable td{padding:10px;border-right:1px solid #e8e0d0;border-bottom:1px solid #e8e0d0;color:#3b3022}.spreadsheetTable tbody tr:hover{background:#f9f6f0}.spreadsheetTable tbody tr:nth-child(2n){background:#faf8f3}.spreadsheetTable tbody tr:nth-child(2n):hover{background:#f0ebe3}.spreadsheetTable a{color:#2f5a1e;text-decoration:none;font-weight:500;padding:4px 10px;border-radius:6px;background:#e7f4df;display:inline-block}.spreadsheetTable a:hover{background:#d4e9c8}.spreadsheetTable th:first-child,.spreadsheetTable td:first-child{position:sticky;left:0;z-index:20;background:#fffef5;border-right:2px solid #d4c8b0}.spreadsheetTable th:first-child{z-index:30;background:linear-gradient(180deg,#3d4f33,#2f3c27)}.spreadsheetTable tbody tr:nth-child(2n) td:first-child:not([style*="position: sticky"]){background:#faf8f3}.spreadsheetTable tbody tr:nth-child(odd) td:first-child:not([style*="position: sticky"]){background:#fff}.spreadsheetTable tbody tr:hover td:first-child{background:#f0ebe3}.spreadsheetTable th:first-child,.spreadsheetTable td:first-child{background-color:#fffef5!important}.spreadsheetTable th:first-child:after,.spreadsheetTable td:first-child:after{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:linear-gradient(90deg,rgba(0,0,0,.08),transparent);pointer-events:none}.spreadsheetTable th:nth-child(1),.spreadsheetTable td:nth-child(1){min-width:70px;max-width:90px;overflow:hidden;text-overflow:ellipsis}.spreadsheetTable th:nth-child(2),.spreadsheetTable td:nth-child(2){min-width:45px;max-width:55px}.spreadsheetTable th:nth-child(3),.spreadsheetTable td:nth-child(3){min-width:120px;max-width:140px}.spreadsheetTable th:nth-child(4),.spreadsheetTable td:nth-child(4){min-width:55px;max-width:70px}.spreadsheetTable th:nth-child(5),.spreadsheetTable td:nth-child(5){min-width:55px;max-width:70px}.spreadsheetTable th:nth-child(6),.spreadsheetTable td:nth-child(6){min-width:55px;max-width:70px}.spreadsheetTable th:nth-child(7),.spreadsheetTable td:nth-child(7){min-width:90px;max-width:110px}.spreadsheetTable th:nth-child(8),.spreadsheetTable td:nth-child(8){min-width:65px;max-width:80px}.spreadsheetTable th:nth-child(9),.spreadsheetTable td:nth-child(9){min-width:65px;max-width:80px}.spreadsheetTable th:nth-child(10),.spreadsheetTable td:nth-child(10){min-width:35px;max-width:45px;text-align:center}.spreadsheetTable th:nth-child(11),.spreadsheetTable td:nth-child(11){min-width:80px;max-width:100px}.spreadsheetTable th:nth-child(12),.spreadsheetTable td:nth-child(12){min-width:75px;max-width:90px}.spreadsheetTable th:nth-child(13),.spreadsheetTable td:nth-child(13){min-width:75px;max-width:90px}.spreadsheetLoading{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.2rem;color:#5a4d3a;background:#f5f1e6}@media(max-width:1200px){.spreadsheetHeader{flex-direction:column;align-items:stretch}.spreadsheetControls{justify-content:center}.spreadsheetWrapper{padding:0 16px 16px}}@media(max-width:768px){.spreadsheetHeader{padding:16px;gap:12px}.spreadsheetHeader h1{font-size:1.2rem;text-align:center}.globalSearch{min-width:0;width:100%;padding:8px 12px;font-size:.9rem}.spreadsheetControls{flex-direction:column;width:100%;gap:8px}.spreadsheetControls button,.backLink{width:100%;text-align:center;padding:10px;font-size:.9rem}.spreadsheetStats{padding:12px 16px;font-size:.85rem;text-align:center}.spreadsheetWrapper{padding:0 8px 8px;max-height:calc(100vh - 140px)}.spreadsheetTable{font-size:.8rem}.spreadsheetTable th,.spreadsheetTable td{padding:6px 8px}.columnFilter{padding:4px 6px;font-size:.75rem}.spreadsheetTable th:nth-child(1),.spreadsheetTable td:nth-child(1){min-width:50px;max-width:70px;overflow:hidden;text-overflow:ellipsis}.spreadsheetTable th:nth-child(2),.spreadsheetTable td:nth-child(2){min-width:40px;max-width:50px}.spreadsheetTable th:nth-child(3),.spreadsheetTable td:nth-child(3){min-width:100px}.spreadsheetTable th:nth-child(4),.spreadsheetTable td:nth-child(4){min-width:50px;max-width:60px}.spreadsheetTable th:nth-child(5),.spreadsheetTable td:nth-child(5){min-width:50px;max-width:60px}.spreadsheetTable th:nth-child(6),.spreadsheetTable td:nth-child(6){min-width:50px;max-width:60px}.spreadsheetTable th:nth-child(7),.spreadsheetTable td:nth-child(7){min-width:80px}.spreadsheetTable th:nth-child(8),.spreadsheetTable td:nth-child(8){min-width:60px;max-width:70px}.spreadsheetTable th:nth-child(9),.spreadsheetTable td:nth-child(9){min-width:60px;max-width:70px}.spreadsheetTable th:nth-child(10),.spreadsheetTable td:nth-child(10){min-width:35px;max-width:40px;text-align:center}.spreadsheetTable th:nth-child(11),.spreadsheetTable td:nth-child(11){min-width:80px}.spreadsheetTable th:nth-child(12),.spreadsheetTable td:nth-child(12){min-width:70px;max-width:80px}.spreadsheetTable th:nth-child(13),.spreadsheetTable td:nth-child(13){min-width:70px;max-width:80px}}@media(max-width:480px){.spreadsheetHeader h1{font-size:1rem}.spreadsheetTable{font-size:.75rem}.spreadsheetTable th,.spreadsheetTable td{padding:4px 6px}.spreadsheetTable th:nth-child(1),.spreadsheetTable td:nth-child(1){min-width:50px;max-width:70px;font-size:.7rem}.spreadsheetTable th:nth-child(10),.spreadsheetTable td:nth-child(10),.spreadsheetTable th:nth-child(12),.spreadsheetTable td:nth-child(12),.spreadsheetTable th:nth-child(13),.spreadsheetTable td:nth-child(13){display:none}.spreadsheetTable th:nth-child(5),.spreadsheetTable td:nth-child(5),.spreadsheetTable th:nth-child(6),.spreadsheetTable td:nth-child(6){min-width:45px;max-width:55px;overflow:hidden;text-overflow:ellipsis;font-size:.7rem}.spreadsheetTable a{padding:2px 6px;font-size:.7rem}.spreadsheetLoading{font-size:1rem;padding:20px;text-align:center}}@media(max-width:768px){.spreadsheetWrapper{position:relative}.spreadsheetWrapper:after{content:"← Scroll →";position:absolute;bottom:4px;left:50%;transform:translate(-50%);background:#2f3c27cc;color:#f7ebc6;padding:4px 12px;border-radius:12px;font-size:.7rem;pointer-events:none;opacity:.9}}@media(min-width:769px){.spreadsheetWrapper:after{display:none}}
