.pass-preview { min-height: 11rem; aspect-ratio: 3 / 2; border-radius: 1rem; background: #17313d var(--preview) center / cover; margin-bottom: 1.25rem; }
.pass-form { display: grid; gap: .75rem; margin-top: 1.25rem; }
.pass-form p { margin: 0; }
.pass-form > label { font-weight: 600; }
.pass-form > input { padding: .85rem; border: 1px solid #4e707e; border-radius: .65rem; background: #132e3b; color: #fff; font: inherit; }
.pass-form .pass-checkbox { display:flex; gap:.6rem; align-items:flex-start; font-weight:400; padding:.35rem 0; }
.pass-checkbox input { margin-top:.22em; accent-color:#ffce80; }
#pass-unlock:disabled { opacity:.65; cursor:default; }
#route-recover { margin-top:.8rem; }

/* Illustrated route */
.route-modal .modal { width: min(59rem, 100%); padding: clamp(1rem, 3vw, 1.8rem); background: #f7f8fa; color: #14283a; }
.route-modal .modal-header { margin-bottom: .45rem; }
.route-modal .modal-header .eyebrow { color: #345672; }
.route-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.05rem; }
.route-intro h2 { margin: 0 0 .45rem; font-size: clamp(1.75rem, 4vw, 2.65rem); line-height: 1.05; letter-spacing: -.04em; }
.route-intro p { margin: 0; font-size: 1rem; color: #435567; line-height: 1.45; }
.route-progress { display: grid; grid-template-columns: 1fr auto; column-gap: .75rem; align-items: center; min-width: 11.5rem; padding: .62rem .8rem; color: #f5f8fe; background: #173047; border-radius: .7rem; }
.route-progress span, .route-progress small { font-size: .82rem; color: #e0eaf3; white-space: nowrap; }
.route-progress b { white-space: nowrap; font-size: 1.22rem; }
.route-progress progress { grid-column: 1 / -1; height: .33rem; width: 100%; margin-top: .35rem; border: 0; border-radius: 1rem; color: #f5c779; background: #426078; }
.route-progress progress::-webkit-progress-bar { background: #426078; border-radius: 1rem; }
.route-progress progress::-webkit-progress-value { background: #f5c779; border-radius: 1rem; }
.route-progress progress::-moz-progress-bar { background: #f5c779; border-radius: 1rem; }
.route-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; }
.route-card { overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid #d4dfe7; border-radius: .85rem; box-shadow: 0 2px 8px #16293809; min-width: 0; }
.route-cover { position: relative; background: #283f55; }
.route-cover img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.route-state { position: absolute; top: .55rem; left: .55rem; border-radius: .35rem; background: #172e43; color: #fff; padding: .28rem .49rem; font-size: .82rem; font-weight: 700; }
.route-free { background: #fff1d2; color: #482f11; }
.route-done { position: absolute; top: .55rem; right: .6rem; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; color: #0e4a39; background: #e7fbeb; font-weight: 800; }
.route-card-content { display: flex; flex-direction: column; align-items: flex-start; padding: .72rem .78rem .78rem; gap: .46rem; }
.route-place { color: #4c5f70; font-size: .86rem; line-height: 1.28; }
.route-place span { padding-inline: .15em; }
.route-card h3 { margin: 0 0 .26rem; font-size: clamp(1rem, 2vw, 1.16rem); line-height: 1.22; }
.route-action { width: 100%; min-height: 2.75rem; padding: .38rem .62rem; margin-top: auto; border: 1px solid #9aaebe; border-radius: .5rem; background: #f5f8fa; color: #193a55; font: inherit; font-size: .93rem; font-weight: 700; cursor: pointer; }
.route-playable .route-action { background: #1a3a55; color: #fff; border-color: #1a3a55; }
.route-action:hover { border-color: #2463a0; box-shadow: 0 0 0 1px #2463a0; }
.route-action:focus-visible { outline: 2px solid #154fa0; outline-offset: 2px; }
.route-recovery { text-align: center; }
.route-preview-image { display: block; width: 100%; height: auto; border-radius: .8rem; object-fit: cover; }
.route-preview-actions { display: grid; gap: .45rem; margin-top: .9rem; }
.pass-private-label { position: fixed; z-index: 8; top: calc(4.25rem + env(safe-area-inset-top)); left: .85rem; margin: 0; padding: .34rem .6rem; border-radius: .35rem; color: #101f30; background: #ffe3a3; font-size: .78rem; font-weight: 700; pointer-events: none; }
.pass-approved-summary { margin: 1rem 0; padding: .85rem 1rem; background: #edf8f0; border: 1px solid #bddac7; color: #173d2d; border-radius: .7rem; }
.pass-approved-summary p { margin: .2rem 0; font-size: .93rem; }
@media (max-width: 720px) {
  .route-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .route-intro { align-items: stretch; flex-direction: column; gap: .65rem; }
  .route-progress { min-width: 0; }
}
@media (max-width: 355px) {
  .route-grid { gap: .6rem; }
  .route-card-content { padding: .55rem; }
  .route-place { font-size: .79rem; }
}

.annago-next { margin:1.35rem 0; padding:clamp(1rem,3vw,1.5rem); border:1px solid #b6d8d5; border-radius:1rem; background:linear-gradient(135deg,#eff9f5,#f0f4ff); color:#183645; text-align:left; }
.annago-next img { width:8.2rem; height:auto; display:block; margin-bottom:.9rem; }
.annago-next h3 { margin:0 0 .6rem; font-size:1.3rem; line-height:1.2; }
.annago-next p { margin:0 0 .9rem; font-size:1rem; line-height:1.5; }
.annago-next .annago-cta { display:block; text-align:center; background:#1b3b58; border-radius:.6rem; padding:.8rem 1rem; color:#fff; text-decoration:none; font-size:1rem; font-weight:700; line-height:1.35; }
.annago-next .annago-cta:hover { background:#29547b; }
.annago-next .annago-cta:focus-visible { outline:3px solid #3478c5; outline-offset:3px; }
.annago-next small { display:block; margin-top:.6rem; font-size:.86rem; line-height:1.35; color:#476576; }
