@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Main variables, reset, layout, buttons */

:root {
    --bg: #070b18;
    --bg-2: #0b1120;
    --panel: #111827;
    --panel-2: #182235;
    --line: #263347;
    --text: #f8fafc;
    --muted: #a8b3c7;
    --soft: #e9e5d7;
    --gold: #f5a400;
    --gold-2: #ffcc00;
    --green: #1f7a52;
    --blue: #3155d4;
    --orange: #b85a00;
    --danger: #b91c1c;
    --white: #ffffff;
    --ink: #111827;
    --radius: 18px;
    --shadow: 0 24px 65px rgba(0, 0, 0, .28);
}

.legal-page{padding:48px 0 72px}
.legal-document{max-width:900px;margin:0 auto;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:clamp(24px,5vw,56px);box-shadow:var(--shadow)}
.legal-document .page-head{margin-bottom:32px}
.legal-content{color:var(--text);font-size:16px;line-height:1.8}
.legal-content p{margin:0 0 1.35em}
.legal-content p:last-child{margin-bottom:0}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    background: var(--bg);
    color: var(--text);
}

button {
    cursor: pointer;
}

.app {
    min-height: calc(100vh - 74px);
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 15px 23px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .16s ease, background .16s ease;
}

.btn svg {
        width: 19px;
        height: 19px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
    }

.btn:hover {
        transform: translateY(-1px);
    }

.btn.gold {
        background: var(--gold);
        color: #0b1120;
    }

.btn.dark {
        background: #202b3f;
        color: white;
        border: 1px solid #334155;
    }

.page {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 80px;
}

.page-title {
    margin: 0 0 8px;
    font-size: 40px;
    letter-spacing: -.035em;
}

.page-subtitle {
    color: #a9b6cf;
    margin: 0 0 34px;
    font-size: 18px;
}

.note-title-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.note-title-row h3 {
        margin: 10px 0 4px;
        font-size: 25px;
    }

.note-person {
    font-size: 13px;
    color: rgba(255,255,255,.75);
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 35px auto;
}

.price-card {
    padding: 30px;
}

.price-card.featured {
        border-color: var(--gold);
        box-shadow: 0 20px 60px rgba(245,164,0,.16);
    }

.price-card h3 {
        margin: 0 0 10px;
    }

.price {
    font-size: 42px;
    font-weight: 800;
    color: white;
}

.price small {
        font-size: 15px;
        color: #a9b6cf;
    }

.price-card ul {
    padding-left: 20px;
    color: #dbe3f0;
    line-height: 2;
}

.empty {
    padding: 30px;
    color: #94a3b8;
    text-align: center;
    border: 1px dashed #334155;
    border-radius: 16px;
}

.hidden {
    display: none !important;
}

.signature-empty {
    height: 58px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    color: #64748b;
    font-size: 12px;
}

.grade-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 12px 0 18px;
}

.btn.danger, .danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
}

.back-to-top {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    width: 52px !important;
    height: 52px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f5a400 !important;
    color: #111827 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.25) !important;
}

.back-to-top.show {
    display: flex !important;
}

.google-auth {
    margin-top: 12px !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
}

/* =========================================================
   MOBILE AUTH MENU FIX
   Login/Register inside hamburger menu
========================================================= */

.mobile-auth {
    display: none;
}

.page-title {
    color: #ffffff !important;
    opacity: 1 !important;
}

.page-subtitle {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.image-side-prev {
    left: 12px !important;
}

.image-side-next {
    right: 12px !important;
}
/* Footer */

.site-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(212,175,55,.25);
    background: #0f172a;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
    text-align: center;
}

#footerVersion {
    font-size: 14px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: .08em;
}

#footerCopyright {
    font-size: 13px;
    color: #94a3b8;
}
.footer-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-bottom:10px;
    border:1px solid rgba(212,175,55,.35);
    background:transparent;
    color:#d4af37;
    border-radius:999px;
    padding:9px 16px;
    font-weight:800;
    cursor:pointer;
}
.footer-link:hover{background:rgba(212,175,55,.10)}
.contact-page .container{max-width:980px}
.contact-card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:20px;
    padding:22px;
    box-shadow:var(--shadow);
    display:grid;
    gap:14px;
}
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.contact-card label{display:grid;gap:7px;font-weight:800;color:var(--text)}
.contact-consent{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px;color:var(--muted)!important;font-weight:700!important}
.contact-consent input{width:auto;margin-top:4px}
.contact-honeypot{position:absolute;left:-9999px;opacity:0}
@media(max-width:700px){.contact-grid{grid-template-columns:1fr}.contact-card{padding:16px}}

/* =========================================================
   MY ACCOUNT DASHBOARD V2
========================================================= */
.user-account-pill{
  background: transparent !important;
  border: 0 !important;
  color: var(--text) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 0 4px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 1 !important;
}
.user-account-pill:hover{background:transparent!important;color:var(--gold)!important;}
.user-account-pill:focus-visible{outline:2px solid rgba(245,164,0,.65);outline-offset:4px;border-radius:8px!important;}
.account-header-icon{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
#registerBtn[style*="display: none"]{display:none!important;}
.account-shell{width:min(1420px,calc(100% - 46px));margin:0 auto;padding:34px 0 70px;display:grid;grid-template-columns:270px 1fr;gap:28px;}
.account-sidebar{background:linear-gradient(180deg,#101827,#0b1120);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);position:sticky;top:95px;height:max-content;}
.account-profile-card{display:flex;gap:15px;align-items:center;padding:22px;border-bottom:1px solid rgba(255,255,255,.08);}
.account-avatar{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 30%,#8b5cf6,#41206e);font-size:34px;}
.account-profile-card h3{margin:0;font-size:18px;}.account-profile-card p{margin:6px 0 0;color:var(--muted);font-size:13px;}
.account-side-nav{padding:14px;display:flex;flex-direction:column;gap:8px;}.account-side-nav small{color:#9ca3af;font-weight:900;font-size:11px;letter-spacing:.08em;margin:16px 10px 6px;}.account-side-nav button{width:100%;border:0;background:transparent;color:var(--text);border-radius:14px;padding:13px 12px;text-align:left;font-weight:850;display:flex;align-items:center;gap:10px;}.account-side-nav button span{flex:1}.account-side-nav button b{background:var(--gold);color:#0b1120;border-radius:999px;min-width:24px;height:24px;display:grid;place-items:center;font-size:12px;}.account-side-nav button:hover,.account-side-nav button.active{background:rgba(245,164,0,.14);outline:1px solid rgba(245,164,0,.35);color:#ffd36d;}
.account-main{min-width:0;}.account-title-row{display:flex;justify-content:space-between;align-items:flex-start;margin:10px 0 24px;}.account-title-row h1{margin:0;font-size:34px;letter-spacing:-.04em;}.account-title-row p{margin:8px 0 0;color:#cbd5e1;}
.account-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px;}.account-stat-card{background:linear-gradient(180deg,#121b2e,#0f172a);border:1px solid var(--line);border-radius:18px;padding:22px;display:grid;grid-template-columns:58px 1fr;grid-template-areas:'icon num' 'icon label' 'icon sub';align-items:center;gap:0 14px;}.account-stat-card i{grid-area:icon;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:28px;}.account-stat-card b{grid-area:num;font-size:30px;color:var(--gold);line-height:1;}.account-stat-card span{grid-area:label;font-weight:900;}.account-stat-card small{grid-area:sub;color:var(--muted);}.account-stat-card.purple i{background:rgba(124,58,237,.25)}.account-stat-card.blue i{background:rgba(37,99,235,.25)}.account-stat-card.green i{background:rgba(34,197,94,.22)}.account-stat-card.amber i{background:rgba(245,164,0,.2)}
.account-content-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;}.account-panel{background:linear-gradient(180deg,#111a2b,#0f172a);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 18px 40px rgba(0,0,0,.18);}.account-panel-large{grid-row:span 2}.account-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.account-panel h2{margin:0;font-size:20px}.account-clean-form{display:grid;gap:14px}.account-clean-form label{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:center;color:#cbd5e1;font-weight:750}.account-clean-form input{background:#0b1120;border:1px solid var(--line);border-radius:12px;padding:12px;color:var(--text);font:inherit}.account-clean-form input:disabled{opacity:.75}.account-actions-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:6px}.account-status{color:#ffd36d;font-weight:900}.account-toggle-row{display:flex;justify-content:space-between;gap:14px;align-items:center;border-top:1px solid rgba(255,255,255,.08);padding:16px 0}.account-toggle-row:first-of-type{border-top:0}.account-toggle-row span{display:block;color:var(--muted);font-size:13px;margin-top:4px}.account-toggle-row input{width:46px;height:24px;accent-color:var(--gold)}.account-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.account-quick-grid button{border:1px solid rgba(255,255,255,.08);background:#131e31;color:var(--text);border-radius:14px;padding:16px;text-align:left;display:grid;gap:4px;font:inherit;cursor:pointer}.account-quick-grid button:hover{border-color:rgba(245,164,0,.45);transform:translateY(-1px)}.account-quick-grid button b{font-size:16px}.account-quick-grid button span{color:var(--muted);font-size:13px}
.user-menu-dropdown{display:none!important;}
@media(max-width:1050px){.account-shell{grid-template-columns:1fr}.account-sidebar{position:relative;top:auto}.account-stat-grid{grid-template-columns:repeat(2,1fr)}.account-content-grid{grid-template-columns:1fr}.account-panel-large{grid-row:auto}}
@media(max-width:650px){.account-shell{width:min(100% - 24px,1420px);padding-top:20px}.account-stat-grid{grid-template-columns:1fr}.account-clean-form label{grid-template-columns:1fr}.account-quick-grid{grid-template-columns:1fr}}


/* =========================================================
   MY ACCOUNT CLEAN ONE-PAGE VERSION
   Removes busy sidebar and emoji-heavy dashboard.
========================================================= */
.account-simple-page{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:46px 0 78px;
}
.account-simple-head{
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:flex-start;
  margin-bottom:22px;
  background:linear-gradient(180deg,#111827,#0f172a);
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  box-shadow:var(--shadow);
}
.account-kicker{
  display:inline-flex;
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  margin-bottom:10px;
}
.account-simple-head h1{
  margin:0;
  font-size:38px;
  letter-spacing:-.045em;
  color:#fff;
}
.account-simple-head p{
  margin:8px 0 0;
  color:#cbd5e1;
  max-width:680px;
}
.account-head-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.account-simple-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}
.account-simple-stats div{
  background:linear-gradient(180deg,#121b2e,#0f172a);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  min-height:118px;
}
.account-simple-stats i{
  font-style:normal;
  display:block;
  color:var(--gold);
  font-size:24px;
  margin-bottom:14px;
}
.account-simple-stats b{
  display:block;
  color:#fff;
  font-size:30px;
  line-height:1;
}
.account-simple-stats span{
  display:block;
  color:#94a3b8;
  margin-top:7px;
  font-weight:800;
  font-size:13px;
}
.account-simple-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
}
.account-simple-card{
  background:linear-gradient(180deg,#111a2b,#0f172a);
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px;
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}
.account-wide-card{
  grid-column:1/-1;
}
.account-card-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}
.account-card-title span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  color:var(--gold);
  border:1px solid rgba(245,164,0,.34);
  border-radius:12px;
  background:rgba(245,164,0,.08);
  font-weight:900;
}
.account-card-title h2{
  margin:0;
  color:#fff;
  font-size:21px;
  letter-spacing:-.02em;
}
.account-clean-form.simple{
  display:grid;
  gap:13px;
}
.account-clean-form.simple label{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:12px;
  align-items:center;
  color:#cbd5e1;
  font-weight:800;
}
.account-clean-form.simple input{
  background:#0b1120;
  border:1px solid var(--line);
  color:#fff;
  border-radius:12px;
  padding:12px;
  font:inherit;
}
.account-action-list{
  display:grid;
  gap:10px;
}
.account-action-list button{
  width:100%;
  border:1px solid rgba(255,255,255,.09);
  background:#111827;
  color:#fff;
  border-radius:16px;
  padding:15px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 12px;
  text-align:left;
  font:inherit;
}
.account-action-list button:hover{
  border-color:rgba(245,164,0,.5);
  background:#172033;
}
.account-action-list button b{
  font-size:16px;
}
.account-action-list button span{
  color:#94a3b8;
  font-size:13px;
}
.account-action-list button em{
  grid-row:1/3;
  grid-column:2;
  align-self:center;
  min-width:34px;
  height:30px;
  border-radius:999px;
  background:var(--gold);
  color:#0b1120;
  display:grid;
  place-items:center;
  font-style:normal;
  font-weight:900;
}
.account-mini-note{
  margin-top:14px;
  color:#94a3b8;
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:14px;
}
.account-settings-clean{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.account-settings-clean label{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  background:#0b1120;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}
.account-settings-clean b{
  color:#fff;
}
.account-settings-clean small{
  display:block;
  color:#94a3b8;
  margin-top:4px;
}
.account-settings-clean input{
  width:46px;
  height:24px;
  accent-color:var(--gold);
}

/* Hide old account sidebar/menu when old cached HTML appears */
.account-shell .account-sidebar{
  display:none!important;
}
.account-shell{
  display:block!important;
}
.account-shell .account-main{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
}

@media(max-width:900px){
  .account-simple-head{
    display:block;
  }
  .account-head-actions{
    margin-top:16px;
    justify-content:flex-start;
  }
  .account-simple-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .account-simple-grid{
    grid-template-columns:1fr;
  }
  .account-settings-clean{
    grid-template-columns:1fr;
  }
}
@media(max-width:620px){
  .account-simple-page{
    width:min(100% - 24px,1180px);
    padding-top:24px;
  }
  .account-simple-head h1{
    font-size:31px;
  }
  .account-simple-stats{
    grid-template-columns:1fr;
  }
  .account-clean-form.simple label{
    grid-template-columns:1fr;
  }
  .account-head-actions .btn{
    width:100%;
    justify-content:center;
  }
}

/* ==========================================
   Wishlist PDF Print
========================================== */

/* Collection filters layout - safe version */
.collection-tools{
  display:grid !important;
  grid-template-columns:minmax(320px,1.35fr) minmax(150px,190px) auto minmax(180px,230px) 48px !important;
  align-items:center !important;
  gap:12px !important;
}

.collection-tools .search-input{
  width:100% !important;
  min-width:0 !important;
}

.collection-tools .collection-type-filter,
.collection-tools .collection-condition-filter{
  width:100% !important;
  min-width:0 !important;
}

.collection-tools .collection-filter-buttons{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  white-space:nowrap !important;
}

.collection-print-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #111827;
  color: #f8fafc;
  display: inline-grid;
  place-items: center;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
  padding: 0;
}

@media(max-width:1150px){
  .collection-tools{
    grid-template-columns:1fr 180px 48px !important;
  }
  .collection-tools .search-input{
    grid-column:1 / -1 !important;
  }
  .collection-tools .collection-filter-buttons{
    grid-column:1 / 2 !important;
  }
}

@media(max-width:700px){
  .collection-tools{
    grid-template-columns:1fr 48px !important;
  }
  .collection-tools .search-input,
  .collection-tools .collection-type-filter,
  .collection-tools .collection-filter-buttons,
  .collection-tools .collection-condition-filter{
    grid-column:1 / -1 !important;
  }
  .collection-print-icon{
    justify-self:start !important;
  }
}

.collection-print-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #111827;
  color: #f8fafc;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
  padding: 0;
  margin-left: 0;
}

.collection-print-icon:hover {
  border-color: rgba(245,164,0,.75);
  background: #172033;
  color: var(--gold);
  transform: translateY(-1px);
}


@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body.print-wishlist-mode {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    overflow: visible !important;
  }

  body.print-wishlist-mode .site-header,
  body.print-wishlist-mode .site-footer,
  body.print-wishlist-mode .collection-tools,
  body.print-wishlist-mode .collection-results-summary,
  body.print-wishlist-mode .back-to-top,
  body.print-wishlist-mode .collection-stats,
  body.print-wishlist-mode .collection-panel:not(.wishlist-panel),
  body.print-wishlist-mode button,
  body.print-wishlist-mode select,
  body.print-wishlist-mode input {
    display: none !important;
  }

  body.print-wishlist-mode .page,
  body.print-wishlist-mode .collection-page,
  body.print-wishlist-mode .my-collection {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #111827 !important;
  }

  body.print-wishlist-mode .page-title {
    color: #111827 !important;
    font-size: 22px !important;
    margin: 0 0 4px !important;
    letter-spacing: 0 !important;
  }

  body.print-wishlist-mode .page-subtitle {
    color: #374151 !important;
    font-size: 11px !important;
    margin: 0 0 10px !important;
  }

  body.print-wishlist-mode .collection-sections,
  body.print-wishlist-mode .grouped-mode {
    display: block !important;
  }

  body.print-wishlist-mode .wishlist-panel {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #111827 !important;
  }

  body.print-wishlist-mode .collection-panel-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 6px !important;
    margin: 0 0 8px !important;
    border-bottom: 1px solid #d1d5db !important;
    color: #111827 !important;
  }

  body.print-wishlist-mode .collection-panel-head h2 {
    font-size: 15px !important;
    margin: 0 !important;
    color: #111827 !important;
  }

  body.print-wishlist-mode .collection-panel-head span {
    font-size: 10px !important;
    color: #4b5563 !important;
  }

  body.print-wishlist-mode .collection-group-list {
    display: block !important;
  }

  body.print-wishlist-mode .collection-group-card,
  body.print-wishlist-mode .coin-collection-card {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    gap: 10px !important;
    min-height: 0 !important;
    margin: 0 0 8px !important;
    padding: 8px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #111827 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  body.print-wishlist-mode .collection-group-image {
    width: 80px !important;
    min-height: 60px !important;
    height: auto !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
  }

  body.print-wishlist-mode .collection-group-image img {
    width: 75px !important;
    max-width: 75px !important;
    max-height: 55px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }

  body.print-wishlist-mode .collection-gallery-badge {
    position: static !important;
    display: block !important;
    width: fit-content !important;
    margin: 0 0 4px !important;
    padding: 2px 5px !important;
    font-size: 8px !important;
    border-radius: 999px !important;
    background: #fef3c7 !important;
    color: #92400e !important;
  }

  body.print-wishlist-mode .collection-group-body {
    min-width: 0 !important;
    color: #111827 !important;
  }

  body.print-wishlist-mode .collection-group-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 0 5px !important;
    color: #111827 !important;
  }

  body.print-wishlist-mode .collection-group-head h3 {
    font-size: 12px !important;
    margin: 0 0 2px !important;
    color: #111827 !important;
  }

  body.print-wishlist-mode .collection-group-head p {
    font-size: 9px !important;
    margin: 0 !important;
    color: #4b5563 !important;
  }

  body.print-wishlist-mode .collection-progress-chip {
    font-size: 9px !important;
    padding: 1px 5px !important;
    color: #111827 !important;
    background: #f3f4f6 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 999px !important;
  }

  body.print-wishlist-mode .collection-group-variants {
    display: block !important;
  }

  body.print-wishlist-mode .collection-variant-line {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr !important;
    gap: 6px !important;
    padding: 5px 6px !important;
    margin: 0 0 4px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    color: #111827 !important;
    background: #ffffff !important;
  }

  body.print-wishlist-mode .collection-variant-main b {
    font-size: 10px !important;
    color: #111827 !important;
  }

  body.print-wishlist-mode .collection-variant-main span,
  body.print-wishlist-mode .collection-variant-prices span,
  body.print-wishlist-mode .coin-collection-meta span {
    font-size: 8.5px !important;
    color: #4b5563 !important;
  }

  body.print-wishlist-mode .collection-variant-prices {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  body.print-wishlist-mode .collection-group-actions,
  body.print-wishlist-mode .coin-collection-edit-row,
  body.print-wishlist-mode .collection-inline-condition,
  body.print-wishlist-mode .collection-remove,
  body.print-wishlist-mode .empty button {
    display: none !important;
  }

  body.print-wishlist-mode .empty {
    padding: 10px !important;
    border: 1px dashed #d1d5db !important;
    border-radius: 8px !important;
    color: #4b5563 !important;
    font-size: 10px !important;
  }

  body.print-collection-mode {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    overflow: visible !important;
  }

  body.print-collection-mode .site-header,
  body.print-collection-mode .site-footer,
  body.print-collection-mode .collection-tools,
  body.print-collection-mode .collection-results-summary,
  body.print-collection-mode .back-to-top,
  body.print-collection-mode .collection-stats,
  body.print-collection-mode button,
  body.print-collection-mode select,
  body.print-collection-mode input {
    display: none !important;
  }

  body.print-collection-mode .page,
  body.print-collection-mode .collection-page,
  body.print-collection-mode .my-collection {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #111827 !important;
  }

  body.print-collection-mode .page-title {
    color: #111827 !important;
    font-size: 22px !important;
    margin: 0 0 4px !important;
  }

  body.print-collection-mode .page-subtitle {
    color: #374151 !important;
    font-size: 10px !important;
    margin: 0 0 8px !important;
  }

  body.print-collection-mode .collection-auto-value-wrap,
  body.print-collection-mode .collection-auto-value-wrap.compact-values {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 0 10px !important;
    break-inside: avoid !important;
  }

  body.print-collection-mode .collection-value-summary-grid {
    display: none !important;
  }

  body.print-collection-mode .collection-auto-value-panel {
    display: block !important;
    padding: 7px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: none !important;
    break-inside: avoid !important;
  }

  body.print-collection-mode .collection-auto-value-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 0 5px !important;
    color: #111827 !important;
  }

  body.print-collection-mode .collection-auto-value-head h2 {
    color: #111827 !important;
    font-size: 11px !important;
    margin: 0 0 2px !important;
  }

  body.print-collection-mode .collection-auto-value-head p,
  body.print-collection-mode .collection-auto-total-badge span {
    color: #4b5563 !important;
    font-size: 8px !important;
    margin: 0 !important;
  }

  body.print-collection-mode .collection-auto-total-badge {
    min-width: 70px !important;
    padding: 4px 6px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #f9fafb !important;
    color: #111827 !important;
    text-align: right !important;
  }

  body.print-collection-mode .collection-auto-total-badge b {
    color: #111827 !important;
    font-size: 12px !important;
  }

  body.print-collection-mode .collection-auto-grade-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  body.print-collection-mode .collection-auto-grade-card {
    padding: 4px !important;
    min-height: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #111827 !important;
  }

  body.print-collection-mode .collection-auto-grade-card span,
  body.print-collection-mode .collection-auto-grade-card small {
    color: #4b5563 !important;
    font-size: 7.5px !important;
  }

  body.print-collection-mode .collection-auto-grade-card b {
    color: #111827 !important;
    font-size: 10px !important;
  }

  body.print-collection-mode .collection-sections,
  body.print-collection-mode .grouped-mode,
  body.print-collection-mode .collection-panel,
  body.print-collection-mode .collection-group-list {
    display: block !important;
  }

  body.print-collection-mode .collection-panel {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #111827 !important;
  }

  body.print-collection-mode .collection-panel-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 5px !important;
    margin: 0 0 6px !important;
    border-bottom: 1px solid #d1d5db !important;
    color: #111827 !important;
  }

  body.print-collection-mode .collection-panel-head h2 {
    color: #111827 !important;
    font-size: 14px !important;
    margin: 0 !important;
  }

  body.print-collection-mode .collection-panel-head span {
    color: #4b5563 !important;
    font-size: 9px !important;
  }

  body.print-collection-mode .collection-group-card,
  body.print-collection-mode .coin-collection-card {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    gap: 9px !important;
    min-height: 0 !important;
    margin: 0 0 7px !important;
    padding: 7px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #111827 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  body.print-collection-mode .collection-group-image {
    width: 80px !important;
    min-height: 58px !important;
    height: auto !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
  }

  body.print-collection-mode .collection-group-image img {
    width: 75px !important;
    max-width: 75px !important;
    max-height: 55px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }

  body.print-collection-mode .collection-gallery-badge {
    position: static !important;
    display: block !important;
    width: fit-content !important;
    margin: 0 0 4px !important;
    padding: 2px 5px !important;
    font-size: 8px !important;
    border-radius: 999px !important;
    background: #fef3c7 !important;
    color: #92400e !important;
  }

  body.print-collection-mode .collection-group-body {
    min-width: 0 !important;
    color: #111827 !important;
  }

  body.print-collection-mode .collection-group-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 7px !important;
    margin: 0 0 4px !important;
    color: #111827 !important;
  }

  body.print-collection-mode .collection-group-head h3 {
    color: #111827 !important;
    font-size: 11px !important;
    margin: 0 0 2px !important;
  }

  body.print-collection-mode .collection-group-head p {
    color: #4b5563 !important;
    font-size: 8.5px !important;
    margin: 0 !important;
  }

  body.print-collection-mode .collection-progress-chip {
    font-size: 8.5px !important;
    padding: 1px 5px !important;
    color: #111827 !important;
    background: #f3f4f6 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 999px !important;
  }

  body.print-collection-mode .collection-variant-line {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr !important;
    gap: 5px !important;
    padding: 4px 5px !important;
    margin: 0 0 3px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    color: #111827 !important;
    background: #ffffff !important;
  }

  body.print-collection-mode .collection-variant-main b {
    color: #111827 !important;
    font-size: 9.5px !important;
  }

  body.print-collection-mode .collection-variant-main span,
  body.print-collection-mode .collection-variant-prices span,
  body.print-collection-mode .coin-collection-meta span {
    color: #4b5563 !important;
    font-size: 8px !important;
  }

  body.print-collection-mode .collection-variant-prices {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 3px !important;
  }

  body.print-collection-mode .collection-group-actions,
  body.print-collection-mode .coin-collection-edit-row,
  body.print-collection-mode .collection-inline-condition,
  body.print-collection-mode .collection-remove,
  body.print-collection-mode .empty button {
    display: none !important;
  }

  body.print-collection-mode .empty {
    padding: 8px !important;
    border: 1px dashed #d1d5db !important;
    border-radius: 8px !important;
    color: #4b5563 !important;
    font-size: 9px !important;
  }
}
