@import "https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap";:root{--paper:#f8f6ee;--panel:#fffdf6;--green:#244d40;--dark:#18352c;--ink:#233c32;--mute:#59675f;--border:#dadccf;--gold:#a46333;--serif:"Gowun Batang","Batang",serif;--sans:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif}*{box-sizing:border-box}body{color:var(--ink);background:var(--paper);font-family:var(--sans);margin:0;font-size:15px;line-height:1.56}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button,input,select,a{outline-offset:4px;outline-color:#93572e}[tabindex]:focus-visible{outline-offset:4px;outline-color:#93572e}button:focus:not(:focus-visible){outline:none}[tabindex]:focus:not(:focus-visible){outline:none}button{color:inherit}h1,h2,p{margin:0}a{color:inherit}.wrap{width:min(1184px,100% - 80px);margin-inline:auto}.site-header{border-bottom:1px solid var(--border);background:#fdfbf4}.header-inner{align-items:center;gap:20px;height:70px;display:flex}.brand{white-space:nowrap;letter-spacing:-.045em;background:0 0;border:0;align-items:center;gap:10px;padding:0;font-size:21px;font-weight:800;display:flex}.brand-icon{background:var(--green);color:#faf4dc;border-radius:9px;place-items:center;width:38px;height:38px;display:grid}.header-caption{border-left:1px solid var(--border);color:var(--mute);padding-left:20px;font-size:13px}.help-button,.subtle{border:1px solid var(--border);white-space:nowrap;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:13px;font-weight:700;display:flex}.help-button{margin-left:auto}.help-button:hover,.subtle:hover{background:#efeee1}.landing{padding-top:30px}.hero{color:#fffbec;background:linear-gradient(120deg,#254c40,#1d3d34);border-radius:20px;grid-template-columns:47% 53%;min-height:377px;display:grid;position:relative;overflow:hidden;box-shadow:0 17px 35px -24px #2446388a}.hero-copy{z-index:1;flex-direction:column;justify-content:center;align-items:flex-start;padding:40px 0 43px 46px;display:flex;position:relative}.hero-ticket{color:#e1cba4;letter-spacing:.025em;background:#ecdebe15;border:1px solid #e1cba447;border-radius:30px;align-items:center;gap:7px;padding:6px 11px;font-size:12px;font-weight:600;display:inline-flex}.hero h1{font-family:var(--serif);letter-spacing:-.095em;margin:15px 0 6px;font-size:clamp(61px,7.4vw,101px);font-weight:700;line-height:1.05}.hero-subtitle{letter-spacing:-.05em;color:#f8f1d8;font-size:clamp(18px,2vw,25px);font-weight:600}.hero-description{color:#e2e9df;letter-spacing:-.02em;margin:15px -40px 25px 0;font-size:14px;line-height:1.8}.hero-image{background-image:linear-gradient(90deg,#244a3d 0%,#244a3d66 15%,#0000 36%),url(/rail-hero.webp);background-position:50%,57% 56%;background-size:cover;min-height:100%}.primary,.secondary{white-space:normal;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 17px;font-weight:750;line-height:1.4;display:inline-flex}.primary{background:var(--green);color:#fff9e9}.primary:hover{background:#193b30}.secondary{color:var(--green);background:#fbf8ec;border-color:#d7d9c8}.secondary:hover{background:#e9eee1;border-color:#a2b7a7}.hero .hero-action{color:#223c31;background:#f0ddb2;border-color:#f0ddb2;justify-content:space-between;min-width:128px}.hero .hero-action:hover{background:#fff0c9}.boarding{padding-block:30px 26px}.section-top{justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:15px;display:flex}.section-top h2,.panel-top h1,.turn-panel h2{letter-spacing:-.055em;font-size:25px;font-weight:800}.section-top p,.panel-top p{color:var(--mute);margin-top:2px;font-size:14px}.up-to{color:var(--mute);white-space:nowrap;align-items:center;gap:6px;font-size:13px;display:inline-flex}.modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.mode{text-align:left;border:1px solid var(--border);background:#fffdf6;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-height:83px;padding:14px;display:grid}.mode:hover,.mode.selected{background:#f3f6e9;border-color:#527365}.mode-icon{border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.green{color:#38624f;background:#e6eee0}.gold{color:#8a5b2e;background:#f6ebd2}.blue{color:#3c6875;background:#e6efee}.mode strong,.mode small{display:block}.mode strong{letter-spacing:-.04em;font-weight:800}.mode small{color:var(--mute);margin-top:3px;font-size:12px}.mode>svg{color:#6b7f74}.entry-form{border:1px solid var(--border);background:#f2f3e8;border-radius:12px;align-items:end;gap:12px;margin-top:12px;padding:15px;display:flex}.entry-form label{flex-direction:column;gap:5px;font-size:13px;font-weight:700;display:flex}.entry-form input,.entry-form select{min-width:0;min-height:43px;color:var(--ink);background:#fffdf6;border:1px solid #c7cebe;border-radius:8px;padding:7px 11px}.entry-form input::placeholder{color:#68756b}.message{color:#822f25;margin-top:12px;font-size:13px}.resume{flex-wrap:wrap;gap:14px;margin-top:13px;display:flex}.resume button,.plain{color:var(--green);background:0 0;border:0;align-items:center;gap:5px;padding:2px;font-size:13px;font-weight:700;display:flex}.resume button:hover{text-decoration:underline}.route-overview{border:1px solid var(--border);background:#f2f1e6;border-radius:14px;padding:19px 25px 20px}.route-overview .section-top>svg{color:#577162}.route-row{grid-template-columns:repeat(5,1fr);margin:14px 0 0;padding:0;list-style:none;display:grid;position:relative}.route-row:before{content:"";border-top:2px dashed #8da393;position:absolute;top:15px;left:10%;right:10%}.route-row li{text-align:center;flex-direction:column;align-items:center;gap:2px;display:flex;position:relative}.route-row i{width:31px;height:31px;color:var(--green);background:#fbf8eb;border:1px solid #9eb7a1;border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.route-row .route-end i{background:var(--green);color:#fff8e8;border-color:var(--green)}.route-row small{color:var(--mute);font-size:11px}.site-footer{border-top:1px solid var(--border);min-height:61px;color:var(--mute);justify-content:space-between;gap:14px;margin-top:28px;padding-block:18px;font-size:12px;display:flex}.site-footer>span:first-child{align-items:center;gap:6px;font-weight:700;display:flex}.rules{border:1px solid var(--border);width:min(540px,100% - 26px);color:var(--ink);background:var(--panel);border-radius:15px;padding:0}.rules::backdrop{background:#16342ab3}.rules-inner{padding:24px}.rules-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.rules-head h2{letter-spacing:-.04em;font-weight:800}.rules li{margin-bottom:11px}.rules-source{color:var(--mute);font-size:12px}.game-shell{padding-top:22px}.game-bar{color:var(--mute);justify-content:space-between;align-items:center;margin-bottom:13px;font-size:13px;font-weight:700;display:flex}.game-bar>span{margin-left:10px;margin-right:auto}.game-grid{grid-template-columns:minmax(0,1fr) minmax(253px,310px);align-items:start;gap:14px;display:grid}.board-panel,.turn-panel,.passengers,.travel-log,.lobby{border:1px solid var(--border);background:var(--panel);border-radius:14px}.board-panel{overflow:hidden}.panel-top{justify-content:space-between;align-items:center;gap:8px;padding:15px 18px;display:flex}.round{white-space:nowrap;background:#e9efdf;border-radius:30px;padding:4px 10px;font-size:12px;font-weight:700}.board-scroll{overscroll-behavior-x:contain;scrollbar-color:#78968a #e9efe8;background:#e7efea;overflow:auto}.board-map{width:100%;min-width:595px;height:auto;font-family:var(--sans);display:block}.sea{fill:#5e7f82;opacity:.85;font-size:18px}.rail-mark{fill:#617b65;font-size:13px;font-weight:800}.map-note{fill:#526b58;font-size:10px}.station-label{fill:#284238;paint-order:stroke fill;stroke:#faf8ec;stroke-width:3px;stroke-linejoin:round;font-size:14px;font-weight:750}.station-label.prominent{font-size:17px;font-weight:800}.node-start,.node-finish{fill:#356052;stroke:#fcf8e6;stroke-width:2px}.node-checkpoint{fill:#af663e;stroke:#fcf8e6;stroke-width:2px}.node-quiz{fill:#efd99b;stroke:#8a6328;stroke-width:1px}.node-city{fill:#e9bd88;stroke:#815736;stroke-width:1px}.node-station{fill:#fcf8e6;stroke:#386a5c;stroke-width:1.4px}.node-badge{fill:#fff;pointer-events:none;font-size:11px;font-weight:800}.badge-quiz{fill:#573f25}.destination{cursor:pointer}:is(.destination:focus-visible .target-halo,.destination:hover .target-halo){fill:#e5c179a8;stroke:#855320}.target-halo{stroke:#a16b2f;stroke-width:2px;fill:#efcc754d}.pawn{pointer-events:none;transition:transform .5s}.legend{color:var(--mute);flex-wrap:wrap;align-items:center;gap:14px;padding:11px 16px;font-size:12px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{border-radius:50%;width:9px;height:9px;display:inline-block}.dot-check{background:#af663e}.dot-quiz{background:#efd99b;border:1px solid #8a6328}.dot-station{background:#faf5df;border:1px solid #386a5c}.game-side{gap:13px;display:grid}.turn-panel,.passengers,.travel-log{padding:16px}.turn-name,.passengers h2,.card-stop{align-items:center;gap:7px;font-size:13px;font-weight:750;display:flex}.turn-panel h2{margin:4px 0}.turn-panel p{color:var(--mute);margin-bottom:11px;font-size:13px}.turn-panel .full{margin-top:8px}.full{width:100%}.player-dot{border-radius:50%;flex:none;width:12px;height:12px;display:inline-block}.dice-line{align-items:center;gap:10px;display:flex}.dice-line>span{color:var(--green);font-family:system-ui;font-size:38px;line-height:1.1}.route-choices button{text-align:left;justify-content:space-between;font-size:13px;display:flex}.game-card{background:#f3f1e1;border:1px solid #d9d9c4;border-radius:9px;margin-top:7px;padding:12px}.game-card.quiz{background:#fbf2d9;border-color:#ead8ae}.game-card p{margin:7px 0}.game-card strong{font-size:13px}.answers{grid-template-columns:1fr 1fr;gap:7px;display:grid}.answers button{font-size:22px}.passenger{border-top:1px solid #e9e8dc;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:10px;padding-top:9px;display:grid}.passenger strong{overflow-wrap:anywhere;font-size:13px;line-height:1.3}.passenger small{color:#396b55}.passenger p{color:var(--mute);font-size:12px}.stamps{gap:3px;display:flex}.stamps span{color:#616d64;background:#f0efe5;border-radius:4px;place-items:center;width:20px;height:20px;display:grid}.stamps .collected{color:#2f654e;background:#e3eee0}.travel-log h2{font-size:14px}.travel-log ul{color:var(--mute);margin:7px 0 0;padding-left:15px;font-size:12px}.travel-log li:not(:last-child){margin-bottom:4px}.lobby{text-align:center;max-width:600px;margin-inline:auto;padding:30px}.lobby-intro>svg{color:#517c67}.lobby h1{letter-spacing:-.06em;font-size:33px}.lobby p{color:var(--mute);font-size:14px}.room-ticket{background:#eef1e3;border:1px dashed #97ab98;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;margin:20px 0;padding:13px;font-size:13px;display:flex}.room-ticket strong{letter-spacing:.12em;font-variant-numeric:tabular-nums;font-size:24px}.room-ticket .secondary{min-height:37px;font-size:12px}.lobby-list{gap:7px;margin-bottom:18px;display:grid}.lobby-seat{text-align:left;border:1px solid #e7e7da;border-radius:7px;align-items:center;gap:8px;padding:9px;display:flex}.lobby-seat strong{overflow-wrap:anywhere}.lobby-seat small{white-space:nowrap;color:var(--mute);margin-left:auto}.winners{background:#e9efdf;border:1px solid #b9c9b1;border-radius:12px;align-items:center;gap:15px;margin-bottom:13px;padding:15px;display:flex}.winner-icon{color:#865525;background:#f4e4be;border-radius:50%;flex-shrink:0;place-items:center;width:54px;height:54px;display:grid}.winners p,.winners span{color:var(--mute);font-size:12px}.winners h1{letter-spacing:-.04em;font-size:23px}.winners button{margin-left:auto}@media (max-width:920px){.wrap{width:calc(100% - 38px)}.hero-copy{padding-left:28px}.hero-description{font-size:13px}.desktop-break{display:none}.mode{gap:8px;padding:11px}.game-grid{grid-template-columns:minmax(0,1fr) minmax(235px,270px)}}@media (max-width:695px){.wrap{width:calc(100% - 28px)}.header-inner{gap:11px;height:60px}.header-caption{display:none}.landing{padding-top:17px}.hero{grid-template-columns:1fr;min-height:339px}.hero-copy{max-width:390px;padding:24px 19px}.hero-description{margin-right:0}.hero-image{background-image:linear-gradient(90deg,#214639 0%,#1e4337dc 34%,#1d3e3163 78%),url(/rail-hero.webp);background-position:50%,68%;position:absolute;inset:0}.modes{grid-template-columns:1fr;gap:7px}.mode{min-height:65px}.mode strong{font-size:14px}.boarding{padding:22px 0}.entry-form{flex-wrap:wrap}.entry-form label{flex:128px}.section-top h2,.panel-top h1{font-size:21px}.section-top p{font-size:13px}.up-to{font-size:11px}.route-overview{padding:14px}.route-row strong{font-size:14px}.site-footer{margin-top:22px}.game-grid{grid-template-columns:minmax(0,1fr)}.game-side{display:contents}.turn-panel{grid-row:1}.board-panel{grid-row:2}.winners{flex-wrap:wrap;align-items:flex-start}.winners button{margin-left:0}.lobby{padding:18px}.room-ticket{flex-wrap:wrap}.help-button{padding-inline:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.quiz-topic{color:#654524;white-space:nowrap;background:#f1e2be;border-radius:12px;margin-left:auto;padding:2px 8px;font-size:11px}.turn-panel .quiz-question{color:var(--ink);margin:10px 0 12px;font-size:15px;font-weight:750;line-height:1.55}.quiz-options{gap:6px;display:grid}.quiz-options button{text-align:left;justify-content:flex-start;width:100%;min-height:38px;padding:8px 10px;font-size:13px}.passive-answer{background:#fffbef;border:1px solid #ead8ae;border-radius:7px;padding:7px 9px;font-size:13px;display:block}.answers .passive-answer{text-align:center}.quiz-source{color:#536757;text-underline-offset:2px;font-size:11px}.quiz-reward{color:#244d40;background:#e7efdf;border:1px solid #c5d6be;border-radius:8px;margin-top:10px;padding:9px}.quiz-reward.setback{color:#693e26;background:#f2e4d9;border-color:#ddc1ab}.reward-title{align-items:center;gap:7px;display:flex}.target-choice strong{overflow-wrap:anywhere;min-width:0}.target-choice small{color:var(--mute);white-space:nowrap;margin-left:auto}.target-choice svg{flex:none}.ferry-label{fill:#486a72;paint-order:stroke fill;stroke:#e7efea;stroke-width:3px;font-size:12px;font-weight:700}.finish-note{fill:#455d4a;paint-order:stroke fill;stroke:#f1eee0;stroke-width:2px;font-size:11px;font-weight:750}
