:root{font-family:ui-rounded,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fdfaf2;background:#182f40;font-synthesis:none;-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;height:100dvh;overflow:hidden}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,input:focus-visible{outline:3px solid #f8d37c;outline-offset:3px}.hidden{display:none!important}
#app{position:relative;background:linear-gradient(155deg,#b6d3a3 0%,#e5d4a5 60%,#7da997 100%);isolation:isolate}
#world{display:block;width:100%;height:100%;touch-action:none}.vignette{pointer-events:none;position:absolute;inset:0;background:radial-gradient(ellipse at 50% 48%,transparent 38%,#17334129 95%)}
.hud{position:absolute;inset:0;pointer-events:none}.hud button,.hud .joystick,.task-panel{pointer-events:auto}
.hud,#world{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.dock-button{position:relative}.staff-nudge{position:absolute;top:6px;right:9px;width:8px;height:8px;border:2px solid #234b4b;border-radius:50%;background:#f4c66d}
.manage-tabs{display:flex;gap:7px;padding:5px;margin:18px 0 0;background:#e6ecdf;border-radius:14px}.manage-tabs button{flex:1;min-height:44px;border:0;border-radius:10px;background:transparent;color:#547466;font-size:13px;font-weight:850}.manage-tabs button[aria-selected="true"]{background:#fffaf0;color:#28594c;box-shadow:0 3px 8px #294f3c16}.manage-tabs span{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:4px;padding:0 5px;border-radius:9px;background:#dce8d2;font-size:11px}
.staff-summary{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:20px 0 13px;color:#365d50}.staff-summary strong{font-size:14px}.staff-summary span{font-size:11px;color:#7b8975}.staff-card{padding:18px;border:1px solid #dce6d3;background:linear-gradient(140deg,#f1f4e8,#fffcf4);border-radius:18px}.staff-card-heading{display:flex;gap:12px;align-items:center;margin-bottom:13px}.staff-portrait{flex:none;width:52px;height:58px;border-radius:17px;background:#e7c98f;display:grid;place-items:center;font-size:28px;color:#6c663b}.staff-card h3{margin:0 0 5px;font-size:20px;color:#365849}.staff-tag{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#8f7143;font-weight:850}.staff-card p{font-size:13px;line-height:1.55;margin:9px 0;color:#6b7c6d}.staff-benefit{font-size:12px;color:#3f7b61;font-weight:800;margin:12px 0}.hire-button{width:100%;min-height:48px;border:0;border-radius:13px;background:linear-gradient(#f1d18f,#dfb365);color:#624829;font-size:14px;font-weight:900;margin-top:8px}.hire-button:disabled{background:#e1e7da;color:#7f8f7c;cursor:default}.staff-card.hired{border-color:#9fbda0}.staff-card.hired .hire-button{background:#cfe2c6;color:#416b48}.staff-funds{font-size:11px;color:#7b8c76;text-align:center;min-height:16px;margin-top:8px}.staff-note{font-size:11px!important;line-height:1.6!important;color:#7a8978!important;margin-top:16px!important}
.topbar{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;position:absolute;z-index:4;left:0;right:0;top:0;padding:calc(12px + env(safe-area-inset-top,0px)) calc(20px + env(safe-area-inset-right,0px)) 12px calc(20px + env(safe-area-inset-left,0px));background:linear-gradient(#152d41a6,#152d4100)}
.brand{border:0;background:#17384ddc;color:#fff9e9;padding:8px 12px;display:flex;align-items:center;gap:9px;border-radius:18px;box-shadow:0 6px 18px #173a424a,inset 0 1px #ffffff2e;text-align:left}.brand-mark{display:grid;place-items:center;width:39px;height:39px;font-size:25px;border-radius:13px;background:linear-gradient(145deg,#ecb97c,#d9796d);box-shadow:inset 0 2px #ffffff60}.brand-words{display:flex;flex-direction:column;line-height:1}.brand-words strong{font-size:20px;font-weight:900;letter-spacing:-.9px}.brand-words small{margin-top:6px;font-weight:800;letter-spacing:1.2px;font-size:8px;color:#b7d9cc}
.top-center{margin:auto;display:flex;justify-content:center;min-width:130px}.badge-pill{height:44px;display:flex;align-items:center;gap:8px;padding:4px 11px 4px 4px;background:#193b4be6;border:1px solid #e9f9ec33;border-radius:999px;box-shadow:0 6px 18px #18374646;font-weight:900;font-size:13px}.level-star{border-radius:100%;display:grid;place-items:center;width:34px;height:34px;color:#87572e;background:linear-gradient(#ffe59d,#f0ba5e);font-size:19px;text-shadow:0 1px #fff}.xp-track{height:8px;width:64px;overflow:hidden;border-radius:20px;background:#ffffff30}.xp-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,#81c4b8,#c8ead9);border-radius:20px;transition:width .4s}
.wallet{height:44px;align-self:flex-start;display:flex;align-items:center;gap:7px;padding:5px 13px 5px 5px;border-radius:30px;color:#fffae9;background:#193b4be6;border:1px solid #e9f9ec33;box-shadow:0 6px 18px #18374646;font-weight:900;white-space:nowrap}.coin{display:grid;place-items:center;background:linear-gradient(140deg,#ffe29d,#e8aa4d);color:#8b571e;border:2px solid #fff0be;width:33px;height:33px;border-radius:50%;font-size:20px}.wallet-name{font-size:8px;font-weight:900;letter-spacing:1px;color:#bdd3c7}
.task-panel{position:absolute;top:118px;left:20px;width:272px;max-width:calc(100vw - 40px);background:#fffaf0f2;box-shadow:0 12px 28px #1c434147,0 2px 4px #1b414321;border:1px solid #fff;border-radius:20px;overflow:hidden;color:#294558}.task-heading{height:49px;display:flex;align-items:center;gap:8px;padding:0 13px;background:#1e4554;color:#fdfaf2;font-size:13px;font-weight:850}.task-heading-icon{border-radius:8px;background:#407b71;padding:5px 8px;color:#fff}.shift-pill{margin-left:auto;font-size:10px;letter-spacing:.2px;color:#ffe3a8;background:#ffffff1b;border-radius:12px;padding:5px 7px}.task-list{padding:5px 8px 8px}.task-row{display:flex;gap:8px;align-items:center;padding:8px 7px;border-bottom:1px solid #d8e5dc}.task-row:last-child{border:0}.task-icon{display:grid;place-items:center;width:31px;height:31px;background:#e8eee5;border-radius:10px;font-size:17px}.task-copy{flex:1;min-width:0}.task-name{font-weight:850;font-size:11px}.task-meta{margin-top:4px;color:#6b807c;font-size:10px}.task-check{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;border:2px solid #c9d9d3;color:#9aafa7;font-size:12px;font-weight:900}.task-row.done .task-name{text-decoration:line-through;color:#8aa197}.task-row.done .task-check{border:0;background:#4b9788;color:white}.task-row.ready{background:#e9f4e8;border-radius:10px}
.tip{position:absolute;left:50%;bottom:calc(112px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:2;display:flex;align-items:center;gap:9px;border-radius:30px;background:#1c3849e6;color:#eaf8f0;font-size:12px;font-weight:700;padding:9px 15px;white-space:nowrap;box-shadow:0 8px 20px #0d2b3559;max-width:calc(100% - 28px);text-align:center}.tip-dot{color:#f2c97f}.tip span:last-child{overflow:hidden;text-overflow:ellipsis}
.joystick{position:absolute;bottom:calc(23px + env(safe-area-inset-bottom,0px));left:calc(27px + env(safe-area-inset-left,0px));height:106px;width:106px;display:flex;align-items:center;justify-content:center;touch-action:none;user-select:none;z-index:2}.joystick-base{width:88px;height:88px;border-radius:50%;border:2px solid #ffffff9a;box-shadow:0 7px 26px #17433765,inset 0 2px 5px #ffffff7c;background:radial-gradient(circle at 45% 40%,#315962b3,#123749aa);position:relative}.joystick-base:after{content:'✦';position:absolute;top:7px;left:calc(50% - 5px);color:#ffffff6b;font-size:9px}.joystick-knob{position:absolute;top:18px;left:18px;width:49px;height:49px;background:linear-gradient(140deg,#fafdf3,#b4d3cf);border:3px solid #fff;border-radius:50%;box-shadow:0 5px 9px #0b2b3970}.joystick-caption{position:absolute;bottom:-8px;color:#284855;opacity:.7;font-size:8px;letter-spacing:1.3px;font-weight:900}
.action-button{position:absolute;right:calc(26px + env(safe-area-inset-right,0px));bottom:calc(30px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;width:94px;height:94px;border:4px solid #fff9dc;box-shadow:0 5px 0 #8c633e,0 10px 25px #293d397a,inset 0 3px #fff8dc91;background:linear-gradient(150deg,#f5d18b,#e4aa61);border-radius:50%;color:#6e4829;font-weight:950;font-size:14px;z-index:3;transition:transform .1s,filter .2s}.action-button span:first-child{font-size:27px}.action-button:active{transform:translateY(3px)}.action-button.not-ready{filter:saturate(.5);opacity:.7}.action-button.ready{animation:action-pulse 1.6s ease-in-out infinite}@keyframes action-pulse{50%{box-shadow:0 5px 0 #8c633e,0 0 0 8px #fff5d447,0 10px 25px #293d397a}}
.dock{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:6px;border:1px solid #ffffff76;border-radius:22px;background:#163747e8;box-shadow:0 8px 28px #11374074;z-index:2}.dock-button{min-width:69px;min-height:61px;padding:5px 11px;border:0;border-radius:16px;color:#ddede7;background:transparent;display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.dock-button span{font-size:24px;font-weight:900;line-height:26px}.dock-button small{font-size:10px;font-weight:850}.dock-button.selected,.dock-button:hover{background:#ffffff24;color:#fff0c7}
.toast{position:absolute;pointer-events:none;left:50%;top:20%;transform:translate(-50%,-15px) scale(.95);padding:12px 20px;border-radius:16px;box-shadow:0 7px 25px #0c302c7a;background:#fdf8e7;color:#294b4e;font-size:16px;font-weight:900;z-index:12;opacity:0;transition:opacity .3s,transform .3s;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0) scale(1)}
.overlay{position:absolute;z-index:10;inset:0;display:grid;place-items:center;background:#101f2bb8;backdrop-filter:blur(7px);padding:calc(12px + env(safe-area-inset-top,0px)) calc(15px + env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) calc(15px + env(safe-area-inset-left,0px))}.overlay:has(> .hidden:first-child):has(> .hidden:nth-child(2)):has(> .hidden:nth-child(3)):has(> .hidden:nth-child(4)):has(> .hidden:nth-child(5)){display:none}
.welcome-screen{position:relative;overflow:hidden;display:grid;grid-template-columns:1.12fr .88fr;width:min(100%,1060px);max-height:min(92vh,640px);height:min(83vh,600px);border-radius:34px;background:#153b48;box-shadow:0 30px 75px #0b1e29a1;border:1px solid #ffffff45}
.welcome-art{background:linear-gradient(90deg,#132e3800 45%,#17384366),url('assets/concept-preview.webp') no-repeat;background-size:auto 115%,auto 115%;background-position:0 43%;position:relative}.welcome-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#173d4100 76%,#173d41b4)}
.welcome-content{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:48px 32px 48px 23px;background:linear-gradient(120deg,#183f4cf2,#193847)}.eyebrow,.dialog-kicker{font-size:10px;font-weight:950;letter-spacing:2px;color:#f6c883}.welcome-content h1{position:relative;font-size:clamp(38px,5vw,66px);letter-spacing:-3px;line-height:.92;margin:18px 0 18px;font-weight:950}.welcome-content h1 span{display:block;color:#e8b974}.welcome-content h1 i{font-style:normal;position:absolute;color:#da806e;top:-25px;right:-13px;transform:rotate(12deg);font-size:30px}.welcome-subtitle{font-size:clamp(15px,1.8vw,20px);line-height:1.4;max-width:310px;margin:0 0 20px;color:#deece6}.feature-chips{display:flex;gap:6px;margin:0 0 34px;flex-wrap:wrap}.feature-chips span{border:1px solid #acd2c75e;background:#ffffff12;padding:7px 11px;border-radius:30px;font-size:12px;font-weight:800;color:#d8eadd}
.primary-button{background:linear-gradient(#f8d88b,#e9b468);color:#4b402e;border:0;min-height:54px;min-width:245px;font-weight:950;font-size:16px;border-radius:16px;box-shadow:0 6px 0 #bb8151,0 12px 22px #081f3040;display:flex;align-items:center;justify-content:center;gap:20px;padding:8px 22px;transition:transform .1s}.primary-button:active{transform:translateY(3px)}.primary-button span{font-size:23px}.welcome-footnote{font-size:10px;color:#bbd4ca;margin-top:23px;line-height:1.6}
.dialog{position:relative;width:min(100%,570px);max-height:100%;overflow-y:auto;overscroll-behavior:contain;border-radius:25px;border:1px solid #fff2d4;background:#fffaf0;color:#274755;padding:29px;box-shadow:0 22px 70px #082938bb}.dialog h2{font-size:29px;line-height:1.1;letter-spacing:-1px;margin:9px 36px 7px 0;color:#1d3947}.dialog p{color:#6f7f7c;font-size:13px;line-height:1.5}.dialog .dialog-kicker{color:#bb8655}.close-button{position:absolute;top:18px;right:18px;border:0;border-radius:50%;width:35px;height:35px;color:#214151;font-size:25px;background:#e8eee7}.dialog-foot{border-top:1px solid #dae5da;padding-top:14px;margin-top:20px;color:#718680;font-size:11px;text-align:center}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:300px;overflow-y:auto;margin:20px 0 16px}.profile-card{min-height:86px;border:2px solid #d7e4da;background:#f3f7eb;border-radius:18px;display:flex;align-items:center;gap:10px;padding:10px;text-align:left;color:#294653}.profile-card:hover{border-color:#7fa89d}.profile-avatar{flex:none;font-size:24px;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;background:linear-gradient(135deg,#f7d493,#dd9574)}.profile-info{display:flex;flex-direction:column;gap:4px;min-width:0}.profile-info strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}.profile-info small{font-size:10px;color:#789085}.profile-play{margin-left:auto;color:#337f72;font-size:21px}.new-profile{display:flex;gap:8px;margin-top:4px}.new-profile input{width:100%;min-width:0;border-radius:12px;border:1px solid #c8d7ce;padding:12px;background:white;color:#284251}.secondary-button{border:0;border-radius:12px;padding:11px 13px;font-size:12px;background:#2c665e;color:white;font-weight:850;white-space:nowrap}.text-button{display:block;margin:16px auto 0;border:0;background:none;color:#477a73;font-size:13px;font-weight:850;padding:8px}
.upgrade-list{display:grid;gap:11px;margin-top:20px}.upgrade-card{border:1px solid #dce7dc;background:white;border-radius:16px;padding:14px;display:flex;align-items:center;gap:12px}.upgrade-emoji{width:55px;height:55px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(150deg,#ecede3,#dce8d8);font-size:28px}.upgrade-info{flex:1}.upgrade-info h3{margin:0 0 4px;font-size:15px}.upgrade-info p{font-size:11px;margin:0 0 5px}.upgrade-benefit{color:#368978;font-size:11px;font-weight:900}.buy-button{border:0;border-radius:11px;min-width:100px;background:linear-gradient(#f5d180,#e7b768);padding:12px 9px;color:#684d32;font-size:12px;font-weight:950}.buy-button:disabled{background:#e8eae2;color:#8ea19c;cursor:default}
.how-to-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.how-to-grid div{display:flex;flex-direction:column;gap:7px;padding:13px;background:#edf2e9;border-radius:13px}.how-to-grid b{font-size:13px}.how-to-grid span{font-size:11px;line-height:1.5;color:#68807c}.help-actions{display:flex;gap:9px;flex-wrap:wrap}.helper-privacy{margin-bottom:0}.shift-dialog{text-align:center;max-width:430px}.shift-dialog h2{margin-right:0}.shift-emoji{font-size:35px;color:#dd9d57}.shift-reward{font-size:36px;color:#d69c4a;font-weight:950;margin:20px auto}.shift-reward span{font-size:15px;color:#59796c}.shift-dialog .primary-button{margin:auto}.confetti{pointer-events:none;position:absolute;z-index:11;inset:0;overflow:hidden}.confetti span{position:absolute;width:10px;height:15px;top:-20px;animation:fall 1.8s linear forwards;border-radius:3px}@keyframes fall{to{transform:translateY(110vh) rotate(760deg);opacity:.1}}
.orientation-message{display:none}
.graphics-notice{position:absolute;inset:0;z-index:30;background:#193947eb;display:grid;place-items:center;padding:28px;text-align:center;color:#fff4dc}.graphics-notice>div{max-width:360px}.graphics-notice strong{font-size:28px}.graphics-notice p{line-height:1.6;font-size:15px}
@media(max-width:850px){.welcome-screen{grid-template-columns:1fr 1fr}.welcome-content{padding:26px}.welcome-art{background-size:auto 110%}.brand-words strong{font-size:16px}.brand-words small{font-size:7px}.dock{gap:0}}
@media(max-width:650px){.topbar{align-items:center;padding:calc(8px + env(safe-area-inset-top,0px)) 10px 10px}.brand{padding:5px;border-radius:13px}.brand-mark{height:32px;width:32px;font-size:20px;border-radius:9px}.brand-words{display:none}.top-center{min-width:0}.badge-pill{height:37px;padding:3px 7px 3px 3px;gap:4px;font-size:12px}.level-star{width:29px;height:29px;font-size:17px}.xp-track{width:37px}.wallet{height:37px;padding:3px 8px 3px 3px;font-size:13px}.wallet .coin{height:29px;width:29px;font-size:16px}.wallet-name{display:none}.task-panel{top:calc(65px + env(safe-area-inset-top,0px));left:8px;width:min(190px,49vw);border-radius:15px}.task-heading{height:39px;padding:0 8px;font-size:11px;gap:5px}.task-heading-icon{padding:3px 6px}.shift-pill{font-size:9px;padding:4px}.task-list{padding:3px}.task-row{padding:7px 3px;gap:5px}.task-icon{height:24px;width:24px;font-size:15px;border-radius:7px}.task-name{font-size:10px}.task-meta{font-size:9px}.task-check{width:19px;height:19px;font-size:10px}.dock{bottom:calc(9px + env(safe-area-inset-bottom,0px));padding:3px;border-radius:17px}.dock-button{min-height:49px;min-width:46px;padding:3px 6px;border-radius:13px}.dock-button span{font-size:19px;line-height:22px}.dock-button small{font-size:8px}.joystick{bottom:calc(19px + env(safe-area-inset-bottom,0px));left:7px;width:85px;height:85px}.joystick-base{height:75px;width:75px}.joystick-knob{top:14px;left:14px;width:43px;height:43px}.joystick-caption{display:none}.action-button{width:76px;height:76px;right:calc(8px + env(safe-area-inset-right,0px));bottom:calc(17px + env(safe-area-inset-bottom,0px));font-size:11px;border-width:3px}.action-button span:first-child{font-size:22px}.tip{font-size:10px;bottom:calc(75px + env(safe-area-inset-bottom,0px));padding:7px 12px;max-width:64vw}.welcome-screen{display:flex;flex-direction:column;height:min(94%,680px);max-height:690px;border-radius:23px}.welcome-art{flex:1;min-height:0;background-size:auto 120%,auto 120%;background-position:21% 37%}.welcome-content{flex:none;align-items:center;text-align:center;padding:22px 16px 24px;background:linear-gradient(0deg,#193947,#173943)}.welcome-content h1{font-size:44px;margin:10px 0}.welcome-content h1 span{display:inline}.welcome-content h1 i{top:-18px;right:-13px;font-size:20px}.welcome-subtitle{font-size:14px;margin-bottom:10px}.feature-chips{margin-bottom:18px}.welcome-footnote{margin:17px 0 0}.dialog{padding:22px 17px;border-radius:19px}.dialog h2{font-size:24px}.profile-grid{gap:6px}.profile-card{padding:6px;min-height:70px;gap:6px}.profile-avatar{width:33px;height:33px;font-size:19px}.profile-info strong{font-size:11px}.profile-info small{font-size:9px}.new-profile{flex-wrap:wrap}.new-profile input{flex-basis:100%}.new-profile button{width:100%}.upgrade-card{padding:9px;gap:8px}.upgrade-emoji{width:43px;height:43px;font-size:22px}.buy-button{min-width:78px}.upgrade-info h3{font-size:13px}.upgrade-info p{font-size:10px}}
@media(max-height:490px) and (orientation:landscape){.task-panel{top:70px;width:215px}.task-heading{height:33px}.task-row{padding:3px}.dock{bottom:7px}.dock-button{min-height:43px}.joystick{bottom:10px}.action-button{bottom:9px}.tip{bottom:65px}.welcome-screen{height:95vh;grid-template-columns:1fr 1fr;display:grid}.welcome-art{height:auto}.welcome-content{padding:13px}.welcome-content h1{font-size:40px}.welcome-subtitle{font-size:13px}.feature-chips{margin-bottom:10px}.welcome-footnote{margin-top:9px}.dialog{max-width:670px}.profile-grid{max-height:110px}}
@media(min-width:651px) and (max-height:650px){.task-panel{top:82px}.dock-button{min-height:53px}.joystick{bottom:9px}.action-button{bottom:15px}.tip{bottom:90px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
/* Narrow phones keep the menu below the two touch controls, without overlap. */
@media(max-width:400px) and (orientation:portrait){
  .joystick{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .action-button{bottom:calc(79px + env(safe-area-inset-bottom,0px))}
  .tip{bottom:calc(166px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 24px)}
  .dock{bottom:calc(9px + env(safe-area-inset-bottom,0px))}
}

.action-button.cleaning{opacity:1;filter:none;animation:none;background:conic-gradient(#83b3a1 var(--mop-progress,0deg),#e6b570 0);color:#29483f;box-shadow:0 5px 0 #6c7650,0 8px 24px #24473766}

/* Reception stays in a thumb-sized strip; compact goals never cover the helper. */
.service-button{position:absolute;right:20px;top:88px;width:264px;min-height:54px;display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid #fff2cd;border-radius:16px;background:#fff5dfed;color:#2d554c;box-shadow:0 6px 20px #25483c30;text-align:left;z-index:4}
.service-symbol{flex:none;display:grid;place-items:center;width:34px;height:34px;background:#d6e6ce;border-radius:11px;color:#a75e47;font-size:21px}.service-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.service-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-copy small{font-size:11px;color:#587467}.service-call{font-size:12px;font-weight:900;background:#386e60;color:#fff4d8;padding:9px 11px;border-radius:10px;flex:none}.service-button:disabled{cursor:default}.service-button:disabled .service-call{background:#c8d4bd;color:#4c6859}.service-button.serving{background:linear-gradient(90deg,#dcebcf var(--service-progress,0%),#fff5df 0)}
.action-button.serving{opacity:1;filter:none;animation:none;background:conic-gradient(#8bb69d var(--mop-progress,0deg),#e6b570 0);color:#29483f}
@media(max-width:650px) and (orientation:portrait){
 .guide-list{max-height:min(25vh,180px)}
 .service-button{top:calc(57px + env(safe-area-inset-top,0px));left:8px;right:8px;width:auto;min-height:48px;padding:6px 10px;border-radius:13px;gap:9px}.service-symbol{width:30px;height:30px;font-size:18px}.service-copy strong{font-size:12px}.service-copy small{font-size:11px}.service-call{padding:8px 11px;min-width:48px;text-align:center}
 .task-panel{top:calc(114px + env(safe-area-inset-top,0px));left:8px;width:calc(100% - 16px);max-width:none;border-radius:12px}.task-heading{height:30px;font-size:11px}.task-list{display:flex;padding:4px;gap:3px}.task-row{flex:1;min-width:0;display:block;padding:5px 6px;min-height:57px;border:0;border-right:1px solid #d8e5dc}.task-icon,.task-check,.task-detail{display:none}.task-name{font-size:11px;line-height:1.2}.task-meta{font-size:11px;margin-top:4px;line-height:1.2}.task-row:last-child{border:0}
 .tip{font-size:11px}.toast{top:calc(112px + env(safe-area-inset-top,0px));max-width:calc(100% - 24px);font-size:12px;padding:9px 14px}
}
@media(max-height:490px) and (orientation:landscape){.service-button{top:62px;right:12px;min-height:48px;width:240px;padding:6px 9px}.service-copy strong{font-size:12px}.service-copy small{font-size:10px}}

/* v0.6: original compact editorial UI, ivory / deep teal / brushed gold.
   Existing hit regions and safe-area positions remain the interaction contract. */
:root{font-family:"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#faf6e9;background:#243f46;font-synthesis:none}
.ui-icon{display:block;width:24px;height:24px;flex:none}.vignette{background:radial-gradient(ellipse at 50% 46%,transparent 48%,#243b3e1c 100%)}
.topbar{background:linear-gradient(#27444d9c,#27444d00);gap:10px}.brand{background:#244852ee;border:1px solid #c4d7cc62;border-radius:14px;padding:7px 10px;gap:8px;box-shadow:0 4px 12px #12383932}.brand-mark{border-radius:10px;background:#e5b583;color:#fff7e8;box-shadow:inset 0 1px #ffedc2;width:36px;height:36px}.brand-mark .ui-icon{width:25px;height:25px;fill:#fbf4df;stroke:#b87558;stroke-width:1.7}.brand-words strong{font-weight:750;letter-spacing:-.5px;font-size:18px}.brand-words small{font-size:7px;font-weight:650;letter-spacing:1.5px;color:#d0e0d5}
.badge-pill,.wallet{background:#294a52ef;border-color:#c5d5c15c;box-shadow:0 4px 12px #173b4029;font-weight:700}.level-star{background:#edcc87;color:#92682e;box-shadow:inset 0 1px #fff2c5}.level-star .ui-icon{width:24px;height:24px;fill:#fff0b8;stroke-width:1.5}.xp-track{height:6px;background:#152e388a}.xp-track span{background:#a8cdb5}.coin{background:#edc477;border-color:#f5dda2;color:#9b7135}.coin .ui-icon{height:25px;width:25px;stroke-width:1.5}.wallet-name{letter-spacing:1.3px;font-weight:600;color:#cedbd0}
.service-button{background:#fff8e8f2;color:#2f514d;border:1px solid #fffdf2;border-radius:13px;box-shadow:0 4px 16px #203e392b}.service-symbol{border-radius:9px;background:#e1e8d5;color:#527b6a}.service-symbol .ui-icon{width:24px;height:24px}.service-copy strong{font-weight:700;letter-spacing:.05px}.service-copy small{color:#6b7a68}.service-call{background:#3b6d62;border-radius:8px;font-weight:700}.service-call .ui-icon{width:18px;height:18px}.service-button:disabled{border-color:#fff7e0b3}.service-button:disabled .service-symbol{color:#84917c;background:#e7e8d9}.service-button.serving{background:linear-gradient(90deg,#dbe8ce var(--service-progress,0%),#fff7e4 0)}
.task-panel{background:#fff9eaf2;border-color:#fff9e5;border-radius:15px;box-shadow:0 5px 16px #193d3b29;color:#35544b}.task-heading{background:#315b5b;letter-spacing:.2px;font-weight:650}.task-heading-icon{padding:4px;background:#527a6a}.task-heading-icon .ui-icon{width:16px;height:16px}.task-row{border-color:#dedfce}.task-icon{background:#e6eadb;color:#5a7d67}.task-icon .ui-icon{width:21px;height:21px}.task-name{font-weight:700}.task-meta{color:#72806d}.shift-pill{color:#f1d8a5;font-weight:600;background:#ffffff13}.tip{background:#2d4e54eb;border:1px solid #b8d0c53d;font-weight:550;box-shadow:0 4px 12px #15332f29}.tip-dot .ui-icon{width:14px;height:14px}
.dock{background:#faf5e6f5;border:1px solid #fffef5;border-radius:17px;box-shadow:0 5px 18px #14393433;padding:5px;gap:4px}.dock-button{color:#628071;border-radius:12px;min-height:55px}.dock-button span{display:grid;place-items:center}.dock-button .ui-icon{width:24px;height:24px}.dock-button small{font-weight:650;letter-spacing:.1px}.dock-button.selected,.dock-button:hover{background:#315f5d;color:#fff2d5}.staff-nudge{border-color:#f9f1df;background:#c28e4e}
.joystick-base{background:radial-gradient(circle at 45% 38%,#6e918bbf,#244b52b3);border-color:#fff9e3c2;box-shadow:0 6px 16px #22443e3d,inset 0 1px 4px #fff5df42}.joystick-base:after{content:'';width:4px;height:4px;border-radius:50%;background:#fff5e48c;left:calc(50% - 2px);top:7px}.joystick-knob{background:linear-gradient(145deg,#fff9e9,#d4e0ca);border:2px solid #fffcf1;box-shadow:0 3px 7px #21463f5c}.joystick-caption{color:#405b51;font-weight:650}
.action-button{background:linear-gradient(145deg,#f2d296,#e4b66e);border-color:#fff7df;box-shadow:0 3px 0 #b48b56,0 7px 18px #314c3e3b,inset 0 1px #fff9df;color:#6e5532;font-weight:750}.action-button span:first-child{display:grid;place-items:center;min-height:29px}.action-button .ui-icon{width:29px;height:29px}.action-button.not-ready{filter:saturate(.7);opacity:.83}.action-button.ready{animation:care-ready 2.8s ease-in-out infinite}@keyframes care-ready{50%{box-shadow:0 3px 0 #b48b56,0 0 0 5px #fff5d428,0 7px 18px #314c3e3b}}.action-button.cleaning,.action-button.serving{box-shadow:0 3px 0 #829174,0 7px 18px #314c3e38}
.toast{background:#fff9e8;border:1px solid #e4cd9d;color:#355c4f;font-weight:700;box-shadow:0 5px 16px #193c3433}.overlay{background:#163139aa;backdrop-filter:blur(5px)}.dialog{border-radius:20px;background:#fcf8ed;color:#2e504b;border-color:#fff8e7;box-shadow:0 18px 60px #142f3d70}.dialog h2{font-weight:700;letter-spacing:-.65px;color:#2a4c49}.dialog-kicker{font-weight:650;letter-spacing:1.8px}.dialog p{color:#728072}.close-button{background:#e6eadc;color:#527364;width:44px;height:44px;top:12px;right:12px}.dialog-foot{color:#80907d;font-size:11px}.manage-tabs{background:#e7ebdf;border-radius:11px;padding:4px}.manage-tabs button{font-weight:650;border-radius:8px}.manage-tabs button[aria-selected="true"]{box-shadow:0 2px 5px #25433512}.staff-card{border-color:#dedfce;background:linear-gradient(130deg,#f3eddb,#fffdf5);border-radius:14px;padding:18px}.staff-portrait{background:#e6cf9e;border-radius:12px;border:1px solid #f4e3be}.staff-tag{font-weight:650;letter-spacing:1.2px}.staff-card h3{font-weight:700;letter-spacing:-.4px}.staff-benefit{font-weight:650}.hire-button{font-weight:700;background:#e9c47f;color:#614b30;border-radius:10px;box-shadow:inset 0 1px #fff0c6}.hire-button:disabled{box-shadow:none;background:#e5e7db;color:#87927c}.staff-funds{font-size:12px}.staff-summary strong{font-weight:650}.staff-summary span{font-size:12px}.staff-card.hired{border-color:#a7bea0}.staff-note{font-size:12px!important}
.upgrade-card{background:#fffcf5;border-color:#e2e5d6;border-radius:12px}.upgrade-emoji{background:#e6ecdc;border:1px solid #dce3d0;border-radius:11px;color:#607f62;flex:none}.upgrade-emoji .ui-icon{width:30px;height:30px}.upgrade-info h3{font-weight:700;letter-spacing:-.2px}.upgrade-benefit{font-weight:650}.buy-button{display:flex;align-items:center;justify-content:center;gap:5px;font-weight:700;background:#ecc984;min-height:44px;border-radius:9px}.buy-button .ui-icon{width:18px;height:18px}.buy-button:disabled{color:#879780;background:#e7ebdf}.primary-button{font-weight:700;border-radius:12px;background:#edc682;box-shadow:0 3px 0 #b98f58,0 8px 18px #0d2e3c29}.secondary-button{min-height:44px;font-weight:650;border-radius:9px;background:#3c7167}.text-button{font-weight:650;min-height:44px}.how-to-grid div{background:#e9eee1;border-radius:11px}.how-to-grid b{font-weight:650}.how-to-grid span{font-size:12px}.profile-card{border-width:1px;border-radius:12px;background:#f4f5e9}.profile-avatar{color:#5f836b;background:#e6ddbb}.profile-avatar .ui-icon{width:25px;height:25px}.profile-info strong{font-weight:700}.profile-info small{font-size:11px}.welcome-screen{border-radius:24px}.welcome-content h1{font-weight:750;letter-spacing:-2.6px}.welcome-content{background:linear-gradient(135deg,#28565cf5,#21454e)}.feature-chips span{font-weight:600}.eyebrow{font-weight:650}
@media(max-width:650px){.topbar{gap:6px}.brand{padding:5px 7px;gap:5px;border-radius:10px}.brand-mark{width:26px;height:26px;border-radius:7px}.brand-mark .ui-icon{width:20px;height:20px}.brand-words{display:flex}.brand-words strong{font-size:11px;letter-spacing:-.3px;max-width:68px}.brand-words small{font-size:5px;letter-spacing:1px;margin-top:4px}.badge-pill{height:36px;font-size:11px;gap:4px;padding-right:7px}.level-star{width:27px;height:27px}.level-star .ui-icon{width:20px;height:20px}.xp-track{width:28px;height:5px}.wallet{height:36px;font-size:12px;gap:4px}.wallet .coin{width:27px;height:27px}.coin .ui-icon{width:22px;height:22px}.dock{padding:4px;gap:0;border-radius:14px}.dock-button{min-height:49px;min-width:46px;border-radius:10px;padding:3px 6px;gap:4px}.dock-button .ui-icon{width:21px;height:21px}.dock-button small{font-size:9px}.action-button .ui-icon{width:25px;height:25px}.service-symbol .ui-icon{width:22px;height:22px}.service-button{border-radius:11px}.dialog{border-radius:16px}.upgrade-emoji .ui-icon{width:26px;height:26px}.profile-info small{font-size:10px}.buy-button{min-width:77px}.staff-summary{flex-wrap:wrap;gap:3px}.staff-funds{font-size:11px}.staff-card{padding:15px}}
@media(max-width:340px){.brand-words small{display:none}.brand-words strong{font-size:10px;max-width:60px}.brand{padding-right:5px;gap:4px}.badge-pill{gap:3px;padding-right:5px}.xp-track{width:23px}.wallet{padding-right:6px}.wallet .coin{width:25px;height:25px}.topbar{gap:4px}}

/* The compact wordmark stays visually small inside a full touch target. */
.brand{min-width:44px;min-height:44px}

/* Welcome kits share the reception strip; the four dock controls stay intact. */
.service-strip{position:absolute;top:88px;right:20px;width:364px;display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:7px;z-index:4;pointer-events:none}
.service-strip button{pointer-events:auto}.service-strip .service-button{position:static;inset:auto;width:100%;min-width:0;min-height:56px;padding:7px 10px}
.service-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-button.needs-stock{border-color:#e6c9a1}.service-button.needs-stock .service-symbol{color:#a77754;background:#eee1c6}
.supply-button{min-width:0;min-height:56px;padding:4px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #fff8df;border-radius:12px;background:#fff6e5f5;color:#456d5c;box-shadow:0 4px 14px #203f3526;text-align:center;line-height:1.15}
.supply-meter{display:flex;align-items:center;gap:5px;font-size:13px}.supply-meter .ui-icon{width:18px;height:18px}.supply-button>strong{font-size:11px;font-weight:700}.supply-button>small{font-size:10px;color:#6b7c67}.supply-button.empty{border-color:#d8b182;color:#926d46}.supply-button.low-stock{border-color:#d7bd82}.supply-button.restocking,.supply-button.transferring{background:linear-gradient(90deg,#dce8d0 var(--kit-progress,0%),#fff6e5 0)}.supply-button:disabled{cursor:default}.supply-button:focus-visible{outline-offset:2px}
.action-button.stocking{opacity:1;filter:none;animation:none;background:conic-gradient(#8bb69d var(--mop-progress,0deg),#e6bd7c 0);color:#34584b}
@media(max-width:650px) and (orientation:portrait){.service-strip{top:calc(57px + env(safe-area-inset-top,0px));left:8px;right:8px;width:auto;grid-template-columns:minmax(0,1fr) 80px;gap:6px}.service-strip .service-button{min-height:56px;padding:6px 8px;gap:7px}.service-strip .service-symbol{width:27px;height:29px}.service-strip .service-copy strong{font-size:11px}.service-strip .service-copy small{font-size:10px}.service-strip .service-call{padding:8px;min-width:44px;font-size:11px}.supply-button{border-radius:11px}.task-panel{top:calc(122px + env(safe-area-inset-top,0px))}}
@media(max-width:340px) and (orientation:portrait){.service-strip .service-symbol{display:none}.service-strip .service-copy small{font-size:10px}.service-strip .service-copy strong{font-size:11px}}
@media(max-height:490px) and (orientation:landscape){.service-strip{top:62px;right:12px;width:332px;grid-template-columns:minmax(0,1fr) 80px}.service-strip .service-button{min-height:52px}.supply-button{min-height:52px}.service-strip .service-copy small{font-size:10px}}

/* Production benchmark: restrained surfaces, stable hit areas and clear type. */
.vignette{background:radial-gradient(ellipse at 50% 48%,transparent 46%,#243e4515 100%)}
.topbar{background:linear-gradient(#203b444a,transparent)}
.brand,.badge-pill,.wallet{box-shadow:0 3px 10px #193a3926;border:1px solid #f4e7ca55}
.brand{border-radius:12px}.brand-mark{box-shadow:none;border:1px solid #f9e5b7;border-radius:9px}.brand-words strong{letter-spacing:-.5px;font-weight:750}
.service-button,.supply-button{box-shadow:0 3px 10px #203b3922;border:1px solid #e5ddc8;background-color:#fbf8eff5}
.supply-meter,.wallet,.badge-pill{font-variant-numeric:tabular-nums}.supply-button>small{color:#536b60}
.dock{background:#fbf8efee;border-color:#e7dfcb;border-radius:13px;box-shadow:0 3px 12px #193b3926}.dock-button{border-radius:9px}.dock-button.selected{background:#315e5c}
.joystick-base{box-shadow:0 3px 12px #24443e29,inset 0 1px #f5eddb55;border-width:1px;background:radial-gradient(circle at 40% 30%,#678b83b3,#244b52a6)}
.joystick-knob{box-shadow:0 2px 5px #203e3b47;border-width:1px;background:linear-gradient(145deg,#faf8ee,#d8e1d0)}
.action-button{border-width:1px;border-radius:23px;box-shadow:0 4px 14px #30493d35,inset 0 1px #fff8e8;background:linear-gradient(145deg,#f5dfb3,#e5c38a);font-size:13px;font-weight:650}
.action-button.ready{animation:none;box-shadow:0 4px 14px #30493d35,inset 0 0 0 2px #fff2d4}.action-button.not-ready{background:#ecf0e4e8;opacity:.86}
.tip{font-weight:550;background:#2f5055e8;border-radius:11px;box-shadow:0 3px 9px #203c3522}.task-panel{box-shadow:0 3px 14px #1d3e3524}.task-heading{height:44px}.task-name{font-weight:650}.task-meta{color:#607264}
.dialog{box-shadow:0 16px 48px #152f3e55}.manage-tabs{border:1px solid #e1e3d5}.upgrade-card,.staff-card{box-shadow:0 1px 3px #304b3d0d}
@media(min-width:651px){.task-panel{width:248px}.dock-button{min-height:52px;min-width:64px;padding-inline:9px}.action-button{width:82px;height:82px}.tip{bottom:calc(101px + env(safe-area-inset-bottom,0px))}}
@media(max-width:650px){.brand{border-radius:9px}.action-button{border-radius:19px}.task-heading{height:39px}.service-strip{gap:5px}.dock{border-radius:11px}.tip{font-size:10px}}

/* Expansion spine: one objective, with a contextual room/reception strip. */
.top-center{min-width:0;margin:0 auto}.badge-pill{height:48px;border-radius:12px;gap:6px;padding:5px 9px 5px 5px}.level-copy{display:grid;gap:3px;min-width:92px;line-height:1.05}.level-copy strong{font-size:12px;font-weight:700;white-space:nowrap}.level-copy small{font-size:9px;font-weight:550;color:#deeadf;font-variant-numeric:tabular-nums}.level-copy .xp-track{width:100%;height:4px}.level-star{width:30px;height:30px}.wallet{min-height:44px}
.objective-button{position:absolute;top:84px;left:20px;width:320px;max-width:calc(100% - 40px);min-height:64px;display:flex;align-items:center;gap:8px;padding:8px 12px;background:#284e55f2;color:#fff8e8;border:1px solid #c5d5bf88;border-radius:12px;text-align:left;box-shadow:0 3px 10px #203b3922;z-index:4}.objective-copy{display:grid;gap:4px;flex:1;min-width:0}.objective-copy>small{font-size:9px;font-weight:550;color:#e8ce9f;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.objective-copy>strong{font-size:14px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.objective-copy>span{font-size:10px;line-height:1.15;color:#d8e5da;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.objective-arrow{font-size:22px;color:#edcd91}.objective-button.funded{border-color:#edcd91}.service-strip{top:84px}.service-strip .service-button{min-height:64px}.supply-button{min-height:64px}.task-panel{top:158px}.unlock-cost{margin-top:6px;color:#7a7864;font-size:10px;font-variant-numeric:tabular-nums}.world-unlock-card .upgrade-info{min-width:0}.world-unlock-card .upgrade-info h3{line-height:1.25}.world-unlock-card .zone-focus{flex:none;min-width:82px}.staff-list,.world-unlock-card+.world-unlock-card{margin-top:10px}.service-strip .service-copy small{font-variant-numeric:tabular-nums}
@media(max-width:650px){
 .topbar{padding:calc(7px + env(safe-area-inset-top,0px)) calc(8px + env(safe-area-inset-right,0px)) 6px calc(8px + env(safe-area-inset-left,0px));align-items:flex-start;gap:6px}.brand{width:44px;padding:4px;justify-content:center}.brand-words{display:none}.brand-mark{width:29px;height:29px}.badge-pill{height:44px;padding:5px 7px 5px 5px;gap:5px}.level-copy{min-width:87px;gap:3px}.level-copy strong{font-size:11px}.level-copy small{font-size:9px}.level-star{width:26px;height:26px}.wallet{height:44px;padding:5px 8px 5px 5px;min-width:64px;justify-content:center}.wallet-name{display:none}
 .objective-button{font-size:12px}.world-unlock-card{gap:9px;padding:11px}.world-unlock-card .upgrade-emoji{width:40px;height:40px}.world-unlock-card .upgrade-info h3{font-size:13px}.world-unlock-card .zone-focus{min-width:72px;padding-inline:7px}.dialog{padding:24px 17px}.upgrade-info{min-width:0}
}
@media(max-width:650px) and (orientation:portrait){
 .objective-button{top:calc(58px + env(safe-area-inset-top,0px));left:8px;right:8px;width:auto;max-width:none;min-height:57px;padding:6px 10px;border-radius:10px}.objective-copy{gap:3px}.objective-copy>strong{font-size:12px}.objective-copy>small{font-size:8px}.objective-copy>span{font-size:9px}.objective-arrow{font-size:20px}
 .service-strip{top:calc(121px + env(safe-area-inset-top,0px));left:8px;right:8px;grid-template-columns:minmax(0,1fr) 75px;gap:5px}.service-strip .service-button,.supply-button{min-height:52px}.service-strip .service-button{padding:5px 7px}.service-strip .service-copy strong{font-size:11px}.service-strip .service-copy small{font-size:9px}.service-strip .service-symbol{width:25px;height:25px}.service-strip .service-call{min-width:42px;padding:8px 6px;font-size:10px}.service-strip .service-call{min-height:32px;display:grid;place-items:center}.supply-meter{font-size:12px}.supply-button>strong{font-size:10px}.supply-button>small{font-size:9px}.task-panel{top:calc(181px + env(safe-area-inset-top,0px))}.toast{top:calc(181px + env(safe-area-inset-top,0px))}
}
@media(max-width:340px){.world-unlock-card{display:grid;grid-template-columns:33px minmax(0,1fr)}.world-unlock-card .upgrade-emoji{width:33px;height:36px}.world-unlock-card .zone-focus{grid-column:2;justify-self:start}.level-copy{min-width:83px}.badge-pill{gap:3px}.level-star{width:23px;height:23px}.service-strip .service-symbol{display:none}}
@media(max-height:490px) and (orientation:landscape){.objective-button{top:62px;left:12px;width:min(300px,39vw);min-height:56px;padding:6px 9px}.objective-copy>strong{font-size:12px}.objective-copy>span,.objective-copy>small{font-size:9px}.service-strip{top:62px;right:12px;width:calc(58vw - 24px);max-width:364px}.service-strip .service-button,.supply-button{min-height:56px}.task-panel{top:126px}}
.service-strip.has-carry{width:424px;grid-template-columns:minmax(0,1fr) 86px 54px}.return-button{color:#597264;background:#ecedddf5;min-width:44px;gap:4px}.return-button>span{font-size:24px;line-height:24px}.return-button>strong{font-size:10px}.return-button:disabled{opacity:.65}
.guide-list{max-height:min(42vh,300px);overflow-y:auto;overscroll-behavior:contain;padding:6px 9px}.guide-step{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:8px 6px;text-align:left;border:0;border-bottom:1px solid #dce3d3;background:transparent;color:#6f7e70;font-size:11px}.guide-step>span{display:grid;place-items:center;flex:none;width:23px;height:23px;border:1px solid #c9d5c3;border-radius:8px}.guide-step>strong{font-weight:650}.guide-step.current{color:#365f50;background:#e6eedc;border-radius:9px}.guide-step.current>span{background:#496e5d;color:#fff8e7;border-color:#496e5d}.guide-step.done{color:#8b9983}.guide-step:disabled{cursor:default}.optional-goals-button{display:block;width:calc(100% - 16px);min-height:44px;margin:5px 8px 8px;border:1px solid #d9decf;border-radius:10px;background:#edf0e3;color:#5c7564;font-size:11px;font-weight:650}.shift-dialog .secondary-button{margin-top:10px}

/* Keep one primary instruction; the lower hint is reserved for active work,
   carrying or a blocked guest rather than repeating the objective all day. */
@media(max-width:650px) and (orientation:portrait){
 .objective-copy>small{display:none}.objective-button{min-height:50px}.service-strip{top:calc(114px + env(safe-area-inset-top,0px))}.task-panel{top:calc(174px + env(safe-area-inset-top,0px))}
 .tip:not(.contextual){opacity:0;visibility:hidden}.objective-copy>strong{font-size:13px}.objective-copy>span{font-size:10px}
}
@media(max-width:650px) and (orientation:portrait){.service-strip.has-carry{width:auto;grid-template-columns:minmax(0,1fr) 75px 48px}.service-strip.has-carry .service-symbol{display:none}.service-strip.has-carry .service-button{gap:5px}.service-strip.has-carry .service-call{padding-inline:5px;min-width:40px}}
@media(max-height:490px) and (orientation:landscape){.service-strip.has-carry{width:calc(58vw - 24px);max-width:424px;grid-template-columns:minmax(0,1fr) 75px 48px}.service-strip.has-carry .service-symbol{display:none}}

/* Optional paused campus view; ordinary game framing and controls stay intact. */
.world-map-button{flex:none;display:flex;align-items:center;justify-content:center;gap:7px;min-width:44px;height:44px;padding:6px 10px;border:1px solid #bacaba;border-radius:11px;background:#f8f2e1f2;color:#385e56;font:700 12px system-ui;pointer-events:auto}.world-map-button svg{width:23px;height:23px}
.world-overview{position:absolute;inset:0;z-index:8;pointer-events:none;color:#294c4d}.world-overview-header{position:absolute;left:18px;right:18px;top:calc(14px + env(safe-area-inset-top,0px));display:flex;justify-content:space-between;align-items:flex-start;gap:12px;pointer-events:none}.world-overview-header div{padding:11px 15px;border-radius:13px;background:#fbf5e9ed;border:1px solid #c3d0bd;box-shadow:0 4px 18px #29483c16}.world-overview-header small{font-size:9px;font-weight:750;letter-spacing:1px}.world-overview-header h2{margin:3px 0;font-size:23px}.world-overview-header p{margin:0;font-size:11px;color:#66796b}.world-overview-header button{pointer-events:auto;min-height:44px;padding:10px 14px;border:1px solid #a4baaa;border-radius:11px;background:#2e5955;color:#fff5df;font-weight:700}
.world-room-pins{position:absolute;inset:0;pointer-events:none}.world-room-pin{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;width:28px;height:28px;border:2px solid #fff6e1;border-radius:50%;background:#9b7859;color:white;box-shadow:0 2px 5px #162e3750;font-weight:800}.world-room-pin.opened{background:#3f7562}.world-room-pin:focus-visible{outline:3px solid #e8b752;outline-offset:3px}
.world-directory{pointer-events:auto;position:absolute;left:16px;right:16px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:10px 12px;border-radius:14px;border:1px solid #bacaba;background:#faf4e6f2;box-shadow:0 3px 20px #29483c15}.world-directory>p{margin:0 0 8px;font-size:11px;color:#5c7266}.world-room-list{display:grid;grid-template-rows:repeat(2,minmax(46px,auto));grid-auto-flow:column;grid-auto-columns:minmax(168px,1fr);gap:6px;overflow:auto;overscroll-behavior:contain;max-width:100%;padding-bottom:3px}.world-room-choice{display:flex;align-items:center;gap:7px;padding:6px 8px;min-width:0;text-align:left;border:1px solid #c7cebc;border-radius:9px;background:#f4ead6;color:#496253;min-height:46px}.world-room-choice>b{flex:none;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#9b7859;color:#fff6e5;font-size:12px}.world-room-choice.opened>b{background:#3f7562}.world-room-choice span{display:grid;gap:3px;min-width:0}.world-room-choice strong{font-size:11px;line-height:1.15}.world-room-choice small{font-size:9px;line-height:1.2;color:#6d7767}.world-room-choice.opened{background:#e7eddf}
@media(max-width:650px){.world-map-button{width:44px;padding:6px}.world-map-button>span{display:none}.world-overview-header{left:10px;right:10px;gap:6px;top:calc(8px + env(safe-area-inset-top,0px))}.world-overview-header div{padding:9px 10px}.world-overview-header h2{font-size:17px}.world-overview-header small{font-size:7px;letter-spacing:.6px}.world-overview-header p{font-size:9px}.world-overview-header button{max-width:90px;font-size:10px;padding:8px}.world-directory{left:8px;right:8px;padding:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px))}.world-directory>p{font-size:9px}.world-room-list{grid-auto-columns:156px}.world-room-pin{width:25px;height:25px;font-size:11px}}
@media(max-height:490px) and (orientation:landscape){.world-overview-header div{padding:5px 9px}.world-overview-header h2{font-size:15px}.world-overview-header p{display:none}.world-directory{padding:6px 9px}.world-directory>p{display:none}.world-room-list{grid-template-rows:repeat(2,40px);grid-auto-columns:170px;gap:4px}.world-room-choice{min-height:40px;padding:4px 6px}.world-room-choice strong{font-size:10px}.world-room-choice small{font-size:8px}}

/* Availability stays in Welcome/Help, leaving the play view clear. */
.offline-status{font-size:12px;line-height:1.5}.offline-update{min-height:44px;margin:0 0 8px}.offline-update[hidden]{display:none}
@media(max-height:490px) and (orientation:landscape){.welcome-content{padding-block:4px}.welcome-content .offline-update{margin-bottom:0}}
