/* OTCHeader styles - extracted from OTCHeader.astro */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
/* ── HEADER ── */
.h{background:#0a0a0a;position:sticky;top:0;z-index:50;border-bottom:1px solid #1a1a1a;width:100%;flex-shrink:0;-webkit-font-smoothing:antialiased;transform:translateY(0);transition:transform 280ms cubic-bezier(.22,1,.36,1);will-change:transform}
.h.is-hidden{transform:translateY(-100%)}
.h-clip{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.h button:active,.h a:active,.logo:active{transform:scale(.95);transition:transform .1s ease}
.gl{position:absolute;pointer-events:none}
.gl-l{top:30px;left:-60px;width:280px;height:180px;background:radial-gradient(circle,rgba(232,123,0,.18) 0%,rgba(232,123,0,.06) 40%,transparent 70%);filter:blur(8px)}
.gl-r{top:70px;right:-50px;width:200px;height:140px;background:radial-gradient(circle,rgba(232,123,0,.10) 0%,transparent 65%);filter:blur(12px)}
/* ROW1 */
.r1{display:flex;align-items:center;justify-content:space-between;padding:max(4px,env(safe-area-inset-top)) 16px 12px;gap:12px;position:relative}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo{text-decoration:none;font-weight:800;font-size:22.5px;letter-spacing:-.6px;line-height:1;white-space:nowrap;text-shadow:0 0 22px rgba(232,123,0,.18);cursor:pointer;display:inline-flex;align-items:center}
.wm-w{color:#fff}
.wm-t{background:linear-gradient(180deg,#ffba5c 0%,#e87b00 60%,#c76200 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 8px rgba(232,123,0,.5))}
@supports not((-webkit-background-clip:text) or (background-clip:text)){.wm-t{color:#e87b00;-webkit-text-fill-color:initial;background:none}}
.acts{display:flex;align-items:center;gap:12px;flex-shrink:0}
.lang-btn{display:inline-flex;align-items:center;gap:5px;padding:0;background:transparent;border:0;cursor:pointer;position:relative;-webkit-tap-highlight-color:transparent}
.flag{display:flex;border-radius:3px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.4)}
.lang-chev{color:rgba(255,255,255,.55);transition:transform .2s ease;flex-shrink:0}
.lang-btn[aria-expanded="true"] .lang-chev{transform:rotate(180deg)}
.lang-wr{margin-left:14px}
@media(max-width:389px){.lang-wr{margin-left:0}}
.acts-div{width:1px;height:18px;background:linear-gradient(180deg,transparent,#2a2a2e,transparent)}
.icap{display:flex;align-items:center;gap:2px;background:linear-gradient(180deg,#18181a,#101012);border:1px solid #232327;border-radius:999px;padding:3px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.ibtn{width:32px;height:32px;border-radius:16px;background:transparent;border:0;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;text-decoration:none;position:relative;-webkit-tap-highlight-color:transparent;color:inherit}
.bdg{position:absolute;top:-1px;right:-1px;min-width:15px;height:15px;padding:0 3.5px;border-radius:8px;background:#e87b00;color:#fff;font-size:9px;font-weight:800;display:none;align-items:center;justify-content:center;line-height:1;border:1.5px solid #0a0a0a;box-sizing:content-box;pointer-events:none}
.bdg.on{display:inline-flex}
/* ROW2 */
.r2{background:linear-gradient(90deg,rgba(232,123,0,.08) 0%,rgba(232,123,0,.02) 60%,transparent 100%);border:0;border-top:1px solid rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.04);cursor:pointer;display:flex;align-items:center;gap:12px;padding:12px 16px;width:100%;font-family:inherit;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}
.r2-stripe{position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,transparent,#e87b00,transparent)}
.r2-box{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,rgba(232,123,0,.18),rgba(232,123,0,.05));border:1px solid rgba(232,123,0,.25);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.r2-lbl{font-size:14.5px;font-weight:600;color:#fff;letter-spacing:-.2px;white-space:nowrap;flex:1;text-align:left}
.r2-chev{opacity:.4;flex-shrink:0}
/* ROW3 */
.r3{display:flex;align-items:center;padding:10px 16px 14px}
/* responsive */
@media(max-width:359px){
  .r1{padding-left:12px;padding-right:12px;gap:8px}
  .logo{font-size:17.5px;letter-spacing:-.5px}
  .acts-div{display:none}
  .acts{gap:8px}
  .icap{padding:2px;gap:0}
  .ibtn{width:30px;height:30px}
  .ibtn svg{width:20px;height:20px}
  .r2{padding:10px 12px;gap:10px}
  .r2-box{width:28px;height:28px}
  .r2-lbl{font-size:13.5px}
  .r3{padding:8px 12px 12px}
}
@media(min-width:360px) and (max-width:389px){
  .r1{padding-left:14px;padding-right:14px}
  .acts{gap:10px}
  .acts-div{display:none}
}
@media(prefers-reduced-motion:reduce){.h,.h *{animation-duration:.01ms!important;transition-duration:.01ms!important;transition:none!important}}
@media(hover:none){.ibtn:active{background:rgba(255,255,255,.08)}}
@supports not(position:sticky){.h{position:fixed;top:0;left:0;right:0}}
/* topbar strip */
.topbar-strip{position:relative;height:30px;background:linear-gradient(180deg,rgba(232,123,0,.14) 0%,rgba(232,123,0,.05) 70%,transparent 100%),#000;border-bottom:1px solid rgba(232,123,0,.18);display:flex;align-items:center;justify-content:center;gap:10px;overflow:hidden;z-index:2;width:100%}
.topbar-strip .ts-bar{width:14px;height:1px;background:rgba(232,123,0,.4);flex-shrink:0}
.topbar-strip .ts-label{display:flex;align-items:center;gap:7px;font-family:-apple-system,"SF Pro Display",system-ui,sans-serif;font-size:9.5px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;line-height:1;white-space:nowrap;flex-shrink:0}
.topbar-strip .ts-tag{color:#e87b00}
.topbar-strip .ts-sep{color:rgba(232,123,0,.42);font-weight:500}
.topbar-strip .ts-text{color:#d8d8de;font-weight:500;letter-spacing:1.1px}
html[lang="zh"] .topbar-strip .ts-text,.topbar-strip[data-lang="zh"] .ts-text{letter-spacing:.5px}
/* lang dropdown */
.lang-dd{position:absolute;top:calc(100% + 8px);right:-8px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;padding:4px;min-width:140px;z-index:200;display:none;box-shadow:0 8px 32px rgba(0,0,0,.7)}
.lang-dd.on{display:block}
.lang-dd button{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;background:transparent;border:0;color:#fff;font-size:13px;font-family:inherit;cursor:pointer;border-radius:8px;white-space:nowrap}
.lang-dd button:active,.lang-dd button.cur{background:rgba(255,255,255,.06)}
.lang-dd button.cur{color:#e87b00}
.lang-code{font-size:11px;color:#8a8a8e;margin-left:auto}
/* bottom sheets (.sw = old plain sheets for wish/cart) */
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.sw{position:fixed;inset:0;z-index:120;display:none;flex-direction:column;font-family:-apple-system,'SF Pro Text',system-ui,sans-serif;letter-spacing:-.1px}
.sw.on{display:flex}
.sw-bd{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);transition:background 200ms}
.sw-in{position:relative;margin-top:auto;background:#fff;border-top-left-radius:22px;border-top-right-radius:22px;box-shadow:rgba(0,0,0,.2) 0 -8px 24px;max-height:92%;display:flex;flex-direction:column;transition:transform 240ms cubic-bezier(.22,1,.36,1);touch-action:pan-y}
.sw.on .sw-in{animation:sheetUp 260ms cubic-bezier(.22,1,.36,1) both}
.sw-drag{padding:10px 0 6px;display:flex;justify-content:center;cursor:grab;touch-action:none}
.sw-pill{width:40px;height:5px;border-radius:3px;background:rgb(209,209,214)}
.sw-hdr{padding:12px 16px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgb(236,236,236)}
.sw-title{font-size:17px;font-weight:700;color:rgb(17,17,17);letter-spacing:-.4px;font-family:-apple-system,'SF Pro Display',system-ui}
.sw-x{width:32px;height:32px;border-radius:16px;background:rgb(244,244,246);border:0;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sw-body{flex:1;overflow-y:auto;overscroll-behavior:contain;background:rgb(250,250,250)}
.sw-empty{padding:64px 32px 48px;text-align:center;display:flex;flex-direction:column;align-items:center}
.sw-ei{width:88px;height:88px;border-radius:22px;background:rgb(244,244,246);display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.sw-et{font-size:22px;font-weight:700;color:rgb(17,17,17);letter-spacing:-.6px;font-family:-apple-system,'SF Pro Display',system-ui;margin-bottom:8px}
.sw-es{font-size:13.5px;color:rgb(138,138,142);max-width:260px;line-height:1.45;margin-bottom:22px}
.sw-cta{height:46px;padding:0 22px;border-radius:12px;border:0;background:rgb(232,123,0);color:#fff;font-size:14px;font-weight:700;letter-spacing:-.1px;cursor:pointer;font-family:inherit;box-shadow:rgba(232,123,0,.25) 0 6px 14px}
/* category overlay */
.cats{position:fixed;inset:0;background:#0a0a0a;z-index:9999;transform:translateX(100%);transition:transform .3s cubic-bezier(.25,.8,.25,1);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.cats.on{transform:translateX(0)}
.cats-hdr{display:flex;align-items:center;justify-content:space-between;padding:max(14px,env(safe-area-inset-top)) 16px 14px;border-bottom:1px solid #1a1a1a;position:sticky;top:0;background:#0a0a0a;z-index:1}
.cats-hdr h2{font-size:17px;font-weight:600;letter-spacing:-.3px}
.cats-close{background:transparent;border:0;cursor:pointer;padding:6px;color:#8a8a8e;display:flex;-webkit-tap-highlight-color:transparent}
.cat-item{display:flex;align-items:center;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.04);cursor:pointer;-webkit-tap-highlight-color:transparent}
.cat-item:active{background:rgba(255,255,255,.04)}
.cat-name{font-size:15px;color:#fff;flex:1;letter-spacing:-.2px}
.cat-count{font-size:12px;color:#555;margin-right:8px}
.cat-chev{opacity:.25;flex-shrink:0}
/* glass search pill */
.otc-searchbar{height:46px;padding:0 5px 0 16px;border-radius:23px;display:flex;align-items:center;gap:8px;flex:1;background:rgba(255,255,255,.06);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 1px 0 rgba(0,0,0,.5);transition:background .15s,border-color .15s,box-shadow .15s}
.otc-searchbar:focus-within{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.22);box-shadow:0 0 0 3px rgba(255,255,255,.07),inset 0 1px 0 rgba(255,255,255,.10),0 1px 0 rgba(0,0,0,.5)}/*DEV1-UI-ORANGE-AND-FLASH-V1*/
.otc-searchbar__icon{color:#a8a8b0;flex-shrink:0;transition:color .15s}
.otc-searchbar:has(.otc-searchbar__input:not(:placeholder-shown)) .otc-searchbar__icon{color:#e87b00}
.otc-searchbar__input{flex:1;min-width:0;background:transparent;border:none;outline:none;padding:0;color:#fff;font-family:-apple-system,"SF Pro Text",system-ui,sans-serif;font-size:14.5px;letter-spacing:-.1px;-webkit-appearance:none;appearance:none}
.otc-searchbar__input::placeholder{color:#9a9aa2;opacity:1}
.otc-searchbar__input::-webkit-search-cancel-button,.otc-searchbar__input::-webkit-search-decoration{-webkit-appearance:none;display:none}
.otc-searchbar__cam{width:32px;height:32px;border-radius:16px;padding:0;flex-shrink:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#a8a8b0;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .12s,color .12s}
.otc-searchbar__cam:hover,.otc-searchbar__cam:focus-visible{background:rgba(255,255,255,.10);color:#fff;outline:none}
.otc-searchbar__cam:active{background:rgba(255,255,255,.04)}
.otc-searchbar__ai{height:32px;padding:0 12px 0 10px;border-radius:16px;flex-shrink:0;background:linear-gradient(180deg,rgba(232,123,0,.22) 0%,rgba(232,123,0,.08) 100%);border:1px solid rgba(232,123,0,.42);color:#ffba5c;font-family:-apple-system,"SF Pro Display",system-ui,sans-serif;font-size:12px;font-weight:700;letter-spacing:.3px;display:inline-flex;align-items:center;gap:6px;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 0 14px rgba(232,123,0,.20);cursor:pointer;transition:background .12s,border-color .12s,transform .08s}
.otc-searchbar__ai:hover,.otc-searchbar__ai:focus-visible{background:linear-gradient(180deg,rgba(232,123,0,.32) 0%,rgba(232,123,0,.14) 100%);border-color:rgba(232,123,0,.60);outline:none}
.otc-searchbar__ai:active{transform:scale(.96)}
@media(prefers-reduced-motion:reduce){.otc-searchbar,.otc-searchbar__icon,.otc-searchbar__cam,.otc-searchbar__ai{transition:none}}
@supports not((backdrop-filter:blur(20px)) or (-webkit-backdrop-filter:blur(20px))){.otc-searchbar{background:linear-gradient(180deg,#1f1f22 0%,#18181b 100%);border:1px solid #232327}}
.mob-sg{position:absolute;left:0;right:0;top:calc(100% + 4px);background:#16181f;border:1px solid #2a2a35;border-radius:10px;box-shadow:0 8px 28px rgba(0,0,0,.55);z-index:200;max-height:320px;overflow-y:auto;padding:2px 0}
.mob-sg-item{display:flex;align-items:center;gap:6px;padding:11px 14px;text-decoration:none;color:#ddd;font-size:13px;-webkit-tap-highlight-color:transparent;min-height:44px}
.mob-sg-item:active{background:rgba(232,123,0,.12)}
.mob-sg-txt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mob-sg-hl{color:#e87b00;font-weight:600}
.mob-sg-cnt{color:#666;font-size:11px;flex-shrink:0}
.mob-sg-badge{display:inline-block;font-size:10px;padding:1px 5px;border-radius:5px;margin-right:5px;flex-shrink:0;background:rgba(232,123,0,.15);color:#e87b00}
.mob-sg-all{display:flex;align-items:center;justify-content:center;padding:10px 14px;text-align:center;font-size:12px;font-weight:600;color:#e87b00;text-decoration:none;border-top:1px solid #2a2a35;min-height:40px}
/* AI launch overlay */
.otc-ai-launch{position:fixed;inset:0;z-index:9000;pointer-events:none;opacity:0;background:transparent;perspective:1400px;transition:background 500ms ease,opacity 200ms ease;--cx:50vw;--cy:50vh;--lift:0px}
.otc-ai-launch.is-active{opacity:1;pointer-events:auto;background:radial-gradient(circle at var(--cx) calc(var(--cy) + var(--lift)),rgba(232,123,0,.18) 0%,rgba(0,0,0,.55) 50%)}
.otc-ai-launch__hands{position:absolute;left:var(--cx);top:calc(var(--cy) + var(--lift) + 80px);width:240px;height:100px;margin-left:-120px;opacity:0;transition:top 540ms cubic-bezier(.22,1,.36,1),opacity 400ms ease;filter:drop-shadow(0 6px 14px rgba(0,0,0,.6))}
.otc-ai-launch.is-phase-1 .otc-ai-launch__hands,.otc-ai-launch.is-phase-2 .otc-ai-launch__hands{opacity:.92}
.otc-ai-launch__brain{position:absolute;left:var(--cx);top:calc(var(--cy) + var(--lift));width:60px;height:60px;margin-left:-30px;margin-top:-30px;opacity:0;filter:drop-shadow(0 0 18px rgba(255,180,90,.9)) drop-shadow(0 0 4px rgba(255,220,160,1));transition:width 540ms cubic-bezier(.22,1,.36,1),height 540ms cubic-bezier(.22,1,.36,1),margin 540ms cubic-bezier(.22,1,.36,1),top 540ms cubic-bezier(.22,1,.36,1),opacity 380ms ease}
.otc-ai-launch.is-phase-1 .otc-ai-launch__brain{width:130px;height:130px;margin-left:-65px;margin-top:-65px;opacity:1}
.otc-ai-launch.is-phase-2 .otc-ai-launch__brain{width:170px;height:170px;margin-left:-85px;margin-top:-85px;opacity:1;animation:otcBrainBreath 1.4s ease-in-out infinite}
.otc-ai-launch.is-phase-3 .otc-ai-launch__brain{opacity:0}
@keyframes otcBrainBreath{0%,100%{filter:drop-shadow(0 0 26px rgba(255,180,90,.8)) drop-shadow(0 0 6px rgba(255,220,160,.9))}50%{filter:drop-shadow(0 0 42px rgba(255,180,90,1)) drop-shadow(0 0 10px rgba(255,220,160,1))}}
.otc-ai-launch__mesh{position:absolute;left:var(--cx);top:calc(var(--cy) + var(--lift));width:340px;height:340px;margin-left:-170px;margin-top:-170px;opacity:0;transform:scale(0) rotate(0deg);transform-origin:center;transition:transform 800ms cubic-bezier(.22,1,.36,1),opacity 520ms ease,top 540ms cubic-bezier(.22,1,.36,1);overflow:visible}
.otc-ai-launch.is-phase-1 .otc-ai-launch__mesh{transform:scale(1) rotate(0deg);opacity:.9}
.otc-ai-launch.is-phase-2 .otc-ai-launch__mesh{transform:scale(1.05) rotate(60deg);opacity:1}
.otc-ai-launch.is-phase-3 .otc-ai-launch__mesh{opacity:0}
.otc-ai-launch__mesh-line{stroke:#ffba5c;stroke-width:.8;opacity:.5;filter:drop-shadow(0 0 3px rgba(255,200,140,.7))}
.otc-ai-launch__mesh-node-glow{fill:#ffba5c;opacity:.3}
.otc-ai-launch__mesh-node{fill:#fff;filter:drop-shadow(0 0 6px rgba(255,200,140,.95))}
.otc-ai-launch__flash{position:absolute;left:var(--cx);top:calc(var(--cy) + var(--lift));width:200px;height:200px;margin-left:-100px;margin-top:-100px;border-radius:50%;background:radial-gradient(circle,rgba(255,240,200,1) 0%,rgba(255,186,92,.9) 25%,rgba(232,123,0,.6) 60%,rgba(232,123,0,0) 100%);mix-blend-mode:screen;opacity:0;transform:scale(0)}
.otc-ai-launch.is-phase-3 .otc-ai-launch__flash{animation:otcBurstFlash 800ms cubic-bezier(.22,1,.36,1) forwards}
@keyframes otcBurstFlash{0%{transform:scale(0);opacity:1}40%{opacity:1}100%{transform:scale(7);opacity:0}}
.otc-ai-launch__ring{position:absolute;left:var(--cx);top:calc(var(--cy) + var(--lift));width:40px;height:40px;margin-left:-20px;margin-top:-20px;border-radius:50%;opacity:0;transform:scale(0)}
.otc-ai-launch__ring--1{border:3px solid #ffba5c;box-shadow:0 0 60px rgba(255,180,90,.9),inset 0 0 30px rgba(255,180,90,.5)}
.otc-ai-launch__ring--2{border:2px solid rgba(232,123,0,.7);box-shadow:0 0 80px rgba(232,123,0,.7)}
.otc-ai-launch.is-phase-3 .otc-ai-launch__ring--1{animation:otcBurstRing1 700ms cubic-bezier(.22,1,.36,1) forwards}
.otc-ai-launch.is-phase-3 .otc-ai-launch__ring--2{animation:otcBurstRing2 900ms cubic-bezier(.22,1,.36,1) 80ms forwards}
@keyframes otcBurstRing1{0%{transform:scale(0);opacity:.95;border-width:4px}60%{opacity:.7}100%{transform:scale(18);opacity:0;border-width:1px}}
@keyframes otcBurstRing2{0%{transform:scale(0);opacity:.8;border-width:3px}100%{transform:scale(26);opacity:0;border-width:1px}}
.otc-ai-launch__sparks{position:absolute;inset:0;pointer-events:none}
.otc-ai-launch__spark{position:absolute;left:var(--cx);top:calc(var(--cy) + var(--lift));width:5px;height:5px;margin-left:-2.5px;margin-top:-2.5px;border-radius:50%;background:var(--c,#ffba5c);box-shadow:0 0 14px rgba(255,180,90,1);opacity:0;transform:translate(0,0) scale(1)}
.otc-ai-launch.is-phase-1 .otc-ai-launch__spark,.otc-ai-launch.is-phase-2 .otc-ai-launch__spark{animation:otcSparkOrbit 800ms cubic-bezier(.22,1,.36,1) forwards}
.otc-ai-launch.is-phase-3 .otc-ai-launch__spark{animation:otcSparkExplode 700ms cubic-bezier(.22,1,.36,1) forwards}
@keyframes otcSparkOrbit{0%{transform:translate(0,0) scale(0);opacity:0}30%{opacity:.9}100%{transform:translate(var(--dx),var(--dy)) scale(1);opacity:.85}}
@keyframes otcSparkExplode{0%{transform:translate(var(--dx,0),var(--dy,0)) scale(1);opacity:1}100%{transform:translate(calc(var(--dx,0)*4),calc(var(--dy,0)*4)) scale(.2);opacity:0}}
@media(prefers-reduced-motion:reduce){.otc-ai-launch__hands,.otc-ai-launch__brain,.otc-ai-launch__mesh,.otc-ai-launch__flash,.otc-ai-launch__ring,.otc-ai-launch__spark{animation:none!important;transition-duration:1ms!important}}
/* auth sheet dark theme */
#prof-in{background:#0f0f0f}
#prof-in .sw-hdr{background:#0f0f0f;border-bottom-color:#1e1e1e}
#prof-in .sw-title{color:#fff}
#prof-in .sw-pill{background:rgba(255,255,255,.18)}
#prof-in .sw-x{background:#1e1e1e}
#prof-in .sw-x path{stroke:#fff}
.auth-tabs{display:flex;background:#0f0f0f;border-bottom:1px solid #1e1e1e;padding:0 20px;flex-shrink:0}
.auth-tab{flex:1;height:44px;border:none;background:transparent;color:rgba(255,255,255,.4);font-family:-apple-system,'SF Pro Text',system-ui,sans-serif;font-size:15px;font-weight:600;cursor:pointer;position:relative;letter-spacing:-.2px;-webkit-tap-highlight-color:transparent;transition:color .15s}
.auth-tab.is-active{color:#fff}
.auth-tab.is-active::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#e87b00;border-radius:1px 1px 0 0}
.auth-form{padding:20px 20px 32px}
.auth-field{margin-bottom:14px}
.auth-input{width:100%;height:50px;border-radius:14px;border:1px solid #252525;background:#1a1a1a;color:#fff;font-family:-apple-system,'SF Pro Text',system-ui,sans-serif;font-size:16px;padding:0 16px;outline:none;-webkit-appearance:none;appearance:none;letter-spacing:-.1px;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}
.auth-input::placeholder{color:#5a5a60}
.auth-input:focus{border-color:#e87b00;box-shadow:0 0 0 3px rgba(232,123,0,.15)}
.auth-select{cursor:pointer;background:#1a1a1a;color:#fff}
.auth-select option{background:#1a1a1a;color:#fff}
.auth-err{font-size:13px;color:#ff5c5c;min-height:18px;margin-bottom:10px;text-align:center;line-height:1.4}
.auth-submit-btn{width:100%;height:52px;border-radius:16px;border:none;background:linear-gradient(180deg,#f08c20 0%,#e87b00 100%);color:#fff;font-family:-apple-system,'SF Pro Display',system-ui,sans-serif;font-size:16px;font-weight:700;cursor:pointer;letter-spacing:-.2px;box-shadow:0 6px 20px rgba(232,123,0,.3);transition:transform .1s,opacity .1s;-webkit-tap-highlight-color:transparent}
.auth-submit-btn:active{transform:scale(.97)}
.auth-submit-btn:disabled{opacity:.5;cursor:not-allowed}
.prof-initials{width:32px;height:32px;border-radius:16px;background:linear-gradient(135deg,#e87b00,#ff9d2e);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:#fff;letter-spacing:.5px;font-family:-apple-system,'SF Pro Display',system-ui,sans-serif}
/* toast */
.otc-toast{position:fixed;bottom:calc(80px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%) translateY(20px);background:#1c1c1e;border:1px solid #2e2e30;color:#fff;font-family:-apple-system,'SF Pro Text',system-ui,sans-serif;font-size:14px;padding:11px 18px;border-radius:12px;z-index:99999;opacity:0;transition:opacity .22s,transform .22s;white-space:nowrap;pointer-events:none;max-width:calc(100vw - 48px);text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.6)}
.otc-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
/* profile dropdown */
.prof-menu{position:absolute;top:calc(100% + 6px);right:0;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;padding:4px;min-width:170px;z-index:200;display:none;box-shadow:0 8px 24px rgba(0,0,0,.8)}
.prof-menu.on{display:block}
.prof-menu-hdr{padding:10px 12px 8px;border-bottom:1px solid #1e1e1e}
.prof-menu-btn{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;background:transparent;border:0;color:#fff;font-size:13.5px;font-family:-apple-system,'SF Pro Text',system-ui,sans-serif;cursor:pointer;border-radius:8px;text-align:left;-webkit-tap-highlight-color:transparent}
.prof-menu-btn:active{background:rgba(255,255,255,.07)}
.prof-menu-btn--cab{color:#c9a86b;border-bottom:1px solid rgba(255,255,255,.06);text-decoration:none;display:flex;align-items:center;gap:8px}
.prof-menu-btn--out{color:#ff5c5c}
/* Google / Apple OAuth buttons */
.auth-sw__oauth{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.auth-sw__oauth-btn{height:48px;border-radius:10px;border:1px solid #d4d4dd;background:#fff;color:#111;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;transition:background .12s,border-color .12s;font-family:-apple-system,'SF Pro Text',system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
.auth-sw__oauth-btn:hover,.auth-sw__oauth-btn:focus-visible{background:#f5f5f7;border-color:#b0b0bc;outline:none}
.auth-sw__oauth-btn:active{background:#ebebef}
.auth-sw__oauth-btn--apple{background:#000;color:#fff;border-color:#000}
.auth-sw__oauth-btn--apple:hover,.auth-sw__oauth-btn--apple:focus-visible{background:#1d1d1f;border-color:#1d1d1f}
.auth-sw__oauth-btn--apple:active{background:#2a2a2c}
.apple-txt{display:none}
body[data-lang="ru"] .apple-txt-ru,body:not([data-lang]) .apple-txt-ru{display:inline}
body[data-lang="cn"] .apple-txt-cn{display:inline}
body[data-lang="en"] .apple-txt-en{display:inline}
body[data-lang="kz"] .apple-txt-kz{display:inline}
body[data-lang="uz"] .apple-txt-uz{display:inline}
.auth-sw__divider{display:flex;align-items:center;gap:10px;color:#888;font-size:12px;text-transform:uppercase;letter-spacing:.5px;margin:4px 0 8px}
.auth-sw__divider::before,.auth-sw__divider::after{content:'';flex:1;height:1px;background:#e3e3e8}
#auth-pane-reg .auth-form{padding:10px 20px 14px}
#auth-pane-reg .auth-sw__oauth{gap:6px;margin-bottom:10px}
#auth-pane-reg .auth-sw__oauth-btn{height:40px;font-size:14px}
/* Auth UX 2026 (mob) */
.auth-title{font-size:18px;font-weight:600;color:#fff;margin:16px 16px 10px;letter-spacing:-.3px;line-height:1.2}
.auth-sub{font-size:12px;color:rgba(255,255,255,.45);margin:-6px 16px 10px;line-height:1.4}
.auth-footer-text{font-size:10px;color:rgba(255,255,255,.35);text-align:center;margin:10px 0 0;line-height:1.5}
.auth-footer-link{color:rgba(255,255,255,.45);text-decoration:underline}
.auth-footer-link:hover{color:#fff}
.auth-field-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}
.auth-label{font-size:10px;font-weight:600;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.8px}
.auth-forgot{font-size:11px;color:rgba(255,255,255,.45);text-decoration:none}
.auth-forgot:hover{color:#e87b00}
.auth-pw-wrap{position:relative}
.auth-pw-wrap .auth-input{padding-right:42px}
.auth-pw-eye{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:transparent;border:0;color:rgba(255,255,255,.4);cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;line-height:0}
.auth-pw-eye:hover{color:rgba(255,255,255,.7)}
.auth-strength{display:flex;gap:3px;margin-top:6px}
.auth-strength__bar{flex:1;height:3px;background:rgba(255,255,255,.1);border-radius:2px;transition:background .2s}
.auth-strength__bar.s1{background:#ff5c5c}
.auth-strength__bar.s2{background:#ff9500}
.auth-strength__bar.s3{background:#30d158}
.auth-role-label{font-size:12px;color:rgba(255,255,255,.5);margin:0 0 8px;font-weight:500}
.role-cards{display:flex;gap:8px}
.role-card{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;background:#1a1d27;border:1px solid #2a2a2a;border-radius:10px;cursor:pointer;text-align:left;transition:border-color .15s,background .15s;-webkit-tap-highlight-color:transparent}
.role-card.is-active{border:1.5px solid #e87b00;background:rgba(232,123,0,.08)}
.role-card__icon{color:rgba(255,255,255,.4);display:block;margin-bottom:4px;line-height:0}
.role-card.is-active .role-card__icon{color:#e87b00}
.role-card__name{font-size:12px;font-weight:600;color:#aaa;line-height:1.2}
.role-card.is-active .role-card__name{color:#fff}
.role-card__sub{font-size:10px;color:rgba(255,255,255,.3);line-height:1.3}
.role-card.is-active .role-card__sub{color:rgba(232,123,0,.7)}
#auth-pane-reg .auth-sw__divider{margin:1px 0 5px}
#auth-pane-reg .auth-field{margin-bottom:8px}
#auth-pane-reg .auth-input{height:42px;font-size:15px}
#auth-pane-reg .auth-err{min-height:13px;font-size:12px;margin-bottom:5px}
#auth-pane-reg .auth-submit-btn{height:44px;font-size:15px}


