:root{
  --green:#173f2a;--green2:#2f6b46;--amber:#a8641d;--cream:#f7f0df;
  --paper:#efe1bd;--ink:#2b241a;--muted:#786e60;--white:#fffdf7;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink)}
body{background:radial-gradient(circle at 88% -5%,rgba(255,208,117,.52),transparent 33%),linear-gradient(155deg,#fff9ec,#f0dfba)}
button,textarea,input{font:inherit}button{cursor:pointer}
.app{max-width:520px;margin:auto;min-height:100vh;padding:18px 16px 45px}
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.brand{font-weight:900;color:var(--green);letter-spacing:.08em}
.badge{font-size:12px;padding:6px 10px;border-radius:99px;color:var(--green);background:rgba(23,63,42,.09)}
.hero{position:relative;overflow:hidden;border-radius:29px;padding:27px 23px;color:#fff;background:linear-gradient(145deg,var(--green),#2e7049);box-shadow:0 22px 55px rgba(44,50,32,.20)}
.hero:after{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-105px;top:-82px;box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.025)}
.hero small{opacity:.76;letter-spacing:.12em}.hero h1{font-size:39px;line-height:1.08;margin:9px 0 12px}.hero p{margin:0;line-height:1.68;opacity:.9;max-width:335px}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
.action{border:0;border-radius:21px;padding:19px 14px;text-align:left;box-shadow:0 12px 30px rgba(72,55,25,.10);transition:.16s}
.action:active{transform:scale(.98)}.action strong{display:block;font-size:19px;margin-bottom:7px}.action small{line-height:1.45;opacity:.75}
.draw{background:var(--white);color:var(--green)}.leave{background:var(--amber);color:#fff}
.card{background:rgba(255,253,247,.9);border:1px solid rgba(73,52,24,.08);border-radius:24px;padding:19px;margin-top:15px;box-shadow:0 14px 36px rgba(68,51,20,.08)}
.card h2{font-size:17px;color:var(--green);margin:0 0 11px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.step{text-align:center;padding:9px 2px}.step b{display:grid;place-items:center;width:35px;height:35px;margin:0 auto 8px;border-radius:50%;background:#e3eddb;color:var(--green)}.step span{font-size:12px;line-height:1.48;color:var(--muted)}
.rules{font-size:12px;line-height:1.7;color:var(--muted)}.footer{text-align:center;color:#8b7e69;font-size:12px;margin-top:21px}
.overlay{position:fixed;inset:0;z-index:30;background:rgba(30,25,18,.54);display:flex;align-items:flex-end;padding:16px;backdrop-filter:blur(5px)}
.hidden{display:none!important}.sheet{width:min(520px,100%);max-height:93vh;overflow:auto;margin:auto;background:#fffaf0;border-radius:28px 28px 18px 18px;padding:20px;box-shadow:0 -18px 70px rgba(0,0,0,.26)}
.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.sheet-head h2{margin:0;color:var(--green);font-size:22px}.close{border:0;background:#eee5d3;width:35px;height:35px;border-radius:50%}
.bottle{min-height:310px;border-radius:24px;padding:23px;position:relative;overflow:hidden;background:repeating-linear-gradient(0deg,rgba(90,56,20,.025) 0,rgba(90,56,20,.025) 1px,transparent 1px,transparent 4px),var(--paper);border:1px solid rgba(97,66,26,.18)}
.bottle:before{content:"匿名漂流瓶";position:absolute;right:-31px;top:21px;transform:rotate(39deg);background:var(--green);color:#fff;padding:5px 38px;font-size:10px;letter-spacing:.15em}
.code{font-size:12px;color:var(--green);font-weight:900;letter-spacing:.12em}.message{font-size:27px;line-height:1.55;font-weight:800;margin:44px 0 24px;white-space:pre-wrap}.moodtag{display:inline-block;padding:6px 10px;border-radius:99px;background:rgba(23,63,42,.09);font-size:12px;color:var(--green)}.meta{font-size:12px;color:#82745f;margin-top:16px}
.sheet-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.btn{border:0;border-radius:15px;padding:14px;font-weight:800}.primary{background:var(--green);color:#fff}.secondary{background:#eee5d3;color:var(--ink)}
label{display:block;font-weight:800;color:var(--green);margin:0 0 8px}textarea{width:100%;min-height:116px;resize:none;border:1px solid #d6c8a9;border-radius:17px;padding:14px;background:#fffdf7;outline:none;line-height:1.6}textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(23,63,42,.08)}
.counter{text-align:right;color:var(--muted);font-size:12px;margin:6px 2px 11px}.inspiration-title{font-size:13px;font-weight:700;color:var(--green);margin:2px 0 8px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:1px 0 13px}.choice{white-space:normal;text-align:left;border:1px solid #d9ccb0;background:#fffaf0;border-radius:14px;padding:10px 11px;font-size:12px;line-height:1.45;color:#5f533f;min-height:56px}
.moods{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.mood{border:1px solid #d9ccb0;background:#fffaf0;border-radius:99px;padding:8px 11px;font-size:12px}.mood.active{background:var(--green);color:#fff;border-color:var(--green)}
.notice{font-size:12px;line-height:1.65;color:var(--muted);background:#f1e8d6;padding:11px 12px;border-radius:13px;margin:10px 0 14px}
.honeypot{position:absolute!important;left:-9999px!important;opacity:0!important;height:1px!important;width:1px!important}
.toast{position:fixed;z-index:60;left:50%;bottom:29px;transform:translateX(-50%);background:#242018;color:#fff;padding:11px 16px;border-radius:99px;font-size:13px;box-shadow:0 10px 30px rgba(0,0,0,.25);white-space:nowrap}
.success{text-align:center;padding:15px 3px}.success .icon{font-size:55px}.success h2{margin:6px 0 8px}.success p{color:var(--muted);line-height:1.65}
@media(max-width:370px){.hero h1{font-size:34px}.action strong{font-size:17px}.message{font-size:24px}}

.contact-link{border:0;background:rgba(23,63,42,.1);color:var(--green);font-size:12px;font-weight:800;padding:7px 11px;border-radius:99px}
.campaign-pill{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.18);padding:6px 10px;border-radius:99px;font-size:11px;margin-bottom:13px}
.my-prize{width:100%;border:1px solid rgba(168,100,29,.18);background:#fff7e5;color:var(--ink);border-radius:19px;padding:13px 15px;display:flex;align-items:center;gap:11px;text-align:left;box-shadow:0 10px 28px rgba(72,55,25,.08)}.my-prize>span{font-size:26px}.my-prize div{flex:1}.my-prize strong,.my-prize small{display:block}.my-prize small{color:var(--muted);margin-top:3px}.my-prize>b{font-size:25px;color:var(--amber)}
.prize-reveal{margin-top:11px;border-radius:17px;padding:12px;background:linear-gradient(135deg,#fff0bf,#f6d58c);display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid rgba(168,100,29,.2)}.prize-reveal span,.prize-reveal strong{display:block}.prize-reveal span{font-size:11px;color:#79521e}.prize-reveal strong{font-size:15px;margin-top:3px}.prize-reveal button{border:0;border-radius:99px;padding:8px 11px;background:var(--green);color:white;font-weight:800;white-space:nowrap}
.fullbtn{width:100%}.topgap{margin-top:9px}.prize-sheet{text-align:center}.prize-card{border-radius:24px;padding:22px;background:radial-gradient(circle at 50% 0,#fff8db,#edd89d);border:1px solid rgba(116,75,18,.18);position:relative;overflow:hidden}.prize-card:after{content:"兰记彩蛋";position:absolute;right:-33px;top:20px;transform:rotate(40deg);background:var(--green);color:white;padding:5px 38px;font-size:10px}.spark{font-size:39px}.prize-card small{color:#785d30}.prize-card h3{font-size:27px;color:var(--green);margin:9px 0 7px}.prize-card p{line-height:1.6;color:#685a45}.claim-code{background:rgba(255,255,255,.62);border-radius:15px;padding:12px;margin:15px 0 9px}.claim-code span,.claim-code strong{display:block}.claim-code span{font-size:11px;color:#7b6d58}.claim-code strong{font-size:22px;letter-spacing:.08em;margin-top:3px}.expiry,.claim-status{font-size:12px;color:#75664e;line-height:1.7}.prize-note{text-align:left;background:#f1e8d6;border-radius:14px;padding:12px;margin:12px 0;line-height:1.7;font-size:12px;color:var(--muted)}
.contact-sheet{text-align:center}.contact-title strong,.contact-title span{display:block}.contact-title strong{font-size:24px;color:var(--green)}.contact-title span{font-size:13px;color:var(--muted);margin-top:4px}.wechat-qr{display:block;width:min(330px,90%);height:auto;margin:15px auto 8px;border-radius:20px;background:white;box-shadow:0 8px 24px rgba(0,0,0,.08);-webkit-touch-callout:default}.longpress{font-size:12px;color:var(--muted);line-height:1.6}.wechat-id{display:flex;align-items:center;gap:9px;margin:14px 0;background:#f1e8d6;border-radius:14px;padding:11px 12px;text-align:left}.wechat-id span{font-size:12px;color:var(--muted)}.wechat-id strong{flex:1}.wechat-id button{border:0;background:var(--green);color:white;border-radius:9px;padding:7px 11px;font-weight:800}.contact-instruction{font-size:12px;color:var(--muted);line-height:1.7}
.btn:disabled{opacity:.55;cursor:not-allowed}

/* V3：奖品直接显示在漂流瓶正文、无限抽与彩蛋包 */
.my-prize em{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:4px;border-radius:99px;background:var(--amber);color:#fff;font-style:normal;font-size:12px}
.bottle.prize-bottle{background:radial-gradient(circle at 50% -10%,rgba(255,255,255,.7),transparent 42%),repeating-linear-gradient(0deg,rgba(90,56,20,.025) 0,rgba(90,56,20,.025) 1px,transparent 1px,transparent 4px),linear-gradient(145deg,#ffeab0,#efd087);border-color:rgba(168,100,29,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.bottle.prize-bottle:before{content:"瓶底彩蛋";background:var(--amber)}
.bottle.prize-bottle .code{color:#815315}
.bottle.prize-bottle .message{color:var(--green);font-size:31px;line-height:1.35;margin-top:40px}
.bottle.prize-bottle .moodtag{background:rgba(255,255,255,.62);color:#815315;font-weight:800}
.bottle.prize-bottle .meta{white-space:pre-line;color:#6c512c;line-height:1.75}
.sheet-sub{margin:4px 0 0;color:var(--muted);font-size:12px}
.wallet-list{display:grid;gap:12px}.wallet-card{border:1px solid rgba(168,100,29,.18);border-radius:19px;background:linear-gradient(145deg,#fffaf0,#fff2ce);padding:15px;box-shadow:0 8px 24px rgba(72,55,25,.07)}
.wallet-main h3{color:var(--green);font-size:20px;margin:8px 0 6px}.wallet-main p{font-size:13px;line-height:1.6;color:#5f533f;margin:0 0 8px}.wallet-main small{font-size:11px;color:var(--muted);line-height:1.6}.wallet-tag{display:inline-block;padding:4px 8px;border-radius:99px;background:#f0d692;color:#765019;font-size:10px;font-weight:800}
.wallet-buttons{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.wallet-buttons .btn{padding:11px}.delete-prize{border:0;border-radius:13px;background:#eee5d3;color:#806b4c;padding:0 15px;font-weight:800}
.wallet-empty{text-align:center;color:var(--muted);line-height:1.8;padding:35px 18px;background:#f2e8d5;border-radius:18px}
@media(max-width:370px){.bottle.prize-bottle .message{font-size:27px}.wallet-buttons{grid-template-columns:1fr}}


/* V4：把一句话送给朋友 */
.message-actions{grid-template-columns:1fr 1fr 1fr}
.gift-btn{background:#dca452;color:#fff}
.share-sheet label{margin-top:15px}
.share-preview{border-radius:22px;padding:22px;background:repeating-linear-gradient(0deg,rgba(90,56,20,.025) 0,rgba(90,56,20,.025) 1px,transparent 1px,transparent 4px),var(--paper);border:1px solid rgba(97,66,26,.18);text-align:center}
.share-preview small{color:var(--green);font-weight:900;letter-spacing:.12em}
.share-preview blockquote{font-size:24px;line-height:1.55;font-weight:800;margin:24px 0;color:var(--ink)}
.share-preview span{font-size:12px;color:var(--muted)}
.gift-ready{margin-top:14px;padding:15px;border-radius:18px;background:#edf3e8;border:1px solid rgba(23,63,42,.12)}
.gift-ready-title{font-size:18px;font-weight:900;color:var(--green)}
.gift-ready p{font-size:12px;color:var(--muted);line-height:1.7}
.gift-url{width:100%;border:1px solid #c9d5c3;border-radius:12px;padding:11px;background:#fff;font-size:12px;color:#5b6556}
.gift-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.text-button{width:100%;border:0;background:transparent;color:var(--green);font-weight:800;padding:12px 5px 2px}
.share-guide{align-items:flex-start;padding-top:10vh}
.guide-card{position:relative;width:min(450px,100%);margin:0 auto;background:#fffaf0;border-radius:24px;padding:24px;text-align:center;box-shadow:0 18px 70px rgba(0,0,0,.3)}
.guide-close{position:absolute;left:15px;top:15px}
.guide-arrow{position:absolute;right:12px;top:-62px;color:#fff;font-size:70px;transform:rotate(-8deg);text-shadow:0 4px 15px rgba(0,0,0,.2)}
.guide-card h2{color:var(--green);margin:20px 0 8px}.guide-card p{color:var(--muted);line-height:1.7;margin:0 0 16px}
@media(max-width:400px){.message-actions{grid-template-columns:1fr 1fr}.message-actions .primary{grid-column:1/-1}.gift-buttons{grid-template-columns:1fr}.share-preview blockquote{font-size:21px}}

.gift-page{min-height:100vh;padding:22px 16px 45px;background:radial-gradient(circle at 88% -5%,rgba(255,208,117,.52),transparent 33%),linear-gradient(155deg,#fff9ec,#f0dfba)}
.gift-shell{width:min(520px,100%);margin:auto;text-align:center}
.gift-brand{font-weight:900;color:var(--green);letter-spacing:.1em;margin:5px 0 22px}
.gift-kicker{display:inline-block;background:var(--green);color:#fff;padding:8px 14px;border-radius:99px;font-size:13px;font-weight:800;margin-bottom:15px}
.gift-bottle{min-height:360px;text-align:left;border-radius:27px;padding:25px;position:relative;overflow:hidden;background:repeating-linear-gradient(0deg,rgba(90,56,20,.025) 0,rgba(90,56,20,.025) 1px,transparent 1px,transparent 4px),var(--paper);border:1px solid rgba(97,66,26,.18);box-shadow:0 18px 45px rgba(72,55,25,.14)}
.gift-bottle:before{content:"送给你";position:absolute;right:-28px;top:22px;transform:rotate(39deg);background:var(--amber);color:#fff;padding:6px 38px;font-size:11px;letter-spacing:.15em}
.gift-bottle .message{margin-top:52px}
.sender-note{margin-top:18px;padding:13px;border-radius:15px;background:rgba(255,255,255,.5);font-size:14px;line-height:1.7;color:#64543c}
.gift-stats{font-size:12px;color:var(--muted);line-height:1.7;margin:14px 8px}
.gift-page-actions{display:grid;gap:9px}.gift-link{display:block;text-decoration:none;text-align:center}


/* V4.1：转发首屏人体工学修复 */
.ergonomic-overlay{
  padding:0;
  align-items:flex-end;
}
.ergonomic-share-sheet{
  height:min(760px,94dvh);
  max-height:94dvh;
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-radius:26px 26px 0 0;
  padding-bottom:env(safe-area-inset-bottom);
}
.share-sticky-head{
  flex:0 0 auto;
  margin:0;
  padding:16px 18px 11px;
  background:#fffaf0;
  border-bottom:1px solid rgba(73,52,24,.08);
  z-index:2;
}
.share-scroll-area{
  min-height:0;
  overflow:auto;
  flex:1 1 auto;
  padding:12px 18px 8px;
  -webkit-overflow-scrolling:touch;
}
.share-sticky-footer{
  flex:0 0 auto;
  background:#fffaf0;
  border-top:1px solid rgba(73,52,24,.10);
  padding:10px 18px calc(10px + env(safe-area-inset-bottom));
  box-shadow:0 -8px 25px rgba(58,40,15,.08);
  z-index:3;
}
.compact-share-preview{
  padding:14px 16px;
  border-radius:18px;
}
.compact-share-preview blockquote{
  font-size:clamp(18px,5.1vw,23px);
  line-height:1.45;
  margin:12px 0;
  max-height:7.4em;
  overflow:auto;
}
.compact-note{
  min-height:70px;
  max-height:80px;
  padding:11px 12px;
}
.share-scroll-area label{
  margin-top:12px;
}
.share-scroll-area .counter{
  margin-bottom:4px;
}
.gift-ready{
  margin-bottom:2px;
}
.subtle-button{
  opacity:.76;
}
.gift-buttons{
  grid-template-columns:1.2fr .8fr;
}

/* 朋友收到页：正文缩短高度，底部操作固定在第一屏 */
.gift-page{
  padding:12px 14px calc(150px + env(safe-area-inset-bottom));
}
.gift-shell{
  min-height:auto;
}
.gift-brand{
  margin:2px 0 8px;
  font-size:13px;
}
.gift-kicker{
  margin-bottom:8px;
  padding:6px 12px;
}
.gift-bottle{
  min-height:0;
  height:auto;
  max-height:calc(100dvh - 220px);
  overflow:auto;
  padding:18px;
  border-radius:22px;
}
.gift-bottle .message{
  font-size:clamp(21px,6vw,28px);
  line-height:1.48;
  margin:35px 0 15px;
}
.gift-bottle .meta{
  margin-top:11px;
}
.sender-note{
  margin-top:12px;
  padding:10px 12px;
}
.gift-stats{
  margin:7px 5px 0;
  line-height:1.5;
}
.gift-sticky-actions{
  position:fixed;
  z-index:20;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:min(520px,100%);
  padding:9px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,250,240,.97);
  border-top:1px solid rgba(73,52,24,.10);
  box-shadow:0 -12px 34px rgba(58,40,15,.14);
  backdrop-filter:blur(12px);
}
.gift-primary-action{
  width:100%;
  padding:14px;
}
.gift-secondary-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:7px;
}
.gift-secondary-actions .btn{
  padding:11px 8px;
}
.share-guide{
  z-index:80;
}

@media(max-height:700px){
  .ergonomic-share-sheet{height:96dvh;max-height:96dvh}
  .compact-share-preview blockquote{font-size:18px;max-height:4.5em}
  .compact-note{min-height:58px;max-height:60px}
  .gift-bottle{max-height:calc(100dvh - 205px)}
  .gift-bottle .message{font-size:21px;margin-top:30px}
}


/* V4.2：专属漂流瓶生成提示移到操作按钮上方 */
.toast.toast-above-actions{
  top:auto;
  bottom:calc(142px + env(safe-area-inset-bottom));
  z-index:75;
  max-width:calc(100vw - 40px);
  white-space:normal;
  text-align:center;
  line-height:1.45;
  pointer-events:none;
}

/* 较矮屏幕仍保持与按钮之间的安全距离 */
@media(max-height:700px){
  .toast.toast-above-actions{
    bottom:calc(130px + env(safe-area-inset-bottom));
    font-size:12px;
    padding:9px 14px;
  }
}


/* V4.3：微信分享改为右上角轻提示，不再遮挡漂流瓶正文 */
.share-corner-hint{
  position:fixed;
  z-index:90;
  top:12px;
  right:12px;
  width:auto;
  max-width:min(220px,68vw);
  min-height:58px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.52);
  border-radius:17px 6px 17px 17px;
  padding:9px 28px 9px 10px;
  color:#fff;
  background:rgba(23,63,42,.94);
  box-shadow:0 10px 28px rgba(28,37,25,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-family:inherit;
  text-align:left;
  opacity:0;
  transform:translateY(-8px) scale(.97);
  transition:opacity .22s ease,transform .22s ease;
  cursor:pointer;
}
.share-corner-hint.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}
.share-corner-hint:after{
  content:"";
  position:absolute;
  right:6px;
  top:-8px;
  width:15px;
  height:15px;
  background:rgba(23,63,42,.94);
  transform:rotate(45deg);
  border-left:1px solid rgba(255,255,255,.42);
  border-top:1px solid rgba(255,255,255,.42);
}
.share-corner-arrow{
  flex:0 0 auto;
  font-size:28px;
  line-height:1;
  transform:translateY(-2px);
}
.share-corner-copy{
  font-size:12px;
  line-height:1.45;
  white-space:nowrap;
}
.share-corner-copy strong{
  font-size:14px;
}
.share-corner-close{
  position:absolute;
  right:8px;
  bottom:5px;
  font-size:15px;
  line-height:1;
  opacity:.68;
}

/* 取消旧分享教学遮罩可能留下的视觉影响 */
.share-guide,
.guide-card{
  display:none!important;
}

@media(max-height:700px){
  .share-corner-hint{
    top:8px;
    right:8px;
    min-height:52px;
    padding-top:7px;
    padding-bottom:7px;
  }
  .share-corner-arrow{font-size:24px}
}


/* V4.4：分享提示不再自动消失，只在用户点击时关闭 */
.share-corner-hint{
  animation:none!important;
}
.share-corner-close{
  opacity:.9;
}


/* V4.5：分享提示改为内嵌式，不再遮挡任何内容 */
.share-corner-hint{
  display:none!important;
}

.share-inline-hint{
  width:fit-content;
  max-width:100%;
  margin:0 4px 10px auto;
  border:0;
  background:transparent;
  color:#315a43;
  padding:3px 2px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  font-family:inherit;
  font-size:12px;
  line-height:1.4;
  cursor:pointer;
  opacity:.88;
}

.share-inline-hint.hidden{
  display:none!important;
}

.share-inline-arrow{
  font-size:17px;
  line-height:1;
  transform:translateY(-1px);
}

.share-inline-close{
  width:16px;
  height:16px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(49,90,67,.10);
  font-size:12px;
  line-height:1;
}

.share-inline-hint:active{
  opacity:.55;
}

@media(max-width:380px){
  .share-inline-hint{
    font-size:11px;
    margin-bottom:8px;
  }
  .share-inline-arrow{
    font-size:15px;
  }
}


/* V4.6：高辨识度顶部分享引导条 */
.share-inline-hint{
  display:none!important;
}

.share-guide-bar{
  width:100%;
  margin:0 0 12px;
  border:1px solid rgba(23,63,42,.20);
  border-radius:16px;
  padding:11px 38px 11px 12px;
  background:linear-gradient(135deg,#eef5e8,#f8f1dc);
  color:#173f2a;
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
  text-align:left;
  font-family:inherit;
  box-shadow:0 5px 14px rgba(54,69,41,.08);
  cursor:pointer;
}

.share-guide-bar.hidden{
  display:none!important;
}

.share-guide-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#173f2a;
  color:#fff;
  font-size:25px;
  line-height:1;
  font-weight:800;
}

.share-guide-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.share-guide-copy strong{
  font-size:16px;
  line-height:1.35;
  font-weight:900;
  color:#173f2a;
}

.share-guide-copy small{
  font-size:12px;
  line-height:1.45;
  color:#65705f;
}

.share-guide-close{
  position:absolute;
  right:11px;
  top:50%;
  transform:translateY(-50%);
  width:21px;
  height:21px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(23,63,42,.10);
  color:#42604a;
  font-size:15px;
  line-height:1;
}

.share-guide-bar:active{
  transform:scale(.992);
  opacity:.82;
}

@media(max-width:380px){
  .share-guide-bar{
    padding:9px 34px 9px 10px;
    gap:8px;
  }
  .share-guide-icon{
    width:34px;
    height:34px;
    flex-basis:34px;
    font-size:22px;
  }
  .share-guide-copy strong{
    font-size:14px;
  }
  .share-guide-copy small{
    font-size:11px;
  }
}


/* V4.8：抽到一句话后，可直接“我也发一个” */
.message-actions{grid-template-columns:1fr 1fr}
.leave-bottle-btn{background:#e7efe8;color:var(--green);border:1px solid rgba(23,63,42,.12)}
#messageActions .primary{grid-column:1/-1}
@media(max-width:400px){
  .message-actions{grid-template-columns:1fr 1fr}
  #messageActions .primary{grid-column:1/-1}
}


/* V4.9：首页品牌标语固定分两行，避免手机窄屏断句 */
.hero-tagline{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  letter-spacing:.08em!important;
  line-height:1.5;
  font-size:14px;
}
.hero-tagline span{display:block;white-space:nowrap}


/* V4.10：微信右上角“···”下方闪动箭头 */
.wechat-menu-pointer{
  position:fixed;
  z-index:95;
  top:4px;
  right:13px;
  width:52px;
  height:52px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  pointer-events:none;
  filter:drop-shadow(0 4px 8px rgba(20,54,36,.22));
}
.wechat-menu-pointer.hidden{
  display:none!important;
}
.wechat-menu-arrow{
  display:block;
  color:#173f2a;
  font-size:42px;
  line-height:1;
  font-weight:900;
  transform-origin:70% 30%;
  animation:wechatMenuNudge 1.15s ease-in-out infinite;
  -webkit-text-stroke:.3px rgba(255,255,255,.7);
}
@keyframes wechatMenuNudge{
  0%,100%{transform:translate(0,7px) scale(.94);opacity:.58}
  45%{transform:translate(5px,0) scale(1.08);opacity:1}
  65%{transform:translate(3px,2px) scale(1.03);opacity:.92}
}
@media(max-width:380px){
  .wechat-menu-pointer{right:9px;top:3px;width:46px;height:46px}
  .wechat-menu-arrow{font-size:37px}
}
@media(prefers-reduced-motion:reduce){
  .wechat-menu-arrow{animation:none;opacity:1;transform:translate(3px,1px)}
}


/* V4.11：抽取结果四按钮按使用逻辑排列 */
#messageActions.message-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
#messageActions .btn{
  grid-column:auto!important;
  min-width:0;
  min-height:66px;
  padding:13px 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:18px;
  line-height:1.25;
  border-radius:16px;
}
#messageActions #receivedBtn{order:1}
#messageActions #drawAgainBtn{order:2}
#messageActions #replyBottleBtn{order:3}
#messageActions #giftBtn{order:4}
@media(max-width:380px){
  #messageActions .btn{
    min-height:61px;
    font-size:16px;
    padding:11px 6px;
  }
}


/* V4.12：强制四宫格修复，彻底覆盖旧按钮布局 */
#messageActions,
#messageActions.message-actions{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-template-areas:
    "received drawagain"
    "reply gift" !important;
  gap:12px !important;
  align-items:stretch !important;
}
#messageActions > .btn{
  width:100% !important;
  min-width:0 !important;
  min-height:68px !important;
  height:68px !important;
  padding:0 10px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  border-radius:16px !important;
  font-size:18px !important;
  line-height:1.2 !important;
  grid-column:auto !important;
  grid-row:auto !important;
  order:initial !important;
}
#messageActions > #receivedBtn{grid-area:received !important;}
#messageActions > #drawAgainBtn{grid-area:drawagain !important;}
#messageActions > #replyBottleBtn{grid-area:reply !important;}
#messageActions > #giftBtn{grid-area:gift !important;}
#messageActions > #receivedBtn{background:var(--green) !important;color:#fff !important;}
#messageActions > #drawAgainBtn{background:#ece5d6 !important;color:var(--ink) !important;}
#messageActions > #replyBottleBtn{background:#eef0f4 !important;color:#1381f2 !important;border:1px solid rgba(19,129,242,.08) !important;}
#messageActions > #giftBtn{background:#dca452 !important;color:#fff !important;}
@media(max-width:380px){
  #messageActions,
  #messageActions.message-actions{gap:10px !important;}
  #messageActions > .btn{
    min-height:62px !important;
    height:62px !important;
    font-size:16px !important;
    border-radius:14px !important;
  }
}


/* V4.13：按钮改为两个独立固定行，避免任何旧网格规则干扰 */
#messageActions.message-action-panel{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  width:100% !important;
  margin-top:14px !important;
}
#messageActions .message-action-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:12px !important;
  width:100% !important;
}
#messageActions .message-action-row > .btn{
  width:100% !important;
  min-width:0 !important;
  height:68px !important;
  min-height:68px !important;
  padding:0 8px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  grid-column:auto !important;
  grid-row:auto !important;
  grid-area:auto !important;
  order:initial !important;
  border-radius:16px !important;
  font-size:18px !important;
  line-height:1.2 !important;
}
#messageActions .message-action-row > #receivedBtn{
  background:var(--green) !important;
  color:#fff !important;
}
#messageActions .message-action-row > #drawAgainBtn{
  background:#ece5d6 !important;
  color:var(--ink) !important;
}
#messageActions .message-action-row > #replyBottleBtn{
  background:#eef0f4 !important;
  color:#1381f2 !important;
  border:1px solid rgba(19,129,242,.08) !important;
}
#messageActions .message-action-row > #giftBtn{
  background:#dca452 !important;
  color:#fff !important;
}
@media(max-width:380px){
  #messageActions.message-action-panel,
  #messageActions .message-action-row{gap:10px !important;}
  #messageActions .message-action-row > .btn{
    height:62px !important;
    min-height:62px !important;
    font-size:16px !important;
    border-radius:14px !important;
  }
}


/* V4.14：中奖/彩蛋界面只保留底部两个按钮 */
#messageActions.hidden,
#messageActions.message-action-panel.hidden{
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}
#offerActions{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  margin-top:14px;
  width:100%;
}
#offerActions.hidden{
  display:none !important;
}
#offerActions > .btn{
  width:100%;
  min-width:0;
  height:68px;
  min-height:68px;
  padding:0 10px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-radius:16px;
  font-size:18px;
  line-height:1.2;
}
#offerActions > #declineOfferBtn{
  background:#ece5d6;
  color:var(--ink);
}
#offerActions > #acceptOfferBtn{
  background:var(--green);
  color:#fff;
}
@media(max-width:380px){
  #offerActions{
    gap:10px;
  }
  #offerActions > .btn{
    min-height:62px;
    height:62px;
    font-size:16px;
    border-radius:14px;
  }
}


/* V4.16：首页顶部“看看饮品 / 我们在哪 / 联系兰记” */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:16px;
}
.brand{
  flex:0 0 auto;
  font-weight:900;
  color:var(--green);
  letter-spacing:.06em;
  white-space:nowrap;
}
.topbar-actions{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
}
.topbar-link{
  appearance:none;
  border:1px solid rgba(23,63,42,.13);
  border-radius:999px;
  padding:8px 11px;
  font-family:inherit;
  font-size:12px;
  line-height:1;
  font-weight:850;
  white-space:nowrap;
  cursor:pointer;
  transition:transform .14s ease,opacity .14s ease;
}
.topbar-link:active{transform:scale(.96);opacity:.76}
.drinks-top-link{
  color:#7e5214;
  background:#f4e8c8;
  border-color:rgba(160,101,25,.15);
}
.location-top-link{
  color:var(--green);
  background:#eef3e8;
}
.contact-link{
  color:#fff;
  background:var(--green);
  border-color:var(--green);
}

/* V4.16：饮品与门店位置图片查看层 */
.media-overlay{
  align-items:center;
  padding:12px;
}
.media-sheet{
  width:min(520px,100%);
  height:min(94dvh,900px);
  max-height:94dvh;
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-radius:26px;
  background:#fffaf0;
}
.media-sheet-head{
  flex:0 0 auto;
  margin:0;
  padding:15px 17px 12px;
  background:rgba(255,250,240,.98);
  border-bottom:1px solid rgba(73,52,24,.09);
}
.media-sheet-head > div{min-width:0;text-align:left}
.media-sheet-head h2{font-size:21px;margin:0;color:var(--green)}
.media-sheet-head p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}
.media-image-wrap{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding:10px;
  background:#eee6d5;
  -webkit-overflow-scrolling:touch;
}
.media-poster{
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 32px rgba(47,39,23,.12);
  -webkit-touch-callout:default;
}
.location-card{
  flex:0 0 auto;
  margin:11px 14px 0;
  padding:11px 13px;
  border-radius:15px;
  background:#edf3e8;
  text-align:left;
  border:1px solid rgba(23,63,42,.10);
}
.location-card strong,
.location-card span{display:block}
.location-card strong{color:var(--green);font-size:15px}
.location-card span{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.5}
.location-image-wrap{padding-top:9px}

@media(max-width:420px){
  .topbar{gap:6px}
  .brand{font-size:15px;letter-spacing:.03em}
  .topbar-actions{gap:5px}
  .topbar-link{font-size:11px;padding:8px 8px}
}
@media(max-width:360px){
  .brand{font-size:14px}
  .topbar-link{font-size:10px;padding:7px 6px}
  .topbar-actions{gap:4px}
}


/* V4.18：新店引流节奏与免费招牌冬瓜茶大奖彩蛋 */
.bottle.grand-prize{
  min-height:410px;
  background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.96),rgba(255,241,184,.88) 34%,#edc96f 100%);
  border:2px solid rgba(199,139,28,.42);
  box-shadow:0 18px 48px rgba(166,104,13,.22),inset 0 0 0 1px rgba(255,255,255,.6);
}
.bottle.grand-prize:before{content:"瓶底大奖";background:linear-gradient(135deg,#b96c06,#f3b63c)}
.bottle.grand-prize .code{font-weight:900;color:#9b5b08;letter-spacing:.08em}
.bottle.grand-prize .message{font-size:34px;line-height:1.25;color:#173f2a;text-shadow:0 2px 0 rgba(255,255,255,.45)}
.bottle.grand-prize .moodtag{font-size:17px;background:#173f2a;color:#fff;padding:8px 15px}
.bottle.grand-prize .meta{font-size:14px;font-weight:700;color:#6c4612;line-height:1.8}
.bottle.grand-reveal-pending>.code,
.bottle.grand-reveal-pending>.message,
.bottle.grand-reveal-pending>.moodtag,
.bottle.grand-reveal-pending>.meta{opacity:0;transform:translateY(8px)}
.bottle.grand-prize>.code,
.bottle.grand-prize>.message,
.bottle.grand-prize>.moodtag,
.bottle.grand-prize>.meta{transition:opacity .35s ease,transform .35s ease}
.grand-egg-reveal{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:inherit;background:radial-gradient(circle at 50% 43%,rgba(255,255,255,.98),rgba(255,229,137,.9) 36%,rgba(224,168,56,.92) 100%)}
.grand-egg-reveal.hidden{display:none!important}
.grand-egg-reveal strong{position:relative;z-index:3;margin-top:24px;color:#754407;font-size:17px;letter-spacing:.05em;animation:grandTextPulse .65s ease-in-out infinite alternate}
.grand-glow{position:absolute;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.98),rgba(255,238,153,.58) 45%,transparent 72%);animation:grandGlow 1.1s ease-out both}
.egg-stage{position:relative;width:130px;height:165px;z-index:2;animation:eggShake .62s ease-in-out 1}
.egg-half{position:absolute;left:25px;width:80px;background:linear-gradient(145deg,#fffdf4,#f7df9c);border:3px solid #c88617;box-shadow:inset -8px -8px 0 rgba(205,142,29,.12),0 8px 20px rgba(112,67,4,.18)}
.egg-top{top:12px;height:72px;border-radius:50% 50% 32% 38%/62% 62% 28% 28%;transform-origin:70% 100%;animation:eggTopOpen 1.05s .36s cubic-bezier(.2,.8,.2,1) both}
.egg-bottom{bottom:6px;height:88px;border-radius:38% 34% 50% 50%/24% 24% 62% 62%;transform-origin:30% 0;animation:eggBottomOpen 1.05s .36s cubic-bezier(.2,.8,.2,1) both}
.egg-top:after,.egg-bottom:before{content:"";position:absolute;left:6px;right:6px;height:18px;background:linear-gradient(135deg,transparent 0 18%,#c88617 19% 23%,transparent 24% 42%,#c88617 43% 47%,transparent 48% 66%,#c88617 67% 71%,transparent 72%);}
.egg-top:after{bottom:-10px}.egg-bottom:before{top:-10px;transform:rotate(180deg)}
.egg-star{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%) scale(.2);font-size:56px;color:#e5a11f;text-shadow:0 0 18px #fff,0 0 35px rgba(255,210,64,.9);animation:eggStarPop .65s .48s cubic-bezier(.18,.9,.28,1.35) both}
.grand-confetti{position:absolute;inset:0;z-index:1}.grand-confetti i{position:absolute;width:8px;height:18px;border-radius:4px;background:#fff;left:50%;top:48%;opacity:0;animation:confettiFly .75s .45s ease-out both}.grand-confetti i:nth-child(2){--x:82px;--y:-84px;transform:rotate(26deg);background:#e79918}.grand-confetti i:nth-child(3){--x:-92px;--y:-72px;transform:rotate(-36deg);background:#f7df7e}.grand-confetti i:nth-child(4){--x:105px;--y:20px;transform:rotate(65deg);background:#173f2a}.grand-confetti i:nth-child(5){--x:-104px;--y:28px;transform:rotate(-70deg);background:#fff4bd}.grand-confetti i:nth-child(6){--x:18px;--y:-118px;transform:rotate(12deg);background:#d77f0d}.grand-confetti i:first-child{--x:-22px;--y:-118px;background:#fff}
.prize-card.grand-prize-card{background:radial-gradient(circle at 50% 0,#fffdf3,#ffe9a8 55%,#e9c263);border:2px solid rgba(180,112,9,.35);box-shadow:0 16px 38px rgba(169,105,7,.18)}
.prize-card.grand-prize-card:after{content:"瓶底大奖";background:linear-gradient(135deg,#af6505,#efb63b)}
.prize-card.grand-prize-card h3{font-size:29px;color:#173f2a}
.prize-card.grand-prize-card .spark{animation:grandTextPulse .7s ease-in-out infinite alternate}
@keyframes eggShake{0%,100%{transform:rotate(0)}18%{transform:rotate(-7deg)}36%{transform:rotate(7deg)}54%{transform:rotate(-5deg)}72%{transform:rotate(4deg)}}
@keyframes eggTopOpen{0%{transform:translate(0,0) rotate(0)}100%{transform:translate(-28px,-34px) rotate(-28deg)}}
@keyframes eggBottomOpen{0%{transform:translate(0,0) rotate(0)}100%{transform:translate(28px,22px) rotate(18deg)}}
@keyframes eggStarPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.15) rotate(-30deg)}70%{opacity:1;transform:translate(-50%,-50%) scale(1.25) rotate(8deg)}100%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}}
@keyframes confettiFly{0%{opacity:0;transform:translate(0,0) scale(.4)}30%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(210deg) scale(1)}}
@keyframes grandGlow{0%{opacity:.2;transform:scale(.45)}60%{opacity:1}100%{opacity:.5;transform:scale(1.15)}}
@keyframes grandTextPulse{from{transform:scale(.98);opacity:.78}to{transform:scale(1.04);opacity:1}}
@media (prefers-reduced-motion:reduce){.egg-stage,.egg-top,.egg-bottom,.egg-star,.grand-glow,.grand-confetti i,.grand-egg-reveal strong,.prize-card.grand-prize-card .spark{animation:none!important}.bottle.grand-reveal-pending>.code,.bottle.grand-reveal-pending>.message,.bottle.grand-reveal-pending>.moodtag,.bottle.grand-reveal-pending>.meta{opacity:1;transform:none}.grand-egg-reveal{display:none!important}}
@media(max-width:380px){.bottle.grand-prize{min-height:390px}.bottle.grand-prize .message{font-size:30px}}

/* V4.23 本地漂流区域 */
.bottle:not(.prize-bottle) .meta{line-height:1.7}
.bottle:not(.prize-bottle) .meta strong{display:block;color:var(--green);font-size:13px;font-weight:900;margin-bottom:5px}
.bottle:not(.prize-bottle) .meta span{display:block;color:#82745f;font-size:12px}

/* V4.28 奖品来源强化 */
.bottle.prize-bottle .code{font-size:13px;line-height:1.45;letter-spacing:0;max-width:78%;white-space:normal}
.wallet-tag{max-width:100%;white-space:normal;line-height:1.35}
.prize-description{white-space:pre-line}

/* V4.29：低打扰彩蛋提醒与长期找券入口 */
.my-prize{
  position:fixed;
  z-index:22;
  right:15px;
  bottom:calc(18px + env(safe-area-inset-bottom));
  width:auto;
  min-width:118px;
  padding:10px 13px;
  gap:7px;
  border-radius:999px;
  border:1px solid rgba(168,100,29,.22);
  background:rgba(255,248,231,.96);
  box-shadow:0 10px 30px rgba(53,38,18,.20);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:opacity .18s ease,transform .18s ease;
}
.my-prize .my-prize-icon{font-size:19px;line-height:1}
.my-prize strong{display:block;font-size:13px;color:var(--green);white-space:nowrap}
.my-prize em{
  position:absolute;
  right:-5px;
  top:-7px;
  min-width:21px;
  height:21px;
  margin:0;
  border:2px solid #fff8e7;
  font-size:10px;
}
body.has-open-overlay .my-prize{opacity:0;transform:translateY(8px);pointer-events:none}
.wallet-entry-card,.wallet-save-panel{
  border:1px solid rgba(23,63,42,.14);
  border-radius:18px;
  padding:14px;
  background:linear-gradient(145deg,#eef4e9,#fffaf0);
  text-align:left;
}
.wallet-entry-card{margin:0 0 13px}
.wallet-save-panel{margin:12px 0}
.wallet-entry-copy strong,.wallet-save-panel>strong{display:block;color:var(--green);font-size:16px}
.wallet-entry-copy span,.wallet-save-panel p{display:block;color:var(--muted);font-size:12px;line-height:1.65;margin:5px 0 10px}
.wallet-entry-url{
  width:100%;
  border:1px solid #cad6c5;
  border-radius:12px;
  padding:10px 11px;
  background:#fff;
  color:#5e675b;
  font-size:11px;
}
.wallet-entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.wallet-entry-actions .btn{padding:11px 8px;font-size:12px}
@media(max-width:370px){
  .my-prize{right:11px;bottom:calc(12px + env(safe-area-inset-bottom));min-width:108px;padding:9px 11px}
  .wallet-entry-actions{grid-template-columns:1fr}
}


/* V4.30：微信卡片式找券入口 */
.wallet-card-page{
  min-height:100vh;
  margin:0;
  background:radial-gradient(circle at 86% -5%,rgba(238,181,69,.32),transparent 34%),linear-gradient(155deg,#fffaf0,#eee0bd);
  color:#2b241a;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
.wallet-card-shell{width:min(520px,calc(100% - 28px));margin:0 auto;padding:22px 0 48px}
.wallet-share-guide{margin-bottom:14px}
.wallet-link-card{
  border-radius:27px;
  padding:27px 22px 22px;
  background:#fffaf0;
  border:1px solid rgba(132,92,27,.14);
  box-shadow:0 20px 55px rgba(65,45,15,.16);
  text-align:center;
}
.wallet-card-mark{
  width:70px;height:70px;margin:0 auto 13px;border-radius:22px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,#e8f2e4,#f9e8b5);font-size:35px;
}
.wallet-card-brand{margin:0;color:#765725;font-size:13px;font-weight:800;line-height:1.5}
.wallet-link-card h1{margin:7px 0 8px;color:#173f2a;font-size:29px;line-height:1.25}
.wallet-card-desc{margin:0 auto;color:#675d4d;font-size:15px;line-height:1.75;max-width:350px}
.wallet-card-status{
  margin:20px 0 15px;padding:14px;border-radius:16px;
  background:#edf3e8;border:1px solid rgba(23,63,42,.10);
}
.wallet-card-status strong,.wallet-card-status span{display:block}
.wallet-card-status strong{color:#173f2a;font-size:18px}
.wallet-card-status span{margin-top:4px;color:#6b7368;font-size:12px;line-height:1.5}
.wallet-card-open{display:block;text-decoration:none;text-align:center;width:100%;margin-top:10px}
.wallet-card-safe{margin:13px 4px 0;color:#8a7b65;font-size:11px;line-height:1.65}
.wallet-link-error{margin-top:12vh}
@media(max-width:380px){
  .wallet-card-shell{width:min(100% - 20px,520px);padding-top:14px}
  .wallet-link-card{padding:23px 17px 19px;border-radius:23px}
  .wallet-link-card h1{font-size:25px}
}


/* V4.31：兑奖首屏优先展示微信找券入口 */
.wallet-save-panel-prize{
  margin:10px 0 9px;
  padding:12px 13px;
  border-radius:16px;
}
.wallet-save-panel-prize>strong{
  font-size:15px;
  line-height:1.35;
}
.wallet-save-panel-prize p{
  margin:3px 0 8px;
  font-size:11px;
  line-height:1.45;
}
.wallet-entry-url-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
.wallet-entry-actions-prize{
  grid-template-columns:1.2fr .8fr;
  margin-top:0;
}
.wallet-entry-actions-prize .btn{
  min-height:48px;
  padding:10px 8px;
  font-size:14px;
}
.prize-note-compact{
  margin:0 0 10px;
  padding:0 3px;
  border:0;
  background:transparent;
  color:#7e725f;
  font-size:11px;
  line-height:1.5;
  text-align:center;
  box-shadow:none;
}
@media(max-width:370px){
  .wallet-entry-actions-prize{grid-template-columns:1fr 1fr}
  .wallet-entry-actions-prize .btn{font-size:13px}
}


/* V4.32：微信右上角“···”闪烁引导 */
.wallet-menu-pointer{
  position:fixed;
  z-index:9999;
  right:max(10px,env(safe-area-inset-right));
  top:max(8px,env(safe-area-inset-top));
  display:flex;
  align-items:center;
  gap:6px;
  padding:7px 10px 7px 8px;
  border-radius:999px;
  color:#173f2a;
  background:rgba(255,250,240,.96);
  border:1px solid rgba(23,63,42,.18);
  box-shadow:0 8px 24px rgba(23,63,42,.18);
  pointer-events:none;
  transform-origin:right top;
  animation:walletPointerFlash 1.15s ease-in-out infinite;
}
.wallet-menu-pointer-arrow{
  font-size:27px;
  line-height:1;
  font-weight:900;
  animation:walletPointerBounce .9s ease-in-out infinite;
}
.wallet-menu-pointer-text{font-size:13px;font-weight:900;white-space:nowrap}
.wallet-menu-pointer.hidden{display:none}
@keyframes walletPointerFlash{
  0%,100%{opacity:.48;transform:scale(.97)}
  50%{opacity:1;transform:scale(1.035);box-shadow:0 10px 30px rgba(23,63,42,.34)}
}
@keyframes walletPointerBounce{
  0%,100%{transform:translateY(2px)}
  50%{transform:translateY(-4px)}
}
@media (prefers-reduced-motion:reduce){
  .wallet-menu-pointer,.wallet-menu-pointer-arrow{animation:none}
}
@media(max-width:390px){
  .wallet-menu-pointer{right:7px;padding:6px 8px 6px 7px}
  .wallet-menu-pointer-text{font-size:12px}
}


/* V4.34：品牌导航完整版首页，保留V33全部业务功能 */
body{overflow-x:hidden}
.brand-site-header{position:sticky;top:0;z-index:24;width:100%;background:rgba(255,250,240,.97);border-bottom:1px solid rgba(64,48,28,.12);box-shadow:0 7px 24px rgba(28,45,34,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.brand-site-header-inner{width:min(100%,520px);margin:auto;padding:9px 12px 8px}
.brand-header-row{display:flex;align-items:center;gap:10px}
.brand-header-mark{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#123f32;color:#fff;font-weight:950;font-size:21px;box-shadow:0 7px 16px rgba(18,63,50,.20)}
.brand-header-name{min-width:0;flex:1}
.brand-header-name b{display:block;color:#123f32;font-size:15px;line-height:1.25;letter-spacing:.05em}
.brand-header-name span{display:block;color:#7b6f60;font-size:10px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-wechat-shortcut{border:0;border-radius:12px;padding:9px 11px;background:#e6f0e8;color:#123f32;font-size:12px;font-weight:900;white-space:nowrap}
.brand-main-nav{display:flex;gap:7px;overflow-x:auto;padding-top:8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.brand-main-nav::-webkit-scrollbar{display:none}
.brand-main-nav button{flex:0 0 auto;border:0;border-radius:99px;padding:7px 10px;background:#f2e8d5;color:#534635;font-size:11px;font-weight:800}
.brand-main-nav button.is-active{background:#123f32;color:#fff}

.brand-home-app{max-width:520px;margin:auto;min-height:calc(100dvh - 91px);padding:0;background:#123f32}
.brand-home-hero{position:relative;overflow:hidden;min-height:calc(100dvh - 91px);color:#fff;background:radial-gradient(circle at 82% 6%,rgba(255,217,142,.34),transparent 27%),linear-gradient(165deg,#123f32 0%,#1d5c45 58%,#2f7255 100%)}
.brand-home-hero:before,.brand-home-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.brand-home-hero:before{width:340px;height:340px;right:-210px;top:165px;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 92px rgba(255,255,255,.018)}
.brand-home-hero:after{width:300px;height:110px;left:-90px;bottom:55px;background:rgba(255,255,255,.035);transform:rotate(-8deg)}
.brand-home-inner{min-height:calc(100dvh - 91px);padding:17px 20px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;position:relative;z-index:1}
.brand-home-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px}
.brand-home-name{font-weight:900;letter-spacing:.08em;font-size:15px}
.brand-local-tag{font-size:11px;padding:7px 10px;border:1px solid rgba(255,255,255,.22);border-radius:99px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);white-space:nowrap}
.brand-home-main{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:17px 0 7px}
.brand-campaign-pill{align-self:center;max-width:92%;font-size:11px;line-height:1.45;padding:7px 11px;border:1px solid rgba(255,255,255,.20);border-radius:99px;background:rgba(255,255,255,.09);opacity:.88;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand-home-main h1{font-size:40px;line-height:1.12;letter-spacing:-.04em;margin:13px 0 0;font-weight:950;text-shadow:0 4px 22px rgba(0,0,0,.14)}
.brand-home-main h1 span{display:block}
.brand-home-copy{font-size:15px;line-height:1.72;opacity:.83;margin:13px auto 0;max-width:330px}
.brand-bottle-stage{height:245px;display:grid;place-items:center;position:relative;margin:3px 0 0}
.brand-ripple{position:absolute;width:250px;height:60px;border-radius:50%;border:1px solid rgba(255,255,255,.2);bottom:29px;animation:brandRipple 3s ease-in-out infinite}
.brand-ripple:after{content:"";position:absolute;inset:10px 32px;border-radius:50%;border:1px solid rgba(255,255,255,.12)}
.brand-bottle-figure{width:92px;height:178px;position:relative;transform:rotate(-8deg);animation:brandFloat 3.6s ease-in-out infinite;filter:drop-shadow(0 22px 20px rgba(0,0,0,.18))}
.brand-bottle-neck{position:absolute;width:36px;height:38px;left:28px;top:0;border:3px solid rgba(255,255,255,.7);border-bottom:0;border-radius:9px 9px 3px 3px;background:rgba(255,255,255,.08)}
.brand-cork{position:absolute;width:31px;height:16px;left:30px;top:-7px;border-radius:5px;background:linear-gradient(90deg,#b77a35,#e3b567,#a9682d);box-shadow:inset 0 0 0 2px rgba(79,45,13,.18)}
.brand-bottle-body{position:absolute;inset:32px 3px 0;border:3px solid rgba(255,255,255,.68);border-radius:18px 18px 34px 34px;background:linear-gradient(115deg,rgba(255,255,255,.22),rgba(255,255,255,.06));box-shadow:inset 12px 0 18px rgba(255,255,255,.10)}
.brand-paper-roll{position:absolute;width:50px;height:76px;left:20px;top:72px;border-radius:8px;background:#f4ddb0;transform:rotate(4deg);box-shadow:0 8px 18px rgba(0,0,0,.14)}
.brand-paper-roll:before,.brand-paper-roll:after{content:"";position:absolute;left:9px;right:9px;height:2px;background:rgba(105,73,35,.24);box-shadow:0 9px 0 rgba(105,73,35,.2),0 18px 0 rgba(105,73,35,.16)}
.brand-paper-roll:before{top:17px}.brand-paper-roll:after{top:44px;right:20px}
.brand-spark{position:absolute;width:6px;height:6px;border-radius:50%;background:#ffe6a9;box-shadow:0 0 14px #ffe6a9;animation:brandBlink 2.2s ease-in-out infinite}
.brand-spark-1{left:22%;top:34%}.brand-spark-2{right:20%;top:23%;animation-delay:.8s}.brand-spark-3{right:28%;bottom:28%;animation-delay:1.5s}
.brand-main-cta{width:100%;border:0;border-radius:18px;padding:17px 20px;font-weight:900;font-size:18px;color:#123f32;background:linear-gradient(180deg,#ffe3a3,#f4bd57);box-shadow:0 14px 34px rgba(29,30,12,.25),inset 0 1px 0 rgba(255,255,255,.7);transition:.15s}
.brand-main-cta:active{transform:scale(.985)}
.brand-secondary-link{align-self:center;border:0;background:none;color:rgba(255,255,255,.88);font-weight:800;padding:14px 12px 7px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(255,255,255,.28)}
.brand-home-foot{text-align:center;font-size:11px;line-height:1.6;opacity:.61;margin-top:2px}
.brand-intro-card{margin-top:11px;padding:12px 13px;border:1px solid rgba(255,255,255,.17);border-radius:16px;background:rgba(255,255,255,.075);display:flex;align-items:center;gap:10px;text-align:left}
.brand-intro-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:rgba(255,226,164,.95);color:#123f32;font-weight:950}
.brand-intro-copy{min-width:0;flex:1}
.brand-intro-copy b{display:block;font-size:12px;margin-bottom:3px}
.brand-intro-copy span{display:block;font-size:10px;line-height:1.5;opacity:.72}
.brand-intro-card button{border:0;background:none;color:#ffe0a0;font-size:11px;font-weight:900;padding:6px;white-space:nowrap}
@keyframes brandFloat{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-13px) rotate(-4deg)}}
@keyframes brandRipple{0%,100%{transform:scale(.92);opacity:.5}50%{transform:scale(1.05);opacity:.9}}
@keyframes brandBlink{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1.15)}}
@media(max-height:720px){.brand-home-main{padding-top:9px}.brand-bottle-stage{height:190px}.brand-bottle-figure{transform:scale(.84) rotate(-8deg)}.brand-home-main h1{font-size:34px}.brand-home-copy{font-size:13px}.brand-intro-card{margin-top:7px}}
@media(max-width:370px){.brand-site-header-inner{padding-left:9px;padding-right:9px}.brand-header-mark{width:35px;height:35px;flex-basis:35px}.brand-home-inner{padding-left:16px;padding-right:16px}.brand-home-main h1{font-size:35px}.brand-local-tag{font-size:10px}}
@media(prefers-reduced-motion:reduce){.brand-bottle-figure,.brand-ripple,.brand-spark{animation:none!important}}

/* V4.35：五项完整导航 + 后台可编辑品牌故事 */
.brand-main-nav{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:5px;
  overflow:visible;
  width:100%;
}
.brand-main-nav button{
  min-width:0;
  width:100%;
  padding:7px 2px;
  font-size:10.5px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:clip;
}
.brand-story-sheet{max-height:min(82dvh,720px);overflow:auto;padding-bottom:18px}
.brand-story-head{align-items:flex-start}
.brand-story-heading{display:flex;align-items:center;gap:11px;min-width:0;padding-right:8px}
.brand-story-mark{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:15px;background:#123f32;color:#fff;font-size:25px;font-weight:950;box-shadow:0 9px 20px rgba(18,63,50,.18)}
.brand-story-heading small{display:block;color:#c7832e;font-size:10px;font-weight:900;letter-spacing:.14em;margin-bottom:4px}
.brand-story-heading h2{margin:0;color:#123f32;font-size:22px;line-height:1.3;text-align:left}
.brand-story-content{margin-top:16px;padding:17px 16px;border-radius:20px;background:linear-gradient(150deg,#f4ead7,#fffaf0);border:1px solid rgba(64,48,28,.10)}
.brand-story-content p{margin:0 0 13px;color:#4f4437;font-size:14px;line-height:1.85;text-align:left}
.brand-story-content p:last-of-type{margin-bottom:15px}
.brand-story-content blockquote{margin:0;padding:14px 14px 13px;border-left:4px solid #c7832e;border-radius:0 14px 14px 0;background:rgba(199,131,46,.10);color:#123f32;font-size:16px;font-weight:900;line-height:1.6}
.brand-story-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.brand-story-actions .btn{padding:14px 10px}
@media(max-width:370px){
  .brand-main-nav{gap:4px}
  .brand-main-nav button{font-size:10px;padding-left:1px;padding-right:1px}
  .brand-story-heading h2{font-size:20px}
}

/* V4.36：共享漂流瓶“接住以后”匿名接龙页 */
.gift-thread-entry{font-size:15px;line-height:1.25}
.thread-page{min-height:100vh;padding:18px 14px calc(28px + env(safe-area-inset-bottom));background:radial-gradient(circle at 86% -4%,rgba(255,211,125,.46),transparent 31%),linear-gradient(155deg,#fffaf0,#efe0bd);color:#29231c}
.thread-shell{width:min(100%,520px);margin:auto}
.thread-header{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:9px;margin-bottom:14px}
.thread-back{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;text-decoration:none;background:rgba(18,63,50,.09);color:#123f32;font-size:28px;font-weight:800;line-height:1}
.thread-header small{display:block;text-align:center;color:#c7832e;font-size:10px;font-weight:900;letter-spacing:.13em;margin-bottom:3px}
.thread-header h1{margin:0;text-align:center;color:#123f32;font-size:22px;line-height:1.25}
.thread-head-space{width:40px;height:40px}
.thread-root-card{position:relative;overflow:hidden;border-radius:25px;padding:22px 20px 18px;background:repeating-linear-gradient(0deg,rgba(90,56,20,.025) 0,rgba(90,56,20,.025) 1px,transparent 1px,transparent 4px),#f4dfb8;border:1px solid rgba(97,66,26,.18);box-shadow:0 17px 42px rgba(72,55,25,.13)}
.thread-root-card:after{content:"接龙中";position:absolute;right:-31px;top:24px;transform:rotate(40deg);background:#123f32;color:#fff;padding:6px 40px;font-size:10px;letter-spacing:.13em}
.thread-root-kicker{display:inline-flex;padding:6px 10px;border-radius:99px;background:rgba(18,63,50,.09);color:#123f32;font-size:11px;font-weight:900}
.thread-root-message{margin:24px 0 18px;padding-right:26px;color:#2b241c;font-size:23px;font-weight:900;line-height:1.55;white-space:pre-wrap}
.thread-gift-note{margin:0 0 15px;padding:11px 12px;border-radius:13px;background:rgba(255,250,240,.58);color:#6e593d;font-size:12px;line-height:1.65}
.thread-root-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#786442;font-size:11px;line-height:1.55}
.thread-root-meta span:first-child{padding:5px 9px;border-radius:99px;background:rgba(18,63,50,.08);color:#123f32;font-weight:800}
.thread-replies-card,.thread-write-card{margin-top:14px;border-radius:23px;padding:17px 16px;background:rgba(255,253,247,.94);border:1px solid rgba(64,48,28,.11);box-shadow:0 12px 30px rgba(78,57,27,.07)}
.thread-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.thread-section-title.compact{margin-bottom:10px}
.thread-section-title small{display:block;color:#c7832e;font-size:9px;font-weight:900;letter-spacing:.14em;margin-bottom:3px}
.thread-section-title h2{margin:0;color:#123f32;font-size:18px;line-height:1.3}
.thread-reply-count{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:7px 9px;border-radius:99px;background:#e7efe7;color:#123f32;font-size:11px;font-weight:900}
.thread-first-empty{padding:20px 14px;text-align:center;border-radius:16px;background:#f5ebd8;color:#746654}
.thread-first-empty b,.thread-first-empty span{display:block}
.thread-first-empty b{color:#123f32;font-size:15px;margin-bottom:6px}
.thread-first-empty span{font-size:12px;line-height:1.6}
.thread-reply-list{display:grid;gap:9px}
.thread-reply{position:relative;padding:13px 13px 12px 16px;border-radius:16px;background:#f5ead5;border-left:4px solid rgba(18,63,50,.34)}
.thread-reply:nth-child(even){background:#edf3ea;border-left-color:rgba(199,131,46,.55)}
.thread-reply-meta{display:flex;justify-content:space-between;gap:12px;color:#80715e;font-size:10px;line-height:1.4}
.thread-reply-meta span{font-weight:800;color:#315c49}
.thread-reply p{margin:8px 0 0;color:#342c23;font-size:14px;line-height:1.75;word-break:break-word}
.thread-more-btn{width:100%;border:0;border-radius:13px;padding:11px;margin-top:10px;background:#eee3ce;color:#123f32;font-weight:900}
.thread-list-note{text-align:center;color:#8a7a66;font-size:10px;line-height:1.55;margin-top:9px}
.thread-notice{padding:13px;border-radius:14px;font-size:12px;line-height:1.65}
.thread-notice.warning{background:#fff0d3;color:#79531b}
.thread-write-card textarea{width:100%;min-height:108px;resize:none;border:1px solid #d7c7a9;border-radius:16px;padding:13px 14px;background:#fffaf0;color:#29231c;outline:none;font-size:14px;line-height:1.7}
.thread-write-card textarea:focus{border-color:#123f32;box-shadow:0 0 0 3px rgba(18,63,50,.08)}
.thread-write-row{display:flex;justify-content:space-between;gap:10px;margin:7px 2px 0;color:#887966;font-size:10px}
.thread-write-row b{color:#123f32}
.thread-submit{width:100%;border:0;border-radius:15px;padding:14px;margin-top:12px;background:#123f32;color:#fff;font-size:15px;font-weight:900}
.thread-submit:disabled{opacity:.45}
.thread-submit-result{padding:15px;border-radius:16px;background:#e5f0e4;color:#31543f;text-align:center}
.thread-submit-result b,.thread-submit-result span{display:block}
.thread-submit-result b{font-size:15px;color:#123f32;margin-bottom:5px}
.thread-submit-result span{font-size:11px;line-height:1.6}
.thread-actions{display:grid;grid-template-columns:1.25fr .75fr;gap:9px;margin-top:14px}
.thread-action{display:grid;place-items:center;min-height:52px;padding:13px 9px;border-radius:15px;text-decoration:none;background:#eee3ce;color:#30271e;font-weight:900;text-align:center}
.thread-action.share{background:#dca345;color:#fff}
.thread-brand-foot{text-align:center;color:#8b7c69;font-size:10px;line-height:1.6;margin:15px 0 2px}
.thread-empty{margin-top:15vh;padding:25px;border-radius:24px;background:#fffaf0;box-shadow:0 18px 45px rgba(72,55,25,.13);text-align:center}
.thread-empty h1{color:#123f32}
.thread-empty p{color:#786d5d;line-height:1.7}
@media(max-width:370px){
  .thread-page{padding-left:10px;padding-right:10px}
  .thread-root-message{font-size:21px}
  .thread-header h1{font-size:20px}
  .thread-actions{grid-template-columns:1fr 1fr}
}


/* V4.36 全量接龙：普通抽取与分享漂流瓶共用同一接龙 */
.thread-action[type="button"]{border:0;font:inherit;cursor:pointer}


/* V4.36.2 接龙首屏精简 */
.thread-write-card-first{
  margin-top:12px;
}
.thread-write-card-first .thread-section-title{
  margin-bottom:9px;
}
.thread-write-card-first textarea{
  min-height:92px;
}
.thread-inline-notice{
  margin-top:10px;
}
.thread-replies-after-write{
  margin-top:12px;
}
.thread-disabled-card{
  margin-top:12px;
}
@media (max-height:760px){
  .thread-page{padding-top:10px}
  .thread-header{margin-bottom:9px}
  .thread-header h1{font-size:19px}
  .thread-root-card{padding:17px 16px 14px;border-radius:22px}
  .thread-root-message{margin:17px 0 12px;font-size:20px;line-height:1.48}
  .thread-root-meta{font-size:10px}
  .thread-write-card,.thread-replies-card{padding:14px 13px;border-radius:20px}
  .thread-write-card-first textarea{min-height:82px}
  .thread-submit{padding:12px;margin-top:9px}
}


/* V4.36.3 接龙文案统一 */
.thread-first-line{
  margin:-1px 0 9px;
  color:#8a765d;
  font-size:12px;
  line-height:1.55;
}


/* V4.36.5 兑奖页：首屏优先添加兰记微信 */
.prize-sheet-compact{
  padding:16px;
  text-align:center;
}
.prize-sheet-head{
  margin-bottom:10px;
}
.prize-sheet-head h2{
  font-size:20px;
  line-height:1.25;
}
.prize-card-compact{
  padding:15px 16px 13px;
  border-radius:21px;
}
.prize-card-compact:after{
  top:16px;
  right:-36px;
}
.prize-brand-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:30px;
}
.prize-brand-line .spark{
  font-size:27px;
  line-height:1;
}
.prize-brand-line small{
  font-size:12px;
  font-weight:800;
}
.prize-card-compact h3{
  font-size:25px;
  line-height:1.25;
  margin:7px 0 6px;
}
.prize-card-compact p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:0 auto;
  max-width:390px;
  color:#685a45;
  font-size:13px;
  line-height:1.5;
}
.claim-code-compact{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:9px 12px;
  margin:11px 0 7px;
  border-radius:13px;
}
.claim-code-compact span,
.claim-code-compact strong{
  display:inline-block;
}
.claim-code-compact span{
  flex:0 0 auto;
  font-size:10px;
}
.claim-code-compact strong{
  margin:0;
  font-size:19px;
  letter-spacing:.07em;
}
.prize-meta-inline{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:5px 12px;
  color:#75664e;
}
.prize-meta-inline .expiry,
.prize-meta-inline .claim-status{
  font-size:11px;
  line-height:1.4;
}
.prize-meta-inline .claim-status:before{
  content:"· ";
}
.prize-contact-cta{
  min-height:55px;
  margin-top:11px;
  border-radius:17px;
  font-size:17px;
  box-shadow:0 12px 28px rgba(23,63,42,.18);
}
.prize-contact-tip{
  margin:6px 4px 2px;
  color:#786e60;
  font-size:11px;
  line-height:1.45;
}
.wallet-save-panel-compact{
  margin:8px 0 0;
  padding:0;
  border:0;
  background:transparent;
}
.wallet-save-panel-compact .wallet-entry-actions{
  margin:0;
}
.wallet-save-panel-compact .btn{
  min-height:44px;
  padding:9px 7px;
  border:1px solid rgba(23,63,42,.10);
  font-size:13px;
}
.prize-note-inline{
  margin:8px 0 0;
  padding:0;
  background:transparent;
  text-align:center;
  color:#8a7c69;
  font-size:10px;
  line-height:1.45;
}
@media(max-height:760px){
  .prize-sheet-compact{
    max-height:calc(100vh - 22px);
    padding:13px;
  }
  .prize-sheet-head{
    margin-bottom:7px;
  }
  .prize-sheet-head h2{
    font-size:18px;
  }
  .prize-sheet-head .close{
    width:32px;
    height:32px;
  }
  .prize-card-compact{
    padding:12px 13px 10px;
  }
  .prize-brand-line{
    min-height:25px;
  }
  .prize-brand-line .spark{
    font-size:23px;
  }
  .prize-card-compact h3{
    font-size:22px;
    margin:5px 0 4px;
  }
  .prize-card-compact p{
    font-size:12px;
    line-height:1.4;
  }
  .claim-code-compact{
    padding:7px 9px;
    margin:8px 0 5px;
  }
  .claim-code-compact strong{
    font-size:17px;
  }
  .prize-contact-cta{
    min-height:49px;
    margin-top:8px;
    font-size:16px;
  }
  .prize-contact-tip{
    margin-top:4px;
    font-size:10px;
  }
  .wallet-save-panel-compact{
    margin-top:6px;
  }
  .wallet-save-panel-compact .btn{
    min-height:40px;
    font-size:12px;
  }
  .prize-note-inline{
    margin-top:6px;
    font-size:9px;
  }
}


/* V4.36.6 兑奖页再精简：强调截图保存，弱化查看彩蛋 */
.prize-save-hint{
  margin-top:6px;
  color:#88795f;
  font-size:11px;
  line-height:1.4;
}
.wallet-entry-actions-single{
  grid-template-columns:1fr;
}
.wallet-entry-actions-single .btn{
  width:100%;
}
.wallet-save-panel-compact{
  margin-top:7px;
}
.wallet-save-panel-compact .wallet-entry-actions{
  gap:0;
}
.prize-contact-tip{
  margin:5px 4px 1px;
}
@media(max-height:760px){
  .prize-save-hint{
    margin-top:4px;
    font-size:10px;
  }
  .wallet-save-panel-compact{
    margin-top:5px;
  }
}

/* V4.37：活跃漂流推荐与“我接过的瓶子” */
.bottle:not(.prize-bottle) .meta .bottle-activity-note{
  display:inline-block;
  width:auto;
  margin:0 0 8px;
  padding:5px 9px;
  border-radius:99px;
  background:rgba(168,100,29,.13);
  color:#8a571b;
  font-size:11px;
  font-style:normal;
  font-weight:900;
}
.my-thread{
  position:fixed;
  z-index:22;
  right:15px;
  bottom:calc(76px + env(safe-area-inset-bottom));
  width:auto;
  min-width:118px;
  padding:10px 13px;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(23,63,42,.18);
  border-radius:999px;
  background:rgba(238,246,235,.97);
  color:var(--green);
  box-shadow:0 10px 30px rgba(31,62,42,.18);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:opacity .18s ease,transform .18s ease,bottom .18s ease;
}
.my-thread.solo{bottom:calc(18px + env(safe-area-inset-bottom))}
.my-thread.with-prize{bottom:calc(76px + env(safe-area-inset-bottom))}
.my-thread .my-thread-icon{font-size:18px;line-height:1}
.my-thread strong{font-size:13px;white-space:nowrap}
.my-thread em{
  position:absolute;
  right:-5px;
  top:-7px;
  display:inline-grid;
  place-items:center;
  min-width:21px;
  height:21px;
  padding:0 6px;
  border:2px solid #eef6eb;
  border-radius:99px;
  background:var(--green);
  color:#fff;
  font-size:10px;
  font-style:normal;
}
.my-thread.has-unread{
  background:#fff4d5;
  border-color:rgba(168,100,29,.25);
  box-shadow:0 12px 34px rgba(117,72,15,.22);
}
.my-thread.has-unread em{background:var(--amber);border-color:#fff4d5}
body.has-open-overlay .my-thread{opacity:0;transform:translateY(8px);pointer-events:none}
.my-thread-sheet{max-height:88vh}
.my-thread-list{display:grid;gap:10px}
.my-thread-card{
  width:100%;
  padding:14px;
  border:1px solid rgba(23,63,42,.11);
  border-radius:18px;
  background:linear-gradient(145deg,#fffdf7,#f5ecda);
  color:var(--ink);
  text-align:left;
  box-shadow:0 8px 22px rgba(72,55,25,.06);
}
.my-thread-card.has-new{
  border-color:rgba(168,100,29,.28);
  background:linear-gradient(145deg,#fff9e8,#f6e4b7);
}
.my-thread-card-top,.my-thread-card-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
}
.my-thread-card-top small{color:var(--muted);font-size:10px}
.my-thread-new,.my-thread-role{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border-radius:99px;
  font-size:10px;
  font-weight:900;
}
.my-thread-new{background:var(--amber);color:#fff}
.my-thread-role{background:rgba(23,63,42,.09);color:var(--green)}
.my-thread-card h3{
  margin:10px 0 8px;
  color:var(--green);
  font-size:17px;
  line-height:1.55;
}
.my-thread-latest{
  margin:0 0 10px;
  padding:9px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.58);
  color:#615644;
  font-size:12px;
  line-height:1.55;
}
.my-thread-latest.muted{color:#8b7e69}
.my-thread-card-foot span{color:var(--muted);font-size:10px}
.my-thread-card-foot b{color:var(--green);font-size:11px}
@media(max-width:370px){
  .my-thread{right:11px;min-width:108px;padding:9px 11px}
  .my-thread.solo{bottom:calc(12px + env(safe-area-inset-bottom))}
  .my-thread.with-prize{bottom:calc(69px + env(safe-area-inset-bottom))}
}


/* V4.38：统一“我的漂流”入口、个人中心与附近感强化 */
.my-drift{
  position:fixed;z-index:22;right:15px;bottom:calc(18px + env(safe-area-inset-bottom));
  min-width:116px;padding:10px 13px;display:flex;align-items:center;gap:7px;
  border:1px solid rgba(23,63,42,.18);border-radius:999px;
  background:rgba(239,247,235,.97);color:var(--green);
  box-shadow:0 11px 32px rgba(31,62,42,.19);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:opacity .18s ease,transform .18s ease;
}
.my-drift.has-news{background:#fff4d5;border-color:rgba(168,100,29,.27);box-shadow:0 12px 34px rgba(117,72,15,.22)}
.my-drift-icon{font-size:19px;line-height:1}.my-drift strong{font-size:13px;white-space:nowrap}
.my-drift em{position:absolute;right:-5px;top:-7px;display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border:2px solid #eef6eb;border-radius:99px;background:var(--amber);color:#fff;font-size:10px;font-style:normal}
body.has-open-overlay .my-drift{opacity:0;transform:translateY(8px);pointer-events:none}
.my-drift-sheet{max-height:91vh}
.my-drift-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:13px}
.my-drift-menu-item{position:relative;min-height:68px;padding:12px;border:1px solid rgba(23,63,42,.10);border-radius:17px;background:#f5ecda;color:var(--green);text-align:left}
.my-drift-menu-item>span{display:block;font-size:20px;margin-bottom:5px}.my-drift-menu-item>b{font-size:13px}.my-drift-menu-item>em{position:absolute;right:10px;top:10px;min-width:22px;padding:3px 6px;border-radius:99px;background:rgba(23,63,42,.10);font-size:10px;font-style:normal;text-align:center}
.my-drift-menu-item>small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.my-drift-menu-item.wide{grid-column:1/-1;min-height:58px;display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}.my-drift-menu-item.wide>span{grid-row:1/3;margin:0}.my-drift-menu-item.active{background:var(--green);color:#fff;border-color:var(--green)}.my-drift-menu-item.active small{color:rgba(255,255,255,.72)}.my-drift-menu-item.active em{background:#fff;color:var(--green)}
.my-drift-panel{padding-top:4px}.my-drift-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:3px 1px 10px}.my-drift-panel-head h3{margin:0;color:var(--green);font-size:18px}.my-drift-panel-head span{color:var(--muted);font-size:10px;text-align:right}
.my-drift-save-mark{font-size:48px;text-align:center;margin:8px 0 3px}.my-drift-save-panel{text-align:center}.my-drift-save-panel h3,.my-drift-panel#myDriftSavePanel h3{text-align:center;color:var(--green);margin:4px 0 7px}.my-drift-panel#myDriftSavePanel p{text-align:center;color:var(--muted);font-size:12px;line-height:1.7;margin:0 5px 13px}.my-drift-save-note{display:block;text-align:center;color:#8b7e69;font-size:10px;line-height:1.5;margin-top:8px}

/* 让“来自哪里”成为漂流瓶里的第二视觉重点 */
.bottle:not(.prize-bottle) .meta{margin-top:17px;color:var(--green)}
.bottle:not(.prize-bottle) .meta strong{display:block;padding:10px 12px;border:1px solid rgba(168,100,29,.22);border-radius:13px;background:#fff4d5;color:#174b35;font-size:15px;line-height:1.45;font-weight:950;box-shadow:0 5px 14px rgba(94,63,18,.07)}
.bottle:not(.prize-bottle) .meta>span{display:block;margin-top:6px;color:#73654f;font-size:11px;text-align:center}
.thread-root-meta{align-items:stretch!important;gap:7px!important}.thread-root-meta span:last-child{padding:8px 10px;border-radius:11px;background:#fff2c9;color:#174b35!important;font-size:12px!important;font-weight:900;text-align:center}
.thread-reply-meta span:first-child{color:#174b35;font-weight:850}
@media(max-width:370px){.my-drift{right:11px;bottom:calc(12px + env(safe-area-inset-bottom));min-width:108px;padding:9px 11px}.my-drift-menu-item{min-height:64px}.bottle:not(.prize-bottle) .meta strong{font-size:14px}}


/* V4.38.1：漂流瓶内页标准版式（正文、附近来源、好与收藏） */
#drawLayer{align-items:center;padding:14px}
#drawLayer>.sheet{
  width:min(520px,100%);max-height:94dvh;padding:20px;
  border-radius:30px;background:#fffaf0;
  -webkit-overflow-scrolling:touch;
}
#drawLayer .sheet-head{margin-bottom:15px;align-items:center}
#drawLayer .sheet-head h2{font-size:25px;line-height:1.2;letter-spacing:-.02em}
#drawLayer .close{width:46px;height:46px;flex:0 0 46px;font-size:21px;color:#1885ef;background:#efe7d5}
#drawLayer .bottle:not(.prize-bottle){
  min-height:485px;padding:24px 25px 18px;border-radius:25px;
  display:flex;flex-direction:column;
  background:linear-gradient(rgba(255,253,245,.86),rgba(255,250,237,.86)),repeating-linear-gradient(0deg,rgba(90,56,20,.026) 0,rgba(90,56,20,.026) 1px,transparent 1px,transparent 4px),var(--paper);
  border:1px solid rgba(157,110,42,.25);
  box-shadow:0 9px 24px rgba(74,51,16,.08),inset 0 0 22px rgba(255,255,255,.42);
}
#drawLayer .bottle:not(.prize-bottle):before{
  right:-33px;top:24px;padding:7px 42px;font-size:11px;letter-spacing:.12em;
}
#drawLayer .bottle:not(.prize-bottle) .code{
  max-width:72%;font-size:15px;line-height:1.35;letter-spacing:.16em;font-weight:950;
}
#drawLayer .bottle:not(.prize-bottle) .bottle-activity-note{
  align-self:flex-start;display:inline-flex;width:auto;margin:16px 0 0;padding:7px 12px;
  border-radius:999px;background:#fff0cc;color:#9b5d14;font-size:13px;line-height:1.2;font-style:normal;font-weight:950;
}
#drawLayer .bottle:not(.prize-bottle) .bottle-activity-note.hidden{display:none!important}
#drawLayer .bottle:not(.prize-bottle) .message{
  margin:32px 0 26px;color:#29231a;font-size:31px;line-height:1.48;font-weight:950;letter-spacing:-.025em;
  white-space:pre-wrap;overflow-wrap:anywhere;
}
#drawLayer .bottle:not(.prize-bottle).message-short .message{font-size:35px;line-height:1.46;margin-top:38px}
#drawLayer .bottle:not(.prize-bottle).message-medium .message{font-size:31px;line-height:1.49}
#drawLayer .bottle:not(.prize-bottle).message-long .message{font-size:26px;line-height:1.52;margin-top:25px}
#drawLayer .bottle:not(.prize-bottle).message-xlong .message{font-size:22px;line-height:1.52;margin-top:21px}
#drawLayer .bottle:not(.prize-bottle)>.moodtag{display:none}
#drawLayer .bottle:not(.prize-bottle) .meta.bottle-source{
  display:grid;grid-template-columns:31px minmax(0,1fr);align-items:start;gap:9px;
  margin:auto 0 0;padding:0;background:transparent;border:0;box-shadow:none;text-align:left;
}
#drawLayer .bottle-source-pin{display:grid;place-items:center;width:30px;height:30px;margin-top:2px;color:#b17a32}
#drawLayer .bottle-source-pin svg{display:block;width:27px;height:27px;fill:currentColor}
#drawLayer .bottle-source-copy{display:block;min-width:0}
#drawLayer .bottle-source-label{display:block;color:#544d43;font-size:15px;line-height:1.35;font-weight:500}
#drawLayer .bottle:not(.prize-bottle) .meta.bottle-source strong{
  display:block;margin:2px 0 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
  color:#a86316;font-size:20px;line-height:1.35;font-weight:950;overflow-wrap:anywhere;
}
#drawLayer .bottle-card-footer{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
  margin-top:15px;padding-top:14px;border-top:3px dotted rgba(166,116,47,.18);
}
#drawLayer .bottle-arrival{color:#4f493f;font-size:14px;line-height:1.4}
#drawLayer .bottle-quick-actions{display:flex;align-items:flex-end;gap:19px;flex:0 0 auto}
#drawLayer .bottle-quick-action{
  min-width:38px;padding:0;border:0;background:transparent;color:#98999c;
  display:grid;justify-items:center;gap:3px;font-size:12px;line-height:1.1;
}
#drawLayer .bottle-quick-action svg{width:31px;height:31px;fill:currentColor;stroke:currentColor;stroke-width:0}
#drawLayer .bottle-save-action svg{fill:none;stroke-width:1.9;stroke-linejoin:round}
#drawLayer .bottle-like-action.is-active{color:#e05055}
#drawLayer .bottle-save-action.is-active{color:#a8641d}
#drawLayer .bottle-save-action.is-active svg{fill:currentColor;stroke:currentColor}
#drawLayer .bottle-quick-action:disabled{opacity:.35}
#drawLayer .bottle.prize-bottle .bottle-activity-note,
#drawLayer .bottle.prize-bottle .bottle-card-footer{display:none!important}

/* 四个主要操作保持两排两列，适合单手点击 */
#drawLayer #messageActions.message-action-panel{margin-top:14px!important;gap:12px!important}
#drawLayer #messageActions .message-action-row{gap:12px!important}
#drawLayer #messageActions .message-action-row>.btn{
  height:72px!important;min-height:72px!important;border-radius:19px!important;
  font-size:20px!important;font-weight:950!important;box-shadow:none!important;
}

/* 我的漂流：收藏列表 */
.favorite-bottle-card{padding:0;overflow:hidden}
.favorite-bottle-open{display:block;width:100%;padding:14px;border:0;background:transparent;color:inherit;text-align:left}
.favorite-bottle-remove{display:block;width:100%;padding:10px 14px;border:0;border-top:1px solid rgba(23,63,42,.08);background:rgba(255,255,255,.42);color:#887a65;font-size:11px;font-weight:800;text-align:right}

@media(max-width:420px){
  #drawLayer{padding:10px}
  #drawLayer>.sheet{padding:17px;border-radius:27px}
  #drawLayer .sheet-head h2{font-size:22px}
  #drawLayer .close{width:42px;height:42px;flex-basis:42px}
  #drawLayer .bottle:not(.prize-bottle){min-height:450px;padding:21px 20px 16px}
  #drawLayer .bottle:not(.prize-bottle) .code{font-size:13px}
  #drawLayer .bottle:not(.prize-bottle).message-short .message{font-size:31px}
  #drawLayer .bottle:not(.prize-bottle).message-medium .message{font-size:28px}
  #drawLayer .bottle:not(.prize-bottle).message-long .message{font-size:24px}
  #drawLayer .bottle:not(.prize-bottle).message-xlong .message{font-size:20px}
  #drawLayer .bottle-source-label{font-size:14px}
  #drawLayer .bottle:not(.prize-bottle) .meta.bottle-source strong{font-size:18px}
  #drawLayer #messageActions .message-action-row>.btn{height:66px!important;min-height:66px!important;font-size:18px!important}
}
@media(max-width:370px){
  #drawLayer .bottle:not(.prize-bottle){min-height:425px;padding:19px 17px 15px}
  #drawLayer .bottle:not(.prize-bottle).message-short .message{font-size:28px}
  #drawLayer .bottle:not(.prize-bottle).message-medium .message{font-size:25px}
  #drawLayer .bottle:not(.prize-bottle).message-long .message{font-size:22px}
  #drawLayer .bottle:not(.prize-bottle).message-xlong .message{font-size:19px}
  #drawLayer .bottle-quick-actions{gap:13px}
  #drawLayer .bottle-quick-action svg{width:28px;height:28px}
  #drawLayer #messageActions .message-action-row>.btn{height:61px!important;min-height:61px!important;font-size:16px!important}
}
@media(max-height:760px){
  #drawLayer{align-items:flex-end}
  #drawLayer>.sheet{max-height:96dvh;padding-top:15px}
  #drawLayer .sheet-head{margin-bottom:10px}
  #drawLayer .bottle:not(.prize-bottle){min-height:390px}
  #drawLayer .bottle:not(.prize-bottle) .message{margin-top:20px;margin-bottom:18px}
  #drawLayer #messageActions .message-action-row>.btn{height:58px!important;min-height:58px!important}
}

/* =========================================================
   V4.38.2 漂流瓶内页排版纠正
   修复：地址下沉、地址文字居中、短句卡片空白过大
   ========================================================= */
#drawLayer .bottle:not(.prize-bottle){
  min-height:360px;
  height:auto;
  padding:22px 23px 17px;
}

#drawLayer .bottle:not(.prize-bottle) .bottle-activity-note{
  margin-top:14px;
}

#drawLayer .bottle:not(.prize-bottle) .message{
  margin:24px 0 20px;
}

#drawLayer .bottle:not(.prize-bottle).message-short .message{
  margin-top:27px;
  margin-bottom:22px;
  font-size:33px;
  line-height:1.43;
}

#drawLayer .bottle:not(.prize-bottle).message-medium .message{
  margin-top:24px;
  margin-bottom:20px;
  font-size:29px;
  line-height:1.46;
}

#drawLayer .bottle:not(.prize-bottle).message-long .message{
  margin-top:21px;
  margin-bottom:18px;
  font-size:25px;
  line-height:1.48;
}

#drawLayer .bottle:not(.prize-bottle).message-xlong .message{
  margin-top:18px;
  margin-bottom:16px;
  font-size:21px;
  line-height:1.48;
}

/* 地址必须紧跟正文，不再用 auto 把它推到底部 */
#drawLayer .bottle:not(.prize-bottle) .meta.bottle-source{
  margin:0;
  padding:0;
  align-items:center;
  gap:10px;
}

/* 覆盖旧版 meta > span 的居中和小字号规则 */
#drawLayer .bottle:not(.prize-bottle) .meta.bottle-source > .bottle-source-copy{
  display:block;
  min-width:0;
  margin:0 !important;
  padding:0 !important;
  color:inherit !important;
  font-size:inherit !important;
  line-height:inherit !important;
  text-align:left !important;
}

#drawLayer .bottle-source-pin{
  align-self:center;
  margin:0;
}

#drawLayer .bottle-source-label{
  margin:0;
  color:#514a40;
  font-size:14px;
  line-height:1.35;
  font-weight:650;
  text-align:left;
}

#drawLayer .bottle:not(.prize-bottle) .meta.bottle-source strong{
  margin-top:2px;
  color:#a86212;
  font-size:19px;
  line-height:1.32;
  text-align:left;
}

/* 地址与底部操作形成一个紧凑完整区块 */
#drawLayer .bottle-card-footer{
  margin-top:16px;
  padding-top:13px;
}

#drawLayer .bottle-arrival{
  align-self:center;
}

/* 小屏幕继续紧凑，不再把卡片强行撑高 */
@media(max-width:420px){
  #drawLayer .bottle:not(.prize-bottle){
    min-height:345px;
    padding:20px 19px 15px;
  }
  #drawLayer .bottle:not(.prize-bottle).message-short .message{
    font-size:30px;
  }
  #drawLayer .bottle:not(.prize-bottle).message-medium .message{
    font-size:27px;
  }
  #drawLayer .bottle:not(.prize-bottle).message-long .message{
    font-size:23px;
  }
  #drawLayer .bottle:not(.prize-bottle).message-xlong .message{
    font-size:19px;
  }
  #drawLayer .bottle-source-label{
    font-size:13px;
  }
  #drawLayer .bottle:not(.prize-bottle) .meta.bottle-source strong{
    font-size:18px;
  }
}

@media(max-width:370px){
  #drawLayer .bottle:not(.prize-bottle){
    min-height:325px;
  }
}

@media(max-height:760px){
  #drawLayer .bottle:not(.prize-bottle){
    min-height:315px;
  }
  #drawLayer .bottle:not(.prize-bottle) .message{
    margin-top:16px;
    margin-bottom:14px;
  }
  #drawLayer .bottle-card-footer{
    margin-top:12px;
    padding-top:11px;
  }
}

/* =========================================================
   V4.38.3 漂流瓶内页横向加宽
   目标：减少左右空白，让弹窗、漂流瓶卡片和四个按钮同步变宽
   ========================================================= */

/* 外层遮罩只留极窄安全边距 */
#drawLayer{
  padding:6px;
}

/* 弹窗接近手机满宽，但仍保留圆角和呼吸感 */
#drawLayer > .sheet{
  width:min(560px,100%);
  padding:15px 12px 16px;
  border-radius:29px;
}

/* 标题区也同步向两侧展开 */
#drawLayer .sheet-head{
  margin:0 5px 13px;
}

/* 漂流瓶卡片占满弹窗可用宽度 */
#drawLayer .bottle:not(.prize-bottle){
  width:100%;
  box-sizing:border-box;
  padding-left:22px;
  padding-right:22px;
}

/* 四个按钮横向同步放大，减少按钮之间无意义空白 */
#drawLayer #messageActions.message-action-panel{
  margin-top:12px!important;
  gap:10px!important;
}

#drawLayer #messageActions .message-action-row{
  gap:10px!important;
}

#drawLayer #messageActions .message-action-row > .btn{
  border-radius:18px!important;
}

/* 普通手机宽度：总左右空白约为15px左右 */
@media(max-width:420px){
  #drawLayer{
    padding:5px;
  }

  #drawLayer > .sheet{
    width:100%;
    padding:13px 10px 15px;
    border-radius:27px;
  }

  #drawLayer .sheet-head{
    margin-left:5px;
    margin-right:5px;
    margin-bottom:12px;
  }

  #drawLayer .bottle:not(.prize-bottle){
    padding-left:20px;
    padding-right:20px;
  }

  #drawLayer #messageActions.message-action-panel,
  #drawLayer #messageActions .message-action-row{
    gap:9px!important;
  }
}

/* 窄屏手机继续减少两边留白，同时避免内容贴边 */
@media(max-width:370px){
  #drawLayer{
    padding:4px;
  }

  #drawLayer > .sheet{
    padding-left:9px;
    padding-right:9px;
  }

  #drawLayer .bottle:not(.prize-bottle){
    padding-left:17px;
    padding-right:17px;
  }

  #drawLayer #messageActions.message-action-panel,
  #drawLayer #messageActions .message-action-row{
    gap:8px!important;
  }
}

/* =========================================================
   V4.38.4 漂流瓶内页长宽比例纠正
   目标：恢复图一的瘦长比例
   - 左右各约 16px
   - 普通漂流瓶弹窗高度约 700px
   - 新增高度主要分配给正文卡片
   - 奖品弹窗保持原来的紧凑布局
   ========================================================= */

/* 仅普通漂流瓶使用瘦长标准比例 */
#drawLayer.draw-normal-mode{
  align-items:flex-end;
  padding:0 0 calc(24px + env(safe-area-inset-bottom));
}

#drawLayer.draw-normal-mode > .sheet{
  width:min(520px,calc(100% - 32px));
  height:min(700px,calc(100dvh - 42px));
  max-height:calc(100dvh - 42px);
  min-height:0;
  margin:0 auto;
  padding:17px;
  border-radius:29px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

/* 标题不拉高，保持图一的紧凑头部 */
#drawLayer.draw-normal-mode .sheet-head{
  flex:0 0 auto;
  margin:0 4px 14px;
}

/* 主要新增高度全部给漂流瓶卡片 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
  width:100%;
  min-height:0;
  height:auto;
  flex:1 1 auto;
  padding:22px 22px 17px;
}

/* 地址保持在正文下方偏下的位置，让卡片纵向更舒展 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .meta.bottle-source{
  margin-top:auto;
}

/* 底部四个按钮尺寸不继续放大 */
#drawLayer.draw-normal-mode #messageActions.message-action-panel{
  flex:0 0 auto;
  margin-top:12px!important;
  gap:10px!important;
}

#drawLayer.draw-normal-mode #messageActions .message-action-row{
  gap:10px!important;
}

#drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
  height:66px!important;
  min-height:66px!important;
  border-radius:18px!important;
}

/* 普通手机：严格维持左右约 16px，而不是贴近满屏 */
@media(max-width:420px){
  #drawLayer.draw-normal-mode{
    padding-left:0;
    padding-right:0;
    padding-bottom:calc(20px + env(safe-area-inset-bottom));
  }

  #drawLayer.draw-normal-mode > .sheet{
    width:calc(100% - 32px);
    height:min(700px,calc(100dvh - 38px));
    max-height:calc(100dvh - 38px);
    padding:16px;
    border-radius:28px;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
    padding-left:20px;
    padding-right:20px;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:64px!important;
    min-height:64px!important;
  }
}

/* 窄屏只略微收边，不再变成满宽矮胖布局 */
@media(max-width:370px){
  #drawLayer.draw-normal-mode > .sheet{
    width:calc(100% - 24px);
    padding:14px;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
    padding-left:17px;
    padding-right:17px;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:60px!important;
    min-height:60px!important;
  }
}

/* 矮屏手机允许整张页面略微缩短，但仍保持瘦长 */
@media(max-height:760px){
  #drawLayer.draw-normal-mode{
    align-items:flex-end;
    padding-bottom:calc(12px + env(safe-area-inset-bottom));
  }

  #drawLayer.draw-normal-mode > .sheet{
    height:calc(100dvh - 24px);
    max-height:calc(100dvh - 24px);
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:58px!important;
    min-height:58px!important;
  }
}

/* 奖品和彩蛋继续使用原来的自适应高度，不被普通瓶子比例影响 */
#drawLayer.draw-prize-mode{
  padding:14px;
  align-items:center;
}

#drawLayer.draw-prize-mode > .sheet{
  width:min(520px,100%);
  height:auto;
  min-height:0;
  max-height:94dvh;
  margin:auto;
  overflow:auto;
}

/* =========================================================
   V4.38.5 固定版式 · 四边留白均衡
   设计原则：
   1. 连续“再捡一个”时，弹窗、卡片、按钮完全不跳动。
   2. 手机左右各保留约16px，外层与内层四边紧凑均衡。
   3. 短句和长句只调整字号，不改变整个页面尺寸。
   ========================================================= */

/* 普通漂流瓶固定在可视区域中央，四周平均留白 */
#drawLayer.draw-normal-mode{
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
}

/* 固定外层比例：393px宽手机上左右各约16px，高度约692px */
#drawLayer.draw-normal-mode > .sheet{
  box-sizing:border-box;
  width:min(400px,calc(100% - 32px)) !important;
  height:min(692px,calc(100dvh - 32px)) !important;
  min-height:0 !important;
  max-height:none !important;
  margin:auto !important;
  padding:14px !important;
  border-radius:28px !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}

/* 标题区高度固定 */
#drawLayer.draw-normal-mode .sheet-head{
  box-sizing:border-box;
  flex:0 0 48px !important;
  min-height:48px !important;
  margin:0 3px 12px !important;
  padding:0 !important;
  align-items:center !important;
}

#drawLayer.draw-normal-mode .sheet-head h2{
  margin:0 !important;
  font-size:23px !important;
  line-height:1.2 !important;
}

/* 漂流瓶卡片占用固定的剩余空间 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
  box-sizing:border-box;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  flex:1 1 auto !important;
  padding:20px 19px 15px !important;
  display:grid !important;
  grid-template-rows:auto auto minmax(0,1fr) auto auto !important;
  overflow:hidden !important;
}

/* 编号与状态标签保持固定节奏 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .code{
  margin:0 !important;
}

#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .bottle-activity-note{
  width:max-content;
  max-width:100%;
  margin:13px 0 0 !important;
}

/* 正文在固定内容区内垂直居中，短句不再只堆在顶部 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .message{
  box-sizing:border-box;
  width:100%;
  max-height:100%;
  margin:0 !important;
  padding:14px 0 !important;
  align-self:center !important;
  overflow:hidden;
  overflow-wrap:anywhere;
}

/* 字数变化只改变字号，不改变卡片或弹窗大小 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-short .message{
  font-size:31px !important;
  line-height:1.43 !important;
}

#drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-medium .message{
  font-size:27px !important;
  line-height:1.45 !important;
}

#drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-long .message{
  font-size:23px !important;
  line-height:1.47 !important;
}

#drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-xlong .message{
  font-size:19px !important;
  line-height:1.48 !important;
}

/* 地址固定在卡片下部，不随正文上下跳动 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .meta.bottle-source{
  width:100%;
  margin:0 0 11px !important;
  padding:0 !important;
  align-self:end !important;
}

/* 底部“漂到你这儿、好、藏”固定 */
#drawLayer.draw-normal-mode .bottle-card-footer{
  width:100%;
  margin:0 !important;
  padding-top:12px !important;
  align-self:end !important;
}

/* 四个按钮区域固定为两行，不因正文变化而移动或缩放 */
#drawLayer.draw-normal-mode #messageActions.message-action-panel{
  box-sizing:border-box;
  flex:0 0 138px !important;
  height:138px !important;
  min-height:138px !important;
  margin-top:12px !important;
  gap:10px !important;
}

#drawLayer.draw-normal-mode #messageActions .message-action-row{
  flex:1 1 0 !important;
  min-height:0 !important;
  gap:10px !important;
}

#drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
  height:64px !important;
  min-height:64px !important;
  border-radius:18px !important;
  font-size:18px !important;
}

/* 较窄手机：仍保持固定结构，只等比例收紧内部间距 */
@media(max-width:370px){
  #drawLayer.draw-normal-mode > .sheet{
    width:calc(100% - 24px) !important;
    height:min(660px,calc(100dvh - 24px)) !important;
    padding:12px !important;
  }

  #drawLayer.draw-normal-mode .sheet-head{
    flex-basis:45px !important;
    min-height:45px !important;
    margin-bottom:10px !important;
  }

  #drawLayer.draw-normal-mode .sheet-head h2{
    font-size:21px !important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
    padding:17px 16px 13px !important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-short .message{
    font-size:28px !important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-medium .message{
    font-size:25px !important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-long .message{
    font-size:21px !important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-xlong .message{
    font-size:18px !important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    flex-basis:126px !important;
    height:126px !important;
    min-height:126px !important;
    gap:8px !important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row{
    gap:8px !important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:59px !important;
    min-height:59px !important;
    font-size:16px !important;
  }
}

/* 矮屏只整体等比例缩短，单次打开后尺寸仍固定，不随内容变化 */
@media(max-height:720px){
  #drawLayer.draw-normal-mode > .sheet{
    height:calc(100dvh - 20px) !important;
    padding-top:11px !important;
    padding-bottom:11px !important;
  }

  #drawLayer.draw-normal-mode .sheet-head{
    flex-basis:42px !important;
    min-height:42px !important;
    margin-bottom:9px !important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    flex-basis:116px !important;
    height:116px !important;
    min-height:116px !important;
    margin-top:9px !important;
    gap:8px !important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row{
    gap:8px !important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:54px !important;
    min-height:54px !important;
  }
}

/* 彩蛋/大奖继续沿用独立自适应布局，不受固定普通瓶子模板影响 */
#drawLayer.draw-prize-mode{
  align-items:center !important;
  justify-content:center !important;
  padding:14px !important;
}

#drawLayer.draw-prize-mode > .sheet{
  width:min(520px,100%) !important;
  height:auto !important;
  min-height:0 !important;
  max-height:94dvh !important;
  margin:auto !important;
  overflow:auto !important;
}

/* =========================================================
   V4.38.6 再捞瓶子不跳动
   当前漂流瓶保持原位，新数据回来后一次性替换。
   ========================================================= */

#drawLayer.draw-refreshing .bottle:not(.prize-bottle){
  cursor:progress;
}

#drawLayer.draw-refreshing .bottle:not(.prize-bottle)::after{
  content:"正在捞下一只…";
  position:absolute;
  left:50%;
  top:50%;
  z-index:12;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:132px;
  height:42px;
  padding:0 17px;
  border:1px solid rgba(168,100,29,.18);
  border-radius:999px;
  background:rgba(255,250,240,.94);
  color:#8d5717;
  font-size:14px;
  line-height:1;
  font-weight:800;
  letter-spacing:.03em;
  white-space:nowrap;
  box-shadow:0 10px 28px rgba(78,52,20,.15);
  pointer-events:none;
  animation:lanjiDrawWaiting 1.1s ease-in-out infinite;
}

#drawLayer.draw-refreshing .bottle:not(.prize-bottle) > *{
  opacity:.68;
}

#drawLayer.draw-refreshing .bottle:not(.prize-bottle)::before{
  opacity:.68;
}

@keyframes lanjiDrawWaiting{
  0%,100%{opacity:.78}
  50%{opacity:1}
}

@media(prefers-reduced-motion:reduce){
  #drawLayer.draw-refreshing .bottle:not(.prize-bottle)::after{
    animation:none;
  }
}

/* =========================================================
   V4.38.8 漂流瓶页品牌轻头置顶
   - 浏览器下方先显示兰记品牌
   - 不复制整排导航，避免抢走漂流瓶注意力
   - 普通漂流瓶仍使用固定版式，连续换瓶不跳动
   ========================================================= */

#drawLayer .draw-brand-bar{
  display:none;
}

/* 普通漂流瓶：品牌轻头 + 固定漂流瓶模板 */
#drawLayer.draw-normal-mode{
  --draw-brand-height:72px;
  --draw-brand-gap:8px;
  box-sizing:border-box;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:8px 0 10px!important;
  overflow:hidden;
}

#drawLayer.draw-normal-mode .draw-brand-bar{
  box-sizing:border-box;
  display:flex;
  flex:0 0 var(--draw-brand-height);
  width:100%;
  height:var(--draw-brand-height);
  min-height:var(--draw-brand-height);
  margin:0 0 var(--draw-brand-gap);
  padding:9px 16px;
  align-items:center;
  gap:10px;
  background:#fffaf0;
  border-bottom:1px solid rgba(167,137,84,.16);
  box-shadow:0 5px 18px rgba(26,53,42,.10);
  color:#124b39;
}

#drawLayer .draw-brand-mark{
  display:flex;
  flex:0 0 46px;
  width:46px;
  height:46px;
  align-items:center;
  justify-content:center;
  border-radius:15px;
  background:#124b39;
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:900;
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.08);
}

#drawLayer .draw-brand-copy{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
}

#drawLayer .draw-brand-copy strong{
  overflow:hidden;
  color:#124b39;
  font-size:18px;
  line-height:1.08;
  font-weight:900;
  white-space:nowrap;
  text-overflow:ellipsis;
}

#drawLayer .draw-brand-copy span{
  overflow:hidden;
  color:#817463;
  font-size:11px;
  line-height:1.2;
  font-weight:600;
  white-space:nowrap;
  text-overflow:ellipsis;
}

#drawLayer .draw-brand-contact{
  flex:0 0 auto;
  min-width:80px;
  height:40px;
  padding:0 13px;
  border:0;
  border-radius:14px;
  background:#e8f1eb;
  color:#124b39;
  font-size:14px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  box-shadow:none;
}

/*
 * 品牌条占据顶部72px。
 * 漂流瓶弹窗继续使用固定模板，最大仍为692px；
 * 屏幕较矮时只按可用视口统一缩短，不随文字长短变化。
 */
#drawLayer.draw-normal-mode > .sheet{
  flex:0 0 auto!important;
  width:min(400px,calc(100% - 32px))!important;
  height:min(692px,calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 18px))!important;
  max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 18px)!important;
  margin:0 auto!important;
}

/* 大奖彩蛋本身已有兰记品牌信息，不重复显示顶部轻头 */
#drawLayer.draw-prize-mode .draw-brand-bar{
  display:none!important;
}

#drawLayer.draw-prize-mode{
  padding:14px!important;
  justify-content:center!important;
}

/* 常见手机宽度 */
@media(max-width:420px){
  #drawLayer.draw-normal-mode{
    --draw-brand-height:68px;
    --draw-brand-gap:7px;
    padding-top:7px!important;
    padding-bottom:8px!important;
  }

  #drawLayer.draw-normal-mode .draw-brand-bar{
    padding:8px 14px;
    gap:9px;
  }

  #drawLayer .draw-brand-mark{
    flex-basis:44px;
    width:44px;
    height:44px;
    border-radius:14px;
    font-size:27px;
  }

  #drawLayer .draw-brand-copy strong{
    font-size:17px;
  }

  #drawLayer .draw-brand-copy span{
    font-size:10.5px;
  }

  #drawLayer .draw-brand-contact{
    min-width:76px;
    height:38px;
    padding:0 11px;
    border-radius:13px;
    font-size:13px;
  }

  #drawLayer.draw-normal-mode > .sheet{
    width:calc(100% - 32px)!important;
    height:min(692px,calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 15px))!important;
    max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 15px)!important;
  }
}

/* 窄屏：缩小品牌信息，不压缩漂流瓶四边结构 */
@media(max-width:370px){
  #drawLayer.draw-normal-mode{
    --draw-brand-height:64px;
  }

  #drawLayer.draw-normal-mode .draw-brand-bar{
    padding-left:11px;
    padding-right:11px;
    gap:8px;
  }

  #drawLayer .draw-brand-mark{
    flex-basis:40px;
    width:40px;
    height:40px;
    font-size:24px;
  }

  #drawLayer .draw-brand-copy strong{
    font-size:16px;
  }

  #drawLayer .draw-brand-copy span{
    font-size:9.5px;
  }

  #drawLayer .draw-brand-contact{
    min-width:70px;
    height:36px;
    padding:0 9px;
    font-size:12px;
  }

  #drawLayer.draw-normal-mode > .sheet{
    width:calc(100% - 24px)!important;
  }
}

/* 矮屏时品牌条仍固定，漂流瓶模板统一缩短，不随内容闪动 */
@media(max-height:760px){
  #drawLayer.draw-normal-mode{
    --draw-brand-height:62px;
    --draw-brand-gap:6px;
    padding-top:5px!important;
    padding-bottom:5px!important;
  }

  #drawLayer.draw-normal-mode .draw-brand-bar{
    padding-top:6px;
    padding-bottom:6px;
  }

  #drawLayer .draw-brand-mark{
    flex-basis:40px;
    width:40px;
    height:40px;
    font-size:24px;
  }

  #drawLayer .draw-brand-contact{
    height:35px;
  }

  #drawLayer.draw-normal-mode > .sheet{
    height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 10px)!important;
    max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 10px)!important;
  }
}

/* =========================================================
   V4.38.9 品牌轻头上下排列纠正
   修复 V4.38.8 中品牌条与漂流瓶被横向并排的问题
   ========================================================= */

/* 必须使用纵向布局：品牌条在上，漂流瓶弹窗在下 */
#drawLayer.draw-normal-mode{
  flex-direction:column!important;
}

/* 品牌条固定占满屏幕宽度，不参与横向挤压 */
#drawLayer.draw-normal-mode .draw-brand-bar{
  width:100%!important;
  max-width:none!important;
  flex-shrink:0!important;
}

/* 漂流瓶弹窗保持原有宽度，居中显示 */
#drawLayer.draw-normal-mode > .sheet{
  flex-shrink:0!important;
  align-self:center!important;
}

/* 彩蛋模式同样恢复纵向环境，但不显示品牌轻头 */
#drawLayer.draw-prize-mode{
  flex-direction:column!important;
}

/* 防止旧浏览器错误继承横向布局 */
#drawLayer{
  flex-wrap:nowrap!important;
}

/* =========================================================
   V4.38.10 品牌头贴顶 + 四按钮上移
   1. 品牌轻头紧贴微信浏览器下沿，不留暗色缝隙。
   2. 四个主要操作按钮整体上移，方便单手拇指点击。
   3. 保持固定模板，连续换瓶不发生尺寸跳动。
   ========================================================= */

/* 品牌头与浏览器下沿贴平 */
#drawLayer.draw-normal-mode{
  padding-top:0!important;
  padding-left:0!important;
  padding-right:0!important;
  padding-bottom:8px!important;
}

#drawLayer.draw-normal-mode .draw-brand-bar{
  margin-top:0!important;
  border-top:0!important;
  border-radius:0!important;
  box-shadow:0 5px 15px rgba(26,53,42,.09)!important;
}

/* 品牌头与漂流瓶之间只保留轻微分隔 */
#drawLayer.draw-normal-mode{
  --draw-brand-gap:6px!important;
}

/*
 * 保持外层固定高度，通过增加底部留白，
 * 将整个四按钮区域往上托，而不是改变按钮位置或页面尺寸。
 */
#drawLayer.draw-normal-mode > .sheet{
  padding-bottom:30px!important;
}

/* 漂流瓶与按钮之间略微收紧 */
#drawLayer.draw-normal-mode #messageActions.message-action-panel{
  margin-top:8px!important;
}

/* 四个按钮区域整体上移约16px，尺寸保持不变 */
#drawLayer.draw-normal-mode #messageActions.message-action-panel{
  transform:translateY(-16px);
}

/* 给按钮下方保留稳定空间，避免贴近屏幕底部 */
#drawLayer.draw-normal-mode > .sheet::after{
  content:"";
  display:block;
  flex:0 0 0;
}

/* 常见手机 */
@media(max-width:420px){
  #drawLayer.draw-normal-mode{
    padding-top:0!important;
    padding-bottom:6px!important;
  }

  #drawLayer.draw-normal-mode > .sheet{
    padding-bottom:28px!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    transform:translateY(-15px);
  }
}

/* 小屏幕略少上移，避免按钮挤压正文 */
@media(max-width:370px){
  #drawLayer.draw-normal-mode > .sheet{
    padding-bottom:24px!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    transform:translateY(-12px);
  }
}

/* 矮屏手机也保持品牌条贴顶，按钮适度上移 */
@media(max-height:760px){
  #drawLayer.draw-normal-mode{
    padding-top:0!important;
  }

  #drawLayer.draw-normal-mode > .sheet{
    padding-bottom:22px!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    transform:translateY(-10px);
  }
}

/* 彩蛋页不使用普通瓶子的按钮位移 */
#drawLayer.draw-prize-mode > .sheet{
  padding-bottom:initial!important;
}

#drawLayer.draw-prize-mode #messageActions.message-action-panel{
  transform:none!important;
}

/* =========================================================
   V4.38.11 正文回缩 + 四按钮恢复正常顺排
   修复：
   1. 按钮 transform 上移造成卡片重叠和底部空白。
   2. 短正文上下空白过大，页面缺少整体感。
   ========================================================= */

/* 品牌头继续贴紧浏览器下沿 */
#drawLayer.draw-normal-mode{
  padding-top:0!important;
  --draw-brand-gap:6px!important;
}

/*
 * 取消 V4.38.10 的视觉位移。
 * 按钮重新回到正常文档流，不压住漂流瓶卡片。
 */
#drawLayer.draw-normal-mode #messageActions.message-action-panel{
  transform:none!important;
  margin-top:9px!important;
}

/* 恢复弹窗底部正常留白，删除因 transform 产生的假空位 */
#drawLayer.draw-normal-mode > .sheet{
  padding-bottom:14px!important;
  height:min(650px,calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 14px))!important;
  max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 14px)!important;
}

/* 标题区略微收紧，让正文和按钮成为一个完整整体 */
#drawLayer.draw-normal-mode .sheet-head{
  flex-basis:44px!important;
  min-height:44px!important;
  margin-bottom:9px!important;
}

/*
 * 漂流瓶卡片整体回缩：
 * 继续保持固定模板，但不再把短句硬撑成超高卡片。
 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
  padding-top:17px!important;
  padding-bottom:13px!important;
}

/* 编号与“刚刚漂来的瓶子”之间更紧凑 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .bottle-activity-note{
  margin-top:9px!important;
}

/*
 * 正文区上下留白明显减少。
 * 字少时仍位于固定正文区域中，但不再显得悬空。
 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .message{
  padding-top:6px!important;
  padding-bottom:6px!important;
}

/* 地址区与正文、底部操作重新靠拢 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .meta.bottle-source{
  margin-bottom:7px!important;
}

#drawLayer.draw-normal-mode .bottle-card-footer{
  padding-top:9px!important;
}

/* 四个按钮保持固定两行两列，正常顺排 */
#drawLayer.draw-normal-mode #messageActions.message-action-panel{
  flex-basis:130px!important;
  height:130px!important;
  min-height:130px!important;
  gap:8px!important;
}

#drawLayer.draw-normal-mode #messageActions .message-action-row{
  gap:9px!important;
}

#drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
  height:61px!important;
  min-height:61px!important;
}

/* 常见手机宽度 */
@media(max-width:420px){
  #drawLayer.draw-normal-mode > .sheet{
    height:min(646px,calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 12px))!important;
    max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 12px)!important;
    padding-bottom:13px!important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
    padding-top:16px!important;
    padding-bottom:12px!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    flex-basis:126px!important;
    height:126px!important;
    min-height:126px!important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:59px!important;
    min-height:59px!important;
  }
}

/* 窄屏继续固定，只做等比例收紧 */
@media(max-width:370px){
  #drawLayer.draw-normal-mode > .sheet{
    height:min(620px,calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 10px))!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    flex-basis:118px!important;
    height:118px!important;
    min-height:118px!important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:55px!important;
    min-height:55px!important;
  }
}

/* 矮屏时保持顺排，不再使用任何 translate 位移 */
@media(max-height:760px){
  #drawLayer.draw-normal-mode > .sheet{
    height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 8px)!important;
    max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 8px)!important;
    padding-bottom:10px!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    transform:none!important;
    flex-basis:112px!important;
    height:112px!important;
    min-height:112px!important;
    margin-top:7px!important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:52px!important;
    min-height:52px!important;
  }
}

/* 彩蛋页不受普通瓶子紧凑规则影响 */
#drawLayer.draw-prize-mode > .sheet{
  height:auto!important;
  max-height:94dvh!important;
}

/* =========================================================
   V4.38.12 卡片回缩 + 四按钮自然上提
   目标：
   1. 缩小正文上方和下方的大块空白。
   2. 缩短漂流瓶卡片高度。
   3. 四个按钮随正常文档流自然上提，不使用 transform。
   4. 保持固定模板，连续换瓶不发生跳动。
   ========================================================= */

/* 外层弹窗整体缩短，按钮自然进入更顺手的拇指区域 */
#drawLayer.draw-normal-mode > .sheet{
  height:min(606px,calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 12px))!important;
  max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 12px)!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
}

/* 标题区稍微压缩，但保持清晰 */
#drawLayer.draw-normal-mode .sheet-head{
  flex-basis:41px!important;
  min-height:41px!important;
  margin-bottom:7px!important;
}

#drawLayer.draw-normal-mode .sheet-head h2{
  font-size:22px!important;
}

/*
 * 漂流瓶卡片高度随外层整体回缩。
 * 内部仍是固定网格，字数变化只调字号，不改变布局。
 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
  padding:14px 19px 10px!important;
  grid-template-rows:auto auto minmax(112px,1fr) auto auto!important;
}

/* 编号、状态标签靠拢 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .bottle-activity-note{
  margin-top:7px!important;
}

/*
 * 正文区去掉多余内边距。
 * 仍在固定正文区内居中，但上下不会再出现大面积空白。
 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .message{
  padding:0!important;
  margin:0!important;
  align-self:center!important;
}

/* 短句略放大，利用缩短后的正文区形成更完整的视觉块 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-short .message{
  font-size:30px!important;
  line-height:1.40!important;
}

#drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-medium .message{
  font-size:26px!important;
  line-height:1.42!important;
}

#drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-long .message{
  font-size:22px!important;
  line-height:1.44!important;
}

#drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-xlong .message{
  font-size:18px!important;
  line-height:1.46!important;
}

/* 地址和底部操作继续向正文靠拢 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .meta.bottle-source{
  margin-bottom:5px!important;
}

#drawLayer.draw-normal-mode .bottle-card-footer{
  padding-top:7px!important;
}

/* 四按钮正常顺排，自然上提；不重叠、不制造底部假空白 */
#drawLayer.draw-normal-mode #messageActions.message-action-panel{
  transform:none!important;
  flex-basis:116px!important;
  height:116px!important;
  min-height:116px!important;
  margin-top:7px!important;
  gap:7px!important;
}

#drawLayer.draw-normal-mode #messageActions .message-action-row{
  gap:8px!important;
}

#drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
  height:54px!important;
  min-height:54px!important;
  font-size:17px!important;
}

/* 常见手机 */
@media(max-width:420px){
  #drawLayer.draw-normal-mode > .sheet{
    height:min(602px,calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 10px))!important;
    max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 10px)!important;
    padding-top:11px!important;
    padding-bottom:11px!important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
    padding:13px 18px 9px!important;
    grid-template-rows:auto auto minmax(108px,1fr) auto auto!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    flex-basis:112px!important;
    height:112px!important;
    min-height:112px!important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:52px!important;
    min-height:52px!important;
  }
}

/* 窄屏保持同一固定逻辑 */
@media(max-width:370px){
  #drawLayer.draw-normal-mode > .sheet{
    height:min(580px,calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 8px))!important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
    padding-left:15px!important;
    padding-right:15px!important;
    grid-template-rows:auto auto minmax(98px,1fr) auto auto!important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-short .message{
    font-size:27px!important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-medium .message{
    font-size:24px!important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-long .message{
    font-size:20px!important;
  }

  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle).message-xlong .message{
    font-size:17px!important;
  }
}

/* 矮屏：仍固定尺寸，只统一缩短，不随正文变化 */
@media(max-height:760px){
  #drawLayer.draw-normal-mode > .sheet{
    height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 6px)!important;
    max-height:calc(100dvh - var(--draw-brand-height) - var(--draw-brand-gap) - 6px)!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    flex-basis:106px!important;
    height:106px!important;
    min-height:106px!important;
    margin-top:6px!important;
  }

  #drawLayer.draw-normal-mode #messageActions .message-action-row > .btn{
    height:49px!important;
    min-height:49px!important;
  }
}

/* 彩蛋页不受普通漂流瓶回缩规则影响 */
#drawLayer.draw-prize-mode > .sheet{
  height:auto!important;
  max-height:94dvh!important;
}



/* V4.38.21：匿名接龙页“再捡一只”按钮改为绿色，提升识别度 */
.thread-actions .thread-action{
  background:#123f32 !important;
  color:#ffffff !important;
  border:1px solid rgba(18,63,50,.12);
}
.thread-actions .thread-action.share{
  background:#dca345 !important;
  color:#ffffff !important;
  border-color:rgba(157,110,42,.18);
}



/* =========================================================
   V4.38.22 地址栏弱化
   让来源区域退回辅助信息，视觉焦点回到漂流瓶正文。
   ========================================================= */

/* “这只漂流瓶来自”改小、改细 */
#drawLayer.draw-normal-mode .bottle-source-label,
#drawLayer .bottle-source-label{
  font-size:13px!important;
  line-height:1.30!important;
  font-weight:400!important;
  letter-spacing:0!important;
  color:#6f675d!important;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif!important;
}

/* “旗山湖附近”等地址改小、不再重粗 */
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .meta.bottle-source strong,
#drawLayer .bottle:not(.prize-bottle) .meta.bottle-source strong{
  margin-top:2px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:16px!important;
  line-height:1.30!important;
  font-weight:500!important;
  letter-spacing:0!important;
  color:#a66a1a!important;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif!important;
}

/* 定位图标也略微缩小，避免地址区块过重 */
#drawLayer.draw-normal-mode .bottle-source-pin,
#drawLayer .bottle-source-pin{
  width:26px!important;
  height:26px!important;
}

#drawLayer.draw-normal-mode .bottle-source-pin svg,
#drawLayer .bottle-source-pin svg{
  width:23px!important;
  height:23px!important;
}

#drawLayer.draw-normal-mode .bottle:not(.prize-bottle) .meta.bottle-source,
#drawLayer .bottle:not(.prize-bottle) .meta.bottle-source{
  grid-template-columns:27px minmax(0,1fr)!important;
  gap:8px!important;
}

@media(max-width:370px){
  #drawLayer .bottle-source-label{
    font-size:12px!important;
  }
  #drawLayer .bottle:not(.prize-bottle) .meta.bottle-source strong{
    font-size:15px!important;
    font-weight:500!important;
  }
}


/* =========================================================
   V4.39.0 一句成贴：顾客端轻订单体验
   ========================================================= */
#drawLayer.draw-normal-mode .bottle-card-footer{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
}
#drawLayer .sticker-entry-btn{
  min-width:0;height:46px;padding:5px 10px 5px 7px;border:1px solid rgba(168,100,29,.24);border-radius:15px;
  background:linear-gradient(145deg,#fff3cb,#efd18c);color:#174b35;display:flex;align-items:center;gap:8px;text-align:left;
  box-shadow:0 5px 14px rgba(94,63,18,.10);
}
#drawLayer .sticker-entry-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:11px;background:#174b35;color:#fff;font-size:12px;font-weight:950;letter-spacing:.08em}
#drawLayer .sticker-entry-copy{min-width:0;display:block}
#drawLayer .sticker-entry-copy strong,#drawLayer .sticker-entry-copy small{display:block;white-space:nowrap}
#drawLayer .sticker-entry-copy strong{font-size:14px;line-height:1.15;font-weight:950}
#drawLayer .sticker-entry-copy small{margin-top:2px;color:#7a5b24;font-size:9px;line-height:1.1;font-weight:700}
#drawLayer .bottle-quick-actions{flex:0 0 auto}

.sticker-order-overlay{align-items:flex-end!important;padding:0!important;background:rgba(20,24,21,.55)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.sticker-order-sheet{box-sizing:border-box;width:min(100%,520px)!important;max-height:92dvh!important;margin:0 auto!important;padding:15px 16px calc(16px + env(safe-area-inset-bottom))!important;border-radius:27px 27px 0 0!important;background:#fffaf0!important;overflow:auto!important;box-shadow:0 -18px 55px rgba(31,38,30,.24)!important}
.sticker-order-head{position:sticky;top:-15px;z-index:2;margin:-15px -16px 11px!important;padding:14px 16px 10px!important;background:rgba(255,250,240,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(23,63,42,.08)}
.sticker-order-head>div{min-width:0}.sticker-order-head small{display:block;color:#b27627;font-size:9px;font-weight:950;letter-spacing:.15em;margin-bottom:3px}.sticker-order-head h2{margin:0!important;color:#174b35;font-size:21px!important;line-height:1.2!important}
.sticker-order-lead{margin:0 2px 11px;color:#756955;font-size:12px;line-height:1.65}
.sticker-editor-card{padding:13px;border:1px solid rgba(23,63,42,.12);border-radius:19px;background:#fffdf8;box-shadow:0 8px 24px rgba(60,47,26,.05)}
.sticker-editor-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.sticker-editor-label label{margin:0!important;color:#174b35;font-size:13px;font-weight:950}.sticker-editor-label button{border:0;background:transparent;color:#b27627;font-size:11px;font-weight:850;padding:4px 0}
#stickerTextInput{box-sizing:border-box;width:100%;min-height:86px!important;max-height:116px;resize:none;border:1px solid #d9c8a6;border-radius:15px;padding:12px 13px;background:#fffaf0;color:#2f2921;font-size:16px;line-height:1.65;outline:none}
#stickerTextInput:focus{border-color:#174b35;box-shadow:0 0 0 3px rgba(23,75,53,.08)}
.sticker-editor-foot{display:flex;justify-content:space-between;gap:10px;margin:7px 2px 0;color:#897b66;font-size:9px;line-height:1.4}.sticker-editor-foot strong{color:#174b35;font-size:11px}.sticker-editor-foot em{font-style:normal}
.sticker-preview-block{margin-top:12px}.sticker-preview-heading{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:0 3px 7px}.sticker-preview-heading span{color:#174b35;font-size:13px;font-weight:950}.sticker-preview-heading small{color:#8b7d68;font-size:9px}
.sticker-label-preview{box-sizing:border-box;width:min(100%,360px);aspect-ratio:3/2;margin:auto;padding:13px 15px 11px;border:1px solid #2b2b27;border-radius:8px;background:#fff;color:#171714;display:grid;grid-template-rows:auto minmax(0,1fr) auto;box-shadow:0 9px 24px rgba(50,45,34,.10)}
.sticker-label-top,.sticker-label-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.sticker-label-top{padding-bottom:7px;border-bottom:1px solid #2b2b27}.sticker-label-top b{font-size:13px;letter-spacing:.04em}.sticker-label-top span{padding:3px 6px;border:1px solid #222;border-radius:99px;font-size:8px;font-weight:900}.sticker-label-preview blockquote{min-width:0;margin:0;padding:9px 2px;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:950;line-height:1.35;overflow-wrap:anywhere}.sticker-label-bottom{padding-top:6px;border-top:1px solid #2b2b27;font-size:8px}.sticker-label-bottom strong{font-size:9px;letter-spacing:.07em}.sticker-text-short blockquote{font-size:25px}.sticker-text-medium blockquote{font-size:21px}.sticker-text-long blockquote{font-size:17px}.sticker-text-xlong blockquote{font-size:14px;line-height:1.4}
.sticker-fulfillment{margin:13px 0 0;padding:0;border:0}.sticker-fulfillment legend{margin:0 3px 8px;color:#174b35;font-size:13px;font-weight:950}.sticker-methods{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sticker-method{min-height:64px;padding:10px 11px;border:1px solid rgba(23,63,42,.11);border-radius:16px;background:#f4ead6;color:#4d4437;text-align:left}.sticker-method strong,.sticker-method span{display:block}.sticker-method strong{font-size:14px}.sticker-method span{margin-top:4px;color:#82735d;font-size:9px}.sticker-method.active{border-color:#174b35;background:#e4efe4;color:#174b35;box-shadow:0 0 0 2px rgba(23,75,53,.07)}.sticker-method.active span{color:#4f6d5d}
.sticker-delivery-field{margin-top:9px;padding:11px;border-radius:15px;background:#fff3cf}.sticker-delivery-field label{margin:0 0 6px!important;color:#174b35;font-size:12px}.sticker-delivery-field input{box-sizing:border-box;width:100%;height:45px;border:1px solid #d5bc82;border-radius:12px;padding:0 11px;background:#fffaf0;font-size:13px;outline:none}.sticker-delivery-field small{display:block;margin-top:6px;color:#876c3c;font-size:9px;line-height:1.5}
.sticker-order-note{margin:11px 3px 9px;color:#8a7657;font-size:10px;line-height:1.55;text-align:center}.sticker-create-btn,.sticker-contact-btn{min-height:54px!important;font-size:16px!important}.sticker-link-btn{min-height:48px!important;margin-top:8px!important}.sticker-edit-again{display:block;margin:10px auto 0!important;color:#7a6b57!important}.sticker-success-mark{display:grid;place-items:center;width:56px;height:56px;margin:7px auto 9px;border-radius:50%;background:#174b35;color:#fff;font-size:28px;font-weight:950;box-shadow:0 10px 24px rgba(23,75,53,.22)}.sticker-order-step>h3{text-align:center;margin:0;color:#174b35;font-size:22px}.sticker-order-step>h3+p{text-align:center;margin:7px 14px 12px;color:#756955;font-size:11px;line-height:1.65}
.sticker-success-card{padding:15px 16px;border:1px solid rgba(23,63,42,.14);border-radius:20px;background:linear-gradient(145deg,#f8e7bd,#fff9e9);box-shadow:0 10px 28px rgba(67,51,24,.08)}.sticker-success-code,.sticker-success-meta{display:flex;justify-content:space-between;align-items:center;gap:12px}.sticker-success-code span{color:#7d6b4f;font-size:10px}.sticker-success-code strong{color:#174b35;font-size:22px;letter-spacing:.08em}.sticker-success-card blockquote{margin:15px 0;padding:13px 7px;border-top:1px dashed rgba(76,58,30,.28);border-bottom:1px dashed rgba(76,58,30,.28);color:#2e2921;font-size:19px;font-weight:950;line-height:1.55;text-align:center;overflow-wrap:anywhere}.sticker-success-meta span{color:#6e604c;font-size:11px}.sticker-success-meta b{padding:5px 8px;border-radius:99px;background:#fff0bd;color:#9a5f10;font-size:9px}.sticker-success-tip{text-align:center;margin:9px 8px 2px;color:#8a7b66;font-size:9px;line-height:1.55}
.sticker-contact-order{margin:10px 0 0;padding:11px;border-radius:15px;background:#fff1c8;text-align:center}.sticker-contact-order span,.sticker-contact-order strong{display:block}.sticker-contact-order span{color:#866a38;font-size:9px}.sticker-contact-order strong{margin:5px 0 8px;color:#174b35;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.sticker-contact-order button{border:0;border-radius:11px;padding:9px 12px;background:#174b35;color:#fff;font-size:11px;font-weight:900}
@media(max-width:370px){#drawLayer .sticker-entry-copy small{display:none}#drawLayer .sticker-entry-btn{padding-right:8px}.sticker-order-sheet{padding-left:12px!important;padding-right:12px!important}.sticker-order-head{margin-left:-12px!important;margin-right:-12px!important;padding-left:12px!important;padding-right:12px!important}.sticker-label-preview{width:100%}.sticker-text-short blockquote{font-size:22px}.sticker-text-medium blockquote{font-size:19px}.sticker-text-long blockquote{font-size:16px}}

/* =========================================================
   V4.39.2 自己写的话同步做成杯贴
   ========================================================= */
.leave-sticker-option{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  min-height:58px;
  margin:10px 0 11px;
  padding:10px 13px;
  border:1px solid rgba(23,75,53,.16);
  border-radius:16px;
  background:#edf4e9;
  color:#174b35;
  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}
.leave-sticker-check{
  appearance:none;
  -webkit-appearance:none;
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  flex:0 0 25px;
  margin:0;
  border:2px solid #7f9889;
  border-radius:8px;
  background:#fffaf0;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.leave-sticker-check:checked{background:#174b35;border-color:#174b35}
.leave-sticker-check:checked:after{content:"✓";color:#fff;font-size:17px;font-weight:950;line-height:1}
.leave-sticker-check:focus-visible{outline:3px solid rgba(23,75,53,.16);outline-offset:2px}
.leave-sticker-option:has(.leave-sticker-check:checked){border-color:#174b35;background:#e2efe1;box-shadow:0 0 0 2px rgba(23,75,53,.07)}
.leave-sticker-option-copy{min-width:0;display:block;text-align:left}
.leave-sticker-option-copy strong,.leave-sticker-option-copy small{display:block}
.leave-sticker-option-copy strong{font-size:14px;line-height:1.25;font-weight:950}
.leave-sticker-option-copy small{margin-top:4px;color:#667a6e;font-size:10px;line-height:1.35;font-weight:600}
.success-sticker-btn{margin-top:9px!important;min-height:48px!important;color:#174b35!important}
@media(max-height:760px){
  .leave-sticker-option{min-height:52px;margin-top:8px;margin-bottom:9px;padding:8px 11px}
  .leave-sticker-option-copy strong{font-size:13px}
  .leave-sticker-option-copy small{font-size:9px}
}

/* =========================================================
   V4.39.3 标准版界面恢复 + 杯贴功能保留
   ========================================================= */

/* 首页：彻底隐藏旧版重复信息 */
.brand-home-topbar{
  display:none!important;
}

/* 首页主体往上收，恢复之前确认过的紧凑首屏 */
.brand-home-inner{
  padding-top:7px!important;
}

.brand-home-main{
  padding-top:0!important;
  margin-top:-6px!important;
}

.brand-bottle-stage{
  height:225px!important;
}

.brand-main-cta{
  margin-top:-8px!important;
}

.brand-intro-card{
  margin-top:7px!important;
}

@media(max-height:760px){
  .brand-home-inner{
    padding-top:4px!important;
  }

  .brand-home-main{
    margin-top:-8px!important;
  }

  .brand-bottle-stage{
    height:190px!important;
  }

  .brand-main-cta{
    margin-top:-10px!important;
  }
}

/* 漂流瓶顶部品牌条恢复60px */
#drawLayer.draw-normal-mode{
  --draw-brand-height:60px!important;
  --draw-brand-gap:5px!important;
  padding-top:0!important;
}

#drawLayer.draw-normal-mode .draw-brand-bar{
  box-sizing:border-box!important;
  flex:0 0 60px!important;
  width:100%!important;
  height:60px!important;
  min-height:60px!important;
  padding:7px 14px!important;
  gap:9px!important;
}

#drawLayer .draw-brand-mark{
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  border-radius:13px!important;
  font-size:24px!important;
}

#drawLayer .draw-brand-copy strong{
  font-size:16px!important;
  line-height:1.05!important;
}

#drawLayer .draw-brand-copy span{
  font-size:10px!important;
  line-height:1.15!important;
}

#drawLayer .draw-brand-contact{
  min-width:72px!important;
  height:34px!important;
  padding:0 10px!important;
  border-radius:12px!important;
  font-size:12px!important;
}

/* 漂流瓶白色外层恢复574px */
#drawLayer.draw-normal-mode > .sheet{
  box-sizing:border-box!important;
  flex:0 0 574px!important;
  width:min(400px,calc(100% - 32px))!important;
  height:574px!important;
  min-height:574px!important;
  max-height:574px!important;
  margin:0 auto!important;
  padding:10px 13px 11px!important;
  overflow:hidden!important;
}

/* 标题区恢复紧凑尺寸 */
#drawLayer.draw-normal-mode .sheet-head{
  flex:0 0 46px!important;
  height:46px!important;
  min-height:46px!important;
  margin:0 3px 7px!important;
}

/* 正文卡片恢复370px，恢复此前约两公分的整体回缩 */
#drawLayer.draw-normal-mode #bottleCard:not(.prize-bottle),
#drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
  box-sizing:border-box!important;
  flex:0 0 370px!important;
  width:100%!important;
  height:370px!important;
  min-height:370px!important;
  max-height:370px!important;
  padding:13px 18px 9px!important;
  display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr) auto auto!important;
  overflow:hidden!important;
}

#drawLayer.draw-normal-mode #bottleCard:not(.prize-bottle) .bottle-activity-note{
  margin:6px 0 0!important;
}

#drawLayer.draw-normal-mode #bottleCard:not(.prize-bottle) .message{
  margin:0!important;
  padding:2px 0!important;
  align-self:center!important;
  max-height:100%!important;
  overflow:hidden!important;
}

#drawLayer.draw-normal-mode #bottleCard:not(.prize-bottle) .meta.bottle-source{
  margin:0 0 2px!important;
}

#drawLayer.draw-normal-mode #bottleCard:not(.prize-bottle) .bottle-card-footer{
  margin:0!important;
  padding-top:5px!important;
  gap:8px!important;
}

/* 新杯贴入口同步压缩，避免把标准卡片重新撑高 */
#drawLayer.draw-normal-mode .sticker-entry-btn{
  height:40px!important;
  min-height:40px!important;
  padding:4px 8px 4px 6px!important;
  border-radius:13px!important;
  gap:7px!important;
}

#drawLayer.draw-normal-mode .sticker-entry-icon{
  flex:0 0 28px!important;
  width:28px!important;
  height:28px!important;
  border-radius:9px!important;
  font-size:11px!important;
}

#drawLayer.draw-normal-mode .sticker-entry-copy strong{
  font-size:13px!important;
}

#drawLayer.draw-normal-mode .sticker-entry-copy small{
  font-size:8px!important;
  margin-top:1px!important;
}

/* 四按钮保持标准尺寸，随页面自然上提 */
#drawLayer.draw-normal-mode #messageActions.message-action-panel{
  box-sizing:border-box!important;
  flex:0 0 112px!important;
  width:100%!important;
  height:112px!important;
  min-height:112px!important;
  max-height:112px!important;
  margin-top:7px!important;
  transform:none!important;
}

/* 覆盖旧矮屏规则，禁止重新拉高 */
@media(max-height:760px){
  #drawLayer.draw-normal-mode{
    --draw-brand-height:60px!important;
    --draw-brand-gap:5px!important;
  }

  #drawLayer.draw-normal-mode > .sheet{
    flex-basis:574px!important;
    height:574px!important;
    min-height:574px!important;
    max-height:574px!important;
  }

  #drawLayer.draw-normal-mode #bottleCard:not(.prize-bottle),
  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
    flex-basis:370px!important;
    height:370px!important;
    min-height:370px!important;
    max-height:370px!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    flex-basis:112px!important;
    height:112px!important;
    min-height:112px!important;
    max-height:112px!important;
  }
}

/* 极矮手机使用对应紧凑尺寸 */
@media(max-height:700px){
  #drawLayer.draw-normal-mode{
    --draw-brand-height:56px!important;
    --draw-brand-gap:4px!important;
  }

  #drawLayer.draw-normal-mode .draw-brand-bar{
    flex-basis:56px!important;
    height:56px!important;
    min-height:56px!important;
    padding-top:6px!important;
    padding-bottom:6px!important;
  }

  #drawLayer .draw-brand-mark{
    flex-basis:36px!important;
    width:36px!important;
    height:36px!important;
    font-size:22px!important;
  }

  #drawLayer.draw-normal-mode > .sheet{
    flex-basis:528px!important;
    height:528px!important;
    min-height:528px!important;
    max-height:528px!important;
  }

  #drawLayer.draw-normal-mode #bottleCard:not(.prize-bottle),
  #drawLayer.draw-normal-mode .bottle:not(.prize-bottle){
    flex-basis:330px!important;
    height:330px!important;
    min-height:330px!important;
    max-height:330px!important;
  }

  #drawLayer.draw-normal-mode #messageActions.message-action-panel{
    flex-basis:104px!important;
    height:104px!important;
    min-height:104px!important;
    max-height:104px!important;
  }
}

/* 彩蛋页保留此前已经修好的底部安全留白 */
#drawLayer.draw-prize-mode{
  box-sizing:border-box!important;
  padding:14px!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}

#drawLayer.draw-prize-mode > .sheet{
  box-sizing:border-box!important;
  width:min(520px,100%)!important;
  height:auto!important;
  min-height:0!important;
  max-height:94dvh!important;
  margin:auto!important;
  padding:16px 16px 18px!important;
  border-radius:28px!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}

#drawLayer.draw-prize-mode #offerActions{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  width:100%!important;
  gap:10px!important;
  margin:12px 0 0!important;
  padding:0!important;
  flex:0 0 auto!important;
}

#drawLayer.draw-prize-mode #offerActions > .btn{
  box-sizing:border-box!important;
  width:100%!important;
  height:60px!important;
  min-height:60px!important;
  max-height:60px!important;
  margin:0!important;
  padding:0 10px!important;
  border-radius:17px!important;
  font-size:17px!important;
  line-height:1.2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* =========================================================
   V4.40.0 优惠券到店自取订单
   ========================================================= */
.sticker-pickup-only{margin-top:12px!important}.sticker-pickup-fixed{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid rgba(23,75,53,.15);border-radius:17px;background:#e7f0e5;color:#174b35}.sticker-pickup-fixed span{font-size:14px;font-weight:950}.sticker-pickup-fixed small{color:#657468;font-size:9px;text-align:right;line-height:1.4}
.coupon-order-overlay{align-items:flex-end!important;padding:0!important;background:rgba(20,24,21,.58)!important;backdrop-filter:blur(4px)}.coupon-order-sheet{position:relative;box-sizing:border-box;width:min(100%,520px)!important;max-height:94dvh!important;margin:0 auto!important;padding:15px 15px calc(17px + env(safe-area-inset-bottom))!important;border-radius:28px 28px 0 0!important;background:#fffaf0!important;overflow:auto!important;box-shadow:0 -18px 60px rgba(31,38,30,.26)!important}.coupon-order-head{position:sticky;top:-15px;z-index:5;margin:-15px -15px 12px!important;padding:14px 15px 10px!important;background:rgba(255,250,240,.97);border-bottom:1px solid rgba(23,63,42,.08);backdrop-filter:blur(12px)}.coupon-order-head small{display:block;color:#b27627;font-size:9px;font-weight:950;letter-spacing:.15em}.coupon-order-head h2{margin:3px 0 0!important;color:#174b35;font-size:21px!important}.coupon-order-loading{padding:55px 15px;text-align:center;color:#756955;font-weight:850}.coupon-ticket-summary{padding:13px 14px;border-radius:19px;background:linear-gradient(135deg,#174b35,#286849);color:#fff;box-shadow:0 10px 28px rgba(23,75,53,.17)}.coupon-ticket-summary span{display:inline-flex;padding:4px 8px;border-radius:99px;background:#f1bd57;color:#513813;font-size:9px;font-weight:950}.coupon-ticket-summary strong,.coupon-ticket-summary small{display:block}.coupon-ticket-summary strong{margin-top:8px;font-size:20px}.coupon-ticket-summary small{margin-top:4px;color:rgba(255,255,255,.73);font-size:10px;line-height:1.5}.coupon-section{margin-top:11px;padding:13px;border:1px solid rgba(23,63,42,.1);border-radius:19px;background:#fffdf8}.coupon-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.coupon-section-head small{display:block;color:#a56c20;font-size:9px;font-weight:950;letter-spacing:.12em}.coupon-section-head h3{margin:2px 0 0;color:#174b35;font-size:15px}.coupon-change-all{border:0;background:#e5efe4;color:#174b35;border-radius:99px;padding:8px 10px;font-size:10px;font-weight:900}.coupon-items{display:grid;gap:7px}.coupon-item-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:14px;background:#f3e9d4}.coupon-item-row>div{min-width:0}.coupon-item-row span,.coupon-item-row strong,.coupon-item-row small{display:block}.coupon-item-row span{color:#9a7b4e;font-size:8px}.coupon-item-row strong{margin-top:2px;color:#302920;font-size:13px}.coupon-item-row small{margin-top:3px;color:#7b6d59;font-size:9px}.coupon-item-row button{flex:0 0 auto;border:0;border-radius:99px;padding:8px 10px;background:#fffaf0;color:#174b35;font-size:10px;font-weight:900}.coupon-sticker-editors{display:grid;gap:8px}.coupon-sticker-editor{position:relative;display:block}.coupon-sticker-editor>span{display:block;margin-bottom:5px;color:#6e634f;font-size:10px;font-weight:850}.coupon-sticker-editor textarea{box-sizing:border-box;width:100%;min-height:76px;padding:12px 38px 12px 12px;border:1px solid #d9c8a6;border-radius:15px;background:#fffaf0;color:#2c271f;font-size:16px;font-weight:750;line-height:1.55;resize:none;outline:0}.coupon-sticker-editor textarea:focus{border-color:#174b35;box-shadow:0 0 0 3px rgba(23,75,53,.09)}.coupon-sticker-editor>small{position:absolute;right:10px;bottom:9px;color:#94836b;font-size:9px}.coupon-sticker-editor em{font-style:normal}.coupon-suggestions{display:flex;gap:6px;overflow-x:auto;margin-top:8px;padding-bottom:2px;scrollbar-width:none}.coupon-suggestions::-webkit-scrollbar{display:none}.coupon-suggestions button{flex:0 0 auto;max-width:210px;border:1px solid #ddcbaa;border-radius:99px;padding:7px 10px;background:#fffaf0;color:#675a47;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.coupon-pickup-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;padding:12px 13px;border-radius:17px;background:#e4efe2;color:#174b35}.coupon-pickup-card b{font-size:14px}.coupon-pickup-card span{max-width:68%;color:#667669;font-size:9px;line-height:1.45;text-align:right}.coupon-price-card{margin-top:11px;padding:11px 13px;border-radius:17px;background:#f2e5ca}.coupon-price-card>div{display:flex;justify-content:space-between;align-items:center;padding:5px 0;color:#756752;font-size:11px}.coupon-price-card strong{color:#302920}.coupon-price-card .minus{color:#ad681e}.coupon-price-card .coupon-payable{margin-top:4px;padding-top:10px;border-top:1px dashed #c9b58d;color:#174b35;font-size:14px;font-weight:900}.coupon-price-card .coupon-payable strong{color:#174b35;font-size:24px}.coupon-benefit-line strong{max-width:67%;text-align:right;color:#a76e22}.coupon-order-note{margin:10px 5px 8px;color:#85745c;font-size:9px;line-height:1.55;text-align:center}.coupon-create-btn{min-height:54px!important;font-size:16px!important}.coupon-success-card{margin:13px 0;padding:15px;border-radius:19px;background:#f3e5c6}.coupon-success-card>div:first-child{display:flex;justify-content:space-between;align-items:center}.coupon-success-card span{color:#7d6d55;font-size:10px}.coupon-success-card strong{color:#174b35;font-size:23px;letter-spacing:.08em}.coupon-success-card p{margin:13px 0 0;color:#40382d;font-size:12px;font-weight:850;line-height:1.5}.coupon-success-card blockquote{margin:10px 0;padding:11px 0;border-top:1px dashed #c7b083;border-bottom:1px dashed #c7b083;color:#2e2921;font-size:17px;font-weight:900;line-height:1.55}.coupon-success-total{display:flex;justify-content:space-between;align-items:center}.coupon-success-total b{color:#ad681e;font-size:23px}.coupon-product-picker{position:absolute;inset:0;z-index:10;padding:16px;background:#fffaf0;overflow:auto;border-radius:28px 28px 0 0}.coupon-picker-head{position:sticky;top:-16px;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:-16px -16px 12px;padding:15px 16px 11px;background:rgba(255,250,240,.97);border-bottom:1px solid rgba(23,63,42,.08)}.coupon-picker-head small{display:block;color:#a66c21;font-size:9px;font-weight:950}.coupon-picker-head h3{margin:3px 0 0;color:#174b35;font-size:19px}.coupon-picker-head button{border:0;border-radius:99px;padding:9px 13px;background:#174b35;color:#fff;font-weight:900}.coupon-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.coupon-product-card{padding:11px;border:1px solid #decba8;border-radius:16px;background:#fffdf8}.coupon-product-card>strong{display:block;min-height:38px;color:#174b35;font-size:13px;line-height:1.4}.coupon-product-card>div{display:grid;gap:6px}.coupon-product-card button{border:0;border-radius:11px;padding:9px 5px;background:#eee2cc;color:#4e4437;font-size:10px;font-weight:850}.coupon-product-card button:last-child{background:#174b35;color:#fff}
@media(max-width:370px){.coupon-order-sheet{padding-left:12px!important;padding-right:12px!important}.coupon-order-head{margin-left:-12px!important;margin-right:-12px!important}.coupon-product-grid{gap:7px}.coupon-product-card{padding:9px}.coupon-item-row strong{font-size:12px}.coupon-pickup-card span{font-size:8px}}


/* =========================================================
   V4.40.1 普通“印到杯上”补全商品选择与价格订单
   ========================================================= */
.sticker-product-card{margin:0 0 12px;padding:12px 13px;border:1px solid rgba(23,75,53,.14);border-radius:18px;background:#edf4e9}.sticker-product-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.sticker-product-head small{display:block;color:#7b725f;font-size:9px;font-weight:850}.sticker-product-head h3{margin:3px 0 0;color:#174b35;font-size:16px;line-height:1.25}.sticker-product-head button{border:0;border-radius:11px;padding:8px 10px;background:#fffaf0;color:#174b35;font-size:10px;font-weight:900;white-space:nowrap}.sticker-product-summary{display:flex;align-items:center;justify-content:space-between;margin-top:9px;padding-top:9px;border-top:1px dashed rgba(23,75,53,.18)}.sticker-product-summary span{color:#5e6e62;font-size:11px}.sticker-product-summary strong{color:#174b35;font-size:18px}.sticker-price-card{margin:11px 0 0;padding:11px 13px;border-radius:16px;background:#f4ead6}.sticker-price-card>div{display:flex;align-items:center;justify-content:space-between;padding:4px 0;color:#756955;font-size:11px}.sticker-price-card strong{color:#302920}.sticker-price-card .sticker-price-total{margin-top:4px;padding-top:10px;border-top:1px dashed #ccb990;color:#174b35;font-size:14px;font-weight:900}.sticker-price-card .sticker-price-total strong{color:#174b35;font-size:23px}.sticker-success-product,.sticker-success-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}.sticker-success-product span,.sticker-success-total span{color:#7d6b4f;font-size:10px}.sticker-success-product strong{color:#174b35;font-size:13px;text-align:right}.sticker-success-total{padding:10px 0 0;border-top:1px dashed rgba(76,58,30,.28)}.sticker-success-total strong{color:#174b35;font-size:22px}.sticker-product-picker{position:absolute;z-index:5;inset:0;padding:16px;background:#fffaf0;overflow:auto;border-radius:27px 27px 0 0}.sticker-product-picker-head{position:sticky;top:-16px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-16px -16px 12px;padding:15px 16px 11px;background:rgba(255,250,240,.97);border-bottom:1px solid rgba(23,75,53,.08)}.sticker-product-picker-head small{display:block;color:#b27627;font-size:9px;font-weight:900}.sticker-product-picker-head h3{margin:3px 0 0;color:#174b35;font-size:20px}.sticker-product-picker-head button{border:0;border-radius:11px;padding:9px 13px;background:#174b35;color:#fff;font-size:11px;font-weight:900}.sticker-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sticker-product-option{padding:12px;border:1px solid #d9c8a6;border-radius:16px;background:#fffdf8}.sticker-product-option>strong{display:block;min-height:38px;color:#174b35;font-size:13px;line-height:1.4}.sticker-product-option>div{display:grid;gap:7px;margin-top:8px}.sticker-product-option button{min-height:38px;border:1px solid rgba(23,75,53,.13);border-radius:11px;background:#edf4e9;color:#174b35;font-size:10px;font-weight:900}.sticker-order-sheet{position:relative!important}@media(max-width:370px){.sticker-product-grid{grid-template-columns:1fr}.sticker-product-head h3{font-size:14px}.sticker-product-head button{padding:7px 8px;font-size:9px}}


/* V4.40.2 同行第二杯：两杯独立选择、分别计价 */
.coupon-item-row.companion-item{
  border:1px solid rgba(23,75,53,.09);
  background:#f5ecd9;
}
.coupon-item-row.companion-item:nth-child(2){
  background:#e8f1e5;
  border-color:rgba(23,75,53,.15);
}
.coupon-item-row.companion-item span{
  color:#a66a1f;
  font-weight:900;
}
.coupon-item-row.companion-item:nth-child(2) span{
  color:#236044;
}

/* =========================================================
   V4.40.3 首页“挑一杯” + 产品展示 + 普通饮品订单
   ========================================================= */

/* 首页自然导入产品页，不使用生硬“直接购买” */
.brand-shop-entry{
  box-sizing:border-box;
  width:100%;
  min-height:70px;
  margin:7px 0 3px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(255,250,232,.16),rgba(255,255,255,.07));
  color:#fff;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  box-shadow:0 10px 28px rgba(12,41,31,.12);
  backdrop-filter:blur(10px);
}
.brand-shop-entry:active{transform:scale(.988)}
.brand-shop-entry-icon{
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:14px;
  background:#ffe09a;
  color:#174b35;
  font-size:16px;
  font-weight:950;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.brand-shop-entry-copy{min-width:0;flex:1}
.brand-shop-entry-copy strong,.brand-shop-entry-copy small{display:block}
.brand-shop-entry-copy strong{font-size:13px;line-height:1.3;font-weight:950}
.brand-shop-entry-copy small{margin-top:3px;color:rgba(255,255,255,.68);font-size:9px;line-height:1.4}
.brand-shop-entry>b{flex:0 0 auto;color:#ffe09a;font-size:11px;white-space:nowrap}
@media(max-height:760px){
  .brand-shop-entry{min-height:62px;margin-top:4px;padding:8px 10px}
  .brand-shop-entry-icon{width:37px;height:37px;flex-basis:37px}
  .brand-shop-entry-copy strong{font-size:12px}
}

/* 真正的饮品橱窗 */
.product-showcase-overlay{
  align-items:flex-end!important;
  padding:0!important;
  background:rgba(15,24,19,.62)!important;
  backdrop-filter:blur(5px);
}
.product-showcase-sheet{
  box-sizing:border-box;
  position:relative;
  width:min(100%,520px)!important;
  height:min(94dvh,900px)!important;
  margin:0 auto!important;
  padding:0!important;
  border-radius:28px 28px 0 0!important;
  background:#f8f2e4!important;
  overflow:hidden!important;
  box-shadow:0 -22px 70px rgba(17,31,23,.32)!important;
}
.product-showcase-head{
  position:relative;
  z-index:5;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 13px;
  background:rgba(248,242,228,.97);
  border-bottom:1px solid rgba(23,75,53,.09);
  backdrop-filter:blur(14px);
}
.product-showcase-head>div{min-width:0}
.product-showcase-head small{display:block;color:#ac6f22;font-size:9px;font-weight:950;letter-spacing:.14em}
.product-showcase-head h2{margin:4px 0 3px;color:#174b35;font-size:23px;line-height:1.15}
.product-showcase-head p{margin:0;color:#796d5b;font-size:10px}
.product-showcase-scroll{
  height:calc(100% - 78px);
  padding:13px 13px calc(22px + env(safe-area-inset-bottom));
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.product-featured{
  display:grid;
  grid-template-columns:46% 54%;
  border:1px solid rgba(23,75,53,.12);
  border-radius:23px;
  background:#fffaf0;
  overflow:hidden;
  box-shadow:0 13px 32px rgba(78,58,27,.09);
}
.product-featured-image{position:relative;min-height:250px;background:#eee5d2;overflow:hidden}
.product-featured-image img{width:100%;height:100%;object-fit:cover;display:block}
.product-featured-image span{
  position:absolute;
  left:10px;
  top:10px;
  padding:5px 8px;
  border-radius:99px;
  background:#174b35;
  color:#fff;
  font-size:9px;
  font-weight:950;
}
.product-featured-copy{padding:15px 13px 13px;display:flex;flex-direction:column}
.product-featured-copy>small{color:#b27627;font-size:8px;font-weight:950;letter-spacing:.08em}
.product-featured-copy h3{margin:5px 0 5px;color:#174b35;font-size:19px;line-height:1.2}
.product-featured-copy p{margin:0;color:#776954;font-size:10px;line-height:1.55}
.product-taste-note{margin-top:10px;padding:8px 9px;border-radius:12px;background:#edf2e7;color:#355d45;font-size:10px;font-weight:850}
.product-size-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto;padding-top:12px}
.product-size-actions button{
  min-height:48px;
  border:0;
  border-radius:13px;
  background:#eadfc9;
  color:#554a3c;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.product-size-actions button:last-child{background:#174b35;color:#fff}
.product-size-actions span{font-size:9px}
.product-size-actions strong{margin-top:2px;font-size:15px}

.product-proof-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin:10px 0 15px;
}
.product-proof-row span{
  padding:9px 5px;
  border-radius:14px;
  background:#eee4cf;
  text-align:center;
}
.product-proof-row b,.product-proof-row small{display:block}
.product-proof-row b{color:#174b35;font-size:10px}
.product-proof-row small{margin-top:2px;color:#88785f;font-size:7px}

.product-category{margin-top:14px}
.product-category-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:0 3px 9px}
.product-category-head small{display:block;color:#ad7126;font-size:7px;font-weight:950;letter-spacing:.13em}
.product-category-head h3{margin:3px 0 0;color:#174b35;font-size:17px}
.product-category-head>span{color:#887a65;font-size:8px;text-align:right}
.product-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.product-card{
  min-width:0;
  padding:8px;
  border:1px solid rgba(23,75,53,.1);
  border-radius:18px;
  background:#fffaf0;
  box-shadow:0 8px 22px rgba(78,58,27,.065);
}
.product-card img{
  display:block;
  width:100%;
  aspect-ratio:1.22/1;
  object-fit:cover;
  border-radius:13px;
  background:#eee5d2;
}
.product-card-copy{padding:9px 3px 8px}
.product-card-copy h4{margin:0;color:#174b35;font-size:13px;line-height:1.35}
.product-card-copy p{min-height:28px;margin:4px 0 0;color:#7b6c57;font-size:8px;line-height:1.5}
.product-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.product-card-actions button{
  min-height:38px;
  padding:4px;
  border:1px solid rgba(23,75,53,.12);
  border-radius:11px;
  background:#eef2e8;
  color:#48604e;
  font-size:8px;
  font-weight:850;
}
.product-card-actions button:last-child{background:#174b35;color:#fff;border-color:#174b35}
.product-card-actions b{display:block;margin-top:1px;font-size:12px}
.product-card-wide{grid-column:1/-1;display:grid;grid-template-columns:42% 58%;grid-template-areas:"image copy" "image actions";column-gap:9px}
.product-card-wide img{grid-area:image;height:100%;aspect-ratio:auto}
.product-card-wide .product-card-copy{grid-area:copy;padding-top:7px}
.product-card-wide .product-card-actions{grid-area:actions;align-self:end;padding-bottom:3px}

.product-showcase-foot{
  margin-top:13px;
  padding:13px 14px;
  border-radius:17px;
  background:linear-gradient(135deg,#174b35,#286849);
  color:#fff;
}
.product-showcase-foot strong,.product-showcase-foot span{display:block}
.product-showcase-foot strong{font-size:12px}
.product-showcase-foot span{margin-top:4px;color:rgba(255,255,255,.7);font-size:9px;line-height:1.5}

/* 普通挑饮品时，杯贴变为选填 */
.sticker-text-shortcuts{display:flex;gap:7px;margin-top:8px}
.sticker-text-shortcuts button{
  flex:1;
  min-height:35px;
  border:1px solid #d9c8a6;
  border-radius:12px;
  background:#fffaf0;
  color:#685a47;
  font-size:10px;
  font-weight:850;
}
.sticker-text-shortcuts button.active{
  border-color:#174b35;
  background:#174b35;
  color:#fff;
}
#stickerTextInput:disabled{
  background:#eee8dc;
  color:#9b8d77;
}
.sticker-label-preview.sticker-no-label{
  opacity:.72;
  filter:saturate(.65);
}
.sticker-label-preview.sticker-no-label blockquote{
  color:#7d725f!important;
  font-size:15px!important;
  font-weight:800!important;
}
.sticker-order-no-label{
  color:#756955!important;
  font-size:12px!important;
  text-align:center;
  font-weight:800!important;
}
.sticker-quote.no-label{color:#776b59;font-style:normal}

@media(max-width:370px){
  .product-showcase-head h2{font-size:20px}
  .product-featured{grid-template-columns:44% 56%}
  .product-featured-image{min-height:230px}
  .product-featured-copy{padding:12px 10px 10px}
  .product-featured-copy h3{font-size:16px}
  .product-card-grid{gap:7px}
  .product-card{padding:7px}
}


/* V4.40.4 六款产品图正式替换 */
.product-featured-image{
  background:#efe5d1!important;
}
.product-featured-image img{
  object-fit:contain!important;
  object-position:center!important;
  padding:6px!important;
}
.product-card img{
  object-position:center!important;
}
.product-card-wide img{
  object-position:center!important;
}


/* =========================================================
   V4.40.5 挑一杯：自动匹配最优优惠券
   ========================================================= */
.sticker-coupon-card{
  margin-top:10px;padding:12px 13px;border:1px solid rgba(23,75,53,.12);border-radius:17px;
  background:linear-gradient(135deg,#f7f0df,#fffaf0);box-shadow:0 8px 22px rgba(74,55,28,.055)
}
.sticker-coupon-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sticker-coupon-head>div{min-width:0}
.sticker-coupon-head small{display:block;color:#a46d26;font-size:8px;font-weight:950;letter-spacing:.11em}
.sticker-coupon-head h3{margin:3px 0 0;color:#174b35;font-size:14px;line-height:1.3}
.sticker-coupon-head button{flex:0 0 auto;border:0;border-radius:11px;padding:8px 10px;background:#e8efdf;color:#174b35;font-size:9px;font-weight:950}
.sticker-coupon-head button:disabled{opacity:.55}
.sticker-coupon-card>p{margin:6px 0 0;color:#7c6f5c;font-size:9px;line-height:1.5}
.sticker-coupon-saving{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding-top:9px;border-top:1px dashed rgba(23,75,53,.16)}
.sticker-coupon-saving span{padding:5px 8px;border-radius:99px;background:#174b35;color:#fff;font-size:8px;font-weight:950}
.sticker-coupon-saving strong{color:#b5661b;font-size:11px}
#stickerCouponPriceRow strong{color:#b45e16}

.sticker-coupon-picker{
  position:absolute;z-index:12;inset:0;background:#f8f2e4;padding:14px 13px calc(18px + env(safe-area-inset-bottom));overflow:auto
}
.sticker-coupon-picker-head{position:sticky;top:-14px;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:-14px -13px 12px;padding:15px 13px 12px;background:rgba(248,242,228,.97);border-bottom:1px solid rgba(23,75,53,.09);backdrop-filter:blur(12px)}
.sticker-coupon-picker-head small{display:block;color:#a46d26;font-size:8px;font-weight:950;letter-spacing:.13em}
.sticker-coupon-picker-head h3{margin:3px 0 2px;color:#174b35;font-size:19px}
.sticker-coupon-picker-head p{margin:0;color:#80735f;font-size:8px}
.sticker-coupon-picker-head button{border:0;border-radius:11px;padding:9px 12px;background:#174b35;color:#fff;font-size:10px;font-weight:950}
.sticker-coupon-list{display:grid;gap:9px}
.sticker-coupon-option{width:100%;min-height:94px;padding:12px;border:1px solid rgba(23,75,53,.12);border-radius:17px;background:#fffaf0;color:#3f382d;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;box-shadow:0 8px 22px rgba(74,55,28,.055)}
.sticker-coupon-option>div{min-width:0;flex:1}
.sticker-coupon-option span{display:inline-flex;padding:4px 7px;border-radius:99px;background:#e7efdf;color:#174b35;font-size:7px;font-weight:950}
.sticker-coupon-option strong,.sticker-coupon-option small,.sticker-coupon-option em{display:block}
.sticker-coupon-option strong{margin-top:5px;color:#174b35;font-size:13px;line-height:1.3}
.sticker-coupon-option small{margin-top:3px;color:#81735e;font-size:8px;line-height:1.45}
.sticker-coupon-option em{margin-top:5px;color:#b5661b;font-size:9px;font-style:normal;font-weight:900}
.sticker-coupon-option>b{flex:0 0 auto;min-width:50px;padding:9px 7px;border-radius:11px;background:#174b35;color:#fff;text-align:center;font-size:9px}
.sticker-coupon-option.active{border-color:#174b35;box-shadow:0 0 0 2px rgba(23,75,53,.09)}
.sticker-coupon-option.needs-change{background:#f3ecde}
.sticker-coupon-option.needs-change>b{background:#b98139}
.sticker-coupon-none{min-height:66px}
.sticker-coupon-none>div small{margin-top:3px}
.sticker-coupon-picker-empty{padding:22px 16px;border:1px dashed rgba(23,75,53,.2);border-radius:17px;text-align:center;background:#f1eadb}
.sticker-coupon-picker-empty strong,.sticker-coupon-picker-empty span{display:block}
.sticker-coupon-picker-empty strong{color:#174b35;font-size:13px}
.sticker-coupon-picker-empty span{margin-top:5px;color:#82745f;font-size:9px;line-height:1.6}


/* =========================================================
   V4.41.2 首页切片加速版
   ========================================================= */
.brand-home-hero-slices{
  min-height:calc(100dvh - 91px)!important;
  color:#173d31;
  background:linear-gradient(180deg,#faf6ee 0%,#fffaf3 46%,#f4eee4 100%)!important;
}
.brand-home-hero-slices:before,
.brand-home-hero-slices:after{display:none!important}
.brand-home-inner-slices{
  min-height:calc(100dvh - 91px)!important;
  padding:10px 12px calc(18px + env(safe-area-inset-bottom))!important;
  gap:10px;
}
.brand-home-slice-stack{
  overflow:hidden;
  border-radius:24px;
  box-shadow:0 16px 34px rgba(30,42,34,.10);
  background:#fffdf8;
  border:1px solid rgba(195,173,136,.18);
}
.brand-home-slice-image{display:block;width:100%;height:auto}
.brand-home-slice-button{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
}
.brand-home-slice-button:active{opacity:.96}
.brand-home-poster-links-slices{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:4px 14px;
  margin-top:2px;
}
.brand-secondary-link-home{
  align-self:auto!important;
  padding:6px 0!important;
  color:#476257!important;
  text-decoration:none!important;
}
.brand-home-mini-link{
  border:0;
  background:none;
  padding:6px 0;
  font-size:13px;
  color:#0f6b4b;
  font-weight:900;
}
.brand-home-foot-slices{
  text-align:center!important;
  color:#7b8b83!important;
  opacity:1!important;
  margin-top:2px;
}
.brand-home-bottom-spacer{height:104px}
@media(max-width:370px){
  .brand-home-inner-slices{padding-left:10px!important;padding-right:10px!important}
  .brand-home-slice-stack{border-radius:20px}
  .brand-home-bottom-spacer{height:114px}
}


/* V4.41.6 首页试喝名额提示 */
.home-free-limit-overlay{align-items:flex-end!important;padding:0!important;background:rgba(22,29,25,.58)!important;backdrop-filter:blur(4px)}
.home-free-limit-sheet{width:min(100%,520px)!important;margin:0 auto!important;padding:18px 18px calc(22px + env(safe-area-inset-bottom))!important;border-radius:28px 28px 0 0!important;background:#fffaf0!important;text-align:center}
.home-free-limit-sheet .sheet-head{text-align:left}.home-free-limit-sheet .sheet-head small{display:block;color:#ad7428;font-size:9px;font-weight:950;letter-spacing:.12em}.home-free-limit-sheet .sheet-head h2{margin:3px 0 0!important;color:#174b35;font-size:22px!important}
.home-free-limit-mark{display:grid;place-items:center;width:68px;height:68px;margin:14px auto 10px;border-radius:22px;background:#e3eee0;font-size:32px}
.home-free-limit-sheet>p{margin:0 auto;color:#665d50;font-size:14px;line-height:1.75;max-width:390px}
.home-free-limit-time{margin:12px 0 15px;padding:10px 12px;border-radius:14px;background:#f2e4c7;color:#9b6420;font-size:13px;font-weight:900}
.home-free-limit-sheet .btn{margin-top:9px}


/* =========================================================
   V4.41.8 优惠订单底部悬浮价格栏
   ========================================================= */
.coupon-order-sheet{
  padding-bottom:calc(112px + env(safe-area-inset-bottom))!important;
}
.coupon-create-btn{display:none!important}
.coupon-order-sticky{
  position:fixed;
  left:50%;
  bottom:0;
  z-index:30;
  width:min(100%,520px);
  min-height:86px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,250,240,.97);
  border-top:1px solid rgba(23,75,53,.10);
  box-shadow:0 -12px 34px rgba(25,38,31,.16);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transform:translateX(-50%);
}
.coupon-order-sticky.hidden{display:none!important}
.coupon-order-sticky-price{
  min-width:0;
  flex:1;
  padding-left:4px;
}
.coupon-order-sticky-price>span,
.coupon-order-sticky-price>small{display:block}
.coupon-order-sticky-price>span{
  color:#786b58;
  font-size:10px;
  font-weight:850;
}
.coupon-order-sticky-price>div{
  display:flex;
  align-items:baseline;
  gap:7px;
  margin-top:2px;
}
.coupon-order-sticky-price del{
  color:#a79a87;
  font-size:12px;
}
.coupon-order-sticky-price strong{
  color:#174b35;
  font-size:30px;
  line-height:1;
  font-weight:980;
  letter-spacing:-.04em;
}
.coupon-order-sticky-price>small{
  margin-top:4px;
  max-width:170px;
  color:#b2681d;
  font-size:9px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.coupon-order-sticky>button{
  flex:0 0 min(54%,258px);
  min-height:60px;
  border:0;
  border-radius:20px;
  padding:9px 14px;
  background:linear-gradient(180deg,#1c553c,#143f2f);
  color:#fff;
  box-shadow:0 10px 24px rgba(20,63,47,.20);
}
.coupon-order-sticky>button strong,
.coupon-order-sticky>button small{display:block}
.coupon-order-sticky>button strong{
  font-size:17px;
  line-height:1.2;
  font-weight:950;
}
.coupon-order-sticky>button small{
  margin-top:3px;
  color:rgba(255,255,255,.70);
  font-size:9px;
}
.coupon-order-sticky>button:disabled{opacity:.62}
@media(max-width:370px){
  .coupon-order-sticky{gap:8px;padding-left:9px;padding-right:9px}
  .coupon-order-sticky-price strong{font-size:27px}
  .coupon-order-sticky>button{flex-basis:57%;padding-left:9px;padding-right:9px}
  .coupon-order-sticky>button strong{font-size:15px}
}


/* =========================================================
   V4.41.9 复用现有图文产品展示页选择饮品
   ========================================================= */
.coupon-item-row .coupon-product-showcase-trigger{
  min-width:118px!important;
  padding:11px 13px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#1b6a4b,#12543d)!important;
  color:#fff!important;
  box-shadow:0 9px 18px rgba(18,84,61,.18)!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1.25!important;
}
.coupon-item-row .coupon-product-showcase-trigger:active{transform:scale(.97)}
.product-size-actions button.is-current-choice,
.product-card-actions button.is-current-choice{
  outline:3px solid rgba(229,178,81,.72)!important;
  outline-offset:2px;
  box-shadow:0 0 0 5px rgba(229,178,81,.13)!important;
}
.product-size-actions button.is-current-choice:after,
.product-card-actions button.is-current-choice:after{
  content:"当前";
  display:inline-flex;
  margin-left:5px;
  padding:2px 5px;
  border-radius:99px;
  background:#efbd58;
  color:#4f3510;
  font-size:7px;
  font-weight:950;
  vertical-align:middle;
}
@media(max-width:370px){
  .coupon-item-row .coupon-product-showcase-trigger{min-width:104px!important;padding:10px 9px!important;font-size:10px!important}
}


/* =========================================================
   V4.42.0 专属心情确认页：精简信息 + 底部悬浮确认栏
   ========================================================= */
.sticker-order-sheet{
  padding-bottom:calc(108px + env(safe-area-inset-bottom))!important;
}
.sticker-order-head small{letter-spacing:.08em}
.sticker-order-head h2{font-size:23px!important}
.sticker-order-step-focus .sticker-order-lead{
  margin:0 1px 9px;
  color:#766b5a;
  font-size:11px;
  line-height:1.45;
}
.sticker-product-card-focus{
  margin-bottom:10px!important;
  padding:13px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#e7f1e5,#f1f5e9)!important;
}
.sticker-product-card-focus .sticker-product-head{align-items:stretch}
.sticker-product-main{min-width:0;flex:1}
.sticker-product-card-focus .sticker-product-head h3{
  margin-top:4px;
  font-size:19px;
  line-height:1.25;
}
.sticker-product-card-focus .sticker-product-summary{
  justify-content:flex-start;
  gap:10px;
  margin-top:7px;
  padding-top:7px;
}
.sticker-product-card-focus .sticker-product-summary span{
  display:inline-flex;
  padding:4px 9px;
  border-radius:99px;
  background:rgba(255,255,255,.72);
  color:#526b5e;
  font-size:10px;
  font-weight:850;
}
.sticker-product-card-focus .sticker-product-summary strong{font-size:20px}
.sticker-product-card-focus #stickerChangeProductBtn{
  align-self:center;
  min-width:128px;
  min-height:48px;
  padding:10px 12px;
  border-radius:15px;
  background:linear-gradient(180deg,#1c684a,#12523c);
  color:#fff;
  box-shadow:0 9px 20px rgba(18,82,60,.18);
  font-size:11px;
  white-space:normal;
  line-height:1.25;
}
.sticker-editor-card-focus{
  padding:14px!important;
  border-radius:20px!important;
  border-color:rgba(23,75,53,.16)!important;
  box-shadow:0 10px 26px rgba(60,47,26,.055)!important;
}
.sticker-editor-card-focus .sticker-editor-label label{
  color:#174b35;
  font-size:19px;
  font-weight:950;
}
.sticker-editor-card-focus .sticker-editor-label button{
  color:#a46b24;
  font-size:10px;
}
.sticker-editor-card-focus textarea{
  min-height:112px!important;
  margin-top:10px;
  font-size:19px!important;
  font-weight:850!important;
  line-height:1.55!important;
}
.sticker-editor-card-focus .sticker-text-shortcuts{margin-top:9px}
.sticker-editor-card-focus .sticker-text-shortcuts button{
  min-height:43px;
  font-size:11px;
  font-weight:900;
}
.sticker-editor-card-focus .sticker-editor-foot span{font-size:9px}
.sticker-coupon-card-focus{
  margin-top:10px!important;
  padding:11px 13px!important;
  border-radius:17px!important;
}
.sticker-coupon-card-focus .sticker-coupon-head h3{font-size:13px}
.sticker-coupon-card-focus>p{
  max-height:0;
  margin:0!important;
  overflow:hidden;
  opacity:0;
}
.sticker-coupon-card-focus .sticker-coupon-saving{margin-top:7px;padding-top:7px}
.sticker-preview-block{display:none!important}
.sticker-pickup-focus{
  margin-top:10px!important;
  padding:0!important;
}
.sticker-pickup-focus legend{display:none!important}
.sticker-pickup-focus .sticker-pickup-fixed{
  min-height:58px!important;
  padding:11px 14px!important;
  border-radius:18px!important;
}
.sticker-pickup-focus .sticker-pickup-fixed span{font-size:17px!important}
.sticker-pickup-focus .sticker-pickup-fixed small{font-size:9px!important}
.sticker-price-card,.sticker-order-note,.sticker-create-btn{display:none!important}
.sticker-order-sticky{
  position:fixed;
  left:50%;
  bottom:0;
  z-index:40;
  width:min(100%,520px);
  min-height:88px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,250,240,.97);
  border-top:1px solid rgba(23,75,53,.11);
  box-shadow:0 -13px 36px rgba(25,38,31,.18);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transform:translateX(-50%);
}
.sticker-order-sticky.hidden{display:none!important}
.sticker-order-sticky-price{min-width:0;flex:1;padding-left:3px}
.sticker-order-sticky-price>span,.sticker-order-sticky-price>small{display:block}
.sticker-order-sticky-price>span{color:#786b58;font-size:10px;font-weight:850}
.sticker-order-sticky-price>div{display:flex;align-items:baseline;gap:7px;margin-top:2px}
.sticker-order-sticky-price del{color:#a79a87;font-size:12px}
.sticker-order-sticky-price strong{
  color:#174b35;
  font-size:31px;
  line-height:1;
  font-weight:980;
  letter-spacing:-.04em;
}
.sticker-order-sticky-price>small{
  margin-top:5px;
  max-width:185px;
  color:#755f43;
  font-size:9px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sticker-order-sticky>button{
  flex:0 0 min(58%,270px);
  min-height:62px;
  border:0;
  border-radius:20px;
  padding:9px 12px;
  background:linear-gradient(180deg,#1c553c,#143f2f);
  color:#fff;
  box-shadow:0 10px 24px rgba(20,63,47,.20);
}
.sticker-order-sticky>button strong,.sticker-order-sticky>button small{display:block}
.sticker-order-sticky>button strong{font-size:16px;line-height:1.2;font-weight:950}
.sticker-order-sticky>button small{margin-top:4px;color:rgba(255,255,255,.72);font-size:9px}
.sticker-order-sticky>button:disabled{opacity:.62}
@media(max-width:370px){
  .sticker-product-card-focus #stickerChangeProductBtn{min-width:112px;padding-left:9px;padding-right:9px}
  .sticker-product-card-focus .sticker-product-head h3{font-size:17px}
  .sticker-editor-card-focus .sticker-editor-label label{font-size:17px}
  .sticker-order-sticky{gap:8px;padding-left:9px;padding-right:9px}
  .sticker-order-sticky-price strong{font-size:27px}
  .sticker-order-sticky>button{flex-basis:59%;padding-left:8px;padding-right:8px}
  .sticker-order-sticky>button strong{font-size:14px}
}


/* =========================================================
   V4.42.1 首页底部精简优化
   ========================================================= */
.brand-home-foot-slices{display:none!important}
.brand-home-poster-links-slices{display:none!important}
.brand-home-secondary-panel{
  padding:12px;
  border:1px solid rgba(23,75,53,.10);
  border-radius:22px;
  background:rgba(255,253,248,.94);
  box-shadow:0 12px 28px rgba(35,49,40,.07);
}
.brand-home-drift-entry{
  width:100%;
  min-height:56px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 13px;
  border:0;
  border-radius:17px;
  background:linear-gradient(180deg,#edf4e9,#e4eee1);
  color:#174b35;
  text-align:left;
}
.brand-home-drift-entry:active{transform:scale(.99)}
.brand-home-drift-icon{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:12px;
  background:#174b35;
  color:#fff8e9;
  font-size:16px;
  font-weight:950;
}
.brand-home-drift-entry strong{
  flex:1;
  font-size:17px;
  line-height:1.25;
  font-weight:950;
}
.brand-home-drift-entry b{
  color:#a87125;
  font-size:23px;
  line-height:1;
}
.brand-home-secondary-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:9px;
}
.brand-home-secondary-actions button{
  min-height:42px;
  border:1px solid rgba(23,75,53,.10);
  border-radius:14px;
  background:#f5ead5;
  color:#345447;
  font-size:13px;
  font-weight:900;
}
.brand-home-secondary-actions button:active{transform:scale(.985)}
.brand-home-location-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:2px 6px 0;
  color:#8a8b80;
  font-size:11px;
  line-height:1.5;
}
.brand-home-location-line span{color:#c39447;font-size:15px}
.brand-home-bottom-spacer{height:88px!important}
@media(max-width:370px){
  .brand-home-secondary-panel{padding:10px;border-radius:19px}
  .brand-home-drift-entry{min-height:52px}
  .brand-home-drift-entry strong{font-size:15px}
  .brand-home-secondary-actions button{font-size:12px}
  .brand-home-bottom-spacer{height:96px!important}
}


/* =========================================================
   V4.42.2 首页底部空白压缩
   去掉首页被整屏最小高度强行撑出的大片空白，
   只保留悬浮“我的漂流”入口所需的安全距离。
   ========================================================= */
.brand-home-app{
  min-height:auto!important;
  background:#faf6ee!important;
}
.brand-home-hero-slices{
  min-height:0!important;
  height:auto!important;
}
.brand-home-inner-slices{
  min-height:0!important;
  height:auto!important;
  padding-bottom:8px!important;
}
.brand-home-bottom-spacer{
  height:56px!important;
}
@media(max-width:370px){
  .brand-home-bottom-spacer{
    height:62px!important;
  }
}


/* =========================================================
   V4.42.3 首页社交过渡弱化
   免费领取仍为唯一强主视觉；漂流瓶改成“茶余小聚”过渡区。
   ========================================================= */
.brand-home-community-panel{
  position:relative;
  overflow:hidden;
  padding:18px 16px 14px!important;
  border:1px solid rgba(176,143,88,.16)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 92% 8%,rgba(230,204,154,.16),transparent 28%),
    linear-gradient(180deg,#fffdf8 0%,#faf3e7 100%)!important;
  box-shadow:0 10px 24px rgba(52,45,34,.055)!important;
}
.brand-home-community-panel:before{
  content:"";
  position:absolute;
  left:16px;right:16px;top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(182,145,79,.28),transparent);
}
.brand-home-community-heading{text-align:center;padding:0 8px 14px}
.brand-home-community-kicker{
  display:inline-block;
  color:#af7a2b;
  font-size:9px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:.12em;
}
.brand-home-community-heading h2{
  margin:7px 0 0;
  color:#214c3c;
  font-size:20px;
  line-height:1.25;
  font-weight:950;
}
.brand-home-community-heading p{
  margin:7px 0 0;
  color:#7c776d;
  font-size:11px;
  line-height:1.65;
}
.brand-home-community-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.brand-home-community-action{
  min-width:0;
  min-height:86px;
  padding:12px 10px;
  border:1px solid rgba(23,75,53,.11);
  border-radius:17px;
  background:rgba(255,255,255,.78);
  color:#2c4f41;
  text-align:left;
  box-shadow:none;
}
.brand-home-community-action:active{transform:scale(.985);background:#fff}
.brand-home-community-action span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  margin-bottom:9px;
  border-radius:10px;
  background:#edf2e8;
  color:#2b5a46;
  font-size:13px;
  font-weight:950;
}
.brand-home-community-action b,
.brand-home-community-action small{display:block}
.brand-home-community-action b{
  color:#254b3c;
  font-size:13px;
  line-height:1.3;
  font-weight:950;
}
.brand-home-community-action small{
  margin-top:4px;
  color:#8a8276;
  font-size:9px;
  line-height:1.45;
}
.brand-home-community-story{
  display:block;
  margin:11px auto 0;
  padding:6px 8px 2px;
  border:0;
  background:none;
  color:#917046;
  font-size:10px;
  font-weight:850;
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-color:rgba(145,112,70,.25);
}
/* 旧版强入口彻底失效，避免抢走免费领取主视觉 */
.brand-home-drift-entry,.brand-home-secondary-actions{display:none!important}
@media(max-width:370px){
  .brand-home-community-panel{padding:15px 12px 12px!important;border-radius:20px!important}
  .brand-home-community-heading h2{font-size:18px}
  .brand-home-community-actions{gap:8px}
  .brand-home-community-action{min-height:82px;padding:10px 9px}
  .brand-home-community-action b{font-size:12px}
}


/* =========================================================
   V4.42.4 首页免费领取按钮扫光动效
   只强化首杯免费主按钮，不让杯身与社交区同时抢注意力。
   ========================================================= */
.brand-home-slice-button-cta{
  position:relative;
  overflow:visible;
  transform-origin:center center;
  animation:lanjiFreeCtaBreathe 3.2s ease-in-out infinite;
  isolation:isolate;
}
/* 只在静态切片中的绿色按钮范围内叠加光效 */
.brand-home-slice-button-cta:before{
  content:"";
  position:absolute;
  z-index:2;
  left:8.5%;
  right:8.5%;
  top:1.5%;
  height:54%;
  border-radius:999px;
  pointer-events:none;
  box-shadow:
    0 0 0 0 rgba(239,203,111,0),
    0 10px 26px rgba(18,89,62,.12);
  animation:lanjiFreeCtaGlow 3.2s ease-in-out infinite;
}
.brand-home-slice-button-cta:after{
  content:"";
  position:absolute;
  z-index:3;
  top:1.5%;
  left:8.5%;
  width:83%;
  height:54%;
  border-radius:999px;
  pointer-events:none;
  overflow:hidden;
  background:
    linear-gradient(110deg,
      transparent 0%,
      transparent 38%,
      rgba(255,255,255,.06) 42%,
      rgba(255,247,210,.78) 49%,
      rgba(255,255,255,.15) 56%,
      transparent 62%,
      transparent 100%);
  background-size:230% 100%;
  background-position:160% 0;
  mix-blend-mode:screen;
  animation:lanjiFreeCtaShine 3.8s ease-in-out infinite;
}
.brand-home-slice-button-cta .brand-home-slice-image{
  position:relative;
  z-index:1;
}
.brand-home-slice-button-cta:active{
  transform:scale(.985)!important;
  animation:none;
}
@keyframes lanjiFreeCtaBreathe{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-1px) scale(1.008)}
}
@keyframes lanjiFreeCtaGlow{
  0%,100%{box-shadow:0 0 0 0 rgba(239,203,111,0),0 10px 26px rgba(18,89,62,.12)}
  50%{box-shadow:0 0 0 5px rgba(239,203,111,.12),0 14px 34px rgba(18,89,62,.22)}
}
@keyframes lanjiFreeCtaShine{
  0%,16%{background-position:160% 0;opacity:0}
  22%{opacity:1}
  48%{background-position:-55% 0;opacity:1}
  56%,100%{background-position:-55% 0;opacity:0}
}
@media(prefers-reduced-motion:reduce){
  .brand-home-slice-button-cta,
  .brand-home-slice-button-cta:before,
  .brand-home-slice-button-cta:after{
    animation:none!important;
  }
}


/* =========================================================
   V4.42.5 添加微信激活领取页
   ========================================================= */
.contact-sheet{
  position:relative;
  max-height:94dvh!important;
  padding:0!important;
  overflow:auto!important;
  text-align:left!important;
  background:#fffaf0!important;
}
.contact-sheet-head{
  position:sticky;
  top:0;
  z-index:5;
  margin:0!important;
  padding:18px 20px 14px;
  background:rgba(255,250,240,.97);
  border-bottom:1px solid rgba(23,63,42,.08);
  backdrop-filter:blur(12px);
}
.contact-sheet-head>div{min-width:0}
.contact-head-kicker{display:block;color:#b17424;font-size:10px;font-weight:950;letter-spacing:.12em;margin-bottom:4px}
.contact-sheet-head h2{font-size:25px!important;line-height:1.25!important}
.contact-sheet-head .close{flex:0 0 42px;width:42px;height:42px;font-size:21px}
.contact-sheet-body{padding:16px 20px 4px}
#contactLayer:not(.order-contact-mode) .contact-order-only{display:none!important}
#contactLayer.order-contact-mode .contact-normal-only{display:none!important}
.contact-required-banner{
  padding:15px 16px;
  border-radius:20px;
  background:linear-gradient(135deg,#174b35,#286849);
  color:#fff;
  box-shadow:0 12px 28px rgba(23,75,53,.18);
}
.contact-required-badge{display:inline-flex;padding:5px 9px;border-radius:99px;background:#f0bd57;color:#533811;font-size:9px;font-weight:950}
.contact-required-banner strong{display:block;margin-top:9px;font-size:20px;line-height:1.35;font-weight:950}
.contact-required-banner p{margin:6px 0 0;color:rgba(255,255,255,.78);font-size:12px;line-height:1.65}
.contact-progress{display:grid;grid-template-columns:1fr 20px 1fr 20px 1fr;align-items:start;gap:4px;margin:14px 0 12px;padding:12px 8px;border-radius:18px;background:#f2e8d4}
.contact-progress>div{text-align:center}
.contact-progress b{display:grid;place-items:center;width:28px;height:28px;margin:0 auto 6px;border-radius:50%;background:#174b35;color:#fff;font-size:12px}
.contact-progress span{display:block;color:#665b49;font-size:9px;line-height:1.4}
.contact-progress i{height:1px;margin-top:14px;background:#cbb992}
.contact-qr-card{padding:12px;border:1px solid rgba(23,63,42,.09);border-radius:22px;background:#fff;box-shadow:0 10px 26px rgba(48,43,31,.06);text-align:center}
.contact-method-title{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:4px;color:#174b35}
.contact-method-title b{padding:4px 8px;border-radius:99px;background:#e8efe1;font-size:9px}
.contact-method-title span{font-size:12px;font-weight:900}
.contact-sheet .wechat-qr{width:min(292px,82%);margin:8px auto 5px;border-radius:16px;box-shadow:none}
.contact-sheet .longpress{font-size:11px;color:#756b5d;line-height:1.55}
.contact-wechat-copy{margin:12px 0 0!important;padding:12px 13px!important;border:1px solid rgba(23,63,42,.09);background:#f2e8d4!important;border-radius:17px!important}
.contact-wechat-copy>div{min-width:0;flex:1}
.contact-wechat-copy span,.contact-wechat-copy strong{display:block}
.contact-wechat-copy span{font-size:10px!important;color:#7b6d59!important}
.contact-wechat-copy strong{margin-top:3px;font-size:20px;overflow-wrap:anywhere}
.contact-wechat-copy button{flex:0 0 auto;padding:10px 13px!important;border-radius:12px!important;font-size:12px}
.contact-copy-warning{margin:8px 3px 0;color:#9b6a25;font-size:10px;line-height:1.55;text-align:center}
.contact-sheet .contact-instruction{margin:11px 2px 0;font-size:12px;color:#5f675f;line-height:1.65;text-align:center}
.contact-sheet .sticker-contact-order{margin:12px 0 0;padding:13px 14px;border-radius:18px;background:#fff1c8;border:1px solid rgba(177,116,36,.12)}
.contact-sheet .sticker-contact-order span{font-size:9px}
.contact-sheet .sticker-contact-order strong{font-size:13px}
.contact-sheet .sticker-contact-order button{width:100%;min-height:43px;font-size:12px}
.contact-must-note{margin:12px 0 8px;padding:12px 13px;border-radius:16px;background:#fff0e4;border:1px solid rgba(181,90,33,.12);text-align:center}
.contact-must-note b,.contact-must-note span{display:block}
.contact-must-note b{color:#9b4d22;font-size:13px}
.contact-must-note span{margin-top:4px;color:#806a5c;font-size:10px;line-height:1.5}
.contact-sticky-bar{
  position:sticky;
  bottom:-1px;
  z-index:6;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px calc(12px + env(safe-area-inset-bottom));
  background:rgba(255,250,240,.97);
  border-top:1px solid rgba(23,63,42,.1);
  box-shadow:0 -12px 32px rgba(40,37,27,.12);
  backdrop-filter:blur(14px);
}
.contact-sticky-bar>div{min-width:0;flex:1}
.contact-sticky-bar small,.contact-sticky-bar strong{display:block}
.contact-sticky-bar small{color:#a46d25;font-size:9px;font-weight:900}
.contact-sticky-bar strong{margin-top:3px;color:#174b35;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.contact-sticky-bar button{flex:0 0 auto;border:0;border-radius:15px;padding:13px 15px;background:#174b35;color:#fff;font-size:12px;font-weight:950;box-shadow:0 9px 22px rgba(23,75,53,.18)}
@media(max-height:760px){
  .contact-sheet-body{padding-top:12px}
  .contact-required-banner{padding:12px 14px}
  .contact-required-banner strong{font-size:18px}
  .contact-progress{margin:10px 0;padding:9px 6px}
  .contact-sheet .wechat-qr{width:min(248px,72%)}
}
@media(max-width:370px){
  .contact-sheet-head{padding-left:16px;padding-right:16px}
  .contact-sheet-body{padding-left:16px;padding-right:16px}
  .contact-required-banner strong{font-size:18px}
  .contact-progress span{font-size:8px}
  .contact-wechat-copy strong{font-size:17px}
  .contact-sticky-bar{padding-left:12px;padding-right:12px}
  .contact-sticky-bar button{padding-left:12px;padding-right:12px}
}


/* =========================================================
   V4.42.7 微信领取页精简：二维码优先
   ========================================================= */
#contactLayer.order-contact-mode .contact-sheet-head{
  padding:16px 20px 12px;
}
#contactLayer.order-contact-mode .contact-head-kicker{
  margin-bottom:2px;
  font-size:9px;
}
#contactLayer.order-contact-mode .contact-sheet-head h2{
  font-size:24px!important;
}
#contactLayer.order-contact-mode .contact-sheet-body{
  padding:12px 20px 4px;
}
#contactLayer.order-contact-mode .contact-required-banner{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:15px;
  background:#fff1c8;
  color:#174b35;
  box-shadow:none;
  border:1px solid rgba(177,116,36,.14);
}
#contactLayer.order-contact-mode .contact-required-badge{
  padding:5px 8px;
  background:#f0bd57;
  font-size:9px;
}
#contactLayer.order-contact-mode .contact-required-banner strong{
  margin:0;
  font-size:15px;
  line-height:1.35;
}
#contactLayer.order-contact-mode .contact-required-banner p{
  display:none;
}
#contactLayer.order-contact-mode .contact-qr-card{
  margin-top:10px;
  padding:10px 12px 12px;
  border-radius:22px;
  box-shadow:0 10px 24px rgba(48,43,31,.06);
}
#contactLayer.order-contact-mode .contact-method-title{
  margin:0 0 2px;
}
#contactLayer.order-contact-mode .contact-method-title span{
  font-size:14px;
  font-weight:950;
}
#contactLayer.order-contact-mode .wechat-qr{
  width:min(320px,92%);
  margin:4px auto 3px;
}
#contactLayer.order-contact-mode .longpress{
  font-size:11px;
  font-weight:800;
  color:#174b35;
}
#contactLayer.order-contact-mode .contact-wechat-copy{
  margin-top:10px!important;
  padding:10px 12px!important;
}
#contactLayer.order-contact-mode .contact-wechat-copy span{
  font-size:9px!important;
}
#contactLayer.order-contact-mode .contact-wechat-copy strong{
  font-size:19px;
}
#contactLayer.order-contact-mode .contact-copy-warning{
  margin:7px 0 0;
  font-size:10px;
  color:#765f3d;
}
#contactLayer.order-contact-mode .contact-instruction{
  display:none!important;
}
#contactLayer.order-contact-mode .sticker-contact-order{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
  padding:10px 11px;
  text-align:left;
}
#contactLayer.order-contact-mode .sticker-contact-order>div{
  min-width:0;
  flex:1;
}
#contactLayer.order-contact-mode .sticker-contact-order span{
  font-size:9px;
}
#contactLayer.order-contact-mode .sticker-contact-order strong{
  margin:3px 0 0;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#contactLayer.order-contact-mode .sticker-contact-order button{
  width:auto;
  min-height:40px;
  flex:0 0 auto;
  padding:9px 12px;
}
#contactLayer.order-contact-mode .contact-must-note{
  margin:9px 0 6px;
  padding:9px 11px;
}
#contactLayer.order-contact-mode .contact-must-note b{
  font-size:12px;
}
#contactLayer.order-contact-mode .contact-must-note span{
  margin-top:2px;
  font-size:9px;
}
#contactLayer.order-contact-mode .contact-sticky-bar{
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
}
#contactLayer.order-contact-mode .contact-sticky-bar button{
  padding:12px 15px;
}
@media(max-height:760px){
  #contactLayer.order-contact-mode .wechat-qr{width:min(270px,80%)}
  #contactLayer.order-contact-mode .contact-must-note{display:none}
}


/* =========================================================
   V4.42.8 微信领取页：去掉重复订单按钮
   ========================================================= */
#contactLayer.order-contact-mode .sticker-contact-order{
  display:block;
  padding:11px 13px;
}
#contactLayer.order-contact-mode .sticker-contact-order>div{
  width:100%;
}
#contactLayer.order-contact-mode .sticker-contact-order span{
  font-size:9px;
}
#contactLayer.order-contact-mode .sticker-contact-order strong{
  display:block;
  margin-top:4px;
  font-size:12px;
}


/* =========================================================
   V4.43.0 三款冬瓜茶 / 统一大杯
   ========================================================= */
.product-size-actions.single-size{grid-template-columns:1fr!important}
.product-size-actions.single-size button,.product-card-actions.single-size button{min-height:48px;font-size:15px;font-weight:950}
.product-card-actions.single-size{grid-template-columns:1fr!important}
.product-featured-single-size .product-taste-note{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff0c8;color:#9a651f;font-weight:900}
.product-category-winter-only{margin-bottom:8px}
.product-showcase-head p{max-width:300px}
