:root {
  --orange: #FF7A16;
  --orange-2: #FF8E2A;
  --deep: #E86300;
  --cream: #FFF6F0;
  --cream-2: #FFF1E6;
  --ink: #2C2118;
  --sub: #8D7568;
  --line: #F3E4D8;
  --card: #fff;
  --green: #1F9D55;
  --safe-b: env(safe-area-inset-bottom);
  --safe-t: env(safe-area-inset-top);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background:
    radial-gradient(900px 420px at 10% -10%, #FFE0C2, transparent 50%),
    #F3D7C2;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
input, textarea { outline: none; border: 0; background: transparent; width: 100%; }
img { display: block; max-width: 100%; }
.boom {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 99;
  background: #3a1210; color: #fff; padding: 12px; border-radius: 10px; white-space: pre-wrap;
}
.stage { min-height: 100%; display: flex; }
.brief { width: 280px; flex: none; padding: 28px 22px 40px; }
.mark {
  width: 48px; height: 48px; border-radius: 16px; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-size: 26px; font-weight: 800;
  box-shadow: 0 10px 20px rgba(255, 122, 22, .35);
}
.brief h1 { margin: 14px 0 0; font-size: 32px; letter-spacing: .12em; }
.brief .en { margin: 2px 0 0; letter-spacing: .22em; font-size: 11px; color: var(--sub); }
.brief .lead { margin: 14px 0 0; color: #5c4638; font-size: 13px; line-height: 1.7; }
.brief h2 { margin: 22px 0 8px; font-size: 12px; letter-spacing: .14em; color: var(--sub); }
.jumps { display: flex; flex-wrap: wrap; gap: 6px; }
.jumps button {
  border: 1px solid rgba(120, 60, 20, .16); background: rgba(255, 250, 246, .72);
  border-radius: 999px; padding: 5px 10px; font-size: 12px;
}
.jumps button:hover { border-color: var(--orange); color: var(--deep); }
.brief .foot { margin-top: 22px; font-size: 12px; color: var(--sub); line-height: 1.6; }
.phone-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.phone {
  width: 390px; height: 844px; background: #1a120e; border-radius: 42px; padding: 10px;
  box-shadow: 0 30px 70px rgba(80, 36, 8, .28);
}
.screen {
  height: 100%; border-radius: 32px; overflow: hidden; background: var(--cream);
  position: relative; display: flex; flex-direction: column;
}
.screen.orange { background: #FF7A16; }

.wx { flex: none; position: relative; z-index: 6; background: var(--cream); color: var(--ink); }
.wx.light { background: transparent; color: #fff; }
.wx.float {
  position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,0));
  color: #fff;
}
.wx-status, .wx-nav { display: flex; align-items: center; }
.wx-status {
  height: 28px; padding: 8px 16px 0 20px; justify-content: space-between;
  font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.wx-sys { display: flex; align-items: center; gap: 5px; }
.wx-sys svg { display: block; }
.wx-nav { height: 44px; position: relative; }
.wx-back, .wx-side, .wx-bell {
  width: 44px; height: 44px; display: grid; place-items: center; position: relative; z-index: 2; color: inherit;
}
.wx-bell { position: absolute; right: 98px; top: 0; width: 40px; }
.wx-bell .dot {
  position: absolute; top: 8px; right: 6px; min-width: 14px; height: 14px; padding: 0 3px;
  border-radius: 8px; background: #FF3B30; color: #fff; font-size: 9px; line-height: 14px; text-align: center; font-style: normal;
}
.wx-title {
  position: absolute; left: 88px; right: 104px; text-align: center;
  font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wx-loc {
  position: relative; z-index: 2; margin-left: 14px; display: flex; align-items: center; gap: 4px;
  font-size: 18px; font-weight: 800; max-width: 168px; color: #1a1a1a;
}
.wx-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret {
  width: 0; height: 0; flex: none;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .85;
}
.wx-capsule {
  position: absolute; right: 8px; top: 6px; width: 87px; height: 32px; border-radius: 16px;
  display: flex; align-items: center; z-index: 7;
  border: 1px solid rgba(0,0,0,.12); background: rgba(255,255,255,.88); color: #1a1a1a;
}
.wx-capsule button { flex: 1; height: 100%; display: grid; place-items: center; color: inherit; }
.wx-capsule button:first-of-type { border-radius: 16px 0 0 16px; }
.wx-capsule button:last-of-type { border-radius: 0 16px 16px 0; }
.wx-capsule button:active { background: rgba(0,0,0,.06); }
.wx-split { width: 1px; height: 18px; background: rgba(0,0,0,.16); }
.wx-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 168px;
  background: #fff; color: var(--ink); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(80, 30, 0, .18); padding: 6px;
}
.wx-menu button { display: block; width: 100%; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.wx-menu button:active { background: var(--cream); }

.body { flex: 1; min-height: 0; overflow: auto; background: var(--cream); }
.body::-webkit-scrollbar { width: 0; }
.toast {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(8px);
  background: rgba(40, 24, 12, .9); color: #fff; border-radius: 999px; padding: 8px 14px;
  font-size: 13px; opacity: 0; pointer-events: none; transition: .2s; z-index: 30; white-space: nowrap;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  height: 48px; border-radius: 24px; background: linear-gradient(180deg, #FF8E2A, #FF6E0A);
  color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .04em;
  box-shadow: 0 8px 16px rgba(255, 110, 10, .28);
}
.btn:active { transform: scale(.98); }
.btn.ghost { background: #fff; color: var(--orange); box-shadow: none; border: 1.5px solid #FFD0AE; }
.btn.block { width: 100%; }
.btn.off { opacity: .45; box-shadow: none; }
.mini {
  display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px;
  border-radius: 15px; border: 1px solid #FFC79A; color: var(--orange); font-weight: 700; font-size: 12px; background: #fff;
}

.splash { min-height: 100%; position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.splash-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(280px 180px at 88% 18%, rgba(255,255,255,.35), transparent 70%),
    radial-gradient(220px 160px at 0% 40%, rgba(255,196,110,.45), transparent 70%),
    linear-gradient(180deg, #FFB14A 0%, #FF7A16 46%, #FF9340 100%);
}
.skyline {
  position: absolute; left: 0; right: 0; bottom: 118px; height: 70px; opacity: .18;
  background:
    linear-gradient(#fff, #fff) 8% 100% / 18px 28px no-repeat,
    linear-gradient(#fff, #fff) 18% 100% / 26px 46px no-repeat,
    linear-gradient(#fff, #fff) 30% 100% / 14px 22px no-repeat,
    linear-gradient(#fff, #fff) 42% 100% / 34px 58px no-repeat,
    linear-gradient(#fff, #fff) 58% 100% / 20px 36px no-repeat,
    linear-gradient(#fff, #fff) 70% 100% / 28px 50px no-repeat,
    linear-gradient(#fff, #fff) 84% 100% / 16px 26px no-repeat;
}
.splash-copy { position: relative; z-index: 2; padding: 8px 22px 0; }
.splash-copy h1 { margin: 0; font-size: 34px; line-height: 1.25; font-weight: 800; letter-spacing: .02em; text-shadow: 0 2px 0 rgba(180,70,0,.12); }
.splash-copy .sub { margin: 10px 0 0; font-size: 14px; opacity: .95; }
.spark { margin: 16px 0 0; font-size: 15px; font-weight: 700; line-height: 1.55; }
.splash-food {
  position: absolute; z-index: 1; right: -30px; top: 196px; width: 280px; height: 230px;
  object-fit: cover; border-radius: 36px; transform: rotate(-8deg);
  box-shadow: 0 18px 40px rgba(140, 50, 0, .28); border: 4px solid rgba(255,255,255,.35);
}
.splash-cup {
  position: absolute; z-index: 2; left: 22px; top: 300px; width: 108px; height: 108px;
  object-fit: cover; border-radius: 50%; border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(120, 40, 0, .25);
}
.splash-bottom { position: relative; z-index: 3; margin-top: auto; padding: 0 18px 22px; }
.loc-card {
  width: 100%; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.96); color: #6a5144; border-radius: 18px;
  padding: 14px 14px; margin-bottom: 12px; box-shadow: 0 10px 24px rgba(160, 60, 0, .12);
  font-weight: 700;
}
.pin {
  width: 36px; height: 36px; border-radius: 12px; background: #FFF1E4; color: var(--orange);
  display: grid; place-items: center; flex: none;
}

.login { padding: 18px 22px 30px; }
.cup-logo { width: 84px; height: 84px; margin: 18px auto 8px; color: var(--orange); }
.login h2 { text-align: center; margin: 8px 0 22px; font-size: 22px; }
.field {
  height: 48px; background: #fff; border-radius: 24px; border: 1px solid #F0E0D4;
  display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(120, 60, 20, .03);
}
.field input { font-size: 15px; }
.field .code {
  flex: none; height: 34px; padding: 0 12px; border-radius: 17px; background: #FFF1E6; color: var(--orange); font-weight: 800; font-size: 13px;
}
.agree { display: flex; align-items: flex-start; gap: 8px; color: var(--sub); font-size: 12px; line-height: 1.5; margin: 8px 4px 18px; }
.box {
  width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #E2CBBA; flex: none; margin-top: 1px;
  display: grid; place-items: center;
}
.box.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.agree .link { color: var(--orange); font-weight: 700; }

.pad { padding: 12px 14px 24px; }
.cur-addr {
  background: #fff; border-radius: 16px; padding: 14px; display: flex; gap: 10px; align-items: center;
  box-shadow: 0 8px 20px rgba(120, 50, 10, .05);
}
.cur-addr b { display: block; font-size: 12px; color: var(--sub); font-weight: 600; }
.cur-addr strong { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; }
.cur-addr .mini { margin-left: auto; }
.pick {
  margin-top: 12px; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 20px rgba(120, 50, 10, .04);
}
.pick button, .pick label {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px;
  border-bottom: 1px solid var(--line); min-height: 64px;
}
.pick > button:last-child, .pick > label:last-child { border-bottom: 0; }
.pick .pair { display: flex; }
.pick .pair label { flex: 1; min-width: 0; border-bottom: 0; }
.pick .pair label + label { border-left: 1px solid var(--line); }
.ico {
  width: 32px; height: 32px; border-radius: 10px; background: #FFF1E6; color: var(--orange);
  display: grid; place-items: center; flex: none;
}
.pick small { display: block; color: var(--sub); font-size: 12px; }
.pick b { font-size: 15px; }
.pick input { font-size: 15px; font-weight: 700; }
.gap { height: 18px; }

.search {
  margin: 4px 14px 0; height: 40px; border-radius: 20px; background: #fff;
  display: flex; align-items: center; gap: 8px; padding: 0 14px; color: #B7A498;
  border: 1px solid #F6E7DC;
}
.search input { color: var(--ink); font-size: 14px; }
.banner {
  margin: 12px 14px 0; min-height: 92px; border-radius: 18px; overflow: hidden; position: relative;
  background: linear-gradient(100deg, #FF8A1E, #FF5E00); color: #fff; display: flex; align-items: center;
  padding: 14px 96px 14px 16px; box-shadow: 0 10px 20px rgba(255, 110, 10, .25); text-align: left;
}
.banner.fill {
  width: 100%; margin: 10px 0 0; border-radius: 0; min-height: 118px;
  padding: 22px 118px 22px 18px; box-shadow: none;
}
.banner-copy { position: relative; z-index: 1; min-width: 0; }
.banner b { display: block; font-size: 20px; line-height: 1.2; }
.banner span { display: block; margin-top: 4px; font-size: 13px; opacity: .95; }
.gift {
  position: absolute; right: 16px; top: 16px; width: 64px; height: 64px;
  background: linear-gradient(180deg, #FFD36A, #FF9A1E); border-radius: 12px;
  box-shadow: inset 0 0 0 6px #FFF6D8, 0 8px 16px rgba(120,40,0,.15);
}
.gift:before, .gift:after {
  content: ""; position: absolute; background: #FFE7A2;
}
.gift:before { left: 28px; top: -6px; bottom: -6px; width: 8px; }
.gift:after { top: 26px; left: -6px; right: -6px; height: 8px; }
.bow {
  position: absolute; left: 18px; top: -10px; width: 28px; height: 16px; border: 4px solid #FFE7A2; border-bottom: 0; border-radius: 14px 14px 0 0;
}
.entries { display: grid; grid-template-columns: repeat(4, 1fr); padding: 16px 8px 6px; }
.entries button { min-width: 0; text-align: center; font-size: 12px; font-weight: 700; color: #5c4638; }
.bubble {
  width: 52px; height: 52px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 14px rgba(255, 122, 22, .22);
}
.bubble.a { background: linear-gradient(180deg, #FFB15A, #FF7A16); }
.bubble.b { background: linear-gradient(180deg, #FFB067, #FF8A2A); }
.bubble.c { background: linear-gradient(180deg, #FF8D9A, #FF5D6C); }
.bubble.d { background: linear-gradient(180deg, #FF9BB8, #FF6E93); }
.sec-title { padding: 8px 16px 0; font-size: 16px; font-weight: 800; }
.chips { display: flex; gap: 8px; padding: 10px 14px; overflow: auto; }
.chips::-webkit-scrollbar { height: 0; }
.chips button {
  flex: none; height: 30px; padding: 0 12px; border-radius: 15px; background: #fff; color: #7c675c; font-size: 13px;
  border: 1px solid #F3E4D8;
}
.chips button.on { background: #FFF1E6; color: var(--orange); border-color: #FFD2B0; font-weight: 800; }
.ship-loc {
  width: 100%; display: flex; align-items: flex-start; gap: 6px;
  padding: 8px 14px 0; text-align: left; color: var(--ink);
}
.ship-loc .pin {
  width: 22px; height: 22px; border-radius: 11px; background: #FFF1E6; color: var(--orange);
}
.ship-loc em { font-style: normal; color: var(--orange); font-weight: 800; font-size: 12px; flex: none; }
.ship-loc b { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; white-space: normal; }
.ship-loc .go { flex: none; color: #B7A498; font-weight: 700; }
.mt-filters {
  display: flex; align-items: stretch; background: #fff; margin-top: 8px;
  border-bottom: 1px solid #F3E4D8;
}
.mt-filters button {
  flex: 1; min-width: 0; height: 42px; display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: #333;
}
.mt-filters button.on { color: var(--orange); }
.mt-drop { display: flex; gap: 8px; padding: 8px 12px 12px; background: #fff; }
.mt-drop button {
  flex: 1; height: 34px; border-radius: 8px; background: #F6F6F6; text-align: center; font-size: 13px; color: #333;
}
.mt-drop button.on { background: #FFF1E6; color: var(--orange); font-weight: 800; }
.shop-card {
  width: calc(100% - 28px); margin: 0 14px 10px; background: #fff; border-radius: 16px; padding: 10px;
  display: flex; gap: 10px; text-align: left; box-shadow: 0 8px 18px rgba(120, 50, 10, .05);
}
.shop-card img, .thumb {
  width: 78px; height: 78px; border-radius: 12px; object-fit: cover; flex: none; background: #FFF1E4;
}
.shop-main { flex: 1; min-width: 0; }
.shop-top, .addr-bar, .row, .oc-top, .line, .entries, .shop-card, .shop-main, .sumbar, .cartbar { min-width: 0; }
.shop-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.shop-top b { font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-top em { color: var(--orange); font-style: normal; font-weight: 800; font-size: 13px; flex: none; }
.tags { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.tags i {
  font-style: normal; font-size: 10px; color: #C06A2A; background: #FFF3E8; border-radius: 4px; padding: 1px 4px;
}
.meta { margin-top: 6px; color: var(--sub); font-size: 12px; display: flex; gap: 10px; }
.hits { padding: 0 14px 8px; }
.hit {
  width: 100%; display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 12px;
  padding: 8px; margin-bottom: 8px;
}
.hit img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.hit b { display: block; }
.hit small { color: var(--sub); }
.hit em { margin-left: auto; color: var(--orange); font-style: normal; font-weight: 800; }
.empty { text-align: center; color: var(--sub); padding: 28px 20px; }

.hero { height: 230px; position: relative; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.shop-panel {
  margin: -36px 12px 0; position: relative; background: #fff; border-radius: 18px; padding: 14px;
  box-shadow: 0 10px 24px rgba(80, 30, 0, .08);
}
.shop-panel h2 { margin: 0; font-size: 20px; }
.hours { color: var(--sub); font-size: 12px; margin-top: 4px; }
.support { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.support i { font-style: normal; font-size: 11px; background: #FFF4EB; color: #C2611A; border-radius: 999px; padding: 3px 8px; }
.phone-btn { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: #FFF1E6; color: var(--orange); display: grid; place-items: center; }
.meal-tabs { display: flex; gap: 22px; padding: 14px 18px 0; font-weight: 800; color: #A89284; }
.meal-tabs button { position: relative; padding-bottom: 8px; font-size: 16px; }
.meal-tabs button.on { color: var(--ink); }
.meal-tabs button.on:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--orange);
}
.promo {
  margin: 10px 14px; background: linear-gradient(90deg, #FFF4EA, #FFE4CC); border-radius: 12px; padding: 10px 12px;
  display: flex; gap: 8px; align-items: center; color: #A14E12; font-size: 12px;
}
.promo b { display: block; font-size: 13px; color: #E25B00; }
.menu { display: flex; align-items: stretch; min-height: 420px; }
.cats { width: 86px; flex: none; background: #F8EFE8; }
.cats button { width: 100%; padding: 14px 8px; text-align: center; color: #8A7366; font-size: 12px; line-height: 1.35; }
.cats button.on { background: #fff; color: var(--orange); font-weight: 800; }
.goods { flex: 1; min-width: 0; background: #fff; padding: 4px 10px 12px; }
.g-title { height: 0; overflow: hidden; }
.grow { width: 100%; display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid #F7EFE8; text-align: left; }
.grow img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #FFF6EE; flex: none; }
.grow .gn { font-weight: 800; }
.grow .gs { color: var(--sub); font-size: 11px; margin-top: 2px; }
.grow .gp { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; color: var(--orange); font-weight: 800; }
.plus, .step button {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; padding: 0;
}
.plus, .step .add { background: var(--orange); color: #fff; font-weight: 800; }
.step { display: flex; align-items: center; gap: 8px; }
.step .subb { border: 1px solid #FFD0B0; color: var(--orange); background: #fff; }
.step em { font-style: normal; min-width: 12px; text-align: center; color: var(--ink); font-weight: 700; }
.cartbar {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px calc(10px + var(--safe-b));
  background: #fff; border-top: 1px solid var(--line);
}
.bag { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #2C2118; color: #fff; display: grid; place-items: center; }
.bag i {
  position: absolute; top: -2px; right: -2px; background: var(--orange); color: #fff; border-radius: 8px;
  min-width: 16px; height: 16px; font-style: normal; font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px;
}
.cartbar .info { flex: 1; font-size: 13px; }
.cartbar .info b { color: var(--orange); font-size: 16px; }
.cartbar .btn { width: 112px; height: 42px; }

.mask { position: absolute; inset: 0; background: rgba(40, 18, 8, .46); z-index: 20; display: flex; align-items: flex-end; }
.sheet { width: 100%; background: #fff; border-radius: 22px 22px 0 0; max-height: 88%; overflow: auto; padding-bottom: 16px; }
.sheet h3 { margin: 0 0 8px; font-size: 16px; }
.sheet-pad { padding: 8px 16px 16px; }
.opt { width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.opt.on { color: var(--orange); font-weight: 800; }
.food-photo { height: 210px; position: relative; }
.food-photo img { width: 100%; height: 100%; object-fit: cover; }
.x {
  position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center;
}
.food-pad { padding: 14px 16px 8px; }
.food-pad h2 { margin: 0; font-size: 20px; }
.price { color: var(--orange); font-size: 22px; font-weight: 800; margin-top: 4px; }
.price small { font-size: 13px; }
.desc { color: var(--sub); margin-top: 6px; }
.stock { margin-top: 8px; font-size: 12px; color: #A88874; }
.food-actions { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 4px; }

.addr-bar, .block {
  background: #fff; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px;
  box-shadow: 0 6px 16px rgba(120, 50, 10, .04);
}
.addr-bar { width: 100%; display: flex; align-items: center; gap: 8px; }
.addr-bar span { flex: 1; min-width: 0; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr-bar small, .row em { flex: none; }
.addr-bar small { color: var(--orange); font-weight: 700; }
.k { color: var(--sub); font-size: 12px; }
.radios { display: flex; gap: 16px; margin-top: 8px; }
.radios button { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.dotn { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #E2CBBA; display: grid; place-items: center; }
.dotn.on { border-color: var(--orange); }
.dotn.on:after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.line { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.line img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.line .nm { flex: 1; font-weight: 700; }
.line em { font-style: normal; color: var(--sub); }
.row { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.row em { font-style: normal; color: var(--orange); font-weight: 800; }
.sumbar {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px calc(10px + var(--safe-b));
  background: #fff; border-top: 1px solid var(--line);
}
.sumbar .pay { flex: 1; font-size: 13px; }
.sumbar .pay b { color: var(--orange); font-size: 20px; }
.sumbar .btn { width: 132px; height: 44px; }
.fine { color: var(--sub); font-size: 11px; text-align: center; margin: 0 0 8px; }

.success { text-align: center; padding: 36px 24px; }
.check {
  width: 84px; height: 84px; border-radius: 50%; margin: 10px auto 16px;
  background: linear-gradient(180deg, #FF9A3C, #FF7A16); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 24px rgba(255, 122, 22, .3);
}
.success h2 { margin: 0; font-size: 22px; }
.success p { color: var(--sub); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

.otabs { display: flex; gap: 0; padding: 0 6px; background: #fff; position: sticky; top: 0; z-index: 2; overflow: auto; }
.otabs button { flex: 1; height: 42px; text-align: center; color: #8d7568; font-size: 12px; white-space: nowrap; padding: 0 4px; }
.otabs button.on { color: var(--orange); font-weight: 800; box-shadow: inset 0 -2px 0 var(--orange); }
.order-card { width: calc(100% - 28px); margin: 10px 14px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 8px 18px rgba(120,50,10,.05); }
.oc-top, .oc-bot { display: flex; justify-content: space-between; align-items: center; }
.oc-top em { font-style: normal; color: var(--orange); font-weight: 800; font-size: 13px; }
.oc-mid { display: flex; gap: 10px; margin: 10px 0; align-items: center; }
.oc-mid img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.oc-mid div { flex: 1; min-width: 0; }
.oc-mid strong { color: var(--ink); }
.oc-mid small { color: var(--sub); display: block; margin-top: 4px; }

.tl { display: flex; justify-content: space-between; margin: 8px 0 4px; position: relative; }
.tl:before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 7px; height: 2px; background: #F0E0D4;
}
.tl-step { position: relative; z-index: 1; width: 56px; text-align: center; font-size: 11px; color: #B5A297; }
.tl-step i { width: 14px; height: 14px; border-radius: 50%; background: #F0E0D4; display: block; margin: 0 auto 6px; border: 2px solid #fff; }
.tl-step.on { color: var(--orange); font-weight: 700; }
.tl-step.on i { background: var(--orange); }
.rider { display: flex; gap: 10px; align-items: center; margin-top: 12px; background: #FFF8F3; border-radius: 12px; padding: 10px; }
.avatar, .av {
  width: 42px; height: 42px; border-radius: 50%; background: #FFE1C4; display: grid; place-items: center; font-weight: 800; color: var(--deep); flex: none;
}
.me-head { display: flex; gap: 12px; align-items: center; padding: 8px 4px 16px; }
.me-head img, .me-head .av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 16px; padding: 12px 0; text-align: center; }
.stats button b { display: block; font-size: 18px; }
.stats button small { color: var(--sub); }
.grids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; background: #fff; border-radius: 16px; padding: 14px 0; }
.grids button, .stats button { min-width: 0; text-align: center; font-size: 12px; font-weight: 700; }
.grids .bubble { width: 42px; height: 42px; box-shadow: none; }

.coupon {
  display: flex; background: #fff; border-radius: 14px; overflow: hidden; margin-bottom: 10px;
  box-shadow: 0 8px 16px rgba(120,50,10,.05);
}
.coupon .yen {
  width: 92px; background: linear-gradient(180deg, #FF9340, #FF6E0A); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.coupon .yen b { font-size: 26px; }
.coupon .info { flex: 1; padding: 10px 12px; }
.coupon .info small { color: var(--sub); display: block; }
.coupon.off { opacity: .55; }
.faq button { width: 100%; background: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.faq p { margin: 8px 0 0; color: #6d584c; font-size: 13px; }
.chat-log { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble-msg { max-width: 80%; padding: 8px 12px; border-radius: 14px; background: #fff; }
.bubble-msg.me { align-self: flex-end; background: #FF7A16; color: #fff; }
.composer { flex: none; display: flex; gap: 8px; padding: 8px 12px calc(8px + var(--safe-b)); background: #fff; }
.composer input { height: 40px; background: var(--cream); border-radius: 20px; padding: 0 14px; }
.composer .btn { width: 72px; height: 40px; }
.stars { display: flex; gap: 8px; justify-content: center; margin: 12px 0; }
.stars button { font-size: 32px; color: #E6D5C8; line-height: 1; }
.stars button.on { color: #FFB020; }
.uploader {
  height: 72px; border-radius: 12px; border: 1px dashed #F0C9AE; display: grid; place-items: center; color: var(--sub); background: #fff;
}
.uploader img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.about p { color: #6d584c; font-size: 13px; line-height: 1.7; }
.about h3 { margin: 16px 0 6px; font-size: 15px; }
.invite-hero {
  margin: 4px 0 12px; border-radius: 18px; padding: 16px; color: #fff;
  background: linear-gradient(120deg, #FF9A3A, #FF6A00);
}
.code {
  font-size: 28px; font-weight: 800; letter-spacing: .18em; background: #fff; color: var(--orange);
  border-radius: 12px; text-align: center; padding: 10px; margin: 8px 0;
}
.tabbar {
  flex: none; display: flex; background: #fff; border-top: 1px solid var(--line);
  padding: 4px 0 calc(4px + var(--safe-b));
}
.tabbar button {
  flex: 1; min-width: 0; text-align: center; color: #8d7568; font-size: 11px; font-weight: 700;
}
.tabbar button i { display: grid; place-items: center; height: 22px; font-style: normal; }
.tabbar button.on { color: var(--orange); }
.tabbar svg { display: block; margin: 0 auto; }
.warn {
  background: #FFF4EA; color: #C2611A; border-radius: 12px; padding: 10px 12px; font-size: 12px; margin-bottom: 10px;
}
.sw { width: 44px; height: 26px; border-radius: 13px; background: #E7D5C8; position: relative; flex: none; }
.sw.on { background: var(--orange); }
.sw i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; display: block; }
.sw.on i { left: 21px; }
.desk-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.desk-top b { font-size: 15px; }
.mini.danger { color: #C2410C; border-color: #F5C2A8; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-card {
  background: #fff; border-radius: 16px; padding: 14px; text-align: left; min-height: 108px;
  box-shadow: 0 8px 18px rgba(120, 50, 10, .05);
}
.role-card.on { box-shadow: inset 0 0 0 2px var(--orange); }
.role-card b { display: block; font-size: 16px; }
.role-card small { color: var(--sub); display: block; margin-top: 6px; line-height: 1.45; }
.kv { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.kv span { color: var(--sub); }
.kv b { font-weight: 800; }
.receipt {
  width: 240px; margin: 8px auto; background: #fff; color: #222; padding: 14px 12px;
  font-family: "Consolas", "Courier New", monospace; font-size: 12px; line-height: 1.55;
  box-shadow: 0 8px 18px rgba(80, 30, 0, .08);
}
.receipt h3 { margin: 0; text-align: center; font-family: inherit; font-size: 16px; }
.receipt .c { text-align: center; }
.receipt hr { border: 0; border-top: 1px dashed #ccc; margin: 8px 0; }
.field.slim { height: 42px; margin-bottom: 8px; }
.two-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; }

@media (max-width: 860px) {
  html, body { overflow-x: hidden; }
  .stage, .phone-wrap, .phone, .screen { min-width: 0; max-width: 100%; }
  .brief { display: none; }
  .phone-wrap { padding: 0; }
  .phone { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; padding: 0; box-shadow: none; }
  .screen { border-radius: 0; }
  .wx-status { height: calc(22px + var(--safe-t)); padding-top: calc(6px + var(--safe-t)); }
  .grids button { font-size: 11px; line-height: 1.25; }
}
