/* AEMAZON v173 — roulette chooser and destination roulette. */
:root{--rr-bg:#fff;--rr-ink:#20242b;--rr-muted:#737b87;--rr-line:#e0e3e8;--rr-orange:#f45f32;--rr-warm:#fff4ed;--rr-land:#f0f2f4;--rr-map-line:#bdc3cb}
*{box-sizing:border-box}body{margin:0;background:var(--rr-bg);color:var(--rr-ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;line-height:1.5;-webkit-text-size-adjust:100%}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--rr-orange);outline-offset:4px}
.rr-page{max-width:600px;margin:0 auto;padding:0 22px max(32px,env(safe-area-inset-bottom))}.rr-header{height:62px;display:flex;align-items:center;gap:18px;font-weight:700}.rr-header>a:first-child{display:grid;place-items:center;width:34px;height:44px;font-size:32px;font-weight:400}.rr-header .rr-logo{font-size:18px;letter-spacing:.7px;color:var(--rr-orange);margin:auto;font-weight:800}.rr-header-space{width:34px}.rr-brand{color:var(--rr-orange);letter-spacing:2px;font-size:11px;font-weight:800;margin:25px 0 12px}.rr-page h1{font-size:28px;line-height:1.4;letter-spacing:-1px;margin:0 0 10px}.rr-subtitle{font-size:14px;color:var(--rr-muted);margin:0;line-height:1.6}.rr-hub>.rr-subtitle{margin-bottom:30px}
.rr-choice{display:block;border:1px solid var(--rr-line);border-radius:20px;padding:24px;margin:16px 0;transition:border-color .15s,transform .15s}.rr-choice:active{transform:scale(.99)}.rr-choice:hover{border-color:var(--rr-orange)}.rr-point{background:var(--rr-warm);border-color:#f4d8c8}.rr-choice-top{display:flex;align-items:center;justify-content:space-between}.rr-tag{font-size:11px;color:var(--rr-muted)}.rr-symbol{width:32px;height:32px;display:grid;place-items:center;border:2px solid var(--rr-orange);color:var(--rr-orange);border-radius:50%;font-size:18px;font-weight:800}.rr-choice svg{width:34px;height:34px;fill:none;stroke:var(--rr-orange);stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.rr-choice h2{font-size:20px;letter-spacing:-.5px;margin:22px 0 8px}.rr-choice-desc{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--rr-muted);font-size:13px}.rr-choice-desc b{font-size:24px;font-weight:400;color:var(--rr-ink)}.rr-hub-note{font-size:12px;color:var(--rr-muted);text-align:center;margin-top:30px}
.rr-game{max-width:1000px}.rr-intro{padding:16px 0 20px}.rr-eyebrow{font-size:12px;font-weight:700;color:var(--rr-orange);margin:0 0 6px}.rr-grid{display:grid;grid-template-columns:1fr;gap:0}.rr-controls{display:contents}.rr-play{order:2;min-width:0}#rrSettings{order:1}#rrStatus{order:3}#rrSpin{order:4}#rrResult{order:5}.rr-footnote{order:6}.rr-origin{border:1px solid var(--rr-line);border-radius:14px;margin-bottom:16px}.rr-origin summary{list-style:none;display:flex;gap:10px;align-items:center;padding:10px 14px;cursor:pointer}.rr-origin summary::-webkit-details-marker{display:none}.rr-origin-icon{font-size:25px;color:var(--rr-orange)}.rr-origin summary small{display:block;font-size:10px;color:var(--rr-muted)}.rr-origin summary strong{font-size:13px;font-weight:650;display:block}.rr-origin summary b{margin-left:auto;font-weight:400;color:var(--rr-muted)}.rr-origin-edit{padding:2px 14px 14px}.rr-origin-edit label{display:block;font-size:12px;margin:12px 0;color:var(--rr-muted)}.rr-origin-edit select{display:block;width:100%;min-height:44px;padding:8px 10px;margin-top:6px;background:var(--rr-bg);color:var(--rr-ink);border:1px solid var(--rr-line);border-radius:9px}.rr-origin-actions{display:flex;gap:12px;justify-content:space-between;align-items:center}.rr-origin-actions .rr-button{width:auto}.rr-range{padding:0;margin:0;border:0}.rr-range legend{font-size:12px;font-weight:650;margin-bottom:8px}.rr-range small{font-size:10px;font-weight:400;color:var(--rr-muted);margin-left:6px}.rr-range>div{display:flex;gap:8px}.rr-range label{flex:1;position:relative;min-width:0;cursor:pointer}.rr-range input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.rr-range span{display:block;text-align:center;border:1px solid var(--rr-line);border-radius:12px;padding:9px 2px;font-size:13px;font-weight:650}.rr-range input:checked+span{color:var(--rr-orange);background:var(--rr-warm);border-color:#efbba8}.rr-range input:focus-visible+span{outline:2px solid var(--rr-orange);outline-offset:2px}.rr-island{display:flex;align-items:center;gap:7px;font-size:12px;margin-top:15px}.rr-island input{width:16px;height:16px;accent-color:var(--rr-orange);margin:0}.rr-hint{font-size:10px;line-height:1.65;color:var(--rr-muted);margin:8px 0}.rr-candidate-line{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0;font-size:10px;color:var(--rr-muted)}.rr-candidate-line>span:first-child{color:var(--rr-orange)}
.rr-map-wrap{position:relative;height:350px;border:1px solid var(--rr-line);border-radius:18px;overflow:hidden;background:var(--rr-bg)}#rrMap{display:block;width:100%;height:100%}.rr-province{fill:var(--rr-land);stroke:var(--rr-map-line);stroke-width:.9;vector-effect:non-scaling-stroke;stroke-linejoin:round}.rr-eligible{fill:var(--rr-warm);stroke:var(--rr-map-line);stroke-width:.45;vector-effect:non-scaling-stroke;pointer-events:none}.rr-highlight{fill:#ff9a6644;stroke:var(--rr-orange);stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}.rr-map-label{font-size:11px;font-weight:650;fill:var(--rr-muted);text-anchor:middle;paint-order:stroke;stroke:var(--rr-bg);stroke-width:3px;stroke-linejoin:round;pointer-events:none}.rr-pin{fill:var(--rr-orange);stroke:var(--rr-bg);stroke-width:2;vector-effect:non-scaling-stroke}.rr-origin-dot{fill:#535e6d;stroke:var(--rr-bg);stroke-width:2;vector-effect:non-scaling-stroke}.rr-pin-label{fill:var(--rr-ink);font-size:13px;font-weight:800;text-anchor:middle;paint-order:stroke;stroke:var(--rr-bg);stroke-width:4;stroke-linejoin:round}.rr-map-caption{position:absolute;bottom:12px;left:12px;max-width:calc(100% - 100px);border:1px solid var(--rr-line);border-radius:10px;padding:6px 10px;font-size:11px;background:var(--rr-bg);color:var(--rr-ink);pointer-events:none}.rr-map-reset{position:absolute;top:12px;right:12px;background:var(--rr-bg);border:1px solid var(--rr-line);border-radius:9px;color:var(--rr-muted);font-size:11px;min-height:36px;padding:4px 9px}.rr-map-source{font-size:9px;color:var(--rr-muted);text-align:right;margin:5px 2px 4px}.rr-map-source a{text-decoration:underline;text-underline-offset:2px}.rr-status{font-size:12px;color:var(--rr-orange);min-height:20px;margin:7px 0;line-height:1.6}.rr-button{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;border-radius:12px;border:1px solid var(--rr-line);padding:10px 14px;font-size:14px;font-weight:700;line-height:1.5}.rr-primary{background:var(--rr-orange);border-color:var(--rr-orange);color:#fff}.rr-primary>span{font-size:24px;line-height:1}.rr-secondary{background:var(--rr-bg);color:var(--rr-ink)}.rr-text-button{border:0;background:transparent;padding:10px 3px;min-height:44px;font-size:12px;color:var(--rr-orange)}.rr-alert{padding:15px;border:1px solid var(--rr-line);border-radius:12px;font-size:13px}.rr-alert button{background:var(--rr-bg);color:var(--rr-orange);border:1px solid var(--rr-line);padding:9px 18px;border-radius:9px}.rr-result{border:1px solid var(--rr-line);border-radius:18px;margin-top:18px;padding:20px}.rr-result h2{font-size:24px;line-height:1.4;letter-spacing:-.8px;margin:0 0 7px;overflow-wrap:anywhere}.rr-result-link{display:flex;justify-content:space-between;align-items:center;gap:10px;border-block:1px solid var(--rr-line);padding:15px 0;margin-top:18px;font-size:13px;font-weight:650}.rr-result-link b{color:var(--rr-orange);font-size:22px;font-weight:400}.rr-share-row{display:flex;gap:8px;margin-top:14px}.rr-share-row .rr-button{min-width:0;font-size:12px;min-height:44px}.rr-courses{margin-top:22px}.rr-courses h3{font-size:13px;margin:0}.rr-courses .rr-hint{margin:4px 0 10px}.rr-course{display:block;border-top:1px solid var(--rr-line);padding:12px 0}.rr-course strong{display:block;font-size:13px;overflow-wrap:anywhere}.rr-course small{display:block;color:var(--rr-muted);font-size:11px;margin-top:3px}.rr-course-empty{font-size:12px;color:var(--rr-muted);line-height:1.7}.rr-footnote{text-align:center;font-size:10px;color:var(--rr-muted);margin-top:18px}.rr-game.is-spinning .rr-eligible{opacity:.4}.rr-game.is-spinning #rrSettings{pointer-events:none;opacity:.6}#rrCopyFallback{margin-top:12px;font-size:11px;color:var(--rr-muted)}#rrShareUrl{width:100%;padding:10px;border:1px solid var(--rr-line);border-radius:8px;color:var(--rr-ink);background:var(--rr-bg);margin-top:6px;font-size:12px}
@media(min-width:760px){.rr-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:28px;align-items:start}.rr-controls{display:block;order:1}.rr-play{order:0;position:sticky;top:20px}.rr-map-wrap{height:565px}.rr-game>.rr-header{border-bottom:1px solid var(--rr-line)}.rr-intro{padding:28px 0}.rr-page h1{font-size:32px}}
@media(max-width:359px){.rr-page{padding-inline:16px}.rr-map-wrap{height:310px}.rr-choice{padding:20px}.rr-choice-desc{font-size:12px}.rr-page h1{font-size:25px}}
@media(prefers-color-scheme:dark){:root{--rr-bg:#000;--rr-ink:#edf0f4;--rr-muted:#a0a8b4;--rr-line:#3b414a;--rr-warm:#000;--rr-land:#101214;--rr-map-line:#50565f}.rr-point{background:#000;border-color:var(--rr-line)}.rr-range input:checked+span{border-color:var(--rr-orange)}.rr-eligible{fill:#361a10}.rr-highlight{fill:#ff783855}.rr-origin-dot{fill:#c6ced9}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.rr-map-source details{display:inline}.rr-map-source summary{display:inline;cursor:pointer;text-decoration:underline;text-underline-offset:2px}

/* v174: both drawing modes share one stable page, without a navigation reload. */
.rr-modes{display:flex;gap:4px;padding:4px;margin:0;border:1px solid var(--rr-line);border-radius:13px;background:var(--rr-bg)}
.rr-modes label{flex:1;min-width:0;position:relative;cursor:pointer}.rr-modes input,.rr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rr-modes span{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:700;color:var(--rr-muted)}
.rr-modes small{font-size:11px;font-weight:500}.rr-modes input:checked+span{background:var(--rr-warm);border-color:var(--rr-orange);color:var(--rr-orange)}
.rr-modes input:focus-visible+span{outline:2px solid var(--rr-orange);outline-offset:2px}.rr-modes input:disabled+span{opacity:.5}
.rr-mode-hint{font-size:12px;line-height:1.5;color:var(--rr-muted);margin:10px 2px 18px}.rr-label-guide{stroke:var(--rr-map-line);stroke-width:.65;fill:none;vector-effect:non-scaling-stroke;pointer-events:none}

.rr-scope{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--rr-orange);border-radius:12px;padding:12px 14px;margin:0 0 14px;background:var(--rr-bg)}.rr-scope small{display:block;color:var(--rr-muted);font-size:10px}.rr-scope strong{display:block;color:var(--rr-orange);font-size:16px;margin-top:3px}.rr-scope button{flex:none;background:none;border:0;color:var(--rr-muted);font-size:11px;padding:8px 0;text-decoration:underline;text-underline-offset:3px}.rr-sido-retry{order:4;justify-self:center;text-align:center;width:100%;margin-top:3px}
