/* All selectors are scoped. This stylesheet does not restyle the host game. */
.fn-ui{--paper:var(--a17-paper);--ink:var(--a17-ink);--muted:var(--a17-muted-paper);--rule:var(--a17-rule-paper);--active:var(--a17-active-paper);--done:var(--a17-success-paper);--paper-image:url('../../assets/paper.webp');font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:var(--ink);font-size:18px;line-height:1.5;font-weight:400;letter-spacing:-.015em;-webkit-font-smoothing:antialiased}
.fn-ui *{box-sizing:border-box}.fn-ui [hidden]{display:none!important}
.fn-ui button{font:inherit;color:inherit;cursor:pointer;border:0;border-radius:0;background:none;padding:0}.fn-ui button:disabled{cursor:default;opacity:.26}.fn-ui button:focus-visible{outline:2px solid #80afc0;outline-offset:6px}.fn-ui button:hover:not(:disabled){color:#b1d1da}
.fn-dialog{position:fixed;inset:0;z-index:1000;overflow-y:auto;overscroll-behavior:contain;background:rgb(5 8 8 / .70);padding:30px 5vw 24px;display:flex;flex-direction:column;align-items:center}
.fn-top,.fn-nav{width:100%;max-width:1380px;color:#e7e7df;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.fn-top{margin:0 0 22px;min-height:34px}.fn-name{margin:0;font-size:14px;font-weight:600;letter-spacing:.2em}.fn-actions{display:flex;align-items:center;gap:30px}.fn-languages{display:flex;gap:14px;font-size:12px;letter-spacing:.08em}.fn-languages button{color:#8c928e}.fn-languages button[aria-pressed=true]{color:#f0eee6;border-bottom:1px solid #e6e2d7;padding-bottom:3px}.fn-close{font-size:14px!important;display:flex;align-items:center;gap:13px}.fn-shortcut{color:#a8ada8;font:11px ui-monospace,monospace;letter-spacing:.04em}
.fn-book{width:100%;max-width:1380px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);position:relative;box-shadow:0 24px 65px #0007,0 3px 0 #b7ad98,0 6px 0 #6f695b;isolation:isolate;flex-shrink:0}
.fn-page{background-color:var(--paper);background-image:linear-gradient(#f4efe433,#efe6d311),var(--paper-image);background-size:auto,650px 650px;position:relative;min-width:0;min-height:750px;padding:30px 34px 22px;display:flex;flex-direction:column;border-top:1px solid #fff9;border-bottom:1px solid #8b7f6255}
.fn-page:before{content:'';position:absolute;inset:0;z-index:-0;pointer-events:none;background:repeating-linear-gradient(transparent 0,transparent 42px,#796a4810 43px,transparent 44px);opacity:.6}.fn-page>*{position:relative}
.fn-page-left{border-radius:5px 0 0 4px;box-shadow:inset -24px 0 25px -21px #564c3690,inset 3px 0 6px #fff8}.fn-page-right{border-radius:0 5px 4px 0;box-shadow:inset 20px 0 24px -21px #453b2888,inset -3px 0 5px #a8996d22;background-position:0 0,170px 110px}
.fn-page-header{display:flex;align-items:baseline;gap:18px;padding-bottom:14px;border-bottom:1.5px solid #3a352b;margin-bottom:23px}.fn-page-no{font:600 13px ui-monospace,monospace;color:var(--muted);letter-spacing:.06em}.fn-page-header h2{font-size:25px;line-height:1.2;font-weight:600;letter-spacing:-.035em;margin:0}
.fn-kicker{font-size:11px;font-weight:650;letter-spacing:.15em;color:var(--muted);margin:0 0 9px}.fn-objective{font-size:23px;font-weight:500;line-height:1.4;letter-spacing:-.025em;white-space:pre-line;margin:0 0 27px}.fn-task-heading{padding-bottom:10px;border-bottom:1px solid var(--rule);margin-bottom:8px}
.fn-tasks{list-style:none;padding:0;margin:0 0 28px}.fn-task{display:flex;gap:13px;align-items:center;min-height:36px;font-size:17px;line-height:1.35;position:relative;padding:5px 0}.fn-box{width:17px;height:17px;border:1.5px solid #847a68;flex-shrink:0;display:grid;place-items:center}.fn-box svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.1}.fn-task.is-done{color:var(--done)}.fn-task.is-done .fn-box{border-color:var(--done)}.fn-task.is-current .fn-box{border-color:var(--active)}.fn-task.is-current .fn-task-text{font-weight:600}.fn-task-tag{margin-left:auto;color:var(--active);font-size:9px;letter-spacing:.1em;font-weight:650;white-space:nowrap}.fn-task-text{min-width:0}.fn-page-footer{margin-top:auto;padding-top:12px;font:10px ui-monospace,monospace;letter-spacing:.13em;color:var(--muted)}
.fn-map{position:relative;width:100%;aspect-ratio:1.65;background:#6c706b;overflow:hidden;isolation:isolate}.fn-map-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) brightness(.67)}.fn-map svg{position:relative;display:block;width:100%;height:100%}.fn-map svg text{font-family:inherit;fill:#fff;font-size:14px;font-weight:500;paint-order:stroke;stroke:#1a211e;stroke-width:3px;stroke-linejoin:round}.fn-map svg .fn-secondary{fill:#f3cd8b;font-size:12px}.fn-map svg .fn-map-caption{font-size:10px;font-weight:400;letter-spacing:1px;fill:#e3e7df}.fn-map-scale{color:white}
.fn-destination{margin:24px 0 17px}.fn-destination .fn-kicker{color:var(--active);margin-bottom:6px}.fn-destination h3{font-weight:500;font-size:27px;letter-spacing:-.035em;margin:0}.fn-distance{border-top:1px solid var(--rule);padding-top:16px;color:var(--muted);font-size:15px;line-height:1.65}.fn-distance p{margin:0}.fn-map-note{font-size:10px;color:var(--muted);letter-spacing:.1em;margin-top:10px}
.fn-nav{justify-content:center;gap:38px;margin-top:22px;font-size:14px;letter-spacing:.02em}.fn-nav button{display:flex;gap:12px;align-items:center}.fn-page-count{font-size:13px;font-variant-numeric:tabular-nums;color:#e8e5dc}.fn-sr{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fn-ui[lang=ko] .fn-task{font-size:17px;letter-spacing:-.035em}.fn-ui[lang=ko] .fn-page-header h2{letter-spacing:-.045em}.fn-ui[lang=ko] .fn-objective{line-height:1.5}.fn-ui[lang=ko] .fn-kicker{letter-spacing:.08em}
@media(min-width:1500px) and (min-height:1000px){.fn-dialog{padding-top:44px}.fn-page{min-height:850px;padding:35px 40px 26px}.fn-task{min-height:41px;font-size:19px}.fn-ui[lang=ko] .fn-task{font-size:19px}.fn-objective{font-size:26px}.fn-page-header h2{font-size:28px}.fn-map{aspect-ratio:1.65}.fn-distance{font-size:17px}}
@media(max-width:1100px){.fn-dialog{padding:22px 3vw}.fn-page{padding:24px;min-height:720px}.fn-task,.fn-ui[lang=ko] .fn-task{font-size:15px}.fn-task-tag{font-size:8px}.fn-objective{font-size:20px}.fn-page-header h2{font-size:22px}.fn-page-header{gap:12px}.fn-distance{font-size:13px}}
@media(max-width:740px){.fn-dialog{padding:18px 16px}.fn-top{margin-bottom:18px}.fn-actions{gap:18px}.fn-name{font-size:12px}.fn-close{font-size:12px!important}.fn-book{display:block;max-width:560px}.fn-page{min-height:0;padding:26px 24px 24px}.fn-page-left,.fn-page-right{border-radius:0;box-shadow:inset 0 0 10px #5d4e2018}.fn-page-left{border-bottom:1px solid #857a6255}.fn-page-right{margin-top:3px}.fn-page-header h2{font-size:24px}.fn-task,.fn-ui[lang=ko] .fn-task{font-size:15px;min-height:39px}.fn-task-tag{font-size:8px}.fn-objective{font-size:23px}.fn-map{aspect-ratio:1.35}.fn-page-footer{margin-top:20px}.fn-distance{font-size:14px;margin-bottom:30px}.fn-nav{gap:24px}.fn-shortcut{display:none}}
@media(prefers-reduced-motion:reduce){.fn-ui *{scroll-behavior:auto!important}}
