:root{--ink:#102234;--muted:#63758a;--line:#d8e4e8;--paper:#f3f8f8;--card:#fff;--teal:#079b83;--teal-deep:#067361;--navy:#0b2c43;--red:#c54545}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 85% 12%,rgba(9,155,131,.11),transparent 28%),var(--paper);color:var(--ink);font-family:"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}
.redeem-page{min-height:100vh;display:grid;place-items:center;padding:44px 20px}.redeem-stack{width:min(760px,100%)}.redeem-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:48px 54px;box-shadow:0 28px 70px rgba(28,64,77,.13)}.redeem-logo,.brand-mark{display:grid;place-items:center;background:linear-gradient(145deg,#0c3047,#08a68c);color:#fff;font-weight:900;box-shadow:0 12px 28px rgba(6,115,97,.22)}.redeem-logo{width:64px;height:64px;border-radius:19px;margin:0 auto 18px}.kicker{text-align:center;margin:0;color:var(--teal-deep);font-size:12px;font-weight:900;letter-spacing:.14em}.redeem-card h1{text-align:center;margin:10px 0 9px;font-size:34px}.intro{text-align:center;color:var(--muted);margin:0 0 34px;line-height:1.7}.redeem-card label{display:block;font-size:13px;font-weight:800;margin-bottom:8px}.redeem-form{display:grid;grid-template-columns:1fr 132px;gap:10px}.redeem-form input,.login-box input{width:100%;height:52px;border:1px solid #b8cbd2;border-radius:12px;padding:0 15px;outline:none;background:#fbfdfd}.redeem-form input:focus,.login-box input:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(7,155,131,.1)}.redeem-form button,.primary{border:0;border-radius:12px;background:var(--teal-deep);color:#fff;font-weight:850;padding:0 18px}.redeem-form button:disabled,.primary:disabled{opacity:.55}.error{margin-top:12px;padding:11px 13px;border-radius:10px;background:#fff0f0;color:var(--red);font-size:13px}.help{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:25px 0 17px}.help span{padding:7px 11px;border-radius:999px;background:#e9f6f3;color:var(--teal-deep);font-size:12px;font-weight:700}.safe{text-align:center;color:#8a98a6;font-size:12px;margin:0}
.member-promo{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:15px;margin:0 0 16px;padding:16px 18px;border:1px solid #82cdbf;border-radius:17px;background:linear-gradient(105deg,#072f45,#075f63);color:#fff;box-shadow:0 14px 34px rgba(5,77,82,.18)}.promo-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#087866;font-size:12px;font-weight:900}.promo-copy small{display:block;color:#88e4d0;font-size:10px;font-weight:900;letter-spacing:.12em}.promo-copy strong{display:block;margin-top:4px;font-size:15px}.member-promo>b{padding:10px 13px;border-radius:10px;background:#12b999;white-space:nowrap;font-size:13px}.member-promo i{font-style:normal}.member-promo.compact{width:100%;margin-bottom:18px}
.center-page{min-height:100vh;display:grid;place-items:center;padding:30px}.message-card{width:min(520px,100%);padding:52px 42px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:25px;box-shadow:0 24px 60px rgba(28,64,77,.12)}.message-card .brand-mark{margin:0 auto}.message-card h1{margin:20px 0 8px}.message-card p{color:var(--muted);line-height:1.8}.brand-mark{width:40px;height:40px;border-radius:12px;font-size:11px}.loader{display:flex;justify-content:center;gap:7px;margin-top:22px}.loader i,.pulse{width:9px;height:9px;border-radius:50%;background:#12b999;display:inline-block;animation:pulse 1.1s infinite}.loader i:nth-child(2){animation-delay:.15s}.loader i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,100%{opacity:.25;transform:scale(.78)}50%{opacity:1;transform:scale(1)}}.message-card .primary{height:45px;margin-top:16px}.link-button{display:inline-grid;place-items:center;padding:12px 20px}
.simple-header{height:74px;background:#fff;border-bottom:1px solid var(--line)}.simple-header>div{width:min(1000px,calc(100% - 32px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:900}.muted{color:var(--muted);font-size:13px}.order-wrap{width:min(900px,calc(100% - 32px));margin:48px auto 80px}.order-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 20px 55px rgba(25,63,76,.11)}.order-loading,.order-error{padding:70px 30px;text-align:center;color:var(--muted)}.order-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 36px;background:var(--navy);color:#fff}.order-hero small{color:#99b2c2}.order-hero h2{margin:5px 0 0}.order-hero>span{padding:8px 12px;border-radius:999px;background:rgba(22,196,160,.14);color:#80e3d0;font-size:12px;font-weight:800}.order-content{padding:32px 38px}.tip{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.tip b{padding:7px 10px;border-radius:10px;background:#e7f5f2;color:var(--teal-deep);white-space:nowrap}.tip.second{margin-top:28px}.value-card{width:100%;margin-top:14px;padding:22px;border:1px solid #78cdbc;border-radius:18px;background:#f0faf7;text-align:left;color:var(--ink)}.value-card small,.value-card span{display:block;color:var(--teal-deep)}.value-card strong{display:block;margin:10px 0;font:800 29px ui-monospace,Consolas,monospace;letter-spacing:.08em}.value-card.code{background:#e9f8f4}.phone-card{display:flex;align-items:center;gap:16px;padding:18px 22px;background:linear-gradient(135deg,#f3fcfa,#eaf8f4)}.phone-card .country-flag{flex:0 0 auto;font-size:44px;line-height:1}.phone-detail{min-width:0}.phone-detail>small{font-weight:900;color:#5d7180}.phone-detail>span{margin-top:5px;color:#6e827f;font-size:11px}.phone-number{display:flex;align-items:center;gap:10px;margin-top:5px}.phone-number strong{margin:0;color:#10283b;font-size:28px;letter-spacing:.02em;white-space:nowrap}.phone-number strong b{color:#087c69;font:inherit}.phone-number button{flex:0 0 auto;padding:7px 12px;border:1px solid #14a98e;border-radius:9px;background:#fff;color:#087c69;font-weight:900;cursor:pointer}.phone-number button:hover{background:#087c69;color:#fff}.phone-number button:disabled{cursor:not-allowed;opacity:.45}.waiting,.cancelled{margin-top:14px;padding:23px;border-radius:17px;background:#f6f8f9;text-align:center;color:#526579;line-height:1.9}.waiting .pulse{margin-right:8px}.waiting small{color:#8493a0}.cancel-button{width:100%;margin-top:13px;padding:12px;border:1px solid #d6a2a2;border-radius:11px;background:#fff;color:#a94444;font-weight:800}.cancel-button:disabled{opacity:.55}.cancel-note{text-align:center;color:#8b99a6;font-size:11px}.cancelled{display:grid;gap:8px}.cancelled button{justify-self:center;border:0;border-radius:9px;padding:9px 16px;background:var(--teal-deep);color:#fff}.sms-text{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:14px}.sms-text small{color:var(--muted)}.sms-text p{margin:8px 0 0;word-break:break-all}.order-foot{margin-top:25px;padding-top:18px;border-top:1px dashed var(--line);color:#8b99a6;font-size:11px}.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);padding:10px 18px;border-radius:10px;background:#102c40;color:#fff;font-size:13px}
.admin-page{min-height:100vh;padding:42px 22px}.admin-shell{width:min(1180px,100%);margin:auto}.admin-shell>header{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.admin-shell>header small{color:var(--teal-deep);font-weight:900;letter-spacing:.14em}.admin-shell h1{margin:5px 0 0}.admin-shell>header a{color:var(--teal-deep);font-weight:800}.login-box{width:min(460px,100%);margin:70px auto;padding:35px;background:#fff;border:1px solid var(--line);border-radius:20px}.login-box h2{margin:0}.login-box p{color:var(--muted)}.login-box .primary{height:48px;width:100%;margin-top:12px}.admin-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:16px}.admin-actions label{font-size:12px;color:var(--muted)}.admin-actions input{display:block;width:110px;height:43px;margin-top:5px;border:1px solid var(--line);border-radius:9px;padding:0 10px}.admin-actions .primary,.ghost{height:43px;border-radius:9px;padding:0 18px}.ghost{border:1px solid var(--line);background:#fff}.admin-actions span{margin-left:auto;color:var(--muted);font-size:13px}.generated{margin-bottom:16px;padding:18px;background:#eaf8f5;border:1px solid #9ed8cd;border-radius:15px}.generated textarea{width:100%;height:150px;margin-top:10px;border:1px solid #b7d8d2;border-radius:10px;padding:12px;font:14px ui-monospace,Consolas,monospace}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px}table{width:100%;border-collapse:collapse;min-width:720px}th,td{padding:14px 16px;border-bottom:1px solid #e8eef0;text-align:left;font-size:13px}th{background:#f7fafb;color:#6f8090}.state{padding:5px 8px;border-radius:999px;background:#eef2f4;color:#63758a}.state.unused{background:#e6f7f2;color:#087866}.state.claimed{background:#e9eefb;color:#4664a5}.copy-link{border:1px solid #a8d4cb;border-radius:8px;background:#f2faf8;color:#087866;padding:7px 10px}
@media(max-width:640px){.redeem-page{padding:22px 14px}.redeem-card{padding:34px 22px;border-radius:22px}.redeem-card h1{font-size:27px}.redeem-form{grid-template-columns:1fr}.redeem-form button{height:50px}.member-promo{grid-template-columns:42px 1fr;padding:13px}.promo-icon{width:40px;height:40px}.member-promo>b{grid-column:1/-1;text-align:center}.promo-copy strong{font-size:13px}.simple-header{height:64px}.order-wrap{margin-top:24px}.order-hero{padding:22px;align-items:flex-start}.order-content{padding:24px 18px}.value-card strong{font-size:23px}.phone-card{gap:11px;padding:16px}.phone-card .country-flag{font-size:36px}.phone-number{gap:7px}.phone-number strong{font-size:21px}.phone-number button{padding:6px 9px}.tip{align-items:flex-start}.admin-page{padding:25px 12px}.admin-actions span{width:100%;margin-left:0}}

/* Order result redesign 2026-07-28 */
.order-wrap{width:min(1040px,calc(100% - 32px));margin:36px auto 72px}
.order-wrap .member-promo{margin-bottom:16px;border-color:rgba(64,217,193,.42);border-radius:18px;box-shadow:0 14px 36px rgba(7,73,82,.13)}
.order-card{border-color:#d9e5e8;border-radius:26px;box-shadow:0 24px 65px rgba(14,46,63,.1)}
.order-hero{position:relative;overflow:hidden;padding:31px 36px;background:linear-gradient(118deg,#09283e 0%,#0b3e4d 67%,#086f68 100%)}
.order-hero::after{content:"";position:absolute;right:-70px;top:-110px;width:270px;height:270px;border:1px solid rgba(255,255,255,.09);border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.035)}
.order-hero>div,.order-hero>span{position:relative;z-index:1}
.order-hero small{color:#80e4d0;font-weight:900;letter-spacing:.12em}
.order-hero h2{margin:7px 0 5px;font-size:27px;letter-spacing:-.025em}
.order-hero h2 span{margin-left:8px;color:#c5d8de;font-size:17px;font-weight:650}
.order-hero p{margin:0;color:#a6bec8;font-size:12px}
.order-hero>span{padding:9px 14px;border:1px solid rgba(114,235,210,.2);background:rgba(10,28,41,.34);color:#8af0d9}
.order-content{padding:26px 28px 24px}
.delivery-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:0 2px}
.delivery-summary b,.delivery-summary span{display:block}
.delivery-summary b{font-size:17px}
.delivery-summary span{margin-top:3px;color:#7c8f9d;font-size:11px}
.delivery-summary>strong{padding:7px 10px;border-radius:999px;background:#e8f6f2;color:#167663;font-size:10px;white-space:nowrap}
.delivery-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.delivery-panel{min-width:0;padding:20px;border:1px solid #dbe6e9;border-radius:19px;background:#fbfcfd}
.phone-panel{background:linear-gradient(145deg,#fbfdfd,#eef8f5);border-color:#badfd6}
.otp-panel{background:linear-gradient(145deg,#fcfdfd,#f4f7f9)}
.otp-panel.is-ready{border-color:#a7dccc;background:linear-gradient(145deg,#f6fcfa,#e8f7f2)}
.panel-heading{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding-bottom:15px;border-bottom:1px solid rgba(130,157,168,.18)}
.step-number{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#0a806d;color:#fff;font-size:12px;font-weight:900;box-shadow:0 6px 15px rgba(10,128,109,.18)}
.panel-heading small,.panel-heading strong{display:block}
.panel-heading small{color:#8495a0;font-size:10px}
.panel-heading strong{margin-top:3px;font-size:13px}
.panel-heading em{padding:6px 8px;border-radius:999px;background:#e4f3ef;color:#187763;font-size:9px;font-style:normal;font-weight:900;white-space:nowrap}
.country-block{display:flex;align-items:center;gap:13px;margin:18px 0}
.country-block img{width:56px;height:37px;object-fit:cover;border:1px solid rgba(10,36,53,.16);border-radius:8px;box-shadow:0 5px 14px rgba(19,49,67,.13)}
.country-flag-emoji{display:flex;align-items:center;justify-content:center;width:56px;height:42px;flex:0 0 56px;border:1px solid rgba(10,36,53,.12);border-radius:9px;background:#fff;font-size:38px;line-height:1;box-shadow:0 5px 14px rgba(19,49,67,.12)}
.country-block small,.country-block strong,.country-block span{display:block}
.country-block small{color:#8797a2;font-size:9px;letter-spacing:.08em}
.country-block strong{margin-top:2px;font-size:19px}
.country-block span{margin-top:1px;color:#6f818c;font-size:10px}
.delivery-phone-line,.otp-value-line{display:flex;align-items:center;gap:10px;min-width:0}
.delivery-phone-line .dial-code{
  flex:0 0 72px;
  height:58px;
  display:grid;
  align-content:center;
  justify-items:center;
  border:2px solid #8ff0dc;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(145deg,#075f54,#0aa286);
  box-shadow:0 8px 20px rgba(7,111,92,.3),inset 0 1px 0 rgba(255,255,255,.22);
  letter-spacing:-.04em
}
.delivery-phone-line .dial-code small{
  color:#c8fff3;
  font-size:8px;
  font-weight:800;
  letter-spacing:.05em
}
.delivery-phone-line .dial-code b{
  margin-top:1px;
  font:950 23px ui-monospace,Consolas,monospace;
  letter-spacing:-.04em
}
.delivery-phone-line>strong{min-width:0;color:#102b3c;font:850 clamp(20px,2.3vw,27px) ui-monospace,Consolas,monospace;letter-spacing:.035em;white-space:nowrap}
.delivery-phone-line button,.otp-value-line button{flex:0 0 auto;margin-left:auto;padding:9px 12px;border:0;border-radius:10px;background:#0a806d;color:#fff;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 7px 16px rgba(10,128,109,.18)}
.delivery-phone-line button:hover,.otp-value-line button:hover{background:#076957}
.delivery-phone-line button:disabled{opacity:.45;cursor:wait}
.otp-value-line{margin:29px 0 24px}
.otp-value-line>strong{color:#086e5d;font:900 clamp(31px,4vw,43px) ui-monospace,Consolas,monospace;letter-spacing:.12em}
.panel-note{margin:13px 0 0;color:#81919c;font-size:10px;line-height:1.55}
.otp-panel .waiting{margin:18px 0 12px;padding:18px 12px;border:1px dashed #ccd9de;background:rgba(255,255,255,.72);line-height:1.7}
.otp-panel .cancelled{margin:18px 0 0;padding:18px}
.otp-panel .cancel-button{margin-top:0;padding:10px}
.otp-panel .cancel-note{margin:8px 0 0}
.sms-text{margin-top:16px;background:#f8fafb}
.order-foot{margin-top:19px;padding-top:15px;text-align:center}
@media(max-width:820px){.delivery-grid{grid-template-columns:1fr}.order-wrap{width:min(720px,calc(100% - 24px))}.delivery-phone-line>strong{font-size:25px}}
@media(max-width:540px){.order-wrap{margin-top:20px}.order-content{padding:19px 15px}.order-hero{padding:24px 20px;align-items:flex-start}.order-hero h2{font-size:23px}.order-hero h2 span{display:block;margin:4px 0 0;font-size:14px}.order-hero p{display:none}.delivery-summary{align-items:flex-start}.delivery-summary>strong{display:none}.delivery-panel{padding:16px}.country-block img{width:50px;height:33px}.delivery-phone-line,.otp-value-line{flex-wrap:wrap}.delivery-phone-line>strong{font-size:22px}.delivery-phone-line button,.otp-value-line button{margin-left:0}.otp-value-line>strong{font-size:34px}}

/* Redeem home redesign 2026-07-28 */
.home-page{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 84% 16%,rgba(67,205,181,.16),transparent 26%),
    radial-gradient(circle at 9% 88%,rgba(126,208,191,.12),transparent 24%),
    linear-gradient(135deg,#f7faf9 0%,#eef6f4 50%,#f8faf9 100%)
}
.home-page::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.35;
  background-image:linear-gradient(rgba(25,99,94,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(25,99,94,.035) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,transparent 5%,#000 36%,#000 75%,transparent)
}
.home-shell{
  width:min(1180px,calc(100% - 48px));
  min-height:100vh;
  margin:0 auto;
  padding:16px 0 12px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:1
}
.home-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
  padding:0 4px
}
.home-brand{display:flex;align-items:center;gap:12px;font-size:18px}
.home-brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.03em;
  background:linear-gradient(145deg,#082f38,#0d9b83);
  box-shadow:0 12px 24px rgba(8,106,91,.22)
}
.home-online{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border:1px solid rgba(13,155,131,.18);
  border-radius:999px;
  color:#3c6864;
  font-size:12px;
  font-weight:700;
  background:rgba(255,255,255,.7)
}
.home-online i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#17b890;
  box-shadow:0 0 0 5px rgba(23,184,144,.1)
}
.home-card{
  min-height:600px;
  display:grid;
  grid-template-columns:43% 57%;
  overflow:hidden;
  border:1px solid rgba(102,145,139,.17);
  border-radius:32px;
  background:rgba(255,255,255,.97);
  box-shadow:0 32px 80px rgba(19,72,73,.16)
}
.home-story{
  position:relative;
  overflow:hidden;
  padding:48px 46px 42px;
  color:#fff;
  background:radial-gradient(circle at 87% 17%,rgba(45,202,170,.28),transparent 28%),linear-gradient(154deg,#082b34 0%,#0a3e43 52%,#087163 118%)
}
.home-story::before,.home-story::after{
  content:"";
  position:absolute;
  border:1px solid rgba(118,230,208,.15);
  border-radius:50%
}
.home-story::before{
  width:330px;
  height:330px;
  right:-196px;
  top:145px;
  box-shadow:0 0 0 58px rgba(82,207,183,.035),0 0 0 116px rgba(82,207,183,.025)
}
.home-story::after{
  width:220px;
  height:220px;
  left:-134px;
  bottom:-92px;
  box-shadow:0 0 0 44px rgba(82,207,183,.035)
}
.home-eyebrow{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:22px;
  color:#91e6d4;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em
}
.home-eyebrow::before{content:"";width:24px;height:2px;border-radius:99px;background:#54d2bb}
.home-story h1{
  position:relative;
  z-index:1;
  max-width:340px;
  margin:0;
  font-size:clamp(38px,4vw,54px);
  line-height:1.08;
  letter-spacing:-.055em
}
.home-story h1 span{display:block;margin-top:8px;color:#81e5d0}
.home-story>p{
  position:relative;
  z-index:1;
  max-width:350px;
  margin:20px 0 28px;
  color:rgba(227,247,243,.72);
  font-size:15px;
  line-height:1.8
}
.home-route{
  position:relative;
  z-index:1;
  max-width:360px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  border:1px solid rgba(153,238,222,.17);
  border-radius:18px;
  background:rgba(255,255,255,.07)
}
.home-route img{
  width:46px;
  height:32px;
  object-fit:cover;
  border-radius:6px;
  box-shadow:0 5px 14px rgba(0,0,0,.2)
}
.home-route strong,.home-route small{display:block}
.home-route strong{margin-bottom:3px;font-size:16px}
.home-route small{color:rgba(226,247,242,.63)}
.home-steps{
  position:absolute;
  left:46px;
  right:46px;
  bottom:42px;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px
}
.home-steps>div{
  min-width:0;
  padding:13px 10px;
  border:1px solid rgba(143,229,211,.14);
  border-radius:14px;
  background:rgba(0,0,0,.12)
}
.home-steps b{
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  margin-bottom:9px;
  border-radius:8px;
  color:#073a39;
  font-size:12px;
  background:#7ee0cd
}
.home-steps span{display:block;color:rgba(242,253,250,.9);font-size:12px;white-space:nowrap}
.home-form-panel{
  padding:44px 58px 34px;
  display:flex;
  flex-direction:column;
  justify-content:center
}
.home-mini-label{
  align-self:flex-start;
  padding:7px 10px;
  margin-bottom:18px;
  border-radius:9px;
  color:#057363;
  font-size:12px;
  font-weight:900;
  background:#edf8f5
}
.home-form-panel h2{margin:0;font-size:36px;line-height:1.22;letter-spacing:-.045em}
.home-form-copy{margin:14px 0 28px;color:#6c8080;font-size:15px;line-height:1.75}
.home-form-panel>label{display:block;margin-bottom:9px;font-size:14px;font-weight:850}
.home-field{
  height:62px;
  display:flex;
  align-items:center;
  padding:0 18px;
  border:1.5px solid #bfd5d1;
  border-radius:16px;
  background:#fbfdfc;
  transition:.2s ease
}
.home-field:focus-within{
  border-color:#0d9b83;
  background:#fff;
  box-shadow:0 0 0 4px rgba(13,155,131,.1)
}
.home-ticket{
  width:24px;
  height:18px;
  margin-right:13px;
  border:1.8px solid #5d9189;
  border-radius:5px;
  position:relative
}
.home-ticket::after{content:"";position:absolute;left:8px;top:2px;bottom:2px;border-left:1px dashed #82aaa4}
.home-field input{
  width:100%;
  border:0;
  outline:0;
  color:#173638;
  font-size:17px;
  font-weight:700;
  letter-spacing:.025em;
  background:transparent
}
.home-field input::placeholder{color:#9aabaa;font-weight:500;letter-spacing:0}
.home-primary{
  width:100%;
  height:58px;
  margin-top:14px;
  border:0;
  border-radius:15px;
  color:#fff;
  font-size:16px;
  font-weight:900;
  background:linear-gradient(110deg,#087765,#10a78e);
  box-shadow:0 15px 28px rgba(10,142,120,.22);
  transition:.18s ease
}
.home-primary:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(10,142,120,.28)}
.home-primary:disabled{cursor:wait;opacity:.55;transform:none}
.home-trust{display:flex;flex-wrap:wrap;gap:18px;margin:17px 0 24px;color:#718684;font-size:12px}
.home-trust span{display:flex;align-items:center;gap:6px}
.home-trust i{
  width:17px;
  height:17px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#07836e;
  font-size:10px;
  font-style:normal;
  font-weight:900;
  background:#e5f7f2
}
.home-ai-entry{
  margin-top:auto;
  padding:17px;
  border:2px solid #1bd5b2;
  border-radius:19px;
  color:#fff;
  background:radial-gradient(circle at 84% 18%,rgba(43,210,178,.25),transparent 35%),linear-gradient(120deg,#092f37,#075c55);
  box-shadow:0 18px 40px rgba(5,83,76,.23),0 0 0 5px rgba(24,205,169,.06);
  transition:.18s ease
}
.home-ai-entry:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(5,83,76,.29),0 0 0 6px rgba(24,205,169,.1)}
.home-ai-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
.home-ai-head small{display:block;margin-bottom:3px;color:#7ee4d0;font-size:12px;font-weight:900;letter-spacing:.04em}
.home-ai-head strong{display:block;color:#fff;font-size:15px}
.home-ai-head b{
  flex:0 0 auto;
  padding:12px 15px;
  border-radius:11px;
  color:#063b37;
  font-size:13px;
  background:linear-gradient(135deg,#9affeb,#55dfc3);
  box-shadow:0 9px 22px rgba(70,239,205,.27)
}
.home-ai-head i{font-style:normal}
.home-ai-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.home-ai-list span{
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 10px;
  border:1px solid rgba(146,234,217,.18);
  border-radius:12px;
  color:rgba(255,255,255,.94);
  font-size:12px;
  font-weight:800;
  background:rgba(255,255,255,.08)
}
.home-ai-list img{width:30px;height:30px;border-radius:9px;object-fit:cover}
.home-footnote{margin:9px 0 0;color:#8a9b99;font-size:12px;text-align:center}

/* Prominent order-page membership entry */
.member-promo{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(330px,1fr) auto 210px;
  align-items:center;
  gap:22px;
  margin:0 0 18px;
  padding:20px 24px 20px 32px;
  border:2px solid #1bd5b2;
  border-radius:22px;
  color:#fff;
  background:radial-gradient(circle at 82% 18%,rgba(43,210,178,.26),transparent 32%),linear-gradient(108deg,#082f39,#075e56);
  box-shadow:0 18px 42px rgba(5,76,75,.22),0 0 0 5px rgba(24,205,169,.06);
  transition:.18s ease
}
.member-promo::before{display:none}
.member-promo:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(5,76,75,.28),0 0 0 6px rgba(24,205,169,.1)}
.member-promo .promo-copy{min-width:0}
.member-promo .promo-copy small{
  display:block;
  color:#82ead5;
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em
}
.member-promo .promo-copy strong{
  display:block;
  margin-top:6px;
  color:#fff;
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.01em
}
.member-promo .promo-copy>em{
  display:block;
  margin-top:6px;
  color:#a5eadd;
  font-size:12px;
  font-weight:700
}
.copy-site-url{
  margin:0 3px;
  padding:3px 8px;
  border:1px solid rgba(154,242,224,.5);
  border-radius:7px;
  color:#d8fff7;
  font-size:11px;
  font-weight:900;
  line-height:1.4;
  background:rgba(255,255,255,.1);
  vertical-align:1px
}
.copy-site-url:hover,.copy-site-url.copied{border-color:#80ead4;color:#063d39;background:#88ead7}
.promo-brands{display:flex;align-items:center;gap:9px}
.promo-brands i{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:54px;
  padding:0 12px;
  border:1px solid rgba(152,239,222,.18);
  border-radius:12px;
  color:#fff;
  font-size:12px;
  font-style:normal;
  font-weight:800;
  background:rgba(255,255,255,.08);
  box-shadow:none
}
.promo-brands img{width:31px;height:31px;border-radius:9px;object-fit:cover}
.promo-action{
  min-height:74px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:10px 20px;
  border:1px solid #f4bc25;
  border-radius:15px;
  text-align:center;
  background:linear-gradient(135deg,#ffe27d,#ffc83d);
  box-shadow:0 11px 24px rgba(224,165,18,.28)
}
.promo-action b{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#123c3b;
  font-size:15px;
  white-space:nowrap;
}
.promo-action small{display:block;margin-top:5px;color:#315d58;font-size:11px;font-weight:800}
.member-promo em{font-style:normal}
.member-promo.compact{width:100%;margin-bottom:18px}
.success-member-cta{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px 24px;
  padding:18px 20px;
  border:1px solid #f2c44f;
  border-radius:17px;
  color:#173b3a;
  background:linear-gradient(108deg,#fffaf0,#fff3c9 66%,#ffe28a);
  box-shadow:0 12px 28px rgba(214,159,24,.16);
  transition:.18s ease
}
.success-member-cta:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(214,159,24,.23)}
.success-member-cta>span:first-child{min-width:0}
.success-member-cta>span:first-child small{display:block;color:#9a6810;font-size:11px;font-weight:900;letter-spacing:.08em}
.success-member-cta>span:first-child strong{display:block;margin-top:4px;color:#123c3b;font-size:20px}
.success-member-cta>span:first-child em{display:block;margin-top:3px;color:#6f765f;font-size:12px;font-style:normal;font-weight:700}
.success-member-cta>b{
  grid-column:2;
  grid-row:1;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:13px;
  color:#fff;
  font-size:14px;
  white-space:nowrap;
  background:linear-gradient(135deg,#0a8d77,#12ad91);
  box-shadow:0 9px 22px rgba(10,141,119,.2)
}
.success-member-cta>i{
  grid-column:2;
  color:#6b765f;
  font-size:10px;
  font-style:normal;
  font-weight:700;
  text-align:center
}
.support-qr-card{
  display:flex;
  width:max-content;
  max-width:100%;
  flex-direction:column;
  align-items:center;
  gap:1px;
  padding:0 3px 3px;
  border:1px solid rgba(10,128,109,.2);
  border-radius:10px;
  color:#123c3b;
  text-align:center;
  background:rgba(255,255,255,.82);
  box-shadow:0 7px 18px rgba(48,83,65,.1)
}
.support-qr-card>img{
  display:block;
  width:104px;
  height:104px;
  border-radius:6px;
  object-fit:contain;
  background:#fff
}
.support-qr-card>span{display:grid;gap:1px;margin-top:-5px}
.support-qr-card b{display:inline-flex;align-items:center;gap:5px;color:#151b1a;font-size:14px;font-weight:500;line-height:1.3;letter-spacing:.02em}
.support-qr-card .wechat-mark{display:block;width:18px;height:18px;flex:0 0 18px}
.support-qr-card small{color:#647b72;font-size:10px;font-weight:800;letter-spacing:.02em}
.refund-support{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:8px;
  padding:12px;
  border:1px solid #9fd9ce;
  border-radius:14px;
  background:#edf9f6
}
.refund-support .support-qr-card{flex:0 0 auto}
.refund-support .support-qr-card>img{width:118px;height:118px}
.refund-support p{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  max-width:280px;
  margin:0;
  color:#365f59;
  line-height:1.65;
  text-align:center
}
.refund-support p strong{
  display:block;
  color:#123c3b;
  font-size:15px;
  font-weight:900
}
.refund-support p span{
  display:block;
  margin-top:4px;
  color:#58736e;
  font-size:12px;
  font-weight:700;
  white-space:nowrap
}
.waiting-support{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:14px 18px;
  border:1px solid #a9ddd3;
  border-radius:16px;
  background:linear-gradient(120deg,#f5fcfa,#eaf8f5)
}
.waiting-support .support-qr-card{flex:0 0 auto}
.waiting-support .support-qr-card>img{width:110px;height:110px}
.waiting-support p{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  margin:0;
  text-align:center;
  line-height:1.6
}
.waiting-support p strong{
  display:block;
  color:#123c3b;
  font-size:15px;
  font-weight:900
}
.waiting-support p span{
  display:block;
  margin-top:4px;
  color:#58736e;
  font-size:12px;
  font-weight:700;
  white-space:nowrap
}

/* Manual claim and 10-minute replacement flow */
.claim-ready .brand-mark{margin:0 auto}
.claim-kicker{
  display:block;
  margin-top:15px;
  color:#0a826e;
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em
}
.claim-ready h1{margin-top:10px}
.claim-ready .loader{margin:18px 0 0}
.claim-steps{
  width:min(440px,100%);
  margin:22px auto 0;
  padding:0;
  list-style:none;
  counter-reset:claim-step;
  text-align:left
}
.claim-steps li{
  position:relative;
  min-height:34px;
  padding:7px 10px 7px 42px;
  color:#496579;
  font-size:14px;
  line-height:1.55;
  counter-increment:claim-step
}
.claim-steps li::before{
  position:absolute;
  top:5px;
  left:0;
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  border-radius:9px;
  color:#087765;
  font-size:12px;
  font-weight:900;
  content:counter(claim-step);
  background:#e8f8f4
}
.claim-button{
  width:min(250px,100%);
  height:52px;
  margin-top:24px!important;
  background:linear-gradient(115deg,#087765,#10a78e);
  box-shadow:0 14px 28px rgba(10,142,120,.23)
}
.claim-note{
  display:block;
  margin-top:14px;
  color:#8a989f;
  font-size:11px
}
.order-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:12px
}
.resend-button,.replace-button{
  min-height:43px;
  padding:9px 12px;
  border-radius:11px;
  font-size:12px;
  font-weight:900
}
.resend-button{
  border:1px solid #8fcfc3;
  color:#087765;
  background:#f4fbf9
}
.replace-button{
  border:0;
  color:#fff;
  background:linear-gradient(115deg,#0a806d,#0aa78c);
  box-shadow:0 8px 18px rgba(10,128,109,.18)
}
.replace-button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}
.waiting #remaining{color:#087765;font:900 15px ui-monospace,Consolas,monospace}
.order-status-stack{
  position:relative;
  z-index:1;
  display:grid;
  justify-items:end;
  gap:7px
}
.order-status-stack>span{
  padding:8px 12px;
  border:1px solid rgba(114,235,210,.2);
  border-radius:999px;
  color:#8af0d9;
  font-size:12px;
  font-weight:800;
  background:rgba(10,28,41,.34)
}
.order-status-stack>small{
  padding:6px 10px;
  border-radius:9px;
  color:#aac6ce;
  font-size:10px;
  letter-spacing:0;
  background:rgba(4,29,39,.28)
}
.order-status-stack b{
  margin-left:4px;
  color:#fff;
  font:900 13px ui-monospace,Consolas,monospace
}
.state.refund_pending{background:#fff0dc;color:#a65b00}
.state.refunded{background:#e8f6ec;color:#287445}
.state.waiting_sms{background:#eaf1ff;color:#315fbd}
.state.completed{background:#e3f7ec;color:#167148}
.state.cancelled{background:#edf0f3;color:#596874}
.state.ready_reclaim{background:#e8f6f4;color:#087866}
.state.failed{background:#ffeaea;color:#b63b3b}
.card-status-cell{display:flex;min-width:168px;flex-direction:column;align-items:flex-start;gap:6px}
.card-status-cell small{max-width:220px;color:#718493;font-size:11px;line-height:1.45;white-space:normal}
.refund-action{border:0;border-radius:8px;padding:7px 11px;color:#fff;font-weight:800;background:#e58a16;cursor:pointer}

/* Admin card operations */
.admin-stats{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  margin-bottom:16px
}
.admin-stats button{
  min-height:72px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  color:#506877;
  text-align:left;
  background:rgba(255,255,255,.88);
  transition:.18s ease
}
.admin-stats button:hover,.admin-stats button.active{
  border-color:#77cabb;
  color:#087866;
  background:#effaf7;
  box-shadow:0 8px 20px rgba(17,105,91,.08)
}
.admin-stats small,.admin-stats strong{display:block}
.admin-stats small{font-size:11px}
.admin-stats strong{margin-top:5px;color:#123647;font-size:22px}
.admin-tools{
  margin-bottom:16px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.92)
}
.admin-filterbar{
  display:flex;
  align-items:end;
  gap:10px;
  flex-wrap:wrap
}
.admin-filterbar label{
  color:var(--muted);
  font-size:12px
}
.admin-filterbar input,.admin-filterbar select{
  display:block;
  width:165px;
  height:40px;
  margin-top:5px;
  padding:0 11px;
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--ink);
  outline:none;
  background:#fff
}
.admin-filterbar input:focus,.admin-filterbar select:focus,.import-grid textarea:focus{
  border-color:#49af9e;
  box-shadow:0 0 0 3px rgba(73,175,158,.1)
}
.admin-filterbar .ghost,.tool-link{
  display:inline-grid;
  min-height:40px;
  place-items:center;
  padding:0 13px;
  border:1px solid #b6d8d2;
  border-radius:9px;
  color:#087866;
  font-size:12px;
  font-weight:750;
  background:#f5fbf9
}
.tool-link.accent{border-color:#087866;color:#fff;background:#087866}
.import-panel{
  margin-top:15px;
  padding-top:14px;
  border-top:1px solid #e3ecea
}
.import-panel summary{
  color:#123647;
  font-size:14px;
  font-weight:850;
  cursor:pointer;
  user-select:none
}
.import-grid{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(250px,.75fr);
  gap:14px;
  margin-top:13px
}
.import-grid label{display:block;color:#526b78;font-size:12px;font-weight:750}
.import-grid textarea{
  width:100%;
  min-height:132px;
  margin-top:7px;
  padding:12px;
  resize:vertical;
  border:1px solid #bdd6d2;
  border-radius:11px;
  outline:none;
  font:13px/1.6 ui-monospace,Consolas,monospace
}
.import-side{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  padding:13px;
  border-radius:12px;
  background:#f6faf9
}
.file-picker{
  display:inline-grid!important;
  min-height:40px;
  place-items:center;
  padding:0 14px;
  border:1px dashed #78bfb3;
  border-radius:9px;
  color:#087866!important;
  cursor:pointer;
  background:#fff
}
.file-picker input{display:none}
.import-side p{
  margin:0;
  color:#7b8d96;
  font-size:11px;
  line-height:1.65
}
.import-side .primary{min-height:40px}
.import-result{
  width:100%;
  padding:9px 10px;
  border-radius:8px;
  font-size:12px;
  line-height:1.5
}
.import-result.success{color:#087866;background:#e7f7f2}
.generated>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.generated .ghost{min-height:34px;padding:0 12px;border-radius:8px}
.table-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 4px 9px;
  color:#7b8d96;
  font-size:11px
}
.table-meta strong{color:#365866;font-size:12px}
.code-copy{
  padding:0;
  border:0;
  color:#123647;
  font:800 13px ui-monospace,Consolas,monospace;
  background:transparent
}
.code-copy:hover{color:#087866}
.code-copy.copied{color:#0a9c81}
.card-note{
  display:block;
  max-width:220px;
  overflow:hidden;
  color:#7a8790;
  text-overflow:ellipsis;
  white-space:nowrap
}
.state.claiming{background:#fff5df;color:#a36908}
.empty-row{padding:32px!important;color:#8a9aa2;text-align:center!important}

@media(max-width:900px){
  .admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .import-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-filterbar label,.admin-filterbar input,.admin-filterbar select{width:100%}
  .admin-filterbar .ghost,.tool-link{flex:1 1 calc(50% - 6px)}
  .table-meta{align-items:flex-start;flex-direction:column}
}
.refund-action:disabled{cursor:wait;opacity:.6}
.refund-done{color:#287445;font-weight:800}

@media(max-width:900px){
  .member-promo{grid-template-columns:1fr auto}
  .promo-brands{grid-column:1/-1}
  .promo-action{grid-column:2;grid-row:1}
}
@media(max-width:820px){
  .home-shell{width:min(100% - 24px,620px);padding:20px 0 28px}
  .home-card{grid-template-columns:1fr}
  .home-story{min-height:520px;padding:34px 28px 150px}
  .home-story h1{font-size:38px}
  .home-steps{left:28px;right:28px;bottom:28px}
  .home-form-panel{padding:40px 28px 30px}
}
@media(max-width:640px){
  .home-online{padding:8px 10px}
  .home-online span{display:none}
  .home-story{min-height:500px;padding-left:22px;padding-right:22px}
  .home-steps{left:22px;right:22px}
  .home-steps>div{padding:11px 7px}
  .home-form-panel{padding:32px 22px 24px}
  .home-form-panel h2{font-size:30px}
  .home-form-copy{margin-bottom:22px;font-size:13px}
  .home-trust{gap:10px}
  .home-ai-head{align-items:flex-start;flex-direction:column}
  .home-ai-head b{width:100%;text-align:center}
  .home-ai-list{grid-template-columns:1fr}
  .member-promo{grid-template-columns:1fr;padding:18px 16px 18px 22px}
  .member-promo .promo-copy strong{font-size:19px}
  .promo-brands{grid-column:auto;display:grid;grid-template-columns:repeat(3,1fr)}
  .promo-brands i{justify-content:center;padding:8px 6px;font-size:10px}
  .promo-brands img{width:25px;height:25px}
  .promo-action{width:100%;grid-column:auto;grid-row:auto}
  .promo-action{min-height:70px}
  .success-member-cta{grid-template-columns:1fr;text-align:left}
  .success-member-cta>b,.success-member-cta>i{grid-column:1/-1;grid-row:auto}
  .success-member-cta>b{margin-top:7px}
  .support-qr-card>img{width:88px;height:88px}
  .refund-support{align-items:flex-start}
  .refund-support .support-qr-card{flex-direction:column;gap:4px}
  .refund-support .support-qr-card>img{width:94px;height:94px}
  .waiting-support{align-items:flex-start;gap:12px;padding:12px}
  .waiting-support .support-qr-card>img{width:90px;height:90px}
  .order-actions{grid-template-columns:1fr}
  .order-status-stack{justify-items:end}
}
