:root{
  --jb-yellow:#ffd326;--jb-yellow-deep:#e3b600;--jb-ink:#17191d;--jb-slate:#3e4652;
  --jb-muted:#6d7580;--jb-bg:#f3f5f7;--jb-surface:#fff;--jb-line:#e2e6ea;
  --jb-success:#177245;--jb-danger:#a62626;--jb-radius:18px;--jb-shadow:0 12px 34px rgba(23,25,29,.07)
}
html{background:var(--jb-bg);scroll-behavior:smooth}
body{min-height:100dvh;display:flex;flex-direction:column;background:var(--jb-bg)!important;color:var(--jb-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.site-header{position:sticky!important;inset:0 0 auto;z-index:30!important;width:100%;min-height:76px!important;height:auto!important;padding:0!important;background:rgba(23,25,29,.97)!important;border-bottom:1px solid rgba(255,211,38,.58)!important;box-shadow:0 8px 28px rgba(0,0,0,.16)!important;backdrop-filter:blur(14px)}
.header-shell{width:min(1440px,100%);min-height:76px;margin:0 auto;padding:10px clamp(18px,4vw,54px);display:flex;align-items:center;justify-content:space-between;gap:26px}
.brand{display:flex;align-items:center;gap:12px;flex:none;color:#fff!important;text-decoration:none;letter-spacing:-.01em}
.brand img{width:48px!important;height:52px!important;object-fit:contain;filter:drop-shadow(0 5px 12px #0004)}
.brand span{display:grid;line-height:1.05}.brand strong{font-size:20px;letter-spacing:.035em;color:var(--jb-yellow)}.brand small{margin-top:6px;color:#c9cdd2;font-size:11px;font-weight:600;letter-spacing:.02em}
.site-header #nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}
.site-header #nav a{position:relative;color:#eef0f2!important;border:0!important;border-radius:10px;padding:10px 12px!important;font-size:13px!important;font-weight:650;line-height:1.2;text-decoration:none;transition:background .18s ease,color .18s ease,transform .18s ease}
.site-header #nav a:hover{background:#ffffff12;color:#fff!important;transform:translateY(-1px)}
.site-header #nav a[aria-current=page]{background:var(--jb-yellow)!important;color:#17191d!important;box-shadow:0 5px 16px rgba(255,211,38,.18)}
main#main{flex:1;width:min(1240px,100%);max-width:1240px!important;min-height:64vh;margin:0 auto!important;padding:38px 28px 52px!important;color:var(--jb-ink)!important}
main#main>h1:first-child,main#main>.admin-heading:first-child h1{letter-spacing:-.035em}
h1,h2,h3{color:var(--jb-ink);text-wrap:balance}.hero h1,.rescue-landing h1{color:var(--jb-yellow)}
.card,.eco-card,.admin-action,.quick-action{border:1px solid var(--jb-line)!important;box-shadow:var(--jb-shadow)!important}
.card,.eco-card{background:var(--jb-surface)!important;border-radius:var(--jb-radius)!important}
.quick-action{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.quick-action:hover{transform:translateY(-3px);border-color:#d9bd48!important;box-shadow:0 16px 38px rgba(23,25,29,.11)!important}
button,.button{border-radius:12px!important;transition:filter .18s ease,transform .18s ease,box-shadow .18s ease}button:hover:not(:disabled),.button:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 7px 18px rgba(23,25,29,.1)}
button:focus-visible,.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(227,182,0,.52)!important;outline-offset:3px!important}
input,select,textarea{border-color:#cdd3da!important;border-radius:12px!important;transition:border-color .18s ease,box-shadow .18s ease}input:focus,select:focus,textarea:focus{border-color:#bd9700!important;box-shadow:0 0 0 4px rgba(255,211,38,.16)}
.notice{border-radius:14px!important}.tabs a{border-radius:12px!important;transition:border-color .18s ease,background .18s ease}.tabs a:hover{border-color:#cfad27;background:#fffbeb}
.site-footer{display:block!important;margin-top:auto!important;padding:0!important;background:#17191d!important;color:#d6d9dd!important;border-top:3px solid var(--jb-yellow);font-size:14px}
.footer-shell{width:min(1240px,100%);margin:0 auto;padding:38px 28px 28px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:52px}
.footer-brand{display:flex;gap:16px;align-items:center}.footer-brand img{width:62px;height:68px;object-fit:contain}.footer-brand strong,.footer-links>strong,.footer-contact>strong{display:block;color:var(--jb-yellow);font-size:15px;letter-spacing:.025em}.footer-brand p,.footer-contact p{margin:7px 0;color:#aeb4bc;line-height:1.65}
.footer-links{display:grid!important;gap:8px!important}.footer-links a,.footer-contact a{min-height:auto!important;padding:0!important;border:0!important;color:#dfe2e6!important;text-decoration:none;font-size:13px}.footer-links a:hover,.footer-contact a:hover{color:var(--jb-yellow)!important;text-decoration:underline}
.footer-bottom{border-top:1px solid #ffffff18;width:min(1240px,calc(100% - 56px));margin:0 auto;padding:16px 0 22px;display:flex;justify-content:space-between;gap:16px;color:#8f969f;font-size:12px}
body:has(.rescue-start)>.site-footer,body:has(.rescue-landing)>.site-footer{display:block!important}
body:has(.rescue-landing)>.site-header{height:auto!important;min-height:76px!important;padding:0!important;background:rgba(23,25,29,.97)!important}
body:has(.rescue-landing)>.site-header .brand img{width:48px!important;height:52px!important}body:has(.rescue-landing)>.site-header .brand strong{font-size:20px!important;color:var(--jb-yellow)!important}
body:has(.rescue-landing)>.site-header #nav a{display:inline-flex!important}body:has(.rescue-landing)>.site-header #nav a:last-child{padding:10px 12px!important;border:0!important}
body:has(.rescue-landing)>main#main{width:100%!important;max-width:none!important;padding:0!important}
@media(max-width:1100px) and (min-width:901px){.header-shell{align-items:flex-start}.site-header #nav{max-width:720px}.site-header #nav a{padding:9px 8px!important;font-size:12px!important}}
@media(max-width:900px){
  html{background:#eef1f4;scroll-padding-top:74px}
  body{background:#eef1f4!important;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
  .site-header{min-height:68px!important;height:68px!important;background:rgba(23,25,29,.98)!important;box-shadow:0 5px 22px rgba(0,0,0,.2)!important}
  .header-shell{min-height:68px;height:68px;padding:8px 16px;justify-content:center}
  .brand{gap:9px}.brand img{width:38px!important;height:42px!important}.brand strong{font-size:18px}.brand small{display:none}
  .site-header #nav{display:none!important}
  main#main{width:100%;min-height:calc(100dvh - 144px)!important;padding:22px 14px 34px!important;overflow-x:hidden}
  main#main>h1:first-child{font-size:27px;margin:3px 2px 20px}
  .card,.eco-card{border-radius:19px!important;padding:19px!important;margin-bottom:14px!important;box-shadow:0 6px 22px rgba(23,25,29,.055)!important}
  .hero{border-radius:22px!important;padding:25px 22px!important;box-shadow:0 12px 30px rgba(23,25,29,.16)}
  .quick-actions{gap:10px!important}.quick-action{border-radius:18px!important;min-height:108px!important;padding:16px!important}.quick-action:active{transform:scale(.985)}
  button,.button{min-height:48px;border-radius:14px!important}input,select,textarea{min-height:48px;border-radius:14px!important}
  #mobile-nav{display:grid!important;grid-template-columns:repeat(5,1fr);position:fixed!important;left:8px!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;z-index:40!important;padding:6px!important;background:rgba(255,255,255,.96)!important;border:1px solid #dfe3e8!important;border-radius:20px!important;box-shadow:0 14px 42px rgba(23,25,29,.2)!important;backdrop-filter:blur(16px)}
  #mobile-nav a,#mobile-nav button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0!important;min-height:54px!important;margin:0!important;padding:5px 2px!important;border:0!important;border-radius:15px!important;background:transparent!important;color:#69727e!important;font-size:10px!important;font-weight:700;text-decoration:none;line-height:1.1}
  #mobile-nav a.selected{background:#fff3ba!important;color:#564300!important}#mobile-nav .nav-icon{height:24px;margin:0!important;font-size:21px!important;line-height:24px!important}
  #more-menu{width:min(430px,calc(100% - 24px));margin:auto auto calc(88px + env(safe-area-inset-bottom));padding:22px;border-radius:24px!important;border:1px solid var(--jb-line);box-shadow:0 22px 70px #0004}
  #more-menu a{border-radius:12px;border:0!important;margin:3px 0;background:#f6f7f8;color:var(--jb-ink);font-weight:650}
  .site-footer{margin-top:0!important;padding-bottom:18px!important}.footer-shell{padding:28px 20px 20px;grid-template-columns:1fr;gap:22px}.footer-brand{align-items:flex-start}.footer-brand img{width:48px;height:52px}.footer-links{grid-template-columns:1fr 1fr}.footer-links>strong{grid-column:1/-1}.footer-contact{border-top:1px solid #ffffff18;padding-top:18px}.footer-bottom{width:calc(100% - 40px);padding:14px 0 18px;flex-direction:column;gap:4px}
  body:has(.rescue-landing)>.site-header{height:68px!important;min-height:68px!important}body:has(.rescue-landing)>.site-header .brand img{width:38px!important;height:42px!important}body:has(.rescue-landing)>.site-header .brand strong{font-size:18px!important}
  body:has(.rescue-landing)>main#main{padding:0!important}
  #toast{bottom:calc(94px + env(safe-area-inset-bottom))!important;border-radius:16px!important}
}
@media(max-width:380px){main#main{padding-inline:11px!important}.card,.eco-card{padding:16px!important}.footer-links{grid-template-columns:1fr}.footer-links>strong{grid-column:auto}#mobile-nav{left:5px!important;right:5px!important}#mobile-nav a,#mobile-nav button{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.quick-action,button,.button{transition:none!important}}

/* Round 2: professional navigation, purchase cart and club review flow. */
.developer-link{color:#b7bdc5;text-decoration:none}.developer-link:hover{color:var(--jb-yellow);text-decoration:underline}
.cart-menu-link{position:relative;isolation:isolate}
.cart-menu-link .nav-icon{display:inline-flex;width:23px;height:23px;flex:none}
.cart-menu-link .nav-icon svg{width:23px;height:23px}
.site-header #nav .cart-menu-link{display:inline-flex;align-items:center;gap:7px;padding-right:18px!important}
.cart-menu-badge{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border:2px solid #17191d;border-radius:999px;background:#d93036;color:#fff;font-size:10px;font-weight:800;line-height:1;pointer-events:none;font-variant-numeric:tabular-nums;z-index:1}
@media(max-width:900px){#mobile-nav.has-cart{grid-template-columns:repeat(6,minmax(0,1fr))!important}#mobile-nav .cart-menu-badge{top:1px;right:3px;min-width:19px;height:19px;border-color:#fff}#mobile-nav .cart-menu-link .cart-menu-label{font-size:10px}}
#mobile-nav .nav-icon svg{display:block;width:23px;height:23px;margin:auto}
.cart-panel{margin:26px 0 0;background:#fff;border:1px solid var(--jb-line);border-radius:20px;box-shadow:var(--jb-shadow);overflow:hidden}.cart-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--jb-line)}.cart-heading h2{margin:2px 0 0}.cart-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;color:#8a6a00}.cart-count{background:#f2f4f6;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700}.cart-items{padding:0 24px}.cart-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--jb-line)}.cart-item-copy{display:grid;gap:5px}.cart-item-copy small{color:var(--jb-muted)}.quantity-control{display:flex;align-items:center;border:1px solid #cfd5dc;border-radius:10px;overflow:hidden}.quantity-control button{min-height:36px!important;width:38px;margin:0!important;padding:0!important;border-radius:0!important;background:#fff}.quantity-control span{min-width:34px;text-align:center;font-weight:750}.cart-remove{min-height:auto!important;margin:0!important;padding:7px!important;background:transparent!important;color:#2764b1;font-size:12px}.cart-summary{margin-left:auto;width:min(430px,100%);padding:22px 24px}.cart-summary>div{display:flex;justify-content:space-between;padding:7px 0}.cart-total{border-top:1px solid var(--jb-line);margin-top:8px;padding-top:16px!important;font-size:19px}.cart-summary p{color:var(--jb-muted);font-size:12px;line-height:1.55}.cart-summary #send-order{width:100%;margin:10px 0 0}.cart-empty{display:grid;justify-items:center;gap:6px;padding:42px 20px;color:var(--jb-muted)}.cart-empty>span{font-size:40px}.cart-empty strong{color:var(--jb-ink)}
.pending-points{display:flex;align-items:baseline;gap:8px;margin:10px 0 20px;color:#8a6800}.pending-points strong{font-size:24px}.pending-points span{font-size:13px}.claim-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) auto;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--jb-line)}.claim-row>div{display:grid;gap:5px}.claim-row small,.claim-history small{color:var(--jb-muted)}.claim-actions{display:flex!important;grid-auto-flow:column;gap:8px}.claim-actions button{margin:0!important}.claim-history{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--jb-line)}.claim-history small{grid-column:1/-1}
@media(max-width:900px){html{scroll-padding-top:98px}.site-header{min-height:90px!important;height:90px!important}.header-shell{min-height:90px;height:90px;padding:9px 16px;justify-content:flex-start}.brand{gap:12px}.brand img{width:48px!important;height:54px!important}.brand strong{font-size:19px}.brand small{display:block;font-size:9px;margin-top:5px;letter-spacing:.07em;color:#e1e4e8}.site-header #nav{display:none!important}main#main{min-height:calc(100dvh - 166px)!important}body:has(.rescue-landing)>.site-header{height:90px!important;min-height:90px!important}body:has(.rescue-landing)>.site-header .brand img{width:48px!important;height:54px!important}body:has(.rescue-landing)>.site-header .brand strong{font-size:19px!important}.cart-heading{padding:18px}.cart-items{padding:0 18px}.cart-item{grid-template-columns:minmax(0,1fr) auto;gap:12px}.cart-item>strong{grid-column:1}.cart-remove{grid-column:2;grid-row:2}.cart-summary{padding:18px}.claim-row{grid-template-columns:1fr;gap:10px}.claim-actions{grid-auto-flow:row!important;grid-template-columns:1fr 1fr}.claim-history{grid-template-columns:1fr auto}.claim-history .status-tag{grid-column:1/-1;justify-self:start}}
