:root {
  --ink: #071418;
  --ink-2: #0c2024;
  --paper: #f4f7f4;
  --white: #ffffff;
  --mint: #cfff76;
  --mint-2: #94e6a3;
  --cyan: #71dff0;
  --orange: #ff8a5b;
  --red: #ff675f;
  --muted: #8a9b9c;
  --line: rgba(7,20,24,.12);
  --dark-line: rgba(255,255,255,.14);
  --shadow: 0 24px 60px rgba(1,12,15,.2);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: #dce7e3; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(circle at 15% 20%, rgba(148,230,163,.5), transparent 28%), radial-gradient(circle at 82% 80%, rgba(113,223,240,.28), transparent 30%), #dce7e3; font-family: Arial, "Microsoft YaHei", sans-serif; overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button { border: 0; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
input, textarea { outline: 0; }

.desktop-stage { min-height: 100vh; position: relative; display: grid; place-items: center; padding: 38px 24px; overflow: hidden; }
.device-label { position: absolute; top: 24px; left: 50%; display: flex; align-items: center; gap: 8px; color: rgba(7,20,24,.6); font-size: 11px; letter-spacing: .04em; transform: translateX(-50%); }
.device-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,138,91,.15); animation: pulse 2s infinite; }
.stage-orbit { position: absolute; border: 1px solid rgba(7,20,24,.1); border-radius: 50%; pointer-events: none; }
.orbit-a { width: 520px; height: 520px; top: 4%; left: 4%; animation: orbit 22s linear infinite; }
.orbit-b { width: 700px; height: 700px; right: -12%; bottom: -28%; border-style: dashed; animation: orbit 28s linear infinite reverse; }

.device-shell { position: relative; width: 390px; height: 844px; overflow: hidden; background: var(--ink); border: 10px solid #17262a; border-radius: 44px; box-shadow: 0 35px 90px rgba(3,15,18,.36), 0 0 0 1px rgba(255,255,255,.4); transform: translateZ(0); }
.device-shell::before { content: ""; position: absolute; z-index: 12; top: 0; left: 50%; width: 126px; height: 26px; background: #17262a; border-radius: 0 0 18px 18px; transform: translateX(-50%); pointer-events: none; }
.device-topbar { position: absolute; z-index: 10; top: 0; right: 0; left: 0; height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; color: #f1f4ee; font-size: 11px; pointer-events: none; }
.device-status { display: flex; align-items: center; gap: 5px; }
.device-status i { width: 12px; height: 7px; display: block; border: 1px solid rgba(255,255,255,.8); border-radius: 2px; }
.device-status i:nth-child(2) { width: 15px; border-radius: 5px; }
.device-status b { font-size: 9px; font-weight: 500; }
.device-home-indicator { position: absolute; z-index: 10; bottom: 5px; left: 50%; width: 110px; height: 4px; background: rgba(255,255,255,.86); border-radius: 8px; transform: translateX(-50%); pointer-events: none; }

.mini-app { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); }
.mini-header { position: absolute; z-index: 9; top: 26px; right: 0; left: 0; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: var(--ink); transition: background .25s, color .25s; }
.mini-header.dark { color: #fff; }
.mini-header.light { background: rgba(244,247,244,.88); backdrop-filter: blur(12px); }
.mini-back, .mini-more { width: 32px; height: 32px; display: grid; place-items: center; background: transparent; font-size: 28px; line-height: 1; }
.mini-back { font-family: Georgia, serif; }
.mini-more { font-size: 16px; letter-spacing: 1px; }
.mini-title { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.mini-brand { display: grid; place-items: center; width: 22px; height: 22px; background: var(--mint); color: var(--ink); font-size: 12px; font-weight: 900; transform: rotate(-8deg); }

.screen { display: none; flex: 1; min-height: 0; overflow-y: auto; padding: 74px 17px 78px; background: var(--paper); scrollbar-width: none; animation: screenIn .45s var(--ease); }
.screen::-webkit-scrollbar { display: none; }
.screen.active { display: block; }
.screen button { transition: transform .22s var(--ease), background .22s, color .22s, box-shadow .22s, border-color .22s; }
.screen button:active { transform: scale(.97); }

.home-hero { position: relative; min-height: 245px; overflow: hidden; margin: -74px -17px 16px; padding: 101px 20px 30px; color: #fff; background: linear-gradient(130deg, #102e31 0%, #0a171a 70%); }
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(207,255,118,.1), transparent 47%), radial-gradient(circle at 86% 8%, rgba(113,223,240,.28), transparent 32%); }
.home-hero::after { content: ""; position: absolute; right: -36px; bottom: -95px; width: 250px; height: 250px; border: 1px solid rgba(207,255,118,.18); border-radius: 50%; box-shadow: 0 0 0 24px rgba(207,255,118,.03), 0 0 0 50px rgba(207,255,118,.02); }
.hero-copy { position: relative; z-index: 2; max-width: 245px; }
.tiny-label { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.7); font-size: 9px; }
.tiny-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(207,255,118,.14); }
.home-hero h1 { margin: 17px 0 11px; font-size: 31px; line-height: 1.08; letter-spacing: -.03em; }
.home-hero h1 em { color: var(--mint); font-family: Georgia, serif; font-weight: 400; }
.home-hero p { max-width: 230px; margin: 0; color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.65; }
.hero-car { position: absolute; z-index: 1; right: -14px; bottom: 21px; width: 205px; height: 92px; opacity: .82; transform: rotate(-5deg); }
.hero-car::before { content: ""; position: absolute; right: 3px; bottom: 12px; width: 193px; height: 48px; background: linear-gradient(165deg,#e9f2ed,#9db6ad 70%); border-radius: 58% 31% 20% 18%; box-shadow: inset -12px -5px 0 rgba(7,20,24,.18), 12px 14px 18px rgba(0,0,0,.2); }
.hero-car::after { content: ""; position: absolute; right: 33px; bottom: 49px; width: 106px; height: 38px; background: linear-gradient(135deg,rgba(7,20,24,.92),rgba(52,89,91,.8)); clip-path: polygon(15% 100%, 32% 0, 77% 0, 100% 100%); border: 1px solid rgba(207,255,118,.4); }
.hero-car { border-bottom: 5px solid #172c2e; border-radius: 45%; }
.hero-car::marker { display: none; }

.vehicle-card { position: relative; z-index: 2; margin: 0 0 13px; padding: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 9px 24px rgba(7,20,24,.06); }
.vehicle-card-head { display: flex; justify-content: space-between; align-items: center; color: #879395; font-size: 8px; letter-spacing: .08em; }
.inline-link { padding: 0; background: transparent; color: var(--ink); border-bottom: 1px solid var(--ink); font-size: 9px; }
.vehicle-main { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 11px; margin-top: 16px; }
.car-avatar { display: grid; place-items: center; width: 45px; height: 45px; background: var(--ink); color: var(--mint); font-size: 13px; font-weight: 900; letter-spacing: -.04em; }
.vehicle-main strong, .vehicle-main small { display: block; }
.vehicle-main strong { margin-bottom: 5px; font-size: 12px; }
.vehicle-main small { color: #879395; font-size: 8px; }
.healthy-pill { padding: 5px 7px; background: rgba(148,230,163,.2); color: #2e8050; font-size: 7px; }
.vehicle-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); }
.vehicle-meta span { display: grid; gap: 5px; }
.vehicle-meta b { color: #8b9797; font-size: 7px; font-weight: 500; }
.vehicle-meta strong { font-size: 10px; }

.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 23px; }
.quick-action { min-height: 73px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 13px 12px; background: #fff; border: 1px solid var(--line); text-align: left; }
.quick-action.primary { background: var(--mint); border-color: var(--mint); }
.quick-action i { display: grid; place-items: center; width: 29px; height: 29px; background: var(--ink); color: var(--mint); font-size: 13px; font-style: normal; }
.quick-action:not(.primary) i { background: #e7f5f1; color: var(--ink); }
.quick-action b, .quick-action small { display: block; }
.quick-action b { font-size: 11px; }
.quick-action small { margin-top: 4px; color: #738080; font-size: 7px; }
.quick-action em { color: #6a7879; font-size: 16px; font-style: normal; }
.home-section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 12px; }
.home-section-head span, .mall-top span, .orders-heading span, .screen-heading > span, .booking-section-title span, .profile-hero > div > span { color: #829293; font-size: 8px; letter-spacing: .08em; }
.home-section-head h2 { margin: 5px 0 0; font-size: 19px; }
.recommend-scroll { display: flex; gap: 10px; margin: 0 -17px 21px; padding: 0 17px 4px; overflow-x: auto; scrollbar-width: none; }
.recommend-scroll::-webkit-scrollbar { display: none; }
.service-card { position: relative; flex: 0 0 174px; min-height: 166px; overflow: hidden; display: grid; align-content: end; padding: 15px; color: #fff; text-align: left; }
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 12%,rgba(0,0,0,.66) 100%); }
.service-card::after { content: ""; position: absolute; right: -28px; top: -32px; width: 100px; height: 100px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.service-card > * { position: relative; z-index: 1; }
.service-card.oil { background: linear-gradient(145deg,#30444a,#0b1b1f); }
.service-card.wash { background: linear-gradient(145deg,#3f7c80,#0b2831); }
.service-card.tire { background: linear-gradient(145deg,#6f5e4e,#1f1716); }
.service-card span { color: var(--mint); font-size: 8px; }
.service-card strong { margin-top: 7px; font-size: 15px; }
.service-card small { margin-top: 5px; color: rgba(255,255,255,.68); font-size: 7px; }
.service-card b { margin-top: 12px; font-size: 12px; }
.service-card i { position: absolute; right: 14px; bottom: 12px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.4); font-size: 12px; font-style: normal; }
.tip-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 13px; align-items: center; margin-top: 3px; padding: 14px; background: #e5f2e9; border-left: 4px solid var(--mint-2); }
.tip-card span { color: #408254; font-size: 8px; font-weight: 800; }
.tip-card p { grid-column: 1/-1; margin: 0; color: #486052; font-size: 9px; line-height: 1.6; }
.tip-card p strong { color: #187040; }
.tip-card button { grid-column: 2; grid-row: 1; padding: 6px 8px; background: var(--ink); color: var(--mint); font-size: 8px; }
.app-support { margin: 25px 0 2px; color: #98a5a2; font-size: 7px; text-align: center; }
.app-support a { color: #536e65; border-bottom: 1px solid #91a59d; text-decoration: none; }

.screen-heading { margin: 4px 0 28px; }
.screen-heading h1, .mall-top h1, .orders-heading h1 { margin: 12px 0 12px; font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
.screen-heading h1 em, .mall-top h1 em, .orders-heading h1 em { color: #497f66; font-family: Georgia, serif; font-weight: 400; }
.screen-heading p { max-width: 290px; margin: 0; color: #788787; font-size: 10px; line-height: 1.7; }
.booking-stepper { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 7px; margin-bottom: 28px; }
.booking-stepper span { display: grid; justify-items: center; gap: 5px; color: #829293; font-size: 7px; white-space: nowrap; }
.booking-stepper span.active { color: var(--ink); font-weight: 800; }
.booking-stepper i { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #c7d0cc; border-radius: 50%; font-size: 9px; font-style: normal; }
.booking-stepper span.active i { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.booking-stepper b { height: 1px; background: #c8d2ce; }
.booking-page { display: none; animation: screenIn .35s var(--ease); }
.booking-page.active { display: block; }
.booking-section-title { margin-bottom: 14px; }
.booking-section-title h2 { margin: 7px 0 0; font-size: 18px; }
.service-options { display: grid; gap: 9px; }
.service-option { min-height: 67px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 11px; background: #fff; border: 1px solid var(--line); text-align: left; }
.service-option.selected { border-color: var(--ink); box-shadow: 4px 4px 0 var(--mint); }
.service-option > i { display: grid; place-items: center; width: 29px; height: 29px; background: #edf5f1; color: #39765c; font-size: 13px; font-style: normal; }
.service-option.selected > i { background: var(--ink); color: var(--mint); }
.service-option strong, .service-option small { display: block; }
.service-option strong { font-size: 10px; }
.service-option small { margin-top: 4px; color: #849190; font-size: 7px; }
.service-option > b { font-size: 12px; }
.store-selector { display: grid; grid-template-columns: 35px 1fr auto; gap: 10px; align-items: center; padding: 13px; background: #fff; border: 1px solid var(--line); }
.store-pin { display: grid; place-items: center; width: 35px; height: 35px; background: var(--mint); font-size: 17px; }
.store-selector strong, .store-selector small { display: block; }
.store-selector strong { font-size: 10px; }
.store-selector small { margin-top: 5px; color: #849190; font-size: 7px; }
.store-selector button { padding: 6px; background: transparent; color: #60806e; border-bottom: 1px solid #60806e; font-size: 8px; }
.date-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 17px 0 13px; }
.date-chip, .time-chip { min-height: 51px; display: grid; justify-items: center; align-content: center; gap: 4px; background: #fff; border: 1px solid var(--line); }
.date-chip b { font-size: 9px; }
.date-chip small { color: #829293; font-size: 7px; }
.date-chip.active, .time-chip.active { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.time-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.time-chip { min-height: 42px; font-size: 9px; }
.time-chip.disabled { color: #b5c0bc; background: #e9efeb; cursor: not-allowed; text-decoration: line-through; }
.confirm-card { padding: 4px 14px 0; background: #fff; border: 1px solid var(--line); }
.confirm-card p, .confirm-card > div { display: flex; justify-content: space-between; gap: 15px; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 9px; }
.confirm-card p span, .confirm-card > div span { color: #829293; }
.confirm-card p strong { font-size: 9px; }
.confirm-card > div { border: 0; align-items: center; }
.confirm-card > div b { color: #2a8258; font-size: 18px; }
.note-field { display: grid; gap: 8px; margin-top: 18px; color: #6e7d7c; font-size: 9px; }
.note-field textarea { min-height: 72px; padding: 10px; background: #fff; border: 1px solid var(--line); font-size: 9px; resize: none; }
.note-field textarea::placeholder { color: #b2bdbc; }
.agree-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: #7b8988; font-size: 8px; }
.agree-row input { width: 14px; height: 14px; accent-color: var(--ink); }
.booking-footer { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; margin: 25px -17px 0; padding: 15px 17px 17px; background: rgba(244,247,244,.92); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
.booking-footer > span { color: #849190; font-size: 8px; text-align: center; }
.booking-footer > span b { color: var(--ink); }
.ghost-button { justify-self: start; padding: 10px 0; background: transparent; color: #637371; font-size: 10px; }
.accent-button { justify-self: end; min-width: 120px; min-height: 39px; padding: 0 13px; background: var(--ink); color: var(--mint); font-size: 10px; font-weight: 800; box-shadow: 4px 4px 0 var(--mint-2); }

.mall-top, .orders-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.cart-button { position: relative; width: 38px; height: 38px; background: var(--ink); color: var(--mint); font-size: 15px; }
.cart-button b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 8px; }
.mall-search { display: flex; align-items: center; gap: 8px; height: 40px; margin-bottom: 15px; padding: 0 12px; background: #fff; border: 1px solid var(--line); }
.mall-search span { color: #7b8a89; font-size: 16px; }
.mall-search input { width: 100%; border: 0; background: transparent; color: var(--ink); font-size: 9px; }
.mall-search input::placeholder { color: #a5b1af; }
.mall-categories { display: flex; gap: 7px; margin: 0 -17px 17px; padding: 0 17px 3px; overflow-x: auto; scrollbar-width: none; }
.mall-categories::-webkit-scrollbar { display: none; }
.mall-categories button { flex: 0 0 auto; padding: 7px 11px; background: transparent; color: #7d8c8a; border-bottom: 2px solid transparent; font-size: 9px; }
.mall-categories button.active { color: var(--ink); border-color: var(--ink); font-weight: 800; }
.mall-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; }
.mall-product { overflow: hidden; background: #fff; border: 1px solid var(--line); animation: productIn .35s var(--ease); }
.mall-product[hidden] { display: none; }
.product-image { position: relative; min-height: 110px; display: grid; place-items: center; overflow: hidden; color: rgba(255,255,255,.78); font-size: 17px; font-weight: 900; letter-spacing: .12em; }
.product-image::before, .product-image::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); }
.product-image::before { width: 110px; height: 110px; transform: rotate(25deg); }
.product-image::after { width: 62px; height: 62px; transform: rotate(-25deg); }
.oil-image { background: linear-gradient(145deg,#173a3e,#09191d); }
.wiper-image { background: linear-gradient(145deg,#718a86,#263e3f); }
.care-image { background: linear-gradient(145deg,#8aa66d,#253c34); }
.filter-image { background: linear-gradient(145deg,#6e5b48,#282018); }
.coat-image { background: linear-gradient(145deg,#8494ac,#1b2637); }
.check-image { background: linear-gradient(145deg,#a47362,#35201c); }
.product-info { position: relative; padding: 11px 11px 13px; }
.product-info > span { color: #6b897b; font-size: 7px; }
.product-info h3 { margin: 5px 0; font-size: 11px; }
.product-info p { min-height: 22px; margin: 0 0 9px; color: #849190; font-size: 7px; line-height: 1.55; }
.product-info > strong { font-size: 14px; }
.add-product { position: absolute; right: 10px; bottom: 11px; display: grid; place-items: center; width: 25px; height: 25px; background: var(--mint); color: var(--ink); font-size: 16px; font-weight: 800; }
.add-product.added { background: var(--ink); color: var(--mint); font-size: 10px; }

.order-count { display: grid; justify-items: end; padding-top: 7px; }
.order-count strong { color: #447c63; font-size: 31px; line-height: 1; }
.order-count small { margin-top: 5px; color: #859291; font-size: 7px; }
.order-tabs { display: flex; gap: 17px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.order-tabs button { padding: 0 0 10px; background: transparent; color: #829293; border-bottom: 2px solid transparent; font-size: 9px; }
.order-tabs button.active { color: var(--ink); border-color: var(--ink); font-weight: 800; }
.order-list { display: grid; gap: 11px; }
.order-card { background: #fff; border: 1px solid var(--line); }
.order-card header, .order-card footer { display: flex; justify-content: space-between; align-items: center; padding: 11px 13px; }
.order-card header { color: #899695; border-bottom: 1px solid var(--line); font-size: 7px; }
.order-card header b { color: var(--orange); font-size: 8px; }
.order-card header .done-text { color: #5a8b6d; }
.order-body { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 14px 13px; }
.order-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); font-size: 15px; }
.order-icon.service { background: var(--mint); }
.order-icon.mall { background: #deebf1; }
.order-body strong, .order-body small { display: block; }
.order-body strong { font-size: 11px; }
.order-body small { margin-top: 4px; color: #849190; font-size: 8px; }
.order-progress { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 19px 5px 8px; }
.order-progress::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 2px; background: #d4dfda; transform: translateY(-50%); }
.order-progress span { position: absolute; top: 50%; left: 0; width: 37%; height: 2px; background: #62a878; transform: translateY(-50%); }
.order-progress i { position: relative; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: #d4dfda; }
.order-progress i.done { background: #62a878; }
.order-progress i.current { width: 11px; height: 11px; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,91,.15); }
.order-body p { margin: 0; color: #849190; font-size: 8px; }
.order-body p em { color: #4d8a65; font-style: normal; }
.order-finished { color: #4d8a65 !important; }
.order-card footer { border-top: 1px solid var(--line); }
.outline-small, .accent-small { min-height: 28px; padding: 0 10px; font-size: 8px; }
.outline-small { background: transparent; border: 1px solid var(--line); }
.accent-small { background: var(--ink); color: var(--mint); }

.profile-hero { position: relative; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px; margin: -74px -17px 20px; padding: 100px 18px 21px; color: #fff; background: linear-gradient(140deg,#102e31,#0a171a); }
.profile-avatar { display: grid; place-items: center; width: 54px; height: 54px; background: var(--mint); color: var(--ink); font-size: 22px; font-weight: 900; }
.profile-hero h1 { margin: 5px 0 0; font-size: 21px; }
.profile-hero p { margin: 5px 0 0; color: rgba(255,255,255,.6); font-size: 8px; }
.profile-hero > button { align-self: start; background: transparent; color: #fff; font-size: 17px; }
.member-card { margin-bottom: 14px; padding: 17px; color: #fff; background: linear-gradient(145deg,#3f7061,#182e2d); }
.member-card > div:first-child { display: flex; justify-content: space-between; align-items: start; }
.member-card span { color: var(--mint); font-size: 8px; letter-spacing: .08em; }
.member-card strong { font-size: 11px; }
.member-progress { height: 4px; margin-top: 18px; background: rgba(255,255,255,.2); }
.member-progress i { display: block; height: 100%; background: var(--mint); }
.member-card p { margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: 8px; }
.member-card p b { float: right; color: var(--mint); }
.profile-menu { display: grid; gap: 8px; }
.profile-menu button { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 11px; padding: 12px; background: #fff; border: 1px solid var(--line); text-align: left; }
.profile-menu button > i { display: grid; place-items: center; width: 34px; height: 34px; background: #edf5f1; color: #4d8767; font-size: 14px; font-style: normal; }
.profile-menu b, .profile-menu small { display: block; }
.profile-menu b { font-size: 10px; }
.profile-menu small { margin-top: 4px; color: #849190; font-size: 7px; }
.profile-menu em { color: #8b9997; font-size: 17px; font-style: normal; }
.profile-footnote { margin: 29px 0 0; color: #a4b0ad; font-size: 7px; text-align: center; }
.profile-footnote a { display: inline-block; margin-top: 5px; color: #536e65; border-bottom: 1px solid #91a59d; text-decoration: none; }

.tabbar { position: absolute; z-index: 8; right: 0; bottom: 0; left: 0; height: 68px; display: grid; grid-template-columns: repeat(5,1fr); padding: 8px 8px 9px; background: rgba(255,255,255,.92); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
.tabbar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; background: transparent; color: #879594; }
.tabbar button i { font-size: 16px; font-style: normal; line-height: 1; }
.tabbar button span { font-size: 7px; }
.tabbar button.active { color: var(--ink); }
.tabbar button.active i { color: #4d956a; transform: translateY(-1px); }
.tabbar button b { position: absolute; top: 5px; right: 23px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.modal-layer { position: fixed; z-index: 30; inset: 0; display: grid; align-items: end; background: rgba(4,13,15,.56); backdrop-filter: blur(5px); }
.modal-sheet { width: min(390px,100vw); max-height: 80vh; overflow: auto; margin: 0 auto; padding: 22px 18px 31px; background: var(--paper); border-radius: 24px 24px 0 0; animation: sheetIn .42s var(--ease); }
.modal-sheet > header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 20px; }
.modal-sheet > header span { color: #83908f; font-size: 8px; letter-spacing: .08em; }
.modal-sheet h2 { margin: 6px 0 0; font-size: 23px; }
.modal-sheet > header button { width: 30px; height: 30px; background: var(--ink); color: #fff; font-size: 20px; }
.modal-content-card { padding: 16px; background: #fff; border: 1px solid var(--line); }
.modal-vehicle { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; }
.modal-vehicle .car-avatar { width: 48px; height: 48px; }
.modal-vehicle strong, .modal-vehicle small { display: block; }
.modal-vehicle strong { font-size: 13px; }
.modal-vehicle small { margin-top: 5px; color: #849190; font-size: 8px; }
.modal-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.modal-stats span { display: grid; gap: 5px; border-right: 1px solid var(--line); text-align: center; }
.modal-stats span:last-child { border: 0; }
.modal-stats b { color: #829293; font-size: 7px; font-weight: 500; }
.modal-stats strong { font-size: 11px; }
.modal-timeline { display: grid; gap: 0; margin-top: 12px; padding: 5px 0; }
.modal-timeline li { position: relative; display: grid; grid-template-columns: 17px 1fr auto; gap: 9px; padding: 11px 0; list-style: none; border-bottom: 1px solid var(--line); font-size: 9px; }
.modal-timeline li::before { content: ""; position: absolute; top: 25px; left: 7px; bottom: -12px; width: 1px; background: #c7d4ce; }
.modal-timeline li:last-child::before { display: none; }
.modal-timeline i { position: relative; z-index: 1; display: grid; place-items: center; width: 15px; height: 15px; background: var(--mint); border-radius: 50%; color: var(--ink); font-size: 8px; font-style: normal; }
.modal-timeline span { color: #829293; }
.modal-timeline time { color: #9ca8a5; font-size: 8px; }
.modal-action { width: 100%; min-height: 43px; margin-top: 16px; background: var(--ink); color: var(--mint); font-size: 10px; font-weight: 800; }
.modal-cart-list { display: grid; gap: 9px; }
.modal-cart-item { display: flex; justify-content: space-between; gap: 10px; padding: 13px; background: #fff; border: 1px solid var(--line); font-size: 9px; }
.modal-cart-total { display: flex; justify-content: space-between; margin-top: 14px; padding: 17px; background: var(--mint); font-size: 11px; font-weight: 800; }
.modal-empty { padding: 28px 15px; color: #81908d; background: #fff; border: 1px solid var(--line); font-size: 10px; line-height: 1.7; text-align: center; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 38px; display: flex; align-items: center; gap: 8px; min-width: 240px; max-width: 350px; padding: 12px 14px; background: var(--ink); color: var(--mint); box-shadow: 5px 5px 0 var(--orange); font-size: 9px; transform: translate(-50%, 150%); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); color: var(--ink); font-style: normal; font-weight: 900; }

@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes screenIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
@keyframes productIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  html, body { background: var(--paper); }
  .desktop-stage { display: block; min-height: 100vh; padding: 0; }
  .device-label, .stage-orbit { display: none; }
  .device-shell { width: 100%; height: 100dvh; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .device-shell::before { display: none; }
  .device-topbar { height: 27px; padding: 0 18px; }
  .mini-header { top: 20px; }
  .device-home-indicator { bottom: 4px; }
  .modal-sheet { width: 100%; }
}

@media (min-width: 601px) and (max-height: 800px) {
  .desktop-stage { padding-block: 20px; }
  .device-shell { transform: scale(.88); transform-origin: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
