﻿:root {
  --bg: #020916;
  --panel: rgba(3, 20, 43, 0.88);
  --panel-soft: rgba(8, 36, 72, 0.74);
  --line: rgba(33, 173, 255, 0.72);
  --line-soft: rgba(79, 202, 255, 0.32);
  --cyan: #23c7ff;
  --cyan-deep: #0677ff;
  --gold: #ffd26d;
  --text: #f5fbff;
  --muted: #9ec6df;
  --danger: #ff7b7b;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --glow: 0 0 22px rgba(17, 156, 255, 0.38);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

/* Strict mobile mockup pass: restore the bottom selector structure from the design. */
@media (max-width: 760px) and (orientation: portrait) {
  .app-shell:not(.is-home) .app {
    grid-template-rows:
      clamp(84px, 11.9dvh, 92px)
      minmax(0, 1fr)
      clamp(212px, 29dvh, 228px) !important;
    gap: clamp(5px, 0.76dvh, 7px) !important;
  }

  .app-shell:not(.is-home) .main-grid {
    gap: clamp(7px, 1dvh, 9px) !important;
    grid-template-rows: minmax(0, 1.02fr) minmax(0, 0.9fr) !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    padding: clamp(37px, 5.25dvh, 43px) 10px 10px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) clamp(48px, 6.75dvh, 54px) !important;
    gap: clamp(7px, 1dvh, 9px) !important;
    background: rgba(255, 255, 255, 0.99) !important;
    border: 1px solid rgba(224, 210, 190, 0.98) !important;
    border-radius: 15px !important;
  }

  .app-shell:not(.is-home) .bottom-heading {
    top: clamp(10px, 1.45dvh, 13px) !important;
    left: 16px !important;
    right: 10px !important;
    gap: 7px !important;
  }

  .app-shell:not(.is-home) .bottom-heading span {
    width: clamp(26px, 3.95dvh, 31px) !important;
    height: clamp(26px, 3.95dvh, 31px) !important;
    font-size: clamp(13px, 1.9dvh, 16px) !important;
  }

  .app-shell:not(.is-home) .bottom-heading strong {
    flex: 0 0 auto !important;
    font-size: clamp(20px, 5vw, 24px) !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .bottom-heading em {
    display: block !important;
    min-width: 0 !important;
    color: #9b9287 !important;
    font-size: clamp(8px, 2.25vw, 10px) !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .app-shell:not(.is-home) .content-switcher {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    --point-count: 7;
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--point-count), minmax(0, 1fr)) !important;
    grid-template-rows: clamp(29px, 4.1dvh, 34px) minmax(0, 1fr) !important;
    gap: clamp(6px, 0.85dvh, 8px) clamp(5px, 1.2vw, 7px) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card {
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 2px !important;
    border: 1px solid rgba(224, 210, 190, 0.96) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .point-card.is-active {
    color: #744b1d !important;
    border-color: rgba(204, 151, 83, 0.58) !important;
    background: linear-gradient(135deg, #f1dfc2 0%, #d5ad70 100%) !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    gap: 2px !important;
    font-size: clamp(7px, 2vw, 8.8px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: clamp(12px, 3vw, 15px) !important;
    height: clamp(12px, 3vw, 15px) !important;
    min-width: clamp(12px, 3vw, 15px) !important;
    font-size: clamp(7px, 1.8vw, 9px) !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .mobile-active-styles,
  .app-shell:not(.is-home) .desktop-active-styles {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .mobile-style-list {
    height: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr)) !important;
    gap: clamp(10px, 2.4vw, 14px) !important;
  }

  .app-shell:not(.is-home) .style-pill {
    height: 100% !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) clamp(18px, 2.65dvh, 22px) !important;
    gap: clamp(4px, 0.6dvh, 6px) !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .style-thumb {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 1px solid rgba(204, 171, 124, 0.26) !important;
    border-radius: 8px !important;
    background: #f7f1e8 !important;
    box-shadow: 0 3px 9px rgba(72, 51, 30, 0.06) !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb {
    border-color: rgba(194, 142, 72, 0.95) !important;
    box-shadow:
      0 4px 10px rgba(151, 101, 47, 0.14),
      inset 0 0 0 1px rgba(194, 142, 72, 0.5) !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    color: #2f2a25 !important;
    font-size: clamp(12px, 3.35vw, 15px) !important;
    font-weight: 900 !important;
    line-height: clamp(18px, 2.65dvh, 22px) !important;
    text-align: center !important;
  }

  .app-shell:not(.is-home) .checkout-panel {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    width: 100% !important;
    height: 100% !important;
    border-radius: 13px !important;
    font-size: clamp(22px, 6vw, 28px) !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    background: linear-gradient(135deg, #f0d7a8 0%, #d7a35e 50%, #c1843f 100%) !important;
    box-shadow:
      0 7px 14px rgba(160, 103, 43, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
  }
}

/* Mobile header reference alignment: title on top, full-width house tabs below. */
@media (max-width: 760px) and (orientation: portrait) {
  .app-shell:not(.is-home) .app {
    grid-template-rows:
      clamp(78px, 11.6dvh, 90px)
      minmax(0, 1fr)
      clamp(190px, 22.4dvh, 210px) !important;
    gap: clamp(4px, 0.62dvh, 6px) !important;
  }

  .app-shell:not(.is-home) .topbar {
    grid-template-columns: minmax(0, 1fr) 28px !important;
    grid-template-rows: clamp(30px, 4.4dvh, 36px) clamp(38px, 5.6dvh, 44px) !important;
    gap: clamp(4px, 0.65dvh, 6px) 6px !important;
    align-items: stretch !important;
  }

  .app-shell:not(.is-home) .brand-title {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    padding: 0 34px !important;
    align-self: center !important;
    justify-self: stretch !important;
    place-items: center !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    font-size: clamp(19px, 5.25vw, 23px) !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    color: #32271f !important;
  }

  .app-shell:not(.is-home) .brand-title::after {
    display: block !important;
    bottom: -8px !important;
    width: 54px !important;
    height: 8px !important;
    opacity: 0.7 !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }

  .app-shell:not(.is-home) .house-control {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    height: clamp(38px, 5.6dvh, 44px) !important;
    align-self: stretch !important;
    justify-self: stretch !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(229, 220, 210, 0.98) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow:
      0 4px 12px rgba(72, 52, 30, 0.045),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .house-tab {
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1px solid rgba(226, 216, 204, 0.88) !important;
    border-radius: 0 !important;
    color: #2c2823 !important;
    background: rgba(255, 255, 255, 0.76) !important;
    box-shadow: none !important;
    font-family: "Times New Roman", "SimSun", serif !important;
    font-size: clamp(17px, 4.95vw, 21px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab:last-child {
    border-right: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #724a1f !important;
    background:
      radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.62), transparent 42%),
      linear-gradient(135deg, #f1dfc2 0%, #dfc399 52%, #d1a767 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      inset 0 -10px 16px rgba(181, 126, 62, 0.08) !important;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--text);
  background: #020916;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 8%, rgba(35, 162, 255, 0.16), transparent 36%),
    #020916;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

img {
  max-width: 100%;
}

.app-shell {
  position: relative;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
}

.app-shell::before,
.app-shell::after {
  display: none;
}

.app-shell::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(54, 188, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 188, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, #000 0%, transparent 72%);
}

.app-shell::after {
  inset: 10px;
  border: 1px solid rgba(43, 168, 255, 0.48);
  box-shadow: inset 0 0 28px rgba(16, 135, 255, 0.18);
}

.home-screen {
  position: relative;
  z-index: 2;
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  min-height: 0;
  padding: clamp(10px, 1.1vw, 22px);
  display: none;
  grid-template-rows:
    minmax(210px, 39%)
    minmax(0, 1fr)
    clamp(60px, 9%, 92px)
    clamp(38px, 5.6%, 56px)
    clamp(10px, 1.8%, 16px);
  gap: clamp(6px, 0.72vw, 12px);
  overflow: hidden;
}

.app-shell.is-home .home-screen {
  display: grid;
}

.app-shell.is-home .app {
  display: none;
}

.home-hero {
  position: relative;
  min-height: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(2, 9, 22, 0.98) 0%, rgba(4, 17, 35, 0.84) 36%, rgba(4, 18, 38, 0.12) 74%),
    radial-gradient(circle at 68% 30%, rgba(111, 178, 255, 0.36), transparent 32%),
    linear-gradient(135deg, rgba(14, 48, 84, 0.88), rgba(2, 9, 22, 0.92));
  box-shadow: inset 0 -42px 72px rgba(0, 8, 18, 0.72);
  overflow: hidden;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 217, 166, 0.2), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 255, 255, 0.06) 60px 62px);
  mask-image: linear-gradient(90deg, transparent 42%, #000 58%, #000 95%);
  opacity: 0.86;
}

.home-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 74%;
  content: "";
  background:
    linear-gradient(180deg, rgba(249, 184, 107, 0.78), rgba(255, 255, 255, 0.08) 4%, transparent 5%) 10% 12% / 8% 84% no-repeat,
    linear-gradient(180deg, rgba(249, 184, 107, 0.78), rgba(255, 255, 255, 0.08) 4%, transparent 5%) 26% 22% / 7% 74% no-repeat,
    linear-gradient(180deg, rgba(249, 184, 107, 0.78), rgba(255, 255, 255, 0.08) 4%, transparent 5%) 43% 30% / 8% 64% no-repeat,
    linear-gradient(180deg, rgba(249, 184, 107, 0.78), rgba(255, 255, 255, 0.08) 4%, transparent 5%) 61% 38% / 8% 56% no-repeat,
    linear-gradient(180deg, rgba(249, 184, 107, 0.78), rgba(255, 255, 255, 0.08) 4%, transparent 5%) 80% 44% / 9% 48% no-repeat,
    linear-gradient(180deg, rgba(12, 36, 60, 0.82), rgba(1, 8, 17, 0.96));
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.78;
}

.home-logo-slot {
  position: absolute;
  z-index: 2;
  top: clamp(10px, 1vw, 18px);
  right: clamp(10px, 1.2vw, 22px);
  min-width: clamp(92px, 10vw, 150px);
  min-height: clamp(34px, 4vw, 54px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: rgba(240, 250, 255, 0.92);
  text-align: center;
  font-size: clamp(8px, 0.72vw, 11px);
}

.home-logo-slot::before {
  width: clamp(42px, 4.2vw, 66px);
  height: clamp(10px, 1.1vw, 16px);
  content: "";
  border-top: 4px solid rgba(243, 250, 255, 0.92);
  border-radius: 50% 50% 0 0;
  box-shadow: 12px 0 0 -4px rgba(243, 250, 255, 0.76);
}

.home-logo-slot strong,
.home-logo-slot span {
  display: block;
  line-height: 1.08;
}

.home-copy {
  position: relative;
  z-index: 2;
  max-width: min(52%, 760px);
  padding: clamp(28px, 4vw, 70px) 0 0 clamp(12px, 1.2vw, 22px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.home-copy h1 {
  margin: 0 0 clamp(10px, 1vw, 18px);
  color: #eaf7ff;
  font-size: clamp(28px, 4vw, 76px);
  line-height: 1.02;
  letter-spacing: 0.03em;
}

.home-subtitle,
.home-desc {
  margin: 0;
  color: rgba(232, 246, 255, 0.94);
  font-weight: 800;
}

.home-subtitle {
  font-size: clamp(16px, 2.05vw, 38px);
}

.home-desc {
  margin-top: clamp(6px, 0.72vw, 12px);
  color: rgba(206, 226, 239, 0.88);
  font-size: clamp(12px, 1.22vw, 24px);
}

.home-feature-row {
  position: absolute;
  z-index: 3;
  left: clamp(6px, 0.8vw, 14px);
  right: clamp(6px, 0.8vw, 14px);
  bottom: clamp(8px, 1vw, 20px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 18px);
}

.home-feature {
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(36px, 3.6vw, 68px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(6px, 0.7vw, 12px);
}

.home-feature p,
.home-value-strip p {
  margin: 0;
}

.home-feature strong,
.home-feature span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature strong {
  color: #e8f8ff;
  font-size: clamp(10px, 1vw, 18px);
}

.home-feature span {
  color: rgba(196, 222, 238, 0.88);
  font-size: clamp(8px, 0.82vw, 15px);
}

.home-icon-slot,
.home-mini-icon,
.home-line-icon,
.home-contact-icon,
.home-phone-icon {
  position: relative;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(40, 185, 255, 0.88);
  background:
    linear-gradient(180deg, rgba(11, 72, 130, 0.9), rgba(2, 22, 55, 0.96));
  box-shadow:
    inset 0 0 16px rgba(38, 174, 255, 0.24),
    0 0 16px rgba(19, 149, 255, 0.26);
}

.home-icon-slot {
  width: clamp(34px, 3.6vw, 66px);
  aspect-ratio: 1 / 1;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.home-icon-slot::before,
.home-mini-icon::before,
.home-line-icon::before,
.home-contact-icon::before,
.home-phone-icon::before {
  width: 38%;
  height: 38%;
  content: "";
  border: 2px solid rgba(246, 252, 255, 0.94);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.home-icon-pin::before,
.home-contact-icon::before {
  width: 34%;
  height: 34%;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
}

.home-icon-diamond::before {
  transform: rotate(45deg);
}

.home-icon-building::before {
  width: 42%;
  height: 46%;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(255,255,255,0.42) 5px 7px);
}

.home-icon-car::before,
.home-icon-flag::before {
  width: 48%;
  height: 28%;
  border-radius: 2px;
}

.home-icon-refresh::before {
  width: 44%;
  height: 44%;
  border-radius: 999px;
  border-left-color: transparent;
}

.home-main {
  min-height: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(10px, 1vw, 18px);
}

.home-selection-card,
.home-house-panel,
.home-value-strip,
.home-contact-strip {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(50, 177, 255, 0.74);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(7, 35, 73, 0.88), rgba(2, 12, 30, 0.92));
  box-shadow:
    inset 0 0 28px rgba(12, 126, 255, 0.18),
    0 0 18px rgba(0, 120, 255, 0.18);
  overflow: hidden;
}

.home-selection-card {
  padding: clamp(14px, 1.4vw, 24px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.home-selection-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 10, 24, 0.94) 0%, rgba(1, 10, 24, 0.58) 46%, transparent 70%);
  z-index: 1;
}

.home-card-copy,
.home-service-row,
.home-enter-button {
  position: relative;
  z-index: 2;
}

.home-card-copy h2,
.home-house-panel h2 {
  margin: 0;
  color: #e8f8ff;
  font-size: clamp(18px, 2.1vw, 38px);
  line-height: 1.08;
  font-weight: 900;
}

.home-card-copy p {
  margin: clamp(4px, 0.46vw, 8px) 0 0;
  color: rgba(210, 235, 249, 0.94);
  font-size: clamp(12px, 1.2vw, 22px);
  font-weight: 700;
}

.home-service-row {
  width: min(50%, 520px);
  margin-top: clamp(20px, 4vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 20px);
}

.home-service-row div {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: clamp(5px, 0.56vw, 10px);
  color: rgba(220, 240, 252, 0.92);
  text-align: center;
}

.home-mini-icon {
  width: clamp(26px, 2.65vw, 50px);
  aspect-ratio: 1 / 1;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.home-mini-icon::before,
.home-line-icon::before {
  width: 35%;
  height: 35%;
  border-radius: 2px;
  transform: rotate(45deg);
}

.home-service-row strong,
.home-service-row em,
.home-value-strip strong,
.home-value-strip em {
  display: block;
  font-style: normal;
  line-height: 1.18;
}

.home-service-row strong {
  font-size: clamp(9px, 0.86vw, 15px);
}

.home-service-row em {
  color: rgba(183, 213, 232, 0.88);
  font-size: clamp(7px, 0.7vw, 13px);
}

.home-interior-slot {
  position: absolute;
  inset: 0 0 0 34%;
  background:
    linear-gradient(180deg, rgba(255, 238, 212, 0.18), transparent 24%),
    radial-gradient(circle at 50% 35%, rgba(255, 219, 171, 0.38), transparent 28%),
    linear-gradient(135deg, rgba(122, 104, 88, 0.78), rgba(19, 23, 28, 0.95));
}

.home-interior-slot::before {
  position: absolute;
  inset: 18% 16% 12% 8%;
  content: "";
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(160, 201, 229, 0.74), rgba(243, 232, 212, 0.38)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  box-shadow:
    -18px 30px 0 rgba(13, 19, 26, 0.5),
    34px 44px 0 rgba(11, 14, 18, 0.48);
}

.home-enter-button {
  width: clamp(150px, 15vw, 260px);
  min-height: clamp(34px, 3.8vw, 56px);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 24px);
  border: 1px solid rgba(45, 188, 255, 0.82);
  border-radius: 8px;
  color: #f2fbff;
  background: rgba(1, 18, 42, 0.76);
  box-shadow: inset 0 0 18px rgba(40, 177, 255, 0.16);
  font-size: clamp(12px, 1vw, 18px);
  font-weight: 800;
}

.home-house-panel {
  padding: clamp(14px, 1.4vw, 24px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(12px, 1.2vw, 22px);
}

.home-house-cards {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 28px);
}

.home-house-card {
  min-width: 0;
  min-height: 0;
  padding: clamp(8px, 0.8vw, 14px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid rgba(112, 169, 214, 0.5);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0 54%, rgba(4, 18, 42, 0.96) 54% 100%);
  box-shadow: inset 0 0 20px rgba(44, 144, 255, 0.12);
}

.home-house-plan {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-house-plan::before {
  width: 72%;
  height: 70%;
  content: "";
  border: 2px solid rgba(18, 24, 32, 0.78);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(18, 24, 32, 0.45) 47% 49%, transparent 49%),
    linear-gradient(180deg, transparent 38%, rgba(18, 24, 32, 0.38) 38% 40%, transparent 40%),
    linear-gradient(90deg, transparent 22%, rgba(18, 24, 32, 0.34) 22% 24%, transparent 24%);
  opacity: 0.8;
}

.home-house-info {
  padding: clamp(8px, 1vw, 16px) 4px 2px;
  text-align: center;
}

.home-house-info strong {
  display: block;
  color: #dff7ff;
  font-size: clamp(22px, 2.3vw, 40px);
  line-height: 1;
}

.home-house-info span,
.home-house-info em {
  display: block;
  margin-top: clamp(5px, 0.5vw, 10px);
  color: rgba(212, 233, 246, 0.92);
  font-style: normal;
  font-size: clamp(9px, 0.78vw, 14px);
  line-height: 1.2;
}

.home-value-strip {
  padding: clamp(8px, 1vw, 16px) clamp(12px, 1.6vw, 28px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 20px);
}

.home-value-strip div {
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(34px, 3.2vw, 58px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(7px, 0.8vw, 14px);
}

.home-line-icon {
  width: clamp(34px, 3.2vw, 58px);
  aspect-ratio: 1 / 1;
  border-radius: 9px;
}

.home-value-strip strong,
.home-value-strip em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-value-strip strong {
  color: #e9f8ff;
  font-size: clamp(10px, 1vw, 18px);
}

.home-value-strip em {
  color: rgba(203, 225, 239, 0.88);
  font-size: clamp(8px, 0.82vw, 15px);
}

.home-contact-strip {
  padding: 0 clamp(16px, 1.8vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(225, 243, 255, 0.92);
  font-size: clamp(12px, 1.2vw, 22px);
  font-weight: 800;
}

.home-contact-strip p {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 14px);
}

.home-contact-icon,
.home-phone-icon {
  width: clamp(24px, 2vw, 38px);
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-phone-icon::before {
  width: 46%;
  height: 46%;
  border-width: 3px;
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.home-footnote {
  margin: 0;
  color: rgba(130, 164, 186, 0.72);
  font-size: clamp(7px, 0.65vw, 11px);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app {
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  min-height: 0;
  margin: 0;
  padding: clamp(9px, 1.05vw, 18px);
  display: grid;
  grid-template-rows:
    clamp(44px, 5.8%, 62px)
    minmax(0, 1fr)
    clamp(166px, 22.5%, 218px)
    clamp(12px, 1.8%, 20px);
  gap: clamp(5px, 0.62vw, 9px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(250px, 1fr);
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
}

.house-control {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.house-label {
  flex: 0 0 auto;
  font-size: clamp(12px, 1.35vw, 16px);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(32, 175, 255, 0.55);
}

.house-tabs {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.house-tab,
.reset-button,
.bird-tab,
.view-tab,
.submit-secondary,
.submit-primary {
  min-height: 38px;
  border: 1px solid rgba(66, 182, 255, 0.5);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(26, 69, 126, 0.78), rgba(4, 20, 48, 0.82));
  box-shadow:
    inset 0 0 12px rgba(34, 155, 255, 0.18),
    0 0 12px rgba(0, 112, 255, 0.16);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.house-tab {
  min-width: clamp(74px, 6.2vw, 108px);
  padding: 0 14px;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 800;
}

.house-tab.is-active,
.bird-tab.is-active,
.view-tab.is-active {
  color: #fff;
  border-color: rgba(105, 220, 255, 0.98);
  background:
    linear-gradient(180deg, #41cfff 0%, #0788f4 55%, #0055d7 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 0 20px rgba(33, 190, 255, 0.52);
}

.house-tab:active,
.reset-button:active,
.bird-tab:active,
.view-tab:active,
.style-pill:active,
.confirm-button:active {
  transform: scale(0.97);
}

.brand-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.brand-title h1 {
  margin: 0;
  font-size: clamp(18px, 2.25vw, 30px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #f7fcff;
  text-shadow:
    0 0 10px rgba(64, 197, 255, 0.76),
    0 2px 14px rgba(0, 10, 28, 0.9);
  white-space: nowrap;
}

.reset-button {
  width: 100%;
  min-width: 88px;
  padding: 0 12px;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 700;
}

.tech-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(52, 176, 255, 0.74);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(9, 43, 85, 0.92), rgba(1, 12, 29, 0.92) 54%, rgba(4, 26, 57, 0.86)),
    radial-gradient(circle at 12% 8%, rgba(29, 190, 255, 0.2), transparent 28%);
  box-shadow:
    inset 0 0 26px rgba(0, 120, 255, 0.18),
    0 0 24px rgba(0, 91, 255, 0.2);
  overflow: hidden;
}

.tech-panel::before {
  display: none;
}

.tech-panel::after {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(106, 220, 255, 0.85), transparent);
  box-shadow: 0 0 16px rgba(45, 202, 255, 0.66);
}

.main-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(8px, 1vw, 14px);
}

.bird-panel,
.effect-panel {
  padding: clamp(32px, 3.5dvh, 44px) clamp(8px, 0.82vw, 12px) clamp(6px, 0.72dvh, 10px);
  display: grid;
  place-items: center;
}

.effect-panel {
  padding-bottom: clamp(28px, 3.4dvh, 38px);
}

.panel-corner {
  display: none;
}

.bird-tabs,
.view-tabs {
  position: absolute;
  z-index: 4;
  top: clamp(8px, 1.1dvh, 12px);
  left: clamp(14px, 1.5vw, 22px);
  right: clamp(14px, 1.5vw, 22px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
}

.bird-tab,
.view-tab {
  min-height: clamp(28px, 3.2dvh, 36px);
  padding: 0 clamp(16px, 2vw, 30px);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 800;
}

.bird-tab {
  min-width: clamp(86px, 8.2vw, 126px);
  border-radius: 999px;
}

.view-tab.is-disabled,
.bird-tab.is-disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.media-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  aspect-ratio: var(--media-aspect-ratio, 16 / 9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(69, 198, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(2, 11, 26, 0.96), rgba(4, 21, 44, 0.96)),
    radial-gradient(circle at 50% 45%, rgba(35, 189, 255, 0.12), transparent 48%);
  box-shadow:
    inset 0 0 28px rgba(15, 143, 255, 0.2),
    0 0 20px rgba(0, 112, 255, 0.25);
  overflow: hidden;
  cursor: zoom-in;
}

.media-stage::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.42;
}

.media-stage::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.media-stage.is-loading {
  background:
    linear-gradient(100deg, rgba(4, 20, 42, 0.94) 0%, rgba(9, 48, 86, 0.94) 48%, rgba(4, 20, 42, 0.94) 100%);
  background-size: 220% 100%;
  animation: panel-shimmer 1.3s linear infinite;
}

.scene-image,
.preview-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  object-position: center;
  transition: opacity 180ms ease;
  clip-path: inset(0 0 0 0);
  user-select: none;
  -webkit-user-drag: none;
}

.scene-overlay-image,
.preview-overlay-image {
  display: none;
  z-index: 2;
}

.image-overlay-stack {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.image-overlay-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  user-select: none;
  -webkit-user-drag: none;
}

.preview-stage {
  aspect-ratio: 16 / 9;
}

.preview-stage.is-detail-view .preview-image {
  object-fit: cover;
}

.preview-stage.is-detail-view .image-overlay-stack {
  display: none;
}

.scene-image.is-ready,
.preview-image.is-ready {
  opacity: 1;
}

.scene-image.is-entering,
.preview-image.is-entering {
  animation: image-fade-in 180ms ease-out both;
}

.scene-image.is-empty,
.preview-image.is-empty {
  opacity: 0;
  visibility: hidden;
}

.effect-caption {
  position: absolute;
  z-index: 5;
  left: clamp(18px, 1.8vw, 28px);
  right: clamp(18px, 1.8vw, 28px);
  bottom: clamp(10px, 1.2dvh, 16px);
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(64, 184, 255, 0.34);
  border-radius: 999px;
  background: rgba(0, 7, 18, 0.58);
  backdrop-filter: blur(6px);
}

.effect-caption span,
.effect-caption strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(12px, 1.1vw, 15px);
}

.effect-caption span {
  color: #d7f2ff;
  font-weight: 700;
}

.effect-caption strong {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 198, 72, 0.36);
}

.bottom-panel {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(112px, 9.2vw, 150px);
  gap: clamp(5px, 0.45vw, 8px);
  padding: clamp(10px, 0.82vw, 14px);
}

.content-switcher,
.cards-scroll {
  min-width: 0;
  min-height: 0;
}

.content-switcher {
  padding-left: 0;
}

.cards-scroll {
  --point-count: 7;
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(var(--point-count), minmax(0, 1fr));
  gap: clamp(6px, 0.5vw, 8px);
  overflow: hidden;
}

.point-card {
  min-width: 0;
  min-height: 0;
  padding: clamp(7px, 0.56vw, 10px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(4px, 0.38vw, 7px);
  border: 1px solid rgba(67, 172, 255, 0.48);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(6, 34, 76, 0.9), rgba(2, 15, 38, 0.94));
  box-shadow: inset 0 0 18px rgba(20, 132, 255, 0.16);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.point-card.is-active {
  border-color: rgba(111, 224, 255, 0.95);
  box-shadow:
    inset 0 0 20px rgba(27, 172, 255, 0.28),
    0 0 18px rgba(24, 165, 255, 0.28);
}

.point-card-header {
  min-width: 0;
}

.point-card h3 {
  margin: 0;
  color: #f8fdff;
  font-size: clamp(9px, 0.7vw, 12px);
  line-height: 1.12;
  text-align: center;
  overflow: visible;
  white-space: normal;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.current-style {
  display: none;
}

.mobile-active-styles {
  display: none;
}

.style-pills {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(4px, 0.32vw, 7px);
  align-content: stretch;
  justify-content: stretch;
}

.style-pills.style-count-2 {
  grid-template-columns: minmax(0, 1fr);
  padding-inline: 0;
}

.style-pill {
  min-width: 0;
  min-height: 0;
  padding: clamp(3px, 0.28vw, 5px) clamp(5px, 0.42vw, 7px);
  display: grid;
  grid-template-columns: clamp(24px, 2.05vw, 34px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: clamp(4px, 0.35vw, 7px);
  border: 1px solid rgba(92, 154, 204, 0.38);
  border-radius: 9px;
  background: rgba(7, 19, 37, 0.42);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.style-pill.is-active {
  border-color: rgba(255, 225, 122, 0.96);
  background: rgba(45, 38, 14, 0.64);
  box-shadow: 0 0 12px rgba(255, 207, 83, 0.28);
}

.style-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(250, 246, 236, 0.98), rgba(210, 203, 188, 0.98)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.16) 0 6px, rgba(0,0,0,0.04) 6px 12px);
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.14),
    0 0 8px rgba(44, 153, 255, 0.12);
  overflow: hidden;
}

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

.style-pill strong {
  max-width: 100%;
  color: #f5f7ff;
  font-size: clamp(8px, 0.62vw, 10.5px);
  min-height: 0;
  line-height: 1.18;
  font-weight: 700;
  text-align: left;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: block;
}

.style-price {
  display: none;
}

.checkout-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr auto auto;
  place-items: center stretch;
  gap: clamp(8px, 0.95dvh, 12px);
  padding: clamp(12px, 1.05vw, 18px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.summary {
  min-width: 0;
}

.summary-item.total {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

.summary-item.total span {
  font-size: clamp(18px, 1.45vw, 27px);
}

.summary-item.total strong {
  color: #ffd46f;
  font-size: clamp(30px, 2.8vw, 50px);
  line-height: 0.95;
  text-shadow: 0 0 14px rgba(255, 190, 62, 0.42);
}

.confirm-button {
  width: 100%;
  min-height: 54px;
  align-self: stretch;
  color: #fff;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 900;
  letter-spacing: 0.04em;
  background:
    linear-gradient(180deg, #36cfff 0%, #068cf7 48%, #0062dc 100%);
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 22px rgba(17, 160, 255, 0.38);
}

.selection-meta {
  color: var(--muted);
  font-size: clamp(10px, 0.82vw, 12px);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 鍥哄畾 16:9 鑸炲彴锛屽灞傚彧绛夋瘮缂╂斁锛岄伩鍏嶆墜鏈烘í灞忓拰鐢佃剳姣斾緥鍚勮窇鍚勭殑銆?*/
.view-tabs {
  left: 50%;
  right: auto;
  width: min(62%, 380px);
  transform: translateX(-50%);
  justify-content: space-between;
  gap: 0;
}

.view-tabs::after {
  content: "";
  display: none;
}

.view-tab {
  position: relative;
  min-height: clamp(24px, 2.15vw, 34px);
  padding: 0 clamp(8px, 1vw, 18px);
  border: 0;
  border-radius: 0;
  color: rgba(226, 239, 248, 0.72);
  background: transparent;
  box-shadow: none;
  font-size: clamp(13px, 1.15vw, 21px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(0, 18, 36, 0.9);
}

.view-tab::after {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: clamp(30px, 3.2vw, 46px);
  height: 3px;
  content: "";
  display: block;
  transform: translateX(-50%) skewX(-28deg);
  transform-origin: center;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #67e1ff 18%, #0783ff 82%, transparent 100%);
  box-shadow: 0 0 12px rgba(45, 199, 255, 0.72);
  opacity: 0;
  transition: opacity 160ms ease;
}

.view-tab.is-active {
  color: #f8fcff;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  text-shadow:
    0 0 10px rgba(79, 206, 255, 0.78),
    0 1px 12px rgba(0, 0, 0, 0.86);
}

.view-tab.is-active::after {
  opacity: 1;
}

.effect-panel {
  padding-top: clamp(32px, 3.1vw, 44px);
  padding-bottom: clamp(26px, 2.65vw, 36px);
}

.effect-panel .media-stage {
  width: 100%;
  border-width: 1px;
}

.summary,
.selection-meta {
  display: none;
}

.checkout-panel {
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
}

.confirm-button {
  align-self: center;
}

.disclaimer {
  min-height: 0;
  color: rgba(204, 229, 244, 0.72);
  font-size: clamp(10px, 0.78vw, 12px);
  line-height: 1.4;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.loading-screen,
.orientation-mask,
.submit-modal,
.image-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.loading-screen {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 145, 255, 0.24), transparent 36%),
    rgba(0, 5, 15, 0.96);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-panel,
.orientation-card,
.submit-dialog {
  border: 1px solid rgba(77, 198, 255, 0.68);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8, 37, 78, 0.95), rgba(2, 12, 30, 0.98));
  box-shadow:
    inset 0 0 28px rgba(28, 148, 255, 0.2),
    0 0 36px rgba(0, 93, 255, 0.26);
}

.loading-panel {
  width: min(420px, 86vw);
  padding: 32px;
  text-align: center;
}

.loading-orbit {
  position: relative;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid rgba(86, 214, 255, 0.32);
  animation: spin 1.4s linear infinite;
}

.loading-orbit span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.loading-orbit span:nth-child(1) {
  left: 50%;
  top: -5px;
}

.loading-orbit span:nth-child(2) {
  right: 5px;
  bottom: 7px;
}

.loading-orbit span:nth-child(3) {
  left: 4px;
  bottom: 9px;
}

.loading-title {
  font-size: 22px;
  font-weight: 900;
}

.loading-subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.loading-track {
  height: 9px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.loading-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #19c7ff, #0b72ff, #ffd469);
  box-shadow: 0 0 16px rgba(31, 183, 255, 0.62);
  transition: width 180ms ease;
}

.loading-percent {
  margin-top: 8px;
  color: #dff8ff;
  font-weight: 800;
}

.orientation-mask {
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 6, 18, 0.94);
}

.orientation-card {
  width: min(360px, 84vw);
  padding: 28px;
  text-align: center;
}

.orientation-phone {
  width: 74px;
  height: 112px;
  margin: 0 auto 18px;
  border: 3px solid rgba(83, 210, 255, 0.9);
  border-radius: 18px;
  position: relative;
  box-shadow: 0 0 18px rgba(32, 188, 255, 0.34);
  animation: phone-rotate 1.8s ease-in-out infinite;
}

.orientation-phone span {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 18px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.orientation-card h2 {
  margin: 0 0 8px;
}

.orientation-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.submit-modal {
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 4, 14, 0.72);
  backdrop-filter: blur(8px);
}

.image-zoom-modal {
  display: none;
  place-items: center;
  padding: 0;
  background: #000;
  backdrop-filter: none;
  z-index: 55;
}

.image-zoom-modal.is-open {
  display: grid;
}

.image-zoom-stage {
  position: relative;
  width: 100vw;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  overflow: hidden;
}

.image-zoom-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-zoom-base {
  z-index: 1;
}

.image-zoom-overlay {
  display: none;
  z-index: 2;
}

.image-zoom-overlay-stack {
  z-index: 2;
}

.image-zoom-overlay-stack img {
  object-fit: contain;
}

.image-zoom-close {
  position: fixed;
  z-index: 56;
  right: clamp(18px, 3vw, 42px);
  top: clamp(14px, 2.5vw, 34px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(102, 218, 255, 0.62);
  background: rgba(0, 25, 55, 0.9);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.image-zoom-caption {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2vw, 26px);
  z-index: 56;
  margin-top: 0;
  transform: translateX(-50%);
  color: #e7f8ff;
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 800;
  text-shadow: 0 0 12px rgba(41, 185, 255, 0.5);
}

.submit-modal.is-open {
  display: grid;
}

.submit-dialog {
  position: relative;
  width: min(560px, 92vw);
  max-height: min(760px, 92dvh);
  padding: 26px;
  overflow: auto;
}

.submit-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 22px;
}

.submit-head span {
  color: var(--cyan);
  font-weight: 800;
}

.submit-head h2 {
  margin: 8px 0 6px;
  font-size: 24px;
}

.submit-head p {
  margin: 0;
  color: var(--muted);
}

.submit-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.submit-form label {
  display: grid;
  gap: 7px;
  color: #dff6ff;
  font-weight: 700;
}

.submit-form input,
.submit-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #fff;
  border: 1px solid rgba(90, 196, 255, 0.42);
  border-radius: 10px;
  background: rgba(0, 9, 22, 0.74);
  outline: none;
}

.submit-form input:focus,
.submit-form textarea:focus {
  border-color: rgba(105, 222, 255, 0.95);
  box-shadow: 0 0 14px rgba(42, 185, 255, 0.24);
}

.submit-summary {
  padding: 12px;
  border: 1px solid rgba(82, 190, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.submit-summary-title {
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}

.submit-selection-list {
  display: grid;
  gap: 6px;
}

.submit-selection-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dcefff;
}

.submit-selection-row strong {
  color: #fff;
}

.submit-message {
  min-height: 20px;
  color: var(--muted);
}

.submit-message[data-type="error"] {
  color: var(--danger);
}

.submit-message[data-type="success"] {
  color: #6fffb9;
}

.submit-message[data-type="warning"] {
  color: var(--gold);
}

.submit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.submit-secondary,
.submit-primary {
  min-height: 44px;
  font-weight: 900;
}

.submit-primary {
  background: linear-gradient(180deg, #36cfff, #087cff);
}

@media (min-width: 1180px) {
  .cards-scroll {
    gap: 12px;
  }

  .point-card {
    padding: 12px 10px;
  }
}

@media (max-width: 1120px) and (max-height: 560px) and (orientation: landscape) {
  .app {
    width: min(100vw, calc(100dvh * 16 / 9));
    height: min(100dvh, calc(100vw * 9 / 16));
    padding:
      max(7px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(7px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    grid-template-rows:
      clamp(36px, 10dvh, 48px)
      minmax(0, 1fr)
      clamp(118px, 31dvh, 154px)
      0;
    gap: 5px;
  }

  .app-shell::after {
    inset: 6px;
  }

  .topbar {
    grid-template-columns: minmax(216px, 1fr);
    gap: 7px;
  }

  .house-control {
    gap: 5px;
  }

  .house-label {
    font-size: clamp(9px, 2.4dvh, 12px);
  }

  .house-tabs {
    gap: 5px;
  }

  .house-tab {
    min-width: clamp(52px, 9.2vw, 72px);
    min-height: clamp(26px, 7dvh, 34px);
    padding: 0 6px;
    border-radius: 7px;
    font-size: clamp(9px, 2.5dvh, 12px);
  }

  .brand-title h1 {
    font-size: clamp(13px, 4.1dvh, 18px);
    letter-spacing: 0.02em;
  }

  .main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }

  .tech-panel {
    border-radius: 12px;
  }

  .tech-panel::before {
    display: none;
  }

  .bird-panel,
  .effect-panel {
    padding: 26px 6px 6px;
  }

  .effect-panel {
    padding-top: 25px;
    padding-bottom: 19px;
  }

  .bird-tabs,
  .view-tabs {
    top: 5px;
    left: 9px;
    right: 9px;
    gap: 5px;
  }

  .view-tabs {
    left: 50%;
    right: auto;
    width: min(58%, 300px);
    transform: translateX(-50%);
    gap: 0;
  }

  .bird-tab,
  .view-tab {
    min-height: clamp(21px, 5.6dvh, 26px);
    padding: 0 clamp(9px, 2.2vw, 18px);
    border-radius: 6px;
    font-size: clamp(8px, 2.1dvh, 11px);
  }

  .view-tab {
    min-height: clamp(22px, 5.8dvh, 28px);
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(10px, 2.9dvh, 14px);
  }

  .media-stage {
    border-radius: 9px;
  }

  .effect-caption {
    left: 10px;
    right: 10px;
    bottom: 6px;
    min-height: 20px;
    padding: 3px 8px;
  }

  .effect-caption span,
  .effect-caption strong {
    font-size: clamp(8px, 2.05dvh, 11px);
  }

  .bottom-panel {
    grid-template-columns: minmax(0, 1fr) clamp(82px, 12.5vw, 112px);
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
  }

  .content-switcher {
    padding-left: 0;
  }

  .cards-scroll {
    gap: 5px;
  }

  .point-card {
    padding: 5px 4px;
    border-radius: 9px;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 3px;
  }

  .point-card h3 {
    font-size: clamp(6.8px, 1.7dvh, 9.2px);
    line-height: 1.05;
  }

  .current-style {
    display: none;
  }

  .style-pills {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(0, 1fr);
    gap: 3px;
    align-content: stretch;
  }

  .style-pills.style-count-2 {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0;
  }

  .style-pill {
    padding: 2px 4px;
    border-radius: 6px;
    grid-template-columns: clamp(19px, 5dvh, 25px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 2px;
  }

  .style-thumb {
    width: 100%;
    min-width: 13px;
    max-width: 26px;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
  }

  .style-pill strong {
    min-height: 0;
    font-size: clamp(6.4px, 1.52dvh, 8px);
    line-height: 1.14;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .checkout-panel {
    padding: 5px;
    gap: 4px;
    border-radius: 9px;
    grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .summary-item.total {
    gap: 3px;
  }

  .summary-item.total span {
    font-size: clamp(8px, 2dvh, 11px);
  }

  .summary-item.total strong {
    font-size: clamp(17px, 5.6dvh, 26px);
  }

  .confirm-button {
    min-height: 0;
    height: 100%;
    font-size: clamp(10px, 2.8dvh, 14px);
  }

  .selection-meta,
  .disclaimer {
    display: none;
  }
}

@media (max-width: 720px) and (max-height: 430px) and (orientation: landscape) {
  .app {
    grid-template-rows:
      clamp(36px, 10.8dvh, 46px)
      minmax(0, 1fr)
      clamp(110px, 30.5dvh, 132px)
      0;
    gap: 5px;
  }

  .topbar {
    grid-template-columns: minmax(186px, 1fr);
  }

  .brand-title h1 {
    font-size: clamp(12px, 3.7dvh, 15px);
  }

  .main-grid {
    gap: 5px;
  }

  .bird-panel,
  .effect-panel {
    padding: 24px 5px 5px;
  }

  .effect-panel {
    padding-top: 23px;
    padding-bottom: 18px;
  }

  .view-tabs {
    width: min(58%, 230px);
  }

  .view-tab {
    font-size: clamp(9px, 2.7dvh, 12px);
    padding: 0 5px;
  }

  .bottom-panel {
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 3px;
    padding: 3px;
  }

  .point-card {
    padding: 3px 2px;
    gap: 2px;
  }

  .point-card h3 {
    font-size: 6.2px;
  }

  .style-pills {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(0, 1fr);
    gap: 2px;
  }

  .style-pills.style-count-2 {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0;
  }

  .style-pill {
    padding: 2px 3px;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 2px;
  }

  .style-thumb {
    width: 100%;
    max-width: 22px;
    aspect-ratio: 1 / 1;
  }

  .style-pill strong {
    min-height: 0;
    font-size: 5.8px;
    line-height: 1.14;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .checkout-panel {
    padding: 4px;
  }

  .confirm-button {
    font-size: 10px;
  }
}

@media (orientation: portrait) and (max-width: 760px) {
  :root {
    --mobile-pad-x: max(5px, env(safe-area-inset-left));
    --mobile-pad-y: max(3px, env(safe-area-inset-top));
    --mobile-pad-bottom: max(6px, env(safe-area-inset-bottom));
    --mobile-shell-w: min(100vw, 430px);
    --mobile-top-h: clamp(28px, 3.75dvh, 34px);
    --mobile-gap: clamp(2px, 0.34dvh, 3px);
    --mobile-panel-w: calc(var(--mobile-shell-w) - 12px);
    --mobile-tab-h: clamp(15px, 1.85dvh, 17px);
    --mobile-caption-h: 0px;
    --mobile-option-h: clamp(104px, 13.8dvh, 124px);
    --mobile-stage-h: max(0px, min(calc((var(--mobile-panel-w) - 10px) * 9 / 16), calc((100dvh - var(--mobile-pad-y) - var(--mobile-pad-bottom) - var(--mobile-top-h) - var(--mobile-option-h) - (var(--mobile-gap) * 3) - (var(--mobile-tab-h) * 2) - 18px) / 2)));
    --mobile-media-block-h: calc(var(--mobile-tab-h) + var(--mobile-stage-h) + 7px);
    --mobile-stage-w: calc(var(--mobile-stage-h) * 16 / 9);
  }

  body {
    overflow: hidden;
  }

  .app-shell {
    display: block;
    overflow: hidden;
  }

  .app-shell.is-home {
    background:
      radial-gradient(circle at 50% 10%, rgba(28, 144, 255, 0.22), transparent 42%),
      #020916;
  }

  .app-shell.is-home .home-screen {
    width: 100vw;
    height: 100dvh;
    padding:
      max(7px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(5px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    grid-template-rows:
      minmax(160px, 30.5dvh)
      minmax(0, 1fr)
      clamp(56px, 9.2dvh, 76px)
      clamp(34px, 5.6dvh, 46px)
      clamp(10px, 1.8dvh, 15px);
    gap: 5px;
  }

  .home-hero {
    border-radius: 14px;
  }

  .home-hero::after {
    width: 76%;
    height: 62%;
    opacity: 0.58;
  }

  .home-logo-slot {
    top: 6px;
    right: 7px;
    min-width: 72px;
    min-height: 28px;
    font-size: 6px;
    opacity: 0.9;
  }

  .home-logo-slot::before {
    width: 34px;
    height: 8px;
    border-top-width: 3px;
  }

  .home-copy {
    max-width: 86%;
    padding: 18px 8px 0;
  }

  .home-copy h1 {
    margin-bottom: 7px;
    font-size: clamp(24px, 7.6vw, 34px);
    line-height: 1.06;
    white-space: nowrap;
  }

  .home-subtitle {
    font-size: clamp(12px, 3.7vw, 16px);
    line-height: 1.16;
  }

  .home-desc {
    margin-top: 4px;
    max-width: 72%;
    font-size: clamp(9px, 2.7vw, 12px);
    line-height: 1.18;
  }

  .home-feature-row {
    left: 6px;
    right: 6px;
    bottom: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px 7px;
  }

  .home-feature {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px;
  }

  .home-icon-slot {
    width: 25px;
  }

  .home-icon-slot::before,
  .home-mini-icon::before,
  .home-line-icon::before,
  .home-contact-icon::before,
  .home-phone-icon::before {
    font-size: 13px;
  }

  .home-feature strong {
    font-size: clamp(6.4px, 1.85vw, 8px);
    line-height: 1.08;
  }

  .home-feature span {
    font-size: clamp(5.8px, 1.65vw, 7px);
    line-height: 1.05;
  }

  .home-main {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: 5px;
  }

  .home-selection-card {
    padding: 8px;
    border-radius: 13px;
  }

  .home-card-copy h2,
  .home-house-panel h2 {
    font-size: clamp(15px, 4.4vw, 19px);
  }

  .home-card-copy p {
    margin-top: 2px;
    font-size: clamp(9px, 2.7vw, 12px);
  }

  .home-service-row {
    width: min(55%, 220px);
    margin-top: 14px;
    gap: 5px;
  }

  .home-service-row div {
    gap: 3px;
  }

  .home-mini-icon {
    width: 25px;
  }

  .home-service-row strong {
    font-size: clamp(6.4px, 1.8vw, 7.6px);
    line-height: 1.05;
  }

  .home-service-row em {
    display: none;
  }

  .home-interior-slot {
    inset: 0 0 0 34%;
  }

  .home-enter-button {
    width: 136px;
    min-height: 32px;
    gap: 12px;
    border-radius: 7px;
    font-size: 10px;
  }

  .home-house-panel {
    padding: 8px;
    border-radius: 13px;
    gap: 6px;
  }

  .home-house-cards {
    gap: 5px;
  }

  .home-house-card {
    padding: 4px;
    border-radius: 7px;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .home-house-info {
    padding: 5px 1px 0;
  }

  .home-house-info strong {
    font-size: clamp(17px, 5vw, 22px);
  }

  .home-house-info span {
    margin-top: 3px;
    font-size: clamp(6.4px, 1.85vw, 8px);
  }

  .home-house-info em {
    display: none;
  }

  .home-value-strip {
    padding: 5px 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 4px 6px;
    border-radius: 13px;
  }

  .home-value-strip div {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px;
  }

  .home-line-icon {
    width: 25px;
    border-radius: 6px;
  }

  .home-value-strip strong {
    font-size: clamp(7px, 2vw, 8.5px);
    line-height: 1.05;
  }

  .home-value-strip em {
    font-size: clamp(6px, 1.65vw, 7px);
    line-height: 1.05;
  }

  .home-contact-strip {
    padding: 0 10px;
    border-radius: 13px;
    gap: 6px;
    font-size: clamp(9px, 2.65vw, 12px);
  }

  .home-contact-strip p {
    gap: 5px;
    white-space: nowrap;
  }

  .home-contact-strip p:first-child {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-contact-icon,
  .home-phone-icon {
    width: 19px;
  }

  .home-footnote {
    font-size: 6px;
  }

  .app {
    position: relative;
    width: var(--mobile-shell-w);
    height: 100dvh;
    margin: 0 auto;
    padding:
      var(--mobile-pad-y)
      max(7px, env(safe-area-inset-right))
      var(--mobile-pad-bottom)
      var(--mobile-pad-x);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows:
      var(--mobile-top-h)
      var(--mobile-media-block-h)
      var(--mobile-media-block-h)
      var(--mobile-option-h);
    align-content: start;
    gap: var(--mobile-gap);
  }

  .topbar {
    position: relative;
    z-index: 8;
    grid-row: 1;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: center;
    align-content: center;
    gap: 1px;
    pointer-events: auto;
  }

  .brand-title {
    position: static;
    transform: none;
    width: 100%;
    order: 1;
  }

  .brand-title h1 {
    font-size: clamp(12px, 3.55vw, 15px);
    letter-spacing: 0.02em;
    text-shadow:
      0 0 9px rgba(64, 197, 255, 0.82),
      0 1px 10px rgba(0, 10, 28, 0.92);
  }

  .house-control {
    width: 100%;
    order: 2;
    justify-content: center;
    gap: 4px;
    pointer-events: auto;
  }

  .house-label {
    font-size: clamp(7px, 2vw, 9px);
  }

  .house-tabs {
    gap: 3px;
  }

  .house-tab {
    min-width: clamp(46px, 13vw, 58px);
    min-height: clamp(15px, 2.05dvh, 18px);
    padding: 0 5px;
    border-radius: 6px;
    font-size: clamp(7px, 2vw, 8.5px);
  }

  .main-grid {
    display: contents;
  }

  .bird-panel,
  .effect-panel,
  .bottom-panel {
    border-radius: 12px;
  }

  .bird-panel {
    grid-row: 2;
    height: auto;
    min-height: 0;
    padding:
      1px
      4px
      2px;
    display: grid;
    grid-template-rows: var(--mobile-tab-h) var(--mobile-stage-h);
    align-items: start;
    justify-items: center;
    row-gap: 0;
  }

  .effect-panel {
    grid-row: 3;
    height: auto;
    min-height: 0;
    padding:
      1px
      4px
      2px;
    display: grid;
    grid-template-rows: var(--mobile-tab-h) var(--mobile-stage-h);
    align-items: start;
    justify-items: center;
    row-gap: 0;
  }

  .bottom-panel {
    grid-row: 4;
    grid-template-columns: minmax(0, 1fr) clamp(42px, 11vw, 52px);
    grid-template-rows: minmax(0, 1fr);
    gap: 3px;
    padding: 3px;
  }

  .content-switcher {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
  }

  .cards-scroll {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: clamp(25px, 3.2dvh, 31px) minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 1px;
    overflow: hidden;
  }

  .point-card {
    padding: 1px;
    border-radius: 5px;
    grid-row: 1;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
  }

  .point-card-header {
    display: grid;
    align-content: center;
    gap: 0;
    min-height: 0;
  }

  .point-card h3 {
    display: block;
    min-height: 0;
    font-size: clamp(6.6px, 1.78vw, 8px);
    line-height: 1.03;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .point-card .current-style {
    display: block;
    color: var(--gold);
    font-size: clamp(5.9px, 1.52vw, 7px);
    font-weight: 800;
    line-height: 1.03;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .point-card .style-pills {
    display: none;
  }

  .mobile-active-styles {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    padding: 2px;
    display: grid;
    grid-template-columns: minmax(48px, 0.46fr) max-content;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(67, 172, 255, 0.42);
    border-radius: 7px;
    background: rgba(2, 14, 32, 0.74);
    overflow: hidden;
  }

  .mobile-active-title {
    min-width: 0;
    align-self: center;
    display: grid;
    align-content: center;
    gap: 0;
    text-align: left;
  }

  .mobile-active-title span,
  .mobile-active-title strong {
    font-size: clamp(7.6px, 1.95vw, 9px);
    line-height: 1.08;
  }

  .mobile-active-title strong {
    color: var(--gold);
  }

  .mobile-style-list {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    justify-self: start;
    align-self: center;
    height: max-content;
    display: grid;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, clamp(55px, 15.8vw, 68px)));
    justify-content: start;
    align-items: center;
    gap: 2px;
  }

  .style-pills {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-content: stretch;
    gap: 1px;
    overflow: hidden;
  }

  .style-pill {
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    padding: 2px;
    display: grid;
    grid-template-columns: clamp(14px, 3.7vw, 18px) minmax(0, 1fr);
    gap: 2px;
    border-radius: 6px;
  }

  .mobile-active-styles .style-pill {
    align-self: center;
    width: clamp(55px, 15.8vw, 68px);
    height: clamp(25px, 3.35dvh, 31px);
    flex: none;
  }

  .style-thumb {
    border-radius: 3px;
  }

  .style-pill strong {
    font-size: clamp(6.8px, 1.78vw, 8.2px);
    line-height: 1.05;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .checkout-panel {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    display: block;
  }

  .confirm-button {
    min-height: 0;
    height: 100%;
    min-width: 0;
    padding: 0 4px;
    clip-path: none;
    border-radius: 8px;
    font-size: clamp(9px, 2.4vw, 11px);
    letter-spacing: 0;
  }

  .bird-tabs,
  .view-tabs {
    position: relative;
    left: auto;
    right: auto;
    width: auto;
    transform: none;
    gap: 6px;
  }

  .bird-tabs {
    grid-row: 1;
    top: auto;
  }

  .view-tabs {
    grid-row: 1;
    top: auto;
    justify-content: center;
    gap: clamp(8px, 3.2vw, 14px);
  }

  .bird-tab,
  .view-tab {
    min-height: var(--mobile-tab-h);
    padding: 0 clamp(7px, 2.2vw, 10px);
    font-size: clamp(7.6px, 2vw, 9px);
  }

  .view-tab {
    min-height: var(--mobile-tab-h);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(8px, 2.25vw, 9.6px);
  }

  .view-tab::after {
    bottom: -2px;
    width: clamp(22px, 7.2vw, 32px);
    height: 2px;
  }

  .media-stage {
    width: min(100%, var(--mobile-stage-w));
    height: var(--mobile-stage-h);
    max-height: none;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }

  .bird-panel .media-stage {
    grid-row: 2;
    width: min(100%, var(--mobile-stage-w));
    max-height: none;
  }

  .effect-panel .media-stage {
    grid-row: 2;
    width: min(100%, var(--mobile-stage-w));
    max-height: none;
  }

  .effect-caption {
    display: none;
  }

  .content-switcher {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
  }

  .cards-scroll {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: clamp(22px, 2.9dvh, 28px) minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 1px;
  }

  .point-card {
    padding: 1px 0;
    border-radius: 4px;
    grid-row: 1;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
  }

  .point-card-header {
    display: grid;
    align-content: center;
    gap: 0;
    min-height: 0;
  }

  .point-card h3 {
    display: block;
    min-height: 0;
    font-size: clamp(5.9px, 1.58vw, 7.1px);
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .point-card .current-style {
    display: block;
    color: var(--gold);
    font-size: clamp(5.1px, 1.33vw, 6.1px);
    font-weight: 800;
    line-height: 1;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .point-card .style-pills {
    display: none;
  }

  .mobile-active-styles {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    padding: 1px 2px;
    display: grid;
    grid-template-columns: minmax(42px, 0.42fr) max-content;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(67, 172, 255, 0.42);
    border-radius: 7px;
    background: rgba(2, 14, 32, 0.74);
    overflow: hidden;
  }

  .mobile-active-title {
    min-width: 0;
    align-self: center;
    display: grid;
    align-content: center;
    gap: 0;
    color: #f7fcff;
    text-align: left;
  }

  .mobile-active-title span {
    font-size: clamp(7px, 1.82vw, 8.6px);
    font-weight: 900;
    line-height: 1.05;
  }

  .mobile-active-title strong {
    color: var(--gold);
    font-size: clamp(7px, 1.82vw, 8.6px);
    line-height: 1.05;
  }

  .mobile-style-list {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    justify-self: start;
    align-self: center;
    height: max-content;
    display: grid;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, clamp(50px, 14.2vw, 62px)));
    justify-content: start;
    align-items: center;
    gap: 1px;
  }

  .style-pills {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-content: stretch;
    gap: 1px;
    overflow: hidden;
  }

  .style-pill {
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    padding: 2px;
    grid-template-columns: clamp(14px, 3.7vw, 18px) minmax(0, 1fr);
    gap: 2px;
    border-radius: 6px;
  }

  .mobile-active-styles .style-pill {
    align-self: center;
    width: clamp(50px, 14.2vw, 62px);
    height: clamp(23px, 3dvh, 28px);
    flex: none;
  }

  .style-thumb {
    border-radius: 3px;
  }

  .style-pill strong {
    font-size: clamp(6.3px, 1.65vw, 7.7px);
    line-height: 1.04;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .checkout-panel {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    display: block;
  }

  .confirm-button {
    min-height: 0;
    height: 100%;
    min-width: 0;
    padding: 0 4px;
    clip-path: none;
    border-radius: 8px;
    font-size: clamp(9px, 2.4vw, 11px);
    letter-spacing: 0;
  }

  .selection-meta,
  .summary,
  .disclaimer {
    display: none;
  }

  .submit-dialog {
    width: min(94vw, 420px);
    max-height: 92dvh;
  }
}

/* 鏈€缁堢増鍙淮鎶ょ珫灞?UI锛氭í灞忓拰鐢佃剳瀹藉睆涔熷眳涓樉绀哄悓涓€濂楁墜鏈虹珫灞忕晫闈€?*/
@media (orientation: portrait) and (max-width: 760px) {
  :root {
    --mobile-pad-x: max(5px, env(safe-area-inset-left));
    --mobile-pad-y: max(3px, env(safe-area-inset-top));
    --mobile-pad-bottom: max(6px, env(safe-area-inset-bottom));
    --mobile-shell-w: min(100vw, 430px);
    --mobile-top-h: clamp(28px, 3.75dvh, 34px);
    --mobile-gap: clamp(2px, 0.34dvh, 3px);
    --mobile-panel-w: calc(var(--mobile-shell-w) - 12px);
    --mobile-tab-h: clamp(15px, 1.85dvh, 17px);
    --mobile-option-h: clamp(94px, 12.2dvh, 112px);
    --mobile-stage-h: max(0px, min(calc((var(--mobile-panel-w) - 10px) * 9 / 16), calc((100dvh - var(--mobile-pad-y) - var(--mobile-pad-bottom) - var(--mobile-top-h) - var(--mobile-option-h) - (var(--mobile-gap) * 3) - (var(--mobile-tab-h) * 2) - 18px) / 2)));
    --mobile-media-block-h: calc(var(--mobile-tab-h) + var(--mobile-stage-h) + 7px);
    --mobile-stage-w: calc(var(--mobile-stage-h) * 16 / 9);
  }

  .app-shell {
    display: grid;
    place-items: center;
    overflow: hidden;
  }

  .home-screen {
    width: var(--mobile-shell-w);
    height: 100dvh;
    padding:
      max(7px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(5px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    grid-template-rows:
      minmax(156px, 29.4dvh)
      minmax(0, 1fr)
      clamp(52px, 8.6dvh, 68px)
      clamp(34px, 5.5dvh, 44px)
      clamp(9px, 1.7dvh, 14px);
    gap: 5px;
  }

  .app {
    position: relative;
    width: var(--mobile-shell-w);
    height: 100dvh;
    margin: 0 auto;
    padding:
      var(--mobile-pad-y)
      max(7px, env(safe-area-inset-right))
      var(--mobile-pad-bottom)
      var(--mobile-pad-x);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows:
      var(--mobile-top-h)
      var(--mobile-media-block-h)
      var(--mobile-media-block-h)
      var(--mobile-option-h);
    align-content: start;
    gap: var(--mobile-gap);
  }

  .home-copy {
    max-width: 88%;
    padding: 16px 8px 0;
  }

  .home-copy h1 {
    margin-bottom: 6px;
    font-size: clamp(20px, 6.15vw, 26px);
    line-height: 1.08;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .home-subtitle {
    font-size: clamp(12px, 3.45vw, 14px);
    line-height: 1.2;
  }

  .home-desc {
    margin-top: 4px;
    max-width: 82%;
    font-size: clamp(10px, 2.85vw, 12px);
    line-height: 1.2;
  }

  .home-logo-slot {
    top: 6px;
    right: 7px;
    min-width: 70px;
    min-height: 28px;
    font-size: 6px;
  }

  .home-feature-row {
    left: 6px;
    right: 6px;
    bottom: 7px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    justify-items: center;
  }

  .home-feature {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }

  .home-icon-slot {
    width: 24px;
    display: inline-grid !important;
  }

  .home-feature strong {
    display: none;
  }

  .home-feature p span {
    display: none;
  }

  .home-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: 5px;
  }

  .home-selection-card,
  .home-house-panel,
  .home-value-strip,
  .home-contact-strip {
    border-radius: 13px;
  }

  .home-selection-card {
    padding: 8px;
  }

  .home-card-copy h2,
  .home-house-panel h2 {
    font-size: clamp(16px, 4.25vw, 18px);
    line-height: 1.06;
  }

  .home-card-copy p {
    margin-top: 2px;
    font-size: clamp(10px, 2.85vw, 12px);
    line-height: 1.12;
  }

  .home-service-row {
    width: min(55%, 218px);
    margin-top: 14px;
    gap: 5px;
  }

  .home-mini-icon {
    width: 24px;
  }

  .home-service-row strong {
    font-size: clamp(7px, 1.95vw, 8px);
    line-height: 1.08;
  }

  .home-service-row em {
    display: none;
  }

  .home-enter-button {
    width: 136px;
    min-height: 32px;
    gap: 12px;
    font-size: 10.5px;
  }

  .home-house-panel {
    padding: 8px;
    gap: 6px;
  }

  .home-house-cards {
    gap: 5px;
  }

  .home-house-card {
    padding: 4px;
    grid-template-rows: minmax(0, 1fr) clamp(54px, 7.8dvh, 66px);
  }

  .home-house-info {
    padding: 5px 1px 0;
  }

  .home-house-info strong {
    font-size: clamp(18px, 5.25vw, 23px);
    line-height: 1;
  }

  .home-house-info span {
    margin-top: 4px;
    font-size: clamp(7px, 1.95vw, 8.5px);
    line-height: 1.08;
  }

  .home-house-info em {
    display: none;
  }

  .home-value-strip {
    padding: 5px 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 4px 6px;
  }

  .home-value-strip div {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 4px;
  }

  .home-line-icon {
    width: 24px;
    border-radius: 6px;
  }

  .home-value-strip strong {
    font-size: clamp(7.5px, 2.1vw, 9px);
    line-height: 1.08;
  }

  .home-value-strip em {
    display: none;
  }

  .home-contact-strip {
    padding: 0 10px;
    gap: 6px;
    font-size: clamp(9.5px, 2.65vw, 11.5px);
  }

  .home-footnote {
    font-size: 6px;
  }

  .main-grid {
    display: contents;
  }

  .topbar {
    position: relative;
    z-index: 8;
    grid-row: 1;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: center;
    align-content: center;
    gap: 1px;
  }

  .brand-title {
    position: static;
    transform: none;
    width: 100%;
    order: 1;
  }

  .brand-title h1 {
    font-size: clamp(12px, 3.55vw, 15px);
  }

  .house-control {
    width: 100%;
    order: 2;
    justify-content: center;
    gap: 4px;
  }

  .house-label {
    font-size: clamp(7px, 2vw, 9px);
  }

  .house-tab {
    min-width: clamp(46px, 13vw, 58px);
    min-height: clamp(15px, 2.05dvh, 18px);
    padding: 0 5px;
    border-radius: 6px;
    font-size: clamp(7px, 2vw, 8.5px);
  }

  .bird-panel,
  .effect-panel,
  .bottom-panel {
    border-radius: 12px;
  }

  .bird-panel,
  .effect-panel {
    height: auto;
    min-height: 0;
    padding: 1px 4px 2px;
    display: grid;
    grid-template-rows: var(--mobile-tab-h) var(--mobile-stage-h);
    align-items: start;
    justify-items: center;
    row-gap: 0;
  }

  .bird-panel {
    grid-row: 2;
  }

  .effect-panel {
    grid-row: 3;
  }

  .bottom-panel {
    grid-row: 4;
    grid-template-columns: minmax(0, 1fr) clamp(42px, 11vw, 52px);
    grid-template-rows: minmax(0, 1fr);
    gap: 3px;
    padding: 3px;
  }

  .content-switcher {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
  }

  .cards-scroll {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: clamp(25px, 3.2dvh, 31px) minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 1px;
    overflow: hidden;
  }

  .point-card {
    padding: 1px;
    border-radius: 5px;
    grid-row: 1;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
  }

  .point-card-header {
    display: grid;
    align-content: center;
    gap: 0;
    min-height: 0;
  }

  .point-card h3 {
    display: block;
    min-height: 0;
    font-size: clamp(6.6px, 1.78vw, 8px);
    line-height: 1.03;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .point-card .current-style {
    display: block;
    color: var(--gold);
    font-size: clamp(5.9px, 1.52vw, 7px);
    font-weight: 800;
    line-height: 1.03;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .point-card .style-pills {
    display: none;
  }

  .mobile-active-styles {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    padding: 2px;
    display: grid;
    grid-template-columns: minmax(48px, 0.46fr) max-content;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(67, 172, 255, 0.42);
    border-radius: 7px;
    background: rgba(2, 14, 32, 0.74);
    overflow: hidden;
  }

  .mobile-active-title {
    min-width: 0;
    align-self: center;
    display: grid;
    align-content: center;
    gap: 0;
    text-align: left;
  }

  .mobile-active-title span,
  .mobile-active-title strong {
    font-size: clamp(7.6px, 1.95vw, 9px);
    line-height: 1.08;
  }

  .mobile-active-title strong {
    color: var(--gold);
  }

  .mobile-style-list {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    justify-self: start;
    align-self: center;
    height: max-content;
    display: grid;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, clamp(55px, 15.8vw, 68px)));
    justify-content: start;
    align-items: center;
    gap: 2px;
  }

  .style-pills {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-content: stretch;
    gap: 1px;
    overflow: hidden;
  }

  .style-pill {
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    padding: 2px;
    display: grid;
    grid-template-columns: clamp(14px, 3.7vw, 18px) minmax(0, 1fr);
    gap: 2px;
    border-radius: 6px;
  }

  .mobile-active-styles .style-pill {
    align-self: center;
    width: clamp(55px, 15.8vw, 68px);
    height: clamp(25px, 3.35dvh, 31px);
    flex: none;
  }

  .style-thumb {
    border-radius: 3px;
  }

  .style-pill strong {
    font-size: clamp(6.8px, 1.78vw, 8.2px);
    line-height: 1.05;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .checkout-panel {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    display: block;
  }

  .confirm-button {
    min-height: 0;
    height: 100%;
    min-width: 0;
    padding: 0 4px;
    clip-path: none;
    border-radius: 8px;
    font-size: clamp(9px, 2.4vw, 11px);
    letter-spacing: 0;
  }

  .selection-meta,
  .summary,
  .disclaimer {
    display: none;
  }

  .bird-tabs,
  .view-tabs {
    position: relative;
    left: auto;
    right: auto;
    width: auto;
    transform: none;
    gap: 6px;
  }

  .bird-tab,
  .view-tab {
    min-height: var(--mobile-tab-h);
    padding: 0 clamp(7px, 2.2vw, 10px);
    font-size: clamp(7.6px, 2vw, 9px);
  }

  .media-stage,
  .bird-panel .media-stage,
  .effect-panel .media-stage {
    width: min(100%, var(--mobile-stage-w));
    height: var(--mobile-stage-h);
    max-height: none;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }

  .effect-caption {
    display: none;
  }
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes phone-rotate {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(90deg);
  }
}

@keyframes panel-shimmer {
  to {
    background-position: -220% 0;
  }
}

/* Warm ivory selection theme inspired by the latest UI reference. */
:root {
  --bg: #f8f5ef;
  --panel: #ffffff;
  --panel-soft: #fbf8f2;
  --line: #e8e0d6;
  --line-soft: rgba(117, 90, 58, 0.12);
  --cyan: #c59a5c;
  --cyan-deep: #b78445;
  --gold: #c8a06a;
  --text: #34281f;
  --muted: #8d8378;
  --danger: #bd5757;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --glow: 0 16px 34px rgba(102, 78, 46, 0.1);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 188, 150, 0.18), transparent 38%),
    linear-gradient(180deg, #fffdf9 0%, #f7f3ec 100%);
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 50% 0%, rgba(209, 176, 130, 0.16), transparent 34%);
}

.app-shell {
  background: transparent;
}

.app-shell::before,
.app-shell::after {
  display: none;
}

.app {
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  padding: clamp(12px, 1.3vw, 22px);
  grid-template-rows:
    clamp(78px, 11%, 104px)
    minmax(0, 1fr)
    clamp(218px, 31%, 286px)
    0;
  gap: clamp(12px, 1.2vw, 18px);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(8px, 0.8vw, 12px);
}

.brand-title {
  position: static;
  order: 1;
  transform: none;
  width: 100%;
}

.brand-title::after {
  display: block;
  width: clamp(48px, 5vw, 76px);
  height: 12px;
  margin: 4px auto 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 36%, rgba(199, 162, 109, 0.48) 36% 64%, transparent 64%),
    radial-gradient(circle at 50% 50%, rgba(199, 162, 109, 0.86) 0 2px, transparent 3px);
}

.brand-title h1 {
  color: #3c3026;
  font-family: "STSong", "SimSun", "Songti SC", "Microsoft YaHei", serif;
  font-size: clamp(24px, 3.1vw, 44px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.88);
}

.house-control {
  order: 2;
  width: min(94%, 920px);
  justify-content: center;
}

.house-label {
  display: none;
}

.house-tabs {
  width: 100%;
  min-height: clamp(42px, 4.8vw, 62px);
  padding: 2px;
  gap: 0;
  border: 1px solid rgba(122, 104, 86, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(73, 58, 41, 0.08);
  overflow: hidden;
}

.house-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 100%;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(122, 104, 86, 0.12);
  border-radius: 0;
  color: #3b3129;
  background: transparent;
  box-shadow: none;
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.house-tab:last-child {
  border-right: 0;
}

.house-tab.is-active {
  color: #5a3d20;
  border-color: transparent;
  border-radius: 14px;
  background: linear-gradient(135deg, #ead8bd, #d3ad77);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 18px rgba(173, 129, 72, 0.2);
}

.main-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 1.4vw, 22px);
}

.tech-panel {
  border: 1px solid rgba(125, 104, 82, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 18px 46px rgba(61, 45, 30, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.tech-panel::after {
  display: none;
}

.bird-panel,
.effect-panel {
  padding: clamp(62px, 6.3vw, 82px) clamp(14px, 1.5vw, 22px) clamp(14px, 1.4vw, 20px);
}

.bird-panel::before,
.effect-panel::before,
.bottom-panel::before {
  display: none;
}

.section-heading {
  position: absolute;
  left: clamp(20px, 2vw, 32px);
  top: clamp(18px, 1.7vw, 28px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.9vw, 14px);
  color: #25211e;
  line-height: 1;
  pointer-events: none;
}

.section-heading span {
  width: clamp(30px, 2.8vw, 42px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #d1a66c, #b88a50);
  box-shadow: 0 8px 16px rgba(161, 116, 61, 0.16);
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 800;
}

.section-heading strong {
  color: #26211c;
  font-size: clamp(18px, 1.65vw, 26px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.section-heading em {
  color: #9a8c7b;
  font-size: clamp(11px, 0.96vw, 14px);
  font-style: normal;
  font-weight: 600;
}

.bottom-heading {
  right: clamp(20px, 2vw, 32px);
}

.bird-tabs,
.view-tabs {
  top: clamp(16px, 1.6vw, 24px);
  left: auto;
  right: clamp(20px, 2vw, 32px);
  width: auto;
  min-width: clamp(190px, 16vw, 260px);
  padding: 3px;
  justify-content: stretch;
  gap: 0;
  transform: none;
  border: 1px solid rgba(139, 119, 96, 0.14);
  border-radius: 10px;
  background: #fbfaf8;
  box-shadow: inset 0 1px 5px rgba(84, 62, 37, 0.06);
}

.view-tabs {
  left: auto;
  right: clamp(20px, 2vw, 32px);
  transform: none;
}

.bird-tab,
.view-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: clamp(28px, 2.9vw, 38px);
  padding: 0 clamp(12px, 1.2vw, 18px);
  border: 0;
  border-radius: 8px;
  color: #4f453b;
  background: transparent;
  box-shadow: none;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: none;
}

.bird-tab.is-active,
.view-tab.is-active {
  color: #4f351d;
  background: linear-gradient(135deg, #f0e1ca, #d1a56a);
  box-shadow: 0 5px 12px rgba(161, 116, 61, 0.14);
  text-shadow: none;
}

.view-tab::after {
  display: none;
}

.media-stage {
  border: 0;
  border-radius: 14px;
  background: #f5f1eb;
  box-shadow: none;
}

.media-stage::before,
.media-stage::after {
  display: none;
}

.scene-image,
.preview-image,
.image-overlay-stack img {
  filter: none;
}

.effect-caption {
  display: none;
}

.bottom-panel {
  padding: clamp(60px, 5.8vw, 78px) clamp(16px, 1.6vw, 24px) clamp(14px, 1.4vw, 20px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) clamp(42px, 4.1vw, 58px);
  gap: clamp(12px, 1vw, 16px);
}

.content-switcher {
  min-height: 0;
}

.cards-scroll {
  height: 100%;
  counter-reset: option-point;
  display: grid;
  grid-template-columns: repeat(var(--point-count), minmax(0, 1fr));
  grid-template-rows: clamp(34px, 3.2vw, 44px) minmax(0, 1fr);
  gap: clamp(8px, 0.8vw, 12px);
  overflow: hidden;
}

.point-card {
  grid-row: 1;
  counter-increment: option-point;
  min-height: 0;
  padding: 0 clamp(8px, 0.8vw, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(121, 101, 81, 0.12);
  border-radius: 10px;
  color: #50463e;
  background: #faf9f6;
  box-shadow: none;
}

.point-card.is-active {
  border-color: rgba(199, 159, 101, 0.36);
  color: #6c4a28;
  background: linear-gradient(135deg, #f4e8d7, #ead8bd);
  box-shadow: 0 8px 16px rgba(165, 121, 65, 0.1);
}

.point-card-header {
  width: 100%;
}

.point-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.45vw, 7px);
  color: inherit;
  font-size: clamp(10px, 0.9vw, 14px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.point-card h3::before {
  width: clamp(17px, 1.55vw, 22px);
  aspect-ratio: 1 / 1;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #c39a61;
  content: counter(option-point);
  font-size: clamp(9px, 0.8vw, 12px);
  font-weight: 800;
}

.point-card .style-pills,
.point-card .current-style {
  display: none;
}

.desktop-active-styles {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(8px, 0.8vw, 12px);
  border: 0;
  background: transparent;
  overflow: hidden;
}

.active-style-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #40352b;
}

.active-style-section-head strong {
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 800;
}

.active-style-section-head span {
  color: var(--muted);
  font-size: clamp(10px, 0.86vw, 13px);
  font-weight: 600;
}

.desktop-active-styles .mobile-active-title {
  display: none;
}

.mobile-style-list {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
}

.style-pill {
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) clamp(26px, 2.7vw, 38px);
  gap: clamp(7px, 0.65vw, 10px);
  border: 0;
  border-radius: 15px;
  background: transparent;
  box-shadow: none;
}

.style-pill.is-active {
  background: transparent;
  box-shadow: none;
}

.style-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 1px solid rgba(196, 150, 86, 0.22);
  border-radius: 14px;
  background: #f4f0ea;
  box-shadow: 0 10px 20px rgba(75, 55, 34, 0.08);
}

.style-pill.is-active .style-thumb {
  border-color: rgba(196, 150, 86, 0.88);
  box-shadow:
    0 0 0 2px rgba(196, 150, 86, 0.16),
    0 14px 22px rgba(129, 91, 49, 0.12);
}

.style-pill.is-active .style-thumb::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(30px, 3vw, 44px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 16px 0 13px 0;
  color: #fff;
  background: linear-gradient(135deg, #d1a66c, #bb8e55);
  content: "鉁?;
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 800;
}

.style-pill strong {
  color: #4d4339;
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.checkout-panel {
  grid-row: 2;
  padding: 0;
  display: block;
}

.confirm-button {
  min-height: 100%;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e2c59a, #c99a5b 58%, #b98648);
  clip-path: none;
  box-shadow: 0 12px 24px rgba(159, 111, 54, 0.18);
  font-size: clamp(17px, 1.55vw, 24px);
  letter-spacing: 0.08em;
}

.disclaimer {
  display: none;
}

.loading-screen {
  background:
    radial-gradient(circle at 50% 40%, rgba(211, 170, 110, 0.2), transparent 40%),
    rgba(255, 252, 246, 0.96);
}

.loading-panel,
.orientation-card,
.submit-dialog {
  border-color: rgba(145, 115, 78, 0.16);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(82, 58, 31, 0.14);
}

.loading-title,
.submit-head h2,
.submit-form label,
.submit-selection-row strong {
  color: #3d3128;
}

.loading-subtitle,
.submit-head p,
.submit-message,
.submit-selection-row {
  color: var(--muted);
}

.loading-bar,
.submit-primary {
  background: linear-gradient(90deg, #dec199, #c99a5b);
}

.submit-secondary,
.submit-primary {
  border-color: rgba(145, 115, 78, 0.18);
  border-radius: 999px;
}

.submit-form input,
.submit-form textarea,
.submit-summary {
  color: #382f28;
  border-color: rgba(145, 115, 78, 0.18);
  background: #fbf8f3;
}

@media (orientation: portrait) and (max-width: 760px) {
  .app {
    width: min(100vw, 430px);
    height: 100dvh;
    padding:
      max(8px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    grid-template-rows:
      clamp(82px, 10.6dvh, 98px)
      minmax(0, 27.5dvh)
      minmax(0, 27.5dvh)
      minmax(0, 1fr);
    gap: 8px;
  }

  .brand-title h1 {
    font-size: clamp(22px, 6.1vw, 28px);
    letter-spacing: 0.08em;
  }

  .house-control {
    width: 100%;
  }

  .house-tabs {
    min-height: 40px;
    border-radius: 13px;
  }

  .house-tab {
    font-size: clamp(17px, 4.7vw, 22px);
  }

  .main-grid {
    display: contents;
  }

  .bird-panel,
  .effect-panel {
    padding: 42px 8px 8px;
    border-radius: 14px;
  }

  .bird-panel {
    grid-row: 2;
  }

  .effect-panel {
    grid-row: 3;
  }

  .bird-panel::before,
  .effect-panel::before,
  .bottom-panel::before {
    left: 14px;
    top: 14px;
    font-size: 16px;
    gap: 8px;
  }

  .bird-tabs,
  .view-tabs {
    top: 10px;
    right: 10px;
    min-width: 132px;
    padding: 2px;
    border-radius: 8px;
  }

  .bird-tab,
  .view-tab {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 7px;
  }

  .media-stage,
  .bird-panel .media-stage,
  .effect-panel .media-stage {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 11px;
  }

  .bottom-panel {
    grid-row: 4;
    padding: 44px 8px 8px;
    grid-template-rows: minmax(0, 1fr) 38px;
    border-radius: 14px;
    gap: 7px;
  }

  .cards-scroll {
    grid-template-rows: 30px minmax(0, 1fr);
    gap: 6px;
  }

  .point-card {
    padding: 0 4px;
    border-radius: 8px;
  }

  .point-card h3 {
    gap: 3px;
    font-size: clamp(7.4px, 1.95vw, 9px);
  }

  .point-card h3::before {
    width: 14px;
    font-size: 8px;
  }

  .desktop-active-styles {
    gap: 5px;
  }

  .active-style-section-head strong {
    font-size: 11px;
  }

  .active-style-section-head span {
    font-size: 9px;
  }

  .mobile-style-list {
    gap: 7px;
  }

  .style-pill {
    grid-template-rows: minmax(0, 1fr) 20px;
    gap: 4px;
  }

  .style-thumb {
    border-radius: 9px;
  }

  .style-pill strong {
    font-size: clamp(9px, 2.35vw, 11px);
  }

  .confirm-button {
    font-size: 15px;
  }
}

/* Portrait phones follow the reference-style long card page, so imagery and text stay legible in WeChat. */
@media (orientation: portrait) and (max-width: 760px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body::before {
    position: fixed;
  }

  .app-shell {
    min-height: 100dvh;
    height: auto;
    display: block;
    overflow: visible;
  }

  .app {
    width: 100%;
    max-width: 430px;
    height: auto;
    min-height: 100dvh;
    margin: 0 auto;
    padding:
      max(10px, env(safe-area-inset-top))
      clamp(14px, 4vw, 18px)
      max(16px, env(safe-area-inset-bottom));
    grid-template-rows: auto auto auto auto;
    gap: 14px;
    overflow: visible;
  }

  .topbar {
    gap: 10px;
  }

  .brand-title h1 {
    font-size: clamp(24px, 7.2vw, 31px);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .brand-title::after {
    height: 9px;
    margin-top: 2px;
  }

  .house-control {
    width: 100%;
    min-width: 0;
  }

  .house-tabs {
    width: 100%;
    min-height: 46px;
    border-radius: 13px;
  }

  .house-tab {
    min-width: 0;
    font-size: clamp(17px, 5.5vw, 23px);
    line-height: 1;
    white-space: nowrap;
  }

  .bird-panel,
  .effect-panel,
  .bottom-panel {
    width: 100%;
    min-height: 0;
    height: auto;
    overflow: visible;
    border-radius: 14px;
  }

  .bird-panel,
  .effect-panel {
    padding: 56px 8px 8px;
    display: block;
  }

  .bird-panel {
    grid-row: 2;
  }

  .effect-panel {
    grid-row: 3;
  }

  .section-heading {
    left: 18px;
    top: 20px;
    gap: 9px;
  }

  .section-heading span {
    width: 28px;
    font-size: 14px;
  }

  .section-heading strong {
    font-size: 20px;
  }

  .section-heading em {
    display: none;
  }

  .bird-tabs,
  .view-tabs {
    top: 20px;
    right: 12px;
    min-width: 126px;
    max-width: 48%;
  }

  .bird-tab,
  .view-tab {
    min-height: 26px;
    padding: 0 7px;
    font-size: 11px;
  }

  .media-stage,
  .bird-panel .media-stage,
  .effect-panel .media-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }

  .scene-image,
  .preview-image,
  .image-overlay-stack img {
    object-fit: contain;
  }

  .bottom-panel {
    grid-row: 4;
    padding: 58px 8px 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .bottom-heading {
    right: 12px;
  }

  .content-switcher {
    min-height: 0;
  }

  .cards-scroll {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: 30px auto;
    gap: 8px 5px;
    overflow: visible;
  }

  .point-card {
    min-width: 0;
    height: 30px;
    padding: 0 3px;
    border-radius: 8px;
  }

  .point-card h3 {
    gap: 2px;
    font-size: clamp(6.8px, 1.9vw, 8.5px);
    white-space: nowrap;
  }

  .point-card h3::before {
    width: 13px;
    font-size: 7.5px;
  }

  .desktop-active-styles {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .active-style-section-head {
    grid-column: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .active-style-section-head strong {
    font-size: 12px;
    white-space: nowrap;
  }

  .active-style-section-head span {
    min-width: 0;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .desktop-active-styles .mobile-active-title {
    display: none;
  }

  .mobile-style-list {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-active-styles .style-pill,
  .style-pill {
    width: auto;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 22px;
    gap: 5px;
    padding: 0;
  }

  .style-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1.42 / 1;
    border-radius: 9px;
  }

  .style-thumb img {
    object-fit: cover;
  }

  .style-pill strong {
    font-size: clamp(9px, 2.6vw, 11px);
    line-height: 20px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .checkout-panel {
    grid-row: 2;
    min-height: 42px;
    height: 42px;
  }

  .confirm-button {
    min-height: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 16px;
  }
}

/* Final mobile polish for the warm theme: prevent horizontal clipping and enlarge visual cards. */
@media (orientation: portrait) and (max-width: 760px) {
  .app-shell,
  .app {
    width: 100vw;
    max-width: 100vw;
  }

  .app {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-title {
    overflow: visible;
  }

  .brand-title h1 {
    max-width: calc(100vw - 20px);
    font-size: clamp(21px, 6.2vw, 26px);
    letter-spacing: 0.02em;
    text-align: center;
  }

  .house-tabs {
    min-width: 0;
  }

  .house-tab {
    font-size: clamp(16px, 5vw, 21px);
  }

  .bird-panel,
  .effect-panel,
  .bottom-panel {
    box-shadow: 0 10px 24px rgba(69, 49, 29, 0.07);
  }

  .bird-panel {
    padding-bottom: 10px;
  }

  .effect-panel {
    padding-bottom: 10px;
  }

  .bird-panel .media-stage {
    min-height: clamp(196px, 54vw, 236px);
  }

  .effect-panel .media-stage {
    min-height: clamp(186px, 52vw, 228px);
  }

  .effect-panel .preview-image,
  .effect-panel .image-overlay-stack img {
    object-fit: cover;
  }

  .bird-tabs,
  .view-tabs {
    right: 10px;
    min-width: 124px;
  }

  .bottom-panel {
    min-height: 274px;
  }

  .cards-scroll {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px 4px;
  }

  .point-card h3 {
    font-size: clamp(6.5px, 1.75vw, 8px);
  }

  .point-card h3::before {
    display: none;
  }

  .mobile-style-list {
    gap: 8px;
  }

  .style-thumb {
    aspect-ratio: 1.28 / 1;
  }

  .checkout-panel {
    margin-top: 6px;
  }
}

/* Warm homepage redesign. Text stays from the existing page; image areas are CSS placeholders for later slices. */
.app-shell.is-home {
  color: #33281d;
  background:
    radial-gradient(circle at 50% 7%, rgba(214, 184, 139, 0.16), transparent 35%),
    linear-gradient(180deg, #fbfaf7 0%, #f6f0e7 100%);
}

.app-shell.is-home body::before {
  background: #fbfaf7;
}

.app-shell.is-home .home-screen {
  width: min(100vw, calc(100dvh * 9 / 16));
  max-width: 760px;
  height: 100dvh;
  max-height: none;
  padding: clamp(18px, 2.5dvh, 30px) clamp(18px, 4vw, 36px);
  grid-template-rows:
    minmax(260px, 29dvh)
    auto
    minmax(250px, 26dvh)
    minmax(260px, 27dvh)
    minmax(150px, auto)
    auto;
  gap: clamp(14px, 1.8dvh, 22px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

.app-shell.is-home .home-screen::-webkit-scrollbar {
  width: 6px;
}

.app-shell.is-home .home-screen::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(178, 137, 85, 0.36);
}

.app-shell.is-home .home-hero {
  min-height: 260px;
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 48%, rgba(251, 250, 247, 0.18) 58%, #fbfaf7 100%),
    radial-gradient(ellipse at 34% 62%, rgba(218, 196, 158, 0.24), transparent 31%),
    linear-gradient(180deg, #fbfaf7 0%, #f2eadf 63%, #fbfaf7 100%);
  box-shadow: none;
  overflow: hidden;
}

.app-shell.is-home .home-hero::before {
  inset: 43% -8% 16%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(84, 93, 78, 0.36), transparent 54%),
    linear-gradient(180deg, rgba(170, 136, 91, 0.18), rgba(117, 101, 78, 0.22) 36%, rgba(255, 255, 255, 0.24) 37%, rgba(255, 255, 255, 0.72) 100%);
  mask-image: none;
  opacity: 1;
}

.app-shell.is-home .home-hero::after {
  right: clamp(8px, 3vw, 28px);
  bottom: 22%;
  width: 58%;
  height: 46%;
  background:
    linear-gradient(180deg, rgba(191, 149, 91, 0.78), rgba(255, 255, 255, 0.35) 4%, rgba(83, 75, 67, 0.52) 5%) 4% 14% / 15% 84% no-repeat,
    linear-gradient(180deg, rgba(191, 149, 91, 0.72), rgba(255, 255, 255, 0.38) 4%, rgba(83, 75, 67, 0.52) 5%) 24% 28% / 14% 70% no-repeat,
    linear-gradient(180deg, rgba(191, 149, 91, 0.7), rgba(255, 255, 255, 0.38) 4%, rgba(83, 75, 67, 0.5) 5%) 44% 37% / 14% 60% no-repeat,
    linear-gradient(180deg, rgba(191, 149, 91, 0.68), rgba(255, 255, 255, 0.36) 4%, rgba(83, 75, 67, 0.48) 5%) 64% 46% / 14% 52% no-repeat,
    linear-gradient(180deg, rgba(191, 149, 91, 0.66), rgba(255, 255, 255, 0.34) 4%, rgba(83, 75, 67, 0.46) 5%) 84% 52% / 15% 46% no-repeat;
  clip-path: none;
  opacity: 0.88;
  filter: drop-shadow(0 14px 18px rgba(93, 72, 50, 0.22));
}

.app-shell.is-home .home-logo-slot {
  top: clamp(18px, 3vw, 28px);
  right: clamp(4px, 1.6vw, 14px);
  color: #4b4037;
  font-size: clamp(9px, 1.9vw, 13px);
  letter-spacing: 0.06em;
  text-shadow: none;
}

.app-shell.is-home .home-logo-slot::before {
  border-top-color: #4a4037;
  box-shadow: 12px 0 0 -4px rgba(74, 64, 55, 0.8);
}

.app-shell.is-home .home-copy {
  max-width: min(74%, 560px);
  padding: clamp(26px, 5.6dvh, 62px) 0 0 clamp(2px, 1vw, 10px);
  text-shadow: none;
}

.app-shell.is-home .home-copy h1 {
  margin-bottom: clamp(14px, 1.7dvh, 20px);
  color: #3b2d22;
  font-family: "STSong", "SimSun", "Songti SC", "Microsoft YaHei", serif;
  font-size: clamp(32px, 8.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0.08em;
  font-weight: 900;
  white-space: normal;
}

.app-shell.is-home .home-subtitle,
.app-shell.is-home .home-desc {
  color: #514239;
  font-size: clamp(15px, 3.1vw, 23px);
  line-height: 1.35;
  font-weight: 800;
}

.app-shell.is-home .home-desc {
  margin-top: 4px;
  max-width: 100%;
}

.app-shell.is-home .home-feature-row {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: -4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
}

.app-shell.is-home .home-feature {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.app-shell.is-home .home-icon-slot,
.app-shell.is-home .home-mini-icon,
.app-shell.is-home .home-line-icon {
  border: 1px solid rgba(186, 143, 88, 0.52);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 18px rgba(118, 87, 51, 0.09);
}

.app-shell.is-home .home-icon-slot {
  width: 36px;
}

.app-shell.is-home .home-icon-slot::before,
.app-shell.is-home .home-mini-icon::before,
.app-shell.is-home .home-line-icon::before,
.app-shell.is-home .home-contact-icon::before,
.app-shell.is-home .home-phone-icon::before {
  border-color: #b98c55;
  box-shadow: none;
}

.app-shell.is-home .home-feature strong {
  color: #6b563f;
  font-size: clamp(10px, 2.15vw, 14px);
  line-height: 1.16;
  white-space: normal;
}

.app-shell.is-home .home-feature span {
  margin-top: 2px;
  color: rgba(102, 89, 76, 0.68);
  font-size: clamp(8px, 1.75vw, 11px);
  line-height: 1.18;
  white-space: normal;
}

.app-shell.is-home .home-main {
  display: contents;
}

.app-shell.is-home .home-selection-card,
.app-shell.is-home .home-house-panel,
.app-shell.is-home .home-value-strip,
.app-shell.is-home .home-contact-strip {
  border: 1px solid rgba(207, 183, 148, 0.48);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 14px 34px rgba(94, 70, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.app-shell.is-home .home-selection-card {
  padding: clamp(22px, 4vw, 34px);
  grid-template-columns: 0.92fr 1.48fr;
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: clamp(20px, 4vw, 36px);
  overflow: hidden;
}

.app-shell.is-home .home-selection-card::after {
  display: none;
}

.app-shell.is-home .home-card-copy,
.app-shell.is-home .home-service-row,
.app-shell.is-home .home-enter-button {
  z-index: 2;
}

.app-shell.is-home .home-card-copy {
  grid-column: 1;
  grid-row: 1;
}

.app-shell.is-home .home-card-copy h2,
.app-shell.is-home .home-house-panel h2 {
  color: #3b2d22;
  font-size: clamp(24px, 5vw, 36px);
  letter-spacing: 0.04em;
}

.app-shell.is-home .home-card-copy p {
  color: #5a4b3f;
  font-size: clamp(13px, 2.7vw, 18px);
  font-weight: 800;
}

.app-shell.is-home .home-service-row {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  align-self: center;
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4dvh, 24px) 12px;
}

.app-shell.is-home .home-service-row div {
  gap: 7px;
}

.app-shell.is-home .home-mini-icon {
  width: clamp(42px, 8vw, 56px);
}

.app-shell.is-home .home-service-row strong {
  color: #4f4034;
  font-size: clamp(13px, 2.6vw, 16px);
  font-weight: 900;
}

.app-shell.is-home .home-service-row em {
  color: rgba(99, 84, 70, 0.76);
  font-size: clamp(10px, 2vw, 13px);
}

.app-shell.is-home .home-interior-slot {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 4;
  inset: auto;
  min-height: 0;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 42%),
    radial-gradient(circle at 58% 38%, rgba(255, 238, 210, 0.42), transparent 34%),
    linear-gradient(120deg, #c9b497 0 20%, #e8ded0 20% 40%, #b69b78 40% 43%, #d4c1aa 43% 60%, #7c6a55 60% 62%, #d9d1c5 62% 100%);
  box-shadow: inset 0 0 0 1px rgba(132, 100, 64, 0.18);
  overflow: hidden;
}

.app-shell.is-home .home-interior-slot::before {
  inset: auto 8% 12% 8%;
  height: 46%;
  border-radius: 12px 12px 4px 4px;
  background:
    linear-gradient(90deg, rgba(107, 88, 71, 0.36) 0 18%, rgba(240, 233, 222, 0.95) 18% 52%, rgba(207, 190, 171, 0.9) 52% 100%);
  box-shadow:
    0 -82px 0 -62px rgba(255, 248, 235, 0.95),
    0 24px 34px rgba(75, 59, 42, 0.18);
}

.app-shell.is-home .home-enter-button {
  grid-column: 1;
  grid-row: 3;
  width: min(100%, 210px);
  min-height: 42px;
  margin-top: 0;
  border: 0;
  border-radius: 8px;
  color: #fffaf0;
  background: linear-gradient(90deg, #d8b37e, #b98b50);
  box-shadow: 0 10px 20px rgba(166, 116, 62, 0.22);
  font-size: clamp(14px, 2.7vw, 17px);
}

.app-shell.is-home .home-house-panel {
  padding: clamp(22px, 4vw, 34px);
  gap: clamp(18px, 2.6dvh, 26px);
}

.app-shell.is-home .home-house-cards {
  gap: clamp(12px, 2.5vw, 22px);
}

.app-shell.is-home .home-house-card {
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fffaf3;
  box-shadow: 0 10px 24px rgba(97, 70, 39, 0.08);
  overflow: hidden;
}

.app-shell.is-home .home-house-plan {
  min-height: 145px;
  background: linear-gradient(180deg, #fffdf9, #f8f4ed);
}

.app-shell.is-home .home-house-plan::before {
  width: 70%;
  height: 66%;
  border-color: rgba(51, 47, 43, 0.58);
  background:
    linear-gradient(90deg, transparent 45%, rgba(51, 47, 43, 0.34) 45% 47%, transparent 47%),
    linear-gradient(180deg, transparent 34%, rgba(51, 47, 43, 0.28) 34% 36%, transparent 36%),
    linear-gradient(90deg, transparent 24%, rgba(51, 47, 43, 0.24) 24% 26%, transparent 26%);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.08));
}

.app-shell.is-home .home-house-info {
  padding: clamp(18px, 3dvh, 28px) 8px clamp(16px, 2.4dvh, 22px);
  background: linear-gradient(180deg, #f8efe0 0%, #efe0cc 100%);
}

.app-shell.is-home .home-house-info strong {
  color: #5a3d23;
  font-size: clamp(28px, 5.6vw, 42px);
  font-weight: 500;
}

.app-shell.is-home .home-house-info span,
.app-shell.is-home .home-house-info em {
  color: #665344;
  font-size: clamp(11px, 2.25vw, 15px);
  font-weight: 700;
}

.app-shell.is-home .home-value-strip {
  padding: clamp(20px, 3.6vw, 30px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px) clamp(8px, 2vw, 18px);
}

.app-shell.is-home .home-value-strip div {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.app-shell.is-home .home-line-icon {
  width: clamp(34px, 6.8vw, 48px);
  border-radius: 12px;
}

.app-shell.is-home .home-value-strip strong {
  color: #4c3f33;
  font-size: clamp(12px, 2.4vw, 16px);
}

.app-shell.is-home .home-value-strip em {
  color: rgba(100, 85, 69, 0.74);
  font-size: clamp(9px, 1.85vw, 12px);
  white-space: normal;
}

.app-shell.is-home .home-contact-strip {
  padding: clamp(16px, 3vw, 24px);
  align-items: center;
  color: #4d4036;
  background: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 3vw, 22px);
}

.app-shell.is-home .home-contact-strip p:first-child {
  font-size: clamp(12px, 2.3vw, 17px);
  font-weight: 700;
}

.app-shell.is-home .home-contact-icon,
.app-shell.is-home .home-phone-icon {
  width: clamp(24px, 4.5vw, 34px);
}

.app-shell.is-home .home-footnote {
  color: rgba(108, 95, 82, 0.58);
  font-size: clamp(9px, 1.9vw, 12px);
  line-height: 1.55;
  white-space: normal;
  text-align: left;
}

@media (min-width: 900px) and (orientation: landscape) {
  .app-shell.is-home .home-screen {
    width: min(100vw, 1180px);
    max-width: 1180px;
    height: 100dvh;
    grid-template-rows:
      minmax(300px, 36dvh)
      auto
      minmax(270px, 28dvh)
      minmax(270px, 28dvh)
      minmax(142px, auto)
      auto;
    padding: clamp(20px, 2dvh, 28px) clamp(36px, 5vw, 58px);
  }

  .app-shell.is-home .home-feature-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .app-shell.is-home .home-house-plan {
    min-height: 160px;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  html:has(.app-shell.is-home),
  body:has(.app-shell.is-home) {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .app-shell.is-home {
    display: block;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .app-shell.is-home .home-screen {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    min-height: 100dvh;
    padding:
      max(14px, env(safe-area-inset-top))
      clamp(14px, 4vw, 18px)
      max(16px, env(safe-area-inset-bottom));
    grid-template-rows: auto auto auto auto auto auto;
    gap: 14px;
    overflow: visible;
  }

  .app-shell.is-home .home-hero {
    min-height: clamp(300px, 49dvh, 420px);
    border-radius: 0 0 24px 24px;
  }

  .app-shell.is-home .home-logo-slot {
    top: 18px;
    right: 2px;
    min-width: 90px;
    font-size: 8px;
  }

  .app-shell.is-home .home-copy {
    max-width: 82%;
    padding-top: clamp(30px, 6.5dvh, 58px);
  }

  .app-shell.is-home .home-copy h1 {
    font-size: clamp(32px, 11vw, 48px);
    line-height: 1.08;
    letter-spacing: 0.04em;
  }

  .app-shell.is-home .home-subtitle,
  .app-shell.is-home .home-desc {
    font-size: clamp(15px, 4.2vw, 20px);
  }

  .app-shell.is-home .home-hero::after {
    right: -6px;
    bottom: 25%;
    width: 82%;
    height: 38%;
  }

  .app-shell.is-home .home-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .app-shell.is-home .home-feature {
    grid-template-columns: 34px minmax(0, 1fr);
    justify-items: start;
  }

  .app-shell.is-home .home-feature strong,
  .app-shell.is-home .home-feature p span {
    display: block;
  }

  .app-shell.is-home .home-icon-slot {
    width: 34px;
  }

  .app-shell.is-home .home-selection-card {
    min-height: clamp(300px, 39dvh, 390px);
    padding: 20px;
    grid-template-columns: 0.88fr 1.18fr;
    column-gap: 14px;
  }

  .app-shell.is-home .home-card-copy h2,
  .app-shell.is-home .home-house-panel h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .app-shell.is-home .home-service-row {
    gap: 15px 8px;
  }

  .app-shell.is-home .home-mini-icon {
    width: 42px;
  }

  .app-shell.is-home .home-service-row strong {
    font-size: clamp(12px, 3.5vw, 15px);
  }

  .app-shell.is-home .home-service-row em {
    display: block;
    font-size: clamp(9px, 2.6vw, 11px);
  }

  .app-shell.is-home .home-enter-button {
    width: min(100%, 190px);
    min-height: 40px;
  }

  .app-shell.is-home .home-house-panel {
    padding: 20px;
  }

  .app-shell.is-home .home-house-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .app-shell.is-home .home-house-plan {
    min-height: clamp(120px, 22dvh, 170px);
  }

  .app-shell.is-home .home-house-info {
    padding: 16px 5px 14px;
  }

  .app-shell.is-home .home-house-info strong {
    font-size: clamp(24px, 7vw, 34px);
  }

  .app-shell.is-home .home-house-info span {
    display: block;
    font-size: clamp(9px, 2.7vw, 12px);
  }

  .app-shell.is-home .home-house-info em {
    display: block;
    font-size: clamp(8px, 2.35vw, 10px);
  }

  .app-shell.is-home .home-value-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px 10px;
    gap: 18px 4px;
  }

  .app-shell.is-home .home-value-strip strong {
    font-size: clamp(11px, 3.1vw, 14px);
  }

  .app-shell.is-home .home-value-strip em {
    display: block;
    font-size: clamp(8px, 2.25vw, 10px);
  }

  .app-shell.is-home .home-contact-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .app-shell.is-home .home-contact-strip p {
    white-space: normal;
  }

  .app-shell.is-home .home-contact-strip p:first-child {
    overflow: visible;
    text-overflow: clip;
  }
}

/* Homepage selection card lock-up: avoid grid auto-placement overlap on desktop and phone. */
.app-shell.is-home .home-selection-card {
  position: relative;
  display: block;
}

.app-shell.is-home .home-card-copy {
  position: absolute;
  left: clamp(24px, 3.2vw, 34px);
  top: clamp(22px, 3vw, 30px);
  width: min(34%, 360px);
}

.app-shell.is-home .home-service-row {
  position: absolute;
  left: clamp(24px, 3.2vw, 34px);
  top: clamp(82px, 9dvh, 92px);
  width: min(34%, 360px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2dvh, 18px) 12px;
}

.app-shell.is-home .home-enter-button {
  position: absolute;
  left: clamp(24px, 3.2vw, 34px);
  bottom: clamp(10px, 1.6dvh, 16px);
}

.app-shell.is-home .home-interior-slot {
  position: absolute;
  left: min(42%, 460px);
  right: clamp(24px, 3.2vw, 34px);
  top: clamp(22px, 3vw, 28px);
  bottom: clamp(22px, 3vw, 28px);
  min-height: 0;
}

@media (max-width: 760px) and (orientation: portrait) {
  .app-shell.is-home .home-card-copy {
    left: 18px;
    top: 18px;
    width: 42%;
  }

  .app-shell.is-home .home-service-row {
    left: 18px;
    top: 112px;
    width: 42%;
    gap: 12px 7px;
  }

  .app-shell.is-home .home-enter-button {
    left: 18px;
    bottom: 18px;
  }

  .app-shell.is-home .home-interior-slot {
    left: 46%;
    right: 16px;
    top: 28px;
    bottom: 28px;
  }
}

/* Homepage verification pass: keep desktop wide, keep phone portrait readable. */
.app-shell.is-home .home-screen {
  width: min(100vw, 1180px);
  max-width: 1180px;
  grid-template-rows:
    minmax(280px, 34dvh)
    minmax(260px, 27dvh)
    minmax(250px, 26dvh)
    minmax(140px, auto)
    auto;
}

.app-shell.is-home .home-feature-row {
  margin-top: -6px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.app-shell.is-home .home-feature {
  grid-template-columns: 34px minmax(0, 1fr);
}

.app-shell.is-home .home-selection-card {
  min-height: 260px;
}

.app-shell.is-home .home-house-panel {
  min-height: 250px;
}

.app-shell.is-home .home-value-strip {
  min-height: 140px;
}

.app-shell.is-home .home-contact-strip {
  display: none;
}

.app-shell.is-home .home-value-strip div:nth-child(n + 6) {
  display: none;
}

.app-shell.is-home .home-footnote {
  margin-top: -4px;
}

@media (min-width: 900px) and (orientation: landscape) {
  .app-shell.is-home .home-screen {
    width: min(100vw, 1180px);
    max-width: 1180px;
    height: 100dvh;
    padding: 26px 62px 18px;
    grid-template-rows:
      minmax(286px, 34dvh)
      minmax(370px, 38dvh)
      minmax(236px, 25dvh)
      minmax(120px, auto)
      auto;
    gap: 16px;
  }

  .app-shell.is-home .home-hero {
    min-height: 286px;
  }

  .app-shell.is-home .home-copy {
    max-width: 48%;
    padding-top: 34px;
  }

  .app-shell.is-home .home-copy h1 {
    font-size: clamp(42px, 4.8vw, 58px);
    line-height: 1.12;
  }

  .app-shell.is-home .home-subtitle,
  .app-shell.is-home .home-desc {
    font-size: clamp(19px, 2vw, 24px);
  }

  .app-shell.is-home .home-logo-slot {
    right: 18px;
  }

  .app-shell.is-home .home-feature strong {
    font-size: 12px;
  }

  .app-shell.is-home .home-feature span {
    font-size: 9px;
  }

  .app-shell.is-home .home-selection-card {
    min-height: 370px;
    padding: 28px 34px;
  }

  .app-shell.is-home .home-service-row {
    width: min(36%, 320px);
    gap: 12px;
  }

  .app-shell.is-home .home-interior-slot {
    min-height: 188px;
  }

  .app-shell.is-home .home-house-panel {
    min-height: 236px;
    padding: 26px 34px;
  }

  .app-shell.is-home .home-house-plan {
    min-height: 104px;
  }

  .app-shell.is-home .home-house-info {
    padding: 14px 8px 12px;
  }

  .app-shell.is-home .home-value-strip {
    min-height: 120px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 18px 30px;
  }

  .app-shell.is-home .home-footnote {
    font-size: 10px;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  html,
  body,
  .app-shell.is-home {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell.is-home .home-screen {
    width: 100%;
    max-width: min(430px, 100%);
    min-height: 100dvh;
    height: auto;
    margin: 0 auto;
    padding:
      max(12px, env(safe-area-inset-top))
      clamp(12px, 3.6vw, 16px)
      max(16px, env(safe-area-inset-bottom));
    grid-template-rows: auto auto auto auto auto;
    gap: 12px;
  }

  .app-shell.is-home .home-hero {
    min-height: 324px;
    border-radius: 0 0 22px 22px;
  }

  .app-shell.is-home .home-copy {
    max-width: 74%;
    padding-top: 42px;
  }

  .app-shell.is-home .home-copy h1 {
    font-size: clamp(30px, 9.2vw, 40px);
    line-height: 1.08;
    letter-spacing: 0.03em;
  }

  .app-shell.is-home .home-subtitle,
  .app-shell.is-home .home-desc {
    font-size: clamp(13px, 3.55vw, 16px);
    line-height: 1.28;
  }

  .app-shell.is-home .home-logo-slot {
    top: 18px;
    right: 18px;
    min-width: 70px;
    font-size: 6px;
  }

  .app-shell.is-home .home-logo-slot::before {
    width: 32px;
    border-top-width: 3px;
  }

  .app-shell.is-home .home-hero::after {
    right: -22px;
    bottom: 31%;
    width: 76%;
    height: 34%;
    opacity: 0.66;
  }

  .app-shell.is-home .home-feature-row {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 16px;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 6px;
  }

  .app-shell.is-home .home-feature {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 5px;
  }

  .app-shell.is-home .home-icon-slot {
    width: 24px;
  }

  .app-shell.is-home .home-feature strong {
    font-size: clamp(7px, 2vw, 8.5px);
    line-height: 1.08;
  }

  .app-shell.is-home .home-feature span {
    display: none;
  }

  .app-shell.is-home .home-selection-card {
    min-height: 296px;
    padding: 16px;
    grid-template-columns: 0.86fr 1.2fr;
    column-gap: 10px;
  }

  .app-shell.is-home .home-card-copy h2,
  .app-shell.is-home .home-house-panel h2 {
    font-size: clamp(23px, 6.4vw, 28px);
  }

  .app-shell.is-home .home-card-copy p {
    font-size: clamp(11px, 3.05vw, 13px);
  }

  .app-shell.is-home .home-service-row {
    gap: 12px 7px;
  }

  .app-shell.is-home .home-mini-icon {
    width: 34px;
  }

  .app-shell.is-home .home-service-row strong {
    font-size: clamp(10px, 2.75vw, 12px);
  }

  .app-shell.is-home .home-service-row em {
    display: block;
    font-size: clamp(7px, 2.05vw, 9px);
  }

  .app-shell.is-home .home-enter-button {
    width: min(100%, 162px);
    min-height: 40px;
    font-size: 13px;
  }

  .app-shell.is-home .home-interior-slot {
    min-height: 244px;
  }

  .app-shell.is-home .home-house-panel {
    min-height: 292px;
    padding: 16px 12px;
    gap: 14px;
    overflow: hidden;
  }

  .app-shell.is-home .home-house-cards {
    min-width: 0;
    gap: 6px;
  }

  .app-shell.is-home .home-house-card {
    min-width: 0;
  }

  .app-shell.is-home .home-house-plan {
    min-height: 108px;
  }

  .app-shell.is-home .home-house-info {
    padding: 13px 3px 12px;
  }

  .app-shell.is-home .home-house-info strong {
    font-size: clamp(20px, 6.1vw, 27px);
  }

  .app-shell.is-home .home-house-info span {
    font-size: clamp(7px, 2vw, 9px);
  }

  .app-shell.is-home .home-house-info em {
    font-size: clamp(6.5px, 1.78vw, 8px);
  }

  .app-shell.is-home .home-value-strip {
    min-height: 158px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px 10px;
    gap: 14px 4px;
  }

  .app-shell.is-home .home-value-strip div:nth-child(n + 6) {
    display: none;
  }

  .app-shell.is-home .home-line-icon {
    width: 32px;
  }

  .app-shell.is-home .home-value-strip strong {
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .app-shell.is-home .home-value-strip em {
    display: block;
    font-size: clamp(7px, 1.95vw, 9px);
  }

  .app-shell.is-home .home-footnote {
    font-size: 8px;
    line-height: 1.45;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  .app-shell.is-home .home-selection-card {
    min-height: 336px;
  }

  .app-shell.is-home .home-service-row {
    top: 116px;
    gap: 9px 7px;
  }

  .app-shell.is-home .home-enter-button {
    bottom: 14px;
    width: 156px;
    min-height: 38px;
  }
}

/* Final selection UI lock: warm segmented controls, compact view tabs, and smaller uniform style cards. */
.home-back-button {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 12;
  min-height: clamp(34px, 3.3vw, 42px);
  padding: 0 clamp(14px, 1.4vw, 22px);
  border: 1px solid rgba(188, 143, 82, 0.36);
  border-radius: 999px;
  color: #7a552d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 237, 224, 0.94)),
    linear-gradient(135deg, rgba(226, 196, 151, 0.26), rgba(255, 255, 255, 0));
  box-shadow: 0 8px 20px rgba(112, 80, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: clamp(13px, 1.08vw, 16px);
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-50%);
}

.home-back-button::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.house-tabs {
  align-items: stretch;
}

.house-tab {
  position: relative;
}

.bird-panel,
.effect-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: end stretch;
}

.bird-tabs,
.view-tabs {
  align-items: center;
  justify-content: flex-end;
}

.bird-tab,
.view-tab {
  white-space: nowrap;
}

.desktop-active-styles .mobile-style-list,
.mobile-active-styles .mobile-style-list {
  justify-content: start;
}

.desktop-active-styles .style-pill,
.mobile-active-styles .style-pill {
  overflow: visible;
}

.desktop-active-styles .style-thumb,
.mobile-active-styles .style-thumb {
  overflow: hidden;
}

@media (min-width: 761px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    padding-right: clamp(118px, 10vw, 156px);
  }

  .brand-title {
    grid-row: 1;
    order: 1;
  }

  .house-control {
    grid-row: 2;
    order: 2;
    width: min(70%, 760px);
    justify-self: center;
  }

  .house-tabs {
    width: 100%;
    min-height: clamp(38px, 3.6vw, 50px);
    border-radius: 999px;
  }

  .house-tab {
    min-height: auto;
    font-size: clamp(16px, 1.55vw, 24px);
  }

  .home-back-button {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}

/* Selection page hard no-scroll lock: avoid 1px browser rounding scroll on desktop and phone. */
html:has(.app-shell:not(.is-home)),
body:has(.app-shell:not(.is-home)) {
  width: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

body:has(.app-shell:not(.is-home)) {
  position: fixed !important;
  inset: 0 !important;
}

.app-shell:not(.is-home) {
  position: fixed !important;
  inset: 0 !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

@media (min-width: 761px) {
  .app-shell:not(.is-home) .app {
    height: min(calc(100dvh - 4px), calc((100vw * 9 / 16) - 4px)) !important;
    max-height: calc(100dvh - 4px) !important;
  }
}

@media (orientation: portrait) and (max-width: 760px) {
  .app {
    padding: 8px 10px 12px;
    gap: 8px;
  }

  .topbar {
    min-height: 104px;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
  }

  .brand-title {
    position: static;
    grid-column: 1 / 3;
    grid-row: 1;
    transform: none;
    justify-content: center;
    min-height: 28px;
  }

  .brand-title h1 {
    max-width: calc(100vw - 120px);
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.12;
    letter-spacing: 0.04em;
  }

  .house-control {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }

  .house-tabs {
    width: 100%;
    min-height: 42px;
    padding: 3px;
    border: 1px solid rgba(178, 137, 85, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(82, 58, 32, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .house-tab {
    min-height: 34px;
    padding: 0;
    border: 0;
    border-right: 1px solid rgba(178, 137, 85, 0.12);
    border-radius: 999px;
    color: #6a5b4a;
    background: transparent;
    box-shadow: none;
    font-size: clamp(15px, 4.1vw, 19px);
    font-weight: 800;
    letter-spacing: 0.01em;
  }

  .house-tab:last-child {
    border-right: 0;
  }

  .house-tab.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #d7b178, #b78342);
    box-shadow: 0 6px 14px rgba(157, 105, 45, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }

  .home-back-button {
    position: static;
    grid-column: 2;
    grid-row: 2;
    min-height: 42px;
    padding: 0 12px;
    align-self: stretch;
    transform: none;
    font-size: 12px;
  }

  .main-grid {
    gap: 8px;
  }

  .bird-panel,
  .effect-panel {
    padding: 44px 8px 8px;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    place-items: stretch;
  }

  .section-heading {
    left: 14px;
    top: 10px;
    gap: 7px;
  }

  .section-heading span {
    width: 26px;
    font-size: 13px;
  }

  .section-heading strong {
    font-size: 18px;
    letter-spacing: 0;
  }

  .bird-tabs,
  .view-tabs {
    position: absolute;
    top: -34px;
    right: 10px;
    left: auto;
    width: auto;
    min-width: 0;
    max-width: calc(100% - 132px);
    padding: 2px;
    gap: 2px;
    border-radius: 999px;
    transform: none;
  }

  .bird-tab,
  .view-tab {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
  }

  .view-tabs {
    max-width: calc(100% - 120px);
  }

  .view-tab {
    padding-inline: 8px;
  }

  .media-stage,
  .bird-panel .media-stage,
  .effect-panel .media-stage {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    align-self: end;
  }

  .scene-image,
  .preview-image,
  .image-overlay-stack img {
    object-fit: cover;
  }

  .bottom-panel {
    min-height: 0;
    padding: 44px 8px 10px;
    gap: 8px;
    grid-template-rows: minmax(0, 1fr) 40px;
  }

  .bottom-heading {
    right: auto;
  }

  .cards-scroll {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: 30px minmax(0, 1fr);
    gap: 7px 4px;
  }

  .point-card {
    height: 30px;
    padding: 0 3px;
    border-radius: 999px;
  }

  .point-card h3 {
    font-size: clamp(7px, 1.92vw, 9px);
    line-height: 1;
  }

  .point-card h3::before {
    display: none;
  }

  .desktop-active-styles {
    gap: 5px;
  }

  .active-style-section-head {
    min-height: 18px;
  }

  .active-style-section-head strong {
    font-size: 12px;
  }

  .active-style-section-head span {
    font-size: 10px;
  }

  .mobile-style-list {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 112px));
    justify-content: start;
    gap: 8px;
  }

  .mobile-active-styles .style-pill,
  .style-pill {
    height: auto;
    grid-template-rows: 74px 18px;
    gap: 4px;
  }

  .style-thumb {
    width: 100%;
    height: 74px;
    aspect-ratio: auto;
    border-radius: 9px;
  }

  .style-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .style-pill.is-active .style-thumb::after {
    width: 28px;
    font-size: 17px;
    border-radius: 14px 0 8px 0;
  }

  .style-pill strong {
    min-width: 0;
    font-size: 10px;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .checkout-panel {
    height: 40px;
    min-height: 40px;
    margin-top: 0;
  }

  .confirm-button {
    height: 40px;
    min-height: 40px;
    font-size: 15px;
  }
}

@media (orientation: portrait) and (max-width: 420px) {
  .topbar {
    min-height: 98px;
  }

  .brand-title h1 {
    max-width: calc(100vw - 104px);
    font-size: clamp(17px, 4.6vw, 20px);
  }

  .home-back-button {
    min-height: 38px;
    padding: 0 10px;
  }

  .house-tabs {
    min-height: 38px;
  }

  .house-tab {
    min-height: 32px;
    font-size: clamp(14px, 4vw, 17px);
  }

  .bird-panel,
  .effect-panel {
    padding-top: 40px;
  }

  .section-heading {
    left: 12px;
    top: 9px;
  }

  .section-heading span {
    width: 24px;
    font-size: 12px;
  }

  .section-heading strong {
    font-size: 17px;
  }

  .bird-tabs,
  .view-tabs {
    position: absolute;
    top: -31px;
    right: 8px;
    max-width: calc(100% - 116px);
  }

  .bird-tab,
  .view-tab {
    min-height: 26px;
    padding-inline: 7px;
    font-size: 11px;
  }

  .bottom-panel {
    padding-top: 40px;
  }

  .mobile-style-list {
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 96px));
    gap: 6px;
  }

  .mobile-active-styles .style-pill,
  .style-pill {
    grid-template-rows: 64px 17px;
  }

  .style-thumb {
    height: 64px;
  }

  .style-pill strong {
    font-size: 9px;
    line-height: 17px;
  }
}

@media (orientation: portrait) and (max-width: 420px) {
  .app {
    padding: 6px 10px 8px;
    gap: 6px;
  }

  .topbar {
    min-height: 90px;
    gap: 5px 8px;
  }

  .brand-title h1 {
    font-size: clamp(16px, 4.45vw, 19px);
  }

  .home-back-button {
    min-height: 36px;
  }

  .house-tabs {
    min-height: 36px;
  }

  .house-tab {
    min-height: 30px;
  }

  .bird-panel,
  .effect-panel {
    padding: 36px 7px 7px;
  }

  .section-heading {
    top: 8px;
  }

  .section-heading span {
    width: 23px;
  }

  .section-heading strong {
    font-size: 16px;
  }

  .bird-tabs,
  .view-tabs {
    top: -27px;
  }

  .bottom-panel {
    padding: 36px 7px 8px;
    gap: 5px;
    grid-template-rows: minmax(0, 1fr) 36px;
  }

  .cards-scroll {
    grid-template-rows: 26px minmax(0, 1fr);
    gap: 5px 3px;
  }

  .point-card {
    height: 26px;
  }

  .point-card h3 {
    font-size: clamp(6.2px, 1.65vw, 7.5px);
  }

  .active-style-section-head {
    min-height: 16px;
  }

  .active-style-section-head strong {
    font-size: 11px;
  }

  .active-style-section-head span {
    font-size: 9px;
  }

  .mobile-style-list {
    gap: 5px;
  }

  .mobile-active-styles .style-pill,
  .style-pill {
    grid-template-rows: 56px 15px;
    gap: 3px;
  }

  .style-thumb {
    height: 56px;
  }

  .style-pill strong {
    line-height: 15px;
  }

  .checkout-panel,
  .confirm-button {
    min-height: 36px;
    height: 36px;
  }

  .confirm-button {
    font-size: 14px;
  }
}

/* Final home contact lock: the hero footer is address + phone, not six feature tiles. */
.app-shell.is-home .home-screen {
  grid-template-rows:
    minmax(280px, 34dvh)
    minmax(260px, 27dvh)
    minmax(250px, 26dvh)
    auto;
}

.app-shell.is-home .home-feature-row.is-contact-strip {
  position: absolute;
  left: clamp(14px, 2.6vw, 28px);
  right: clamp(14px, 2.6vw, 28px);
  bottom: clamp(14px, 2.2dvh, 24px);
  margin: 0;
  padding: clamp(10px, 1.1vw, 16px);
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(210px, 0.8fr);
  align-items: stretch;
  gap: clamp(8px, 1.1vw, 18px);
  border: 1px solid rgba(184, 139, 79, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(112, 82, 45, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(5px);
}

.app-shell.is-home .home-feature-row.is-contact-strip > .home-contact-card {
  min-width: 0;
  min-height: clamp(44px, 4.6vw, 62px);
  padding: clamp(7px, 0.8vw, 12px) clamp(10px, 1.15vw, 18px);
  display: grid;
  grid-template-columns: clamp(28px, 3vw, 42px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 clamp(8px, 0.9vw, 14px);
  text-align: left;
  border: 1px solid rgba(173, 124, 58, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.app-shell.is-home .home-feature-row.is-contact-strip > .home-contact-card::before {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: clamp(28px, 3vw, 42px);
  aspect-ratio: 1 / 1;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(135deg, #f4ddbb, #c69355),
    #c69355;
  box-shadow: inset 0 0 0 1px rgba(126, 83, 35, 0.12), 0 7px 14px rgba(128, 83, 35, 0.12);
}

.app-shell.is-home .home-feature-row.is-contact-strip .home-contact-address::after,
.app-shell.is-home .home-feature-row.is-contact-strip .home-contact-phone::after {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  width: clamp(11px, 1.12vw, 15px);
  height: clamp(11px, 1.12vw, 15px);
  content: "";
  border: 2px solid #8a5d2b;
}

.app-shell.is-home .home-feature-row.is-contact-strip .home-contact-address::after {
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
}

.app-shell.is-home .home-feature-row.is-contact-strip .home-contact-phone::after {
  width: clamp(12px, 1.2vw, 16px);
  border-radius: 3px;
}

.app-shell.is-home .home-feature-row.is-contact-strip span,
.app-shell.is-home .home-feature-row.is-contact-strip strong {
  min-width: 0;
  grid-column: 2;
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.app-shell.is-home .home-feature-row.is-contact-strip span {
  align-self: end;
  color: rgba(102, 76, 46, 0.7);
  font-size: clamp(9px, 0.9vw, 13px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.app-shell.is-home .home-feature-row.is-contact-strip strong {
  align-self: start;
  color: #49382a;
  font-size: clamp(12px, 1.25vw, 18px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.app-shell.is-home .home-feature-row.is-contact-strip .home-contact-phone strong {
  color: #794f20;
  font-size: clamp(15px, 1.65vw, 24px);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.app-shell.is-home .home-value-strip {
  display: none;
}

@media (max-width: 760px) and (orientation: portrait) {
  .app-shell.is-home .home-screen {
    grid-template-rows: auto auto auto auto;
    gap: 10px;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 7px;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    border-radius: 15px;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip > .home-contact-card {
    min-height: 32px;
    padding: 4px 8px;
    grid-template-columns: 24px minmax(0, 1fr);
    border-radius: 11px;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip > .home-contact-card::before {
    width: 24px;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip .home-contact-address::after,
  .app-shell.is-home .home-feature-row.is-contact-strip .home-contact-phone::after {
    width: 10px;
    height: 10px;
    border-width: 1.6px;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip span {
    font-size: clamp(8px, 2.15vw, 10px);
    letter-spacing: 0.08em;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip strong {
    font-size: clamp(9.5px, 2.55vw, 12px);
    line-height: 1.14;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip .home-contact-phone strong {
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .app-shell.is-home .home-footnote {
    margin-top: 0;
  }
}

@media (max-width: 360px) and (orientation: portrait) {
  .app-shell.is-home .home-feature-row.is-contact-strip {
    padding: 6px;
    gap: 4px;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip > .home-contact-card {
    min-height: 30px;
    padding-inline: 7px;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip strong {
    font-size: 9px;
  }

  .app-shell.is-home .home-feature-row.is-contact-strip .home-contact-phone strong {
    font-size: 12.5px;
  }
}

/* Final home flow lock: prevent desktop overlap after removing the feature/value strips. */
.app-shell.is-home {
  overflow-y: auto;
  place-items: start center;
}

.app-shell.is-home .home-screen {
  height: auto;
  min-height: 100dvh;
  grid-template-rows: auto auto auto;
  overflow: visible;
}

.app-shell.is-home .home-hero {
  min-height: clamp(350px, 42dvh, 430px);
}

.app-shell.is-home .home-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2dvh, 24px);
}

.app-shell.is-home .home-selection-card {
  min-height: clamp(340px, 40dvh, 420px);
}

.app-shell.is-home .home-house-panel {
  min-height: clamp(270px, 32dvh, 360px);
}

.app-shell.is-home .home-footnote {
  margin-top: 0;
}

@media (min-width: 900px) and (orientation: landscape) {
  .app-shell.is-home .home-screen {
    height: auto;
    min-height: 100dvh;
    grid-template-rows: auto auto auto;
    padding-bottom: clamp(24px, 3dvh, 36px);
  }

  .app-shell.is-home .home-hero {
    min-height: clamp(360px, 43dvh, 430px);
  }

  .app-shell.is-home .home-selection-card {
    min-height: clamp(330px, 39dvh, 420px);
  }

  .app-shell.is-home .home-house-panel {
    min-height: clamp(270px, 32dvh, 360px);
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  .app-shell.is-home .home-screen {
    grid-template-rows: auto auto auto;
  }

  .app-shell.is-home .home-main {
    gap: 22px;
  }

  .app-shell.is-home .home-hero {
    min-height: clamp(310px, 40dvh, 350px);
  }

  .app-shell.is-home .home-selection-card {
    min-height: 420px;
  }

  .app-shell.is-home .home-enter-button {
    bottom: 56px;
  }

  .app-shell.is-home .home-house-panel {
    min-height: 318px;
  }
}

@media (max-width: 420px) and (orientation: portrait) {
  .app-shell.is-home .home-selection-card {
    min-height: 438px;
  }

  .app-shell.is-home .home-enter-button {
    bottom: 62px;
  }
}

/* Final home title lock: keep "瑙傛睙灏侀潰" as one complete second line. */
.app-shell.is-home .home-title {
  width: max-content;
  max-width: min(100%, 760px);
  display: grid;
  gap: 0.02em;
  white-space: nowrap;
}

.app-shell.is-home .home-title span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 760px) and (orientation: portrait) {
  .app-shell.is-home .home-title {
    font-size: clamp(31px, 9.8vw, 42px);
    letter-spacing: 0.035em;
  }
}

@media (max-width: 420px) and (orientation: portrait) {
  .app-shell.is-home .home-title {
    font-size: clamp(29px, 9.1vw, 36px);
    letter-spacing: 0.025em;
  }
}

/* Selection portrait-only lock: one warm vertical UI for phone, WeChat, and desktop preview. */
.app-shell:not(.is-home) {
  height: 100dvh;
  min-height: 100dvh;
  overflow: auto;
  place-items: start center;
  background:
    radial-gradient(circle at 50% 0, rgba(225, 196, 154, 0.16), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #f8f4ee 100%);
  -webkit-overflow-scrolling: touch;
}

.app-shell:not(.is-home)::before,
.app-shell:not(.is-home)::after,
.app-shell:not(.is-home) .orientation-mask {
  display: none !important;
}

.app-shell:not(.is-home) .app {
  width: min(100vw, 860px);
  height: auto;
  min-height: 100dvh;
  padding: clamp(18px, 3.2vw, 40px) clamp(14px, 3vw, 34px) clamp(22px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: clamp(16px, 2.8vw, 28px);
  color: #332920;
}

.app-shell:not(.is-home) .topbar {
  position: relative;
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
}

.app-shell:not(.is-home) .brand-title {
  position: static;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  transform: none;
  pointer-events: auto;
}

.app-shell:not(.is-home) .brand-title::before,
.app-shell:not(.is-home) .brand-title::after {
  display: none;
}

.app-shell:not(.is-home) .brand-title h1 {
  margin: 0;
  max-width: calc(100% - 88px);
  color: #35281f;
  font-family: "STZhongsong", "SimSun", "Songti SC", "Microsoft YaHei", serif;
  font-size: clamp(24px, 5.3vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8), 0 12px 28px rgba(121, 87, 48, 0.12);
}

.app-shell:not(.is-home) .home-back-button {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(12px, calc((100vw - 860px) / 2 + 22px));
  z-index: 80;
  width: clamp(42px, 7vw, 54px);
  height: clamp(42px, 7vw, 54px);
  min-width: clamp(42px, 7vw, 54px);
  min-height: clamp(42px, 7vw, 54px);
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #665242;
  background: transparent;
  box-shadow: none;
  font-size: 0;
  letter-spacing: 0;
  transform: none;
}

.app-shell:not(.is-home) .home-back-button::before {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 16px;
  height: 16px;
  margin: 0;
  display: block;
  border: 2px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  border-radius: 3px 0 0 0;
  content: "";
  transform: translate(-50%, -58%) rotate(45deg);
}

.app-shell:not(.is-home) .home-back-button > span {
  position: relative;
  width: 18px;
  height: 16px;
  margin-top: 8px;
  display: block;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.app-shell:not(.is-home) .home-back-button > span::after {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 5px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  content: "";
  transform: translateX(-50%);
}

.app-shell:not(.is-home) .home-back-button:active {
  transform: scale(0.94);
}

.app-shell:not(.is-home) .house-control {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  display: block;
}

.app-shell:not(.is-home) .house-label {
  display: none;
}

.app-shell:not(.is-home) .house-tabs {
  width: 100%;
  min-height: clamp(58px, 10.5vw, 82px);
  padding: 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(129, 103, 76, 0.16);
  border-radius: clamp(14px, 2.5vw, 22px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(78, 57, 35, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.app-shell:not(.is-home) .house-tab {
  min-width: 0;
  min-height: 100%;
  padding: 0 6px;
  border: 0;
  border-right: 1px solid rgba(126, 104, 80, 0.12);
  border-radius: 0;
  color: #2f2923;
  background: transparent;
  box-shadow: none;
  font-size: clamp(22px, 5.1vw, 36px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.app-shell:not(.is-home) .house-tab:last-child {
  border-right: 0;
}

.app-shell:not(.is-home) .house-tab.is-active {
  color: #7b4f22;
  background: linear-gradient(135deg, #efe0c9 0%, #d8bb91 100%);
  box-shadow: inset 0 0 0 1px rgba(181, 137, 78, 0.16), 0 10px 22px rgba(159, 112, 54, 0.12);
}

.app-shell:not(.is-home) .main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.8vw, 28px);
}

.app-shell:not(.is-home) .tech-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(129, 103, 76, 0.13);
  border-radius: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 34px rgba(69, 51, 31, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.app-shell:not(.is-home) .tech-panel::before,
.app-shell:not(.is-home) .tech-panel::after,
.app-shell:not(.is-home) .panel-corner {
  display: none !important;
}

.app-shell:not(.is-home) .bird-panel,
.app-shell:not(.is-home) .effect-panel {
  padding: clamp(64px, 9vw, 86px) clamp(12px, 2.5vw, 28px) clamp(12px, 2.5vw, 24px);
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: stretch;
}

.app-shell:not(.is-home) .section-heading {
  position: absolute;
  top: clamp(18px, 3vw, 28px);
  left: clamp(16px, 3vw, 28px);
  right: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 14px);
  color: #2f2923;
  transform: none;
}

.app-shell:not(.is-home) .section-heading span {
  width: clamp(30px, 5.6vw, 42px);
  height: clamp(30px, 5.6vw, 42px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #d2aa72, #bd8d51);
  box-shadow: 0 8px 18px rgba(159, 111, 54, 0.16);
  font-size: clamp(14px, 2.8vw, 20px);
  font-weight: 900;
  line-height: 1;
}

.app-shell:not(.is-home) .section-heading strong {
  color: #2f2923;
  font-size: clamp(20px, 4.3vw, 31px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.app-shell:not(.is-home) .section-heading em {
  margin-left: clamp(8px, 1.4vw, 18px);
  color: rgba(88, 78, 68, 0.52);
  font-size: clamp(11px, 2.2vw, 16px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.app-shell:not(.is-home) .bird-tabs,
.app-shell:not(.is-home) .view-tabs {
  position: absolute;
  top: clamp(17px, 2.9vw, 26px);
  right: clamp(16px, 3vw, 28px);
  left: auto;
  width: auto;
  min-width: 0;
  max-width: calc(100% - clamp(138px, 30vw, 230px));
  height: clamp(36px, 6.4vw, 52px);
  padding: 3px;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(clamp(72px, 16vw, 126px), 1fr);
  align-items: stretch;
  justify-content: end;
  gap: 0;
  border: 1px solid rgba(130, 104, 76, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(75, 55, 34, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transform: none;
  overflow: hidden;
}

.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0 clamp(8px, 1.8vw, 18px);
  border: 0;
  border-radius: 8px;
  color: #332b24;
  background: transparent;
  box-shadow: none;
  font-size: clamp(13px, 2.7vw, 20px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.app-shell:not(.is-home) .bird-tab.is-active,
.app-shell:not(.is-home) .view-tab.is-active {
  color: #704719;
  background: linear-gradient(135deg, #f1e2cc, #d6b98e);
  box-shadow: inset 0 0 0 1px rgba(181, 137, 78, 0.08);
}

.app-shell:not(.is-home) .view-tabs::after,
.app-shell:not(.is-home) .view-tab::after {
  display: none !important;
}

.app-shell:not(.is-home) .media-stage {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: clamp(10px, 2vw, 16px);
  background: #f6f0e8;
  box-shadow: none;
  cursor: zoom-in;
  overflow: hidden;
}

.app-shell:not(.is-home) .media-stage::before,
.app-shell:not(.is-home) .media-stage::after {
  display: none;
}

.app-shell:not(.is-home) .bird-panel .media-stage {
  aspect-ratio: 1.34 / 1;
  background: transparent;
}

.app-shell:not(.is-home) .effect-panel .media-stage {
  aspect-ratio: 16 / 9;
}

.app-shell:not(.is-home) .scene-image,
.app-shell:not(.is-home) .preview-image,
.app-shell:not(.is-home) .image-overlay-stack img {
  object-fit: contain;
  object-position: center;
  filter: none;
}

.app-shell:not(.is-home) .preview-stage.is-detail-view .preview-image {
  object-fit: cover;
}

.app-shell:not(.is-home) .effect-caption {
  display: none;
}

.app-shell:not(.is-home) .bottom-panel {
  padding: clamp(66px, 10vw, 92px) clamp(12px, 2.5vw, 28px) clamp(14px, 2.7vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) clamp(50px, 8.4vw, 72px);
  gap: clamp(14px, 2.4vw, 24px);
}

.app-shell:not(.is-home) .content-switcher {
  min-width: 0;
  min-height: 0;
}

.app-shell:not(.is-home) .cards-scroll {
  height: auto;
  min-height: 0;
  counter-reset: option-point;
  display: grid;
  grid-template-columns: repeat(var(--point-count), minmax(0, 1fr));
  grid-template-rows: clamp(36px, 6.8vw, 54px) auto;
  gap: clamp(14px, 2.5vw, 24px) clamp(4px, 1vw, 10px);
  overflow: visible;
}

.app-shell:not(.is-home) .point-card {
  grid-row: 1;
  counter-increment: option-point;
  height: auto;
  min-height: clamp(36px, 6.8vw, 54px);
  padding: 0 clamp(3px, 0.9vw, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 105, 82, 0.12);
  border-radius: 9px;
  color: #4d4338;
  background: rgba(250, 248, 244, 0.9);
  box-shadow: none;
  overflow: hidden;
}

.app-shell:not(.is-home) .point-card.is-active {
  border-color: rgba(199, 159, 101, 0.34);
  color: #7b5127;
  background: linear-gradient(135deg, #f4e8d7, #ead6ba);
  box-shadow: 0 8px 18px rgba(149, 104, 49, 0.09);
}

.app-shell:not(.is-home) .point-card-header {
  width: 100%;
}

.app-shell:not(.is-home) .point-card h3 {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.7vw, 7px);
  color: inherit;
  font-size: clamp(8px, 2vw, 15px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.app-shell:not(.is-home) .point-card h3::before {
  width: clamp(15px, 3.1vw, 23px);
  height: clamp(15px, 3.1vw, 23px);
  min-width: clamp(15px, 3.1vw, 23px);
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c39a61;
  content: counter(option-point);
  font-size: clamp(8px, 1.6vw, 12px);
  font-weight: 900;
}

.app-shell:not(.is-home) .point-card .style-pills,
.app-shell:not(.is-home) .point-card .current-style,
.app-shell:not(.is-home) .mobile-active-title,
.app-shell:not(.is-home) .active-style-section-head {
  display: none !important;
}

.app-shell:not(.is-home) .mobile-active-styles,
.app-shell:not(.is-home) .desktop-active-styles {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
  overflow: visible;
}

.app-shell:not(.is-home) .mobile-style-list {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr));
  gap: clamp(12px, 3vw, 28px);
}

.app-shell:not(.is-home) .style-pill {
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: clamp(78px, 20vw, 164px) clamp(24px, 5.6vw, 40px);
  gap: clamp(7px, 1.7vw, 12px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.app-shell:not(.is-home) .style-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 1px solid rgba(196, 150, 86, 0.24);
  border-radius: clamp(10px, 2vw, 15px);
  background: #f3eee6;
  box-shadow: none;
  overflow: hidden;
}

.app-shell:not(.is-home) .style-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb {
  border-color: rgba(196, 150, 86, 0.92);
  box-shadow: 0 0 0 2px rgba(196, 150, 86, 0.14);
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(28px, 6.6vw, 44px);
  height: clamp(28px, 6.6vw, 44px);
  display: grid;
  place-items: center;
  border-radius: clamp(13px, 3vw, 18px) 0 clamp(9px, 2vw, 13px) 0;
  color: #fff;
  background: linear-gradient(135deg, #d1a66c, #bb8e55);
  content: "\2713";
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 900;
  line-height: 1;
}

.app-shell:not(.is-home) .style-pill strong {
  min-width: 0;
  color: #4d4339;
  font-size: clamp(12px, 3vw, 18px);
  font-weight: 800;
  line-height: clamp(24px, 5.6vw, 40px);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-shell:not(.is-home) .checkout-panel {
  grid-row: 3;
  height: auto;
  min-height: 0;
  padding: 0;
  display: block;
}

.app-shell:not(.is-home) .confirm-button {
  width: 100%;
  height: clamp(50px, 8.4vw, 72px);
  min-height: clamp(50px, 8.4vw, 72px);
  border: 0;
  border-radius: clamp(14px, 3vw, 22px);
  color: #fff;
  background: linear-gradient(135deg, #e9c995 0%, #d2a15d 58%, #bf8b48 100%);
  clip-path: none;
  box-shadow: 0 16px 28px rgba(159, 111, 54, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-size: clamp(20px, 4.4vw, 32px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.1em;
}

.app-shell:not(.is-home) .confirm-button:active {
  transform: scale(0.985);
}

.app-shell:not(.is-home) .disclaimer {
  display: none;
}

@media (max-width: 430px) {
  .app-shell:not(.is-home) .app {
    padding: 16px 12px 22px;
    gap: 14px;
  }

  .app-shell:not(.is-home) .topbar {
    gap: 16px;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    max-width: calc(100% - 60px);
    font-size: clamp(20px, 6.2vw, 26px);
    letter-spacing: 0.05em;
  }

  .app-shell:not(.is-home) .home-back-button {
    right: -2px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .app-shell:not(.is-home) .house-tabs {
    min-height: 54px;
    border-radius: 13px;
  }

  .app-shell:not(.is-home) .house-tab {
    font-size: clamp(19px, 5.5vw, 23px);
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding: 54px 10px 10px;
  }

  .app-shell:not(.is-home) .section-heading {
    top: 16px;
    left: 14px;
    gap: 8px;
  }

  .app-shell:not(.is-home) .section-heading span {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .app-shell:not(.is-home) .section-heading strong {
    font-size: 19px;
  }

  .app-shell:not(.is-home) .section-heading em {
    display: none;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    top: 14px;
    right: 10px;
    max-width: calc(100% - 118px);
    height: 32px;
    grid-auto-columns: minmax(58px, 1fr);
    border-radius: 9px;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    padding-inline: 6px;
    border-radius: 7px;
    font-size: 12px;
  }

  .app-shell:not(.is-home) .bottom-panel {
    padding: 54px 10px 12px;
    gap: 12px;
    grid-template-rows: auto auto 48px;
  }

  .app-shell:not(.is-home) .cards-scroll {
    grid-template-rows: 34px auto;
    gap: 12px 4px;
  }

  .app-shell:not(.is-home) .point-card {
    min-height: 34px;
    padding-inline: 2px;
    border-radius: 8px;
  }

  .app-shell:not(.is-home) .point-card h3 {
    gap: 2px;
    font-size: clamp(7px, 2.08vw, 8.5px);
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: 15px;
    height: 15px;
    min-width: 15px;
    font-size: 8px;
  }

  .app-shell:not(.is-home) .mobile-style-list {
    gap: 10px;
  }

  .app-shell:not(.is-home) .style-pill {
    grid-template-rows: clamp(72px, 20vw, 84px) 23px;
    gap: 6px;
  }

  .app-shell:not(.is-home) .style-pill strong {
    font-size: 12px;
    line-height: 23px;
  }

  .app-shell:not(.is-home) .confirm-button {
    height: 48px;
    min-height: 48px;
    border-radius: 14px;
    font-size: 20px;
  }
}

/* Final homepage reference lock: warm vertical landing with code-drawn icons. */
.app-shell.is-home {
  min-height: 100dvh;
  display: block !important;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 0%, rgba(237, 221, 197, 0.48), transparent 38%),
    linear-gradient(180deg, #fffdfa 0%, #f8f4ee 48%, #fffdf9 100%) !important;
  color: #38291f;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

.app-shell.is-home .app {
  display: none !important;
}

.app-shell.is-home .home-screen {
  width: min(100%, 980px) !important;
  max-width: 980px !important;
  height: auto !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: clamp(26px, 4.4vw, 44px) clamp(18px, 3.8vw, 38px) clamp(28px, 4vw, 42px) !important;
  display: block !important;
  overflow: visible !important;
  background: #fffdfa !important;
  box-shadow: 0 22px 70px rgba(80, 56, 32, 0.08);
}

.app-shell.is-home .home-screen > * + * {
  margin-top: clamp(22px, 3.2vw, 34px);
}

.app-shell.is-home .home-icon-defs {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.app-shell.is-home .home-icon-slot svg,
.app-shell.is-home .home-mini-icon svg,
.app-shell.is-home .home-contact-icon svg,
.app-shell.is-home .home-phone-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell.is-home .home-hero {
  position: relative !important;
  min-height: clamp(520px, 63vw, 670px) !important;
  padding: clamp(42px, 5.4vw, 68px) clamp(18px, 4.3vw, 46px) clamp(128px, 15vw, 168px) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(252, 244, 232, 0.68) 46%, rgba(255, 253, 249, 0.8) 100%),
    radial-gradient(circle at 12% 20%, rgba(218, 190, 146, 0.16), transparent 34%),
    linear-gradient(180deg, #fffefa 0%, #f2e7d6 100%) !important;
  box-shadow: none !important;
}

.app-shell.is-home .home-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: clamp(160px, 34%, 360px);
  right: clamp(10px, 3vw, 34px);
  bottom: clamp(148px, 16vw, 194px);
  height: clamp(170px, 23vw, 250px);
  opacity: 0.94;
  background:
    repeating-linear-gradient(90deg, rgba(255, 244, 221, 0.58) 0 3px, transparent 3px 17px),
    repeating-linear-gradient(0deg, rgba(255, 244, 221, 0.42) 0 2px, transparent 2px 20px),
    linear-gradient(90deg, #4d4237 0%, #7b614a 30%, #b1865a 48%, #5e4d3f 68%, #2f2d2b 100%);
  clip-path: polygon(0 72%, 4% 72%, 4% 34%, 12% 34%, 12% 12%, 23% 12%, 23% 6%, 34% 6%, 34% 22%, 45% 22%, 45% 34%, 54% 34%, 54% 28%, 63% 28%, 63% 39%, 73% 39%, 73% 30%, 85% 30%, 85% 36%, 96% 36%, 96% 68%, 100% 68%, 100% 100%, 0 100%);
  filter: drop-shadow(0 24px 20px rgba(74, 48, 26, 0.28));
}

.app-shell.is-home .home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -8%;
  right: -8%;
  bottom: clamp(88px, 10vw, 122px);
  height: clamp(126px, 15vw, 178px);
  background:
    linear-gradient(180deg, rgba(156, 121, 75, 0.26), rgba(255, 255, 255, 0.9) 76%),
    repeating-linear-gradient(0deg, rgba(189, 154, 103, 0.2) 0 1px, transparent 1px 11px),
    radial-gradient(ellipse at 52% 0%, rgba(73, 92, 76, 0.32), transparent 45%),
    linear-gradient(90deg, rgba(130, 92, 49, 0.08), rgba(214, 195, 164, 0.4), rgba(130, 92, 49, 0.08));
  transform: skewY(-1deg);
}

.app-shell.is-home .home-logo-slot {
  position: absolute !important;
  z-index: 3;
  top: clamp(38px, 5vw, 66px) !important;
  right: clamp(20px, 4.2vw, 54px) !important;
  width: auto !important;
  min-width: clamp(104px, 15vw, 150px);
  height: auto !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  gap: 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #49382b !important;
  box-shadow: none !important;
  text-align: center;
}

.app-shell.is-home .home-logo-wave {
  position: relative;
  width: clamp(54px, 7vw, 82px);
  height: clamp(18px, 2.5vw, 28px);
  display: block;
}

.app-shell.is-home .home-logo-wave::before,
.app-shell.is-home .home-logo-wave::after,
.app-shell.is-home .home-logo-wave b {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 34%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #2f2924 20%, #857461 52%, #2f2924 82%, transparent 100%);
  transform: skewX(-24deg) rotate(8deg);
}

.app-shell.is-home .home-logo-wave::before {
  top: 0;
}

.app-shell.is-home .home-logo-wave::after {
  top: 38%;
  left: 16%;
  opacity: 0.72;
}

.app-shell.is-home .home-logo-wave b:first-child {
  top: 72%;
  left: 36%;
  opacity: 0.9;
}

.app-shell.is-home .home-logo-wave b:last-child {
  display: none;
}

.app-shell.is-home .home-logo-slot span {
  display: block !important;
  color: #42342b !important;
  font-size: clamp(8px, 1.2vw, 12px) !important;
  font-weight: 800 !important;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.app-shell.is-home .home-logo-slot strong {
  display: block !important;
  color: #49382b !important;
  font-size: clamp(12px, 1.8vw, 18px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em;
}

.app-shell.is-home .home-copy {
  position: relative !important;
  z-index: 3;
  width: min(70%, 680px) !important;
  max-width: 680px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #36291f !important;
}

.app-shell.is-home .home-title {
  margin: 0 0 clamp(18px, 2.5vw, 30px) !important;
  color: #33271e !important;
  font-family: "STSong", "SimSun", "Songti SC", serif !important;
  font-size: clamp(40px, 6.3vw, 72px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.04em !important;
  text-shadow: 0 8px 24px rgba(110, 80, 46, 0.12);
}

.app-shell.is-home .home-title span {
  display: inline-block !important;
}

.app-shell.is-home .home-title span + span {
  margin-left: 0.34em;
}

.app-shell.is-home .home-subtitle,
.app-shell.is-home .home-desc {
  margin: 0 !important;
  color: #4a3a2d !important;
  font-size: clamp(17px, 2.25vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.02em;
}

.app-shell.is-home .home-desc {
  font-size: clamp(16px, 2vw, 24px) !important;
  font-weight: 750 !important;
}

.app-shell.is-home .home-feature-row {
  position: absolute !important;
  z-index: 4 !important;
  left: clamp(18px, 3.8vw, 46px) !important;
  right: clamp(18px, 3.8vw, 46px) !important;
  bottom: clamp(18px, 2.5vw, 32px) !important;
  margin: 0 !important;
  padding: clamp(14px, 2.3vw, 24px) clamp(10px, 2vw, 20px) !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(12px, 2vw, 22px) clamp(8px, 1.8vw, 18px) !important;
  border: 0 !important;
  border-radius: clamp(18px, 2.8vw, 28px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 249, 0.78)) !important;
  box-shadow: 0 16px 42px rgba(132, 93, 49, 0.09) !important;
  backdrop-filter: blur(8px);
}

.app-shell.is-home .home-feature {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: clamp(34px, 4.7vw, 50px) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(7px, 1vw, 12px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #c59a62 !important;
}

.app-shell.is-home .home-icon-slot {
  width: clamp(34px, 4.7vw, 50px) !important;
  height: clamp(34px, 4.7vw, 50px) !important;
  min-width: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1.4px solid rgba(198, 154, 96, 0.42) !important;
  border-radius: 50% 50% 50% 18% !important;
  background: rgba(255, 253, 249, 0.76) !important;
  color: #c79b61 !important;
  box-shadow: none !important;
  transform: rotate(-45deg);
}

.app-shell.is-home .home-icon-slot svg {
  width: 62%;
  height: 62%;
  transform: rotate(45deg);
}

.app-shell.is-home .home-feature p {
  min-width: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.app-shell.is-home .home-feature strong,
.app-shell.is-home .home-feature p span {
  display: block !important;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell.is-home .home-feature strong {
  color: #8b6a42 !important;
  font-size: clamp(10px, 1.55vw, 15px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.app-shell.is-home .home-feature p span {
  margin-top: 3px !important;
  color: rgba(139, 106, 66, 0.62) !important;
  font-size: clamp(8px, 1.15vw, 12px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.app-shell.is-home .home-main {
  position: relative !important;
  width: 100% !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(22px, 3.2vw, 34px) !important;
}

.app-shell.is-home .home-selection-card,
.app-shell.is-home .home-house-panel,
.app-shell.is-home .home-contact-strip {
  border: 1px solid rgba(214, 191, 160, 0.58) !important;
  border-radius: clamp(20px, 3vw, 28px) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 14px 42px rgba(72, 52, 32, 0.08) !important;
}

.app-shell.is-home .home-selection-card {
  position: relative !important;
  min-height: clamp(410px, 50vw, 560px) !important;
  padding: clamp(28px, 4.2vw, 44px) !important;
  display: grid !important;
  grid-template-columns: minmax(190px, 0.33fr) minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr auto !important;
  grid-template-areas:
    "copy interior"
    "services interior"
    "button interior" !important;
  gap: clamp(18px, 3vw, 34px) clamp(24px, 4vw, 46px) !important;
  overflow: hidden !important;
}

.app-shell.is-home .home-selection-card::after {
  display: none !important;
}

.app-shell.is-home .home-card-copy {
  grid-area: copy !important;
  min-width: 0;
}

.app-shell.is-home .home-card-copy h2,
.app-shell.is-home .home-house-panel h2 {
  margin: 0 !important;
  color: #3d2d21 !important;
  font-family: "STSong", "SimSun", "Songti SC", serif !important;
  font-size: clamp(30px, 4.2vw, 46px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.04em !important;
}

.app-shell.is-home .home-card-copy p {
  margin: clamp(14px, 2vw, 22px) 0 0 !important;
  color: #4d3d31 !important;
  font-size: clamp(16px, 2.2vw, 25px) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.app-shell.is-home .home-service-row {
  grid-area: services !important;
  align-self: center !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(24px, 4vw, 42px) clamp(18px, 3vw, 32px) !important;
}

.app-shell.is-home .home-service-row > div {
  min-width: 0 !important;
  display: grid !important;
  justify-items: center !important;
  gap: clamp(8px, 1.3vw, 13px) !important;
  text-align: center !important;
  color: #c79b61 !important;
}

.app-shell.is-home .home-mini-icon {
  width: clamp(48px, 7.2vw, 74px) !important;
  height: clamp(48px, 7.2vw, 74px) !important;
  min-width: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1.5px solid rgba(199, 155, 97, 0.58) !important;
  border-radius: 50% 50% 50% 16% !important;
  background: rgba(255, 253, 249, 0.88) !important;
  color: #c79b61 !important;
  transform: rotate(-45deg);
}

.app-shell.is-home .home-mini-icon svg {
  width: 58%;
  height: 58%;
  transform: rotate(45deg);
}

.app-shell.is-home .home-service-row strong,
.app-shell.is-home .home-service-row em {
  display: block !important;
  min-width: 0;
  color: #5b4633 !important;
  font-style: normal !important;
  white-space: nowrap;
}

.app-shell.is-home .home-service-row strong {
  font-size: clamp(14px, 2vw, 22px) !important;
  font-weight: 900 !important;
}

.app-shell.is-home .home-service-row em {
  margin-top: -3px !important;
  color: rgba(91, 70, 51, 0.66) !important;
  font-size: clamp(11px, 1.45vw, 16px) !important;
  font-weight: 700 !important;
}

.app-shell.is-home .home-interior-slot {
  position: relative !important;
  grid-area: interior !important;
  min-height: 100% !important;
  border-radius: clamp(16px, 2vw, 24px) !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 42%),
    radial-gradient(circle at 64% 48%, rgba(248, 252, 255, 0.9) 0 17%, transparent 18%),
    linear-gradient(90deg, rgba(76, 51, 33, 0.38) 0 22%, transparent 23% 72%, rgba(93, 61, 36, 0.28) 73% 100%),
    linear-gradient(180deg, #f6eee3 0%, #ded0be 57%, #ba9c7b 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(130, 96, 59, 0.1), 0 16px 38px rgba(89, 62, 37, 0.12) !important;
}

.app-shell.is-home .home-interior-slot::before {
  content: "";
  position: absolute;
  inset: 11% 7% 22% 38%;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(199, 224, 239, 0.75)),
    linear-gradient(90deg, transparent 0 48%, rgba(90, 74, 60, 0.35) 49% 51%, transparent 52% 100%);
  box-shadow: 0 0 0 5px rgba(91, 65, 43, 0.1), 0 22px 58px rgba(118, 88, 55, 0.18);
}

.app-shell.is-home .home-interior-slot::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 8%;
  height: 26%;
  border-radius: 42% 42% 12px 12px;
  background:
    radial-gradient(ellipse at 74% 44%, #a76d33 0 12%, transparent 13%),
    radial-gradient(ellipse at 46% 54%, #d8c8b2 0 38%, transparent 39%),
    linear-gradient(180deg, #f0e3d0 0%, #cdb594 100%);
  box-shadow:
    -24px -44px 0 -26px rgba(120, 73, 35, 0.42),
    34px -36px 0 -26px rgba(112, 72, 40, 0.36),
    0 22px 36px rgba(82, 52, 29, 0.18);
}

.app-shell.is-home .home-enter-button {
  grid-area: button !important;
  align-self: end !important;
  width: min(100%, 230px) !important;
  height: clamp(50px, 6.6vw, 68px) !important;
  min-height: 0 !important;
  padding: 0 clamp(20px, 3.2vw, 32px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #e5bf82 0%, #c99652 100%) !important;
  box-shadow: 0 16px 30px rgba(178, 126, 62, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
  font-size: clamp(15px, 2vw, 21px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.app-shell.is-home .home-enter-button i {
  font-style: normal;
  font-size: 1.2em;
  line-height: 1;
}

.app-shell.is-home .home-house-panel {
  padding: clamp(26px, 4vw, 42px) !important;
}

.app-shell.is-home .home-house-cards {
  margin-top: clamp(22px, 3.4vw, 38px) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.5vw, 26px) !important;
}

.app-shell.is-home .home-house-card {
  min-width: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-rows: minmax(190px, clamp(210px, 27vw, 305px)) auto !important;
  border: 0 !important;
  border-radius: clamp(16px, 2.2vw, 22px) !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(68, 47, 28, 0.07) !important;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-shell.is-home .home-house-card:active {
  transform: scale(0.985);
}

.app-shell.is-home .home-house-plan {
  position: relative !important;
  min-height: 0 !important;
  display: block !important;
  background:
    radial-gradient(circle at 50% 48%, rgba(85, 64, 45, 0.05), transparent 56%),
    linear-gradient(180deg, #fff 0%, #f9f8f5 100%) !important;
  overflow: hidden !important;
}

.app-shell.is-home .home-house-plan::before {
  content: "";
  position: absolute;
  inset: 13% 12% 11% 12%;
  opacity: 0.92;
  background:
    linear-gradient(#24201c, #24201c) 8% 8% / 72% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 8% 8% / 2px 72% no-repeat,
    linear-gradient(#24201c, #24201c) 79% 8% / 2px 32% no-repeat,
    linear-gradient(#24201c, #24201c) 42% 8% / 2px 68% no-repeat,
    linear-gradient(#24201c, #24201c) 8% 36% / 55% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 18% 36% / 2px 42% no-repeat,
    linear-gradient(#24201c, #24201c) 18% 78% / 62% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 79% 52% / 2px 26% no-repeat,
    linear-gradient(#24201c, #24201c) 62% 52% / 28% 2px no-repeat,
    linear-gradient(#8e867b, #8e867b) 50% 58% / 18% 2px no-repeat,
    linear-gradient(#8e867b, #8e867b) 28% 20% / 12% 2px no-repeat,
    linear-gradient(#d8d3cb, #d8d3cb) 0 0 / 100% 100% no-repeat;
  border-radius: 8px;
  filter: drop-shadow(0 10px 16px rgba(40, 32, 23, 0.1));
  mix-blend-mode: multiply;
}

.app-shell.is-home .home-house-plan::after {
  content: "";
  position: absolute;
  inset: 20% 18%;
  border: 1px solid rgba(95, 83, 72, 0.16);
  border-radius: 999px;
  opacity: 0.42;
  box-shadow:
    -52px -36px 0 -24px rgba(82, 72, 64, 0.12),
    46px -20px 0 -24px rgba(82, 72, 64, 0.12),
    22px 42px 0 -25px rgba(82, 72, 64, 0.12);
}

.app-shell.is-home .home-house-card[data-house-type="169"] .home-house-plan::before {
  inset: 13% 9% 10%;
  background:
    linear-gradient(#24201c, #24201c) 6% 10% / 78% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 6% 10% / 2px 70% no-repeat,
    linear-gradient(#24201c, #24201c) 84% 10% / 2px 60% no-repeat,
    linear-gradient(#24201c, #24201c) 18% 28% / 66% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 18% 28% / 2px 52% no-repeat,
    linear-gradient(#24201c, #24201c) 46% 10% / 2px 70% no-repeat,
    linear-gradient(#24201c, #24201c) 6% 80% / 78% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 62% 42% / 28% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 62% 42% / 2px 38% no-repeat,
    linear-gradient(#8e867b, #8e867b) 52% 52% / 18% 2px no-repeat,
    linear-gradient(#8e867b, #8e867b) 27% 52% / 13% 2px no-repeat,
    linear-gradient(#d8d3cb, #d8d3cb) 0 0 / 100% 100% no-repeat;
}

.app-shell.is-home .home-house-card[data-house-type="187"] .home-house-plan::before {
  inset: 13% 13% 10%;
  background:
    linear-gradient(#24201c, #24201c) 18% 8% / 64% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 18% 8% / 2px 28% no-repeat,
    linear-gradient(#24201c, #24201c) 82% 8% / 2px 70% no-repeat,
    linear-gradient(#24201c, #24201c) 36% 8% / 2px 70% no-repeat,
    linear-gradient(#24201c, #24201c) 18% 36% / 64% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 8% 48% / 74% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 8% 48% / 2px 30% no-repeat,
    linear-gradient(#24201c, #24201c) 8% 78% / 74% 2px no-repeat,
    linear-gradient(#24201c, #24201c) 56% 48% / 2px 30% no-repeat,
    linear-gradient(#8e867b, #8e867b) 44% 58% / 18% 2px no-repeat,
    linear-gradient(#8e867b, #8e867b) 58% 20% / 12% 2px no-repeat,
    linear-gradient(#d8d3cb, #d8d3cb) 0 0 / 100% 100% no-repeat;
}

.app-shell.is-home .home-house-info {
  padding: clamp(22px, 3.5vw, 34px) clamp(12px, 2vw, 18px) clamp(20px, 3vw, 28px) !important;
  display: grid !important;
  justify-items: center !important;
  gap: clamp(10px, 1.5vw, 16px) !important;
  background: linear-gradient(180deg, #f8f1e8 0%, #efe2d1 100%) !important;
  color: #4d341e !important;
  text-align: center !important;
}

.app-shell.is-home .home-house-info strong {
  color: #5a3a1c !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: clamp(34px, 5vw, 52px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

.app-shell.is-home .home-house-info span {
  display: block !important;
  color: #4b3729 !important;
  font-size: clamp(13px, 1.8vw, 19px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-contact-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1.48fr) minmax(230px, 0.74fr) !important;
  align-items: center !important;
  gap: clamp(18px, 3vw, 34px) !important;
  min-height: clamp(100px, 13vw, 144px) !important;
  padding: clamp(22px, 3.8vw, 36px) clamp(26px, 4.8vw, 54px) !important;
}

.app-shell.is-home .home-contact-strip p {
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(14px, 2vw, 22px) !important;
  color: #4b3b2f !important;
}

.app-shell.is-home .home-contact-strip strong {
  min-width: 0;
  display: block !important;
  color: #4b3b2f !important;
  font-size: clamp(17px, 2.3vw, 26px) !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

.app-shell.is-home .home-contact-icon,
.app-shell.is-home .home-phone-icon {
  width: clamp(38px, 5vw, 58px) !important;
  height: clamp(38px, 5vw, 58px) !important;
  min-width: clamp(38px, 5vw, 58px) !important;
  display: grid !important;
  place-items: center !important;
  color: #c79b61 !important;
}

.app-shell.is-home .home-contact-icon svg,
.app-shell.is-home .home-phone-icon svg {
  width: 100%;
  height: 100%;
}

.app-shell.is-home .home-contact-phone strong {
  color: #3f2b1d !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
}

.app-shell.is-home .home-footnote,
.app-shell.is-home .home-value-strip {
  display: none !important;
}

@media (min-width: 981px) {
  .app-shell.is-home .home-screen {
    border-left: 1px solid rgba(216, 199, 172, 0.4);
    border-right: 1px solid rgba(216, 199, 172, 0.4);
  }
}

@media (max-width: 760px) {
  .app-shell.is-home .home-screen {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 12px 24px !important;
    box-shadow: none !important;
  }

  .app-shell.is-home .home-screen > * + * {
    margin-top: 16px;
  }

  .app-shell.is-home .home-hero {
    min-height: clamp(390px, 104vw, 520px) !important;
    padding: 32px 16px 118px !important;
  }

  .app-shell.is-home .home-logo-slot {
    top: 28px !important;
    right: 16px !important;
    min-width: 82px;
  }

  .app-shell.is-home .home-logo-wave {
    width: 48px;
    height: 16px;
  }

  .app-shell.is-home .home-logo-slot span {
    font-size: 7px !important;
  }

  .app-shell.is-home .home-logo-slot strong {
    font-size: 11px !important;
  }

  .app-shell.is-home .home-copy {
    width: calc(100% - 92px) !important;
  }

  .app-shell.is-home .home-title {
    margin-bottom: 12px !important;
    font-size: clamp(28px, 8.8vw, 40px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0.02em !important;
  }

  .app-shell.is-home .home-title span {
    display: block !important;
  }

  .app-shell.is-home .home-title span + span {
    margin-left: 0;
  }

  .app-shell.is-home .home-subtitle,
  .app-shell.is-home .home-desc {
    font-size: clamp(12px, 3.25vw, 16px) !important;
    line-height: 1.6 !important;
  }

  .app-shell.is-home .home-hero::before {
    left: 34%;
    right: -1%;
    bottom: 130px;
    height: 145px;
  }

  .app-shell.is-home .home-hero::after {
    bottom: 82px;
    height: 94px;
  }

  .app-shell.is-home .home-feature-row {
    left: 8px !important;
    right: 8px !important;
    bottom: 10px !important;
    padding: 9px 7px !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px 4px !important;
    border-radius: 16px !important;
  }

  .app-shell.is-home .home-feature {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 4px !important;
    text-align: center !important;
  }

  .app-shell.is-home .home-icon-slot {
    width: 28px !important;
    height: 28px !important;
  }

  .app-shell.is-home .home-feature strong {
    width: 100%;
    font-size: clamp(6px, 1.82vw, 8px) !important;
    line-height: 1.08 !important;
  }

  .app-shell.is-home .home-feature p span {
    display: none !important;
  }

  .app-shell.is-home .home-selection-card {
    min-height: 0 !important;
    padding: 18px !important;
    grid-template-columns: 0.38fr minmax(0, 0.62fr) !important;
    grid-template-rows: auto 1fr auto !important;
    gap: 12px 14px !important;
  }

  .app-shell.is-home .home-card-copy h2,
  .app-shell.is-home .home-house-panel h2 {
    font-size: clamp(23px, 6.8vw, 31px) !important;
  }

  .app-shell.is-home .home-card-copy p {
    margin-top: 8px !important;
    font-size: clamp(12px, 3.3vw, 15px) !important;
  }

  .app-shell.is-home .home-service-row {
    gap: 13px 9px !important;
  }

  .app-shell.is-home .home-mini-icon {
    width: 38px !important;
    height: 38px !important;
  }

  .app-shell.is-home .home-service-row strong {
    font-size: clamp(10px, 2.7vw, 13px) !important;
  }

  .app-shell.is-home .home-service-row em {
    font-size: clamp(8px, 2.1vw, 10px) !important;
  }

  .app-shell.is-home .home-interior-slot {
    min-height: clamp(210px, 58vw, 290px) !important;
  }

  .app-shell.is-home .home-enter-button {
    width: min(100%, 150px) !important;
    height: 42px !important;
    padding-inline: 12px !important;
    gap: 8px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  .app-shell.is-home .home-house-panel {
    padding: 18px !important;
  }

  .app-shell.is-home .home-house-cards {
    margin-top: 16px !important;
    gap: 10px !important;
  }

  .app-shell.is-home .home-house-card {
    grid-template-rows: minmax(116px, 30vw) auto !important;
    border-radius: 14px !important;
  }

  .app-shell.is-home .home-house-info {
    padding: 14px 6px 13px !important;
    gap: 6px !important;
  }

  .app-shell.is-home .home-house-info strong {
    font-size: clamp(24px, 7.1vw, 32px) !important;
  }

  .app-shell.is-home .home-house-info span {
    font-size: clamp(8px, 2.25vw, 10px) !important;
    white-space: normal !important;
  }

  .app-shell.is-home .home-contact-strip {
    min-height: 0 !important;
    padding: 16px 14px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .app-shell.is-home .home-contact-strip p {
    gap: 10px !important;
  }

  .app-shell.is-home .home-contact-icon,
  .app-shell.is-home .home-phone-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }

  .app-shell.is-home .home-contact-strip strong {
    font-size: clamp(12px, 3.4vw, 15px) !important;
  }

  .app-shell.is-home .home-contact-phone strong {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
}

@media (max-width: 380px) {
  .app-shell.is-home .home-screen {
    padding-inline: 9px !important;
  }

  .app-shell.is-home .home-hero {
    min-height: 384px !important;
    padding-inline: 13px !important;
  }

  .app-shell.is-home .home-selection-card {
    padding: 14px !important;
    gap: 10px !important;
  }

  .app-shell.is-home .home-mini-icon {
    width: 34px !important;
    height: 34px !important;
  }
}

@media (max-width: 899px) and (orientation: landscape) {
  .app-shell.is-home {
    background: #fffdfa !important;
  }

  .app-shell.is-home .home-screen {
    width: min(430px, 100dvw) !important;
    max-width: 430px !important;
  }

  .app-shell:not(.is-home) {
    justify-content: center !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
    background: #fffdfa !important;
  }

  .app-shell:not(.is-home) .app {
    width: min(430px, 100dvw) !important;
    max-width: 430px !important;
    margin: 0 auto !important;
  }
}

/* Homepage mobile card repair: keep the selection card horizontal and readable. */
@media (max-width: 760px) {
  .app-shell.is-home .home-selection-card {
    min-height: clamp(292px, 78vw, 352px) !important;
    padding: 18px !important;
    grid-template-columns: minmax(146px, 0.43fr) minmax(0, 0.57fr) !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    grid-template-areas:
      "copy interior"
      "services interior"
      "button interior" !important;
    align-items: stretch !important;
    gap: 10px 14px !important;
  }

  .app-shell.is-home .home-card-copy {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    grid-area: copy !important;
    align-self: start !important;
  }

  .app-shell.is-home .home-card-copy h2 {
    width: max-content !important;
    max-width: 100% !important;
    display: block !important;
    font-size: clamp(25px, 6.8vw, 29px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    word-break: keep-all !important;
  }

  .app-shell.is-home .home-card-copy p {
    width: 100% !important;
    margin-top: 8px !important;
    font-size: clamp(12px, 3.2vw, 14px) !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }

  .app-shell.is-home .home-service-row {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    grid-area: services !important;
    align-self: center !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px 8px !important;
  }

  .app-shell.is-home .home-service-row > div {
    gap: 5px !important;
  }

  .app-shell.is-home .home-mini-icon {
    width: clamp(32px, 9vw, 39px) !important;
    height: clamp(32px, 9vw, 39px) !important;
  }

  .app-shell.is-home .home-service-row strong {
    font-size: clamp(9px, 2.65vw, 12px) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .app-shell.is-home .home-service-row em {
    display: block !important;
    font-size: clamp(7px, 2vw, 9px) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }

  .app-shell.is-home .home-enter-button {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    grid-area: button !important;
    align-self: end !important;
    width: min(100%, 148px) !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding-inline: 10px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .app-shell.is-home .home-interior-slot {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    grid-area: interior !important;
    min-height: 100% !important;
    border-radius: 15px !important;
  }
}

@media (max-width: 380px) {
  .app-shell.is-home .home-selection-card {
    grid-template-columns: minmax(132px, 0.42fr) minmax(0, 0.58fr) !important;
    padding: 14px !important;
    gap: 9px 12px !important;
  }

  .app-shell.is-home .home-card-copy h2 {
    font-size: 24px !important;
  }

  .app-shell.is-home .home-enter-button {
    width: 136px !important;
    font-size: 11px !important;
  }
}

/* Homepage house-plan refinement: denser line drawings, closer to the reference cards. */
.app-shell.is-home .home-house-plan::before {
  border: 2px solid rgba(42, 35, 29, 0.84) !important;
  background:
    linear-gradient(#26211c, #26211c) 12% 13% / 66% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 12% 13% / 2px 69% no-repeat,
    linear-gradient(#26211c, #26211c) 78% 13% / 2px 28% no-repeat,
    linear-gradient(#26211c, #26211c) 39% 13% / 2px 70% no-repeat,
    linear-gradient(#26211c, #26211c) 12% 34% / 54% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 25% 34% / 2px 48% no-repeat,
    linear-gradient(#26211c, #26211c) 12% 82% / 68% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 59% 50% / 30% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 77% 50% / 2px 32% no-repeat,
    linear-gradient(#a79f94, #a79f94) 48% 58% / 16% 1px no-repeat,
    linear-gradient(#a79f94, #a79f94) 48% 66% / 13% 1px no-repeat,
    linear-gradient(#a79f94, #a79f94) 18% 50% / 12% 1px no-repeat,
    linear-gradient(#a79f94, #a79f94) 18% 58% / 9% 1px no-repeat,
    radial-gradient(circle at 63% 30%, transparent 0 9px, rgba(129, 121, 111, 0.44) 10px 11px, transparent 12px),
    radial-gradient(circle at 31% 69%, transparent 0 7px, rgba(129, 121, 111, 0.34) 8px 9px, transparent 10px),
    linear-gradient(#ece8df, #ece8df) 0 0 / 100% 100% no-repeat !important;
}

.app-shell.is-home .home-house-card[data-house-type="169"] .home-house-plan::before {
  border: 2px solid rgba(42, 35, 29, 0.84) !important;
  background:
    linear-gradient(#26211c, #26211c) 8% 12% / 76% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 8% 12% / 2px 68% no-repeat,
    linear-gradient(#26211c, #26211c) 84% 12% / 2px 60% no-repeat,
    linear-gradient(#26211c, #26211c) 18% 28% / 66% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 18% 28% / 2px 52% no-repeat,
    linear-gradient(#26211c, #26211c) 46% 12% / 2px 68% no-repeat,
    linear-gradient(#26211c, #26211c) 8% 80% / 76% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 62% 43% / 28% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 62% 43% / 2px 37% no-repeat,
    linear-gradient(#a79f94, #a79f94) 52% 52% / 17% 1px no-repeat,
    linear-gradient(#a79f94, #a79f94) 52% 62% / 14% 1px no-repeat,
    linear-gradient(#a79f94, #a79f94) 27% 52% / 13% 1px no-repeat,
    radial-gradient(circle at 67% 63%, transparent 0 10px, rgba(129, 121, 111, 0.36) 11px 12px, transparent 13px),
    radial-gradient(circle at 32% 21%, transparent 0 7px, rgba(129, 121, 111, 0.32) 8px 9px, transparent 10px),
    linear-gradient(#ece8df, #ece8df) 0 0 / 100% 100% no-repeat !important;
}

.app-shell.is-home .home-house-card[data-house-type="187"] .home-house-plan::before {
  border: 2px solid rgba(42, 35, 29, 0.84) !important;
  background:
    linear-gradient(#26211c, #26211c) 18% 9% / 64% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 18% 9% / 2px 28% no-repeat,
    linear-gradient(#26211c, #26211c) 82% 9% / 2px 70% no-repeat,
    linear-gradient(#26211c, #26211c) 36% 9% / 2px 70% no-repeat,
    linear-gradient(#26211c, #26211c) 18% 36% / 64% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 8% 48% / 74% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 8% 48% / 2px 31% no-repeat,
    linear-gradient(#26211c, #26211c) 8% 79% / 74% 2px no-repeat,
    linear-gradient(#26211c, #26211c) 56% 48% / 2px 31% no-repeat,
    linear-gradient(#a79f94, #a79f94) 44% 58% / 18% 1px no-repeat,
    linear-gradient(#a79f94, #a79f94) 44% 68% / 13% 1px no-repeat,
    linear-gradient(#a79f94, #a79f94) 58% 20% / 12% 1px no-repeat,
    radial-gradient(circle at 62% 63%, transparent 0 8px, rgba(129, 121, 111, 0.36) 9px 10px, transparent 11px),
    radial-gradient(circle at 27% 25%, transparent 0 7px, rgba(129, 121, 111, 0.3) 8px 9px, transparent 10px),
    linear-gradient(#ece8df, #ece8df) 0 0 / 100% 100% no-repeat !important;
}

/* Final selection mobile fit: one portrait screen, no vertical page scroll. */
@media (max-width: 760px) {
  html:has(.app-shell:not(.is-home)),
  html:has(.app-shell:not(.is-home)) body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none;
    background: #faf7f2 !important;
  }

  .app-shell:not(.is-home) {
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    display: grid !important;
    place-items: stretch center !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 50% -10%, rgba(228, 203, 166, 0.22), transparent 38%),
      linear-gradient(180deg, #fffdf9 0%, #f8f3eb 100%) !important;
  }

  .app-shell:not(.is-home) .app {
    --fit-gap: clamp(6px, 1.15dvh, 10px);
    width: min(100vw, 430px) !important;
    max-width: 430px !important;
    height: 100dvh !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: max(8px, env(safe-area-inset-top)) 12px max(8px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      clamp(82px, 10.5dvh, 98px)
      minmax(0, 1fr)
      clamp(206px, 25.8dvh, 238px) !important;
    gap: var(--fit-gap) !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .app-shell:not(.is-home) .topbar {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    grid-template-rows: clamp(28px, 3.6dvh, 34px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 5px 8px !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .brand-title {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    justify-self: center !important;
    text-align: center !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    max-width: none !important;
    margin: 0 !important;
    color: #2f261f !important;
    font-family: "STSong", "SimSun", "Songti SC", serif !important;
    font-size: clamp(22px, 6vw, 28px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
  }

  .app-shell:not(.is-home) .brand-title::after {
    bottom: -7px !important;
    width: 42px !important;
    height: 10px !important;
    opacity: 0.82 !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #6a5542 !important;
  }

  .app-shell:not(.is-home) .home-back-button span {
    width: 23px !important;
    height: 23px !important;
  }

  .app-shell:not(.is-home) .house-control {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-height: 0 !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    min-height: 0 !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    border: 1px solid rgba(218, 208, 193, 0.92) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 7px 18px rgba(98, 71, 43, 0.07) !important;
  }

  .app-shell:not(.is-home) .house-tab {
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-right: 1px solid rgba(218, 208, 193, 0.7) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #181818 !important;
    font-size: clamp(21px, 6vw, 27px) !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab:last-child {
    border-right: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #835112 !important;
    background: linear-gradient(135deg, #f1e3ca 0%, #d7b584 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  }

  .app-shell:not(.is-home) .main-grid {
    min-height: 0 !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1.06fr) minmax(0, 0.86fr) !important;
    gap: var(--fit-gap) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel,
  .app-shell:not(.is-home) .bottom-panel {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    border: 1px solid rgba(224, 214, 200, 0.78) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 8px 20px rgba(86, 62, 38, 0.07) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding: clamp(39px, 5.6dvh, 48px) 10px 9px !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  .app-shell:not(.is-home) .section-heading {
    top: 12px !important;
    left: 14px !important;
    gap: 8px !important;
  }

  .app-shell:not(.is-home) .section-heading span {
    width: clamp(25px, 6.4vw, 30px) !important;
    height: clamp(25px, 6.4vw, 30px) !important;
    font-size: clamp(13px, 3.3vw, 16px) !important;
    background: #cda05e !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    font-size: clamp(18px, 4.9vw, 23px) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .section-heading em {
    display: none !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    top: 12px !important;
    right: 10px !important;
    height: clamp(27px, 3.7dvh, 32px) !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: calc(100% - 120px) !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(clamp(48px, 14vw, 62px), 1fr) !important;
    gap: 0 !important;
    padding: 3px !important;
    border: 1px solid rgba(225, 218, 208, 0.9) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 7px 14px rgba(78, 58, 36, 0.06) !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 5px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #2b2926 !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .bird-tab.is-active,
  .app-shell:not(.is-home) .view-tab.is-active {
    color: #754914 !important;
    background: linear-gradient(135deg, #f1e3ca 0%, #d9b985 100%) !important;
    box-shadow: 0 2px 7px rgba(148, 104, 48, 0.12) !important;
  }

  .app-shell:not(.is-home) .media-stage {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .bird-panel .media-stage {
    background: transparent !important;
  }

  .app-shell:not(.is-home) .scene-image,
  .app-shell:not(.is-home) .preview-image,
  .app-shell:not(.is-home) .image-overlay-stack img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .app-shell:not(.is-home) .preview-stage.is-detail-view .preview-image {
    object-fit: cover !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    padding: clamp(42px, 5.7dvh, 50px) 10px 9px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) clamp(38px, 5dvh, 45px) !important;
    gap: 7px !important;
  }

  .app-shell:not(.is-home) .bottom-heading {
    top: 11px !important;
  }

  .app-shell:not(.is-home) .content-switcher {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    display: block !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--point-count, 7), minmax(0, 1fr)) !important;
    grid-template-rows: clamp(28px, 3.7dvh, 33px) minmax(0, 1fr) !important;
    gap: 7px 5px !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .point-card {
    grid-row: 1 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 3px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(226, 218, 208, 0.9) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card.is-active {
    border-color: rgba(207, 160, 88, 0.55) !important;
    background: linear-gradient(135deg, #f2e4cd 0%, #dcc08f 100%) !important;
    color: #744915 !important;
  }

  .app-shell:not(.is-home) .point-card-header {
    min-width: 0 !important;
    width: 100% !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    color: inherit !important;
    font-size: clamp(7px, 1.9vw, 8.4px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: clamp(13px, 3.1vw, 16px) !important;
    height: clamp(13px, 3.1vw, 16px) !important;
    min-width: clamp(13px, 3.1vw, 16px) !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: rgba(199, 159, 101, 0.82) !important;
    font-size: clamp(7px, 1.8vw, 8.5px) !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .point-card.is-active h3::before {
    background: #c99a58 !important;
  }

  .app-shell:not(.is-home) .mobile-active-styles,
  .app-shell:not(.is-home) .desktop-active-styles {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .mobile-style-list {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .app-shell:not(.is-home) .style-pill {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) clamp(19px, 2.6dvh, 23px) !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .style-thumb {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 1px solid rgba(201, 154, 88, 0.18) !important;
    border-radius: 8px !important;
    background: #f3eee6 !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .style-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb {
    border-color: #c89a5a !important;
    box-shadow: inset 0 0 0 1px rgba(200, 154, 90, 0.68) !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
    right: 0 !important;
    bottom: 0 !important;
    width: clamp(25px, 6vw, 32px) !important;
    height: clamp(25px, 6vw, 32px) !important;
    border-radius: 12px 0 8px 0 !important;
    background: linear-gradient(135deg, #d9b77d, #bd8b45) !important;
    color: #fff !important;
    content: "\2713" !important;
    font-size: clamp(17px, 4.2vw, 22px) !important;
    font-weight: 900 !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    min-width: 0 !important;
    color: #4e4035 !important;
    font-size: clamp(10px, 2.7vw, 12px) !important;
    font-weight: 800 !important;
    line-height: clamp(19px, 2.6dvh, 23px) !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .app-shell:not(.is-home) .checkout-panel {
    grid-row: 2 !important;
    min-height: 0 !important;
    height: 100% !important;
    display: block !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #dfbd83 0%, #c69653 100%) !important;
    box-shadow: 0 7px 16px rgba(164, 112, 47, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
    font-size: clamp(18px, 4.8vw, 23px) !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
  }

  .app-shell:not(.is-home) .disclaimer {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .app-shell:not(.is-home) .app {
    padding-inline: 10px !important;
    grid-template-rows:
      clamp(78px, 10.2dvh, 92px)
      minmax(0, 1fr)
      clamp(198px, 25.2dvh, 224px) !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    font-size: clamp(20px, 5.8vw, 24px) !important;
  }

  .app-shell:not(.is-home) .house-tab {
    font-size: clamp(19px, 5.6vw, 24px) !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    font-size: clamp(17px, 4.8vw, 21px) !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    font-size: 6.8px !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    font-size: 6.5px !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    font-size: 10px !important;
  }
}

/* Portrait one-screen polish: match the reference UI and keep every control visible. */
@media (max-width: 760px) {
  html:has(.app-shell:not(.is-home)),
  html:has(.app-shell:not(.is-home)) body {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    background: #fbf8f2 !important;
  }

  .app-shell:not(.is-home) {
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    display: grid !important;
    justify-content: center !important;
    align-items: stretch !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #fffdfa 0%, #f7f1e8 100%) !important;
  }

  .app-shell:not(.is-home) .app {
    --screen-gap: clamp(6px, 1dvh, 9px);
    width: min(100vw, 430px) !important;
    max-width: 430px !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    margin: 0 auto !important;
    padding: max(7px, env(safe-area-inset-top)) 12px max(7px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      clamp(74px, 9.4dvh, 88px)
      minmax(0, 1fr)
      clamp(202px, 24.8dvh, 226px) !important;
    gap: var(--screen-gap) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    align-content: stretch !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .app-shell:not(.is-home) .topbar {
    grid-row: 1 !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    grid-template-rows: 27px minmax(0, 1fr) !important;
    gap: 4px 8px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .brand-title {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: center !important;
    min-width: 0 !important;
    width: auto !important;
    text-align: center !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    margin: 0 !important;
    max-width: none !important;
    color: #302720 !important;
    font-family: "STSong", "SimSun", "Songti SC", serif !important;
    font-size: clamp(20px, 5.6vw, 25px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.045em !important;
    white-space: nowrap !important;
  }

  .app-shell:not(.is-home) .brand-title::after {
    display: none !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    position: static !important;
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    min-height: 31px !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #6c5745 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .home-back-button span {
    width: 22px !important;
    height: 22px !important;
  }

  .app-shell:not(.is-home) .house-control {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
    align-self: stretch !important;
    justify-self: stretch !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 1px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 0 !important;
    border: 1px solid rgba(215, 207, 197, 0.95) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 7px 16px rgba(89, 66, 42, 0.06) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .house-tab {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-right: 1px solid rgba(218, 210, 200, 0.82) !important;
    border-radius: 0 !important;
    color: #171514 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(20px, 5.7vw, 25px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab:last-child {
    border-right: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #79501f !important;
    background: linear-gradient(135deg, #f1e2cc 0%, #d7b88b 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52) !important;
  }

  .app-shell:not(.is-home) .main-grid {
    grid-row: 2 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1.04fr) minmax(0, 0.92fr) !important;
    gap: var(--screen-gap) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    align-content: stretch !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel,
  .app-shell:not(.is-home) .bottom-panel {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: 100% !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    border: 1px solid rgba(222, 214, 202, 0.92) !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 7px 17px rgba(78, 57, 34, 0.06) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel {
    grid-row: 1 !important;
  }

  .app-shell:not(.is-home) .effect-panel {
    grid-row: 2 !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding: 37px 8px 7px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  .app-shell:not(.is-home) .section-heading {
    top: 10px !important;
    left: 12px !important;
    right: auto !important;
    height: 24px !important;
    gap: 7px !important;
    align-items: center !important;
  }

  .app-shell:not(.is-home) .section-heading span {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    background: #cda05e !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    font-size: clamp(17px, 4.5vw, 20px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .section-heading em {
    display: none !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    top: 10px !important;
    right: 9px !important;
    left: auto !important;
    width: auto !important;
    max-width: calc(100% - 112px) !important;
    height: 28px !important;
    min-height: 0 !important;
    padding: 2px !important;
    display: inline-grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(50px, 1fr) !important;
    gap: 0 !important;
    border: 1px solid rgba(224, 217, 207, 0.95) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .view-tabs {
    grid-auto-columns: minmax(46px, 1fr) !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 5px !important;
    border: 0 !important;
    border-radius: 5px !important;
    color: #332b24 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(11px, 2.9vw, 13px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .app-shell:not(.is-home) .bird-tab.is-active,
  .app-shell:not(.is-home) .view-tab.is-active {
    color: #704719 !important;
    background: linear-gradient(135deg, #f0e1cb 0%, #d9bd91 100%) !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .media-stage,
  .app-shell:not(.is-home) .bird-panel .media-stage,
  .app-shell:not(.is-home) .effect-panel .media-stage {
    inline-size: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    align-self: end !important;
    justify-self: stretch !important;
    aspect-ratio: 16 / 9 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f7f0e7 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel .media-stage {
    aspect-ratio: 16 / 9 !important;
    background: transparent !important;
  }

  .app-shell:not(.is-home) .scene-image,
  .app-shell:not(.is-home) .preview-image,
  .app-shell:not(.is-home) .image-overlay-stack,
  .app-shell:not(.is-home) .image-overlay-stack img {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    inline-size: 100% !important;
    block-size: 100% !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .app-shell:not(.is-home) .scene-image,
  .app-shell:not(.is-home) .preview-image,
  .app-shell:not(.is-home) .image-overlay-stack img {
    object-fit: contain !important;
    object-position: center !important;
  }

  .app-shell:not(.is-home) .preview-stage.is-detail-view .preview-image,
  .app-shell:not(.is-home) .preview-stage.is-detail-view .image-overlay-stack img {
    object-fit: cover !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    grid-row: 3 !important;
    padding: 38px 10px 8px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) 42px !important;
    gap: 6px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  .app-shell:not(.is-home) .bottom-heading {
    top: 10px !important;
    left: 12px !important;
  }

  .app-shell:not(.is-home) .content-switcher {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    display: block !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--point-count, 7), minmax(0, 1fr)) !important;
    grid-template-rows: 30px minmax(0, 1fr) !important;
    gap: 6px 4px !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card {
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 30px !important;
    padding: 0 2px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(224, 217, 207, 0.95) !important;
    border-radius: 6px !important;
    color: #4d4338 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card.is-active {
    border-color: rgba(207, 160, 88, 0.34) !important;
    color: #7b5127 !important;
    background: linear-gradient(135deg, #f2e4cf 0%, #e3c596 100%) !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .point-card-header {
    width: 100% !important;
    min-width: 0 !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    color: inherit !important;
    font-size: clamp(6.8px, 1.75vw, 8px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: #c69c61 !important;
    font-size: 7px !important;
    font-weight: 900 !important;
  }

  .app-shell:not(.is-home) .point-card .style-pills,
  .app-shell:not(.is-home) .point-card .current-style,
  .app-shell:not(.is-home) .mobile-active-title,
  .app-shell:not(.is-home) .active-style-section-head,
  .app-shell:not(.is-home) .style-price,
  .app-shell:not(.is-home) .effect-caption,
  .app-shell:not(.is-home) .disclaimer {
    display: none !important;
  }

  .app-shell:not(.is-home) .mobile-active-styles,
  .app-shell:not(.is-home) .desktop-active-styles {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .mobile-style-list {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .app-shell:not(.is-home) .style-pill {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) 19px !important;
    gap: 3px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .style-thumb {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: 1px solid rgba(196, 150, 86, 0.2) !important;
    border-radius: 8px !important;
    background: #f3eee6 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .style-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb {
    border-color: rgba(196, 150, 86, 0.9) !important;
    box-shadow: inset 0 0 0 1px rgba(196, 150, 86, 0.5) !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 25px !important;
    height: 25px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px 0 8px 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #d7b27a 0%, #bb8d4a 100%) !important;
    content: "\2713" !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    min-width: 0 !important;
    color: #4e4035 !important;
    font-size: clamp(9.2px, 2.55vw, 11px) !important;
    font-weight: 800 !important;
    line-height: 19px !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .app-shell:not(.is-home) .checkout-panel {
    grid-row: 2 !important;
    min-height: 0 !important;
    height: 42px !important;
    padding: 0 !important;
    display: block !important;
    align-self: end !important;
    justify-self: stretch !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    width: 100% !important;
    height: 42px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #e4c18a 0%, #c69653 100%) !important;
    box-shadow: 0 7px 14px rgba(164, 112, 47, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
    font-size: clamp(17px, 4.6vw, 21px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.08em !important;
  }
}

@media (max-width: 380px) {
  .app-shell:not(.is-home) .app {
    padding-inline: 10px !important;
    grid-template-rows:
      clamp(70px, 9.3dvh, 82px)
      minmax(0, 1fr)
      clamp(194px, 24.4dvh, 214px) !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    font-size: clamp(19px, 5.5vw, 23px) !important;
  }

  .app-shell:not(.is-home) .house-tab {
    font-size: clamp(18px, 5.4vw, 23px) !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding-top: 35px !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    font-size: 17px !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    font-size: 6.6px !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    font-size: 9.4px !important;
  }
}

/* Portrait one-screen reference lock: compact but legible on WeChat phones. */
@media (max-width: 760px) and (orientation: portrait) {
  html:has(.app-shell:not(.is-home)),
  html:has(.app-shell:not(.is-home)) body {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .app-shell:not(.is-home) {
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    background: #fbf8f2 !important;
  }

  .app-shell:not(.is-home) .app {
    --screen-gap: clamp(5px, 0.82dvh, 8px);
    --panel-radius: clamp(11px, 3.2vw, 15px);
    width: min(100vw, 430px) !important;
    max-width: 430px !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    padding: max(6px, env(safe-area-inset-top)) 12px max(7px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      clamp(70px, 8.8dvh, 82px)
      minmax(0, 1fr)
      clamp(196px, 23.2dvh, 216px) !important;
    gap: var(--screen-gap) !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .app-shell:not(.is-home) .topbar {
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 32px !important;
    grid-template-rows: 26px minmax(0, 1fr) !important;
    gap: 3px 8px !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .brand-title {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: center !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 34px !important;
    display: grid !important;
    place-items: center !important;
    transform: none !important;
    text-align: center !important;
    pointer-events: none !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    margin: 0 !important;
    max-width: none !important;
    color: #2f261f !important;
    font-family: "STSong", "SimSun", "Songti SC", serif !important;
    font-size: clamp(19px, 5.25vw, 24px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  }

  .app-shell:not(.is-home) .brand-title::before,
  .app-shell:not(.is-home) .brand-title::after {
    display: none !important;
    content: none !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    inset: auto !important;
    align-self: center !important;
    justify-self: end !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    z-index: 3 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #6a5542 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .app-shell:not(.is-home) .home-back-button::before {
    position: absolute !important;
    left: 50% !important;
    top: 8px !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    display: block !important;
    border: 1.7px solid currentColor !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-radius: 2px 0 0 0 !important;
    content: "" !important;
    transform: translateX(-50%) rotate(45deg) !important;
  }

  .app-shell:not(.is-home) .home-back-button > span {
    position: absolute !important;
    left: 50% !important;
    top: 12px !important;
    width: 16px !important;
    height: 13px !important;
    margin: 0 !important;
    display: block !important;
    border: 1.7px solid currentColor !important;
    border-top: 0 !important;
    border-radius: 0 0 3px 3px !important;
    transform: translateX(-50%) !important;
  }

  .app-shell:not(.is-home) .home-back-button > span::after {
    position: absolute !important;
    left: 50% !important;
    bottom: -1.7px !important;
    width: 4px !important;
    height: 7px !important;
    border: 1.7px solid currentColor !important;
    border-bottom: 0 !important;
    border-radius: 2px 2px 0 0 !important;
    content: "" !important;
    transform: translateX(-50%) !important;
  }

  .app-shell:not(.is-home) .house-control {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: block !important;
  }

  .app-shell:not(.is-home) .house-label {
    display: none !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 1px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border: 1px solid rgba(215, 207, 197, 0.95) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 6px 14px rgba(99, 72, 42, 0.055) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .house-tab {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-right: 1px solid rgba(218, 210, 200, 0.82) !important;
    border-radius: 0 !important;
    color: #141210 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(19px, 5.6vw, 24px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .house-tab:last-child {
    border-right: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #79501f !important;
    background: linear-gradient(135deg, #efe0ca 0%, #d7b888 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48) !important;
  }

  .app-shell:not(.is-home) .main-grid {
    grid-row: 2 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) minmax(0, 0.9fr) !important;
    gap: var(--screen-gap) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel,
  .app-shell:not(.is-home) .bottom-panel {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: 100% !important;
    border: 1px solid rgba(222, 214, 202, 0.92) !important;
    border-radius: var(--panel-radius) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 7px 16px rgba(78, 57, 34, 0.055) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel {
    grid-row: 1 !important;
  }

  .app-shell:not(.is-home) .effect-panel {
    grid-row: 2 !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding: 32px 8px 7px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: center !important;
    justify-items: stretch !important;
  }

  .app-shell:not(.is-home) .section-heading {
    top: 8px !important;
    left: 11px !important;
    right: auto !important;
    height: 22px !important;
    gap: 6px !important;
    align-items: center !important;
  }

  .app-shell:not(.is-home) .section-heading span {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    color: #fff !important;
    background: #c99d5f !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    color: #211a15 !important;
    font-size: clamp(17px, 4.55vw, 19px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .section-heading em {
    display: none !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 108px) !important;
    height: 26px !important;
    min-height: 0 !important;
    padding: 2px !important;
    display: inline-grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(48px, 1fr) !important;
    gap: 0 !important;
    border: 1px solid rgba(224, 217, 207, 0.95) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .view-tabs {
    grid-auto-columns: minmax(44px, 1fr) !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 5px !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #332b24 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(10.5px, 2.8vw, 12.5px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .app-shell:not(.is-home) .bird-tab.is-active,
  .app-shell:not(.is-home) .view-tab.is-active {
    color: #704719 !important;
    background: linear-gradient(135deg, #f1e3cf 0%, #d8ba8e 100%) !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .view-tab::after {
    display: none !important;
    content: none !important;
  }

  .app-shell:not(.is-home) .media-stage,
  .app-shell:not(.is-home) .bird-panel .media-stage,
  .app-shell:not(.is-home) .effect-panel .media-stage {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    align-self: center !important;
    justify-self: stretch !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f7f0e7 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel .media-stage {
    background: transparent !important;
  }

  .app-shell:not(.is-home) .scene-image,
  .app-shell:not(.is-home) .preview-image,
  .app-shell:not(.is-home) .image-overlay-stack,
  .app-shell:not(.is-home) .image-overlay-stack img {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .app-shell:not(.is-home) .scene-image,
  .app-shell:not(.is-home) .preview-image,
  .app-shell:not(.is-home) .image-overlay-stack img {
    object-fit: contain !important;
    object-position: center !important;
  }

  .app-shell:not(.is-home) .preview-stage.is-detail-view .preview-image,
  .app-shell:not(.is-home) .preview-stage.is-detail-view .image-overlay-stack img {
    object-fit: cover !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    grid-row: 3 !important;
    padding: 32px 10px 8px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) 42px !important;
    gap: 6px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  .app-shell:not(.is-home) .bottom-heading {
    top: 8px !important;
    left: 11px !important;
  }

  .app-shell:not(.is-home) .content-switcher {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--point-count, 7), minmax(0, 1fr)) !important;
    grid-template-rows: 30px minmax(0, 1fr) !important;
    gap: 6px 4px !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card {
    grid-row: 1 !important;
    width: 100% !important;
    height: 30px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 1px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(224, 217, 207, 0.95) !important;
    border-radius: 6px !important;
    color: #4c4135 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card.is-active {
    border-color: rgba(202, 154, 86, 0.45) !important;
    color: #704719 !important;
    background: linear-gradient(135deg, #f0e0c8 0%, #d8b884 100%) !important;
  }

  .app-shell:not(.is-home) .point-card-header {
    width: 100% !important;
    min-width: 0 !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    color: inherit !important;
    font-size: clamp(7.6px, 2vw, 9px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: #c99d5f !important;
    font-size: 7px !important;
    font-weight: 900 !important;
    line-height: 12px !important;
  }

  .app-shell:not(.is-home) .point-card .style-pills,
  .app-shell:not(.is-home) .point-card .current-style,
  .app-shell:not(.is-home) .mobile-active-title,
  .app-shell:not(.is-home) .active-style-section-head,
  .app-shell:not(.is-home) .style-price,
  .app-shell:not(.is-home) .effect-caption,
  .app-shell:not(.is-home) .disclaimer {
    display: none !important;
  }

  .app-shell:not(.is-home) .mobile-active-styles,
  .app-shell:not(.is-home) .desktop-active-styles {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .mobile-style-list {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .app-shell:not(.is-home) .style-pill {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) 18px !important;
    gap: 3px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .style-thumb {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: 1px solid rgba(196, 150, 86, 0.22) !important;
    border-radius: 8px !important;
    background: #f3eee6 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .style-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb {
    border-color: rgba(196, 150, 86, 0.95) !important;
    box-shadow: inset 0 0 0 1px rgba(196, 150, 86, 0.5) !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 11px 0 8px 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #d8b47b 0%, #bd8f4e 100%) !important;
    content: "\2713" !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    min-width: 0 !important;
    color: #4e4035 !important;
    font-size: clamp(9.6px, 2.65vw, 11px) !important;
    font-weight: 800 !important;
    line-height: 18px !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .app-shell:not(.is-home) .checkout-panel {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 42px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: block !important;
    align-self: end !important;
    justify-self: stretch !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    width: 100% !important;
    height: 42px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #e5c28c 0%, #c99a55 100%) !important;
    clip-path: none !important;
    box-shadow: 0 7px 14px rgba(164, 112, 47, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
    font-size: clamp(17px, 4.55vw, 21px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.08em !important;
  }
}

@media (max-width: 380px) and (orientation: portrait) {
  .app-shell:not(.is-home) .app {
    padding-inline: 10px !important;
    grid-template-rows:
      clamp(68px, 8.7dvh, 78px)
      minmax(0, 1fr)
      clamp(188px, 23.1dvh, 204px) !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    font-size: clamp(18px, 5.2vw, 22px) !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding-top: 30px !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    font-size: 16px !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    height: 24px !important;
    max-width: calc(100% - 100px) !important;
    grid-auto-columns: minmax(42px, 1fr) !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    font-size: 10px !important;
    padding-inline: 4px !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    padding: 30px 8px 7px !important;
    grid-template-rows: minmax(0, 1fr) 39px !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    grid-template-rows: 27px minmax(0, 1fr) !important;
    gap: 5px 3px !important;
  }

  .app-shell:not(.is-home) .point-card {
    height: 27px !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    font-size: 7px !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: 11px !important;
    height: 11px !important;
    min-width: 11px !important;
    font-size: 6.5px !important;
    line-height: 11px !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    font-size: 9.2px !important;
  }

  .app-shell:not(.is-home) .checkout-panel,
  .app-shell:not(.is-home) .confirm-button {
    height: 39px !important;
  }
}

/* Warm UI refinement: add the reference-style finish without changing one-screen layout. */
@media (max-width: 760px) and (orientation: portrait) {
  .app-shell:not(.is-home) {
    color: #2b211a !important;
    background:
      radial-gradient(circle at 50% -12%, rgba(226, 203, 168, 0.32), transparent 34%),
      linear-gradient(180deg, #fffdfa 0%, #fbf7ef 48%, #f5eee4 100%) !important;
  }

  .app-shell:not(.is-home) .app {
    --gold-1: #f4dfbd;
    --gold-2: #dbb676;
    --gold-3: #bf8740;
    --ink-warm: #2f241c;
    --line-warm: rgba(209, 193, 170, 0.76);
    --soft-shadow: 0 8px 22px rgba(84, 61, 35, 0.08);
    --inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .app-shell:not(.is-home) .brand-title {
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    color: var(--ink-warm) !important;
    font-weight: 900 !important;
    letter-spacing: 0.055em !important;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9),
      0 7px 16px rgba(121, 86, 47, 0.12) !important;
  }

  .app-shell:not(.is-home) .brand-title::after {
    position: absolute !important;
    left: 50% !important;
    bottom: -7px !important;
    width: 62px !important;
    height: 10px !important;
    display: block !important;
    content: "" !important;
    opacity: 0.8 !important;
    transform: translateX(-50%) !important;
    background:
      linear-gradient(90deg, transparent 0 33%, rgba(203, 157, 91, 0.48) 33% 67%, transparent 67%),
      radial-gradient(circle at 50% 50%, rgba(203, 157, 91, 0.85) 0 2px, transparent 2.8px) !important;
    pointer-events: none !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    color: #645141 !important;
    opacity: 0.92 !important;
    transition: opacity 160ms ease, transform 160ms ease !important;
  }

  .app-shell:not(.is-home) .home-back-button:active {
    opacity: 1 !important;
    transform: scale(0.94) !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    border-color: rgba(216, 201, 180, 0.82) !important;
    border-radius: 13px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(253, 250, 245, 0.96)) !important;
    box-shadow:
      0 9px 22px rgba(92, 64, 34, 0.07),
      var(--inner-glow) !important;
  }

  .app-shell:not(.is-home) .house-tab {
    color: #171412 !important;
    font-family: "Times New Roman", "SimSun", serif !important;
    font-weight: 500 !important;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #805119 !important;
    background:
      radial-gradient(circle at 30% 12%, rgba(255, 255, 255, 0.7), transparent 44%),
      linear-gradient(135deg, #f1dfc2 0%, #dfbd82 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      inset 0 -12px 20px rgba(174, 116, 53, 0.08) !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel,
  .app-shell:not(.is-home) .bottom-panel {
    border-color: rgba(215, 199, 176, 0.78) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 253, 250, 0.97)) !important;
    box-shadow:
      0 11px 25px rgba(82, 60, 36, 0.08),
      var(--inner-glow) !important;
  }

  .app-shell:not(.is-home) .bird-panel::after,
  .app-shell:not(.is-home) .effect-panel::after,
  .app-shell:not(.is-home) .bottom-panel::after {
    position: absolute !important;
    inset: 1px !important;
    z-index: 5 !important;
    border-radius: calc(var(--panel-radius) - 1px) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -18px 32px rgba(221, 197, 163, 0.08) !important;
    content: "" !important;
    pointer-events: none !important;
  }

  .app-shell:not(.is-home) .section-heading {
    z-index: 8 !important;
  }

  .app-shell:not(.is-home) .section-heading span {
    background:
      radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.48), transparent 38%),
      linear-gradient(145deg, #d7ad70 0%, #bc8540 100%) !important;
    box-shadow: 0 4px 9px rgba(156, 105, 48, 0.18) !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    color: #231a14 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    z-index: 8 !important;
    border-color: rgba(221, 210, 196, 0.88) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 242, 0.94)) !important;
    box-shadow:
      0 3px 9px rgba(79, 58, 35, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    color: #3c3128 !important;
    transition: background 170ms ease, color 170ms ease !important;
  }

  .app-shell:not(.is-home) .bird-tab.is-active,
  .app-shell:not(.is-home) .view-tab.is-active {
    color: #7b4f1b !important;
    background:
      radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.62), transparent 46%),
      linear-gradient(135deg, #f0ddbd 0%, #d6ae71 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      0 1px 4px rgba(148, 96, 43, 0.1) !important;
  }

  .app-shell:not(.is-home) .media-stage,
  .app-shell:not(.is-home) .bird-panel .media-stage,
  .app-shell:not(.is-home) .effect-panel .media-stage {
    border-radius: 10px !important;
    background:
      linear-gradient(135deg, #fffdfa 0%, #f6efe6 100%) !important;
    box-shadow:
      inset 0 0 0 1px rgba(212, 195, 171, 0.22),
      0 4px 10px rgba(74, 52, 29, 0.04) !important;
  }

  .app-shell:not(.is-home) .preview-stage {
    background-color: #f7f1e9 !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    gap: 6px 5px !important;
  }

  .app-shell:not(.is-home) .point-card {
    border-color: rgba(219, 207, 190, 0.9) !important;
    border-radius: 7px !important;
    color: #4b3f34 !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 241, 0.96)) !important;
    box-shadow:
      0 2px 6px rgba(71, 50, 28, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: background 170ms ease, color 170ms ease, border-color 170ms ease !important;
  }

  .app-shell:not(.is-home) .point-card.is-active {
    color: #7a4b13 !important;
    border-color: rgba(198, 151, 84, 0.55) !important;
    background:
      radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.68), transparent 44%),
      linear-gradient(135deg, #f0ddbd 0%, #d7b477 100%) !important;
    box-shadow:
      0 3px 8px rgba(157, 106, 49, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.56) !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    background:
      radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.52), transparent 38%),
      linear-gradient(145deg, #d5aa6b 0%, #bc843f 100%) !important;
  }

  .app-shell:not(.is-home) .point-card.is-active h3::before {
    background: rgba(255, 255, 255, 0.72) !important;
    color: #9a682c !important;
  }

  .app-shell:not(.is-home) .style-thumb {
    border-color: rgba(204, 171, 124, 0.28) !important;
    border-radius: 9px !important;
    background: #f5efe6 !important;
    box-shadow:
      0 4px 10px rgba(72, 51, 30, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  }

  .app-shell:not(.is-home) .style-thumb img {
    filter: saturate(1.03) contrast(1.015) !important;
    transition: transform 220ms ease, filter 220ms ease !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb {
    border-color: rgba(194, 142, 72, 0.95) !important;
    box-shadow:
      0 5px 12px rgba(151, 101, 47, 0.15),
      inset 0 0 0 1px rgba(194, 142, 72, 0.55) !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb img {
    transform: scale(1.025) !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
    background:
      radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.52), transparent 38%),
      linear-gradient(135deg, #dbb77b 0%, #bd8744 100%) !important;
    box-shadow: -2px -2px 7px rgba(100, 65, 31, 0.12) !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    color: #3f3329 !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74) !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 13px !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.42), transparent 36%),
      linear-gradient(135deg, #e8c88f 0%, #d7a85f 48%, #bd8442 100%) !important;
    box-shadow:
      0 8px 16px rgba(151, 100, 44, 0.19),
      inset 0 1px 0 rgba(255, 255, 255, 0.44),
      inset 0 -10px 20px rgba(111, 70, 30, 0.08) !important;
    text-shadow: 0 1px 4px rgba(105, 65, 24, 0.28) !important;
    transition: transform 160ms ease, box-shadow 160ms ease !important;
  }

  .app-shell:not(.is-home) .confirm-button::before {
    position: absolute !important;
    inset: 1px 1px auto !important;
    height: 42% !important;
    border-radius: 12px 12px 18px 18px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)) !important;
    content: "" !important;
    pointer-events: none !important;
  }

  .app-shell:not(.is-home) .confirm-button:active {
    transform: scale(0.985) !important;
    box-shadow:
      0 5px 10px rgba(151, 100, 44, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  }
}

/* Luxury UI polish: final mobile details aligned to the supplied warm-gold UI mockups. */
@media (max-width: 760px) and (orientation: portrait) {
  html:has(.app-shell.is-home),
  html:has(.app-shell.is-home) body {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #fbfaf7 !important;
  }

  .app-shell.is-home {
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 50% -8%, rgba(220, 190, 145, 0.2), transparent 34%),
      linear-gradient(180deg, #fffefd 0%, #faf6ef 100%) !important;
  }

  .app-shell.is-home .home-screen {
    width: min(100vw, 430px) !important;
    max-width: 430px !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    padding: max(8px, env(safe-area-inset-top)) 10px max(8px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      minmax(0, 0.9fr)
      minmax(0, 0.66fr)
      minmax(0, 0.72fr)
      minmax(58px, 0.2fr) !important;
    gap: 7px !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  .app-shell.is-home .home-screen > * + * {
    margin-top: 0 !important;
  }

  .app-shell.is-home .home-main {
    display: contents !important;
  }

  .app-shell.is-home .home-hero,
  .app-shell.is-home .home-selection-card,
  .app-shell.is-home .home-house-panel,
  .app-shell.is-home .home-contact-strip {
    min-height: 0 !important;
    height: 100% !important;
    border: 1px solid rgba(211, 190, 160, 0.58) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 247, 0.92)) !important;
    box-shadow:
      0 8px 22px rgba(72, 52, 31, 0.055),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  .app-shell.is-home .home-hero {
    grid-row: 1 !important;
    padding: 18px 13px 12px !important;
    border-radius: 0 0 18px 18px !important;
    overflow: hidden !important;
  }

  .app-shell.is-home .home-hero::before {
    left: 29% !important;
    right: -6% !important;
    bottom: 0 !important;
    height: 50% !important;
    opacity: 0.84 !important;
    background:
      radial-gradient(ellipse at 50% 100%, rgba(88, 95, 80, 0.34), transparent 56%),
      linear-gradient(180deg, rgba(179, 138, 82, 0.16), rgba(255, 255, 255, 0.68)) !important;
  }

  .app-shell.is-home .home-hero::after {
    right: -12px !important;
    bottom: 16px !important;
    width: 76% !important;
    height: 42% !important;
    opacity: 0.78 !important;
    filter: drop-shadow(0 10px 16px rgba(92, 65, 38, 0.16)) !important;
  }

  .app-shell.is-home .home-logo-slot {
    top: 17px !important;
    right: 12px !important;
    min-width: 74px !important;
    color: #48392d !important;
    opacity: 0.92 !important;
  }

  .app-shell.is-home .home-logo-slot span {
    font-size: 6px !important;
  }

  .app-shell.is-home .home-logo-slot strong {
    font-size: 10px !important;
  }

  .app-shell.is-home .home-logo-wave {
    width: 42px !important;
    height: 14px !important;
  }

  .app-shell.is-home .home-copy {
    width: calc(100% - 86px) !important;
    max-width: none !important;
    padding: 42px 0 0 4px !important;
  }

  .app-shell.is-home .home-title {
    margin: 0 0 8px !important;
    color: #3a2b20 !important;
    font-size: clamp(28px, 8.6vw, 38px) !important;
    line-height: 1.06 !important;
    letter-spacing: 0.035em !important;
    text-shadow: 0 8px 18px rgba(107, 76, 43, 0.11) !important;
  }

  .app-shell.is-home .home-title span {
    display: block !important;
  }

  .app-shell.is-home .home-title span + span {
    margin-left: 0 !important;
  }

  .app-shell.is-home .home-subtitle,
  .app-shell.is-home .home-desc {
    max-width: 100% !important;
    color: #4b3a2d !important;
    font-size: clamp(11px, 3.05vw, 14px) !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
  }

  .app-shell.is-home .home-feature-row {
    display: none !important;
  }

  .app-shell.is-home .home-selection-card {
    grid-row: 2 !important;
    padding: 12px !important;
    grid-template-columns: minmax(128px, 0.46fr) minmax(0, 0.54fr) !important;
    grid-template-rows: auto minmax(0, 1fr) 34px !important;
    grid-template-areas:
      "copy interior"
      "services interior"
      "button interior" !important;
    gap: 7px 10px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .app-shell.is-home .home-card-copy h2,
  .app-shell.is-home .home-house-panel h2 {
    color: #3a2b20 !important;
    font-size: clamp(21px, 5.8vw, 27px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0.02em !important;
  }

  .app-shell.is-home .home-card-copy p {
    margin-top: 6px !important;
    color: #4d3e32 !important;
    font-size: clamp(10.5px, 2.9vw, 13px) !important;
    line-height: 1.22 !important;
  }

  .app-shell.is-home .home-service-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 6px !important;
    align-self: center !important;
  }

  .app-shell.is-home .home-service-row > div {
    gap: 3px !important;
  }

  .app-shell.is-home .home-mini-icon {
    width: clamp(27px, 7.3vw, 34px) !important;
    height: clamp(27px, 7.3vw, 34px) !important;
    border-color: rgba(196, 151, 90, 0.6) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 243, 232, 0.86)) !important;
  }

  .app-shell.is-home .home-service-row strong {
    color: #514031 !important;
    font-size: clamp(8.3px, 2.25vw, 10.5px) !important;
    line-height: 1.05 !important;
  }

  .app-shell.is-home .home-service-row em {
    display: none !important;
  }

  .app-shell.is-home .home-interior-slot {
    min-height: 0 !important;
    height: 100% !important;
    border-radius: 13px !important;
    box-shadow:
      inset 0 0 0 1px rgba(146, 108, 67, 0.12),
      0 10px 24px rgba(89, 62, 36, 0.08) !important;
  }

  .app-shell.is-home .home-enter-button {
    width: min(100%, 136px) !important;
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 9px !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.42), transparent 38%),
      linear-gradient(135deg, #e2bf88 0%, #c69450 100%) !important;
    box-shadow: 0 8px 16px rgba(157, 104, 45, 0.18) !important;
    font-size: 11px !important;
  }

  .app-shell.is-home .home-house-panel {
    grid-row: 3 !important;
    padding: 12px !important;
    gap: 8px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .app-shell.is-home .home-house-cards {
    margin-top: 8px !important;
    height: calc(100% - 34px) !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .app-shell.is-home .home-house-card {
    height: 100% !important;
    grid-template-rows: minmax(0, 1fr) 50px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 16px rgba(74, 52, 31, 0.06) !important;
  }

  .app-shell.is-home .home-house-plan::before {
    inset: 15% 13% 12% !important;
    border-width: 1.5px !important;
    filter: drop-shadow(0 7px 9px rgba(40, 32, 23, 0.08)) !important;
  }

  .app-shell.is-home .home-house-info {
    padding: 8px 3px 7px !important;
    gap: 3px !important;
    background: linear-gradient(180deg, #f8efe2 0%, #ecdcc6 100%) !important;
  }

  .app-shell.is-home .home-house-info strong {
    font-size: clamp(21px, 6.1vw, 28px) !important;
    line-height: 0.95 !important;
  }

  .app-shell.is-home .home-house-info span {
    font-size: clamp(7.2px, 2vw, 9px) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  .app-shell.is-home .home-house-info em {
    display: none !important;
  }

  .app-shell.is-home .home-contact-strip {
    grid-row: 4 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 7px 10px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3px !important;
    align-content: center !important;
    border-radius: 15px !important;
  }

  .app-shell.is-home .home-contact-strip p {
    min-height: 0 !important;
    margin: 0 !important;
    gap: 7px !important;
    color: #4e4035 !important;
  }

  .app-shell.is-home .home-contact-icon,
  .app-shell.is-home .home-phone-icon {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    color: #bd8b4c !important;
  }

  .app-shell.is-home .home-contact-strip strong {
    color: #4a392c !important;
    font-size: clamp(9.5px, 2.55vw, 12px) !important;
    line-height: 1.16 !important;
    font-weight: 850 !important;
  }

  .app-shell.is-home .home-contact-phone strong {
    color: #3e2b1e !important;
    font-size: clamp(15px, 4.2vw, 19px) !important;
    line-height: 1 !important;
  }

  .app-shell.is-home .home-footnote,
  .app-shell.is-home .home-value-strip {
    display: none !important;
  }

  .app-shell:not(.is-home) {
    background:
      radial-gradient(circle at 50% -10%, rgba(225, 200, 163, 0.28), transparent 35%),
      linear-gradient(180deg, #fffdf9 0%, #f7efe4 100%) !important;
  }

  .app-shell:not(.is-home) .app {
    --screen-gap: clamp(5px, 0.74dvh, 7px);
    grid-template-rows:
      clamp(70px, 8.6dvh, 80px)
      minmax(0, 1fr)
      clamp(190px, 22.9dvh, 210px) !important;
    gap: var(--screen-gap) !important;
  }

  .app-shell:not(.is-home) .main-grid {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel,
  .app-shell:not(.is-home) .bottom-panel {
    border-color: rgba(210, 189, 157, 0.66) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(255, 252, 247, 0.96)) !important;
    box-shadow:
      0 8px 18px rgba(73, 53, 32, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  .app-shell:not(.is-home) .bird-panel::after,
  .app-shell:not(.is-home) .effect-panel::after,
  .app-shell:not(.is-home) .bottom-panel::after {
    inset: 0 !important;
    border-radius: var(--panel-radius) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52) !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    font-size: clamp(20px, 5.45vw, 24px) !important;
    letter-spacing: 0.05em !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    border-color: rgba(210, 195, 174, 0.9) !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow:
      0 7px 16px rgba(95, 67, 37, 0.055),
      inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active,
  .app-shell:not(.is-home) .bird-tab.is-active,
  .app-shell:not(.is-home) .view-tab.is-active,
  .app-shell:not(.is-home) .point-card.is-active {
    background:
      radial-gradient(circle at 26% 15%, rgba(255, 255, 255, 0.72), transparent 42%),
      linear-gradient(135deg, #eedfc6 0%, #d2ad74 100%) !important;
  }

  .app-shell:not(.is-home) .section-heading span {
    background:
      radial-gradient(circle at 33% 25%, rgba(255, 255, 255, 0.5), transparent 38%),
      linear-gradient(145deg, #d1a76a 0%, #b9823e 100%) !important;
    box-shadow: 0 5px 12px rgba(158, 104, 46, 0.18) !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    color: #1f1712 !important;
    letter-spacing: 0.01em !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    border-color: rgba(218, 205, 188, 0.92) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 4px 10px rgba(73, 53, 32, 0.055) !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    border-radius: 7px !important;
    color: #2f281f !important;
  }

  .app-shell:not(.is-home) .media-stage,
  .app-shell:not(.is-home) .effect-panel .media-stage {
    border-radius: 10px !important;
    background: #f5eee5 !important;
    box-shadow:
      inset 0 0 0 1px rgba(202, 180, 151, 0.22),
      0 5px 12px rgba(70, 50, 29, 0.035) !important;
  }

  .app-shell:not(.is-home) .bird-panel .media-stage {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    padding-top: 31px !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    grid-template-rows: 29px minmax(0, 1fr) !important;
    gap: 6px 4px !important;
  }

  .app-shell:not(.is-home) .point-card {
    height: 29px !important;
    border-radius: 7px !important;
    border-color: rgba(218, 205, 188, 0.9) !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    font-size: clamp(7.4px, 1.95vw, 8.8px) !important;
    letter-spacing: -0.01em !important;
  }

  .app-shell:not(.is-home) .style-thumb {
    border-radius: 8px !important;
    border-color: rgba(199, 158, 99, 0.25) !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(226, 210, 188, 0.3)),
      repeating-linear-gradient(125deg, rgba(202, 174, 132, 0.16) 0 1px, transparent 1px 16px),
      #f4eee6 !important;
    box-shadow: 0 4px 9px rgba(70, 50, 29, 0.055) !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb {
    border-color: rgba(190, 137, 62, 0.95) !important;
    box-shadow:
      0 5px 12px rgba(139, 91, 40, 0.13),
      inset 0 0 0 1px rgba(190, 137, 62, 0.52) !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    color: #392f26 !important;
    font-weight: 850 !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    border-radius: 12px !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.42), transparent 36%),
      linear-gradient(135deg, #e3c28d 0%, #d0a15d 52%, #b87f3f 100%) !important;
    box-shadow:
      0 8px 16px rgba(148, 96, 42, 0.19),
      inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
  }
}

@media (max-width: 380px) and (orientation: portrait) {
  .app-shell.is-home .home-screen {
    padding-inline: 8px !important;
    grid-template-rows:
      minmax(0, 0.88fr)
      minmax(0, 0.66fr)
      minmax(0, 0.7fr)
      minmax(54px, 0.18fr) !important;
  }

  .app-shell.is-home .home-title {
    font-size: 29px !important;
  }

  .app-shell.is-home .home-selection-card {
    grid-template-columns: minmax(118px, 0.45fr) minmax(0, 0.55fr) !important;
    padding: 10px !important;
  }

  .app-shell.is-home .home-card-copy h2 {
    font-size: 21px !important;
  }

  .app-shell.is-home .home-service-row strong {
    font-size: 8px !important;
  }

  .app-shell.is-home .home-enter-button {
    width: 124px !important;
    font-size: 10px !important;
  }

  .app-shell:not(.is-home) .app {
    grid-template-rows:
      clamp(68px, 8.5dvh, 78px)
      minmax(0, 1fr)
      clamp(184px, 22.8dvh, 202px) !important;
  }
}

/* Desktop selection lock: keep the full configurator inside one 16:9 browser view. */
@media (min-width: 761px) {
  html:has(.app-shell:not(.is-home)),
  html:has(.app-shell:not(.is-home)) body {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #fffdfa !important;
  }

  .app-shell:not(.is-home) {
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 50% -12%, rgba(226, 203, 168, 0.3), transparent 34%),
      linear-gradient(180deg, #fffdf9 0%, #f7efe4 100%) !important;
  }

  .app-shell:not(.is-home) .app {
    --desktop-gap: clamp(5px, 0.9dvh, 10px);
    width: min(100vw, calc(100dvh * 16 / 9)) !important;
    height: min(100dvh, calc(100vw * 9 / 16)) !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    margin: 0 auto !important;
    padding: clamp(8px, 1.1dvh, 14px) clamp(10px, 1.2vw, 18px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      clamp(46px, 7.2%, 66px)
      minmax(0, 1fr)
      clamp(140px, 21.5%, 190px) !important;
    gap: var(--desktop-gap) !important;
    overflow: hidden !important;
    color: #2f241c !important;
  }

  .app-shell:not(.is-home) .topbar {
    position: relative !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(280px, 1fr) auto minmax(72px, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .brand-title {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    z-index: 2 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translate(-50%, -50%) !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    max-width: none !important;
    color: #2f241c !important;
    font-family: "STZhongsong", "SimSun", "Songti SC", "Microsoft YaHei", serif !important;
    font-size: clamp(19px, 2.05vw, 30px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.06em !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(121, 86, 47, 0.12) !important;
  }

  .app-shell:not(.is-home) .brand-title::before,
  .app-shell:not(.is-home) .brand-title::after {
    display: none !important;
  }

  .app-shell:not(.is-home) .house-control {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: min(33vw, 430px) !important;
    min-width: 280px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .app-shell:not(.is-home) .house-label {
    display: none !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    width: 100% !important;
    min-height: clamp(34px, 4.8dvh, 46px) !important;
    padding: 2px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border: 1px solid rgba(210, 195, 174, 0.9) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 7px 16px rgba(95, 67, 37, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .house-tab {
    min-width: 0 !important;
    min-height: 100% !important;
    height: 100% !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-right: 1px solid rgba(126, 104, 80, 0.12) !important;
    border-radius: 0 !important;
    color: #2f2923 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: "Times New Roman", "SimSun", serif !important;
    font-size: clamp(16px, 1.85vw, 26px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab:last-child {
    border-right: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #7b4f22 !important;
    background:
      radial-gradient(circle at 30% 12%, rgba(255, 255, 255, 0.7), transparent 44%),
      linear-gradient(135deg, #f1dfc2 0%, #dfbd82 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -12px 20px rgba(174, 116, 53, 0.08) !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    z-index: 6 !important;
    width: clamp(34px, 4.6dvh, 44px) !important;
    height: clamp(34px, 4.6dvh, 44px) !important;
    min-width: clamp(34px, 4.6dvh, 44px) !important;
    min-height: clamp(34px, 4.6dvh, 44px) !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    color: #645141 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
  }

  .app-shell:not(.is-home) .home-back-button:active {
    transform: translateY(-50%) scale(0.94) !important;
  }

  .app-shell:not(.is-home) .main-grid {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: var(--desktop-gap) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel,
  .app-shell:not(.is-home) .bottom-panel {
    min-width: 0 !important;
    min-height: 0 !important;
    border: 1px solid rgba(210, 189, 157, 0.66) !important;
    border-radius: clamp(12px, 1.35vw, 18px) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(255, 252, 247, 0.96)) !important;
    box-shadow: 0 8px 18px rgba(73, 53, 32, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel::before,
  .app-shell:not(.is-home) .bird-panel::after,
  .app-shell:not(.is-home) .effect-panel::before,
  .app-shell:not(.is-home) .effect-panel::after,
  .app-shell:not(.is-home) .bottom-panel::before,
  .app-shell:not(.is-home) .bottom-panel::after,
  .app-shell:not(.is-home) .panel-corner {
    display: none !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding: clamp(38px, 5.2dvh, 52px) clamp(9px, 0.95vw, 14px) clamp(8px, 1.1dvh, 12px) !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
    place-items: center !important;
  }

  .app-shell:not(.is-home) .section-heading {
    position: absolute !important;
    top: clamp(8px, 1.25dvh, 13px) !important;
    left: clamp(12px, 1.2vw, 18px) !important;
    right: auto !important;
    z-index: 8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    transform: none !important;
  }

  .app-shell:not(.is-home) .section-heading span {
    width: clamp(22px, 3.1dvh, 30px) !important;
    height: clamp(22px, 3.1dvh, 30px) !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: linear-gradient(145deg, #d1a76a 0%, #b9823e 100%) !important;
    box-shadow: 0 4px 9px rgba(156, 105, 48, 0.18) !important;
    font-size: clamp(11px, 1.7dvh, 15px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    color: #231a14 !important;
    font-size: clamp(14px, 2.2dvh, 20px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  }

  .app-shell:not(.is-home) .section-heading em {
    display: none !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    position: absolute !important;
    top: clamp(9px, 1.35dvh, 14px) !important;
    right: clamp(12px, 1.2vw, 18px) !important;
    left: auto !important;
    z-index: 8 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 130px) !important;
    height: clamp(26px, 3.7dvh, 34px) !important;
    padding: 2px !important;
    display: inline-grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(clamp(58px, 6.2vw, 86px), 1fr) !important;
    align-items: stretch !important;
    justify-content: end !important;
    gap: 0 !important;
    border: 1px solid rgba(218, 205, 188, 0.92) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 4px 10px rgba(73, 53, 32, 0.055) !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    position: relative !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 clamp(5px, 0.75vw, 10px) !important;
    border: 0 !important;
    border-radius: 7px !important;
    color: #3c3128 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(11px, 1.7dvh, 15px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    text-shadow: none !important;
  }

  .app-shell:not(.is-home) .bird-tab.is-active,
  .app-shell:not(.is-home) .view-tab.is-active {
    color: #7b4f1b !important;
    background:
      radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.62), transparent 46%),
      linear-gradient(135deg, #f0ddbd 0%, #d6ae71 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 1px 4px rgba(148, 96, 43, 0.1) !important;
  }

  .app-shell:not(.is-home) .view-tabs::after,
  .app-shell:not(.is-home) .view-tab::after {
    display: none !important;
  }

  .app-shell:not(.is-home) .media-stage,
  .app-shell:not(.is-home) .bird-panel .media-stage,
  .app-shell:not(.is-home) .effect-panel .media-stage {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f5eee5 !important;
    box-shadow: inset 0 0 0 1px rgba(202, 180, 151, 0.22), 0 5px 12px rgba(70, 50, 29, 0.035) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .scene-image,
  .app-shell:not(.is-home) .preview-image,
  .app-shell:not(.is-home) .image-overlay-stack img {
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important;
  }

  .app-shell:not(.is-home) .preview-stage.is-detail-view .preview-image,
  .app-shell:not(.is-home) .preview-stage.is-detail-view .image-overlay-stack img {
    object-fit: cover !important;
  }

  .app-shell:not(.is-home) .effect-caption,
  .app-shell:not(.is-home) .disclaimer {
    display: none !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    padding: clamp(34px, 4.8dvh, 46px) clamp(9px, 0.95vw, 14px) clamp(8px, 1.05dvh, 12px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(116px, 9.2vw, 154px) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: clamp(6px, 0.72vw, 10px) !important;
  }

  .app-shell:not(.is-home) .bottom-heading {
    top: clamp(8px, 1.25dvh, 13px) !important;
  }

  .app-shell:not(.is-home) .content-switcher {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    --point-count: 7;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--point-count), minmax(0, 1fr)) !important;
    grid-template-rows: clamp(25px, 3.55dvh, 32px) minmax(0, 1fr) !important;
    gap: clamp(5px, 0.72dvh, 8px) clamp(4px, 0.55vw, 7px) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card {
    grid-row: 1 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 clamp(2px, 0.45vw, 5px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(218, 205, 188, 0.9) !important;
    border-radius: 7px !important;
    color: #4b3f34 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 2px 6px rgba(71, 50, 28, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card.is-active {
    color: #7a4b13 !important;
    border-color: rgba(198, 151, 84, 0.55) !important;
    background:
      radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.68), transparent 44%),
      linear-gradient(135deg, #f0ddbd 0%, #d7b477 100%) !important;
  }

  .app-shell:not(.is-home) .point-card-header {
    width: 100% !important;
    min-width: 0 !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: inherit !important;
    font-size: clamp(8px, 1.3dvh, 11px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: clamp(13px, 1.9dvh, 17px) !important;
    height: clamp(13px, 1.9dvh, 17px) !important;
    min-width: clamp(13px, 1.9dvh, 17px) !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: linear-gradient(145deg, #d5aa6b 0%, #bc843f 100%) !important;
    content: counter(option-point) !important;
    font-size: clamp(7px, 1.15dvh, 9px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .point-card .style-pills,
  .app-shell:not(.is-home) .point-card .current-style,
  .app-shell:not(.is-home) .mobile-active-title,
  .app-shell:not(.is-home) .active-style-section-head,
  .app-shell:not(.is-home) .style-price {
    display: none !important;
  }

  .app-shell:not(.is-home) .mobile-active-styles,
  .app-shell:not(.is-home) .desktop-active-styles {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .mobile-style-list {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr)) !important;
    gap: clamp(5px, 0.72vw, 8px) !important;
  }

  .app-shell:not(.is-home) .style-pill {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) clamp(16px, 2.3dvh, 21px) !important;
    gap: clamp(3px, 0.55dvh, 5px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .style-thumb {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    border: 1px solid rgba(204, 171, 124, 0.28) !important;
    border-radius: 8px !important;
    background: #f5efe6 !important;
    box-shadow: 0 4px 10px rgba(72, 51, 30, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .style-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb {
    border-color: rgba(194, 142, 72, 0.95) !important;
    box-shadow: 0 5px 12px rgba(151, 101, 47, 0.15), inset 0 0 0 1px rgba(194, 142, 72, 0.55) !important;
  }

  .app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: clamp(22px, 3.2dvh, 30px) !important;
    height: clamp(22px, 3.2dvh, 30px) !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px 0 8px 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #dbb77b 0%, #bd8744 100%) !important;
    content: "\2713" !important;
    font-size: clamp(14px, 2.1dvh, 19px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    min-width: 0 !important;
    color: #3f3329 !important;
    font-size: clamp(9px, 1.45dvh, 12px) !important;
    font-weight: 800 !important;
    line-height: clamp(16px, 2.3dvh, 21px) !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74) !important;
  }

  .app-shell:not(.is-home) .checkout-panel {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    align-items: end !important;
    justify-items: stretch !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    width: 100% !important;
    height: clamp(48px, 7.2dvh, 64px) !important;
    min-height: 0 !important;
    align-self: end !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.42), transparent 36%),
      linear-gradient(135deg, #e3c28d 0%, #d0a15d 52%, #b87f3f 100%) !important;
    box-shadow: 0 8px 16px rgba(148, 96, 42, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
    clip-path: none !important;
    font-size: clamp(15px, 2.4dvh, 20px) !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
  }
}

/* Mobile header proportion fix: keep house tabs compact like the UI reference. */
@media (max-width: 760px) and (orientation: portrait) {
  .app-shell:not(.is-home) .app {
    grid-template-rows:
      clamp(52px, 7.2dvh, 60px)
      minmax(0, 1fr)
      clamp(196px, 23.2dvh, 216px) !important;
    gap: clamp(4px, 0.62dvh, 6px) !important;
  }

  .app-shell:not(.is-home) .topbar {
    grid-template-columns: minmax(0, 1fr) 28px !important;
    grid-template-rows: clamp(19px, 2.75dvh, 23px) minmax(0, clamp(27px, 3.95dvh, 33px)) !important;
    gap: 1px 6px !important;
  }

  .app-shell:not(.is-home) .brand-title {
    padding: 0 30px !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    font-size: clamp(15px, 4.25vw, 19px) !important;
    letter-spacing: 0.035em !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
  }

  .app-shell:not(.is-home) .home-back-button::before {
    top: 6px !important;
    width: 12px !important;
    height: 12px !important;
    border-width: 1.5px !important;
  }

  .app-shell:not(.is-home) .home-back-button > span {
    top: 10px !important;
    width: 14px !important;
    height: 12px !important;
    border-width: 1.5px !important;
  }

  .app-shell:not(.is-home) .home-back-button > span::after {
    bottom: -1.5px !important;
    width: 3.5px !important;
    height: 6px !important;
    border-width: 1.5px !important;
  }

  .app-shell:not(.is-home) .house-control {
    width: min(100%, 292px) !important;
    height: clamp(27px, 3.95dvh, 33px) !important;
    justify-self: start !important;
    align-self: start !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    height: clamp(27px, 3.95dvh, 33px) !important;
    min-height: 0 !important;
    padding: 1px !important;
    border-radius: 8px !important;
    box-shadow:
      0 4px 10px rgba(92, 64, 34, 0.055),
      inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  }

  .app-shell:not(.is-home) .house-tab {
    min-height: 0 !important;
    padding: 0 2px !important;
    font-size: clamp(14px, 4.05vw, 17px) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #6f471b !important;
    background: linear-gradient(135deg, #efe1cb 0%, #d6b583 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52) !important;
  }
}

/* Mobile visual match pass: align the selection page with the supplied UI mockup. */
@media (max-width: 760px) and (orientation: portrait) {
  html:has(.app-shell:not(.is-home)),
  html:has(.app-shell:not(.is-home)) body {
    background: #fffdf9 !important;
  }

  .app-shell:not(.is-home) {
    background:
      radial-gradient(circle at 50% 0%, rgba(219, 189, 149, 0.12), transparent 32%),
      linear-gradient(180deg, #fffefd 0%, #fffaf3 100%) !important;
  }

  .app-shell:not(.is-home) .app {
    width: min(100vw, 430px) !important;
    padding: max(7px, env(safe-area-inset-top)) 12px max(7px, env(safe-area-inset-bottom)) !important;
    grid-template-rows:
      clamp(80px, 11.8dvh, 90px)
      minmax(0, 1fr)
      clamp(184px, 22.1dvh, 204px) !important;
    gap: clamp(5px, 0.72dvh, 7px) !important;
  }

  .app-shell:not(.is-home) .topbar {
    grid-template-columns: minmax(0, 1fr) 30px !important;
    grid-template-rows: clamp(31px, 4.55dvh, 36px) clamp(38px, 5.55dvh, 44px) !important;
    gap: clamp(4px, 0.62dvh, 6px) 6px !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .brand-title {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    position: relative !important;
    width: 100% !important;
    padding: 0 36px !important;
    display: grid !important;
    place-items: center !important;
    transform: none !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    color: #332820 !important;
    font-family: "STZhongsong", "SimSun", "Songti SC", serif !important;
    font-size: clamp(19px, 5.35vw, 23px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.045em !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  }

  .app-shell:not(.is-home) .brand-title::after {
    position: absolute !important;
    left: 50% !important;
    bottom: -8px !important;
    width: 58px !important;
    height: 9px !important;
    display: block !important;
    content: "" !important;
    opacity: 0.7 !important;
    transform: translateX(-50%) !important;
    background:
      linear-gradient(90deg, transparent 0 34%, rgba(208, 166, 105, 0.5) 34% 66%, transparent 66%),
      radial-gradient(circle at 50% 50%, rgba(193, 146, 82, 0.78) 0 2px, transparent 2.8px) !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    color: #5d5048 !important;
  }

  .app-shell:not(.is-home) .house-control {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    height: clamp(38px, 5.55dvh, 44px) !important;
    align-self: stretch !important;
    justify-self: stretch !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(231, 222, 211, 0.98) !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow:
      0 4px 12px rgba(78, 55, 31, 0.045),
      inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .house-tab {
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1px solid rgba(228, 218, 206, 0.9) !important;
    border-radius: 0 !important;
    color: #2f2a25 !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: none !important;
    font-family: "Times New Roman", "SimSun", serif !important;
    font-size: clamp(18px, 5.1vw, 22px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .house-tab:last-child {
    border-right: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #754d20 !important;
    background:
      radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.62), transparent 42%),
      linear-gradient(135deg, #f1dfc2 0%, #dfc398 52%, #d0a462 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      inset 0 -10px 16px rgba(181, 126, 62, 0.08) !important;
  }

  .app-shell:not(.is-home) .main-grid {
    gap: clamp(7px, 1dvh, 9px) !important;
    grid-template-rows: minmax(0, 1.1fr) minmax(0, 0.92fr) !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel,
  .app-shell:not(.is-home) .bottom-panel {
    border: 1px solid rgba(224, 210, 190, 0.98) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.985) !important;
    box-shadow:
      0 5px 18px rgba(75, 55, 32, 0.045),
      inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding: clamp(35px, 5.15dvh, 43px) 12px 10px !important;
  }

  .app-shell:not(.is-home) .section-heading {
    top: clamp(10px, 1.45dvh, 13px) !important;
    left: 16px !important;
    gap: 8px !important;
  }

  .app-shell:not(.is-home) .section-heading span {
    width: clamp(26px, 3.95dvh, 31px) !important;
    height: clamp(26px, 3.95dvh, 31px) !important;
    background: linear-gradient(145deg, #d7ac6d 0%, #bf853d 100%) !important;
    box-shadow: 0 6px 12px rgba(162, 109, 48, 0.22) !important;
    font-size: clamp(13px, 1.9dvh, 16px) !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    color: #1f1a16 !important;
    font-size: clamp(20px, 5.3vw, 26px) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    top: clamp(11px, 1.55dvh, 15px) !important;
    right: 14px !important;
    height: clamp(29px, 4.25dvh, 35px) !important;
    padding: 2px !important;
    border-radius: 9px !important;
    border-color: rgba(228, 217, 205, 0.98) !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    border-radius: 7px !important;
    color: #2c2824 !important;
    font-size: clamp(12px, 3.35vw, 15px) !important;
    font-weight: 900 !important;
  }

  .app-shell:not(.is-home) .bird-tab.is-active,
  .app-shell:not(.is-home) .view-tab.is-active {
    color: #7a4e1d !important;
    background: linear-gradient(135deg, #f1dfc4 0%, #dcc095 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56) !important;
  }

  .app-shell:not(.is-home) .media-stage,
  .app-shell:not(.is-home) .bird-panel .media-stage,
  .app-shell:not(.is-home) .effect-panel .media-stage {
    border-radius: 7px !important;
    background: #fbf8f2 !important;
    box-shadow: inset 0 0 0 1px rgba(216, 196, 169, 0.22) !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    padding: clamp(36px, 5.15dvh, 43px) 10px 9px !important;
    grid-template-columns: minmax(0, 1fr) clamp(106px, 26vw, 122px) !important;
    gap: 8px !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    grid-template-rows: clamp(28px, 4.15dvh, 34px) minmax(0, 1fr) !important;
    gap: 7px 5px !important;
  }

  .app-shell:not(.is-home) .point-card {
    border-radius: 8px !important;
    border-color: rgba(224, 210, 190, 0.96) !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .app-shell:not(.is-home) .point-card.is-active {
    color: #754d20 !important;
    background: linear-gradient(135deg, #f1dfc2 0%, #d6ad6f 100%) !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    border-radius: 13px !important;
    background: linear-gradient(135deg, #f0d7a8 0%, #d7a35e 50%, #c1843f 100%) !important;
    box-shadow:
      0 7px 14px rgba(160, 103, 43, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
  }
}

/* Final strict mobile mockup lock: this must stay at the end of the file. */
@media (max-width: 760px) and (orientation: portrait) {
  html:has(.app-shell:not(.is-home)),
  html:has(.app-shell:not(.is-home)) body {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    overflow: hidden !important;
    background: #fffdf9 !important;
  }

  .app-shell:not(.is-home) {
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(219, 189, 149, 0.12), transparent 32%),
      linear-gradient(180deg, #fffefd 0%, #fffaf3 100%) !important;
  }

  .app-shell:not(.is-home) .app {
    width: min(100vw, 430px) !important;
    max-width: 430px !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    padding: max(7px, env(safe-area-inset-top)) 12px max(7px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      clamp(84px, 11.9dvh, 92px)
      minmax(0, 1fr)
      clamp(220px, 30.5dvh, 240px) !important;
    gap: clamp(6px, 0.8dvh, 8px) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .topbar {
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 30px !important;
    grid-template-rows: clamp(31px, 4.55dvh, 36px) clamp(38px, 5.55dvh, 44px) !important;
    gap: clamp(5px, 0.65dvh, 6px) 6px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .app-shell:not(.is-home) .brand-title {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    position: relative !important;
    width: 100% !important;
    padding: 0 36px !important;
    display: grid !important;
    place-items: center !important;
    transform: none !important;
    pointer-events: none !important;
  }

  .app-shell:not(.is-home) .brand-title h1 {
    color: #332820 !important;
    font-family: "STZhongsong", "SimSun", "Songti SC", serif !important;
    font-size: clamp(19px, 5.35vw, 23px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.045em !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  }

  .app-shell:not(.is-home) .brand-title::after {
    position: absolute !important;
    left: 50% !important;
    bottom: -8px !important;
    width: 58px !important;
    height: 9px !important;
    display: block !important;
    content: "" !important;
    opacity: 0.72 !important;
    transform: translateX(-50%) !important;
    background:
      linear-gradient(90deg, transparent 0 34%, rgba(208, 166, 105, 0.5) 34% 66%, transparent 66%),
      radial-gradient(circle at 50% 50%, rgba(193, 146, 82, 0.78) 0 2px, transparent 2.8px) !important;
  }

  .app-shell:not(.is-home) .home-back-button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    inset: auto !important;
    align-self: center !important;
    justify-self: end !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    color: #5d5048 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .app-shell:not(.is-home) .house-control {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    align-self: stretch !important;
    justify-self: stretch !important;
  }

  .app-shell:not(.is-home) .house-tabs {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border: 1px solid rgba(231, 222, 211, 0.98) !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow:
      0 4px 12px rgba(78, 55, 31, 0.045),
      inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .house-tab {
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-right: 1px solid rgba(228, 218, 206, 0.9) !important;
    border-radius: 0 !important;
    color: #2f2a25 !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: none !important;
    font-family: "Times New Roman", "SimSun", serif !important;
    font-size: clamp(18px, 5.1vw, 22px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .house-tab:last-child {
    border-right: 0 !important;
  }

  .app-shell:not(.is-home) .house-tab.is-active {
    color: #754d20 !important;
    background:
      radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.62), transparent 42%),
      linear-gradient(135deg, #f1dfc2 0%, #dfc398 52%, #d0a462 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      inset 0 -10px 16px rgba(181, 126, 62, 0.08) !important;
  }

  .app-shell:not(.is-home) .main-grid {
    grid-row: 2 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1.05fr) minmax(0, 0.9fr) !important;
    gap: clamp(7px, 1dvh, 9px) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel,
  .app-shell:not(.is-home) .bottom-panel {
    border: 1px solid rgba(224, 210, 190, 0.98) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow:
      0 5px 18px rgba(75, 55, 32, 0.045),
      inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .bird-panel::before,
  .app-shell:not(.is-home) .bird-panel::after,
  .app-shell:not(.is-home) .effect-panel::before,
  .app-shell:not(.is-home) .effect-panel::after,
  .app-shell:not(.is-home) .bottom-panel::before,
  .app-shell:not(.is-home) .bottom-panel::after {
    display: none !important;
    content: none !important;
  }

  .app-shell:not(.is-home) .bird-panel,
  .app-shell:not(.is-home) .effect-panel {
    padding: clamp(35px, 5.15dvh, 43px) 12px 10px !important;
  }

  .app-shell:not(.is-home) .section-heading {
    top: clamp(10px, 1.45dvh, 13px) !important;
    left: 16px !important;
    right: auto !important;
    gap: 8px !important;
    z-index: 8 !important;
  }

  .app-shell:not(.is-home) .section-heading span {
    width: clamp(26px, 3.95dvh, 31px) !important;
    height: clamp(26px, 3.95dvh, 31px) !important;
    background: linear-gradient(145deg, #d7ac6d 0%, #bf853d 100%) !important;
    box-shadow: 0 6px 12px rgba(162, 109, 48, 0.22) !important;
    font-size: clamp(13px, 1.9dvh, 16px) !important;
  }

  .app-shell:not(.is-home) .section-heading strong {
    color: #1f1a16 !important;
    font-size: clamp(20px, 5.2vw, 25px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .app-shell:not(.is-home) .section-heading em {
    display: none !important;
  }

  .app-shell:not(.is-home) .bird-tabs,
  .app-shell:not(.is-home) .view-tabs {
    top: clamp(11px, 1.55dvh, 15px) !important;
    right: 14px !important;
    height: clamp(29px, 4.25dvh, 35px) !important;
    padding: 2px !important;
    border: 1px solid rgba(228, 217, 205, 0.98) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .app-shell:not(.is-home) .bird-tab,
  .app-shell:not(.is-home) .view-tab {
    border-radius: 7px !important;
    color: #2c2824 !important;
    font-size: clamp(12px, 3.35vw, 15px) !important;
    font-weight: 900 !important;
  }

  .app-shell:not(.is-home) .bird-tab.is-active,
  .app-shell:not(.is-home) .view-tab.is-active {
    color: #7a4e1d !important;
    background: linear-gradient(135deg, #f1dfc4 0%, #dcc095 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56) !important;
  }

  .app-shell:not(.is-home) .media-stage,
  .app-shell:not(.is-home) .bird-panel .media-stage,
  .app-shell:not(.is-home) .effect-panel .media-stage {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #fbf8f2 !important;
    box-shadow: inset 0 0 0 1px rgba(216, 196, 169, 0.22) !important;
  }

  .app-shell:not(.is-home) .bottom-panel {
    grid-row: 3 !important;
    padding: clamp(37px, 5.25dvh, 43px) 10px 10px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) clamp(48px, 6.75dvh, 54px) !important;
    gap: clamp(7px, 1dvh, 9px) !important;
  }

  .app-shell:not(.is-home) .bottom-heading {
    top: clamp(10px, 1.45dvh, 13px) !important;
    left: 16px !important;
    right: 10px !important;
  }

  .app-shell:not(.is-home) .bottom-heading strong {
    flex: 0 0 auto !important;
    font-size: clamp(20px, 5vw, 24px) !important;
  }

  .app-shell:not(.is-home) .bottom-heading em {
    display: block !important;
    min-width: 0 !important;
    color: #9b9287 !important;
    font-size: clamp(8px, 2.25vw, 10px) !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .app-shell:not(.is-home) .content-switcher {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .cards-scroll {
    --point-count: 7;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(var(--point-count), minmax(0, 1fr)) !important;
    grid-template-rows: clamp(29px, 4.1dvh, 34px) minmax(0, 1fr) !important;
    gap: clamp(6px, 0.85dvh, 8px) clamp(5px, 1.2vw, 7px) !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .point-card {
    grid-row: 1 !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 2px !important;
    border: 1px solid rgba(224, 210, 190, 0.96) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .point-card.is-active {
    color: #744b1d !important;
    border-color: rgba(204, 151, 83, 0.58) !important;
    background: linear-gradient(135deg, #f1dfc2 0%, #d5ad70 100%) !important;
  }

  .app-shell:not(.is-home) .point-card h3 {
    gap: 2px !important;
    font-size: clamp(7px, 2vw, 8.8px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .app-shell:not(.is-home) .point-card h3::before {
    width: clamp(12px, 3vw, 15px) !important;
    height: clamp(12px, 3vw, 15px) !important;
    min-width: clamp(12px, 3vw, 15px) !important;
    font-size: clamp(7px, 1.8vw, 9px) !important;
  }

  .app-shell:not(.is-home) .mobile-active-styles,
  .app-shell:not(.is-home) .desktop-active-styles {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    height: 100% !important;
    min-height: 0 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .app-shell:not(.is-home) .mobile-style-list {
    height: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr)) !important;
    gap: clamp(10px, 2.4vw, 14px) !important;
  }

  .app-shell:not(.is-home) .style-pill {
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) clamp(18px, 2.65dvh, 22px) !important;
    gap: clamp(4px, 0.6dvh, 6px) !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .app-shell:not(.is-home) .style-thumb {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 1px solid rgba(204, 171, 124, 0.26) !important;
    border-radius: 8px !important;
    background: #f7f1e8 !important;
    box-shadow: 0 3px 9px rgba(72, 51, 30, 0.06) !important;
  }

  .app-shell:not(.is-home) .style-pill strong {
    color: #2f2a25 !important;
    font-size: clamp(12px, 3.35vw, 15px) !important;
    font-weight: 900 !important;
    line-height: clamp(18px, 2.65dvh, 22px) !important;
    text-align: center !important;
  }

  .app-shell:not(.is-home) .checkout-panel {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  .app-shell:not(.is-home) .confirm-button {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 13px !important;
    font-size: clamp(22px, 6vw, 28px) !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    background: linear-gradient(135deg, #f0d7a8 0%, #d7a35e 50%, #c1843f 100%) !important;
    box-shadow:
      0 7px 14px rgba(160, 103, 43, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
  }
}

/* Selection mini-program reference lock v89.
   Source mockup: 853x1844px, mapped to a 375x810.67 logical canvas. */
html:has(.app-shell:not(.is-home)),
html:has(.app-shell:not(.is-home)) body {
  width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #fdfcf9 !important;
}

.app-shell:not(.is-home) {
  --mini-u: calc(100vw / 375);
  --mini-canvas-w: calc(var(--mini-u) * 375);
  --mini-canvas-h: calc(var(--mini-u) * 811);
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 2%, rgba(220, 202, 172, 0.22), transparent 30%),
    linear-gradient(180deg, #fffefd 0%, #fbfaf7 100%) !important;
}

@media (min-aspect-ratio: 375/811) {
  .app-shell:not(.is-home) {
    --mini-u: calc(100dvh / 811);
  }
}

.app-shell:not(.is-home) .loading-screen {
  z-index: 1000 !important;
}

.app-shell:not(.is-home) .app {
  position: relative !important;
  width: var(--mini-canvas-w) !important;
  max-width: 100vw !important;
  height: var(--mini-canvas-h) !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  color: #27211b !important;
  background: transparent !important;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif !important;
}

.app-shell:not(.is-home) .topbar,
.app-shell:not(.is-home) .main-grid,
.app-shell:not(.is-home) .bottom-panel,
.app-shell:not(.is-home) .disclaimer {
  position: absolute !important;
  margin: 0 !important;
}

.app-shell:not(.is-home) .topbar {
  left: 0 !important;
  top: 0 !important;
  width: calc(var(--mini-u) * 375) !important;
  height: calc(var(--mini-u) * 94) !important;
  display: block !important;
  padding: 0 !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .brand-title {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(var(--mini-u) * 15) !important;
  height: calc(var(--mini-u) * 24) !important;
  display: grid !important;
  place-items: center !important;
  transform: none !important;
  pointer-events: none !important;
}

.app-shell:not(.is-home) .brand-title h1 {
  margin: 0 !important;
  color: #2e251d !important;
  font-family: "STSong", "SimSun", "Songti SC", serif !important;
  font-size: calc(var(--mini-u) * 20.5) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: calc(var(--mini-u) * 1.2) !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}

.app-shell:not(.is-home) .brand-title::after {
  position: absolute !important;
  left: 50% !important;
  bottom: calc(var(--mini-u) * -10) !important;
  width: calc(var(--mini-u) * 54) !important;
  height: calc(var(--mini-u) * 8) !important;
  content: "" !important;
  display: block !important;
  opacity: 0.72 !important;
  transform: translateX(-50%) !important;
  background:
    linear-gradient(90deg, transparent 0 32%, rgba(207, 170, 117, 0.42) 32% 68%, transparent 68%),
    radial-gradient(circle at 50% 52%, rgba(201, 160, 100, 0.78) 0 calc(var(--mini-u) * 1.5), transparent calc(var(--mini-u) * 2.3)) !important;
}

.app-shell:not(.is-home) .home-back-button {
  position: absolute !important;
  right: calc(var(--mini-u) * 17) !important;
  top: calc(var(--mini-u) * 18) !important;
  width: calc(var(--mini-u) * 21) !important;
  height: calc(var(--mini-u) * 21) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #574a40 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.app-shell:not(.is-home) .home-back-button::before {
  position: absolute !important;
  inset: calc(var(--mini-u) * 1) !important;
  display: block !important;
  content: "" !important;
  border: calc(var(--mini-u) * 1.2) solid currentColor !important;
  border-top-left-radius: calc(var(--mini-u) * 5) !important;
  border-top-right-radius: calc(var(--mini-u) * 5) !important;
  border-bottom-left-radius: calc(var(--mini-u) * 2) !important;
  border-bottom-right-radius: calc(var(--mini-u) * 2) !important;
  clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 64% 100%, 64% 62%, 36% 62%, 36% 100%, 0 100%) !important;
}

.app-shell:not(.is-home) .home-back-button > span,
.app-shell:not(.is-home) .home-back-button > span::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .house-control {
  position: absolute !important;
  left: calc(var(--mini-u) * 12) !important;
  right: calc(var(--mini-u) * 12) !important;
  top: calc(var(--mini-u) * 51) !important;
  height: calc(var(--mini-u) * 36) !important;
  display: block !important;
  min-width: 0 !important;
}

.app-shell:not(.is-home) .house-label {
  display: none !important;
}

.app-shell:not(.is-home) .house-tabs {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 0 !important;
  border: calc(var(--mini-u) * 0.7) solid #eee7de !important;
  border-radius: calc(var(--mini-u) * 6) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 calc(var(--mini-u) * 2) calc(var(--mini-u) * 8) rgba(112, 89, 64, 0.04) !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .house-tab {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-right: calc(var(--mini-u) * 0.6) solid rgba(233, 225, 216, 0.92) !important;
  border-radius: 0 !important;
  color: #2b2520 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Times New Roman", "Microsoft YaHei", serif !important;
  font-size: calc(var(--mini-u) * 15) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.app-shell:not(.is-home) .house-tab:last-child {
  border-right: 0 !important;
}

.app-shell:not(.is-home) .house-tab.is-active {
  color: #5f3c18 !important;
  background: linear-gradient(100deg, #ead8be 0%, #f4ebdd 100%) !important;
  box-shadow: inset 0 calc(var(--mini-u) * 1) 0 rgba(255, 255, 255, 0.54) !important;
}

.app-shell:not(.is-home) .main-grid {
  left: calc(var(--mini-u) * 9) !important;
  top: calc(var(--mini-u) * 97) !important;
  width: calc(var(--mini-u) * 357) !important;
  height: calc(var(--mini-u) * 492) !important;
  display: block !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .bird-panel,
.app-shell:not(.is-home) .effect-panel {
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  padding: 0 !important;
  border: calc(var(--mini-u) * 0.7) solid #f0ece6 !important;
  border-radius: calc(var(--mini-u) * 8) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    0 calc(var(--mini-u) * 3) calc(var(--mini-u) * 14) rgba(112, 86, 56, 0.035),
    inset 0 calc(var(--mini-u) * 1) 0 rgba(255, 255, 255, 0.9) !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .bird-panel {
  top: 0 !important;
  height: calc(var(--mini-u) * 286) !important;
}

.app-shell:not(.is-home) .effect-panel {
  top: calc(var(--mini-u) * 296) !important;
  height: calc(var(--mini-u) * 196) !important;
}

.app-shell:not(.is-home) .bird-panel::before,
.app-shell:not(.is-home) .bird-panel::after,
.app-shell:not(.is-home) .effect-panel::before,
.app-shell:not(.is-home) .effect-panel::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .section-heading {
  position: absolute !important;
  left: calc(var(--mini-u) * 10) !important;
  top: calc(var(--mini-u) * 12) !important;
  right: auto !important;
  height: calc(var(--mini-u) * 18) !important;
  display: flex !important;
  align-items: center !important;
  gap: calc(var(--mini-u) * 6) !important;
  z-index: 8 !important;
}

.app-shell:not(.is-home) .section-heading span {
  width: calc(var(--mini-u) * 16) !important;
  height: calc(var(--mini-u) * 16) !important;
  min-width: calc(var(--mini-u) * 16) !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(145deg, #cfa56c 0%, #bd8d52 100%) !important;
  box-shadow: none !important;
  font-size: calc(var(--mini-u) * 9) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.app-shell:not(.is-home) .section-heading strong {
  color: #201b16 !important;
  font-size: calc(var(--mini-u) * 14) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.app-shell:not(.is-home) .section-heading em {
  display: none !important;
}

.app-shell:not(.is-home) .bird-tabs,
.app-shell:not(.is-home) .view-tabs {
  position: absolute !important;
  left: auto !important;
  right: calc(var(--mini-u) * 12) !important;
  top: calc(var(--mini-u) * 11) !important;
  height: calc(var(--mini-u) * 20) !important;
  min-height: 0 !important;
  display: grid !important;
  padding: 0 !important;
  gap: 0 !important;
  border: calc(var(--mini-u) * 0.7) solid #ebe6df !important;
  border-radius: calc(var(--mini-u) * 4) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: none !important;
}

.app-shell:not(.is-home) .bird-tabs {
  width: calc(var(--mini-u) * 96) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.app-shell:not(.is-home) .view-tabs {
  width: calc(var(--mini-u) * 130) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.app-shell:not(.is-home) .bird-tabs::after,
.app-shell:not(.is-home) .view-tabs::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: calc(var(--mini-u) * 0.6) solid rgba(233, 225, 216, 0.8) !important;
  border-radius: 0 !important;
  color: #352e27 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: calc(var(--mini-u) * 11) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.app-shell:not(.is-home) .bird-tab:last-child,
.app-shell:not(.is-home) .view-tab:last-child {
  border-right: 0 !important;
}

.app-shell:not(.is-home) .bird-tab.is-active,
.app-shell:not(.is-home) .view-tab.is-active {
  color: #6c431c !important;
  background: linear-gradient(100deg, #ebd9bf 0%, #f5ecdf 100%) !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .media-stage,
.app-shell:not(.is-home) .bird-panel .media-stage,
.app-shell:not(.is-home) .effect-panel .media-stage {
  position: absolute !important;
  z-index: 1 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: zoom-in !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .bird-panel .media-stage {
  left: calc(var(--mini-u) * 13) !important;
  top: calc(var(--mini-u) * 36) !important;
  right: auto !important;
  bottom: auto !important;
  width: calc(var(--mini-u) * 331) !important;
  height: calc(var(--mini-u) * 244) !important;
  aspect-ratio: auto !important;
}

.app-shell:not(.is-home) .effect-panel .media-stage {
  left: calc(var(--mini-u) * 5) !important;
  top: calc(var(--mini-u) * 39) !important;
  right: auto !important;
  bottom: auto !important;
  width: calc(var(--mini-u) * 347) !important;
  height: calc(var(--mini-u) * 150) !important;
  aspect-ratio: auto !important;
  border-radius: calc(var(--mini-u) * 5) !important;
}

.app-shell:not(.is-home) .media-stage::before,
.app-shell:not(.is-home) .media-stage::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .scene-image,
.app-shell:not(.is-home) .scene-overlay-image,
.app-shell:not(.is-home) .scene-overlay-stack img {
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(1.18) !important;
  transform-origin: center center !important;
}

.app-shell:not(.is-home) .preview-image,
.app-shell:not(.is-home) .preview-overlay-image,
.app-shell:not(.is-home) .preview-overlay-stack img {
  object-fit: cover !important;
  object-position: center !important;
}

.app-shell:not(.is-home) .scene-image.is-ready,
.app-shell:not(.is-home) .preview-image.is-ready,
.app-shell:not(.is-home) .image-overlay-stack img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.app-shell:not(.is-home) .scene-image.is-empty,
.app-shell:not(.is-home) .preview-image.is-empty {
  opacity: 0 !important;
  visibility: hidden !important;
}

.app-shell:not(.is-home) .preview-stage.is-detail-view .preview-image {
  object-fit: cover !important;
}

.app-shell:not(.is-home) .preview-stage.is-detail-view .image-overlay-stack {
  display: block !important;
}

.app-shell:not(.is-home) .effect-caption {
  display: none !important;
}

.app-shell:not(.is-home) .bottom-panel {
  left: calc(var(--mini-u) * 9) !important;
  top: calc(var(--mini-u) * 598) !important;
  width: calc(var(--mini-u) * 357) !important;
  height: calc(var(--mini-u) * 212) !important;
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .bottom-panel::before,
.app-shell:not(.is-home) .bottom-panel::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .content-switcher {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: calc(var(--mini-u) * 156) !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: calc(var(--mini-u) * 0.7) solid #f0ece6 !important;
  border-radius: calc(var(--mini-u) * 8) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    0 calc(var(--mini-u) * 3) calc(var(--mini-u) * 14) rgba(112, 86, 56, 0.035),
    inset 0 calc(var(--mini-u) * 1) 0 rgba(255, 255, 255, 0.9) !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .bottom-heading {
  left: calc(var(--mini-u) * 10) !important;
  top: calc(var(--mini-u) * 12) !important;
  right: calc(var(--mini-u) * 10) !important;
  width: auto !important;
  height: calc(var(--mini-u) * 18) !important;
  gap: calc(var(--mini-u) * 7) !important;
}

.app-shell:not(.is-home) .bottom-heading strong {
  flex: 0 0 auto !important;
  font-size: calc(var(--mini-u) * 14) !important;
}

.app-shell:not(.is-home) .bottom-heading em {
  display: block !important;
  min-width: 0 !important;
  color: #9c948d !important;
  font-size: calc(var(--mini-u) * 8.5) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.app-shell:not(.is-home) .cards-scroll {
  --point-count: 7;
  position: absolute !important;
  left: calc(var(--mini-u) * 7) !important;
  right: calc(var(--mini-u) * 7) !important;
  top: calc(var(--mini-u) * 48) !important;
  bottom: calc(var(--mini-u) * 6) !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  counter-reset: option-point !important;
  display: grid !important;
  grid-template-columns: repeat(var(--point-count), minmax(0, 1fr)) !important;
  grid-template-rows: calc(var(--mini-u) * 21) minmax(0, 1fr) !important;
  gap: calc(var(--mini-u) * 10) calc(var(--mini-u) * 5) !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .point-card {
  grid-row: 1 !important;
  counter-increment: option-point !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 calc(var(--mini-u) * 2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: calc(var(--mini-u) * 0.7) solid #ebe6df !important;
  border-radius: calc(var(--mini-u) * 4) !important;
  color: #4f463e !important;
  background: rgba(250, 248, 245, 0.94) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .point-card.is-active {
  color: #6f431b !important;
  border-color: rgba(210, 174, 126, 0.48) !important;
  background: linear-gradient(100deg, #f1e2cd 0%, #f8f0e4 100%) !important;
}

.app-shell:not(.is-home) .point-card-header {
  width: 100% !important;
  min-width: 0 !important;
}

.app-shell:not(.is-home) .point-card h3 {
  margin: 0 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(var(--mini-u) * 2) !important;
  color: inherit !important;
  font-size: calc(var(--mini-u) * 8.5) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

.app-shell:not(.is-home) .point-card h3::before {
  width: calc(var(--mini-u) * 10) !important;
  height: calc(var(--mini-u) * 10) !important;
  min-width: calc(var(--mini-u) * 10) !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #c4a27b !important;
  content: counter(option-point) !important;
  font-size: calc(var(--mini-u) * 6.5) !important;
  font-weight: 800 !important;
}

.app-shell:not(.is-home) .point-card .style-pills,
.app-shell:not(.is-home) .point-card .current-style,
.app-shell:not(.is-home) .mobile-active-title,
.app-shell:not(.is-home) .active-style-section-head {
  display: none !important;
}

.app-shell:not(.is-home) .mobile-active-styles,
.app-shell:not(.is-home) .desktop-active-styles {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: block !important;
  padding: 0 calc(var(--mini-u) * 5) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .mobile-style-list {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr)) !important;
  gap: calc(var(--mini-u) * 12) !important;
}

.app-shell:not(.is-home) .style-pill {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) calc(var(--mini-u) * 19) !important;
  gap: calc(var(--mini-u) * 5) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .style-thumb {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: block !important;
  aspect-ratio: auto !important;
  border: calc(var(--mini-u) * 0.8) solid rgba(205, 163, 104, 0.2) !important;
  border-radius: calc(var(--mini-u) * 6) !important;
  background: #f4efe7 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .style-thumb img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb {
  border-color: #c99955 !important;
  box-shadow: 0 0 0 calc(var(--mini-u) * 0.7) rgba(201, 153, 85, 0.24) !important;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  width: calc(var(--mini-u) * 20) !important;
  height: calc(var(--mini-u) * 20) !important;
  display: grid !important;
  place-items: center !important;
  border-radius: calc(var(--mini-u) * 10) 0 calc(var(--mini-u) * 5) 0 !important;
  color: #fff !important;
  background: #c79a5b !important;
  content: "\2713" !important;
  font-size: calc(var(--mini-u) * 13) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.app-shell:not(.is-home) .style-pill strong {
  display: block !important;
  max-width: 100% !important;
  color: #4e453d !important;
  font-size: calc(var(--mini-u) * 10) !important;
  font-weight: 700 !important;
  line-height: calc(var(--mini-u) * 14) !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.app-shell:not(.is-home) .style-price {
  display: none !important;
}

.app-shell:not(.is-home) .checkout-panel {
  position: absolute !important;
  left: calc(var(--mini-u) * 7) !important;
  right: calc(var(--mini-u) * 7) !important;
  top: calc(var(--mini-u) * 167) !important;
  width: auto !important;
  height: calc(var(--mini-u) * 45) !important;
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .confirm-button {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: calc(var(--mini-u) * 8) !important;
  clip-path: none !important;
  color: #fff !important;
  background: linear-gradient(100deg, #d5ad74 0%, #c89452 48%, #d6ad73 100%) !important;
  box-shadow:
    0 calc(var(--mini-u) * 7) calc(var(--mini-u) * 14) rgba(165, 116, 57, 0.12),
    inset 0 calc(var(--mini-u) * 1) 0 rgba(255, 255, 255, 0.32) !important;
  font-size: calc(var(--mini-u) * 14) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: calc(var(--mini-u) * 0.8) !important;
}

.app-shell:not(.is-home) .disclaimer {
  display: none !important;
}

.app-shell:not(.is-home) .submit-modal,
.app-shell:not(.is-home) .image-zoom-modal {
  position: fixed !important;
}

/* Selection mini-program slice lock v90.
   All coordinates below are restored from the 853x1844 reference at 375px logical width. */
html:has(.app-shell:not(.is-home)),
html:has(.app-shell:not(.is-home)) body {
  width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  background: #fffdf9 !important;
}

.app-shell:not(.is-home) {
  --mini-u: min(calc(100vw / 375), calc(100dvh / 811)) !important;
  --mini-canvas-w: calc(var(--mini-u) * 375) !important;
  --mini-canvas-h: calc(var(--mini-u) * 811) !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(221, 199, 166, 0.16), transparent 31%),
    linear-gradient(180deg, #fffefd 0%, #fbfaf7 100%) !important;
}

.app-shell:not(.is-home) .app {
  position: relative !important;
  width: var(--mini-canvas-w) !important;
  height: var(--mini-canvas-h) !important;
  max-width: 100vw !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: transparent !important;
  transform: none !important;
}

.app-shell:not(.is-home) .topbar {
  left: 0 !important;
  top: 0 !important;
  width: calc(var(--mini-u) * 375) !important;
  height: calc(var(--mini-u) * 94) !important;
  padding: 0 !important;
  display: block !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .brand-title {
  left: 0 !important;
  right: 0 !important;
  top: calc(var(--mini-u) * 14) !important;
  height: calc(var(--mini-u) * 25) !important;
  display: grid !important;
  place-items: center !important;
}

.app-shell:not(.is-home) .brand-title h1 {
  font-size: calc(var(--mini-u) * 20) !important;
  letter-spacing: calc(var(--mini-u) * 1.5) !important;
  color: #2f261f !important;
}

.app-shell:not(.is-home) .brand-title::after {
  bottom: calc(var(--mini-u) * -9) !important;
  width: calc(var(--mini-u) * 56) !important;
  height: calc(var(--mini-u) * 8) !important;
}

.app-shell:not(.is-home) .home-back-button {
  right: calc(var(--mini-u) * 15) !important;
  top: calc(var(--mini-u) * 17) !important;
  width: calc(var(--mini-u) * 23) !important;
  height: calc(var(--mini-u) * 23) !important;
}

.app-shell:not(.is-home) .house-control {
  left: calc(var(--mini-u) * 12) !important;
  right: calc(var(--mini-u) * 12) !important;
  top: calc(var(--mini-u) * 51) !important;
  width: auto !important;
  height: calc(var(--mini-u) * 36) !important;
}

.app-shell:not(.is-home) .house-tabs {
  border-radius: calc(var(--mini-u) * 7) !important;
  border-color: #eee8df !important;
  box-shadow: 0 calc(var(--mini-u) * 2) calc(var(--mini-u) * 8) rgba(91, 67, 42, 0.035) !important;
}

.app-shell:not(.is-home) .house-tab {
  font-family: "Times New Roman", "Microsoft YaHei", serif !important;
  font-size: calc(var(--mini-u) * 14) !important;
  font-weight: 500 !important;
  color: #1f1b16 !important;
}

.app-shell:not(.is-home) .house-tab.is-active {
  color: #5c3918 !important;
  background: linear-gradient(100deg, #ead7bd 0%, #f4ebdd 100%) !important;
}

.app-shell:not(.is-home) .main-grid {
  left: calc(var(--mini-u) * 9) !important;
  top: calc(var(--mini-u) * 97) !important;
  width: calc(var(--mini-u) * 357) !important;
  height: calc(var(--mini-u) * 492) !important;
  display: block !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .bird-panel,
.app-shell:not(.is-home) .effect-panel,
.app-shell:not(.is-home) .content-switcher {
  border: calc(var(--mini-u) * 0.7) solid #f0ece6 !important;
  border-radius: calc(var(--mini-u) * 9) !important;
  background: rgba(255, 255, 255, 0.965) !important;
  box-shadow:
    0 calc(var(--mini-u) * 3) calc(var(--mini-u) * 14) rgba(96, 70, 42, 0.035),
    inset 0 calc(var(--mini-u) * 1) 0 rgba(255, 255, 255, 0.94) !important;
}

.app-shell:not(.is-home) .bird-panel {
  top: 0 !important;
  height: calc(var(--mini-u) * 286) !important;
}

.app-shell:not(.is-home) .effect-panel {
  top: calc(var(--mini-u) * 296) !important;
  height: calc(var(--mini-u) * 196) !important;
}

.app-shell:not(.is-home) .section-heading {
  left: calc(var(--mini-u) * 11) !important;
  top: calc(var(--mini-u) * 12) !important;
  height: calc(var(--mini-u) * 18) !important;
  gap: calc(var(--mini-u) * 7) !important;
}

.app-shell:not(.is-home) .section-heading span {
  width: calc(var(--mini-u) * 16) !important;
  height: calc(var(--mini-u) * 16) !important;
  min-width: calc(var(--mini-u) * 16) !important;
  background: #c69d63 !important;
  font-size: calc(var(--mini-u) * 9) !important;
}

.app-shell:not(.is-home) .section-heading strong {
  font-size: calc(var(--mini-u) * 14) !important;
  color: #201b16 !important;
  font-weight: 900 !important;
}

.app-shell:not(.is-home) .bird-tabs,
.app-shell:not(.is-home) .view-tabs {
  right: calc(var(--mini-u) * 12) !important;
  top: calc(var(--mini-u) * 11) !important;
  height: calc(var(--mini-u) * 20) !important;
  border-radius: calc(var(--mini-u) * 4) !important;
  border-color: #ebe6df !important;
}

.app-shell:not(.is-home) .bird-tabs {
  width: calc(var(--mini-u) * 96) !important;
}

.app-shell:not(.is-home) .view-tabs {
  width: calc(var(--mini-u) * 130) !important;
}

.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab {
  font-size: calc(var(--mini-u) * 10.5) !important;
  font-weight: 800 !important;
  color: #312a23 !important;
}

.app-shell:not(.is-home) .bird-tab.is-active,
.app-shell:not(.is-home) .view-tab.is-active {
  color: #69421c !important;
  background: linear-gradient(100deg, #ebd9bf 0%, #f7eee2 100%) !important;
}

.app-shell:not(.is-home) .bird-panel .media-stage {
  left: calc(var(--mini-u) * 10) !important;
  top: calc(var(--mini-u) * 34) !important;
  width: calc(var(--mini-u) * 337) !important;
  height: calc(var(--mini-u) * 246) !important;
}

.app-shell:not(.is-home) .effect-panel .media-stage {
  left: calc(var(--mini-u) * 5) !important;
  top: calc(var(--mini-u) * 40) !important;
  width: calc(var(--mini-u) * 347) !important;
  height: calc(var(--mini-u) * 149) !important;
  border-radius: calc(var(--mini-u) * 5) !important;
}

.app-shell:not(.is-home) .scene-image,
.app-shell:not(.is-home) .scene-overlay-image,
.app-shell:not(.is-home) .scene-overlay-stack img {
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(1.2) !important;
  transform-origin: center center !important;
}

.app-shell:not(.is-home) .preview-image,
.app-shell:not(.is-home) .preview-overlay-image,
.app-shell:not(.is-home) .preview-overlay-stack img {
  object-fit: cover !important;
  object-position: center !important;
}

.app-shell:not(.is-home) .bottom-panel {
  left: calc(var(--mini-u) * 9) !important;
  top: calc(var(--mini-u) * 598) !important;
  width: calc(var(--mini-u) * 357) !important;
  height: calc(var(--mini-u) * 212) !important;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .content-switcher {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: calc(var(--mini-u) * 156) !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .bottom-heading {
  left: calc(var(--mini-u) * 11) !important;
  top: calc(var(--mini-u) * 13) !important;
  right: calc(var(--mini-u) * 11) !important;
  height: calc(var(--mini-u) * 18) !important;
}

.app-shell:not(.is-home) .bottom-heading strong {
  font-size: calc(var(--mini-u) * 14) !important;
}

.app-shell:not(.is-home) .bottom-heading em {
  display: block !important;
  color: #9d968d !important;
  font-size: calc(var(--mini-u) * 8.5) !important;
  font-weight: 500 !important;
}

.app-shell:not(.is-home) .cards-scroll {
  left: calc(var(--mini-u) * 7) !important;
  right: calc(var(--mini-u) * 7) !important;
  top: calc(var(--mini-u) * 49) !important;
  bottom: calc(var(--mini-u) * 6) !important;
  grid-template-rows: calc(var(--mini-u) * 21) minmax(0, 1fr) !important;
  gap: calc(var(--mini-u) * 10) calc(var(--mini-u) * 5) !important;
}

.app-shell:not(.is-home) .point-card {
  border-radius: calc(var(--mini-u) * 4) !important;
  background: rgba(250, 248, 245, 0.94) !important;
}

.app-shell:not(.is-home) .point-card.is-active {
  color: #6c421b !important;
  background: linear-gradient(100deg, #f0dfc9 0%, #f8f0e5 100%) !important;
}

.app-shell:not(.is-home) .point-card h3 {
  gap: calc(var(--mini-u) * 2) !important;
  font-size: calc(var(--mini-u) * 8.2) !important;
}

.app-shell:not(.is-home) .point-card h3::before {
  width: calc(var(--mini-u) * 10) !important;
  height: calc(var(--mini-u) * 10) !important;
  min-width: calc(var(--mini-u) * 10) !important;
  background: #c4a27b !important;
  font-size: calc(var(--mini-u) * 6.5) !important;
}

.app-shell:not(.is-home) .mobile-active-styles,
.app-shell:not(.is-home) .desktop-active-styles {
  padding: 0 calc(var(--mini-u) * 5) !important;
}

.app-shell:not(.is-home) .mobile-style-list {
  grid-template-columns: repeat(var(--active-style-count, 3), minmax(0, 1fr)) !important;
  gap: calc(var(--mini-u) * 12) !important;
}

.app-shell:not(.is-home) .style-pill {
  grid-template-rows: minmax(0, 1fr) calc(var(--mini-u) * 18) !important;
  gap: calc(var(--mini-u) * 5) !important;
}

.app-shell:not(.is-home) .style-thumb {
  border-radius: calc(var(--mini-u) * 6) !important;
  border-color: rgba(202, 158, 94, 0.22) !important;
}

.app-shell:not(.is-home) .style-thumb img {
  object-fit: cover !important;
  object-position: center !important;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb {
  border-color: #c89452 !important;
  box-shadow: 0 0 0 calc(var(--mini-u) * 0.8) rgba(200, 148, 82, 0.24) !important;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
  width: calc(var(--mini-u) * 20) !important;
  height: calc(var(--mini-u) * 20) !important;
  border-radius: calc(var(--mini-u) * 10) 0 calc(var(--mini-u) * 5) 0 !important;
  background: #c99a5a !important;
  font-size: calc(var(--mini-u) * 13) !important;
}

.app-shell:not(.is-home) .style-pill strong {
  font-size: calc(var(--mini-u) * 10) !important;
  line-height: calc(var(--mini-u) * 13) !important;
  color: #4e453d !important;
}

.app-shell:not(.is-home) .checkout-panel {
  left: calc(var(--mini-u) * 8) !important;
  right: calc(var(--mini-u) * 8) !important;
  top: calc(var(--mini-u) * 167) !important;
  height: calc(var(--mini-u) * 45) !important;
}

.app-shell:not(.is-home) .confirm-button {
  border-radius: calc(var(--mini-u) * 8) !important;
  background: linear-gradient(100deg, #d7b27a 0%, #c89552 50%, #d8b176 100%) !important;
  box-shadow:
    0 calc(var(--mini-u) * 7) calc(var(--mini-u) * 14) rgba(165, 116, 57, 0.12),
    inset 0 calc(var(--mini-u) * 1) 0 rgba(255, 255, 255, 0.34) !important;
  font-size: calc(var(--mini-u) * 14) !important;
  letter-spacing: calc(var(--mini-u) * 0.8) !important;
}

@media (orientation: landscape) and (min-width: 768px) {
  .app-shell:not(.is-home) {
    --mini-u: min(calc(100vw / 375), calc(100dvh / 811)) !important;
  }
}

/* Homepage mini-program reference lock v91.
   Restores the reference logo/icon/typography system on a 375px design canvas. */
html:has(.app-shell.is-home),
html:has(.app-shell.is-home) body {
  width: 100% !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  background: #fffdf9 !important;
}

.app-shell.is-home {
  --home-u: min(calc(100vw / 375), 1px) !important;
  --home-canvas-w: calc(var(--home-u) * 375) !important;
  width: 100vw !important;
  min-height: 100dvh !important;
  display: grid !important;
  justify-items: center !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  color: #392a20 !important;
  background:
    radial-gradient(circle at 50% -6%, rgba(226, 203, 171, 0.2), transparent 34%),
    linear-gradient(180deg, #fffefd 0%, #fbf7f1 48%, #fffdf9 100%) !important;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif !important;
}

.app-shell.is-home .app {
  display: none !important;
}

.app-shell.is-home .home-screen {
  position: relative !important;
  width: var(--home-canvas-w) !important;
  max-width: 100vw !important;
  min-height: calc(var(--home-u) * 812) !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: calc(var(--home-u) * 22) calc(var(--home-u) * 14) calc(var(--home-u) * 24) !important;
  display: block !important;
  overflow: visible !important;
  background: #fffdf9 !important;
  box-shadow: 0 calc(var(--home-u) * 18) calc(var(--home-u) * 50) rgba(83, 60, 36, 0.08) !important;
}

.app-shell.is-home .home-screen > * + * {
  margin-top: calc(var(--home-u) * 18) !important;
}

.app-shell.is-home .home-icon-defs {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.app-shell.is-home .home-hero {
  position: relative !important;
  height: auto !important;
  max-height: none !important;
  min-height: calc(var(--home-u) * 292) !important;
  margin: calc(var(--home-u) * -22) calc(var(--home-u) * -14) 0 !important;
  padding: calc(var(--home-u) * 37) calc(var(--home-u) * 19) calc(var(--home-u) * 105) !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(250, 239, 222, 0.48) 50%, rgba(255, 253, 249, 0.92) 100%),
    radial-gradient(circle at 15% 20%, rgba(214, 184, 139, 0.14), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #f1e3d0 100%) !important;
  box-shadow: none !important;
}

.app-shell.is-home .home-hero::before {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  left: calc(var(--home-u) * 128) !important;
  right: calc(var(--home-u) * -5) !important;
  bottom: calc(var(--home-u) * 103) !important;
  height: calc(var(--home-u) * 91) !important;
  opacity: 0.94 !important;
  background:
    repeating-linear-gradient(90deg, rgba(255, 244, 221, 0.52) 0 calc(var(--home-u) * 1.5), transparent calc(var(--home-u) * 1.5) calc(var(--home-u) * 9)),
    repeating-linear-gradient(0deg, rgba(255, 244, 221, 0.34) 0 calc(var(--home-u) * 1), transparent calc(var(--home-u) * 1) calc(var(--home-u) * 11)),
    linear-gradient(90deg, #3f3730 0%, #7a6049 34%, #b48558 50%, #5a493d 69%, #302c28 100%) !important;
  clip-path: polygon(0 76%, 5% 76%, 5% 44%, 13% 44%, 13% 20%, 24% 20%, 24% 7%, 35% 7%, 35% 25%, 45% 25%, 45% 38%, 55% 38%, 55% 30%, 64% 30%, 64% 43%, 74% 43%, 74% 34%, 86% 34%, 86% 40%, 97% 40%, 97% 73%, 100% 73%, 100% 100%, 0 100%) !important;
  filter: drop-shadow(0 calc(var(--home-u) * 15) calc(var(--home-u) * 13) rgba(72, 48, 28, 0.24)) !important;
}

.app-shell.is-home .home-hero::after {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  left: calc(var(--home-u) * -28) !important;
  right: calc(var(--home-u) * -28) !important;
  bottom: calc(var(--home-u) * 67) !important;
  height: calc(var(--home-u) * 73) !important;
  opacity: 0.86 !important;
  background:
    linear-gradient(180deg, rgba(161, 122, 74, 0.24), rgba(255, 255, 255, 0.9) 76%),
    repeating-linear-gradient(0deg, rgba(184, 151, 105, 0.2) 0 calc(var(--home-u) * 0.8), transparent calc(var(--home-u) * 0.8) calc(var(--home-u) * 7)),
    radial-gradient(ellipse at 52% 0%, rgba(73, 92, 76, 0.3), transparent 48%),
    linear-gradient(90deg, rgba(130, 92, 49, 0.08), rgba(214, 195, 164, 0.42), rgba(130, 92, 49, 0.08)) !important;
}

.app-shell.is-home .home-logo-slot {
  position: absolute !important;
  z-index: 4 !important;
  top: calc(var(--home-u) * 37) !important;
  right: calc(var(--home-u) * 20) !important;
  min-width: calc(var(--home-u) * 68) !important;
  width: calc(var(--home-u) * 74) !important;
  height: auto !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  gap: calc(var(--home-u) * 3) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #49382b !important;
  text-align: center !important;
  opacity: 1 !important;
}

.app-shell.is-home .home-logo-slot::before {
  display: none !important;
}

.app-shell.is-home .home-logo-wave {
  position: relative !important;
  width: calc(var(--home-u) * 43) !important;
  height: calc(var(--home-u) * 15) !important;
  display: block !important;
}

.app-shell.is-home .home-logo-wave::before,
.app-shell.is-home .home-logo-wave::after,
.app-shell.is-home .home-logo-wave b {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  height: 32% !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent 0%, #2f2924 19%, #887764 52%, #2f2924 82%, transparent 100%) !important;
  transform: skewX(-24deg) rotate(8deg) !important;
}

.app-shell.is-home .home-logo-wave::before {
  top: 0 !important;
}

.app-shell.is-home .home-logo-wave::after {
  top: 38% !important;
  left: 16% !important;
  opacity: 0.76 !important;
}

.app-shell.is-home .home-logo-wave b:first-child {
  top: 72% !important;
  left: 36% !important;
  opacity: 0.9 !important;
}

.app-shell.is-home .home-logo-wave b:last-child {
  display: none !important;
}

.app-shell.is-home .home-logo-slot span {
  display: block !important;
  color: #42342b !important;
  font-family: "Times New Roman", "Microsoft YaHei", serif !important;
  font-size: calc(var(--home-u) * 5.8) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-logo-slot strong {
  display: block !important;
  color: #49382b !important;
  font-family: "STSong", "SimSun", "Songti SC", serif !important;
  font-size: calc(var(--home-u) * 10.5) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-copy {
  position: relative !important;
  z-index: 3 !important;
  width: calc(var(--home-u) * 258) !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #36291f !important;
}

.app-shell.is-home .home-title {
  margin: 0 0 calc(var(--home-u) * 13) !important;
  color: #33271e !important;
  font-family: "STSong", "SimSun", "Songti SC", serif !important;
  font-size: calc(var(--home-u) * 31) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: 0.03em !important;
  text-shadow: 0 calc(var(--home-u) * 5) calc(var(--home-u) * 14) rgba(108, 79, 46, 0.12) !important;
}

.app-shell.is-home .home-title span {
  display: inline-block !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-title span + span {
  margin-left: 0 !important;
}

.app-shell.is-home .home-subtitle,
.app-shell.is-home .home-desc {
  margin: 0 !important;
  color: #49382b !important;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif !important;
  font-size: calc(var(--home-u) * 13) !important;
  font-weight: 850 !important;
  line-height: 1.66 !important;
  letter-spacing: 0 !important;
}

.app-shell.is-home .home-desc {
  font-size: calc(var(--home-u) * 12.3) !important;
  font-weight: 800 !important;
}

.app-shell.is-home .home-feature-row {
  position: absolute !important;
  z-index: 5 !important;
  left: calc(var(--home-u) * 19) !important;
  right: calc(var(--home-u) * 19) !important;
  bottom: calc(var(--home-u) * 16) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: calc(var(--home-u) * 11) calc(var(--home-u) * 6) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.app-shell.is-home .home-feature {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: calc(var(--home-u) * 25) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: calc(var(--home-u) * 5) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #c49a62 !important;
  text-align: left !important;
}

.app-shell.is-home .home-icon-slot,
.app-shell.is-home .home-mini-icon,
.app-shell.is-home .home-contact-icon,
.app-shell.is-home .home-phone-icon {
  display: grid !important;
  place-items: center !important;
  color: #c49a62 !important;
}

.app-shell.is-home .home-icon-slot {
  width: calc(var(--home-u) * 25) !important;
  height: calc(var(--home-u) * 25) !important;
  min-width: calc(var(--home-u) * 25) !important;
  border: calc(var(--home-u) * 1) solid rgba(196, 154, 98, 0.45) !important;
  border-radius: 50% 50% 50% 18% !important;
  background: rgba(255, 253, 249, 0.72) !important;
  box-shadow: none !important;
  transform: rotate(-45deg) !important;
}

.app-shell.is-home .home-icon-slot svg,
.app-shell.is-home .home-mini-icon svg,
.app-shell.is-home .home-contact-icon svg,
.app-shell.is-home .home-phone-icon svg {
  width: 62% !important;
  height: 62% !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.35 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.app-shell.is-home .home-icon-slot svg,
.app-shell.is-home .home-mini-icon svg {
  transform: rotate(45deg) !important;
}

.app-shell.is-home .home-feature p {
  min-width: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.app-shell.is-home .home-feature strong,
.app-shell.is-home .home-feature p span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-feature strong {
  color: #8d6b42 !important;
  font-size: calc(var(--home-u) * 7.2) !important;
  font-weight: 900 !important;
  line-height: 1.16 !important;
}

.app-shell.is-home .home-feature p span {
  margin-top: calc(var(--home-u) * 2) !important;
  color: rgba(141, 107, 66, 0.58) !important;
  font-size: calc(var(--home-u) * 5.9) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.app-shell.is-home .home-main {
  position: relative !important;
  width: 100% !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: calc(var(--home-u) * 18) !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin: calc(var(--home-u) * 18) 0 0 !important;
  transform: none !important;
}

.app-shell.is-home .home-selection-card,
.app-shell.is-home .home-house-panel,
.app-shell.is-home .home-contact-strip {
  border: calc(var(--home-u) * 0.7) solid rgba(216, 193, 162, 0.58) !important;
  border-radius: calc(var(--home-u) * 16) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 calc(var(--home-u) * 8) calc(var(--home-u) * 24) rgba(73, 52, 32, 0.075) !important;
}

.app-shell.is-home .home-selection-card {
  position: relative !important;
  height: auto !important;
  max-height: none !important;
  min-height: calc(var(--home-u) * 219) !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: calc(var(--home-u) * 18) !important;
  display: grid !important;
  grid-template-columns: calc(var(--home-u) * 118) minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) calc(var(--home-u) * 34) !important;
  grid-template-areas:
    "copy interior"
    "services interior"
    "button interior" !important;
  gap: calc(var(--home-u) * 11) calc(var(--home-u) * 14) !important;
  overflow: hidden !important;
  transform: none !important;
}

.app-shell.is-home .home-selection-card::after {
  display: none !important;
}

.app-shell.is-home .home-card-copy {
  grid-area: copy !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.app-shell.is-home .home-card-copy h2,
.app-shell.is-home .home-house-panel h2 {
  margin: 0 !important;
  color: #3d2d21 !important;
  font-family: "STSong", "SimSun", "Songti SC", serif !important;
  font-size: calc(var(--home-u) * 24) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.035em !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-card-copy p {
  margin: calc(var(--home-u) * 9) 0 0 !important;
  color: #4d3d31 !important;
  font-size: calc(var(--home-u) * 11.5) !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
}

.app-shell.is-home .home-service-row {
  grid-area: services !important;
  align-self: center !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: calc(var(--home-u) * 11) calc(var(--home-u) * 9) !important;
}

.app-shell.is-home .home-service-row > div {
  min-width: 0 !important;
  display: grid !important;
  justify-items: center !important;
  gap: calc(var(--home-u) * 5) !important;
  text-align: center !important;
  color: #c49a62 !important;
}

.app-shell.is-home .home-mini-icon {
  width: calc(var(--home-u) * 34) !important;
  height: calc(var(--home-u) * 34) !important;
  min-width: calc(var(--home-u) * 34) !important;
  border: calc(var(--home-u) * 1) solid rgba(198, 154, 96, 0.58) !important;
  border-radius: 50% 50% 50% 16% !important;
  background: rgba(255, 253, 249, 0.88) !important;
  box-shadow: none !important;
  transform: rotate(-45deg) !important;
}

.app-shell.is-home .home-service-row strong,
.app-shell.is-home .home-service-row em {
  display: block !important;
  min-width: 0 !important;
  color: #5b4633 !important;
  font-style: normal !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-service-row strong {
  font-size: calc(var(--home-u) * 9.2) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.app-shell.is-home .home-service-row em {
  color: rgba(91, 70, 51, 0.62) !important;
  font-size: calc(var(--home-u) * 7.2) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
}

.app-shell.is-home .home-interior-slot {
  position: relative !important;
  grid-area: interior !important;
  min-height: 100% !important;
  border-radius: calc(var(--home-u) * 12) !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 42%),
    radial-gradient(circle at 65% 47%, rgba(246, 252, 255, 0.92) 0 17%, transparent 18%),
    linear-gradient(90deg, rgba(73, 50, 34, 0.4) 0 22%, transparent 23% 72%, rgba(93, 61, 36, 0.28) 73% 100%),
    linear-gradient(180deg, #f6eee3 0%, #dfd1c0 57%, #b89a78 100%) !important;
  box-shadow: inset 0 0 0 calc(var(--home-u) * 1) rgba(130, 96, 59, 0.1), 0 calc(var(--home-u) * 9) calc(var(--home-u) * 22) rgba(89, 62, 37, 0.12) !important;
}

.app-shell.is-home .home-interior-slot::before {
  content: "" !important;
  position: absolute !important;
  inset: 12% 7% 23% 38% !important;
  border-radius: calc(var(--home-u) * 3) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(199, 224, 239, 0.74)),
    linear-gradient(90deg, transparent 0 48%, rgba(89, 72, 58, 0.35) 49% 51%, transparent 52% 100%) !important;
  box-shadow: 0 0 0 calc(var(--home-u) * 3) rgba(91, 65, 43, 0.1), 0 calc(var(--home-u) * 13) calc(var(--home-u) * 34) rgba(118, 88, 55, 0.18) !important;
}

.app-shell.is-home .home-interior-slot::after {
  content: "" !important;
  position: absolute !important;
  left: 8% !important;
  right: 8% !important;
  bottom: 8% !important;
  height: 26% !important;
  border-radius: 42% 42% calc(var(--home-u) * 8) calc(var(--home-u) * 8) !important;
  background:
    radial-gradient(ellipse at 74% 44%, #a76d33 0 12%, transparent 13%),
    radial-gradient(ellipse at 46% 54%, #d8c8b2 0 38%, transparent 39%),
    linear-gradient(180deg, #f0e3d0 0%, #cdb594 100%) !important;
  box-shadow:
    calc(var(--home-u) * -14) calc(var(--home-u) * -26) 0 calc(var(--home-u) * -15) rgba(120, 73, 35, 0.42),
    calc(var(--home-u) * 20) calc(var(--home-u) * -22) 0 calc(var(--home-u) * -15) rgba(112, 72, 40, 0.36),
    0 calc(var(--home-u) * 12) calc(var(--home-u) * 21) rgba(82, 52, 29, 0.18) !important;
}

.app-shell.is-home .home-enter-button {
  grid-area: button !important;
  align-self: end !important;
  width: calc(var(--home-u) * 119) !important;
  height: calc(var(--home-u) * 34) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 calc(var(--home-u) * 11) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(var(--home-u) * 8) !important;
  border: 0 !important;
  border-radius: calc(var(--home-u) * 8) !important;
  color: #fff !important;
  background: linear-gradient(135deg, #e1bd82 0%, #c99652 100%) !important;
  box-shadow: 0 calc(var(--home-u) * 8) calc(var(--home-u) * 17) rgba(178, 126, 62, 0.22), inset 0 calc(var(--home-u) * 1) 0 rgba(255, 255, 255, 0.32) !important;
  font-size: calc(var(--home-u) * 12) !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.app-shell.is-home .home-enter-button i {
  font-style: normal !important;
  font-size: 1.12em !important;
  line-height: 1 !important;
}

.app-shell.is-home .home-house-panel {
  position: relative !important;
  height: auto !important;
  max-height: none !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: calc(var(--home-u) * 18) !important;
  overflow: hidden !important;
  transform: none !important;
}

.app-shell.is-home .home-house-cards {
  margin-top: calc(var(--home-u) * 17) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: calc(var(--home-u) * 10) !important;
}

.app-shell.is-home .home-house-card {
  min-width: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-rows: calc(var(--home-u) * 114) auto !important;
  border: 0 !important;
  border-radius: calc(var(--home-u) * 12) !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 calc(var(--home-u) * 7) calc(var(--home-u) * 17) rgba(68, 47, 28, 0.07) !important;
  cursor: pointer !important;
}

.app-shell.is-home .home-house-plan {
  position: relative !important;
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 48%, rgba(85, 64, 45, 0.05), transparent 56%),
    linear-gradient(180deg, #fff 0%, #f9f8f5 100%) !important;
}

.app-shell.is-home .home-house-plan::before {
  content: "" !important;
  position: absolute !important;
  inset: 13% 12% 11% !important;
  border: calc(var(--home-u) * 1.3) solid rgba(42, 35, 29, 0.84) !important;
  border-radius: calc(var(--home-u) * 5) !important;
  opacity: 0.92 !important;
  background:
    linear-gradient(#26211c, #26211c) 12% 13% / 66% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 12% 13% / calc(var(--home-u) * 1.2) 69% no-repeat,
    linear-gradient(#26211c, #26211c) 78% 13% / calc(var(--home-u) * 1.2) 28% no-repeat,
    linear-gradient(#26211c, #26211c) 39% 13% / calc(var(--home-u) * 1.2) 70% no-repeat,
    linear-gradient(#26211c, #26211c) 12% 34% / 54% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 25% 34% / calc(var(--home-u) * 1.2) 48% no-repeat,
    linear-gradient(#26211c, #26211c) 12% 82% / 68% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 59% 50% / 30% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 77% 50% / calc(var(--home-u) * 1.2) 32% no-repeat,
    linear-gradient(#a79f94, #a79f94) 48% 58% / 16% calc(var(--home-u) * 0.8) no-repeat,
    linear-gradient(#a79f94, #a79f94) 18% 50% / 12% calc(var(--home-u) * 0.8) no-repeat,
    radial-gradient(circle at 63% 30%, transparent 0 calc(var(--home-u) * 5), rgba(129, 121, 111, 0.42) calc(var(--home-u) * 5.5) calc(var(--home-u) * 6), transparent calc(var(--home-u) * 6.5)),
    linear-gradient(#ece8df, #ece8df) 0 0 / 100% 100% no-repeat !important;
  filter: drop-shadow(0 calc(var(--home-u) * 6) calc(var(--home-u) * 9) rgba(40, 32, 23, 0.1)) !important;
  mix-blend-mode: multiply !important;
}

.app-shell.is-home .home-house-card[data-house-type="169"] .home-house-plan::before {
  inset: 13% 9% 10% !important;
  background:
    linear-gradient(#26211c, #26211c) 8% 12% / 76% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 8% 12% / calc(var(--home-u) * 1.2) 68% no-repeat,
    linear-gradient(#26211c, #26211c) 84% 12% / calc(var(--home-u) * 1.2) 60% no-repeat,
    linear-gradient(#26211c, #26211c) 18% 28% / 66% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 18% 28% / calc(var(--home-u) * 1.2) 52% no-repeat,
    linear-gradient(#26211c, #26211c) 46% 12% / calc(var(--home-u) * 1.2) 68% no-repeat,
    linear-gradient(#26211c, #26211c) 8% 80% / 76% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 62% 43% / 28% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 62% 43% / calc(var(--home-u) * 1.2) 37% no-repeat,
    linear-gradient(#a79f94, #a79f94) 52% 52% / 17% calc(var(--home-u) * 0.8) no-repeat,
    radial-gradient(circle at 67% 63%, transparent 0 calc(var(--home-u) * 5.5), rgba(129, 121, 111, 0.36) calc(var(--home-u) * 6) calc(var(--home-u) * 6.5), transparent calc(var(--home-u) * 7)),
    linear-gradient(#ece8df, #ece8df) 0 0 / 100% 100% no-repeat !important;
}

.app-shell.is-home .home-house-card[data-house-type="187"] .home-house-plan::before {
  inset: 13% 13% 10% !important;
  background:
    linear-gradient(#26211c, #26211c) 18% 9% / 64% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 18% 9% / calc(var(--home-u) * 1.2) 28% no-repeat,
    linear-gradient(#26211c, #26211c) 82% 9% / calc(var(--home-u) * 1.2) 70% no-repeat,
    linear-gradient(#26211c, #26211c) 36% 9% / calc(var(--home-u) * 1.2) 70% no-repeat,
    linear-gradient(#26211c, #26211c) 18% 36% / 64% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 8% 48% / 74% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 8% 48% / calc(var(--home-u) * 1.2) 31% no-repeat,
    linear-gradient(#26211c, #26211c) 8% 79% / 74% calc(var(--home-u) * 1.2) no-repeat,
    linear-gradient(#26211c, #26211c) 56% 48% / calc(var(--home-u) * 1.2) 31% no-repeat,
    linear-gradient(#a79f94, #a79f94) 44% 58% / 18% calc(var(--home-u) * 0.8) no-repeat,
    radial-gradient(circle at 62% 63%, transparent 0 calc(var(--home-u) * 5), rgba(129, 121, 111, 0.36) calc(var(--home-u) * 5.5) calc(var(--home-u) * 6), transparent calc(var(--home-u) * 6.5)),
    linear-gradient(#ece8df, #ece8df) 0 0 / 100% 100% no-repeat !important;
}

.app-shell.is-home .home-house-info {
  padding: calc(var(--home-u) * 15) calc(var(--home-u) * 6) calc(var(--home-u) * 13) !important;
  display: grid !important;
  justify-items: center !important;
  gap: calc(var(--home-u) * 5) !important;
  background: linear-gradient(180deg, #f8f1e8 0%, #efe2d1 100%) !important;
  color: #4d341e !important;
  text-align: center !important;
}

.app-shell.is-home .home-house-info strong {
  color: #5a3a1c !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: calc(var(--home-u) * 25) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

.app-shell.is-home .home-house-info span {
  display: block !important;
  color: #4b3729 !important;
  font-size: calc(var(--home-u) * 8.2) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

.app-shell.is-home .home-house-info em {
  display: block !important;
  color: #4b3729 !important;
  font-size: calc(var(--home-u) * 7.3) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.app-shell.is-home .home-contact-strip {
  position: relative !important;
  height: auto !important;
  max-height: none !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  min-height: calc(var(--home-u) * 66) !important;
  padding: calc(var(--home-u) * 13) calc(var(--home-u) * 14) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center !important;
  gap: calc(var(--home-u) * 8) !important;
  transform: none !important;
}

.app-shell.is-home .home-contact-strip p {
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: calc(var(--home-u) * 9) !important;
  color: #4b3b2f !important;
}

.app-shell.is-home .home-contact-icon,
.app-shell.is-home .home-phone-icon {
  width: calc(var(--home-u) * 25) !important;
  height: calc(var(--home-u) * 25) !important;
  min-width: calc(var(--home-u) * 25) !important;
}

.app-shell.is-home .home-contact-icon svg,
.app-shell.is-home .home-phone-icon svg {
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  stroke-width: 2.8 !important;
}

.app-shell.is-home .home-contact-strip strong {
  min-width: 0 !important;
  display: block !important;
  color: #4b3b2f !important;
  font-size: calc(var(--home-u) * 12.5) !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

.app-shell.is-home .home-contact-phone strong {
  color: #3f2b1d !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: calc(var(--home-u) * 22) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
}

.app-shell.is-home .home-footnote,
.app-shell.is-home .home-value-strip {
  display: none !important;
}

@media (min-width: 430px) {
  .app-shell.is-home {
    --home-u: min(calc(100dvh / 812), 1.18px) !important;
    align-items: start !important;
    background:
      radial-gradient(circle at 50% -8%, rgba(226, 203, 171, 0.2), transparent 34%),
      linear-gradient(180deg, #fffefd 0%, #fbf7f1 48%, #fffdf9 100%) !important;
  }
}

/* Homepage slice-position finalizer v92: lock major regions like the supplied mini-program cuts. */
.app-shell.is-home .home-screen {
  position: relative !important;
  height: calc(var(--home-u) * 932) !important;
  min-height: calc(var(--home-u) * 812) !important;
  padding: 0 !important;
}

.app-shell.is-home .home-screen > * + * {
  margin-top: 0 !important;
}

.app-shell.is-home .home-hero {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: calc(var(--home-u) * 292) !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.app-shell.is-home .home-main {
  display: block !important;
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.app-shell.is-home .home-selection-card {
  position: absolute !important;
  left: calc(var(--home-u) * 14) !important;
  top: calc(var(--home-u) * 310) !important;
  width: calc(100% - var(--home-u) * 28) !important;
  height: calc(var(--home-u) * 224) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}

.app-shell.is-home .home-house-panel {
  position: absolute !important;
  left: calc(var(--home-u) * 14) !important;
  top: calc(var(--home-u) * 548) !important;
  width: calc(100% - var(--home-u) * 28) !important;
  height: calc(var(--home-u) * 238) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}

.app-shell.is-home .home-contact-strip {
  position: absolute !important;
  left: calc(var(--home-u) * 14) !important;
  top: calc(var(--home-u) * 804) !important;
  width: calc(100% - var(--home-u) * 28) !important;
  height: calc(var(--home-u) * 82) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}

.app-shell.is-home .home-house-cards {
  margin-top: calc(var(--home-u) * 14) !important;
}

.app-shell.is-home .home-house-card {
  grid-template-rows: calc(var(--home-u) * 88) auto !important;
}

.app-shell.is-home .home-house-info {
  padding: calc(var(--home-u) * 9) calc(var(--home-u) * 4) calc(var(--home-u) * 8) !important;
  gap: calc(var(--home-u) * 3) !important;
}

.app-shell.is-home .home-house-info strong {
  font-size: calc(var(--home-u) * 22) !important;
}

.app-shell.is-home .home-house-info span {
  font-size: calc(var(--home-u) * 7.5) !important;
  line-height: 1.12 !important;
}

.app-shell.is-home .home-house-info em {
  font-size: calc(var(--home-u) * 6.8) !important;
  line-height: 1.1 !important;
}

/* Homepage DOM delivery lock v95.
   Use real HTML/CSS/SVG for text, cards, icons and buttons. Only project/rendering
   images are raster assets; the page itself is not a single raster page. */
html:has(.app-shell.is-home),
html:has(.app-shell.is-home) body {
  width: 100% !important;
  height: 100% !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #f7f1e9 !important;
}

.app-shell.is-home {
  --home-u: min(calc(100vw / 375), calc(100dvh / 811)) !important;
  --home-canvas-w: calc(var(--home-u) * 375) !important;
  --home-canvas-h: calc(var(--home-u) * 811) !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  color: #33271f !important;
  background:
    radial-gradient(circle at 50% 12%, rgba(211, 184, 145, 0.18), transparent 36%),
    linear-gradient(180deg, #fffdf9 0%, #f7f1e9 100%) !important;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif !important;
}

.app-shell.is-home .app {
  display: none !important;
}

.app-shell.is-home .home-screen {
  position: relative !important;
  width: var(--home-canvas-w) !important;
  min-width: var(--home-canvas-w) !important;
  max-width: var(--home-canvas-w) !important;
  height: var(--home-canvas-h) !important;
  min-height: var(--home-canvas-h) !important;
  max-height: var(--home-canvas-h) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fffdf9 0%, #fffaf5 56%, #f9f2ea 100%) !important;
  box-shadow: 0 calc(var(--home-u) * 16) calc(var(--home-u) * 48) rgba(70, 48, 28, 0.1) !important;
}

.app-shell.is-home .home-icon-defs {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.app-shell.is-home .home-hero,
.app-shell.is-home .home-main,
.app-shell.is-home .home-selection-card,
.app-shell.is-home .home-house-panel,
.app-shell.is-home .home-contact-strip,
.app-shell.is-home .home-card-copy,
.app-shell.is-home .home-service-row,
.app-shell.is-home .home-interior-slot,
.app-shell.is-home .home-house-panel > h2,
.app-shell.is-home .home-house-plan,
.app-shell.is-home .home-house-info,
.app-shell.is-home .home-enter-button {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.app-shell.is-home .home-hero {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 100% !important;
  height: calc(var(--home-u) * 255) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92) 0%, rgba(255, 251, 245, 0.64) 45%, rgba(255, 253, 249, 0.98) 100%),
    linear-gradient(180deg, #f7fbff 0%, #fff0df 60%, #fffdf9 100%) !important;
  box-shadow: none !important;
}

.app-shell.is-home .home-hero-image {
  position: absolute !important;
  z-index: 0 !important;
  left: 0 !important;
  top: calc(var(--home-u) * 78) !important;
  width: 100% !important;
  height: calc(var(--home-u) * 128) !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0.96 !important;
  pointer-events: none !important;
  filter: saturate(1.04) contrast(1.02) !important;
}

.app-shell.is-home .home-hero::after {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(var(--home-u) * 172) !important;
  height: calc(var(--home-u) * 54) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 253, 249, 0.96) 72%, #fffdf9 100%) !important;
  pointer-events: none !important;
}

.app-shell.is-home .home-logo-slot {
  position: absolute !important;
  z-index: 4 !important;
  top: calc(var(--home-u) * 24) !important;
  right: calc(var(--home-u) * 28) !important;
  width: calc(var(--home-u) * 72) !important;
  min-width: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  gap: calc(var(--home-u) * 3) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #3e3026 !important;
  text-align: center !important;
}

.app-shell.is-home .home-logo-slot::before {
  display: none !important;
}

.app-shell.is-home .home-logo-wave {
  position: relative !important;
  width: calc(var(--home-u) * 43) !important;
  height: calc(var(--home-u) * 14) !important;
  display: block !important;
}

.app-shell.is-home .home-logo-wave::before,
.app-shell.is-home .home-logo-wave::after,
.app-shell.is-home .home-logo-wave b {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  height: 30% !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, #2c2722 18%, #8e7b69 52%, #2c2722 84%, transparent) !important;
  transform: skewX(-24deg) rotate(8deg) !important;
}

.app-shell.is-home .home-logo-wave::before {
  top: 0 !important;
}

.app-shell.is-home .home-logo-wave::after {
  top: 38% !important;
  left: 16% !important;
  opacity: 0.76 !important;
}

.app-shell.is-home .home-logo-wave b:first-child {
  top: 72% !important;
  left: 36% !important;
}

.app-shell.is-home .home-logo-wave b:last-child {
  display: none !important;
}

.app-shell.is-home .home-logo-slot span {
  display: block !important;
  color: #342920 !important;
  font-family: "Times New Roman", serif !important;
  font-size: calc(var(--home-u) * 5.8) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-logo-slot strong {
  display: block !important;
  color: #342920 !important;
  font-family: "SimSun", "Songti SC", serif !important;
  font-size: calc(var(--home-u) * 10.2) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-copy {
  position: absolute !important;
  z-index: 4 !important;
  left: calc(var(--home-u) * 18) !important;
  top: calc(var(--home-u) * 24) !important;
  width: calc(var(--home-u) * 260) !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-shell.is-home .home-title {
  margin: 0 0 calc(var(--home-u) * 10) !important;
  color: #30241c !important;
  font-family: "SimSun", "STSong", "Songti SC", serif !important;
  font-size: calc(var(--home-u) * 28) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: 0.035em !important;
  white-space: nowrap !important;
  text-shadow: 0 calc(var(--home-u) * 4) calc(var(--home-u) * 12) rgba(85, 60, 36, 0.1) !important;
}

.app-shell.is-home .home-title span {
  display: inline !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-title span + span {
  margin-left: calc(var(--home-u) * 9) !important;
}

.app-shell.is-home .home-subtitle,
.app-shell.is-home .home-desc {
  margin: 0 !important;
  color: #3d2e24 !important;
  font-size: calc(var(--home-u) * 12.4) !important;
  font-weight: 850 !important;
  line-height: 1.62 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-desc {
  font-size: calc(var(--home-u) * 11.8) !important;
}

.app-shell.is-home .home-feature-row {
  position: absolute !important;
  z-index: 5 !important;
  left: calc(var(--home-u) * 18) !important;
  right: calc(var(--home-u) * 18) !important;
  bottom: calc(var(--home-u) * 13) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: calc(var(--home-u) * 10) calc(var(--home-u) * 8) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-shell.is-home .home-feature {
  min-width: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: calc(var(--home-u) * 22) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: calc(var(--home-u) * 5) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #c49a62 !important;
  text-align: left !important;
}

.app-shell.is-home .home-icon-slot,
.app-shell.is-home .home-mini-icon,
.app-shell.is-home .home-contact-icon,
.app-shell.is-home .home-phone-icon {
  display: grid !important;
  place-items: center !important;
  color: #c49a62 !important;
}

.app-shell.is-home .home-icon-slot {
  width: calc(var(--home-u) * 22) !important;
  height: calc(var(--home-u) * 22) !important;
  min-width: calc(var(--home-u) * 22) !important;
  border: calc(var(--home-u) * 1) solid rgba(196, 154, 98, 0.42) !important;
  border-radius: 50% 50% 50% 18% !important;
  background: rgba(255, 253, 249, 0.72) !important;
  transform: rotate(-45deg) !important;
}

.app-shell.is-home .home-icon-slot svg,
.app-shell.is-home .home-mini-icon svg,
.app-shell.is-home .home-contact-icon svg,
.app-shell.is-home .home-phone-icon svg {
  width: 62% !important;
  height: 62% !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.35 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.app-shell.is-home .home-icon-slot svg,
.app-shell.is-home .home-mini-icon svg {
  transform: rotate(45deg) !important;
}

.app-shell.is-home .home-feature p {
  min-width: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.app-shell.is-home .home-feature strong,
.app-shell.is-home .home-feature p span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-feature strong {
  color: #9a7448 !important;
  font-size: calc(var(--home-u) * 7.1) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
}

.app-shell.is-home .home-feature p span {
  margin-top: calc(var(--home-u) * 1.8) !important;
  color: rgba(154, 116, 72, 0.56) !important;
  font-size: calc(var(--home-u) * 5.7) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
}

.app-shell.is-home .home-main {
  position: absolute !important;
  z-index: 6 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  pointer-events: none !important;
  transform: none !important;
}

.app-shell.is-home .home-selection-card,
.app-shell.is-home .home-house-panel,
.app-shell.is-home .home-contact-strip {
  border: calc(var(--home-u) * 0.7) solid rgba(216, 193, 162, 0.62) !important;
  border-radius: calc(var(--home-u) * 14) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 calc(var(--home-u) * 7) calc(var(--home-u) * 22) rgba(72, 49, 28, 0.07) !important;
}

.app-shell.is-home .home-selection-card {
  position: absolute !important;
  left: calc(var(--home-u) * 14) !important;
  top: calc(var(--home-u) * 265) !important;
  width: calc(var(--home-u) * 347) !important;
  height: calc(var(--home-u) * 224) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: calc(var(--home-u) * 16) !important;
  display: grid !important;
  grid-template-columns: calc(var(--home-u) * 105) minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr calc(var(--home-u) * 31) !important;
  grid-template-areas:
    "copy image"
    "icons image"
    "button image" !important;
  gap: calc(var(--home-u) * 10) calc(var(--home-u) * 14) !important;
  overflow: hidden !important;
  pointer-events: auto !important;
}

.app-shell.is-home .home-card-copy {
  grid-area: copy !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.app-shell.is-home .home-card-copy h2,
.app-shell.is-home .home-house-panel h2 {
  margin: 0 !important;
  color: #33251d !important;
  font-family: "SimSun", "STSong", "Songti SC", serif !important;
  font-size: calc(var(--home-u) * 22.5) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-card-copy p {
  margin: calc(var(--home-u) * 10) 0 0 !important;
  color: #3f3026 !important;
  font-size: calc(var(--home-u) * 11.3) !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
}

.app-shell.is-home .home-service-row {
  grid-area: icons !important;
  align-self: center !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: calc(var(--home-u) * 10) calc(var(--home-u) * 8) !important;
}

.app-shell.is-home .home-service-row > div {
  min-width: 0 !important;
  display: grid !important;
  justify-items: center !important;
  gap: calc(var(--home-u) * 4) !important;
  text-align: center !important;
  color: #c49a62 !important;
}

.app-shell.is-home .home-mini-icon {
  width: calc(var(--home-u) * 30) !important;
  height: calc(var(--home-u) * 30) !important;
  min-width: calc(var(--home-u) * 30) !important;
  border: calc(var(--home-u) * 1) solid rgba(198, 154, 96, 0.58) !important;
  border-radius: 50% 50% 50% 16% !important;
  background: rgba(255, 253, 249, 0.9) !important;
  transform: rotate(-45deg) !important;
}

.app-shell.is-home .home-service-row strong,
.app-shell.is-home .home-service-row em {
  display: block !important;
  min-width: 0 !important;
  color: #533f2f !important;
  font-style: normal !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-service-row strong {
  font-size: calc(var(--home-u) * 8.8) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
}

.app-shell.is-home .home-service-row em {
  color: rgba(83, 63, 47, 0.62) !important;
  font-size: calc(var(--home-u) * 6.7) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

.app-shell.is-home .home-interior-slot {
  position: relative !important;
  grid-area: image !important;
  min-height: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: calc(var(--home-u) * 10) !important;
  overflow: hidden !important;
  background: #eadbcc !important;
  box-shadow: inset 0 0 0 calc(var(--home-u) * 1) rgba(130, 96, 59, 0.1) !important;
}

.app-shell.is-home .home-interior-slot::before,
.app-shell.is-home .home-interior-slot::after {
  display: none !important;
}

.app-shell.is-home .home-interior-slot img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.app-shell.is-home .home-enter-button {
  position: static !important;
  grid-area: button !important;
  align-self: end !important;
  justify-self: start !important;
  width: calc(var(--home-u) * 98) !important;
  height: calc(var(--home-u) * 31) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 calc(var(--home-u) * 9) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(var(--home-u) * 8) !important;
  opacity: 1 !important;
  border: 0 !important;
  border-radius: calc(var(--home-u) * 7) !important;
  color: #fff !important;
  background: linear-gradient(135deg, #e2bf86 0%, #c79550 100%) !important;
  box-shadow: 0 calc(var(--home-u) * 7) calc(var(--home-u) * 14) rgba(178, 126, 62, 0.2), inset 0 calc(var(--home-u) * 1) 0 rgba(255, 255, 255, 0.32) !important;
  font-size: calc(var(--home-u) * 11) !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.app-shell.is-home .home-enter-button i {
  font-style: normal !important;
  font-size: 1.1em !important;
  line-height: 1 !important;
}

.app-shell.is-home .home-house-panel {
  position: absolute !important;
  left: calc(var(--home-u) * 14) !important;
  top: calc(var(--home-u) * 502) !important;
  width: calc(var(--home-u) * 347) !important;
  height: calc(var(--home-u) * 219) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: calc(var(--home-u) * 17) calc(var(--home-u) * 14) !important;
  overflow: hidden !important;
  pointer-events: auto !important;
}

.app-shell.is-home .home-house-cards {
  position: relative !important;
  z-index: 1 !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: calc(var(--home-u) * 15) 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: calc(var(--home-u) * 10) !important;
  pointer-events: auto !important;
}

.app-shell.is-home .home-house-card {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: calc(var(--home-u) * 148) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-rows: calc(var(--home-u) * 85) minmax(0, 1fr) !important;
  opacity: 1 !important;
  border: 0 !important;
  border-radius: calc(var(--home-u) * 10) !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 calc(var(--home-u) * 6) calc(var(--home-u) * 15) rgba(68, 47, 28, 0.06) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.app-shell.is-home .home-house-card:nth-child(1),
.app-shell.is-home .home-house-card:nth-child(2),
.app-shell.is-home .home-house-card:nth-child(3) {
  left: auto !important;
}

.app-shell.is-home .home-house-plan {
  position: relative !important;
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  opacity: 1 !important;
  background-color: #fff !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
}

.app-shell.is-home .home-house-plan::before {
  display: none !important;
}

.app-shell.is-home .home-house-card[data-house-type="143"] .home-house-plan {
  background-image: url("./assets/ui/home-plan-143.webp") !important;
}

.app-shell.is-home .home-house-card[data-house-type="169"],
.app-shell.is-home .home-house-card[data-house-type="168"] {
  --home-plan-image: url("./assets/ui/home-plan-169.webp");
}

.app-shell.is-home .home-house-card[data-house-type="169"] .home-house-plan,
.app-shell.is-home .home-house-card[data-house-type="168"] .home-house-plan {
  background-image: var(--home-plan-image) !important;
}

.app-shell.is-home .home-house-card[data-house-type="187"] .home-house-plan {
  background-image: url("./assets/ui/home-plan-187.webp") !important;
}

.app-shell.is-home .home-house-info {
  padding: calc(var(--home-u) * 8) calc(var(--home-u) * 3) calc(var(--home-u) * 6) !important;
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  gap: calc(var(--home-u) * 3) !important;
  opacity: 1 !important;
  background: linear-gradient(180deg, #f8f1e9 0%, #efe1d0 100%) !important;
  color: #4d341e !important;
  text-align: center !important;
}

.app-shell.is-home .home-house-info strong {
  color: #513719 !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: calc(var(--home-u) * 21) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

.app-shell.is-home .home-house-info span {
  display: block !important;
  color: #4b3729 !important;
  font-size: calc(var(--home-u) * 7) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-house-info em {
  display: block !important;
  max-width: 100% !important;
  color: #4b3729 !important;
  font-size: calc(var(--home-u) * 6.3) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-contact-strip {
  position: absolute !important;
  left: calc(var(--home-u) * 14) !important;
  top: calc(var(--home-u) * 737) !important;
  width: calc(var(--home-u) * 347) !important;
  height: calc(var(--home-u) * 58) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: calc(var(--home-u) * 12) calc(var(--home-u) * 15) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: calc(var(--home-u) * 12) !important;
  pointer-events: auto !important;
}

.app-shell.is-home .home-contact-strip p {
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: calc(var(--home-u) * 8) !important;
  color: #45372c !important;
}

.app-shell.is-home .home-contact-icon,
.app-shell.is-home .home-phone-icon {
  width: calc(var(--home-u) * 24) !important;
  height: calc(var(--home-u) * 24) !important;
  min-width: calc(var(--home-u) * 24) !important;
}

.app-shell.is-home .home-contact-icon svg,
.app-shell.is-home .home-phone-icon svg {
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  stroke-width: 2.8 !important;
}

.app-shell.is-home .home-contact-strip strong {
  min-width: 0 !important;
  display: block !important;
  color: #44352a !important;
  font-size: calc(var(--home-u) * 11) !important;
  font-weight: 850 !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
}

.app-shell.is-home .home-contact-address strong {
  max-width: calc(var(--home-u) * 198) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.app-shell.is-home .home-contact-phone strong {
  color: #322219 !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: calc(var(--home-u) * 21) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.app-shell.is-home .home-footnote,
.app-shell.is-home .home-value-strip {
  display: none !important;
}

@media (max-width: 340px), (max-height: 720px) {
  .app-shell.is-home .home-feature p span,
  .app-shell.is-home .home-service-row em {
    display: none !important;
  }
}

/* Selection house tabs color lock: match the warm gold reference, not gray-blue. */
.app-shell:not(.is-home) .house-tabs {
  background: #fffefd !important;
  border-color: #ece4da !important;
}

.app-shell:not(.is-home) .house-tab {
  color: #2b231d !important;
  background: linear-gradient(180deg, #fffefd 0%, #fffaf4 100%) !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .house-tab.is-active {
  color: #573819 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(100deg, #ecd8bc 0%, #dfbe8d 48%, #f4e9d8 100%) !important;
  box-shadow:
    inset 0 0 0 calc(var(--mini-u, 1px) * 1) rgba(196, 151, 88, 0.26),
    0 calc(var(--mini-u, 1px) * 2) calc(var(--mini-u, 1px) * 8) rgba(157, 112, 58, 0.12) !important;
}

/* 材料点位名称锁定：1-7 个标签同排完整显示。 */
.app-shell:not(.is-home) .cards-scroll {
  gap: calc(var(--mini-u) * 10) calc(var(--mini-u) * 2.5) !important;
}

.app-shell:not(.is-home) .point-card {
  padding: 0 calc(var(--mini-u) * 1) !important;
}

.app-shell:not(.is-home) .point-card h3 {
  gap: calc(var(--mini-u) * 1) !important;
  font-size: calc(var(--mini-u) * 6.9) !important;
  font-weight: 900 !important;
  letter-spacing: calc(var(--mini-u) * -0.15) !important;
  overflow: visible !important;
  text-overflow: clip !important;
  transform: scaleX(0.95) !important;
  transform-origin: center !important;
}

.app-shell:not(.is-home) .point-card h3::before {
  width: calc(var(--mini-u) * 8.2) !important;
  height: calc(var(--mini-u) * 8.2) !important;
  min-width: calc(var(--mini-u) * 8.2) !important;
  font-size: calc(var(--mini-u) * 5.2) !important;
}

/* 材料点位序号锁定：数字圆点不参与文字排版，避免第 1 项被挤偏。 */
.app-shell:not(.is-home) .point-card {
  position: relative !important;
  padding: 0 calc(var(--mini-u) * 1.8) !important;
}

.app-shell:not(.is-home) .point-card h3 {
  position: static !important;
  width: 100% !important;
  display: block !important;
  padding-left: calc(var(--mini-u) * 8.8) !important;
  transform: none !important;
  text-align: center !important;
}

.app-shell:not(.is-home) .point-card h3::before {
  box-sizing: border-box !important;
  position: absolute !important;
  left: calc(var(--mini-u) * 2.2) !important;
  top: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-family: Arial, "Microsoft YaHei", sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  line-height: calc(var(--mini-u) * 8.2) !important;
  text-align: center !important;
  transform: translateY(-50%) !important;
}

/* 确认按钮紧凑锁定：保持参考图里的轻量高度。 */
.app-shell:not(.is-home) .checkout-panel {
  left: calc(var(--mini-u) * 17) !important;
  right: calc(var(--mini-u) * 17) !important;
  top: calc(var(--mini-u) * 171) !important;
  height: calc(var(--mini-u) * 31) !important;
}

.app-shell:not(.is-home) .confirm-button {
  min-height: 0 !important;
  border-radius: calc(var(--mini-u) * 7) !important;
  font-size: calc(var(--mini-u) * 12) !important;
  font-weight: 900 !important;
  letter-spacing: calc(var(--mini-u) * 0.6) !important;
  box-shadow:
    0 calc(var(--mini-u) * 4) calc(var(--mini-u) * 9) rgba(165, 116, 57, 0.1),
    inset 0 calc(var(--mini-u) * 0.8) 0 rgba(255, 255, 255, 0.32) !important;
}

/* 户型切换紧凑锁定：减少顶部切换区占用。 */
.app-shell:not(.is-home) .house-control {
  left: calc(var(--mini-u) * 34) !important;
  right: calc(var(--mini-u) * 34) !important;
  top: calc(var(--mini-u) * 54) !important;
  height: calc(var(--mini-u) * 29) !important;
}

.app-shell:not(.is-home) .house-tabs {
  height: 100% !important;
  border-radius: calc(var(--mini-u) * 5.5) !important;
  box-shadow: 0 calc(var(--mini-u) * 1.5) calc(var(--mini-u) * 6) rgba(91, 67, 42, 0.028) !important;
}

.app-shell:not(.is-home) .house-tab {
  font-size: calc(var(--mini-u) * 12.5) !important;
  font-weight: 500 !important;
}

.app-shell:not(.is-home) .house-tab.is-active {
  box-shadow:
    inset 0 0 0 calc(var(--mini-u) * 0.8) rgba(196, 151, 88, 0.22),
    0 calc(var(--mini-u) * 1.5) calc(var(--mini-u) * 5) rgba(157, 112, 58, 0.08) !important;
}

/* Selection final detail fixes: keep only the four marked UI corrections. */
.app-shell:not(.is-home) .house-tab.is-active {
  color: #5e3c1c !important;
  background: #ead6b5 !important;
  box-shadow: inset 0 0 0 calc(var(--mini-u) * 0.7) rgba(190, 142, 76, 0.18) !important;
}

.app-shell:not(.is-home) .brand-title::before,
.app-shell:not(.is-home) .brand-title::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.app-shell:not(.is-home) .home-back-button {
  right: calc(var(--mini-u) * 15) !important;
  top: calc(var(--mini-u) * 17) !important;
  width: calc(var(--mini-u) * 24) !important;
  height: calc(var(--mini-u) * 24) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: block !important;
  color: #5d5148 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .home-back-button::before {
  position: absolute !important;
  left: 50% !important;
  top: calc(var(--mini-u) * 5.2) !important;
  width: calc(var(--mini-u) * 12) !important;
  height: calc(var(--mini-u) * 12) !important;
  display: block !important;
  content: "" !important;
  border: 0 !important;
  border-left: calc(var(--mini-u) * 1.45) solid currentColor !important;
  border-top: calc(var(--mini-u) * 1.45) solid currentColor !important;
  border-radius: calc(var(--mini-u) * 1.8) 0 0 0 !important;
  clip-path: none !important;
  transform: translateX(-50%) rotate(45deg) !important;
}

.app-shell:not(.is-home) .home-back-button > span {
  position: absolute !important;
  left: 50% !important;
  top: calc(var(--mini-u) * 11.2) !important;
  width: calc(var(--mini-u) * 14.5) !important;
  height: calc(var(--mini-u) * 10.5) !important;
  display: block !important;
  border: calc(var(--mini-u) * 1.45) solid currentColor !important;
  border-top: 0 !important;
  border-radius: 0 0 calc(var(--mini-u) * 2.3) calc(var(--mini-u) * 2.3) !important;
  transform: translateX(-50%) !important;
}

.app-shell:not(.is-home) .home-back-button > span::after {
  position: absolute !important;
  left: 50% !important;
  bottom: calc(var(--mini-u) * -1.45) !important;
  width: calc(var(--mini-u) * 4.2) !important;
  height: calc(var(--mini-u) * 6.4) !important;
  display: block !important;
  content: "" !important;
  border: calc(var(--mini-u) * 1.35) solid currentColor !important;
  border-bottom: 0 !important;
  border-radius: calc(var(--mini-u) * 1.8) calc(var(--mini-u) * 1.8) 0 0 !important;
  transform: translateX(-50%) !important;
}

.app-shell:not(.is-home) .bottom-panel {
  top: calc(var(--mini-u) * 590) !important;
  height: calc(var(--mini-u) * 210) !important;
}

.app-shell:not(.is-home) .content-switcher {
  height: calc(var(--mini-u) * 168) !important;
}

.app-shell:not(.is-home) .cards-scroll {
  top: calc(var(--mini-u) * 47) !important;
  bottom: calc(var(--mini-u) * 4) !important;
  grid-template-rows: calc(var(--mini-u) * 23) minmax(0, 1fr) !important;
}

.app-shell:not(.is-home) .checkout-panel {
  top: calc(var(--mini-u) * 176) !important;
  height: calc(var(--mini-u) * 32) !important;
}

/* Selection active-state unification v110: pure warm-gold selected color from the UI mockup. */
.app-shell:not(.is-home) {
  --active-gold: #d7b16f;
  --active-gold-deep: #b7833d;
  --active-gold-text: #5b3918;
  --active-gold-pale: #f6ecdd;
}

.app-shell:not(.is-home) .house-tab.is-active,
.app-shell:not(.is-home) .bird-tab.is-active,
.app-shell:not(.is-home) .view-tab.is-active,
.app-shell:not(.is-home) .point-card.is-active {
  color: var(--active-gold-text) !important;
  background: var(--active-gold) !important;
  border-color: rgba(181, 125, 55, 0.55) !important;
  box-shadow: inset 0 0 0 calc(var(--mini-u) * 0.7) rgba(255, 255, 255, 0.26) !important;
}

.app-shell:not(.is-home) .house-tab,
.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab,
.app-shell:not(.is-home) .point-card {
  background-image: none !important;
}

.app-shell:not(.is-home) .bird-tab.is-active::before,
.app-shell:not(.is-home) .bird-tab.is-active::after,
.app-shell:not(.is-home) .view-tab.is-active::before,
.app-shell:not(.is-home) .view-tab.is-active::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .point-card.is-active h3 {
  color: var(--active-gold-text) !important;
}

.app-shell:not(.is-home) .point-card.is-active h3::before {
  color: #fffdf8 !important;
  background: var(--active-gold-deep) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
}

.app-shell:not(.is-home) .point-card {
  padding: 0 calc(var(--mini-u) * 0.35) !important;
}

.app-shell:not(.is-home) .point-card h3 {
  padding-left: calc(var(--mini-u) * 6.8) !important;
  font-size: calc(var(--mini-u) * 6.25) !important;
  letter-spacing: calc(var(--mini-u) * -0.22) !important;
  line-height: 1 !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .point-card h3::before {
  left: calc(var(--mini-u) * 0.4) !important;
  width: calc(var(--mini-u) * 6.4) !important;
  height: calc(var(--mini-u) * 6.4) !important;
  min-width: calc(var(--mini-u) * 6.4) !important;
  font-size: calc(var(--mini-u) * 4.5) !important;
  line-height: calc(var(--mini-u) * 6.4) !important;
}

.app-shell:not(.is-home) .style-pill.is-active {
  color: var(--active-gold-text) !important;
  background: transparent !important;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb {
  border-color: var(--active-gold-deep) !important;
  box-shadow:
    0 0 0 calc(var(--mini-u) * 1.4) var(--active-gold),
    0 calc(var(--mini-u) * 4) calc(var(--mini-u) * 10) rgba(151, 101, 41, 0.12) !important;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
  color: #fffdf8 !important;
  background: var(--active-gold-deep) !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
}

.app-shell:not(.is-home) .style-pill.is-active strong,
.app-shell:not(.is-home) .style-pill.is-active .style-name {
  color: var(--active-gold-text) !important;
}

.app-shell:not(.is-home) .confirm-button {
  color: #fffdf8 !important;
  background: var(--active-gold-deep) !important;
  border-color: rgba(166, 111, 45, 0.54) !important;
  box-shadow: 0 calc(var(--mini-u) * 4) calc(var(--mini-u) * 9) rgba(165, 116, 57, 0.14) !important;
}

/* Mobile-network image switch feedback. JS already toggles .is-loading on media stages. */
.app-shell:not(.is-home) .media-stage.is-loading::after {
  z-index: 8 !important;
  display: grid !important;
  place-items: center !important;
  content: "图片加载中..." !important;
  color: #fdf7ed !important;
  background: rgba(44, 31, 22, 0.36) !important;
  font-size: calc(var(--mini-u) * 11) !important;
  font-weight: 900 !important;
  letter-spacing: calc(var(--mini-u) * 0.4) !important;
  text-shadow: 0 calc(var(--mini-u) * 1) calc(var(--mini-u) * 4) rgba(0, 0, 0, 0.28) !important;
}

/* Selection button-state correction v111: match the UI reference instead of one global gold state. */
.app-shell:not(.is-home) {
  --ui-active-fill: #ead7bd;
  --ui-active-fill-soft: #f3e9dc;
  --ui-active-text: #4f351c;
  --ui-gold: #c59a5d;
  --ui-gold-deep: #b9894f;
  --ui-border-soft: #eee7df;
  --ui-text-main: #28231f;
  --ui-text-muted: #68605a;
}

.app-shell:not(.is-home) .house-tabs {
  background: #fffefd !important;
  border: calc(var(--mini-u) * 0.55) solid var(--ui-border-soft) !important;
  box-shadow: 0 calc(var(--mini-u) * 1.2) calc(var(--mini-u) * 5) rgba(92, 65, 38, 0.035) !important;
}

.app-shell:not(.is-home) .house-tab {
  color: var(--ui-text-main) !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .house-tab.is-active {
  color: var(--ui-active-text) !important;
  border: 0 !important;
  background: var(--ui-active-fill) !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.app-shell:not(.is-home) .bird-tabs,
.app-shell:not(.is-home) .view-tabs {
  background: rgba(255, 255, 255, 0.9) !important;
  border: calc(var(--mini-u) * 0.55) solid var(--ui-border-soft) !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab {
  color: #342c25 !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.app-shell:not(.is-home) .bird-tab.is-active,
.app-shell:not(.is-home) .view-tab.is-active {
  color: var(--ui-active-text) !important;
  border: 0 !important;
  background: var(--ui-active-fill) !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.app-shell:not(.is-home) .bird-tab::before,
.app-shell:not(.is-home) .bird-tab::after,
.app-shell:not(.is-home) .view-tab::before,
.app-shell:not(.is-home) .view-tab::after,
.app-shell:not(.is-home) .bird-tab.is-active::before,
.app-shell:not(.is-home) .bird-tab.is-active::after,
.app-shell:not(.is-home) .view-tab.is-active::before,
.app-shell:not(.is-home) .view-tab.is-active::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .point-card {
  color: var(--ui-text-muted) !important;
  border: calc(var(--mini-u) * 0.45) solid var(--ui-border-soft) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .point-card.is-active {
  color: var(--ui-active-text) !important;
  border-color: transparent !important;
  background: var(--ui-active-fill-soft) !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.app-shell:not(.is-home) .point-card h3 {
  color: inherit !important;
}

.app-shell:not(.is-home) .point-card h3::before {
  color: #fffaf2 !important;
  background: #c3aa8b !important;
  border: 0 !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .point-card.is-active h3,
.app-shell:not(.is-home) .point-card.is-active .current-style {
  color: var(--ui-active-text) !important;
}

.app-shell:not(.is-home) .point-card.is-active h3::before {
  color: #fffdf7 !important;
  background: var(--ui-gold) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .style-pill,
.app-shell:not(.is-home) .style-pill.is-active {
  color: var(--ui-text-main) !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.app-shell:not(.is-home) .style-thumb {
  border: calc(var(--mini-u) * 0.55) solid rgba(197, 154, 93, 0.18) !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb {
  border: calc(var(--mini-u) * 0.9) solid var(--ui-gold) !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .style-pill.is-active .style-thumb::after {
  color: #fffdf8 !important;
  background: var(--ui-gold) !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .style-pill strong,
.app-shell:not(.is-home) .style-pill .style-name,
.app-shell:not(.is-home) .style-pill.is-active strong,
.app-shell:not(.is-home) .style-pill.is-active .style-name {
  color: var(--ui-text-main) !important;
}

.app-shell:not(.is-home) .confirm-button {
  color: #fffdf8 !important;
  border: 0 !important;
  background:
    linear-gradient(90deg, #e2bf86 0%, #c99759 52%, #d8ad72 100%) !important;
  box-shadow: 0 calc(var(--mini-u) * 4) calc(var(--mini-u) * 9) rgba(166, 116, 57, 0.12) !important;
  outline: 0 !important;
}

/* Selection point-tabs and active color correction v112. */
.app-shell:not(.is-home) {
  --ui-active-fill: #ecdfcd;
  --ui-active-fill-soft: #ecdfcd;
  --ui-active-text: #5d4128;
  --ui-gold: #c79f67;
  --ui-border-soft: #eee9e3;
}

.app-shell:not(.is-home) .house-tab.is-active,
.app-shell:not(.is-home) .bird-tab.is-active,
.app-shell:not(.is-home) .view-tab.is-active,
.app-shell:not(.is-home) .point-card.is-active {
  color: var(--ui-active-text) !important;
  background: var(--ui-active-fill) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.app-shell:not(.is-home) .cards-scroll {
  top: calc(var(--mini-u) * 48) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: flex-start !important;
  align-items: flex-start !important;
  column-gap: calc(var(--mini-u) * 1.4) !important;
  row-gap: calc(var(--mini-u) * 10) !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .point-card {
  flex: 0 0 auto !important;
  width: auto !important;
  height: calc(var(--mini-u) * 23) !important;
  padding: 0 calc(var(--mini-u) * 4.2) !important;
  justify-content: center !important;
  border: calc(var(--mini-u) * 0.55) solid var(--ui-border-soft) !important;
  border-radius: calc(var(--mini-u) * 5.8) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 calc(var(--mini-u) * 2) calc(var(--mini-u) * 7) rgba(90, 70, 50, 0.035) !important;
  overflow: visible !important;
}

.app-shell:not(.is-home) .point-card:nth-of-type(1) {
  width: calc(var(--mini-u) * 62) !important;
}

.app-shell:not(.is-home) .point-card:nth-of-type(2) {
  width: calc(var(--mini-u) * 47) !important;
}

.app-shell:not(.is-home) .point-card:nth-of-type(3) {
  width: calc(var(--mini-u) * 53) !important;
}

.app-shell:not(.is-home) .point-card:nth-of-type(4),
.app-shell:not(.is-home) .point-card:nth-of-type(5) {
  width: calc(var(--mini-u) * 43) !important;
}

.app-shell:not(.is-home) .point-card:nth-of-type(6) {
  width: calc(var(--mini-u) * 35) !important;
}

.app-shell:not(.is-home) .point-card:nth-of-type(7) {
  width: calc(var(--mini-u) * 42) !important;
}

.app-shell:not(.is-home) .point-card.is-active {
  border-color: transparent !important;
  background: var(--ui-active-fill) !important;
  box-shadow: 0 calc(var(--mini-u) * 2) calc(var(--mini-u) * 10) rgba(130, 96, 62, 0.08) !important;
}

.app-shell:not(.is-home) .point-card-header {
  width: auto !important;
  min-width: 0 !important;
}

.app-shell:not(.is-home) .point-card h3 {
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(var(--mini-u) * 2) !important;
  font-size: calc(var(--mini-u) * 6.6) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: calc(var(--mini-u) * -0.08) !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.app-shell:not(.is-home) .point-card h3::before {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: calc(var(--mini-u) * 10.2) !important;
  height: calc(var(--mini-u) * 10.2) !important;
  min-width: calc(var(--mini-u) * 10.2) !important;
  display: inline-grid !important;
  place-items: center !important;
  color: #fffdf7 !important;
  background: #d0b38d !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  font-size: calc(var(--mini-u) * 6.6) !important;
  line-height: 1 !important;
  transform: none !important;
}

.app-shell:not(.is-home) .point-card.is-active h3::before {
  background: var(--ui-gold) !important;
}

.app-shell:not(.is-home) .mobile-active-styles,
.app-shell:not(.is-home) .desktop-active-styles {
  flex: 0 0 100% !important;
  width: 100% !important;
  height: calc(100% - calc(var(--mini-u) * 33)) !important;
  padding: 0 calc(var(--mini-u) * 5) !important;
}

/* Selection house switch compact correction v117. */
.app-shell:not(.is-home) .house-control {
  left: 50% !important;
  right: auto !important;
  top: calc(var(--mini-u) * 56) !important;
  width: calc(var(--mini-u) * 232) !important;
  height: calc(var(--mini-u) * 22) !important;
  min-height: 0 !important;
  max-height: calc(var(--mini-u) * 22) !important;
  transform: translateX(-50%) !important;
}

.app-shell:not(.is-home) .house-tabs {
  height: 100% !important;
  min-height: 0 !important;
  max-height: calc(var(--mini-u) * 22) !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-radius: calc(var(--mini-u) * 5) !important;
  overflow: hidden !important;
}

.app-shell:not(.is-home) .house-tab {
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: calc(var(--mini-u) * 22) !important;
  box-sizing: border-box !important;
  padding: 0 calc(var(--mini-u) * 6) !important;
  border-radius: 0 !important;
  font-size: calc(var(--mini-u) * 9.8) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: calc(var(--mini-u) * -0.08) !important;
}

.app-shell:not(.is-home) .house-tab.is-active {
  box-shadow: none !important;
}

/* Selection header vertical compact correction v119. */
.app-shell:not(.is-home) .topbar {
  height: calc(var(--mini-u) * 74) !important;
}

.app-shell:not(.is-home) .brand-title {
  top: calc(var(--mini-u) * 9) !important;
  height: calc(var(--mini-u) * 19) !important;
}

.app-shell:not(.is-home) .brand-title h1 {
  font-size: calc(var(--mini-u) * 18.2) !important;
  line-height: 1 !important;
  letter-spacing: calc(var(--mini-u) * 1.05) !important;
}

.app-shell:not(.is-home) .brand-title::after {
  bottom: calc(var(--mini-u) * -5) !important;
  width: calc(var(--mini-u) * 52) !important;
  height: calc(var(--mini-u) * 6) !important;
}

.app-shell:not(.is-home) .home-back-button {
  top: calc(var(--mini-u) * 11) !important;
  width: calc(var(--mini-u) * 22) !important;
  height: calc(var(--mini-u) * 22) !important;
}

.app-shell:not(.is-home) .house-control {
  top: calc(var(--mini-u) * 36) !important;
}

.app-shell:not(.is-home) .main-grid {
  top: calc(var(--mini-u) * 76) !important;
  height: calc(var(--mini-u) * 512) !important;
}

.app-shell:not(.is-home) .bird-panel {
  height: calc(var(--mini-u) * 298) !important;
}

.app-shell:not(.is-home) .effect-panel {
  top: calc(var(--mini-u) * 308) !important;
  height: calc(var(--mini-u) * 204) !important;
}

.app-shell:not(.is-home) .bird-panel .media-stage {
  height: calc(var(--mini-u) * 258) !important;
}

.app-shell:not(.is-home) .effect-panel .media-stage {
  height: calc(var(--mini-u) * 157) !important;
}

/* Selection bird panel upward correction v120. */
.app-shell:not(.is-home) .main-grid {
  top: calc(var(--mini-u) * 68) !important;
  height: calc(var(--mini-u) * 520) !important;
}

.app-shell:not(.is-home) .bird-panel {
  height: calc(var(--mini-u) * 306) !important;
}

.app-shell:not(.is-home) .effect-panel {
  top: calc(var(--mini-u) * 316) !important;
}

.app-shell:not(.is-home) .bird-panel .media-stage {
  height: calc(var(--mini-u) * 266) !important;
}

/* Selection view-switch fade correction v121. */
.app-shell:not(.is-home) .media-stage.is-fade-switching,
.app-shell:not(.is-home) .media-stage.is-fade-switching.is-loading {
  animation: none !important;
}

.app-shell:not(.is-home) .media-stage.is-fade-switching.is-loading::after {
  display: block !important;
  content: "" !important;
  background: transparent !important;
  text-shadow: none !important;
}

.app-shell:not(.is-home) .media-stage.is-fade-switching .scene-image.is-entering,
.app-shell:not(.is-home) .media-stage.is-fade-switching .preview-image.is-entering,
.app-shell:not(.is-home) .scene-image.is-fade-entering,
.app-shell:not(.is-home) .preview-image.is-fade-entering,
.app-shell:not(.is-home) .image-overlay-stack img.is-fade-entering {
  animation: image-fade-in 240ms ease-out both !important;
  clip-path: inset(0 0 0 0) !important;
}

@keyframes image-fade-in {
  from {
    opacity: 0;
    filter: brightness(1.04);
  }

  to {
    opacity: 1;
    filter: brightness(1);
  }
}

/* Selection desktop canvas correction v122: keep 375px logical coordinates, scale to portrait height. */
.app-shell:not(.is-home) {
  --mini-u: min(calc(100vw / 375), calc(100dvh / 811)) !important;
  --mini-canvas-w: calc(var(--mini-u) * 375) !important;
  --mini-canvas-h: calc(var(--mini-u) * 811) !important;
}

/* Selection home icon + point tab centering v125. */
.app-shell:not(.is-home) .home-back-button {
  position: absolute !important;
  right: calc(var(--mini-u) * 17) !important;
  top: calc(var(--mini-u) * 12) !important;
  width: calc(var(--mini-u) * 18) !important;
  height: calc(var(--mini-u) * 18) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #5d5148 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.app-shell:not(.is-home) .home-back-button::before,
.app-shell:not(.is-home) .home-back-button::after,
.app-shell:not(.is-home) .home-back-button > span,
.app-shell:not(.is-home) .home-back-button > span::before,
.app-shell:not(.is-home) .home-back-button > span::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .home-back-icon {
  width: calc(var(--mini-u) * 14.5) !important;
  height: calc(var(--mini-u) * 14.5) !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  overflow: visible !important;
  transform: none !important;
}

.app-shell:not(.is-home) .home-back-icon path {
  vector-effect: non-scaling-stroke !important;
}

.app-shell:not(.is-home) .point-card,
.app-shell:not(.is-home) .cards-scroll .point-card {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.app-shell:not(.is-home) .point-card-header {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.app-shell:not(.is-home) .point-card h3 {
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.app-shell:not(.is-home) .point-card h3::before {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* Selection typography correction v135: match UI reference bold sans labels. */
.app-shell:not(.is-home),
.app-shell:not(.is-home) button {
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "SimHei", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-synthesis: weight !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision !important;
}

.app-shell:not(.is-home) .section-heading strong {
  color: #171411 !important;
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "SimHei", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-size: calc(var(--mini-u) * 18.8) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: calc(var(--mini-u) * -0.1) !important;
  text-shadow: none !important;
}

.app-shell:not(.is-home) .bottom-heading strong {
  font-size: calc(var(--mini-u) * 18.2) !important;
}

.app-shell:not(.is-home) .section-heading span {
  font-family: Arial, "Source Han Sans SC", "SimHei", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif !important;
  font-weight: 800 !important;
}

.app-shell:not(.is-home) .house-tab,
.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab,
.app-shell:not(.is-home) .point-card h3,
.app-shell:not(.is-home) .confirm-button {
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "SimHei", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab {
  font-size: calc(var(--mini-u) * 11.2) !important;
}

.app-shell:not(.is-home) .point-card h3 {
  font-size: calc(var(--mini-u) * 6.8) !important;
  font-weight: 800 !important;
}

.app-shell:not(.is-home) .confirm-button {
  font-size: calc(var(--mini-u) * 11.5) !important;
  font-weight: 800 !important;
}

/* Selection section title compact correction v139. */
.app-shell:not(.is-home) .section-heading {
  gap: calc(var(--mini-u) * 4.5) !important;
}

.app-shell:not(.is-home) .section-heading span {
  width: calc(var(--mini-u) * 20) !important;
  height: calc(var(--mini-u) * 20) !important;
  min-width: calc(var(--mini-u) * 20) !important;
  font-size: calc(var(--mini-u) * 10.5) !important;
  line-height: calc(var(--mini-u) * 20) !important;
}

.app-shell:not(.is-home) .section-heading strong {
  font-size: calc(var(--mini-u) * 14.2) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: calc(var(--mini-u) * -0.12) !important;
}

.app-shell:not(.is-home) .bottom-heading strong {
  font-size: calc(var(--mini-u) * 15.2) !important;
}

.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab {
  font-size: calc(var(--mini-u) * 9.4) !important;
  font-weight: 700 !important;
}

/* Selection title refinement v140: smaller labels and round, un-stretched step numbers. */
.app-shell:not(.is-home) .section-heading {
  gap: calc(var(--mini-u) * 3.8) !important;
  align-items: center !important;
}

.app-shell:not(.is-home) .section-heading span,
.app-shell:not(.is-home) .bottom-heading span {
  width: calc(var(--mini-u) * 19) !important;
  height: calc(var(--mini-u) * 19) !important;
  min-width: calc(var(--mini-u) * 19) !important;
  min-height: calc(var(--mini-u) * 19) !important;
  aspect-ratio: 1 / 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: calc(var(--mini-u) * 10) !important;
  font-weight: 700 !important;
  font-stretch: normal !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  transform: none !important;
  text-align: center !important;
}

.app-shell:not(.is-home) .section-heading strong {
  font-size: calc(var(--mini-u) * 12.2) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: calc(var(--mini-u) * -0.18) !important;
  transform: none !important;
  text-shadow: none !important;
}

.app-shell:not(.is-home) .bottom-heading strong {
  font-size: calc(var(--mini-u) * 13.6) !important;
}

.app-shell:not(.is-home) .bird-tab,
.app-shell:not(.is-home) .view-tab {
  font-size: calc(var(--mini-u) * 8.6) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  transform: none !important;
}

/* Selection return-home icon lock v141: use the real SVG, not the old CSS house mask. */
.app-shell:not(.is-home) .home-back-button {
  position: absolute !important;
  right: calc(var(--mini-u) * 12) !important;
  top: calc(var(--mini-u) * 11) !important;
  z-index: 20 !important;
  width: calc(var(--mini-u) * 28) !important;
  height: calc(var(--mini-u) * 28) !important;
  min-width: calc(var(--mini-u) * 28) !important;
  min-height: calc(var(--mini-u) * 28) !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #3c332c !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0.92 !important;
  transform: none !important;
}

.app-shell:not(.is-home) .home-back-button::before,
.app-shell:not(.is-home) .home-back-button::after,
.app-shell:not(.is-home) .home-back-button > span,
.app-shell:not(.is-home) .home-back-button > span::before,
.app-shell:not(.is-home) .home-back-button > span::after {
  display: none !important;
  content: none !important;
}

.app-shell:not(.is-home) .home-back-icon {
  width: calc(var(--mini-u) * 18) !important;
  height: calc(var(--mini-u) * 18) !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.05 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  overflow: visible !important;
  transform: none !important;
}

.app-shell:not(.is-home) .home-back-icon path {
  display: block !important;
  vector-effect: non-scaling-stroke !important;
}

.app-shell:not(.is-home) .home-back-button:active {
  opacity: 0.72 !important;
  transform: scale(0.94) !important;
}
