/* Opening guidance sits within the established navy, mint and brass game world. */
.opening-welcome{position:absolute;inset:0;z-index:20;display:grid;place-items:safe center;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom));background:linear-gradient(110deg,#0c2434f5,#102f3edf);backdrop-filter:blur(7px);overflow:auto;color:#e2eee5}
.opening-welcome-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);width:min(100%,1040px);margin:auto}
.opening-brand{width:180px;height:auto;display:block;margin:0 0 24px}
.opening-kicker{display:block;font-size:11px;font-weight:750;line-height:1.6;letter-spacing:.1em;color:#e0c58b}
.opening-welcome h1{font-size:clamp(34px,4.3vw,60px);font-weight:700;line-height:1.09;letter-spacing:-.035em;color:#f3ead2;margin:12px 0 19px}
.opening-welcome p{font-size:16px;line-height:1.7;margin:0 0 18px;color:#c7dbd5;max-width:480px}
.opening-steps{list-style:none;padding:0;margin:23px 0;display:grid;gap:16px}
.opening-steps li{display:flex;align-items:center;gap:13px}
.opening-steps li>span{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;color:#d3ead5;background:#2b5158;border:1px solid #a9d4c34d;font-size:14px;font-weight:700}
.opening-steps strong,.opening-steps small{display:block;line-height:1.5}.opening-steps strong{font-size:15px;color:#eff0d9}.opening-steps small{font-size:13px;color:#b3cac4}
.opening-welcome .opening-primary{display:block;background:#c4e6cd;color:#173e42;min-height:50px;width:min(100%,350px);font-size:16px}
.opening-quiet{display:block;border:0;background:transparent;font:inherit;font-size:14px;color:inherit;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px 0}
.opening-reassurance{display:block;font-size:12px;line-height:1.7;max-width:350px;color:#acc7c2;margin-top:5px}
.opening-welcome-mentors{align-self:center;border:1px solid #b2d5c033;border-radius:24px;background:linear-gradient(145deg,#274b5666,#0c263933);padding:26px}
.opening-welcome-mentors h2{font-size:25px;color:#f3ead2;line-height:1.25;margin:8px 0 22px;letter-spacing:-.02em}
.opening-portrait-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 7px;margin:18px 0}
.opening-portrait-grid button{grid-column:span 2;display:flex;align-items:center;flex-direction:column;background:transparent;border:0;color:#dce8d7;padding:4px;min-width:0;font:inherit;text-align:center}
.opening-portrait-grid button:nth-last-child(2){grid-column:2/span 2}.opening-portrait-grid button:last-child{grid-column:4/span 2}
.opening-portrait-grid .career-mentor-portrait{width:clamp(65px,7vw,92px);height:clamp(65px,7vw,92px);margin-bottom:9px}
.opening-portrait-grid strong{font-size:12px;line-height:1.5}.opening-portrait-grid span{font-size:11px;color:#abc7be;line-height:1.6}
.opening-welcome-mentors>p{font-size:13px;line-height:1.7;margin:20px 0 0}
.opening-dialog{width:min(860px,calc(100% - 24px));max-width:860px;max-height:calc(100svh - 24px);overflow:auto;border:1px solid #c6b38280;background:#102f3d;color:#d4e6d9;border-radius:21px;padding:24px}
.opening-dialog .modal-head h2{font-size:20px;color:#f2e7ca}.opening-dialog .close{background:#315460;color:#e5eddb;flex:none;min-width:44px;min-height:44px}
.opening-dialog h3{font-size:28px;line-height:1.25;letter-spacing:-.025em;color:#f3e6c5;margin:9px 0 14px}.opening-dialog h4{font-size:20px;line-height:1.35;color:#ece4c8;margin:14px 0 9px}
.opening-dialog p{font-size:14px;line-height:1.75;color:#c2d7cd}.opening-dialog .btn{font-size:14px;min-height:46px;background:#c7e4ca;color:#1c4545}.opening-dialog .btn.secondary{background:#274b57;color:#e1e9d2;border-color:#b2c2a854}
.mentor-choice-note{padding:12px 14px;background:#294d53;border-radius:10px}.mentor-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:22px 0 12px}
.mentor-choice{border:1px solid #b9d0b641;border-radius:14px;padding:17px;background:#183c49;min-width:0}.mentor-choice-person{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.mentor-choice-person>div{flex:1;min-width:100px}.mentor-choice .career-mentor-portrait{width:58px;height:58px}
.mentor-choice h3{font-size:18px;margin:3px 0;letter-spacing:-.02em}.mentor-choice-person>div>span:last-child{font-size:12px;color:#b1cbbd}.mentor-choice .opening-kicker{font-size:10px}.mentor-access{font-size:9px;font-weight:750;letter-spacing:.06em;color:#e1d4a4;border:1px solid #c7b97b59;padding:4px 6px;border-radius:5px}.mentor-choice p{font-size:13px;min-height:46px;margin:13px 0}
.opening-inline-actions{display:flex;gap:9px;flex-wrap:wrap}.opening-inline-actions button{min-height:44px;padding:9px 11px;background:#31535b;color:#e4ecdb;border:1px solid #bfd6bd55;border-radius:9px;font:inherit;font-size:12px;line-height:1.5}.opening-inline-actions .mentor-choose{background:#d1dfb8;color:#224747;border-color:#d1dfb8}
.mentor-intro-person{display:flex;align-items:center;gap:19px;margin:12px 0 24px}.mentor-intro-person .career-mentor-portrait{width:105px;height:105px}.mentor-intro-person h3{margin:5px 0;font-size:32px}.mentor-intro-person p{margin:0}
.mentor-examples{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:15px 0 23px}.mentor-examples li{font-size:12px;padding:7px 11px;border:1px solid #b0d0bc44;border-radius:8px;background:#244954}
.mentor-role{border-block:1px solid #a8c5ad40;padding:2px 0 7px}.mentor-role h4{font-size:16px}.mentor-role p{font-size:13px}
.mentor-first-job{padding:19px 21px;border:1px solid #c8bd8580;border-radius:13px;background:linear-gradient(120deg,#2d5553,#21434e);margin:23px 0}.mentor-first-job h4{font-size:23px;margin:7px 0}.mentor-first-job ol{list-style:none;display:grid;gap:9px;padding:0;margin:17px 0}.mentor-first-job li{display:flex;align-items:center;gap:11px;font-size:13px;line-height:1.6}.mentor-first-job li>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#c3d7b5;color:#284c48;flex:none;font-weight:700}.mentor-first-job .mentor-reward-note{font-size:12px;line-height:1.7;color:#c6d9c4;margin-bottom:0}
.mentor-script-note{font-size:12px!important;color:#a5c1b8!important;margin-top:17px}.opening-tour{padding-left:24px;margin:22px 0}.opening-tour li{padding-left:7px;margin:19px 0;line-height:1.5}.opening-tour strong{color:#e6e7c9}.opening-tour p{margin:6px 0}
.opening-home-next{position:absolute;bottom:118px;left:max(22px,env(safe-area-inset-left));z-index:13;width:min(450px,calc(100% - 44px));display:flex;gap:13px;align-items:flex-start;padding:16px;border:1px solid #d4c08980;border-radius:15px;background:#102c3df2;box-shadow:0 8px 28px #061c3055;color:#e3ecda}.opening-home-next .career-mentor-portrait{width:52px;height:52px}.opening-home-next strong{font-size:14px;line-height:1.5;display:block;margin:4px 0}.opening-home-next p{font-size:12px;line-height:1.6;color:#bdd2c6;margin:4px 0 9px}.opening-home-next .opening-kicker{font-size:10px}
.hq-world-caption .career-mentor-shortcut{display:flex;align-items:center;gap:8px;text-align:left;min-height:44px;padding:8px 0;color:#e7dfba;font:inherit;font-size:12px}.career-mentor-shortcut .career-mentor-portrait{width:38px;height:38px}.career-mentor-shortcut strong{display:block}.career-mentor-shortcut small{display:block;font-size:10px;color:#b9cfc2}.career-mentor-help{background:transparent;border:0;color:#e1d4a3;padding:6px 0;font:inherit;font-size:12px;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.opening-handover{padding:18px;border:1px solid #a7d2ac66;border-radius:12px;background:#284e4d;margin:18px 0}.opening-handover h4{font-size:20px;line-height:1.35;margin:6px 0 9px;color:#eee6c5}.opening-handover p{font-size:13px;line-height:1.7;color:#c5dac8}.opening-handover .btn{white-space:normal;line-height:1.5}
.opening-welcome button:focus-visible,.opening-dialog button:focus-visible,.opening-home-next button:focus-visible,.career-mentor-shortcut:focus-visible,.career-mentor-help:focus-visible{outline:3px solid #d1efbf;outline-offset:4px}.opening-inline-actions button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:760px){.opening-welcome{position:relative;grid-column:1/-1;width:100%;min-height:100svh;padding:25px 20px;background:linear-gradient(150deg,#102e40f5,#173e48f5)}.room-home-world.opening-home-active{padding:0;display:block}.opening-home-active>.room-home-stage,.opening-home-active>.room-home-hud,.opening-home-active>.room-home-dock{display:none}.opening-welcome-card{grid-template-columns:1fr;gap:25px}.opening-brand{width:145px;margin-bottom:20px}.opening-welcome h1{font-size:38px}.opening-welcome p{font-size:15px}.opening-steps{margin:22px 0;gap:13px}.opening-welcome-mentors{padding:20px}.opening-welcome-mentors h2{font-size:22px}.opening-portrait-grid .career-mentor-portrait{width:65px;height:65px}.opening-welcome .opening-primary{width:100%}.opening-dialog{padding:18px;border-radius:16px}.opening-dialog .modal-head h2{font-size:18px}.mentor-choice-grid{grid-template-columns:1fr}.mentor-choice p{min-height:0}.mentor-intro-person{gap:13px}.mentor-intro-person .career-mentor-portrait{width:78px;height:78px}.mentor-intro-person h3{font-size:26px}.mentor-first-job{padding:17px}.opening-home-next{bottom:110px;left:12px;width:calc(100% - 24px);padding:12px;gap:10px}.opening-home-next .career-mentor-portrait{width:40px;height:40px}.opening-home-next strong{font-size:13px}.opening-home-next p{display:none}.opening-home-next .opening-inline-actions{margin-top:7px}}
@media(prefers-reduced-motion:reduce){.opening-welcome *,.opening-dialog *{scroll-behavior:auto;animation:none;transition:none}}
/* Optional Home tour survives closed dialogs and reloads. */
.opening-trophy-guide{margin-bottom:20px;padding:18px;border:1px solid #bba77c;border-radius:14px;background:#f5eedb;color:#263a55}
.opening-trophy-guide strong{font-size:19px}.opening-trophy-guide p{font-size:15px;line-height:1.6;margin:8px 0 14px}.opening-trophy-guide .actions{flex-wrap:wrap}
@media(max-width:760px){.opening-home-personalise p{display:block}.opening-home-personalise{bottom:104px}}
