:root{--ink:#24473e;--muted:#798477;--cream:#f4f1e3;--line:#d8decd;--mint:#aacaad;--accent:#cf8362;--sky-top:#94bec7;--sky-bottom:#ebdfb8}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(var(--sky-top),var(--sky-bottom));color:var(--ink);font-size:14px}button,input,select{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{opacity:.44;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #c87954;outline-offset:3px}button svg{width:20px;height:20px;vertical-align:middle}button{border:0;background:none}h1,h2,h3,p{margin:0}h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}#scene{position:absolute;inset:0;width:100%;height:100%;touch-action:none}#vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 55% 45%,transparent 40%,#183b382e),linear-gradient(0deg,#1b423724,transparent 24%,transparent 80%,#e8eadc11)}.hidden{display:none!important}.topbar{position:absolute;top:0;left:0;width:100%;padding:24px 30px;display:flex;align-items:center;justify-content:space-between;z-index:8;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:12px;text-align:left;font-size:16px;letter-spacing:2.3px;font-weight:750;text-shadow:0 1px 15px #f2efd3}.brand-mark,.loading-mark{position:relative;display:grid;place-items:center;font-family:Georgia,serif;font-size:39px;width:47px;height:47px;border:1.7px solid var(--ink);border-radius:50%;letter-spacing:0}.brand-mark span,.loading-mark span{position:absolute;bottom:1px;right:-5px;background:var(--accent);color:#fff8e7;border-radius:50%;width:20px;height:20px;font:10px/20px sans-serif;text-align:center}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px;font-weight:500}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{width:39px;height:39px;border-radius:50%;border:1px solid #eff0d9a0;background:#f3f2e5ce;display:grid;place-items:center;box-shadow:0 3px 8px #244b3910}.icon-btn:hover{background:#fff9e8;transform:translateY(-1px)}.tiny-tag{font-size:8px;letter-spacing:1.5px;margin-right:10px}.location-label{text-align:center;position:absolute;left:50%;transform:translateX(-50%);top:25px}.location-label .eyebrow{display:block;font-size:9px}.location-label b{font-family:Georgia,serif;display:block;font-size:24px;font-weight:400;margin-top:4px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:#6c8272}.edition{font-size:9px;letter-spacing:1.4px;font-weight:600;display:flex;align-items:center;gap:10px;margin-bottom:30px}.edition i,.live-dot,.home-caption>i{width:6px;height:6px;border-radius:50%;background:#cf815a;box-shadow:0 0 0 4px #e3d8b666}.hero-copy{position:absolute;left:6.2%;top:23%;z-index:5;max-width:590px}.hero-copy:before{content:"";position:absolute;z-index:-1;left:-160px;top:-200px;width:860px;height:1000px;pointer-events:none;background:radial-gradient(ellipse at 32% 47%,#e9e5cbe8,transparent 67%)}h1{font:clamp(76px,8.7vw,142px)/.88 Georgia,"Times New Roman",serif;letter-spacing:-6px;color:#234c40;margin-left:-5px}h1 em{font-weight:400;color:#476d54}.hero-copy>p{font-size:15px;line-height:1.9;margin-top:27px;color:#536c57;max-width:400px}.hero-buttons{display:flex;align-items:center;gap:8px;margin-top:31px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:15px 22px;border:1px solid #c4ceba;border-radius:7px;font-size:12px;font-weight:600;min-height:46px;transition:background .18s,transform .18s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--ink);color:#faf3da;border-color:var(--ink);box-shadow:0 7px 22px #243d3426}.btn.primary:hover{background:#355d4b}.btn.glass{background:#faf5e4c9;border-color:#c6c9b1}.btn.danger{background:#b36751;color:#fff5e4}.btn.small{padding:10px 15px;min-height:36px;font-size:11px}.btn.full{width:100%}.text-link{display:block;padding:18px 0;font-size:11px;color:#536e5a}.text-link span{margin-left:19px}.hero-stats{display:flex;gap:30px;margin-top:17px;padding-top:22px;border-top:1px solid #79916d4d;width:max-content}.hero-stats span{font-size:8px;letter-spacing:1.1px;display:flex;align-items:center;gap:8px}.hero-stats b{font:25px Georgia,serif}.home-caption{position:absolute;right:48px;bottom:105px;display:flex;gap:14px;align-items:center;color:#f5f0d5;text-shadow:0 1px 8px #234d38}.home-caption strong{font:20px Georgia,serif;font-weight:400;display:block}.home-caption span{font-size:10px;display:block;margin-top:7px;letter-spacing:.2px}.home-footer{position:absolute;bottom:0;left:0;right:0;padding:24px 32px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.2px;background:linear-gradient(transparent,#1a3e3925);color:#f8f1da}.home-footer button{font-size:10px;color:inherit}#loading{position:absolute;inset:0;background:var(--cream);z-index:100;display:flex;align-items:center;justify-content:center;flex-direction:column}.loading-mark{width:80px;height:80px;font-size:60px;margin-bottom:24px}#loading p{font-size:10px;letter-spacing:3px}.loadbar{width:160px;height:2px;background:#d6dece;margin:25px 0 18px;overflow:hidden}.loadbar i{display:block;width:60px;height:100%;background:#6b8c73;animation:load 1s infinite alternate ease-in-out}#loading small{font-size:10px;color:var(--muted)}@keyframes load{to{transform:translateX(100px)}}
.clock-strip{position:absolute;top:98px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:13px;border:1px solid #f4f0d67a;border-radius:30px;padding:9px 13px;background:#f3f2e6d9;font-size:9px;letter-spacing:.9px;z-index:6;box-shadow:0 4px 25px #1e4a3715}.clock-strip b{font-variant-numeric:tabular-nums;font-size:18px;font-weight:500;letter-spacing:0}.clock-divider{height:17px;border-left:1px solid #b5c1ac}.clock-strip button{padding:0 0 0 4px;font-size:16px}.field-card{position:absolute;top:174px;left:28px;width:293px;padding:22px;background:#f5f3e7ed;border:1px solid #ffffff73;border-radius:10px;box-shadow:0 12px 32px #294d3a17;z-index:6}.card-kicker{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.card-kicker .eyebrow{font-size:8px;letter-spacing:1.1px}#mission-count{font:18px Georgia,serif;color:#8ca387}.field-card h2{font-size:27px;line-height:1.1;letter-spacing:-.5px}.field-card p{font-size:11px;line-height:1.7;color:#6c7d6c;margin:12px 0 14px}.small-link{font-size:10px;width:100%;border-top:1px solid var(--line);padding:12px 0 0;display:flex;justify-content:space-between;text-align:left}.objective-step{display:flex;gap:8px;align-items:center;margin-bottom:10px;font-size:10px;color:#788574}.objective-step i{width:13px;height:13px;border:1px solid #bbc8b0;border-radius:50%;flex-shrink:0}.objective-step.done i{background:#8fac8c;border-color:#8fac8c}.objective-step.done{color:#92a08c;text-decoration:line-through}.objective-step.current{color:#294e3e;font-weight:600}.objective-step.current i{border:3px solid #cf916b}.progress{width:100%;height:3px;background:#dfe3d2;overflow:hidden}.progress i{display:block;height:100%;background:#8aaa89;transition:width .1s linear}#mission-timer{margin:15px 0}#mission-timer>span{display:block;font-size:9px;text-align:right;margin-top:7px;color:#a47654}.ticket-card{position:absolute;top:174px;right:28px;width:255px;border-radius:9px;background:#f6f2dedf;box-shadow:0 12px 32px #294d3a17;z-index:6;overflow:hidden}.ticket-header{padding:15px 18px;background:#cbd9ba93;display:flex;justify-content:space-between;align-items:center;border-bottom:1px dashed #90a88e;font-size:8px;letter-spacing:1.2px}.ticket-body{padding:17px 18px}.ticket-body h3{font-size:25px;margin-bottom:10px}.ticket-meta{display:flex;justify-content:space-between;font-size:9px;color:#738269}.ticket-time{font-size:20px!important;font-family:Georgia,serif;color:var(--ink)}.ticket-status{margin-top:13px;font-size:10px;line-height:1.6;color:#57735c}.ticket-actions{display:flex;gap:5px;margin-top:13px}.ticket-actions button{font-size:9px;padding:9px 11px;flex:1}.rival-strip{position:absolute;right:28px;top:132px;display:flex;gap:8px;align-items:center;font-size:9px;color:#365d48;background:#f2eed2c7;padding:7px 10px;border-radius:15px;max-width:255px}.rival-dots{letter-spacing:-3px;color:#b88167;font-size:13px}.map-cluster{position:absolute;bottom:37px;left:32px;z-index:6}.minimap-wrap{width:180px;height:180px;border:6px solid #f4f2e7ed;border-radius:50%;position:relative;box-shadow:0 5px 25px #12352629;background:#a2b29b;overflow:hidden}#minimap{width:100%;height:100%;display:block}.north-mark{position:absolute;left:50%;top:9px;transform:translateX(-50%);font-size:9px;color:#355748;font-weight:700}.minimap-wrap button{position:absolute;right:14px;bottom:14px;background:var(--cream);width:28px;height:28px;border-radius:50%;font-size:20px}.district-name{display:block;text-align:center;font-size:8px;letter-spacing:1.5px;margin-top:11px;color:#fbf6e5;text-shadow:0 1px 5px #31533f}.bottom-controls{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:12px;font-size:8px;color:#fcf4db;text-shadow:0 1px 7px #1a3f32;white-space:nowrap}kbd{font:9px ui-sans-serif,system-ui;display:inline-block;border:1px solid #b9c6ab7d;padding:3px 5px;border-radius:4px;margin-right:3px;background:#eeefdbd9;color:#355845;text-shadow:none}.interact-prompt{position:absolute;left:50%;bottom:99px;transform:translateX(-50%);display:flex;align-items:center;gap:13px;padding:12px 18px 12px 12px;min-width:235px;border-radius:8px;background:#f9f5e5ef;box-shadow:0 6px 22px #26452d36;z-index:9}.interact-prompt>kbd{font-size:17px;padding:9px 13px;background:var(--ink);color:var(--cream);border:0}.interact-prompt small{display:block;font-size:7px;letter-spacing:1.3px;color:#779079;margin-bottom:5px}.interact-prompt b{font-size:11px;font-weight:500}.interact-prompt>span{margin-left:auto;padding-left:10px}.quick-controls{position:absolute;right:28px;bottom:35px;display:flex;gap:9px;align-items:center;z-index:7}.stamina{position:absolute;right:0;bottom:54px;display:flex;gap:10px;align-items:center;white-space:nowrap;font-size:7px;letter-spacing:1.6px;color:#fff6d9;text-shadow:0 1px 5px #345038}.stamina>i{display:block;width:100px;height:3px;background:#eef0d86e}.stamina b{display:block;height:3px;background:#f3e0a9;width:100%}#waypoints{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}.waypoint{position:absolute;transform:translate(-50%,-100%);display:flex;align-items:center;flex-direction:column;gap:5px;color:#fff8d8;font-size:8px;text-shadow:0 2px 3px #355037;white-space:nowrap}.waypoint b{width:25px;height:25px;display:grid;place-items:center;background:#e5c68ded;color:#395341;border:1px solid #fff1c4;border-radius:50%;font-size:12px;box-shadow:0 0 0 5px #e9d6a336;text-shadow:none}.waypoint>i{height:12px;width:1px;background:#fff2c49e}.waypoint span{padding:4px 7px;background:#244c40bf;border-radius:3px}#modal-layer{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:30px}.modal-backdrop{position:absolute;inset:0;background:#143b346e;backdrop-filter:blur(6px)}#modal{position:relative;max-width:1040px;width:100%;max-height:90vh;overflow:auto;background:var(--cream);border:1px solid #f9f4e4;border-radius:15px;box-shadow:0 30px 100px #0b312e52;padding:35px 40px}.modal-close,.skill-close{position:absolute;right:18px;top:16px;width:32px;height:32px;border-radius:50%;border:1px solid #c7d1bd;display:grid;place-items:center;font-size:21px;background:#eeeedd}.modal-head{margin-bottom:23px;padding-right:27px}.modal-head .eyebrow{display:block;margin-bottom:10px}.modal-head h2{font-size:43px;letter-spacing:-1.3px;line-height:1.07}.modal-head p{font-size:12px;line-height:1.8;color:#73816e;max-width:710px;margin-top:13px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.muted{color:var(--muted);font-size:11px;line-height:1.7}.notice-box{background:#e4e8d6;border:1px solid #d6dfc8;border-radius:7px;padding:15px 18px;font-size:11px;line-height:1.8;color:#677c65;margin:17px 0}.challenge-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px}.challenge-card{position:relative;text-align:left;background:#f9f5e8;border:1px solid #ced7c3;border-radius:9px;padding:16px 14px;min-height:250px;display:flex;flex-direction:column;transition:.18s}.challenge-card:hover{transform:translateY(-5px);border-color:#769474;box-shadow:0 10px 16px #38522e0d}.challenge-card>small{font-size:7px;letter-spacing:1.1px;color:#7b8c73}.challenge-art{height:92px;display:grid;place-items:center;margin:4px 0 14px;background:radial-gradient(circle,#e1e6ca 0 37%,transparent 38%)}.challenge-art svg{width:45px;height:45px;stroke-width:1.1;color:#8b9d76}.challenge-card h3{font-size:22px;line-height:1.1;margin-bottom:10px}.challenge-card p{font-size:9px;line-height:1.7;color:#85907b;margin-bottom:14px}.challenge-card .card-bottom{margin-top:auto;display:flex;justify-content:space-between;font-size:8px;border-top:1px solid #dae0ce;padding-top:10px;color:#71856a}.card-bottom strong{color:#b38658;font-weight:600}.split{display:grid;grid-template-columns:1fr 1fr;gap:25px}.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.team-choice{border:1px solid #c7d2be;border-radius:9px;padding:24px;text-align:left;background:#f7f4e8}.team-choice.active{background:#dfe8d2;border-color:#819e77;box-shadow:inset 0 0 0 1px #819e77}.team-choice h3{font-size:25px;margin:16px 0 8px}.team-choice p{font-size:11px;color:#798672}.avatar-pair{display:flex;padding-left:5px}.avatar-pair span{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#c5b390;border:3px solid var(--cream);font:16px Georgia,serif;margin-left:-5px;color:#fbf2db}.avatar-pair span+span{background:#6d9b8c}.field-label{display:block;font-size:9px;letter-spacing:1px;color:#708469;margin:19px 0 7px}select,input{width:100%;background:#f8f6e9;border:1px solid #c8d4be;border-radius:5px;padding:12px;color:var(--ink)}.route-list{display:flex;flex-direction:column;gap:9px}.route-row{display:grid;grid-template-columns:66px 1fr 80px 75px 112px;align-items:center;gap:15px;border:1px solid #d7deca;background:#f9f6e8;border-radius:7px;padding:16px}.route-row.locked{background:#e9ecde}.route-row h3{font-size:22px;margin-bottom:4px}.route-row small{font-size:9px;color:#86907b}.route-time{font-family:Georgia,serif;font-size:24px}.route-platform{font-size:8px;letter-spacing:1px;color:#8d977f}.route-platform b{display:block;font:24px Georgia,serif;color:#587155;margin-top:4px}.route-row .reason{grid-column:2/-1;font-size:10px;color:#a57751;line-height:1.4;margin-top:-7px}.hand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:13px}.power-card{text-align:left;border:1px solid #c9d4bc;border-radius:10px;padding:21px;background:#f8f4e5;min-height:210px}.power-card svg{width:33px;height:33px;color:#869b71;margin:13px 0 17px}.power-card h3{font-size:24px}.power-card p{font-size:10px;color:#819075;line-height:1.8;margin-top:12px}.power-card>small{font-size:8px;letter-spacing:1.5px;color:#a6845c}.map-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:25px}#national-map{width:100%;height:440px;background:#cfdcce;border-radius:9px}.station-picker{max-height:360px;overflow:auto}.station-item{display:flex;width:100%;text-align:left;gap:10px;align-items:center;padding:10px 5px;border-bottom:1px solid #d9dfcf;font-size:11px}.station-item small{margin-left:auto;font-size:8px;color:#94a086}.station-item i{width:8px;height:8px;border-radius:50%;background:#b8c6b0}.station-item.unlocked i{background:#698c70}.passport-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:25px}.stat-tile{padding:16px;border:1px solid #d5ddc9;border-radius:7px;text-align:center}.stat-tile b{display:block;font:29px Georgia,serif}.stat-tile span{font-size:7px;letter-spacing:1.3px;display:block;margin-top:7px;color:#809176}.journal-event{padding:12px 0;border-bottom:1px solid #dce2d0;display:flex;gap:15px;font-size:11px;line-height:1.6}.journal-event small{font-size:8px;color:#92a084;min-width:45px}.photo-album{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.photo-album img{width:100%;display:block;border-radius:5px}.photo-album figcaption{font-size:9px;margin-top:7px;color:#6c836b}.photo-album figure{margin:0}.rules-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.rules-grid h3{font-size:25px;margin-bottom:12px}.rules-grid p{font-size:11px;line-height:1.9;color:#6d8169}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.settings-grid label{font-size:10px;color:#708368}.settings-grid select{margin-top:8px}.vote-card.selected{box-shadow:inset 0 0 0 2px #729167;background:#e4ebd7}.finish-title{font-size:72px!important;text-align:center}.finish-copy{text-align:center;font-size:13px;line-height:1.9;max-width:580px;margin:auto;color:#718466}.route-preview{display:flex;align-items:center;gap:20px;font:25px Georgia,serif;margin:24px 0}.route-preview>span{flex:1;height:1px;background:#bdcbb3}
#skill-layer{position:absolute;inset:0;z-index:20;pointer-events:none;background:linear-gradient(90deg,transparent 25%,#173c3422)}#skill-panel{pointer-events:auto;position:absolute;right:35px;top:50%;transform:translateY(-50%);width:480px;max-height:86vh;overflow:auto;border-radius:13px;background:#f6f3e6f7;box-shadow:0 25px 80px #15342d44;border:1px solid #fff5df;padding:29px}.skill-head .eyebrow{display:block;margin-bottom:10px;font-size:8px}.skill-head h2{font-size:34px;line-height:1.1;padding-right:20px;letter-spacing:-.8px}.skill-head p{font-size:11px;line-height:1.7;color:#7f8c75;margin-top:11px}.skill-meter{margin:24px 0 17px;position:relative;height:42px;border-radius:7px;background:#dae3cf;overflow:hidden;border:1px solid #cbd8bd}.sweet-spot{position:absolute;height:100%;left:39%;width:23%;background:#c5b4777d;border-left:1px solid #b39b60;border-right:1px solid #b39b60}.meter-needle{position:absolute;width:3px;height:100%;background:#3b6650;top:0}.meter-caption{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.2px;color:#7c8f72;margin-top:9px}.fish-water{height:140px;border-radius:8px;margin:20px 0;background:repeating-linear-gradient(174deg,#88aaa140 0 1px,transparent 1px 12px),linear-gradient(#adc6b3,#6b9b92);position:relative;overflow:hidden}.float{position:absolute;left:50%;top:50%;width:12px;height:25px;border-radius:8px;background:linear-gradient(#e7dbc1 50%,#bf7660 50%);animation:bob 2s infinite ease-in-out}.float:after{content:"";position:absolute;border:1px solid #e1efda82;border-radius:50%;width:53px;height:11px;left:-21px;top:16px}.float.bite{animation:bite .18s infinite alternate}.fish-shadow{position:absolute;top:60%;left:50%;width:70px;height:20px;border-radius:50%;background:#245b533b;transform:rotate(-14deg)}@keyframes bob{50%{transform:translateY(7px) rotate(5deg)}}@keyframes bite{to{transform:translateY(15px) rotate(30deg)}}.big-status{text-align:center;font:24px Georgia,serif;margin:19px 0 8px}.skill-hint{text-align:center;font-size:10px;line-height:1.8;color:#7c8e73;margin-bottom:18px}.skill-actions{display:flex;gap:9px;margin-top:17px}.skill-actions .btn{flex:1}.skill-score{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d7dfca;padding-top:15px;margin-top:19px;font-size:9px;color:#7c9073}.dispatch-table{width:100%;border-collapse:collapse;margin:19px 0;font-size:11px}.dispatch-table th{text-align:left;font-size:8px;letter-spacing:1.1px;color:#8b987f;padding:10px 7px;border-bottom:1px solid #d3dbc7}.dispatch-table td{padding:12px 7px;border-bottom:1px solid #e0e5d5}.dispatch-table tr.target{background:#e5d9ae70}.answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:21px 0}.answer-grid button,.ingredient{border:1px solid #c9d6bc;border-radius:7px;background:#f9f5e8;min-height:52px;padding:13px;font-size:13px}.answer-grid button:hover,.ingredient:hover{background:#e1e8d1}.recipe{display:flex;gap:8px;margin:22px 0}.recipe-slot{flex:1;min-height:80px;border:1px dashed #b7c9ab;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:10px;background:#e9edde;gap:9px}.recipe-slot b{font:25px Georgia,serif;color:#8d9e79}.ingredient-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ingredient{font-size:11px;padding:12px 6px}.ingredient i{display:block;margin:0 auto 9px;width:27px;height:22px;border-radius:40% 40% 48% 48%;background:var(--food,#c6bf94);box-shadow:inset -4px -3px 0 #294e3e11}.circuit-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;background:#d8e2ca;border:1px solid #c4d2b7;border-radius:8px;padding:10px;margin:24px 0;position:relative}.circuit-tile{background:#f1efdf;border-radius:5px;aspect-ratio:1;position:relative;border:1px solid #cfd9c2}.circuit-tile.lit{background:#c3d6ac}.circuit-tile svg{width:100%;height:100%;pointer-events:none}.circuit-labels{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#71936c}.rhythm-track{position:relative;height:270px;margin:20px 0 10px;background:linear-gradient(#e3e8d8,#cedfc2);border:1px solid #c7d5b9;border-radius:9px;overflow:hidden}.rhythm-track:before{content:"";position:absolute;left:50%;width:1px;height:100%;background:#bdcdb2}.hit-line{position:absolute;bottom:45px;width:100%;height:3px;background:#a18659;box-shadow:0 -15px 35px #b4a67942}.beat{position:absolute;width:55px;height:22px;border-radius:50%;background:#c57e63;transform:translateX(-50%);box-shadow:0 5px 0 #a56c54}.beat.right{background:#6b9989;box-shadow:0 5px 0 #517e70}.drum-pads{display:grid;grid-template-columns:1fr 1fr;gap:10px}.drum-pads button{padding:18px;border-radius:9px;border:1px solid #bdcdb1;background:#e4dfc9;font:18px Georgia,serif}.drum-pads button:last-child{background:#d7e4ce}.drum-pads button:active{transform:translateY(3px);background:#c5d9b8}.judgement{position:absolute;top:18px;left:0;right:0;text-align:center;font:23px Georgia,serif;z-index:2;color:#4d7453}.stamp-area{height:235px;background:radial-gradient(#bec9ae 1px,transparent 1px);background-size:7px 7px;border:1px solid #d7dfc9;border-radius:9px;margin:20px 0;position:relative;overflow:hidden}.stamp-target,.stamp-head{position:absolute;left:50%;top:50%;width:83px;height:83px;border-radius:50%;border:2px dashed #99ae86;transform:translate(-50%,-50%);display:grid;place-items:center;font:23px Georgia,serif;color:#97aa87}.stamp-head{border:3px double #b56b4f;color:#b56b4f;width:75px;height:75px;background:#f5e9d29c}.stamp-head:after{content:"JAPANORAMA";font:6px ui-sans-serif;letter-spacing:1px;position:absolute;bottom:12px}.skill-small-note{font-size:9px;line-height:1.6;color:#85977a;margin-top:14px}.viewfinder{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:min(68vw,850px);height:min(52vh,500px);border:1px solid #f8f3d649;pointer-events:none;z-index:11;background:linear-gradient(90deg,transparent 33%,#f7f1d930 33% 33.15%,transparent 33.15% 66%,#f7f1d930 66% 66.15%,transparent 66.15%),linear-gradient(0deg,transparent 33%,#f7f1d930 33% 33.15%,transparent 33.15% 66%,#f7f1d930 66% 66.15%,transparent 66.15%)}.viewfinder>i{position:absolute;width:27px;height:27px;border:2px solid #fff8dc}.viewfinder>i:nth-child(1){top:-1px;left:-1px;border-right:0;border-bottom:0}.viewfinder>i:nth-child(2){top:-1px;right:-1px;border-left:0;border-bottom:0}.viewfinder>i:nth-child(3){bottom:-1px;left:-1px;border-top:0;border-right:0}.viewfinder>i:nth-child(4){bottom:-1px;right:-1px;border-top:0;border-left:0}.focus-cross{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:21px;color:#fff8e1}.photo-readout{position:absolute;top:-27px;left:0;right:0;display:flex;justify-content:space-between;color:#f9f4da;font-size:9px;letter-spacing:1.3px;text-shadow:0 2px 4px #2d5243}.photo-readout b{font-weight:500}.photo-controls{position:absolute;bottom:55px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:35px;z-index:15;white-space:nowrap}.photo-controls>span{color:#fff7e3;font-size:8px;letter-spacing:1px;text-shadow:0 1px 4px #264738}.shutter{width:63px;height:63px;border:2px solid #f4edd9;border-radius:50%;padding:7px;background:#f7f2d841;flex-shrink:0}.shutter i{display:block;width:100%;height:100%;background:#f7efda;border-radius:50%}body.photographing .field-card,body.photographing .quick-controls,body.photographing .map-cluster,body.photographing .ticket-card,body.photographing .interact-prompt,body.photographing .bottom-controls{display:none}#toasts{position:absolute;top:95px;right:27px;z-index:60;width:315px;display:flex;flex-direction:column;gap:9px;pointer-events:none}.toast{background:#f7f1deef;border:1px solid #f4f3dc;border-left:3px solid #89a77d;border-radius:7px;padding:14px 18px;font-size:11px;line-height:1.65;box-shadow:0 8px 22px #21433422;animation:slide .25s ease-out}.toast.danger{border-left-color:#bf7c5a}.toast.success{border-left-color:#6b9d78}.toast.out{opacity:0;transform:translateY(-5px);transition:.3s}@keyframes slide{from{opacity:0;transform:translateX(15px)}to{opacity:1;transform:translateX(0)}}#transition{position:absolute;inset:0;z-index:80;background:#dfe6d1;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}#transition>span{font-size:9px;letter-spacing:2.5px;color:#7a8e70}#transition h2{font-size:58px;margin-top:22px;letter-spacing:-1px}#touch-controls{display:none}#weather-fx{position:absolute;inset:0;pointer-events:none;z-index:1}body.flash #weather-fx{background:#fff6dbcc}body.is-home .location-label{display:none}body.skill-active .interact-prompt{display:none!important}body.skill-active .field-card{opacity:.75}body.skill-active .bottom-controls{display:none}
@media(min-width:1600px){.field-card{top:200px;left:40px;width:310px}.ticket-card{right:40px;top:200px}.rival-strip{top:158px;right:40px}.hero-copy{top:23%}.hero-copy>p{font-size:17px}.hero-stats{margin-top:30px}.hero-buttons{margin-top:35px}}
@media(max-height:760px) and (min-width:900px){.hero-copy{top:22%}h1{font-size:96px}.edition{margin-bottom:21px}.hero-copy>p{margin-top:22px;font-size:13px;line-height:1.6}.hero-buttons{margin-top:22px}.hero-stats{margin-top:4px;padding-top:15px}.text-link{padding:14px 0}.field-card{top:148px;padding:17px;width:260px}.field-card h2{font-size:24px}.field-card p{font-size:10px}.minimap-wrap{width:150px;height:150px}.ticket-card{top:149px}.rival-strip{top:112px}.clock-strip{top:87px}#skill-panel{padding:23px;max-height:88vh}#modal{padding:28px 33px}.modal-head h2{font-size:37px}.challenge-card{min-height:222px}.challenge-art{height:65px}}
@media(max-width:1000px){.brand{font-size:12px;letter-spacing:1.4px}.brand small{font-size:7px}.tiny-tag{display:none}.topbar{padding:19px 22px}.hero-copy{left:6%;top:25%}.hero-copy h1{font-size:110px}.home-caption{right:27px;bottom:100px;max-width:220px}.field-card{left:18px;width:254px;padding:18px}.ticket-card{right:18px;width:225px}.quick-controls{right:20px}.bottom-controls{gap:7px}.bottom-controls span:last-child{display:none}.challenge-grid{grid-template-columns:repeat(3,1fr)}.challenge-card{min-height:210px}.challenge-art{height:60px}.route-row{grid-template-columns:58px 1fr 55px 60px 90px;gap:10px;padding:13px}.route-row h3{font-size:20px}.map-columns{grid-template-columns:1fr 1fr}#skill-panel{right:20px;width:430px}.hero-stats{gap:19px}.hero-copy:before{width:720px}.rival-strip{right:18px;max-width:225px;font-size:8px}}
@media(pointer:coarse), (max-width:700px){#touch-controls{display:block;position:absolute;inset:0;pointer-events:none;z-index:12}#joystick{pointer-events:auto;position:absolute;bottom:32px;left:29px;width:116px;height:116px;border-radius:50%;border:1px solid #f1efd886;background:#f5f0d324;touch-action:none;box-shadow:inset 0 0 25px #284a3429}#joystick span{position:absolute;width:43px;height:43px;border-radius:50%;background:#f1eddaca;border:1px solid #faf2ddc9;left:36px;top:36px;pointer-events:none;box-shadow:0 3px 6px #34574222}#joystick b{position:absolute;bottom:12px;width:100%;text-align:center;font:7px ui-sans-serif;letter-spacing:2px;color:#f5f0d8}.touch-actions{position:absolute;right:23px;bottom:35px;display:flex;align-items:center;gap:12px;pointer-events:auto}.touch-actions button{border:1px solid #eee9cdab;background:#edf0d9c9;border-radius:50%;width:40px;height:40px;font-size:11px;touch-action:none}#touch-action{width:61px;height:61px;background:#edf0d9ea;font-size:23px;font-family:Georgia,serif}.bottom-controls{display:none}.quick-controls{bottom:124px}.map-cluster{bottom:174px;left:23px}.minimap-wrap{width:111px;height:111px;border-width:4px}.district-name{display:none}.interact-prompt{bottom:43px;min-width:200px}.interact-prompt>kbd{display:none}.stamina{bottom:52px}}
@media(max-width:650px){.topbar{padding:17px 17px}.brand{font-size:12px;gap:8px;letter-spacing:1.5px}.brand small{font-size:6px;letter-spacing:1.3px}.brand-mark{width:35px;height:35px;font-size:29px}.brand-mark span{width:14px;height:14px;font-size:8px;line-height:14px}.top-actions{gap:7px}.icon-btn{width:33px;height:33px}.icon-btn svg{width:16px}.location-label{top:74px;left:20px;transform:none;text-align:left}.location-label b{font-size:24px}.location-label .eyebrow{font-size:7px;letter-spacing:1.3px}.clock-strip{left:auto;right:17px;transform:none;top:79px;padding:8px 10px;gap:8px}.clock-strip b{font-size:17px}.clock-strip #weather-display,.clock-divider{display:none}.clock-strip #day-display{font-size:7px}.hero-copy{left:8%;top:23%;right:6%}.hero-copy:before{left:-180px;top:-150px;width:670px;height:940px;background:radial-gradient(ellipse at 32% 37%,#e9e5cbe8,transparent 68%)}.edition{font-size:7px;letter-spacing:1px;margin-bottom:25px}.hero-copy h1{font-size:clamp(85px,22vw,120px);letter-spacing:-4px}.hero-copy>p{font-size:13px;line-height:1.8;margin-top:23px}.hero-buttons{margin-top:25px;flex-wrap:wrap}.hero-buttons .btn{font-size:11px;padding:14px 19px}.text-link{font-size:10px}.hero-stats{gap:20px;border-color:#899e7960;padding-top:19px;margin-top:15px}.hero-stats span{display:block;font-size:7px;letter-spacing:.6px}.hero-stats b{display:block;font-size:26px;margin-bottom:5px}.home-caption{display:none}.home-footer{padding:19px;align-items:center;gap:25px;font-size:6px;line-height:1.6}.home-footer button{font-size:8px;white-space:nowrap}.field-card{top:141px;left:17px;width:228px;padding:15px;border-radius:8px}.field-card .eyebrow{font-size:7px;letter-spacing:.8px}.field-card h2{font-size:23px}.field-card p{font-size:9px;line-height:1.65;margin:8px 0 10px}.field-card .small-link{font-size:9px;padding-top:9px}.objective-step{font-size:9px;margin-bottom:7px}.card-kicker{margin-bottom:10px}#mission-count{font-size:14px}#mission-timer{margin:10px 0}.rival-strip{display:none}.ticket-card{top:auto;bottom:216px;right:17px;width:167px;border-radius:7px}.ticket-header{padding:10px;font-size:6px}.ticket-body{padding:12px}.ticket-body h3{font-size:20px}.ticket-meta{font-size:7px}.ticket-time{font-size:16px!important}.ticket-status{font-size:8px;margin-top:9px}.ticket-actions{gap:4px;margin-top:9px}.ticket-actions button{padding:7px 6px;font-size:7px;min-height:30px}.quick-controls{right:19px;gap:7px;bottom:137px}.stamina{bottom:44px}.interact-prompt{left:50%;bottom:175px;transform:translateX(-50%);padding:9px 12px;max-width:265px;min-width:160px}.interact-prompt b{font-size:9px}.interact-prompt small{font-size:6px}.interact-prompt>span{display:none}.map-cluster{left:19px;bottom:187px}.minimap-wrap{width:100px;height:100px}#expand-map{width:22px;height:22px;font-size:16px;right:9px;bottom:9px}#joystick{left:21px;bottom:32px;width:104px;height:104px}#joystick span{left:30px;top:30px}.touch-actions{right:19px;bottom:42px;gap:9px}.touch-actions button{width:36px;height:36px;font-size:9px}#touch-action{width:56px;height:56px}#modal-layer{padding:12px}#modal{padding:26px 21px;max-height:94vh;border-radius:12px}.modal-head h2{font-size:35px}.modal-head p{font-size:11px;line-height:1.7}.modal-head .eyebrow{font-size:7px;letter-spacing:1.2px}.modal-close{right:12px;top:12px;width:29px;height:29px}.challenge-grid{grid-template-columns:repeat(2,1fr);gap:9px}.challenge-card{padding:13px;min-height:203px}.challenge-art{height:60px}.challenge-art svg{width:34px;height:34px}.challenge-card h3{font-size:23px}.challenge-card>small{font-size:6px}.challenge-card p{font-size:8px;line-height:1.6}.challenge-card .card-bottom{font-size:7px}.split,.map-columns,.rules-grid{grid-template-columns:1fr;gap:17px}.choice-grid{gap:9px}.team-choice{padding:17px}.team-choice h3{font-size:23px}.team-choice p{font-size:9px;line-height:1.6}.modal-actions{justify-content:stretch;gap:8px;padding-top:17px;margin-top:19px}.modal-actions .btn{flex:1;padding:13px 10px;font-size:10px}.notice-box{font-size:10px;padding:13px}.route-row{grid-template-columns:50px 1fr 45px;gap:10px;padding:13px}.route-row .ride-time{display:none}.route-row>button{grid-column:1/-1;min-height:31px;padding:8px}.route-row .reason{grid-column:1/-1;margin-top:0}.route-time{font-size:22px}.route-platform b{font-size:22px}.route-row h3{font-size:22px}.route-row small{font-size:8px}.hand-grid{grid-template-columns:repeat(2,1fr);gap:9px}.power-card{padding:17px;min-height:215px}.power-card h3{font-size:23px}.power-card p{font-size:9px}.passport-stats{grid-template-columns:repeat(2,1fr)}#national-map{height:290px}.station-picker{max-height:225px}.settings-grid{gap:12px}.photo-album{grid-template-columns:repeat(2,1fr)}#skill-panel{width:calc(100% - 26px);right:13px;padding:24px;max-height:88vh}.skill-head h2{font-size:32px}.skill-head p{font-size:10px}.skill-meter{height:39px}.rhythm-track{height:230px}.viewfinder{width:85vw;height:46vh;top:43%}.photo-controls{bottom:70px;gap:20px;flex-wrap:wrap;justify-content:center;width:100%}.photo-controls>span{font-size:7px;width:100%;text-align:center;order:3}.photo-controls .btn{padding:12px;font-size:10px}.photo-readout{font-size:7px;letter-spacing:.5px}.photo-controls .shutter{width:57px;height:57px}#toasts{top:119px;right:13px;width:min(300px,85vw)}.toast{font-size:10px;padding:12px 15px}#transition h2{font-size:42px}.finish-title{font-size:52px!important}body.skill-active .field-card,body.skill-active .ticket-card,body.skill-active .clock-strip{display:none}body.photographing #touch-controls{display:block}body.photographing .touch-actions{display:none}body.photographing #joystick{bottom:176px;opacity:.75}.rules-grid h3{font-size:23px}.rules-grid p{font-size:10px}}
@media(max-height:680px) and (max-width:650px){.hero-copy{top:23%}.hero-copy h1{font-size:84px}.edition{margin-bottom:20px}.hero-copy>p{margin-top:18px;font-size:12px}.hero-buttons{margin-top:20px}.hero-stats{margin-top:7px;padding-top:15px}.hero-stats b{font-size:23px}.field-card{width:206px;padding:12px;top:131px}.field-card h2{font-size:21px}.field-card p{display:none}.ticket-card{bottom:212px}.map-cluster{bottom:177px}.interact-prompt{bottom:155px}.rhythm-track{height:190px}.fish-water{height:95px}#skill-panel{padding:22px}.stamp-area{height:180px}.skill-head h2{font-size:29px}.skill-head p{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.001s!important;transition:none!important}.challenge-card:hover,.btn:hover,.icon-btn:hover{transform:none}}

/* Readable over both sunlit streets and station roofs. */
.topbar{background:linear-gradient(180deg,rgba(247,245,232,.93),rgba(247,245,232,.72) 65%,rgba(247,245,232,0));padding-bottom:26px;}

@media(max-width:700px){#touch-controls{display:block}.bottom-controls{display:none}}

/* Field labels stay readable over both dark sky and sunlit roofs. */
@media(max-width:650px){
 .location-label{left:16px;top:72px;max-width:194px;padding:7px 10px;background:#f5f3e7ed;border-radius:8px;}
 .location-label b{font-size:21px;line-height:1.1;}
 .interact-prompt{left:auto;right:17px;transform:none;width:calc(100% - 154px);min-width:0;max-width:265px;}
 .interact-prompt b{font-size:11px;line-height:1.4;}
}

/* Idle exploration leaves the architecture visible; active mission guidance stays expanded. */
.field-card.free-exploration{width:220px;padding:12px 15px;background:#f5f3e7dc;border-left:3px solid #b97551;border-radius:2px 8px 8px 2px;box-shadow:0 4px 16px #243d3412}
.field-card.free-exploration h2{font-size:20px;line-height:1.2}
.field-card.free-exploration #objective-kicker,.field-card.free-exploration #objective-description{display:none}
.field-card.free-exploration .small-link{padding-top:8px;margin-top:8px;font-size:10px}
@media(max-width:600px){.field-card.free-exploration{width:190px;padding:10px 12px}.field-card.free-exploration h2{font-size:17px}}

/* Sweep Dreams is an owned activity overlay; city controls stay behind it. */
body.sweep-active #skill-layer{position:fixed;z-index:45;background:#f3eedf;pointer-events:auto}
body.sweep-active #skill-panel{inset:0;transform:none;width:100%;height:100%;max-height:none;padding:0;border:0;border-radius:0;overflow:auto;background:#f3eedf}
body.sweep-active #hud,body.sweep-active .topbar,body.sweep-active #touch-controls{visibility:hidden}
/* Feel pass: toasts live bottom-right on desktop so the ticket and rival strip stay readable. */
@media (min-width:701px){#toasts{top:auto;bottom:96px;right:24px;width:330px}.toast{backdrop-filter:blur(6px)}}
.toast{animation:toastIn .32s cubic-bezier(.22,1,.36,1)}
@keyframes toastIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
/* Stack the curse chips under the departure pill. */
#lore-hud{top:184px!important}
@media (max-width:700px){#lore-hud{top:146px!important}}
@media (min-width:701px){.ticket-card{top:206px!important}}
@media (min-width:701px){body:has(#skill-layer:not(.hidden)) #toasts{right:auto;left:24px;bottom:220px;width:300px}}
.challenge-card.blocked{opacity:.62;filter:saturate(.6)}
.challenge-card.blocked .card-bottom span{color:#b8483a;font-weight:700}
body.drone-mode .topbar,body.confessional .topbar,body.drone-mode #waypoints,body.confessional #waypoints,body.drone-mode .cf-chip,body.confessional .cf-chip{visibility:hidden}
.waypoint.edge{opacity:.95}.waypoint.edge i{display:none}.waypoint.edge b{display:inline-grid;place-items:center;background:#e9b23c;color:#1d2a26;transition:transform .15s}
.waypoint.edge span{display:block}
.waypoint.courier b{background:#2d6fb5;color:#fff}
.waypoint.edge b{width:36px;height:36px;font-size:18px;box-shadow:0 0 0 6px #e9b23c40,0 4px 14px #0005}
.waypoint.edge span{font-size:10px}
