/* 青云惠家业主端 v5
   目标不是继续做“大卡片演示稿”，而是把首页变成真实社区服务入口：
   · 先给业主家的账单、抵扣和下一步动作；
   · 品牌跟随应用图标的墨绿 + 暖金；
   · 降低装饰权重，提升数字、状态和操作的可读性；
   · 保留现有业务逻辑和 DOM 钩子，只覆盖业主端视觉层。 */

body.app-mode[data-app="owner"]{
  --v5-bg:#F3F6F3;
  --v5-surface:#FFFFFF;
  --v5-surface-soft:#F8FAF8;
  --v5-ink:#17231E;
  --v5-muted:#65746D;
  --v5-line:#E4EBE6;
  --v5-green:#087A63;
  --v5-green-deep:#075846;
  --v5-green-soft:#E7F5F0;
  --v5-gold:#E8B34A;
  --v5-gold-soft:#FFF5DD;
  --v5-red:#B54A35;
  --v5-shadow:0 10px 30px rgba(15,61,48,.075);
  --v5-shadow-soft:0 4px 14px rgba(15,61,48,.05);
  --primary:#087A63;
  --primary-act:#087A63;
  --primary-text:#08715D;
  --primary-dark:#065846;
  --primary-soft:#E7F5F0;
  --bg:var(--v5-bg);
  --surface:var(--v5-surface);
  --ink:var(--v5-ink);
  --ink-2:#394A43;
  --muted:var(--v5-muted);
  --line:var(--v5-line);
  --line2:#EEF2EF;
  --r-card:18px;
  --shadow-card:var(--v5-shadow);
  --shadow-soft:var(--v5-shadow-soft);
  color:var(--v5-ink);
  background:
    radial-gradient(420px 260px at 105% -30px,rgba(232,179,74,.13),transparent 68%),
    var(--v5-bg);
}

body.app-mode[data-app="owner"] .phone{
  background:var(--v5-bg);
}

body.app-mode[data-app="owner"] .p-nav{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 42px;
  align-items:center;
  gap:10px;
  min-height:66px;
  padding:calc(9px + env(safe-area-inset-top)) 16px 10px;
  border:0;
  background:rgba(248,250,248,.92);
  box-shadow:0 1px 0 rgba(15,61,48,.045);
  backdrop-filter:blur(18px) saturate(1.15);
}

.v5-nav-mark{
  width:38px; height:38px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; background:linear-gradient(145deg,var(--v5-green),#0B9A7D);
  box-shadow:0 7px 16px rgba(8,122,99,.2);
}
.v5-nav-mark svg{width:23px; height:23px; display:block;}
.v5-nav-copy{min-width:0;}
.v5-nav-copy #navTitle{
  font-size:17px; line-height:1.15; font-weight:750; letter-spacing:-.02em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.v5-nav-sub{
  margin-top:3px; color:var(--v5-muted); font-size:10.5px; line-height:1.2;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.v5-nav-action{
  width:40px; height:40px; padding:0; border:1px solid var(--v5-line);
  border-radius:13px; color:var(--v5-ink); background:rgba(255,255,255,.9);
  display:flex; align-items:center; justify-content:center;
}
.v5-nav-action svg{width:20px; height:20px;}
.v5-nav-action:active{transform:scale(.95);}

body.app-mode[data-app="owner"] .p-body{
  padding:14px 15px calc(92px + env(safe-area-inset-bottom));
  scroll-behavior:smooth;
  min-height:0;
  overscroll-behavior:contain;
}

body.app-mode[data-app="owner"] .p-tab{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:60;
  height:calc(66px + env(safe-area-inset-bottom));
  padding:6px 10px env(safe-area-inset-bottom);
  border-top:1px solid rgba(15,61,48,.065);
  background:rgba(255,255,255,.95);
  box-shadow:0 -10px 28px rgba(15,61,48,.065);
  backdrop-filter:blur(18px);
}

/* 只让内容区滚动，页面本身不滚动。否则安卓 WebView 会把页面外层的
   公司名称/备案号一起滚出来，并让底栏看起来“没固定”。 */
html body.app-mode[data-app="owner"]{
  height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none;
}
body.app-mode[data-app="owner"] .phone-wrap{
  position:fixed;inset:0;width:100%;height:100%;height:100dvh;overflow:hidden;
}
body.app-mode[data-app="owner"] .phone{
  min-height:0;height:100%;height:100dvh;position:relative;
}
body.app-mode[data-app="owner"] .site-footer{display:none!important;}
body.app-mode[data-app="owner"] .p-tab a{
  position:relative; gap:4px; border-radius:16px; font-size:10.5px;
}
body.app-mode[data-app="owner"] .p-tab a svg{width:22px;height:22px;}
body.app-mode[data-app="owner"] .p-tab a.on{color:var(--v5-green);}
body.app-mode[data-app="owner"] .p-tab a.on:before{
  content:""; position:absolute; top:-1px; width:18px; height:3px;
  border-radius:0 0 4px 4px; background:var(--v5-green);
}

body.app-mode[data-app="owner"] .mcard,
body.app-mode[data-app="owner"] .mlist{
  border:1px solid rgba(21,74,58,.075);
  border-radius:18px;
  box-shadow:var(--v5-shadow-soft);
}
body.app-mode[data-app="owner"] .mcard{padding:16px;}
body.app-mode[data-app="owner"] .mcard.hero:after{display:none;}
body.app-mode[data-app="owner"] .mcard.hero{
  background:var(--v5-surface);
  border:1px solid rgba(21,74,58,.075);
  box-shadow:var(--v5-shadow-soft);
}

body.app-mode[data-app="owner"] .btn{
  border-radius:13px; min-height:44px; font-weight:700;
}
body.app-mode[data-app="owner"] .btn.pri{
  background:var(--v5-green); border-color:var(--v5-green);
  box-shadow:0 8px 18px rgba(8,122,99,.2);
}
body.app-mode[data-app="owner"] .btn.ghost{
  color:var(--v5-green); background:var(--v5-green-soft);
}
body.app-mode[data-app="owner"] .chip.on{
  background:var(--v5-green); border-color:var(--v5-green);
}

/* 首页整体 */
.v5-page{
  animation:v5PageIn .26s cubic-bezier(.22,.61,.36,1);
}
@keyframes v5PageIn{from{opacity:.35;transform:translateY(5px);}to{opacity:1;transform:none;}}

.v5-eyebrow{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin:0 2px 10px; color:var(--v5-muted); font-size:11.5px;
}
.v5-eyebrow b{color:var(--v5-green); font-weight:700;}
.v5-pill{
  display:inline-flex; align-items:center; gap:5px; min-height:24px;
  padding:3px 9px; border-radius:999px; font-size:10.5px; font-weight:650;
  color:var(--v5-green); background:var(--v5-green-soft);
}
.v5-pill.gold{color:#74530C;background:var(--v5-gold-soft);}

.v5-home-card{
  position:relative; overflow:hidden; margin-bottom:14px; padding:20px !important;
  color:#fff !important; border:0 !important;
  background:linear-gradient(145deg,#075B49 0%,#087A63 64%,#0D9278 100%) !important;
  box-shadow:0 16px 34px rgba(7,79,62,.2) !important;
}
.v5-home-card:after{
  content:""; position:absolute; right:-70px; top:-72px; width:210px; height:210px;
  border-radius:50%; border:38px solid rgba(255,255,255,.075);
}
.v5-home-card>*{position:relative; z-index:1;}
.v5-home-card .v5-home-place{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  color:rgba(255,255,255,.76); font-size:11.5px;
}
.v5-home-card .v5-home-place b{
  color:#fff; font-size:14px; letter-spacing:.01em;
}
.v5-balance-line{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  margin-top:18px;
}
.v5-balance-line .cap{font-size:11.5px; color:rgba(255,255,255,.72);}
.v5-balance-line .amt{
  margin-top:2px; font-size:34px; line-height:1.05; font-weight:780;
  letter-spacing:-.055em; font-variant-numeric:tabular-nums;
}
.v5-balance-line .amt small{font-size:17px; margin-right:2px; letter-spacing:0;}
.v5-round-action{
  width:48px; height:48px; border:1px solid rgba(255,255,255,.25);
  border-radius:16px; background:rgba(255,255,255,.12); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.v5-round-action svg{width:22px;height:22px;}
.v5-home-stats{
  display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px;
  padding-top:14px; border-top:1px solid rgba(255,255,255,.16);
}
.v5-home-stats span{display:block;color:rgba(255,255,255,.65);font-size:10.5px;}
.v5-home-stats b{display:block;margin-top:2px;font-size:13px;font-weight:650;color:#fff;}

.v5-section-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:18px 2px 9px;
}
.v5-section-head h2{margin:0;font-size:16px;line-height:1.25;letter-spacing:-.02em;}
.v5-section-head a,.v5-section-head button{
  border:0;background:transparent;padding:4px 0;color:var(--v5-green);
  font-size:11.5px;font-weight:650;
}

.v5-actions{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
  margin-bottom:14px;padding:14px 7px 11px;
  border:1px solid rgba(21,74,58,.075);border-radius:18px;background:#fff;
  box-shadow:var(--v5-shadow-soft);
}
.v5-action{
  border:0;background:transparent;padding:3px 0;color:var(--v5-ink);
  display:flex;flex-direction:column;align-items:center;gap:7px;
  font-size:11px;font-weight:620;
}
.v5-action:active{transform:scale(.96);}
.v5-action-icon{
  width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  color:var(--v5-green);background:var(--v5-green-soft);
}
.v5-action:nth-child(2) .v5-action-icon{color:#875A00;background:var(--v5-gold-soft);}
.v5-action:nth-child(3) .v5-action-icon{color:#385E78;background:#EDF4F8;}
.v5-action:nth-child(4) .v5-action-icon{color:#8A4C35;background:#FAEFE9;}
.v5-action-icon svg{width:21px;height:21px;}

.v5-save-strip{
  position:relative;overflow:hidden;padding:17px !important;
  color:#fff !important;border:0 !important;
  background:linear-gradient(125deg,#292C2A 0%,#3B403C 100%) !important;
  box-shadow:0 12px 26px rgba(25,29,27,.16) !important;
}
.v5-save-strip .v5-save-row{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.v5-save-strip h2{margin:0;font-size:16px;}
.v5-save-strip p{margin:5px 0 0;color:rgba(255,255,255,.66);font-size:11.5px;line-height:1.55;}
.v5-save-strip button{
  min-width:80px;height:38px;border:0;border-radius:11px;
  color:#3D2B08;background:var(--v5-gold);font-weight:750;font-size:12px;
}

.v5-channel-rail{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  gap:17px 4px;padding:18px 9px 17px;
  border:1px solid rgba(21,74,58,.07);border-radius:20px;background:#fff;
  box-shadow:var(--v5-shadow-soft);
}
.v5-channel-tile{
  min-width:0;border:0;background:transparent;padding:0;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:7px;
}
.v5-channel-tile:active{transform:scale(.94);}
.v5-channel-logo{
  width:46px;height:46px;margin:0 auto;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;background:var(--v5-green-soft);
  font-size:14px;font-weight:780;letter-spacing:-.03em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 5px 12px rgba(31,54,45,.12);
}
.v5-channel-tile b{
  display:block;max-width:100%;font-size:10.5px;line-height:1.3;font-weight:600;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.v5-channel-tile span{display:block;}

.v5-timeline.mlist{border:0;box-shadow:none;background:transparent;margin:0;}
.v5-timeline .mrow{
  margin-bottom:7px;padding:13px 14px !important;border:1px solid rgba(21,74,58,.06);
  border-radius:14px;background:#fff;box-shadow:var(--v5-shadow-soft);
}
.v5-timeline .mrow:last-child{margin-bottom:0;}
.v5-timeline .right b{font-size:13px;font-variant-numeric:tabular-nums;}

.v5-notice{
  display:flex;gap:10px;align-items:flex-start;padding:13px 14px;
}
.v5-notice .dot{
  flex:0 0 7px;width:7px;height:7px;margin-top:7px;border-radius:50%;
  background:var(--v5-gold);
}

/* 游客首页 */
.v5-guest-hero{
  position:relative;overflow:hidden;padding:24px 20px 20px;margin-bottom:14px;
  border-radius:22px;color:#fff;
  background:
    radial-gradient(180px 140px at 100% 0,rgba(232,179,74,.38),transparent 70%),
    linear-gradient(145deg,#064F40 0%,#087A63 72%,#0C9276 100%);
  box-shadow:0 18px 38px rgba(7,88,70,.2);
}
.v5-guest-hero .tag{
  display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;
  color:#FCE7AB;background:rgba(255,255,255,.12);font-size:10.5px;font-weight:650;
}
.v5-guest-hero h1{
  margin:18px 0 0;font-size:27px;line-height:1.28;letter-spacing:-.045em;font-weight:780;
}
.v5-guest-hero h1 em{font-style:normal;color:#FFE09A;}
.v5-guest-hero p{margin:9px 0 0;color:rgba(255,255,255,.72);font-size:12px;line-height:1.65;}
.v5-guest-cta{
  display:flex;gap:9px;margin-top:18px;
}
.v5-guest-cta .main{
  flex:1;height:44px;border:0;border-radius:13px;background:#fff;color:var(--v5-green-deep);
  font-size:13px;font-weight:760;
}
.v5-guest-cta .sub{
  min-width:104px;height:44px;border:1px solid rgba(255,255,255,.23);border-radius:13px;
  background:rgba(255,255,255,.09);color:#fff;font-size:12px;font-weight:650;
}
.v5-guest-note{
  display:flex;align-items:center;gap:6px;margin-top:13px;
  color:rgba(255,255,255,.54);font-size:10.5px;
}
.v5-guest-note svg{width:14px;height:14px;}

.v5-value-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;
}
.v5-value{
  padding:13px 9px;border-radius:14px;background:#fff;border:1px solid var(--v5-line);
  text-align:center;box-shadow:var(--v5-shadow-soft);
}
.v5-value b{display:block;font-size:15px;color:var(--v5-green);}
.v5-value span{display:block;margin-top:2px;color:var(--v5-muted);font-size:10px;}

/* 未绑定 */
.v5-setup-hero{
  padding:20px;border-radius:20px;color:#fff;
  background:linear-gradient(145deg,#173F35,#0A725D);
  box-shadow:0 16px 34px rgba(7,88,70,.17);margin-bottom:14px;
}
.v5-steps{display:flex;gap:6px;margin-bottom:18px;}
.v5-steps span{height:4px;flex:1;border-radius:99px;background:rgba(255,255,255,.18);}
.v5-steps span.on{background:var(--v5-gold);}
.v5-setup-hero .kicker{color:#FFE09A;font-size:11px;font-weight:700;letter-spacing:.04em;}
.v5-setup-hero h1{margin:7px 0 0;font-size:24px;line-height:1.25;letter-spacing:-.035em;}
.v5-setup-hero p{margin:8px 0 0;color:rgba(255,255,255,.7);font-size:12px;line-height:1.65;}
.v5-setup-points{display:flex;gap:12px;margin-top:16px;color:rgba(255,255,255,.82);font-size:10.5px;}
.v5-setup-points span{display:flex;align-items:center;gap:5px;}
.v5-setup-points i{width:5px;height:5px;border-radius:50%;background:var(--v5-gold);}
.v5-choice{
  border:1px solid var(--v5-line);border-radius:16px;background:#fff;
  padding:16px;margin-bottom:11px;box-shadow:var(--v5-shadow-soft);
}
.v5-choice h3{margin:0;font-size:15px;}
.v5-choice p{margin:5px 0 13px;color:var(--v5-muted);font-size:11.5px;line-height:1.65;}
.v5-choice details{margin-top:10px;}
.v5-choice summary{cursor:pointer;color:var(--v5-green);font-size:12px;font-weight:650;}
.v5-utility{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px;}
.v5-utility button{
  min-height:64px;border:1px solid var(--v5-line);border-radius:15px;background:#fff;
  color:var(--v5-ink);display:flex;align-items:center;gap:10px;padding:10px 12px;
  text-align:left;font-size:12px;font-weight:650;box-shadow:var(--v5-shadow-soft);
}
.v5-utility svg{width:22px;height:22px;color:var(--v5-green);flex:0 0 22px;}

/* 省钱页与缴费页 */
.v5-page-intro{
  margin-bottom:13px;padding:2px 2px 0;
}
.v5-page-intro .tag{color:var(--v5-green);font-size:11px;font-weight:700;letter-spacing:.04em;}
.v5-page-intro h1{margin:4px 0 0;font-size:25px;line-height:1.28;letter-spacing:-.04em;}
.v5-page-intro p{margin:5px 0 0;color:var(--v5-muted);font-size:12px;line-height:1.6;}
.v5-search-shell{
  display:flex;align-items:center;gap:9px;height:48px;margin:14px 0 10px;
  border:1px solid var(--v5-line);border-radius:15px;background:#fff;
  box-shadow:var(--v5-shadow-soft);padding:0 14px;
}
.v5-search-shell svg{width:19px;height:19px;color:var(--v5-green);flex:0 0 19px;}
.v5-search-shell input{
  height:100%;border:0!important;padding:0!important;box-shadow:none!important;background:transparent;
  font-size:15px;
}
.v5-shop-status{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 12px;border-radius:13px;background:var(--v5-green-soft);
  color:var(--v5-green);font-size:11px;font-weight:600;
}

.v5-shop-heading{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
  margin:1px 2px 12px;
}
.v5-shop-heading>div{min-width:0;}
.v5-shop-heading span{
  display:block;color:var(--v5-green);font-size:10px;font-weight:750;letter-spacing:.05em;
}
.v5-shop-heading h1{
  margin:4px 0 0;font-size:22px;line-height:1.2;letter-spacing:-.04em;
}
.v5-shop-heading>b{
  flex:0 0 auto;padding:4px 9px;border-radius:999px;color:var(--v5-green);
  background:var(--v5-green-soft);font-size:9.5px;font-weight:700;
}
.v5-guest-save-note{
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;
  min-height:52px;margin:0 0 11px;padding:9px 12px;border:1px solid #DDEBE5;
  border-radius:14px;background:linear-gradient(135deg,#F7FBF9,#EDF7F3);
  color:var(--v5-ink);text-align:left;
}
.v5-guest-save-note span{display:block;min-width:0;}
.v5-guest-save-note b{display:block;font-size:11.5px;}
.v5-guest-save-note small{display:block;margin-top:2px;color:var(--v5-muted);font-size:9.5px;}
.v5-guest-save-note em{flex:0 0 auto;color:var(--v5-green);font-size:10.5px;font-style:normal;font-weight:750;}

/* 真实商品频道：首页不给假商品，卡片、状态和重试都以真实接口为准 */
.v5-deal-card{
  margin-top:2px;padding:15px;border:1px solid rgba(21,74,58,.075);
  border-radius:20px;background:#fff;box-shadow:var(--v5-shadow);
}
.v5-deal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.v5-deal-head h2{margin:4px 0 0;font-size:19px;line-height:1.2;letter-spacing:-.03em;}
.v5-deal-head>span{
  flex:0 0 auto;margin-top:3px;padding:4px 8px;border-radius:999px;
  color:var(--v5-green);background:var(--v5-green-soft);font-size:9.5px;font-weight:650;
}
.v5-deal-kicker{color:var(--v5-green);font-size:9.5px;font-weight:750;letter-spacing:.055em;}
.v5-deal-tabs{
  display:flex;gap:7px;overflow-x:auto;margin:14px -2px 0;padding:2px 2px 5px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.v5-deal-tabs::-webkit-scrollbar{display:none;}
.v5-deal-tab{
  flex:0 0 auto;height:32px;padding:0 12px;border:1px solid var(--v5-line);
  border-radius:10px;background:#fff;color:var(--v5-muted);font-size:10.5px;font-weight:650;
}
.v5-deal-tab.on{color:#fff;border-color:var(--v5-green);background:var(--v5-green);}
.v5-deal-search{
  display:flex;align-items:center;gap:7px;height:40px;margin-top:7px;padding:0 5px 0 10px;
  border-radius:12px;background:var(--v5-surface-soft);border:1px solid #EDF1EE;
}
.v5-deal-search svg{width:16px;height:16px;color:var(--v5-muted);flex:0 0 16px;}
.v5-deal-search input{
  flex:1;min-width:0;height:100%;border:0!important;padding:0!important;
  background:transparent!important;box-shadow:none!important;font-size:12px;
}
.v5-deal-search button{
  flex:0 0 auto;height:30px;padding:0 11px;border:0;border-radius:9px;
  color:var(--v5-green);background:#fff;font-size:10.5px;font-weight:750;
  box-shadow:0 1px 4px rgba(15,61,48,.08);
}
.v5-deal-quick{display:flex;gap:7px;overflow-x:auto;margin-top:8px;scrollbar-width:none;}
.v5-deal-quick::-webkit-scrollbar{display:none;}
.v5-deal-quick button{
  flex:1 0 auto;height:30px;padding:0 11px;border:1px solid #F0E6CD;border-radius:9px;
  color:#765510;background:var(--v5-gold-soft);font-size:9.5px;font-weight:700;
}
.v5-deal-acts{
  display:flex;gap:8px;overflow-x:auto;margin:11px -1px 0;padding-bottom:3px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.v5-deal-acts::-webkit-scrollbar{display:none;}
.v5-deal-acts button{
  flex:0 0 112px;min-width:0;padding:0;border:0;border-radius:11px;overflow:hidden;
  color:var(--v5-ink);background:var(--v5-surface-soft);text-align:left;
}
.v5-deal-acts img{display:block;width:100%;height:62px;object-fit:cover;background:#EEF2EF;}
.v5-deal-acts span{
  display:-webkit-box;padding:7px 8px 8px;overflow:hidden;font-size:10px;line-height:1.4;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.v5-deal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px;}
.v5-deal-item{
  min-width:0;padding:0;border:1px solid #EDF1EE;border-radius:14px;
  color:var(--v5-ink);background:#fff;overflow:hidden;text-align:left;
  box-shadow:0 3px 10px rgba(15,61,48,.04);
}
.v5-deal-item:active{transform:scale(.985);}
.v5-deal-item.busy{opacity:.65;}
.v5-deal-img{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:100%;aspect-ratio:1/1;background:linear-gradient(145deg,#F7FAF8,#EEF3F0);overflow:hidden;
}
.v5-deal-img img{width:100%;height:100%;object-fit:cover;display:block;}
.v5-deal-img>b{font-size:28px;color:#9FB2AA;}
.v5-deal-img>i{
  position:absolute;left:6px;top:6px;padding:2px 6px;border-radius:6px;
  color:#fff;background:rgba(23,35,30,.72);font-size:8.5px;font-style:normal;font-weight:700;
}
.v5-deal-copy{display:block;padding:9px 9px 10px;}
.v5-deal-copy>b{
  display:-webkit-box;min-height:33px;overflow:hidden;font-size:11.5px;line-height:1.42;font-weight:600;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.v5-deal-price{display:flex;align-items:baseline;gap:5px;margin-top:6px;color:var(--v5-red);}
.v5-deal-price strong{font-size:16px;line-height:1;font-weight:780;letter-spacing:-.03em;font-variant-numeric:tabular-nums;}
.v5-deal-price del{color:#9AA7A1;font-size:9.5px;}
.v5-deal-back{display:block;margin-top:6px;color:var(--v5-muted);font-size:9.5px;}
.v5-deal-back b{color:var(--v5-green);font-size:11.5px;font-weight:750;}
.v5-deal-copy>em{
  display:block;margin-top:5px;overflow:hidden;color:#93A099;font-size:8.5px;font-style:normal;
  white-space:nowrap;text-overflow:ellipsis;
}
.v5-deal-more{
  display:block;width:100%;height:38px;margin-top:11px;border:1px solid var(--v5-line);
  border-radius:11px;color:var(--v5-green);background:#fff;font-size:11px;font-weight:700;
}
.v5-deal-note{margin-top:10px;color:#8A9891;font-size:9px;line-height:1.6;text-align:center;}
.v5-deal-loading{
  grid-column:1/-1;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;color:var(--v5-muted);font-size:11px;
}
.v5-deal-loading i{
  width:24px;height:24px;border:2px solid #DCE8E2;border-top-color:var(--v5-green);
  border-radius:50%;animation:v5Spin .8s linear infinite;
}
@keyframes v5Spin{to{transform:rotate(360deg);}}
.v5-deal-empty{
  grid-column:1/-1;min-height:160px;padding:22px 16px;border-radius:14px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  background:var(--v5-surface-soft);color:var(--v5-muted);
}
.v5-deal-empty b{color:var(--v5-ink);font-size:13px;}
.v5-deal-empty span{max-width:250px;margin-top:5px;font-size:10.5px;line-height:1.55;}
.v5-deal-empty button{
  min-height:32px;margin-top:12px;padding:0 13px;border:0;border-radius:9px;
  color:#fff;background:var(--v5-green);font-size:10.5px;font-weight:700;
}
.v5-deal-empty.error{background:#FFF7F3;}
.v5-deal-empty.error b{color:var(--v5-red);}

.v5-platform-rail{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;
}
.v5-platform-pill{
  min-width:0;padding:10px 5px 8px;border:1px solid var(--v5-line);border-radius:14px;
  background:#fff;color:var(--v5-ink);display:flex;flex-direction:column;align-items:center;gap:5px;
  box-shadow:var(--v5-shadow-soft);
}
.v5-platform-pill.off{opacity:.52;}
.v5-platform-pill i{
  width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;
  font-size:10px;font-style:normal;font-weight:750;
}
.v5-platform-pill b{max-width:100%;overflow:hidden;font-size:10px;white-space:nowrap;text-overflow:ellipsis;}
.v5-platform-pill small{color:var(--v5-muted);font-size:8.5px;}
.v5-picker-intro{
  margin:-2px 0 13px;color:var(--v5-muted);font-size:11px;line-height:1.55;
}
.v5-picker-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;
}
.v5-picker-grid .v5-platform-pill{padding:12px 5px 10px;}
.v5-shop-footnote{
  margin-top:12px;padding:0 6px 4px;color:#8A9891;font-size:9.5px;line-height:1.65;text-align:center;
}

.v5-money-card{
  padding:20px!important;margin-bottom:14px;border:0!important;border-radius:20px!important;
  color:#fff!important;background:linear-gradient(145deg,#17473B,#087A63)!important;
  box-shadow:0 15px 30px rgba(7,88,70,.18)!important;
}
.v5-money-card .lab{color:rgba(255,255,255,.66)!important;font-size:11.5px!important;}
.v5-money-card .big{font-size:36px!important;color:#fff!important;font-weight:780!important;}
.v5-money-card .small,.v5-money-card .mut{color:rgba(255,255,255,.7)!important;}
.v5-money-card .bar{background:rgba(255,255,255,.16);}
.v5-money-card .bar i{background:var(--v5-gold);}

/* 我的 */
.v5-profile{
  position:relative;overflow:hidden;padding:18px!important;margin-bottom:12px;
  border:1px solid rgba(21,74,58,.07)!important;border-radius:19px!important;
  background:linear-gradient(135deg,#FFFFFF,#F5FAF7 70%,#FFF8E8)!important;
  box-shadow:var(--v5-shadow)!important;
}
.v5-profile-main{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.v5-profile-person{display:flex;align-items:center;gap:12px;min-width:0;}
.v5-avatar{
  width:52px;height:52px;flex:0 0 52px;border-radius:17px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;background:linear-gradient(145deg,#087A63,#0B9278);
  font-size:20px;font-weight:750;box-shadow:0 8px 16px rgba(8,122,99,.18);
}
.v5-profile-name{font-size:17px;font-weight:750;line-height:1.25;}
.v5-profile-address{margin-top:4px;color:var(--v5-muted);font-size:11px;line-height:1.45;}
.v5-profile-metrics{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px;
  padding-top:14px;border-top:1px solid var(--v5-line);
}
.v5-profile-metrics div{text-align:left;}
.v5-profile-metrics span{display:block;color:var(--v5-muted);font-size:10px;}
.v5-profile-metrics b{display:block;margin-top:2px;font-size:14px;font-variant-numeric:tabular-nums;}

.v5-my-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;}
.v5-my-actions a{
  display:flex;flex-direction:column;align-items:center;gap:7px;padding:9px 2px;
  color:var(--v5-ink);font-size:10.5px;
}
.v5-my-actions a i{
  width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:var(--v5-surface-soft);color:var(--v5-green);font-style:normal;font-size:16px;
}

body.app-mode[data-app="owner"] .note{
  border:0;border-radius:14px;box-shadow:none;
}
body.app-mode[data-app="owner"] .note.mut{background:#EEF2EF;color:var(--v5-muted);}
body.app-mode[data-app="owner"] .note.info{background:#EDF5F2;color:#315F51;}
body.app-mode[data-app="owner"] .note.warn{background:#FFF5DD;color:#6D531C;}
body.app-mode[data-app="owner"] .note.ok{background:#E8F6EF;color:#14664E;}
body.app-mode[data-app="owner"] .note.dan{background:#FAEEE9;color:#8B4131;}

body.app-mode[data-app="owner"] .search-input{
  border-radius:14px;box-shadow:none;background:#F7F9F7;
}
body.app-mode[data-app="owner"] .modal{border-radius:20px;}
body.app-mode[data-app="owner"] #toast{background:rgba(23,35,30,.94);}

@media(max-width:360px){
  .v5-guest-hero{padding:20px 17px 17px;}
  .v5-guest-hero h1{font-size:24px;}
  .v5-home-card{padding:17px!important;}
  .v5-balance-line .amt{font-size:30px;}
  .v5-actions{gap:2px;padding-left:2px;padding-right:2px;}
  .v5-action-icon{width:37px;height:37px;}
  .v5-channel-rail{gap:15px 2px;padding-left:6px;padding-right:6px;}
  .v5-channel-logo{width:42px;height:42px;border-radius:13px;font-size:13px;}
  .v5-channel-tile b{font-size:9.5px;}
  .v5-value{padding:11px 5px;}
}

@media(prefers-reduced-motion:reduce){
  .v5-page{animation:none;}
}
