/* Keep marketing CTAs web-native; the game plates belong to The Job wizard. */
.scene .play{touch-action:manipulation;white-space:nowrap}
.scene .play span{font-size:.8em;margin-left:.3em}
[data-play],[data-clock-punch],.hq-mini,.hq-map button,.m-btn{touch-action:manipulation}
[data-play]:active,[data-clock-punch]:active{transform:translateY(3px)}
.shift-clock-prop{min-height:340px}
.shift-clock-serial{bottom:0;z-index:3}
.shift-punch-card{top:45%;min-height:140px}
.shift-clock[data-clock-state="punched"] .shift-punch-card{z-index:1}
@media(max-width:720px){.shift-clock-prop{min-height:320px}.shift-punch-card{top:44%}}
.scene[data-game-depart="true"] .copy,.scene[data-game-depart="true"] .gate-note{animation:ps-depart-copy .68s ease-in both}
@keyframes ps-depart-copy{to{transform:translate(-50%,24px);opacity:0}}
@media(max-width:600px){.scene[data-game-depart="true"] .gate-note{animation:ps-depart-note .68s ease-in both}}
@keyframes ps-depart-note{to{transform:translateY(24px);opacity:0}}
.game-launch{margin:0;border:0;padding:0;position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;background:#151710;color:#f6eee0;overflow:hidden}
.game-launch::backdrop{background:#11120f}
.game-launch-shell{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;isolation:isolate;overflow:hidden;background:#151710;font-family:Arial,Helvetica,sans-serif}
.game-launch-bar,.game-launch-footer{display:flex;align-items:center;gap:12px;background:linear-gradient(140deg,#353325,#181a14);border-bottom:2px solid #ab8c38;padding:10px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left));z-index:2}
.game-launch-bar{padding-top:max(10px,env(safe-area-inset-top))}
.game-launch-bar img{width:clamp(78px,12vw,142px);height:auto}
.game-launch-bar div{display:grid;gap:2px}
.game-launch-bar small,.game-launch-eyebrow,.game-launch-status,.game-launch-footer{font:700 11px/1.35 var(--ps-mono,monospace);letter-spacing:.05em;color:#deca92}
.game-launch-bar b{color:#ffc925;font-size:clamp(16px,3vw,24px);font-weight:1000}
.game-launch-exit,.game-launch-footer button{margin-left:auto;padding:10px 12px;background:#161711;color:#ffcf35;font-weight:900;border:1px solid #a28a45;border-radius:4px;touch-action:manipulation;white-space:nowrap}
.game-launch-stage{position:relative;display:grid;place-items:center;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px}
.game-launch-scenery{position:absolute;inset:0;pointer-events:none;overflow:hidden;background:#397ba3}
.game-launch-scenery img{position:absolute;width:100%;object-fit:cover;bottom:0}
.game-launch-scenery img:nth-child(1){height:100%}
.game-launch-scenery img:nth-child(2){bottom:8%;height:42%;object-fit:fill}
.game-launch-scenery img:nth-child(3){bottom:4%;height:34%;object-fit:fill}
.game-launch-scenery img:nth-child(4){height:12%;object-fit:fill}
.game-launch-scenery::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#11130f85,#11130f23 55%,#11130f50)}
.game-launch-card{position:relative;max-width:min(100%,550px);width:100%;padding:clamp(16px,3vw,32px);border:1px solid #b59c5a;border-top:5px solid #ffcb29;background:linear-gradient(120deg,#25271ff5,#171912f7);box-shadow:5px 6px 0 #11120f8c;text-align:center;display:grid;justify-items:center;gap:10px}
.game-launch-card h2{margin:0;font-size:clamp(30px,5vw,54px);line-height:.98;letter-spacing:-.05em}
.game-launch-card p{margin:0;line-height:1.4}
.game-shift-badge{width:min(54%,210px);max-height:110px;object-fit:contain}
.game-rotate-icon{display:none;width:102px;color:#ffcd2c}
.game-rotate-icon svg{display:block;width:100%}
.game-launch-shell[data-game-state="rotate"] .game-rotate-icon{display:block;animation:ps-phone-tilt 2.4s ease-in-out infinite}
.game-launch-shell[data-game-state="rotate"] .game-shift-badge{display:none}
@keyframes ps-phone-tilt{50%{transform:rotate(-12deg)}}
.game-loading-strip{height:9px;width:100%;background:repeating-linear-gradient(125deg,#ffc925 0 14px,#30291a 14px 28px);animation:ps-game-load 1s linear infinite}
@keyframes ps-game-load{to{background-position:28px 0}}
.game-launch-shell:not([data-game-state="loading"]) .game-loading-strip{animation:none}
.game-launch-footer{border-top:2px solid #ab8c38;border-bottom:0;justify-content:space-between;padding-bottom:max(10px,env(safe-area-inset-bottom));flex-wrap:wrap}
.game-launch-footer small{font-size:10px}
.game-frame-slot{position:absolute;inset:0;visibility:hidden;display:grid;place-items:center;background:#070808;overflow:hidden}
.game-frame-slot iframe{border:0;width:100%;height:100%;display:block;touch-action:none}
.game-launch-shell[data-game-state="playing"] .game-frame-slot{visibility:visible}
.game-launch-shell[data-game-state="playing"] .game-launch-card,.game-launch-shell[data-game-state="playing"] .game-launch-scenery,.game-launch-shell[data-game-state="playing"] .game-launch-footer{display:none}
.game-launch-shell[data-game-state="playing"]{grid-template-rows:minmax(0,1fr)}
.game-launch-shell[data-game-state="playing"] .game-launch-bar{position:absolute;top:max(5px,env(safe-area-inset-top));right:max(5px,env(safe-area-inset-right));padding:0;border:0;background:none;gap:4px}
.game-launch-shell[data-game-state="playing"] .game-launch-bar img,.game-launch-shell[data-game-state="playing"] .game-launch-bar div{display:none}
.game-launch-shell[data-game-state="playing"] .game-launch-exit{font-size:11px;padding:5px 8px;opacity:.8}
.game-shutters{position:absolute;inset:0;pointer-events:none;z-index:8;overflow:hidden}
.game-shutters i{position:absolute;left:0;width:100%;height:50%;background:repeating-linear-gradient(0deg,#25271f 0 44px,#3d3c28 45px,#171912 48px);border:6px solid #ae8c36}
.game-shutters i:first-child{top:0;transform:translateY(-105%);border-bottom:13px solid #ffc925}
.game-shutters i:last-child{bottom:0;transform:translateY(105%);border-top:13px solid #ffc925}
.game-launch[open] .game-shutters i:first-child{animation:ps-shutter-top .72s cubic-bezier(.28,.75,.25,1) both}
.game-launch[open] .game-shutters i:last-child{animation:ps-shutter-bottom .72s cubic-bezier(.28,.75,.25,1) both}
@keyframes ps-shutter-top{0%,18%{transform:translateY(0)}100%{transform:translateY(-105%)}}
@keyframes ps-shutter-bottom{0%,18%{transform:translateY(0)}100%{transform:translateY(105%)}}
.game-launch.is-closing .game-shutters i:first-child{animation:ps-shutter-top .35s ease-in reverse both}
.game-launch.is-closing .game-shutters i:last-child{animation:ps-shutter-bottom .35s ease-in reverse both}
.game-flying-card{position:fixed;z-index:10000;pointer-events:none;transform-origin:center;box-shadow:6px 9px 0 #0005;overflow:hidden}
body.game-page-locked{overflow:hidden;overscroll-behavior:none}
@media(max-height:500px) and (orientation:landscape){.game-launch-bar{padding-block:4px}.game-launch-bar img{width:70px}.game-launch-bar small{font-size:9px}.game-launch-stage{padding:8px}.game-launch-card{padding:10px;gap:5px}.game-shift-badge{max-height:50px}.game-launch-card h2{font-size:28px}.game-launch-footer{padding-block:5px}.game-launch-card p{font-size:13px}}
@media(max-width:375px){.game-launch-exit{padding:9px 7px;font-size:12px}.game-launch-bar{gap:7px}.game-launch-bar img{width:75px}}
@media(prefers-reduced-motion:reduce){.game-launch *,.scene[data-game-depart="true"] .copy,.scene[data-game-depart="true"] .gate-note{animation:none!important;transition:none!important}}
.game-fullscreen-control{border:1px solid #a28a45;background:#161711;color:#ffcf35;padding:6px 8px;border-radius:4px;font-weight:800;touch-action:manipulation;font-size:11px}
.game-launch [hidden]{display:none!important}
.game-launch-shell[data-game-state="playing"] .game-launch-stage{padding:0}
.game-launch-shell[data-game-state="playing"] .game-frame-slot{inset:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.play-triangle{display:inline-block;width:0;height:0;border-top:.34em solid transparent;border-bottom:.34em solid transparent;border-left:.52em solid currentColor;vertical-align:.04em;margin-left:.4em}
.game-launch-exit:focus-visible,.game-fullscreen-control:focus-visible,.game-launch-retry:focus-visible{outline:2px solid #ffce38;outline-offset:3px}
/* Landscape handoff: preserve the original shutter animation and player shell. */
.game-launch-shell[data-game-state="rotate"] .game-rotate-icon{width:120px;animation:none}
.game-rotate-phone{transform-origin:60px 60px;transform:rotate(90deg);animation:ps-phone-quarter-turn 1.8s cubic-bezier(.35,.05,.2,1) both}
@keyframes ps-phone-quarter-turn{0%,20%{transform:rotate(0deg)}82%,100%{transform:rotate(90deg)}}
.game-rotate-icon.is-motion-synced .game-rotate-phone{animation:none;transform:rotate(var(--phone-angle,0deg));transition:transform 90ms linear}
.game-launch-shell.rotation-arrived .game-launch-card{animation:ps-game-arrive .4s ease-out both}
@keyframes ps-game-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.game-launch-optional{font:700 12px/1.35 Arial,sans-serif;color:#f8dd86;background:transparent;border:0;border-bottom:1px dashed #a28a45;padding:5px 3px;touch-action:manipulation}
.game-launch-optional:focus-visible{outline:2px solid #ffce38;outline-offset:3px}
.game-install-help{max-width:42ch;color:#e8d9b3;font-size:12px!important}
.game-fullscreen-control{margin-left:auto;min-height:38px}
.game-fullscreen-control:not([hidden])+.game-launch-exit{margin-left:0}
@media(max-width:390px){.game-launch-bar small{font-size:8px}.game-launch-bar b{font-size:14px}.game-fullscreen-control{font-size:10px;padding:5px}.game-launch-exit{font-size:11px}}
@media(max-height:500px) and (orientation:landscape){.game-launch-optional{padding:2px;font-size:11px}.game-launch-card{max-width: min(100%,620px)}.game-install-help{max-width:70ch}}
@media(prefers-reduced-motion:reduce){.game-rotate-phone{transform:rotate(90deg)}.game-rotate-icon.is-motion-synced .game-rotate-phone{transform:rotate(var(--phone-angle,0deg))}}
/* Standalone game app, intentionally separate from marketing HQ. */
.game-launch-choice{display:grid;gap:9px;width:min(100%,340px);justify-items:stretch}
.game-launch-shell[data-game-state="choice"] .game-loading-strip,.game-launch-shell[data-game-state="choice"] .game-launch-status{display:none}
.game-app-primary,.game-app-secondary{font:900 16px/1.2 Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 19px;border-radius:6px;text-decoration:none;cursor:pointer;touch-action:manipulation}
.game-app-primary{background:#ffc925;color:#171711;border:1px solid #ffdb70;box-shadow:0 4px 0 #8f752c}
.game-app-primary:active{transform:translateY(3px);box-shadow:0 1px 0 #8f752c}
.game-app-secondary{background:#171911;color:#f5ead1;border:1px solid #95814d}
.game-app-primary:focus-visible,.game-app-secondary:focus-visible{outline:2px solid #fce4a0;outline-offset:3px}
.game-app-page{margin:0;background:#151710;color:#f6eee0;font:16px Arial,sans-serif;min-height:100dvh}
.game-app-lobby{min-height:100dvh;display:grid;place-items:center;padding:24px;box-sizing:border-box;background:linear-gradient(#0d161956,#151710c4),url('/assets/road-sky.webp') center/cover}
.game-app-lobby-card{display:grid;gap:12px;justify-items:center;text-align:center;width:min(100%,440px);box-sizing:border-box;padding:28px;background:#191b13f5;border:1px solid #997d38;border-top:5px solid #ffc925;box-shadow:6px 6px 0 #080909aa}
.game-app-lobby-card img{width:min(75%,260px);object-fit:contain;max-height:100px}
.game-app-lobby-card h1,.game-app-lobby-card p{margin:0}.game-app-lobby-card small{color:#b7a978;font:700 11px monospace}
.game-app-page button{font-family:Arial,sans-serif}.game-app-page .game-launch-retry{background:#ffc925;color:#171711;border:1px solid #ffdb70;border-radius:5px;padding:10px 15px;font-weight:900}
.game-app-page .game-launch{box-sizing:border-box}.game-app-page .game-launch-card{box-sizing:border-box}
@media(max-height:500px) and (orientation:landscape){.game-launch-choice{grid-template-columns:1fr 1fr;width:min(100%,440px);gap:8px}.game-install-help{grid-column:1/-1}.game-launch-choice button{min-height:36px;padding:7px 10px;font-size:13px}.game-app-lobby-card{padding:12px;gap:6px}}
