:root {
  --ink: #121614;
  --asphalt: #171b19;
  --brass: #c6a36a;
  --brass-dim: #8d7348;
  --lacquer: #8e2e2a;
  --enamel: #2f5a3c;
  --amber: #8a5a1e;
  --steel: #5c6560;
  --sheet: #f3f4f2;
  --card: #fffcf8;
  --line: #e1e3e0;
  --muted: #6d756f;
  --paper: #f7f6f3;
  font-family: Bahnschrift, "DIN Alternate", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42)),
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(198, 163, 106, 0.07) 86px 87px),
    var(--asphalt);
  color: #f3efe6;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }

.lot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 28px;
}
.plate {
  width: 280px;
  color: #d9d3c8;
}
.plate-mark {
  font-size: 42px;
  letter-spacing: 0.28em;
  line-height: 1;
  color: #f3efe6;
}
.plate-en {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--brass);
}
.plate-rule {
  width: 48px;
  height: 1px;
  margin: 22px 0;
  background: var(--brass);
}
.plate h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f3efe6;
}
.plate-lead {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #b7b2a8;
}
.plate ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.plate li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-top: 1px solid rgba(243, 239, 230, 0.08);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.plate li:last-child { border-bottom: 1px solid rgba(243, 239, 230, 0.08); }
.plate li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 1px;
  background: var(--brass);
}
.plate-foot {
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: #8d887e;
}

.device-wrap { width: 410px; height: 868px; flex: none; }
.device {
  width: 410px;
  height: 868px;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(180deg, #3a403c, #1c201e 18%, #121614);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(198, 163, 106, 0.38);
}
.screen {
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--sheet);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  position: relative;
}

.wx-chrome {
  flex: none;
  position: relative;
  z-index: 20;
  background: #121614;
  color: #f3efe6;
  border-bottom: 1px solid rgba(198, 163, 106, 0.35);
}
.wx-status, .wx-nav { display: flex; align-items: center; }
.wx-status {
  height: 28px;
  padding: 8px 16px 0 22px;
  justify-content: space-between;
}
.wx-time {
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.wx-sys { display: flex; align-items: center; gap: 6px; }
.wx-nav { height: 44px; position: relative; }
.wx-back, .wx-side {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}
.wx-back {
  border: 0;
  background: transparent;
  color: #f3efe6;
  padding: 0;
}
.wx-back:active { background: rgba(255, 255, 255, 0.06); }
.wx-title {
  position: absolute;
  left: 88px;
  right: 104px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wx-capsule {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 87px;
  height: 32px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f3efe6;
  z-index: 6;
}
.wx-capsule > button {
  flex: 1;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}
.wx-capsule > button:first-of-type { border-radius: 16px 0 0 16px; }
.wx-capsule > button:last-of-type { border-radius: 0 16px 16px 0; }
.wx-capsule > button:active { background: rgba(255, 255, 255, 0.12); }
.wx-split { width: 1px; height: 18px; background: currentColor; opacity: 0.35; flex: none; }
.wx-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  padding: 6px;
  text-align: left;
  z-index: 8;
}
.wx-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 14px;
}
.wx-menu button:active { background: #f3f4f2; }
.wx-menu button.on { font-weight: 650; }
.wx-about {
  margin: 0 6px 6px;
  padding: 10px 12px;
  background: #f6f5f2;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: #3c4440;
}
.wx-scrim {
  position: absolute;
  inset: 0;
  z-index: 15;
  border: 0;
  background: transparent;
  padding: 0;
}

.body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--sheet);
}
.body::-webkit-scrollbar { width: 0; height: 0; }

.tabbar {
  flex: none;
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fffcf8;
  border-top: 1px solid var(--line);
}
.tabbar button {
  border: 0;
  background: transparent;
  color: #8a918c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.tabbar button.on { color: var(--ink); }
.tabbar button.on svg { color: var(--brass-dim); }
.tabbar svg { display: block; }

.hero {
  background: #121614;
  color: #f3efe6;
  padding: 16px 16px 18px;
}
.hero-top { display: flex; justify-content: space-between; align-items: flex-end; }
.kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brass);
}
.hero h1 {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.date-plate {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(198, 163, 106, 0.45);
  padding: 6px 8px 6px 10px;
}
.date-plate b {
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--brass);
}
.date-plate span {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #cfc8bc;
}
.kpi {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(243, 239, 230, 0.1);
}
.kpi div { padding-top: 12px; }
.kpi em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #9c978e;
}
.kpi strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.money-line {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #b7b2a8;
}
.money-line b {
  color: #f3efe6;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 32px);
  margin: 14px 16px 0;
  padding: 12px;
  border: 1px solid #e4d3c4;
  background: #fff8f2;
  color: var(--ink);
  text-align: left;
}
.alert i {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--lacquer);
  color: var(--lacquer);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.alert span { font-size: 13px; line-height: 1.5; }
.alert small { display: block; color: var(--muted); }

.block { padding: 16px 0 4px; }
.block-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 16px 10px;
}
.block-h h2 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.12em;
}
.block-h button, .text-btn {
  border: 0;
  background: transparent;
  color: var(--brass-dim);
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.rail-cards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 8px;
  scrollbar-width: none;
}
.rail-cards::-webkit-scrollbar { display: none; }
.follow {
  flex: none;
  width: 168px;
  border: 1px solid var(--line);
  background: var(--card);
  text-align: left;
  padding: 0 0 10px;
  color: var(--ink);
}
.follow .paint { height: 62px; }
.follow strong, .follow em, .follow small { display: block; padding: 0 10px; }
.follow strong { margin-top: 8px; font-size: 14px; font-weight: 650; }
.follow em {
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
  color: var(--lacquer);
}
.follow em.warm { color: var(--amber); }
.follow small { margin-top: 4px; color: var(--muted); font-size: 11px; }

.ledger { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.row {
  width: 100%;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
}
.row:last-child { border-bottom: 0; }
.row .paint { height: 78px; }
.row:active { background: #f6f5f2; }
.row-main { min-width: 0; display: flex; flex-direction: column; }
.row-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.row-title b {
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meta { margin-top: 3px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-price {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.price {
  color: var(--lacquer);
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.price small { margin-left: 2px; font-size: 12px; font-weight: 600; }
.floor {
  font-style: normal;
  font-size: 12px;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.tag {
  flex: none;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.06em;
  border: 1px solid currentColor;
}
.tag.在售 { color: var(--enamel); background: #eef5ef; }
.tag.预定 { color: var(--amber); background: #f8f1e6; }
.tag.整备 { color: #3e555c; background: #eef3f4; }
.tag.已售 { color: #6d655c; background: #f3f0eb; }

.paint {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 28% 0%, rgba(255, 255, 255, 0.42), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.16)),
    var(--paint);
  color: #1a1e1c;
}
.paint.on-dark { color: #f4f1ea; }
.paint .sil { width: 100%; height: 100%; display: block; }
.paint .bay-no {
  position: absolute;
  left: 6px;
  top: 5px;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.search-wrap { padding: 12px 16px 8px; }
.search {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #d5d8d4;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
}
.search button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 2px;
  font-size: 12px;
}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 16px 12px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #d5d8d4;
  background: #fff;
  color: #3c4440;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.chip.on {
  background: var(--ink);
  color: #e6d3b0;
  border-color: var(--ink);
}
.count-line {
  padding: 0 16px 8px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}
.empty strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 16px; letter-spacing: 0.08em; }

.detail-hero { height: 148px; }
.detail-hero .sil { transform: translateY(8px); }
.banner {
  margin: 12px 16px 0;
  padding: 10px 12px;
  background: #fff8f2;
  border-left: 3px solid var(--lacquer);
  font-size: 13px;
  line-height: 1.5;
}
.banner.warm { background: #f8f4ec; border-left-color: var(--amber); }
.price-plate {
  margin: 12px 16px 0;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px 14px 12px;
}
.price-plate .ask {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.price-plate .ask span {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.price-plate .ask strong {
  font-size: 36px;
  line-height: 0.9;
  font-weight: 650;
  color: var(--lacquer);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.price-plate .ask strong small { font-size: 14px; margin-left: 4px; letter-spacing: 0; }
.price-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.price-grid div { padding-top: 10px; }
.price-grid em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.price-grid b {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.margin-line {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #ddd9d2;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--steel);
}
.margin-line b { color: var(--ink); font-variant-numeric: tabular-nums; }

.tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 0;
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  margin-top: 12px;
}
.tabs button {
  flex: 1;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  position: relative;
}
.tabs button.on { color: var(--ink); font-weight: 650; }
.tabs button.on::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: var(--brass);
}

.pad { padding: 14px 16px 24px; }
.note {
  font-size: 14px;
  line-height: 1.7;
  color: #2c3330;
}
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
}
.spec div {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.spec div:nth-child(2n) { border-right: 0; }
.spec em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.spec b {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--steel);
}
.section-label::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--brass);
}
.talk {
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}
.btn {
  width: 100%;
  height: 44px;
  margin-top: 10px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: #f3efe6;
  letter-spacing: 0.12em;
  font-size: 14px;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid #c8cdc8;
}
.quote {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.quote em { font-style: normal; }
.quote b { font-variant-numeric: tabular-nums; color: var(--lacquer); }
.quote span { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }

.policy {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 12px 12px 16px;
  margin-bottom: 10px;
  position: relative;
}
.policy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brass);
}
.policy.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.policy .kind { font-size: 15px; font-weight: 650; letter-spacing: 0.06em; }
.policy .co { margin-top: 4px; font-size: 13px; color: var(--steel); }
.policy .no {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.policy .cover { margin-top: 8px; font-size: 13px; line-height: 1.55; }
.policy .foot {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.left-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.left-num b { display: block; font-size: 18px; color: var(--ink); }
.left-num.hot b, .hot { color: var(--lacquer); }
.left-num.warm b { color: var(--amber); }

.insure-row {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
}
.insure-row:active { background: #f6f5f2; }
.insure-row .d {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--steel);
}
.insure-row b { display: block; font-size: 14px; }
.insure-row small { color: var(--muted); font-size: 12px; }
.insure-row .left {
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.insure-row .left.hot { color: var(--lacquer); }
.insure-row .left.warm { color: var(--amber); }

.stat-board {
  margin: 12px 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
}
.stat em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.stat strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.stat small { color: var(--muted); font-size: 11px; }
.bars { background: #fff; border: 1px solid var(--line); }
.bar-row {
  display: grid;
  grid-template-columns: 72px 1fr 28px;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
}
.track { height: 4px; background: #eceae6; }
.track i {
  display: block;
  height: 100%;
  background: var(--ink);
}

.lot-map { padding: 0 16px 8px; }
.zone { margin-bottom: 12px; }
.zone p {
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.bays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bay {
  min-height: 52px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  padding: 5px 6px;
}
.bay em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.bay b { display: block; margin-top: 3px; font-size: 12px; font-weight: 650; }
.bay.empty {
  background: transparent;
  border-style: dashed;
  color: #b0b5b1;
}
.bay.st-在售 { box-shadow: inset 3px 0 0 var(--enamel); }
.bay.st-预定 { box-shadow: inset 3px 0 0 #c4843a; }
.bay.st-整备 { box-shadow: inset 3px 0 0 #6d8b96; }
.legend {
  display: flex;
  gap: 12px;
  padding: 0 16px 16px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  vertical-align: -1px;
}
.legend .s { background: var(--enamel); }
.legend .r { background: #c4843a; }
.legend .p { background: #6d8b96; }
.legend .e { background: transparent; border: 1px dashed #b0b5b1; }

.check { background: #fff; border: 1px solid var(--line); }
.check div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.check div:last-child { border-bottom: 0; }
.check em { font-style: normal; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; }
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 22px;
  padding: 0 4px;
  border: 1.5px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.12em;
  transform: rotate(-8deg);
}
.stamp.ok { color: var(--enamel); }
.stamp.warn { color: var(--amber); }
.stamp.bad { color: var(--lacquer); }

.mine { padding: 20px 16px 28px; }
.mine h2 { font-size: 22px; letter-spacing: 0.12em; }
.mine .role { margin-top: 6px; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }
.id-card {
  margin-top: 16px;
  background: #121614;
  color: #f3efe6;
  padding: 16px;
}
.id-card span { display: block; font-size: 11px; letter-spacing: 0.16em; color: var(--brass); }
.id-card strong { display: block; margin-top: 8px; font-size: 20px; letter-spacing: 0.1em; }
.id-card p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: #cfc8bc; }
.mine .hint {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

.closed {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 24px;
  text-align: center;
  background: #f3f4f2;
}
.closed strong { font-size: 20px; letter-spacing: 0.12em; }
.closed p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.closed .btn { width: auto; padding: 0 28px; }

.sheet-mask {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(18, 22, 20, 0.42);
  border: 0;
  padding: 0;
}
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 31;
  background: #fffcf8;
  color: var(--ink);
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.12);
}
.sheet h3 { font-size: 16px; letter-spacing: 0.1em; }
.sheet label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.sheet input, .sheet textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d5d8d4;
  background: #fff;
  padding: 10px;
  font-size: 15px;
  color: var(--ink);
}
.sheet textarea { min-height: 68px; resize: none; }
.toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 72px;
  z-index: 40;
  background: #121614;
  color: #f3efe6;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  border-left: 3px solid var(--brass);
}

@media (max-width: 860px) {
  body { background: #121614; }
  .lot { display: block; padding: 0; min-height: 100dvh; }
  .plate { display: none; }
  .device-wrap, .device, .screen {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    background: var(--sheet);
  }
  .device { background: transparent; }
  .wx-status { height: calc(22px + env(safe-area-inset-top)); padding-top: calc(8px + env(safe-area-inset-top)); }
}

@media (min-width: 861px) and (max-height: 940px) {
  .device-wrap {
    transform: scale(calc((100vh - 40px) / 868));
    transform-origin: center center;
  }
}
