:root {
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-2: #f0f5f2;
  --ink: #18211f;
  --muted: #66736f;
  --line: #ded8cc;
  --primary: #1f6f64;
  --primary-2: #164f49;
  --accent: #b06d3f;
  --danger: #a23b3b;
  --warning: #9a6a13;
  --shadow: 0 16px 44px rgba(28, 36, 33, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(31, 111, 100, 0.08), rgba(247, 244, 238, 0) 320px), var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

button,
a.button {
  min-height: 44px;
  cursor: pointer;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.shell {
  width: min(100%, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(222, 216, 204, 0.65);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 14px 10px;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-row,
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.me-titlebar {
  min-height: 48px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
}

.me-titlebar strong {
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}

.me-titlebar .back-link {
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex-basis: 44px;
  background: var(--surface-2);
}

.me-titlebar .top-link {
  min-height: 40px;
  padding: 0 14px;
}

.centered-title {
  position: relative;
  justify-content: center;
  min-height: 40px;
}

.centered-title .back-link {
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
}

.centered-title .brand {
  width: 100%;
  justify-content: center;
  padding: 0 52px;
}

.centered-title .brand-title {
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fffdf8;
  background: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.brand-title {
  display: block;
  font-weight: 800;
  line-height: 1.15;
}

.centered-title {
  position: relative;
  justify-content: center;
}

.centered-title .back-link {
  position: absolute;
  left: 0;
}

.centered-title .brand {
  text-align: center;
}

.brand-sub,
.muted,
.section-note {
  color: var(--muted);
}

.brand-sub,
.section-note {
  font-size: 12px;
  line-height: 1.25;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab,
.top-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  white-space: nowrap;
}

.top-link {
  flex: 0 0 auto;
}

.tab.active,
.top-link.active {
  color: #fffdf8;
  border-color: var(--primary);
  background: var(--primary);
}

.back-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--primary-2);
  background: #fff;
  font-weight: 800;
}

main {
  padding: 16px 14px 96px;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.hero {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1b2420;
  box-shadow: var(--shadow);
}

.hero img {
  height: 224px;
  object-fit: cover;
  opacity: 0.64;
}

.hero-content {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  color: #fffdf8;
  background: linear-gradient(180deg, rgba(20, 28, 25, 0), rgba(20, 28, 25, 0.88));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.28;
  letter-spacing: 0;
}

p {
  margin-bottom: 0;
}

.lede {
  color: rgba(255, 253, 248, 0.88);
  font-size: 14px;
}

.hero-actions {
  margin-top: 16px;
}

.hero-actions .btn {
  width: 100%;
}

.city-current {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 13px;
}

.city-current span {
  color: var(--primary-2);
  font-weight: 750;
}

.city-current button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-2);
  background: var(--surface-2);
  font-weight: 750;
}

.lead-lite {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(31, 111, 100, 0.06);
}

.lead-lite h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.lead-lite p {
  color: var(--muted);
  font-size: 13px;
}

.lead-lite a {
  width: fit-content;
  color: var(--primary-2);
  font-weight: 800;
}

.helper-note {
  color: var(--muted);
  font-size: 12px;
}

.home-intro {
  display: grid;
  gap: 8px;
  padding: 16px 2px 4px;
}

.home-intro h1 {
  margin-bottom: 0;
}

.home-intro p {
  color: var(--muted);
  font-size: 14px;
}

.eyebrow {
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 800;
}

.trip-action {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(31, 111, 100, 0.24);
  border-radius: var(--radius);
  background: rgba(31, 111, 100, 0.08);
}

.trip-action h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

.trip-action p {
  color: var(--muted);
  font-size: 13px;
}

.trip-action .btn {
  width: 100%;
}

.load-more-note {
  padding: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.section {
  margin-top: 22px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

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

.sort-row + .grid {
  margin-top: 14px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.membership-card {
  overflow: hidden;
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: space-between;
  border-radius: var(--radius);
  color: #fffdf8;
  background:
    linear-gradient(135deg, rgba(31, 111, 100, 0.98), rgba(176, 109, 63, 0.9)),
    var(--primary);
  box-shadow: var(--shadow);
}

.membership-card h1 {
  margin: 5px 0 4px;
  font-size: 36px;
}

.membership-card p,
.membership-card .eyebrow {
  color: rgba(255, 253, 248, 0.82);
}

.member-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.16);
  font-size: 12px;
  font-weight: 800;
}

.member-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 42px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 13px;
}

.pad {
  padding: 16px;
}

.me-quick-actions {
  margin-top: 0;
}

.me-asset-list {
  margin-top: 12px;
}

.page-title {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.page-title h1 {
  color: var(--ink);
  font-size: 24px;
}

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

.quick-action {
  width: 100%;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface-2);
  text-align: center;
}

.quick-action strong {
  font-size: 14px;
  line-height: 1.2;
}

.quick-action span {
  color: var(--muted);
  font-size: 12px;
}

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

.city-grid.compact {
  margin-top: 12px;
}

.city-tile {
  min-height: 116px;
  display: grid;
  align-content: end;
  gap: 5px;
  overflow: hidden;
  position: relative;
  padding: 12px;
  border-radius: var(--radius);
  color: #fffdf8;
  background: #1b2420;
}

.city-tile.active {
  outline: 3px solid rgba(31, 111, 100, 0.34);
}

.city-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 33, 31, 0.06), rgba(24, 33, 31, 0.78)), var(--city-image);
  background-position: center;
  background-size: cover;
}

.city-tile > * {
  position: relative;
}

.city-tile strong {
  font-size: 18px;
}

.city-tile span {
  color: rgba(255, 253, 248, 0.86);
  font-size: 12px;
}

.step-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  color: var(--primary-2);
  background: rgba(31, 111, 100, 0.1);
  font-size: 12px;
  font-weight: 750;
}

.step-badge.current {
  color: #fffdf8;
  background: var(--primary);
}

.picker-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.step-line {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.text-picker {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.inline-picker {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.text-picker[hidden] {
  display: none;
}

.text-option {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface-2);
  text-align: left;
}

.text-option strong,
.text-option small {
  display: block;
}

.text-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.text-option.selected {
  border-color: var(--primary);
  background: rgba(31, 111, 100, 0.12);
}

.check-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.text-option.selected .check-mark {
  border: 5px solid var(--primary);
}

.text-option:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.text-option:disabled .check-mark {
  border-style: dashed;
}

.text-back {
  width: fit-content;
  min-height: 34px;
  padding: 0;
  color: var(--primary-2);
  background: transparent;
  font-weight: 750;
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 14px;
  background: rgba(24, 33, 31, 0.42);
}

.modal-backdrop[hidden] {
  display: none;
}

.bottom-sheet {
  width: min(100%, 480px);
  padding: 10px 14px 18px;
  border-radius: 18px 18px 8px 8px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--line);
}

.icon-btn {
  width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 22px;
  line-height: 1;
}

.host-card {
  display: block;
  overflow: hidden;
  padding: 0;
}

.host-card img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.host-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}

.host-photo::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.host-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #fffdf8;
  background: rgba(176, 109, 63, 0.94);
  font-size: 12px;
  font-weight: 800;
}

.host-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.tag-row {
  gap: 6px;
}

.muted-tags .pill {
  color: var(--muted);
  background: rgba(102, 115, 111, 0.08);
}

.media-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}

.media-strip img {
  height: 132px;
  border-radius: 7px;
  object-fit: cover;
}

.media-strip img:first-child {
  height: 272px;
  grid-row: span 2;
}

.profile-gallery {
  display: grid;
  gap: 10px;
}

.gallery-main,
.gallery-thumb {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.gallery-main {
  border-radius: var(--radius);
}

.gallery-main img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-auto-columns: 76px;
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  border-radius: 7px;
  opacity: 0.72;
}

.gallery-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.gallery-thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.host-summary {
  background: linear-gradient(180deg, rgba(31, 111, 100, 0.08), rgba(31, 111, 100, 0.02)), #fff;
}

.host-name {
  margin-bottom: 7px;
  font-size: 32px;
  line-height: 1.08;
}

.host-city {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.25;
}

.host-price {
  margin-bottom: 0;
  color: var(--primary-2);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.host-intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.trip-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.trip-detail-title {
  min-width: 0;
}

.trip-detail-title h1 {
  overflow-wrap: anywhere;
}

.trip-detail-head .pill {
  align-self: start;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  white-space: nowrap;
}

.pill.strong {
  color: var(--primary-2);
  border-color: rgba(31, 111, 100, 0.28);
  background: rgba(31, 111, 100, 0.1);
}

.pill.warn {
  color: var(--warning);
  border-color: rgba(154, 106, 19, 0.25);
  background: rgba(154, 106, 19, 0.1);
}

.compact-tags {
  gap: 5px;
}

.compact-tags .pill {
  min-height: 26px;
  padding: 0 8px;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.button-row > :only-child {
  grid-column: 1 / -1;
}

.button,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 12px;
  font-weight: 750;
  text-align: center;
}

.btn.tiny {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.primary {
  color: #fffdf8;
  background: var(--primary);
}

.secondary {
  color: var(--primary-2);
  border: 1px solid var(--line);
  background: #fff;
}

.ghost {
  color: var(--muted);
  border: 1px dashed var(--line);
  background: var(--surface);
}

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

.disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.rule-box {
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--primary-2);
  background: rgba(31, 111, 100, 0.09);
  font-size: 13px;
}

.rule-box.warning {
  color: var(--warning);
  border-left-color: var(--warning);
  background: rgba(154, 106, 19, 0.1);
}

.rule-box.danger-rule {
  color: var(--danger);
  border-left-color: var(--danger);
  background: rgba(162, 59, 59, 0.1);
}

.detail-toggle {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.detail-toggle summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: var(--primary-2);
  cursor: pointer;
  font-weight: 800;
}

.detail-toggle summary::-webkit-details-marker {
  display: none;
}

.detail-toggle summary::after {
  content: "›";
  color: var(--muted);
  transform: rotate(90deg);
}

.detail-toggle[open] summary::after {
  transform: rotate(-90deg);
}

.detail-body {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
  color: var(--ink);
  font-size: 13px;
}

.trip-info-toggle {
  background: var(--surface);
}

.trip-info-toggle summary {
  min-height: 58px;
  font-size: 24px;
  line-height: 1.15;
}

.trip-info-toggle .detail-body {
  padding: 2px 12px 14px;
}

.info-rows {
  display: grid;
  gap: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.info-row:first-child {
  border-top: 0;
}

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

.info-row strong {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.55;
}

.info-row.vertical {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.info-row.contact-copy-row {
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
}

.contact-copy-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-copy-row .btn.tiny {
  min-height: 30px;
  padding: 0 9px;
}

.message-trip-action {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.message-trip-action:first-child {
  border-top: 0;
}

.message-trip-action .btn {
  min-width: 132px;
}

.compact-info .info-row {
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 9px 0;
  font-size: 13px;
}

.order-card {
  display: grid;
  gap: 0;
}

.order-card.compact {
  gap: 8px;
}

.order-card .profile-row.section {
  margin-top: 12px;
}

.order-list-card {
  display: grid;
  gap: 12px;
}

.order-list-main {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.order-list-main .avatar {
  width: 56px;
  height: 56px;
}

.order-list-main h3 {
  margin-bottom: 4px;
}

.order-guide-name {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.order-list-card.compact {
  gap: 8px;
}

.order-id-box {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

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

.copy-row.inline {
  margin: 2px 0 4px;
}

.copy-row span {
  color: var(--muted);
  font-size: 12px;
}

.copy-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
}

.copy-row.order-copy-row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.order-copy-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-id-row {
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.user-id-row strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.user-id-row .btn {
  min-height: 30px;
  padding: 0 10px;
}

.agreement-card p.section {
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
}

.readonly-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--surface-2);
  font-weight: 700;
}

.confirm-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.confirm-line input {
  min-height: auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
}

.confirm-line strong,
.confirm-line span {
  display: block;
}

.confirm-line span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.list {
  display: grid;
  gap: 9px;
}

.menu-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}

.menu-group.flush {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.menu-group.flush .menu-link {
  min-height: 44px;
  gap: 8px;
  padding: 9px 0;
  background: transparent;
}

.menu-group.flush .menu-main strong {
  font-size: 14px;
}

.menu-group.flush .menu-main span {
  font-size: 11px;
}

.menu-link {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface-2);
  text-align: left;
}

.menu-link:last-child {
  border-bottom: 0;
}

.menu-main {
  min-width: 0;
}

.menu-main strong {
  display: block;
  line-height: 1.25;
}

.menu-main span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.menu-tail {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

[data-city-options],
[data-home-city-options] {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.list-title {
  display: block;
  font-weight: 750;
}

.list-sub {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.amount {
  color: var(--primary-2);
  font-weight: 850;
  white-space: nowrap;
}

.field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.search-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.sort-row strong {
  color: var(--ink);
}

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

label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

select,
input {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

input[type="number"] {
  text-align: center;
}

textarea {
  min-height: 132px;
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-bar.wrap-tags {
  flex-wrap: wrap;
  overflow-x: visible;
}

.filter-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.filter-chip.active {
  color: #fffdf8;
  border-color: var(--primary);
  background: var(--primary);
}

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

.segmented .filter-chip {
  width: 100%;
  justify-content: center;
}

.language-editor {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.language-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.duration-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.stepper-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--primary-2);
  background: var(--surface-2);
  font-size: 20px;
  font-weight: 850;
}

.validation-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.validation-note.warning {
  color: var(--warning);
  font-weight: 750;
}

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

.scene-chip {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

.scene-chip.active {
  color: #fffdf8;
  border-color: var(--primary);
  background: var(--primary);
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.summary.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asset-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  min-height: 78px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.1;
}

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

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  position: relative;
  padding-left: 18px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.profile-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.name-row h1 {
  margin-bottom: 0;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.score-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.score-item {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  text-align: center;
}

.score-item strong {
  font-size: 17px;
  line-height: 1.1;
}

.score-item span {
  color: var(--muted);
  font-size: 12px;
}

.review {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.status-strip {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(31, 111, 100, 0.24);
  border-radius: var(--radius);
  background: rgba(31, 111, 100, 0.08);
}

.status-strip strong {
  color: var(--primary-2);
}

.sticky-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 25;
  width: min(100%, 480px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(18px);
}

.sticky-actions.single {
  grid-template-columns: 1fr;
}

.invite-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(31, 111, 100, 0.26);
  border-radius: var(--radius);
  background: rgba(31, 111, 100, 0.08);
}

.invite-share {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.invite-title {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  text-align: center;
}

.invite-title h1 {
  margin: 0;
}

.invite-link-block {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.qr-placeholder {
  width: min(168px, 56vw);
  aspect-ratio: 1;
  border: 1px solid rgba(31, 111, 100, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(31, 111, 100, 0.9), rgba(232, 179, 75, 0.9)),
    var(--primary);
}

.invite-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rule-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.code-text {
  min-width: 0;
}

.code-text strong {
  display: block;
}

.growth-hero {
  display: grid;
  gap: 14px;
}

.growth-hero h1 {
  margin-bottom: 8px;
}

.growth-summary {
  margin-top: 0;
}

.invite-panel .section-head {
  align-items: start;
}

.promotion-task-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.promotion-task-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.platform-mark {
  min-width: 50px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 9px;
  color: #fffdf8;
  background: var(--primary);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.platform-mark.large {
  min-height: 42px;
  padding: 0 13px;
  font-size: 14px;
}

.promotion-task-main {
  min-width: 0;
}

.promotion-task-main strong,
.promotion-task-main span {
  display: block;
}

.promotion-task-main strong {
  line-height: 1.25;
}

.promotion-task-main span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.promotion-task-meta {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--primary-2);
  white-space: nowrap;
}

.promotion-task-meta b {
  font-size: 18px;
  line-height: 1.1;
}

.promotion-task-meta small {
  color: var(--muted);
  font-size: 11px;
}

.task-detail-hero {
  display: grid;
  gap: 12px;
}

.task-detail-hero h1 {
  margin-bottom: 0;
}

.material-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.material-box + .rule-box {
  margin-top: 10px;
}

.code-text span {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  width: min(100%, 480px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(18px);
}

.nav-btn {
  min-height: 62px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 6px 2px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}

.nav-btn.active {
  color: var(--primary);
  font-weight: 750;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 82px;
  left: 16px;
  z-index: 50;
  width: min(calc(100% - 32px), 448px);
  margin: 0 auto;
  padding: 13px 14px;
  border-radius: var(--radius);
  color: #fffdf8;
  background: rgba(24, 33, 31, 0.94);
  box-shadow: var(--shadow);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.state-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 13px;
}

.state-table th,
.state-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.state-table th {
  color: var(--muted);
  background: var(--surface-2);
}

.state-table tr:last-child td {
  border-bottom: 0;
}

.safe-bottom {
  padding-bottom: 156px;
}

@media (max-width: 374px) {
  .button-row,
  .summary,
  .quick-row,
  .city-grid,
  .scene-grid,
  .grid-2,
  .field-row,
  .language-row {
    grid-template-columns: 1fr;
  }

  .media-strip,
  .media-strip img:first-child {
    display: block;
    height: auto;
  }

  .media-strip img + img {
    margin-top: 8px;
  }

  .trip-detail-head {
    grid-template-columns: 1fr;
  }

  .invite-share {
    grid-template-columns: 1fr;
  }

  .qr-placeholder {
    width: min(144px, 58vw);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111816;
    --surface: #18211f;
    --surface-2: #1f2b27;
    --ink: #f5f0e7;
    --muted: #aeb9b4;
    --line: #34423d;
    --primary: #62b7a7;
    --primary-2: #a8ded3;
    --accent: #d49a6e;
    --shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
    color-scheme: dark;
  }

  .topbar,
  .bottom-nav {
    background: rgba(24, 33, 31, 0.94);
  }

  .card,
  .menu-group,
  .menu-link,
  .list-item,
  .metric,
  .page-title,
  .search-panel,
  .quick-action,
	  .filter-chip,
	  .scene-chip,
	  .review,
	  .detail-toggle,
	  .stepper-btn,
	  select,
	  input,
  textarea,
  .tab,
  .top-link,
  .back-link,
  .secondary,
  .state-table {
    background: #1b2623;
  }

  .sticky-actions {
    background: rgba(24, 33, 31, 0.94);
  }

  .score-item {
    background: #1f2b27;
  }

  .trip-info-toggle {
    background: #18211f;
  }
}
