:root{--navy:#102f5d;--ink:#12213c;--cyan:#1689bf;--muted:#60738a;--line:#dfe7f0;--bg:#f6f8fb;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;text-rendering:optimizeLegibility}.ambient{position:fixed;pointer-events:none;border-radius:999px;filter:blur(70px);opacity:.72}.ambient-one{width:430px;height:430px;right:-80px;top:-96px;background:#dff7ff}.ambient-two{width:520px;height:520px;left:-128px;bottom:-192px;background:#e4e9ff}.topbar{position:relative;z-index:2;border-bottom:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.76);backdrop-filter:blur(20px)}.topbar-inner{height:72px;max-width:1152px;margin:auto;padding:0 32px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--navy);color:white;font-size:18px;font-weight:900;box-shadow:0 8px 20px rgba(16,47,93,.18)}.brand strong{display:block;font-size:18px;line-height:1;letter-spacing:.12em}.brand small{display:block;margin-top:5px;font-size:10px;font-weight:700;color:#7890ad;letter-spacing:.18em}.secure-pill{display:flex;align-items:center;gap:8px;border:1px solid #dce7f3;border-radius:999px;background:white;padding:8px 12px;font-size:12px;font-weight:700;color:#54708f;box-shadow:0 1px 3px rgba(0,0,0,.04)}.secure-pill span{width:8px;height:8px;border-radius:50%;background:#18b998;box-shadow:0 0 0 4px rgba(24,185,152,.12)}.hero{position:relative;z-index:1;display:grid;grid-template-columns:.88fr 1.12fr;gap:80px;align-items:start;max-width:1152px;margin:auto;padding:80px 32px 112px}.intro{position:sticky;top:112px}.eyebrow{display:inline-flex;padding:8px 14px;border:1px solid #d9e7f5;border-radius:999px;background:rgba(255,255,255,.82);color:#3269a8;font-size:12px;font-weight:800;letter-spacing:.08em;box-shadow:0 1px 3px rgba(0,0,0,.04)}h1{max-width:560px;margin:24px 0 0;color:#102a52;font-size:58px;line-height:1.08;letter-spacing:-.045em;font-weight:900}h1 em{color:var(--cyan);font-style:normal}.lead{max-width:520px;margin:24px 0 0;color:var(--muted);font-size:16px;line-height:1.75}.products{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px}.products span{border:1px solid white;border-radius:999px;background:rgba(255,255,255,.72);padding:8px 14px;color:#536a86;font-size:12px;font-weight:700;box-shadow:0 4px 18px rgba(39,68,103,.06)}.products i{display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#1593c5}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:520px;margin-top:40px;padding-top:24px;border-top:1px solid var(--line)}.features strong,.features span{display:block}.features strong{color:#17365f;font-size:14px}.features span{margin-top:5px;color:#8494a8;font-size:12px}.card-wrap{position:relative}.card-glow{position:absolute;inset:-20px;border-radius:40px;background:linear-gradient(135deg,rgba(205,238,250,.75),rgba(220,227,255,.65));filter:blur(24px)}.redeem-card{position:relative;border:1px solid white;border-radius:28px;background:rgba(255,255,255,.96);padding:32px;box-shadow:0 28px 70px rgba(24,54,92,.14)}.card-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.card-heading p{margin:0;color:#1790c1;font-size:12px;font-weight:800;letter-spacing:.14em}.card-heading h2{margin:8px 0 0;color:#102a52;font-size:24px;letter-spacing:-.03em}.card-heading>span{border-radius:999px;background:#eef8fb;padding:6px 12px;color:#1689ad;font-size:11px;font-weight:800}.redeem-card label{display:block;margin-top:28px;color:#284361;font-size:14px;font-weight:800}.textarea-wrap{position:relative;margin-top:10px}.textarea-wrap textarea{display:block;width:100%;min-height:160px;resize:none;border:1px solid #dbe5ee;border-radius:18px;background:#f9fbfd;padding:16px;color:#243d5a;font:14px/1.9 ui-monospace,SFMono-Regular,Menlo,monospace;outline:none;transition:.2s}.textarea-wrap textarea:focus{border-color:#3aa8d1;background:white;box-shadow:0 0 0 4px rgba(54,166,207,.1)}.textarea-wrap textarea:disabled{cursor:wait;opacity:.65}.textarea-wrap>span{position:absolute;right:12px;bottom:12px;border-radius:999px;background:white;padding:5px 10px;color:#7790a9;font-size:11px;font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.08)}.help{margin:10px 0 0;color:#8191a3;font-size:12px;line-height:1.65}.redeem-card>button{display:flex;align-items:center;justify-content:center;width:100%;height:52px;margin-top:24px;border:0;border-radius:16px;background:var(--navy);color:white;font-size:14px;font-weight:800;letter-spacing:.08em;box-shadow:0 12px 26px rgba(16,47,93,.22);cursor:pointer;transition:.2s}.redeem-card>button:hover{transform:translateY(-2px);background:#174578}.redeem-card>button:disabled{cursor:not-allowed;opacity:.45;transform:none}.spinner{width:16px;height:16px;margin-right:9px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.notice{min-height:20px;margin-top:16px;text-align:center;color:#52708f;font-size:12px;font-weight:700}.results{margin-top:24px;padding-top:24px;border-top:1px solid #e6edf4}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.results-header h3{margin:0;color:#17365f;font-size:14px}.results-header span{color:#7b8da1;font-size:12px;font-weight:700}.result-list{display:grid;gap:12px}.result{border:1px solid;border-radius:16px;padding:16px}.result.ok{border-color:#cfeae4;background:#f3fbf8}.result.fail{border-color:#f0dddd;background:#fff8f7}.result-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.result-state{margin:0;font-size:12px;font-weight:900}.ok .result-state{color:#16856f}.fail .result-state{color:#b85b57}.result-code{max-width:310px;margin:5px 0 0;overflow:hidden;text-overflow:ellipsis;color:#698097;font:12px ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap}.result-product{flex:none;border-radius:999px;background:white;padding:5px 10px;color:#44708a;font-size:11px;font-weight:800}.payload{margin-top:12px;border:1px solid white;border-radius:12px;background:rgba(255,255,255,.86);padding:12px}.payload-text{margin:0;overflow-wrap:anywhere;color:#334d68;font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.actions button,.actions a{border:0;border-radius:8px;padding:8px 12px;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}.copy{background:#e7f3f6;color:#226b85}.open{background:var(--navy);color:white}.result-error{margin:12px 0 0;color:#8d5b5a;font-size:12px;line-height:1.65}.repeat{margin:8px 0 0;color:#6a817c;font-size:11px}footer{position:relative;z-index:1;display:flex;justify-content:space-between;gap:8px;max-width:none;border-top:1px solid #e1e8f0;background:rgba(255,255,255,.58);padding:24px max(32px,calc((100vw - 1088px)/2));color:#8190a2;font-size:12px}@media(max-width:850px){.hero{grid-template-columns:1fr;gap:48px;padding-top:56px}.intro{position:static}h1{font-size:48px}}@media(max-width:600px){.topbar-inner{height:68px;padding:0 20px}.secure-pill{padding:7px 10px;font-size:11px}.hero{padding:44px 20px 72px;gap:40px}h1{font-size:42px}.lead{font-size:15px}.features{gap:8px}.features strong{font-size:13px}.features span{font-size:11px}.redeem-card{padding:22px 18px;border-radius:24px}.card-glow{inset:-10px}.card-heading h2{font-size:22px}footer{flex-direction:column;align-items:center;padding:22px 20px;text-align:center}}@media(max-width:390px){.brand small{display:none}.secure-pill{border:0;background:transparent;box-shadow:none;padding-right:0}h1{font-size:38px}.features{grid-template-columns:1fr;gap:12px}.features div{display:flex;justify-content:space-between}.features span{margin:0}.card-heading>span{font-size:10px}}

/* Super Duolingo 商品展示卡 */
.product-promo{
  isolation:isolate;
  overflow:hidden;
  min-height:548px;
  padding:40px 36px;
  border:1px solid #d9efc3;
  border-radius:32px;
  background:linear-gradient(135deg,#fbfff7 0%,#f4ffe8 48%,#e8ffd4 100%);
  box-shadow:0 24px 60px rgba(67,116,26,.12);
}
.product-promo::before,.product-promo::after{
  content:"";
  position:absolute;
  z-index:-1;
  border-radius:50%;
  background:rgba(139,222,67,.18);
}
.product-promo::before{width:230px;height:230px;right:-112px;top:-112px}
.product-promo::after{width:170px;height:170px;left:-105px;bottom:-105px;background:rgba(255,199,30,.15)}
.promo-brand-row{display:flex;align-items:center;gap:14px}
.duo-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  flex:none;
  border:4px solid rgba(255,255,255,.9);
  border-radius:18px;
  background:linear-gradient(145deg,#84e500,#54bd00);
  font-size:34px;
  line-height:1;
  box-shadow:0 10px 24px rgba(75,170,0,.25);
}
.promo-badge{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 18px;
  border-radius:999px;
  background:#ffc20a;
  color:#3f4852;
  font-size:15px;
  font-weight:900;
  letter-spacing:.02em;
}
.promo-title{margin:28px 0 0;font-size:46px;line-height:1.08;letter-spacing:-.045em}
.promo-title span,.promo-title em{display:block}
.promo-title span{color:#4a4f52}
.promo-title em{margin-top:4px;color:#53ae00;font-style:normal}
.promo-copy{margin:24px 0 0;color:#515758;font-size:15px;line-height:1.85}
.promo-copy strong{color:#152032;font-weight:900}
.promo-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.promo-points span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:40px;
  border:1px solid;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  padding:8px 13px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 5px 16px rgba(58,92,30,.05);
}
.promo-points i{font-style:normal}
.promo-points .green{border-color:#b9e882;color:#459b00}
.promo-points .orange{border-color:#ffd36a;color:#a66c00}
@media(max-width:1000px) and (min-width:851px){
  .hero{gap:44px}
  .product-promo{padding:34px 28px}
  .promo-title{font-size:39px}
  .promo-badge{padding:0 14px;font-size:13px}
  .promo-points span{font-size:11px}
}
@media(max-width:850px){
  .product-promo{position:relative;top:auto;min-height:auto;padding:38px 34px}
  .promo-title{font-size:46px}
}
@media(max-width:600px){
  .product-promo{padding:28px 22px;border-radius:26px}
  .duo-icon{width:52px;height:52px;border-radius:16px;font-size:30px}
  .promo-badge{min-height:38px;padding:0 14px;font-size:12px}
  .promo-title{margin-top:24px;font-size:36px}
  .promo-copy{margin-top:20px;font-size:14px;line-height:1.75}
  .promo-points{margin-top:24px;gap:8px}
  .promo-points span{min-height:38px;padding:7px 11px;font-size:11px}
}
@media(max-width:390px){
  .promo-brand-row{gap:9px}
  .promo-badge{padding:0 11px;font-size:11px}
  .promo-title{font-size:32px}
  .promo-points span{white-space:normal}
}

/* 多邻国绿色站点主题与品牌头部 */
body{
  min-height:100vh;
  background:linear-gradient(135deg,#00b91e 0%,#00cc24 46%,#55dd00 100%);
}
.ambient{opacity:.54;filter:blur(82px)}
.ambient-one{background:#d8ff5c}
.ambient-two{background:#b8ff74}
.topbar{
  border-bottom-color:rgba(255,255,255,.24);
  background:rgba(0,161,24,.84);
  box-shadow:0 8px 28px rgba(0,92,17,.14);
}
.brand{color:#fff}
.brand-mark{
  display:block;
  width:46px;
  height:46px;
  flex:none;
  border:3px solid rgba(255,255,255,.86);
  border-radius:15px;
  object-fit:cover;
  box-shadow:0 8px 22px rgba(0,81,14,.28);
}
.brand strong{
  max-width:360px;
  overflow:hidden;
  color:#fff;
  font-size:17px;
  letter-spacing:0;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.brand small{color:rgba(255,255,255,.76);letter-spacing:.14em}
.secure-pill{
  border-color:rgba(255,255,255,.5);
  background:rgba(255,255,255,.94);
  color:#267342;
}
.secure-pill span{background:#00b91e;box-shadow:0 0 0 4px rgba(0,185,30,.13)}
footer{
  border-top-color:rgba(255,255,255,.32);
  background:rgba(0,118,19,.3);
  color:rgba(255,255,255,.88);
}
@media(max-width:600px){
  .brand{gap:9px;min-width:0}
  .brand-mark{width:42px;height:42px;border-radius:14px}
  .brand>span:last-child{min-width:0}
  .brand strong{max-width:205px;font-size:13px}
  .brand small{margin-top:4px;font-size:8px}
  .secure-pill{flex:none;padding:7px 9px;font-size:10px}
}
@media(max-width:390px){
  .brand strong{max-width:190px;font-size:12px}
  .brand small{display:block}
  .secure-pill{gap:6px;padding:6px 8px;font-size:9px}
}

/* 批量兑换结果操作 */
.results-header{gap:12px}
.results-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.copy-all{
  border:0;
  border-radius:9px;
  background:#53ae00;
  padding:8px 12px;
  color:#fff;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(67,145,0,.2);
}
.copy-all:hover{background:#469500}
@media(max-width:600px){
  .results-header{align-items:flex-start}
  .results-tools{flex-direction:column;align-items:flex-end;gap:6px}
}
