/* ══════════════════════════════════════════════════════════════════════
   b226 — PAGES 3-8/39 combined pass
   3 /rip/pack/<id>/  4 /rip/deposit/  5 /rip/vault/  6 /rip/shipments/
   7 /rip/marketplace/  8 /rip/account/
   ══════════════════════════════════════════════════════════════════════ */

/* ── (a) GLOBAL ARTWORK FRAME KILLER ────────────────────────────────────
   pack detail had ELEVEN elements painting a frame/background/shadow on
   artwork. Artwork is silhouette-only: the glow belongs to the drop-shadow
   on the <img>, never to the box. ── */
html body main img,
html body main figure,
html body .pnb-pack__art,
html body .pnb-slab__art,
html body .pp-card__art,
html body .pack-detail__pack,
html body .pack-art,
html body .pack-pack,
html body .pack-peek,
html body .cx-face,
html body .cx-slab,
html body .rr-art,
html body .rs-card,
html body .sh-thumb,
html body .loop-slab__art,
html body .loop-slab__image{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-radius:0!important;
  padding:0!important;
}
html body main img{
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.62)) drop-shadow(0 0 22px color-mix(in srgb,var(--tier,var(--live-tier,#A855F7)) 34%,transparent))!important;
  object-fit:contain!important;max-width:100%;height:auto;
}

/* ── (b) DEPOSIT ────────────────────────────────────────────────────────
   5 raw unstyled controls + button drift [38,44,119] / radii [18,12,10]. ── */
html body .loop-deposit input:not([type=hidden]):not([type=radio]):not([type=checkbox]),
html body .loop-deposit select,
html body .loop-deposit textarea,
html body .dep-form input:not([type=hidden]):not([type=radio]):not([type=checkbox]),
html body .dep-form select,
html body .dep-form textarea,
html body main input:not([class]):not([type=hidden]):not([type=radio]):not([type=checkbox]),
html body main select:not([class]),
html body main textarea:not([class]){
  width:100%;max-width:100%;border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);color:#fff;outline:0;appearance:none;-webkit-appearance:none}
html body .loop-deposit input:focus-visible,
html body .dep-form input:focus-visible,
html body main input:not([class]):focus-visible,
html body main select:not([class]):focus-visible,
html body main textarea:not([class]):focus-visible{
  border-color:rgba(168,85,247,.75);box-shadow:0 0 0 3px rgba(168,85,247,.24)}
html body main input::placeholder,html body main textarea::placeholder{color:rgba(255,255,255,.4)}
/* deposit buttons: geometry from the control scale; keep ONE primary */
/* the tall preset/amount tile keeps its height but gets panel treatment */
html body .dep-preset,html body .dep-amount,html body .dep-amount__tile{
  min-height:0!important;height:auto!important;padding:16px 14px!important;border-radius:16px!important;
  background:rgba(255,255,255,.035)!important;border:0!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.075)!important;
  font:800 18px/1.15 Orbitron,Inter,sans-serif!important;color:#fff!important;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  font-variant-numeric:tabular-nums}
html body .dep-preset.is-on,html body .dep-amount.is-on,html body .dep-amount__tile.is-on{
  background:rgba(168,85,247,.14)!important;
  box-shadow:inset 0 0 0 1px rgba(168,85,247,.5)!important}
html body .dep-preset span,html body .dep-amount span,html body .dep-amount__tile span{
  font:700 9.5px/1.2 'Geist Mono',ui-monospace,monospace!important;letter-spacing:.14em!important;
  text-transform:uppercase!important;color:rgba(255,255,255,.6)!important}
/* one primary only on the deposit action */
html body .loop-deposit .btn:not(:first-of-type),html body .dep-form .btn:not(:first-of-type){
  background-image:none!important;background-color:rgba(255,255,255,.05)!important;
  border:1px solid rgba(255,255,255,.16)!important;color:#EDEAF6!important;box-shadow:none!important;
  font-weight:700!important}
html body .loop-deposit .btn:first-of-type,html body .dep-form .btn:first-of-type{
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;color:#fff!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important;font-weight:800!important}

/* recent-deposits table: never split a date, token or amount over two
   lines — scroll sideways inside the card instead on very narrow phones */
html body .wallet-card .crm-table-wrap{max-width:100%;overflow-x:auto}
html body .wallet-card .crm-table :is(th,td){white-space:nowrap;overflow-wrap:normal;word-break:normal}
@media (max-width:480px){
  html body .wallet-card .crm-table{font-size:12px}
  html body .wallet-card .crm-table :is(th,td){padding-left:6px;padding-right:6px}
}

/* ── (c) SHIPMENTS — one label size (control geometry from the scale) ── */
html body .sh-act > .btn,html body .sh-btn--primary{
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;color:#fff!important;font-weight:800!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important}
html body .sh-track,html body .sh-fact--track dd,html body .sh-id,html body .sh-micro{
  font-family:'Geist Mono',ui-monospace,monospace!important;letter-spacing:.12em!important}
html body .sh-note,html body .sh-lede,html body .sh-fact{font-size:13px!important}

/* ── (d) ACCOUNT — the 2 raw controls + session/2FA rows ─────────────── */
html body .acct-form input,html body .acct-form select,
html body .addr-form input,html body .addr-form select,
html body .twofa-form input,html body .tfa-form input{
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#fff;outline:0;appearance:none}
html body .sess-row,html body .sess-card,html body .addr-card,
html body .twofa-card,html body .acct-card{
  border-radius:16px!important;background:rgba(255,255,255,.035)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)!important;border:0!important;padding:16px!important}

/* ── (e) OVERFLOW GUARDS ─────────────────────────────────────────────── */
html body,html body main{overflow-x:clip!important;max-width:100%}
html body main,html body main > section,html body main .section,
html body .pnb-wrap,html body .pnb-pack,html body .pnb-pack__body,
html body .pp-card,html body .pp-card__body,
html body .dep-form,html body .pay-pane,html body .loop-deposit{min-width:0!important;box-sizing:border-box}
html body main h1,html body main h2,html body main h3,
html body main p,html body main .lede,html body main dd{overflow-wrap:anywhere}
html body main table,html body main .table-wrap{max-width:100%;overflow-x:auto}

/* ── phone: full-width controls, single-column actions ───────────────── */
@media (max-width:767px){
  html body .loop-deposit .btn,html body .loop-deposit .ghost,
  html body .dep-form .btn,html body .dep-form .ghost,
  html body .acct .btn,html body .acct .ghost,
  html body .sh-btn,html body .sh-act > *{width:100%;justify-content:center}
  html body .sh-act{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
}

/* (the former blunt "HARD PASS" geometry block lived here; control geometry
   is now set once in sitewide-system.css "CONTROL SCALE") */

/* secondary look for every non-primary .btn/.ghost, so nothing shouts twice */
html body main .ghost,
html body main .btn:not([class*="primary"]):not(:first-of-type){
  background-image:none!important;background-color:rgba(255,255,255,.05)!important;
  border:1px solid rgba(255,255,255,.16)!important;color:#EDEAF6!important;box-shadow:none!important}
html body main .btn[class*="primary"],html body main .btn:first-of-type{
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;color:#fff!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important;font-weight:800!important}

/* ══════════════════════════════════════════════════════════════════════
   PAGES 9-13/39 — 9 login · 10 signup · 11 live · 12 odds · 13 partners
   ══════════════════════════════════════════════════════════════════════ */

/* ── AUTH (login/signup): raw control + button drift ─────────────────── */
html body .auth input:not([type=hidden]),html body .auth select,
html body .login input:not([type=hidden]),html body .signup input:not([type=hidden]),
html body .auth-card input:not([type=hidden]),html body .auth-form input:not([type=hidden]),
html body main form input:not([type=hidden]):not([type=radio]):not([type=checkbox]){
  width:100%;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.05)!important;
  color:#fff!important;outline:0!important;appearance:none!important;-webkit-appearance:none!important}
html body main form input:focus-visible,
html body .auth input:focus-visible,html body .login input:focus-visible,
html body .signup input:focus-visible{
  border-color:rgba(168,85,247,.75)!important;box-shadow:0 0 0 3px rgba(168,85,247,.24)!important}
html body main form input::placeholder{color:rgba(255,255,255,.4)}
html body .auth .btn,html body .auth .ghost,html body .login .btn,html body .login .ghost,
html body .signup .btn,html body .signup .ghost,html body .auth-card .btn,html body .auth-card .ghost{width:100%}
/* one primary per auth card */
html body .auth .btn:not(:first-of-type),html body .login .btn:not(:first-of-type),
html body .signup .btn:not(:first-of-type){
  background-image:none!important;background-color:rgba(255,255,255,.05)!important;
  border:1px solid rgba(255,255,255,.16)!important;color:#EDEAF6!important;box-shadow:none!important}
html body .auth .btn:first-of-type,html body .login .btn:first-of-type,
html body .signup .btn:first-of-type{
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;color:#fff!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important;font-weight:800!important}

/* ── LIVE: 82 framed figures → silhouette-only card art ──────────────── */
html body .live img,html body .live-item img,html body .live-card img,
html body .feed img,html body .pull img,html body .live-strip img,
html body .live figure,html body .live-item,html body .live-card,
html body .feed-item,html body .pull-item{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0!important}
html body .live img,html body .live-item img,html body .live-card img,
html body .feed img,html body .pull img,html body .live-strip img{
  object-fit:contain!important;max-width:100%;height:auto;
  filter:drop-shadow(0 12px 26px rgba(0,0,0,.6)) drop-shadow(0 0 16px color-mix(in srgb,var(--tier,var(--live-tier,#A855F7)) 30%,transparent))!important}
/* live rows keep a panel surface (the row, not the art) */
html body .live-item,html body .live-card,html body .feed-item,html body .pull-item{
  background-color:rgba(255,255,255,.035)!important;border-radius:16px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)!important}
html body .live-micro,html body .live-kicker,html body .live-eyebrow{
  font:800 9.5px/1.2 'Geist Mono',ui-monospace,monospace!important;
  letter-spacing:.16em!important;text-transform:uppercase!important;color:rgba(255,255,255,.58)!important}

/* ── ODDS + PARTNERS: same control scale, panels, micro-labels ───────── */
html body .odds-card,html body .odds-panel,html body .partner-card,html body .partners-card{
  border-radius:16px!important;background:rgba(255,255,255,.035)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)!important;border:0!important}
html body .odds .eyebrow,html body .partners .eyebrow{
  font:800 10px/1.2 'Geist Mono',ui-monospace,monospace!important;
  letter-spacing:.18em!important;text-transform:uppercase!important;color:rgba(255,255,255,.58)!important}

/* ── shared overflow guards for all five ─────────────────────────────── */
html body .live,html body .odds,html body .partners,html body .auth{max-width:100%;overflow-x:clip!important;min-width:0}
html body .live *,html body .odds *,html body .partners *{box-sizing:border-box}


/* ══ LIVE page: the frames live on `.cardart` / `.live-art`, not `.live img` ══ */
html body .cardart,
html body .cardart-sheen,
html body .live-art,
html body .live-art.cardart,
html body .live-spotlight__art,
html body .live-item,
html body .live-item .cardart,
html body main .cardart{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0!important}
html body .cardart img,html body .live-art img,
html body .live-spotlight__art img,html body .live-item img{
  background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;
  border-radius:0!important;object-fit:contain!important;max-width:100%;height:auto;
  filter:drop-shadow(0 12px 26px rgba(0,0,0,.6))!important}
/* the row keeps a surface, the artwork does not */
html body .live-item{
  background-color:rgba(255,255,255,.035)!important;border-radius:16px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)!important}

/* ══════════════════════════════════════════════════════════════════════
   PAGES 14-15/39 — /rip/brand/ (1 framed art) and /rip/brand/sample/
   (8 framed art + button drift 36/48/57px)
   ══════════════════════════════════════════════════════════════════════ */

/* artwork on the brand pages: silhouette-only, glow on the img */
html body .brand img,html body .brand-art,html body .brand-mark,
html body .brand-sample img,html body .brand-sample figure,
html body .brand-card,html body .brand-card img,
html body .sample-card,html body .sample-card img,
html body .swatch,html body .swatch img,
html body .logo-specimen,html body .logo-specimen img{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0!important}
html body .brand img,html body .brand-sample img,html body .brand-card img,
html body .sample-card img,html body .swatch img,html body .logo-specimen img{
  object-fit:contain!important;max-width:100%;height:auto;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.6))!important}
/* cards that DO want a surface keep it */
html body .brand-card,html body .sample-card,html body .swatch{
  background-color:rgba(255,255,255,.035)!important;border-radius:16px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)!important;padding:16px!important}

/* controls: pin the 36/48/57 drift to the locked scale */
html body .brand .btn,html body .brand .ghost,
html body .brand-sample .btn,html body .brand-sample .ghost,
html body .brand-card .btn,html body .brand-card .ghost,
html body .sample-card .btn,html body .sample-card .ghost,
html body main .brand button,html body main .brand-sample button{
  height:var(--ctl-h)!important;min-height:var(--ctl-h)!important;box-sizing:border-box!important;
  padding:0 var(--ctl-px)!important;border-radius:var(--ctl-r)!important;
  font:var(--ctl-font)!important;letter-spacing:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;
  white-space:nowrap}
html body .brand .btn *,html body .brand-sample .btn *{font-size:inherit!important;line-height:inherit!important}
/* exactly one primary in each brand section */
html body .brand .btn:not(:first-of-type),html body .brand-sample .btn:not(:first-of-type){
  background-image:none!important;background-color:rgba(255,255,255,.05)!important;
  border:1px solid rgba(255,255,255,.16)!important;color:#EDEAF6!important;box-shadow:none!important;
  font-weight:700!important}
html body .brand .btn:first-of-type,html body .brand-sample .btn:first-of-type{
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;color:#fff!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important;font-weight:800!important}
/* micro-labels */
html body .brand .eyebrow,html body .brand-sample .eyebrow,
html body .brand .kicker,html body .brand-sample .kicker,
html body .brand .cap,html body .brand-sample .cap{
  font:800 10px/1.2 'Geist Mono',ui-monospace,monospace!important;
  letter-spacing:.18em!important;text-transform:uppercase!important;color:rgba(255,255,255,.58)!important}
/* overflow */
html body .brand,html body .brand-sample{max-width:100%;overflow-x:clip!important;min-width:0}


/* ══ BRAND-BOOK pages (/rip/brand/, /rip/brand/sample/) ══════════════════
   These are the STYLE GUIDE: framed specimens are intentional there (they
   demonstrate the components). Only the controls need the locked scale. ══ */
html body .pnb-stage .pnb-btn,
html body .pnb-stage .pnb-dock .pnb-btn,
html body .pnb-stage .pnb-hero-run__cta .pnb-btn,
html body .pnb-stage .pnb-dock__rip{
  height:var(--ctl-h)!important;min-height:var(--ctl-h)!important;box-sizing:border-box!important;
  padding:0 var(--ctl-px)!important;border-radius:var(--ctl-r)!important;
  font:var(--ctl-font)!important;letter-spacing:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px}
html body .pnb-stage .pnb-btn *{font:inherit!important}
html body .pnb-stage .pnb-btn--primary{
  background:linear-gradient(135deg,#A855F7,#7C3AED)!important;
  border:1px solid rgba(168,85,247,.6)!important;color:#fff!important;
  box-shadow:0 10px 26px -10px rgba(168,85,247,.8)!important;font-weight:800!important}
html body .pnb-stage .pnb-btn--ghost{
  background:transparent!important;border:1px dashed rgba(255,255,255,.2)!important;
  color:rgba(255,255,255,.78)!important;box-shadow:none!important}
html body .pnb-stage .pnb-btn--chrome{
  background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.16)!important;
  color:#EDEAF6!important;box-shadow:none!important}
html body .pnb-stage .pnb-btn--gold{
  background:linear-gradient(135deg,#F5D48A,#C9A44C)!important;
  border:1px solid rgba(212,175,55,.65)!important;color:#241a05!important;font-weight:800!important}
html body .pnb-stage .pnb-btn--sm{height:var(--ctl-h-sm)!important;min-height:var(--ctl-h-sm)!important;font-size:12.5px!important}
html body .pnb-stage .pnb-btn--lg{height:var(--ctl-h-lg)!important;min-height:var(--ctl-h-lg)!important;font-size:14px!important}

/* card checkout hand-off (pay surface) */
.pay-checkout{max-width:520px;margin:0 auto;display:grid;gap:12px}
.pay-checkout .page-h1{font-size:clamp(28px,5vw,40px);margin:0}
/* Rampex card payment page */
.cardlink-facts{display:grid;gap:10px;margin:6px 0 0}
.cardlink-facts>div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
.cardlink-facts dt{font-weight:600;opacity:.75}
.cardlink-facts dd{margin:0;min-width:0}
.cardlink-addr{display:inline-block;margin-top:4px;font-size:12px;word-break:break-all;opacity:.8}
.cardlink-providers{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.cardlink-provider{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border:1px solid rgba(255,255,255,.14);border-radius:12px;text-decoration:none;color:inherit;transition:border-color .15s,background .15s}
.cardlink-provider:hover,.cardlink-provider:focus-visible{border-color:currentColor;background:rgba(255,255,255,.04)}
.cardlink-provider small{opacity:.65}
.cardlink-problem{padding:10px 12px;border-radius:10px;background:rgba(255,90,90,.1);border:1px solid rgba(255,90,90,.35)}
.cardlink-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between}
@media (max-width:520px){.cardlink-facts>div{grid-template-columns:1fr;gap:4px}}
