:root{
  --bg:#f8f6f1;
  --paper:#fffdf9;
  --paper-strong:#ffffff;
  --ink:#171513;
  --muted:#77716a;
  --line:#ded9d1;
  --line-soft:#ebe6df;
  --accent:#ef745f;
  --accent-dark:#d95741;
  --accent-soft:#fff0eb;
  --green:#2e9b62;
  --green-soft:#e8f6ee;
  --orange:#f5a25c;
  --shadow:0 14px 38px rgba(61,45,29,.07);
  --max:980px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:15px;
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{color:inherit}
.wrap{width:min(var(--max),calc(100% - 28px));margin:0 auto}
.site-header{
  padding:26px 0 10px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:18px;font-weight:850;letter-spacing:-.035em}
.brand-mark{display:grid;grid-template-columns:repeat(3,4px);gap:2px;align-items:end;width:18px;height:17px}
.brand-mark i{display:block;width:4px;border-radius:1px;background:#171513}
.brand-mark i:nth-child(1){height:6px}
.brand-mark i:nth-child(2){height:11px}
.brand-mark i:nth-child(3){height:16px}
.nav{display:flex;align-items:center;gap:21px;color:#625d57;font-size:13px}
.nav a:hover{color:#111}
.live-line{
  display:flex;justify-content:center;align-items:center;gap:7px;
  margin:22px 0 8px;color:#4e4943;font-size:12px;text-align:center;flex-wrap:wrap
}
.live-pill{
  background:var(--green-soft);color:#237e4e;border:1px solid #cdebd9;
  padding:5px 9px;border-radius:999px;font-weight:700
}
.live-dot{display:inline-block;width:6px;height:6px;background:#29a565;border-radius:50%;margin-right:5px;box-shadow:0 0 0 3px rgba(41,165,101,.1)}
.hero{text-align:center;padding:8px 0 23px}
.hero h1{font-size:17px;font-weight:600;color:#5f5953;margin:12px 0 2px}
.hero-revenue{font-size:clamp(48px,8vw,72px);font-weight:900;letter-spacing:-.065em;line-height:1;margin:5px 0 7px}
.hero-revenue span{color:var(--accent)}
.hero-sub{font-size:12px;color:#8a837b;margin:0}
.byline{font-size:12px;color:#7d766e;margin:14px 0 0}
.byline a{text-decoration:underline;text-underline-offset:2px}
.claim-box{
  margin:23px auto 25px;padding:22px 23px 20px;
  background:rgba(255,255,255,.52);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 7px 22px rgba(61,45,29,.035)
}
.claim-title{text-align:center;font-size:31px;font-weight:900;letter-spacing:-.055em;margin:0 0 6px}
.claim-title strong{color:var(--accent)}
.claim-help{text-align:center;font-size:12px;color:var(--muted);margin:0 auto 19px;max-width:640px}
.amount-row{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:14px}
.step-btn{
  width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:9px;cursor:pointer;font-size:20px
}
.step-btn:hover{border-color:#bbb3aa}
.amount-control{position:relative;width:210px}
.amount-control input{
  width:100%;height:42px;padding:0 54px 0 15px;border:1px solid var(--line);border-radius:9px;background:#fff;
  font-size:20px;font-weight:850;letter-spacing:-.03em;outline:none;text-align:center
}
.amount-control span{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#8a837b;font-size:11px;font-weight:800}
.bid-grid{display:grid;grid-template-columns:1fr 220px 92px;gap:8px}
.field{
  width:100%;height:43px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 12px;outline:none;color:var(--ink)
}
.field:focus,.amount-control input:focus{border-color:#c6a99e;box-shadow:0 0 0 3px rgba(239,116,95,.08)}
.outbid-btn{
  border:0;border-radius:9px;background:var(--accent);color:#fff;font-weight:850;cursor:pointer;
  box-shadow:0 5px 13px rgba(217,87,65,.17)
}
.outbid-btn:hover{background:var(--accent-dark)}
.quote{
  margin:11px 0 0;padding:10px 12px;border-radius:9px;background:#fff8f5;border:1px solid #f2d3c9;
  color:#65544f;font-size:12px;text-align:center
}
.form-note{text-align:center;color:#918980;font-size:11px;margin:10px 0 0}
.categories{
  display:flex;gap:7px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:thin
}
.cat{
  white-space:nowrap;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:#fffdfa;
  color:#665f58;font-size:11px;cursor:pointer
}
.cat:hover,.cat.active{border-color:#e9aa9c;background:var(--accent-soft);color:#9f3f2e}
.board-head{display:flex;align-items:center;justify-content:space-between;margin:8px 0 10px}
.board-head h2{font-size:13px;text-transform:uppercase;letter-spacing:.09em;margin:0;color:#756d65}
.refresh{border:0;background:transparent;color:#77716a;text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-size:11px}
.board{display:flex;flex-direction:column;gap:8px}
.card{
  position:relative;
  display:grid;grid-template-columns:47px 54px minmax(0,1fr) 150px;gap:12px;align-items:center;
  background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:13px 13px 13px 11px
}
.card.top{background:#fff1ec;border-color:#efc4b8}
.card:hover{box-shadow:var(--shadow);border-color:#cec6bd}
.rank{
  width:35px;height:27px;display:grid;place-items:center;border-radius:7px;background:#f3efea;color:#766f68;font-weight:850;font-size:12px
}
.top .rank{background:#f7c5b9;color:#984432}
.rank.first{background:#ef745f;color:white}
.logo{
  width:50px;height:50px;border-radius:10px;object-fit:cover;background:#f0ece7;border:1px solid var(--line-soft)
}
.logo-fallback{
  width:50px;height:50px;border-radius:10px;background:#ece7e0;border:1px solid var(--line-soft);
  display:grid;place-items:center;font-size:18px;font-weight:900;color:#6f675f;text-transform:uppercase
}
.main{min-width:0}
.name-row{display:flex;align-items:center;gap:8px;min-width:0}
.name{
  font-size:14px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%
}
.desc{
  margin:4px 0 5px;color:#5f5953;font-size:12px;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#8b837a;font-size:10px}
.meta .category-link{text-decoration:underline;text-underline-offset:2px}
.bid-side{text-align:right;align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:flex-end}
.price{font-size:20px;font-weight:900;letter-spacing:-.04em}
.claim-rank{
  margin-top:8px;border:1px solid #edb2a4;background:#fff7f4;color:#b84834;padding:7px 9px;border-radius:8px;
  font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap
}
.claim-rank:hover{background:#ffe9e2}
.activity{
  margin:3px 0;padding:13px 15px;border:1px dashed #ccc4ba;border-radius:10px;background:#f2efe9
}
.activity h3{margin:0 0 8px;font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#7d756d}
.activity-list{display:grid;gap:5px}
.activity-item{font-size:11px;color:#6f675f;display:flex;gap:5px;flex-wrap:wrap}
.activity-item b{color:#2d2a27}
.milestone{
  text-align:center;padding:5px 0;font-size:10px;font-weight:850;color:#8a8279;text-transform:uppercase;letter-spacing:.12em
}
.empty{padding:40px 14px;text-align:center;color:#817970;border:1px dashed var(--line);border-radius:10px;background:#fffdfa}
.pagination{display:flex;align-items:center;justify-content:center;gap:5px;margin:18px 0 6px;flex-wrap:wrap}
.page-btn{
  min-width:31px;height:30px;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:pointer;font-size:11px
}
.page-btn.active{background:#1d1b19;color:#fff;border-color:#1d1b19}
.range{text-align:center;color:#8d857d;font-size:11px;margin:7px 0 30px}
.footer{
  border-top:1px solid var(--line);margin-top:24px;padding:23px 0 38px;
  color:#7d766e;font-size:11px;text-align:center
}
.footer a{text-decoration:underline;text-underline-offset:2px}
.page{
  width:min(720px,calc(100% - 30px));margin:35px auto 70px;background:var(--paper);
  border:1px solid var(--line);border-radius:14px;padding:28px 30px
}
.page h1{font-size:30px;letter-spacing:-.04em;margin:0 0 22px}
.page h2{font-size:18px;margin:25px 0 9px}
.page p,.page li{color:#5f5953;font-size:13px}
.page li{margin:7px 0}
.category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.category-card{padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff}
.category-card:hover{border-color:#e2aa9d;background:#fff8f5}
.category-card b{display:block;font-size:13px}
.category-card span{display:block;color:#847c74;font-size:11px;margin-top:4px}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.stat-card{border:1px solid var(--line);border-radius:10px;padding:15px;background:#fff}
.stat-card strong{display:block;font-size:23px;letter-spacing:-.04em}
.stat-card span{font-size:10px;color:#817970}
.admin-wrap{width:min(1100px,calc(100% - 30px));margin:28px auto}
.admin-toolbar{display:flex;gap:8px;margin:18px 0}
.admin-toolbar input,.admin-toolbar select{height:40px;border:1px solid var(--line);border-radius:8px;padding:0 10px;background:#fff}
.admin-toolbar input{flex:1}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}
table{width:100%;border-collapse:collapse;min-width:840px}
th,td{padding:10px;border-bottom:1px solid var(--line-soft);font-size:11px;text-align:left}
th{color:#7d766e;background:#faf8f4}
.small-actions{display:flex;gap:5px}
.small-actions button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:5px 7px;cursor:pointer;font-size:10px}
.notice{padding:12px;border:1px solid #f0cf9d;background:#fff7e8;border-radius:9px;color:#7d5a28;font-size:12px}
@media(max-width:760px){
  .nav{gap:11px}.nav a:nth-child(2){display:none}
  .claim-title{font-size:27px}
  .bid-grid{grid-template-columns:1fr 110px}
  .bid-grid .field:first-child{grid-column:1/3}
  .outbid-btn{min-height:43px}
  .card{grid-template-columns:38px 46px minmax(0,1fr);gap:8px;padding:11px}
  .logo,.logo-fallback{width:43px;height:43px}
  .bid-side{grid-column:3;text-align:left;align-items:flex-start;margin-top:2px}
  .price{font-size:16px}
  .category-grid,.stat-grid{grid-template-columns:1fr}
}
@media(max-width:500px){
  .site-header{padding-top:18px}.nav a{display:none}.nav a:first-child{display:block}
  .claim-box{padding:18px 12px}
  .amount-control{width:185px}
  .page{padding:22px 18px}
}


/* v2.1 multilingual */
.header-right{display:flex;align-items:center;gap:16px}
.lang-select{
  height:31px;min-width:66px;padding:0 27px 0 9px;border:1px solid var(--line);border-radius:8px;
  background:#fffdfa;color:#4e4944;font-size:10px;font-weight:850;cursor:pointer;outline:none
}
.lang-select:hover,.lang-select:focus{border-color:#e0a89b;background:#fff7f4}
.admin-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
@media(max-width:760px){
  .header-right{gap:9px}
  .lang-select{min-width:61px;height:30px}
}
@media(max-width:500px){
  .header-right{margin-left:auto}
  .nav a:first-child{display:none}
  .nav{display:none}
}


/* v2.4 USDT TRC20 payment */
.payment-page{max-width:760px;margin:70px auto;padding:0 18px}
.payment-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:0 16px 50px rgba(45,35,25,.08)}
.payment-card h1{margin:8px 0 24px;font-size:32px;letter-spacing:-.04em}
.payment-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e9fff6;color:#07865d;font-weight:950;font-size:12px}
.pay-amount{font-size:28px;font-weight:950;margin:12px 0 6px;color:#161514}
.pay-status{display:inline-flex;padding:7px 10px;border-radius:9px;font-size:12px;font-weight:850;margin-bottom:20px;background:#f1eee9;color:#655f59}
.status-submitted{background:#fff2c7;color:#795c00}.status-paid{background:#ddf8ea;color:#0a6d4e}.status-failed{background:#ffe5e3;color:#a63830}
.payment-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.payment-details>div{border:1px solid var(--line-soft);border-radius:12px;padding:12px;background:#fffdfa}
.payment-details span{display:block;font-size:11px;color:#7f7973;margin-bottom:5px}.payment-details b{font-size:13px}
.pay-label{display:block;font-size:12px;font-weight:850;margin:16px 0 7px}
.copy-row{display:flex;gap:8px;align-items:stretch}.copy-row code{flex:1;word-break:break-all;padding:13px;border:1px solid var(--line);border-radius:10px;background:#f8f6f2;font-size:12px}
.usdt-warning{margin:16px 0;padding:12px 14px;border-radius:12px;background:#fff6d8;border:1px solid #f1dc96;color:#6f5a13;font-size:12px;line-height:1.55}
.tx-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.tx-form .pay-label{grid-column:1/-1;margin-bottom:0}.tx-form .field{min-width:0}
.back-pay{display:inline-block;margin-top:22px;font-size:12px;font-weight:850}
@media(max-width:640px){.payment-details{grid-template-columns:1fr}.tx-form{grid-template-columns:1fr}.copy-row{flex-direction:column}}


/* v2.5 — native USDT checkout */
.checkout-body{margin:0;background:#fff;color:#172033}
.checkout-shell{width:min(var(--max),calc(100% - 28px));min-height:100vh;margin:0 auto;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.checkout-summary{background:#f7f8fa;padding:34px 30px;border-right:1px solid #eceef1}
.checkout-payment{background:#fff;padding:34px 30px;display:flex;align-items:flex-start;justify-content:center}
.checkout-payment>div{width:100%;max-width:390px}
.checkout-brand{display:flex;justify-content:space-between;align-items:center;margin-bottom:42px}
.checkout-product-name{font-size:14px;margin-bottom:8px;color:#1e293b}
.checkout-big-price{font-size:31px;line-height:1;font-weight:700;color:#111827;margin-bottom:34px}
.checkout-totals{display:grid;gap:14px;font-size:14px}.checkout-totals>div{display:flex;justify-content:space-between;gap:20px}.checkout-totals span{color:#4b5563}.checkout-totals b{font-weight:500}
.checkout-totals .checkout-total{font-size:15px}.checkout-totals .checkout-total span,.checkout-totals .checkout-total b{color:#111827;font-weight:700}
.checkout-divider{height:1px;background:#dde1e7;margin:32px 0 48px}
.checkout-rules-copy{max-width:570px}.checkout-rules-copy h2{font-size:20px;margin:0 0 22px;color:#111827}.checkout-rules-copy h3{font-size:17px;margin:28px 0 14px;color:#111827}
.checkout-rules-copy p,.checkout-rules-copy li{font-size:14px;line-height:1.55;color:#344054}
.checkout-rules-copy ul{padding-left:30px;margin:0}.checkout-rules-copy li{padding-left:5px;margin:10px 0}.checkout-rules-copy li::marker{color:#ccd2da}
.checkout-label{display:block;font-size:14px;font-weight:600;color:#111827;margin:0 0 8px}
.checkout-input{width:100%;height:42px;padding:0 13px;border:1px solid #d8dde5;border-radius:12px;background:#fff;color:#111827;outline:none;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.checkout-input:focus{border-color:#9aa6b6;box-shadow:0 0 0 3px rgba(90,110,140,.08)}
.payment-method-title{margin-top:24px}
.payment-method-grid{display:grid;grid-template-columns:1fr;gap:10px}
.payment-method{height:66px;border:2px solid #3478f6;border-radius:11px;background:#f4f8ff;display:grid;grid-template-columns:34px 1fr auto;grid-template-rows:1fr 1fr;align-items:center;padding:8px 14px;text-align:left;color:#1f2937}
.payment-method .usdt-round{grid-row:1/3}.payment-method strong{align-self:end;font-size:15px}.payment-method small{grid-column:2;align-self:start;color:#6b7280;font-size:12px}
.usdt-round{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#26a17b;color:#fff;font-weight:900}.usdt-round.large{width:44px;height:44px;font-size:22px;flex:0 0 auto}
.secure-note{margin:16px 0 24px;min-height:67px;padding:14px;border:1px solid #e3e6eb;border-radius:10px;display:flex;gap:15px;align-items:center;color:#687386;font-size:14px;line-height:1.4;box-shadow:0 1px 3px rgba(16,24,40,.03)}
.secure-note-icon{font-size:22px;color:#98a2b3}
.checkout-check{display:flex;align-items:flex-start;gap:10px;margin-top:16px;font-size:13px;color:#172033;line-height:1.2}.checkout-check input{width:17px;height:17px;margin:0;flex:0 0 auto}.checkout-accept{margin-top:25px}
.checkout-pay-button{width:100%;height:49px;margin-top:32px;border:0;border-radius:999px;background:#050505;color:#fff;font-weight:800;font-size:15px;cursor:pointer}.checkout-pay-button:hover{background:#1a1a1a}.checkout-pay-button:disabled{opacity:.55;cursor:wait}
.checkout-terms{text-align:center;color:#98a2b3;font-size:12px;margin-top:46px}
.checkout-loading{padding:80px 0;text-align:center;color:#667085}
.checkout-back{border:0;background:transparent;padding:0;margin:0 0 28px;color:#667085;cursor:pointer}
.transfer-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:28px}.transfer-head h2{margin:0 0 6px;font-size:24px}.transfer-head p{margin:0;color:#667085;font-size:14px;line-height:1.45}
.transfer-amount{font-size:37px;font-weight:800;letter-spacing:-.035em;margin-bottom:4px}.transfer-network{color:#667085;font-size:13px;margin-bottom:27px}
.wallet-copy{display:flex;gap:8px;align-items:stretch;margin-bottom:15px}.wallet-copy code{flex:1;padding:13px;border:1px solid #d8dde5;border-radius:10px;background:#f8fafc;word-break:break-all;font-size:12px}.wallet-copy button{border:1px solid #d8dde5;background:#fff;border-radius:10px;padding:0 13px;font-weight:700;cursor:pointer}
.checkout-message{margin-top:14px;padding:12px 14px;border-radius:10px;background:#eefbf5;border:1px solid #bce8d4;color:#146c50;font-size:13px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
@media(max-width:900px){.checkout-shell{grid-template-columns:1fr}.checkout-summary{border-right:0;border-bottom:1px solid #eceef1}.checkout-payment{padding-top:38px}}
@media(max-width:520px){.checkout-summary,.checkout-payment{padding-left:18px;padding-right:18px}.checkout-brand{margin-bottom:30px}.checkout-rules-copy{display:none}.checkout-divider{margin-bottom:0}.wallet-copy{flex-direction:column}.checkout-shell{display:block}}

/* v2.5.1 — checkout width matches the main 850px content container */
.checkout-body{background:#eef1f4}
.checkout-shell{box-shadow:0 0 0 1px rgba(17,24,39,.035),0 18px 55px rgba(17,24,39,.06)}
@media(max-width:900px){
  .checkout-shell{width:min(var(--max),calc(100% - 20px));min-height:auto;margin:10px auto}
}
@media(max-width:520px){
  .checkout-shell{width:100%;margin:0;box-shadow:none}
}


/* v2.6 — TRON auto verification status */
.chain-details{
  margin-top:12px;
  padding:12px 14px;
  border:1px solid #d8e4de;
  border-radius:10px;
  background:#f6fbf8;
  font-size:12px;
  line-height:1.5;
  word-break:break-word;
}
.chain-details b{display:block;color:#146c50;margin-bottom:4px}
.chain-details span{display:block;color:#667085}


/* v2.6.1 — wider desktop layout */
@media(min-width:901px){
  .wrap{
    width:min(var(--max),calc(100% - 36px));
  }

  main,
  .board{
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
  }

  .checkout-shell{
    width:min(var(--max),calc(100% - 36px));
    grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  }

  .checkout-summary{
    padding-left:34px;
    padding-right:34px;
  }

  .checkout-payment{
    padding-left:34px;
    padding-right:34px;
  }

  .checkout-payment>div{
    max-width:430px;
  }
}


/* v2.6.2 — silent wallet copy confirmation */
.wallet-copy button{
  min-width:88px;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.wallet-copy button.copied{
  background:#e9f9f2;
  border-color:#9cd8bd;
  color:#08775a;
  transform:scale(.98);
}
.copy-check{
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  margin:auto;
  border-radius:50%;
  background:#26a17b;
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
}


/* v2.6.3 — leaderboard/article cards exactly match site content width */
.board{
  width:100%;
  max-width:none;
}
.card,
.card.top{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
.board-head,
.categories,
.claim-box{
  width:100%;
  max-width:none;
}


/* v2.6.4 — back to site arrow on checkout */
.checkout-body{
  position:relative;
  padding-top:58px;
}
.checkout-site-back{
  position:absolute;
  top:16px;
  left:50%;
  transform:translateX(-490px);
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:34px;
  padding:0 10px 0 8px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#667085;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
  transition:background .16s ease,color .16s ease,transform .16s ease;
  z-index:20;
}
.checkout-site-back:hover{
  background:#f2f4f7;
  color:#111827;
  transform:translateX(-492px);
}
.checkout-site-back-icon{
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  border-radius:50%;
  border:1px solid #d8dde5;
  background:#fff;
  font-size:16px;
  line-height:1;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.checkout-site-back-text{white-space:nowrap}
@media(max-width:1016px){
  .checkout-site-back{left:18px;transform:none}
  .checkout-site-back:hover{transform:translateX(-2px)}
}
@media(max-width:520px){
  .checkout-body{padding-top:48px}
  .checkout-site-back{top:9px;left:10px}
  .checkout-site-back-text{display:none}
}


/* v2.6.5 — category icons */
.cat{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.chip-icon,
.meta-cat-icon,
.category-card-icon{
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
}
.chip-icon svg,
.meta-cat-icon svg,
.category-card-icon svg{
  width:16px;
  height:16px;
  display:block;
}
.chip-icon{
  color:#776e67;
}
.cat.active .chip-icon,
.cat:hover .chip-icon{
  color:#b04a38;
}
.meta .category-link{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.meta-cat-icon svg{
  width:13px;
  height:13px;
}
.category-card{
  display:block;
}
.category-card-head{
  display:flex;
  align-items:center;
  gap:10px;
}
.category-card-icon{
  width:26px;
  height:26px;
  border-radius:7px;
  background:#f6f1eb;
  border:1px solid var(--line-soft);
  color:#6f675f;
}
.category-card:hover .category-card-icon{
  background:#fff1ec;
  border-color:#efc4b8;
  color:#b04a38;
}
.category-card b{
  margin:0;
}


/* v2.6.6 — custom icon category dropdown */
.category-picker{
  position:relative;
  min-width:0;
  z-index:80;
}
.category-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  cursor:pointer;
  text-align:left;
  color:var(--ink);
  padding-right:10px;
}
.category-trigger-value{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex:1;
}
.category-trigger-value>span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.category-placeholder{
  color:#807970;
  font-weight:400;
}
.category-trigger-icon,
.category-option-icon{
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  color:#77716a;
}
.category-trigger-icon svg{
  width:17px;
  height:17px;
  display:block;
}
.category-chevron{
  flex:0 0 auto;
  color:#817970;
  font-size:15px;
  line-height:1;
  transition:transform .16s ease;
}
.category-picker.open .category-chevron{
  transform:rotate(180deg);
}
.category-picker.open .category-trigger{
  border-color:#c6a99e;
  box-shadow:0 0 0 3px rgba(239,116,95,.08);
}
.category-menu{
  position:absolute;
  z-index:120;
  top:calc(100% + 6px);
  right:0;
  width:min(350px,calc(100vw - 32px));
  max-height:405px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:6px;
  border:1px solid #d9d4cd;
  border-radius:11px;
  background:#fff;
  box-shadow:0 18px 42px rgba(38,30,23,.15);
  scrollbar-width:thin;
}
.category-menu[hidden]{
  display:none;
}
.category-option{
  width:100%;
  min-height:36px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) 18px;
  align-items:center;
  gap:8px;
  padding:6px 8px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#292521;
  font-size:12px;
  text-align:left;
  cursor:pointer;
}
.category-option:hover{
  background:#f7f3ee;
}
.category-option[aria-selected="true"]{
  background:#fff0eb;
  color:#9f3f2e;
  font-weight:750;
}
.category-option-icon svg{
  width:17px;
  height:17px;
  display:block;
}
.category-option[aria-selected="true"] .category-option-icon{
  color:#b34b38;
}
.category-option-check{
  opacity:0;
  color:#b34b38;
  font-weight:900;
  text-align:center;
}
.category-option[aria-selected="true"] .category-option-check{
  opacity:1;
}

@media(max-width:760px){
  .category-picker{
    grid-column:auto;
  }
  .category-menu{
    left:0;
    right:auto;
    width:min(360px,calc(100vw - 40px));
  }
}
@media(max-width:500px){
  .category-menu{
    position:fixed;
    left:14px;
    right:14px;
    top:auto;
    bottom:14px;
    width:auto;
    max-height:62vh;
    border-radius:14px;
    box-shadow:0 20px 60px rgba(20,15,10,.22);
  }
}


/* v2.6.7 — richer categories page sections */
.categories-page-body .categories-wrap{padding-bottom:34px}
.categories-site-header{padding-bottom:18px}
.categories-header-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.period-switch{
  display:inline-flex;align-items:center;gap:4px;
  padding:4px;border:1px solid var(--line);border-radius:999px;background:#fffdfa;
}
.period-pill{
  border:0;background:transparent;color:#7b736c;cursor:pointer;
  padding:6px 10px;border-radius:999px;font-size:12px;font-weight:650;
}
.period-pill.active{background:var(--accent-soft);color:#9f3f2e}
.categories-header-right{gap:12px}
.categories-nav a[aria-current="page"]{color:#171513;font-weight:700}
.theme-toggle-button{
  width:32px;height:32px;border:1px solid var(--line);border-radius:999px;background:#fffdfa;
  color:#615a54;display:grid;place-items:center;cursor:pointer
}
.theme-toggle-button:hover{border-color:#c8c0b7;background:#fff}
.categories-live-wrap{display:flex;justify-content:center;margin:8px 0 30px}
.categories-live-pill{
  display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;
  padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:#fffdfa;
  color:#5b544e;font-size:12px
}
.categories-live-online{color:#148c4f;font-weight:700}
.categories-live-sep{color:#b9b1a8}
.categories-hero-block{padding:0 0 18px}
.categories-hero-block h1{font-size:56px;line-height:1.04;letter-spacing:-.055em;margin:0 0 14px;font-weight:900}
.categories-hero-block p{margin:0;color:#655d56;font-size:18px;max-width:640px}
.categories-main{padding-top:10px}
.categories-grid-rich{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.category-card-rich{
  min-height:110px;padding:20px 20px 18px;border-radius:22px;background:rgba(255,253,249,.78);
  border:1px solid #d9d4cd;box-shadow:none;display:flex;flex-direction:column;justify-content:center
}
.category-card-rich:hover{background:#fffdfb;border-color:#cfc3b6;transform:translateY(-1px)}
.category-card-head-rich{gap:14px;align-items:center}
.category-card-icon-rich{
  width:42px;height:42px;border-radius:999px;background:#f7ece7;border-color:#f0ddd5;color:#ea6c50
}
.category-card-icon-rich svg{width:19px;height:19px}
.category-card-rich b{font-size:18px;line-height:1.2;font-weight:800;letter-spacing:-.03em}
.category-card-rich span{margin-top:9px;font-size:12px;color:#837a72}
@media(max-width:980px){
  .categories-grid-rich{grid-template-columns:repeat(2,minmax(0,1fr))}
  .categories-hero-block h1{font-size:44px}
}
@media(max-width:760px){
  .categories-site-header{align-items:flex-start}
  .categories-header-right{width:100%;justify-content:space-between}
  .categories-live-wrap{margin-top:2px}
  .categories-hero-block h1{font-size:38px}
  .categories-hero-block p{font-size:16px}
}
@media(max-width:620px){
  .categories-grid-rich{grid-template-columns:1fr}
  .categories-live-pill{justify-content:flex-start;border-radius:18px}
}


/* v2.6.8 — center category icons inside round card bubble */
.category-card-icon,
.category-card-icon-rich{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto;
  line-height:0;
  text-align:center;
  overflow:hidden;
}
.category-card-icon svg,
.category-card-icon-rich svg{
  display:block;
  margin:0 auto;
  flex:0 0 auto;
}
.category-card-head,
.category-card-head-rich{
  align-items:center;
}


/* v2.6.9 — BidRank logo + favicon */
.brand-logo-link{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  line-height:0;
}
.brand-logo-img{
  display:block;
  width:138px;
  height:auto;
  max-height:42px;
  object-fit:contain;
}
@media(max-width:520px){
  .brand-logo-img{
    width:120px;
    max-height:36px;
  }
}


/* v2.7.0 — day/night mode */
*,
*::before,
*::after{
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}
.theme-toggle{
  position:relative;
  overflow:hidden;
}
.theme-toggle-sun,
.theme-toggle-moon{
  font-size:14px;
  line-height:1;
  display:block;
}
.theme-toggle-sun{display:none}
html[data-theme="dark"] .theme-toggle-sun{display:block}
html[data-theme="dark"] .theme-toggle-moon{display:none}
.admin-brand-label{
  font-size:14px;
  font-weight:850;
  letter-spacing:-.03em;
}

html[data-theme="dark"]{
  --bg:#101317;
  --paper:#171c22;
  --paper-strong:#1d232b;
  --ink:#eef2f6;
  --muted:#aeb6c0;
  --line:#2d343d;
  --line-soft:#232a33;
  --accent:#ff8b73;
  --accent-dark:#ff7a63;
  --accent-soft:#362622;
  --green:#57cb8d;
  --green-soft:#153226;
  --orange:#ffbc70;
  --shadow:0 18px 45px rgba(0,0,0,.34);
}
html[data-theme="dark"] body{
  background:var(--bg);
  color:var(--ink);
}
html[data-theme="dark"] .nav,
html[data-theme="dark"] .byline,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .hero-sub,
html[data-theme="dark"] .live-line,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .range,
html[data-theme="dark"] .page p,
html[data-theme="dark"] .page li,
html[data-theme="dark"] .category-card span,
html[data-theme="dark"] .stat-card span,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .checkout-rule-list,
html[data-theme="dark"] .checkout-help,
html[data-theme="dark"] .checkout-copy,
html[data-theme="dark"] .checkout-note{
  color:#b8c0c9;
}
html[data-theme="dark"] .nav a:hover,
html[data-theme="dark"] .refresh,
html[data-theme="dark"] .footer a,
html[data-theme="dark"] .byline a,
html[data-theme="dark"] .meta .category-link,
html[data-theme="dark"] a u{
  color:#e8edf2;
}
html[data-theme="dark"] .claim-box,
html[data-theme="dark"] .page,
html[data-theme="dark"] .card,
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .admin-toolbar input,
html[data-theme="dark"] .admin-toolbar select,
html[data-theme="dark"] .payment-card,
html[data-theme="dark"] .checkout-payment,
html[data-theme="dark"] .checkout-payment-card,
html[data-theme="dark"] .category-menu{
  background:var(--paper);
  border-color:var(--line);
  color:var(--ink);
}
html[data-theme="dark"] .card.top{
  background:#2b1f1b;
  border-color:#5a3a33;
}
html[data-theme="dark"] .claim-rank{
  background:#2a1d19;
  border-color:#6a4338;
  color:#ff9d88;
}
html[data-theme="dark"] .quote{
  background:#251d1a;
  border-color:#5b3e37;
  color:#f1d2ca;
}
html[data-theme="dark"] .activity{
  background:#141920;
  border-color:#333c47;
}
html[data-theme="dark"] .empty{
  background:#141920;
  border-color:#313944;
  color:#aeb7c1;
}
html[data-theme="dark"] .cat,
html[data-theme="dark"] .lang-select,
html[data-theme="dark"] .theme-toggle-button,
html[data-theme="dark"] .period-switch,
html[data-theme="dark"] .checkout-site-back{
  background:#151a20;
  border-color:var(--line);
  color:#dce3ea;
}
html[data-theme="dark"] .cat:hover,
html[data-theme="dark"] .cat.active,
html[data-theme="dark"] .period-pill.active{
  background:#342522;
  border-color:#80584f;
  color:#ff9b86;
}
html[data-theme="dark"] .field,
html[data-theme="dark"] .amount-control input,
html[data-theme="dark"] .step-btn,
html[data-theme="dark"] .page-btn,
html[data-theme="dark"] .copy-row code,
html[data-theme="dark"] .checkout-row-value,
html[data-theme="dark"] .checkout-address-box,
html[data-theme="dark"] .checkout-note-box,
html[data-theme="dark"] .checkout-payment .field,
html[data-theme="dark"] .tx-form .field{
  background:#12171d;
  border-color:var(--line);
  color:var(--ink);
}
html[data-theme="dark"] .field:focus,
html[data-theme="dark"] .amount-control input:focus,
html[data-theme="dark"] .lang-select:focus,
html[data-theme="dark"] .theme-toggle-button:focus{
  box-shadow:0 0 0 3px rgba(255,139,115,.12);
  border-color:#8d6156;
}
html[data-theme="dark"] .rank{
  background:#212831;
  color:#d2d9e1;
}
html[data-theme="dark"] .top .rank{
  background:#6d4137;
  color:#fff2ec;
}
html[data-theme="dark"] .rank.first{
  background:var(--accent);
  color:#fff;
}
html[data-theme="dark"] .logo,
html[data-theme="dark"] .logo-fallback{
  background:#222932;
  border-color:#303844;
  color:#d8dfe7;
}
html[data-theme="dark"] .checkout-body{
  background:#0f1318;
  color:#eef2f6;
}
html[data-theme="dark"] .checkout-shell{
  background:#0f1318;
}
html[data-theme="dark"] .checkout-summary{
  background:#141920;
  border-right-color:#262d37;
}
html[data-theme="dark"] .checkout-product-name,
html[data-theme="dark"] .checkout-totals span,
html[data-theme="dark"] .checkout-rules-copy p,
html[data-theme="dark"] .checkout-rules-copy li,
html[data-theme="dark"] .checkout-merchant,
html[data-theme="dark"] .checkout-status-sub{
  color:#bcc4cc;
}
html[data-theme="dark"] .checkout-divider{
  background:#28303a;
}
html[data-theme="dark"] .checkout-info-card,
html[data-theme="dark"] .checkout-details > div,
html[data-theme="dark"] .payment-details > div{
  background:#151a20;
  border-color:#2e353f;
}
html[data-theme="dark"] .checkout-payment{
  background:#11161c;
}
html[data-theme="dark"] .checkout-payment > div,
html[data-theme="dark"] .checkout-card,
html[data-theme="dark"] .payment-card{
  background:#171c22;
  color:var(--ink);
}
html[data-theme="dark"] .usdt-warning,
html[data-theme="dark"] .notice{
  background:#2b2616;
  border-color:#625433;
  color:#f4df98;
}
html[data-theme="dark"] th{
  background:#1a2027;
  color:#c6ced7;
}
html[data-theme="dark"] th,
html[data-theme="dark"] td{
  border-bottom-color:#29303a;
}
html[data-theme="dark"] .small-actions button{
  background:#151a20;
  border-color:var(--line);
  color:#e6ebf1;
}
html[data-theme="dark"] .live-pill{
  background:#173424;
  color:#72d69d;
  border-color:#29513c;
}
html[data-theme="dark"] .live-dot{
  background:#58cf8d;
  box-shadow:0 0 0 3px rgba(88,207,141,.12);
}
html[data-theme="dark"] .theme-toggle-button:hover,
html[data-theme="dark"] .lang-select:hover{
  background:#1a2027;
  border-color:#444f5d;
}
html[data-theme="dark"] .checkout-site-back:hover{
  background:#1a2027;
}


/* v2.7.1 — dark mode checkout text visibility fix */
html[data-theme="dark"] .checkout-big-price,
html[data-theme="dark"] .checkout-totals b,
html[data-theme="dark"] .checkout-totals .checkout-total span,
html[data-theme="dark"] .checkout-totals .checkout-total b,
html[data-theme="dark"] .checkout-rules-copy h2,
html[data-theme="dark"] .checkout-rules-copy h3,
html[data-theme="dark"] .checkout-label,
html[data-theme="dark"] .transfer-head h2,
html[data-theme="dark"] .transfer-amount,
html[data-theme="dark"] .wallet-copy code,
html[data-theme="dark"] .wallet-copy button,
html[data-theme="dark"] .checkout-back,
html[data-theme="dark"] .chain-details b,
html[data-theme="dark"] .payment-method strong,
html[data-theme="dark"] .checkout-check,
html[data-theme="dark"] .checkout-check span{
  color:#eef2f6;
}

html[data-theme="dark"] .transfer-head p,
html[data-theme="dark"] .transfer-network,
html[data-theme="dark"] .transfer-network b,
html[data-theme="dark"] .chain-details span,
html[data-theme="dark"] .checkout-terms,
html[data-theme="dark"] .secure-note,
html[data-theme="dark"] .secure-note-icon,
html[data-theme="dark"] .payment-method small,
html[data-theme="dark"] .checkout-loading{
  color:#b8c0c9;
}

html[data-theme="dark"] .wallet-copy button{
  background:#151a20;
  border-color:var(--line);
}
html[data-theme="dark"] .wallet-copy button:hover{
  background:#1a2027;
  border-color:#444f5d;
}
html[data-theme="dark"] .payment-method{
  background:#19212a;
  border-color:#4f85f8;
  color:#eef2f6;
}
html[data-theme="dark"] .secure-note{
  background:#151a20;
  border-color:#2e353f;
}
html[data-theme="dark"] .chain-details{
  background:#152019;
  border-color:#294237;
}
html[data-theme="dark"] .chain-details b{
  color:#72d69d;
}
html[data-theme="dark"] .checkout-input::placeholder,
html[data-theme="dark"] .field::placeholder{
  color:#98a3af;
}
html[data-theme="dark"] .checkout-site-back,
html[data-theme="dark"] .checkout-back{
  color:#c5ced7;
}
html[data-theme="dark"] .checkout-site-back-icon{
  background:#151a20;
  border-color:#394450;
  color:#eef2f6;
  box-shadow:none;
}


/* =========================================================
   v2.7.2 — Standardized typography
   A calmer, more consistent scale across the entire product.
   ========================================================= */

:root{
  --font-body:14px;
  --font-small:12px;
  --font-xs:11px;
  --font-card:14px;
  --font-section:18px;
  --font-page-title:30px;
  --font-display:46px;

  --weight-regular:400;
  --weight-medium:500;
  --weight-semibold:600;
  --weight-bold:700;
  --weight-heavy:800;
}

body{
  font-size:var(--font-body);
  line-height:1.55;
  font-weight:var(--weight-regular);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Header / navigation */
.brand{
  font-size:17px;
  font-weight:var(--weight-bold);
  letter-spacing:-.025em;
}
.nav{
  font-size:13px;
  font-weight:var(--weight-regular);
}
.nav a{
  font-weight:var(--weight-medium);
}
.lang-select{
  font-size:11px;
  font-weight:var(--weight-semibold);
}
.theme-toggle-button{
  font-weight:var(--weight-medium);
}

/* Main hero */
.hero h1{
  font-size:16px;
  font-weight:var(--weight-medium);
}
.hero-revenue{
  font-size:clamp(46px,7vw,66px);
  font-weight:var(--weight-heavy);
  letter-spacing:-.05em;
}
.hero-sub,
.byline,
.live-line{
  font-size:12px;
}

/* Bid / claim area */
.claim-title{
  font-size:28px;
  font-weight:var(--weight-heavy);
  letter-spacing:-.04em;
}
.claim-help{
  font-size:12px;
}
.amount-control input{
  font-size:19px;
  font-weight:var(--weight-bold);
}
.amount-control span{
  font-size:11px;
  font-weight:var(--weight-semibold);
}
.outbid-btn{
  font-size:13px;
  font-weight:var(--weight-bold);
}
.field,
.category-trigger,
.category-option{
  font-size:13px;
  font-weight:var(--weight-regular);
}
.form-note,
.quote{
  font-size:12px;
}

/* Category chips */
.cat{
  font-size:11px;
  font-weight:var(--weight-medium);
}

/* Leaderboard */
.board-head h2{
  font-size:12px;
  font-weight:var(--weight-semibold);
  letter-spacing:.075em;
}
.refresh{
  font-size:11px;
  font-weight:var(--weight-medium);
}
.rank{
  font-size:12px;
  font-weight:var(--weight-bold);
}
.name{
  font-size:14px;
  font-weight:var(--weight-bold);
  letter-spacing:-.01em;
}
.desc{
  font-size:12px;
  line-height:1.5;
}
.meta{
  font-size:10.5px;
}
.price{
  font-size:19px;
  font-weight:var(--weight-heavy);
  letter-spacing:-.025em;
}
.claim-rank{
  font-size:10.5px;
  font-weight:var(--weight-semibold);
}
.activity h3,
.milestone{
  font-weight:var(--weight-semibold);
}
.activity-item{
  font-size:11px;
}

/* Generic content pages */
.page{
  line-height:1.6;
}
.page h1{
  font-size:28px;
  font-weight:var(--weight-heavy);
  letter-spacing:-.035em;
  line-height:1.15;
}
.page h2{
  font-size:18px;
  font-weight:var(--weight-bold);
  letter-spacing:-.015em;
}
.page p,
.page li{
  font-size:13.5px;
  line-height:1.65;
}

/* Normal category / stat cards */
.category-card b{
  font-size:14px;
  font-weight:var(--weight-bold);
  line-height:1.35;
}
.category-card span{
  font-size:11px;
  line-height:1.4;
}
.stat-card strong{
  font-size:22px;
  font-weight:var(--weight-bold);
  letter-spacing:-.025em;
}
.stat-card span{
  font-size:11px;
}

/* Admin */
th{
  font-size:11px;
  font-weight:var(--weight-semibold);
}
td{
  font-size:11px;
  font-weight:var(--weight-regular);
}
.small-actions button{
  font-weight:var(--weight-medium);
}

/* Checkout */
.checkout-product-name{
  font-size:13px;
  font-weight:var(--weight-medium);
}
.checkout-big-price{
  font-size:29px;
  font-weight:var(--weight-bold);
  letter-spacing:-.025em;
}
.checkout-totals{
  font-size:13px;
}
.checkout-totals b{
  font-weight:var(--weight-medium);
}
.checkout-totals .checkout-total{
  font-size:14px;
}
.checkout-totals .checkout-total span,
.checkout-totals .checkout-total b{
  font-weight:var(--weight-bold);
}
.checkout-rules-copy h2{
  font-size:19px;
  font-weight:var(--weight-bold);
  letter-spacing:-.015em;
}
.checkout-rules-copy h3{
  font-size:16px;
  font-weight:var(--weight-semibold);
}
.checkout-rules-copy p,
.checkout-rules-copy li{
  font-size:13px;
  line-height:1.6;
}
.checkout-label{
  font-size:13px;
  font-weight:var(--weight-semibold);
}
.checkout-input{
  font-size:13px;
}
.payment-method strong{
  font-size:14px;
  font-weight:var(--weight-semibold);
}
.payment-method small{
  font-size:11px;
}
.secure-note{
  font-size:13px;
}
.checkout-check{
  font-size:12.5px;
  line-height:1.35;
}
.checkout-pay-button{
  font-size:14px;
  font-weight:var(--weight-bold);
}
.transfer-head h2{
  font-size:22px;
  font-weight:var(--weight-bold);
  letter-spacing:-.02em;
}
.transfer-head p{
  font-size:13px;
}
.transfer-amount{
  font-size:34px;
  font-weight:var(--weight-heavy);
  letter-spacing:-.03em;
}
.transfer-network{
  font-size:12px;
}
.wallet-copy code{
  font-size:11.5px;
}
.wallet-copy button{
  font-size:12px;
  font-weight:var(--weight-semibold);
}

/* ---------------------------------------------------------
   Categories page — specifically softened from the old
   oversized / extra-bold treatment.
   --------------------------------------------------------- */
.categories-hero-block{
  padding-top:4px;
}
.categories-hero-block h1{
  font-size:42px;
  line-height:1.08;
  letter-spacing:-.04em;
  font-weight:var(--weight-heavy);
  margin-bottom:12px;
}
.categories-hero-block p{
  font-size:16px;
  line-height:1.55;
  font-weight:var(--weight-regular);
  color:var(--muted);
}
.categories-live-pill{
  font-size:12px;
  font-weight:var(--weight-regular);
}
.categories-live-online{
  font-weight:var(--weight-semibold);
}
.period-pill{
  font-size:11.5px;
  font-weight:var(--weight-medium);
}
.period-pill.active{
  font-weight:var(--weight-semibold);
}
.categories-nav a[aria-current="page"]{
  font-weight:var(--weight-semibold);
}

.category-card-rich{
  min-height:104px;
  padding:18px 19px;
}
.category-card-rich b{
  font-size:15px;
  line-height:1.3;
  font-weight:var(--weight-bold);
  letter-spacing:-.015em;
}
.category-card-rich span{
  margin-top:7px;
  font-size:11px;
  line-height:1.4;
  font-weight:var(--weight-regular);
}
.category-card-icon-rich{
  width:40px;
  height:40px;
}
.category-card-icon-rich svg{
  width:18px;
  height:18px;
}

/* Responsive typography */
@media(max-width:760px){
  .claim-title{
    font-size:25px;
  }
  .page h1{
    font-size:25px;
  }
  .categories-hero-block h1{
    font-size:36px;
  }
  .categories-hero-block p{
    font-size:15px;
  }
  .category-card-rich b{
    font-size:14.5px;
  }
}

@media(max-width:500px){
  body{
    font-size:13.5px;
  }
  .hero-revenue{
    font-size:46px;
  }
  .categories-hero-block h1{
    font-size:32px;
  }
  .page h1{
    font-size:24px;
  }
  .checkout-big-price{
    font-size:27px;
  }
  .transfer-amount{
    font-size:30px;
  }
}


/* =========================================================
   v2.7.3 — unified header / navigation
   ========================================================= */

/* One real theme toggle only. */
.theme-toggle-button{
  width:32px;
  height:32px;
  flex:0 0 32px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fffdfa;
  color:#615a54;
  display:grid;
  place-items:center;
  cursor:pointer;
  outline:none;
}
.theme-toggle-button:hover{
  border-color:#c8c0b7;
  background:#fff;
}
.nav a[aria-current="page"]{
  color:var(--ink);
  font-weight:var(--weight-semibold,600);
}

/* Override older rules that hid individual menu items. */
@media(max-width:760px){
  .site-header{
    flex-wrap:wrap;
    align-items:center;
  }
  .header-right,
  .categories-header-right{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:8px;
  }
  .nav,
  .categories-nav{
    display:flex !important;
    min-width:0;
    gap:14px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    white-space:nowrap;
    padding:2px 1px;
  }
  .nav::-webkit-scrollbar,
  .categories-nav::-webkit-scrollbar{
    display:none;
  }
  .nav a,
  .nav a:first-child,
  .nav a:nth-child(2),
  .categories-nav a{
    display:block !important;
    flex:0 0 auto;
    font-size:12px;
  }
  .lang-select{
    flex:0 0 auto;
  }
}

@media(max-width:500px){
  .site-header{
    gap:10px;
  }
  .header-right{
    margin-left:0;
  }
  .nav{
    display:flex !important;
  }
  .nav a,
  .nav a:first-child,
  .nav a:nth-child(2){
    display:block !important;
  }
  .theme-toggle-button{
    width:30px;
    height:30px;
    flex-basis:30px;
  }
}

/* Dark mode equivalent for renamed toggle button. */
html[data-theme="dark"] .theme-toggle-button{
  background:#151a20;
  border-color:var(--line);
  color:#dce3ea;
}
html[data-theme="dark"] .theme-toggle-button:hover{
  background:#1a2027;
  border-color:#444f5d;
}
html[data-theme="dark"] .theme-toggle-button:focus{
  box-shadow:0 0 0 3px rgba(255,139,115,.12);
  border-color:#8d6156;
}


/* =========================================================
   v2.7.4 — Complete billing address
   ========================================================= */
.billing-section{
  margin-top:24px;
}
.billing-section-title{
  margin-bottom:12px;
  font-size:14px;
  font-weight:700;
  color:var(--ink);
}
.billing-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 10px;
}
.billing-field{
  min-width:0;
}
.billing-full{
  grid-column:1/-1;
}
.billing-field .checkout-label{
  margin-bottom:6px;
}
.billing-optional{
  margin-left:5px;
  color:#98a2b3;
  font-size:11px;
  font-weight:400;
}
.billing-business-toggle{
  margin-top:16px;
}
.billing-company{
  margin-top:13px;
}
.billing-company[hidden]{
  display:none;
}

html[data-theme="dark"] .billing-section-title{
  color:#eef2f6;
}
html[data-theme="dark"] .billing-optional{
  color:#909ba7;
}

@media(max-width:520px){
  .billing-grid{
    grid-template-columns:1fr;
  }
  .billing-full{
    grid-column:auto;
  }
}


/* =========================================================
   v2.7.6 — checkout back position + 12% tax
   ========================================================= */

/* Legacy external control is no longer used. */
.checkout-site-back{
  display:none !important;
}

/* The return control now belongs to the summary panel. */
.checkout-summary-back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 22px;
  padding:0;
  min-height:28px;
  border:0;
  background:transparent;
  color:#667085;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
}
.checkout-summary-back:hover{
  color:#111827;
}
.checkout-summary-back-icon{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  flex:0 0 24px;
  border:1px solid #d8dde5;
  border-radius:999px;
  background:#fff;
  color:#667085;
  font-size:15px;
  line-height:1;
}
.checkout-summary-back-text{
  white-space:nowrap;
}
#taxRateLabel{
  color:#98a2b3;
  font-size:10px;
  font-weight:500;
}
html[data-theme="dark"] .checkout-summary-back{
  color:#c5ced7;
}
html[data-theme="dark"] .checkout-summary-back:hover{
  color:#fff;
}
html[data-theme="dark"] .checkout-summary-back-icon{
  background:#151a20;
  border-color:#394450;
  color:#eef2f6;
}
html[data-theme="dark"] #taxRateLabel{
  color:#909ba7;
}


/* v2.7.7 — remove obsolete checkout top gap */
.checkout-body{
  padding-top:0 !important;
}
.checkout-shell{
  margin-top:0 !important;
}
@media(max-width:900px){
  .checkout-shell{
    margin-top:0 !important;
  }
}


/* v2.7.9 — dark-mode adaptive logo */
.brand-logo-link{
  display:inline-flex;
  align-items:center;
  gap:0;
  line-height:0;
}
.brand-logo-img{
  display:block;
  width:138px;
  height:auto;
  max-height:42px;
  object-fit:contain;
}
.brand-logo-dark{
  display:none;
}
html[data-theme="dark"] .brand-logo-light{
  display:none;
}
html[data-theme="dark"] .brand-logo-dark{
  display:block;
}
@media(max-width:520px){
  .brand-logo-img{
    width:120px;
    max-height:36px;
  }
}


/* =========================================================
   v2.8.0 — checkout split header layout
   logo: summary top-left
   language/theme: payment top-right
   ========================================================= */

.checkout-summary{
  position:relative;
}

.checkout-summary-logo{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  min-height:42px;
  margin:0 0 16px;
}

.checkout-summary-logo .brand-logo-link{
  margin:0;
}

.checkout-summary-back{
  margin-top:0;
  margin-bottom:30px;
}

/* Old combined checkout brand row is no longer used. */
.checkout-brand{
  display:none !important;
}

.checkout-payment{
  position:relative;
  /* reserve a clean top strip for language/theme controls */
  padding-top:82px !important;
}

.checkout-payment-controls{
  position:absolute;
  top:22px;
  right:30px;
  width:auto !important;
  max-width:none !important;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:9px;
  z-index:20;
}

.checkout-payment-controls .lang-select{
  min-width:72px;
  height:32px;
}

.checkout-payment-controls .theme-toggle-button{
  width:32px;
  height:32px;
  flex:0 0 32px;
}

/* Do not let the generic checkout-payment > div width rule constrain controls. */
.checkout-payment > .checkout-payment-controls{
  width:auto;
  max-width:none;
}

html[data-theme="dark"] .checkout-payment-controls .lang-select{
  background:#151a20;
  border-color:var(--line);
  color:#dce3ea;
}

@media(max-width:900px){
  .checkout-summary-logo{
    margin-bottom:14px;
  }

  .checkout-payment{
    padding-top:74px !important;
  }

  .checkout-payment-controls{
    top:18px;
    right:24px;
  }
}

@media(max-width:520px){
  .checkout-summary-logo{
    min-height:36px;
    margin-bottom:12px;
  }

  .checkout-summary-back{
    margin-bottom:22px;
  }

  .checkout-payment{
    padding-top:68px !important;
  }

  .checkout-payment-controls{
    top:16px;
    right:18px;
  }

  .checkout-payment-controls .lang-select{
    min-width:64px;
    height:30px;
  }

  .checkout-payment-controls .theme-toggle-button{
    width:30px;
    height:30px;
    flex-basis:30px;
  }
}


/* =========================================================
   v2.8.1 — sticky site header
   Keep the top navigation fixed in place while page content
   scrolls underneath.
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:120;
  padding-top:18px;
  padding-bottom:14px;
  background:rgba(248,246,241,.92);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(222,217,209,.85);
}
html[data-theme="dark"] .site-header{
  background:rgba(11,17,26,.9);
  border-bottom:1px solid rgba(48,60,76,.9);
}
/* prevent the sticky header from visually colliding with top pills */
.live-line{margin-top:18px}
.page{padding-top:8px}
@media(max-width:760px){
  .site-header{
    padding-top:14px;
    padding-bottom:12px;
  }
}


/* =========================================================
   v2.8.2 — sticky checkout panels
   Desktop: summary and payment stay fixed in the viewport
   and scroll internally when their content is taller.
   ========================================================= */

@media(min-width:901px){
  .checkout-shell{
    align-items:start;
    min-height:100vh;
  }

  .checkout-summary,
  .checkout-payment{
    position:sticky;
    top:0;
    height:100vh;
    min-height:100vh;
    max-height:100vh;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:rgba(115,124,136,.35) transparent;
  }

  .checkout-summary::-webkit-scrollbar,
  .checkout-payment::-webkit-scrollbar{
    width:6px;
  }

  .checkout-summary::-webkit-scrollbar-track,
  .checkout-payment::-webkit-scrollbar-track{
    background:transparent;
  }

  .checkout-summary::-webkit-scrollbar-thumb,
  .checkout-payment::-webkit-scrollbar-thumb{
    background:rgba(115,124,136,.28);
    border-radius:999px;
  }

  .checkout-summary::-webkit-scrollbar-thumb:hover,
  .checkout-payment::-webkit-scrollbar-thumb:hover{
    background:rgba(115,124,136,.48);
  }

  /* Keep the main top controls visible while each panel scrolls. */
  .checkout-summary-logo{
    position:sticky;
    top:0;
    z-index:25;
    padding-top:4px;
    background:inherit;
  }

  .checkout-payment-controls{
    position:sticky;
    top:0;
    right:auto;
    margin-left:auto;
    margin-bottom:20px;
    padding-top:4px;
    width:max-content !important;
    max-width:none !important;
    z-index:25;
    background:inherit;
  }

  /* The payment panel no longer needs a fake top spacer
     because controls now participate in the panel flow. */
  .checkout-payment{
    padding-top:34px !important;
  }
}

/* Tablet/mobile keep normal document scrolling. */
@media(max-width:900px){
  .checkout-summary,
  .checkout-payment{
    position:relative;
    top:auto;
    height:auto;
    min-height:0;
    max-height:none;
    overflow:visible;
  }

  .checkout-summary-logo{
    position:relative;
    top:auto;
  }

  .checkout-payment-controls{
    position:absolute;
    top:18px;
    right:24px;
    margin:0;
    padding:0;
    background:transparent;
  }
}


/* =========================================================
   v2.8.3 — global checkout header
   Logo/language/theme live above both checkout panels.
   Both panels scroll beneath the fixed header.
   ========================================================= */

:root{
  --checkout-header-height:74px;
}

.checkout-body{
  overflow:hidden;
}

.checkout-frame{
  width:min(var(--max),calc(100% - 36px));
  height:100vh;
  margin:0 auto;
  display:grid;
  grid-template-rows:var(--checkout-header-height) minmax(0,1fr);
  background:var(--bg);
}

.checkout-global-header{
  position:relative;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  height:var(--checkout-header-height);
  padding:0 30px;
  background:rgba(248,246,241,.94);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid #e2ddd5;
  border-bottom-color:#d8d2ca;
}

.checkout-global-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
}

.checkout-global-actions .lang-select{
  min-width:72px;
  height:32px;
}

.checkout-global-actions .theme-toggle-button{
  width:32px;
  height:32px;
  flex:0 0 32px;
}

/* Checkout grid lives below header, not over it. */
.checkout-frame .checkout-shell{
  width:100%;
  min-height:0;
  height:100%;
  margin:0;
  display:grid;
  grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  align-items:stretch;
  overflow:hidden;
  box-shadow:0 18px 55px rgba(17,24,39,.06);
}

/* Panels no longer stick to the viewport top;
   they fill the region below the shared header and scroll internally. */
@media(min-width:901px){
  .checkout-frame .checkout-summary,
  .checkout-frame .checkout-payment{
    position:relative !important;
    top:auto !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
  }

  .checkout-frame .checkout-summary{
    border-left:1px solid #eceef1;
  }

  .checkout-frame .checkout-payment{
    padding-top:34px !important;
  }

  .checkout-summary-logo,
  .checkout-payment-controls{
    display:none !important;
  }
}

html[data-theme="dark"] .checkout-frame{
  background:#0f1318;
}

html[data-theme="dark"] .checkout-global-header{
  background:rgba(15,19,24,.94);
  border-color:#29313b;
  border-bottom-color:#333c47;
}

html[data-theme="dark"] .checkout-global-actions .lang-select{
  background:#151a20;
  border-color:var(--line);
  color:#dce3ea;
}

@media(max-width:900px){
  .checkout-body{
    overflow:auto;
  }

  .checkout-frame{
    width:min(var(--max),calc(100% - 20px));
    height:auto;
    min-height:100vh;
    grid-template-rows:64px auto;
    margin:10px auto;
  }

  .checkout-global-header{
    position:sticky;
    top:0;
    height:64px;
    padding:0 22px;
  }

  .checkout-frame .checkout-shell{
    display:block;
    height:auto;
    overflow:visible;
  }

  .checkout-frame .checkout-summary,
  .checkout-frame .checkout-payment{
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
  }
}

@media(max-width:520px){
  :root{
    --checkout-header-height:58px;
  }

  .checkout-frame{
    width:100%;
    margin:0;
    grid-template-rows:58px auto;
  }

  .checkout-global-header{
    height:58px;
    padding:0 16px;
  }

  .checkout-global-header .brand-logo-img{
    width:112px;
    max-height:34px;
  }

  .checkout-global-actions{
    gap:7px;
  }

  .checkout-global-actions .lang-select{
    min-width:62px;
    height:30px;
  }

  .checkout-global-actions .theme-toggle-button{
    width:30px;
    height:30px;
    flex-basis:30px;
  }
}


/* =========================================================
   v2.8.4 — dark mode audit + title separator polish
   Global readability refinements for dark theme.
   ========================================================= */

/* Keep top navigation and secondary header texts readable */
html[data-theme="dark"] .nav,
html[data-theme="dark"] .nav a,
html[data-theme="dark"] .categories-nav a,
html[data-theme="dark"] .header-right,
html[data-theme="dark"] .categories-header-right,
html[data-theme="dark"] .period-pill,
html[data-theme="dark"] .categories-live-pill,
html[data-theme="dark"] .categories-live-pill span,
html[data-theme="dark"] .categories-hero-block p,
html[data-theme="dark"] .category-card-rich span,
html[data-theme="dark"] .claim-help,
html[data-theme="dark"] .form-note,
html[data-theme="dark"] .form-help,
html[data-theme="dark"] .amount-control span,
html[data-theme="dark"] .small,
html[data-theme="dark"] .page p,
html[data-theme="dark"] .page li,
html[data-theme="dark"] .page small,
html[data-theme="dark"] .hero-sub,
html[data-theme="dark"] .byline,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .range,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .footer span,
html[data-theme="dark"] .checkout-product-name,
html[data-theme="dark"] .checkout-totals span,
html[data-theme="dark"] .checkout-rules-copy p,
html[data-theme="dark"] .checkout-rules-copy li,
html[data-theme="dark"] .checkout-merchant,
html[data-theme="dark"] .checkout-status-sub,
html[data-theme="dark"] .transfer-head p,
html[data-theme="dark"] .transfer-network,
html[data-theme="dark"] .transfer-network b,
html[data-theme="dark"] .chain-details span,
html[data-theme="dark"] .checkout-terms,
html[data-theme="dark"] .secure-note,
html[data-theme="dark"] .secure-note-icon,
html[data-theme="dark"] .payment-method small,
html[data-theme="dark"] .checkout-loading,
html[data-theme="dark"] .checkout-message,
html[data-theme="dark"] .payment-details span,
html[data-theme="dark"] .activity-item,
html[data-theme="dark"] .activity h3,
html[data-theme="dark"] .board-head h2,
html[data-theme="dark"] th,
html[data-theme="dark"] td,
html[data-theme="dark"] .notice,
html[data-theme="dark"] .empty{
  color:#c4cbd4 !important;
}

/* Strong headings and important labels */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .categories-hero-block h1,
html[data-theme="dark"] .category-card-rich b,
html[data-theme="dark"] .page h1,
html[data-theme="dark"] .page h2,
html[data-theme="dark"] .page h3,
html[data-theme="dark"] .checkout-big-price,
html[data-theme="dark"] .checkout-totals b,
html[data-theme="dark"] .checkout-totals .checkout-total span,
html[data-theme="dark"] .checkout-totals .checkout-total b,
html[data-theme="dark"] .checkout-rules-copy h2,
html[data-theme="dark"] .checkout-rules-copy h3,
html[data-theme="dark"] .checkout-label,
html[data-theme="dark"] .transfer-head h2,
html[data-theme="dark"] .transfer-amount,
html[data-theme="dark"] .wallet-copy code,
html[data-theme="dark"] .wallet-copy button,
html[data-theme="dark"] .checkout-back,
html[data-theme="dark"] .chain-details b,
html[data-theme="dark"] .payment-method strong,
html[data-theme="dark"] .checkout-check,
html[data-theme="dark"] .checkout-check span,
html[data-theme="dark"] .admin-brand-label,
html[data-theme="dark"] .stat-number,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .card b{
  color:#eef2f6 !important;
}

/* Links and active nav states */
html[data-theme="dark"] .nav a:hover,
html[data-theme="dark"] .nav a[aria-current="page"],
html[data-theme="dark"] .categories-nav a[aria-current="page"],
html[data-theme="dark"] .refresh,
html[data-theme="dark"] .footer a,
html[data-theme="dark"] .byline a,
html[data-theme="dark"] .meta .category-link,
html[data-theme="dark"] a u,
html[data-theme="dark"] .checkout-summary-back,
html[data-theme="dark"] .checkout-summary-back-text,
html[data-theme="dark"] .checkout-summary-back-icon{
  color:#eef2f6 !important;
}

/* Category/live accents */
html[data-theme="dark"] .categories-live-online,
html[data-theme="dark"] .live-pill,
html[data-theme="dark"] .live-pill b{
  color:#7be0a3 !important;
}
html[data-theme="dark"] .categories-live-sep{
  color:#728091 !important;
}
html[data-theme="dark"] .category-card-icon-rich,
html[data-theme="dark"] .category-card-icon{
  background:#2a2321 !important;
  border-color:#5d443c !important;
  color:#ff9b86 !important;
}

/* Surfaces and borders */
html[data-theme="dark"] .categories-live-pill,
html[data-theme="dark"] .period-switch,
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .checkout-global-header{
  background:rgba(17,22,28,.94) !important;
  border-color:#313944 !important;
}
html[data-theme="dark"] .category-card-rich:hover,
html[data-theme="dark"] .category-card:hover,
html[data-theme="dark"] .card:hover{
  border-color:#45505d !important;
}

/* Inputs, placeholders and code fields */
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder,
html[data-theme="dark"] .field::placeholder,
html[data-theme="dark"] .checkout-input::placeholder{
  color:#8f9aa7 !important;
}
html[data-theme="dark"] .checkout-input,
html[data-theme="dark"] .copy-row code,
html[data-theme="dark"] .wallet-copy code,
html[data-theme="dark"] code{
  color:#eef2f6 !important;
  background:#12171d;
  border-color:#313944;
}

/* Payment and notice areas */
html[data-theme="dark"] .payment-method{
  background:#1c2430 !important;
  border-color:#4c79c8 !important;
  color:#eef2f6 !important;
}
html[data-theme="dark"] .secure-note,
html[data-theme="dark"] .usdt-warning,
html[data-theme="dark"] .notice,
html[data-theme="dark"] .checkout-message{
  border-color:#4a5767 !important;
}
html[data-theme="dark"] .checkout-message{
  background:#143126 !important;
  color:#8ce0b6 !important;
}

/* Admin tables and controls */
html[data-theme="dark"] .admin-toolbar label,
html[data-theme="dark"] .admin-toolbar,
html[data-theme="dark"] .admin-table,
html[data-theme="dark"] .admin-table td,
html[data-theme="dark"] .admin-table th,
html[data-theme="dark"] .admin-page p,
html[data-theme="dark"] .admin-page li{
  color:#d5dbe3 !important;
}

/* Buttons and helper bubbles */
html[data-theme="dark"] .theme-toggle-button:hover,
html[data-theme="dark"] .lang-select:hover,
html[data-theme="dark"] .checkout-site-back:hover,
html[data-theme="dark"] .small-actions button:hover,
html[data-theme="dark"] .page-btn:hover,
html[data-theme="dark"] .cat:hover{
  background:#1c222a !important;
  border-color:#4a5664 !important;
}


/* =========================================================
   v2.8.5 — leaderboard period switch + dark dropdown fix
   ========================================================= */
.board-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:10px 0 0;
  flex-wrap:wrap;
}
.leaderboard-period-switch{
  flex:0 0 auto;
}
@media(max-width:760px){
  .board-toolbar{
    align-items:flex-start;
  }
  .leaderboard-period-switch{
    order:-1;
  }
}

html[data-theme="dark"] .category-placeholder,
html[data-theme="dark"] .category-chevron,
html[data-theme="dark"] .category-trigger-icon,
html[data-theme="dark"] .category-option-icon{
  color:#b8c3cf !important;
}
html[data-theme="dark"] .category-trigger-value span,
html[data-theme="dark"] .category-option,
html[data-theme="dark"] .category-option span{
  color:#e8edf2 !important;
}
html[data-theme="dark"] .category-menu{
  background:#171c22 !important;
  border-color:#313944 !important;
  box-shadow:0 18px 42px rgba(0,0,0,.42);
}
html[data-theme="dark"] .category-option:hover{
  background:#202833 !important;
}
html[data-theme="dark"] .category-option[aria-selected="true"]{
  background:#342522 !important;
  color:#ff9b86 !important;
}
html[data-theme="dark"] .category-option[aria-selected="true"] .category-option-icon,
html[data-theme="dark"] .category-option[aria-selected="true"] .category-option-check{
  color:#ff9b86 !important;
}


/* =========================================================
   v2.8.6 — persistent public period switch
   ========================================================= */
.page-period-row{
  display:flex;
  justify-content:flex-start;
  margin:10px 0 8px;
}
.page-period-row .period-switch{
  flex:0 0 auto;
}
@media(max-width:760px){
  .page-period-row{
    margin:8px 0 6px;
  }
}


/* =========================================================
   v2.8.7 — All-time / Today fixed beside logo on all pages
   ========================================================= */

.header-left-cluster{
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
  min-width:0;
}

.header-period-switch{
  margin:0;
  flex:0 0 auto;
}

.header-period-switch .period-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  line-height:1;
}

/* Remove the obsolete second row styling from the previous version. */
.page-period-row{
  display:none !important;
}

/* Categories uses exactly the same left header geometry now. */
.categories-header-left{
  display:contents;
}

/* keep the cluster aligned identically in sticky headers */
.site-header{
  align-items:center;
}

@media(max-width:760px){
  .header-left-cluster{
    width:auto;
    gap:9px;
  }

  .header-period-switch{
    padding:3px;
  }

  .header-period-switch .period-pill{
    padding:5px 8px;
    font-size:10.5px;
  }
}

@media(max-width:520px){
  .site-header{
    align-items:flex-start;
  }

  .header-left-cluster{
    max-width:100%;
    flex-wrap:nowrap;
  }

  .header-period-switch .period-pill{
    padding:5px 7px;
  }
}


/* v2.8.8 — checkout light background */
.checkout-body{
  background:#F8F6F1 !important;
}
html[data-theme="dark"] .checkout-body{
  background:#0f1318 !important;
}


/* v2.8.9 — remove checkout global header side borders */
.checkout-global-header{
  border-left:0 !important;
  border-right:0 !important;
}
html[data-theme="dark"] .checkout-global-header{
  border-left:0 !important;
  border-right:0 !important;
}


/* v2.8.10 — checkout global header keeps only bottom divider */
.checkout-global-header{
  border-top:0 !important;
  border-left:0 !important;
  border-right:0 !important;
}
html[data-theme="dark"] .checkout-global-header{
  border-top:0 !important;
  border-left:0 !important;
  border-right:0 !important;
}


/* =========================================================
   v2.8.11 — unified public page width
   Leaderboard / Categories / About / Rules align to --max.
   ========================================================= */

/* Leaderboard and Categories already use .wrap / --max.
   Make About and Rules use exactly the same outer width. */
.unified-public-page .page{
  width:min(var(--max),calc(100% - 36px)) !important;
  max-width:none !important;
  margin-left:auto;
  margin-right:auto;
}

/* Keep the content card aligned with the sticky header edges. */
@media(max-width:760px){
  .unified-public-page .page{
    width:min(var(--max),calc(100% - 28px)) !important;
  }
}

@media(max-width:500px){
  .unified-public-page .page{
    width:calc(100% - 20px) !important;
  }
}


/* =========================================================
   v2.9.0 — BidRank Admin Dashboard
   ========================================================= */

.admin-page{
  min-height:100vh;
  background:var(--bg);
}
.admin-shell{
  width:min(var(--max),calc(100% - 36px));
  margin:0 auto;
  padding-bottom:50px;
}
.admin-header{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position:sticky;
  top:0;
  z-index:130;
  background:rgba(248,246,241,.94);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.admin-header-left,
.admin-header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.admin-badge{
  display:inline-flex;
  align-items:center;
  height:27px;
  padding:0 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--muted);
  font-size:11px;
  font-weight:750;
  white-space:nowrap;
}
.admin-site-link{
  color:var(--muted);
  font-size:12px;
  font-weight:650;
  white-space:nowrap;
}
.admin-site-link:hover{color:var(--ink)}
.admin-auth-card{
  margin:28px 0 30px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:22px;
  align-items:center;
}
.admin-auth-card h1{
  margin:0 0 5px;
  font-size:22px;
  letter-spacing:-.035em;
}
.admin-auth-card p{
  margin:0;
  color:var(--muted);
  font-size:12px;
}
.admin-auth-card.compact{
  padding:12px 14px;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
}
.admin-auth-card.compact h1{font-size:15px;margin:0}
.admin-auth-card.compact p{display:none}
.admin-auth-row{
  display:flex;
  gap:8px;
}
.admin-input{
  width:100%;
  height:39px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  padding:0 11px;
  outline:none;
  font:inherit;
  font-size:12px;
}
.admin-input:focus{
  border-color:#c6a99e;
  box-shadow:0 0 0 3px rgba(239,116,95,.08);
}
.admin-primary-btn,
.admin-secondary-btn{
  height:39px;
  border-radius:9px;
  padding:0 13px;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.admin-primary-btn{
  border:1px solid var(--ink);
  background:var(--ink);
  color:var(--bg);
}
.admin-secondary-btn{
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--ink);
}
.admin-secondary-btn:hover{border-color:#bdb4ab}
.admin-primary-btn:disabled,
.admin-secondary-btn:disabled{opacity:.55;cursor:wait}
.admin-inline-message{
  grid-column:1/-1;
  min-height:0;
  font-size:11px;
  color:var(--muted);
}
.admin-inline-message:empty{display:none}
.admin-inline-message.success{color:#168252}
.admin-inline-message.error{color:#b64a38}

.admin-dashboard-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:8px 0 16px;
}
.admin-eyebrow{
  margin:0 0 4px;
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.admin-dashboard-head h1{
  margin:0;
  font-size:28px;
  letter-spacing:-.045em;
}
.admin-dashboard-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.admin-last-update{
  color:var(--muted);
  font-size:10px;
}
.admin-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:22px;
}
.admin-stat-card{
  min-height:92px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--paper);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.admin-stat-card span{
  color:var(--muted);
  font-size:10.5px;
  font-weight:700;
}
.admin-stat-card strong{
  font-size:22px;
  line-height:1;
  letter-spacing:-.045em;
}
.admin-stat-card.tone-paid strong,
.admin-stat-card.tone-online strong{color:#1d8c5a}
.admin-stat-card.tone-pending strong,
.admin-stat-card.tone-submitted strong{color:#a87922}
.admin-skeleton{
  position:relative;
  overflow:hidden;
  min-height:92px;
}
.admin-skeleton:after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(128,128,128,.07),transparent);
  animation:adminShimmer 1.2s infinite;
}
@keyframes adminShimmer{100%{transform:translateX(100%)}}

.admin-tabs{
  display:flex;
  gap:4px;
  margin:0 0 10px;
  padding:4px;
  width:max-content;
  max-width:100%;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
}
.admin-tab{
  border:0;
  background:transparent;
  color:var(--muted);
  padding:7px 13px;
  border-radius:999px;
  cursor:pointer;
  font-size:11px;
  font-weight:750;
}
.admin-tab.active{
  background:var(--accent-soft);
  color:#9f3f2e;
}
.admin-panel{
  display:none;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--paper);
  overflow:hidden;
}
.admin-panel.active{display:block}
.admin-panel-head{
  padding:15px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid var(--line-soft);
}
.admin-panel-head h2{
  margin:0 0 3px;
  font-size:16px;
  letter-spacing:-.025em;
}
.admin-panel-head p{
  margin:0;
  color:var(--muted);
  font-size:10px;
}
.admin-filters{
  display:flex;
  gap:7px;
  align-items:center;
  flex:1;
  justify-content:flex-end;
}
.admin-search{max-width:270px}
.admin-filters select{width:auto;min-width:135px}
.admin-table-wrap{
  width:100%;
  overflow-x:auto;
  min-height:150px;
}
.admin-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  font-size:11px;
}
.admin-table th{
  padding:10px 11px;
  text-align:left;
  font-size:9.5px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
  white-space:nowrap;
}
.admin-table td{
  padding:11px;
  vertical-align:middle;
  border-bottom:1px solid var(--line-soft);
}
.admin-table tbody tr:last-child td{border-bottom:0}
.admin-table tbody tr:hover{background:rgba(128,128,128,.025)}
.admin-id{
  color:var(--muted);
  font-variant-numeric:tabular-nums;
}
.admin-listing-title{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:120px;
}
.admin-listing-title a,
.admin-listing-title strong,
.admin-primary-text{
  color:var(--ink);
  font-weight:750;
}
.admin-listing-title span{
  color:var(--muted);
  font-size:9.5px;
  max-width:230px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-status{
  display:inline-flex;
  align-items:center;
  min-height:23px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#f3f1ed;
  color:#6f675f;
  font-size:9.5px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.025em;
}
.status-active,.status-paid{
  background:#e8f8ef;
  border-color:#c7ead6;
  color:#18794d;
}
.status-pending,.status-submitted{
  background:#fff6de;
  border-color:#ecdca9;
  color:#8a681e;
}
.status-rejected,.status-failed{
  background:#fff0ed;
  border-color:#edc7be;
  color:#a84334;
}
.status-disabled,.status-cancelled,.status-refunded{
  background:#f0f1f3;
  border-color:#d9dde2;
  color:#68717d;
}
.admin-row-actions{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  min-width:190px;
}
.admin-action{
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--paper);
  color:var(--ink);
  min-height:28px;
  padding:0 8px;
  cursor:pointer;
  font-size:9.5px;
  font-weight:750;
}
.admin-action:hover{border-color:#bcb3aa}
.admin-action.action-approve{
  border-color:#bcdcc9;
  color:#18794d;
}
.admin-action.action-danger{
  border-color:#e1bbb3;
  color:#a84334;
}
.admin-action.action-verify{
  border-color:#b9cce9;
  color:#3868a8;
}
.admin-table code{
  font-size:9.5px;
  background:#f4f2ef;
  border:1px solid var(--line-soft);
  padding:4px 6px;
  border-radius:6px;
}
.admin-table-loading,
.admin-empty{
  padding:52px 18px;
  text-align:center;
  color:var(--muted);
  font-size:11px;
}
.admin-empty.error{color:#b64a38}

.admin-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:500;
  background:rgba(12,14,18,.48);
  display:grid;
  place-items:center;
  padding:24px;
  backdrop-filter:blur(4px);
}
.admin-modal-backdrop[hidden]{display:none}
.admin-modal{
  width:min(720px,100%);
  max-height:min(760px,calc(100vh - 48px));
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--paper);
  box-shadow:0 28px 90px rgba(0,0,0,.28);
}
.admin-modal-head{
  padding:17px 18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  border-bottom:1px solid var(--line);
}
.admin-modal-head h2{margin:0;font-size:20px}
.admin-modal-close{
  width:32px;height:32px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--ink);
  cursor:pointer;
  font-size:20px;
  line-height:1;
}
.admin-modal-body{
  padding:16px;
  overflow-y:auto;
  max-height:calc(100vh - 155px);
}
.admin-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.admin-detail-row{
  min-width:0;
  padding:11px;
  border:1px solid var(--line-soft);
  border-radius:10px;
  background:var(--bg);
  display:flex;
  flex-direction:column;
  gap:5px;
}
.admin-detail-row.wide{grid-column:1/-1}
.admin-detail-row>span{
  color:var(--muted);
  font-size:9.5px;
  font-weight:700;
}
.admin-detail-row>strong{
  color:var(--ink);
  font-size:11px;
  font-weight:650;
  min-width:0;
}
.admin-detail-row code{
  font-size:10px;
  background:transparent;
}
.admin-break{
  overflow-wrap:anywhere;
  word-break:break-all;
}
.modal-open{overflow:hidden}

html[data-theme="dark"] .admin-header{
  background:rgba(16,19,23,.94);
  border-bottom-color:var(--line);
}
html[data-theme="dark"] .admin-badge,
html[data-theme="dark"] .admin-auth-card,
html[data-theme="dark"] .admin-stat-card,
html[data-theme="dark"] .admin-tabs,
html[data-theme="dark"] .admin-panel,
html[data-theme="dark"] .admin-modal,
html[data-theme="dark"] .admin-secondary-btn,
html[data-theme="dark"] .admin-action,
html[data-theme="dark"] .admin-modal-close{
  background:var(--paper);
  border-color:var(--line);
  color:var(--ink);
}
html[data-theme="dark"] .admin-input{
  background:#12171d;
  border-color:var(--line);
  color:var(--ink);
}
html[data-theme="dark"] .admin-input::placeholder{color:#8f9aa7}
html[data-theme="dark"] .admin-table tbody tr:hover{background:rgba(255,255,255,.025)}
html[data-theme="dark"] .admin-table code{
  background:#12171d;
  border-color:#303844;
  color:#e8edf2;
}
html[data-theme="dark"] .admin-detail-row{
  background:#12171d;
  border-color:#28313b;
}
html[data-theme="dark"] .admin-status{
  border-color:#39424d;
}
html[data-theme="dark"] .status-active,
html[data-theme="dark"] .status-paid{
  background:#153226;
  border-color:#29513c;
  color:#72d69d;
}
html[data-theme="dark"] .status-pending,
html[data-theme="dark"] .status-submitted{
  background:#2b2616;
  border-color:#625433;
  color:#f0d77e;
}
html[data-theme="dark"] .status-rejected,
html[data-theme="dark"] .status-failed{
  background:#321d1b;
  border-color:#68413a;
  color:#ff9c88;
}
html[data-theme="dark"] .status-disabled,
html[data-theme="dark"] .status-cancelled,
html[data-theme="dark"] .status-refunded{
  background:#20262e;
  border-color:#3b4550;
  color:#b5bec8;
}

@media(max-width:820px){
  .admin-auth-card{grid-template-columns:1fr}
  .admin-auth-card.compact{grid-template-columns:1fr}
  .admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-panel-head{align-items:stretch;flex-direction:column}
  .admin-filters{justify-content:flex-start;flex-wrap:wrap}
  .admin-search{max-width:none;flex:1 1 240px}
}
@media(max-width:620px){
  .admin-shell{width:calc(100% - 20px)}
  .admin-header{align-items:flex-start;padding:10px 0;min-height:0}
  .admin-header-left{gap:8px}
  .admin-header-actions{gap:6px}
  .admin-site-link{display:none}
  .admin-badge{display:none}
  .admin-stat-grid{grid-template-columns:1fr 1fr}
  .admin-dashboard-head{align-items:flex-start;flex-direction:column}
  .admin-detail-grid{grid-template-columns:1fr}
  .admin-detail-row.wide{grid-column:auto}
  .admin-modal-backdrop{padding:10px}
}


/* =========================================================
   v2.9.1 — admin delete actions
   ========================================================= */
.admin-action.action-delete{
  border-color:#e4b7ae;
  color:#b23f31;
  background:#fff9f7;
}
.admin-action.action-delete:hover{
  border-color:#cf8f82;
  background:#fff0ec;
}
html[data-theme="dark"] .admin-action.action-delete{
  border-color:#70483f;
  color:#ff9c88;
  background:#2a1c19;
}
html[data-theme="dark"] .admin-action.action-delete:hover{
  border-color:#965f52;
  background:#34211d;
}


/* =========================================================
   v2.10.0 — Global Launch / SEO / Growth
   ========================================================= */
.share-rank-btn{
  margin-top:6px;
  border:0;
  background:transparent;
  color:var(--muted);
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
  font-size:10px;
  font-weight:700;
}
.share-rank-btn:hover{color:var(--ink)}
html[data-theme="dark"] .share-rank-btn{color:#b8c0c9}
html[data-theme="dark"] .share-rank-btn:hover{color:#eef2f6}

.admin-indexnow-btn{height:32px;padding:0 10px}
.admin-traffic-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:15px 15px 0;
}
.admin-traffic-table{min-width:620px}
@media(max-width:620px){
  .admin-indexnow-btn{display:none}
  .admin-traffic-summary{grid-template-columns:1fr 1fr}
}
