:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#161d3a;background:#e8eaf3}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:not-allowed}.shell{max-width:470px;min-height:100dvh;margin:auto;background:#f7f8fd;padding-bottom:80px;box-shadow:0 5px 30px #b5b9d055}.top{position:sticky;top:0;z-index:5;background:white;display:flex;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid #e9eaf4}.brand{font-weight:850;font-size:18px;flex:1;color:#302b75;white-space:nowrap}.logo{display:inline-grid;place-items:center;background:#5e4cd4;color:white;border-radius:12px;width:35px;height:35px;font-size:12px;margin-right:8px}.pill{border:1px solid #e1e4f0;border-radius:24px;background:white;padding:9px 11px;color:#4c526c;position:relative}.count{position:absolute;top:-6px;right:-3px;background:#eb4b79;color:white;border-radius:12px;font-size:11px;padding:2px 6px}.content{padding:15px 16px}.hero{padding:24px 20px;border-radius:18px;background:linear-gradient(120deg,#302b75,#8271e9);color:white;min-height:124px;display:flex;flex-direction:column;justify-content:center;gap:10px}.hero h2{margin:0;font-size:22px}.hero p{margin:0;font-size:13px}.section{margin:24px 0 13px;font-weight:800;font-size:17px}.section:before{content:"";display:inline-block;width:4px;height:19px;background:#7059ed;border-radius:6px;vertical-align:middle;margin-right:8px}.chips{display:flex;gap:7px;overflow-x:auto;padding-bottom:12px}.chip{border-radius:12px;border:1px solid #e2e5f0;background:white;padding:11px 13px;white-space:nowrap;font-size:12px}.chip.on{background:#292c4b;color:white}.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product,.card{background:white;border:1px solid #e4e7f0;border-radius:17px;overflow:hidden;box-shadow:0 4px 14px #2631580a}.photo{height:160px;display:grid;place-items:center;background:linear-gradient(130deg,#f5f0f4,#e9eafa);font-size:74px;position:relative}.heart{position:absolute;right:9px;top:9px;border-radius:100%;background:white;color:#adadbd;width:32px;height:32px;font-size:24px}.heart.on{color:#e53935}.product-body{padding:10px}.name{font-size:13px;font-weight:800;min-height:35px}.price{color:#ec4b79;font-weight:800;margin:9px 0 3px}.muted{font-size:12px;color:#9299ac}.actions{display:flex;gap:5px;margin-top:12px}.primary{background:linear-gradient(90deg,#5245cc,#7562e2);color:white;border-radius:11px;padding:11px 12px;font-weight:750}.secondary{background:#f0effb;color:#5549bc;border-radius:11px;padding:11px 10px}.actions button{flex:1;font-size:11px;padding:11px 3px}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:470px;width:100%;display:flex;background:white;border-top:1px solid #e4e6ee;padding:9px 4px max(10px,env(safe-area-inset-bottom));z-index:6}.nav{flex:1;background:transparent;color:#7c839c;display:grid;gap:2px;justify-items:center;font-size:11px}.nav span{font-size:23px}.nav.on{color:#6251d7;font-weight:750}.field{width:100%;border:1px solid #e0e3ee;border-radius:13px;padding:13px;background:white;outline-color:#6854dc}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.keypad button{padding:16px 8px;background:#f5f6fb;border:1px solid #e0e3ee;border-radius:12px;font-weight:800}.panel{padding:15px;background:white;border:1px solid #e3e6f1;border-radius:17px;margin:12px 0}.modal-back{position:fixed;inset:0;background:#14172b7a;z-index:10;display:grid;place-items:center;padding:15px}.modal{width:min(440px,100%);max-height:85dvh;overflow-y:auto;background:white;border-radius:22px;padding:18px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-weight:800}.close{background:#f1f2f7;border-radius:50%;width:34px;height:34px;color:#6a7083}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.small-photo{width:100px;height:100px;flex-shrink:0;border-radius:13px;display:grid;place-items:center;background:#f0f0f9;font-size:56px}.line{border-bottom:1px solid #edf0f5;padding:11px 0}.wide{width:100%}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);background:white;border:1px solid #e3e6ef;border-radius:16px;margin:12px 0;overflow:hidden}.stat{text-align:center;padding:16px 4px;border-right:1px solid #edf0f5}.stat:last-child{border:0}.stat strong{display:block;color:#eb4e79;font-size:14px}.stat small{color:#848b9f;font-size:11px}.profile{display:flex;gap:14px;align-items:center}.avatar{width:60px;height:60px;border-radius:50%;background:#5d50bf;color:white;display:grid;place-items:center;font-size:26px;font-weight:800}.menu-item{display:flex;align-items:center;justify-content:space-between;padding:17px 13px;border-bottom:1px solid #eceef4;background:white;width:100%;text-align:left}.menu-item:last-child{border:0}.tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:8px}.tabs button{white-space:nowrap;padding:10px;border-radius:10px;background:white;color:#697087}.tabs button.on{background:#5e4fd1;color:white}.tag{font-size:11px;border-radius:8px;background:#e9f9f0;color:#168858;padding:5px 7px;display:inline-block;margin:2px}.empty{text-align:center;color:#9ca3b5;padding:42px 10px}.notice{font-size:12px;background:#eff9f5;color:#287b59;border:1px solid #c8efdc;border-radius:12px;padding:12px;line-height:1.7}.progress{height:7px;background:#edf0f6;border-radius:6px;overflow:hidden;margin:8px 0}.progress div{height:100%;background:#6858dc}.admin{max-width:1100px;margin:20px auto;padding:24px;background:white;border-radius:16px}.admin table{width:100%;border-collapse:collapse;font-size:13px}.admin th,.admin td{border-bottom:1px solid #e8e9f1;padding:10px;text-align:left}.admin input,.admin select{max-width:180px}.admin .toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.admin h1{color:#332e77}.hint{color:#8a90a1;font-size:12px}.toast{position:fixed;top:80px;left:50%;transform:translateX(-50%);z-index:20;background:#252a4c;color:white;padding:12px 18px;border-radius:14px;max-width:85%;text-align:center}@media(min-width:700px){body:has(.admin){background:#f2f3f8}}@media(max-width:360px){.brand{font-size:14px}.logo{margin-right:4px}.pill{padding:7px}.photo{height:125px}.actions button{font-size:10px}}

/* V1.2: multi-select cart */
.cart-item{display:flex;align-items:center;gap:10px;min-width:0}.cart-check,.cart-all{display:flex;align-items:center;gap:7px;cursor:pointer}.cart-check input,.cart-all input{width:20px;height:20px;accent-color:#6150d8;cursor:pointer;flex-shrink:0}.cart-photo{width:72px;height:72px;font-size:39px}.cart-detail{flex:1;min-width:0;font-size:13px}.cart-detail b{display:block;overflow-wrap:anywhere}.cart-remove{padding:9px 8px;font-size:12px}.cart-summary{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:17px 0}.cart-total{display:flex;flex-direction:column;text-align:right;gap:3px}.cart-total strong{color:#e84a79;font-size:15px}.cart-items{max-height:52dvh;overflow:auto}.modal:has(.cart-items){max-height:90dvh}

.uploaded-product-image{height:100%;width:100%;object-fit:cover;display:block}
\n.withdraw-hero{background:linear-gradient(120deg,#201c45,#5127a3);color:white;border-radius:20px;padding:20px;margin-bottom:14px}.withdraw-hero h2{font-size:28px;margin:10px 0}.withdraw-stats,.withdraw-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 20px}.withdraw-stats>div,.withdraw-options label{border:1px solid #e1e5ef;background:#f8f9ff;border-radius:15px;padding:13px}.form-label{display:block;margin:16px 0 8px;font-weight:600}.support-link{display:block;text-align:center;text-decoration:none;margin-top:12px;padding:14px;border-radius:12px}\n
/* V1.5.4 image containment: uploaded images never resize or overflow their frames. */
.photo{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;isolation:isolate}
.photo>.uploaded-product-image{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;display:block;flex:0 1 auto}
.photo>.heart{z-index:1;flex-shrink:0}
.small-photo{overflow:hidden;min-width:0;min-height:0;position:relative}
.small-photo>.uploaded-product-image{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;display:block}
.product{min-width:0}
.product-body{position:relative;min-width:0}
.modal .panel{min-width:0}
.modal .panel>.photo{width:100%;height:160px;max-width:100%}

/* V1.5.5: search, order details and optional banner image */
.search-code-row{display:flex;gap:10px;align-items:stretch;margin:12px 0}
.search-code-input{flex:1;min-width:0;font-size:18px;letter-spacing:3px;font-weight:750}
.search-clear{flex:0 0 48px;font-size:24px;border:1px solid #dfe3ef}
.search-panel{padding:16px;margin-top:12px}
.search-submit{margin-top:20px;min-height:48px;font-size:15px}
.order-card{padding:17px;margin:13px 0;overflow:hidden}
.order-heading{margin-bottom:10px}
.order-product{padding:8px 0 15px;min-width:0}
.order-product .small-photo{width:90px;height:90px;font-size:48px}
.order-product-text{min-width:0;overflow-wrap:anywhere;flex:1}
.order-status{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f5;padding:13px 0;font-size:13px}
.order-status strong{text-align:right}
.order-meta{background:#f7f8fd;border-radius:12px;padding:10px 12px;display:grid;gap:7px}
.order-meta>div{display:flex;justify-content:space-between;gap:12px;align-items:start;font-size:12px}
.order-meta span{color:#8b92a7;flex-shrink:0}
.order-meta b{font-weight:550;text-align:right;overflow-wrap:anywhere;min-width:0}
.hero .banner-image{display:block;max-width:100%;width:100%;max-height:190px;object-fit:contain;border-radius:12px;margin-top:6px;background:#ffffff1a}

/* Member withdrawal sheet: compact mobile layout, no daily counters or quotas. */
.modal:has(.wd-hero){padding:15px 18px 22px;max-height:95dvh}
.wd-hero{background:linear-gradient(132deg,#1d1b49 0%,#352071 48%,#56239c 100%);color:white;border-radius:25px;padding:22px 20px 23px;margin-bottom:22px;box-shadow:0 14px 23px #42207d20}
.wd-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:16px}
.wd-history{border:0;background:#ffffff2b;color:#fff;font-weight:750;border-radius:25px;padding:10px 14px;font-size:12px}
.wd-hero strong{font-size:34px;letter-spacing:-.6px;display:block;margin:6px 0 9px}
.wd-hero>div:last-child{font-size:13px;opacity:.94}
.wd-section{margin:21px 0 14px;font-size:20px;display:flex;align-items:center;gap:10px}
.wd-section:before{content:"";width:5px;height:24px;border-radius:4px;background:#6655e8}
.wd-methods{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 15px}
.wd-method{display:flex;flex-direction:column;text-align:left;justify-content:center;gap:5px;background:white;padding:15px 12px;border:1px solid #e0e3ec;border-radius:19px;min-height:78px}
.wd-method b{font-size:19px}.wd-method small{font-size:12px;font-weight:650}
.wd-method.active{border:1.5px solid #7054ff;background:#f2eeff;color:#5e2bc6}
.wd-account{border:1px solid #e5e7f0;border-radius:20px;padding:17px 15px;margin-bottom:12px;background:#fff}
.wd-account-title{display:flex;flex-direction:column;gap:2px}.wd-account-title span{color:#8992a7;font-size:12px}
.wd-account input{font-size:13px;letter-spacing:.15px}
.wd-account .form-label{margin:12px 0 7px;font-size:12px;color:#637189}
.wd-save{border:1px solid #dedbf4;background:#f3f0ff;color:#6038c3;font-weight:700;border-radius:12px;padding:10px 13px;margin-top:10px}
.wd-amount{display:flex;gap:8px;align-items:stretch;margin-top:7px}
.wd-amount input{min-width:0;flex:1}
.wd-amount button{flex:0 0 70px;border:1.5px solid #7d63ff;border-radius:17px;color:#5830c6;background:#f4f0ff;font-weight:750}
.wd-summary{background:#f7f9fc;border:1px solid #edf0f5;border-radius:16px;padding:15px;margin:15px 0;display:grid;gap:9px}
.wd-summary>div{display:flex;align-items:center;justify-content:space-between;color:#6e7a90;font-size:13px;gap:10px}
.wd-summary b{color:#16203a;font-weight:800}
.wd-warning{color:#3157ba;border:1px dashed #799dff;background:#f2f6ff;border-radius:15px;padding:13px;line-height:1.7;font-size:12px;margin:10px 0}
.wd-submit{padding:16px 14px;border-radius:17px;font-size:16px;min-height:54px}
.wd-setpin,.wd-cancel{margin-top:10px}
.wd-reserved{background:#f5f2ff;padding:10px 13px;border-radius:12px;color:#6546bd;font-size:13px;margin:0 0 15px}
.wd-pin-info{background:#f7f6fc;border-radius:16px;padding:15px;margin-bottom:15px;overflow-wrap:anywhere}
.wd-pin-info p{font-size:20px;font-weight:800;margin:8px 0}
.wd-record{margin:12px 0;padding:14px}
.wd-record .muted{margin-top:5px}
.wd-address{overflow-wrap:anywhere}
.wd-reject{color:#a73f4a;font-size:12px;margin-top:9px}
.wd-fund-settings{margin-top:15px}
.wd-fund-settings h3{margin:3px 0 9px}
.wd-fund-settings .form-label{margin:15px 0 7px}
@media(max-width:380px){.modal:has(.wd-hero){padding:12px}.wd-hero{padding:18px 15px}.wd-hero strong{font-size:29px}}

/* Account security uses a native full screen with a sticky back header. */
.wd-password-sections{display:grid;gap:24px}
.wd-pass-section h3{font-size:20px;color:#1d2641;margin:7px 0 20px}
.wd-pass-section{display:grid;gap:10px}
.wd-pass-section .field{padding:14px 15px;min-height:52px}
.wd-pass-section .primary{min-height:53px;font-size:16px}
.wd-locked{border:1px solid #f3c9a7;border-radius:14px;background:#fff5e9;color:#965222;padding:13px 14px;font-size:13px;line-height:1.6}
.wd-pass-section .muted{padding:2px 0 0}

/* Mobile storefront refresh: soft luxury, restrained lavender neumorphism.
   Keep native pinch zoom accessible. touch-action:manipulation prevents double-tap zoom. */
:root{
 --tk-purple:#6650c5;--tk-purple-dark:#372b75;--tk-ink:#272643;
 --tk-muted:#8790a5;--tk-pearl:#fafaff;--tk-line:#e5e3f1;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
 -webkit-font-smoothing:antialiased;
}
html{-webkit-text-size-adjust:100%;scroll-padding-bottom:92px}
body{background:linear-gradient(155deg,#e7e4f0 0%,#eeeff7 60%,#e4e5ef 100%);color:var(--tk-ink)}
.shell{background:linear-gradient(160deg,#fcfbff 0%,#f6f6fc 46%,#f2f2fa 100%);box-shadow:0 18px 60px #3a325023}
.content{padding:18px 16px 25px}
.top{background:#faf9fff0;border-bottom:1px solid #ffffffdd;box-shadow:0 5px 22px #5b4f8410;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.brand{color:#342c69;letter-spacing:-.5px}
.logo{background:linear-gradient(135deg,#4f3b9a,#8b76e1);box-shadow:0 4px 10px #5540a438,inset 0 1px 1px #ffffff42}
.pill{background:linear-gradient(145deg,#fff,#f5f2ff);border:1px solid #ffffff;box-shadow:3px 4px 10px #a9a2c326,inset 1px 1px 1px #fff;color:#584b8b}
.hero{border:1px solid #a99df6;background:linear-gradient(125deg,#282158,#5641a5 54%,#9281e3);box-shadow:0 12px 24px #5c4da62c,inset 0 1px 2px #ffffff44;border-radius:23px}
.product,.card,.panel{background:#ffffffec;border:1px solid #fff;box-shadow:0 6px 20px #5e558314,0 2px 5px #51487409,inset 0 1px 0 #fff;border-radius:20px}
.photo{background:linear-gradient(150deg,#f8f7fc,#ece9f9 78%);border-bottom:1px solid #fff}
.heart{box-shadow:0 3px 12px #35305b24}
.chip{border:1px solid #eeebf7;background:linear-gradient(155deg,#fff,#f7f6fc);box-shadow:2px 3px 9px #a7a1c31a}
.chip.on{background:linear-gradient(125deg,#4d3b9b,#7462cb);color:#fff;border-color:transparent;box-shadow:0 4px 12px #5844ad35}
.primary{border:1px solid #7a68da;background:linear-gradient(130deg,#4b399e,#7863dd);border-radius:14px;box-shadow:0 5px 12px #5746b62c,inset 0 1px 1px #ffffff3e}
.secondary{background:linear-gradient(150deg,#fff,#f0eefb);color:#5948ad;border:1px solid #e9e6f5;box-shadow:2px 3px 8px #8679b019,inset 0 1px 1px #fff}
.field{background:#fdfcff;border:1px solid #e7e3f2;box-shadow:inset 2px 2px 5px #9890b313,inset -2px -2px 5px #fff;outline-offset:2px}
.bottom{background:#fbfafff4;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid #fff;box-shadow:0 -6px 26px #544b861b;padding:9px 5px max(10px,env(safe-area-inset-bottom))}
.nav{border-radius:13px;min-height:45px;transition:background-color .18s,color .18s}
.nav.on{background:#eeeafd;color:#513eaf}
.nav span{font-size:23px;line-height:1.15}
.modal{border:1px solid #ffffffbb;background:linear-gradient(155deg,#fff,#faf9ff);box-shadow:0 20px 55px #20144a52;border-radius:24px}
.menu-item{background:transparent;min-height:52px}
.menu-item:active{background:#f2eeff}
.stat-grid{box-shadow:0 5px 16px #5147770d}
button,.chip,.nav,.pill,.keypad,.search-code-row{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{transition:transform .13s ease,box-shadow .16s ease,background-color .16s ease}
button:not(:disabled):active{transform:scale(.97)}
button:focus-visible,.field:focus-visible{outline:2px solid #8067e4;outline-offset:3px}
@media(hover:hover){.primary:hover{box-shadow:0 8px 18px #5b42c34a}.secondary:hover,.pill:hover{background:#f5f0ff}}
/* Search page: tactile keys and stable same-target taps, optimized for mobile Safari. */
.search-experience{min-width:0;display:flex;flex-direction:column;gap:14px;padding-bottom:4px}
.search-intro{padding:9px 5px 2px}
.search-eyebrow{display:flex;align-items:center;gap:8px;color:#8679b8;font-size:11px;font-weight:750;letter-spacing:.9px}
.search-intro-mark{font-size:16px;color:#b69bda}
.search-intro h2{margin:8px 0 6px;font-size:clamp(23px,6vw,29px);letter-spacing:-.8px;line-height:1.24;font-weight:800;color:#322959}
.search-intro h2 span{color:#aa8ee8}
.search-intro p{margin:0;color:#8c91a5;font-size:12px;line-height:1.7}
.search-display{padding:17px 17px 15px;background:linear-gradient(148deg,#fff,#f8f7ff 95%);border:1px solid #fff;border-radius:22px;box-shadow:7px 9px 24px #73669c18,-4px -4px 13px #fff,inset 0 1px 1px #fff}
.search-display-heading,.search-code-meta,.search-keypad-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.search-display-heading label{font-weight:800;font-size:14px;color:#433974}
.search-display-heading>span,.search-keypad-heading>span{font-size:9px;letter-spacing:1.3px;color:#a4a0bc;font-weight:750}
.search-display .search-code-row{display:flex;align-items:center;gap:9px;margin:12px 0 10px;border:1px solid #e3dff2;border-radius:17px;padding:5px 6px 5px 12px;background:linear-gradient(140deg,#f3f1f9,#fff);box-shadow:inset 3px 3px 8px #a39ab321,inset -3px -3px 8px #fff}
.search-code-glyph{flex-shrink:0;color:#7965bb;font-size:25px;line-height:1}
.search-code-input{border:0!important;background:transparent!important;box-shadow:none!important;padding:9px 0!important;font-size:clamp(20px,5.8vw,26px);font-weight:800;letter-spacing:3px;color:#332566;min-width:0;flex:1;outline:none!important;pointer-events:none;-webkit-user-select:none;user-select:none;font-variant-numeric:tabular-nums}
.search-code-input::placeholder{font-size:14px;letter-spacing:.5px;font-weight:500;color:#aaa5c4}
.search-clear{flex:0 0 43px;height:43px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#fff,#ece8f8);font-size:24px;color:#7461aa;border:1px solid #ffffffd6;box-shadow:2px 3px 8px #9c8bbb24,inset 0 1px 1px #fff}
.search-code-meta{font-size:10px;line-height:1.5;color:#9895af}
.search-code-meta #searchCodeLength{white-space:nowrap;color:#7462bc;font-weight:750}
.search-keypad-panel{margin:0;padding:18px 16px 17px;border:1px solid #fff;background:linear-gradient(142deg,#fefeff 0%,#f5f3fb 100%);border-radius:25px;box-shadow:9px 11px 26px #776c9c1c,-5px -5px 13px #fff,inset 0 1px 1px #fff;min-width:0}
.search-keypad-heading{padding:1px 1px 13px;font-size:13px;font-weight:800;color:#514584}
.search-keypad-sparkle{color:#a08ae2;font-size:18px;margin-right:4px}
.search-keypad-panel .keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0;touch-action:manipulation}
.keypad .keypad-key{appearance:none;-webkit-appearance:none;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;min-width:0;min-height:67px;padding:6px 2px;border-radius:18px;border:1px solid #eee9fa;background:linear-gradient(140deg,#ece7fb,#f6f2ff);color:#30295b;box-shadow:inset 4px 4px 9px #9e91c04a,inset -3px -3px 7px #fff,0 1px 2px #a096bb29;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-touch-callout:none;transition:transform .105s ease,box-shadow .105s ease,background .105s ease;overscroll-behavior:contain}
.keypad-key .keypad-face{font-size:27px;font-weight:700;line-height:1.15;letter-spacing:.3px;font-variant-numeric:tabular-nums;pointer-events:none}
.keypad-key .keypad-caption{min-height:12px;font-size:9px;line-height:1.1;letter-spacing:1.2px;font-weight:750;color:#b0a7c8;pointer-events:none}
.keypad .keypad-utility{color:#8b78b4;background:linear-gradient(140deg,#ece7fb,#f6f2ff)}
.keypad .keypad-utility .keypad-face{font-size:23px}
.keypad .keypad-utility .keypad-caption{font-size:10px;letter-spacing:.7px;color:#8072a8}
.keypad .keypad-delete{color:#5946a0}
.keypad .keypad-key:active{transform:translateY(1px) scale(.985)}
.search-keypad-panel .search-submit{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:19px;min-height:53px;font-size:15px;font-weight:750;letter-spacing:.4px;border-radius:16px;box-shadow:0 8px 15px #5a44a638,inset 0 1px 1px #ffffff45}
.search-submit span:last-child{font-size:20px;font-weight:400}
.search-keypad-panel .search-submit:disabled{opacity:.52;box-shadow:none}
.search-footnote{text-align:center;color:#a29bb8;font-size:10px;margin:12px 0 0;letter-spacing:.3px}
@media(max-width:360px){
 .top{gap:6px;padding:11px 12px}.brand{font-size:15px;letter-spacing:-.65px}
 .logo{width:31px;height:31px;margin-right:5px}.pill{padding:8px 9px}
 .content{padding:14px 12px 20px}
 .search-display{padding:15px 13px 12px}
 .search-keypad-panel{padding:14px 12px}
 .search-keypad-panel .keypad{gap:8px}
 .keypad .keypad-key{min-height:61px;border-radius:15px}
 .keypad-key .keypad-face{font-size:25px}
 .search-intro{padding:7px 3px 0}
}
@media(max-height:700px) and (pointer:coarse){
 .search-experience{gap:10px}
 .search-keypad-panel .keypad{gap:8px}
 .keypad .keypad-key{min-height:59px}
 .search-keypad-panel{padding-top:14px}
 .search-keypad-heading{padding-bottom:9px}
}
@media(pointer:coarse){.field:not(.search-code-input),.wd-account input{font-size:16px}}
@media(prefers-reduced-motion:reduce){
 button,.nav,.keypad .keypad-key{transition:none}
}


/* Recoverable mobile authentication startup. This gate is also pre-rendered in
   index.html so an unavailable script cannot leave the user on a blank page. */
.account-gate{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:calc(22px + env(safe-area-inset-top)) 19px calc(22px + env(safe-area-inset-bottom));background:radial-gradient(circle at 65% 8%,#ede5ff 0%,transparent 42%),linear-gradient(160deg,#faf9ff 0%,#f0effa 100%)}
.account-gate-card{width:min(100%,390px);padding:35px 25px 27px;text-align:center;border:1px solid #fff;background:linear-gradient(150deg,#fff,#f7f5ff);border-radius:28px;box-shadow:11px 16px 32px #61558a1b,-6px -6px 22px #ffffff,inset 0 1px 1px #fff}
.account-gate-logo{height:59px;width:59px;margin:0 auto 14px;display:grid;place-items:center;color:#fff;background:linear-gradient(140deg,#4a3a8c,#9076d6);font-weight:800;font-size:21px;letter-spacing:-.5px;border-radius:18px;box-shadow:0 8px 18px #5844a244,inset 0 1px 2px #fff6}
.account-gate-kicker{font-size:10px;letter-spacing:2.4px;font-weight:700;color:#998bb9}
.account-gate h1{font-size:22px;color:#302759;margin:14px 0 10px;letter-spacing:-.5px}
.account-gate-message{font-size:13px;line-height:1.8;min-height:46px;color:#76718d;margin:0 0 17px;overflow-wrap:anywhere}
.account-gate-actions{display:grid;gap:10px}
.account-gate-actions button{font-size:15px;min-height:49px;width:100%}
.account-gate-exit{display:grid;place-items:center;padding:12px 13px;min-height:48px;border-radius:15px;background:#f3efff;border:1px solid #e5def8;color:#5940a4;font-weight:700;font-size:14px;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.account-gate-exit:active{background:#e9e0fb}
.account-gate-note{font-size:11px;line-height:1.7;color:#9a94b0;margin:14px 0 0}
@media(max-width:360px){.account-gate-card{padding:27px 19px 22px}}


/* Mobile hotfix: navigation never covers actionable content.
   Search stays compact on iPhone browsers; on truly short viewports,
   natural scrolling remains available for accessibility instead of clipping buttons. */
html,body{width:100%;max-width:100%;overflow-x:hidden}
.shell{padding-bottom:0;min-width:0}
.content{min-width:0;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
.bottom{min-height:64px;box-sizing:border-box;align-items:center}
.nav{min-width:0;touch-action:manipulation}
.modal-back{padding:max(12px,env(safe-area-inset-top,0px)) 12px max(12px,env(safe-area-inset-bottom,0px))}
.modal{max-height:calc(100dvh - 30px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-width:100%;overscroll-behavior:contain}
.field:not(.search-code-input),input:not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%}
@media(pointer:coarse){
 .field:not(.search-code-input),input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:max(16px,1em)}
}
@media(max-width:470px){
 .top{padding:10px 12px;min-height:58px}
 .brand{font-size:clamp(14px,4.3vw,17px)}
 .logo{width:32px;height:32px;border-radius:10px;margin-right:5px}
 .pill{padding:7px 9px;font-size:13px}
 .content{padding:13px 13px calc(84px + env(safe-area-inset-bottom,0px))}
 .section{margin:17px 0 10px;font-size:16px}
 .panel{margin:9px 0;padding:13px}
 .hero{padding:20px 17px;min-height:108px}
 .product-body{padding:10px 9px}
 .actions{gap:4px;margin-top:9px}
 .bottom{padding:6px 4px max(8px,env(safe-area-inset-bottom,0px))}
 .nav{gap:0;font-size:10px;min-height:46px}
 .nav span{font-size:21px}
 .modal{padding:16px;border-radius:20px}
 .wd-hero{padding:17px 16px 18px;margin-bottom:13px}
 .wd-section{margin:16px 0 10px;font-size:18px}
 .wd-method{padding:12px;min-height:68px}
 .wd-account{padding:13px;margin-bottom:9px}
 .wd-summary{padding:12px;margin:10px 0}
 .wd-pass-section{gap:8px}
 .wd-password-sections{gap:17px}
 .search-experience{gap:9px}
 .search-intro{padding:2px 2px 0}
 .search-intro h2{font-size:22px;margin:5px 0 3px}
 .search-intro p{font-size:11px;line-height:1.35}
 .search-eyebrow{font-size:10px}
 .search-display{padding:12px 13px 11px;border-radius:18px}
 .search-display-heading label{font-size:13px}
 .search-display .search-code-row{padding:3px 5px 3px 10px;margin:7px 0 6px;border-radius:13px}
 .search-code-glyph{font-size:20px}
 .search-code-input{font-size:21px!important;padding:6px 0!important}
 .search-clear{flex-basis:36px;height:36px;border-radius:10px;font-size:21px}
 .search-code-meta{font-size:10px}
 .search-keypad-panel{padding:12px 13px 11px;border-radius:20px}
 .search-keypad-heading{font-size:12px;padding:0 1px 8px}
 .search-keypad-heading>span{font-size:8px}
 .search-keypad-panel .keypad{gap:7px}
 .keypad .keypad-key{min-height:46px;border-radius:13px;padding:3px 2px;gap:0}
 .keypad-key .keypad-face{font-size:22px}
 .keypad .keypad-utility .keypad-face{font-size:20px}
 .keypad-key .keypad-caption{font-size:8px;min-height:10px}
 .keypad .keypad-utility .keypad-caption{font-size:9px}
 .search-keypad-panel .search-submit{min-height:45px;margin-top:10px;font-size:14px;border-radius:13px}
 .search-footnote{margin:7px 0 0;font-size:9px}
 .content-search{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
}
@media(max-height:740px) and (max-width:470px){
 .content-search{padding-top:8px;padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
 .search-experience{gap:6px}
 .search-intro h2{font-size:19px;margin:3px 0}
 .search-eyebrow{font-size:9px}
 .search-intro p{font-size:10px}
 .search-display{padding:9px 12px}
 .search-display .search-code-row{margin:5px 0}
 .search-code-input{font-size:19px!important;padding:4px 0!important}
 .search-clear{height:33px;flex-basis:33px}
 .search-keypad-panel{padding:9px 12px}
 .search-keypad-heading{padding-bottom:6px}
 .search-keypad-panel .keypad{gap:5px}
 .keypad .keypad-key{min-height:39px;border-radius:11px;padding:2px}
 .keypad-key .keypad-face{font-size:20px}
 .keypad .keypad-utility .keypad-face{font-size:18px}
 .keypad-key .keypad-caption{font-size:7px;min-height:9px}
 .search-keypad-panel .search-submit{margin-top:7px;min-height:40px}
 .search-footnote{display:none}
 .bottom{min-height:59px}
 .nav{min-height:43px}
 .nav span{font-size:19px}
}
@media(max-width:350px){
 .content{padding-left:10px;padding-right:10px}
 .search-keypad-panel{padding-left:10px;padding-right:10px}
 .search-keypad-panel .keypad{gap:5px}
 .product .actions button{font-size:10px}
}


/* 2026 mobile navigation refinement: slightly larger outlined icons; the
   selected icon is thicker and purple, without a filled tab or raised box. */
.bottom{
 gap:4px;
 min-height:70px;
 padding:7px 7px max(9px,env(safe-area-inset-bottom,0px));
 background:#fdfcfffa;
 border-top:1px solid #ffffff;
 box-shadow:0 -7px 24px #52478318;
}
.bottom .nav{
 display:flex;
 flex:1 1 0;
 flex-direction:column;
 justify-content:center;
 align-items:center;
 gap:3px;
 min-width:0;
 min-height:54px;
 padding:6px 0 5px;
 border:1px solid transparent;
 border-radius:16px;
 background:transparent;
 box-shadow:none;
 color:#9291a4;
 font-size:10px;
 font-weight:450;
 line-height:1.25;
 letter-spacing:.05px;
 text-align:center;
 touch-action:manipulation;
 -webkit-tap-highlight-color:transparent;
 transition:background-color .16s,box-shadow .16s,transform .14s,color .16s;
}
.bottom .nav .nav-icon{
 display:grid;
 place-items:center;
 width:29px;
 height:29px;
 font-size:inherit;
 line-height:1;
}
.bottom .nav .nav-icon svg{
 display:block;
 width:27px;
 height:27px;
 max-width:100%;
 color:inherit;
}
.bottom .nav .nav-label{
 display:block;
 width:100%;
 font-size:10px;
 line-height:1.25;
 font-weight:inherit;
 color:inherit;
 white-space:nowrap;
 letter-spacing:.02px;
}
.bottom .nav.on{
 color:#5844ba;
 font-weight:800;
 background:transparent;
 border-color:transparent;
 box-shadow:none;
}
.bottom .nav:not(.on):active{
 color:#7463c4;
 background:transparent;
 transform:translateY(1px);
}
.bottom .nav:focus-visible{
 outline:2px solid #816de2;
 outline-offset:-2px;
}
.content{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
.content-search{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
@media(max-width:470px){
 .bottom{padding:7px 6px max(9px,env(safe-area-inset-bottom,0px))}
 .bottom .nav{min-height:52px;border-radius:15px}
 .content{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
 .content-search{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:350px){
 .bottom{gap:2px;padding-left:4px;padding-right:4px}
 .bottom .nav{min-height:49px;border-radius:13px;gap:2px}
 .bottom .nav .nav-icon{width:27px;height:27px}
 .bottom .nav .nav-icon svg{width:25px;height:25px}
 .bottom .nav .nav-label{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 .bottom .nav{transition:none}
}

/* The verification screen uses the same actual storefront wordmark as the
   header and puts the message at the center, never the upper-left corner. */
.account-gate{
 min-height:100vh;
 min-height:100dvh;
 width:100%;
 display:grid;
 place-items:center;
 padding:calc(30px + env(safe-area-inset-top,0px)) 18px
 calc(30px + env(safe-area-inset-bottom,0px));
 background:radial-gradient(circle at 70% 20%,#f6f3ff,#f5f5fb 55%,#edf0f9);
}
.account-gate-card{
 display:flex;
 align-items:center;
 flex-direction:column;
 width:min(100%,370px);
 padding:26px 14px 25px;
 border:0;
 border-radius:22px;
 box-shadow:none;
 background:transparent;
 text-align:center;
}
.account-gate-brand{
 display:flex;
 justify-content:center;
 align-items:center;
 gap:11px;
 width:100%;
 color:#30295f;
}
.account-gate-logo{
 display:grid;
 place-items:center;
 flex:0 0 47px;
 width:47px;
 height:47px;
 margin:0;
 border-radius:14px;
 font-size:15px;
 font-weight:800;
 background:linear-gradient(135deg,#49388f,#8065d8);
 box-shadow:0 5px 12px #604ab337,inset 0 1px 2px #fff6;
 color:white;
}
.account-gate-wordmark{
 font-size:clamp(18px,5.4vw,23px);
 font-weight:850;
 letter-spacing:-.65px;
 white-space:nowrap;
 line-height:1.22;
}
.account-gate .account-gate-message{
 min-height:0;
 margin:22px 0 0;
 font-size:14px;
 font-weight:550;
 color:#6c6984;
 line-height:1.7;
 text-align:center;
}
.account-gate h1{font-size:20px;margin:27px 0 0}
.account-gate h1+.account-gate-message{margin-top:9px}
.account-gate-pulse{
 height:22px;
 margin:10px 0 0;
 display:flex;
 justify-content:center;
 align-items:center;
 gap:7px;
}
.account-gate-pulse i{
 display:block;
 width:5px;
 height:5px;
 border-radius:50%;
 background:#9884d4;
 animation:tk-auth-pulse 1.2s ease-in-out infinite;
}
.account-gate-pulse i:nth-child(2){animation-delay:.15s}
.account-gate-pulse i:nth-child(3){animation-delay:.3s}
@keyframes tk-auth-pulse{
 0%,70%,100%{opacity:.27;transform:translateY(0)}
 35%{opacity:1;transform:translateY(-3px)}
}
.account-gate .account-gate-actions{
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:7px;
 width:min(100%,290px);
 margin-top:22px;
}
.account-gate .account-gate-actions button{
 min-height:42px;
 width:100%;
 border-radius:13px;
 background:linear-gradient(135deg,#5846af,#745ed0);
}
.account-gate .account-gate-exit{
 min-height:42px;
 width:100%;
 background:transparent;
 border:0;
 box-shadow:none;
 font-size:12px;
 font-weight:650;
 color:#70619f;
}
.account-gate .account-gate-exit:active{background:#edeafd}
.account-gate .account-gate-note{margin:7px 0 0}
@media(max-width:350px){
 .account-gate-card{padding-left:2px;padding-right:2px}
 .account-gate-brand{gap:8px}
 .account-gate-logo{width:41px;height:41px;flex-basis:41px}
}
@media(prefers-reduced-motion:reduce){
 .account-gate-pulse i{animation:none;opacity:.6}
}


/* October mobile customer UX refinement: keep original purple luxury styling. */
.product .name{min-height:24px;line-height:1.35}
.product .price{margin-top:5px}
.product .product-body{padding-top:10px;padding-bottom:10px}
.top .header-action,.top .header-avatar{display:grid;place-items:center;flex-shrink:0;min-width:38px;min-height:38px;touch-action:manipulation}
.top .header-action.on{color:#5944be;border-color:#c6b9f8;background:#eeebfc;box-shadow:inset 2px 2px 6px #9e8bcd3b,1px 2px 5px #7b68ac20}
.top .header-action .header-cart-icon{width:22px;height:22px;display:block}
.top .header-avatar{border-radius:50%;padding:3px;box-shadow:0 3px 9px #7261ab20}
.top .header-avatar-image{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#6d57ce,#957fdf);color:white;font-size:12px;font-weight:800;overflow:hidden}
.top .header-avatar-image img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.top .header-avatar.on{border-color:#a996df;box-shadow:0 0 0 2px #765bce38}
.order-tabs{gap:6px;padding-bottom:9px}
.order-tabs button{flex-shrink:0;font-size:12px;min-height:39px;padding:9px 11px}
.order-card .order-heading{display:flex;align-items:flex-start;gap:8px}
.order-card .order-heading>b{min-width:0;flex:1;overflow-wrap:anywhere;line-height:1.45}
.order-card .order-status-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;white-space:nowrap;word-break:keep-all;line-height:1.2;text-align:center;max-width:100px;font-size:11px;padding:5px 8px;border:0}
.order-card .row.line{min-width:0;gap:9px}
.order-card .row.line span{min-width:0;overflow-wrap:anywhere}
.order-card .row.line b{flex-shrink:0}
.ledger-entry{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:66px}
.ledger-entry .ledger-symbol{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#8992a9;color:#fff;font-size:25px;font-weight:750;line-height:1}
.ledger-entry--income .ledger-symbol,.ledger-entry--refund .ledger-symbol,.ledger-entry--commission .ledger-symbol,.ledger-entry--unlock .ledger-symbol,.ledger-entry--release .ledger-symbol{background:#52c991}
.ledger-entry--debit .ledger-symbol,.ledger-entry--withdraw .ledger-symbol{background:#dc696b}
.ledger-entry--lock .ledger-symbol,.ledger-entry--gift .ledger-symbol,.ledger-entry--security .ledger-symbol{background:#8992a9}
.ledger-entry--paid .ledger-symbol{background:#52c991}
.ledger-entry--cart .ledger-symbol,.ledger-entry--neutral .ledger-symbol{background:#8992a9}
.ledger-entry .ledger-symbol svg{display:block;width:23px;height:23px}
.ledger-entry .ledger-description{min-width:0}
.ledger-entry .ledger-description b{font-size:13px;overflow-wrap:anywhere}
.ledger-entry .ledger-description .muted{font-size:11px;margin-top:3px}
.ledger-entry strong{color:#343946;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums}
.ledger-entry--positive strong{color:#238657}
.ledger-entry--negative strong{color:#be454a}
.ledger-entry--neutral strong{color:#596273}
.ledger-withdrawals{margin-top:17px}
.ledger-withdrawals h3{font-size:15px;margin:0 0 12px}
.ledger-withdrawals .wd-record{margin:9px 0}
.modal-back{overflow:hidden}
.modal{
 display:flex;
 flex-direction:column;
 width:min(440px,100%);
 padding:0!important;
 max-height:calc(100dvh - 28px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
 overflow:hidden!important;
 overscroll-behavior:contain;
}
.modal .modal-head{
 position:relative;
 z-index:2;
 flex:0 0 auto;
 min-height:67px;
 margin:0;
 padding:15px 15px 11px 20px;
 background:#fffeff;
 border-radius:22px 22px 0 0;
 border-bottom:1px solid #f0eef8;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
}
.modal .modal-head>span{min-width:0;font-size:17px;font-weight:800;line-height:1.3}
.modal .modal-head .close{position:relative;flex:0 0 37px;width:37px;height:37px;display:grid;place-items:center;font-size:22px;touch-action:manipulation;z-index:3}
.modal .modal-body{
 flex:1 1 auto;
 min-height:0;
 max-height:calc(100dvh - 98px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
 overflow-y:auto;
 overflow-x:hidden;
 -webkit-overflow-scrolling:touch;
 overscroll-behavior:contain;
 padding:15px 19px 21px;
 scrollbar-width:thin;
}
.modal .modal-body>*:first-child{margin-top:0}
.modal .modal-body [hidden]{display:none!important}
.modal:has(.wd-password-sections){max-height:calc(100dvh - 28px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
.modal:has(.wd-section) .modal-body{padding-top:8px}
.wd-section{font-size:17px;margin:11px 0 10px}
.wd-section:before{height:20px}
.wd-methods{gap:9px;margin-bottom:12px}
.wd-method{min-height:60px;padding:10px 12px;border-radius:14px;gap:2px}
.wd-method b{font-size:17px}
.wd-method small{font-size:11px;color:#8d83a8}
.wd-account{padding:12px 13px 13px;border-radius:17px;margin-bottom:10px}
.wd-account-title{font-size:14px}
.wd-account .form-label{margin:7px 0 6px}
.wd-account .field{min-height:45px}
.wd-save{padding:8px 12px;margin-top:8px}
.modal .form-label{margin-top:12px;margin-bottom:7px}
.wd-amount input{min-height:47px}
.wd-amount button{flex-basis:62px;border-radius:13px}
.wd-summary{margin:10px 0;padding:10px 12px;border-radius:13px;gap:6px}
.wd-inline-balance{
 display:flex;justify-content:space-between;align-items:center;gap:10px;
 padding:12px 14px;margin:8px 0 12px;
 background:linear-gradient(135deg,#f8f6ff,#f2eefe);
 border:1px solid #e8e2fc;border-radius:14px;
 color:#6d628e;font-size:13px;
}
.wd-inline-balance b{font-size:18px;color:#543aab;white-space:nowrap}
.wd-held{font-size:12px;color:#706696;margin:-3px 3px 11px}
.wd-submit{min-height:49px;border-radius:14px;padding:12px}
.us-address-form{margin-top:12px;padding:16px 13px;background:#fdfcff;border:1px solid #ebe7f6;border-radius:17px}
.us-address-form h3{font-size:16px;margin:0 0 5px}
.us-address-form>.muted{margin:0 0 9px}
.us-address-form label{display:block;font-size:12px;line-height:1.4;font-weight:700;color:#5b5775;margin:12px 0 0;min-width:0}
.us-address-form label>.field,.us-address-form label>.address-phone{display:block;margin:6px 0 0;width:100%}
.us-address-form .field{padding:11px 12px;min-height:45px;font-size:16px;border-radius:11px}
.us-address-form .address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.us-address-form .address-grid label{min-width:0}
.us-address-form .address-phone{display:flex!important;align-items:center;overflow:hidden;border:1px solid #e0dcee;border-radius:11px;background:white}
.us-address-form .address-phone span{flex-shrink:0;padding:0 11px;border-right:1px solid #ded9ed;color:#5746a5;font-weight:750}
.us-address-form .address-phone .field{flex:1;min-width:0;margin:0;border:0;box-shadow:none}
.us-address-form .address-form-error{min-height:0;margin:9px 0 0;color:#ba3152;font-size:12px;line-height:1.5}
.us-address-form button[type=submit]{min-height:47px;margin-top:10px}
.saved-address{display:flex;align-items:flex-start;gap:9px;padding:13px 0;border-bottom:1px solid #efedf5}
.saved-address-detail{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;font-size:13px;overflow-wrap:anywhere}
.saved-address-detail p{margin:0;color:#6d7089;line-height:1.5}
.saved-address-detail span{color:#77728a}
.saved-address button{flex-shrink:0;padding:8px 10px}
@media(max-width:370px){
 .modal .modal-body{padding:12px 12px 17px}
 .modal .modal-head{padding:11px 11px 10px 14px;min-height:57px}
 .us-address-form{padding:13px 10px}
 .us-address-form .address-grid{gap:7px}
 .us-address-form .field{padding-left:8px;padding-right:8px}
 .wd-inline-balance b{font-size:16px}
 .order-tabs button{padding:8px 9px;font-size:11px}
}

/* Mobile storefront UAT: edge-to-edge square product thumbnails.  Restrict
   cover to catalog cards so cart, checkout and detail previews stay intact. */
.product > .photo{
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  min-height:0;
  padding:0;
  overflow:hidden;
}
.product > .photo > .uploaded-product-image{
  display:block;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  max-width:none;
  max-height:none;
  flex:none;
  object-fit:cover;
  object-position:center;
}
/* Order cards show a single current-state badge; no history or timestamps. */
.order-card .order-logistics-current{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 12px;
  min-height:27px;
}
.order-card .order-logistics-label{
  color:#9299ac;
  font-size:12px;
}
.order-card .order-logistics-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  white-space:nowrap;
  font-size:11px;
  font-weight:650;
  line-height:1.2;
  padding:6px 10px;
  border:1px solid #d5e8fc;
  border-radius:8px;
  background:#eaf4ff;
  color:#2b6fae;
}

/* October UAT: member wallet and resilient mobile dialogs. */
.wallet-refresh-bar{display:flex;justify-content:flex-end;margin:0 0 12px}
.wallet-refresh{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:14px;touch-action:manipulation}
.wallet-refresh svg{display:block;pointer-events:none}
.found-finance{padding:12px 15px}
.found-finance .line:last-child{border-bottom:0}
.found-finance .found-profit{color:#138f67}
.found-actions{gap:10px}
.found-actions button{flex:1;min-height:48px}
body.has-customer-modal{overflow:hidden!important;overscroll-behavior:none}
.has-customer-modal .modal-back{
 height:100dvh;
 overflow:hidden;
 touch-action:pan-y;
}
.has-customer-modal .modal{
 max-height:calc(100dvh - 22px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
 position:relative;
 isolation:isolate;
}
.has-customer-modal .modal-body{
 overscroll-behavior:contain;
 overflow-y:auto;
 -webkit-overflow-scrolling:touch;
 touch-action:pan-y;
}
.has-customer-modal .modal-head{z-index:10}
.has-customer-modal .modal-head .close{
 z-index:11;
 pointer-events:auto;
 touch-action:manipulation;
 min-width:44px;
 min-height:44px;
 width:44px;
 height:44px;
}
.has-customer-modal .modal-body input,
.has-customer-modal .modal-body select,
.has-customer-modal .modal-body textarea{
 touch-action:auto;
 font-size:16px;
 -webkit-user-select:text;
 user-select:text;
}
@supports(height:100svh){
 .has-customer-modal .modal-back{height:100dvh}
}

/* Search product preview: one fixed, oval *clip area* for both normal and
   hidden items. The reference drawing's oval stroke is not drawn in the UI.
   Only the picture inside this aperture is visible; crop excess with cover.
   Keep catalog thumbnails, cart icons and checkout previews unchanged. */
.modal .found-product>.photo{
 width:min(78%,280px);
 height:auto;
 aspect-ratio:4 / 3;
 margin:3px auto 20px;
 padding:0;
 border:0;
 border-radius:50%;
 overflow:hidden;
 background:#f8f7fc;
 position:relative;
 display:grid;
 place-items:center;
 isolation:isolate;
}
.modal .found-product>.photo>.uploaded-product-image{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 min-width:100%;
 min-height:100%;
 max-width:none;
 max-height:none;
 object-fit:cover;
 object-position:center;
 display:block;
 flex:none;
}
/* Long names must wrap beside a stable, horizontal favorite action. */
.modal .found-product>.row.between{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:start;
 gap:12px;
}
.modal .found-product>.row.between>b{
 min-width:0;
 overflow-wrap:anywhere;
 font-size:16px;
 line-height:1.4;
}
.modal .found-product>.row.between>button{
 min-width:76px;
 flex-shrink:0;
 white-space:nowrap;
 padding:10px 12px;
 align-self:start;
}
.found-finance .row{gap:12px}
.found-finance .row b{text-align:right}

/* Account actions: native full-screen views instead of nested dialogs.
   Body stays scrollable to let iOS Safari pan inputs above its soft keyboard. */
.member-full-page{
  max-width:470px;
  width:100%;
  min-height:100vh;
  min-height:100dvh;
  margin:0 auto;
  background:#f7f8fd;
  color:#1d2340;
  box-shadow:0 5px 30px #b5b9d055;
}
.member-page-header{
  position:sticky;
  top:0;
  z-index:25;
  min-height:calc(62px + env(safe-area-inset-top,0px));
  padding:calc(env(safe-area-inset-top,0px) + 9px) 14px 9px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  gap:6px;
  border-bottom:1px solid #e8e6f1;
  background:#fbfafff5;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
}
.member-page-header h1{
  margin:0;
  font-size:19px;
  font-weight:800;
  text-align:center;
  line-height:1.25;
}
.member-back{
  width:44px;
  height:44px;
  border-radius:15px;
  background:#eeeaf9;
  color:#5544b5;
  display:grid;
  place-items:center;
  cursor:pointer;
  touch-action:manipulation;
}
.member-back svg{pointer-events:none}
.member-back:focus-visible{outline:2px solid #6d5bd8;outline-offset:2px}
.member-page-content{
  padding:16px 16px calc(34px + env(safe-area-inset-bottom,0px));
  min-height:calc(100dvh - 64px - env(safe-area-inset-top,0px));
  overflow:visible;
  -webkit-overflow-scrolling:touch;
}
.member-page-content .field,
.member-page-content input,
.member-page-content select,
.member-page-content textarea{
  font-size:16px;
  touch-action:auto;
  -webkit-user-select:text;
  user-select:text;
  scroll-margin-top:calc(86px + env(safe-area-inset-top,0px));
  scroll-margin-bottom:32vh;
}
.member-page-content .primary{min-height:50px}
.member-address-page .saved-addresses{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}
.member-address-page .saved-address{
  margin:0;
  background:#fff;
  border:1px solid #e6e6f0;
  border-radius:17px;
  padding:13px;
  box-shadow:0 4px 18px #23285309;
}
.member-address-page .us-address-form{
  margin:0;
  border:1px solid #e6e6f0;
  border-radius:20px;
  padding:18px 15px 20px;
  background:#fff;
  box-shadow:0 6px 20px #2328530b;
}
.member-address-page .us-address-form h3{margin-top:2px}
.member-address-page .address-grid{min-width:0}
.member-withdraw-page .wd-methods{gap:10px}
.member-withdraw-page .wd-account,
.member-withdraw-page .wd-summary,
.member-withdraw-page .wd-inline-balance{
  box-shadow:0 4px 18px #24245909;
}
.member-withdraw-page .wd-account{padding:16px}
.member-withdraw-page .wd-account input{font-size:16px}
.member-withdraw-page .wd-submit{margin-top:10px}
@media(max-width:380px){
 .member-page-content{padding:13px 12px calc(32px + env(safe-area-inset-bottom,0px))}
 .member-address-page .us-address-form{padding:15px 12px 19px}
}

/* Security: full-height account form; avoid nested scrolling on iPhone. */
.member-security-page .wd-password-sections{
  display:grid;
  gap:16px;
  width:100%;
}
.member-security-page .wd-pass-section{
  min-width:0;
  background:#fff;
  border:1px solid #e9e6f2;
  border-radius:19px;
  padding:18px 16px 20px;
  box-shadow:0 6px 20px #27234c0b;
}
.member-security-page .wd-pass-section h3{
  margin:0 0 12px;
  font-size:18px;
  color:#292443;
}
.member-security-page .wd-pass-section .field{
  width:100%;
  max-width:100%;
  min-width:0;
  font-size:16px;
  min-height:52px;
  box-sizing:border-box;
}
.member-security-page .wd-pass-section .primary{
  margin-top:4px;
  min-height:50px;
}
.member-security-page .wd-pass-section input:focus-visible{
  outline:2px solid #7560db;
  outline-offset:1px;
}
@media(max-width:380px){
  .member-security-page .wd-pass-section{padding:16px 13px 18px}
}


/* UAT approved member UI: identical search preview for normal and hidden products. */
.modal:has(.found-product){width:min(430px,100%)}
.modal .modal-body:has(.found-product){padding:12px 15px 18px}
.modal .found-product{padding:0;margin:0 0 10px;overflow:hidden;border-radius:17px;box-shadow:none;border-color:#efedf7}
.modal .found-product>.photo{
 width:100%;height:auto;max-width:100%;aspect-ratio:1 / 1;
 margin:0;padding:0;border:0;border-radius:16px;
 position:relative;display:flex;align-items:center;justify-content:center;
 overflow:hidden;background:#f8f8fb;isolation:isolate;
}
.modal .found-product>.photo>.uploaded-product-image{
 position:absolute;inset:0;width:100%;height:100%;
 min-width:0;min-height:0;max-width:100%;max-height:100%;
 object-fit:contain;object-position:center;flex:none;
}
.modal .found-product .found-image-caption{
 position:absolute;z-index:2;left:0;right:0;bottom:0;
 display:flex;align-items:end;justify-content:space-between;gap:8px;
 padding:11px 12px 13px;
 color:#111425;background:rgba(255,255,255,.13);
 backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);
}
.found-product-name{display:flex;flex-direction:column;gap:3px;min-width:0;
 text-shadow:0 1px 2px #ffffffa8;overflow-wrap:anywhere}
.found-product-name b{font-size:clamp(13px,3.9vw,17px);line-height:1.25;color:#111425;font-weight:800}
.found-product-name span{font-size:11px;color:#34394f}
.modal .found-product .found-image-caption button{
 flex:0 0 auto;white-space:nowrap;min-width:68px;
 padding:9px 10px;font-size:12px;align-self:flex-end;
}
.modal .found-finance{margin:0 0 10px;padding:8px 13px;border-radius:16px}
.modal .found-finance .line{padding:9px 0;gap:8px;font-size:clamp(11px,3.2vw,14px)}
.modal .found-finance .line span{min-width:0;overflow-wrap:anywhere}
.modal .found-finance .line b{font-variant-numeric:tabular-nums;flex:0 0 auto}
.modal .found-actions{margin:0;gap:10px}
.modal .found-actions button{min-width:0;min-height:47px;padding:10px 5px;font-size:clamp(11px,3.5vw,14px);white-space:nowrap}

/* Claim catalog: real square thumbnails occupy approximately half each card. */
.claim-intro{background:#f5fff9;border-color:#c7efdc;padding:17px}
.claim-intro h3{margin:0 0 12px}
.claim-intro p{font-size:13px;white-space:pre-wrap;line-height:1.65}
.claim-intro .notice{white-space:pre-wrap}
.claim-product-card{display:flex;align-items:center;gap:12px;padding:10px;margin:12px 0;min-width:0}
.claim-product-photo{
 position:relative;flex:0 0 49%;width:49%;aspect-ratio:1 / 1;
 border-radius:16px;overflow:hidden;min-width:0;min-height:0;
 background:#f2f0f9;display:flex;align-items:center;justify-content:center;
}
.claim-product-photo>.uploaded-product-image{width:100%;height:100%;object-fit:cover;display:block;flex:none}
.product-image-host{position:relative}
.product-image-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:12px;background:#f2f0f9;color:#625b79;font-size:12px;line-height:1.5;text-align:center;pointer-events:none;z-index:1}
.product-image-status[hidden]{display:none}
.product-image-retry{cursor:pointer;pointer-events:auto;text-decoration:underline}
.product-image-retry:focus-visible{outline:3px solid #7054ce;outline-offset:-4px}
.claim-product-info{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center;gap:7px}
.claim-product-name{font-size:clamp(13px,3.8vw,17px);font-weight:800;color:#222042;line-height:1.3;overflow-wrap:anywhere}
.claim-product-info>.primary{min-height:42px;font-size:13px;margin-top:3px;padding:10px 5px}
@media(max-width:360px){
 .claim-product-card{gap:9px;padding:8px}
 .claim-product-photo{flex-basis:48%;width:48%}
 .claim-product-info>.primary{min-height:38px;font-size:12px}
}

/* One order card layout for ordinary, hidden and claim items.
   Only hidden items have profit and refunded-upon-completion rows. */
.order-card{padding:14px;margin:12px 0;border-radius:20px}
.order-card .order-heading{display:flex;align-items:flex-start;gap:7px;margin-bottom:12px;flex-wrap:wrap}
.order-card .order-heading>b{flex:1 1 165px;min-width:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#231c49}
.order-card .order-badges{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:4px}
.order-card .order-status-badge{background:#e9f8f2;color:#168567}
.order-card .order-error-badge{background:#fff;color:#be2e34;border:1px solid #d72e38;font-size:11px;white-space:nowrap}
.order-card-main{display:flex;align-items:flex-start;gap:11px;min-width:0}
.order-card .order-item-photo{width:28%;flex:0 0 28%;height:auto;aspect-ratio:1 / 1;border-radius:12px;background:#f4f2fb;font-size:39px;align-self:flex-start}
.order-card .order-item-photo .uploaded-product-image{width:100%;height:100%;object-fit:contain}
.order-card .order-item-details{min-width:0;flex:1}
.order-card .order-item-name{min-width:0;font-size:14px;font-weight:700;line-height:1.4;overflow-wrap:anywhere;margin:1px 0 5px;color:#242044}
.order-card .order-logistics-current{margin:4px 0 8px;padding:0;min-height:0;border:0}
.order-card .order-logistics-badge{border:0;padding:3px 0;background:none;color:#6755cc;font-size:11px}
.order-card .order-finance{margin-top:8px;border-top:1px solid #eeedf4}
.order-card .order-finance-line{display:flex;align-items:baseline;justify-content:space-between;gap:6px;border-bottom:1px solid #eeedf4;padding:9px 0;min-width:0;font-size:clamp(10px,2.8vw,12px)}
.order-card .order-finance-line span{min-width:0;color:#000;overflow-wrap:anywhere}
.order-card .order-finance-line b{color:#000;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(10px,3.1vw,13px)}
.order-card .order-card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:9px}
.order-card .order-card-actions button{min-width:108px;min-height:40px;padding:9px 13px;font-size:13px}
.order-card .order-card-footer{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:9px 12px;margin-top:9px}
.order-card .order-created{display:flex;flex-direction:column;gap:3px;min-width:0;color:#858399;font-size:11px;line-height:1.45}
.order-card .order-created time{font:inherit;font-variant-numeric:tabular-nums;white-space:nowrap;color:#747287}
.order-card .order-card-footer .order-card-actions{margin-top:0;margin-left:auto;flex-shrink:0}
@media(max-width:360px){
 .order-card{padding:11px}
 .order-card-main{gap:9px}
 .order-card .order-item-photo{width:27%;flex-basis:27%}
 .order-card .order-finance-line{padding:7px 0}
 .order-card .order-heading>b{font-size:11px}
}


/* Final approved responsive modal gutters and meaningful order states. */
body:has(.modal .found-product) .modal-back{
 padding-inline:clamp(22px,6vw,32px);
}
.order-card .order-status-badge.order-status-pending{
 background:#eaf3ff;color:#2771b3;
}
.order-card .order-status-badge.order-status-done{
 background:#f0ecfc;color:#6551ba;
}
.order-card .order-status-badge.order-status-claim{
 background:#fff4e7;color:#9c6b25;
}
.order-card .order-logistics-badge::before{
 content:"🚚";margin-right:5px;font-size:11px;
}


/* Wrong-order "完成" checks funds and settles the whole task, unlike the
   standard purple "完成订单" button which only closes a paid order. */
.order-card .order-card-actions .order-exception-action{
 background:#fff5f6;
 color:#b33b53;
 border:1px solid #e5a7b5;
 box-shadow:0 2px 8px #a9556b15;
 font-weight:750;
}
.order-card .order-card-actions .order-exception-action:hover{
 background:#ffedf0;
}

/* Member-only compact confirmation for exception order settlement. */
.exception-confirm-back{z-index:30}
.exception-confirm{width:min(390px,calc(100vw - 36px));height:auto;max-height:none;padding:20px!important;display:block;overflow:visible!important}
.exception-confirm .modal-body{padding:0}
.exception-confirm h2{margin:0 0 24px;font-size:19px;color:#202238}
.exception-confirm-buttons{justify-content:flex-end;gap:10px}
.exception-confirm-buttons button{min-width:100px;padding:12px 17px;border-radius:12px}

/* Member language / currency display */
.language-currency-display{display:flex;align-items:center;justify-content:center;gap:12px;font-size:18px;font-weight:700;color:#24283d}
.language-country-flag{font-size:28px;line-height:1.2}

/* Keep existing member card layout; subtly adjust identity typography only. */
.member-identity{min-width:0}
.member-nickname{display:block;font-size:17px;line-height:1.35;margin-bottom:2px}
.member-id-row{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px;align-items:baseline;color:#5e50d7!important;font-size:11.5px;line-height:1.45;white-space:nowrap}
.member-id-row span:last-child{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
@media(max-width:350px){.member-id-row{font-size:10.5px}}

/* Shared Review Order / free-claim address selector: clear vertical spacing. */
.checkout-address-field{display:flex;flex-direction:column;gap:9px;margin:15px 0 14px}
.checkout-address-field>label{display:block;font-size:14px;font-weight:600;color:#252b45;line-height:1.4;margin:0}
.checkout-address-field>#orderAddress{display:block;margin:0;min-height:49px}
.checkout-address-help{margin:2px 0 0;font-size:12px;line-height:1.5;color:#858ba0}

.claim-gallery-open{border:0;padding:0;cursor:pointer;color:inherit;font:inherit}
.claim-gallery-name{display:block;border:0;padding:0;background:transparent;text-align:left;cursor:pointer;color:inherit;font-family:inherit;font-weight:700}
.claim-gallery-open:focus-visible,.claim-gallery-name:focus-visible{outline:3px solid #a390e8;outline-offset:3px}
.claim-gallery-badge{position:absolute;bottom:9px;right:9px;display:flex;align-items:center;gap:4px;padding:4px 7px;color:#fff;background:#31243a55;border:1px solid #ffffff55;border-radius:9px;font-size:10px;pointer-events:none}
.claim-gallery-badge svg{width:12px;height:12px}
.claim-slideshow-back{z-index:2000;padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));background:#29233980;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.claim-slideshow{display:flex;flex-direction:column;width:min(100%,580px);min-height:0;max-height:calc(100vh - 24px);max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));overflow:hidden;padding:0;border-radius:25px;box-shadow:0 24px 90px #241d4030}
.claim-slideshow .modal-head{padding:19px 19px 14px;margin:0;gap:12px}
.claim-slideshow .modal-head>div{flex:1;min-width:0;max-height:24vh;max-height:24dvh;overflow:auto}
.claim-slideshow .modal-head small{display:block;font-size:10px;letter-spacing:2px;font-weight:500;color:#a198b2;margin-bottom:5px}
.claim-slideshow h2{font-size:18px;font-weight:750;margin:0;overflow-wrap:anywhere}
.claim-slideshow .close{flex:0 0 34px}
.claim-slideshow-stage{position:relative;flex:1 1 auto;min-width:0;min-height:0;height:min(52vh,520px);height:min(52dvh,520px);aspect-ratio:auto;background:#f3eee8;overflow:hidden;touch-action:pan-y}
.claim-slide{position:absolute;inset:0;min-width:0;min-height:0;opacity:0;transition:opacity .55s ease;pointer-events:none;display:flex;align-items:center;justify-content:center;font-size:64px}
.claim-slide.active{opacity:1}
.claim-slide>.uploaded-product-image{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.claim-slideshow-count{position:absolute;top:13px;right:14px;z-index:2;font-size:11px;color:#ffffffee;background:#3c30435c;padding:5px 10px;border-radius:15px;font-variant-numeric:tabular-nums}
.claim-slideshow-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:48px;display:grid;place-items:center;border:1px solid #ffffff88;border-radius:12px;background:#ffffff99;color:#82718c;font-size:28px;z-index:2;backdrop-filter:blur(4px)}
.claim-slideshow-arrow.prev{left:11px}.claim-slideshow-arrow.next{right:11px}
.claim-slideshow-track{height:2px;background:#f6f2fa;overflow:hidden}
.claim-slideshow-track span{display:block;height:100%;background:#bea8db;width:0;transition:width .08s linear}
.claim-slideshow-controls{padding:16px 20px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
.claim-slideshow-dots{display:flex;gap:7px}
.claim-slideshow-dots button{width:6px;height:6px;border:0;border-radius:5px;background:#ded6eb;padding:0;transition:width .3s,background .3s}
.claim-slideshow-dots button.active{width:22px;background:#9876cb}
.claim-slideshow-toggle{border:0;background:#f5f1fa;color:#8b6dad;border-radius:20px;padding:6px 10px;font-size:11px}
.claim-slideshow-thumbs{display:flex;gap:8px;padding:14px 20px 0;overflow:auto}
.claim-slideshow-thumbs button{width:61px;height:61px;flex:0 0 61px;border-radius:12px;border:2px solid transparent;background:#f4efea;overflow:hidden;padding:0;opacity:.65;transition:opacity .3s,border .3s}
.claim-slideshow-thumbs button.active{opacity:1;border-color:#a486d0}
.claim-slideshow-thumbs .uploaded-product-image{width:100%;height:100%;object-fit:cover}
.claim-slideshow-hint{text-align:center;font-size:11px;color:#aaa1b7;margin:13px 0 17px}
.claim-slideshow [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.claim-slide,.claim-slideshow-dots button,.claim-slideshow-thumbs button{transition:none}}
.claim-slideshow .modal-head,.claim-slideshow-controls,.claim-slideshow-thumbs,.claim-slideshow-hint{flex-shrink:0}
.claim-slideshow-track{flex:0 0 2px}
@media(max-height:650px){.claim-slideshow .modal-head{padding-top:12px;padding-bottom:10px}.claim-slideshow-thumbs button{width:46px;height:46px;flex-basis:46px}.claim-slideshow-hint{margin:8px 0}.claim-slideshow-controls{padding-top:10px}}

.member-action-back{z-index:2200}.member-action-dialog{height:auto;padding:20px}.member-action-dialog p{line-height:1.7;margin:10px 0 24px}.member-action-buttons{display:flex;gap:10px;justify-content:flex-end}.member-action-buttons button{min-height:44px}.funds-setup-only label{display:block;margin:12px 0 8px;font-size:14px}

.modal .found-save{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.found-save-icon{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.found-save.saved .found-save-icon{fill:#e53935;stroke:#e53935}
.member-data-state{font-size:13px;color:#747287;line-height:1.6}

.account-lock-notice{margin:8px 0 0;color:#a13333;font-size:13px;line-height:1.5;overflow-wrap:anywhere}

.claim-checkout-product{gap:14px;align-items:center}
.claim-checkout-product .claim-checkout-details{flex:1;min-width:0;overflow-wrap:anywhere}
.claim-checkout-quantity{flex-shrink:0;padding:7px 11px;border-radius:10px;background:#f2edff;color:#6247ac;font-size:16px;font-weight:700;white-space:nowrap}
.claim-checkout-reward{background:#f0fbf6;border:1px solid #c9ebdc;border-radius:14px;padding:16px;margin:14px 0 20px;color:#24684e}
.claim-checkout-reward>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.claim-checkout-reward strong{font-size:22px;white-space:nowrap}
.claim-checkout-reward p{font-size:13px;color:#64917d;margin:8px 0 0;line-height:1.5}
@media(max-width:400px){.claim-checkout-product{gap:10px}.claim-checkout-quantity{padding:6px 8px;font-size:15px}.claim-checkout-reward{padding:13px}.claim-checkout-reward strong{font-size:20px}}

/* Equal-width thumbnail and details, with typography fitted to the detail column. */
.claim-product-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch;padding:14px;border-radius:23px;box-shadow:none}
.claim-product-photo{width:100%;flex:none;aspect-ratio:1;align-self:start}
.claim-product-info{container-type:inline-size;gap:0;justify-content:flex-start;padding:1px 0;min-width:0}
.claim-product-name{font-size:clamp(15px,6.2cqw,19px);font-weight:700;line-height:1.38;letter-spacing:0;margin:0 0 13px;text-wrap:balance}
.claim-product-details{font-size:clamp(12px,4.7cqw,14px);font-weight:400;line-height:1.65;color:#27845f;margin:0 0 13px;overflow-wrap:anywhere;background:none;box-shadow:none;text-shadow:none}
.claim-product-details p{margin:0 0 2px}
.claim-product-info>.primary{font-size:clamp(14px,5.5cqw,16px);font-weight:650;line-height:1.4;min-height:47px;padding:11px 10px;margin-top:auto;border-radius:14px;width:100%}
.claim-checkout-product{border-bottom:0;padding-bottom:0;margin-bottom:12px}
.claim-checkout-product .cart-photo{width:88px;height:88px;flex:0 0 88px;border-radius:15px}
.claim-checkout-product .claim-checkout-details>b{font-size:18px;line-height:1.35;display:block}
.claim-checkout-reward{margin:0 0 13px;padding:13px 16px}
.claim-checkout-description{background:#f5f5f8;border:1px solid #e1e2e8;border-radius:4px;padding:14px 16px;margin:0 0 17px;font-size:14px;line-height:1.65;color:#6c7081}
.claim-checkout-description>strong{display:block;font-weight:600;color:#484c60;font-size:14px;margin:0 0 6px}
.claim-checkout-description>div{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:480px){.claim-product-card{padding:11px;gap:12px}.claim-product-name{font-size:15px;line-height:1.4;margin-bottom:10px}.claim-product-details{font-size:12px;line-height:1.65;margin-bottom:12px}.claim-product-details p{margin-bottom:3px}.claim-product-info>.primary{font-size:14px;min-height:43px;padding:10px 8px}.claim-checkout-product .cart-photo{width:70px;height:70px;flex-basis:70px}.claim-checkout-product .claim-checkout-details>b{font-size:16px}.claim-checkout-description{font-size:13px;padding:12px 13px}}

/* Every seasonal rule is scoped; removing tk-halloween restores the baseline. */
.halloween-banner{display:none}
.tk-halloween .halloween-banner{display:block;position:relative;isolation:isolate;overflow:hidden;border-radius:19px;margin:0 0 16px;min-height:184px;border:1px solid #d9c4ef;background:#e9dcfc}
.tk-halloween .halloween-art{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.tk-halloween .halloween-copy{padding:25px 18px;max-width:76%;color:#312154}
.tk-halloween .halloween-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:2px;color:#5f4484;margin-bottom:8px}
.tk-halloween .halloween-copy h2{margin:0;font-size:29px;line-height:1.08;letter-spacing:-.6px;font-weight:850}
.tk-halloween .halloween-copy h2 span{display:block;color:#a64214}
.tk-halloween .halloween-copy p{margin:10px 0 0;font-size:13px;line-height:1.5;color:#4e3c67}
.tk-halloween .halloween-compact{min-height:78px;margin-bottom:12px}
.tk-halloween .halloween-compact .halloween-copy{padding:17px 15px;max-width:84%}
.tk-halloween .halloween-compact .halloween-copy h2{font-size:23px}
.tk-halloween .halloween-compact .halloween-copy h2 span{display:inline}
.tk-halloween .halloween-compact .halloween-eyebrow{display:none}
.tk-halloween .top .logo{position:relative;overflow:visible}
.tk-halloween .top .logo:after{content:'🎃';position:absolute;font-size:14px;right:-6px;bottom:-5px;line-height:1;pointer-events:none}
.tk-halloween .bottom .nav.on .nav-icon{position:relative}
.tk-halloween .bottom .nav.on .nav-icon:after{content:'';width:5px;height:5px;position:absolute;right:-4px;top:0;border-radius:50%;background:#f28a34;pointer-events:none}
@media(max-width:360px){.tk-halloween .halloween-copy h2{font-size:26px}.tk-halloween .halloween-compact .halloween-copy h2{font-size:21px}}

/* Search decoration shares the same automatic expiry; keys remain untouched. */
.tk-halloween .search-experience>.halloween-compact{min-height:66px;margin:0;flex-shrink:0}
.tk-halloween .search-experience>.halloween-compact .halloween-copy{padding:14px 15px}
.tk-halloween .search-intro-mark{color:#c86624}
.tk-halloween .search-display{border-color:#ddc5ed}

/* Full search night scene. Entirely removed visually when the shared date class expires. */
.tk-halloween body:has(.shell-search){background:#261b40 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22470%22%20height%3D%22900%22%20viewBox%3D%220%200%20470%20900%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22sky%22%20x2%3D%22.25%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23251943%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23514079%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%239d6f96%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22glow%22%3E%3Cstop%20stop-color%3D%22%23ffe7a5%22%20stop-opacity%3D%22.4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffe7a5%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url(%23sky)%22%20d%3D%22M0%200h470v900H0z%22%2F%3E%3Ccircle%20cx%3D%22400%22%20cy%3D%22135%22%20r%3D%22100%22%20fill%3D%22url(%23glow)%22%2F%3E%3Ccircle%20cx%3D%22405%22%20cy%3D%22135%22%20r%3D%2243%22%20fill%3D%22%23ffe9b0%22%2F%3E%3Ccircle%20cx%3D%22391%22%20cy%3D%22124%22%20r%3D%227%22%20fill%3D%22%23eecf8b%22%2F%3E%3Ccircle%20cx%3D%22416%22%20cy%3D%22148%22%20r%3D%225%22%20fill%3D%22%23eecf8b%22%2F%3E%3Cg%20fill%3D%22%23d7b9ef%22%20opacity%3D%22.7%22%3E%3Ccircle%20cx%3D%2231%22%20cy%3D%22124%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2265%22%20cy%3D%2267%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%22206%22%20cy%3D%2298%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%22315%22%20cy%3D%2247%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%22444%22%20cy%3D%22285%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2226%22%20cy%3D%22387%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%22443%22%20cy%3D%22590%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2247%22%20cy%3D%22677%22%20r%3D%222%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23170f30%22%3E%3Cpath%20d%3D%22m334%20130-22-15%205%2022-15%203%2020%2010%208-7%208%207%2021-10-16-3%205-22Z%22%2F%3E%3Cpath%20d%3D%22m55%20287-14-10%203%2014-9%202%2013%206%205-4%205%204%2013-6-10-2%203-14Z%22%2F%3E%3Cpath%20d%3D%22m421%20453-14-10%203%2014-9%202%2013%206%205-4%205%204%2013-6-10-2%203-14Z%22%2F%3E%3C%2Fg%3E%3Cg%20stroke%3D%22%23c4addf%22%20opacity%3D%22.32%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M0%2060%2077%20111M0%2060%2081%2068M0%2060%2013%20159M0%2087q16-2%2025-10M0%20111q35-6%2047-18M0%20137q55-11%2067-30M27%2060q-4%2012-2%2017M54%2060q-7%2019-7%2033M78%2060q-13%2024-11%2047%22%2F%3E%3Cpath%20d%3D%22M470%20345%20416%20390M470%20345%20403%20355M470%20345%20462%20420M470%20367q-15%200-19-10M470%20391q-31-2-34-21M447%20345q-2%207%204%2012M422%20345q-5%2012%2014%2025%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M0%20812q100-52%20210-8t260-17v113H0%22%20fill%3D%22%23322445%22%2F%3E%3Cpath%20d%3D%22M0%20847q150-35%20270-13t200-14v80H0%22%20fill%3D%22%23251c36%22%2F%3E%3Cg%20transform%3D%22translate(29%20807)%22%3E%3Cpath%20d%3D%22m23-14%204-18%207%202-3%2016%22%20fill%3D%22%2370824f%22%2F%3E%3Cellipse%20cx%3D%2228%22%20cy%3D%2212%22%20rx%3D%2234%22%20ry%3D%2229%22%20fill%3D%22%23eb8b35%22%2F%3E%3Cellipse%20cx%3D%2228%22%20cy%3D%2212%22%20rx%3D%2217%22%20ry%3D%2229%22%20fill%3D%22none%22%20stroke%3D%22%23b45c29%22%2F%3E%3Cpath%20d%3D%22m5%2010%2012-10%202%2012Zm29%202%204-12%2012%2010ZM11%2020l10%203%208-3%208%204%2010-5-8%2012H20Z%22%20fill%3D%22%234a2940%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(390%20827)%20scale(.8)%22%3E%3Cpath%20d%3D%22m23-14%204-18%207%202-3%2016%22%20fill%3D%22%2370824f%22%2F%3E%3Cellipse%20cx%3D%2228%22%20cy%3D%2212%22%20rx%3D%2234%22%20ry%3D%2229%22%20fill%3D%22%23eb8b35%22%2F%3E%3Cpath%20d%3D%22m5%2010%2012-10%202%2012Zm29%202%204-12%2012%2010ZM11%2020l10%203%208-3%208%204%2010-5-8%2012H20Z%22%20fill%3D%22%234a2940%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center top/cover fixed no-repeat}
.tk-halloween .shell-search{min-height:100dvh;background:transparent}
.tk-halloween .shell-search .content-search{background:transparent}
.tk-halloween .shell-search .top{background:#211735ed;border-color:#705486;color:#fff}
.tk-halloween .shell-search .top .brand{color:#fff1dc}
.tk-halloween .shell-search .top .pill{background:#49365e;color:#fff1dc;border-color:#78608a}
.tk-halloween .shell-search .search-intro h2{color:#fff1db;text-shadow:0 2px 8px #1d102a66}
.tk-halloween .shell-search .search-intro p{color:#eee2fa}
.tk-halloween .shell-search .search-eyebrow{color:#ffd29e}
.tk-halloween .shell-search .search-intro-mark{color:#ffa94f}
.tk-halloween .shell-search .search-keypad-panel{background:#f9f3fff0;border:1px solid #e2c8ef;border-radius:23px;padding:14px;box-shadow:0 12px 30px #160b3038}
.tk-halloween .shell-search .search-display{background:#fff8fff2;border-color:#e4c8ef;box-shadow:0 6px 22px #1c0d3433}
.tk-halloween .shell-search .search-submit{background:linear-gradient(105deg,#7740bc,#ac5488);box-shadow:0 6px 18px #58336c30}
.tk-halloween .shell-search .bottom{background:#271c3df5;border-color:#796087}
.tk-halloween .shell-search .bottom .nav{color:#d6c6e6}
.tk-halloween .shell-search .bottom .nav.on{color:#ffc27f}
.tk-halloween .shell-search .halloween-compact{background:#39244ecc;border-color:#86659d;min-height:55px}
.tk-halloween .shell-search .halloween-compact .halloween-art{display:none}
.tk-halloween .shell-search .halloween-compact .halloween-copy{padding:12px 15px;max-width:100%;text-align:center}
.tk-halloween .shell-search .halloween-compact h2{font-size:23px;color:#fff1db}
.tk-halloween .shell-search .halloween-compact h2 span{color:#ffc27f}


/* BEGIN TK ACCOUNT LOCK NOTICE STYLE V1 */
.profile:has(+ .account-lock-notice){align-items:center}
.account-lock-notice{display:flex;align-items:flex-start;gap:10px;margin:16px 0 0;padding:14px 13px;background:linear-gradient(125deg,#fff2f1,#ffebe9);border:1px solid #f3ceca;border-left:4px solid #ce5147;border-radius:12px;box-shadow:0 5px 15px #a8392d14;color:#983d35;font-size:13px;font-weight:600;line-height:1.65;overflow-wrap:anywhere;text-align:left}
.account-lock-notice .account-lock-icon{width:19px;height:19px;min-width:19px;flex-shrink:0;margin-top:2px;color:#b74c41}
.account-lock-notice .account-lock-text{min-width:0;flex:1}
/* END TK ACCOUNT LOCK NOTICE STYLE V1 */

.historical-order-card .order-heading{margin-bottom:10px}
.historical-order-card .order-heading>span:first-child{color:var(--muted,#5f6b81);font-size:12px}
.historical-order-card .order-item-photo{width:20%;flex-basis:20%}
.historical-order-card .order-item-photo .uploaded-product-image{object-fit:cover}
.historical-order-facts{display:grid;gap:8px;margin:12px 0 0;font-size:clamp(10px,3vw,13px)}
.historical-order-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:6px}
.historical-order-facts dt{color:var(--muted,#5f6b81)}
.historical-order-facts dd{margin:0;text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
