/* ================= TOKENS ================= */
:root[data-theme="dark"]{
  --bg:#000000; --surface:#1C1C1E; --surface-2:#2C2C2E; --surface-3:#3A3A3C;
  --hairline:rgba(255,255,255,0.10);
  --text:#FFFFFF; --text-2:rgba(235,235,245,0.62); --text-3:rgba(235,235,245,0.36);
  --green:#30D158; --green-ink:#03210F; --amber:#FF9F0A; --amber-ink:#2A1600;
  --dock-bg:rgba(44,44,46,.72); --dock-line:rgba(255,255,255,.13);
  --dock-active:rgba(255,255,255,.14); --shadow:0 8px 30px rgba(0,0,0,.5);
  --scrim:rgba(0,0,0,.6);
}
:root[data-theme="light"]{
  --bg:#F7F6F3; --surface:#FFFFFF; --surface-2:#EFEEEA; --surface-3:#E3E2DD;
  --hairline:rgba(0,0,0,0.09);
  --text:#0D0D0D; --text-2:rgba(60,60,67,0.68); --text-3:rgba(60,60,67,0.42);
  --green:#128C42; --green-ink:#FFFFFF; --amber:#B45309; --amber-ink:#FFFFFF;
  --dock-bg:rgba(248,248,246,.82); --dock-line:rgba(0,0,0,.09);
  --dock-active:rgba(0,0,0,.06); --shadow:0 8px 30px rgba(0,0,0,.14);
  --scrim:rgba(0,0,0,.4);
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html,body{background:var(--bg);}
body{
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text','Inter','Roboto',sans-serif;
  color:var(--text);-webkit-font-smoothing:antialiased;font-size:17px;line-height:1.45;
  transition:background .3s ease,color .3s ease;
}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer;}
input{font:inherit;}
ul{list-style:none;}
a{color:inherit;text-decoration:none;}
svg{display:block;}
.app{position:relative;max-width:430px;margin:0 auto;min-height:100vh;background:var(--bg);overflow-x:hidden;transition:background .3s ease;}
.screen{display:none;min-height:100vh;padding-bottom:190px;}
.screen.active{display:block;animation:fade .28s cubic-bezier(.32,.72,0,1);}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.scroller{display:flex;gap:14px;overflow-x:auto;padding:0 20px 4px;scroll-snap-type:x proximity;scroll-padding-inline:20px;}
/* Guarantees a 20px gutter after the last card so it never sits flush to the edge when scrolled to the end. */
.scroller::after{content:"";flex:0 0 6px;}
.scroller::-webkit-scrollbar{display:none;}
.scroller>*{scroll-snap-align:start;flex-shrink:0;}

/* ================= HEADER ================= */
.large-title{display:flex;align-items:flex-start;justify-content:space-between;padding:14px 20px 16px;gap:12px;}
.large-title .greet{font-size:13.5px;color:var(--text-3);font-weight:600;letter-spacing:.3px;text-transform:uppercase;margin-bottom:3px;}
.large-title h1{font-size:32px;font-weight:700;letter-spacing:-0.9px;line-height:1.1;}
.head-tools{display:flex;align-items:center;gap:9px;flex-shrink:0;padding-top:4px;}
.theme-toggle{
  width:56px;height:30px;border-radius:100px;background:var(--surface-2);
  border:1px solid var(--hairline);position:relative;flex-shrink:0;
}
.theme-toggle .knob{
  position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:50%;
  background:var(--surface);box-shadow:0 1px 4px rgba(0,0,0,.28);
  display:flex;align-items:center;justify-content:center;
  transition:transform .28s cubic-bezier(.32,.72,0,1);
}
:root[data-theme="dark"] .theme-toggle .knob{transform:translateX(26px);}
.theme-toggle .ic{position:absolute;top:7px;color:var(--text-3);}
.theme-toggle .ic.sun{left:8px;}
.theme-toggle .ic.moon{right:8px;}
.avatar{
  width:34px;height:34px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(150deg,#2FBF71,#0E7C4A);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;
}

/* ================= SUGGESTION BANNER ================= */
.suggest{
  margin:0 20px 30px;border-radius:18px;overflow:hidden;position:relative;
  background:linear-gradient(165deg,#0E5B3C 0%,#127A4E 48%,#2FBF71 100%);
  padding:20px;color:#fff;
}
.suggest:after{content:"";position:absolute;inset:0;background:radial-gradient(120% 70% at 82% 0%,rgba(255,255,255,.2),transparent 62%);pointer-events:none;}
.suggest .s-eyebrow{
  position:relative;z-index:1;display:flex;align-items:center;gap:7px;
  font-size:11.5px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;
  color:rgba(255,255,255,.78);margin-bottom:10px;
}
.suggest h2{position:relative;z-index:1;font-size:22px;font-weight:700;letter-spacing:-0.5px;line-height:1.25;margin-bottom:7px;}
.suggest p{position:relative;z-index:1;font-size:14.5px;color:rgba(255,255,255,.8);line-height:1.45;margin-bottom:16px;}
.suggest .s-row{position:relative;z-index:1;display:flex;gap:10px;}
.suggest .s-btn{
  background:#fff;color:#0B3D2C;border-radius:11px;padding:12px 18px;
  font-size:15px;font-weight:600;display:flex;align-items:center;gap:7px;
}
.suggest .s-alt{
  background:rgba(255,255,255,.18);color:#fff;border-radius:11px;padding:12px 18px;
  font-size:15px;font-weight:600;
}

/* ================= SECTIONS ================= */
.sec{margin-bottom:34px;}
.sec-head{display:flex;align-items:center;gap:5px;padding:6px 20px 13px;}
.sec-head h3{font-size:21px;font-weight:700;letter-spacing:-0.6px;}
.sec-head .sub{font-size:13px;color:var(--text-3);padding:0 20px 12px;margin-top:-9px;}

/* ================= ART ================= */
.art{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:10px;background-size:cover;background-position:center;}
.art .aimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.art .ashade{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,.15) 48%,rgba(0,0,0,0) 100%);}
.art .aglow{position:absolute;inset:0;background:radial-gradient(100% 65% at 15% 8%,rgba(255,255,255,.2),transparent 62%);}
.art .atag{position:relative;z-index:2;font-size:8.5px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;opacity:.78;margin-bottom:5px;color:#fff;}
.art .aname{position:relative;z-index:2;font-size:15px;font-weight:800;letter-spacing:-0.5px;line-height:.98;text-transform:uppercase;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.4);}
.art.sm .aname{font-size:11px;}
.art.sm .atag{font-size:6.5px;letter-spacing:1px;margin-bottom:3px;}
.art.xl .aname{font-size:28px;}
.art.xl .atag{font-size:11px;letter-spacing:2px;margin-bottom:8px;}

/* ================= CARDS ================= */
.feature{width:268px;border-radius:18px;background:var(--surface);padding:16px;border:1px solid var(--hairline);display:flex;flex-direction:column;}
.feature .art{width:100%;aspect-ratio:1;border-radius:11px;margin-bottom:13px;}
.feature .desc{font-size:14.5px;color:var(--text-2);line-height:1.42;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:62px;}
.feature .rating{font-size:13px;color:var(--text-3);margin-bottom:14px;display:flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums;}
.feature .row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;}
.play-pill{background:var(--surface-2);border-radius:100px;padding:9px 17px;font-size:14.5px;font-weight:600;display:flex;align-items:center;gap:7px;}
.plus{width:36px;height:36px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--text-2);flex-shrink:0;transition:.15s;}
.plus.on{background:var(--green);color:var(--green-ink);}
.tile{width:158px;}
.tile .art{width:158px;height:158px;border-radius:11px;margin-bottom:9px;}
.tile .t-name{font-size:15px;font-weight:600;letter-spacing:-0.25px;margin-bottom:1px;}
.tile .t-sub{font-size:13.5px;color:var(--text-3);}
.res-row{display:flex;align-items:center;gap:14px;padding:11px 20px;}
.res-row .art{width:56px;height:56px;border-radius:9px;flex-shrink:0;}
.res-row .r-name{font-size:16px;font-weight:600;letter-spacing:-0.3px;margin-bottom:2px;}
.res-row .r-sub{font-size:13.5px;color:var(--text-3);}
.continue{margin:0 20px;border-radius:18px;background:var(--surface);padding:16px;display:flex;flex-direction:column;gap:14px;border:1px solid var(--hairline);}
.continue-top{display:flex;gap:14px;align-items:flex-start;}
.continue .art{width:62px;height:62px;border-radius:9px;flex-shrink:0;}
.continue .eyebrow{font-size:12px;color:var(--text-3);font-weight:700;letter-spacing:.7px;margin-bottom:3px;}
.continue h4{font-size:16.5px;font-weight:600;letter-spacing:-0.3px;line-height:1.3;margin-bottom:4px;}
.continue p{font-size:14px;color:var(--text-2);line-height:1.4;}
.continue-bar{display:flex;align-items:center;gap:12px;}
.resume-btn{background:var(--surface-2);border-radius:100px;padding:8px 16px;font-size:14.5px;font-weight:600;display:flex;align-items:center;gap:7px;}
.thin-track{flex:1;height:3px;background:var(--surface-3);border-radius:3px;overflow:hidden;}
.thin-track i{display:block;height:100%;background:var(--green);border-radius:3px;}
.thin-label{font-size:12.5px;color:var(--text-3);font-variant-numeric:tabular-nums;}

/* ================= DOCK ================= */
.dock{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;padding:0 14px calc(14px + env(safe-area-inset-bottom));pointer-events:none;z-index:60;}
.mini{pointer-events:auto;background:var(--dock-bg);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);border:0.5px solid var(--dock-line);border-radius:100px;display:flex;align-items:center;gap:12px;padding:9px 14px;margin-bottom:9px;box-shadow:var(--shadow);}
.mini .m-art{width:32px;height:32px;border-radius:7px;flex-shrink:0;background:var(--surface-3);background-size:cover;background-position:center;}
.mini .m-txt{flex:1;min-width:0;}
.mini .m-title{font-size:14.5px;font-weight:600;letter-spacing:-0.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mini .m-sub{font-size:12px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tabbar{pointer-events:auto;display:flex;gap:9px;align-items:center;}
.tabs{flex:1;display:flex;background:var(--dock-bg);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);border:0.5px solid var(--dock-line);border-radius:100px;padding:5px;box-shadow:var(--shadow);}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 2px 6px;border-radius:100px;font-size:10.5px;font-weight:500;color:var(--text-3);letter-spacing:-0.1px;transition:.2s;}
.tab.on{color:var(--text);background:var(--dock-active);font-weight:600;}
.tab svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.tab.on svg{stroke-width:2;}
.search-fab{width:52px;height:52px;border-radius:50%;flex-shrink:0;background:var(--dock-bg);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);border:0.5px solid var(--dock-line);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);}
.search-fab svg{width:22px;height:22px;stroke:var(--text);fill:none;stroke-width:1.8;stroke-linecap:round;}
.dock.hidden{display:none;}

/* ================= NAV / DETAIL ================= */
.nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(to bottom,var(--bg),transparent);}
.nav-btn{width:34px;height:34px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;}
.nav-btn svg{width:18px;height:18px;stroke:var(--text);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.detail-hero{position:relative;padding:4px 20px 0;margin-top:-58px;}
.detail-glow{position:absolute;top:-40px;left:0;right:0;height:300px;filter:blur(60px);opacity:.34;z-index:0;background-size:cover;background-position:center;}
.detail-hero .art{width:172px;height:172px;border-radius:14px;margin:70px auto 20px;position:relative;z-index:1;box-shadow:0 18px 48px rgba(0,0,0,.5);}
.detail-meta{position:relative;z-index:1;text-align:center;padding:0 8px;}
.detail-meta h2{font-size:26px;font-weight:700;letter-spacing:-0.7px;line-height:1.2;margin-bottom:5px;}
.detail-meta .region{font-size:15px;color:var(--green);font-weight:600;margin-bottom:16px;}
.stat-row{display:flex;justify-content:center;margin-bottom:22px;}
.stat{padding:0 16px;position:relative;}
.stat+.stat:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:1px;background:var(--hairline);}
.stat b{display:block;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;}
.stat span{font-size:11px;color:var(--text-3);text-transform:uppercase;letter-spacing:.6px;font-weight:700;}
.cta-row{display:flex;gap:10px;padding:0 20px 26px;}
.cta{flex:1;background:var(--green);color:var(--green-ink);border-radius:13px;padding:15px;font-size:16.5px;font-weight:600;letter-spacing:-0.3px;display:flex;align-items:center;justify-content:center;gap:8px;}
.cta:active{opacity:.82;}
.cta-ghost{flex:0 0 52px;background:var(--surface);border:1px solid var(--hairline);border-radius:13px;display:flex;align-items:center;justify-content:center;}
.cta-ghost svg{width:20px;height:20px;stroke:var(--text);fill:none;stroke-width:1.9;stroke-linecap:round;}
.cta-ghost.on svg{stroke:var(--green);fill:var(--green);}
.body-sec{padding:0 20px 28px;}
.body-sec h5{font-size:20px;font-weight:700;letter-spacing:-0.5px;margin-bottom:12px;}
.body-sec p{font-size:15.5px;color:var(--text-2);line-height:1.55;}
.kv{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:0.5px solid var(--hairline);font-size:15.5px;}
.kv:last-child{border-bottom:none;}
.kv span{color:var(--text-2);font-variant-numeric:tabular-nums;flex-shrink:0;}
.equip{display:flex;flex-wrap:wrap;gap:8px;}
.equip li{background:var(--surface);border:1px solid var(--hairline);padding:8px 14px;border-radius:100px;font-size:14px;color:var(--text-2);}

/* ================= CHECKLIST ================= */
.check-head{padding:0 20px 8px;}
.check-head h2{font-size:28px;font-weight:700;letter-spacing:-0.7px;margin-bottom:6px;}
.check-head p{font-size:15px;color:var(--text-2);}
.check-count{padding:14px 20px 6px;font-size:12.5px;color:var(--text-3);font-weight:700;letter-spacing:.6px;text-transform:uppercase;}
.check-list{padding:0 20px;}
.crow{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:0.5px solid var(--hairline);}
.cbox{width:24px;height:24px;border-radius:50%;border:1.6px solid var(--text-3);flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:.15s;}
.cbox svg{width:13px;height:13px;stroke:var(--green-ink);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:0;}
.crow.on .cbox{background:var(--green);border-color:var(--green);}
.crow.on .cbox svg{opacity:1;}
.crow .cname{flex:1;font-size:16px;letter-spacing:-0.2px;}
.crow.on .cname,.crow.on .camt{color:var(--text-3);}
.crow .camt{font-size:14.5px;color:var(--text-2);font-variant-numeric:tabular-nums;flex-shrink:0;}

/* ================= COOKING ================= */
#cook{padding-bottom:0;}
.cook-nav{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;}
.cook-nav .ttl{font-size:14px;font-weight:600;color:var(--text-2);}
.cook-nav .cnt{font-size:14px;color:var(--text-3);font-variant-numeric:tabular-nums;min-width:44px;text-align:right;}
.segbar{display:flex;gap:4px;padding:0 18px 26px;}
.seg{flex:1;height:3px;border-radius:3px;background:var(--surface-3);overflow:hidden;}
.seg i{display:block;height:100%;width:0;background:var(--green);border-radius:3px;transition:width .35s ease;}
.cook-body{padding:0 22px 180px;}
.step-num{font-size:11.5px;font-weight:700;letter-spacing:2.2px;color:var(--green);text-transform:uppercase;margin-bottom:12px;}
.step-h{font-size:29px;font-weight:700;letter-spacing:-0.9px;line-height:1.16;margin-bottom:14px;}
.step-p{font-size:17px;color:var(--text-2);line-height:1.55;margin-bottom:24px;}
.step-p b{color:var(--text);font-weight:600;}
.step-art{width:100%;aspect-ratio:16/10;border-radius:14px;margin-bottom:22px;box-shadow:0 14px 40px rgba(0,0,0,.4);}
.timer{background:var(--surface);border:1px solid var(--hairline);border-radius:16px;padding:16px 18px;margin-bottom:16px;display:flex;align-items:center;gap:16px;}
.ring{width:56px;height:56px;flex-shrink:0;position:relative;}
.ring svg{transform:rotate(-90deg);width:56px;height:56px;}
.ring circle{fill:none;stroke-width:3.5;stroke-linecap:round;}
.ring .bg{stroke:var(--surface-3);}
.ring .fg{stroke:var(--amber);transition:stroke-dashoffset 1s linear;}
.ring .num{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;}
.timer .t-txt{flex:1;}
.timer .t-lbl{font-size:11.5px;color:var(--text-3);text-transform:uppercase;letter-spacing:.8px;font-weight:700;margin-bottom:2px;}
.timer .t-val{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;}
.t-btn{background:var(--surface-2);border-radius:100px;padding:10px 20px;font-size:15px;font-weight:600;min-width:86px;text-align:center;}
.t-btn.run{background:var(--amber);color:var(--amber-ink);}
.t-btn.fin{background:var(--green);color:var(--green-ink);}
.tip{background:var(--surface);border:1px solid var(--hairline);border-radius:16px;padding:16px 18px;}
.tip .tl{font-size:11px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--green);margin-bottom:7px;}
.tip p{font-size:15px;color:var(--text-2);line-height:1.5;}
.cook-dock{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;z-index:70;padding:22px 20px calc(24px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--bg) 58%,transparent);display:flex;gap:11px;}
.nav-circ{width:54px;height:54px;border-radius:50%;flex-shrink:0;background:var(--surface);border:1px solid var(--hairline);display:flex;align-items:center;justify-content:center;}
.nav-circ svg{width:19px;height:19px;stroke:var(--text);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.next-btn{flex:1;background:var(--green);color:var(--green-ink);border-radius:15px;font-size:17px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;}

/* ================= DONE ================= */
#done .wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 30px;text-align:center;}
#done .art{width:150px;height:150px;border-radius:16px;margin-bottom:30px;box-shadow:0 18px 48px rgba(0,0,0,.4);}
#done h2{font-size:29px;font-weight:700;letter-spacing:-0.8px;margin-bottom:10px;}
#done p{font-size:16px;color:var(--text-2);line-height:1.5;margin-bottom:34px;}
#done .cta{width:100%;margin-bottom:10px;}
#done .ghost{width:100%;background:var(--surface);border:1px solid var(--hairline);border-radius:13px;padding:15px;font-size:16.5px;font-weight:600;}

/* ================= SEARCH ================= */
.search-bar{margin:0 20px 20px;background:var(--surface);border:1px solid var(--hairline);border-radius:11px;display:flex;align-items:center;gap:9px;padding:11px 14px;}
.search-bar svg{width:17px;height:17px;stroke:var(--text-3);fill:none;stroke-width:2;stroke-linecap:round;flex-shrink:0;}
.search-bar input{flex:1;background:none;border:none;outline:none;color:var(--text);font-size:17px;}
.search-bar input::placeholder{color:var(--text-3);}
.empty{padding:60px 40px;text-align:center;color:var(--text-3);font-size:15px;line-height:1.5;}

/* ================= PROFILE ================= */
.prof-head{display:flex;flex-direction:column;align-items:center;padding:10px 20px 26px;text-align:center;}
.prof-av{width:82px;height:82px;border-radius:50%;background:linear-gradient(150deg,#2FBF71,#0E7C4A);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:600;margin-bottom:14px;}
.prof-head h2{font-size:23px;font-weight:700;letter-spacing:-0.5px;margin-bottom:3px;}
.prof-head .email{font-size:14.5px;color:var(--text-3);}
.prof-stats{display:flex;gap:10px;padding:0 20px 28px;}
.pstat{flex:1;background:var(--surface);border:1px solid var(--hairline);border-radius:14px;padding:14px 10px;text-align:center;}
.pstat b{display:block;font-size:21px;font-weight:700;letter-spacing:-0.4px;font-variant-numeric:tabular-nums;}
.pstat span{font-size:11.5px;color:var(--text-3);text-transform:uppercase;letter-spacing:.5px;font-weight:600;}
.group{padding:0 20px 26px;}
.group-t{font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--text-3);padding:0 4px 9px;}
.group-box{background:var(--surface);border:1px solid var(--hairline);border-radius:14px;overflow:hidden;}
.grow{display:flex;align-items:center;gap:13px;padding:14px 16px;border-bottom:0.5px solid var(--hairline);}
.grow:last-child{border-bottom:none;}
.grow .gi{width:26px;flex-shrink:0;display:flex;}
.grow .gi svg{width:20px;height:20px;stroke:var(--text-2);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.grow .gt{flex:1;font-size:16px;letter-spacing:-0.2px;}
.grow .gv{font-size:15px;color:var(--text-3);}
.grow .chev{width:16px;height:16px;stroke:var(--text-3);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.grow.danger .gt{color:#FF453A;}
:root[data-theme="light"] .grow.danger .gt{color:#C6231A;}
.grow.danger .gi svg{stroke:#FF453A;}
:root[data-theme="light"] .grow.danger .gi svg{stroke:#C6231A;}
.seg-ctl{display:flex;background:var(--surface-2);border-radius:9px;padding:2px;gap:2px;}
.seg-ctl button{padding:6px 12px;border-radius:7px;font-size:13.5px;font-weight:600;color:var(--text-2);}
.seg-ctl button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.16);}
.legal-note{padding:0 24px 40px;font-size:12.5px;color:var(--text-3);line-height:1.6;text-align:center;}

/* ================= AUTH ================= */
#auth{padding-bottom:40px;}
.auth-wrap{min-height:100vh;display:flex;flex-direction:column;padding:60px 24px 40px;}
.auth-brand{font-size:13px;font-weight:700;letter-spacing:2.6px;text-transform:uppercase;color:var(--green);margin-bottom:14px;}
.auth-wrap h1{font-size:33px;font-weight:700;letter-spacing:-1px;line-height:1.15;margin-bottom:10px;}
.auth-wrap .sub{font-size:16px;color:var(--text-2);line-height:1.5;margin-bottom:32px;}
.field{margin-bottom:14px;}
.field label{display:block;font-size:12.5px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;color:var(--text-3);margin-bottom:7px;}
.field input{width:100%;background:var(--surface);border:1px solid var(--hairline);border-radius:12px;padding:15px 16px;font-size:16.5px;color:var(--text);outline:none;transition:border-color .18s;}
.field input:focus{border-color:var(--green);}
.field .hint{font-size:12.5px;color:var(--text-3);margin-top:6px;line-height:1.45;}
.consent{display:flex;gap:12px;padding:14px 0;align-items:flex-start;}
.consent .box{width:22px;height:22px;border-radius:6px;border:1.6px solid var(--text-3);flex-shrink:0;margin-top:1px;display:flex;align-items:center;justify-content:center;transition:.15s;}
.consent .box svg{width:12px;height:12px;stroke:var(--green-ink);fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;opacity:0;}
.consent.on .box{background:var(--green);border-color:var(--green);}
.consent.on .box svg{opacity:1;}
.consent .ct{font-size:14px;line-height:1.5;color:var(--text-2);}
.consent .ct b{color:var(--text);font-weight:600;}
.consent .req{color:var(--green);font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;margin-left:4px;}
.auth-btn{width:100%;background:var(--green);color:var(--green-ink);border-radius:13px;padding:16px;font-size:17px;font-weight:600;margin-top:20px;transition:.2s;}
.auth-btn:disabled{opacity:.4;}
.auth-alt{text-align:center;font-size:15px;color:var(--text-2);margin-top:22px;}
.auth-alt button{color:var(--green);font-weight:600;}
.auth-skip{text-align:center;margin-top:26px;}
.auth-skip button{font-size:14.5px;color:var(--text-3);text-decoration:underline;text-underline-offset:3px;}
.ndpa-note{background:var(--surface);border:1px solid var(--hairline);border-radius:13px;padding:14px 16px;margin-top:22px;display:flex;gap:11px;}
.ndpa-note svg{width:18px;height:18px;stroke:var(--green);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;margin-top:2px;}
.ndpa-note p{font-size:13px;color:var(--text-2);line-height:1.55;}
.ndpa-note b{color:var(--text);font-weight:600;}

/* ================= SHEET ================= */
.sheet-scrim{position:fixed;inset:0;background:var(--scrim);z-index:90;opacity:0;pointer-events:none;transition:opacity .25s;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);}
.sheet-scrim.on{opacity:1;pointer-events:auto;}
.sheet{position:fixed;bottom:0;left:50%;transform:translateX(-50%) translateY(100%);width:100%;max-width:430px;background:var(--bg);border-radius:22px 22px 0 0;z-index:91;padding:10px 22px calc(30px + env(safe-area-inset-bottom));transition:transform .32s cubic-bezier(.32,.72,0,1);max-height:86vh;overflow-y:auto;}
.sheet.on{transform:translateX(-50%) translateY(0);}
.grabber{width:38px;height:5px;border-radius:5px;background:var(--surface-3);margin:0 auto 18px;}
.sheet h3{font-size:22px;font-weight:700;letter-spacing:-0.5px;margin-bottom:8px;}
.sheet p{font-size:15px;color:var(--text-2);line-height:1.55;margin-bottom:16px;}
.sheet h4{font-size:15px;font-weight:700;margin:18px 0 6px;}
.sheet ul.bul{padding-left:18px;}
.sheet ul.bul li{list-style:disc;font-size:14.5px;color:var(--text-2);line-height:1.55;margin-bottom:7px;}
