/* Kiwi TopUp — Track order (public, no sign-in) */
.tk-wrap {
  min-height: 100vh;
  padding-top: calc(var(--nav-h, 90px) + 16px);
  padding-bottom: max(96px, env(safe-area-inset-bottom, 0px) + 72px);
  position: relative;
  overflow-x: clip;
}

.tk-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(74, 222, 128, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(56, 189, 248, 0.1), transparent 45%),
    var(--clr-bg, #0c0f0c);
}

.tk-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.tk-hero {
  padding: clamp(20px, 4vw, 36px) 0 clamp(24px, 4vw, 32px);
}

.tk-bc {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-bottom: 14px;
}
.tk-bc a {
  color: var(--clr-primary);
  text-decoration: none;
}
.tk-bc a:hover {
  text-decoration: underline;
}

.tk-h1 {
  font-family: 'Syne', var(--font-body), system-ui, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
  line-height: 1.1;
}

.tk-lead {
  margin: 0;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--clr-text-muted);
}

.tk-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 28px);
  margin-bottom: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}
html.light .tk-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.tk-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.tk-card > p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--clr-text-muted);
}

.tk-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.tk-form-row .ac-field {
  flex: 1 1 200px;
  margin: 0;
  min-width: 0;
}

.tk-form-row .ac-save-btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding-left: 22px;
  padding-right: 22px;
}

.tk-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}
html.light .tk-aside {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.tk-aside a {
  color: var(--clr-primary);
  font-weight: 600;
  text-decoration: none;
}
.tk-aside a:hover {
  text-decoration: underline;
}

.tk-aside-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: inherit;
  font-family: inherit;
}
.tk-aside-btn:hover {
  text-decoration: underline;
}

.tk-result-host {
  margin-top: 8px;
}

.tk-result-host .ac-guest-result {
  margin-top: 20px;
}

.tk-hint-code {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clr-primary);
}
