:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.965 0.006 113);
  --ink: oklch(0.16 0.018 140);
  --muted: oklch(0.46 0.014 140);
  --primary: oklch(0.797 0.166 113.1);
  --primary-strong: oklch(0.67 0.16 113.1);
  --accent: oklch(0.28 0.035 250);
  --silver: oklch(0.82 0.008 250);
  --line: oklch(0.9 0.008 140);
  --coral: oklch(0.72 0.18 33);
  --header-height: 64px;
  --bottom-height: 68px;
  --page-pad: clamp(20px, 5vw, 42px);
  --content: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-sticky: 20;
  --z-drawer: 40;
  --z-dialog: 60;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-height) + env(safe-area-inset-bottom));
}
body.is-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: white;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-sticky);
  height: calc(var(--header-height) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--page-pad) 0;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink); transition: color .25s, background .25s, box-shadow .25s;
}
.site-header.is-solid {
  color: var(--ink); background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -.04em; }
.brand sup, .footer-brand sup, .hero-brand sup { color: var(--primary-strong); font-size: .65em; vertical-align: .35em; }
.brand-mark { width: 27px; height: 27px; stroke-width: 3; }
.desktop-nav { display: none; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.desktop-nav a { position: relative; padding: 10px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 5px; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .2s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.button-compact {
  min-height: 36px; padding: 0 14px; font-size: 13px; font-weight: 700;
  border-radius: 999px; border: 1px solid color-mix(in oklch, currentColor 18%, transparent);
  background: color-mix(in oklch, var(--bg) 72%, transparent); color: inherit;
}
.site-header:not(.is-solid) .button-compact {
  border-color: color-mix(in oklch, #fff 28%, transparent);
  background: color-mix(in oklch, #000 18%, transparent); color: #fff;
}
.member-passport-status {
  margin: 14px 0 0; max-width: 28rem; font-size: 14px; line-height: 1.6; color: color-mix(in oklch, var(--ink) 72%, transparent);
}
.member-pass.is-authenticated .pass-bottom span { letter-spacing: .02em; }
.icon-button { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
.menu-trigger { display: grid; align-content: center; justify-content: end; gap: 7px; }
.menu-trigger span { display: block; width: 25px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-trigger span:last-child { width: 17px; justify-self: end; }

.menu-drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer); background: var(--primary);
  padding: calc(20px + env(safe-area-inset-top)) var(--page-pad) calc(30px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; transform: translateY(-102%); transition: transform .45s var(--ease);
  visibility: hidden;
}
.menu-drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.close-button { font-size: 34px; font-weight: 200; }
.menu-drawer nav { margin-top: clamp(45px, 12vh, 120px); }
.menu-drawer nav a { min-height: 66px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid color-mix(in oklch, var(--ink) 24%, transparent); }
.menu-drawer nav span { font-size: clamp(28px, 8vw, 48px); font-weight: 800; letter-spacing: -.045em; }
.menu-drawer nav small { font-size: 9px; letter-spacing: .1em; }
.drawer-note { margin: auto 0 0; font-size: 14px; max-width: 28em; }
.scrim { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: oklch(0 0 0 / .4); }

.view { animation: view-in .38s var(--ease); }
.view[hidden] { display: none !important; }
@keyframes view-in { from { opacity: .01; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.section { width: min(100%, var(--content)); margin-inline: auto; padding: 72px var(--page-pad); }
.section-note { margin-bottom: 14px; color: var(--primary-strong); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.section-head h2, .robot-copy h2, .member-copy h2, .store-format h2, .join-intro h2 { margin-bottom: 0; font-size: clamp(37px, 10vw, 68px); font-weight: 800; }
.round-link { width: 50px; height: 50px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 23px; flex: none; }
.button { min-height: 50px; padding: 0 22px; border: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 750; cursor: pointer; transition: transform .16s var(--ease), background .16s; }
.button:active { transform: scale(.97); }
.button-primary { background: var(--primary); color: var(--ink); }
.button-primary:hover { background: var(--primary-strong); color: white; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 750; border-bottom: 1px solid currentColor; }
.text-link-light { color: white; }

.home-hero { min-height: 100svh; position: relative; overflow: hidden; background: var(--ink); color: white; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 58%; animation: hero-scale 1.5s var(--ease) both; }
@keyframes hero-scale { from { opacity: .6; transform: scale(1.08); } to { opacity: 1; transform: none; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0 0 0 / .18) 0%, transparent 35%, oklch(0 0 0 / .78) 100%); }
.hero-copy { position: absolute; left: var(--page-pad); right: var(--page-pad); bottom: calc(82px + env(safe-area-inset-bottom)); max-width: 620px; }
.hero-brand { margin-bottom: 8px; font-weight: 800; letter-spacing: -.035em; animation: hero-up .8s .12s var(--ease) both; }
.hero-copy h1 { margin-bottom: 16px; font-size: clamp(56px, 15vw, 94px); font-weight: 800; letter-spacing: -.055em; animation: hero-up .9s .18s var(--ease) both; }
.hero-copy > p:not(.hero-brand) { max-width: 22em; margin-bottom: 22px; font-size: 15px; animation: hero-up .9s .28s var(--ease) both; }
.hero-actions { display: flex; gap: 18px; align-items: center; animation: hero-up .9s .38s var(--ease) both; }
@keyframes hero-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; right: var(--page-pad); bottom: calc(24px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 9px; border: 0; background: none; color: white; font-size: 10px; letter-spacing: .08em; cursor: pointer; }
.scroll-cue i { width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.scroll-cue i::after { content: ""; width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); position: absolute; left: 9px; top: 7px; }

.quick-actions { display: grid; grid-template-columns: 1fr; width: min(100%, var(--content)); margin: 0 auto; background: var(--bg); }
.quick-actions a { min-height: 100px; padding: 24px var(--page-pad); display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
.quick-actions strong { font-size: 19px; }
.quick-actions span { color: var(--muted); font-size: 12px; }

.product-intro { overflow: hidden; }
.product-rail { margin-top: 36px; margin-right: calc(var(--page-pad) * -1); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 84vw); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: var(--page-pad); }
.product-rail::-webkit-scrollbar { display: none; }
.product-card { min-height: 440px; padding: 26px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.product-card > div:last-child { position: relative; z-index: 1; }
.product-card span { font-size: 11px; font-weight: 800; }
.product-card h3 { margin: 7px 0 8px; font-size: 27px; }
.product-card p { margin: 0 0 4px; font-size: 13px; }
.product-card strong { font-size: 14px; }
.product-lime { background: var(--primary); }
.product-white { background: var(--surface); }
.product-ink { background: var(--ink); color: white; }
.product-ink p { color: oklch(0.78 0.012 140); }
.product-coral { background: var(--coral); color: white; }
.cup { height: 235px; width: 150px; align-self: center; position: relative; border-radius: 13px 13px 35px 35px; border: 3px solid oklch(1 0 0 / .65); box-shadow: inset 12px 0 22px oklch(1 0 0 / .16), 0 20px 40px oklch(0 0 0 / .12); }
.cup::before { content: ""; position: absolute; top: -12px; left: -8px; right: -8px; height: 18px; border: 3px solid oklch(1 0 0 / .72); border-radius: 50%; background: oklch(1 0 0 / .3); }
.cup i { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.cup i::before { content: ""; position: absolute; width: 55px; height: 14px; border-radius: 50%; left: 45px; top: 105px; transform: rotate(-8deg); box-shadow: inset 0 -7px oklch(1 0 0 / .65); }
.cup i::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: oklch(1 0 0 / .7); left: 70px; top: 91px; }
.cup-latte { background: linear-gradient(oklch(0.91 0.05 83), oklch(0.74 0.08 70)); }
.cup-jasmine { background: linear-gradient(oklch(0.9 0.11 112), oklch(0.76 0.13 118)); }
.cup-boba { background: linear-gradient(170deg, oklch(0.78 0.07 78), oklch(0.35 0.08 60)); }
.cup-boba::after { content: "••••••••••••"; position: absolute; left: 12px; right: 12px; bottom: 8px; color: oklch(0.15 0.03 60); font-size: 35px; line-height: .55; letter-spacing: -8px; overflow: hidden; }
.cup-fruit { background: linear-gradient(oklch(0.73 0.18 38), oklch(0.57 0.2 28)); }

.robot-story { background: var(--ink); color: white; }
.robot-media { position: relative; margin: 0; }
.robot-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.robot-media figcaption { position: absolute; bottom: 16px; right: 16px; font-size: 9px; letter-spacing: .12em; }
.robot-copy { padding-top: 48px; }
.robot-copy > p:not(.section-note) { max-width: 34em; margin: 22px 0 28px; color: oklch(0.78 0.012 140); }
.robot-copy .button-dark { background: white; color: var(--ink); }

.member-preview { display: grid; gap: 42px; background: var(--surface); }
.member-pass { aspect-ratio: 1.58 / 1; padding: 24px; background: radial-gradient(circle at 90% 0, oklch(0.4 0.06 113 / .35), transparent 35%), var(--ink); color: white; display: flex; flex-direction: column; box-shadow: 0 24px 50px oklch(0 0 0 / .18); transform: rotate(-2deg); }
.pass-top, .pass-bottom { display: flex; justify-content: space-between; align-items: baseline; }
.pass-top span { font-weight: 800; font-size: 20px; }
.pass-top em { font-style: normal; font-size: 7px; letter-spacing: .12em; }
.member-pass svg { width: 60%; height: auto; margin: auto; color: var(--primary); stroke-width: 6; }
.pass-bottom { font-size: 8px; letter-spacing: .1em; }
.pass-bottom strong { color: var(--primary); font-size: 24px; }
.member-copy p { max-width: 31em; margin: 20px 0 18px; color: var(--muted); }

.pod-feature { position: relative; min-height: 620px; display: flex; align-items: flex-end; background: oklch(.12 0 0); color: white; overflow: hidden; }
.pod-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .75; }
.pod-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, oklch(0 0 0 / .84) 100%); }
.pod-caption { position: relative; z-index: 1; padding: 60px var(--page-pad); width: min(100%, var(--content)); margin: 0 auto; }
.pod-caption h2 { margin-bottom: 16px; font-size: clamp(39px, 11vw, 70px); }
.pod-caption p { max-width: 31em; margin-bottom: 24px; }
.site-footer { padding-bottom: 52px; }
.footer-brand { font-size: 33px; font-weight: 800; letter-spacing: -.045em; }
.site-footer > p { color: var(--muted); }
.site-footer nav { display: flex; gap: 24px; margin: 40px 0; font-weight: 650; }
.site-footer small { color: var(--muted); }

.interior-view { min-height: 100vh; padding-top: 0; }
.page-hero { min-height: 430px; padding: calc(var(--header-height) + env(safe-area-inset-top) + 60px) var(--page-pad) 52px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero p { margin-bottom: 10px; font-size: 13px; font-weight: 750; }
.page-hero h1 { margin-bottom: 28px; font-size: clamp(55px, 15vw, 100px); font-weight: 800; letter-spacing: -.055em; }
.page-hero > span { font-size: 12px; }
.page-hero-lime { background: var(--primary); color: var(--ink); }
.page-hero-dark { min-height: 520px; color: white; background: radial-gradient(circle at 72% 28%, oklch(.42 .13 113 / .65), transparent 15%), radial-gradient(circle at 72% 28%, transparent 0 29%, oklch(.7 .11 113 / .3) 30% 30.5%, transparent 31% 42%, oklch(.7 .11 113 / .18) 42.5% 43%, transparent 43.5%), var(--ink); }
.join-hero { background: linear-gradient(145deg, var(--silver), white 58%, var(--primary)); }
.filter-bar { position: sticky; top: calc(var(--header-height) + env(safe-area-inset-top)); z-index: 10; display: flex; gap: 4px; padding: 10px var(--page-pad); overflow-x: auto; background: color-mix(in oklch, var(--bg) 94%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.filter-bar button { min-width: max-content; min-height: 42px; padding: 0 16px; border: 0; border-radius: 25px; background: transparent; font-size: 14px; cursor: pointer; }
.filter-bar button.is-active { background: var(--ink); color: white; }
.drink-list { padding-top: 30px; padding-bottom: 20px; }
.drink-row { min-height: 170px; display: grid; grid-template-columns: 112px 1fr 44px; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }
.drink-row[hidden] { display: none; }
.drink-visual { height: 126px; display: grid; place-items: center; overflow: hidden; }
.drink-photo-wrap { border-radius: 18px; background: #eef2ea; }
.drink-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.drink-amber { background: oklch(.9 .08 80); } .drink-green { background: oklch(.91 .1 115); } .drink-brown { background: oklch(.72 .08 60); } .drink-tea { background: oklch(.84 .07 72); } .drink-red { background: oklch(.79 .13 32); } .drink-yellow { background: oklch(.9 .14 99); } .drink-clear { background: oklch(.91 .04 145); }
.mini-cup { width: 54px; height: 86px; border-radius: 5px 5px 16px 16px; border: 2px solid oklch(1 0 0 / .75); background: oklch(1 0 0 / .22); box-shadow: inset 7px 0 9px oklch(1 0 0 / .2); position: relative; }
.mini-cup::before { content: ""; position: absolute; top: -7px; left: -4px; right: -4px; height: 9px; border: 2px solid oklch(1 0 0 / .8); border-radius: 50%; }
.mini-cup::after { content: "≈"; position: absolute; left: 17px; top: 28px; color: white; font-size: 24px; font-weight: 700; }
.drink-info span { display: inline-block; padding: 2px 7px; background: var(--primary); font-size: 9px; font-weight: 800; }
.drink-info h2 { margin: 7px 0 6px; font-size: 19px; }
.drink-info p { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.drink-info strong { font-size: 14px; }
.drink-row > button { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; font-size: 24px; cursor: pointer; }
.page-disclaimer { padding-top: 24px; padding-bottom: 45px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }

.location-chip { align-self: flex-start; min-height: 44px; padding: 0 16px; color: white; background: transparent; border: 1px solid oklch(1 0 0 / .45); border-radius: 22px; cursor: pointer; }
.store-search { padding-top: 36px; padding-bottom: 24px; }
.store-search label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.store-search > div { display: flex; border-bottom: 2px solid var(--ink); }
.store-search input { min-width: 0; flex: 1; height: 54px; border: 0; outline: 0; font-size: 18px; }
.store-search button { width: 64px; border: 0; background: transparent; font-weight: 700; cursor: pointer; }
.store-state { padding-top: 35px; text-align: center; }
.store-state h2 { margin: 25px 0 12px; font-size: 30px; }
.store-state p { max-width: 34em; margin: 0 auto 25px; color: var(--muted); }
.radar { width: 150px; height: 150px; margin: auto; border: 1px solid var(--line); border-radius: 50%; position: relative; }
.radar::before, .radar::after { content: ""; position: absolute; inset: 24%; border: 1px solid var(--line); border-radius: inherit; }
.radar::after { inset: 44%; background: var(--primary); border: 0; box-shadow: 0 0 0 12px oklch(.797 .166 113 / .16); }
.radar i:first-child { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.radar i:nth-child(2) { position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid var(--line); }
.store-format { padding-top: 40px; }
.format-list { margin-top: 30px; }
.format-list article { display: grid; grid-template-columns: 50px 1fr; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.format-list span { color: var(--primary-strong); font-size: 12px; font-weight: 800; }
.format-list h3 { margin-bottom: 8px; font-size: 22px; }
.format-list p { margin-bottom: 0; color: var(--muted); }

.member-hero { min-height: calc(100svh - var(--bottom-height) - env(safe-area-inset-bottom)); padding: calc(var(--header-height) + env(safe-area-inset-top) + 42px) var(--page-pad) 48px; display: flex; flex-direction: column; background: var(--ink); color: white; }
.member-hero-copy p { color: var(--primary); font-size: 12px; font-weight: 800; }
.member-hero-copy h1 { font-size: clamp(50px, 13vw, 88px); }
.member-pass-large { width: min(100%, 480px); margin: auto; transform: rotate(-4deg); }
.member-cta { width: 100%; }
.benefit-list { padding-top: 28px; }
.benefit-list article { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.benefit-list > article > strong { color: var(--primary-strong); font-size: 12px; }
.benefit-list h2 { margin-bottom: 8px; font-size: 24px; }
.benefit-list p { margin-bottom: 0; color: var(--muted); }

.join-intro { padding-bottom: 30px; }
.join-intro p { margin-top: 22px; color: var(--muted); max-width: 34em; }
.partner-model { padding-top: 20px; padding-bottom: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.partner-model > div {
  min-height: 168px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in oklch, var(--surface) 72%, white);
}
.partner-model span { color: var(--primary-strong); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.partner-model h3 { margin: 18px 0 8px; font-size: 18px; }
.partner-model p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.join-form { padding-top: 8px; padding-bottom: 72px; }
.join-form-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 48px rgba(31, 42, 26, 0.06);
}
.join-form-kicker {
  margin: 0 0 8px;
  color: var(--primary-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}
.form-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.form-head h2 { margin-bottom: 0; font-size: clamp(28px, 6vw, 36px); }
.form-head > p { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.join-form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.join-field { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.join-field-wide { grid-column: 1 / -1; }
.join-field input:not([type="checkbox"]),
.join-field select,
.join-field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  outline: none;
  font-weight: 500;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.join-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.join-field input:focus,
.join-field select:focus,
.join-field textarea:focus {
  border-color: var(--primary-strong);
  background: white;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 28%, transparent);
}
.join-field [aria-invalid="true"] {
  border-color: oklch(.55 .2 25) !important;
  box-shadow: 0 0 0 3px color-mix(in oklch, oklch(.55 .2 25) 18%, transparent) !important;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary-strong); flex-shrink: 0; }
.join-submit { width: 100%; min-height: 54px; font-size: 16px; border-radius: 18px; }
.join-submit.is-loading { opacity: .72; pointer-events: none; }
.form-status { min-height: 24px; margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.form-status.is-success { color: var(--primary-strong); font-weight: 700; }
.form-status.is-error { color: oklch(.55 .2 25); }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); height: calc(var(--bottom-height) + env(safe-area-inset-bottom)); padding: 5px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; background: color-mix(in oklch, var(--bg) 94%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
.bottom-nav a { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 10px; font-weight: 650; position: relative; }
.bottom-nav svg { width: 23px; height: 23px; stroke-width: 1.7; }
.bottom-nav a.is-active { color: var(--ink); }
.bottom-nav a.is-active::before { content: ""; position: absolute; top: 0; width: 15px; height: 3px; border-radius: 3px; background: var(--primary-strong); }

.app-dialog { width: min(calc(100% - 36px), 400px); padding: 34px 24px 24px; border: 0; background: white; color: var(--ink); text-align: center; box-shadow: 0 35px 80px oklch(0 0 0 / .28); }
.app-dialog::backdrop { background: oklch(0 0 0 / .62); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 8px; top: 6px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; }
.dialog-icon { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-size: 36px; font-weight: 800; }
.app-dialog h2 { margin-bottom: 12px; font-size: 27px; }
.app-dialog p { color: var(--muted); }
.app-dialog .button { width: 100%; margin-top: 10px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--bottom-height) + env(safe-area-inset-bottom) + 18px); z-index: var(--z-dialog); min-width: 210px; max-width: calc(100% - 40px); padding: 12px 18px; transform: translate(-50%, 25px); opacity: 0; pointer-events: none; background: var(--ink); color: white; text-align: center; font-size: 13px; transition: .25s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid var(--primary-strong); outline-offset: 3px; }

.member-commerce-hint .text-link { background: none; border: 0; color: var(--accent-dark); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

.chaoyin-cart-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--bottom-height) + 12px);
  z-index: 120;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(31, 42, 26, 0.12);
  padding: 14px 16px 10px;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  backdrop-filter: blur(10px);
}
.chaoyin-cart-bar.is-visible { display: grid; }
.chaoyin-cart-bar[hidden],
body:not(.chaoyin-menu-view) .chaoyin-cart-bar { display: none !important; }
.chaoyin-cart-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.chaoyin-cart-chevron {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s var(--ease);
}
.chaoyin-cart-bar.is-expanded .chaoyin-cart-chevron {
  transform: rotate(-135deg) translateY(3px);
}
.chaoyin-cart-summary { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-muted); }
.chaoyin-cart-summary strong { color: var(--ink); font-size: 18px; }
.chaoyin-cart-checkout { min-width: 108px; padding: 12px 18px; margin: 0; }
.chaoyin-cart-panel {
  grid-column: 1 / -1;
  max-height: min(42vh, 280px);
  overflow-y: auto;
  margin: 2px 0 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.chaoyin-cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(31, 42, 26, 0.08);
}
.chaoyin-cart-line:last-child { border-bottom: 0; }
.chaoyin-cart-line-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chaoyin-cart-line-info strong { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chaoyin-cart-line-price { font-size: 12px; color: var(--ink-muted); }
.chaoyin-cart-line-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.chaoyin-cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.chaoyin-cart-qty { min-width: 18px; text-align: center; font-size: 14px; font-weight: 700; }
.chaoyin-cart-remove {
  border: 0;
  background: none;
  color: var(--accent-dark);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0 4px 4px;
}
.chaoyin-cart-hint { grid-column: 1 / -1; margin: 0; font-size: 11px; color: var(--ink-muted); line-height: 1.4; }
body.chaoyin-has-cart #menu.interior-view.is-active { padding-bottom: 120px; }
body.chaoyin-cart-expanded #menu.interior-view.is-active { padding-bottom: min(52vh, 360px); }

@media (min-width: 760px) {
  :root { --header-height: 76px; --bottom-height: 0px; }
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .desktop-nav { display: flex; }
  .menu-trigger { display: none; }
  .home-hero { min-height: 800px; }
  .home-hero > img { object-position: center 60%; }
  .quick-actions { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .quick-actions a { border-right: 1px solid var(--line); border-bottom: 0; }
  .product-rail { grid-auto-columns: 340px; }
  .robot-story { display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; }
  .robot-media img { height: 100%; aspect-ratio: auto; }
  .robot-copy { align-self: center; }
  .member-preview { grid-template-columns: 1fr 1fr; align-items: center; }
  .pod-feature { min-height: 760px; }
  .drink-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .drink-row { grid-template-columns: 126px 1fr 44px; }
  .member-hero { min-height: 820px; display: grid; grid-template-columns: .8fr 1.1fr; align-items: center; gap: 60px; }
  .member-hero-copy { align-self: end; }
  .member-cta { width: auto; align-self: start; justify-self: start; }
  .benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; }
  .partner-model { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .partner-model > div { border-right: 0; }
  .join-form-grid { grid-template-columns: 1fr 1fr; }
  .join-form { max-width: var(--content); }
}

@media (min-width: 1100px) {
  .hero-copy { left: max(var(--page-pad), calc((100vw - var(--content)) / 2)); }
  .scroll-cue { right: max(var(--page-pad), calc((100vw - var(--content)) / 2)); }
  .page-hero { padding-left: max(var(--page-pad), calc((100vw - var(--content)) / 2)); padding-right: max(var(--page-pad), calc((100vw - var(--content)) / 2)); }
  .product-rail { grid-auto-columns: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
