:root {
  --bg: #f2f3f6;
  --ink: #111114;
  --muted: #6e6e73;
  --soft: #92929a;
  --glass: rgba(255, 255, 255, .66);
  --glass-strong: rgba(255, 255, 255, .82);
  --line: rgba(255, 255, 255, .84);
  --line-soft: rgba(35, 42, 58, .08);
  --shadow: 0 24px 70px rgba(41, 48, 71, .10);
  --shadow-soft: 0 12px 34px rgba(41, 48, 71, .08);
  --blue: #0071e3;
  --green: #1ec96b;
  --yellow: #ffc400;
  --orange: #ff6a24;
  --red: #ee334c;
  --pink: #ec4b91;
  --purple: #7656e8;
  --radius-xl: 30px;
  --radius-lg: 23px;
  --radius-md: 16px;
  --safe-bottom: max(14px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.is-dark {
  --bg: #0c0d12;
  --ink: #f4f5f8;
  --muted: #9aa0ad;
  --soft: #7d8390;
  --glass: rgba(24, 27, 36, .58);
  --glass-strong: rgba(32, 36, 48, .78);
  --line: rgba(255, 255, 255, .10);
  --line-soft: rgba(255, 255, 255, .07);
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, .28);
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; }

.glass {
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
}

.site-nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  width: min(1040px, calc(100% - 28px));
  min-height: 58px;
  padding: 7px 8px 7px 17px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-radius: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; font-weight: 760; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: 13px; font-weight: 850; }
.is-dark .brand-mark { color: #111; background: #fff; }
.desktop-nav { display: flex; justify-content: center; gap: 3px; min-width: 0; }
.desktop-nav a { padding: 9px 11px; border-radius: 12px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--ink); background: rgba(128, 128, 128, .10); }
.nav-actions { display: flex; gap: 6px; }
.nav-icon, .theme-toggle {
  height: 42px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
}
.nav-icon { width: 42px; }
.theme-toggle { min-width: 68px; padding: 0 13px; }

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 112px 24px 94px;
}

.topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.back-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; background: var(--glass); box-shadow: var(--shadow-soft); text-decoration: none; font-size: 20px; backdrop-filter: blur(18px); }
.page-status { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 18px; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); background: var(--glass); font-size: 10px; font-weight: 700; backdrop-filter: blur(18px); }
.page-status i, .online-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--green); box-shadow: 0 0 0 4px rgba(30, 201, 107, .13); }

.live-island {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0 auto 24px;
  padding: 6px 15px 6px 8px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: #0b0b0d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  animation: island-in .7s cubic-bezier(.2,.9,.2,1) both;
}
.live-island .pulse { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #54f19c, #0cb66a); font-size: 12px; }
.live-island b { font-size: 12px; }
.live-island small { color: #aaaab1; font-size: 11px; }
.live-island time { color: #a8f6c8; font: 650 11px ui-monospace, SFMono-Regular, monospace; }
@keyframes island-in { from { opacity: 0; transform: scale(.82) translateY(-12px); } }

.home-hero { max-width: 930px; margin: 0 auto; padding: 54px 0 68px; text-align: center; }
.home-hero h1 {
  margin: 0;
  color: transparent;
  background: linear-gradient(105deg, var(--ink) 20%, #74747b 50%, var(--ink) 80%);
  background-size: 200% auto;
  background-clip: text;
  font-size: clamp(54px, 8vw, 96px);
  line-height: .96;
  font-weight: 760;
  letter-spacing: -.075em;
  animation: shine 9s linear infinite;
}
@keyframes shine { to { background-position: -200% center; } }
.home-hero p { max-width: 680px; margin: 25px auto 0; color: var(--muted); font-size: clamp(16px, 2vw, 21px); line-height: 1.68; letter-spacing: -.02em; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 31px; }
.button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 23px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 700; transition: .24s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 11px 25px rgba(0, 113, 227, .25); }
.button.dark { color: var(--bg); background: var(--ink); }
.button.secondary { border: 1px solid var(--line); color: var(--ink); background: var(--glass); backdrop-filter: blur(18px); }
.button.yellow { color: #352900; background: linear-gradient(135deg, #ffe060, #ffc400); box-shadow: 0 11px 24px rgba(232, 174, 0, .20); }
.button.danger { color: #fff; background: var(--red); }
.button.full { width: 100%; }
.button.small { min-height: 37px; padding-inline: 13px; font-size: 11px; }

.summary-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 14px; }
.panel { border-radius: var(--radius-xl); padding: 25px; }
.today-card { min-height: 220px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.today-card::after { content: attr(data-mark); position: absolute; right: 12px; bottom: -51px; color: rgba(0, 113, 227, .065); font-size: 180px; line-height: 1; font-weight: 850; letter-spacing: -.1em; }
.label { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.today-card h2 { max-width: 620px; margin: 13px 0 7px; font-size: 32px; line-height: 1.05; letter-spacing: -.045em; }
.today-card p, .feature-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.readout { position: relative; display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.readout b { display: block; font-size: 18px; }
.readout span { color: var(--muted); font-size: 11px; }
.metric-card { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.metric-card .big { margin-top: 6px; font-size: 51px; font-weight: 720; letter-spacing: -.07em; }
.metric-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.spark { height: 55px; display: flex; align-items: end; gap: 5px; }
.spark i { flex: 1; height: var(--h); border-radius: 7px; background: linear-gradient(#65c9fb, #087af0); opacity: .82; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 52px 4px 18px; }
.section-head.compact { margin-top: 26px; }
.section-head h2 { margin: 6px 0 0; font-size: 31px; line-height: 1; letter-spacing: -.05em; }
.section-head p { margin: 0; color: var(--muted); font-size: 12px; }

.platform-grid, .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.platform-card, .service-card {
  min-height: 280px;
  padding: 21px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: .4s cubic-bezier(.2,.8,.2,1);
}
.platform-card::before, .service-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(360px circle at var(--x, -80px) var(--y, -80px), var(--glow, rgba(90, 168, 255, .25)), transparent 46%); transition: opacity .3s; }
.platform-card:hover, .service-card:hover { transform: translateY(-8px) scale(1.006); box-shadow: 0 34px 80px rgba(39, 48, 78, .17); }
.platform-card:hover::before, .service-card:hover::before { opacity: 1; }
.card-top, .card-foot, .card-copy { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-copy { display: block; }
.app-icon { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #56a8ff, #0869ed); box-shadow: inset 0 1px 1px rgba(255,255,255,.4), 0 8px 20px rgba(0,0,0,.13); font-size: 19px; font-weight: 850; }
.tone-yellow { --glow: rgba(255, 216, 79, .38); }.tone-yellow .app-icon { background: linear-gradient(145deg, #ffdd61, #f3a600); }
.tone-red { --glow: rgba(255, 78, 92, .32); }.tone-red .app-icon { background: linear-gradient(145deg, #ff737d, #df2035); }
.tone-orange { --glow: rgba(255, 145, 77, .34); }.tone-orange .app-icon { background: linear-gradient(145deg, #ffb15c, #f2641c); }
.tone-purple { --glow: rgba(137, 102, 255, .32); }.tone-purple .app-icon { background: linear-gradient(145deg, #a68cff, #6542d7); }
.tone-pink { --glow: rgba(255, 107, 168, .32); }.tone-pink .app-icon { background: linear-gradient(145deg, #ff8ab9, #f03276); }
.tone-green { --glow: rgba(71, 215, 141, .34); }.tone-green .app-icon { background: linear-gradient(145deg, #6de8ad, #08a75e); }
.tone-blue { --glow: rgba(90, 168, 255, .32); }
.status-line { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 650; }
.status-line i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.status-line.pending i { background: #ffae33; }
.card-copy .eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.card-copy h3 { margin: 7px 0 8px; font-size: 25px; line-height: 1.02; letter-spacing: -.045em; }
.card-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-foot { color: var(--muted); font-size: 11px; }
.arrow { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(128,128,128,.12); font-size: 16px; transition: .3s; }
.platform-card:hover .arrow, .service-card:hover .arrow { color: var(--bg); background: var(--ink); transform: rotate(45deg); }

.feature-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: 4px 0 20px; padding: 2px 4px; }
.feature-head h1 { max-width: 760px; margin: 7px 0 7px; font-size: clamp(30px, 3.6vw, 43px); line-height: 1.06; letter-spacing: -.055em; }
.feature-head p { max-width: 720px; }
.feature-head .head-side { min-width: 176px; padding: 13px 15px; border-radius: 19px; }
.head-side strong { display: block; margin-top: 4px; font-size: 19px; letter-spacing: -.035em; }
.head-side small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); align-items: start; gap: 14px; }
.workspace.equal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack { display: grid; gap: 14px; }
.card { padding: 21px; border-radius: var(--radius-lg); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-title { font-size: 15px; font-weight: 760; letter-spacing: -.025em; }
.card-sub { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.text-link { padding: 4px; border: 0; color: var(--blue); background: transparent; font-size: 11px; font-weight: 700; }

.field { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-soft); border-radius: 15px; outline: 0; color: var(--ink); background: rgba(248, 249, 252, .72); box-shadow: inset 0 1px 2px rgba(23, 30, 48, .03); }
.is-dark .field { background: rgba(6, 7, 10, .34); }
textarea.field { min-height: 130px; padding-top: 13px; resize: vertical; line-height: 1.58; }
.field:focus { border-color: rgba(0, 113, 227, .35); box-shadow: 0 0 0 4px rgba(0, 113, 227, .08); }
.field-label { display: block; margin: 12px 2px 7px; color: var(--muted); font-size: 10px; font-weight: 720; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action-row { display: flex; gap: 8px; margin-top: 13px; }
.action-row > * { flex: 1; }
.hint { margin-top: 10px; padding: 10px 12px; border: 1px solid rgba(0,113,227,.12); border-radius: 13px; color: #315f96; background: rgba(226,240,255,.45); font-size: 10px; line-height: 1.55; }
.is-dark .hint { color: #a8cdf6; }

.segment { padding: 4px; border-radius: 16px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: rgba(128,128,128,.10); }
.segment button { min-height: 39px; padding: 0 11px; border: 0; border-radius: 13px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 720; }
.segment button.is-active { color: var(--ink); background: var(--glass-strong); box-shadow: 0 5px 15px rgba(40,48,70,.08); }
.tab-pane[hidden] { display: none !important; }

.account-picker { min-height: 58px; padding: 9px 11px; border: 1px solid var(--line-soft); border-radius: 17px; display: flex; align-items: center; gap: 10px; background: rgba(249,250,252,.66); }
.account-avatar { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #76aef9, #286bda); font-weight: 800; }
.account-copy { min-width: 0; flex: 1; }
.account-copy b, .account-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy b { font-size: 12px; }.account-copy span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.count-pill, .badge { padding: 5px 8px; border-radius: 999px; background: rgba(0,113,227,.09); color: var(--blue); font-size: 9px; font-weight: 800; white-space: nowrap; }
.badge.yellow { color: #7a5900; background: rgba(255,196,0,.18); }
.badge.green { color: #11834b; background: rgba(30,201,107,.12); }
.badge.red { color: #bc3044; background: rgba(238,51,76,.10); }

.unified-account { position: relative; min-height: 68px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 19px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto 18px; align-items: center; gap: 11px; overflow: hidden; background: rgba(249,250,252,.66); cursor: pointer; transition: .2s ease; }
.unified-account:hover { border-color: rgba(0,113,227,.20); background: rgba(238,246,255,.70); }
.unified-account:focus-within { border-color: rgba(0,113,227,.35); box-shadow: 0 0 0 4px rgba(0,113,227,.08); }
.account-index { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#75b0ff,#2870df); box-shadow: inset 0 1px 1px rgba(255,255,255,.38),0 8px 18px rgba(39,104,205,.18); font-size: 18px; font-weight: 850; }
.account-select-copy { min-width: 0; }
.account-select-copy > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .04em; }
.account-select-copy b { display: block; font-size: 12px; }
.account-select-copy small { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.account-switch { min-height: 29px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; color: var(--blue); background: rgba(0,113,227,.09); font-size: 9px; font-weight: 800; }
.account-chevron { color: var(--muted); font-size: 14px; transition: transform .2s; }
.unified-account:focus-within .account-chevron { transform: rotate(180deg); }
.unified-account select { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.is-dark .unified-account { background: rgba(6,7,10,.33); }

.unified-address { padding: 10px; border: 1px solid var(--line-soft); border-radius: 19px; background: rgba(249,250,252,.66); }
.address-current { min-height: 55px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.address-pin { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#7bb8ff,#2474e8); box-shadow: inset 0 1px 1px rgba(255,255,255,.40),0 8px 18px rgba(37,112,220,.18); font-size: 17px; font-weight: 850; }
.address-copy { min-width: 0; }
.address-copy > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .04em; }
.address-copy b, .address-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.address-copy b { font-size: 12px; }
.address-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.address-action-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 7px; margin-top: 9px; }
.address-action { min-height: 40px; padding: 0 9px; border: 1px solid var(--line-soft); border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink); background: rgba(255,255,255,.45); font-size: 9px; font-weight: 760; }
.address-action i { color: var(--blue); font-style: normal; font-size: 13px; }
.is-dark .unified-address, .is-dark .address-action { background: rgba(6,7,10,.30); }
.delivery-search { margin-top: 11px; }

.steps { display: grid; gap: 8px; }
.step { min-height: 58px; padding: 10px 11px; border: 1px solid var(--line-soft); border-radius: 17px; display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 10px; background: rgba(250,250,252,.55); }
.step-num { width: 31px; height: 31px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); background: rgba(128,128,128,.10); font-size: 10px; font-weight: 800; }
.step.is-done .step-num { color: #fff; background: var(--green); }
.step.is-active { border-color: rgba(0,113,227,.20); background: rgba(234,244,255,.58); }
.step.is-active .step-num { color: #fff; background: var(--blue); }
.step-copy b { display: block; font-size: 11px; }.step-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }

.condition-stack { display: grid; gap: 9px; }
.condition-block { min-height: 70px; padding: 11px; border: 1px solid var(--line-soft); border-radius: 19px; display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; align-items: center; gap: 11px; background: rgba(250,250,252,.56); }
.condition-icon { width: 43px; height: 43px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 850; box-shadow: inset 0 1px 1px rgba(255,255,255,.38), 0 7px 18px rgba(27,42,75,.12); }
.condition-icon.account { background: linear-gradient(145deg,#75b0ff,#2970df); }
.condition-icon.location { background: linear-gradient(145deg,#ff8f72,#f23d56); }
.condition-copy { min-width: 0; }
.condition-copy > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 760; letter-spacing: .06em; }
.condition-copy b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.condition-copy small { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.condition-action { min-height: 31px; padding: 0 10px; border: 0; border-radius: 999px; color: var(--blue); background: rgba(0,113,227,.09); font-size: 9px; font-weight: 800; }
.location-block { position: relative; overflow: hidden; border-color: rgba(242,61,86,.12); background: linear-gradient(145deg,rgba(255,244,246,.78),rgba(255,255,255,.53)); }
.location-block::after { content: "⌖"; position: absolute; right: 62px; bottom: -25px; color: rgba(242,61,86,.06); font-size: 83px; font-weight: 850; transform: rotate(-9deg); pointer-events: none; }
.location-card { overflow: hidden; border: 1px solid rgba(242,61,86,.12); border-radius: 20px; background: rgba(255,255,255,.52); }
.location-map { position: relative; height: 88px; overflow: hidden; background: linear-gradient(145deg,#e8f1ea,#dcebe3 52%,#edf4ef); }
.location-map::before, .location-map::after { content: ""; position: absolute; width: 125%; height: 14px; left: -12%; top: 36px; border: 4px solid rgba(255,255,255,.88); border-inline: 0; background: #d9e2dc; transform: rotate(-8deg); box-shadow: 0 0 0 1px rgba(123,145,131,.08); }
.location-map::after { top: 20px; transform: rotate(38deg); }
.map-block { position: absolute; border-radius: 8px; background: rgba(120,181,135,.18); box-shadow: inset 0 0 0 1px rgba(73,139,88,.07); }
.map-block.one { left: 8%; top: 8px; width: 27%; height: 24px; }
.map-block.two { right: 6%; top: 7px; width: 29%; height: 27px; }
.map-block.three { left: 11%; bottom: 7px; width: 31%; height: 22px; }
.map-block.four { right: 8%; bottom: 7px; width: 24%; height: 25px; }
.location-pin { position: absolute; z-index: 2; left: 50%; top: 50%; width: 34px; height: 34px; border: 4px solid rgba(255,255,255,.88); border-radius: 50% 50% 50% 12px; display: grid; place-items: center; color: #fff; background: var(--red); box-shadow: 0 7px 18px rgba(238,51,76,.28); transform: translate(-50%,-57%) rotate(-45deg); font-style: normal; font-size: 12px; }
.location-pin span { transform: rotate(45deg); }
.location-info { min-height: 69px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.location-info-copy { min-width: 0; }
.location-info-copy > span { display: block; margin-bottom: 4px; color: var(--red); font-size: 9px; font-weight: 780; }
.location-info-copy b { display: block; font-size: 12px; }
.location-info-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.merchant-action { margin-top: 10px; padding: 12px; border: 1px dashed rgba(0,113,227,.20); border-radius: 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(234,244,255,.43); }
.merchant-action-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.merchant-action-copy i { width: 35px; height: 35px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; color: var(--blue); background: rgba(0,113,227,.10); font-style: normal; font-weight: 850; }
.merchant-action-copy b { display: block; font-size: 11px; }
.merchant-action-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }

.result-hero { padding: 23px; border-radius: 24px; text-align: center; background: linear-gradient(145deg, rgba(234, 249, 241, .78), rgba(255,255,255,.54)); }
.result-hero .result-icon { width: 49px; height: 49px; margin: 0 auto 11px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: var(--green); font-size: 21px; }
.result-hero h3 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.result-hero .result-time { margin-top: 10px; color: var(--green); font: 800 36px/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: -.05em; }
.result-hero p { margin: 8px 0 0; color: var(--muted); font-size: 10px; }

.timeline { position: relative; display: grid; gap: 0; margin-top: 14px; padding-left: 19px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 14px; width: 1px; background: var(--line-soft); }
.timeline-row { position: relative; min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 13px; border-bottom: 1px solid var(--line-soft); font-size: 10px; }
.timeline-row:last-child { border-bottom: 0; }
.timeline-row::before { content: ""; position: absolute; left: -18px; width: 8px; height: 8px; border: 2px solid var(--glass-strong); border-radius: 50%; background: #abb2bf; }
.timeline-row.is-key::before { background: var(--green); box-shadow: 0 0 0 4px rgba(30,201,107,.11); }
.timeline-row span { color: var(--muted); }.timeline-row time { font: 720 10px ui-monospace, monospace; }

.shop-list, .activity-list, .team-list, .history-list { display: grid; gap: 9px; }
.shop, .activity-item, .team-card, .history-item { padding: 11px; border: 1px solid var(--line-soft); border-radius: 17px; background: rgba(251,251,253,.58); }
.shop { display: grid; grid-template-columns: 50px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.shop-logo { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #ffba63, #f36b24); font-size: 17px; font-weight: 800; }
.shop-copy { min-width: 0; }.shop-copy b, .shop-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.shop-copy b { font-size: 12px; }.shop-copy span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.mini-button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 12px; color: var(--ink); background: rgba(128,128,128,.10); font-size: 10px; font-weight: 750; }
.mini-button.is-selected { color: #342800; background: var(--yellow); }

.coupon-preview { position: relative; overflow: hidden; padding: 20px; border-radius: 24px; color: #2f2506; background: linear-gradient(145deg, #fff6c8, #ffd953); box-shadow: 0 20px 46px rgba(226, 174, 0, .18); }
.coupon-preview::after { content: "券"; position: absolute; right: -10px; bottom: -48px; color: rgba(255,255,255,.30); font-size: 140px; font-weight: 850; }
.coupon-preview .amount { position: relative; font-size: 52px; font-weight: 780; letter-spacing: -.07em; }.coupon-preview .amount small { font-size: 17px; }
.coupon-preview h3 { position: relative; margin: 8px 0 5px; font-size: 18px; }.coupon-preview p { position: relative; margin: 0; font-size: 10px; opacity: .7; }
.coupon-preview .button { position: relative; margin-top: 20px; }

.coupon-amount-card { position: relative; min-height: 176px; padding: 20px; border: 1px solid rgba(255,255,255,.34); border-radius: 24px; overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 16%,rgba(255,255,255,.32),transparent 26%),radial-gradient(circle at 12% 90%,rgba(88,223,255,.28),transparent 34%),linear-gradient(140deg,#087cf0 0%,#5366e8 56%,#8c6ce8 100%); box-shadow: 0 20px 46px rgba(70,87,207,.24); }
.coupon-amount-card::after { content: ""; position: absolute; width: 145px; height: 145px; right: -52px; bottom: -75px; border: 27px solid rgba(255,255,255,.08); border-radius: 50%; }
.coupon-merchant { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; min-width: 0; }
.coupon-merchant i { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 11px; display: grid; place-items: center; color: #2449ac; background: rgba(255,255,255,.88); font-style: normal; font-size: 11px; font-weight: 850; }
.coupon-merchant b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.coupon-value { position: relative; z-index: 1; margin-top: 18px; display: flex; align-items: baseline; }
.coupon-value small { margin-right: 3px; font-size: 18px; font-weight: 820; }
.coupon-value strong { font-size: 67px; line-height: .90; font-weight: 790; letter-spacing: -.075em; }
.coupon-value em { margin-left: 7px; color: rgba(255,255,255,.72); font-style: normal; font-size: 12px; font-weight: 740; }
.coupon-amount-card p { position: relative; z-index: 1; margin: 12px 0 0; color: rgba(255,255,255,.70); font-size: 9px; }
.coupon-action-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 10px; }
.coupon-action { min-height: 69px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 18px; display: grid; grid-template-columns: 37px minmax(0,1fr); align-items: center; gap: 10px; color: var(--ink); background: rgba(250,250,252,.62); text-align: left; transition: .2s ease; }
.coupon-action:hover { border-color: rgba(0,113,227,.22); transform: translateY(-2px); }
.coupon-action i { width: 37px; height: 37px; border-radius: 13px; display: grid; place-items: center; color: var(--blue); background: rgba(0,113,227,.09); font-style: normal; font-size: 11px; font-weight: 850; }
.coupon-action span { min-width: 0; }
.coupon-action b, .coupon-action small { display: block; }
.coupon-action b { font-size: 11px; }
.coupon-action small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.coupon-action.is-primary { color: #fff; border-color: transparent; background: linear-gradient(145deg,#1688f2,#006bdb); box-shadow: 0 11px 24px rgba(0,113,227,.20); }
.coupon-action.is-primary i { color: #fff; background: rgba(255,255,255,.16); }
.coupon-action.is-primary small { color: rgba(255,255,255,.72); }
.coupon-history-list { display: grid; gap: 9px; }
.coupon-history-item { min-height: 67px; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 18px; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 10px; color: var(--ink); background: rgba(250,250,252,.60); text-align: left; }
.history-money { width: 52px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #245ab0; background: linear-gradient(145deg,#eaf5ff,#cadfff); font-size: 14px; font-weight: 850; }
.coupon-history-item b, .coupon-history-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coupon-history-item b { font-size: 11px; }
.coupon-history-item small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.coupon-history-item em { padding: 6px 9px; border-radius: 999px; color: var(--blue); background: rgba(0,113,227,.09); font-style: normal; font-size: 9px; font-weight: 800; }

.activity-item { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.activity-time { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #745900; background: rgba(255,196,0,.18); font-size: 11px; font-weight: 800; }
.activity-copy b { font-size: 11px; }.activity-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }

.team-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; }
.team-card b { font-size: 12px; }.team-card p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.money { font-size: 21px; font-weight: 780; letter-spacing: -.045em; }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat-box { padding: 13px; border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(251,251,253,.55); }
.stat-box span { display: block; color: var(--muted); font-size: 9px; }.stat-box b { display: block; margin-top: 6px; font-size: 17px; letter-spacing: -.04em; }

.notice { padding: 13px 14px; border: 1px solid rgba(0,113,227,.10); border-radius: 17px; display: flex; gap: 10px; color: #365b87; background: rgba(221,238,255,.42); font-size: 10px; line-height: 1.6; }
.is-dark .notice { color: #aacdf4; }
.notice .notice-icon { width: 27px; height: 27px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; background: var(--blue); }

.inflate-launch { padding: 22px; border: 1px solid rgba(112,92,235,.12); border-radius: 23px; background: radial-gradient(circle at 86% 13%,rgba(153,132,255,.27),transparent 30%),linear-gradient(145deg,rgba(239,245,255,.86),rgba(242,238,255,.67)); }
.inflate-launch-icon { width: 48px; height: 48px; margin-bottom: 15px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#7e9cff,#7153de); box-shadow: 0 12px 28px rgba(97,75,206,.24); font-size: 18px; font-weight: 850; }
.inflate-launch h3 { margin: 8px 0 7px; font-size: 20px; letter-spacing: -.035em; }
.inflate-launch p { margin: 0 0 17px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.inflate-coupon-list { display: grid; gap: 9px; }
.inflate-coupon-option { position: relative; min-height: 88px; padding: 14px 11px 27px; border: 1px solid var(--line-soft); border-radius: 18px; display: grid; grid-template-columns: minmax(0,1fr) 23px minmax(0,1fr); align-items: center; gap: 7px; background: rgba(249,250,252,.60); cursor: pointer; }
.inflate-coupon-option:has(input:checked) { border-color: rgba(0,113,227,.30); background: rgba(233,244,255,.74); box-shadow: 0 0 0 3px rgba(0,113,227,.06); }
.inflate-coupon-option input { position: absolute; opacity: 0; pointer-events: none; }
.inflate-coupon-tag { position: absolute; right: 9px; top: 8px; padding: 4px 7px; border-radius: 999px; color: #5f48bd; background: rgba(113,83,222,.10); font-size: 8px; font-weight: 850; }
.inflate-coupon-option > i { color: var(--blue); font-style: normal; font-size: 14px; font-weight: 850; text-align: center; }
.coupon-rule small, .coupon-rule b { display: block; }
.coupon-rule small { color: var(--muted); font-size: 8px; }
.coupon-rule b { margin-top: 5px; font-size: 12px; letter-spacing: -.02em; }
.coupon-rule.is-after b { color: var(--blue); }
.inflate-coupon-option > em { position: absolute; left: 11px; bottom: 8px; color: var(--red); font-style: normal; font-size: 8px; font-weight: 780; }
.inflate-context { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 10px; }
.inflate-context > span { padding: 10px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(249,250,252,.56); }
.inflate-context small, .inflate-context b { display: block; }
.inflate-context small { color: var(--muted); font-size: 8px; }
.inflate-context b { margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.address-history-list { display: grid; gap: 9px; }
.address-history-item { min-height: 64px; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 17px; display: grid; grid-template-columns: 39px minmax(0,1fr) auto; align-items: center; gap: 10px; color: var(--ink); background: rgba(249,250,252,.58); text-align: left; }
.address-history-item > i { width: 39px; height: 39px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#7bb8ff,#2474e8); font-style: normal; }
.address-history-item b, .address-history-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.address-history-item b { font-size: 11px; }
.address-history-item small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.address-history-item em { padding: 6px 9px; border-radius: 999px; color: var(--blue); background: rgba(0,113,227,.09); font-style: normal; font-size: 8px; font-weight: 850; }
.is-dark .inflate-launch, .is-dark .inflate-coupon-option, .is-dark .inflate-context > span, .is-dark .address-history-item { background: rgba(15,17,24,.50); }

.token-guide { display: grid; gap: 9px; }
.token-step { min-height: 64px; padding: 10px; border: 1px solid var(--line-soft); border-radius: 17px; display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: 11px; background: rgba(238,246,255,.56); }
.token-step > span { width: 36px; height: 36px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#75b8ff,#176edf); box-shadow: 0 8px 18px rgba(30,105,213,.18); font-size: 11px; font-weight: 850; }
.token-step b { font-size: 11px; }
.token-step p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.token-safe { margin-top: 10px; padding: 11px; border: 1px solid rgba(0,113,227,.11); border-radius: 16px; display: flex; align-items: center; gap: 10px; color: #254d7e; background: rgba(226,240,255,.52); }
.token-safe > i { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--blue); font-style: normal; font-size: 10px; }
.token-safe b, .token-safe small { display: block; }
.token-safe b { font-size: 10px; }
.token-safe small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.is-dark .token-step, .is-dark .token-safe { background: rgba(10,24,43,.48); }

.profile-card { min-height: 190px; position: relative; overflow: hidden; color: #fff; background: linear-gradient(145deg, #181b24, #414a62); }
.profile-card::after { content: "聚"; position: absolute; right: -12px; bottom: -52px; color: rgba(255,255,255,.06); font-size: 165px; font-weight: 850; }
.profile-avatar { width: 57px; height: 57px; border-radius: 19px; display: grid; place-items: center; color: #111; background: linear-gradient(145deg, #fff3a3, #ffc400); font-weight: 850; }
.profile-card h2 { position: relative; margin: 19px 0 5px; font-size: 24px; }.profile-card p { position: relative; margin: 0; color: rgba(255,255,255,.58); font-size: 11px; }

.admin-shell { display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: 650px; padding: 9px; border-radius: 30px; }
.admin-side { padding: 17px 12px; border-radius: 23px; color: #fff; background: #111318; }
.admin-side .brand { padding: 0 8px 18px; border-bottom: 1px solid rgba(255,255,255,.09); }
.admin-nav { display: grid; gap: 5px; margin-top: 15px; }
.admin-nav button { min-height: 43px; padding: 0 11px; border: 0; border-radius: 13px; display: flex; align-items: center; gap: 9px; color: #979aa4; background: transparent; text-align: left; font-size: 11px; font-weight: 700; }
.admin-nav button.is-active { color: #fff; background: rgba(255,255,255,.10); }
.admin-main { padding: 21px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.admin-toolbar h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.admin-kpi { padding: 15px; border: 1px solid var(--line-soft); border-radius: 17px; background: rgba(251,251,253,.58); }
.admin-kpi span { color: var(--muted); font-size: 9px; }.admin-kpi b { display: block; margin-top: 7px; font-size: 23px; letter-spacing: -.05em; }

.empty-state { padding: 34px 18px; border: 1px dashed rgba(128,128,128,.22); border-radius: 19px; color: var(--muted); text-align: center; }
.empty-state .empty-icon { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 17px; display: grid; place-items: center; background: rgba(128,128,128,.10); font-size: 20px; }
.empty-state b { display: block; color: var(--ink); font-size: 12px; }.empty-state span { display: block; margin-top: 5px; font-size: 10px; line-height: 1.55; }

.bottom-nav { display: none; }
.screen-footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 54px; padding: 24px 4px; border-top: 1px solid rgba(128,128,128,.18); color: var(--muted); font-size: 10px; }

.sheet-mask { position: fixed; z-index: 90; inset: 0; padding: 18px; display: none; align-items: flex-end; justify-content: center; background: rgba(16, 20, 30, .34); backdrop-filter: blur(8px); }
.sheet-mask.is-open { display: flex; }
.sheet { width: min(100%, 520px); max-height: 86dvh; padding: 8px 17px calc(18px + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-radius: 28px 28px 22px 22px; overflow: auto; background: var(--glass-strong); box-shadow: 0 -25px 80px rgba(22,28,45,.24); backdrop-filter: blur(34px) saturate(180%); animation: sheet-up .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sheet-up { from { opacity: 0; transform: translateY(28px); } }
.sheet-handle { width: 38px; height: 4px; margin: 1px auto 15px; border-radius: 99px; background: rgba(128,128,128,.35); }
.sheet-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 15px; }.sheet-head h3 { margin: 0; font-size: 20px; letter-spacing: -.04em; }.sheet-head p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.sheet-close { width: 34px; height: 34px; border: 0; border-radius: 12px; background: rgba(128,128,128,.10); font-size: 18px; }
.tutorial-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: guide; }
.tutorial-steps li { position: relative; min-height: 54px; padding: 10px 10px 10px 45px; border: 1px solid rgba(0,113,227,.10); border-radius: 16px; color: var(--muted); background: rgba(236,245,255,.54); font-size: 10px; line-height: 1.55; }
.tutorial-steps li::before { counter-increment: guide; content: counter(guide); position: absolute; left: 10px; top: 10px; width: 25px; height: 25px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#72b7ff,#176edf); box-shadow: 0 6px 14px rgba(30,105,213,.16); font-weight: 850; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 92px; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 18px; color: #fff; background: #111318; box-shadow: 0 15px 40px rgba(0,0,0,.24); font-size: 11px; font-weight: 700; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: .24s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .today-card { grid-column: 1 / -1; }
  .platform-grid, .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .workspace, .workspace.equal { grid-template-columns: 1fr; }
  .admin-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .site-nav { top: 9px; width: calc(100% - 18px); min-height: 54px; padding-left: 12px; border-radius: 18px; }
  .desktop-nav, .theme-toggle { display: none; }
  .site-nav { grid-template-columns: minmax(0,1fr) auto; }
  .page { padding: 87px 12px calc(92px + var(--safe-bottom)); }
  .home-hero { padding: 42px 4px 49px; }
  .home-hero h1 { font-size: clamp(48px, 15vw, 62px); }
  .home-hero p { font-size: 16px; }
  .live-island { margin-bottom: 22px; }
  .summary-grid { gap: 9px; }
  .panel { padding: 18px; border-radius: 24px; }
  .today-card { min-height: 196px; }
  .today-card h2 { font-size: 25px; }
  .readout { gap: 17px; }
  .metric-card { min-height: 150px; }
  .metric-card .big { font-size: 39px; }
  .section-head { margin-top: 42px; }
  .section-head h2 { font-size: 27px; }
  .section-head p { display: none; }
  .platform-grid, .service-grid { grid-template-columns: 1fr; gap: 9px; }
  .platform-card, .service-card { min-height: 245px; border-radius: 25px; }
  .feature-head { grid-template-columns: 1fr; gap: 8px; margin: 0 0 18px; padding-inline: 2px; }
  .feature-head h1 { margin-block: 6px; font-size: 31px; line-height: 1.08; letter-spacing: -.045em; }
  .feature-head p { font-size: 12px; line-height: 1.55; }
  .feature-head .head-side { display: none; }
  .workspace, .workspace.equal { gap: 9px; }
  .stack { gap: 9px; }
  .card { padding: 16px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .action-row { flex-direction: column; }
  .stat-row { gap: 6px; }
  .stat-box { padding: 11px 9px; }
  .stat-box b { font-size: 15px; }
  .shop { grid-template-columns: 44px minmax(0,1fr) auto; }
  .shop-logo { width: 44px; height: 44px; border-radius: 13px; }
  .condition-block { grid-template-columns: 41px minmax(0,1fr) auto; padding: 10px; }
  .condition-icon { width: 41px; height: 41px; }
  .location-map { height: 80px; }
  .merchant-action { padding: 10px; }
  .screen-footer { display: block; line-height: 2; margin-top: 37px; }
  .bottom-nav {
    position: fixed;
    z-index: 60;
    left: 50%;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100% - 20px);
    max-width: 430px;
    min-height: 66px;
    padding: 6px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5,1fr);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 48px rgba(38,45,67,.16);
    backdrop-filter: blur(28px) saturate(170%);
  }
  .is-dark .bottom-nav { background: rgba(24,25,31,.86); }
  .bottom-nav a { min-width: 0; border-radius: 17px; display: grid; place-items: center; align-content: center; gap: 3px; color: var(--muted); text-decoration: none; font-size: 9px; font-weight: 700; }
  .bottom-nav a span:first-child { font-size: 15px; line-height: 1; }
  .bottom-nav a.is-active { color: var(--bg); background: var(--ink); }
  .admin-shell { grid-template-columns: 1fr; padding: 7px; }
  .admin-side { display: none; }
  .admin-main { padding: 12px; }
  .admin-toolbar h2 { font-size: 21px; }
  .admin-kpis { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 370px) {
  .page { padding-inline: 9px; }
  .summary-grid { grid-template-columns: 1fr; }
  .today-card { grid-column: auto; }
  .metric-card { min-height: 130px; }
  .feature-head h1 { font-size: 29px; }
  .condition-block { grid-template-columns: 39px minmax(0,1fr); }
  .unified-account { grid-template-columns: 41px minmax(0,1fr) 16px; gap: 9px; }
  .account-index { width: 41px; height: 41px; }
  .account-switch { display: none; }
  .condition-action, .condition-block > .badge { grid-column: 2; justify-self: start; }
  .location-info { align-items: flex-start; flex-direction: column; }
  .merchant-action { align-items: stretch; flex-direction: column; }
  .merchant-action .button { width: 100%; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
