/* Living World cozy presentation: homepage indigo surrounds, rounded typography and illustrated media. */
@font-face{font-family:RefugeDisplay;src:local('Georgia');font-display:swap}
:root{color-scheme:dark;--world-ink:#111226;--world-panel:#151832;--world-line:rgba(219,218,186,.16);--world-cream:#f4eddb;--world-muted:#a0a2bf;--world-gold:#e0bd78;--world-green:#9dcaa8;--world-purple:#baafe4}
*{box-sizing:border-box}.world-body{margin:0;background:#111226;color:var(--world-cream);font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;overflow:hidden;-webkit-tap-highlight-color:transparent}.world-app{position:relative;width:100%;height:100dvh;min-height:420px;overflow:hidden;isolation:isolate}.world-app button,.world-app a{-webkit-tap-highlight-color:transparent}.world-app button{font:inherit;color:inherit;cursor:pointer}.world-app button:disabled{cursor:default;opacity:.42}.world-app button:focus-visible,.world-app a:focus-visible,.world-app input:focus-visible{outline:2px solid #f0d08a;outline-offset:4px}.world-app a{color:inherit;text-decoration:none}.world-app svg{width:24px;height:24px;flex-shrink:0}.world-app [hidden]{display:none!important}.world-scene{position:absolute;inset:0;touch-action:none;background:#171a37 url('./art/ground.webp') center/cover no-repeat}.world-scene canvas{display:block;width:100%;height:100%;touch-action:none}.world-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(10,11,23,.92),rgba(12,13,27,.56) 16%,transparent 43%,transparent 64%,rgba(10,11,23,.72) 91%,#111226);z-index:1}.world-header{position:absolute;inset:0 0 auto;z-index:5;padding:max(15px,env(safe-area-inset-top)) 20px 0}.world-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.world-brand{display:flex;gap:9px;align-items:center;font-size:11px;font-weight:800;letter-spacing:2px}.world-brand small{display:block;font-size:6px;letter-spacing:1.65px;color:var(--world-muted);margin-top:3px}.world-brand-mark{color:var(--world-gold)}.world-brand-mark svg{width:30px;height:30px}.world-top-actions{display:flex;gap:8px;align-items:center}.world-icon-button{display:grid;place-items:center;width:44px;height:44px;background:rgba(18,20,42,.82);border:1px solid var(--world-line);border-radius:13px;box-shadow:0 3px 12px #090a152b;backdrop-filter:blur(14px)}.world-icon-button:hover{background:#232751;border-color:#d5c18d70}.world-icon-button svg{width:20px;height:20px}.connection-status{font-size:10px;color:var(--world-muted);display:flex;align-items:center;gap:5px}.connection-status i,.world-live-dot{width:5px;height:5px;display:inline-block;border-radius:50%;background:#a8d4ab;box-shadow:0 0 7px #b9e5b244}.connection-status.offline{color:#e8b68b}.connection-status.offline i{background:#e8b68b}.world-resource-bar{display:flex;align-items:center;background:linear-gradient(110deg,#171935ed,#13152ddb);border:1px solid #aaadc732;border-radius:17px;padding:8px 9px;box-shadow:0 5px 25px #0a0b1638;backdrop-filter:blur(15px);max-width:620px;margin:auto;gap:0}.world-level{position:relative;display:grid;place-items:center;flex-shrink:0;background:none;border:0;width:43px;height:45px;margin-right:4px}.world-level svg{width:39px;height:45px;color:#dbbc7a}.world-level b{position:absolute;font:700 16px Georgia;top:15px}.world-resource{display:flex;gap:8px;align-items:center;flex:1;padding:2px 9px;border-left:1px solid #b8bad020;min-width:0}.world-resource>span{width:27px;height:30px;display:grid;place-items:center;filter:drop-shadow(0 1px 3px #090a16)}.world-resource small{display:block;font-size:8px;font-weight:600;letter-spacing:1.2px;margin-bottom:3px;color:#babcd1}.world-resource strong{font-size:18px;line-height:1;font-weight:650;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.wood>span{color:#dca46b}.ore>span{color:#accbe2}.essence>span{color:#c9a5fa}.world-location{position:absolute;top:155px;left:20px;right:20px;text-align:center;z-index:2;pointer-events:none;text-shadow:0 2px 12px #111226}.world-eyebrow{font-size:9px;font-weight:650;letter-spacing:2.3px;color:#c9bd95}.world-location h1{font:400 clamp(32px,6vw,54px)/1.1 Georgia,serif;margin:7px 0 6px;letter-spacing:-1.6px}.world-location p{font-size:10px;letter-spacing:.3px;color:#c3c5d7;margin:0}.world-quest-peek{position:absolute;top:251px;left:20px;z-index:5;display:flex;align-items:center;gap:10px;max-width:calc(100% - 90px);padding:10px 13px 10px 10px;border:1px solid #c7b98435;border-radius:12px;background:#171934e0;box-shadow:0 4px 20px #0d0e1d3b;text-align:left;backdrop-filter:blur(14px)}.quest-emblem{display:grid;place-items:center;color:#d8bc7c;width:31px;height:34px;border-right:1px solid #bdaa7d33;padding-right:8px}.world-quest-peek small{display:block;font-size:7px;color:#aeb0c9;letter-spacing:1.3px;margin-bottom:5px}.world-quest-peek strong{display:block;font-size:10px;font-weight:600;line-height:1.3}.world-quest-peek>span:last-child svg{width:14px;height:14px;color:#cbb47a}.world-camera-controls{position:absolute;right:14px;top:251px;z-index:5;display:flex;flex-direction:column;gap:7px}.world-camera-controls .world-icon-button{width:40px;min-height:44px;border-radius:12px}.world-bottom{position:absolute;bottom:0;left:0;right:0;z-index:5;padding:0 14px max(10px,env(safe-area-inset-bottom));background:linear-gradient(0deg,#111226e6,transparent)}.world-primary{display:flex;flex-direction:column;gap:13px;align-items:center;margin-bottom:17px}.world-world-status{font-size:9px;letter-spacing:.4px;display:flex;align-items:center;gap:6px;text-shadow:0 1px 4px #080913}.world-collect{position:relative;display:flex;align-items:center;justify-content:center;gap:13px;min-width:205px;min-height:57px;padding:10px 20px;border:1px solid #ecdbb58c;border-radius:14px;background:linear-gradient(135deg,#e3c48b,#d2ad6c);color:#1b1e40!important;box-shadow:0 5px 0 #786944,0 10px 30px #0c0e1d80,inset 0 1px #fff5ce91;font-weight:750!important}.world-collect small{display:block;font-size:9px;font-weight:500;margin-top:4px;color:#4b5140}.world-collect>span:first-child svg{width:26px;height:26px}.world-collect:active{transform:translateY(2px);box-shadow:0 3px 0 #786944,0 6px 20px #0c0e1d80}.collect-spark{position:absolute;right:13px;top:13px;font-size:11px;color:#6d623b}.world-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;background:linear-gradient(180deg,#191b39fa,#14162efa);border:1px solid #a9abc52b;padding:6px;border-radius:19px;box-shadow:0 3px 30px #050c1940;max-width:520px;margin:auto}.world-tabs button{position:relative;min-height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid transparent;border-radius:13px;background:none;color:#888cb0;font-size:9px;letter-spacing:.3px}.world-tabs button svg{width:22px;height:22px}.world-tabs button.is-active{color:#e6cf9a;background:linear-gradient(135deg,#9d8a5244,#62669412);border-color:#c6ad7538;box-shadow:inset 0 1px #e3d5a713}.world-tabs button i{position:absolute;right:26%;top:9px;width:6px;height:6px;background:#dab979;border-radius:50%;border:1px solid #151832}.world-loading{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#20234ae8,#111226f9);gap:13px}.world-loading .loading-crest{color:#d7bc80;margin-bottom:10px}.loading-crest svg{width:60px;height:60px}.world-loading strong{font:24px Georgia;letter-spacing:-.4px}.world-loading small{font-size:11px;color:#a7a9c4}.world-loading>div{width:160px;height:2px;background:#c3c5d722;margin-top:9px;overflow:hidden}.world-loading>div i{display:block;width:35%;height:2px;background:#d6bd85;animation:world-loading 1.6s ease-in-out infinite}.world-network{position:absolute;top:135px;left:14px;right:14px;z-index:15;display:flex;align-items:center;gap:10px;background:#473323f5;padding:12px;border:1px solid #e3ba7b77;border-radius:12px;max-width:560px;margin:auto}.world-network p{font-size:11px;line-height:1.5;margin:0;flex:1}.world-network button{min-height:44px;border:1px solid #e4c59466;border-radius:9px;padding:8px;background:#72593d;font-size:11px}.world-toast{position:absolute;bottom:205px;left:50%;transform:translateX(-50%);z-index:50;background:#151730f7;border:1px solid #c8d5ad4d;box-shadow:0 6px 30px #05060d77;padding:13px 18px;border-radius:12px;max-width:calc(100% - 36px);width:max-content;font-size:12px;line-height:1.5;text-align:center;animation:world-rise .25s ease}.world-toast.error{border-color:#bf775c;color:#f4d6bf}.world-sheet{position:absolute;inset:auto 0 0;margin:auto;width:100%;max-width:620px;max-height:84dvh;border:1px solid #a9acc636;border-bottom:0;border-radius:26px 26px 0 0;background:linear-gradient(150deg,#1e2145,#151731 65%);color:var(--world-cream);padding:0 0 max(18px,env(safe-area-inset-bottom));box-shadow:0 -10px 80px #050b187a;overflow:hidden}.world-sheet::backdrop{background:#0a0b1880;backdrop-filter:blur(3px)}.world-sheet[open]{animation:world-sheet .24s cubic-bezier(.2,.75,.3,1)}.sheet-grip{height:4px;background:#a0a3c040;width:36px;border-radius:8px;margin:10px auto 1px}.sheet-header{display:flex;align-items:center;justify-content:space-between;padding:15px 23px 18px;border-bottom:1px solid var(--world-line);gap:12px}.sheet-header h2{font:28px/1.1 Georgia,serif;margin:7px 0 0;font-weight:400;letter-spacing:-.65px}.sheet-header .world-eyebrow{font-size:8px;letter-spacing:1.7px;color:#aaacc6}.sheet-header .world-icon-button{background:#1d2145;flex-shrink:0}.sheet-content{max-height:calc(84dvh - 116px);overflow:auto;overscroll-behavior:contain;padding:19px 23px 16px;scrollbar-width:thin;scrollbar-color:#565a81 transparent}.sheet-copy{color:#b3b5cc;line-height:1.7;font-size:12px;margin:0 0 20px}.world-panel-hero{position:relative;height:160px;background:radial-gradient(ellipse at center,#6d719d24,transparent 68%);display:flex;justify-content:center;align-items:center;margin:-5px 0 8px}.world-panel-hero img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 9px 8px #060d1755)}.world-panel-hero .level-badge{position:absolute;bottom:6px;left:50%;transform:translateX(-50%)}.level-badge{font-size:9px;letter-spacing:1px;padding:6px 9px;border:1px solid #d0bb7866;background:#1d2145;color:#ead8a3;border-radius:7px;white-space:nowrap}.world-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--world-line);border-radius:13px;padding:13px 7px;margin:15px 0 20px;background:#0f11233b}.world-stat-grid>div{text-align:center;border-right:1px solid var(--world-line)}.world-stat-grid>div:last-child{border:0}.world-stat-grid small{font-size:8px;color:#a3a6c2;text-transform:uppercase;letter-spacing:1px;display:block}.world-stat-grid strong{display:block;margin-top:6px;font-size:17px;font-weight:600}.world-progress{height:5px;background:#0f1022;border-radius:8px;overflow:hidden;margin:11px 0}.world-progress i{display:block;height:100%;background:linear-gradient(90deg,#6c709d,#c6cf94);border-radius:8px;transition:width .5s}.world-section-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:20px 0 12px}.world-section-head h3{font-size:12px;letter-spacing:.3px;font-weight:600;margin:0}.world-section-head small{font-size:10px;color:#9ea1bf}.world-action{display:flex;align-items:center;justify-content:center;gap:9px;min-height:47px;width:100%;padding:11px 14px;border-radius:11px;border:1px solid #c6b67c55;background:linear-gradient(130deg,#d9bf86,#c5a66e);color:#181b38!important;font-size:12px!important;font-weight:700!important;text-align:center;transition:filter .2s}.world-action:hover{filter:brightness(1.08)}.world-action.secondary{background:#232751;color:#dfe0ea!important;border-color:#979aba3b}.world-action.quiet{background:transparent;color:#b6b8ce!important;border-color:#8f92b42e}.world-action.danger{background:#593c3d;color:#f2d9cd!important;border-color:#c47a6266}.world-action svg{width:18px;height:18px}.world-action+.world-action{margin-top:9px}.world-button-row{display:flex;gap:9px}.world-button-row .world-action{margin-top:0}.world-costs{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:13px;margin:11px 0 16px;color:#b3b6cd;font-size:10px}.world-costs span{display:flex;gap:5px;align-items:center}.world-costs svg{width:15px;height:15px}.world-costs .insufficient{color:#f0ad8e}.world-item-list{display:flex;flex-direction:column;gap:9px}.world-building-row,.world-crew-row{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid var(--world-line);background:#1a1d3d;border-radius:12px;width:100%;text-align:left}.world-building-row img{width:64px;height:60px;object-fit:contain}.world-row-copy{flex:1;min-width:0}.world-row-copy strong{display:block;font-size:12px;line-height:1.45;font-weight:600}.world-row-copy small{display:block;font-size:10px;color:#a0a3c0;line-height:1.5;margin-top:4px}.world-row-copy .world-progress{margin-bottom:0}.world-building-row>svg,.world-crew-row>svg{width:15px;height:15px;color:#c9b47d}.world-portrait{flex-shrink:0;width:57px;height:66px;object-fit:contain;object-position:center;background:radial-gradient(ellipse at center,#49566e99,#161833);border:1px solid #a5b3e04a;border-radius:9px}.world-portrait.epic{border-color:#d3ac5966}.world-portrait.legendary{border-color:#bc6e726e}.world-crew-row.selected{border-color:#dcc58a;background:#282c5d}.world-crew-row.disabled{opacity:.5}.world-crew-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.world-crew-card{position:relative;padding:0;border:1px solid #a4a6c22b;border-radius:13px;overflow:hidden;background:#1d2043;text-align:left}.world-crew-card .portrait-wrap{height:150px;display:flex;justify-content:center;background:radial-gradient(ellipse at bottom,#5b5f8955,#181a3700);position:relative}.world-crew-card img{width:100%;height:100%;object-fit:contain;padding:10px 9px 0;filter:drop-shadow(0 4px 7px #0a0b1777)}.world-crew-card .crew-copy{padding:10px;border-top:1px solid #c0c2d512}.world-crew-card strong{display:block;font-size:11px;line-height:1.45}.world-crew-card small{display:block;color:#a1a4c1;font-size:9px;margin-top:4px;line-height:1.5}.world-crew-card .level-badge{position:absolute;left:7px;top:7px;font-size:8px;padding:4px 6px}.world-crew-card .crew-status{display:flex;align-items:center;gap:4px;position:absolute;bottom:5px;left:7px;right:7px;font-size:8px;background:#13152ce8;padding:5px 7px;border-radius:6px;color:#b6b8ce}.crew-status svg{height:12px;width:12px}.world-empty{padding:22px 14px;text-align:center;border:1px dashed #c9c9aa36;border-radius:15px;color:#a9abc5}.world-empty>svg{width:40px;height:40px;color:#cbb984;margin-bottom:8px}.world-empty p{font-size:12px;line-height:1.7}.world-empty .world-action{margin-top:15px}.world-tag{display:inline-flex;align-items:center;gap:5px;font-size:8px;color:#c2c4d7;letter-spacing:.5px;text-transform:uppercase;background:#353a7a55;padding:5px 7px;border-radius:5px}.world-hero-detail{display:flex;gap:20px;align-items:center;margin-bottom:17px}.world-hero-detail>img{width:120px;height:164px;object-fit:contain;filter:drop-shadow(0 5px 10px #0a0b17)}.world-hero-detail p{font-size:11px;color:#b2b4cb;line-height:1.8;margin:12px 0}.world-notice{border-left:2px solid #c7b781;background:#cfc18e0d;padding:11px 13px;border-radius:0 8px 8px 0;margin:16px 0;font-size:11px;color:#b5b7ce;line-height:1.7}.world-quest-card{padding:15px;border:1px solid #b1b3cb2c;border-radius:13px;background:#181a37}.world-quest-card+.world-quest-card{margin-top:11px}.world-quest-card.done{opacity:.55}.world-quest-card h3{font:19px Georgia;margin:0 0 7px;letter-spacing:-.4px}.world-quest-card p{font-size:11px;line-height:1.6;color:#aaacc6;margin:0}.quest-progress-label{font-size:9px;display:flex;justify-content:space-between;margin-top:13px;color:#b5b7ce}.world-quest-card .world-costs{justify-content:flex-start;margin-bottom:0}.world-quest-card .world-action{margin-top:14px}.world-journey{position:relative;padding:18px;border:1px solid #9b9ebd38;border-radius:15px;background:linear-gradient(140deg,#1f2349cc,#181b39ed),url('./art/ground.webp') center/cover;overflow:hidden;margin-bottom:13px}.world-journey h3{font:22px Georgia;margin:10px 0 8px;letter-spacing:-.4px}.world-journey p{font-size:11px;line-height:1.7;color:#b2b4cb;margin:0 0 12px}.world-journey .world-tag{background:#1113297a}.world-journey .world-action{margin-top:14px}.journey-route{height:74px;position:relative;margin:14px 8px 8px;display:flex;align-items:center;justify-content:space-between}.journey-route:before{content:'';position:absolute;left:0;right:0;top:33px;height:1px;border-top:1px dashed #d8c99b66}.journey-waypoint{width:29px;height:29px;display:grid;place-items:center;border:1px solid #c8bc8577;background:#1e2145;border-radius:50%;position:relative}.journey-waypoint svg{width:15px;height:15px;color:#cfbf8b}.journey-waypoint.active{background:#c3b071;color:#151730}.journey-party{display:flex;align-items:center;gap:5px;margin-top:10px}.journey-party img{width:38px;height:43px;object-fit:contain;background:#11132966;border:1px solid #acaec72b;border-radius:7px}.world-filters{display:flex;gap:7px;overflow:auto;margin:0 0 16px;padding-bottom:4px}.world-filter{min-height:44px;padding:9px 13px;background:#181a37;border:1px solid #a1a4c129;border-radius:9px;font-size:10px!important;white-space:nowrap}.world-filter.selected{color:#e1c891;background:#47514166;border-color:#c2b27c66}.world-settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid var(--world-line)}.world-settings-row strong{display:block;font-size:12px}.world-settings-row small{display:block;line-height:1.6;font-size:10px;color:#a1a4c1;margin-top:5px}.world-toggle{min-width:50px;height:44px;border:0;background:transparent;position:relative}.world-toggle:before{content:'';display:block;width:43px;height:24px;border-radius:20px;background:#111329;border:1px solid #a6a9c43d}.world-toggle:after{content:'';position:absolute;left:5px;top:13px;width:18px;height:18px;background:#7679a3;border-radius:50%;transition:transform .2s}.world-toggle[aria-checked=true]:before{background:#9295b677}.world-toggle[aria-checked=true]:after{transform:translateX(19px);background:#d9d5a7}.world-links{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.world-link{display:flex;align-items:center;gap:9px;min-height:48px;padding:12px;border:1px solid var(--world-line);border-radius:10px;background:#181b38;font-size:11px}.world-link svg{width:18px;height:18px;color:#c3b785}.world-welcome-illustration{height:180px;position:relative;margin:-19px -23px 22px;background:linear-gradient(0deg,#191c3b,transparent 70%),url('./art/ground.webp') center 43%/cover;border-bottom:1px solid #a2a5c11a}.world-welcome-illustration:after{content:'THE REFUGE';position:absolute;bottom:18px;left:0;right:0;text-align:center;font:32px Georgia;letter-spacing:2px;text-shadow:0 2px 14px #0a0b18}.world-offline-resources{display:flex;justify-content:space-around;margin:22px 0}.world-offline-resources>div{text-align:center}.world-offline-resources svg{width:35px;height:35px}.world-offline-resources strong{display:block;margin:8px 0 4px;font-size:24px;font-weight:500}.world-offline-resources small{font-size:9px;color:#a3a6c2;text-transform:uppercase;letter-spacing:1px}.world-noscript{position:absolute;inset:0;z-index:50;padding:70px 25px;background:#171934;display:flex;flex-direction:column;gap:20px;align-items:center;text-align:center}.world-noscript a{text-decoration:underline}.world-note{font-size:10px;line-height:1.7;color:#8f92b5;text-align:center;margin:15px 0 0}.world-allocation{font-size:11px;color:#b0b3cb;margin:10px 0 17px;line-height:1.7}.world-loading-failed .world-loading small{max-width:290px;text-align:center;line-height:1.6}
@keyframes world-loading{0%{transform:translateX(-100%)}100%{transform:translateX(390%)}}@keyframes world-rise{from{opacity:0;margin-bottom:-8px}to{opacity:1;margin-bottom:0}}@keyframes world-sheet{from{transform:translateY(35px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:768px){.world-header{padding:22px 30px 0}.world-topline{margin-bottom:0}.world-brand{font-size:13px}.world-brand small{font-size:7px}.world-brand-mark svg{width:36px;height:36px}.world-resource-bar{position:absolute;top:20px;left:50%;transform:translateX(-50%);width:430px}.world-resource{padding:3px 15px}.world-location{top:115px}.world-location h1{font-size:52px}.world-location p{font-size:12px}.world-quest-peek{top:125px;left:30px;max-width:275px;padding:14px}.world-quest-peek strong{font-size:12px}.world-quest-peek small{font-size:8px}.world-camera-controls{right:30px;top:136px;gap:9px}.world-camera-controls .world-icon-button{width:44px}.world-bottom{padding-bottom:20px}.world-tabs{max-width:480px}.world-tabs button{min-height:61px;font-size:10px;gap:6px}.world-primary{margin-bottom:19px}.world-collect{min-width:227px;min-height:60px}.world-world-status{font-size:10px}.world-sheet{inset:100px 25px auto auto;width:410px;max-height:calc(100dvh - 125px);border-radius:22px;border:1px solid #a9acc636;padding-bottom:12px}.sheet-grip{display:none}.sheet-header{padding-top:22px}.sheet-content{max-height:calc(100dvh - 235px)}.world-sheet::backdrop{backdrop-filter:none;background:#0a0b1850}.world-toast{bottom:215px}.world-network{top:95px}.world-crew-card .portrait-wrap{height:155px}}
@media(max-width:360px){.world-header{padding-left:11px;padding-right:11px}.world-brand{font-size:10px;letter-spacing:1.5px}.world-brand small{font-size:5.5px}.connection-status{display:none}.world-resource-bar{padding:6px}.world-resource{padding:2px 6px;gap:5px}.world-resource small{font-size:7px}.world-resource strong{font-size:16px}.world-resource>span{width:22px}.world-resource svg{width:21px;height:21px}.world-level{width:36px;margin-right:2px}.world-level svg{width:33px}.world-location{top:146px}.world-location h1{font-size:34px}.world-quest-peek{left:11px;top:237px;max-width:calc(100% - 70px);padding:9px}.world-quest-peek strong{font-size:9px}.world-camera-controls{right:9px;top:237px}.world-camera-controls .world-icon-button{width:37px}.world-bottom{padding-left:9px;padding-right:9px}.world-primary{margin-bottom:14px}.world-tabs{padding:5px}.world-tabs button{min-height:51px}.sheet-header{padding:15px 17px}.sheet-content{padding:17px}.sheet-header h2{font-size:25px}.world-welcome-illustration{margin:-17px -17px 18px}.world-crew-grid{gap:8px}.world-crew-card .portrait-wrap{height:135px}.world-crew-card strong{font-size:10px}.world-hero-detail>img{width:100px}.world-hero-detail{gap:14px}}
@media(max-height:680px) and (max-width:767px){.world-location{top:140px}.world-location h1{font-size:29px}.world-location p{display:none}.world-quest-peek,.world-camera-controls{top:205px}.world-camera-controls{gap:4px}.world-primary{gap:8px;margin-bottom:12px}.world-collect{min-height:49px;padding:7px 17px}.world-tabs button{min-height:48px}.world-world-status{font-size:8px}.world-sheet{max-height:90dvh}.sheet-content{max-height:calc(90dvh - 110px)}}
@media(orientation:landscape) and (max-height:600px){.world-resource-bar{max-width:350px;margin:0 auto}.world-header{padding-top:10px}.world-topline{position:absolute;left:15px;right:15px;top:10px}.world-brand{font-size:9px}.world-brand small{display:none}.world-resource strong{font-size:14px}.world-resource small{font-size:7px}.world-location{top:80px;left:15px;right:auto;text-align:left}.world-location h1{font-size:26px}.world-location p{display:none}.world-location .world-eyebrow{font-size:7px}.world-quest-peek{top:155px;left:15px;max-width:230px}.world-camera-controls{top:85px;right:15px;gap:4px}.world-bottom{left:50%;transform:translateX(-50%);width:390px}.world-world-status{display:none}.world-collect{min-height:44px;padding:6px 12px;min-width:170px;font-size:12px!important}.world-collect small{font-size:8px}.world-primary{margin-bottom:10px}.world-tabs button{min-height:43px;gap:2px;font-size:8px}.world-tabs button svg{width:18px;height:18px}.world-sheet{max-width:480px;max-height:95dvh}.sheet-content{max-height:calc(95dvh - 110px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.world-app.reduced-motion *,.world-app.reduced-motion *:before,.world-app.reduced-motion *:after{animation:none!important;transition:none!important}.world-scene{background-image:linear-gradient(#13152b99,#111329b3),url("./art/ground.webp")}


.world-scene{background-image:radial-gradient(ellipse at center,#1e2145,#111329 78%)}
@media(max-width:767px){.world-location{top:151px;left:19px;right:auto;text-align:left}.world-location .world-eyebrow{font-size:7px;letter-spacing:1.5px}.world-location h1{font-size:29px;margin:5px 0}.world-location p{display:none}.world-quest-peek{top:214px;max-width:245px}.world-camera-controls{top:213px}.world-quest-peek strong{font-size:10px}.world-quest-peek small{font-size:7px}.world-vignette{background:linear-gradient(180deg,#0e0f1fef,rgba(14,15,31,.64) 15%,transparent 37%,transparent 69%,rgba(13,14,30,.52) 85%,#111226 99%)}}
@media(max-width:360px){.world-location{top:143px;left:12px}.world-location h1{font-size:26px}.world-quest-peek,.world-camera-controls{top:205px}.world-quest-peek{max-width:235px}}

.world-resource-flight{position:fixed;z-index:90;display:flex;align-items:center;gap:6px;pointer-events:none;color:#f4e5bd;filter:drop-shadow(0 3px 7px #0d0e1e)}.world-resource-flight svg{width:31px;height:31px}.world-resource-flight b{font-size:20px}.world-resource-flight.wood{color:#e4b37d}.world-resource-flight.ore{color:#c6e1ee}.world-resource-flight.essence{color:#d1b6ff}

.sheet-feedback{font-size:11px;line-height:1.6;padding:11px 18px;background:#32387555;border-bottom:1px solid #a1a3c044;color:#e2edcf}.sheet-feedback.error{background:#78503c44;color:#ffe0bd;border-color:#dca06b55}

@media(max-width:767px){.world-camera-controls{top:auto;bottom:190px;right:14px;flex-direction:row;gap:5px}.world-camera-controls .world-icon-button{width:40px;height:44px;background:#181a37dc}.world-camera-controls .world-icon-button svg{width:18px;height:18px}}

@media(orientation:landscape) and (max-height:600px){.world-app{min-height:280px}.world-sheet{inset:10px 12px auto auto;width:min(430px,65vw);max-height:calc(100dvh - 20px);border-radius:20px}.sheet-content{max-height:calc(100dvh - 125px)}}

.world-brand{min-height:44px}.world-level{min-width:44px;min-height:44px}.world-hero-detail a.world-tag{min-height:44px}.world-camera-controls .world-icon-button{min-width:44px;min-height:44px}

:root{--world-ink:#090b18;--world-panel:#121528;--world-line:rgba(173,148,255,.16);--world-cream:#f1eefc;--world-muted:#9295b2;--world-purple:#ad94ff}
.world-body{background:#090b18}.world-scene{background-image:radial-gradient(ellipse at center,#191b35,#090b18 78%)}
.world-resource-bar{background:linear-gradient(110deg,#191b35ed,#121528eb);border-color:#ad94ff32}
.world-tabs{background:linear-gradient(180deg,#191b35fa,#121528fa);border-color:#ad94ff2b}
.world-tabs button.is-active{color:#dccdff;background:linear-gradient(135deg,#ad94ff30,#6da6ff12);border-color:#ad94ff45;box-shadow:inset 0 1px #d7c4ff13}
.world-sheet{background:linear-gradient(150deg,#191b35,#121528 65%);border-color:#ad94ff36}
.world-brand-mark,.world-eyebrow{color:#b9a2ff}

.hearth-summary{display:flex;gap:12px;justify-content:space-between;font-size:10px;color:#b9b0d4;border-bottom:1px solid var(--world-line);padding-bottom:15px;margin-bottom:20px}.hearth-summary span{display:flex;gap:6px;align-items:center}.hearth-summary svg{width:17px;height:17px;color:#c3a6ef}.hearth-project{border:1px solid #ad94ff30;border-radius:17px;padding:0 15px 16px;margin:18px 0;background:linear-gradient(145deg,#21203b,#15172b);overflow:hidden}.hearth-cover{display:block;width:calc(100% + 30px);margin:0 -15px 15px;aspect-ratio:2/1;object-fit:contain;background:#181329}.hearth-kicker{font-size:8px;letter-spacing:1.3px;text-transform:uppercase;color:#c6b3e1}.hearth-project h3,.hearth-active h3{font:26px Georgia;margin:8px 0 12px;letter-spacing:-.6px}.hearth-project p{font-size:11px;line-height:1.8;color:#aaa6bf}.hearth-project>small{color:#928ba9;font-size:9px}.hearth-rank{display:flex;justify-content:space-between;gap:8px;color:#c6b3e1;font-size:10px;margin:16px 0}.hearth-rank span:last-child{letter-spacing:3px;color:#dac38b}.hearth-active>.hearth-cover{width:calc(100% + 46px);margin:-19px -23px 22px;border-radius:0;aspect-ratio:1.9/1}.hearth-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}.hearth-steps>div{display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;position:relative;color:#8e88a5}.hearth-steps span{display:grid;place-items:center;border-radius:50%;border:1px solid #ad94ff38;background:#15172b;width:32px;height:32px;font-size:12px}.hearth-steps small{font-size:9px;line-height:1.5;max-width:90px}.hearth-steps .current{color:#e4d5fa}.hearth-steps .current span{background:#ad94ff25;border-color:#c3a5ff;box-shadow:0 0 20px #ad94ff12}.hearth-steps .done{color:#ccb77f}.hearth-help{font-size:10px;line-height:1.7;display:flex;gap:8px;color:#b8accf;padding:13px;border:1px solid #ad94ff24;border-radius:10px;margin:18px 0}.hearth-help svg{width:19px}.hearth-echo{border:1px solid #ad94ff33;border-radius:12px;padding:13px;margin:18px 0;background:#ad94ff09}.hearth-echo p{font-size:11px;color:#c1b2dc;line-height:1.7;margin:0 0 12px}.hearth-active>.world-action{min-height:50px}.hearth-echo .world-action{font-size:11px!important}.hearth-project-grid{display:block}
@media(max-width:360px){.hearth-active>.hearth-cover{width:calc(100% + 34px);margin:-17px -17px 18px}.hearth-summary{font-size:9px;gap:7px}}

.world-sheet[open]{display:flex;flex-direction:column}.sheet-header,.sheet-grip,.sheet-feedback{flex-shrink:0}.sheet-content{flex:1 1 auto;min-height:0;overflow-y:auto;max-height:none}

/* v4: larger type, soft color, illustrated primary actions and calmer maps. */
@font-face{font-family:RefugeRound;src:url('./fonts/nunito.woff2') format('woff2');font-weight:200 1000;font-style:normal;font-display:swap}
:root{--world-ink:#11142b;--world-panel:#252947;--world-cream:#fff9ef;--world-muted:#bfc1df;--world-line:#979cda38;--wood:#ffbe68;--ore:#8fdaff;--essence:#dfadff}
.world-body{font-family:RefugeRound,'Trebuchet MS',system-ui,sans-serif;font-size:16px;background:#101329}.world-app button{font-family:inherit;font-weight:800}.world-app h1,.world-app h2,.world-app h3,.world-loading strong{font-family:RefugeRound,'Trebuchet MS',sans-serif;font-weight:900;letter-spacing:-.5px}.world-app h3{font-size:23px;line-height:1.3}.world-app svg{stroke-width:2;width:23px;height:23px}.world-media-icon{display:inline-block;object-fit:contain;vertical-align:middle;width:32px;height:32px;flex-shrink:0;pointer-events:none;user-select:none}.world-app small{font-family:inherit}
.world-header{padding:12px 16px 0}.world-topline{margin-bottom:9px}.world-brand{font-size:12px;letter-spacing:1px}.world-brand small{display:none}.world-brand-mark{color:#c7b6ff}.connection-status{font-size:12px;color:#cad2e7}.world-icon-button{background:#292e50ed;border-color:#aab3f14d;border-radius:16px;box-shadow:0 3px 0 #0a0e2340;backdrop-filter:blur(8px)}.world-icon-button:hover{background:#3c4267}.world-resource-bar{padding:9px 5px;background:linear-gradient(145deg,#303552f5,#1c213bf5);border:2px solid #8e9bd04a;border-radius:23px;box-shadow:0 4px 0 #070b1a38}.world-resource{gap:6px;padding:2px 8px}.world-resource>span{width:34px;height:38px;filter:none}.world-resource .world-media-icon{width:35px;height:35px}.world-resource small{font-size:12px;letter-spacing:0;margin-bottom:1px;font-weight:800;color:#d8def1}.world-resource strong{font-size:22px;font-weight:900;color:#fff}.world-resource.wood>div>small{color:#ffcb81}.world-resource.ore>div>small{color:#a3e3ff}.world-resource.essence>div>small{color:#e4bdff}.world-level{width:42px;margin-right:0}.world-level svg{width:33px}.world-level b{font:900 16px RefugeRound;top:15px}
.world-location{top:150px}.world-location h1{font-family:RefugeRound;font-size:30px;font-weight:900;text-shadow:0 3px 0 #11193266;margin:0}.world-location .world-eyebrow{display:none}.world-location p{font-size:14px}.world-vignette{background:linear-gradient(180deg,#11142bf2,rgba(17,20,43,.4) 17%,transparent 32%,transparent 72%,#11142bb0 90%,#11142b)}.world-quest-peek{top:196px;left:16px;padding:10px 12px;max-width:285px;min-height:57px;border:2px solid #bdadf158;border-radius:18px;background:#363456ed;gap:8px;box-shadow:0 4px 0 #16172b40}.quest-emblem{width:35px;border:0;padding:0}.quest-emblem .world-media-icon{width:34px;height:34px}.world-quest-peek small{font-size:10px;letter-spacing:1px;color:#d0c5ed;margin-bottom:3px}.world-quest-peek strong{font-size:14px;line-height:1.3}.world-quest-peek>span:last-child svg{width:17px;color:#ded2ff}.world-camera-controls .world-icon-button{min-width:44px;background:#30375be8}.world-bottom{background:linear-gradient(0deg,#11142bf2,transparent);padding-bottom:max(11px,env(safe-area-inset-bottom))}.world-primary{gap:10px;margin-bottom:14px}.world-world-status{font-size:12px;font-weight:800;letter-spacing:0;text-shadow:0 2px 5px #10152b}.world-collect{border-radius:22px;min-height:64px;min-width:230px;gap:12px;background:linear-gradient(150deg,#ffe7a0,#ffc96b);color:#453222!important;border:2px solid #fff1ba;box-shadow:0 5px 0 #ab7849,0 12px 25px #070b2350;font-size:20px!important}.world-collect .world-media-icon{width:39px;height:39px}.world-collect small{font-size:12px;color:#655132;font-weight:800}.collect-spark{display:none}.world-tabs{border:2px solid #8a94c44d;border-radius:25px;padding:6px;background:linear-gradient(145deg,#343958fa,#202641fa);gap:4px;box-shadow:0 5px 0 #070b1833}.world-tabs button{min-height:70px;font-size:14px;font-weight:900;gap:2px;letter-spacing:0;color:#c6ceef;border-radius:18px}.world-tabs .world-media-icon{width:35px;height:35px}.world-tabs button.is-active{color:#fff7df;background:linear-gradient(145deg,#7264b266,#4f5c8d66);border-color:#c4b5ff77;box-shadow:inset 0 1px #fff2}.world-tabs button i{background:#ffce6f;top:6px;width:8px;height:8px;right:20%}
.world-sheet{border:2px solid #949bd25c;border-radius:30px 30px 0 0;background:linear-gradient(145deg,#2f3454,#202540 70%);color:#fff9ef;padding-bottom:max(18px,env(safe-area-inset-bottom));box-shadow:0 -12px 70px #070b2366}.world-sheet::backdrop{background:#0c102c69;backdrop-filter:blur(3px)}.sheet-grip{background:#a7acd060;width:42px;height:5px}.sheet-header{padding:14px 22px 16px;gap:12px;border-color:#a3a8d824}.sheet-header h2{font:900 28px/1.15 RefugeRound;margin:4px 0}.sheet-header .world-eyebrow{display:none}.sheet-content{padding:20px 22px}.sheet-copy{font-size:16px;line-height:1.65;color:#e0e3f5;margin:0 0 20px}.world-action{min-height:54px;border:2px solid #d6caff66;border-radius:18px;font-size:17px!important;font-weight:900!important;line-height:1.3;padding:13px 16px;background:linear-gradient(145deg,#b7a4ff,#8e8ce8);color:#202744!important;box-shadow:0 4px 0 #555182;margin-top:12px;gap:9px}.world-action .world-media-icon{width:30px;height:30px}.world-action:active{transform:translateY(2px);box-shadow:0 2px 0 #555182}.world-action.secondary{background:#50578366;color:#f8f5ff!important;border-color:#c1c8f052;box-shadow:0 3px 0 #121a3040}.world-action.gather,.world-action.helper{background:linear-gradient(140deg,#b6edb4,#7dd6b8);color:#183f3e!important;border-color:#dbf8d0;box-shadow:0 4px 0 #438775}.world-action.craft{background:linear-gradient(145deg,#d7b3ff,#b0a4ff);color:#353056!important;border-color:#ecdaff;box-shadow:0 4px 0 #7560a0}.world-action.upgrade{background:linear-gradient(145deg,#ffd393,#ffb273);color:#533329!important;border-color:#ffe4b6;box-shadow:0 4px 0 #b9764c}.world-action.trip{background:linear-gradient(145deg,#b1eaff,#8bc5f4);color:#263f60!important;border-color:#d5f4ff;box-shadow:0 4px 0 #4d7ca9}.world-action.memory{background:linear-gradient(145deg,#e5b6ff,#c397ed);color:#49325d!important;border-color:#f1dcff;box-shadow:0 4px 0 #8555a2}.world-action.quiet{background:none;box-shadow:none;border-color:transparent;color:#c4cbe5!important;min-height:48px;font-size:14px!important}.world-action.danger{background:#8c4a6455;color:#ffdedf!important;border-color:#f0a4b84d;box-shadow:none}.world-action:disabled{opacity:.5;box-shadow:none}.world-costs{gap:10px;flex-wrap:wrap;margin:15px 0}.world-costs>span{font-size:17px;font-weight:900;display:inline-flex;align-items:center;gap:5px;border-radius:14px;padding:7px 10px;background:#161d3755}.world-costs .world-media-icon{width:28px;height:28px}.wood{color:#ffd08a}.ore{color:#ace8ff}.essence{color:#e6bdff}.world-costs .insufficient{color:#ffb5ba}.world-section-head{margin-top:23px;margin-bottom:13px;gap:12px}.world-section-head h3{font-size:21px}.world-section-head small{font-size:14px;color:#d2d5ec}.world-tag{font-size:13px;padding:7px 11px;border-radius:13px;border-color:#bdc4e844;color:#d6ddf5;background:#1d25453d}.world-notice{padding:15px;border:1px solid #aab4e641;border-radius:17px;color:#e0e6fb;background:#535b8e2b;font-size:14px;line-height:1.7}.world-note{font-size:13px;line-height:1.7;color:#c0c7e2;margin-top:18px}.world-empty p{font-size:16px;line-height:1.7}.world-more{margin-top:17px;border-top:1px solid #a9b0dc2b;color:#c7cee8;font-size:14px;line-height:1.7}.world-more summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:48px;cursor:pointer;font-size:14px;font-weight:800;gap:10px}.world-more summary::-webkit-details-marker{display:none}.world-more summary svg{width:17px;height:17px}.world-more[open]>summary svg{transform:rotate(45deg)}.world-more>div{padding:4px 0 10px}.world-more p{margin:6px 0 10px}.world-more .world-costs>span{font-size:15px}.upgrade-box{margin-top:26px;padding:17px;border:2px solid #efbf7650;border-radius:22px;background:#d6a1730b}.upgrade-box h3{margin:0 0 9px;font-size:22px;color:#ffdfab;display:flex;gap:8px;align-items:center}.upgrade-box p{font-size:15px;line-height:1.6;color:#d8d9ec;margin:0 0 12px}.gather-summary{display:flex;align-items:center;gap:16px;padding:15px 18px;border-radius:19px;background:#17213966;margin-bottom:18px}.gather-summary>.world-media-icon{width:53px;height:53px}.gather-summary strong{display:block;font-size:25px;font-weight:900}.gather-summary small{display:block;font-size:14px;color:#d4dceb;margin-top:3px}.world-panel-hero{height:155px;margin-bottom:18px;background:radial-gradient(ellipse,#8a81ae28,transparent 70%)}.world-panel-hero img{height:170px;max-width:100%;object-fit:contain}.level-badge{font-size:12px!important;font-weight:900;border-radius:12px;padding:6px 9px;background:#394464e8;border-color:#b9c3ea55}.world-hero-detail{gap:18px;margin-bottom:23px}.world-hero-detail>img{width:112px;height:150px;object-fit:contain}.world-hero-detail p{font-size:15px;line-height:1.65;color:#d1d7ed}.world-hero-detail a{min-height:44px;font-size:12px}.world-building-row,.world-crew-row{border:1px solid #a8b3df3a;background:#44517235;border-radius:20px;padding:12px;gap:13px;min-height:82px}.world-building-row>img{width:74px;height:74px;object-fit:contain}.world-crew-row>img{width:56px;height:68px;object-fit:contain;border-radius:13px;background:#171e3544}.world-row-copy strong{font-size:16px;font-weight:900;line-height:1.35;color:#fff8ef}.world-row-copy small{font-size:13px;line-height:1.55;color:#c9d2ec}.world-row-copy small .world-media-icon{width:20px;height:20px}.world-crew-row.selected{border-color:#b4eebc;background:#5eaa8544}.world-crew-grid{gap:13px}.world-crew-card{border-radius:22px;background:linear-gradient(140deg,#4b4e7644,#1b264055);border:1px solid #b9bce043}.world-crew-card .portrait-wrap{height:150px}.world-crew-card strong{font-size:16px;font-weight:900}.world-crew-card .crew-copy{padding:13px 10px 15px}.crew-status{font-size:12px!important;padding:5px 8px;border-radius:10px;bottom:8px;background:#1c2948dc!important;color:#eff5ff}.world-filters{gap:8px;margin:0 0 19px;display:flex;flex-wrap:wrap}.world-filter{font-size:14px;min-height:44px;border-radius:16px;padding:9px 14px;font-weight:900;background:#46517644;color:#d8dff5;border:1px solid #b4bee241}.world-filter.selected{background:#a99ce744;color:#f9f2ff;border-color:#d4c5fa88}.party-pick-bar{position:sticky;top:-20px;z-index:3;background:#282f4fee;padding:15px 0 17px;backdrop-filter:blur(8px);display:flex;align-items:center;gap:12px;margin-bottom:15px;border-bottom:1px solid #a9b3dc3b}.party-pick-bar>strong{font-size:16px;white-space:nowrap}.party-pick-bar .world-action{margin:0;flex:1;width:auto;font-size:16px!important;padding:12px 9px}.party-pick-bar .world-media-icon{width:25px;height:25px}
.hearth-summary{font-size:13px;font-weight:800;gap:10px;align-items:center;color:#e5ddf9;padding-bottom:14px;margin-bottom:20px}.hearth-summary .world-media-icon{width:25px;height:25px}.hearth-project{border-radius:24px;padding:0 18px 20px;margin:19px 0;border:2px solid #b4b5e142;background:linear-gradient(145deg,#3b3e6044,#1c264655)}.hearth-cover{width:calc(100% + 36px);margin:0 -18px 13px;aspect-ratio:1.85/1;object-fit:contain;background:radial-gradient(ellipse,#56446a2b,#201c3700)}.hearth-project h3,.hearth-active h3{font:900 25px/1.2 RefugeRound;letter-spacing:-.3px;margin:10px 0 12px}.hearth-project p{font-size:15px;line-height:1.65;color:#d5daef;margin:0 0 15px}.hearth-active>.hearth-cover{aspect-ratio:2/1;width:calc(100% + 44px);margin:-20px -22px 18px;object-fit:contain}.craft-bonus{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:900;padding:6px 10px;border-radius:14px;background:#ad94ff19;color:#d9d1f6;margin-bottom:4px}.craft-bonus .world-media-icon{width:23px;height:23px}.hearth-steps{margin:22px 0;gap:8px}.hearth-steps span{font-size:18px;font-weight:900;width:40px;height:40px;border-width:2px;background:#242d4b}.hearth-steps small{font-size:14px;max-width:none;font-weight:800}.hearth-steps .current{color:#fff1c7}.hearth-steps .current span{background:#e8c46e2c;border-color:#ffdc90;box-shadow:none}.hearth-steps .done{color:#b3e8c5}.hearth-steps .done span{background:#72bc962c;border-color:#a3dfb2}.hearth-echo{padding:16px;border-radius:20px;background:#b685e31a;border:2px solid #d6b2f64d;margin:20px 0}.hearth-echo>strong{font-size:17px;display:flex;gap:7px;align-items:center;color:#edd8ff}.hearth-echo p{font-size:15px;color:#e0d4f0;line-height:1.6;margin:10px 0}.hearth-echo .world-action{font-size:16px!important}.craft-prizes{display:grid;gap:10px;margin:22px 0}.craft-prizes>span{display:flex;gap:12px;align-items:center;background:#71846a22;border:1px solid #c1d8a33d;padding:13px;border-radius:17px;font-size:17px;font-weight:900}.craft-prizes .world-media-icon{width:36px;height:36px}.hearth-project[data-craft=lanterns]{border-color:#e3b77455}.hearth-project[data-craft=garden]{border-color:#cd97ed66}.hearth-project[data-craft=bridge]{border-color:#8ccdea55}.welcome-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0 28px}.welcome-steps>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;font-size:14px;font-weight:900;line-height:1.4}.welcome-steps .world-media-icon{width:52px;height:52px}.world-welcome-illustration{height:160px;background-image:linear-gradient(0deg,#2a2f4b,transparent 75%),url('./art/ground.webp');border:0}.world-welcome-illustration:after{display:none}.world-stat-grid small{font-size:12px}.world-stat-grid strong{font-size:23px}.world-quest-card{padding:18px;border:1px solid #c3c6eb4a;border-radius:23px;background:#38436344;margin-bottom:17px}.world-quest-card.done{opacity:.65}.goal-title{display:flex;align-items:center;gap:11px}.goal-title .world-media-icon{width:40px;height:40px}.goal-title h3{font-size:21px;margin:0}.quest-progress-label{font-size:13px;font-weight:800;margin:16px 0 10px}.world-progress{height:9px;border-radius:8px;background:#111b3455}.world-progress i{background:linear-gradient(90deg,#9fddbd,#b8c9fa);border-radius:8px}.world-journey{padding:19px;border-radius:23px;border:1px solid #b2c2e64a;background:#384d7233;margin-bottom:18px}.world-journey h3{font-size:23px}.world-journey .world-tag{font-size:13px}.world-tag .world-media-icon{width:23px;height:23px}.journey-party{gap:7px;margin:18px 0}.journey-party img{width:45px;height:58px;object-fit:contain;border-radius:10px}.world-settings-row{padding:16px 0}.world-settings-row strong{font-size:17px}.world-settings-row small{font-size:14px;line-height:1.6;margin-top:6px}.world-toggle{width:51px;height:30px;flex-shrink:0}.world-link{font-size:14px;min-height:51px;border-radius:15px;gap:8px;line-height:1.4;background:#40507633;border-color:#b5c2e240}.world-link .world-media-icon{width:24px;height:24px}.world-toast,.sheet-feedback{font-size:14px;line-height:1.6;font-weight:800}.sheet-feedback{background:#62997e30;color:#e5f5e3;border-color:#9dd4af55;padding:12px 20px}.sheet-feedback.error{color:#ffd3d6}.world-toast{background:#2b3c58f5;border-radius:20px}.world-network p{font-size:14px}.world-network button{font-size:14px}.world-loading{background:radial-gradient(ellipse,#41476af2,#131831fa)}.world-loading strong{font-size:27px}.world-loading small{font-size:14px}.world-resource-flight .world-media-icon{width:38px;height:38px}
@media(min-width:768px){.world-header{padding:20px 28px 0}.world-resource-bar{width:470px;top:20px}.world-location{top:116px}.world-location h1{font-size:40px}.world-quest-peek{top:128px;left:28px;max-width:300px}.world-sheet{inset:95px 24px auto auto;width:440px;max-width:440px;max-height:calc(100dvh - 120px);border-radius:28px;border:2px solid #949bd25c}.world-tabs{max-width:510px}.world-tabs button{min-height:72px}.world-bottom{padding-bottom:18px}.sheet-header{padding-top:20px}.world-camera-controls{right:28px}.world-welcome-illustration{margin:-20px -22px 22px}.world-camera-controls .world-icon-button{width:48px;height:48px}}
@media(max-width:767px){.world-camera-controls{bottom:202px;right:15px;gap:6px}.world-camera-controls .world-icon-button{width:44px;height:44px;border-radius:14px}.world-camera-controls .world-icon-button svg{width:22px;height:22px}.world-sheet{max-height:88dvh}.world-location{top:153px;left:18px}.world-location h1{font-size:29px}.world-resource-bar{max-width:100%}.world-tabs{max-width:520px}}
@media(max-width:360px){.world-header{padding-left:10px;padding-right:10px}.world-resource-bar{padding:7px 3px}.world-resource{padding:2px 5px;gap:3px}.world-resource>span{width:29px}.world-resource .world-media-icon{width:30px;height:30px}.world-resource small{font-size:11px}.world-resource strong{font-size:20px}.world-level{width:35px;min-width:35px}.world-level svg{width:30px}.world-location{top:148px;left:12px}.world-location h1{font-size:27px}.world-quest-peek{top:190px;left:11px;max-width:275px}.world-quest-peek strong{font-size:13px}.world-quest-peek small{font-size:10px}.world-tabs button{font-size:13px;min-height:65px}.world-tabs .world-media-icon{width:32px;height:32px}.world-bottom{padding-left:9px;padding-right:9px}.world-camera-controls{bottom:194px;right:10px;gap:5px}.sheet-content{padding:18px}.sheet-header{padding:16px 18px}.sheet-header h2{font-size:25px}.world-action{font-size:16px!important}.world-row-copy strong{font-size:15px}.world-row-copy small{font-size:12px}.world-building-row>img{width:62px;height:62px}.world-building-row,.world-crew-row{gap:10px;padding:10px}.world-crew-grid{gap:10px}.world-crew-card strong{font-size:15px}.world-crew-card .portrait-wrap{height:130px}.world-costs{gap:6px}.world-costs>span{font-size:16px;padding:7px 8px}.hearth-active>.hearth-cover{width:calc(100% + 36px);margin:-18px -18px 17px}.hearth-summary{font-size:12px;gap:5px}.hearth-steps small{font-size:13px}.party-pick-bar{top:-18px}.party-pick-bar>strong{font-size:14px}.party-pick-bar .world-action{font-size:15px!important}.welcome-steps{gap:8px}.welcome-steps>div{font-size:12px}.world-hero-detail{gap:12px}.world-hero-detail>img{width:95px;height:133px}.world-hero-detail p{font-size:14px}}
@media(max-height:700px) and (max-width:767px){.world-sheet{max-height:92dvh}.world-location{top:142px}.world-location h1{font-size:25px}.world-quest-peek{top:178px;min-height:48px}.world-quest-peek small{display:none}.world-primary{gap:7px;margin-bottom:12px}.world-collect{min-height:56px}.world-tabs button{min-height:60px}.world-tabs .world-media-icon{width:29px;height:29px}.world-world-status{font-size:11px}.world-camera-controls{bottom:177px}}

/* The three-part comic host is presentation-only, outside the farm roster. */
.farm-guide-help{font-size:25px!important;font-weight:900!important;color:#e4d4ff!important;background:#51406d;border:2px solid #cbb6f06b}
.world-sheet.guide-mode{inset:0;margin:auto;width:min(100% - 32px,1000px);max-width:1000px;height:min(760px,100dvh - 24px);max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.world-sheet.guide-mode::backdrop{background:#07091be8;backdrop-filter:blur(5px)}
.guide-mode .sheet-grip,.guide-mode #sheet-feedback{display:none!important}
.guide-mode .sheet-header{position:absolute;inset:0 0 auto auto;padding:0;border:0;z-index:3}
.guide-mode .sheet-header>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.guide-mode #sheet-close{width:48px;height:48px;border:2px solid #d2c5f987;background:#302b52}
.guide-mode .sheet-content{height:100%;max-height:none;padding:0;overflow:visible}
.farm-comic{height:100%;display:grid;grid-template-columns:48% 52%;align-items:center;gap:0;animation:guide-arrive .2s ease-out}
.farm-guide-character{width:100%;height:100%;min-height:0;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 6px 20px #04051766);pointer-events:none;user-select:none}
.farm-guide-bubble{position:relative;padding:28px;border:3px solid #c7b7e7;border-radius:30px;background:#fff8ed;color:#29304c;box-shadow:0 8px 0 #86719b,0 16px 40px #02031144;margin:40px 10px 0 0}
.farm-guide-bubble:after{content:'';position:absolute;top:55%;left:-19px;width:30px;height:30px;background:#fff8ed;border-left:3px solid #c7b7e7;border-bottom:3px solid #c7b7e7;transform:rotate(45deg)}
.farm-guide-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;font-weight:900;color:#65517b}
.farm-guide-topline>span:first-child{padding:5px 10px;background:#eadcf6;border-radius:20px}
.farm-guide-topline>span:last-child{white-space:nowrap}
.farm-guide-dots{display:flex;gap:7px;margin:15px 0 19px}
.farm-guide-dots i{width:24px;height:6px;background:#d9d0e0;border-radius:10px}
.farm-guide-dots .current{background:#9172b4}
.farm-guide-bubble h3{font:900 30px/1.18 RefugeRound,system-ui,sans-serif;margin:0 0 16px;letter-spacing:-.5px;color:#34274c;outline:none}
.farm-guide-bubble p{font-size:19px;line-height:1.6;font-weight:650;margin:0 0 24px;color:#39415a}
.farm-guide-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.farm-guide-actions button{min-height:49px;border-radius:17px;padding:10px 18px;font-size:17px!important;font-weight:900!important}
.farm-guide-next{display:flex;justify-content:center;align-items:center;gap:15px;min-width:135px;border:2px solid #74618e;background:#a1e4c0;color:#253b38!important;box-shadow:0 4px 0 #7b6a90}
.farm-guide-next:active{transform:translateY(2px);box-shadow:0 2px 0 #7b6a90}
.farm-guide-back{border:1px solid #beb0cf;background:#ede3f6;color:#5d4b78!important}
.farm-guide-hint{display:block;font-size:12px;line-height:1.5;margin-top:20px;color:#6f6581;text-align:center}
.reduced-motion .farm-comic{animation:none}
@keyframes guide-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:767px){
 .world-sheet.guide-mode{width:calc(100% - 28px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
 .farm-comic{display:flex;flex-direction:column-reverse;align-items:center;justify-content:flex-start;padding-top:51px;gap:10px}
 .farm-guide-character{flex:1;min-height:0;height:0;width:100%;max-height:430px;object-position:center top}
 .farm-guide-bubble{flex-shrink:0;width:100%;max-width:440px;padding:19px 20px 17px;margin:0;border-radius:25px}
 .farm-guide-bubble:after{top:auto;left:52%;bottom:-18px;transform:rotate(-45deg);width:28px;height:28px}
 .farm-guide-topline{font-size:12px;gap:5px}.farm-guide-topline>span:first-child{padding:4px 9px}
 .farm-guide-dots{margin:11px 0 12px}.farm-guide-dots i{width:21px;height:5px}
 .farm-guide-bubble h3{font-size:26px;margin-bottom:12px}.farm-guide-bubble p{font-size:17px;line-height:1.5;margin-bottom:17px}
 .farm-guide-hint{font-size:11px;margin-top:15px}.farm-guide-actions button{min-height:47px;font-size:16px!important}
}
@media(max-height:700px) and (max-width:767px){
 .farm-comic{padding-top:47px;gap:6px}.farm-guide-bubble{padding:15px 17px}
 .farm-guide-bubble h3{font-size:23px;margin-bottom:9px}.farm-guide-bubble p{font-size:16px;line-height:1.45;margin-bottom:13px}
 .farm-guide-dots{margin:9px 0}.farm-guide-hint{margin-top:12px}.farm-guide-actions button{min-height:44px;padding:8px 15px}
}
@media(max-height:600px) and (min-width:768px){
 .farm-guide-bubble{padding:16px 20px;margin-top:10px}.farm-guide-topline{font-size:12px}
 .farm-guide-dots{margin:10px 0}.farm-guide-bubble h3{font-size:23px;margin-bottom:9px}
 .farm-guide-bubble p{font-size:16px;line-height:1.4;margin-bottom:12px}
 .farm-guide-actions button{min-height:44px;padding:8px 15px}.farm-guide-hint{font-size:11px;margin-top:12px}
}
@media(max-height:520px) and (min-width:768px){
 .world-location{display:none}.world-quest-peek{top:112px;left:18px;max-width:205px}
 .world-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:0 18px 18px;background:none;pointer-events:none;left:0;right:0;width:100%;max-width:none;transform:none}
 .world-primary{margin:0;width:205px;max-width:205px;flex-shrink:0;pointer-events:auto}.world-world-status{display:none}
 .world-collect{min-width:205px;min-height:60px;padding:9px 15px;font-size:18px!important}
 .world-tabs{width:360px;max-width:46%;margin:0;pointer-events:auto}.world-tabs button{min-height:60px;font-size:12px}
 .world-tabs .world-media-icon{width:28px;height:28px}
}
