﻿:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --panel-soft: #f8fafb;
  --ink: #1d2a2e;
  --muted: #65757b;
  --line: #dfe6e8;
  --brand: #0f766e;
  --brand-strong: #0b5f59;
  --accent: #d99a27;
  --danger: #b42318;
  --success: #16803c;
  --warning: #a15c07;
  --shadow: 0 16px 40px rgba(29, 42, 46, 0.08);
  --radius: 8px;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

body {
  font-size: 15px;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.side {
  background: #142527;
  color: #e7f2f1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand {
  display: grid;
  gap: 6px;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #50c2b6;
  color: #102022;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
}

.brand p {
  margin: 0;
  color: #a9c0c0;
  line-height: 1.6;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: #d7e4e3;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  background: rgba(255, 255, 255, 0.09);
}

.main {
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.topbar h2,
.page-title {
  margin: 0;
  font-size: 26px;
}

.topbar p,
.subtle {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card__head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.card__head h3,
.section-title {
  margin: 0;
  font-size: 17px;
}

.card__body {
  padding: 18px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  color: #334549;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cdd8db;
  background: #fff;
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.btn {
  border: 0;
  border-radius: 7px;
  background: var(--brand);
  color: white;
  padding: 11px 15px;
  font-weight: 800;
  cursor: pointer;
  min-height: 42px;
}

.btn:hover {
  background: var(--brand-strong);
}

.btn.secondary {
  background: #edf4f4;
  color: #183134;
}

.btn.secondary:hover {
  background: #dceaea;
}

.btn.danger {
  background: var(--danger);
}

.btn.warning {
  background: var(--warning);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef3f4;
  color: #43565b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pill.success {
  background: #e9f7ee;
  color: var(--success);
}

.pill.warning {
  background: #fff3df;
  color: var(--warning);
}

.pill.danger {
  background: #fff0ee;
  color: var(--danger);
}

.pill.info {
  background: #e8f4f7;
  color: #14617a;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 27px;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f5f8f9;
  color: #425358;
  font-size: 13px;
}

td {
  color: #203236;
}

.empty {
  padding: 32px 18px;
  text-align: center;
  color: var(--muted);
}

.preview {
  aspect-ratio: 16 / 9;
  background: #f8f4ef;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 8px solid #273639;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050809;
}

.preview__placeholder {
  color: #b8860b;
  text-align: center;
  padding: 24px;
}

.notice {
  border: 1px solid #ead7ad;
  background: #fff8e8;
  color: #6a4a10;
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.7;
}

.mobile-page {
  min-height: 100vh;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(20, 37, 39, 0.92), rgba(20, 37, 39, 0.72) 230px, transparent 230px),
    var(--bg);
}

.phone-frame {
  max-width: 520px;
  margin: 0 auto;
}

.mobile-hero {
  color: white;
  padding: 10px 2px 18px;
}

.mobile-hero h1 {
  margin: 0;
  font-size: 27px;
}

.mobile-hero p {
  margin: 8px 0 0;
  color: #d4e2e1;
  line-height: 1.7;
}

.package-list {
  display: grid;
  gap: 10px;
}

.package-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fff;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.package-option.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.package-option strong {
  display: block;
  margin-bottom: 4px;
}

.price {
  font-size: 22px;
  color: var(--brand);
  font-weight: 900;
}

.status-flow {
  display: grid;
  gap: 10px;
}

.flow-step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}

.flow-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #c8d4d6;
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.flow-step.done .flow-dot {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.flow-step strong {
  display: block;
  margin-bottom: 2px;
}

.display-page {
  min-height: 100vh;
  background: #050808;
  color: white;
  overflow: hidden;
}

.display-stage {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #050808;
}

.display-stage img {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}

.display-default {
  width: min(1100px, 82vw);
  display: grid;
  gap: 24px;
  text-align: center;
  justify-items: center;
}

.display-default h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 112px);
  line-height: 1.05;
}

.display-default p {
  margin: 0;
  color: #9eb3b4;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.5;
}

.display-qr {
  width: clamp(150px, 16vw, 240px);
  height: clamp(150px, 16vw, 240px);
  background: white;
  border-radius: 8px;
  padding: 10px;
}

.display-bar {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  background: rgba(10, 18, 19, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: #d8e6e6;
}

.display-bar small {
  color: #91a5a6;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #172a2d;
  color: white;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: min(420px, calc(100vw - 36px));
  z-index: 30;
}

@media (max-width: 920px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .side {
    position: static;
  }

  .nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav a {
    text-align: center;
  }

  .main {
    padding: 18px;
  }

  .grid.two,
  .grid.three,
  .stats {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }
}

@media (max-width: 560px) {
  .mobile-page {
    padding: 12px;
  }

  .card__head,
  .card__body {
    padding: 14px;
  }

  .nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .display-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ===== Apple-Inspired H5 Design ===== */
.h5-home-page {
  background: #f5f5f7;
  padding-bottom: 64px;
}
.h5-app {
  max-width: 520px;
  margin: 0 auto;
  background: #f5f5f7;
  min-height: 100vh;
}
.h5-titlebar { display: none !important; }
.h5-titlebar { display: none !important; }
.h5-titlebar h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: 0;
}
.h5-back {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
}
.screen-showcase {
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.screen-photo { border-radius: 0; background: #000; overflow: hidden; touch-action: pan-y; }
.screen-track { display: flex; transition: transform 260ms ease; will-change: transform; }
.screen-slide { flex: 0 0 100%; min-width: 100%; position: relative; }
.screen-slide img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.screen-label {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  pointer-events: none;
}
.screen-label strong { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.screen-label span { font-size: 12px; color: rgba(255,255,255,0.8); }
.screen-dots {
  height: 20px; background: #000;
  display: flex; justify-content: center; align-items: center; gap: 6px;
}
.screen-dots button { width: 6px; height: 6px; border-radius: 50%; background: #555; border: 0; padding: 0; cursor: pointer; }
.screen-dots .active { width: 20px; border-radius: 4px; background: #fff; }

.audit-line {
  display: none;
}
.screen-info {
    padding: 16px 16px 0;
    text-align: left;
}
.screen-info h2 {
      display: inline; margin: 0;
      color: #1d1d1f; font-size: 18px; font-weight: 600;
    }
.screen-info > p:first-of-type {
      display: inline; margin: 0 0 0 8px;
      font-size: 12px; color: #6b7280;
    }
.card-balance {
    display: flex; align-items: center; gap: 10px;
    margin: 12px 0;
    padding: 10px 14px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
.green-card {
    height: 48px; min-width: 90px;
    background: linear-gradient(135deg, #FFB74D, #FF9800, #F57C00);
    color: #fff;
    font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
  }
.balance-text { color: #1d1d1f; font-size: 15px; font-weight: 600; flex: 1; }
.balance-text b { color: #6b7280; font-weight: 700; font-size: 17px; letter-spacing: 0; }
.buy-card-btn {
    border: 0; border-radius: 8px; min-height: 36px;
    background: #0071e3; color: #fff;
    font-size: 14px; font-weight: 600; cursor: pointer;
    padding: 4px 12px;
  }
.lock-note { text-align: left; color: #86868b; font-size: 12px !important; padding: 0 2px; margin: 4px 0 0 !important; }

.h5-package-list { display: grid; gap: 8px; padding: 12px 16px; }
.h5-package {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 8px;
  background: #fff;
  border-radius: 14px; padding: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color 0.2s;
}
.h5-package.active { border-color: #6b7280; box-shadow: 0 0 0 2px rgba(0,113,227,0.15); }
.package-main {
  border: 0; background: transparent; text-align: left; padding: 0; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
}
.package-main h3 { color: #1d1d1f; font-size: 16px; font-weight: 600; margin: 0 0 3px; }
.package-main p { margin: 0; font-size: 12px; color: #86868b; line-height: 1.4; }
.package-main strong { color: #1d1d1f; font-size: 18px; white-space: nowrap; font-weight: 700; }
.package-main small { font-size: 13px; font-weight: 400; color: #86868b; }
.package-cta {
  border: 0; border-radius: 20px;
  background: #0071e3; color: #fff;
  font-size: 13px; font-weight: 600;
  cursor: pointer; padding: 6px 14px;
}

.upload-entry { padding: 0 16px 16px; }
.upload-main {
  width: 100%; min-height: 100px;
  border: 1.5px dashed #c7c7cc;
  border-radius: 12px;
  background: #fff;
  color: #86868b;
  display: grid; place-items: center; align-content: center; gap: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.upload-main:hover { border-color: #6b7280; }
.upload-main span { font-size: 28px; line-height: 1; }
.upload-main strong { font-size: 15px; font-weight: 600; color: #1d1d1f; }

.screen-location {
  width: 100%;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 0 12px; font-size: 13px; color: #86868b;
  border-bottom: 1px solid #e8e8ed; margin-bottom: 12px;
  cursor: pointer; position: relative;
  background: transparent;
  text-align: left;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.screen-location #selectedScreenLocation {
  color: #1f2937;
  font-weight: 800;
  min-width: 0;
  flex: 1;
}
.loc-arrow { margin-left: auto; font-size: 11px; color: #126f68; font-weight: 800; }

.form-location-wrap {
  position: relative;
  z-index: 6;
}

.form-loc-dropdown {
  left: 0;
  right: 0;
  top: calc(100% - 8px);
  min-width: 0;
  z-index: 50;
}

.h5-order-form, .h5-order-status {
  margin: 12px 16px; background: #fff;
  border-radius: 14px; padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.form-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.form-title h3 { margin: 0; color: #1d1d1f; font-size: 17px; font-weight: 600; }
.form-title span { color: #86868b; font-size: 13px; font-weight: 500; }
.h5-preview { margin-bottom: 12px; }
.h5-preview .preview { border-width: 3px; border-color: #e8e8ed; }
.h5-action-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.h5-order-status .card__head { padding: 0 0 10px; }
.h5-order-info { line-height: 1.6; color: #1d1d1f; font-size: 14px; }

.date-range-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f5f7;
  color: #6e6e73;
  font-size: 13px;
}

.price-summary[hidden] {
  display: none !important;
}

.price-summary strong {
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.h5-tabs {
  position: fixed; left: 50%; bottom: 0;
  width: min(520px, 100vw); transform: translateX(-50%);
  height: 56px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.06);
  display: grid; grid-template-columns: repeat(4, 1fr);
  z-index: 20;
}
.h5-tabs a {
  text-decoration: none; color: #86868b;
  display: grid; place-items: center; align-content: center; gap: 1px;
  font-size: 10px; font-weight: 500;
  transition: color 0.15s;
}
.h5-tabs span { font-size: 18px; line-height: 1; }
.h5-tabs .active span, .h5-tabs .active { color: #6b7280; font-weight: 600; }

/* Package switch */
.package-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.pkg-btn {
  display: grid; gap: 1px; padding: 8px 6px;
  border-radius: 8px; border: 1px solid #e8e8ed;
  background: #fafafa; cursor: pointer; text-align: center;
}
.pkg-btn.active { border-color: #6b7280; background: #f0f7ff; }
.pkg-btn-name { font-size: 12px; font-weight: 600; color: #1d1d1f; }
.pkg-btn.active .pkg-btn-name { color: #6b7280; }
.pkg-btn-price { font-size: 15px; font-weight: 700; color: #6b7280; }
.pkg-btn-desc { font-size: 10px; color: #86868b; }
.pkg-btn.active .pkg-btn-desc { color: #6b7280; }

/* V upload slots */
.v-upload-slots { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.v-slot { text-align: center; }
.v-slot-label { font-size: 11px; font-weight: 600; color: #1d1d1f; margin-bottom: 3px; }
.v-slot-preview {
  aspect-ratio: 16/9; background: #f5f5f7;
  border-radius: 6px; border: 1px dashed #c7c7cc;
  color: #86868b; display: grid; place-items: center;
  font-size: 11px; cursor: pointer; overflow: hidden;
}
.v-slot:nth-child(2) .v-slot-preview { aspect-ratio: 9/16; }
.v-slot:nth-child(3) .v-slot-preview { aspect-ratio: 3/1; }

/* Package switch in order form */
.package-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.pkg-btn {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 10px 8px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.pkg-btn.active {
  border-color: #ff6b35;
  background: #fff5f0;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}
.pkg-btn-name {
  font-size: 14px;
  font-weight: 700;
  color: #1c1c2e;
}
.pkg-btn.active .pkg-btn-name {
  color: #e64a19;
}
.pkg-btn-price {
  font-size: 18px;
  font-weight: 800;
  color: #e64a19;
}
.pkg-btn-desc {
  font-size: 11px;
  color: #6b7280;
}
.pkg-btn.active .pkg-btn-desc {
  color: #e64a19;
}

/* Hide upload-entry */
.upload-entry {
  display: none !important;
}

/* Preview clickable cursor */
.h5-preview {
  cursor: pointer;
}

/* My orders page */
.h5-my-page {
  padding: 12px;
}
.my-page-header {
  padding: 8px 4px 12px;
}
.my-page-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1c1c2e;
}
.my-orders-list {
  display: grid;
  gap: 10px;
}
.my-order-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}
.my-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  gap: 10px;
}
.my-order-head strong {
  font-size: 15px;
  color: #1c1c2e;
}
.my-order-body {
  padding: 12px 14px;
}
.my-order-info {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 12px;
}
.my-order-info span {
  display: block;
}
.my-order-flow {
  display: grid;
  gap: 6px;
  padding: 10px 0;
}
.my-rejection {
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff0ee;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 13px;
}
.my-rejection p {
  margin: 0 0 8px;
  color: #b42318;
}
.my-rejection .btn {
  width: 100%;
}

/* V multi-upload slots */
.v-upload-slots {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.v-slot {
  text-align: center;
}
.v-slot-label {
  font-size: 12px;
  font-weight: 700;
  color: #1c1c2e;
  margin-bottom: 4px;
}
.v-slot-preview {
  aspect-ratio: 16 / 9;
  background: #f8f4ef;
  border-radius: 6px;
  border: 2px dashed #d4a853;
  color: #b8860b;
  display: grid;
  place-items: center;
  font-size: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}
.v-slot-preview:hover {
  border-color: #d4a853;
}
.v-slot:nth-child(2) .v-slot-preview {
  aspect-ratio: 9 / 16;
}
.v-slot:nth-child(3) .v-slot-preview {
  aspect-ratio: 3 / 1;
}
.loc-arrow {
  margin-left: auto;
  font-size: 10px;
  color: #9ca3af;
  transition: transform 0.2s;
}
.loc-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 20;
  overflow: hidden;
  margin-top: 2px;
}
.loc-option {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
  color: #1c1c2e;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s;
}
.loc-option:last-child {
  border-bottom: none;
}
.loc-option:hover {
  background: #fff5f0;
}
.loc-option.active {
  background: #fff0e6;
  color: #e64a19;
  font-weight: 600;
}

/* Order view full screen */







/* View switching - compatible with all browsers */



.h5-home-page, .h5-app, .h5-package, .package-main, .h5-order-form, .h5-tabs {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
}

/* Screen-specific upload slots */
.v-dimmed { opacity: 0.25; pointer-events: none; }
.v-dimmed .v-slot-preview { border-color: #e8e8ed; background: #f5f5f7; }
.v-slot:not(.v-dimmed) .v-slot-preview {
  border-color: #6b7280;
  border-width: 1.5px;
  animation: v-pulse 2s ease-in-out infinite;
}
@keyframes v-pulse {
  0%, 100% { border-color: #6b7280; }
  50% { border-color: #80b8f0; }
}

.carousel-container { position:absolute;inset:0;overflow:hidden;background:#111;z-index:3; }
.carousel-track { display:flex;transition:transform 0.3s ease;height:100%; }
.carousel-dots { position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:4; }
.carousel-dots button { width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,0.4);cursor:pointer;padding:0; }
.carousel-dots button.active { background:#fff; }





.preview-wrap 


.refresh-btn{position:absolute;top:8px;right:8px;z-index:15;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,0.2);background:rgba(0,0,0,0.45);color:#fff;font-size:18px;cursor:pointer;display:grid;place-items:center;transition:background 0.2s}.refresh-btn:hover{background:rgba(0,0,0,0.7)}.refresh-btn:active{transform:scale(0.93)}

.screen-info-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.loc-sel-wrap{position:relative;margin-left:auto}
.loc-sel-btn{border:0;background:#0071e3;color:#fff;font-size:11px;padding:4px 10px;border-radius:6px;cursor:pointer;white-space:nowrap}
.loc-sel-dropdown{position:absolute;top:100%;left:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,0.1);z-index:20;overflow:hidden;min-width:100px;margin-top:4px}
.loc-sel-dropdown .loc-opt{padding:6px 10px;cursor:pointer;font-size:12px;color:#1d1d1f;border-bottom:1px solid #f0f0f0}
.loc-sel-dropdown .loc-opt:last-child{border-bottom:0}
.loc-sel-dropdown .loc-opt:hover{background:#f0f7ff}
.loc-sel-dropdown .loc-opt.active{background:#f0f7ff;color:#0071e3;font-weight:600}

.countdown-bar{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 0 2px;font-size:13px;color:#e74c3c;font-weight:600}
.countdown-time{font-size:20px;font-weight:800;letter-spacing:2px;background:#e74c3c;color:#fff;padding:2px 12px;border-radius:6px;font-family:monospace}




.h5-package[data-id^="pkg-v-"] { display: none !important; }
.card-balance { display: none !important; }


/* Card balance - match A-package style */
.card-balance {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 10px 0; padding: 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.green-card {
  height: 36px; min-width: 76px;
  background: linear-gradient(135deg, #FFB74D, #FF9800, #F57C00);
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.card-balance .balance-text {
  font-size: 12px; font-weight: 500; color: #1d1d1f;
}
.card-balance .balance-text b {
  font-size: 14px; font-weight: 700; color: #e74c3c;
}
.card-balance .lock-note {
  width: 100%; flex: 0 0 100%;
  text-align: center; font-size: 11px; color: #86868b;
  margin: 2px 0 0; padding: 0;
}
.buy-card-btn {
  border: 0; border-radius: 8px; min-height: 32px;
  background: #0071e3; color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 4px 14px; white-space: nowrap;
}

.h5-package.active{box-shadow:none!important;border-color:#e5e7eb!important}.package-main:focus,.package-cta:focus,.h5-package:focus{outline:none}

.h5-package.sales-card {
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  overflow: hidden;
}

.h5-package.sales-card.active {
  border-color: #126f68 !important;
  box-shadow: 0 8px 24px rgba(18, 111, 104, 0.12) !important;
}

.sales-card .package-main {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px;
}

.sales-card-tone {
  display: inline-flex;
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef7f5;
  color: #126f68;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 5px;
}

.sales-card .package-copy em {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.sales-card .package-main strong {
  color: #111827;
  font-size: 20px;
}

.sales-card .package-main small {
  color: #64748b;
}

.quote-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.quote-main span {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.quote-main strong {
  color: #126f68;
  font-size: 24px;
  line-height: 1;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quote-grid span {
  border-radius: 10px;
  background: #f6f8f8;
  padding: 8px 9px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.quote-grid b {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-top: 2px;
}

.price-summary p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.rabbit-theme .h5-package-list,
.h5-package-list {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 16px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rabbit-theme .h5-package-list::-webkit-scrollbar,
.h5-package-list::-webkit-scrollbar {
  display: none;
}

.h5-package.sales-card {
  flex: 0 0 78%;
  min-width: 260px;
  max-width: 340px;
  scroll-snap-align: start;
}

.sales-card .package-main {
  min-height: 138px;
}

.sales-card .package-cta {
  margin: 0 14px 14px;
  width: calc(100% - 28px);
}

@media (min-width: 520px) {
  .h5-package.sales-card {
    flex-basis: 300px;
  }
}
/* ===== H5 user page cleanup ===== */
.h5-home-page {
  background: #f3f4f6;
  color: #172024;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.h5-app {
  width: min(100%, 520px);
  margin: 0 auto;
  min-height: 100vh;
  background: #f3f4f6;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.screen-showcase {
  background: #111827;
}

.screen-photo {
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  background: #0b1116;
}

.screen-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.screen-label {
  left: 18px;
  right: 18px;
  bottom: 16px;
  align-items: flex-end;
}

.screen-label strong {
  font-size: 18px;
  font-weight: 800;
}

.screen-label span {
  max-width: 56%;
  text-align: right;
  font-size: 12px;
  line-height: 1.35;
}

.screen-dots {
  height: 24px;
  background: transparent;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.screen-dots button {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.48);
}

.screen-dots button.active {
  width: 22px;
  background: #ffffff;
}

.screen-info {
  padding: 18px 16px 2px;
}

.screen-info-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.screen-info-copy {
  min-width: 0;
  text-align: right;
}

.screen-info h2 {
  display: block;
  margin: 0;
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.screen-info p,
#screenHours {
  display: block;
  margin: 5px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
}

.loc-sel-wrap {
  position: relative;
  margin-left: 0;
  display: grid;
  justify-items: start;
  gap: 4px;
}

.loc-sel-btn,
.buy-card-btn,
.package-cta,
.btn {
  min-height: 40px;
  border-radius: 10px;
  border: 0;
  background: #126f68;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.loc-sel-btn {
  padding: 0 13px;
  font-size: 13px;
  white-space: nowrap;
}

.loc-sel-helper {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.loc-sel-dropdown {
  right: auto;
  left: 0;
  min-width: 148px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.loc-option {
  padding: 11px 13px;
  font-size: 13px;
  color: #1f2937;
  cursor: pointer;
  border-bottom: 1px solid #edf2f7;
}

.loc-option:last-child {
  border-bottom: 0;
}

.loc-option.active,
.loc-option:hover {
  background: #eef8f7;
  color: #126f68;
  font-weight: 800;
}

.card-balance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0 0;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.green-card {
  height: 42px;
  min-width: 76px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #ef7d22);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.card-balance .balance-text {
  color: #1f2937;
  font-size: 13px;
  line-height: 1.35;
}

.card-balance .balance-text b {
  color: #dc2626;
  font-size: 18px;
}

.card-balance .lock-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.buy-card-btn {
  padding: 0 13px;
  background: #ef7d22;
}

.h5-package-list {
  display: grid;
  gap: 10px;
  padding: 14px 16px 10px;
}

.h5-package {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.h5-package.active {
  border-color: rgba(18, 111, 104, 0.34) !important;
  box-shadow: 0 0 0 3px rgba(18, 111, 104, 0.09) !important;
}

.h5-package[data-id^="pkg-v-"] {
  display: none !important;
}

.package-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
}

.package-main h3 {
  margin: 0 0 5px;
  color: #111827;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.package-main p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.package-main strong {
  color: #126f68;
  font-size: 18px;
  white-space: nowrap;
}

.package-main small {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.package-cta {
  padding: 0 14px;
  font-size: 13px;
  white-space: nowrap;
}

.h5-order-form,
.h5-order-status,
.h5-my-page {
  margin: 12px 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.form-title h3,
.my-page-header h3,
.card__head h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.package-switch {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.pkg-btn {
  min-height: 68px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  padding: 9px 6px;
}

.pkg-btn.active {
  border-color: #126f68;
  background: #eef8f7;
  box-shadow: 0 0 0 3px rgba(18, 111, 104, 0.08);
}

.pkg-btn-name,
.pkg-btn-price {
  color: #126f68;
}

.pkg-btn-desc {
  color: #64748b;
  font-size: 10px;
  line-height: 1.25;
}

.screen-location {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px 0 12px;
  border-bottom: 1px solid #edf2f7;
  color: #475569 !important;
  font-size: 13px;
}

.material-upload-compact {
  width: 100%;
  min-height: 40px;
  border: 1px solid #dbe7ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  margin: 0 0 6px;
}

.material-upload-compact:active {
  transform: translateY(1px);
}

.material-upload-note {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}

#preview,
.h5-preview {
  display: none !important;
}

.location-dot {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef8f7;
  color: #126f68;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 900;
}

.preview.h5-preview {
  position: relative;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc !important;
  cursor: pointer;
  margin-bottom: 14px;
}

.preview__placeholder {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.v-upload-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.v-slot-label {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.v-slot-preview {
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 20px;
}

.field {
  gap: 7px;
  margin-bottom: 13px;
}

.field label {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.field input {
  min-height: 44px;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
}

.field input:focus {
  border-color: #126f68;
  box-shadow: 0 0 0 3px rgba(18, 111, 104, 0.1);
}

.date-status {
  min-height: 18px;
  color: #64748b;
  font-size: 12px;
}

.date-status.available {
  color: #15803d;
}

.date-status.sold-out {
  color: #dc2626;
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.btn {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
}

.card__head {
  padding: 0 0 12px;
  border-bottom: 1px solid #edf2f7;
}

.h5-order-info p {
  margin: 9px 0;
}

.status-flow,
.my-order-flow {
  gap: 10px;
}

.flow-dot {
  border-color: #d7dee8;
}

.flow-step.done .flow-dot {
  background: #126f68;
  border-color: #126f68;
}

.my-order-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.my-order-body {
  display: none;
}

.my-order-card.open .my-order-body {
  display: block;
}

.h5-tabs {
  height: calc(60px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
  z-index: 90;
}

.h5-tabs a {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.h5-tabs span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #eef2f7;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.h5-tabs .active,
.h5-tabs .active span {
  color: #126f68;
}

.h5-tabs .active span {
  background: #eef8f7;
}

.toast {
  left: 50%;
  right: auto;
  bottom: calc(76px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 32px));
  text-align: center;
  border-radius: 12px;
  background: #172024;
}

@media (max-width: 380px) {
  .card-balance {
    grid-template-columns: 1fr auto;
  }

  .green-card {
    grid-column: 1 / -1;
    width: 78px;
  }

  .package-main {
    grid-template-columns: 1fr;
  }
}

/* Compact My page */
.h5-my-page {
  padding: 16px;
}

.my-page-header {
  padding: 0 0 12px;
}

.my-orders-list {
  gap: 8px;
}

.my-order-card.compact {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: none;
  background: #fff;
}

.my-order-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
}

.my-order-title {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.my-order-title strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
}

.my-order-title span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-order-side {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.my-order-side b {
  color: #126f68;
  font-size: 15px;
}

.my-order-card.compact .pill {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 11px;
}

.my-order-card.compact .my-order-head,
.my-order-card.compact .my-order-body,
.my-order-card.compact .my-order-flow,
.my-order-card.compact .my-order-info,
.my-order-card.compact .my-rejection {
  display: none !important;
}

/* Order confirm and payment flow */
.order-status-summary {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.order-status-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf2f7;
}

.order-status-summary span {
  color: #64748b;
  font-size: 13px;
}

.order-status-summary strong {
  color: #111827;
  font-size: 14px;
  text-align: right;
}

.order-action-area {
  margin-top: 14px;
}

.review-note {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #eef8f7;
  color: #126f68;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.payment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  background: rgba(15, 23, 42, 0.42);
  padding: 16px;
}

.payment-modal-overlay[hidden] {
  display: none !important;
}

.payment-modal {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  position: relative;
}

.payment-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #f1f5f9;
  color: #334155;
  font-size: 22px;
  line-height: 1;
}

.payment-modal h3 {
  margin: 0;
  color: #111827;
  font-size: 19px;
  font-weight: 900;
}

.payment-subtitle {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
}

.payment-amount {
  margin: 18px 0;
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  color: #126f68;
  font-size: 34px;
  font-weight: 900;
  text-align: center;
}

.payment-pay,
.payment-cancel {
  margin-top: 8px;
}

.my-order-card.status-only {
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: none;
  background: #fff;
}

.my-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 13px;
  border-bottom: 1px solid #edf2f7;
}

.my-status-line:last-child {
  border-bottom: 0;
}

.my-status-line span {
  color: #64748b;
  font-size: 13px;
}

.my-status-line strong {
  color: #111827;
  font-size: 13px;
}

.my-order-card.status-only .pill {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 11px;
}

/* ===== RabbitPre-inspired mobile redesign ===== */
.rabbit-theme {
  --rabbit-red: #ff4d43;
  --rabbit-orange: #ff7a22;
  --rabbit-pink: #fff1ef;
  --rabbit-bg: #f6f7fb;
  --rabbit-text: #171a20;
  --rabbit-muted: #858b99;
  --rabbit-line: #eef0f5;
  background: var(--rabbit-bg);
}

.rabbit-theme .h5-app {
  background: var(--rabbit-bg);
  box-shadow: none;
}

.rabbit-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: rgba(246, 247, 251, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rabbit-brand {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0 13px;
  border: 1px solid rgba(29, 29, 31, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(22, 26, 32, 0.055);
}

.rabbit-logo {
  display: inline-flex;
  align-items: center;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.rabbit-logo::after {
  content: "";
  width: 1px;
  height: 13px;
  margin-left: 8px;
  background: rgba(29, 29, 31, 0.16);
}

.rabbit-brand-name {
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.rabbit-platform-note {
  justify-self: end;
  max-width: 184px;
  margin: 0;
  color: #6b7280;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.28;
  text-align: right;
}

.rabbit-search {
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #9aa0ab;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(22, 26, 32, 0.055);
  text-align: left;
}

.search-mark {
  width: 14px;
  height: 14px;
  border: 2px solid #c9ced8;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.search-mark::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  border-radius: 2px;
  background: #c9ced8;
  transform: rotate(45deg);
}

.rabbit-banner {
  margin: 0 14px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rabbit-red), var(--rabbit-orange));
  box-shadow: 0 12px 28px rgba(255, 96, 55, 0.2);
}

.rabbit-banner .screen-photo {
  border-radius: 18px;
  background: transparent;
}

.rabbit-banner .screen-slide img {
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.rabbit-banner .screen-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 77, 67, 0.62), rgba(255, 122, 34, 0.2) 56%, rgba(0,0,0,0.08));
  pointer-events: none;
}

.rabbit-banner .screen-label {
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.rabbit-banner .screen-label strong {
  max-width: 92%;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.02;
  text-shadow: 0 4px 14px rgba(0,0,0,0.18);
  white-space: nowrap;
}

.rabbit-banner .screen-label span {
  max-width: 92%;
  font-size: 12px;
  line-height: 1.25;
  color: rgba(255,255,255,0.92);
}

.rabbit-banner .screen-dots {
  margin-top: -24px;
  height: 24px;
}

.rabbit-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px;
  padding: 14px 10px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(22, 26, 32, 0.045);
}

.quick-item {
  min-width: 0;
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--rabbit-text);
  font-size: 12px;
  font-weight: 700;
  padding: 0;
}

.quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--rabbit-red);
  background: linear-gradient(180deg, #fff4f2, #ffe9e5);
  font-size: 14px;
  font-weight: 900;
}

.quick-item:nth-child(2) .quick-icon { color: #ff7a22; background: #fff3e7; }
.quick-item:nth-child(3) .quick-icon { color: #ff4d73; background: #fff0f4; }
.quick-item:nth-child(4) .quick-icon { color: #6b6df7; background: #f0f1ff; }

.quick-item b {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.rabbit-panel,
.rabbit-section,
.rabbit-theme .h5-order-form,
.rabbit-theme .h5-order-status,
.rabbit-theme .h5-my-page {
  margin: 12px 14px;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(22, 26, 32, 0.045);
}

.rabbit-theme .screen-info {
  padding: 15px;
}

.rabbit-theme .screen-info h2 {
  font-size: 18px;
  color: var(--rabbit-text);
}

.rabbit-theme .screen-info p,
.rabbit-theme #screenHours {
  color: var(--rabbit-muted);
}

.rabbit-theme .loc-sel-btn,
.rabbit-theme .btn,
.rabbit-theme .package-cta,
.rabbit-theme .buy-card-btn {
  background: linear-gradient(135deg, var(--rabbit-red), var(--rabbit-orange));
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 87, 54, 0.22);
}

.rabbit-theme .loc-sel-btn {
  min-height: 34px;
  padding: 0 13px;
}

.rabbit-theme .card-balance {
  margin-top: 14px;
  padding: 13px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7f3, #fff);
  border: 1px solid #ffe4da;
  box-shadow: none;
}

.rabbit-theme .green-card {
  background: linear-gradient(135deg, var(--rabbit-red), var(--rabbit-orange));
  border-radius: 13px;
  height: 40px;
  min-width: 40px;
}

.rabbit-theme .card-balance .balance-text b,
.rabbit-theme .package-main strong,
.rabbit-theme .pkg-btn-price,
.rabbit-theme .my-order-side b {
  color: var(--rabbit-red);
}

.rabbit-theme .lock-note {
  color: #a56a5e;
}

.rabbit-section {
  padding: 14px;
}

.rabbit-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rabbit-section-title h3 {
  margin: 0;
  color: var(--rabbit-text);
  font-size: 17px;
  font-weight: 900;
}

.rabbit-section-title span {
  color: var(--rabbit-muted);
  font-size: 12px;
}

.rabbit-theme .h5-package-list {
  padding: 0;
  gap: 10px;
}

.rabbit-theme .h5-package {
  border: 1px solid var(--rabbit-line);
  border-radius: 16px;
  box-shadow: none;
  padding: 13px;
  background: #fff;
}

.rabbit-theme .h5-package.active {
  border-color: #ffb6a9 !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 67, 0.07) !important;
  background: linear-gradient(180deg, #fff8f6, #fff);
}

.rabbit-theme .package-main h3 {
  color: var(--rabbit-text);
  font-size: 15px;
}

.rabbit-theme .package-main p {
  color: var(--rabbit-muted);
}

.rabbit-theme .h5-order-form {
  padding: 16px;
}

.rabbit-theme .form-title h3,
.rabbit-theme .card__head h3,
.rabbit-theme .my-page-header h3 {
  color: var(--rabbit-text);
}

.rabbit-theme .pkg-btn.active {
  border-color: var(--rabbit-red);
  background: #fff4f2;
  box-shadow: 0 0 0 3px rgba(255, 77, 67, 0.08);
}

.rabbit-theme .pkg-btn.active .pkg-btn-name,
.rabbit-theme .pkg-btn.active .pkg-btn-desc {
  color: var(--rabbit-red);
}

.rabbit-theme .preview.h5-preview {
  border: 1.5px dashed #ffd0c7;
  background: #fff8f6 !important;
}

.rabbit-theme .preview__placeholder {
  color: #b17669;
}

.rabbit-theme .field input {
  border-color: #edf0f5;
  background: #fafbfe;
}

.rabbit-theme .phone-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  background: #fafbfe;
  padding: 0 12px;
}

.rabbit-theme .phone-field:focus-within {
  border-color: #edf0f5;
  box-shadow: none;
}

.rabbit-theme .phone-field span {
  flex: 0 0 auto;
  color: #111827;
  font-weight: 700;
}

.rabbit-theme .phone-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: 0;
  padding-left: 0;
  padding-right: 0;
}

.rabbit-theme .phone-field input:focus {
  outline: 0;
  box-shadow: none;
}

.rabbit-theme .field input:focus {
  border-color: var(--rabbit-red);
  box-shadow: 0 0 0 3px rgba(255, 77, 67, 0.1);
}

.rabbit-theme .flow-step.done .flow-dot {
  background: linear-gradient(135deg, var(--rabbit-red), var(--rabbit-orange));
  border-color: transparent;
}

.rabbit-theme .pill.warning,
.rabbit-theme .pill.info {
  color: #d84a35;
  background: #fff0ed;
}

.rabbit-theme .pill.success {
  color: #11845b;
  background: #eaf8f2;
}

.rabbit-theme .pill.danger {
  color: #b42318;
  background: #fff0ee;
}

.rabbit-theme .h5-tabs {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 -8px 24px rgba(22, 26, 32, 0.07);
}

.rabbit-theme .h5-tabs a {
  color: #9aa0ab;
}

.rabbit-theme .h5-tabs span {
  background: #f3f5fa;
  color: #9aa0ab;
}

.rabbit-theme .h5-tabs .active,
.rabbit-theme .h5-tabs .active span {
  color: var(--rabbit-red);
}

.rabbit-theme .h5-tabs .active span {
  background: #fff0ed;
}

.rabbit-theme .payment-amount {
  color: var(--rabbit-red);
  background: #fff4f2;
}

.rabbit-theme .payment-pay {
  background: linear-gradient(135deg, var(--rabbit-red), var(--rabbit-orange));
}

@media (max-width: 360px) {
  .rabbit-quick-grid {
    gap: 6px;
  }

  .quick-icon {
    width: 32px;
    height: 32px;
  }

  .quick-item b {
    font-size: 11px;
  }
}

/* Bottom payment bar after order confirmation */
.bottom-pay-bar {
  position: fixed;
  left: 50%;
  bottom: calc(68px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 24px));
  z-index: 70;
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(22, 26, 32, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bottom-pay-bar .btn {
  min-height: 48px;
  border-radius: 999px;
  font-size: 16px;
}

.h5-home-page:has(.bottom-pay-bar) {
  padding-bottom: calc(148px + env(safe-area-inset-bottom));
}

/* Order confirmation detail card */
.order-confirm-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 14px;
}

.order-thumb {
  width: 92px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

.order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-confirm-card .order-status-summary {
  margin: 0;
  gap: 0;
}

.order-confirm-card .order-status-summary div {
  min-height: 34px;
  padding: 0 0 8px;
  margin-bottom: 8px;
}

.order-confirm-card .order-status-summary div:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.order-confirm-card .order-status-summary strong {
  max-width: 160px;
  line-height: 1.35;
}

@media (max-width: 360px) {
  .order-confirm-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .order-thumb {
    width: 78px;
  }
}

/* My page profile center inspired by reference */
.rabbit-theme .h5-my-page {
  margin: 0;
  padding: 0 12px 90px;
  background: linear-gradient(180deg, #efb47d 0, #efb47d 118px, #f5f6fa 118px, #f5f6fa 100%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: calc(100vh - 60px);
}

.rabbit-theme .my-page-header {
  display: none;
}

.my-profile-hero {
  height: 118px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 4px 0;
  color: #fff;
}

.my-brand-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(110, 64, 30, 0.14);
}

.my-hero-links {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-top: 2px;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}

.my-order-board,
.my-tools-card,
.my-service-strip {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(22, 26, 32, 0.055);
}

.my-order-board {
  margin-top: -8px;
  padding: 17px 14px 18px;
}

.rabbit-theme.my-view .h5-my-page {
  background: #f5f6fa;
  padding-top: 12px;
}

.rabbit-theme.my-view #uploadIntro,
.h5-home-page.my-view #uploadIntro {
  display: none !important;
}

.rabbit-theme.my-view .rabbit-topbar {
  display: none !important;
}

.rabbit-theme.my-view .my-order-board.orders-only {
  margin-top: 0;
}

.my-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.my-board-head h3 {
  margin: 0;
  color: #171a20;
  font-size: 20px;
  font-weight: 900;
}

.my-board-head button {
  border: 0;
  background: transparent;
  color: #8a909d;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 2px;
}

.my-board-head button::after {
  content: '鈥?;
  margin-left: 5px;
  font-size: 18px;
}

.my-order-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

.my-order-grid::-webkit-scrollbar {
  display: none;
}

.my-order-entry {
  position: relative;
  min-width: max-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  padding: 0 13px;
  cursor: pointer;
  color: #4b5563;
}

.my-order-entry.active,
.my-order-entry:active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.my-order-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.my-order-icon span {
  width: 36px;
  height: 36px;
  border: 2px solid #171a20;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #171a20;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.my-order-icon em {
  position: absolute;
  top: -3px;
  right: -1px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff5b16;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  line-height: 19px;
  box-shadow: 0 2px 5px rgba(255, 91, 22, 0.35);
}

.my-order-entry strong {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.my-order-entry em {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
}

.my-order-entry.active em {
  background: #fff;
  color: #111827;
}

.my-order-entry small {
  display: none;
}

.my-order-panel {
  margin-top: 16px;
  border-top: 1px solid #f0f1f5;
  padding-top: 14px;
}

.my-order-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.my-order-panel-head strong {
  color: #171a20;
  font-size: 15px;
  font-weight: 900;
}

.my-order-panel-head span {
  color: #8a909d;
  font-size: 12px;
  font-weight: 800;
}

.my-order-mini-list {
  display: grid;
  gap: 10px;
}

.my-order-mini-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f1f5;
}

.my-order-mini-card.reuploadable {
  cursor: pointer;
  padding: 12px 10px;
  border: 1px solid #ffd2c7;
  border-radius: 10px;
  background: #fff8f6;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.my-order-mini-card.reuploadable:active {
  transform: scale(.985);
  border-color: #ff8f76;
  background: #fff1ec;
}

.my-order-mini-card:last-child {
  border-bottom: 0;
}

.my-order-seq {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f4f7;
  color: #8a909d;
  font-size: 12px;
  font-weight: 900;
}

.my-order-mini-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.my-order-mini-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.my-order-mini-head strong {
  color: #171a20;
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-order-mini-head .pill {
  flex: 0 0 auto;
  min-height: 22px;
  padding: 2px 7px;
  font-size: 11px;
}

.my-order-mini-main p {
  margin: 0;
  color: #7d8491;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.my-order-mini-main .my-order-log-line {
  color: #111827;
  font-weight: 700;
}

.my-order-playback-inline {
  border: 0;
  display: block;
  margin-top: 4px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  text-align: left;
}

.my-order-playback-inline.live {
  color: #16a34a;
}

.my-order-playback-inline.finished {
  color: #dc2626;
}

.order-playback-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(15, 23, 42, 0.46);
}

.order-playback-sheet {
  width: min(520px, 100%);
  max-height: min(72vh, 560px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
}

.order-playback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #e5eaf2;
}

.order-playback-head div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.order-playback-head strong,
.order-playback-head span {
  min-width: 0;
  overflow: hidden;
  color: #1d4ed8;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-playback-head strong {
  font-size: 12px;
  font-weight: 1000;
}

.order-playback-head span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
}

.order-playback-head button {
  flex: 0 0 auto;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 5px 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 900;
}

.order-playback-body {
  overflow: auto;
  padding: 6px 8px 10px;
}

.order-playback-table {
  width: 100% !important;
  min-width: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.order-playback-table th,
.order-playback-table td {
  border-bottom: 1px solid #eef2f7;
  overflow: hidden;
  padding: 6px 4px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-playback-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #667085;
  font-weight: 900;
}

.order-playback-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.order-playback-table th:first-child,
.order-playback-table td:first-child {
  width: 30px;
  text-align: center;
}

.order-playback-table th:nth-child(2),
.order-playback-table td:nth-child(2) {
  width: 58px;
}

.order-playback-table th:nth-child(3),
.order-playback-table td:nth-child(3) {
  width: 126px;
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

.order-playback-table th:nth-child(4),
.order-playback-table td:nth-child(4) {
  width: 40px;
  text-align: right;
}

@media (max-width: 430px) {
  .order-playback-modal {
    padding: 8px;
  }

  .order-playback-sheet {
    width: 100%;
    max-height: 68vh;
    border-radius: 12px;
  }

  .order-playback-table {
    font-size: 9.5px;
  }

  .order-playback-table th,
  .order-playback-table td {
    padding: 5px 3px;
  }

  .order-playback-table th:first-child,
  .order-playback-table td:first-child {
    width: 26px;
  }

  .order-playback-table th:nth-child(2),
  .order-playback-table td:nth-child(2) {
    width: 52px;
  }

  .order-playback-table th:nth-child(3),
  .order-playback-table td:nth-child(3) {
    width: 116px;
  }

  .order-playback-table th:nth-child(4),
  .order-playback-table td:nth-child(4) {
    width: 34px;
  }
}

.my-order-reupload {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ff4f2e;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.my-order-mini-price {
  color: #ff4f2e;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

/* Cleaner mobile order center */
.my-order-board.orders-only {
  padding: 16px 12px 18px;
  border-radius: 16px;
}

.my-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding: 0;
}

.my-order-entry {
  min-width: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  gap: 0;
  border-radius: 12px;
  padding: 6px 4px;
  text-align: center;
}

.my-order-entry span {
  min-width: 0;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.my-order-entry em {
  position: absolute;
  top: -5px;
  right: -3px;
}

.my-order-panel {
  margin-top: 14px;
  padding-top: 12px;
}

.my-order-mini-list {
  gap: 8px;
}

.my-order-mini-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  background: #fff;
}

.my-order-mini-card:last-child {
  border-bottom: 1px solid #eef0f4;
}

.my-order-mini-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.my-order-mini-main p {
  line-height: 1.45;
}

.my-order-mini-side {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.my-order-mini-side.empty-side {
  width: 0;
}

.my-order-publish-cta {
  min-width: 82px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  padding: 5px 8px 5px 7px;
  text-align: left;
}

.my-order-publish-cta b,
.my-order-publish-cta small {
  display: block;
  white-space: nowrap;
  line-height: 1.05;
}

.my-order-publish-cta b {
  font-size: 11px;
  font-weight: 900;
}

.my-order-publish-cta small {
  margin-top: 2px;
  color: #16a34a;
  font-size: 10px;
  font-weight: 800;
}

.rocket-mark {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-block;
  transform: rotate(-38deg);
}

.rocket-mark::before {
  content: "";
  position: absolute;
  inset: 3px 6px 3px 5px;
  border-radius: 9px 9px 5px 5px;
  background: linear-gradient(180deg, #22c55e, #0f766e);
}

.rocket-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 5px solid #16a34a;
}

.rocket-mark i {
  position: absolute;
  left: 8px;
  bottom: 0;
  width: 4px;
  height: 7px;
  border-radius: 999px;
  background: #fdd623;
}

.publish-countdown-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.48);
}

.publish-countdown-modal.fireworks-active {
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.78));
}

.publish-fireworks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.publish-fireworks span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  color: var(--c);
  box-shadow:
    0 -54px 0 0 currentColor,
    38px -38px 0 0 currentColor,
    54px 0 0 0 currentColor,
    38px 38px 0 0 currentColor,
    0 54px 0 0 currentColor,
    -38px 38px 0 0 currentColor,
    -54px 0 0 0 currentColor,
    -38px -38px 0 0 currentColor,
    0 -82px 0 -2px currentColor,
    58px -58px 0 -2px currentColor,
    82px 0 0 -2px currentColor,
    58px 58px 0 -2px currentColor,
    0 82px 0 -2px currentColor,
    -58px 58px 0 -2px currentColor,
    -82px 0 0 -2px currentColor,
    -58px -58px 0 -2px currentColor;
  opacity: 0;
  transform: scale(.08);
  animation: publishFirework 1.42s cubic-bezier(.12,.82,.16,1) var(--d) both;
}

.publish-fireworks::before,
.publish-fireworks::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.82) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 18%, rgba(253,214,35,.82) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 42%, rgba(39,255,177,.80) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 70%, rgba(255,54,255,.72) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 76%, rgba(2,171,248,.72) 0 2px, transparent 3px);
  animation: publishSparkle 1.7s ease-out both;
}

.publish-fireworks::after {
  transform: scaleX(-1);
  animation-delay: .18s;
}

.publish-countdown-card[hidden] {
  display: none !important;
}

.publish-countdown-card {
  position: relative;
  width: min(92vw, 380px);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 28px 22px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
  text-align: center;
  animation: publishCardIn .34s ease-out both;
}

.publish-countdown-close {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.publish-countdown-number {
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #27ffb1, #16a34a);
  color: #fff;
  box-shadow: 0 12px 34px rgba(22, 163, 74, 0.30);
}

.publish-countdown-number span {
  font-size: 56px;
  font-weight: 950;
  line-height: 0.9;
}

.publish-countdown-number small {
  margin-top: -22px;
  font-size: 16px;
  font-weight: 900;
}

.publish-countdown-card p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.65;
}

.publish-countdown-card p b {
  color: #dc2626;
  font-size: 18px;
}

@keyframes publishFirework {
  0% {
    opacity: 0;
    transform: scale(.05);
    filter: blur(0);
  }
  18% {
    opacity: 1;
  }
  70% {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(.2px);
  }
  100% {
    opacity: 0;
    transform: scale(1.46);
    filter: blur(1.2px);
  }
}

@keyframes publishSparkle {
  0% { opacity: 0; transform: scale(.96); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.06); }
}

@keyframes publishCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.refund-order-note {
  margin: 12px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.reviewing-order-note {
  display: block;
  margin: 12px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}

.reviewing-order-note:active {
  color: #16a34a;
  font-weight: 900;
}

.invoice-order-card {
  width: 100%;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  text-align: left;
}

.invoice-order-thumb {
  width: 54px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f5f8;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 800;
}

.invoice-order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.invoice-order-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.invoice-order-info strong {
  color: #171a20;
  font-size: 14px;
  font-weight: 900;
}

.invoice-order-info small {
  min-width: 0;
  color: #7d8491;
  font-size: 12px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-order-amount {
  color: #ff4f2e;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.receipt-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 24, 40, 0.56);
}

.receipt-sheet {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.28);
}

.receipt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.receipt-head {
  display: grid;
  gap: 5px;
  padding-right: 54px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f4;
}

.receipt-head span {
  color: #16a34a;
  font-size: 12px;
  font-weight: 900;
}

.receipt-head h3 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.1;
}

.receipt-head p,
.receipt-note {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.receipt-line {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f2f5;
}

.receipt-line span {
  color: #667085;
  font-size: 12px;
}

.receipt-line strong {
  color: #111827;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.receipt-table {
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid #edf0f4;
  border-radius: 14px;
}

.receipt-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #f0f2f5;
  color: #344054;
  font-size: 12px;
}

.receipt-table > div:first-child {
  border-top: 0;
}

.receipt-table-head {
  background: #f8fafc;
  color: #667085 !important;
  font-weight: 900;
}

.receipt-table strong {
  color: #111827;
  white-space: nowrap;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 0 12px;
  padding: 14px 0 0;
  border-top: 1px solid #edf0f4;
}

.receipt-total span {
  color: #667085;
  font-size: 13px;
}

.receipt-total strong {
  color: #ff4f2e;
  font-size: 22px;
  font-weight: 900;
}

.my-order-seq,
.my-order-mini-price {
  display: none;
}

.h5-order-form.reupload-mode .package-switch {
  opacity: .72;
  pointer-events: none;
}

.my-order-empty {
  border-radius: 14px;
  background: #f8f9fc;
}

.my-service-strip {
  margin-top: 12px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.my-service-strip div {
  display: grid;
  gap: 5px;
}

.my-service-strip strong {
  color: #171a20;
  font-size: 15px;
  font-weight: 900;
}

.my-service-strip span {
  color: #ff5b16;
  font-size: 13px;
  font-weight: 800;
}

.my-tools-card {
  margin-top: 12px;
  padding: 16px 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.my-tool-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  min-width: 0;
}

.my-tool-item span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff4d43, #ff8a22);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.my-tool-item:nth-child(2) span { background: linear-gradient(135deg, #ffcf28, #ff8a00); }
.my-tool-item:nth-child(3) span { background: linear-gradient(135deg, #ff5b86, #ff3c4f); }
.my-tool-item:nth-child(4) span { background: linear-gradient(135deg, #30c27b, #13a86d); }

.my-tool-item strong {
  color: #1b1f2a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.my-tool-item small {
  color: #8a909d;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .my-hero-links {
    gap: 10px;
    font-size: 13px;
  }

  .my-order-entry strong,
  .my-tool-item strong {
    font-size: 12px;
  }

  .my-order-icon span {
    width: 32px;
    height: 32px;
  }
}

/* Minimal line graphics for the customer H5 UI */
.rabbit-logo {
  position: relative;
  overflow: hidden;
}

.rabbit-logo::before {
  content: "";
  width: 22px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 4px;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.18);
}

.rabbit-logo::after {
  content: "";
  position: absolute;
  left: 17px;
  bottom: 8px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.96);
}

.rabbit-banner .screen-photo {
  position: relative;
}

.rabbit-banner .screen-photo::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(90deg, transparent 0 13px, rgba(255, 255, 255, 0.92) 13px 15px, transparent 15px),
    rgba(0, 0, 0, 0.22);
  clip-path: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}

.rabbit-banner .screen-photo::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid rgba(255, 255, 255, 0.94);
  pointer-events: none;
}

.green-card {
  position: relative;
  min-width: 46px !important;
  overflow: hidden;
}

.green-card::before {
  content: "";
  width: 22px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 5px;
}

.green-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin-left: -2px;
  margin-top: -5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid rgba(255, 255, 255, 0.96);
}

.package-main {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}

.package-copy {
  min-width: 0;
}

.package-visual {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff0ed;
  color: var(--rabbit-red, #ff4d43);
  box-shadow: inset 0 0 0 1px rgba(255, 77, 67, 0.12);
}

.package-visual::before,
.package-visual::after,
.package-visual i {
  content: "";
  display: block;
  position: absolute;
}

.pkg-icon-a::before {
  width: 20px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.pkg-icon-a::after {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  transform: translateX(1px);
}

.pkg-icon-b {
  background: #fff3e7;
  color: #ff7a22;
}

.pkg-icon-b::before {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.pkg-icon-b::after {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  transform: translateX(2px);
}

.pkg-icon-b i {
  right: 7px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: -13px 13px 0 currentColor;
}

.pkg-icon-v {
  background: #f0f1ff;
  color: #6b6df7;
}

.pkg-icon-v::before,
.pkg-icon-v::after,
.pkg-icon-v i {
  width: 15px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: transparent;
}

.pkg-icon-v::before {
  transform: translate(-5px, -5px);
}

.pkg-icon-v::after {
  transform: translate(5px, 5px);
}

.pkg-icon-v i {
  transform: translate(0, 0);
}

.preview__placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
}

.preview__placeholder::before {
  content: "";
  width: 42px;
  height: 30px;
  border: 2px dashed currentColor;
  border-radius: 10px;
  background:
    linear-gradient(135deg, transparent 48%, currentColor 49% 52%, transparent 53%),
    radial-gradient(circle at 70% 34%, currentColor 0 3px, transparent 4px);
  opacity: 0.72;
}

.location-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.location-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.loc-sel-btn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.84;
}

.tab-icon {
  position: relative;
  width: 28px;
  height: 24px;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center;
  font-size: 0 !important;
}

.tab-icon::before,
.tab-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.tab-home::before {
  width: 16px;
  height: 12px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px;
  bottom: 5px;
}

.tab-home::after {
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  top: 4px;
}

.tab-phone::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-42deg);
}

.tab-phone::after {
  width: 5px;
  height: 8px;
  border-radius: 4px;
  background: currentColor;
  box-shadow: 12px -1px 0 currentColor;
  transform: rotate(-42deg);
}

.tab-user::before {
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  top: 4px;
}

.tab-user::after {
  width: 18px;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  bottom: 4px;
}

.tab-ai::before {
  width: 15px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
  bottom: 4px;
}

.tab-ai::after {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  top: 3px;
  right: 5px;
  box-shadow: -8px 5px 0 -1px currentColor, -2px 14px 0 -2px currentColor;
}

.my-order-icon span {
  position: relative;
  color: #171a20;
  font-size: 0;
}

.my-order-icon span::before,
.my-order-icon span::after,
.my-order-icon span i {
  content: "";
  position: absolute;
  display: block;
}

.my-order-icon-unpaid span::before {
  width: 20px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.my-order-icon-unpaid span::after {
  width: 16px;
  height: 2px;
  background: currentColor;
  top: 12px;
}

.my-order-icon-unpaid span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  right: 7px;
  top: 17px;
}

.my-order-icon-reviewing span::before {
  width: 18px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.my-order-icon-reviewing span::after {
  width: 11px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}

.my-order-icon-reviewing span i {
  right: 5px;
  bottom: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.my-order-icon-scheduled span::before {
  width: 20px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.my-order-icon-scheduled span::after {
  top: 10px;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 -1px currentColor;
}

.my-order-icon-scheduled span i {
  top: 6px;
  width: 2px;
  height: 5px;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor;
}

.my-order-icon-playing span::before {
  width: 22px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.my-order-icon-playing span::after {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  transform: translateX(2px);
}

.my-order-icon-refund span::before {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
}

.my-order-icon-refund span::after {
  left: 6px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
}

.my-order-entry.active .my-order-icon span,
.my-order-entry:active .my-order-icon span {
  color: var(--rabbit-red, #ff4d43);
}

@media (max-width: 360px) {
  .package-visual {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .package-main {
    gap: 8px;
  }
}

/* Final sales card rail */
.rabbit-theme .h5-package-list,
.h5-package-list {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 14px 12px !important;
  margin: 0 -14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rabbit-theme .h5-package-list::-webkit-scrollbar,
.h5-package-list::-webkit-scrollbar {
  display: none;
}

.rabbit-theme .h5-package.sales-card,
.h5-package.sales-card {
  flex: 0 0 78%;
  min-width: 260px;
  max-width: 340px;
  padding: 0 !important;
  scroll-snap-align: start;
}

.rabbit-theme .h5-package.sales-card:first-child,
.h5-package.sales-card:first-child {
  margin-left: 14px;
}

.rabbit-theme .h5-package.sales-card:last-child,
.h5-package.sales-card:last-child {
  margin-right: 14px;
}

.rabbit-theme .sales-card .package-main,
.sales-card .package-main {
  min-height: 138px;
  padding: 14px;
}

.rabbit-theme .sales-card .package-cta,
.sales-card .package-cta {
  margin: 0 14px 14px;
  width: calc(100% - 28px);
}

/* Compact blue sales cards */
.rabbit-slogan {
  margin-left: auto;
  color: #126f68;
  font-family: "STXingkai", "KaiTi", "Microsoft YaHei", cursive;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.rabbit-search {
  display: none !important;
}

.rabbit-theme .h5-package-list,
.h5-package-list {
  gap: 8px !important;
  padding: 0 14px 10px !important;
}

.rabbit-theme .h5-package.sales-card,
.h5-package.sales-card {
  flex: 0 0 164px;
  min-width: 164px;
  max-width: 164px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #1677ff !important;
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.18) !important;
  overflow: hidden;
}

.rabbit-theme .h5-package.sales-card:nth-child(2),
.h5-package.sales-card:nth-child(2) {
  background: #1677ff !important;
  color: #fff;
  text-shadow: none;
}

.rabbit-theme .h5-package.sales-card:nth-child(2) .sales-card-tone,
.h5-package.sales-card:nth-child(2) .sales-card-tone,
.rabbit-theme .h5-package.sales-card:nth-child(2) .package-copy h3,
.h5-package.sales-card:nth-child(2) .package-copy h3,
.rabbit-theme .h5-package.sales-card:nth-child(2) .package-main strong,
.h5-package.sales-card:nth-child(2) .package-main strong {
  color: #fff !important;
}

.rabbit-theme .h5-package.sales-card:nth-child(2) .package-copy em,
.h5-package.sales-card:nth-child(2) .package-copy em,
.rabbit-theme .h5-package.sales-card:nth-child(2) .package-main small,
.h5-package.sales-card:nth-child(2) .package-main small {
  color: rgba(255, 255, 255, 0.72) !important;
}

.rabbit-theme .h5-package.sales-card:nth-child(3),
.h5-package.sales-card:nth-child(3) {
  background: #1677ff !important;
  color: #fff;
}

.rabbit-theme .h5-package.sales-card:nth-child(3) .sales-card-tone,
.h5-package.sales-card:nth-child(3) .sales-card-tone,
.rabbit-theme .h5-package.sales-card:nth-child(3) .package-copy h3,
.h5-package.sales-card:nth-child(3) .package-copy h3,
.rabbit-theme .h5-package.sales-card:nth-child(3) .package-main strong,
.h5-package.sales-card:nth-child(3) .package-main strong {
  color: #fff !important;
}

.rabbit-theme .h5-package.sales-card:nth-child(3) .package-copy em,
.h5-package.sales-card:nth-child(3) .package-copy em,
.rabbit-theme .h5-package.sales-card:nth-child(3) .package-main small,
.h5-package.sales-card:nth-child(3) .package-main small {
  color: rgba(255, 255, 255, 0.78) !important;
}

.rabbit-theme .h5-package.sales-card.active,
.h5-package.sales-card.active {
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.20), 0 10px 24px rgba(15, 23, 42, 0.18) !important;
  transform: translateY(-1px);
}

.rabbit-theme .sales-card .package-main,
.sales-card .package-main {
  display: grid !important;
  grid-template-columns: 1fr !important;
  min-height: 104px !important;
  padding: 12px 12px 8px !important;
  gap: 4px !important;
  color: #fff;
}

.rabbit-theme .sales-card .package-visual,
.sales-card .package-visual {
  display: none !important;
}

.rabbit-theme .sales-card-tone,
.sales-card-tone {
  background: rgba(255, 255, 255, 0.34) !important;
  color: #fff !important;
  padding: 2px 7px;
  margin-bottom: 2px;
  font-size: 10px;
}

.rabbit-theme .sales-card .package-copy h3,
.sales-card .package-copy h3 {
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.1;
  margin: 0;
}

.rabbit-theme .sales-card .package-copy p,
.sales-card .package-copy p {
  display: none !important;
}

.rabbit-theme .sales-card .package-copy em,
.sales-card .package-copy em {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 11px !important;
  line-height: 1.3;
  margin-top: 5px;
}

.year-card-promo {
  display: block;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #d71920;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.rabbit-theme .sales-card .package-main strong,
.sales-card .package-main strong {
  color: #fff !important;
  font-size: 19px !important;
  line-height: 1;
  margin-top: 5px;
}

.rabbit-theme .sales-card .package-main small,
.sales-card .package-main small {
  color: rgba(255, 255, 255, 0.70) !important;
  font-size: 11px !important;
}

.rabbit-theme .sales-card .package-cta,
.sales-card .package-cta {
  display: none !important;
}

.package-attention {
  border-radius: 16px;
  animation: packageSectionFlash 0.58s ease-in-out 3;
}

.package-attention .h5-package.sales-card {
  animation: packageCardFlash 0.58s ease-in-out 3;
}

@keyframes packageSectionFlash {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.22); }
}

@keyframes packageCardFlash {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px) scale(1.025); }
}

/* Compact quote summary */
.price-summary {
  display: grid !important;
  gap: 7px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  min-height: 0 !important;
  margin: 6px 0 8px !important;
  padding: 9px 10px !important;
  border-radius: 10px !important;
  background: #f7faf9 !important;
  border: 1px solid rgba(18, 111, 104, 0.1);
  color: #334155;
}

.quote-main {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin: 0 !important;
}

.quote-main strong {
  order: 0;
  color: #126f68 !important;
  font-size: 21px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.quote-main span {
  order: 1;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  min-width: 0;
}

.quote-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

.quote-grid span {
  border-radius: 7px !important;
  background: #fff !important;
  padding: 5px 4px !important;
  color: #64748b !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  text-align: center;
  white-space: nowrap;
}

.quote-grid b {
  display: block !important;
  color: #111827 !important;
  font-size: 11px !important;
  margin-top: 2px !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-summary p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creative-generator {
  display: grid;
  gap: 12px;
  margin: 10px 0 14px;
  padding: 14px;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  background: #ffffff;
}

.creative-generator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.creative-generator-head div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.creative-generator-head strong {
  color: #16a34a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.creative-generator-head span {
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

.creative-generator-head small {
  flex: 0 0 auto;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
}

.creative-generator-head small .creative-size-label {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
}

.creative-generator-head small b {
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.creative-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.creative-fields label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.creative-fields span {
  color: #475569;
  font-size: 11px;
  font-weight: 900;
}

.creative-fields input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  background: #fafbfe;
  padding: 0 10px;
  color: #111827;
  outline: 0;
  font-size: 13px;
}

.creative-fields input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.creative-generate-btn {
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #16a34a, #0ea5e9);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.18);
}

.creative-upload-note,
.creative-hint {
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

.creative-result-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.creative-result-list::-webkit-scrollbar {
  display: none;
}

.creative-loading {
  min-height: 86px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.creative-result-card {
  flex: 0 0 min(84vw, 440px);
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  scroll-snap-align: start;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.creative-result-card.selected {
  border-color: #16a34a;
  background: #f0fdf4;
}

.creative-result-stage {
  display: grid;
  place-items: center;
  min-height: clamp(240px, 54vh, 520px);
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0f172a, #111827);
  overflow: hidden;
}

.creative-result-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #111827;
}

.creative-result-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.creative-result-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.creative-result-copy strong {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.creative-result-copy span {
  color: #64748b;
  font-size: 11px;
}

.creative-result-card button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 11px;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.creative-upload-row {
  display: grid;
  gap: 8px;
}

.creative-upload-btn {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #111827, #0f766e);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.creative-upload-btn:active,
.creative-generate-btn:active,
.creative-result-card button:active {
  transform: translateY(1px);
}

.creative-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 390px) {
  .creative-result-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .creative-result-card img {
    width: 100%;
    max-height: 220px;
  }

  .creative-result-card button {
    grid-column: auto;
  }
}

.quote-poster-btn {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.quote-poster-btn:active {
  transform: translateY(1px);
}

.quote-poster-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  align-items: end;
  background: rgba(15, 23, 42, 0.44);
  padding: 18px 12px calc(18px + env(safe-area-inset-bottom));
}

.quote-poster-modal[hidden] {
  display: none !important;
}

.quote-poster-sheet {
  width: min(100%, 520px);
  max-height: min(92vh, 860px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.24);
}

.quote-poster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-bottom: 1px solid #eef2f7;
}

.quote-poster-head div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.quote-poster-head strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.quote-poster-head span {
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}

.quote-poster-head button,
.quote-poster-actions button,
.quote-poster-download {
  flex: 0 0 auto;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #f1f5f9;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.quote-poster-stage {
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background: #f8fafc;
}

.quote-poster-stage.loading {
  min-height: 340px;
  display: grid;
  place-items: center;
}

.quote-poster-stage.loading::before {
  content: "正在生成说明图...";
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.quote-poster-stage img {
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.14);
  background: #fff;
}

.quote-poster-actions {
  display: flex;
  gap: 10px;
  padding: 12px 15px 14px;
  border-top: 1px solid #eef2f7;
}

.quote-poster-download {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
}

.date-status {
  margin: 4px 0 6px !important;
  padding: 5px 8px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

.date-status.available {
  background: #edf8f3 !important;
  color: #0f766e !important;
  border: 1px solid rgba(15, 118, 110, 0.12);
}

/* Clean upload-first landing */
.h5-home-page.upload-view .h5-app {
  padding: 12px 12px 24px;
  min-height: 100vh;
}

.h5-home-page.upload-view .h5-tabs {
  display: none !important;
}

.upload-intro {
  margin: 10px 0 0;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.home-creative-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.home-creative-card .upload-stage-card {
  margin-top: 2px;
}

.home-creative-card .creative-fields {
  margin-top: 0;
}

.home-creative-card .creative-generate-btn {
  margin-top: 0;
}

.upload-intro [hidden] {
  display: none !important;
}

.upload-intro-head {
  display: grid;
  gap: 14px;
}

.upload-intro-head > div:first-child {
  min-width: 0;
}

.upload-intro-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.upload-intro-head h3 {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.25;
  color: #111827;
  font-weight: 800;
}

.upload-intro-head p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.upload-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.upload-step {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.upload-step span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.upload-step small {
  color: #6b7280;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.upload-step.active span {
  background: #111827;
  color: #fff;
}

.step-line {
  flex: 0 0 20px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d1d5db, #e5e7eb);
  transform: translateY(-10px);
}

.upload-stage-card {
  margin: 16px 0 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.upload-preview-wrap {
  width: min(100%, 300px);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.upload-preview-wrap {
  position: relative;
}

.upload-preview-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #f8fafc;
}

.upload-preview-wrap.loading img {
  filter: blur(2px) saturate(0.85);
  opacity: 0.72;
}

.upload-preview-wrap.loading::after,
.upload-preview-wrap.upload-ready::after,
.upload-preview-wrap.upload-error::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.upload-preview-wrap.loading::after {
  content: "正在读取素材...";
  background: rgba(17, 24, 39, 0.82);
}

.upload-preview-wrap.upload-ready {
  border-color: rgba(22, 163, 74, 0.34);
}

.upload-preview-wrap.upload-ready::after {
  content: "素材已选择";
  background: rgba(22, 163, 74, 0.92);
}

.upload-preview-wrap.upload-error {
  border-color: rgba(220, 38, 38, 0.32);
}

.upload-preview-wrap.upload-error::after {
  content: "素材读取失败";
  background: rgba(185, 28, 28, 0.92);
}

.upload-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 320px);
}

.upload-action-row .btn {
  min-height: 44px;
  border-radius: 14px;
}

.upload-intro-note {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.order-flow {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.order-flow-step {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #94a3b8;
  text-align: center;
}

.order-flow-step span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eef2f7;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
}

.order-flow-step b {
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.order-flow > i {
  flex: 0 0 18px;
  height: 2px;
  margin-top: 11px;
  border-radius: 999px;
  background: #e5e7eb;
}

.order-flow-step.active span {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.order-flow-step.active b {
  color: #1e3a8a;
}

.order-flow-step.done span,
.order-flow > i.done {
  background: #16a34a;
  color: #fff;
}

.order-flow-step.done b {
  color: #15803d;
}

.h5-home-page.location-done .loc-sel-btn,
.h5-home-page.location-done .screen-location {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.20) !important;
}

.location-attention {
  animation: locationSectionFlash 0.55s ease-in-out 3;
}

.location-attention .loc-sel-btn {
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.22) !important;
}

@keyframes locationSectionFlash {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.20); }
}

.rabbit-section.package-locked .rabbit-section-title h3,
.rabbit-section.package-locked .rabbit-section-title span {
  color: #9ca3af !important;
}

.rabbit-theme .h5-package.sales-card.package-locked,
.h5-package.sales-card.package-locked {
  cursor: not-allowed;
  background: #eef2f7 !important;
  color: #9ca3af !important;
  box-shadow: none !important;
  transform: none !important;
}

.rabbit-theme .h5-package.sales-card.package-locked .sales-card-tone,
.h5-package.sales-card.package-locked .sales-card-tone {
  background: #e5e7eb !important;
  color: #9ca3af !important;
}

.rabbit-theme .h5-package.sales-card.package-locked .package-main,
.h5-package.sales-card.package-locked .package-main,
.rabbit-theme .h5-package.sales-card.package-locked .package-copy h3,
.h5-package.sales-card.package-locked .package-copy h3,
.rabbit-theme .h5-package.sales-card.package-locked .package-copy em,
.h5-package.sales-card.package-locked .package-copy em,
.rabbit-theme .h5-package.sales-card.package-locked .package-main strong,
.h5-package.sales-card.package-locked .package-main strong,
.rabbit-theme .h5-package.sales-card.package-locked .package-main small,
.h5-package.sales-card.package-locked .package-main small {
  cursor: not-allowed;
  color: #9ca3af !important;
}

.h5-home-page.package-done .rabbit-section.package-selected .rabbit-section-title h3,
.h5-home-page.package-done .rabbit-section.package-selected .rabbit-section-title span {
  color: #15803d !important;
}

.h5-home-page.package-done .h5-package.sales-card.active,
.h5-home-page.package-done .rabbit-theme .h5-package.sales-card.active {
  background: #16a34a !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.20), 0 10px 24px rgba(15, 23, 42, 0.18) !important;
}

.h5-home-page.package-done .pkg-btn.active {
  border-color: #16a34a !important;
  background: #ecfdf3 !important;
}

.h5-home-page.package-done .pkg-btn.active .pkg-btn-name,
.h5-home-page.package-done .pkg-btn.active .pkg-btn-price,
.h5-home-page.package-done .pkg-btn.active .pkg-btn-desc {
  color: #15803d !important;
}

.creative-mode-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.creative-mode-card {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 11px;
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  background: #fff;
  color: #111827;
  text-align: left;
}

.creative-locked .creative-generator-head,
.creative-locked .creative-generator-head span,
.creative-locked .creative-generator-head small,
.creative-locked .creative-generator-head b,
.creative-locked .creative-fields span,
.creative-locked .upload-intro-note,
.creative-locked .creative-hint {
  color: #9ca3af !important;
}

.creative-locked .creative-mode-card,
.creative-locked .creative-mode-card.active,
.creative-locked .creative-ai-card,
.creative-mode-card:disabled {
  cursor: not-allowed;
  border-color: #e5e7eb !important;
  background: #f3f4f6 !important;
  color: #9ca3af !important;
  box-shadow: none !important;
  opacity: 1;
}

.creative-locked .creative-mode-card strong,
.creative-locked .creative-mode-card span,
.creative-locked .creative-ai-card strong,
.creative-mode-card:disabled strong,
.creative-mode-card:disabled span {
  color: #9ca3af !important;
}

.creative-locked .creative-fields input,
.creative-locked .creative-generate-btn,
.creative-generate-btn:disabled {
  cursor: not-allowed;
  border-color: #e5e7eb !important;
  background: #f3f4f6 !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

.creative-mode-card strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.creative-mode-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.creative-mode-card.active {
  border-color: rgba(22, 163, 74, 0.35);
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.08);
}

.creative-ai-card {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(180deg, #eff6ff, #fff);
}

.creative-ai-card strong {
  color: #111827;
}

.creative-mode-panel {
  display: grid;
  gap: 9px;
}

.creative-mode-panel[hidden] {
  display: none !important;
}

.home-creative-card {
  gap: 10px;
  padding: 13px;
  border-radius: 15px;
}

.home-creative-card .creative-generator-head strong {
  color: #16a34a;
  font-size: 13px;
  font-weight: 900;
}

.home-creative-card .creative-generator-head span,
.creative-hint,
.upload-intro-note {
  font-size: 10px;
}

.home-creative-card .upload-stage-card {
  margin-top: 0;
  justify-items: stretch;
  gap: 8px;
}

.home-creative-card .upload-preview-wrap {
  width: 100%;
  max-height: 180px;
  aspect-ratio: 16 / 9;
  border-radius: 13px;
  box-shadow: none;
}

.home-creative-card .upload-action-row {
  width: 100%;
  gap: 8px;
}

.home-creative-card .upload-action-row .btn {
  min-height: 36px;
  border-radius: 999px;
}

.home-creative-card .creative-generate-btn {
  min-height: 38px;
  border-radius: 999px;
}

.upload-choice-sheet[hidden] {
  display: none !important;
}

.upload-choice-sheet {
  position: static;
  margin-top: 10px;
}

.upload-choice-mask {
  display: none;
}

.upload-choice-panel {
  position: static;
  display: grid;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.upload-choice-panel button,
.upload-choice-panel .upload-choice-button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 56px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.upload-choice-panel .upload-choice-native {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-choice-panel button strong,
.upload-choice-panel .upload-choice-button strong {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}

.upload-choice-panel button span,
.upload-choice-panel .upload-choice-button span {
  margin-top: 3px;
  color: #8a8f98;
  font-size: 12px;
  font-weight: 700;
}

.upload-choice-panel .cancel {
  min-height: 52px;
  margin-top: 5px;
  border-bottom: 0;
  box-shadow: inset 0 5px 0 #f5f7fb;
}

.upload-choice-panel .cancel strong {
  font-size: 16px;
  font-weight: 800;
}

.home-creative-card .upload-preview-wrap.loading::after {
  content: "正在读取素材...";
}

.h5-home-page.upload-view #composeStage,
.h5-home-page.upload-view .h5-tabs {
  display: none !important;
}

@media (max-width: 380px) {
  .creative-mode-card {
    padding-inline: 8px;
  }

  .creative-mode-card span {
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  .upload-intro {
    margin-top: 8px;
    padding: 14px;
    border-radius: 16px;
  }

  .upload-intro-head h3 {
    font-size: 18px;
  }

  .upload-step small {
    font-size: 10px;
  }

  .step-line {
    flex-basis: 14px;
  }
}

/* AI制照页专属布局 */
.ai-photo-page {
  margin: 0;
  min-height: 100dvh;
  background: #f5f5f7;
  color: #1d1d1f;
  overflow: hidden;
}

.ai-photo-shell {
  min-height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
  padding:
    max(12px, env(safe-area-inset-top))
    12px
    max(12px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
}

.ai-photo-topbar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 2px 2px 0;
}

.ai-photo-back {
  flex: 0 0 auto;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(29, 42, 46, 0.08);
}

.ai-photo-topbar > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ai-photo-topbar strong {
  display: block;
  color: #111827;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
}

.ai-photo-size-note,
.ai-photo-use-note {
  display: block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

.ai-photo-frame-card {
  min-height: 0;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 38px rgba(29, 42, 46, 0.08);
}

#aiPhotoFrame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #fff;
}

.ai-photo-status {
  padding: 10px 12px;
  border-radius: 12px;
  background: #e8f4f7;
  color: #14617a;
  font-size: 13px;
  line-height: 1.45;
}

.ai-photo-status.error {
  background: #fff0ee;
  color: #b42318;
}


