/* A compact information line leaves the course most of the screen. */
.game-shell.immersive-game{max-width:none;padding:var(--safe-top) max(4px,var(--safe-right)) var(--safe-bottom) max(4px,var(--safe-left));display:flex;flex-direction:column}
.game-shell.immersive-game .game-header{display:flex;align-items:center;gap:6px;min-height:48px;height:48px;padding:0 4px;flex-shrink:0}
.immersive-game .hole-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0;white-space:nowrap;color:#233b5b}
.immersive-game .hole-heading .course-title{display:flex;align-items:center;gap:6px;flex:1;min-width:0;font-size:19px;line-height:1.4;white-space:nowrap}
.immersive-game .course-half{font-size:15px;color:#516778;font-weight:500}.immersive-game .course-title b{font-size:19px;white-space:nowrap}
.immersive-game .hole-heading h1{display:flex;align-items:baseline;gap:2px;font-size:18px;line-height:1.2;margin:0;white-space:nowrap;color:#233b5b}
.immersive-game .hole-heading h1 strong{font-size:25px}.immersive-game .hole-par,.immersive-game .hole-length{font-size:18px;line-height:1.3;white-space:nowrap}
.game-shell.immersive-game .game-progress{margin:0 5px 3px;height:4px;min-height:4px}.game-shell.immersive-game .game-progress span{height:4px}
.game-shell.immersive-game .field-area{border-radius:12px}.immersive-game .field-toolbar{top:6px;left:6px;right:6px}.immersive-game .joystick-dock{right:10px;bottom:10px}.immersive-game .stage-note{left:8px;bottom:10px}
#course-map[data-view-axis="horizontal"] #course-world text:not(.flag-number){transform-box:fill-box;transform-origin:center;transform:rotate(-90deg)}
@media(max-width:360px){.immersive-game .hole-heading{gap:7px}.immersive-game .hole-heading .course-title{gap:4px}.immersive-game .course-title b{font-size:16px}.immersive-game .course-half{font-size:13px}.immersive-game .hole-heading h1{font-size:16px}.immersive-game .hole-heading h1 strong{font-size:22px}.immersive-game .hole-par,.immersive-game .hole-length{font-size:16px}.game-shell.immersive-game .game-header{padding:0 2px;gap:2px}}
@media(orientation:landscape) and (max-height:540px){.game-shell.immersive-game{display:flex;flex-direction:column}.immersive-game .field-toolbar{right:174px;top:6px}.immersive-game .stage-note{left:auto;right:8px;top:6px;bottom:auto}.game-shell.immersive-game .game-layout{width:100%;flex:1}.immersive-game .hole-heading{justify-content:flex-start}.immersive-game .hole-heading .course-title{flex:0 1 auto}}


/* Match status to the joystick column, leaving only hole metadata above the map. */
.game-shell.immersive-game .joystick-dock{--dock-size:clamp(130px,36vw,166px);width:max(154px,var(--dock-size));display:flex;flex-direction:column;align-items:center;gap:7px}
.immersive-game .joystick-console{--stick-size:var(--dock-size);align-items:center}
.game-shell.immersive-game .game-status{display:flex;flex-direction:column;position:static;align-items:stretch;gap:3px;width:100%;max-width:none;min-height:0;margin:0;padding:8px 10px;border:1px solid #c7d8b7;border-radius:15px;background:#f8fff1f5;color:#244633;box-shadow:0 3px 10px #254b3214;flex-shrink:0}
.game-shell.immersive-game .game-status>div{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;min-width:0;gap:5px}
.game-shell.immersive-game .game-status .turn-summary{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding-bottom:5px;margin-bottom:2px;border-bottom:1px solid #dbe6d0}
.game-shell.immersive-game .game-status small{font-size:14px;line-height:1.4;color:#496153;white-space:nowrap}
.game-shell.immersive-game .game-status .turn-summary small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-shell.immersive-game .game-status strong{font-size:23px;line-height:1.2;white-space:nowrap;color:#235b39;font-variant-numeric:tabular-nums}
.game-shell.immersive-game .game-status strong span{font-size:14px;margin-left:3px}.game-shell.immersive-game .game-status .turn-summary strong{font-size:25px}
.pause-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.pause-tools button{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;min-height:52px;font-size:18px}
@media(max-height:700px) and (orientation:portrait){.game-shell.immersive-game .joystick-dock{--dock-size:130px}}
@media(orientation:landscape) and (max-height:540px){.game-shell.immersive-game .joystick-dock{--dock-size:128px;gap:5px}.immersive-game .field-toolbar{right:174px}.immersive-game .stage-note{left:8px;right:auto;top:auto;bottom:10px;width:min(310px,calc(100% - 180px))}.game-shell.immersive-game .game-status{padding:6px 9px;gap:2px}.game-shell.immersive-game .game-status strong{font-size:22px}.game-shell.immersive-game .game-status .turn-summary strong{font-size:23px}}
@media(orientation:landscape) and (max-height:360px){.game-shell.immersive-game .joystick-dock{--dock-size:112px;gap:4px;bottom:7px}.game-shell.immersive-game .game-status{padding:5px 9px;gap:1px}.game-shell.immersive-game .game-status .turn-summary{flex-direction:row;align-items:center;padding-bottom:3px;margin-bottom:1px;gap:5px}.game-shell.immersive-game .game-status .turn-summary small{min-width:0;flex:1}.game-shell.immersive-game .game-status .turn-summary strong{flex-shrink:0}.game-shell.immersive-game .game-status strong,.game-shell.immersive-game .game-status .turn-summary strong{font-size:21px}.immersive-game .stick-readout{min-height:28px;padding:1px 12px}.immersive-game .stick-readout strong{font-size:20px}}
