:root {
  --ink: #141713;
  --muted: #535d50;
  --paper: #f8f9f5;
  --lime: #d0f582;
  --line: #dce1d5;
  --white: #fff;
  --radius: 24px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #426813;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 650;
}
h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 620;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
small,
.fine {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.fine {
  margin: 14px 0 0;
}
.demo-banner {
  background: #fff1b8;
  color: #51400a;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 650;
}
.account-header {
  max-width: 1360px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -2px;
  text-decoration: none;
  display: flex;
  gap: 9px;
  align-items: center;
}
.brand span {
  background: var(--lime);
  border-radius: 50%;
  font-size: 25px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.header-caption {
  font-size: 13px;
  color: var(--muted);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.quiet {
  border: 0;
  background: none;
  color: var(--muted);
  min-height: 44px;
  padding: 10px;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 13px;
}
.notice {
  max-width: 1180px;
  margin: 18px auto;
  padding: 16px 24px;
  border: 1px solid #a9c57d;
  background: #edf7df;
  border-radius: 14px;
  color: var(--ink);
}
.notice.error {
  background: #fff1eb;
  border-color: #daaa90;
  color: #7c3013;
}
.login-layout {
  max-width: 1180px;
  margin: 70px auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px;
  align-items: center;
  padding: 0 28px;
}
.login-story h1 {
  font-size: clamp(42px, 5vw, 65px);
  margin: 22px 0;
}
.login-story > p {
  max-width: 480px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 750;
  color: var(--muted);
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px #14171303;
}
.login-panel {
  padding: 40px;
}
.step-tag,
.pill {
  display: inline-flex;
  font-size: 11px;
  font-weight: 650;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.step-tag {
  margin-bottom: 28px;
}
.login-alternatives {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.verification-gate {
  min-height: calc(100svh - 92px);
  padding: 48px 20px 80px;
  display: grid;
  justify-items: center;
  align-items: start;
  background:
    radial-gradient(circle at 50% 12%, #d0f58240, transparent 35%),
    var(--paper);
}
.verification-panel {
  width: min(100%, 680px);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 70px #14171312;
}
.verification-panel .step-tag {
  margin-bottom: 22px;
  background: #edf5df;
  border-color: #bfd58f;
  color: #35531b;
}
.verification-panel h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 50px);
}
.verification-lead {
  max-width: 580px;
  margin-bottom: 24px;
  font-size: 17px;
}
.verification-lead strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.verification-bonus {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 20px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
}
.verification-bonus > span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}
.verification-bonus > strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.verification-bonus > small {
  color: #c8d0c4;
}
#verify-code-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}
#verify-code-form label {
  grid-column: 1 / -1;
  margin: 0;
}
#verify-code {
  min-width: 0;
  height: 58px;
  text-align: center;
  letter-spacing: 0.42em;
  font-size: 27px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.verification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.verification-password-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.login-panel h2 {
  font-size: 32px;
}
.bonus-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  max-width: 440px;
}
.bonus-preview strong {
  font-size: 26px;
}
.bonus-preview progress,
.bonus-preview small {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 22px 0 9px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #aeb6a6;
  border-radius: 12px;
  padding: 14px;
  background: var(--white);
  color: var(--ink);
  min-height: 48px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  accent-color: #426813;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  min-height: 48px;
  border: 1px solid transparent;
  transition: background 0.15s;
}
.primary {
  background: var(--lime);
  color: var(--ink);
}
.primary:hover {
  background: #bde568;
}
.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.secondary:hover {
  background: #f0f3e9;
}
.full {
  width: 100%;
  margin-top: 20px;
}
.soft-box {
  padding: 20px;
  border-radius: 16px;
  background: #edf5df;
  margin-top: 24px;
}
.soft-box p {
  margin-bottom: 0;
}
#verification .spam-tip {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  padding: 15px 16px;
  border: 1px solid #a27620;
  border-left: 6px solid #d8a11c;
  border-radius: 12px;
  background: #fff7da;
  color: var(--ink);
  line-height: 1.45;
}
body.verification-required #session-bar {
  display: none !important;
}
.dashboard {
  max-width: 1360px;
  margin: auto;
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 42px;
  padding: 36px 40px 0;
}
.sidebar {
  padding-top: 10px;
}
.sidebar nav {
  display: grid;
  gap: 10px;
}
.sidebar nav a {
  padding: 14px 12px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 12px;
}
.sidebar nav a:hover {
  background: #eaf0df;
}
.sidebar-note {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 24px 12px;
  font-size: 12px;
  font-weight: 600;
}
.sidebar-note p {
  font-size: 12px;
  font-weight: 400;
  margin-top: 14px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #508024;
  margin-right: 6px;
}
#account-email {
  overflow-wrap: anywhere;
  display: block;
  padding: 12px;
}
.dashboard-main {
  min-width: 0;
}
.dashboard-main > section {
  margin-bottom: 52px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 12px 0 24px;
}
.section-heading h1 {
  font-size: 34px;
  margin: 10px 0 0;
}
.section-heading h2 {
  margin: 10px 0 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
.balance-card {
  background: var(--ink);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
}
.balance-card > span {
  font-size: 13px;
  color: #dbe2d5;
}
.balance {
  display: block;
  font-size: 64px;
  letter-spacing: -0.06em;
  line-height: 1.25;
  margin: 14px 0;
}
.balance-card p {
  color: #dbe2d5;
}
.balance-card .button {
  margin-top: 22px;
}
.balance-card .fine {
  font-size: 12px;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 9px;
  color: #dbe2d5;
}
progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 9px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #41483c;
}
progress::-webkit-progress-bar {
  background: #41483c;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--lime);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: var(--lime);
  border-radius: 10px;
}
.bonus-preview progress::-webkit-progress-bar {
  background: #e3e8d9;
}
.journey-card h2 {
  margin-top: 18px;
}
.journey {
  padding: 0;
  list-style: none;
  counter-reset: journey;
  display: grid;
  gap: 16px;
}
.journey li {
  counter-increment: journey;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.journey li:before {
  content: counter(journey);
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
}
.journey .done {
  color: var(--ink);
}
.journey .done:before {
  content: "✓";
  background: var(--lime);
  border-color: var(--lime);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.stat {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 24px;
  margin-top: 8px;
  letter-spacing: -0.025em;
}
.preferences {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.preferences label {
  margin: 0;
  font-size: 12px;
}
.preferences select {
  width: auto;
  max-width: 100%;
  font-size: 13px;
  padding: 12px;
}
.preferences .button {
  font-size: 12px;
  padding: 12px 16px;
}
.password-settings {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(360px, 1.25fr);
  gap: 42px;
  align-items: start;
}
.password-settings-copy {
  padding: 4px 0;
}
.password-settings-copy h3 {
  margin-bottom: 10px;
}
.password-settings-copy p:last-child {
  margin-bottom: 0;
}
.password-email-tip {
  display: grid;
  gap: 3px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #a27620;
  border-left: 5px solid #d8a11c;
  border-radius: 12px;
  background: #fff7da;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.password-email-tip strong {
  font-size: 14px;
}
.password-change-form label:first-child {
  margin-top: 0;
}
.password-new-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.password-change-form .button {
  margin-top: 18px;
}
.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #a9c57d;
  border-radius: 12px;
  background: #edf7df;
  color: var(--ink);
  font-size: 13px;
}
.form-status.error {
  border-color: #daaa90;
  background: #fff1eb;
  color: #7c3013;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.task-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 23px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.task-card.recommended {
  border-color: #8caa5e;
}
.task-category {
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
}
.task-card h3 {
  margin: 22px 0 12px;
}
.task-card p {
  font-size: 13px;
}
.task-card .reward {
  margin-top: auto;
}
.reward {
  font-size: 26px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.task-card .button {
  width: 100%;
  font-size: 12px;
  padding: 12px;
}
.task-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.badge {
  border-radius: 100px;
  background: #edf5df;
  padding: 6px 10px;
  font-size: 11px;
  display: inline-block;
  color: #354d1f;
}
.task-card .badge {
  margin-top: 12px;
}
.empty {
  padding: 26px;
  border: 1px dashed #b8c3aa;
  border-radius: 18px;
  color: var(--muted);
  font-size: 14px;
  grid-column: 1/-1;
  line-height: 1.7;
}
.stack {
  display: grid;
  gap: 12px;
}
.activity-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.activity-row h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.activity-row p {
  font-size: 13px;
  margin-bottom: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.activity-row > div {
  min-width: 0;
}
.activity-row strong {
  white-space: nowrap;
}
.subheading {
  margin: 30px 0 16px;
}
.ledger {
  padding: 4px 24px;
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ledger-row:last-child {
  border: 0;
}
.ledger-row small {
  display: block;
  margin-top: 6px;
}
.ledger-row strong {
  white-space: nowrap;
}
.positive {
  color: #3c631d;
}
.payout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.payout-reference {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  word-break: break-all;
}
.terms {
  max-width: 1040px;
  margin: 60px auto 36px;
  padding: 30px;
  border-top: 1px solid var(--line);
}
.terms h2 {
  font-size: 20px;
}
.terms p {
  font-size: 12px;
}
.launch-note {
  padding: 14px;
  border-radius: 10px;
  background: #fff4d6;
}
.terms > a {
  font-size: 13px;
}
dialog {
  max-width: 620px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 24px 80px #0003;
}
dialog::backdrop {
  background: #14171388;
}
dialog p {
  white-space: pre-wrap;
  font-size: 14px;
}
dialog h3 {
  font-size: 14px;
  margin-top: 24px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.admin {
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 28px;
}
.admin > section {
  margin-bottom: 40px;
}
.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-form label {
  margin-top: 0;
}
.admin-form .wide {
  grid-column: 1/-1;
}
.admin-form textarea {
  min-height: 90px;
}
.admin-row {
  display: block;
}
.admin-row textarea,
.admin-row input {
  margin: 12px 0;
}
.admin-row .payout-actions {
  margin-top: 12px;
}
.admin-row .fine {
  overflow-wrap: anywhere;
}
.danger {
  background: #fff1eb;
  color: #7c3013;
  border-color: #daaa90;
}
.operator-warning {
  background: #fff4d6;
  padding: 20px;
  border-radius: 14px;
  font-size: 13px;
}
.admin-proof {
  background: #f4f6f0;
  padding: 16px;
  border-radius: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .dashboard {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 28px;
  }
  .task-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .login-layout {
    gap: 40px;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .balance-card,
  .journey-card {
    padding: 24px;
  }
}
@media (max-width: 760px) {
  .account-header {
    padding: 18px 20px;
    gap: 12px;
  }
  .header-caption {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .brand {
    font-size: 28px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 36px auto;
    padding: 0 20px;
  }
  .login-story h1 {
    font-size: 44px;
  }
  .login-panel {
    padding: 26px;
  }
  .verification-gate {
    min-height: calc(100svh - 74px);
    padding: 24px 16px 56px;
  }
  .verification-panel {
    padding: 26px 20px;
    border-radius: 22px;
  }
  .verification-panel h1 {
    font-size: 36px;
  }
  .verification-lead {
    font-size: 15px;
  }
  .verification-bonus > strong {
    font-size: 36px;
  }
  #verify-code-form {
    grid-template-columns: 1fr;
  }
  #verify-code-form .button {
    width: 100%;
  }
  .dashboard {
    display: block;
    padding: 20px;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .sidebar nav a {
    white-space: nowrap;
    padding: 12px 10px;
    font-size: 12px;
  }
  .sidebar-note,
  #account-email {
    display: none;
  }
  .sidebar {
    margin-bottom: 20px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .journey-card h2 br {
    display: none;
  }
  .balance {
    font-size: 62px;
  }
  .section-heading h1 {
    font-size: 30px;
  }
  .task-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .stat {
    padding: 14px 10px;
  }
  .stat strong {
    font-size: 20px;
  }
  .stat span {
    font-size: 11px;
  }
  .preferences {
    gap: 10px;
  }
  .preferences label {
    width: 100%;
    margin-top: 8px;
  }
  .preferences select {
    flex: 1;
  }
  .preferences .button {
    width: 100%;
  }
  .password-settings,
  .password-new-fields {
    grid-template-columns: 1fr;
  }
  .password-settings {
    gap: 22px;
  }
  .terms {
    margin: 24px 20px;
    padding: 28px 0;
  }
  .activity-row {
    padding: 18px;
  }
  .notice {
    margin: 16px 20px;
  }
  .admin-form {
    grid-template-columns: 1fr;
  }
  .admin-form .wide {
    grid-column: auto;
  }
  .admin {
    padding: 0 20px;
  }
  .header-actions a {
    font-size: 12px;
  }
  .payout-actions .button {
    flex: 1;
  }
  .journey {
    gap: 12px;
  }
}
@media (max-width: 430px) {
  .task-grid {
    grid-template-columns: 1fr;
  }
  .task-card {
    padding: 24px;
  }
  .task-card h3 {
    margin-top: 14px;
  }
  .task-card .reward {
    margin-top: 8px;
  }
  .section-heading .pill {
    font-size: 10px;
  }
  .login-story h1 {
    font-size: 40px;
  }
  .activity-row {
    flex-wrap: wrap;
  }
  .balance-card {
    padding: 26px;
  }
  .header-actions .quiet {
    padding: 8px;
  }
  .admin-form {
    display: block;
  }
  .admin-form > div {
    margin-bottom: 16px;
  }
}
.route-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
}
.route-card {
  position: relative;
  min-width: 0;
  padding: 26px;
  border: 1px solid #dce1d5;
  border-radius: 24px;
  background: #fff;
  overflow-wrap: anywhere;
  scroll-margin-top: 140px;
}
.route-card h3 { margin: 18px 0 10px; }
.route-card p { color: #535d50; line-height: 1.6; }
.route-card .button { width: 100%; margin-top: 18px; }
.route-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 12px;
  border-radius: 50%;
  background: #edf2e5;
  color: #26462e;
  font-weight: 800;
}
.route-current { border: 2px solid #7eaa42; }
.route-done { background: #f1f6e9; }
.route-done .route-number { background: #d0f582; }
.route-mystery { background: #1e251c; border-color: #35452c; color: #f8f9f5; }
.route-mystery p { color: #d0d9c8; }
.route-cipher { color: #d0f582; font-size: 24px; letter-spacing: 5px; margin: 24px 0; }
.route-legendary {
  --step-glow: 255 66 206;
  color: #fff2fd;
  border: 1px solid #ff42ce;
  background: radial-gradient(ellipse at top right, #63204f 0, transparent 65%), #241321;
  box-shadow: 0 0 24px rgb(255 66 206 / 16%), inset 0 1px 0 rgb(255 167 236 / 24%);
}
.route-legendary p, .route-legendary .fine { color: #efcfe8; }
.route-legendary .route-number, .route-legendary .badge { background: #532047; color: #ffe0f7; }
.route-legendary .route-rarity, .route-legendary .route-reward, .route-legendary .route-cipher { color: #ff8be2; }
.route-immortal {
  --step-glow: 255 177 44;
  grid-column: 1 / -1;
  isolation: isolate;
  color: #fff5d9;
  border: 2px solid #ffbf48;
  background: radial-gradient(ellipse at top right, #68411a 0, transparent 62%), #241b10;
  box-shadow: 0 0 30px rgb(255 174 44 / 20%), inset 0 1px 0 #ffdb80;
}
.route-immortal::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  box-shadow: 0 0 38px rgb(255 177 44 / 38%), 0 0 72px rgb(255 112 27 / 14%);
  animation: paso-immortal-aura 4s ease-in-out infinite;
}
.route-immortal p, .route-immortal .fine { color: #f2dcaf; }
.route-immortal .route-number, .route-immortal .badge { background: #5a3818; color: #fff1c9; }
.route-immortal .route-rarity, .route-immortal .route-reward, .route-immortal .route-cipher { color: #ffd477; }
.route-rarity { display: block; font-size: 11px; font-weight: 800; letter-spacing: 2px; margin: 10px 0; }
.route-code { font-size: 36px; letter-spacing: -1px; }
.route-reward { display: block; margin: 12px 0 6px; font-size: 32px; font-weight: 800; }
.route-immortal .route-reward { font-size: clamp(38px, 7vw, 58px); }
.route-legendary.route-current { border-width: 3px; }
.route-immortal.route-current { border-width: 3px; }
.route-legendary .button.primary { color: #291024; background: #ff9ee7; }
.route-immortal .button.primary { color: #2d2009; background: #ffd477; }
@keyframes paso-immortal-aura { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.step-breathe { animation: paso-step-breathe 3s ease-in-out infinite; }
#login-form #email:focus { animation: paso-step-breathe 3s ease-in-out infinite; }
@keyframes paso-step-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgb(var(--step-glow, 151 200 73) / 8%); }
  50% { box-shadow: 0 0 0 7px rgb(var(--step-glow, 151 200 73) / 22%), 0 8px 28px rgb(var(--step-glow, 151 200 73) / 10%); }
}
.route-card:focus-within { outline: 2px solid #356044; outline-offset: 4px; }
/* Engraved finishes: light lives in linework, not a blurred neon cloud. */
.route-legendary, .route-immortal { isolation: isolate; overflow: hidden; box-shadow: none; }
.route-legendary { background: #231c24; border-color: #b95896; }
.route-immortal { background: #24221c; border-color: #bca466; }
.route-legendary::before, .route-immortal::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  border-radius: inherit; box-shadow: none;
  animation: paso-engraving 7s ease-in-out infinite;
}
.route-legendary::before {
  background: repeating-linear-gradient(135deg, transparent 0 19px, #ef66bd30 20px 21px, transparent 22px 40px);
  mask-image: linear-gradient(100deg, transparent 35%, #000);
}
.route-immortal::before {
  background: repeating-radial-gradient(circle at 105% 55%, transparent 0 22px, #dfbe6855 23px 24px, transparent 25px 43px);
  mask-image: linear-gradient(90deg, transparent 25%, #000);
}
.route-legendary::after, .route-immortal::after {
  content: ""; position: absolute; pointer-events: none; right: 18px; top: 18px;
  width: 32px; height: 32px; border-top: 2px solid #f17ac6; border-right: 2px solid #f17ac6;
}
.route-immortal::after { border-color: #edd493; border-width: 3px; width: 48px; height: 48px; }
@keyframes paso-engraving { 0%,100% { opacity: .45; } 50% { opacity: .85; } }
.route-unavailable { filter: brightness(.83) saturate(.75); }
.route-unavailable::before { animation: none; opacity: .4; }
.route-lock { display: inline-flex; vertical-align: middle; align-items: center; }
.route-lock img { width: 36px; height: 36px; object-fit: contain; }
.lock-accessible-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#task-dialog { padding: 0; overflow: hidden; }
#task-dialog[open] { display: flex; flex-direction: column; }
.task-dialog-header { flex: 0 0 auto; padding: 16px 24px; background: #fff; border-bottom: 1px solid var(--line); }
#task-dialog .dialog-balance { position: static; margin: 0; padding: 10px 14px; flex: 1; min-width: 0; }
.task-dialog-header { display: flex; align-items: center; gap: 12px; }
.task-dialog-header .dialog-top { margin: 0; flex: 0 0 auto; }
.task-dialog-header .eyebrow { display: none; }
#close-dialog { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; }
.task-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.task-dialog-content > h2 { margin-top: 0; }
@media (max-width: 480px) {
  .task-dialog-header { padding: 12px; gap: 8px; }
  .task-dialog-content { padding: 20px; }
  #task-dialog .dialog-balance strong { font-size: 24px; }
}
@media (max-width: 700px) {
  .route-steps { grid-template-columns: 1fr; }
  .route-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
