/* Concrete / Taxi broadcast presentation. Touch sizes and safe-area rules remain shared. */
.immersive .head a,.immersive .tools button{background:#10181fd9;border:1px solid #ffffff29;border-radius:10px;color:#f4f6f8;box-shadow:0 3px 12px #00000018;backdrop-filter:blur(12px)}
.immersive .scoreboard{background:linear-gradient(120deg,#10171fee,#19262ce3);border:1px solid #ffffff25;border-bottom:2px solid #eabd3c;border-radius:10px;color:#fafafa;box-shadow:0 5px 22px #00000020;backdrop-filter:blur(12px)}
.immersive .team-score b{font-weight:750;letter-spacing:-.04em}.immersive .scoreboard small{color:#d5dce0;letter-spacing:.13em}.immersive .clock strong{color:#f3cf66}.immersive .clock span{color:#b7c4cb}
.immersive .match-state b{background:#121c23de;color:#f1cf64;border:1px solid #ffffff25;border-radius:4px;font-weight:600}.immersive .match-state{color:#fafafa}
.immersive .joystick{border:1px solid #f3f6f466;background:radial-gradient(circle,#f4f6fa08 0 35%,#ffffff18 36% 37%,#0c172047 38% 66%,#ffffff30 67% 68%,#09131c55 69%);box-shadow:0 8px 24px #00000024,inset 0 0 22px #f7f4df0d;backdrop-filter:blur(3px)}
.immersive .joystick span{background:radial-gradient(circle at 35% 25%,#52636cdd,#1a2832e8);border:1px solid #dce5e99c;box-shadow:0 5px 13px #00000055,inset 0 1px 1px #ffffff55}.immersive .joystick b{color:#ffffffbb;font-size:9px;text-transform:uppercase;letter-spacing:.16em}
.immersive .face{background:linear-gradient(145deg,#2e404cdd,#0e1a23e6);border:1px solid #ffffff70;box-shadow:0 5px 14px #00000040,inset 0 1px 0 #ffffff30;backdrop-filter:blur(8px);color:#f5f8fa}.immersive .face b{font-weight:750}.immersive .face span{font-weight:550}.immersive .face small{color:#b8c5ce}.immersive .a b{color:#8bddad}.immersive .b b{color:#ff9291}.immersive .x b{color:#87bcff}.immersive .y b{color:#f4d56d}.immersive .face.ready{border-color:#f6ce52;background:linear-gradient(145deg,#6e5b26eb,#2d2c20eb)}
.immersive .style-caption{font-size:9px;color:#f6f7f8}.immersive .style-track{background:#121c2699;border-radius:3px;overflow:hidden;height:4px}.immersive .style-track i{background:#efc548}.immersive .style-panel{background:#101b237d;padding:7px 8px;border:1px solid #ffffff20;border-radius:7px;backdrop-filter:blur(8px)}
.immersive .commentary-call{background:#101a23c9;border:1px solid #ffffff20;border-left:2px solid #efc548;border-radius:7px;color:#eef3f5;backdrop-filter:blur(8px)}.immersive .venue-badge{letter-spacing:.04em;color:#f3f5f6}.immersive .stamina{background:#10182080;border-radius:2px}.immersive .stamina i{background:#b7d6c4}
.immersive .stage{border:0}.immersive .shell{outline:0}

.immersive .head{background:transparent;border:0}
.immersive .face.a,.immersive .face.b,.immersive .face.x,.immersive .face.y{background:linear-gradient(145deg,#2e404cdd,#0e1a23e6)!important;border-color:#ffffff70!important;border-bottom-width:1px!important;box-shadow:0 5px 14px #00000040,inset 0 1px 0 #ffffff30!important;color:#f5f8fa!important}
.immersive .face.ready{border-color:#f6ce52!important;background:linear-gradient(145deg,#6e5b26eb,#2d2c20eb)!important}
.immersive .joystick{background:radial-gradient(circle,#f4f6fa08 0 35%,#ffffff18 36% 37%,#0c172047 38% 66%,#ffffff30 67% 68%,#09131c55 69%)!important;border-color:#f3f6f466!important}
.immersive #pitch:focus-visible{outline:1px solid #ffffff55;outline-offset:-1px}


.immersive .style-panel{bottom:calc(218px + var(--joga-safe-bottom,env(safe-area-inset-bottom)))}
.charge-panel{position:absolute;right:max(40px,var(--joga-safe-right,env(safe-area-inset-right)));bottom:calc(235px + var(--joga-safe-bottom,env(safe-area-inset-bottom)));width:164px;padding:8px 10px;background:#111e29e0;border:1px solid #f0ce6966;border-radius:9px;color:#f4dd99;pointer-events:none;backdrop-filter:blur(8px)}.charge-panel>div:first-child{display:flex;justify-content:space-between;font-size:10px;margin-bottom:5px}.charge-panel b{font-weight:600}.charge-meter{height:5px;background:#ffffff25;border-radius:4px;overflow:hidden}.charge-meter i{display:block;height:100%;background:#efcf69}
@media(max-width:640px){.immersive .style-panel{bottom:calc(205px + var(--joga-safe-bottom,env(safe-area-inset-bottom)))}.charge-panel{right:16px;bottom:calc(210px + var(--joga-safe-bottom,env(safe-area-inset-bottom)))}}
@media(orientation:landscape) and (max-height:600px){.immersive .style-panel,.immersive.landscape .style-panel{bottom:calc(224px + var(--joga-safe-bottom,env(safe-area-inset-bottom)))}.charge-panel{bottom:calc(235px + var(--joga-safe-bottom,env(safe-area-inset-bottom)));right:max(40px,var(--joga-safe-right,env(safe-area-inset-right)))}}
@media(orientation:landscape) and (max-height:360px){.immersive .style-panel,.immersive.landscape .style-panel{bottom:155px}.charge-panel{bottom:205px;right:20px}.immersive .banner,.immersive .commentary-call{bottom:76px}}
.has-overlay .charge-panel,.is-highlight .charge-panel{visibility:hidden}

@media(max-width:640px) and (orientation:portrait){.immersive .tip{bottom:calc(247px + var(--joga-safe-bottom,env(safe-area-inset-bottom)));left:12px;right:12px}.immersive .banner,.immersive .commentary-call{bottom:calc(275px + var(--joga-safe-bottom,env(safe-area-inset-bottom)))}}

/* Keep commentary, event captions and control tips off the playing surface. */
#commentary-call,#banner,#tip{display:none!important}

/* The outer ring signals directional sprint; all four action buttons stay free. */
.immersive .joystick.sprint{border-color:#f1d068;box-shadow:0 0 0 3px #efd06a77,inset 0 0 0 7px #f1d06833}.immersive .joystick.sprint span{background:#efd06abf;border-color:#fff0b8}.immersive .joystick.sprint b{color:#ffe99d}

/* Team Style belongs to the scoreboard, not the movement controls. */
.scoreboard #style-panel{position:static;inset:auto;width:96px;max-width:100%;margin:3px auto 0;padding:0;background:none;border:0;border-radius:0;backdrop-filter:none;pointer-events:none}
.scoreboard #style-panel .style-caption{font-size:7px;line-height:10px;gap:3px;color:#f5de97}
.scoreboard #style-panel .style-caption b{display:inline;font-size:7px;line-height:10px;font-weight:600;letter-spacing:0;white-space:nowrap}
.scoreboard #style-panel .style-caption span{font-size:6px;line-height:10px;color:#f5de97}
.scoreboard #style-panel .style-track{height:3px;margin-top:2px;border:0;background:#ffffff24}
@media(orientation:portrait),(min-height:601px){.immersive.street .match-state{top:calc(137px + var(--joga-safe-top,env(safe-area-inset-top,0px)))}.immersive.street .venue-badge{top:calc(159px + var(--joga-safe-top,env(safe-area-inset-top,0px)))}.immersive.street .map{top:calc(164px + var(--joga-safe-top,env(safe-area-inset-top,0px)))}}
@media(orientation:landscape) and (max-height:600px){.scoreboard #style-panel{width:64px}.immersive.street .match-state{top:70px}.immersive.street .venue-badge{top:86px}}

/* Arrival preview uses the same playable world, with simulation still idle. */
.venue-tour-panel{position:fixed;z-index:45;bottom:calc(24px + var(--joga-safe-bottom,env(safe-area-inset-bottom,0px)));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:calc(100% - 32px);width:610px;padding:20px 24px;background:#15251eea;border:1px solid #dfe9d330;border-radius:16px;text-align:left;backdrop-filter:blur(14px);box-shadow:0 12px 40px #0003;color:#fff}
.venue-tour-panel small,.venue-tour-panel strong,.venue-tour-panel span{display:block}.venue-tour-panel small{font-size:9px;letter-spacing:.15em;color:#dfe9b7}.venue-tour-panel strong{font-size:23px;letter-spacing:-.03em;margin:5px 0}.venue-tour-panel span{font-size:11px;color:#c0ccc3}.venue-tour-panel button{flex-shrink:0;min-height:48px;padding:12px 18px;width:auto;max-width:100%}
.venue-tour-panel>div{min-width:0;flex:1}#venue-tour-close{width:auto;min-width:150px}
.venue-touring .head,.venue-touring .scoreboard,.venue-touring .match-state,.venue-touring .venue-badge,.venue-touring .map,.venue-touring #pitch,.venue-touring .dock{visibility:hidden!important}
@media(max-width:640px){.venue-tour-panel{padding:16px;gap:12px;flex-direction:column;text-align:center;width:340px}.venue-tour-panel strong{font-size:21px}.venue-tour-panel button{width:100%}}
@media(max-height:500px) and (orientation:landscape){.venue-tour-panel{bottom:12px;padding:12px 18px;width:540px}.venue-tour-panel strong{font-size:20px}}

/* One pause control owns the complete match menu. */
body.immersive .head{justify-content:flex-end;left:auto;right:max(12px,var(--joga-safe-right,env(safe-area-inset-right)));top:max(10px,var(--joga-safe-top,env(safe-area-inset-top)));width:auto;height:48px}
body.immersive .tools #pause{min-width:56px;min-height:48px;font-size:11px}
body.immersive .scoreboard,body.immersive.landscape .scoreboard{top:max(10px,var(--joga-safe-top,env(safe-area-inset-top)));left:50%;right:auto;transform:translateX(-50%);width:min(420px,calc(100% - 172px));padding:7px 14px}
body.immersive .match-state,body.immersive.landscape .match-state{top:96px;left:18px;right:18px}
body.immersive .venue-badge{top:115px}
body.immersive .map{top:117px}
body.pause-menu-open .head,body.pause-menu-open .dock,body.pause-menu-open #overlay,body.pause-menu-open #goal-moment{visibility:hidden!important}
body.pause-menu-open .stage{filter:blur(5px);pointer-events:none}
body.immersive #settings.pause-menu{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:50;width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:auto;overscroll-behavior:contain;background:#121c26f5;color:#f4f5ed;border:1px solid #ffffff24;border-radius:18px;box-shadow:0 0 0 100vmax #07101999,0 20px 80px #0008;text-align:left;backdrop-filter:blur(20px)}
#settings .pause-menu-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:16px;padding:22px 24px;background:#121c26f5;border-bottom:1px solid #ffffff18}
#settings .pause-menu-heading img{width:64px;height:auto}#settings .pause-menu-heading h2{font-size:25px;font-weight:650;letter-spacing:-.04em;margin:0;line-height:1.2}#settings .pause-menu-heading .pause-eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:.16em;color:#c8ad61;margin:0 0 4px}#settings .pause-menu-heading button{margin-left:auto;width:auto;min-width:138px;min-height:48px;background:#e9c252;color:#182019;border:0;border-radius:9px;font-weight:650}
#settings .pause-menu-content{padding:8px 24px 24px}#settings .pause-menu-content>p{margin:12px 0 18px;text-align:left;font-size:12px;color:#b8c2c7}
#settings .pause-quick-settings{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;margin-bottom:12px}#settings .pause-quick-settings label{display:flex;flex-direction:column;align-items:stretch;font-size:11px;gap:8px;margin:0;text-align:left;font-weight:600}#settings .pause-quick-settings label:nth-of-type(1){grid-column:1;grid-row:1}#settings .pause-quick-settings label:nth-of-type(2){grid-column:2;grid-row:1}#settings .pause-quick-settings p{font-size:10px;line-height:1.5;color:#9eafb7;text-align:left;margin:8px 0 0}
#settings label{color:#d6e0df}#settings select{min-height:48px;width:100%;max-width:100%;background:#23313d;color:#f5f7ef;border:1px solid #ffffff24;border-radius:8px;padding:10px;font-size:12px}#settings option{background:#23313d;color:#fff}
#settings details{max-width:none;margin:0;border-top:1px solid #ffffff18;color:#afbec5;text-align:left}#settings summary{padding:17px 0;color:#f1f4ee;font-weight:600;font-size:13px;min-height:52px}#settings details label{justify-content:space-between;text-align:left;gap:16px}#settings details select{width:min(240px,60%)}#settings details p{margin:8px 0 16px;text-align:left;max-width:none;line-height:1.7;color:#b4c2c8}#settings details input{flex-shrink:0}
#settings .pause-exit-actions{display:flex;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid #ffffff18}#settings .secondary{min-height:48px;border:1px solid #ffffff33;border-radius:8px;background:transparent;color:#f1f3ed;text-decoration:none;margin:0;display:flex;align-items:center;justify-content:center;text-align:center;font:inherit}#settings .pause-exit-actions>*{width:50%;font-size:12px}
@media(max-width:640px){body.immersive .scoreboard,body.immersive.landscape .scoreboard{left:12px;right:86px;transform:none;width:auto;padding:7px 10px}body.immersive #settings.pause-menu{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}#settings .pause-menu-heading{padding:16px;gap:10px}#settings .pause-menu-heading img{display:none}#settings .pause-menu-heading h2{font-size:23px}#settings .pause-menu-heading button{min-width:122px;font-size:11px;padding:10px}#settings .pause-menu-content{padding:4px 16px 20px}#settings .pause-quick-settings{grid-template-columns:1fr;gap:0}#settings .pause-quick-settings label:nth-of-type(2){grid-column:1;grid-row:3;margin-top:16px}#settings .pause-quick-settings p:nth-of-type(1){grid-row:2}#settings .pause-quick-settings p:nth-of-type(2){grid-row:4}}
@media(orientation:landscape) and (max-height:600px){body.immersive .scoreboard,body.immersive.landscape .scoreboard{left:50%;right:auto;transform:translateX(-50%);width:min(340px,calc(100% - 180px));top:max(7px,var(--joga-safe-top,env(safe-area-inset-top)));padding:5px 12px}body.immersive .match-state,body.immersive.landscape .match-state{top:77px}body.immersive .venue-badge{top:93px}body.immersive .map{top:96px}#settings .pause-menu-heading{padding:12px 20px}#settings .pause-menu-content{padding:4px 20px 18px}}

body.immersive #settings #fullscreen:not([hidden]){display:flex}

#settings .pause-menu-heading>div{min-width:0;flex:1}#settings .pause-menu-heading h2{overflow-wrap:break-word}#settings .pause-menu-heading button{flex-shrink:0}
