/* 探索旅行 Travel Explorer — 旅游出行专用主题 */

:root {
  --color-bg: #f0fdfa;
  --color-surface: #ffffff;
  --color-text: #134e4a;
  --color-muted: #5eead4;
  --color-muted-text: #64748b;
  --color-primary: #0d9488;
  --color-accent: #f59e0b;
  --color-border: #ccfbf1;
  --font-sans: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Source Serif 4", "Noto Serif SC", Georgia, serif;
  --page-max: 1140px;
  --tx-radius: 16px;
  --header-h: 4rem;
  --mbar-h: 3.75rem;
  --shadow: 0 12px 40px rgba(13, 148, 136, 0.12);
  --shadow-sm: 0 4px 16px rgba(13, 148, 136, 0.08);
  --gradient-hero: linear-gradient(135deg, #0f766e 0%, #0d9488 40%, #14b8a6 100%);
}

[data-theme="dark"] {
  --color-bg: #042f2e;
  --color-surface: #134e4a;
  --color-text: #ecfdf5;
  --color-muted-text: #99f6e4;
  --color-border: #115e59;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

a { color: var(--color-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--page-max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.tx-header {
  position: sticky; top: 0; z-index: 200;
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.tx-header.is-scrolled { box-shadow: var(--shadow-sm); }
.tx-header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.tx-logo { display: flex; align-items: center; gap: 0.6rem; color: inherit; font-weight: 700; font-size: 1.05rem; }
.tx-logo-mark {
  width: 2.5rem; height: 2.5rem; border-radius: 12px;
  background: var(--gradient-hero); color: #fff;
  display: grid; place-items: center; font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.tx-logo img { border-radius: 12px; object-fit: cover; }
.tx-nav {
  display: none; gap: 1.25rem; flex: 1; min-width: 0;
  margin-left: 1rem; overflow-x: auto; scrollbar-width: none;
}
.tx-nav::-webkit-scrollbar { display: none; }
.tx-nav a { color: var(--color-muted-text); font-weight: 500; font-size: 0.9375rem; transition: color 0.2s; white-space: nowrap; }
.tx-nav a:hover { color: var(--color-primary); }
.tx-header-actions {
  display: flex; align-items: center; gap: 0.5rem;
  margin-left: auto; flex-shrink: 0;
}
.tx-nav-toggle { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: inherit; }
.tx-hide-mobile { display: none; }
@media (min-width: 900px) {
  .tx-nav { display: flex; }
  .tx-nav-toggle { display: none; }
  .tx-hide-mobile { display: inline; }
  .tx-nav.is-open {
    display: flex; position: static; flex-direction: row;
    background: none; border: none; padding: 0;
  }
}
@media (max-width: 899px) {
  .tx-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; flex: none; margin-left: 0; overflow: visible;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border); padding: 0.75rem 1.25rem 1rem;
  }
  .tx-nav.is-open { display: flex; }
  .tx-nav a { padding: 0.5rem 0; white-space: normal; }
}

/* Buttons */
.tx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.9375rem;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s;
}
.tx-btn:hover { transform: translateY(-1px); }
.tx-btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.tx-btn-accent { background: var(--color-accent); color: #1c1917; }
.tx-btn-outline { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
[data-theme="dark"] .tx-btn-outline { border-color: var(--color-border); color: var(--color-text); }
.tx-btn-ghost { background: transparent; color: inherit; border-color: var(--color-border); }
.tx-btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.tx-btn-sm { padding: 0.35rem 0.75rem; font-size: 0.8125rem; }

.theme-toggle { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: inherit; padding: 0.35rem; line-height: 1; }
.theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: inline; }
[data-theme="light"] .theme-icon-dark { display: inline; }
[data-theme="light"] .theme-icon-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-dark { display: none; }
  :root:not([data-theme="light"]) .theme-icon-light { display: inline; }
}

/* Hero */
.tx-hero {
  position: relative; min-height: clamp(420px, 72vh, 640px);
  display: flex; align-items: center; overflow: hidden;
  background: var(--gradient-hero);
  background-image: var(--tx-hero-image, none), var(--gradient-hero);
  background-size: cover; background-position: center;
}
.tx-hero-overlay {
  position: absolute; inset: 0;
  background: var(--gradient-hero-overlay, linear-gradient(120deg, rgba(4,47,46,0.75) 0%, rgba(13,148,136,0.45) 50%, rgba(245,158,11,0.25) 100%));
}
.tx-hero-content {
  position: relative; z-index: 1; color: #fff; padding: 4rem 0 5rem; max-width: 680px;
}
.tx-hero-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  font-size: 0.875rem; margin-bottom: 1rem;
}
.tx-hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15; font-weight: 700; margin-bottom: 1rem;
}
.tx-hero-lead { font-size: 1.125rem; opacity: 0.92; margin-bottom: 1.75rem; max-width: 540px; }
.tx-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tx-hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Stats */
.tx-stats { margin-top: -1.5rem; position: relative; z-index: 2; }
.tx-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  background: var(--color-surface); border-radius: var(--tx-radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
@media (min-width: 640px) { .tx-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.tx-stats-grid strong { display: block; font-size: 1.75rem; color: var(--color-primary); }
.tx-stats-grid span { font-size: 0.875rem; color: var(--color-muted-text); }

/* Sections */
.tx-section { padding: 3rem 0; }
.tx-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.tx-section-head h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.tx-section-head--stack { align-items: flex-end; gap: 1rem; }
.tx-section-head-main { min-width: 0; }
.tx-section-lead {
  margin: 0.45rem 0 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted-text);
}
.tx-link-more { font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }

/* Destinations */
.tx-destinations-section {
  padding-block: 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 70%);
}
.tx-dest-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
@media (min-width: 960px) {
  .tx-dest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tx-dest-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--tx-radius);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.tx-dest-card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.tx-dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.tx-dest-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-bg));
}
.tx-dest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.tx-dest-card:hover .tx-dest-media img { transform: scale(1.06); }
.tx-dest-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.tx-dest-media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
}
.tx-dest-media-icon { font-size: 2.75rem; line-height: 1; opacity: 0.95; }
.tx-dest-media-fallback--0 { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.tx-dest-media-fallback--1 { background: linear-gradient(135deg, #c2410c 0%, #f59e0b 100%); }
.tx-dest-media-fallback--2 { background: linear-gradient(135deg, #166534 0%, #4ade80 100%); }
.tx-dest-media-fallback--3 { background: linear-gradient(135deg, #92400e 0%, #fbbf24 100%); }
.tx-dest-media-fallback--4 { background: linear-gradient(135deg, #1d4ed8 0%, #38bdf8 100%); }
.tx-dest-media-fallback--5 { background: linear-gradient(135deg, #1e3a5f 0%, #64748b 100%); }
.tx-dest-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
}
.tx-dest-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
}
.tx-dest-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.4rem;
  line-height: 1.35;
  transition: color 0.15s;
}
.tx-dest-card--link:hover .tx-dest-body h3 { color: var(--color-primary); }
.tx-dest-body p {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-muted-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tx-dest-go {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Route cards */
.tx-route-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tx-route-card {
  background: var(--color-surface); border-radius: var(--tx-radius);
  overflow: hidden; border: 1px solid var(--color-border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.tx-route-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tx-route-cover { display: block; aspect-ratio: 16/10; overflow: hidden; background: color-mix(in srgb, var(--color-primary) 15%, var(--color-bg)); }
.tx-route-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tx-route-card:hover .tx-route-cover img { transform: scale(1.05); }
.tx-route-cover-fallback { display: grid; place-items: center; height: 100%; font-size: 2.5rem; color: var(--color-primary); opacity: 0.5; }
.tx-route-body { padding: 1.1rem 1.25rem 1.25rem; }
.tx-route-meta { font-size: 0.8125rem; color: var(--color-muted-text); margin-bottom: 0.35rem; }
.tx-route-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; line-height: 1.35; }
.tx-route-body h3 a { color: inherit; }
.tx-route-excerpt { font-size: 0.875rem; color: var(--color-muted-text); margin-bottom: 0.75rem; }
.tx-route-foot { display: flex; align-items: center; justify-content: space-between; }
.tx-price { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); }
.tx-price em { font-size: 0.75rem; font-style: normal; font-weight: 500; opacity: 0.8; }
.tx-link { font-size: 0.875rem; font-weight: 600; }

/* Reviews */
.tx-review-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tx-review-card {
  padding: 1.25rem; border-radius: var(--tx-radius); background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.tx-stars { color: var(--color-accent); margin-bottom: 0.5rem; }
.tx-review-card footer { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--color-muted-text); }

/* CTA band */
.tx-cta-band { padding: 2rem 0 4rem; }
.tx-cta-inner {
  text-align: center; padding: 2.5rem 1.5rem; border-radius: calc(var(--tx-radius) + 4px);
  background: var(--gradient-hero); color: #fff; box-shadow: var(--shadow);
}
.tx-cta-inner h2 { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: 0.5rem; }
.tx-cta-inner p { opacity: 0.9; margin-bottom: 1.25rem; }

/* Page */
.tx-page { padding: 2rem 0 3rem; }
.tx-page-header { margin-bottom: 1.5rem; }
.tx-page-header h1 { font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.25rem); }
.tx-page-lead { color: var(--color-muted-text); margin-top: 0.5rem; }

/* Post */
.tx-post-header { margin-bottom: 1.5rem; }
.tx-post-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-text); margin-bottom: 0.75rem; }
.tx-post-price { color: var(--color-primary); font-weight: 700; }
.tx-post-cover { border-radius: var(--tx-radius); overflow: hidden; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.tx-highlights {
  padding: 1rem 1.25rem; border-radius: var(--tx-radius); margin-bottom: 1.5rem;
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-surface));
  border-left: 4px solid var(--color-accent);
}
.tx-post-content { line-height: 1.8; }
.tx-post-content img { border-radius: 12px; margin: 1rem 0; }

/* Filters */
.tx-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tx-filter {
  padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--color-border);
  background: var(--color-surface); cursor: pointer; font-size: 0.875rem;
}
.tx-filter.is-active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Booking */
.tx-booking-flow {
  background: var(--color-surface); border-radius: var(--tx-radius);
  padding: 1.5rem; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.tx-booking-steps {
  display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.tx-booking-steps span {
  padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.8125rem;
  background: var(--color-bg); color: var(--color-muted-text);
}
.tx-booking-steps span.is-active { background: var(--color-primary); color: #fff; }
.tx-booking-status.ok { background: #d1fae5; color: #065f46; }
.tx-booking-status.err { background: #fee2e2; color: #991b1b; }
.tx-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.tx-field span em { color: #ef4444; font-style: normal; }
.tx-field input, .tx-field select, .tx-field textarea {
  padding: 0.65rem 0.85rem; border-radius: 10px; border: 1px solid var(--color-border);
  background: var(--color-bg); color: inherit; font: inherit;
}
.tx-field-hint {
  margin: -0.25rem 0 1rem;
  font-size: 0.875rem;
  color: var(--color-muted-text);
  line-height: 1.55;
}
.tx-check-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}
.tx-check-line input { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--color-primary); }
.tx-single-room-box {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}
.tx-single-room-extra { margin-bottom: 0.5rem; }
.tx-field-inline { max-width: 12rem; }
.tx-field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.tx-quote-box {
  padding: 1rem; border-radius: 10px; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-bg));
}
.tx-quote-box em { display: block; font-style: normal; font-size: 0.875rem; color: var(--color-muted-text); margin-top: 0.35rem; }
.tx-traveler-item {
  display: grid; gap: 0.75rem 1rem; grid-template-columns: 5.5rem 1fr 1.25fr;
  padding: 1rem 1.1rem; border-radius: 12px; margin-bottom: 0.75rem;
  background: var(--color-surface); border: 1px solid var(--color-border);
  align-items: end;
  box-shadow: var(--shadow-sm);
}
.tx-traveler-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  align-self: center;
  padding-bottom: 0.65rem;
}
.tx-traveler-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.tx-traveler-field > span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted-text);
}
.tx-traveler-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: inherit;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tx-traveler-input::placeholder { color: color-mix(in srgb, var(--color-muted-text) 70%, transparent); }
.tx-traveler-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent);
}
.tx-traveler-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px color-mix(in srgb, #ef4444 15%, transparent);
}
@media (max-width: 640px) {
  .tx-traveler-item { grid-template-columns: 1fr; align-items: stretch; }
  .tx-traveler-label { padding-bottom: 0; margin-bottom: -0.25rem; }
}
.tx-pay-channel-list { margin: 1rem 0; }
.tx-booking-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.tx-booking-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Departures calendar */
.tx-calendar-toolbar { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.tx-departure-list { display: grid; gap: 0.85rem; }
.tx-departure-card {
  display: grid; gap: 1rem; align-items: center;
  padding: 1rem 1.25rem; border-radius: var(--tx-radius);
  background: var(--color-surface); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) {
  .tx-departure-card { grid-template-columns: 120px 1fr auto; }
}
.tx-departure-cover {
  display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3;
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
}
.tx-departure-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx-departure-cover-fallback {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 5rem;
  color: var(--color-primary); font-size: 1.75rem;
}
.tx-departure-body { min-width: 0; }
.tx-departure-body h3 { font-size: 1.0625rem; margin: 0 0 0.35rem; line-height: 1.35; }
.tx-departure-body h3 a { color: inherit; }
.tx-departure-body h3 a:hover { color: var(--color-primary); }
.tx-departure-meta {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1rem;
  font-size: 0.8125rem; color: var(--color-muted-text); margin: 0 0 0.35rem;
}
.tx-departure-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.tx-departure-excerpt {
  margin: 0 0 0.35rem; font-size: 0.875rem; color: var(--color-muted-text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tx-departure-date {
  margin: 0 0 0.5rem; font-size: 0.875rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.35rem;
}
.tx-departure-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1rem;
  font-size: 0.8125rem;
}
.tx-departure-foot .tx-price { font-size: 1.125rem; font-weight: 700; color: var(--color-primary); }
.tx-departure-foot .tx-price em { font-style: normal; font-size: 0.75rem; font-weight: 500; margin-left: 0.1rem; }
.tx-departure-seats { color: var(--color-muted-text); display: inline-flex; align-items: center; gap: 0.25rem; }
.tx-departure-guide { color: var(--color-muted-text); display: inline-flex; align-items: center; gap: 0.25rem; }
.tx-departure-actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end;
}
@media (max-width: 639px) {
  .tx-departure-actions { justify-content: stretch; }
  .tx-departure-actions .tx-btn { flex: 1; justify-content: center; }
}

/* Footer */
.tx-footer { margin-top: 3rem; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.tx-footer-grid { display: grid; gap: 2rem; padding: 2.5rem 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tx-footer-grid { grid-template-columns: 1.5fr 1fr; } }
.tx-footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.tx-footer-bottom { padding: 1rem 0 1.5rem; font-size: 0.875rem; color: var(--color-muted-text); border-top: 1px solid var(--color-border); }

/* Mobile bar */
.tx-mbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  display: flex; background: var(--color-surface); border-top: 1px solid var(--color-border);
  min-height: var(--mbar-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 900px) { .tx-mbar { display: none; } }
.tx-mbar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.5rem; font-size: 0.6875rem; color: var(--color-muted-text);
}
.tx-mbar-item i { font-size: 1.25rem; }
.tx-mbar-item--primary { color: var(--color-primary); font-weight: 600; }

.back-to-top {
  position: fixed; right: 1rem; z-index: 210;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: none;
  background: var(--color-primary); color: #fff; cursor: pointer; opacity: 0;
  transition: opacity 0.2s; box-shadow: var(--shadow-sm);
}
.back-to-top.visible { opacity: 1; }

.breadcrumb { font-size: 0.875rem; color: var(--color-muted-text); margin-bottom: 1rem; }
.breadcrumb .sep { margin: 0 0.35rem; opacity: 0.5; }

.tx-loading { text-align: center; color: var(--color-muted-text); padding: 2rem; }
.tx-result-header { text-align: center; }
.tx-result-icon { font-size: 3rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.tx-result-icon.is-success { color: #059669; }
.tx-result-icon.is-pending { color: var(--color-accent); }
.tx-result-icon.is-muted { color: var(--color-muted-text); }
.tx-result-icon.is-info { color: var(--color-primary); }
.tx-result-box { background: var(--color-surface); padding: 1.5rem; border-radius: var(--tx-radius); margin: 1.5rem 0; border: 1px solid var(--color-border); }
.tx-result-box dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; margin: 0; }
.tx-result-box dt { color: var(--color-muted-text); }
.tx-manual-pay-box { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); }
.tx-manual-pay-box h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.tx-manual-pay-text { white-space: pre-wrap; line-height: 1.6; color: var(--color-text); }
.tx-result-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
