/* Shared daily game and homepage. All rules stay within these components. */
.home-play{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:clamp(24px,4vw,48px);border-radius:24px;background:#12223b;color:#fff;position:relative;overflow:hidden;margin-bottom:20px}
.home-play:before{content:"";position:absolute;width:420px;height:420px;border:1px solid #ffffff12;border-radius:50%;left:-180px;bottom:-250px;pointer-events:none}
.home-play .home-eyebrow{font-size:12px;letter-spacing:.12em;color:#b9c9e0;font-weight:800;margin:0 0 22px}.home-play h1{color:#fff;font-size:clamp(28px,3.5vw,43px);line-height:1.55;font-weight:900;letter-spacing:-.035em;margin:0 0 20px}.home-play-intro>p:not(.home-eyebrow){color:#ced8e6;font-size:16px;line-height:1.9}.home-play-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.home-play-tags span{border:1px solid #73859f;border-radius:20px;font-size:12px;padding:5px 12px;color:#eef3fb}
.home-challenge{background:#fff;border-radius:16px;color:#152139;padding:clamp(20px,3vw,32px);box-shadow:0 16px 40px #0002;z-index:1}.home-challenge-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#65748a;letter-spacing:.04em}.home-challenge-top p{margin:0}.home-challenge-top>span{font-weight:800;color:#a7122c}.home-challenge h2{font-size:22px;font-weight:800;color:#152139;margin:20px 0}.home-match{display:grid;grid-template-columns:1fr 24px 1fr;gap:12px;align-items:center;border-block:1px solid #e3e8ef;padding:20px 0;margin-bottom:16px}.home-match small{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#65748a;margin-bottom:8px}.home-match strong{display:block;font-size:clamp(16px,1.8vw,21px);line-height:1.5;overflow-wrap:anywhere}.home-match-arrow{color:#a7122c;font-size:22px}.home-challenge #home-route-progress{font-size:13px;line-height:1.7;color:#526075}.home-play .home-play-cta{display:block;text-align:center;padding:16px 12px;border-radius:9px;background:#ae1431;color:#fff;text-decoration:none;font-weight:800;min-height:52px}.home-play .home-play-cta:hover{background:#8d0f27;color:#fff}.home-practice{display:block;text-align:center;padding:14px 0 4px;font-size:13px;color:#304763;text-underline-offset:4px}.home-record-note{font-size:12px!important;color:#64748b;margin:16px 0 0;line-height:1.6}.home-play a:focus-visible,.home-next a:focus-visible{outline:3px solid #64b8fa;outline-offset:4px}
.home-next{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:42px}.home-next>a{display:block;background:#fff;border:1px solid #d9e1eb;padding:22px;border-radius:12px;text-decoration:none;color:#152139}.home-next>a:hover{border-color:#a7122c;box-shadow:0 6px 20px #12223b0a}.home-next small{display:block;font-size:11px;letter-spacing:.12em;font-weight:800;color:#a7122c;margin-bottom:12px}.home-next strong{display:block;font-size:17px;line-height:1.6}.home-next strong span{float:right}.home-next p{font-size:13px;color:#5b687b;line-height:1.8;margin:8px 0 0}.home-archive-title{font-size:21px;font-weight:800;color:#152139;margin:32px 0 0}
.route-main{max-width:860px;margin:0 auto;padding:36px 20px 64px;color:#152139}.route-main h1{font-size:clamp(1.7rem,5vw,2.5rem);font-weight:850}.route-eyebrow{color:#a7122c;font-size:12px;font-weight:800;letter-spacing:.12em}.route-tags{display:flex;gap:8px;flex-wrap:wrap}.route-tags span{font-size:12px;background:#e8edf4;padding:5px 10px;border-radius:20px;color:#465773}.route-card{background:#fff;border:1px solid #d4dce5;border-radius:16px;padding:clamp(20px,4vw,32px);margin:24px 0;box-shadow:0 8px 24px #14213708;scroll-margin-top:90px}.route-card h2{font-size:1.35rem;font-weight:800}.route-card h3{font-size:1.1rem;font-weight:750}.route-card-heading{display:flex;align-items:center;gap:12px;justify-content:space-between}.route-card-heading p{margin:0}.route-pill{font-size:10px;color:#66758a;border:1px solid #dde3eb;padding:4px 8px;border-radius:12px;white-space:nowrap}.route-goal{font-size:1.25rem;font-weight:800;line-height:1.7;margin:20px 0 12px}.route-main button,.route-main .route-nav a,.route-main a.route-primary{display:inline-block;min-height:44px;padding:12px 16px;border:1px solid #bdc8d6;border-radius:8px;background:#fff;color:#17243b;font:inherit;cursor:pointer;text-decoration:none}.route-main button:hover{border-color:#a7122c;background:#fff4f5}.route-main button:focus-visible,.route-main a:focus-visible,.route-main summary:focus-visible{outline:3px solid #3975bf;outline-offset:3px}.route-main button:disabled{opacity:.45;cursor:default}.route-main .route-primary,.route-main button.route-primary{background:#a7122c;color:#fff;border-color:#a7122c}.route-main button.route-hint{background:#fff1e5;color:#7b3b10;border-color:#edc5a4;font-weight:700}.route-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.route-choices button{text-align:left;overflow-wrap:anywhere;line-height:1.6;font-size:15px;padding:13px;min-height:56px}.route-choices button.is-route-hint{border:2px solid #a7122c;background:#fff0f2;font-weight:800}.route-controls,.route-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 12px}.route-controls button{font-size:14px;padding:10px 12px}.route-trail{display:flex;flex-wrap:wrap;gap:8px 28px;padding-left:24px;font-size:.85rem;color:#5c697b;line-height:1.8}.route-position{display:flex;justify-content:space-between;gap:16px;align-items:center;background:#f3f6fa;border-radius:12px;padding:18px;margin-top:24px}.route-position p{margin:0;font-size:12px}.route-position h2{margin:6px 0 0;font-size:1.25rem}.route-position #route-target{max-width:40%;color:#7f1730;font-weight:700;line-height:1.7}.route-result{border-top:3px solid #a7122c;margin-top:28px;padding-top:24px}.route-result>p{line-height:1.8}.route-result li{margin:18px 0;line-height:1.8}.route-result a{display:block;padding:8px 0;overflow-wrap:anywhere}.route-note{color:#536176;line-height:1.8;font-size:14px}.route-main [hidden]{display:none!important}#route-status{font-weight:700;color:#a7122c;line-height:1.8}#route-notice{line-height:1.8;font-size:14px;color:#6b4025;background:#fff7ed;border-radius:8px;padding:12px}#route-notice:empty{display:none}#route-play{scroll-margin-top:90px}
.route-practice{background:#edf3fa;border:1px solid #cad8e8;border-radius:12px;margin-top:24px;scroll-margin-top:90px}.route-practice summary{padding:16px;font-size:14px;font-weight:750;cursor:pointer}.route-practice summary span{font-size:11px;color:#5b6f89;margin-left:8px}.practice-body{padding:0 20px 20px;font-size:14px;line-height:1.9}.practice-path{font-weight:800;color:#a7122c}.practice-body small{color:#5d6c80}.route-record-numbers{display:flex;gap:40px;margin-top:22px}.route-record-numbers p{display:flex;align-items:baseline;gap:8px}.route-record-numbers strong{font-size:38px;color:#a7122c;line-height:1.2;font-variant-numeric:tabular-nums}.route-record-numbers span{font-size:13px;color:#5a677b}#route-best{font-size:14px;line-height:1.8}.route-badges{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 30px}.route-badge{border:1px solid #d9e0e9;border-radius:20px;padding:6px 12px;font-size:12px;color:#64748b}.route-badge.is-earned{background:#fff3db;border-color:#e7c785;color:#79520b}.route-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:16px 0}.route-calendar>span{text-align:center;padding:10px 2px;border-radius:7px;font-size:13px;font-variant-numeric:tabular-nums}.route-calendar .route-weekday{font-size:11px;color:#728099}.route-calendar-day{background:#f1f4f8;color:#465773}.route-calendar-day.is-cleared{background:#a7122c;color:#fff;font-weight:700}.route-calendar-day.is-today{outline:2px solid #324f76;outline-offset:1px}.route-calendar-day.is-future{color:#91a0b2;background:#f8fafc}.route-about{margin-top:24px}.route-about summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:700}
@media(max-width:760px){.home-play{grid-template-columns:1fr;gap:24px;padding:24px;border-radius:18px}.home-play .home-eyebrow{margin-bottom:12px;font-size:10px}.home-play h1{font-size:28px;line-height:1.5;margin-bottom:12px}.home-play-intro>p:not(.home-eyebrow){display:none}.home-play-tags{margin-top:14px}.home-challenge{padding:20px}.home-challenge h2{margin:14px 0;font-size:20px}.home-match{padding:14px 0;gap:8px}.home-next{grid-template-columns:1fr;gap:10px}.home-next>a{padding:18px}.home-next small{margin-bottom:6px}.home-next p{margin-top:4px}}
@media(max-width:420px){.home-play{padding:20px 14px}.home-play h1{font-size:26px}.home-play-tags span{font-size:11px;padding:4px 10px}.home-challenge{padding:18px 16px}.home-challenge-top{font-size:10px}.home-match strong{font-size:16px}.route-main{padding:24px 14px}.route-card{padding:18px}.route-position{padding:14px}.route-card-heading{flex-wrap:wrap}.route-controls{gap:7px}.route-controls button{font-size:13px;padding:10px}.route-calendar>span{font-size:12px;padding:9px 0}}
/* Override the archive heading color only inside the dark homepage hero. */
body.k1-site .home-play h1{color:#fff}

/* Completion sharing: the preview never exposes the answer. */
#route-result-title{scroll-margin-top:100px}.route-share{background:#f3f6fa;border:1px solid #d9e1eb;border-radius:12px;padding:20px;margin:20px 0 28px}.route-share-preview{white-space:pre-line;font-size:16px;font-weight:650;line-height:1.9;margin:0 0 20px;color:#152139}.route-share-actions{display:flex;flex-wrap:wrap;gap:10px}.route-share-actions>a,.route-share-actions>button{flex:1 1 220px;text-align:center;font-size:15px;line-height:1.6}.route-main .route-share-actions a.route-primary{padding:14px 16px;font-weight:800;background:#142137;border-color:#142137;color:#fff}.route-main .route-share-actions a.route-primary:hover{background:#263d5b}.route-share .route-note{font-size:12px;margin:12px 0 0;line-height:1.8}#route-share-status{font-size:14px;line-height:1.8;color:#365747}#route-share-status:empty{display:none}#route-share-fallback label{display:block;font-size:13px;margin:14px 0 8px}#route-share-text{box-sizing:border-box;width:100%;padding:12px;border:1px solid #9caec3;border-radius:8px;font:inherit;font-size:14px;line-height:1.7;resize:vertical}#route-share-text:focus-visible{outline:3px solid #3975bf;outline-offset:3px}@media(max-width:420px){.route-share{padding:16px}.route-share-preview{font-size:14px}}
