.route-shell{width:min(760px,calc(100% - 48px));margin:0 auto;padding:52px 0 44px;flex:1}.route-board{margin-top:14px;display:flex;align-items:center;gap:10px;color:var(--muted-strong);font-size:13px;font-weight:650}.route-picker{position:relative;flex:1;min-width:0}.route-picker-button{width:100%;min-height:40px;padding:6px 10px 6px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--strong-line);border-radius:9px;color:var(--ink);background:#151612;font-size:14px;font-weight:650;text-align:left;cursor:pointer;transition:border-color .14s ease}.route-picker-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-picker-button svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .14s ease}.route-picker-button:hover,.route-picker-button[aria-expanded=true]{border-color:var(--gold)}.route-picker-button[aria-expanded=true] svg{transform:rotate(180deg)}.route-picker-panel{position:absolute;z-index:40;top:calc(100% + 6px);right:0;width:max(100%,280px);max-width:calc(100vw - 48px);overflow:hidden;border:1px solid var(--strong-line);border-radius:12px;background:#20211c;box-shadow:0 12px 30px #00000073;animation:route-picker-in .12s ease-out}.route-picker-panel[hidden]{display:none}@keyframes route-picker-in{0%{opacity:0;transform:translateY(-4px)}}.route-picker-panel input{width:100%;min-height:44px;padding:10px 14px;border:0;border-bottom:1px solid var(--line);color:var(--ink);background:transparent;font-size:16px;outline:none}.route-picker-panel input::placeholder{color:#7f7b72}.route-picker-panel input:focus{border-bottom-color:var(--gold)}.route-picker-list{max-height:min(320px,50vh);padding:6px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--strong-line) transparent}.route-picker-heading{padding:10px 10px 4px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.route-picker-option{width:100%;min-height:38px;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:7px;color:var(--muted-strong);background:transparent;font-size:14px;font-weight:600;text-align:left;cursor:pointer}.route-picker-option small{flex-shrink:0;color:#7f7b72;font-size:12px;font-weight:600}.route-picker-option:hover,.route-picker-option.is-active{color:var(--ink);background:#313127}.route-picker-option[aria-selected=true]{color:var(--gold)}.route-picker-empty{padding:16px 10px;color:var(--muted);font-size:14px;text-align:center}.route-goal{margin:16px 0 12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;font-size:clamp(19px,3.4vw,25px);line-height:1.2;text-align:center}.route-goal strong{font-weight:780;letter-spacing:-.02em}.route-goal-start{color:var(--route-start)}.route-goal-end{color:var(--route-end)}.route-goal svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}:root{--route-land: #30312a;--route-start: #e6ad2f;--route-end: #f0846a;--route-stop: #5fb08c}.route-map{position:relative;aspect-ratio:16 / 10;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#151713;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.route-map.is-dragging{cursor:grabbing}.route-map>svg{width:100%;height:100%}.route-backdrop,.route-region{fill:var(--route-land);stroke:var(--route-land);stroke-width:.8;vector-effect:non-scaling-stroke}.route-region{transition:fill .16s ease,stroke .16s ease}.route-region.is-best,.route-region.is-stop,.route-region.is-start,.route-region.is-end{stroke:#14150f}.route-region.is-best{fill:#7c6a3a}.route-region.is-stop{fill:var(--route-stop)}.route-region.is-start{fill:var(--route-start)}.route-region.is-end{fill:var(--route-end)}.route-region.is-new{animation:route-stop-in .45s ease-out}@keyframes route-stop-in{0%{fill:var(--route-land);stroke:var(--route-land)}}.route-map.is-tryhard .route-backdrop,.route-map.is-tryhard .route-region:not(.is-start):not(.is-end):not(.is-stop):not(.is-best){fill:transparent;stroke:transparent}.route-map.is-tryhard .route-region.is-new{animation-name:route-stop-in-tryhard}@keyframes route-stop-in-tryhard{0%{fill-opacity:0;stroke-opacity:0}}.route-tryhard{min-height:36px;padding:6px 11px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--strong-line);border-radius:9px;color:var(--muted);background:#151612;font-size:12px;font-weight:650;cursor:pointer;transition:color .14s ease,border-color .14s ease,background .14s ease,opacity .1s ease}.route-tryhard svg{width:15px;height:15px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.route-tryhard:hover{color:var(--ink)}.route-tryhard:active{opacity:.66}.route-tryhard[aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#e6ad2f1f}.route-layout .round-status{flex-wrap:wrap}.route-line path{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:0 11;vector-effect:non-scaling-stroke;pointer-events:none}.route-line-halo{stroke:#0d0e0b;stroke-width:7.5}.route-line-dots{stroke:var(--ink);stroke-width:4}.route-label{fill:var(--ink);font-weight:700;paint-order:stroke;stroke:#0d0e0b;stroke-linejoin:round;text-anchor:middle;dominant-baseline:middle;pointer-events:none}.route-map-tools{position:absolute;right:10px;bottom:10px;display:grid;gap:6px}.route-map-tools button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--strong-line);border-radius:9px;color:var(--muted-strong);background:#151612eb;font-size:19px;line-height:1;cursor:pointer;transition:color .14s ease,opacity .1s ease}.route-map-tools button:hover{color:var(--gold)}.route-map-tools button:active{opacity:.66}.route-map-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.play-panel .route-form{margin-top:16px;padding-top:0;border-top:0}.route-stops{margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px;list-style:none}.route-stops:empty{display:none}.route-stops li{padding:5px 10px;border:1px solid rgba(95,176,140,.45);border-radius:999px;color:#cfe7da;background:#396f5b42;font-size:13px;font-weight:620}.route-stops li.is-start{border-color:#e6ad2f99;color:#f4d48a;background:#e6ad2f21}.route-stops li.is-end{border-color:#f0846a99;color:#f8bdaf;background:#f0846a21}.route-stops li.is-hint:after{content:" · hint";color:var(--muted);font-weight:500}.route-actions{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}.route-actions button{min-height:38px;padding:7px 13px;border:1px solid var(--strong-line);border-radius:9px;color:var(--muted-strong);background:transparent;font-size:13px;font-weight:650;cursor:pointer;transition:color .14s ease,border-color .14s ease,opacity .1s ease}.route-actions button:hover:not(:disabled){color:var(--gold);border-color:var(--gold)}.route-actions button:active:not(:disabled){opacity:.66}.route-actions button:disabled{opacity:.42;cursor:not-allowed}.route-actions[hidden],.route-after[hidden]{display:none}.route-after{margin:16px 0 12px;display:grid;grid-template-columns:1fr auto;gap:10px}.route-after .primary-button{width:100%}.route-after-secondary,#routeResult .result-action-secondary{min-height:52px;padding:10px 18px;border:1px solid var(--strong-line);border-radius:10px;color:var(--muted-strong);background:transparent;font-weight:650;cursor:pointer;transition:color .14s ease,border-color .14s ease,opacity .1s ease}.route-after-secondary:hover,#routeResult .result-action-secondary:hover{color:var(--gold);border-color:var(--gold);background:transparent}.route-after-secondary:active{opacity:.66}#routeResult .result-action-secondary{min-height:42px;border-radius:8px}.route-stars{margin:0 0 12px;color:var(--gold);font-size:26px;letter-spacing:.12em}.route-stars:empty{display:none}.route-result-heading{margin:16px 0 8px;color:#d0c7bb;font-size:13px;font-weight:700}.route-stops-result{margin:0 0 14px}.route-board-fixed{margin-bottom:0}.route-board-fixed strong{flex:1;color:var(--ink);font-size:14px}.route-board-fixed a{color:var(--muted-strong);text-underline-offset:3px}.route-board-fixed a:hover{color:var(--gold)}.route-page-links{padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none}.route-about>summary{color:var(--ink);font-size:16px;font-weight:700}@media(max-width:680px){.route-shell{padding:12px 0 28px}.route-shell .breadcrumbs{display:none}.route-shell .game-header{margin-bottom:12px}.route-shell .game-header h1{color:var(--muted-strong);font-size:17px;font-weight:650;line-height:1.3;letter-spacing:-.01em}.route-shell .game-header p{display:none}.route-shell .route-layout{border:0;border-radius:0;background:transparent;box-shadow:none}.route-layout .play-panel{padding:0;display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:10px 8px;align-items:center}.route-layout .play-panel>*{grid-column:1 / -1;min-width:0}.route-layout .round-meta,.route-layout .mode-controls{display:contents}.route-layout .play-panel .segmented{grid-column:1;order:1;width:auto;min-width:132px}.route-layout .segmented button{min-width:62px;padding-inline:6px}.route-layout .route-tryhard{grid-column:2;order:2;width:40px;padding:0}.route-layout .route-tryhard span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.route-layout .route-tryhard svg{width:18px;height:18px}.route-layout .play-panel>.route-board{grid-column:3;order:3;margin:0}.route-layout .route-board>span{display:none}.route-layout .route-picker-button{min-height:36px;font-size:13px}.route-layout .route-board-fixed{justify-content:flex-end;font-size:13px}.route-layout .route-board-fixed strong{display:none}.route-layout .route-goal{order:4;margin:8px 0 0;font-size:22px}.route-layout .round-status{grid-column:1 / -1;order:5;justify-content:center;color:var(--muted);font-size:12px}.route-layout .round-status>:not(#routePar){display:none}.route-layout .route-map{order:6;aspect-ratio:1 / .9;border-radius:14px}.route-layout .route-map-tools button{width:34px;height:34px}.route-layout .route-form{order:7;margin-top:4px}.route-layout .guess-row{grid-template-columns:minmax(0,1fr) 52px;gap:8px}.route-layout .guess-row input{font-size:16px}.route-layout .route-form .primary-button{width:52px;min-width:0;padding:0}.route-layout .route-form .primary-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.route-layout .suggestions{top:auto;bottom:calc(100% + 6px);max-height:190px}.route-layout .form-message{margin-top:6px}.route-layout .form-message:empty{display:none}.route-layout .route-after{order:8;margin:4px 0 0;grid-template-columns:1fr;gap:8px}.route-layout .route-after-secondary{min-height:40px;border:0}.route-layout .route-stops{order:9;margin:0}.route-layout .route-actions:not([hidden]){order:10;margin:0;flex-wrap:nowrap;gap:6px}.route-layout .route-actions button{flex:1;min-width:0;padding:6px 4px;border:0;color:var(--muted);font-size:12px;white-space:nowrap}.route-shell .game-information{margin-top:24px;padding-top:4px}}@media(max-width:680px){.route-layout #zoomIn,.route-layout #zoomOut{display:none}}@media(max-width:360px){.route-layout .play-panel>.route-board{grid-column:1 / -1}.route-shell .game-header{margin-bottom:8px}.route-shell .game-header h1{font-size:15px}.route-layout .route-goal{font-size:19px;margin-top:4px}.route-layout .route-map{aspect-ratio:1 / .76}}@media(prefers-reduced-motion:reduce){.route-region,.route-map-tools button,.route-actions button{transition:none}.route-region.is-new,.route-map.is-tryhard .route-region.is-new{animation:none}}
