.analytics-page{padding:1rem;max-width:1400px;margin:0 auto;display:grid;gap:1.25rem}.analytics-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:0;padding:1.25rem;border-radius:18px;border:1px solid var(--border-color, rgba(148, 163, 184, .14));background:radial-gradient(circle at top right,var(--site-highlight, rgba(56, 189, 248, .12)),transparent 30%),linear-gradient(180deg,var(--site-panel, rgba(15, 23, 42, .92)),var(--site-panel-strong, rgba(10, 15, 26, .9)));box-shadow:var(--site-shadow, 0 18px 40px rgba(0, 0, 0, .18))}.analytics-header h1{margin:0;font-size:2rem;color:var(--text-primary);text-align:left}.btn-back{padding:.65rem 1rem;background:color-mix(in srgb,var(--site-panel-soft, rgba(15, 23, 42, .72)) 92%,transparent);color:var(--text-primary);border:1px solid var(--border-color, rgba(148, 163, 184, .14));border-radius:12px;cursor:pointer;font-size:.9rem;transition:background-color .2s,border-color .2s,transform .2s}.btn-back:hover{background-color:color-mix(in srgb,var(--site-panel-soft, rgba(30, 41, 59, .88)) 100%,transparent);border-color:var(--site-border-strong, rgba(56, 189, 248, .3));transform:translateY(-1px)}.empty-state{text-align:center;padding:3rem;background-color:var(--bg-secondary, #2a2a2a);border-radius:8px;border:1px dashed var(--border-color, #444)}.empty-state p{margin-bottom:1.5rem;color:var(--text-secondary);font-size:1rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:0}.stat-card{border-radius:16px;padding:1.5rem;text-align:center;transition:border-color .2s,box-shadow .2s}.stat-card:hover{border-color:var(--accent-color, #0ea5e9);box-shadow:0 0 12px #0ea5e933}.stat-label{color:var(--text-secondary);font-size:.9rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.stat-value{color:var(--text-primary);font-size:1.8rem;font-weight:700;word-break:break-word}.analytics-section{margin-bottom:0}.analytics-section h2{font-size:1.4rem;color:var(--text-primary);margin-bottom:1rem;border-bottom:1px solid var(--site-border-strong, rgba(56, 189, 248, .2));padding-bottom:.75rem;text-align:left}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem;margin-bottom:2rem}.chart-container{border-radius:18px;padding:1.5rem;display:flex;flex-direction:column;min-height:280px;max-height:500px}.chart-container h3{margin:0 0 1rem;color:var(--text-primary);font-size:1.1rem;text-align:left}.chart-container>div{flex:1;position:relative;min-height:200px}.chart-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;gap:1rem;color:var(--text-secondary)}.chart-loading-spinner{width:40px;height:40px;border:4px solid var(--border-color, #444);border-top:4px solid var(--accent-color,#c084fc);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.top-cards-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem;background-color:transparent;border:none;border-radius:0;padding:0}.top-card-wrapper{perspective:1000px}.top-card-image-container{position:relative;width:100%;aspect-ratio:2.5 / 3.5;border-radius:14px;overflow:hidden;background-color:var(--bg-secondary, #2a2a2a);border:1px solid var(--border-color, #444);transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 6px #0000001a}.top-card-image-container:hover{border-color:var(--accent-color, #0ea5e9);box-shadow:0 20px 25px -5px #0ea5e94d;transform:translateY(-4px) scale(1.02)}.rank-badge{position:absolute;top:8px;left:8px;width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;background-color:var(--accent-color, #0ea5e9);color:#fff;border-radius:50%;font-weight:700;font-size:1rem;z-index:10;box-shadow:0 4px 12px #0ea5e966}.top-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.95) 0%,rgba(0,0,0,.6) 50%,transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:1rem;opacity:0;transition:opacity .3s ease;border-radius:0}.top-card-image-container:hover .top-card-overlay{opacity:1}.increase-percent-badge{position:absolute;bottom:12px;right:12px;z-index:12;background:#0009;color:#fbbf24;padding:.35rem .5rem;border-radius:6px;font-weight:700;font-size:.85rem;box-shadow:0 4px 12px #0006;pointer-events:none}.top-overlay-content{display:flex;flex-direction:column;gap:.5rem}.top-card-stats-overlay{display:flex;flex-direction:column;gap:.3rem;font-size:.8rem}.stat-item{color:#ffffffe6;text-shadow:0 2px 4px rgba(0,0,0,.5)}.price-overlay{color:#fbbf24;font-weight:600}.value-overlay{color:#34d399;font-weight:700}.recent-cards-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem;background-color:transparent;border:none;border-radius:0;padding:0}.recent-card-wrapper{perspective:1000px}.recent-card-image-container{position:relative;width:100%;aspect-ratio:2.5 / 3.5;border-radius:14px;overflow:hidden;background-color:var(--bg-secondary, #2a2a2a);border:1px solid var(--border-color, #444);transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 6px #0000001a}.recent-card-image-container:hover{border-color:var(--accent-color, #0ea5e9);box-shadow:0 20px 25px -5px #0ea5e94d;transform:translateY(-4px) scale(1.02)}.card-image-thumbnail{width:100%;height:100%;border-radius:0;overflow:hidden;background-color:transparent;border:none;transition:none;display:flex;align-items:center;justify-content:center}.card-image-thumbnail img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.recent-card-image-container:hover .card-image-thumbnail img{transform:scale(1.05)}@media (max-width: 700px){.analytics-header{flex-direction:column;align-items:stretch}.analytics-header h1,.analytics-section h2,.chart-container h3{text-align:center}}.card-image-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--bg-tertiary, #1a1a1a) 0%,var(--bg-secondary, #2a2a2a) 100%);display:flex;align-items:center;justify-content:center;text-align:center;padding:1rem;color:var(--text-secondary);font-size:.8rem;font-weight:500}.recent-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.5) 50%,transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:1rem;opacity:0;transition:opacity .3s ease;border-radius:0}.recent-card-image-container:hover .recent-card-overlay{opacity:1}.overlay-content{display:flex;flex-direction:column;gap:.5rem}.card-name-overlay{font-weight:700;color:#fff;font-size:.95rem;line-height:1.2;text-shadow:0 2px 4px rgba(0,0,0,.5);word-break:break-word}.card-meta-overlay{display:flex;gap:.4rem;flex-wrap:wrap}.recent-card-stats-overlay{display:flex;flex-direction:column;gap:.3rem;font-size:.8rem}.meta-badge{background-color:#0ea5e9e6;color:#fff;padding:.35rem .6rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.qty-badge{background-color:#22c55ee6}.finish-badge{background-color:#a855f7e6}.card-date-overlay{font-size:.75rem;color:#fffc;text-shadow:0 1px 2px rgba(0,0,0,.5)}.error-message{padding:2rem;background-color:var(--error-bg, rgba(239, 68, 68, .1));border:1px solid var(--error-color, #ef4444);border-radius:8px;color:var(--error-color, #ef4444);text-align:center;font-weight:500}@media (max-width: 768px){.analytics-page{padding:.5rem}.analytics-header{flex-direction:column;align-items:flex-start}.analytics-header h1{font-size:1.5rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.stat-card{padding:1rem}.stat-value{font-size:1.4rem}.charts-grid{grid-template-columns:1fr}.top-cards-gallery{grid-template-columns:repeat(3,1fr);gap:1rem}.recent-cards-gallery{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem}}@media (max-width: 480px){.stat-card{padding:.75rem}.stat-label{font-size:.75rem}.stat-value{font-size:1.2rem}.analytics-section h2{font-size:1.1rem}.chart-container{padding:1rem}.top-cards-gallery{grid-template-columns:repeat(2,1fr);gap:1rem}}.collection-centered-page{width:100%;max-width:none;min-width:0;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}.collection-page{--collection-surface: var(--site-panel);--collection-surface-strong: var(--site-panel-strong);--collection-surface-soft: var(--site-panel-soft);--collection-border: var(--site-border);--collection-accent: var(--site-highlight);--collection-gold: var(--site-gold);display:grid;gap:1rem;width:100%;max-width:1400px;margin-left:auto;margin-right:auto;box-sizing:border-box}.collection-centered-page>.collection-page{width:min(1400px,100%);margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem;box-sizing:border-box}.collection-page>*{width:100%;margin-left:auto;margin-right:auto;min-width:0;box-sizing:border-box}.collection-page .collection-header-inner{max-width:1400px;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.95fr);gap:1rem;align-items:stretch;position:relative;z-index:20}.collection-page .collection-hero-main,.collection-page .collection-filters-panel,.collection-page .collection-table-wrapper{background:radial-gradient(circle at top right,color-mix(in srgb,var(--collection-accent) 90%,transparent),transparent 30%),linear-gradient(180deg,var(--collection-surface),var(--collection-surface-strong));border:1px solid var(--collection-border);border-radius:18px;box-shadow:var(--site-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100%;max-width:100%;min-width:0;margin:0;overflow:hidden;box-sizing:border-box}.collection-page .collection-hero-main{padding:1.25rem;gap:1rem;overflow:visible;position:relative;z-index:21}.collection-hero-kicker,.collection-panel-kicker{font-size:.75rem;text-transform:uppercase;letter-spacing:.18em;color:var(--collection-gold);font-weight:700}.collection-page .collection-container{width:100%;max-width:100%;min-width:0;margin:0;padding:0;overflow:hidden;box-sizing:border-box;position:relative;z-index:1}.collection-page .collection-content-actions{display:grid;grid-template-columns:repeat(2,minmax(132px,156px));align-items:center;justify-content:start;gap:.75rem;margin:0;padding:0;border:0;background:transparent}.collection-page .collection-action-btn{display:inline-flex;align-items:center;min-height:36px;height:36px;width:100%;padding:.4rem .7rem;font-size:.92rem;justify-content:center;box-sizing:border-box}.collection-page .collection-table-toolbar,.collection-page .collection-scrollbar-top,.collection-page .collection-table-scroll{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.collection-hero-title-row{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.collection-hero-title-row .page-title{margin:0}.collection-hero-subtitle{margin:.35rem 0 0;max-width:58ch;color:var(--muted-text);line-height:1.5}.collection-hero-status-stack{display:flex;flex-direction:column;gap:.5rem;align-items:flex-end}.collection-status-pill{padding:.55rem .8rem;border-radius:999px;background:#38bdf814;border:1px solid rgba(56,189,248,.14)}.collection-page .spinner-inline{width:18px;height:18px;border-width:3px}.collection-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.collection-summary-card{padding:.9rem 1rem;border-radius:14px;border:1px solid rgba(148,163,184,.12);background:linear-gradient(180deg,color-mix(in srgb,var(--collection-surface-soft) 92%,transparent),color-mix(in srgb,var(--collection-surface) 96%,transparent));display:grid;gap:.3rem}.collection-summary-label{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-text)}.collection-summary-value{font-size:clamp(1.1rem,1.5vw,1.5rem);color:var(--text-primary)}.collection-summary-subvalue{font-size:.88rem;color:var(--text-secondary)}.collection-meta-actions--hero{margin-top:.25rem;gap:.75rem}.collection-meta-actions--hero .purple-button{min-height:42px}.collection-share-wrapper{position:relative;display:flex;align-items:stretch;width:100%}.collection-share-btn{display:inline-flex;align-items:center;justify-content:center;width:100%}.collection-share-popover{position:absolute;top:calc(100% + .45rem);right:0;z-index:120;width:100%;min-width:min(92vw,420px);padding:.5rem;border-radius:12px;border:1px solid var(--collection-border);background:color-mix(in srgb,var(--collection-surface-strong) 96%,black 4%);box-shadow:var(--site-shadow);display:flex;align-items:center;gap:.45rem}.collection-share-input{flex:1;min-width:0;border:1px solid var(--collection-border);border-radius:8px;background:var(--site-input-bg);color:var(--text-primary);padding:.45rem .55rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collection-share-copy{white-space:nowrap}.shared-collection-page{max-width:1200px}.shared-collection-hero{padding:1rem}.shared-collection-title{margin:0}.shared-collection-search{margin-top:.75rem;max-width:520px;min-height:42px;height:42px;box-sizing:border-box}.shared-collection-actions{margin-top:.75rem;display:flex;gap:.6rem;align-items:stretch;justify-content:flex-start;max-width:240px;width:100%}.shared-collection-action{width:100%;min-height:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.shared-collection-pagination{justify-content:center}.shared-collection-hero .collection-summary-grid{margin-top:.5rem}.shared-collection-owner{font-weight:700;color:var(--text-primary)}.shared-collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.9rem}.shared-collection-card{display:grid;gap:.55rem}.shared-collection-card-image{width:100%;aspect-ratio:5 / 7;object-fit:cover;border-radius:12px;border:1px solid rgba(148,163,184,.2)}.shared-collection-card-image-placeholder{width:100%;aspect-ratio:5 / 7;display:grid;place-items:center;border-radius:12px;border:1px dashed rgba(148,163,184,.28);color:var(--muted-text);font-size:.85rem}.shared-collection-card-meta{display:grid;gap:.18rem;font-size:.86rem;color:var(--muted-text)}.shared-collection-card-name{color:var(--text-primary);font-size:.95rem}.collection-page .view-toggle{display:inline-flex;align-items:center;gap:.55rem}.collection-button-icon{margin-right:.45rem}.collection-page .collection-filters-panel{min-width:0;padding:1rem;display:grid;gap:1rem;background:linear-gradient(180deg,color-mix(in srgb,var(--collection-surface) 100%,transparent),color-mix(in srgb,var(--collection-surface-strong) 100%,transparent))}.collection-panel-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.collection-panel-title{margin:.2rem 0 0;font-size:1.05rem;color:var(--text-primary)}.collection-clear-button:disabled{opacity:.55;cursor:default}.collection-filter-grid{display:grid;gap:.85rem}.collection-filter-row{display:grid;gap:.75rem}.collection-filter-row--search,.collection-filter-row--metrics,.collection-filter-row--triple,.collection-filter-row--toggles{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-filter-row--triple{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-filter-block{display:grid;gap:.4rem}.collection-filter-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-text);font-weight:700}.collection-page .collection-filter-input,.collection-page .collection-filter-select,.collection-page .collection-filter-mini-input{width:100%;min-width:0}.collection-page .collection-filter-mini-input{width:100%}.collection-toggle-card{display:flex;align-items:center;gap:.6rem;padding:.8rem .85rem;border-radius:12px;background:#38bdf80f;border:1px solid rgba(56,189,248,.12);font-size:.92rem}.collection-toggle-card input{accent-color:var(--accent)}.collection-filter-footer{display:flex;justify-content:space-between;gap:1rem;font-size:.88rem;color:var(--muted-text);padding-top:.25rem;border-top:1px solid rgba(148,163,184,.12)}.collection-page .collection-table-wrapper{padding:.85rem}.collection-page .collection-table-toolbar--shared{display:grid;grid-template-columns:auto minmax(340px,1fr) auto;align-items:center;gap:.85rem;margin-bottom:.75rem;padding:.45rem;border-radius:12px;background:color-mix(in srgb,var(--collection-surface-strong) 92%,transparent);border:1px solid rgba(148,163,184,.14)}.collection-page .collection-table-toolbar--shared .page-controls--top{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;justify-content:center;justify-self:center;width:100%}.collection-page .collection-table-toolbar--shared .collection-pagination-row{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;flex-wrap:nowrap;white-space:nowrap}.collection-page .collection-table-toolbar--shared .collection-pagination-row .page-info{display:inline-flex;align-items:center;justify-content:center;min-height:34px;line-height:1;margin:0;white-space:nowrap}.collection-page .collection-table-toolbar--shared .collection-table-page-size{margin-left:0}.collection-page .collection-table-toolbar--shared .collection-content-actions{flex:0 0 100%;margin:0;justify-content:center}.collection-page .collection-content-actions .view-toggle{margin-right:0}.collection-page .collection-table-toolbar{justify-content:space-between;gap:.85rem;margin-bottom:.75rem}.collection-table-summary{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem}.collection-table-summary-count{font-size:.92rem;font-weight:700;color:var(--text-primary)}.collection-table-summary-detail{font-size:.82rem;color:var(--muted-text)}.collection-page .bulk-action-bar{border-radius:12px;border:1px solid rgba(148,163,184,.12);background:color-mix(in srgb,var(--collection-surface) 96%,transparent);padding:.65rem .85rem}.collection-page .collection-scrollbar-top{background:color-mix(in srgb,var(--collection-surface) 98%,transparent);border:1px solid rgba(148,163,184,.08)}.collection-page-controls-bottom{margin-top:.25rem}.collection-page .collection-grid{gap:1rem}.collection-page .collection-card{position:relative;padding:.75rem;border-radius:18px;background:linear-gradient(180deg,color-mix(in srgb,var(--collection-surface-soft) 92%,transparent),color-mix(in srgb,var(--collection-surface) 96%,transparent));border:1px solid rgba(148,163,184,.12);box-shadow:var(--site-shadow-soft)}.collection-page .collection-card--selected{border-color:color-mix(in srgb,var(--accent) 65%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 42%,transparent),var(--site-shadow-soft)}.collection-page .collection-card-select{position:absolute;top:.65rem;right:.65rem;z-index:5;border:1px solid color-mix(in srgb,var(--accent) 40%,transparent);background:color-mix(in srgb,var(--collection-surface-strong) 92%,transparent);color:var(--text-primary);border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.03em;padding:.26rem .6rem;cursor:pointer}.collection-page .collection-card-select.is-selected{background:color-mix(in srgb,var(--accent) 80%,#ffffff 20%);color:#0f172a;border-color:color-mix(in srgb,var(--accent) 75%,transparent)}.collection-page .card-overlay-container--selectable{cursor:pointer}.collection-page .empty-state-cta{border-radius:18px}.collection-empty-processing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem}@media (max-width: 1100px){.collection-page .collection-header-inner{grid-template-columns:1fr}.collection-hero-status-stack{align-items:flex-start}.collection-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.collection-centered-page>.collection-page{padding-left:.75rem;padding-right:.75rem}.collection-share-popover{right:auto;left:0;width:min(calc(100vw - 2.5rem),360px);min-width:0;max-width:100%}.collection-page .collection-header-inner{gap:.75rem}.collection-page .collection-hero-main,.collection-page .collection-filters-panel,.collection-page .collection-table-wrapper{border-radius:14px;padding:.85rem}.collection-hero-title-row,.collection-panel-heading,.collection-filter-footer{flex-direction:column;align-items:stretch}.collection-summary-grid,.collection-filter-row--search,.collection-filter-row--metrics,.collection-filter-row--triple,.collection-filter-row--toggles{grid-template-columns:1fr}.collection-meta-actions--hero{flex-direction:column;align-items:stretch}.collection-page .collection-table-toolbar--shared{position:static;z-index:auto;margin:0 0 .65rem;padding:.35rem;grid-template-columns:1fr;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.collection-page .collection-table-toolbar--shared .page-controls--top,.collection-page .collection-table-toolbar--shared .collection-table-page-size{justify-self:stretch}.collection-page .collection-table-toolbar--shared .page-controls--top{width:100%;max-width:100%;min-width:0!important;box-sizing:border-box;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center;gap:.45rem}.collection-page .collection-table-toolbar--shared .page-controls--top>*:not(.collection-content-actions){flex:0 0 auto}.collection-page .collection-table-toolbar--shared .page-controls--top .page-info{flex:0 0 auto;width:auto;text-align:center}.collection-page .collection-table-toolbar--shared .collection-pagination-row{width:100%;justify-content:center;gap:.2rem}.collection-page .collection-table-toolbar--shared .collection-pagination-row .mr-1,.collection-page .collection-table-toolbar--shared .collection-pagination-row .ml-1{margin-left:0!important;margin-right:0!important}.collection-page .collection-table-toolbar--shared .collection-pagination-row .page-info{min-height:34px;font-size:.82rem}.collection-page .collection-table-toolbar--shared .collection-content-actions{grid-template-columns:repeat(2,minmax(116px,136px));justify-content:center;max-width:100%;width:fit-content;gap:.5rem}.collection-page .collection-table-toolbar--shared .collection-action-btn{min-height:34px;height:34px;font-size:.86rem;padding:.3rem .55rem}.collection-page .collection-card-select{top:.5rem;right:.5rem;font-size:.68rem;padding:.24rem .5rem}.collection-meta-actions--hero>.purple-button,.collection-meta-actions--hero>.collection-share-wrapper>.collection-share-btn,.collection-page .view-toggle{width:100%;justify-content:center}.collection-share-popover .collection-share-copy{width:auto;min-width:72px}.shared-collection-actions{width:100%;max-width:none}}
