/* -*- coding: utf-8 -*- */
:root {
  --bg-main: #030712;
  --bg-page: #090d16;
  --bg-panel: rgba(17, 24, 39, 0.75);
  --bg-soft: rgba(31, 41, 55, 0.6);
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --ktx: #3b82f6;
  --srt: #a855f7;
  --active: var(--ktx);
  --danger: #ef4444;
  --success: #10b981;
  --glow-ktx: rgba(59, 130, 246, 0.4);
  --glow-srt: rgba(168, 85, 247, 0.4);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --font-sans:
    "Pretendard Variable",
    Pretendard,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Segoe UI",
    sans-serif;
  font-family: var(--font-sans);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, var(--bg-page) 60%);
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  word-break: keep-all;
}

body.is-srt {
  --active: var(--srt);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  min-width: 0;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

p,
h1,
h2,
h3,
h4,
span,
strong,
a,
button,
label,
li,
small {
  word-break: keep-all;
  overflow-wrap: normal;
}

code,
[data-referral-code],
[data-my-referral-code],
.bank-receipt strong {
  word-break: break-word;
  overflow-wrap: anywhere;
}

#console-page {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* Header Design */
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--active) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #ffffff url("assets/jarijaba-app-icon-192.png") center / cover no-repeat;
  box-shadow: 0 0 16px color-mix(in srgb, var(--active) 42%, transparent);
  position: relative;
}

.brand-mark::after {
  content: "";
  display: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-label-short {
  display: none;
}

.nav-icon {
  display: none;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav a.is-active {
  color: #ffffff;
  background: var(--active);
  box-shadow: 0 0 15px var(--active);
}

.login-button {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13.5px;
  color: #1e1b4b;
  background: #fee500;
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.3);
  transition: all 0.2s;
}

.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(254, 229, 0, 0.5);
}

/* App Layout & Core Content */
.booking-shell {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 40px 24px 80px;
}

.page-section {
  min-height: calc(100vh - 72px);
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-ambient {
  position: absolute;
  inset: 0 0 auto;
  height: 480px;
  background:
    linear-gradient(180deg, rgba(9, 13, 22, 0.2), var(--bg-page)),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.booking-layout {
  position: relative;
  width: min(720px, 100%);
  min-width: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.booking-app,
.result-panel,
.journey-card,
.setup-card,
.admin-panel,
.official-payment-guide,
.metric-grid article,
.reservation-modal {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.booking-app,
.result-panel {
  min-width: 0;
  padding: 30px;
}

.booking-app {
  position: relative;
  overflow: visible;
  max-width: 100%;
}

.result-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#console-page .booking-shell:has(.result-panel.is-mobile-results) {
  isolation: isolate;
}

#console-page .booking-shell:has(.result-panel.is-mobile-results)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 36rem),
    #080d1b;
}

.booking-app.is-searching {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.booking-app.is-searching .app-title {
  display: none;
}

.booking-app:focus-within,
.result-panel:focus-within {
  z-index: 80;
}

.app-title {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--active);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.app-title h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-title p,
.section-head p,
.empty-results p,
.setup-card label,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14.5px;
}

/* Journey Form Elements */
.journey-form {
  display: grid;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.provider-tabs,
.scope-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
}

.provider-tabs button,
.scope-tabs button,
.seat-action,
.counter button,
.swap-button {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 800;
  transition: all 0.2s;
}

.provider-tabs button {
  min-height: 54px;
  font-size: 16px;
}

.provider-tabs button:hover,
.scope-tabs button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.scope-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.scope-tabs button:disabled:hover {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.provider-tabs button.is-active,
.scope-tabs button.is-active {
  color: #ffffff;
  border-color: var(--active);
  background: var(--active);
  box-shadow: 0 0 20px var(--active);
}

.journey-card {
  min-width: 0;
  max-width: 100%;
  padding: 20px;
  overflow: visible;
}

.station-card {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  overflow: visible;
}

.station-card:focus-within {
  z-index: 2000;
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--bg-soft);
  font-weight: 700;
  transition: all 0.2s;
}

input,
textarea {
  padding: 0 16px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--active);
  outline: none;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
  background: rgba(31, 41, 55, 0.8);
}

select {
  padding: 0 42px 0 16px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 21px) 25px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 15px) 25px / 6px 6px no-repeat,
    var(--bg-soft);
}

.station-card input {
  min-height: 58px;
  font-size: 22px;
  text-align: center;
  font-weight: 900;
}

.station-field {
  position: relative;
  z-index: 1;
}

.station-field:focus-within {
  z-index: 2100;
}

.station-autocomplete {
  position: relative;
  z-index: 1;
}

.station-autocomplete:focus-within {
  z-index: 2200;
}

.station-dropdown {
  position: absolute;
  z-index: 2300;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 272px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 10px;
  background: rgba(8, 13, 24, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(18px);
}

.station-dropdown li {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #dbeafe;
  font-size: 15px;
  font-weight: 850;
  text-align: center;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
  cursor: pointer;
}

.station-dropdown li:hover,
.station-dropdown li.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(168, 85, 247, 0.72));
}

.monitor-policy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.monitor-policy.compact {
  margin: 0 0 12px;
}

.monitor-policy span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(15, 23, 42, 0.42);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  white-space: normal;
}

#landing-page .monitor-policy span {
  background: #eff6ff;
  border-color: #dbeafe;
  color: #1d4ed8;
}

#landing-page .station-dropdown {
  border-color: #dbeafe;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

#landing-page .station-dropdown li {
  color: #1e293b;
}

#landing-page .station-dropdown li:hover,
#landing-page .station-dropdown li.is-active {
  color: #ffffff;
  background: #2563eb;
}

.station-card label:last-child {
  text-align: right;
}
.station-card label:last-child input {
  text-align: center;
}

.swap-button {
  width: 44px;
  height: 44px;
  align-self: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 20px;
  display: inline-grid;
  place-items: center;
}

.swap-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  transform: rotate(180deg);
}

.date-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.icon-input {
  position: relative;
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.icon-input > span {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}

.icon-input input,
.icon-input select {
  display: block;
  min-width: 0;
  max-width: 100%;
  padding-left: 44px;
  line-height: 1.2;
}

.date-card .icon-input input,
.date-card .icon-input select {
  height: 56px;
  min-height: 56px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 56px;
}

input[type="date"] {
  min-inline-size: 0;
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
}

input[type="date"]::-webkit-date-and-time-value {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: center;
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  line-height: 1;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  margin-left: 0;
}

.option-card {
  display: grid;
  gap: 14px;
}

.option-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 800;
}

.option-card span {
  color: var(--muted);
  font-size: 13px;
}

.scope-tabs button {
  min-height: 44px;
  color: var(--muted);
  background: var(--bg-soft);
  font-size: 13.5px;
}

.scope-tabs.compact {
  gap: 8px;
}

.passenger-card {
  display: grid;
  gap: 14px;
}

.card-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.card-headline span {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.card-headline strong {
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--active);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 12px;
  font-weight: 800;
  white-space: normal;
}

.referral-headline {
  align-items: stretch;
  flex-wrap: wrap;
}

.referral-code-badge {
  width: min(100%, 430px);
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 98px !important;
  padding: 15px 16px !important;
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 18%, rgba(125, 211, 252, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(14, 165, 233, 0.14));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s, box-shadow 0.18s;
}

.referral-code-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.72);
  background:
    radial-gradient(circle at 12% 18%, rgba(125, 211, 252, 0.36), transparent 34%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.38), rgba(14, 165, 233, 0.2));
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.referral-code-badge:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.45);
  outline-offset: 3px;
}

.referral-code-badge .referral-badge-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #eff6ff;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.34);
  font-size: 19px;
}

.referral-code-badge .referral-badge-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.referral-code-badge .referral-badge-kicker {
  color: rgba(191, 219, 254, 0.9);
  font-size: 12px;
  font-weight: 900;
}

.referral-code-badge b {
  color: #f8fbff;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
  white-space: nowrap;
}

.referral-code-badge small {
  color: rgba(219, 234, 254, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.referral-code-badge .referral-badge-action {
  min-width: 58px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #0b1220;
  background: #dbeafe;
  font-size: 12px;
  font-weight: 950;
}

body.is-srt .card-headline strong {
  color: var(--srt);
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.25);
}

body.is-srt .referral-code-badge {
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 180, 254, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(59, 130, 246, 0.14));
  border-color: rgba(192, 132, 252, 0.42);
}

body.is-srt .referral-code-badge:hover {
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 180, 254, 0.36), transparent 34%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.38), rgba(59, 130, 246, 0.2));
  border-color: rgba(192, 132, 252, 0.56);
  box-shadow: 0 22px 50px rgba(168, 85, 247, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.is-srt .referral-code-badge .referral-badge-icon {
  background: linear-gradient(135deg, #9333ea, #60a5fa);
}

body.is-srt .referral-code-badge .referral-badge-action {
  color: #1d0b2f;
  background: #f3e8ff;
}

.passenger-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 800;
}

.counter {
  width: 128px;
  height: 42px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid var(--line);
}

.counter button {
  width: 38px;
  height: 38px;
  border: 0;
  color: var(--active);
  background: transparent;
  font-size: 16px;
}

.counter button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.counter strong {
  text-align: center;
  font-size: 16px;
}

.details-toggle {
  min-height: 40px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  transition: color 0.2s;
}

.details-toggle:hover {
  color: var(--ink);
}

.details-toggle span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s;
}

.details-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.passenger-details {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  color: #ffffff;
  background: var(--active);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  font-size: 17px;
  font-weight: 900;
  border-radius: 8px;
  transition: all 0.2s;
}

body.is-srt .search-button {
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}

.search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px var(--active);
}

.result-head,
.section-head.split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.result-head > div {
  min-width: 0;
}

.result-head h2,
.section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.result-monitor-policy {
  margin-top: 10px;
}

[data-login-state] {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 99px;
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-size: 11.5px;
  font-weight: 800;
}

body.is-logged-in [data-login-state] {
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.empty-results {
  min-height: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 26px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}

.empty-results strong {
  display: block;
  font-size: 18px;
  color: var(--ink);
}

.search-error-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  margin-top: 16px;
  border: 1px solid rgba(248, 113, 113, 0.24);
  border-radius: 12px;
  color: #f87171;
  text-align: center;
  background: rgba(239, 68, 68, 0.08);
}

.search-error-panel strong {
  display: block;
  color: #fca5a5;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.search-error-panel p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.search-error-action {
  width: min(100%, 260px);
  min-height: 42px;
  justify-content: center;
}

.train-results {
  display: grid;
  gap: 14px;
  width: min(100%, 690px);
  margin: 14px auto 0;
}

.train-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 25, 42, 0.96), rgba(12, 18, 32, 0.96));
  box-shadow: 0 16px 36px rgba(3, 7, 18, 0.28);
  transition: all 0.2s;
}

.train-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.24);
  background: linear-gradient(180deg, rgba(22, 31, 52, 0.98), rgba(12, 18, 32, 0.98));
}

.train-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.train-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.train-duration {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.time-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.time-line strong {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.time-line strong:last-child {
  text-align: right;
}

.time-line span {
  color: rgba(255, 255, 255, 0.2);
  font-size: 22px;
}

.seat-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.seat-actions.single {
  grid-template-columns: 1fr;
}

.seat-choice {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: rgba(8, 13, 28, 0.92);
}

.seat-choice.is-open {
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(7, 24, 31, 0.92);
}

.seat-choice.is-standby {
  border-color: rgba(245, 158, 11, 0.32);
  background: linear-gradient(180deg, rgba(32, 24, 15, 0.96), rgba(18, 17, 24, 0.96));
}

.seat-choice-info {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
}

.seat-choice-info strong {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 900;
}

.seat-status-badge {
  width: max-content;
  max-width: 100%;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.seat-status-badge.is-waiting {
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.12);
}

.seat-status-badge.is-open {
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
}

.seat-status-badge.is-standby {
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.34);
  background: rgba(245, 158, 11, 0.13);
}

.seat-action {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.24);
  font-size: 13.5px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.seat-action:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 30px rgba(59, 130, 246, 0.32);
}

.seat-action:active {
  transform: translateY(0);
}

body.is-srt .seat-action {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  box-shadow: 0 12px 24px rgba(168, 85, 247, 0.25);
}

body.is-srt .seat-action:hover {
  box-shadow: 0 16px 30px rgba(168, 85, 247, 0.34);
}

/* Timeline & Live Deck Dashboard */
.live-desk {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  margin-top: 24px;
}

.live-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 22, 0.95), rgba(9, 13, 22, 0.75)),
    radial-gradient(circle at 10% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Success desk, Account desk, Point desk, Admin boards */
.success-section,
.account-section,
.admin-section,
.operator-alert-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.split > p {
  max-width: 480px;
  margin: 6px 0 0;
}

.metric-grid,
.account-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.account-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.metric-grid article {
  min-height: 120px;
  padding: 22px;
  background: rgba(31, 41, 55, 0.2);
}

.metric-grid article > span {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 900;
}

.official-payment-guide {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(0, 1.5fr);
  gap: 16px;
  align-items: stretch;
  margin: 0 0 24px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(168, 85, 247, 0.14)),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.36), 0 0 0 1px rgba(96, 165, 250, 0.08);
}

.official-payment-guide-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.official-payment-guide-copy span {
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.official-payment-guide-copy strong {
  color: #ffffff;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 950;
  line-height: 1.35;
}

.official-payment-routes {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.official-payment-route {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 9px;
  padding: 13px 14px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.42);
}

.official-payment-route span {
  min-width: 46px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.2);
  font-size: 12px;
  font-weight: 950;
}

.official-payment-route.is-srt span {
  color: #ddd6fe;
  border-color: rgba(168, 85, 247, 0.38);
  background: rgba(124, 58, 237, 0.22);
}

.official-payment-route strong,
.official-payment-route p {
  min-width: 0;
}

.official-payment-route strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
}

.official-payment-route p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(241, 245, 249, 0.9);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.45;
}

.reservation-board {
  margin: 24px 0;
}

.request-referral-cta {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(circle at 8% 12%, rgba(96, 165, 250, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(30, 64, 175, 0.16), rgba(88, 28, 135, 0.14));
}

.request-referral-cta-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #052e16;
  background: linear-gradient(135deg, #86efac, #22c55e);
  border-radius: 14px;
  font-size: 20px;
  font-weight: 1000;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.22);
}

.request-referral-cta-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.request-referral-cta-copy > span {
  color: #86efac;
  font-size: 11.5px;
  font-weight: 900;
}

.request-referral-cta-copy strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.45;
}

.request-referral-cta-copy small {
  color: rgba(226, 232, 240, 0.82);
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.5;
}

.request-referral-cta-button {
  min-width: 148px;
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.reservation-list {
  display: grid;
  gap: 10px;
}

.reservation-list > p {
  margin: 0;
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.request-history-table {
  width: 100%;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.32);
}

.request-history-head,
.request-history-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.8fr 0.8fr 1.25fr 0.9fr 0.9fr 1.15fr 1.05fr 0.65fr;
  gap: 10px;
  align-items: center;
}

.request-history-head {
  min-height: 46px;
  padding: 0 16px;
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.09);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.request-history-row {
  min-height: 76px;
  padding: 14px 16px;
  color: var(--ink);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: background-color 0.2s, transform 0.2s;
}

.request-history-row:last-child {
  border-bottom: 0;
}

.request-history-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.request-history-row > span,
.request-history-row > strong {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 12.5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.request-history-row > strong {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 900;
}

.request-history-row > span[data-label="관리"] {
  justify-items: center;
  align-items: center;
  overflow-wrap: normal;
}

.request-history-row small {
  color: rgba(148, 163, 184, 0.9);
  font-size: 11.5px;
  line-height: 1.35;
}

.request-history-status {
  align-content: center;
}

.request-status-pill {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.14);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.request-status-pill.reserved {
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.28);
}

.request-status-pill.waitlisted {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.28);
}

.request-status-pill.expired,
.request-status-pill.cancelled {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.22);
}

.request-status-pill.failed {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.13);
  border-color: rgba(239, 68, 68, 0.24);
}

.request-status-spinner {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 2px solid rgba(191, 219, 254, 0.3);
  border-top-color: #60a5fa;
  animation: status-spin 0.82s linear infinite;
}

.request-status-icon {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.request-stop-button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  color: #fee2e2;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.28);
  font-size: 12px;
  font-weight: 900;
}

.request-stop-button:hover:not(:disabled) {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.28);
  border-color: rgba(248, 113, 113, 0.46);
}

.request-pay-button {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.38);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

.request-pay-button:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.34);
  border-color: rgba(147, 197, 253, 0.6);
}

.request-retry-button {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #dcfce7;
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.38);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

.request-retry-button:hover:not(:disabled) {
  color: #ffffff;
  background: rgba(22, 163, 74, 0.34);
  border-color: rgba(134, 239, 172, 0.6);
}

.request-stop-button:disabled,
.request-retry-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.request-action-muted {
  color: rgba(148, 163, 184, 0.86);
  font-size: 12px;
  font-weight: 800;
}

@keyframes status-spin {
  to {
    transform: rotate(360deg);
  }
}

.reservation-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.reservation-row div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.reservation-row strong,
.reservation-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.reservation-row strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.reservation-row span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.request-status {
  justify-items: end;
  text-align: right;
}

.request-status strong {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 12px;
}

.request-status.reserved strong {
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.25);
}

.request-status.waitlisted strong {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.25);
}

.request-status.failed strong,
.request-status.expired strong,
.request-status.cancelled strong {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.25);
}

/* Forms & Admin Dashboard Panels */
.setup-card,
.admin-panel {
  padding: 24px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.setup-form {
  display: grid;
  gap: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.credential-status-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
}

.credential-status-panel strong {
  color: #bfdbfe;
  font-size: 15px;
  font-weight: 950;
}

.credential-status-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.credential-status-panel.is-saved {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(16, 185, 129, 0.09);
}

.credential-status-panel.is-saved strong {
  color: #86efac;
}

.credential-provider-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.credential-provider-status span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.credential-provider-status span.is-saved {
  color: #bbf7d0;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.28);
}

.credential-id-field {
  display: grid;
  gap: 8px;
}

.credential-id-label {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 800;
}

.credential-id-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.36fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.credential-id-row select,
.credential-id-row input {
  min-width: 0;
}

.credential-id-row select {
  padding-inline: 12px 34px;
  font-size: 14px;
}

.point-grid {
  width: min(1160px, 100%);
  grid-template-columns: minmax(380px, 0.88fr) minmax(500px, 1.12fr);
  justify-content: center;
  gap: 20px;
  align-items: stretch;
  margin: 0 auto;
}

.referral-spotlight-card {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbeafe;
  --active: #2563eb;
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  align-content: start;
  margin: 0;
  padding: 28px;
  color: #0f172a;
  background:
    radial-gradient(circle at 96% 0%, rgba(139, 92, 246, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 54%, #eff6ff 100%);
  border: 1px solid rgba(191, 219, 254, 0.82);
  border-radius: 18px;
  box-shadow: 18px 18px 48px rgba(15, 23, 42, 0.10);
}

.referral-spotlight-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.referral-spotlight-copy .eyebrow {
  color: #2563eb;
}

.referral-spotlight-copy h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  font-weight: 950;
}

.referral-spotlight-copy p:not(.eyebrow) {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 750;
}

.referral-spotlight-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.referral-code-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.referral-code-box > span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.referral-code-box > strong {
  min-width: 0;
  color: #2563eb;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
  font-weight: 1000;
}

.referral-code-box > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.referral-code-box .ghost-button {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.referral-code-box .submit-button {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.referral-spotlight-card.is-referral-focus {
  animation: referral-focus 1.45s ease;
}

.referral-hub-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.referral-hub-kicker .eyebrow {
  margin: 0;
}

.referral-hub-kicker > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #5b21b6;
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.referral-fee-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #334155;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 750;
}

.referral-fee-note > i {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 16px;
}

.referral-fee-note strong {
  color: #1d4ed8;
  font-weight: 1000;
}

.referral-reward-math {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.referral-reward-math article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 14px;
  color: #334155;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #dbeafe;
  border-radius: 13px;
}

.referral-reward-math article.is-milestone {
  color: #4c1d95;
  background: linear-gradient(145deg, #f5f3ff, #eef2ff);
  border-color: #ddd6fe;
}

.referral-reward-math article > span,
.referral-reward-math article > small {
  min-width: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 850;
}

.referral-reward-math strong {
  min-width: 0;
  color: #1d4ed8;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.referral-reward-math .is-milestone strong {
  color: #6d28d9;
}

.referral-reward-math strong span,
.referral-reward-math small span {
  color: inherit;
  font: inherit;
}

.referral-code-box > .viral-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.referral-code-box .viral-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 46px;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
}

.referral-feedback {
  min-height: 18px;
  margin: 0;
  color: #1d4ed8;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 850;
}

.referral-hub-progress {
  margin-top: 0;
  padding: 16px;
  border-radius: 13px;
  background: rgba(239, 246, 255, 0.82);
}

.referral-hub-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.referral-progress-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.referral-progress-slot {
  min-height: 28px;
  display: grid;
  place-items: center;
  color: #64748b;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(191, 219, 254, 0.82);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 950;
}

.referral-progress-slot.is-complete {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: transparent;
}

.referral-hub-stats > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(191, 219, 254, 0.78);
  border-radius: 10px;
}

.referral-hub-stats span {
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 850;
}

.referral-hub-stats strong {
  min-width: 0;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.referral-hub-progress .referral-share-helper {
  color: #475569;
  font-weight: 800;
}

.referral-hub-progress .referral-progress-remaining {
  color: #1d4ed8;
  font-weight: 900;
}

@keyframes referral-focus {
  0%, 100% {
    box-shadow: none;
  }
  30%, 70% {
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.18), 0 22px 48px rgba(37, 99, 235, 0.16);
  }
}

.pending-topup-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -6px 0 22px;
  padding: 18px 20px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.92));
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.pending-topup-banner[hidden] {
  display: none;
}

.pending-topup-banner strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 15px;
}

.pending-topup-banner span {
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.pending-topup-banner button {
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
}

.point-card {
  --ink: #0f172a;
  --muted: #667085;
  --line: #e5e7eb;
  gap: 20px;
  height: 100%;
  padding: 28px;
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  border-radius: 18px 0 0 18px;
  box-shadow: -18px 18px 48px rgba(15, 23, 42, 0.12);
}

.point-wallet-card {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
}

.point-wallet-card > div,
.point-wallet-card b {
  min-width: 0;
}

.point-wallet-card span {
  display: block;
  margin-bottom: 6px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 800;
}

.point-wallet-card strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.point-wallet-card b {
  color: #2563eb;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 950;
  line-height: 1.18;
  text-align: right;
  white-space: normal;
}

.topup-form {
  gap: 14px;
}

.topup-label {
  display: grid;
  gap: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.topup-label.compact {
  margin-top: 14px;
  color: #667085;
  font-size: 13px;
}

.topup-label input {
  min-height: 54px;
  width: 100%;
  padding: 0 16px;
  color: #111827;
  background: #f9fafb;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 850;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.topup-label input::placeholder {
  color: #c0c6d1;
}

.topup-label input:focus {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.topup-helper {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  line-height: 1.55;
}

.topup-helper strong {
  flex: 0 0 auto;
}

.topup-divider {
  height: 1px;
  margin: 18px 0 8px;
  background: #edf1f7;
}

.topup-amount-section {
  display: grid;
  gap: 12px;
}

.topup-amount-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.topup-amount-head strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.topup-amount-head span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 850;
}

.admin-auth-panel {
  margin-bottom: 20px;
  border-color: rgba(59, 130, 246, 0.26);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(168, 85, 247, 0.10)),
    rgba(17, 24, 39, 0.55);
}

.admin-token-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.admin-token-actions {
  display: flex;
  gap: 10px;
}

.operator-alert-panel {
  margin-bottom: 20px;
  border-color: rgba(251, 191, 36, 0.32);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(239, 68, 68, 0.10)),
    rgba(17, 24, 39, 0.66);
}

.operator-alert-panel > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 700;
}

.operator-alert-token-form[hidden],
.operator-alert-secure[hidden] {
  display: none;
}

.operator-alert-admin-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.operator-alert-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.operator-alert-summary-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.38);
}

.operator-alert-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.operator-alert-summary-grid strong {
  display: block;
  margin-top: 7px;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 950;
}

.operator-alert-incident-list {
  display: grid;
  gap: 10px;
}

.operator-alert-incident {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.08);
}

.operator-alert-incident strong {
  color: #fef3c7;
  font-size: 14px;
}

.operator-alert-incident span,
.operator-alert-incident p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ghost-button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-weight: 800;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.10);
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kakao-connect-button {
  min-height: 50px;
  border-radius: 8px;
  color: #1f2937;
  background: #fee500;
  box-shadow: 0 8px 20px rgba(254, 229, 0, 0.2);
  font-weight: 900;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kakao-connect-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(254, 229, 0, 0.34);
}

.submit-button {
  min-height: 50px;
  border-radius: 8px;
  font-weight: 800;
  color: #ffffff;
  background: var(--active);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
  transition: all 0.2s;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--active);
}

.submit-button:disabled {
  cursor: not-allowed;
  color: #ffffff;
  background: #c9ced7;
  box-shadow: none;
  transform: none;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.amount-chip {
  position: relative;
  width: 100%;
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 4px;
  margin-top: 8px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #111827;
  font-weight: 900;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.amount-chip:hover {
  border-color: #60a5fa;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.amount-chip em {
  position: absolute;
  top: -13px;
  left: 50%;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: #3b82f6;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
  transform: translateX(-50%);
}

.amount-chip span {
  color: #2563eb;
  font-size: 20px;
}

.amount-chip strong {
  color: #3b82f6;
  font-size: 12px;
}

.amount-chip small {
  color: #2563eb;
  font-size: 12px;
  line-height: 1.45;
}

.topup-submit {
  margin-top: 8px;
  font-size: 15px;
}

.topup-submit.is-ready {
  background: #3b82f6 !important;
  background-image: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28) !important;
}

.topup-submit.is-waiting {
  background: #c9ced7 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.deposit-confirmation {
  margin-top: 20px;
  padding: 26px 24px;
  border-top: 4px solid #3b82f6;
  border-radius: 8px;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10);
}

.deposit-confirmation[hidden] {
  display: none;
}

.deposit-confirmation-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #2563eb;
  background: #dbeafe;
  font-weight: 900;
  font-size: 22px;
}

.deposit-confirmation h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #111827;
}

.deposit-confirmation p {
  margin: 0 0 18px;
  color: #667085;
  line-height: 1.7;
  font-size: 14px;
}

.bank-receipt {
  display: grid;
  gap: 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.bank-receipt div {
  min-height: 46px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.bank-receipt div:last-child {
  border-bottom: 0;
}

.bank-receipt span {
  color: #98a2b3;
  font-size: 13px;
}

.bank-receipt strong {
  text-align: right;
  color: #111827;
  font-size: 15px;
}

.bank-receipt button {
  padding: 5px 8px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 900;
  font-size: 11px;
}

.bank-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.deposit-warning {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  color: #ef4444;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.deposit-warning strong {
  display: block;
  margin-bottom: 4px;
}

.deposit-warning p {
  margin: 0;
  color: #ef4444;
  font-size: 12px;
}

.deposit-feed {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.point-card .deposit-feed {
  color: #667085;
}

.shortcut-guide-card {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.08);
}

.shortcut-guide-card strong {
  color: var(--ink);
  font-size: 13px;
}

.shortcut-guide-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.shortcut-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 800;
}

.resilience-copy {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
}

.resilience-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.resilience-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.table-list {
  display: grid;
  gap: 8px;
}

.table-list p {
  color: rgba(255,255,255,0.25);
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}

.table-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  font-size: 13px;
}

.table-row strong {
  color: var(--ink);
}

.table-row button {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  background: var(--danger);
  color: #ffffff;
  font-weight: 800;
}

.admin-panel.wide {
  grid-column: span 3;
}

.my-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.profile-card {
  min-height: 280px;
}

.profile-kpi {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.viral-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.viral-progress {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(59, 130, 246, 0.20);
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.08);
}

.viral-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.viral-progress-head strong {
  color: var(--active);
  white-space: nowrap;
}

.viral-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
}

.viral-progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #8b5cf6);
  transition: width 220ms ease;
}

.viral-progress p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.viral-actions .ghost-button,
.viral-actions .submit-button {
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
}

.push-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.push-actions .submit-button,
.push-actions .ghost-button {
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
}

.push-actions [data-install-app] {
  grid-column: 1 / -1;
}

.push-guide {
  margin: 12px 0 0;
  padding: 12px 14px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
}

.push-responsibility-warning {
  margin: 10px 0 0;
  padding: 12px 14px;
  color: #fecaca;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(248, 113, 113, 0.26);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.device-push-guide {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.device-push-current {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(124, 58, 237, 0.10));
}

.device-push-current strong {
  color: #dbeafe;
  font-size: 13px;
  font-weight: 950;
}

.device-push-current span {
  color: rgba(226, 232, 240, 0.78);
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 700;
}

.device-push-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.device-push-card {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.device-push-card strong {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 950;
}

.device-push-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.device-push-steps {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.device-push-steps li::marker {
  color: #60a5fa;
  font-weight: 900;
}

.operator-canary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 14px;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
}

.operator-canary div:first-child {
  display: grid;
  gap: 4px;
}

.operator-canary strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.operator-canary span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.operator-canary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.operator-canary-actions .ghost-button {
  min-height: 36px;
  padding: 0 11px;
  font-size: 12px;
}

.viral-rules {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.viral-rules li {
  position: relative;
  padding-left: 16px;
}

.viral-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ktx), var(--srt));
}

.profile-kpi span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-kpi strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.profile-referral-cta {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  color: #eff6ff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(109, 40, 217, 0.92));
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.profile-referral-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.profile-referral-cta:focus-visible {
  outline: 3px solid rgba(147, 197, 253, 0.64);
  outline-offset: 3px;
}

.profile-referral-cta-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #1d4ed8;
  background: #ffffff;
  border-radius: 12px;
  font-size: 17px;
}

.profile-referral-cta > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profile-referral-cta strong,
.profile-referral-cta small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.profile-referral-cta strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 1000;
}

.profile-referral-cta small {
  color: rgba(239, 246, 255, 0.82);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 750;
}

/* Modals & Backdrop */
.modal-backdrop {
  position: fixed;
  z-index: 7400;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reservation-modal {
  position: fixed;
  z-index: 7410;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: 0;
  padding: 26px;
  display: grid;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.modal-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  font-size: 27px;
  color: var(--active);
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.48);
}

.reservation-modal h2 {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}

.modal-train {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 14px;
  text-align: center;
  background: rgba(15, 23, 42, 0.62);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.modal-train strong {
  color: #ffffff;
  font-size: 18.5px;
  font-weight: 900;
  line-height: 1.2;
}

.modal-train span {
  color: var(--active);
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.25;
}

.modal-assist-note,
.modal-fee-note {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 9px;
  color: rgba(226, 232, 240, 0.86);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 12.5px;
  line-height: 1.45;
}

.modal-fee-note {
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(37, 99, 235, 0.08);
}

.modal-assist-note strong,
.modal-fee-note strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.point-warning {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 9px;
  background: rgba(239, 68, 68, 0.09);
  border: 1px solid rgba(248, 113, 113, 0.22);
  color: #f87171;
  font-size: 12.5px;
  line-height: 1.45;
}

.point-warning strong {
  color: #fecaca;
  font-size: 13px;
  font-weight: 900;
}

.point-warning.is-postpaid {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.24);
}

.modal-passengers {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.modal-counts {
  display: grid;
  gap: 6px;
}

.modal-counts .passenger-row {
  min-height: 42px;
  font-size: 14px;
}

.modal-counts .counter {
  width: 124px;
  height: 36px;
  border-radius: 9px;
}

.modal-counts .counter button {
  width: 36px;
  height: 34px;
}

.payment-choice {
  display: grid;
  gap: 10px;
  padding: 13px 14px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.payment-choice > span {
  color: rgba(226, 232, 240, 0.92);
  font-size: 13px;
  font-weight: 900;
}

.payment-choice .scope-tabs.compact {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  gap: 8px;
}

.payment-choice .scope-tabs.compact button {
  min-height: 44px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.25;
  white-space: normal;
}

.reservation-alert-check {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.10);
}

.reservation-alert-check strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.reservation-alert-check span {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.reservation-alert-check button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 36px;
  padding: 0 12px;
  color: #ffffff;
  background: rgba(59, 130, 246, 0.95);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.modal-push-guide {
  display: grid;
  gap: 7px;
  margin-top: -8px;
  padding: 12px 14px;
  color: rgba(226, 232, 240, 0.78);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.modal-submit {
  min-height: 48px;
  color: #ffffff;
  background: var(--active);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  font-size: 15px;
  font-weight: 900;
}

.modal-cancel {
  min-height: 44px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 14px;
}

.modal-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.critical-alert {
  position: fixed;
  z-index: 9500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(12px);
}

.critical-alert[hidden] {
  display: none;
}

.critical-alert-card {
  width: min(460px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 30px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(191, 219, 254, 0.75);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.38);
  animation: criticalAlertIn 0.22s ease-out;
}

.critical-alert-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 14px;
  font-size: 24px;
  font-weight: 1000;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
}

.critical-alert-card .eyebrow {
  margin-bottom: 8px;
  color: #2563eb;
}

.critical-alert-card h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 27px;
  line-height: 1.22;
  font-weight: 950;
}

.critical-alert-card p {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 750;
}

.critical-alert-card strong {
  display: block;
  margin-top: 16px;
  padding: 12px 14px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.critical-alert-card [data-critical-alert-deadline] {
  margin-top: 12px;
  white-space: pre-line;
}

.reservation-app-guide {
  margin-top: 12px;
  padding: 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
}

.reservation-app-guide-title {
  margin: 0 0 6px !important;
  color: #0369a1 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.reservation-app-guide p:last-child {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 850;
}

.postpaid-payment-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
}

.postpaid-payment-box[hidden] {
  display: none;
}

.postpaid-payment-title {
  margin: 0 0 12px !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 950 !important;
}

.postpaid-settle-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.postpaid-settle-options[hidden],
.postpaid-settle-caption[hidden],
.postpaid-receipt[hidden],
.postpaid-topup-fields[hidden],
.postpaid-name-note[hidden],
.critical-alert-card .postpaid-warning[hidden],
.critical-alert-actions button[hidden] {
  display: none;
}

.postpaid-settle-options button {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 950;
  white-space: normal;
}

.postpaid-settle-options button:last-child {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.postpaid-settle-options button.is-selected {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.postpaid-settle-options button.is-selected + button,
.postpaid-settle-options button:not(.is-selected):last-child {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
  box-shadow: none;
}

.postpaid-settle-caption {
  margin: 0 0 12px !important;
  padding: 10px 12px;
  color: #1d4ed8 !important;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 850 !important;
}

.postpaid-receipt {
  display: grid;
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}

.postpaid-account-pending {
  margin: 10px 0 !important;
  padding: 10px 12px;
  color: #1d4ed8 !important;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 850 !important;
}

.postpaid-receipt div {
  min-height: 42px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #dbeafe;
}

.postpaid-receipt div:last-child {
  border-bottom: 0;
}

.postpaid-payment-box.is-debt-resolution .postpaid-transfer-detail {
  display: none;
}

.postpaid-receipt span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.postpaid-receipt strong {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #0f172a;
  background: transparent;
  border: 0;
  text-align: right;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.postpaid-payer-input,
.postpaid-topup-amount-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  color: #0f172a;
  background: #ffffff;
  caret-color: #0f172a;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  text-align: right;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  outline: none;
}

.postpaid-topup-amount-input {
  grid-column: 2 / -1;
}

.postpaid-payer-input:focus,
.postpaid-topup-amount-input:focus {
  color: #0f172a;
  background: #ffffff !important;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.postpaid-payer-input::placeholder,
.postpaid-topup-amount-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.postpaid-payer-input:-webkit-autofill,
.postpaid-payer-input:-webkit-autofill:hover,
.postpaid-payer-input:-webkit-autofill:focus,
.postpaid-topup-amount-input:-webkit-autofill,
.postpaid-topup-amount-input:-webkit-autofill:hover,
.postpaid-topup-amount-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a;
  box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 3px rgba(37, 99, 235, 0.14);
  caret-color: #0f172a;
}

.postpaid-receipt button {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  color: #2563eb;
  background: #dbeafe;
  font-size: 11px;
  font-weight: 900;
}

.postpaid-name-note {
  margin-top: 12px !important;
  padding: 10px 12px;
  color: #1d4ed8 !important;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 9px;
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 900 !important;
}

.critical-alert-card .postpaid-warning {
  margin-top: 12px;
  padding: 11px 12px;
  color: #dc2626;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 850;
}

.critical-alert-actions {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 10px;
  margin-top: 22px;
}

.critical-alert-actions button {
  min-height: 48px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
}

.critical-alert-actions [data-critical-alert-open],
.critical-alert-actions [data-postpaid-settlement-submit] {
  color: #ffffff;
  background: #2563eb;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.critical-alert-actions [data-critical-alert-close] {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
}

.critical-alert-actions button:disabled {
  color: #94a3b8;
  background: #e5e7eb;
  border: 0;
  box-shadow: none;
  cursor: not-allowed;
}

body.reservation-referral-open {
  overflow: hidden;
}

.reservation-referral-sheet {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 24px;
  background: rgba(3, 7, 18, 0.68);
  backdrop-filter: blur(10px);
}

.reservation-referral-sheet[hidden] {
  display: none;
}

.reservation-referral-sheet-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  color: #0f172a;
  background:
    radial-gradient(circle at 8% 4%, rgba(219, 234, 254, 0.9), transparent 36%),
    #ffffff;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.38);
  animation: reservationReferralSheetIn 0.24s ease-out;
}

.reservation-referral-sheet-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
}

.reservation-referral-sheet-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #052e16;
  background: linear-gradient(135deg, #86efac, #22c55e);
  border-radius: 16px;
  font-size: 23px;
  font-weight: 1000;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.24);
}

.reservation-referral-sheet-card .eyebrow {
  margin: 0 0 8px;
  color: #2563eb;
}

.reservation-referral-sheet-card h2 {
  margin: 0 48px 10px 0;
  color: #0f172a;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.24;
  font-weight: 950;
}

.reservation-referral-sheet-card > p:not(.eyebrow) {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 750;
}

.reservation-referral-sheet-card > .reservation-referral-sheet-condition {
  margin-top: 8px;
  color: #1e40af;
  font-size: 12.5px;
  font-weight: 850;
}

.reservation-referral-sheet-card > strong {
  width: fit-content;
  display: block;
  margin-top: 16px;
  padding: 9px 12px;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.reservation-referral-sheet-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.reservation-referral-sheet-actions .submit-button,
.reservation-referral-sheet-actions .ghost-button {
  width: 100%;
  min-height: 50px;
  margin: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 950;
}

.reservation-referral-sheet-actions .ghost-button {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
}

@keyframes reservationReferralSheetIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-onboarding-backdrop {
  position: fixed;
  z-index: 155;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(14px);
}

.alert-onboarding-backdrop[hidden] {
  display: none;
}

.alert-onboarding-dialog {
  position: fixed;
  z-index: 160;
  inset: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  color: #0f172a;
  background: transparent;
  border: 0;
  overflow: visible;
}

.alert-onboarding-dialog[hidden] {
  display: none;
}

.alert-onboarding-dialog::backdrop {
  background: transparent;
}

.alert-onboarding-card {
  position: relative;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px;
  background: #ffffff;
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: 20px;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.42);
}

body.alert-onboarding-open {
  overflow: hidden;
}

.alert-onboarding-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
}

.alert-onboarding-card .eyebrow {
  margin: 0;
  color: #2563eb;
}

.alert-onboarding-card h2 {
  margin: 0;
  padding-right: 30px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 950;
  letter-spacing: 0;
  word-break: keep-all;
}

.alert-onboarding-copy {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 750;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.alert-onboarding-steps-title {
  margin: 0 0 -6px;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 950;
  word-break: keep-all;
}

.alert-onboarding-card h2:focus {
  outline: none;
}

.alert-onboarding-steps {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 16px 18px 16px 38px;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 850;
  word-break: keep-all;
}

.alert-onboarding-warning {
  margin: 0;
  padding: 14px 16px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.alert-onboarding-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 10px;
  position: sticky;
  bottom: -30px;
  z-index: 2;
  margin: 0 -30px -30px;
  padding: 12px 30px 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), #ffffff 28%);
  border-radius: 0 0 20px 20px;
}

.alert-onboarding-actions.is-later-only {
  grid-template-columns: 1fr;
}

.alert-onboarding-actions .submit-button,
.alert-onboarding-actions .ghost-button {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 950;
}

.alert-onboarding-actions .ghost-button {
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
}

.alert-onboarding-actions .ghost-button:hover {
  background: #edf2f7;
}

@media (max-width: 520px) {
  .reservation-modal {
    width: min(360px, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    padding: 18px;
    gap: 10px;
  }

  .modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 24px;
  }

  .reservation-modal h2 {
    font-size: 21px;
  }

  .modal-train,
  .modal-assist-note,
  .modal-fee-note,
  .point-warning {
    padding: 10px 12px;
  }

  .modal-train strong {
    font-size: 17px;
  }

  .critical-alert {
    padding: 14px;
  }

  .critical-alert-card {
    padding: 22px;
    border-radius: 14px;
  }

  .postpaid-settle-options {
    grid-template-columns: 1fr;
  }

  .postpaid-receipt div {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 6px 8px;
    padding: 11px 0;
  }

  .postpaid-receipt div > span {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .postpaid-receipt div > strong {
    text-align: left;
  }

  .postpaid-receipt div:last-child {
    grid-template-columns: 1fr;
  }

  .postpaid-payer-input,
  .postpaid-topup-amount-input {
    grid-column: 1;
    text-align: left;
  }

  .critical-alert-actions {
    grid-template-columns: 1fr;
  }

  .alert-onboarding-dialog {
    width: min(100% - 24px, 520px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    margin-block: 10px;
  }

  .alert-onboarding-card {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    padding: 18px 16px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .alert-onboarding-card h2 {
    font-size: clamp(20px, 6.5vw, 24px);
    line-height: 1.2;
  }

  .alert-onboarding-copy {
    font-size: 14px;
    line-height: 1.5;
  }

  .alert-onboarding-steps-title {
    margin-bottom: -4px;
    font-size: 14px;
  }

  .alert-onboarding-steps {
    gap: 6px;
    padding: 12px 12px 12px 32px;
    font-size: 14px;
    line-height: 1.45;
  }

  .alert-onboarding-warning {
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  .alert-onboarding-actions {
    grid-template-columns: 1fr;
    bottom: -14px;
    margin: 0 -16px -12px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    border-radius: 0 0 16px 16px;
  }

  .alert-onboarding-actions .submit-button,
  .alert-onboarding-actions .ghost-button {
    min-height: 44px;
  }
}

@keyframes criticalAlertIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.referral-inbound-banner {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 14px;
  color: #172554;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1px solid #c7d2fe;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(30, 64, 175, 0.14);
}

.referral-inbound-banner[hidden] {
  display: none;
}

.referral-inbound-banner-landing {
  position: relative;
  z-index: 4;
  width: min(1160px, calc(100% - 40px));
  grid-template-columns: 46px minmax(0, 1fr) auto;
  margin: 18px auto 0;
  padding: 14px 16px;
}

.referral-inbound-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 14px;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.referral-inbound-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.referral-inbound-copy > span {
  color: #4f46e5;
  font-size: 11px;
  font-weight: 950;
}

.referral-inbound-copy strong {
  min-width: 0;
  color: #172554;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.referral-inbound-copy b {
  color: #6d28d9;
  font-weight: 1000;
}

.referral-inbound-copy small {
  min-width: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.referral-inbound-banner-landing > button {
  min-height: 44px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.referral-inbound-banner-auth {
  grid-template-columns: 42px minmax(0, 1fr);
  margin-top: 16px;
  padding: 12px;
  border-radius: 13px;
  box-shadow: none;
}

.referral-inbound-banner-auth .referral-inbound-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 16px;
}

.auth-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(10px);
}

.auth-modal {
  position: fixed;
  z-index: 90;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 34px;
  overflow-y: auto;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.auth-modal::backdrop {
  background: transparent;
}

.auth-modal:not([open]) {
  display: none;
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #64748b;
  background: #f8fafc;
  font-size: 22px;
  line-height: 1;
}

.auth-close:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.auth-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.auth-eyebrow {
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.auth-modal h2 {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 900;
}

.auth-copy,
.auth-footnote {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  outline: none;
}

.auth-form input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.auth-submit {
  min-height: 50px;
  margin-top: 6px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.75;
}

/* Toast Message */
.toast {
  position: fixed;
  z-index: 9200;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  width: min(520px, calc(100vw - 32px));
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.is-success {
  border-color: rgba(16, 185, 129, 0.34);
  background: rgba(6, 78, 59, 0.96);
  box-shadow: 0 18px 36px rgba(16, 185, 129, 0.22);
}

.toast.is-warning {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(120, 53, 15, 0.96);
}

.pc-install-nudge[hidden] {
  display: none !important;
}

.pc-install-nudge {
  position: fixed;
  z-index: 9100;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px 16px;
  padding: 18px;
  color: #eaf2ff;
  border: 1px solid rgba(96, 165, 250, 0.38);
  border-radius: 20px;
  background: rgba(8, 15, 30, 0.97);
  box-shadow: 0 24px 60px rgba(3, 7, 18, 0.42);
  animation: pc-install-nudge-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-install-nudge-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #bfdbfe;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(124, 58, 237, 0.82));
  font-size: 20px;
}

.pc-install-nudge-copy {
  min-width: 0;
}

.pc-install-nudge-copy strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.pc-install-nudge-copy p {
  margin: 5px 0 0;
  color: #b8c5d9;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.pc-install-nudge-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.pc-install-nudge-actions .submit-button,
.pc-install-nudge-actions .ghost-button {
  min-height: 44px;
  justify-content: center;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
}

.pc-install-nudge-actions .ghost-button {
  min-width: 88px;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(30, 41, 59, 0.72);
}

@keyframes pc-install-nudge-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px) {
  .pc-install-nudge {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
    padding: 16px;
  }

  .pc-install-nudge-actions {
    grid-template-columns: 1fr;
  }

  .pc-install-nudge-actions .ghost-button {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-install-nudge {
    animation: none;
  }
}

/* =========================================================
   Jarijaba operations dashboard
   ========================================================= */

#admin.admin-section {
  width: min(1380px, calc(100% - 48px));
  padding-top: 42px;
}

#admin .section-head {
  align-items: end;
}

#admin .section-head h2 {
  color: #f8fafc;
  letter-spacing: -0.04em;
}

#admin .section-head > p,
#admin .section-head.split > p {
  color: #94a3b8;
}

#admin .admin-auth-panel {
  padding: 18px 20px;
  border-color: rgba(255, 176, 32, 0.25);
  background:
    linear-gradient(135deg, rgba(255, 176, 32, 0.1), rgba(15, 23, 42, 0.2)),
    rgba(15, 23, 42, 0.72);
}

.admin-ops-shell {
  display: grid;
  gap: 22px;
}

.admin-command-bar {
  position: sticky;
  z-index: 12;
  top: 14px;
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(10, 18, 31, 0.92);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(18px);
}

.admin-live-state {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.admin-live-state > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-live-state strong {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 900;
}

.admin-live-state small {
  overflow: hidden;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-live-dot,
.admin-service-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #64748b;
  box-shadow: 0 0 0 5px rgba(100, 116, 139, 0.14);
}

.admin-live-state.is-active .admin-live-dot,
.admin-service-card.is-active .admin-service-dot {
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.13), 0 0 18px rgba(52, 211, 153, 0.35);
}

.admin-live-state.is-attention .admin-live-dot,
.admin-service-card.is-attention .admin-service-dot {
  background: #fb7185;
  box-shadow: 0 0 0 5px rgba(251, 113, 133, 0.13), 0 0 18px rgba(251, 113, 133, 0.3);
}

.admin-service-card.is-inactive .admin-service-dot {
  background: #64748b;
}

.admin-quick-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.admin-quick-nav button,
.admin-filter-group button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #cbd5e1;
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.admin-quick-nav button:hover,
.admin-filter-group button:hover,
.admin-filter-group button.is-active {
  color: #f8fafc;
  border-color: rgba(255, 176, 32, 0.3);
  background: rgba(255, 176, 32, 0.1);
}

.admin-refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 176, 32, 0.36);
  border-radius: 10px;
  color: #171006;
  background: #ffb020;
  font-size: 12px;
  font-weight: 900;
}

.admin-refresh-button:disabled {
  opacity: 0.66;
}

.admin-refresh-button[aria-busy="true"] i {
  animation: admin-spin 800ms linear infinite;
}

@keyframes admin-spin {
  to { transform: rotate(360deg); }
}

.admin-attention-board,
.admin-dashboard-section {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.66), rgba(15, 23, 42, 0.82)),
    #0f172a;
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.22);
}

.admin-attention-board {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-color: rgba(251, 113, 133, 0.26);
  background:
    linear-gradient(135deg, rgba(127, 29, 29, 0.24), rgba(15, 23, 42, 0.9)),
    #0f172a;
}

.admin-attention-board.is-clear {
  display: block;
  border-color: rgba(52, 211, 153, 0.22);
  background:
    linear-gradient(135deg, rgba(6, 78, 59, 0.2), rgba(15, 23, 42, 0.9)),
    #0f172a;
}

.admin-attention-title {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
}

.admin-attention-title span {
  color: #fda4af;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.admin-attention-title strong {
  color: #fff1f2;
  font-size: 28px;
  font-weight: 950;
}

.admin-attention-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-attention-items button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  padding: 13px 14px;
  text-align: left;
  border: 1px solid rgba(251, 113, 133, 0.16);
  border-radius: 12px;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.52);
}

.admin-attention-items button:hover {
  border-color: rgba(251, 113, 133, 0.38);
  transform: translateY(-1px);
}

.admin-attention-items button strong,
.admin-attention-items button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-attention-items button strong {
  font-size: 13px;
  font-weight: 900;
}

.admin-attention-items button strong b {
  color: #fda4af;
}

.admin-attention-items button span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}

.admin-attention-items button i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #fb7185;
}

.admin-attention-clear {
  display: flex;
  align-items: center;
  gap: 13px;
}

.admin-attention-clear > i {
  color: #34d399;
  font-size: 24px;
}

.admin-attention-clear > div {
  display: grid;
  gap: 3px;
}

.admin-attention-clear strong {
  color: #ecfdf5;
  font-size: 14px;
  font-weight: 900;
}

.admin-attention-clear span {
  color: #94a3b8;
  font-size: 12px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-kpi-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.76);
}

.admin-kpi-card.is-attention {
  border-color: rgba(251, 113, 133, 0.3);
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.2), rgba(15, 23, 42, 0.8));
}

.admin-kpi-card > span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 8px;
  color: #f8fafc;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.admin-kpi-card strong small {
  margin-left: 3px;
  color: #cbd5e1;
  font-size: 13px;
}

.admin-kpi-card p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.admin-dashboard-section {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  scroll-margin-top: 92px;
}

.admin-dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-dashboard-heading > div {
  display: grid;
  gap: 5px;
}

.admin-dashboard-heading h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.admin-dashboard-heading > div > span {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.55;
}

.admin-dashboard-heading > strong {
  flex: 0 0 auto;
  color: #ffca63;
  font-size: 13px;
  font-weight: 900;
}

.admin-dashboard-heading.compact h3 {
  font-size: 17px;
}

.admin-section-kicker {
  margin: 0;
  color: #ffb020;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.admin-payment-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: min(100%, 330px);
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 11px;
  color: #64748b;
  background: rgba(2, 6, 23, 0.34);
}

.admin-search-field input {
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  color: #f8fafc;
  background: transparent;
  outline: 0;
  font-size: 13px;
}

.admin-filter-group {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.28);
}

.admin-evidence-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 10px;
  color: #94a3b8;
  background: rgba(14, 165, 233, 0.07);
  font-size: 12px;
  line-height: 1.55;
}

.admin-evidence-note strong {
  color: #e0f2fe;
}

.admin-payment-list {
  display: grid;
  gap: 12px;
}

.admin-payment-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.28);
}

.admin-payment-card.is-attention {
  border-color: rgba(251, 113, 133, 0.34);
  box-shadow: inset 3px 0 0 #fb7185;
}

.admin-payment-card.is-complete {
  box-shadow: inset 3px 0 0 rgba(52, 211, 153, 0.72);
}

.admin-payment-card > header,
.admin-payment-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.admin-payment-card > header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.admin-payment-person,
.admin-payment-amount {
  display: grid;
  gap: 3px;
}

.admin-payment-person strong,
.admin-payment-amount strong {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 900;
}

.admin-payment-person span {
  color: #94a3b8;
  font-size: 11px;
}

.admin-payment-amount {
  justify-items: end;
}

.admin-payment-amount strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.admin-pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px;
}

.admin-pipeline-steps > div {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 1px 9px;
  min-width: 0;
  padding-right: 14px;
}

.admin-pipeline-steps > div:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 13px;
  right: 3px;
  width: calc(100% - 37px);
  height: 1px;
  transform: translateX(100%);
  background: rgba(148, 163, 184, 0.18);
}

.admin-pipeline-steps > div > span {
  z-index: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: #94a3b8;
  background: #111827;
  font-size: 11px;
  font-weight: 900;
}

.admin-pipeline-steps > div.is-success > span {
  color: #a7f3d0;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(6, 78, 59, 0.66);
}

.admin-pipeline-steps > div.is-warning > span {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(120, 53, 15, 0.56);
}

.admin-pipeline-steps > div.is-danger > span {
  color: #fecdd3;
  border-color: rgba(251, 113, 133, 0.4);
  background: rgba(127, 29, 29, 0.56);
}

.admin-pipeline-steps small,
.admin-pipeline-steps strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-pipeline-steps small {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.admin-pipeline-steps strong {
  color: #dbeafe;
  font-size: 12px;
  font-weight: 850;
}

.admin-payment-card > footer {
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  color: #64748b;
  font-size: 10px;
}

.admin-payment-card > footer button,
.admin-compact-item > button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: 8px;
  color: #fecdd3;
  background: rgba(127, 29, 29, 0.24);
  font-size: 11px;
  font-weight: 850;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(100, 116, 139, 0.1);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-status-chip.is-success {
  color: #a7f3d0;
  border-color: rgba(52, 211, 153, 0.26);
  background: rgba(6, 78, 59, 0.28);
}

.admin-status-chip.is-warning {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(120, 53, 15, 0.28);
}

.admin-status-chip.is-danger {
  color: #fecdd3;
  border-color: rgba(251, 113, 133, 0.3);
  background: rgba(127, 29, 29, 0.28);
}

.admin-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.26);
}

.admin-service-card.is-attention {
  border-color: rgba(251, 113, 133, 0.28);
}

.admin-service-card > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.admin-service-card > div strong {
  overflow: hidden;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-service-card p,
.admin-service-card small {
  grid-column: 1 / -1;
  margin: 0;
  color: #94a3b8;
  font-size: 10.5px;
  line-height: 1.45;
}

.admin-service-card small {
  color: #64748b;
}

.admin-dashboard-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.admin-usage-summary,
.admin-notification-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.admin-usage-summary > div,
.admin-notification-summary > div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.24);
}

.admin-usage-summary span,
.admin-notification-summary span {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
}

.admin-usage-summary strong,
.admin-notification-summary strong {
  color: #f8fafc;
  font-size: 20px;
  font-weight: 950;
}

.admin-usage-summary small {
  color: #64748b;
  font-size: 9px;
  line-height: 1.4;
}

.admin-notification-summary > div.is-attention {
  border-color: rgba(251, 113, 133, 0.28);
}

.admin-compact-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-compact-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.22);
}

.admin-compact-item.is-attention {
  border-color: rgba(251, 113, 133, 0.23);
}

.admin-compact-item > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-compact-item strong,
.admin-compact-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-compact-item strong {
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 850;
}

.admin-compact-item span {
  color: #64748b;
  font-size: 9.5px;
  font-weight: 700;
}

.admin-sensitive-action {
  border-color: rgba(96, 165, 250, 0.32) !important;
  color: #bfdbfe !important;
  background: rgba(30, 64, 175, 0.22) !important;
  white-space: nowrap;
}

.admin-sensitive-action:hover,
.admin-sensitive-action:focus-visible,
.admin-sensitive-action[aria-pressed="true"] {
  border-color: rgba(96, 165, 250, 0.58) !important;
  color: #eff6ff !important;
  background: rgba(37, 99, 235, 0.34) !important;
}

[data-admin-payer-name][data-revealed="true"] {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.55);
  text-underline-offset: 3px;
}

.admin-reconciliation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-reconciliation-grid > article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.1), rgba(2, 6, 23, 0.24));
}

.admin-reconciliation-grid h4 {
  margin: 0;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 900;
}

.admin-reconciliation-grid > article > p {
  margin: 5px 0 12px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.admin-reconciliation-grid .admin-compact-item > div > span {
  line-height: 1.45;
  white-space: normal;
}

.admin-operator-alert-card {
  border: 1px solid rgba(255, 176, 32, 0.2);
  border-radius: 12px;
  background: rgba(255, 176, 32, 0.06);
}

.admin-notification-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-notification-columns > div,
.admin-exception-grid > article {
  min-width: 0;
}

.admin-notification-columns h4,
.admin-exception-grid h4 {
  margin: 0 0 10px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
}

.admin-exception-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-exception-grid > article {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.22);
}

.admin-empty-state,
#admin .admin-compact-list > p,
#admin .admin-payment-list > p {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  color: #64748b;
  background: rgba(2, 6, 23, 0.16);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1100px) {
  .admin-command-bar {
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .admin-quick-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .admin-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-exception-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  #admin.admin-section {
    width: min(100% - 28px, 1380px);
    padding-top: 30px;
  }

  #admin .section-head {
    align-items: flex-start;
  }

  .admin-kpi-grid,
  .admin-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-split,
  .admin-notification-columns,
  .admin-reconciliation-grid {
    grid-template-columns: 1fr;
  }

  .admin-attention-board {
    grid-template-columns: 1fr;
  }

  .admin-attention-title {
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
  }

  .admin-payment-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-search-field {
    width: 100%;
    min-width: 0;
  }

  .admin-filter-group {
    overflow-x: auto;
  }

  .admin-pipeline-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .admin-pipeline-steps > div:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  #admin.admin-section {
    width: min(100% - 20px, 1380px);
    padding-top: 22px;
  }

  #console-page .site-nav [data-admin-nav]:not([hidden]) {
    display: flex !important;
  }

  #console-page .site-nav:has([data-admin-nav]:not([hidden])) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #admin .section-head {
    align-items: flex-start;
  }

  #admin .section-head h2 {
    font-size: 27px;
  }

  #admin .admin-auth-panel {
    padding: 14px;
  }

  .admin-ops-shell {
    gap: 14px;
  }

  .admin-command-bar {
    top: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 11px;
    border-radius: 13px;
  }

  .admin-refresh-button {
    width: 40px;
    padding: 0;
    font-size: 0;
  }

  .admin-refresh-button i {
    font-size: 13px;
  }

  .admin-quick-nav {
    margin-inline: -2px;
    padding-bottom: 2px;
  }

  .admin-attention-board,
  .admin-dashboard-section {
    border-radius: 14px;
  }

  .admin-attention-board,
  .admin-dashboard-section {
    padding: 16px;
  }

  .admin-attention-items {
    grid-template-columns: 1fr;
  }

  .admin-kpi-grid {
    gap: 8px;
  }

  .admin-kpi-card {
    padding: 13px;
    border-radius: 12px;
  }

  .admin-kpi-card strong {
    font-size: 24px;
  }

  .admin-kpi-card p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-dashboard-heading {
    gap: 10px;
  }

  .admin-dashboard-heading h3 {
    font-size: 17px;
  }

  .admin-dashboard-heading > div > span {
    font-size: 11px;
  }

  .admin-payment-card > header,
  .admin-payment-card > footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-payment-amount {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
  }

  .admin-pipeline-steps {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .admin-pipeline-steps > div {
    padding-right: 0;
  }

  .admin-payment-card > footer button {
    width: 100%;
  }

  .admin-service-grid,
  .admin-notification-summary {
    grid-template-columns: 1fr;
  }

  .admin-usage-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-compact-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-compact-item > button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
  }

  .admin-compact-item.has-sensitive-action > div {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .admin-compact-item.has-sensitive-action > .admin-status-chip {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .admin-compact-item.has-sensitive-action > .admin-sensitive-action {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    min-width: 96px;
  }

  .admin-operator-alert-card,
  .admin-operator-alert-card .operator-canary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-operator-alert-card .ghost-button,
  .admin-operator-alert-card .submit-button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .admin-kpi-grid,
  .admin-usage-summary {
    grid-template-columns: 1fr;
  }

  .admin-live-state small {
    max-width: 185px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-refresh-button[aria-busy="true"] i {
    animation: none;
  }

  .admin-attention-items button {
    transition: none;
  }
}

/* Footer Section */
.site-footer {
  text-align: center;
  padding: 60px 24px;
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.4);
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 13.5px;
}

.site-footer a {
  margin: 0 6px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--ink);
}

/* Reservation Progress Timeline Styles */
.timeline-card {
  background: #090d16 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6) !important;
}

.agent-timeline-list::-webkit-scrollbar {
  width: 4px;
}
.agent-timeline-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.01);
}
.agent-timeline-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.timeline-item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.2s, background-color 0.2s;
}

.timeline-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.timeline-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agent-name {
  font-size: 13.5px;
  font-weight: 800;
}

.agent-name.korail {
  color: #60a5fa;
}

.agent-name.srt {
  color: #c084fc;
}

.agent-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2.5px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-status-badge.running {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  animation: pulse-glow 2s infinite;
}

.agent-status-badge.exited {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.agent-status-badge.reserved {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.agent-status-badge.expired,
.agent-status-badge.completed {
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}

.agent-status-badge.candidate {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.agent-status-badge.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.timeline-item-body {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
  color: var(--muted);
}

.timeline-events {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.82);
}

.timeline-item.reserved {
  border-color: rgba(16, 185, 129, 0.32);
}

.timeline-item.expired,
.timeline-item.completed {
  opacity: 0.82;
}

.timeline-time {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.25);
  text-align: right;
  margin-top: 1px;
}

@keyframes pulse-glow {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* Mobile Media Queries */
@media (max-width: 960px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 14px;
    padding: 14px 16px 12px;
  }

  .brand {
    min-width: 0;
    font-size: 20px;
  }

  .brand span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .login-button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
  }

  .site-nav {
    grid-column: span 2;
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
    gap: 6px;
    padding: 4px 0 0;
    overflow: visible;
    justify-content: stretch;
  }

  .site-nav a {
    min-width: 0;
    min-height: 38px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .nav-label-full {
    display: none;
  }

  .nav-label-short {
    display: inline;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .metric-grid article {
    min-height: 96px;
    padding: 16px;
  }

  .metric-grid article > span {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .metric-grid strong {
    margin-top: 6px;
    font-size: 22px;
  }

  .account-grid,
  .admin-grid,
  .my-info-grid {
    grid-template-columns: 1fr;
  }

  .point-grid {
    width: min(100%, 480px);
    gap: 18px;
  }

  .point-card {
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  }

  .referral-spotlight-card {
    border-left: 1px solid rgba(191, 219, 254, 0.82);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
  }

  .pending-topup-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .pending-topup-banner button {
    width: 100%;
  }

  .referral-spotlight-card {
    grid-template-columns: 1fr;
  }

  .station-card {
    grid-template-columns: 1fr;
  }

  .station-card label:last-child {
    text-align: left;
  }

  .swap-button {
    justify-self: center;
    transform: rotate(90deg);
  }

  .swap-button:hover {
    transform: rotate(270deg);
  }

  .admin-panel.wide {
    grid-column: span 1;
  }

  .admin-token-form {
    grid-template-columns: 1fr;
  }

  .admin-token-actions {
    flex-wrap: wrap;
  }

  .operator-alert-summary-grid {
    grid-template-columns: 1fr;
  }

  .request-history-table {
    overflow: visible;
    border: 0;
    background: transparent;
    gap: 10px;
  }

  .request-history-head {
    display: none;
  }

  .request-history-row {
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 0;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.42);
  }

  .request-history-row > span,
  .request-history-row > strong {
    grid-template-columns: 92px 1fr;
    align-items: start;
  }

  .request-history-row > span::before,
  .request-history-row > strong::before {
    content: attr(data-label);
    color: rgba(148, 163, 184, 0.92);
    font-size: 11.5px;
    font-weight: 900;
  }

  .request-history-status {
    align-items: start;
  }

  .request-history-status small {
    grid-column: 2;
  }

  .request-history-row > span[data-label="관리"] {
    justify-items: start;
  }

  .request-history-row > span[data-label="관리"] .request-pay-button,
  .request-history-row > span[data-label="관리"] .request-retry-button,
  .request-history-row > span[data-label="관리"] .request-stop-button {
    width: min(100%, 120px);
    min-height: 38px;
    justify-self: start;
  }

  .request-referral-cta {
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 8px;
  }

  .reservation-row {
    grid-template-columns: 1fr;
  }

  .request-status {
    justify-items: start;
    text-align: left;
  }

  .result-head,
  .section-head.split {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    padding: 10px 12px 8px;
  }

  .site-nav {
    display: grid;
    align-items: center;
    justify-content: stretch;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 6px;
    min-width: 0;
    width: 100%;
    padding: 0;
    overflow-x: visible;
    overflow-y: hidden;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    min-width: 0;
    width: 100%;
    min-height: 34px;
    padding: 0 4px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
  }

  .site-nav a.is-active {
    box-shadow: 0 0 11px color-mix(in srgb, var(--active) 62%, transparent);
  }

  .success-section,
  .account-section,
  .admin-section,
  .operator-alert-section {
    width: min(100% - 28px, 1200px);
    padding: 34px 0 52px;
  }

  .success-section .section-head {
    margin-bottom: 18px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .metric-grid article {
    min-height: 82px;
    padding: 13px;
    border-radius: 10px;
  }

  .metric-grid article > span {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .metric-grid strong {
    margin-top: 4px;
    font-size: 21px;
    line-height: 1.1;
  }

  .official-payment-guide {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
    padding: 15px;
    border-radius: 14px;
  }

  .official-payment-guide-copy strong {
    font-size: 17px;
  }

  .official-payment-routes {
    grid-template-columns: 1fr;
  }

  .request-referral-cta {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px 12px;
    padding: 15px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 8px;
  }

  .request-referral-cta-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .request-referral-cta-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
  }

  .reservation-referral-sheet {
    padding: 0;
  }

  .reservation-referral-sheet-card {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 24px 18px max(22px, env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .reservation-referral-sheet-close {
    top: 14px;
    right: 14px;
  }

  .reservation-referral-sheet-card h2 {
    font-size: 25px;
  }

  .official-payment-route {
    padding: 12px;
  }

  .section-head h2,
  .result-head h2 {
    font-size: clamp(24px, 8vw, 32px);
    line-height: 1.2;
  }

  .section-head.split > p,
  .app-title p {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .referral-spotlight-card {
    padding: 18px;
    border-radius: 16px;
  }

  .referral-code-box > div {
    grid-template-columns: 1fr;
  }

  .referral-code-box .ghost-button,
  .referral-code-box .submit-button {
    min-height: 46px;
  }

  .viral-progress-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .viral-actions {
    grid-template-columns: 1fr;
  }

  .push-actions {
    grid-template-columns: 1fr;
  }

  .device-push-grid {
    grid-template-columns: 1fr;
  }

  .operator-canary {
    align-items: stretch;
    flex-direction: column;
  }

  .operator-canary-actions {
    justify-content: stretch;
  }

  .operator-canary-actions .ghost-button {
    flex: 1;
  }

  .reservation-alert-check,
  .critical-alert-actions {
    grid-template-columns: 1fr;
  }

  .reservation-alert-check span,
  .reservation-alert-check button {
    grid-column: 1;
    grid-row: auto;
  }

  .booking-shell {
    padding: 22px max(10px, env(safe-area-inset-left)) 56px max(10px, env(safe-area-inset-right));
  }

  .booking-app,
  .result-panel,
  .setup-card,
  .admin-panel {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    overflow: hidden;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }

  .credential-status-panel {
    padding: 12px;
  }

  .credential-id-row {
    grid-template-columns: minmax(104px, 0.38fr) minmax(0, 1fr);
    gap: 8px;
  }

  .credential-id-row select {
    padding-inline: 10px 28px;
    font-size: 13.5px;
  }

  .date-card {
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: hidden;
  }

  .date-card .icon-input {
    width: 100%;
  }

  .date-card input,
  .date-card select {
    height: 56px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 56px;
    font-size: 16px;
    line-height: 56px;
    padding-inline: 44px;
    text-align: center;
  }

  .date-card select {
    text-align-last: center;
  }

  .provider-tabs {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
  }

  .scope-tabs {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .scope-tabs button {
    min-height: 58px;
    padding: 0 14px;
    font-size: 15px;
    line-height: 1.25;
    white-space: normal;
  }

  .station-card input {
    font-size: clamp(20px, 7vw, 28px);
  }

  .station-card {
    gap: 8px;
  }

  .station-card label {
    gap: 6px;
  }

  .station-card .swap-button {
    width: 38px;
    height: 38px;
    margin-block: -2px;
    font-size: 18px;
  }

  .point-wallet-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .point-wallet-card b {
    text-align: left;
    font-size: clamp(24px, 8vw, 34px);
  }

  .topup-amount-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .bank-receipt div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .bank-receipt strong {
    text-align: left;
  }

  .bank-actions {
    grid-template-columns: 1fr;
  }

  .train-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .time-line {
    gap: 8px;
  }

  .time-line strong {
    font-size: clamp(30px, 12vw, 44px);
  }

  .seat-actions {
    grid-template-columns: 1fr;
  }

  .seat-choice {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .seat-action {
    width: 100%;
  }

  .passenger-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .counter {
    width: 100%;
  }

  .modal-counts .passenger-row {
    align-items: center;
    flex-direction: row;
  }

  .modal-counts .counter {
    width: 124px;
  }

  .card-headline {
    align-items: flex-start;
    flex-direction: column;
  }

  .referral-code-badge {
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    min-height: 94px !important;
    padding: 14px !important;
  }

  .referral-code-badge .referral-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .referral-code-badge .referral-badge-action {
    display: none;
  }

  .referral-code-badge b {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 9px 10px 7px;
  }

  .site-nav {
    grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
    gap: 5px;
  }

  .site-nav a {
    min-height: 32px;
    font-size: 11.5px;
    padding: 0 3px;
  }

  .login-button {
    padding: 0 14px;
    font-size: 13px;
  }

  .metric-grid {
    gap: 8px;
  }

  .metric-grid article {
    min-height: 76px;
    padding: 11px;
  }

  .metric-grid article > span {
    font-size: 11px;
  }

  .metric-grid strong {
    font-size: 20px;
  }

  .booking-shell {
    padding-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right));
  }

  .booking-app,
  .result-panel,
  .setup-card,
  .admin-panel {
    padding: 16px;
  }

  .credential-id-row {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .credential-id-row input {
    padding-inline: 12px;
  }

  .journey-card {
    padding: 16px;
  }

  .date-card input,
  .date-card select {
    height: 54px;
    min-height: 54px;
    line-height: 54px;
  }

  .date-card input[type="date"] {
    padding-right: 12px;
    text-align: center;
  }

  .icon-input > span {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .icon-input input,
  .icon-input select {
    padding-left: 42px;
  }

  .scope-tabs {
    grid-template-columns: 1fr;
  }

  .time-line {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .time-line strong,
  .time-line strong:last-child {
    text-align: center;
  }

  .time-line span {
    transform: rotate(90deg);
  }
}

/* ----------------------------------------------------
   자리잡아 White Luxury Landing Page Styles
   ---------------------------------------------------- */
#landing-page {
  background: #ffffff;
  color: #334155;
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  display: block;
}

#landing-page a {
  color: inherit;
  text-decoration: none;
}

/* Landing Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
}

.landing-header-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.landing-brand-mark {
  width: 28px;
  height: 28px;
  background: #ffffff url("assets/jarijaba-app-icon-192.png") center / cover no-repeat;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.landing-brand-mark::after {
  content: "";
  display: none;
}

.landing-nav {
  display: flex;
  gap: 28px;
}

.landing-nav a {
  font-size: 14.5px;
  font-weight: 700;
  color: #475569;
  transition: color 0.2s;
}

.landing-nav a:hover {
  color: #2563eb;
}

.landing-auth {
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-login-link {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  border: 0;
  background: none;
}

.landing-login-link:hover {
  color: #2563eb;
}

.landing-start-button {
  background: #2563eb;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  transition: all 0.2s;
}

.landing-start-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.landing-start-button.is-logout {
  color: #475569;
  background: #ffffff;
  border-color: #dbe3ef;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.landing-start-button.is-logout:hover {
  color: #0f172a;
  background: #f8fafc;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

/* Landing Hero Section */
.landing-hero {
  padding: 80px 20px 100px;
  background: radial-gradient(100% 100% at 50% 0%, #eff6ff 0%, #ffffff 70%);
  text-align: center;
}

.reservation-modal:not([open]) {
  display: none;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0369a1;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
  border: 1px solid #bae6fd;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #60a5fa;
  border-radius: 50%;
}

@keyframes pulse-glow-blue {
  0% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
}

.highlight-blue {
  color: #2563eb;
  position: relative;
  display: inline-block;
}

.highlight-blue::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(37, 99, 235, 0.12);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 40px;
}

.hero-description strong {
  color: #0f172a;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-primary {
  background: #2563eb;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16.5px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  transition: all 0.2s;
}

.hero-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1.5px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
}

.hero-secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 800;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.hero-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.landing-flow-strip {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto 34px;
}

.landing-flow-strip button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.landing-flow-strip button:hover {
  transform: translateY(-1px);
  border-color: #93c5fd;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
}

.landing-flow-strip span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f3ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 700;
}

/* Landing Features Section */
.landing-features {
  padding: 100px 20px;
  background: #f8fafc;
  text-align: center;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.section-container {
  max-width: 1020px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
}

.section-title .accent {
  color: #2563eb;
}

.section-subtitle {
  font-size: 16.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background-color: #eff6ff;
  position: relative;
}

.feature-icon::before {
  content: "";
  font-size: 22px;
}

.feature-icon.eye {
  background-color: #eff6ff;
}
.feature-icon.eye::before {
  content: "👥";
}

.feature-icon.shield {
  background-color: #f0fdf4;
}
.feature-icon.shield::before {
  content: "🛡️";
}

.feature-icon.coin {
  background-color: #fefaf0;
}
.feature-icon.coin::before {
  content: "💰";
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
}

.feature-card p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Landing Success Section */
.landing-success {
  padding: 100px 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.success-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  text-align: left;
}

.success-header .section-subtitle {
  margin: 0;
}

.success-rate-badge {
  text-align: right;
}

.success-rate-badge strong {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  font-size: 0;
  font-weight: 900;
  color: #2563eb;
  line-height: 1;
}

.success-rate-badge strong [data-landing-success-rate] {
  font-size: 30px;
  line-height: 1;
}

.success-rate-badge strong .success-rate-percent {
  font-size: 32px;
  font-style: normal;
  line-height: 1;
}

.success-rate-badge > span {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.daily-success-card {
  flex: 0 0 320px;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  text-align: left;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.daily-success-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 24px 54px rgba(37, 99, 235, 0.14);
}

.daily-success-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.daily-success-profile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.daily-success-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.95) 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 92%, rgba(255, 255, 255, 0.9) 0 34%, transparent 35%),
    linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.daily-success-avatar b {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  color: rgba(15, 23, 42, 0.58);
  font-size: 10px;
  font-weight: 950;
}

.daily-success-avatar.avatar-blue {
  background:
    radial-gradient(circle at 50% 34%, #dbeafe 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 92%, #bfdbfe 0 34%, transparent 35%),
    linear-gradient(135deg, #1d4ed8 0%, #38bdf8 100%);
}

.daily-success-avatar.avatar-teal {
  background:
    radial-gradient(circle at 50% 34%, #ccfbf1 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 92%, #99f6e4 0 34%, transparent 35%),
    linear-gradient(135deg, #0f766e 0%, #22c55e 100%);
}

.daily-success-avatar.avatar-violet {
  background:
    radial-gradient(circle at 50% 34%, #ede9fe 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 92%, #ddd6fe 0 34%, transparent 35%),
    linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
}

.daily-success-avatar.avatar-amber {
  background:
    radial-gradient(circle at 50% 34%, #fef3c7 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 92%, #fde68a 0 34%, transparent 35%),
    linear-gradient(135deg, #d97706 0%, #f43f5e 100%);
}

.daily-success-avatar.avatar-rose {
  background:
    radial-gradient(circle at 50% 34%, #ffe4e6 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 92%, #fecdd3 0 34%, transparent 35%),
    linear-gradient(135deg, #e11d48 0%, #f97316 100%);
}

.daily-success-top strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.daily-success-profile div > span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 750;
}

.daily-success-top em {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: #2563eb;
  background: #eff6ff;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.daily-success-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: #f59e0b;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.daily-success-rating span {
  color: #f59e0b;
  font-size: 13px;
}

.daily-success-rating strong {
  color: #334155;
  font-size: 13px;
}

.daily-success-card p {
  margin: 14px 0 18px;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.65;
  font-weight: 650;
}

.daily-success-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.daily-success-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 850;
}

/* Landing Pricing Section */
.landing-pricing {
  padding: 100px 20px;
  background: #f8fafc;
  text-align: center;
  border-top: 1px solid #f1f5f9;
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 28px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}

.pricing-card.popular {
  border: 2px solid #2563eb;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}

.pricing-badge.blue {
  background: #2563eb;
  color: #ffffff;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.pricing-card .desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 32px;
  min-height: 42px;
}

.pricing-card .price {
  font-size: 16px;
  color: #64748b;
  margin-top: auto;
  margin-bottom: 32px;
}

.pricing-card .price strong {
  font-size: 38px;
  font-weight: 900;
  color: #0f172a;
}

.discount-tag {
  display: inline-block;
  background: #fee2e2;
  color: #ef4444;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.highlight-green {
  color: #10b981;
  font-weight: 700;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
}

.pricing-btn {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  transition: all 0.2s;
}

.pricing-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.pricing-btn.blue {
  background: #2563eb;
  color: #ffffff;
  border: 0;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.pricing-btn.blue:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.price-disclaimer {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 16px;
}

/* Search-friendly FAQ section */
.landing-seo-faq {
  padding: 96px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.seo-eyebrow {
  margin: 0 0 10px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.seo-faq-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.seo-faq-card h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.seo-faq-card p {
  margin: 0;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.75;
  font-weight: 650;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Keep station autocomplete above the paired station field on every viewport. */
.station-card {
  isolation: isolate;
  overflow: visible;
}

.station-card:focus-within {
  z-index: 5000;
}

.station-card.has-open-station-dropdown {
  z-index: 5200;
}

.station-card .station-field {
  position: relative;
  z-index: 1;
}

.station-card.has-open-station-dropdown .station-field:not(:focus-within) {
  z-index: 0;
}

.station-card .station-field:focus-within {
  z-index: 5100;
}

.station-card .station-autocomplete {
  position: relative;
  z-index: 1;
}

.station-card .station-autocomplete:focus-within,
.station-card .station-field:focus-within .station-autocomplete {
  z-index: 5200;
}

.station-card .station-dropdown {
  z-index: 5300;
}

.station-card .station-field:focus-within .station-dropdown {
  z-index: 5400;
}

.seo-guide-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin-top: 28px;
}

.seo-guide-link-card {
  display: flex;
  min-width: 0;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #f8fbff;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.seo-guide-link-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.12);
}

.seo-guide-link-card span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.seo-guide-link-card strong {
  color: #172033;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Landing Footer */
.landing-footer {
  background: #ffffff;
  padding: 60px 20px 80px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 13.5px;
  color: #64748b;
}

.footer-container {
  max-width: 1020px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 18px;
  font-weight: 900;
  color: #334155;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-links a {
  font-weight: 700;
  color: #475569;
}

.footer-links a:hover {
  color: #2563eb;
}

.copyright {
  margin: 0;
  line-height: 1.6;
  color: #94a3b8;
}

/* Mobile responsive for landing page */
@media (max-width: 768px) {
  .landing-nav {
    display: none;
  }
  .features-grid,
  .success-slider,
  .pricing-container,
  .seo-guide-links {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .seo-guide-link-card {
    width: 100%;
    min-height: 96px;
    padding: 18px;
  }
  .pricing-container {
    width: 100%;
    max-width: 360px;
  }
  .success-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .success-rate-badge {
    text-align: left;
  }

  .daily-success-card {
    flex-basis: min(82vw, 320px);
  }

  .landing-seo-faq {
    padding: 72px 18px;
  }

  .seo-faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .seo-faq-card {
    min-height: 0;
    padding: 22px;
    border-radius: 14px;
  }

  .landing-flow-strip {
    grid-template-columns: 1fr;
  }
}

/* 마키(흐르는 텍스트) 애니메이션 */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 8px 0 18px;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.marquee-container {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 8px 0;
  animation: marquee 54s linear infinite;
  will-change: transform;
}

.marquee-container[data-daily-success-rail] > *:not(.daily-success-card) {
  display: none;
}

.marquee-wrapper:hover .marquee-container,
.marquee-container:hover {
  animation-play-state: paused;
}

body.modal-active {
  overflow: hidden;
}

/* Toss-style 성공 피드 롤러용 컬러 오버라이드 및 서브 스타일 */
.text-toss-500 {
  color: #3182f6 !important;
}
.bg-blue-50 {
  background-color: #e8f3ff !important;
}

/* ----------------------------------------------------
   자리잡아 Trust Landing Refresh 20260704
   ---------------------------------------------------- */
#landing-page {
  color-scheme: light;
  background: #f6f8fb;
  color: #172033;
  overflow-x: hidden;
}

#landing-page,
#landing-page * {
  font-family: var(--font-sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
}

#landing-page .landing-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(218, 226, 236, 0.9);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

#landing-page .landing-header-container {
  max-width: 1180px;
  height: 68px;
}

#landing-page .landing-brand {
  gap: 10px;
  font-size: 19px;
  color: #111827;
  white-space: nowrap;
}

#landing-page .landing-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

#landing-page .landing-nav {
  gap: 24px;
}

#landing-page .landing-nav a,
#landing-page .landing-login-link,
#landing-page .landing-start-button {
  white-space: nowrap;
}

#landing-page .landing-start-button,
#landing-page .hero-primary,
#landing-page .hero-secondary,
#landing-page .pricing-btn {
  border-radius: 8px;
}

#landing-page .landing-mobile-bottom-actions {
  display: none;
}

#landing-page .landing-hero {
  min-height: 620px;
  padding: 74px 24px 62px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(7, 15, 32, 0.92) 0%, rgba(10, 22, 46, 0.78) 42%, rgba(13, 28, 55, 0.38) 100%),
    url("assets/hero-rail-ops.jpg") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(7, 15, 32, 0.92) 0%, rgba(10, 22, 46, 0.78) 42%, rgba(13, 28, 55, 0.38) 100%),
    image-set(url("assets/hero-rail-ops.webp") type("image/webp"), url("assets/hero-rail-ops.jpg") type("image/jpeg")) center / cover no-repeat;
}

#landing-page .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 42%, rgba(246, 248, 251, 0.12) 100%);
  pointer-events: none;
}

#landing-page .hero-container {
  width: min(1180px, 100%);
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

#landing-page .hero-copy {
  max-width: 720px;
  min-width: 0;
  color: #ffffff;
}

#landing-page .hero-badge-row {
  max-width: 720px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 22px;
}

#landing-page .hero-badge,
#landing-page .hero-proof-badges span {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

#landing-page .hero-badge {
  margin: 0;
  color: #dff4ff;
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.45);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.14);
  flex: 0 0 auto;
}

#landing-page .hero-badge .dot {
  background: #38bdf8;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.16);
}

#landing-page .hero-title {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 54px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

#landing-page .hero-title-line {
  display: block;
}

#landing-page .hero-title-line-combo {
  display: inline-flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
  row-gap: 0;
}

#landing-page .hero-title-brand {
  position: relative;
  display: inline-block;
  padding: 0 0.03em 0.08em;
  color: #ffffff;
  isolation: isolate;
  white-space: nowrap;
}

#landing-page .hero-title-brand::before,
#landing-page .hero-title-brand::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

#landing-page .hero-title-brand::before {
  left: -0.05em;
  right: -0.05em;
  bottom: 0.02em;
  height: 0.24em;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(14, 165, 233, 0.24) 0%, rgba(56, 189, 248, 0.96) 18%, rgba(34, 211, 238, 0.98) 56%, rgba(45, 212, 191, 0.94) 84%, rgba(255, 255, 255, 0.78) 100%);
  box-shadow:
    0 0.08em 0.34em rgba(34, 211, 238, 0.36),
    0 0.02em 0 rgba(255, 255, 255, 0.42) inset;
  transform: rotate(-1.6deg);
  transform-origin: center;
}

#landing-page .hero-title-brand::after {
  left: 0.02em;
  right: 0.02em;
  bottom: 0.09em;
  height: 0.06em;
  border-radius: 999px;
  background: repeating-linear-gradient(
    112deg,
    rgba(255, 255, 255, 0.74) 0 0.035em,
    transparent 0.035em 0.16em
  );
  opacity: 0.72;
  transform: rotate(-1.6deg);
}

#landing-page .hero-description {
  max-width: 650px;
  margin: 0 0 30px;
  color: rgba(241, 245, 249, 0.92);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 620;
}

#landing-page .hero-description strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-weight: 900;
}

#landing-page .hero-proof-badges {
  max-width: 650px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 18px;
}

#landing-page .hero-badge-row .hero-proof-badges {
  max-width: none;
  flex: 0 1 auto;
  margin: 0;
}

#landing-page .hero-proof-badges--mobile {
  display: none;
}

#landing-page .hero-proof-badges span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

#landing-page .hero-proof-badges span:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(20, 184, 166, 0.86));
  border-color: rgba(191, 219, 254, 0.66);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

#landing-page .hero-proof-badges span:nth-child(3) {
  color: #fff7ed;
  background:
    linear-gradient(135deg, rgba(120, 53, 15, 0.72), rgba(15, 23, 42, 0.58));
  border-color: rgba(252, 211, 77, 0.58);
}

#landing-page .hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

#landing-page .hero-primary,
#landing-page .hero-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
}

#landing-page .hero-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}

#landing-page .hero-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.44);
}

#landing-page .hero-secondary {
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(10px);
}

#landing-page .hero-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.54);
}

#landing-page .hero-trust-line {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

#landing-page .hero-trust-line div {
  padding: 14px 16px;
}

#landing-page .hero-trust-line div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

#landing-page .hero-trust-line dt {
  margin: 0 0 4px;
  color: rgba(219, 234, 254, 0.76);
  font-size: 12px;
  font-weight: 800;
}

#landing-page .hero-trust-line dd {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

#landing-page .hero-live-panel {
  width: 100%;
  min-width: 0;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(2, 8, 23, 0.28);
  backdrop-filter: blur(16px);
}

#landing-page .hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

#landing-page .hero-panel-head span {
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

#landing-page .hero-panel-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #047857;
  background: #dffcf0;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#landing-page .hero-route-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

#landing-page .hero-route-card div {
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

#landing-page .hero-route-card div:last-child {
  text-align: center;
}

#landing-page .hero-route-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

#landing-page .hero-route-card strong {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 950;
  overflow-wrap: anywhere;
}

#landing-page .route-arrow {
  width: 34px;
  height: 34px;
  display: grid !important;
  place-items: center;
  border-radius: 999px;
  color: #2563eb !important;
  background: #e8f2ff;
  font-size: 20px !important;
  font-weight: 900 !important;
}

#landing-page .hero-condition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

#landing-page .hero-condition-grid span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

#landing-page .hero-status-list {
  display: grid;
  gap: 10px;
}

#landing-page .hero-status-list p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 760;
}

#landing-page .hero-status-list p span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

#landing-page .section-container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
}

#landing-page .section-eyebrow {
  margin: 0 0 10px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
}

#landing-page .section-title {
  color: #0f172a;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

#landing-page .section-subtitle {
  max-width: 760px;
  color: #475569;
  font-size: 16px;
  line-height: 1.72;
  font-weight: 650;
}

#landing-page .landing-proof-strip,
#landing-page .landing-how,
#landing-page .landing-trust,
#landing-page .landing-success,
#landing-page .landing-pricing,
#landing-page .landing-seo-faq {
  padding: 76px 0;
}

#landing-page .landing-proof-strip {
  padding: 26px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5edf7;
}

#landing-page .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#landing-page .proof-grid article {
  min-height: 84px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

#landing-page .proof-grid strong,
#landing-page .trust-list strong,
#landing-page .how-card h3,
#landing-page .seo-faq-card h3,
#landing-page .pricing-card h3 {
  color: #0f172a;
}

#landing-page .proof-grid strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 950;
}

#landing-page .proof-grid span {
  display: block;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

#landing-page .landing-how {
  background: #f6f8fb;
  text-align: left;
}

#landing-page .landing-how .section-container,
#landing-page .landing-pricing .section-container,
#landing-page .landing-seo-faq .section-container {
  text-align: center;
}

#landing-page .landing-how .section-subtitle,
#landing-page .landing-pricing .section-subtitle,
#landing-page .landing-seo-faq .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

#landing-page .how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

#landing-page .how-card,
#landing-page .trust-list article,
#landing-page .pricing-card,
#landing-page .seo-faq-card,
#landing-page .daily-success-card {
  border-radius: 8px;
}

#landing-page .how-card {
  min-height: 178px;
  padding: 24px;
  border: 1px solid #dbe6f3;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

#landing-page .how-card > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #ffffff;
  background: #2563eb;
  font-size: 15px;
  font-weight: 950;
}

#landing-page .how-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 950;
}

#landing-page .how-card p {
  margin: 0;
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.68;
  font-weight: 650;
}

#landing-page .landing-trust {
  background: #ffffff;
  border-top: 1px solid #e5edf7;
  border-bottom: 1px solid #e5edf7;
}

#landing-page .trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

#landing-page .trust-copy {
  position: sticky;
  top: 96px;
}

#landing-page .trust-copy .section-subtitle {
  margin-bottom: 0;
}

#landing-page .trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#landing-page .trust-list article {
  min-height: 136px;
  padding: 22px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
}

#landing-page .trust-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 950;
}

#landing-page .trust-list p {
  margin: 0;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.68;
  font-weight: 650;
}

#landing-page .landing-success {
  background: #f6f8fb;
}

#landing-page .success-header {
  gap: 28px;
}

#landing-page .success-header .section-title {
  margin-bottom: 10px;
}

#landing-page .success-header .section-subtitle {
  margin-bottom: 0;
}

#landing-page .success-rate-badge {
  min-width: 170px;
  padding: 20px 22px;
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.12);
}

#landing-page .success-rate-badge strong [data-landing-success-rate],
#landing-page .success-rate-badge strong .success-rate-percent {
  font-size: 40px;
  color: #2563eb;
}

#landing-page .success-rate-badge > span {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 900;
}

#landing-page .daily-success-card {
  border-color: #dbe6f3;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

#landing-page .daily-success-rating {
  min-height: 30px;
  align-self: flex-start;
  padding: 0 10px;
  border-radius: 999px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

#landing-page .landing-pricing {
  background: #ffffff;
}

#landing-page .pricing-container {
  grid-template-columns: repeat(2, minmax(0, 390px));
  gap: 20px;
  align-items: stretch;
}

#landing-page .pricing-card {
  border: 1px solid #dbe6f3;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

#landing-page .pricing-card.popular {
  border: 2px solid #2563eb;
}

#landing-page .pricing-card .desc {
  min-height: 0;
}

#landing-page .features-list li {
  position: relative;
  padding-left: 18px;
}

#landing-page .features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--jb-signal-green);
}

#landing-page .pricing-btn {
  white-space: normal;
  line-height: 1.25;
}

#landing-page .landing-seo-faq {
  background: #f6f8fb;
}

#landing-page .seo-eyebrow {
  display: none;
}

#landing-page .seo-faq-card {
  min-height: 0;
  text-align: left;
  background: #ffffff;
  border-color: #dbe6f3;
}

#landing-page .landing-footer {
  background: #0f172a;
  border-top: 0;
}

#landing-page .footer-brand {
  color: #ffffff;
}

#landing-page .footer-links {
  flex-wrap: wrap;
}

#landing-page .footer-links a {
  color: #dbeafe;
}

#landing-page .footer-links a:hover {
  color: #93c5fd;
}

#landing-page .copyright {
  max-width: 880px;
  margin: 0 auto;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  #landing-page .landing-header-container {
    height: 64px;
  }

  #landing-page .landing-nav {
    display: none;
  }

  #landing-page .landing-hero {
    min-height: 0;
    padding: 64px 20px 50px;
  }

  #landing-page .hero-badge-row {
    display: block;
    max-width: 100%;
    margin: 0 0 22px;
  }

  #landing-page .hero-badge-row .hero-proof-badges--desktop {
    display: none;
  }

  #landing-page .hero-proof-badges--mobile {
    display: flex;
  }

  #landing-page .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
    min-width: 0;
  }

  #landing-page .hero-copy {
    max-width: 760px;
    min-width: 0;
  }

  #landing-page .hero-title {
    font-size: 44px;
  }

  #landing-page .hero-live-panel {
    display: none;
  }

  #landing-page .trust-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #landing-page .trust-copy {
    position: static;
  }
}

@media (max-width: 768px) {
  #landing-page .landing-header-container {
    width: 100%;
    padding: 0 14px;
    gap: 12px;
  }

  #landing-page .landing-brand {
    font-size: 17px;
  }

  #landing-page .landing-auth {
    gap: 8px;
  }

  #landing-page .landing-login-link,
  #landing-page .landing-start-button {
    font-size: 13px;
  }

  #landing-page .landing-start-button {
    min-height: 38px;
    padding: 0 12px;
  }

  #landing-page .landing-mobile-bottom-actions {
    display: none;
  }

  #landing-page .landing-hero {
    padding: 54px 24px 52px;
    background:
      linear-gradient(180deg, rgba(7, 15, 32, 0.88) 0%, rgba(10, 22, 46, 0.82) 55%, rgba(8, 18, 36, 0.76) 100%),
      url("assets/hero-rail-ops.jpg") 68% center / cover no-repeat;
    background:
      linear-gradient(180deg, rgba(7, 15, 32, 0.88) 0%, rgba(10, 22, 46, 0.82) 55%, rgba(8, 18, 36, 0.76) 100%),
      image-set(url("assets/hero-rail-ops.webp") type("image/webp"), url("assets/hero-rail-ops.jpg") type("image/jpeg")) 68% center / cover no-repeat;
  }

  #landing-page .hero-title {
    font-size: 32px;
    line-height: 1.2;
    max-width: 100%;
  }

  #landing-page .hero-title-line-combo {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
  }

  #landing-page .hero-description {
    font-size: 16px;
    line-height: 1.68;
  }

  #landing-page .hero-proof-badges {
    gap: 5px;
    margin-bottom: 16px;
  }

  #landing-page .hero-badge {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.12);
  }

  #landing-page .hero-proof-badges span {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  #landing-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 520px);
    margin: 0 auto;
  }

  #landing-page .hero-primary,
  #landing-page .hero-secondary {
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
  }

  #landing-page .hero-secondary {
    display: none;
  }

  #landing-page .hero-trust-line {
    display: none;
  }

  #landing-page .hero-live-panel {
    padding: 18px;
    overflow: hidden;
  }

  #landing-page .hero-panel-head {
    align-items: flex-start;
  }

  #landing-page .hero-panel-head strong {
    white-space: normal;
    text-align: right;
  }

  #landing-page .hero-route-card {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  #landing-page .hero-route-card div:last-child {
    text-align: center;
  }

  #landing-page .route-arrow {
    width: 34px;
    height: 34px;
    justify-self: center;
    transform: rotate(90deg);
  }

  #landing-page .hero-route-card strong {
    font-size: 25px;
  }

  #landing-page .hero-condition-grid {
    grid-template-columns: 1fr;
  }

  #landing-page .section-container {
    width: min(100% - 28px, 1180px);
  }

  #landing-page .landing-proof-strip,
  #landing-page .landing-how,
  #landing-page .landing-trust,
  #landing-page .landing-success,
  #landing-page .landing-pricing,
  #landing-page .landing-seo-faq {
    padding: 48px 0;
  }

  #landing-page .landing-proof-strip {
    padding: 18px 0;
  }

  #landing-page .proof-grid,
  #landing-page .how-grid,
  #landing-page .trust-list,
  #landing-page .pricing-container,
  #landing-page .seo-faq-grid {
    grid-template-columns: 1fr;
  }

  #landing-page .section-title {
    font-size: 28px;
    line-height: 1.28;
  }

  #landing-page .section-subtitle {
    font-size: 15px;
    margin-bottom: 26px;
  }

  #landing-page .how-grid,
  #landing-page .pricing-container,
  #landing-page .seo-faq-grid {
    margin-top: 22px;
  }

  #landing-page .how-grid,
  #landing-page .trust-list {
    gap: 12px;
  }

  #landing-page .how-card,
  #landing-page .trust-list article,
  #landing-page .pricing-card,
  #landing-page .seo-faq-card {
    padding: 18px;
  }

  #landing-page .how-card {
    min-height: 156px;
  }

  #landing-page .how-card > span {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }

  #landing-page .how-card h3 {
    margin-bottom: 7px;
    font-size: 18px;
  }

  #landing-page .how-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  #landing-page .trust-list article {
    min-height: 128px;
  }

  #landing-page .trust-list strong {
    margin-bottom: 7px;
    font-size: 16.5px;
  }

  #landing-page .trust-list p {
    font-size: 14px;
    line-height: 1.55;
  }

  #landing-page .success-header {
    align-items: stretch;
  }

  #landing-page .success-rate-badge {
    width: 100%;
    text-align: left;
  }

  #landing-page .success-rate-badge strong {
    justify-content: flex-start;
  }

  #landing-page .daily-success-card {
    flex-basis: min(86vw, 318px);
  }

  #landing-page .footer-links {
    gap: 12px;
  }
}

@media (max-width: 420px) {
  #landing-page .hero-title {
    font-size: 31px;
    line-height: 1.2;
  }

  #landing-page .hero-description {
    font-size: 15px;
  }

  #landing-page .hero-route-card strong {
    font-size: 25px;
  }

  #landing-page .hero-panel-head {
    align-items: flex-start;
  }

  #landing-page .hero-panel-head strong {
    white-space: normal;
    text-align: right;
  }

  #landing-page .landing-brand-mark {
    width: 28px;
    height: 28px;
  }

  #landing-page .landing-login-link {
    display: none;
  }

  #landing-page .hero-title {
    font-size: 32px;
  }

  #landing-page .hero-description {
    font-size: 15px;
  }

  #landing-page .hero-badge {
    font-size: 12px;
  }

  #landing-page .hero-route-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #landing-page .route-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  #landing-page .hero-route-card div:last-child {
    text-align: center;
  }

  #landing-page .section-title {
    font-size: 25px;
  }
}

/* Mobile bottom navigation and compact booking form */
@media (min-width: 641px) and (max-width: 960px) {
  #console-page .station-card {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    align-items: end;
  }

  #console-page .station-card label:last-child {
    text-align: right;
  }

  #console-page .station-card .swap-button {
    justify-self: center;
    transform: none;
  }

  #console-page .station-card .swap-button:hover {
    transform: rotate(180deg);
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  #landing-page {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  #landing-page .landing-mobile-bottom-actions {
    position: fixed;
    z-index: 7000;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(118px, 0.95fr) minmax(0, 1.9fr);
    gap: 12px;
    padding: 14px max(20px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    border-top: 1px solid rgba(229, 231, 235, 0.92);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
  }

  #landing-page .landing-mobile-bottom-actions a,
  #landing-page .landing-mobile-bottom-actions button {
    min-width: 0;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
  }

  #landing-page .landing-mobile-bottom-actions .landing-mobile-info {
    border: 0;
    background: #f1f3f5;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.03);
  }

  #landing-page .landing-mobile-start {
    border: 0;
    background: #467eea;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(70, 126, 234, 0.2);
  }

  #landing-page .landing-mobile-bottom-actions i {
    display: none;
  }

  #console-page {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  #console-page .site-header {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 58px;
    padding: 9px max(12px, env(safe-area-inset-right)) 9px max(12px, env(safe-area-inset-left));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    filter: none;
  }

  #console-page .site-nav {
    position: fixed;
    z-index: 7000;
    right: 0;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 8px max(8px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid rgba(59, 130, 246, 0.14);
    background: #081124;
    box-shadow: 0 -18px 42px rgba(3, 7, 18, 0.42);
    backdrop-filter: blur(20px);
    transform: none;
    scrollbar-width: none;
  }

  #console-page .site-nav::-webkit-scrollbar {
    display: none;
  }

  #console-page .site-nav [data-admin-nav] {
    display: none !important;
  }

  #console-page .site-nav a {
    min-width: 0;
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 2px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: rgba(148, 163, 184, 0.76);
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
    text-align: center;
  }

  #console-page .site-nav a.is-active {
    color: #63a0ff;
    border-color: rgba(96, 165, 250, 0.18);
    background: rgba(59, 130, 246, 0.13);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 10px 24px rgba(37, 99, 235, 0.1);
  }

  #console-page .site-nav a:hover {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.09);
  }

  #console-page .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    color: currentColor;
    font-size: 21px;
    line-height: 24px;
  }

  #console-page .nav-icon i {
    display: block;
  }

  #console-page .nav-label-full {
    display: none;
  }

  #console-page .nav-label-short {
    display: inline;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #console-page .booking-shell {
    padding-bottom: calc(126px + env(safe-area-inset-bottom));
  }

  #console-page .station-card {
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr) !important;
    align-items: end;
    gap: 8px;
    padding: 16px;
  }

  #console-page .station-card label {
    min-width: 0;
    gap: 6px;
  }

  #console-page .station-card label:last-child {
    text-align: right;
  }

  #console-page .station-card input {
    min-height: 52px;
    padding-inline: 8px;
    border-radius: 12px;
    font-size: clamp(18px, 6vw, 24px);
    line-height: 1.1;
  }

  #console-page .station-card .swap-button {
    width: 38px;
    height: 38px;
    align-self: end;
    justify-self: center;
    margin: 0 0 7px;
    transform: none;
    font-size: 18px;
  }

  #console-page .station-card .swap-button:hover {
    transform: rotate(180deg);
  }

  #console-page .date-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px;
    padding: 16px;
    overflow: visible;
  }

  #console-page .date-card .icon-input {
    min-width: 0;
    width: 100%;
  }

  #console-page .date-card input,
  #console-page .date-card select {
    width: 100%;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    padding: 0 8px 0 34px;
    border-radius: 12px;
    font-size: clamp(13px, 4vw, 16px);
    line-height: 52px;
    text-align: center;
  }

  #console-page .date-card input[type="date"] {
    padding-right: 6px;
  }

  #console-page .date-card select {
    padding-right: 26px;
    text-align-last: center;
  }

  #console-page .icon-input > span {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
  }
}

.search-stage[hidden],
.mobile-result-summary[hidden],
.push-required-dialog[hidden] {
  display: none !important;
}

.search-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 520px;
  padding: 24px 0 40px;
  text-align: center;
}

.search-route-card {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(86px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 26px 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.20);
}

.search-route-card strong {
  min-width: 0;
  color: #f8fafc;
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 950;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-route-card > strong:last-of-type {
  text-align: right;
}

.search-route-card div {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #94a3b8;
}

.search-route-card span {
  color: var(--active);
  font-size: 14px;
  font-weight: 950;
}

.search-route-card small {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

body.reservation-referral-open .toast {
  top: max(16px, env(safe-area-inset-top));
  bottom: auto;
}

.search-route-card > .search-condition-summary {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 100%;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
}

.search-route-card b {
  color: rgba(148, 163, 184, 0.68);
  font-size: 30px;
  line-height: 1;
}

.search-loading-visual {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin-top: 84px;
  border-radius: 999px;
  color: #7aa2ff;
  background: rgba(59, 130, 246, 0.08);
}

.search-loading-visual span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(59, 130, 246, 0.12);
  animation: searchPulse 1.35s ease-in-out infinite;
}

.search-loading-visual i {
  position: relative;
  font-size: 46px;
  animation: searchFloat 1.2s ease-in-out infinite;
}

.search-stage > strong {
  color: #e5e7eb;
  font-size: clamp(26px, 8vw, 40px);
  font-weight: 950;
  letter-spacing: 0;
}

.search-stage > p {
  margin: -8px 0 0;
  color: #94a3b8;
  font-size: 18px;
  font-weight: 750;
}

.mobile-result-summary {
  display: grid;
  gap: 14px;
  width: min(100%, 690px);
  margin: 0 auto 18px;
}

.mobile-result-summary > button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  color: #eaf2ff;
  border: 1px solid rgba(96, 165, 250, 0.42);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(30, 64, 175, 0.28));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
  font-size: 14px;
  font-weight: 900;
}

.push-required-backdrop {
  position: fixed;
  z-index: 7600;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(9px);
}

.push-required-dialog {
  position: fixed;
  z-index: 7610;
  inset: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  color: #111827;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.push-required-dialog::backdrop {
  background: transparent;
}

.push-required-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 34px 30px 30px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.34);
  text-align: center;
}

.push-required-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #3867e8;
  background: #dbeafe;
  font-size: 34px;
}

.push-required-card h2 {
  margin: 10px 0 0;
  color: #111827;
  font-size: clamp(30px, 7vw, 38px);
  font-weight: 950;
  letter-spacing: 0;
}

.push-required-card p {
  max-width: 390px;
  margin: 0;
  color: #6b7280;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.55;
}

.push-required-actions {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.push-required-actions .submit-button,
.push-required-actions .ghost-button {
  width: 100%;
  min-height: 58px;
  justify-content: center;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 950;
}

.push-required-actions .ghost-button {
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #eef2f7;
}

body.push-required-open {
  overflow: hidden;
}

.request-accepted-backdrop {
  position: fixed;
  z-index: 7800;
  inset: 0;
  background: rgba(3, 7, 18, 0.74);
  backdrop-filter: blur(12px);
}

.request-accepted-dialog {
  position: fixed;
  z-index: 7810;
  inset: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  color: #f8fafc;
  background: transparent;
  border: 0;
}

.push-required-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
}

.request-accepted-dialog:not([open]) {
  display: none;
}

.request-accepted-dialog[open] {
  display: grid;
  place-items: center;
}

.request-accepted-dialog::backdrop {
  background: transparent;
}

.request-accepted-card {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 36px 30px 30px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.16) 0 7px, transparent 7px),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  text-align: center;
  animation: requestAcceptedIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes requestAcceptedIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

body.is-srt .request-accepted-card {
  background:
    linear-gradient(180deg, rgba(168, 85, 247, 0.2) 0 7px, transparent 7px),
    rgba(15, 23, 42, 0.96);
}

.request-accepted-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.28);
  font-size: 31px;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
}

.request-accepted-card h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 950;
}

.request-accepted-card > p {
  max-width: 370px;
  margin: 0;
  color: rgba(203, 213, 225, 0.82);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 750;
}

.request-accepted-summary {
  width: 100%;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.request-accepted-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.18);
}

.request-accepted-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 950;
}

.request-accepted-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.request-accepted-route div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.request-accepted-route div:first-child {
  text-align: left;
}

.request-accepted-route div:last-child {
  text-align: right;
}

.request-accepted-route strong {
  min-width: 0;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-accepted-route small {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 750;
}

.request-accepted-route > span {
  color: rgba(148, 163, 184, 0.66);
  font-size: 24px;
  font-weight: 900;
}

.request-accepted-actions {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.request-accepted-actions button {
  min-height: 56px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 950;
}

.request-accepted-actions button:first-child {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.request-accepted-actions button:last-child {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

body.request-accepted-open {
  overflow: hidden;
}

.point-success-backdrop {
  position: fixed;
  z-index: 122;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(14px);
}

.point-success-backdrop[hidden],
.point-success-dialog[hidden] {
  display: none;
}

.point-success-dialog {
  position: fixed;
  z-index: 123;
  inset: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  color: #f8fafc;
  background: transparent;
  border: 0;
}

.point-success-dialog::backdrop {
  background: transparent;
}

.point-success-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 38px 30px 30px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(59, 130, 246, 0.18) 0 7px, transparent 7px),
    rgba(15, 23, 42, 0.97);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: scaleUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.point-success-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.34);
  font-size: 30px;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.24);
}

.point-success-eyebrow {
  margin: 0;
  color: #93c5fd;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 950;
}

.point-success-card h2 {
  margin: -4px 0 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 950;
}

.point-success-card > p:not(.point-success-eyebrow) {
  max-width: 380px;
  margin: 0;
  color: rgba(203, 213, 225, 0.84);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 750;
}

.point-success-summary {
  width: 100%;
  display: grid;
  gap: 0;
  padding: 4px 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.point-success-summary div {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.18);
}

.point-success-summary div:last-child {
  border-bottom: 0;
}

.point-success-summary div[hidden] {
  display: none;
}

.point-success-summary span {
  min-width: 0;
  color: #94a3b8;
  text-align: left;
  font-size: 13px;
  font-weight: 850;
}

.point-success-summary strong {
  min-width: 0;
  color: #ffffff;
  text-align: right;
  font-size: 16px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.point-success-actions {
  width: 100%;
  display: grid;
  margin-top: 2px;
}

.point-success-actions button {
  min-height: 56px;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.3);
}

body.point-success-open {
  overflow: hidden;
}

[data-push-settings-card].is-push-highlighted {
  outline: 3px solid rgba(96, 165, 250, 0.74);
  box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.16), var(--shadow);
}

@keyframes searchPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.88);
  }
  70% {
    opacity: 0.08;
    transform: scale(1.32);
  }
  100% {
    opacity: 0;
    transform: scale(1.36);
  }
}

@keyframes searchFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 640px) {
  #console-page .result-panel.is-mobile-results {
    padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
  }

  #console-page .result-panel.is-mobile-results .result-head {
    display: none;
  }

  #console-page .result-panel.is-mobile-results .empty-results {
    margin-top: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
  }

  #console-page .mobile-result-summary {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
  }

  #console-page .search-stage {
    min-height: calc(100dvh - 178px);
    padding: 16px 0 28px;
  }

  #console-page .search-route-card {
    gap: 8px;
    padding: 19px 17px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
  }

  #console-page .search-route-card strong {
    font-size: clamp(26px, 8.4vw, 36px);
  }

  #console-page .search-route-card span {
    font-size: 14px;
  }

  #console-page .search-route-card small {
    font-size: 12px;
  }

  #console-page .search-loading-visual {
    width: 112px;
    height: 112px;
    margin-top: 90px;
  }

  #console-page .train-results {
    gap: 16px;
    margin-top: 0;
    padding-bottom: calc(126px + env(safe-area-inset-bottom));
  }

  #console-page .train-card {
    gap: 15px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 20, 36, 0.97), rgba(9, 14, 27, 0.97));
    box-shadow: 0 16px 34px rgba(3, 7, 18, 0.26);
  }

  #console-page .train-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  #console-page .train-badge {
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 14px;
  }

  #console-page .train-duration {
    font-size: 15px;
  }

  #console-page .time-line {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) !important;
    justify-items: stretch;
    gap: 8px;
    text-align: left;
  }

  #console-page .time-line strong {
    font-size: clamp(32px, 10.5vw, 44px);
    line-height: 1.02;
  }

  #console-page .time-line strong:last-child {
    text-align: right;
  }

  #console-page .time-line span {
    align-self: center;
    color: rgba(148, 163, 184, 0.72);
    font-size: 24px;
    text-align: center;
    transform: none !important;
  }

  #console-page .seat-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  #console-page .seat-actions.single {
    grid-template-columns: 1fr !important;
  }

  #console-page .seat-choice {
    min-height: 88px;
    align-items: center;
    padding: 12px 10px;
    border-radius: 18px;
    background: rgba(6, 12, 25, 0.92);
  }

  #console-page .seat-choice-info {
    justify-content: center;
    text-align: center;
  }

  #console-page .seat-choice-info strong {
    font-size: 16px;
  }

  #console-page .seat-status-badge {
    min-height: 22px;
    font-size: 11px;
  }

  #console-page .seat-action {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .push-required-dialog {
    width: min(100% - 36px, 520px);
  }

  .push-required-card {
    padding: 34px 24px 28px;
    border-radius: 24px;
  }

  .request-accepted-dialog {
    width: min(100% - 28px, 520px);
  }

  .request-accepted-card {
    padding: 32px 20px 22px;
    border-radius: 22px;
  }

  .request-accepted-card h2 {
    font-size: 24px;
  }

  .request-accepted-summary {
    padding: 14px;
  }

  .request-accepted-meta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .request-accepted-route strong {
    font-size: 20px;
  }

  .point-success-dialog {
    width: min(100% - 28px, 520px);
  }

  .point-success-card {
    gap: 15px;
    padding: 32px 20px 22px;
    border-radius: 22px;
  }

  .point-success-icon {
    width: 70px;
    height: 70px;
    font-size: 27px;
  }

  .point-success-card h2 {
    font-size: 24px;
  }

  .point-success-card > p:not(.point-success-eyebrow) {
    font-size: 14px;
  }

  .point-success-summary {
    padding: 4px 14px;
  }

  .point-success-summary div {
    min-height: 44px;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .point-success-summary strong {
    font-size: 15px;
  }
}

@media (max-width: 960px) {
  .payment-choice .scope-tabs.compact {
    grid-auto-flow: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .payment-choice .scope-tabs.compact button {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 12px;
  }
}

/* Jarijaba midnight station-board landing refresh */
#landing-page {
  --jb-navy-950: #0b1420;
  --jb-slate-800: #1c2b3a;
  --jb-paper-100: #edefea;
  --jb-amber-500: #ffb020;
  --jb-stamp-red: #e5483c;
  --jb-signal-green: #2fbe73;
  --jb-steel-400: #8a97a6;
  --jb-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

#landing-page .landing-header {
  background: rgba(11, 20, 32, 0.9);
  border-bottom-color: rgba(237, 239, 234, 0.12);
}

#landing-page .landing-brand,
#landing-page .landing-nav a,
#landing-page .landing-login-link {
  color: var(--jb-paper-100);
}

#landing-page .landing-nav {
  display: none;
}

#landing-page .landing-start-button {
  color: #141006;
  background: var(--jb-amber-500);
  border-color: rgba(255, 176, 32, 0.72);
}

#landing-page .landing-hero {
  min-height: 610px;
  padding: 58px 24px 42px;
  background:
    linear-gradient(90deg, rgba(11, 20, 32, 0.98) 0%, rgba(11, 20, 32, 0.88) 50%, rgba(11, 20, 32, 0.52) 100%),
    url("assets/hero-rail-ops.jpg") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(11, 20, 32, 0.98) 0%, rgba(11, 20, 32, 0.88) 50%, rgba(11, 20, 32, 0.52) 100%),
    image-set(url("assets/hero-rail-ops.webp") type("image/webp"), url("assets/hero-rail-ops.jpg") type("image/jpeg")) center / cover no-repeat;
}

#landing-page .hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 176, 32, 0.08) 0%, transparent 35%, rgba(47, 190, 115, 0.08) 100%);
}

#landing-page .hero-container {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 46px;
}

#landing-page .hero-badge-row {
  align-items: flex-start;
  gap: 10px;
}

#landing-page .hero-badge,
#landing-page .hero-proof-badges span {
  min-height: 38px;
  border-radius: 6px;
  font-size: 13px;
}

#landing-page .hero-badge {
  color: var(--jb-paper-100);
  background: rgba(28, 43, 58, 0.86);
  border-color: rgba(237, 239, 234, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

#landing-page .hero-badge .dot {
  background: var(--jb-signal-green);
  box-shadow: 0 0 0 5px rgba(47, 190, 115, 0.16);
}

#landing-page .hero-live-count-badge {
  gap: 7px;
}

#landing-page .hero-count-number,
#landing-page [data-hero-board-count],
#landing-page .landing-metric-line span {
  font-family: var(--jb-mono);
  font-variant-numeric: tabular-nums;
}

#landing-page .hero-count-number {
  color: var(--jb-amber-500);
  font-weight: 900;
  transition: transform 150ms ease, opacity 150ms ease;
}

#landing-page .hero-count-text {
  min-width: 0;
}

#landing-page .hero-count-number.is-flipping,
#landing-page [data-hero-board-count].is-flipping {
  opacity: 0;
  transform: translateY(-4px);
}

#landing-page .hero-proof-badges span {
  color: var(--jb-paper-100);
  background: rgba(28, 43, 58, 0.72);
  border-color: rgba(237, 239, 234, 0.16);
  box-shadow: none;
}

#landing-page .hero-proof-badges span:nth-child(2) {
  color: #071b11;
  background: var(--jb-signal-green);
  border-color: rgba(47, 190, 115, 0.8);
  box-shadow: none;
}

#landing-page .hero-proof-badges span:nth-child(3),
#landing-page .hero-proof-badges span:nth-child(4) {
  color: var(--jb-paper-100);
  background: rgba(255, 176, 32, 0.12);
  border-color: rgba(255, 176, 32, 0.38);
}

#landing-page .hero-title {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--jb-paper-100);
  font-size: 54px;
  line-height: 1.12;
}

#landing-page .landing-hero-title-line {
  display: block;
  white-space: nowrap;
}

#landing-page .landing-hero-highlight {
  color: var(--jb-amber-500);
  font-family: var(--jb-mono);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#landing-page .hero-title-brand {
  color: var(--jb-amber-500);
  font-family: var(--jb-mono);
  font-variant-numeric: tabular-nums;
}

#landing-page .hero-title-brand::before {
  left: -0.03em;
  right: -0.03em;
  bottom: 0.04em;
  height: 0.16em;
  border-radius: 2px;
  background: rgba(255, 176, 32, 0.28);
  box-shadow: 0 0.08em 0.32em rgba(255, 176, 32, 0.28);
  transform: none;
}

#landing-page .hero-title-brand::after {
  display: none;
}

#landing-page .hero-description {
  max-width: 600px;
  margin-bottom: 24px;
  color: rgba(237, 239, 234, 0.86);
  font-size: 18px;
  line-height: 1.68;
}

#landing-page .landing-hero-subcopy span {
  display: block;
}

#landing-page .hero-primary {
  color: #171006;
  background: var(--jb-amber-500);
  box-shadow: 0 18px 42px rgba(255, 176, 32, 0.26);
  animation: jbCtaPulse 4s ease-in-out infinite;
}

#landing-page .hero-primary:hover {
  color: #171006;
  background: #ffc14a;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(255, 176, 32, 0.34);
}

#landing-page .hero-secondary {
  color: var(--jb-paper-100);
  background: rgba(237, 239, 234, 0.08);
  border-color: rgba(237, 239, 234, 0.24);
}

#landing-page .hero-departure-board {
  color: var(--jb-paper-100);
  background: linear-gradient(180deg, rgba(28, 43, 58, 0.96), rgba(11, 20, 32, 0.96));
  border-color: rgba(255, 176, 32, 0.26);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

#landing-page .hero-departure-board .hero-panel-head span,
#landing-page .hero-route-card span,
#landing-page .hero-board-counter span,
#landing-page .hero-board-counter em,
#landing-page .hero-board-status span,
#landing-page .how-card > span {
  font-family: var(--jb-mono);
  letter-spacing: 0 !important;
}

#landing-page .hero-departure-board .hero-panel-head span {
  color: var(--jb-steel-400);
  font-size: 12px;
  font-weight: 800;
}

#landing-page .hero-departure-board .hero-panel-head strong {
  color: #071b11;
  background: var(--jb-signal-green);
}

#landing-page .hero-departure-board .hero-route-card {
  background: rgba(11, 20, 32, 0.72);
  border-color: rgba(237, 239, 234, 0.12);
}

#landing-page .hero-departure-board .hero-route-card span {
  color: var(--jb-steel-400);
}

#landing-page .hero-departure-board .hero-route-card strong {
  color: var(--jb-paper-100);
}

#landing-page .hero-departure-board .route-arrow {
  color: var(--jb-amber-500) !important;
  background: rgba(255, 176, 32, 0.1);
}

#landing-page .hero-board-counter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  padding: 13px 14px;
  border: 1px solid rgba(237, 239, 234, 0.12);
  border-radius: 8px;
  background: rgba(237, 239, 234, 0.04);
}

#landing-page .hero-board-counter span,
#landing-page .hero-board-counter em {
  color: var(--jb-steel-400);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

#landing-page .hero-board-counter strong {
  min-width: 76px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  color: var(--jb-amber-500);
  background: linear-gradient(180deg, #172433 0 48%, #101a26 49% 52%, #0a111b 53% 100%);
  border: 1px solid rgba(255, 176, 32, 0.24);
  font-size: 28px;
  line-height: 1.35;
}

#landing-page .hero-board-status {
  display: grid;
  gap: 8px;
}

#landing-page .hero-board-status div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(237, 239, 234, 0.12);
  border-radius: 8px;
  background: rgba(237, 239, 234, 0.04);
}

#landing-page .hero-board-status span {
  color: var(--jb-amber-500);
  font-size: 12px;
  font-weight: 900;
}

#landing-page .hero-board-status strong {
  color: var(--jb-paper-100);
  font-size: 14px;
  font-weight: 900;
}

#landing-page .hero-board-status div:first-child strong {
  color: #ffb8af;
}

#landing-page .hero-board-status div:last-child strong {
  color: #a7f3c5;
}

#landing-page .landing-problem-section {
  background: var(--jb-navy-950);
  border-top: 1px solid rgba(237, 239, 234, 0.08);
  border-bottom: 1px solid rgba(237, 239, 234, 0.08);
}

#landing-page .problem-stamp-card {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

#landing-page .problem-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  transform: rotate(-6deg);
  border: 2px solid var(--jb-stamp-red);
  border-radius: 6px;
  color: var(--jb-stamp-red);
  font-size: 20px;
  font-weight: 950;
}

#landing-page .problem-stamp-card h2 {
  margin: 0;
  color: var(--jb-paper-100);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 950;
}

#landing-page .landing-how {
  background: var(--jb-navy-950);
}

#landing-page .landing-how .section-eyebrow,
#landing-page .landing-how .section-title {
  color: var(--jb-paper-100);
}

#landing-page .landing-how .section-subtitle {
  color: rgba(237, 239, 234, 0.72);
}

#landing-page .how-card {
  background: rgba(28, 43, 58, 0.92);
  border-color: rgba(237, 239, 234, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

#landing-page .how-card > span {
  width: auto;
  min-width: 74px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--jb-amber-500);
  background: rgba(255, 176, 32, 0.12);
  border: 1px solid rgba(255, 176, 32, 0.28);
  font-size: 12px;
}

#landing-page .how-card h3 {
  color: var(--jb-paper-100);
  font-size: 18px;
}

#landing-page .how-card p {
  color: rgba(237, 239, 234, 0.7);
}

#landing-page .landing-success {
  background: #f6f8fb;
}

#landing-page .landing-metric-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#landing-page .landing-metric-line span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(47, 190, 115, 0.25);
  border-radius: 6px;
  color: #075b35;
  background: #ecfdf5;
  font-size: 13px;
  font-weight: 900;
}

#landing-page .risk-reversal-card {
  min-width: 190px;
  border-color: rgba(47, 190, 115, 0.32);
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}

#landing-page .risk-reversal-card strong {
  color: #047857;
  font-family: var(--jb-mono);
  font-size: 36px;
}

#landing-page .daily-success-card {
  position: relative;
  border-style: dashed;
  border-color: #cfd8e3;
  background:
    radial-gradient(circle at 0 50%, transparent 0 10px, #ffffff 11px),
    radial-gradient(circle at 100% 50%, transparent 0 10px, #ffffff 11px),
    #ffffff;
}

#landing-page .seo-faq-card {
  border-color: #d7deea;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

#landing-page .seo-faq-card h3 {
  color: var(--jb-navy-950);
}

#landing-page .landing-mobile-start {
  color: #171006;
  background: var(--jb-amber-500);
  box-shadow: 0 10px 22px rgba(255, 176, 32, 0.25);
}

@keyframes jbCtaPulse {
  0%, 84%, 100% {
    transform: scale(1);
  }
  90% {
    transform: scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  #landing-page .hero-primary,
  #landing-page .hero-count-number,
  #landing-page [data-hero-board-count] {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  #landing-page .landing-hero {
    min-height: calc(100svh - 96px);
    padding: 48px 20px 34px;
  }

  #landing-page .hero-container {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #landing-page .hero-copy {
    width: 100%;
    max-width: 760px;
    min-width: 0;
  }

  #landing-page .hero-live-panel {
    display: none;
  }
}

@media (max-width: 768px) {
  #landing-page .landing-hero {
    min-height: calc(100svh - 94px);
    padding: 34px 20px 28px;
  }

  #landing-page .hero-title {
    font-size: 31px;
    line-height: 1.18;
  }

  #landing-page .hero-description {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.62;
  }

  #landing-page .hero-badge {
    max-width: 100%;
    height: auto;
    min-height: 36px;
    white-space: normal;
    line-height: 1.25;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #landing-page .hero-proof-badges {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  #landing-page .hero-proof-badges::-webkit-scrollbar {
    display: none;
  }

  #landing-page .hero-proof-badges span {
    flex: 0 0 auto;
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
  }

  #landing-page .hero-actions {
    width: 100%;
    max-width: 520px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  #landing-page .hero-primary,
  #landing-page .hero-secondary {
    min-height: 50px;
    width: 100%;
  }

  #landing-page .hero-secondary {
    min-height: 38px;
    background: transparent;
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  #landing-page .problem-stamp-card {
    min-height: 104px;
    flex-direction: column;
    gap: 10px;
  }

  #landing-page .problem-stamp-card h2 {
    font-size: 26px;
  }

  #landing-page .landing-metric-line {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  #landing-page .landing-hero {
    padding-top: 28px;
  }

  #landing-page .hero-title {
    font-size: 27px;
  }

  #landing-page .hero-live-count-badge {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  #landing-page .hero-title {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  #landing-page .landing-mobile-bottom-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  #landing-page .landing-mobile-bottom-actions.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* =========================================================
   Jarijaba — 전체 다크 통일 + 타이포 정리 (2026-07-10)
   히어로 전광판 세계를 하단 섹션(후기/수수료/FAQ/푸터)까지 확장하고,
   시스템 mono 폴백(Consolas)으로 깨지던 숫자·한글 타이포를 정리한다.
   ========================================================= */

/* --- 타이포: 진짜 mono는 순수 숫자 전광판 카운터에만, 한글 섞인 곳은 Pretendard --- */
#landing-page {
  --jb-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
}

#landing-page .landing-hero-highlight,
#landing-page .landing-metric-line span,
#landing-page .risk-reversal-card strong,
#landing-page .how-card > span {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: normal !important;
}

#landing-page .landing-hero-highlight {
  font-weight: 900;
}

#landing-page .hero-count-number,
#landing-page [data-hero-board-count],
#landing-page .hero-board-counter strong {
  font-family: var(--jb-mono);
  font-feature-settings: "tnum" 1;
}

/* --- 하단 섹션 공통 다크 --- */
#landing-page .landing-success,
#landing-page .landing-pricing,
#landing-page .landing-seo-faq {
  background: var(--jb-navy-950);
  border-top: 1px solid rgba(237, 239, 234, 0.08);
}

#landing-page .section-eyebrow,
#landing-page .landing-how .section-eyebrow {
  color: var(--jb-amber-500);
  letter-spacing: 0.14em;
}

#landing-page .section-title {
  color: var(--jb-paper-100);
}

#landing-page .section-subtitle {
  color: rgba(237, 239, 234, 0.68);
}

/* --- Success · 리스크 반전 카드 --- */
#landing-page .landing-metric-line span {
  color: var(--jb-paper-100);
  background: rgba(47, 190, 115, 0.1);
  border: 1px solid rgba(47, 190, 115, 0.32);
}

#landing-page .risk-reversal-card {
  border: 1px solid rgba(47, 190, 115, 0.34);
  background: linear-gradient(180deg, rgba(28, 43, 58, 0.96) 0%, rgba(11, 28, 22, 0.96) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

#landing-page .risk-reversal-card strong {
  color: var(--jb-signal-green);
  font-size: 40px;
  font-weight: 900;
}

#landing-page .risk-reversal-card > span {
  color: rgba(167, 243, 197, 0.9);
}

/* 후기 = 다크 승차권 반쪽(tear-off) */
#landing-page .daily-success-card {
  border-style: dashed;
  border-color: rgba(237, 239, 234, 0.2);
  color: var(--jb-paper-100);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
  background:
    radial-gradient(circle at 0 50%, transparent 0 10px, var(--jb-slate-800) 11px),
    radial-gradient(circle at 100% 50%, transparent 0 10px, var(--jb-slate-800) 11px),
    var(--jb-slate-800);
}

#landing-page .daily-success-card:hover {
  border-color: rgba(255, 176, 32, 0.5);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

#landing-page .daily-success-avatar,
#landing-page .daily-success-avatar.avatar-blue,
#landing-page .daily-success-avatar.avatar-teal,
#landing-page .daily-success-avatar.avatar-violet,
#landing-page .daily-success-avatar.avatar-amber,
#landing-page .daily-success-avatar.avatar-rose {
  background: rgba(255, 176, 32, 0.14);
  border: 1px solid rgba(255, 176, 32, 0.34);
  box-shadow: none;
}

#landing-page .daily-success-avatar b {
  margin-top: 0;
  color: var(--jb-amber-500);
  font-size: 15px;
}

#landing-page .daily-success-top strong {
  color: var(--jb-paper-100);
}

#landing-page .daily-success-profile div > span {
  color: var(--jb-steel-400);
}

#landing-page .daily-success-top em {
  color: var(--jb-amber-500);
  background: rgba(255, 176, 32, 0.12);
}

#landing-page .daily-success-rating,
#landing-page .daily-success-rating span {
  color: var(--jb-amber-500);
}

#landing-page .daily-success-rating strong {
  color: rgba(237, 239, 234, 0.82);
}

#landing-page .daily-success-card p {
  color: rgba(237, 239, 234, 0.82);
}

#landing-page .daily-success-meta span {
  color: var(--jb-paper-100);
  background: rgba(237, 239, 234, 0.06);
  border: 1px solid rgba(237, 239, 234, 0.16);
}

/* --- 수수료 = slate 전광판 패널 --- */
#landing-page .pricing-card {
  color: var(--jb-paper-100);
  background: var(--jb-slate-800);
  border: 1px solid rgba(237, 239, 234, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

#landing-page .pricing-card.popular {
  border: 2px solid rgba(255, 176, 32, 0.6);
  box-shadow: 0 24px 56px rgba(255, 176, 32, 0.14);
}

#landing-page .pricing-badge {
  color: var(--jb-paper-100);
  background: rgba(237, 239, 234, 0.1);
}

#landing-page .pricing-badge.blue {
  color: #171006;
  background: var(--jb-amber-500);
}

#landing-page .pricing-card h3 {
  color: var(--jb-paper-100);
}

#landing-page .pricing-card .desc {
  color: var(--jb-steel-400);
}

#landing-page .pricing-card .price {
  color: var(--jb-steel-400);
}

#landing-page .pricing-card .price strong {
  color: var(--jb-paper-100);
  font-variant-numeric: tabular-nums;
}

#landing-page .discount-tag {
  color: #ffb8af;
  background: rgba(229, 72, 60, 0.16);
}

#landing-page .features-list {
  color: rgba(237, 239, 234, 0.82);
}

#landing-page .pricing-btn {
  color: var(--jb-paper-100);
  background: rgba(237, 239, 234, 0.06);
  border: 1px solid rgba(237, 239, 234, 0.22);
}

#landing-page .pricing-btn:hover {
  background: rgba(237, 239, 234, 0.12);
  border-color: rgba(237, 239, 234, 0.34);
}

#landing-page .pricing-btn.blue {
  color: #171006;
  background: var(--jb-amber-500);
  box-shadow: 0 14px 30px rgba(255, 176, 32, 0.24);
}

#landing-page .pricing-btn.blue:hover {
  background: #ffc14a;
}

#landing-page .price-disclaimer {
  color: var(--jb-steel-400);
}

/* --- FAQ --- */
#landing-page .seo-faq-card {
  border: 1px solid rgba(237, 239, 234, 0.14);
  background: var(--jb-slate-800);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

#landing-page .seo-faq-card h3 {
  color: var(--jb-paper-100);
}

#landing-page .seo-faq-card p {
  color: rgba(237, 239, 234, 0.72);
}

#landing-page .seo-guide-link-card {
  border: 1px solid rgba(237, 239, 234, 0.14);
  background: rgba(28, 43, 58, 0.6);
  color: var(--jb-paper-100);
  box-shadow: none;
}

#landing-page .seo-guide-link-card:hover {
  border-color: rgba(255, 176, 32, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

#landing-page .seo-guide-link-card span {
  color: var(--jb-amber-500);
}

#landing-page .seo-guide-link-card strong {
  color: var(--jb-paper-100);
}

/* --- 푸터 --- */
#landing-page .landing-footer {
  background: #081019;
  border-top: 1px solid rgba(237, 239, 234, 0.08);
  color: var(--jb-steel-400);
}

#landing-page .footer-brand {
  color: var(--jb-paper-100);
}

#landing-page .footer-links a {
  color: rgba(237, 239, 234, 0.7);
}

#landing-page .footer-links a:hover {
  color: var(--jb-amber-500);
}

#landing-page .copyright {
  color: rgba(138, 151, 166, 0.8);
}

/* =========================================================
   Jarijaba — 컨셉 목업 톤 반영 (2026-07-10, refined1)
   묵직한 볼드/채운 칩 → 가벼운 medium 무게 + 라인 아이콘 미니멀 톤.
   히어로를 PC/태블릿/모바일 모두 이 결로 통일.
   ========================================================= */

/* --- 상단 카운트 배지: 작고 조용하게, 그림자 제거 --- */
#landing-page .hero-badge {
  gap: 6px;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--jb-slate-800);
  border-color: rgba(237, 239, 234, 0.1);
  box-shadow: none;
}

#landing-page .hero-count-text {
  color: var(--jb-steel-400);
  font-weight: 500;
}

#landing-page .hero-count-number {
  color: var(--jb-paper-100);
  font-weight: 700;
  letter-spacing: 0.4px;
}

#landing-page .hero-badge-row {
  margin-bottom: 34px;
}

/* --- 헤드라인: weight 낮추고 차분하게 --- */
#landing-page .hero-title {
  font-size: clamp(60px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.48px;
  margin-bottom: 38px;
}

#landing-page .landing-hero-title-line {
  white-space: nowrap;
}

#landing-page .landing-hero-highlight {
  color: var(--jb-amber-500);
  font-weight: 900;
}

/* --- 서브카피: steel, 가볍게 --- */
#landing-page .hero-description {
  color: var(--jb-steel-400);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 38px;
}

/* --- CTA: 갈색톤 텍스트 + medium + 아이콘 --- */
#landing-page .hero-actions {
  align-items: center;
  gap: 8px 14px;
  margin: 8px 0 0;
}

#landing-page .hero-primary {
  gap: 7px;
  color: #412402;
  background: var(--jb-amber-500);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 176, 32, 0.2);
}

#landing-page .hero-primary:hover {
  color: #412402;
  background: #ffbe3d;
}

#landing-page .hero-primary .ti {
  font-size: 18px;
}

#landing-page .hero-secondary {
  min-height: 0;
  padding: 4px 2px;
  color: var(--jb-steel-400);
  background: transparent;
  border: 0;
  backdrop-filter: none;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#landing-page .hero-secondary:hover {
  color: var(--jb-paper-100);
  background: transparent;
}

/* --- 트러스트 행: 얇은 구분선 + 라인 아이콘 + steel --- */
#landing-page .hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  max-width: 560px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(237, 239, 234, 0.12);
}

#landing-page .hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--jb-steel-400);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

#landing-page .hero-trust-row .ti {
  font-size: 15px;
  color: var(--jb-steel-400);
}

/* --- 전반 무게 낮춰 목업 톤에 맞춤 --- */
#landing-page .section-title {
  font-weight: 600;
  letter-spacing: -0.3px;
}

#landing-page .section-eyebrow {
  font-weight: 600;
}

#landing-page .how-card h3,
#landing-page .pricing-card h3,
#landing-page .seo-faq-card h3,
#landing-page .daily-success-top strong,
#landing-page .seo-guide-link-card strong,
#landing-page .problem-stamp-card h2 {
  font-weight: 600;
}

#landing-page .how-card > span,
#landing-page .pricing-badge,
#landing-page .pricing-badge.blue,
#landing-page .pricing-btn,
#landing-page .landing-mobile-start,
#landing-page .landing-start-button {
  font-weight: 600;
}

/* --- 태블릿/모바일: 어떻게 가능한가요? 링크 노출 + 헤드라인 축소 --- */
@media (max-width: 1024px) {
  #landing-page .hero-trust-row {
    max-width: 640px;
  }
}

@media (max-width: 768px) {
  #landing-page .landing-hero {
    padding-top: clamp(96px, 11svh, 116px);
  }

  #landing-page .hero-badge-row {
    margin-bottom: 52px;
  }

  #landing-page .hero-title {
    font-size: clamp(32px, 8.7vw, 36px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.42px;
    margin-bottom: 54px;
  }

  #landing-page .hero-description {
    margin-bottom: 60px;
  }

  #landing-page .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 520px);
    gap: 16px;
    margin: 0;
  }

  #landing-page .hero-secondary {
    display: inline-flex;
    width: 100%;
    min-height: 0;
    padding: 6px 0 2px;
  }

  #landing-page .hero-trust-row {
    max-width: 100%;
    gap: 10px 16px;
  }
}

@media (max-width: 420px) {
  #landing-page .landing-hero {
    padding-top: 96px;
  }

  #landing-page .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 360px) {
  #landing-page .landing-hero {
    padding-top: 74px;
  }

  #landing-page .hero-title {
    font-size: 29px;
  }
}

/* =========================================================
   Jarijaba — 후속 수정 (2026-07-10, refined2)
   1) 안심장치 섹션 다크 통일   2) 후기 별점 가독성
   3) 성공지표 칩 → 미니멀 인라인 스탯 스트립
   ========================================================= */

/* --- 1) 안심 장치(landing-trust) 다크 통일 --- */
#landing-page .landing-trust {
  background: var(--jb-navy-950);
  border-top: 1px solid rgba(237, 239, 234, 0.08);
  border-bottom: 1px solid rgba(237, 239, 234, 0.08);
}

#landing-page .trust-list article {
  background: var(--jb-slate-800);
  border: 1px solid rgba(237, 239, 234, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

#landing-page .trust-list strong {
  color: var(--jb-paper-100);
  font-weight: 600;
}

#landing-page .trust-list p {
  color: rgba(237, 239, 234, 0.72);
}

/* --- 2) 후기 별점: 크림 알약 제거, 점수 가독성 확보 --- */
#landing-page .daily-success-rating {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#landing-page .daily-success-rating span {
  color: var(--jb-amber-500);
}

#landing-page .daily-success-rating strong {
  color: var(--jb-paper-100);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --- 3) 성공 지표: 초록 박스 칩 → 얇은 구분선 인라인 스탯 --- */
#landing-page .landing-metric-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
}

#landing-page .landing-metric-line span {
  position: relative;
  min-height: 0;
  padding: 2px 16px;
  border: 0;
  border-radius: 0;
  background: none;
  color: rgba(237, 239, 234, 0.9);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

#landing-page .landing-metric-line span:first-child {
  padding-left: 0;
}

#landing-page .landing-metric-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(237, 239, 234, 0.18);
}

#landing-page .landing-metric-line [data-marketing-rating] {
  color: var(--jb-amber-500);
  font-weight: 600;
}

@media (max-width: 768px) {
  #landing-page .landing-metric-line {
    justify-content: flex-start;
    gap: 4px 0;
  }

  #landing-page .landing-metric-line span {
    padding: 2px 12px;
    font-size: 13px;
  }
}

/* =========================================================
   Jarijaba — 전환 최적화 (2026-07-10, refined3)
   #1 전광판 좌석확보 데모(+모바일 노출)  #4 CTA 리스크노트
   #5 Tabler 웹폰트 → 인라인 SVG (LCP)
   ========================================================= */

/* 라인 아이콘: 외부 웹폰트 대체 (의존성/LCP 개선) */
#landing-page .hero-ico {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

#landing-page .hero-primary .hero-ico {
  width: 18px;
  height: 18px;
}

/* #4 CTA 아래 리스크 반전 마이크로카피 */
#landing-page .hero-risk-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 34px 0 0;
  color: var(--jb-signal-green);
  font-size: 13px;
  font-weight: 500;
}

#landing-page .hero-risk-note .hero-ico {
  width: 15px;
  height: 15px;
}

/* #1 전광판 '좌석 확보' 실시간 데모 */
#landing-page .hero-board-capture {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(47, 190, 115, 0.28);
  border-radius: 8px;
  background: rgba(47, 190, 115, 0.08);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

#landing-page .hero-board-capture .cap-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jb-signal-green);
  box-shadow: 0 0 0 4px rgba(47, 190, 115, 0.18);
}

#landing-page .hero-board-capture .cap-text {
  color: #a7f3c5;
  font-size: 13px;
  font-weight: 600;
}

#landing-page .hero-board-capture .cap-text b {
  color: var(--jb-signal-green);
  font-family: var(--jb-mono);
  font-weight: 800;
}

#landing-page .hero-departure-board.is-capturing .hero-board-capture {
  opacity: 1;
  transform: translateY(0);
}

#landing-page .hero-departure-board.is-capturing .hero-board-status div:last-child {
  border-color: rgba(47, 190, 115, 0.6);
  background: rgba(47, 190, 115, 0.12);
}

#landing-page .hero-departure-board.is-capturing .hero-panel-head strong {
  box-shadow: 0 0 0 4px rgba(47, 190, 115, 0.18);
}

/* #1 전광판을 태블릿/모바일에서도 노출 (제품 실화면 = 전환 핵심) */
@media (max-width: 1024px) {
  #landing-page .hero-live-panel {
    display: block;
    width: min(100%, 460px);
    margin-top: 26px;
    padding: 18px;
  }
}

@media (max-width: 768px) {
  #landing-page .hero-live-panel {
    width: 100%;
  }

  #landing-page .hero-board-capture {
    padding: 10px 12px;
  }
}

/* '지금 N명 대기 중'은 숫자 span을 품으므로 flex→일반 텍스트 흐름으로
   되돌려야 "지금 53명"의 공백이 유지된다. */
#landing-page .landing-metric-line [data-marketing-waiting] {
  display: block;
}

#landing-page .landing-metric-line [data-hero-live-count] {
  display: inline;
  padding: 0;
  font-variant-numeric: tabular-nums;
}

#landing-page .landing-metric-line [data-hero-live-count]::after {
  content: none;
}

/* =========================================================
   Jarijaba — 히어로 디자인 업그레이드 (2026-07-10, hero-up1)
   전광판 백라이트 질감 + 라이브 펄스 + 24시간 대행원 대기 배지
   ========================================================= */

/* --- 배지 행: 24시간 대행원 배지 추가로 줄바꿈 허용 --- */
#landing-page .hero-badge-row {
  flex-wrap: wrap;
  row-gap: 8px;
}

/* 라이브 점: 심장박동 펄스 */
#landing-page .hero-badge .dot {
  animation: jbLivePulse 2.2s ease-in-out infinite;
}

@keyframes jbLivePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 190, 115, 0.45); }
  55% { box-shadow: 0 0 0 6px rgba(47, 190, 115, 0); }
}

/* 24시간 대행원 배지: 앰버 틴트로 살짝 구분 */
#landing-page .hero-agent-badge {
  gap: 7px;
  color: var(--jb-paper-100);
  background: rgba(255, 176, 32, 0.1);
  border-color: rgba(255, 176, 32, 0.3);
}

#landing-page .hero-agent-badge .hero-ico {
  width: 14px;
  height: 14px;
  color: var(--jb-amber-500);
}

#landing-page .hero-agent-badge b {
  color: var(--jb-amber-500);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* --- 헤드라인: 은은한 깊이 + '3시간' LED 언더라인 글로우 --- */
#landing-page .hero-title {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

#landing-page .landing-hero-highlight {
  position: relative;
  display: inline-block;
}

#landing-page .landing-hero-highlight::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: 0.02em;
  height: 0.09em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 176, 32, 0.15), rgba(255, 176, 32, 0.85) 50%, rgba(255, 176, 32, 0.15));
  box-shadow: 0 0.06em 0.5em rgba(255, 176, 32, 0.55);
}

/* --- CTA: 앰버 그라디언트 + 깊은 그림자 --- */
#landing-page .hero-primary {
  background: linear-gradient(180deg, #ffc14a 0%, var(--jb-amber-500) 58%, #f5a512 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 34px rgba(255, 176, 32, 0.26);
}

#landing-page .hero-primary:hover {
  background: linear-gradient(180deg, #ffd06b 0%, #ffbe3d 58%, #ffb020 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 18px 42px rgba(255, 176, 32, 0.36);
}

/* --- 전광판: 백라이트 LED 보드 질감 --- */
#landing-page .hero-departure-board {
  position: relative;
  overflow: hidden;
  border-width: 1px;
  background:
    linear-gradient(180deg, rgba(38, 56, 74, 0.98) 0%, rgba(20, 33, 47, 0.98) 14%, rgba(11, 20, 32, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(237, 239, 234, 0.1),
    0 0 0 1px rgba(7, 12, 20, 0.9),
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 90px rgba(255, 176, 32, 0.07);
}

/* 스캔라인: 실제 LED 전광판의 가로 주사선 */
#landing-page .hero-departure-board::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.016) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
}

/* WAITING 카운터 숫자: 앰버 LED 발광 */
#landing-page .hero-board-counter strong,
#landing-page .hero-board-counter strong [data-hero-board-count] {
  color: var(--jb-amber-500);
  text-shadow: 0 0 14px rgba(255, 176, 32, 0.4);
}

/* --- 전광판 ON DUTY 라인: 24시간 대행원 --- */
#landing-page .hero-board-duty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(237, 239, 234, 0.16);
}

#landing-page .hero-board-duty .duty-label {
  color: var(--jb-amber-500);
  font-family: var(--jb-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

#landing-page .hero-board-duty .duty-text {
  color: var(--jb-steel-400);
  font-size: 12.5px;
  font-weight: 600;
}

#landing-page .hero-board-duty .duty-dot {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--jb-signal-green);
  animation: jbLivePulse 2.2s ease-in-out infinite;
}

/* --- 히어로 하단: 승강장 안전선(황색 점선) 디테일 --- */
#landing-page .landing-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 176, 32, 0.5) 0 26px,
    transparent 26px 44px
  );
  opacity: 0.35;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #landing-page .hero-badge .dot,
  #landing-page .hero-board-duty .duty-dot {
    animation: none;
  }
}

@media (max-width: 768px) {
  #landing-page .hero-agent-badge {
    font-size: 12px;
    margin-top: 8px;
  }

  #landing-page .landing-hero::after {
    bottom: 10px;
  }
}

/* Booking guidance consolidation: quiet inline readiness and empty-result recovery. */
#console-page .request-readiness {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: 12px;
  background: rgba(120, 53, 15, 0.18);
}

#console-page .request-readiness-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.24);
  font-size: 13px;
  font-weight: 950;
}

#console-page .request-readiness p {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin: 0;
  color: #dbe4f0;
  font-size: 13px;
  line-height: 1.45;
}

#console-page .request-readiness p strong {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 950;
}

#console-page .request-readiness p span {
  min-width: 0;
  color: #cbd5e1;
  overflow-wrap: anywhere;
}

.point-success-summary [data-point-success-bonus-row] strong {
  color: #bfdbfe;
}

.point-success-summary [data-point-success-referral-bonus-row]:not([hidden]) {
  margin-inline: -8px;
  padding-inline: 8px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.16), rgba(59, 130, 246, 0.08));
  border-radius: 9px;
}

.point-success-summary [data-point-success-referral-bonus-row] strong {
  color: #c4b5fd;
}

#console-page .request-readiness button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: 9px;
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.16);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#console-page .empty-result-actions {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

#console-page .empty-result-actions button {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 10px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.14);
  font-size: 12px;
  font-weight: 900;
}

#console-page .empty-result-actions button:hover:not(:disabled),
#console-page .empty-result-actions button:focus-visible:not(:disabled) {
  border-color: rgba(96, 165, 250, 0.72);
  background: rgba(37, 99, 235, 0.28);
}

#console-page .empty-result-actions button:disabled {
  color: rgba(148, 163, 184, 0.52);
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(148, 163, 184, 0.06);
  cursor: not-allowed;
}

.critical-alert-card [data-critical-alert-countdown] {
  display: block;
  font-size: 15px;
  font-weight: 950;
}

.critical-alert-card [data-critical-alert-deadline-exact] {
  display: block;
  margin-top: 4px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 520px) {
  #console-page .request-readiness {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px 10px;
    padding: 11px 12px;
  }

  #console-page .request-readiness button {
    grid-column: 2;
    width: 100%;
    min-height: 42px;
  }

  #console-page .empty-result-actions {
    grid-template-columns: 1fr;
  }
}

/* Referral v2 responsive shell */
@media (max-width: 960px) {
  .point-grid {
    width: min(100%, 720px);
  }
}

@media (max-width: 768px) {
  .referral-inbound-banner-landing {
    width: min(100% - 32px, 720px);
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px 12px;
    margin-top: 14px;
    padding: 13px;
  }

  .referral-inbound-banner-landing > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .referral-reward-math {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .referral-reward-math .is-milestone {
    grid-column: 1 / -1;
  }

  .referral-hub-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .referral-spotlight-card.referral-hub {
    gap: 16px;
    padding: 18px;
  }

  .referral-code-box > .viral-actions {
    grid-template-columns: 1fr;
  }

  .referral-code-box .viral-actions button {
    min-height: 48px;
    font-size: 13px;
  }

  .referral-hub-stats {
    gap: 6px;
  }

  .referral-hub-stats > div {
    padding: 9px 7px;
  }

  .profile-referral-cta {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    min-height: 82px;
    padding: 12px;
  }

  .profile-referral-cta-icon {
    width: 40px;
    height: 40px;
  }

  .auth-modal {
    padding: 28px 22px;
  }
}

@media (max-width: 420px) {
  .referral-inbound-banner-landing {
    width: calc(100% - 24px);
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 12px;
    border-radius: 14px;
  }

  .referral-inbound-banner-landing .referral-inbound-icon,
  .referral-inbound-banner-auth .referral-inbound-icon {
    width: 40px;
    height: 40px;
  }

  .referral-inbound-copy strong {
    font-size: 14px;
  }

  .referral-inbound-copy small {
    font-size: 11px;
  }

  .referral-hub-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .referral-reward-math,
  .referral-hub-stats {
    grid-template-columns: 1fr;
  }

  .referral-reward-math .is-milestone {
    grid-column: auto;
  }

  .referral-hub-stats > div {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  .referral-hub-stats strong {
    text-align: right;
  }

  .referral-fee-note {
    align-items: flex-start;
  }

  .profile-referral-cta {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .profile-referral-cta-icon {
    width: 38px;
    height: 38px;
  }

  .profile-referral-cta > i:last-child {
    display: none;
  }

  .auth-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 26px 18px 22px;
  }

  .referral-inbound-banner-auth {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reservation-referral-sheet-card,
  .referral-spotlight-card.is-referral-focus,
  .viral-progress-track span,
  .profile-referral-cta {
    animation: none;
    transition: none;
  }
}
