

:root{--ink:#171b28;--grey:#c8cbd1;--edge:#3d4859;--cream:#f6f5ed;--blue:#657fc8}
*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#a9d4f3;font-family:'Times New Roman',Times,serif;color:var(--ink)}
#sky{position:fixed;inset:0;z-index:0;background:linear-gradient(180deg,#79baf0 0%,#bbdcf5 60%,#d5e8f0 100%);}
#viewport{position:fixed;inset:0;width:100%;height:100%;display:block;outline:0;z-index:1}
#hud{position:fixed;top:15px;left:15px;right:15px;display:flex;gap:10px;align-items:flex-start;justify-content:space-between;pointer-events:none;z-index:5}
/* The H key temporarily hides every game UI overlay, without changing the 3D scene. */
body.hud-hidden #hud,body.hud-hidden #bottom,body.hud-hidden #msg,body.hud-hidden #middle,body.hud-hidden #mobile,body.hud-hidden #mapPanel{display:none!important}
.panel{background:#c6cbd1;box-shadow:inset 2px 2px #fff,inset -2px -2px #657180,3px 4px 0 #111a2580;border:1px solid #273344;border-radius:5px;padding:8px 11px;pointer-events:auto}
.brand{min-width:220px}.logotype{font-size:26px;letter-spacing:-1.5px;font-weight:1000;font-style:italic;line-height:1;color:#121521;text-shadow:1px 1px #fff}.tiny{font-size:10px;letter-spacing:.7px;text-transform:uppercase;font-weight:bold;color:#556170}.brandline{display:flex;gap:8px;align-items:baseline}.label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#3d4855;font-weight:bold}.stats{display:flex;gap:14px;margin-top:8px}.val{font-family:'Times New Roman',Times,serif;font-size:18px;font-weight:bold}.stats .label{font-size:9px}
.terrainPanel{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.seg{display:flex;gap:3px}.retro{cursor:pointer;user-select:none;border:1px solid #303b4a;border-radius:3px;color:#17202e;background:#e5e8e8;box-shadow:inset 1px 1px white,inset -2px -2px #8492a0,1px 2px 0 #516274aa;padding:8px 14px;font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:.15px;white-space:nowrap}.retro:hover{background:#f9ffff}.retro:active{box-shadow:inset 2px 2px #748291,inset -1px -1px white;transform:translateY(1px)}.retro.active{background:#253b63;color:#fff;box-shadow:inset 2px 2px #0c1b35,inset -2px -2px #708abd;border-color:#162343}.retro.wild.active{background:#9d3d46;box-shadow:inset 2px 2px #631c27,inset -2px -2px #e99298;border-color:#67232b}.newbtn{font-size:11px;padding:9px 11px}.cpuText{font-size:12px;color:#792e38;font-weight:bold}.freezeText{color:#812238!important}
#bottom{position:fixed;bottom:15px;left:15px;right:15px;display:flex;justify-content:space-between;gap:10px;align-items:flex-end;pointer-events:none;z-index:5}.instructions{max-width:410px}.key{display:inline-block;min-width:22px;background:#f7f8f9;padding:3px 6px;border:1px solid #5b6673;box-shadow:inset 1px 1px white,1px 2px #71818d;border-radius:2px;font-size:11px;font-weight:bold;text-align:center}.ctrltext{margin-top:6px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:11px;font-weight:700}.gravityPanel{width:225px}.meter{margin-top:5px;height:15px;background:#384559;border:1px solid #1d2734;box-shadow:inset 2px 2px #1f2b3a,inset -1px -1px #e4e9e7;overflow:hidden}.meter>div{width:0%;height:100%;background:linear-gradient(90deg,#78b4c0,#e0a647,#ef7060);transition:width 75ms linear}.between{display:flex;justify-content:space-between;align-items:center}
#middle{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;text-align:center;z-index:4;opacity:0;transition:opacity .2s}.celebrate{padding:16px 30px;background:#f9f7de;border:3px solid #17283f;box-shadow:5px 6px #0008;color:#13243b;white-space:nowrap;font-size:34px;font-weight:900;font-style:italic}.subwin{margin-top:10px;font-size:14px;color:white;text-shadow:1px 2px #000;letter-spacing:1px;font-weight:bold}
#load{position:fixed;inset:0;background:linear-gradient(#79baf0,#d5e8f0);color:#21324b;z-index:10;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:12px}#load strong{font-size:35px;font-style:italic}#load small{font-size:11px;color:#4d6588}#msg{position:fixed;top:100px;left:50%;transform:translateX(-50%);pointer-events:none;z-index:3;font-size:12px;font-weight:bold;color:#fff;text-shadow:1px 2px #0007;opacity:0;transition:opacity .3s}
#mapPanel{position:fixed;right:16px;bottom:112px;width:284px;padding:10px;z-index:5;pointer-events:none;background:#d4d7d2ee;}
#miniMap{width:260px;height:260px;display:block;background:#28482f;border:2px solid #47545d;image-rendering:auto;}
.maphead,#mapLegend{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:9px}.maphead{padding-bottom:7px}.maphead span{font-size:10px;color:#49504b}#mapLegend{padding-top:7px;font-size:13px;font-weight:bold}.meLegend{color:#202c38}.cpuLegend{color:#a22a34}body.map-hidden #mapPanel{display:none!important}
body.side-race-minimap #mapPanel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;right:20px!important;bottom:94px!important;width:260px!important;pointer-events:none}
body.side-race-minimap #mapPanel .maphead,body.side-race-minimap #mapLegend{display:none!important}
body.side-race-minimap #miniMap{background:transparent!important;border:0!important;width:260px;height:260px}
/* Twins already has a locked, raised camera: suppress the redundant map and its toggle. */
body.twins-no-map #mapPanel,body.twins-no-map #mapToggle{display:none!important}

@media(max-width:740px){#mapPanel{right:8px;bottom:126px;width:170px;padding:6px}#miniMap{width:156px;height:156px}.maphead,#mapLegend{font-size:9px}.maphead span{display:none}}
button,.panel,.tiny,.label,.key,.ctrltext,.val,.celebrate,.subwin{font-family:'Times New Roman',Times,serif}#mobile{display:none}
@media(max-width:740px){#hud{left:7px;right:7px;top:7px;gap:5px}.brand{min-width:0}.logotype{font-size:19px}.panel{padding:7px}.terrainPanel{max-width:55%;gap:5px}.terrainPanel>.label{display:none}.retro{font-size:10px;padding:7px 8px}.newbtn{font-size:10px}.stats{gap:9px}.tiny{font-size:8px}.stats .label{font-size:8px}#bottom{left:7px;right:7px;bottom:7px}.gravityPanel{width:145px}.instructions{max-width:180px}.ctrltext{gap:4px;font-size:9px}.key{font-size:9px}#mobile{display:flex;position:fixed;bottom:115px;right:14px;z-index:6;user-select:none;touch-action:none}.bigspace{width:95px;height:80px;background:#ecf1e2;border:3px solid #34475f;box-shadow:inset 3px 3px white,inset -4px -4px #8a9aa0,3px 4px #0005;border-radius:14px;font-size:11px;font-weight:bold;color:#22384a}.bigspace:active{background:#bfd2f5}}

/* Multiplayer character-select layer: simplified minimal selector layout. */
#lobby{position:fixed;inset:0;z-index:40;background:linear-gradient(180deg,#7f97bb 0%,#bfd0e5 100%);overflow:auto;padding:18px 18px 28px;color:#19233e;font-family:'Times New Roman',Times,serif}
#lobby[hidden]{display:none!important}
#lobbyBox{max-width:1140px;margin:0 auto}
#lobbyGraphic{background:linear-gradient(180deg,#d5dce6,#c4ccd8);border:2px solid #475970;box-shadow:0 8px 26px #0e15273d;border-radius:12px;padding:18px}
#lobbyHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
#lobbyTitle{font:bold italic clamp(34px,6vw,64px) 'Arial Black',Impact,sans-serif;letter-spacing:-2px;line-height:.9;color:#0f1b34;text-shadow:0 1px #fff}
#lobbySub{font:bold italic clamp(22px,4vw,46px) 'Arial Black',Impact,sans-serif;color:#10274c;padding:6px 18px;border:2px solid #5c708b;border-radius:10px;background:linear-gradient(180deg,#f9fbff,#d7deea)}
#slotGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.playerCard{background:linear-gradient(180deg,#4d5564,#242b37);border:2px solid #97a6bc;border-radius:12px;padding:12px;box-shadow:inset 0 0 0 1px #ffffff38,0 4px 10px #0a132044;display:flex;flex-direction:column;gap:10px;min-height:420px;position:relative}
.playerCard.empty{opacity:.78}
.playerCard.slot1{background:linear-gradient(180deg,#4d5564,#20252f)}
.playerCard.slot2{background:linear-gradient(180deg,#712226,#3b1418)}
.playerCard.slot3{background:linear-gradient(180deg,#223f8b,#142959)}
.playerCard.slot4{background:linear-gradient(180deg,#5b6070,#2b2f3a)}
.slotTag{align-self:flex-start;padding:4px 12px;border:2px solid #eef4ff;border-radius:10px;background:linear-gradient(180deg,#ffffff,#d8dfea);color:#0d1830;font:bold italic clamp(24px,2.8vw,46px) 'Arial Black',Impact,sans-serif;line-height:1}
.previewFrame{flex:1;display:flex;align-items:center;justify-content:center;min-height:220px;border-radius:18px;background:radial-gradient(circle at 50% 40%,#ffffff1f 0%,#ffffff08 35%,#00000014 75%,#00000022 100%);border:1px solid #ffffff22;box-shadow:inset 0 0 35px #ffffff10}
#lobbyGraphic .lball{position:static;display:block;object-fit:contain;width:min(92%,220px);height:auto;aspect-ratio:1/1;pointer-events:none;filter:drop-shadow(0 9px 10px #0007)}
.slotInfo{min-height:38px;text-align:center;color:#eff5ff;font:bold 14px/1.2 'Times New Roman',Times,serif;letter-spacing:.5px}
.slotName{display:flex;justify-content:center;align-items:center;min-height:54px;padding:8px 10px;background:linear-gradient(180deg,#f4f7fb,#d5ddeb);border:2px solid #7d8da4;border-radius:10px;color:#121b31;font:bold italic clamp(16px,1.8vw,30px) 'Arial Black',Impact,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:inset 0 1px #fff}
.colorButtons{display:flex;justify-content:space-between;gap:8px;align-items:center}
.colorButtons button{appearance:none;border:2px solid #e7eef8;border-radius:10px;background:linear-gradient(180deg,#fefefe,#c3d0e1);min-width:44px;height:44px;cursor:pointer;color:#16213b;font:bold 28px/1 'Arial Black',Impact,sans-serif;box-shadow:inset 0 1px #fff,0 2px 4px #0004}
.colorButtons button:hover{filter:brightness(1.05)}
.colorButtons button:active{transform:translateY(1px)}
.colorButtons button:focus-visible{outline:3px solid #fff36c;outline-offset:2px}
.colorButtons button:disabled{opacity:.45;cursor:default}
.colorButtons .colorLabel{font-size:clamp(11px,1.08vw,16px)!important;flex:1;text-align:center;padding:10px 0;border-radius:10px;background:linear-gradient(180deg,#f4f7fb,#d5ddeb);border:2px solid #7d8da4;color:#0f1b34;font:bold italic 16px/1 'Arial Black',Impact,sans-serif;letter-spacing:1px}
#lobbyFooterBar{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:16px;flex-wrap:wrap}
#readyButton{display:flex;align-items:center;justify-content:center;min-width:220px;min-height:86px;padding:12px 26px;color:#21361b;text-shadow:0 1px #fff;font:bold italic clamp(28px,4vw,54px) 'Arial Black',Impact,sans-serif;background:linear-gradient(180deg,#f3ffd8,#a4cf77 24%,#699f4c 66%,#d5edaf);border:4px solid #e8efe2;border-radius:18px;box-shadow:inset 0 0 12px #2b522840,0 4px 12px #080e1940;cursor:pointer}
#readyButton:not(.isReady){filter:saturate(.7) brightness(.98)}
#readyButton:disabled{opacity:.63;cursor:not-allowed}
#readyHint{font:bold 14px/1.3 'Times New Roman',Times,serif;color:#1a2743}
#lobbyControls{background:#cbd1dd;border:2px solid #4d6079;border-radius:12px;padding:14px;box-shadow:3px 5px #15223844;display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:14px}
#lobbyControls .group{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
#lobbyControls input{font:16px 'Times New Roman',Times,serif;padding:7px;min-width:160px;max-width:250px;background:#fff;color:#172336;border:2px inset #99aabe}
#lobbyControls .lcd{background:#eef1f6;border:1px solid #6f829d;border-radius:8px;max-width:100%;min-width:min(420px,90vw);padding:8px;overflow-wrap:anywhere;font:12px monospace}
#lobbyControls button{font:bold 14px 'Times New Roman',Times,serif;background:linear-gradient(#fff,#aab6cd);border:2px outset #e6e9f2;border-radius:8px;color:#16213b;padding:9px 13px;cursor:pointer}
#lobbyControls button:disabled{opacity:.5;cursor:default}
#lobbyControls button.selected{background:linear-gradient(#d6ecff,#5878af);color:#10233e}
#lobbyControls label{font:bold 13px 'Times New Roman',Times,serif}
#lobbyHelp{font:13px/1.45 'Times New Roman',Times,serif;color:#13213b;margin:10px 4px}
#netStatus{font:bold 13px 'Times New Roman',Times,serif;color:#23406b}
.gameModeBox{width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:9px;border-top:1px solid #8a9ab0;padding-top:12px}
.gameModeBox select{font:bold 15px 'Times New Roman',Times,serif;color:#142039;background:#f5f7fa;border:2px inset #9eabc0;padding:8px;min-width:min(280px,100%)}
.gameModeBox select:disabled{opacity:.65}
#modeDescription{font:13px 'Times New Roman',Times,serif;color:#31415e;flex-basis:100%}
#lobbyControls .takeoverOption{display:flex;align-items:center;gap:5px;cursor:pointer}
.takeoverOption input{min-width:auto!important;width:17px;height:17px;margin:0;accent-color:#3a7454}
.takeoverOption.unavailable{display:none!important}
body.race-active #territoryScore{font-size:15px}
body.race-active .instructions .label{color:#344b61}

#whoPlays{position:fixed;top:130px;left:15px;z-index:7;pointer-events:none;display:flex;flex-wrap:wrap;gap:5px;max-width:min(650px,76vw)}
#whoPlays .chip{background:#d8dde4de;border:1px solid #536b81;padding:4px 7px;font:bold 12px 'Times New Roman',serif;box-shadow:1px 2px #0005}
#whoPlays .chip.me{outline:2px solid #e9df77}
body.hud-hidden #whoPlays{display:none!important}
@media(max-width:900px){#slotGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){#lobby{padding:8px}#lobbyControls{padding:8px}#slotGrid{grid-template-columns:1fr}#lobbyFooterBar{justify-content:center}#readyButton{min-width:180px;min-height:72px}#whoPlays{top:100px}}

/* Hops trick status: the airborne amount is provisional until a clean touchdown. */
#hopsTrickHud{position:fixed;top:75px;left:325px;z-index:10;pointer-events:none;background:#cbd1db;color:#111827;border:1px solid #293545;box-shadow:inset 2px 2px #fff,inset -2px -2px #727d8c,2px 2px #22314377;padding:6px 10px;font:700 12px/1.32 'Times New Roman',serif;white-space:pre-line;overflow-wrap:break-word;width:236px;max-width:calc(100vw - 30px)}
#hopsTrickHud[hidden],body.hud-hidden #hopsTrickHud{display:none!important}
/* Hops-only trick number anchored to the actual projected ball. No box; pixel-sharp shadow. */
#hopsTrickCounter{position:fixed;z-index:12;pointer-events:none;color:white;
 font:italic 700 28px/1 'Times New Roman',Times,serif;
 text-shadow:1px 1px 0 #000;transform:translate(-100%,-100%);
 white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;will-change:left,top}
#hopsTrickCounter .trickPtsUnit{display:block;font:italic 700 11px/1.05 'Times New Roman',Times,serif;padding-right:1px}
/* FPS cap is local to this browser tab; no host settings or physics are changed. */
#clientFpsBadge{position:fixed;left:12px;bottom:12px;z-index:14;padding:3px 7px;pointer-events:none;background:#cbd1dbd9;color:#182235;border:1px solid #293545;box-shadow:inset 1px 1px #fff,inset -1px -1px #727d8c,1px 1px 0 #22314377;font:italic 700 12px 'Times New Roman',Times,serif;white-space:nowrap}
#clientFpsBadge.changing{background:#fff9d5;color:#151923}
body.hud-hidden #clientFpsBadge{display:none!important}
/* Hops scoreboard descriptions remain at most two compact rows. */
body.trick-mode-hops #roundScoreboard{width:246px!important;min-width:0!important;max-width:246px!important}
body.trick-mode-hops #roundScoreboard #modeRoundNote{white-space:pre-line!important;overflow-wrap:anywhere!important;max-width:226px!important}
body.trick-mode-hops #roundScoreboard .scoreRow{min-width:0!important}
@media(max-width:740px){#hopsTrickHud{width:210px;left:8px;top:130px}#clientFpsBadge{left:8px;bottom:8px}}
#hopsTrickCounter[hidden],body.hud-hidden #hopsTrickCounter{display:none!important}
#trickScorePopups{position:fixed;inset:0;z-index:13;pointer-events:none;overflow:hidden}
#trickScorePopups .trickScorePopup{position:absolute;pointer-events:none;white-space:nowrap;color:white;
 font:italic bold 28px/1 'Times New Roman',Times,serif;text-shadow:1px 1px 0 #000;
 transform:translate(-50%,-100%);font-variant-numeric:tabular-nums}
#trickScorePopups .trickScorePopup.loss{color:#f04444}
body.hud-hidden #trickScorePopups{display:none!important}
/* One-pixel stroke arrow; appears only when the halfpipe has fallen below view. */
#hopsPipeDirection{position:fixed;bottom:11px;left:50%;transform:translateX(-50%);z-index:12;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:3px;color:#fff;text-shadow:1px 1px 2px #111,0 0 4px #111;font:11px 'Times New Roman',serif;white-space:nowrap}
#hopsPipeDirection[hidden],body.hud-hidden #hopsPipeDirection{display:none!important}
#hopsPipeDirection .downArrow{position:relative;width:1px;height:10px;background:white;box-shadow:0 0 2px #222}
#hopsPipeDirection .downArrow:after{content:'';position:absolute;bottom:0;left:-3px;width:6px;height:6px;border-right:1px solid white;border-bottom:1px solid white;transform:rotate(45deg)}
#skateFinishLabels{position:fixed;inset:0;pointer-events:none;z-index:11;overflow:hidden}
#skateFinishLabels[hidden],body.hud-hidden #skateFinishLabels{display:none!important}
#sideViewMapMarkers{position:fixed;inset:0;pointer-events:none;z-index:12;overflow:hidden}
#sideViewMapMarkers[hidden],body.hud-hidden #sideViewMapMarkers{display:none!important}
#sideViewMapMarkers .svMarker{position:absolute;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:2px;color:#fff;text-shadow:1px 1px 0 #101317,-1px 1px 0 #101317,1px -1px 0 #101317,0 0 4px #101317;white-space:nowrap;font:italic 700 10px 'Times New Roman',serif;letter-spacing:.02em}
#sideViewMapMarkers .svMarker.other{font-size:9px;opacity:.92}
#sideViewMapMarkers .svMarker .downArrow{position:relative;width:1px;height:11px;background:currentColor;box-shadow:0 0 2px #111}
#sideViewMapMarkers .svMarker .downArrow:after{content:'';position:absolute;bottom:0;left:-3px;width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg)}
#sideViewMapMarkers .svMarker .markerText{padding:0 1px}
.skateFinishTag{position:absolute;transform:translate(-50%,-100%);padding:3px 6px;background:#d6dbe1;border:1px solid #293545;box-shadow:inset 1px 1px #fff,inset -1px -1px #7b8592,2px 2px #0007;font:700 12px 'Times New Roman',serif;color:#111;white-space:nowrap;text-align:center}
.skateFinishTag small{display:block;font-size:9px;font-weight:normal}
@media(max-width:740px){#hopsTrickHud{top:115px;left:10px;font-size:11px}}
/* v1.6: clear scores, simplified race HUD, winner confirmation, local audio. */
.inviteFar{margin-left:auto}
#roundScoreboard{position:fixed;left:15px;top:145px;z-index:6;min-width:178px;padding:8px 10px;pointer-events:none;background:#d7dde3ed;max-width:250px}
.scoreHeading{font:bold 13px 'Times New Roman',serif;letter-spacing:1px;border-bottom:1px solid #788899;padding-bottom:5px;margin-bottom:5px}
.scoreRow{display:flex;justify-content:space-between;gap:16px;font:bold 14px 'Times New Roman',serif;padding:3px 0}
.scoreRow span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
#modeRoundNote{font:12px 'Times New Roman',serif;color:#273a49;margin-top:5px}
#audioPanel{position:fixed;right:16px;bottom:15px;z-index:8;display:flex;align-items:center;gap:8px;padding:6px 10px;background:#d5dde1eb}
#audioPanel label,#volumeValue{font:12px 'Times New Roman',serif;font-weight:bold}
#audioPanel input{width:100px;accent-color:#345b90}
body.race-active #territoryStat,body.race-active #winStat,body.race-active #mapLegend,body.freeze-active #territoryStat,body.freeze-active #winStat,body.freeze-active #mapLegend{display:none!important}
body.race-active #smoothToggle,body.freeze-active #smoothToggle{display:none!important}
body.race-active #whoPlays,body.freeze-active #whoPlays{display:none!important}
body.hud-hidden #roundScoreboard,body.hud-hidden #audioPanel{display:none!important}
/* v3.96 host-only result testing. */
#zenDevMenu[hidden],#zenDevWin[hidden]{display:none!important}
#zenDevMenu{margin-left:auto;justify-content:flex-end;flex-basis:100%;border-top:1px solid #8a9ab0;padding-top:9px}
#zenDevStart{font:bold italic 16px 'Times New Roman',serif!important;padding:8px 18px!important}
#zenDevWin{position:fixed;right:16px;bottom:120px;z-index:33;pointer-events:auto;
 background:#cbd1db;color:#182235;border:1px solid #293545;padding:9px 25px;
 box-shadow:inset 2px 2px #fff,inset -2px -2px #727d8c,3px 3px 0 #22314377;
 font:bold italic 22px 'Times New Roman',serif;cursor:pointer}
#zenDevWin:hover{background:#eef0f4}
/* v3.95: only the top edge extends for occasional server-selected image banners. */
#ggPopupFrame{position:relative;width:min(82vw,548px);max-width:94vw;max-height:95vh;flex:0 1 auto}
#ggPopupFrame .ggPanel{width:100%!important;max-width:none;}
#ggAdBanner[hidden]{display:none!important}
#ggAdBanner{position:absolute;box-sizing:border-box;bottom:calc(100% - 1px);left:0;right:0;height:84px;z-index:2;
  padding:5px;display:flex;align-items:center;justify-content:center;overflow:hidden;
  background:#edf1f5;border:2px solid #a0a9b5;border-bottom:0;box-shadow:inset 0 0 0 1px #f7f9fb}
#ggAdBanner img{width:535px;height:70px;max-width:100%;object-fit:contain;display:block}
#ggPopupFrame:has(#ggAdBanner:not([hidden])) .ggPanel{border-top-color:transparent!important}
#goodGameSplash[hidden]{display:none!important}
#goodGameSplash{position:fixed;inset:0;z-index:65;background:#0b1423cb;display:flex;align-items:center;justify-content:center;padding:20px}
.ggPanel{width:min(94vw,520px);max-height:95vh;overflow:auto;background:linear-gradient(#edf1f5,#c4cfdd);border:3px solid #4b607f;border-radius:12px;box-shadow:0 15px 50px #0008;padding:17px;display:flex;flex-direction:column;gap:9px;align-items:center;color:#16243b;font-family:'Times New Roman',Times,serif}
.ggTitle{font:bold italic 27px 'Arial Black',Impact,sans-serif}.ggSubtitle{font:bold 18px 'Times New Roman',serif}
#ggBall{width:150px;height:150px;object-fit:contain;filter:drop-shadow(2px 9px 6px #0005)}
.ggScore{font:bold 13px 'Times New Roman',serif;text-align:center}.ggEntry{display:flex;gap:8px;width:100%}
.ggEntry input{flex:1;min-width:0;font:17px 'Times New Roman',serif;color:#142135;padding:8px;border:2px inset #a0aebc;background:white}
.ggEntry button{font:bold 14px 'Times New Roman',serif;padding:8px 12px;background:#d9edbe;border:2px outset #e6f3d4;cursor:pointer}
#ggStatus{font:13px 'Times New Roman',serif;color:#425574;text-align:center}
@media(max-width:700px){#roundScoreboard{top:115px;min-width:120px;max-width:155px;left:7px}.scoreRow{font-size:11px}#audioPanel{right:7px;bottom:75px}#audioPanel input{width:65px}}

/* v1.7 UI: round previews and clear separation of gravity and sound */
#audioPanel{top:110px;right:16px;bottom:auto}
#leaderPreview{display:flex;align-items:center;gap:8px;margin-bottom:6px;border-bottom:1px solid #8492a4;padding-bottom:5px}
#leaderBall{width:48px;height:48px;object-fit:contain;background:#8a9baa;border-radius:50%}
#leaderPreview>div{display:flex;flex-direction:column;gap:2px;max-width:155px}
#leaderName{font:italic bold 13px 'Times New Roman',serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#leaderRole{font:10px 'Times New Roman',serif;color:#344d67}
#seedControls{flex-wrap:wrap}#seedControls select{max-width:175px;font:13px 'Times New Roman',serif}
#roundScoreboard{top:145px}#audioPanel input{width:102px}#audioPanel button{font:11px 'Times New Roman',serif;background:#e0e6ec;border:1px solid #879aaf;border-radius:4px;color:#142437;padding:4px;cursor:pointer}
body.non-territory #territoryStat,body.non-territory #winStat,body.non-territory #mapLegend,body.non-territory #whoPlays{display:none!important}
body.hud-hidden #leaderPreview{display:none}#winnerBalls{display:flex;justify-content:center;align-items:center;gap:10px;max-width:100%;flex-wrap:wrap}#winnerBalls img{width:76px;height:76px;object-fit:contain;filter:drop-shadow(1px 3px 4px #0006)}
@media(max-width:740px){#audioPanel{right:8px;top:102px;bottom:auto}#audioPanel input{width:70px}#leaderBall{width:32px;height:32px}}

#battleHealthOverlay{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}
body.hud-hidden #battleHealthOverlay{display:none!important}
/* v1.8 lobby and field additions */
#lobbyControls select{font:14px 'Times New Roman',serif;background:#f5f7fa;color:#14253b;border:1px solid #68768c;padding:8px;border-radius:5px}

#roundScoreboard{background:linear-gradient(#e9eef4ed,#bfcbd9ed);border-radius:9px;min-width:210px;max-width:295px;box-shadow:2px 5px 14px #17233555}
.scoreRow{align-items:center;border-bottom:1px solid #8a9aab44;padding:5px 3px;gap:7px}.scoreRow .miniBall{width:23px;height:23px;object-fit:contain;flex-shrink:0}.scoreRow .scoreName{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#axisViews{position:fixed;left:16px;top:250px;width:260px;z-index:7;pointer-events:none;display:grid;gap:9px;padding:6px;background:#d1dce5cb;border:2px solid #607b91}#axisViews[hidden]{display:none!important}#axisViews canvas{display:block;width:100%;height:106px;background:transparent;border:2px solid #74899b}
#localRecordSplash{position:fixed;top:24%;left:50%;transform:translateX(-50%);z-index:15;padding:16px 28px;background:#f5dc78;color:#292008;border:3px solid #443618;box-shadow:3px 5px #16100777;font:bold italic 25px Georgia,serif;pointer-events:none}
#localRecordSplash[hidden],#hazardCountdown[hidden]{display:none!important}
#hazardCountdown{position:fixed;top:19%;left:50%;transform:translateX(-50%);z-index:15;font:bold 44px Georgia,serif;color:#fa6863;text-shadow:2px 3px #301010;pointer-events:none}
#viewport.upside-down{transform:rotate(180deg)}
#sky[data-theme="sand"]{background:linear-gradient(#e88465,#f5b989 65%,#ecd5aa)}
#sky[data-theme="dirt"]{background:radial-gradient(circle at 15% 15%,white 0 1px,transparent 2px),radial-gradient(circle at 55% 28%,white 0 1px,transparent 2px),radial-gradient(circle at 81% 56%,white 0 1px,transparent 2px),linear-gradient(#091128,#283251 70%,#694253);background-size:119px 107px,163px 187px,223px 179px,100% 100%}
body.hud-hidden #hazardCountdown{display:none!important}

.cpuSlotToggle{cursor:pointer;transition:background .15s}
.cpuSlotToggle:hover:not(:disabled){background:#c0e8e5}
.cpuSlotToggle:disabled{cursor:default}
.playerCard.cpu{outline:3px solid #9fdac1;outline-offset:1px}
.playerCard.cpu .slotInfo{color:#c9ffdf!important}

.ballStyleSelect{display:block;width:100%;min-width:0;background:#f4f5f6;color:#121928;padding:6px;border:2px inset #8794a7;border-radius:5px;font:13px 'Times New Roman',serif}
.ballStyleSelect:disabled{opacity:.55}
#tauntSelect{font:12px 'Times New Roman',serif;max-width:155px;background:#f7fafc;color:#151f2d}

body.help-hidden #bottom .instructions{display:none!important}
#goblinCrosshair{position:fixed;left:50%;top:50%;transform:translate(-50%,-52%);z-index:25;color:#efffa7;text-shadow:1px 1px #101b1a,-1px -1px #101b1a;font:bold 34px monospace;pointer-events:none}
#goblinAmmo{position:fixed;left:50%;bottom:76px;transform:translateX(-50%);background:#142c2cb8;border:1px solid #d2edb7;padding:5px 11px;color:#fcffdf;z-index:19;font:13px 'Times New Roman',serif;pointer-events:none}
#goblinCrosshair[hidden],#goblinAmmo[hidden]{display:none!important}
/* Only One in the Chamber has a mouse-position crosshair; MDG uses iron sights. */
body.zen456-chamber-aim #viewport,body.zen456-danger-aim #viewport{cursor:none}
body.zen456-chamber-aim #goblinCrosshair{font:700 26px/1 monospace!important;color:#fff!important;text-shadow:1px 1px 0 #151515,-1px -1px 0 #151515,0 0 3px #111!important;transform:translate(-50%,-50%)!important;}

#forceStart{background:#eecaa6!important;color:#442416!important;border-color:#ad7548!important}

#roundTimer{position:fixed;top:79px;left:16px;z-index:9;background:#091b29e9;color:#9bffb4;border:2px solid #4e7e78;padding:5px 13px;display:flex;align-items:center;gap:9px;box-shadow:4px 4px 0 #0018;font-family:monospace;font-size:24px;letter-spacing:3px;font-weight:800;pointer-events:none}
#roundTimer[hidden],#gunHitmarker[hidden]{display:none!important}
.pixelClockFace{font-size:21px;display:inline-block;width:30px;height:30px;border:2px solid #95ffc5;border-radius:50%;line-height:26px;text-align:center;letter-spacing:0;image-rendering:pixelated}
#gunHitmarker{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);font:bold 48px monospace;color:#fef9bd;z-index:26;text-shadow:0 0 3px #e50920;pointer-events:none}
.kickGuest{font: bold 11px monospace;cursor:pointer;border:2px solid #c8d1df;background:#f0cdcd;color:#642229;padding:5px;width:100%;border-radius:3px}
.kickGuest[hidden]{display:none!important}
body.hud-hidden #roundTimer{display:none!important}

#modeHeader{position:fixed;left:16px;top:76px;z-index:8;display:flex;flex-direction:column;gap:2px;pointer-events:none;color:#edf9ef;text-shadow:2px 2px #102118,-1px -1px #223421;font-family:'Times New Roman',serif;max-width:360px}
#modeHeader[hidden]{display:none!important}#modeHeaderTitle{font-weight:900;font-size:25px;line-height:1;letter-spacing:.2px}#modeHeaderTime{font-weight:900;font-size:24px;line-height:1.1;color:#f8d978}
#roundTimer{display:none!important}
#axisViews{position:fixed;top:calc(205px + 43px * var(--roster-rows, 4));bottom:auto;left:16px;width:252px;z-index:7;pointer-events:none;display:grid;gap:3px;padding:6px;background:#cfdce6dc;border:2px solid #657c91;box-shadow:3px 4px #101b2866}
#axisViews[hidden]{display:none!important}#axisViews canvas{height:92px;width:100%;border:1px solid #60798b}
.axisTitle{font:bold 11px 'Times New Roman',serif;color:#21394c;text-align:left;letter-spacing:1px}
.playerCard[hidden]{display:none!important}#slotGrid{grid-template-columns:repeat(4,minmax(0,1fr))}#lobbyBox{max-height:96vh;overflow-y:auto}
body.hud-hidden #modeHeader,body.hud-hidden #axisViews{display:none!important}
@media(max-width:740px){#modeHeader{top:96px;left:8px}#modeHeaderTitle{font-size:19px}#modeHeaderTime{font-size:20px}#axisViews{width:155px;bottom:130px}#axisViews canvas{height:65px}}

/* v2.9 UI refresh */
body{font-smooth:always;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.panel,#roundScoreboard,#mapPanel,#audioPanel,.ggPanel,#lobbyControls,.playerCard,#lobbyHelp,#lobbyGraphic,#modeHeader,#roundDial,#itemIndicator{background:#d5d9e0!important;border:2px solid #49556a!important;border-radius:4px!important;box-shadow:2px 2px 0 #7f8895!important;color:#111827!important}
#hud{align-items:flex-start}
.brand{display:flex;align-items:flex-start;gap:12px;min-width:310px}
.brandMain{flex:1}
.brandline{display:flex;gap:10px;align-items:flex-end}
.logotype{font-family:"Times New Roman",serif;font-style:italic;font-weight:700;text-shadow:none!important}
.tiny,.label,.slotInfo,.cpuText{color:#465064!important}
.stats{gap:20px}
.val{font-size:20px}
.terrainPanel{background:#d5d9e0!important;gap:7px}
.retro,.newbtn,#startMatch,#forceStart,#makeRoom,#copyInvite,#musicToggle,#readyButton,.playerCard button,#lobbyControls select,#lobbyControls input,.ballStyleSelect{font-family:"Times New Roman",serif;background:#efefef!important;color:#111!important;border:1px solid #475569!important;box-shadow:1px 1px 0 #8d96a4!important;border-radius:2px!important;text-shadow:none!important}
#readyButton{background:#dce7be!important;color:#111!important;min-height:70px!important;border-radius:2px!important;box-shadow:2px 2px 0 #7f8895!important}
#lobbyWild,#seedControls{display:none!important}
#lobbyControls .group label{font-weight:bold}
.previewFrame{background:#c4cad6!important;border:1px solid #5a667b!important;box-shadow:inset 0 0 0 1px #eceff4!important;overflow:hidden}
.previewFrame img{animation:slowCardSpin 9s linear infinite;transform-style:preserve-3d;will-change:transform}
@keyframes slowCardSpin{0%{transform:rotateY(0deg)}50%{transform:rotateY(180deg)}100%{transform:rotateY(360deg)}}
.slotName{background:#efefef!important;border:1px solid #5a667b!important;border-radius:2px!important;box-shadow:none!important;font-family:"Times New Roman",serif!important;font-style:normal!important}
#whoPlays{display:none!important}
#roundTimer{display:none!important}
#modeHeader{position:fixed;top:94px;left:15px;z-index:9;display:flex;align-items:center;gap:10px;padding:8px 12px;pointer-events:none}
#modeHeaderTitle{font:italic 700 28px "Times New Roman",serif;letter-spacing:.5px}
#modeHeaderTime{font:700 18px "Times New Roman",serif;color:#24364d}
#roundDial{width:78px;height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%!important;background:#efefef!important;position:relative;flex:0 0 auto;margin-top:-2px}
#roundDial::after{content:"";position:absolute;inset:5px;border:1px solid #6a7587;border-radius:50%}
#roundDialText{font:italic 700 24px "Times New Roman",serif;line-height:1}
#roundDialLabel{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#4b5563}
#itemIndicator{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:10;display:flex;align-items:center;gap:10px;padding:7px 12px;pointer-events:none}
#itemIndicator[hidden]{display:none!important}
#itemIndicatorIcon{width:34px;height:34px;border:1px solid #4b5563;background:#f2f3f5;display:flex;align-items:center;justify-content:center;font-size:24px;line-height:1}
#itemIndicatorText{display:flex;flex-direction:column;line-height:1.05}.itemKey{font-size:12px;font-weight:bold}.itemName{font-size:18px;font-style:italic}.itemCount{font-size:12px}
#scoreRows .scoreRow,#leaderPreview{background:#e5e7eb;border:1px solid #9099a6;padding:5px 6px;margin-bottom:5px}
#axisViews{left:14px;right:auto;bottom:130px;width:240px}
#axisViews canvas{background:#d9dee6;border:1px solid #697383}
@media(max-width:740px){#modeHeader{top:84px;left:8px}#roundDial{width:60px;height:60px}#roundDialText{font-size:20px}#itemIndicator{top:82px}}

#impactModeSelect{min-width:220px}

/* v3.1: consistent Win9x-inspired player cards, distinct HUD and clean overlays */
.playerCard .slotTag{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:62px!important;height:46px!important;padding:0!important;box-sizing:border-box!important}
.playerCard,.playerCard.slot1,.playerCard.slot2,.playerCard.slot3,.playerCard.slot4{background:#cbd0d9!important;border:2px solid #626b78!important;border-radius:3px!important;color:#171c28!important;box-shadow:2px 2px 0 #747b88!important}
.playerCard.empty{opacity:.72}
.playerCard .slotTag{background:#e9ebef!important;border:1px solid #5b6370!important;border-radius:1px!important;color:#101820!important;font:700 25px 'Times New Roman',serif!important}
.playerCard .slotInfo{color:#545b66!important;font:700 12px 'Times New Roman',serif!important;text-shadow:none!important}
.playerCard.ready .slotInfo{color:#178c31!important}
.playerCard .slotName{font:700 22px 'Times New Roman',serif!important}
.playerCard .colorLabel,.playerCard .ballStyleSelect{font:700 15px 'Times New Roman',serif!important}
.playerCard .colorLabel{background:#e7e9ed!important;border:1px solid #636e79!important;color:#111!important;text-shadow:none!important}
.playerCard .colorButtons button{background:#e8e9ec!important;color:#17202a!important;border-radius:2px!important}
#readyButton,#readyButton.isReady{background:#000!important;color:#fff!important;border:2px solid #111!important;font:italic 700 39px 'Times New Roman',serif!important;border-radius:1px!important;text-shadow:none!important;box-shadow:1px 1px 0 #555!important}
#readyButton:hover{background:#222!important}
.previewFrame{position:relative;min-height:215px}
.previewFrame .liveBall{display:block;width:min(100%,190px);height:auto;aspect-ratio:1;margin:auto;object-fit:contain;image-rendering:auto}
.previewFrame .liveBall[hidden]{display:none!important}
.previewFrame .lball[hidden]{display:none!important}
.previewFrame img{animation:none!important;transform:none!important}
#modeHeader{left:clamp(320px,24.5vw,480px)!important;top:14px!important;display:block!important;max-width:calc(100vw - 650px)!important;padding:2px 5px!important;background:transparent!important;border:none!important;box-shadow:none!important;z-index:6!important;color:#111!important;pointer-events:none}
#modeHeader[hidden]{display:none!important}
#modeHeaderTitle{display:block!important;font:italic bold 25px 'Times New Roman',serif!important;color:#121212!important;text-shadow:1px 1px 0 #fff,-1px -1px 0 #fff!important;line-height:1.03!important}
#modeHeaderTime{display:none!important}
#roundScoreboard{top:154px!important}
#axisViews{top:400px;bottom:auto!important;left:16px!important;width:240px!important;max-height:calc(100vh - 300px)!important;overflow:hidden;z-index:7!important}
#axisViews canvas{background:#e2e4e9!important;height:90px!important;display:block!important}
#axisViews .axisTitle{font:700 11px 'Times New Roman',serif}
body.hud-hidden #axisViews{display:none!important}
#hud .terrainPanel #mushroomCharge,#hud .terrainPanel #impactToggle,#hud .terrainPanel #gridToggle,#hud .terrainPanel #viewToggle{display:none!important}
@media(max-width:900px){#modeHeader{left:10px!important;top:102px!important;max-width:220px!important}#modeHeaderTitle{font-size:20px!important}#axisViews{width:176px!important}}

/* v3.2: single-column 1990s desktop HUD with crisp white bevels */
.panel,#roundScoreboard,#modeHeader,#itemIndicator,#mapPanel,#audioPanel,#lobbyGraphic,#lobbyControls,.playerCard,.ggPanel{
 background:#cbd1db!important;border:1px solid #293545!important;border-radius:2px!important;
 box-shadow:inset 2px 2px #fff,inset -2px -2px #727d8c,3px 3px 0 #22314377!important;
 color:#182235!important;
}
#hud{left:12px;right:12px;top:10px;gap:9px;justify-content:flex-end;pointer-events:none;flex-wrap:nowrap}
#hud .brand{margin-right:auto;width:304px;min-width:304px;align-items:flex-start;overflow:visible}
#hud .brandMain{min-width:0;flex:1}
#hud .logotype{font:italic 700 28px 'Times New Roman',serif;color:#161e2c;text-shadow:1px 1px white!important}
#hud .tiny{font:700 10px 'Times New Roman',serif;letter-spacing:.3px}
#hud .brandline{gap:4px;align-items:baseline}
#hud .stats{margin-top:9px;gap:12px;display:flex;flex-wrap:nowrap;white-space:nowrap;align-items:flex-end;justify-content:space-between}
#hud .val{font:700 18px 'Times New Roman',serif}
#roundDial{width:68px!important;height:68px!important;box-shadow:inset 2px 2px #fff,inset -2px -2px #798697!important;background:#ecedf1!important;border-radius:50%!important;position:fixed!important;left:325px!important;top:12px!important;margin-top:0!important;z-index:8!important}
#modeHeader{position:fixed!important;left:12px!important;top:92px!important;width:304px!important;max-width:304px!important;min-height:56px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;padding:8px 11px!important;z-index:8!important;text-shadow:none!important;pointer-events:none}
#modeHeader[hidden]{display:none!important}
#modeHeaderTitle{font:italic bold 26px 'Times New Roman',serif!important;color:#151923!important;text-shadow:1px 1px #fff,-.5px -.5px #fff!important;line-height:1.02!important}
#modeHeaderTime{display:none!important}
#modeHeaderCollision{font:11px 'Times New Roman',serif!important;color:#424a57!important;text-shadow:1px 1px #fff!important}
#roundScoreboard{left:12px!important;right:auto!important;top:160px!important;width:304px!important;max-width:304px!important}
#axisViews{left:12px!important;width:256px!important}
#axisViews canvas{background:#cbd1db!important}
#hud .terrainPanel #sessionCounter,#hud .terrainPanel #mushroomCharge,#hud .terrainPanel #impactToggle,#hud .terrainPanel #gridToggle,#hud .terrainPanel #viewToggle{display:none!important}
#hud #seedStats,#hud #roundStats,#hud #winStat{display:none!important}#hud #territoryStat .label,#hud #territoryStat .val{display:inline-block}#hud .stats .label{display:block;text-align:left}#hud .stats>div{min-width:0;flex:0 0 auto}
#bottom .gravityPanel{position:fixed;right:14px;bottom:14px;width:240px}
#gravfill{background:#9bb9cd!important;transition:width .075s linear}
#lobby{background:#9da8b7!important}
#lobbyGraphic{background:#c5cbd5!important}
#lobbySub{background:#e0e4eb!important;background-image:none!important;border-radius:2px!important;box-shadow:inset 1px 1px white!important;font:italic bold 29px 'Times New Roman',serif!important;color:#1a2433!important}
#lobbyTitle{font:italic bold 50px 'Times New Roman',serif!important;letter-spacing:-2px;text-shadow:1px 1px white!important}
#lobbyVersion{display:inline-block;font:10px 'Times New Roman',serif;vertical-align:top;position:relative;top:.22em;letter-spacing:0;color:#4d5664;margin-left:6px}
.playerCard,.playerCard.slot1,.playerCard.slot2,.playerCard.slot3,.playerCard.slot4{background:#cbd1db!important}
.playerCard.empty{opacity:1!important}
.playerCard.empty .previewFrame{background:#4d5665!important;box-shadow:inset 2px 2px #323948,inset -1px -1px #8994a2!important}
.playerCard.empty .liveBall,.playerCard.empty .lball{display:none!important}
.playerCard .previewFrame{border-radius:2px!important;background:#bbc3d0!important}
.playerCard .colorButtons{gap:4px}
.playerCard .colorButtons button{width:38px!important;min-width:38px!important;height:37px!important;font:700 20px 'Times New Roman',serif!important;border-radius:2px!important}
.playerCard .colorButtons select{display:block!important;flex:1!important;min-width:0!important;max-width:100%!important;width:auto!important;height:37px!important;background:#e7e9ed!important;border:1px solid #626c79!important;border-radius:1px!important;text-align:center!important;color:#121923!important;font:700 13px 'Times New Roman',serif!important;padding:2px!important}
.playerCard .slotName{font:700 20px 'Times New Roman',serif!important}
.playerCard .slotInfo{font:700 12px 'Times New Roman',serif!important}
#readyButton{background:#000!important;color:#fff!important}
#readyButton:hover{background:#222!important}
#gameplayTauntSelect{max-width:93px;font:11px 'Times New Roman',serif;background:#ebedf1;border:1px solid #596575;padding:3px;color:#172233}
#hud .terrainPanel{max-width:360px;pointer-events:auto}
@media(max-width:800px){#hud .brand{width:218px;min-width:218px}#modeHeader{left:8px!important;top:93px!important;width:218px!important;max-width:218px!important}#modeHeaderTitle{font-size:21px!important}#roundScoreboard{left:8px!important;top:155px!important;width:218px!important;max-width:218px!important}#roundDial{width:53px!important;height:53px!important;left:232px!important;top:9px!important}#hud .terrainPanel{max-width:200px}#bottom .gravityPanel{width:170px}}


/* v3.6 — compact, explicit expansion from four to eight lobby players */
#slotGrid .playerCard{order:0}
#addPlayerSlot{order:10;justify-self:start;align-self:start;width:62px;height:59px;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;
 background:#d7dbe3;color:#202a39;border:2px solid #536173;border-radius:2px;
 box-shadow:inset 2px 2px #fff,inset -2px -2px #939caa,2px 2px 0 #687587;
 font:700 12px 'Times New Roman',serif;cursor:pointer;padding:1px 0 3px}
#addPlayerSlot .expansionPlus{font:700 31px/31px 'Times New Roman',serif}
#addPlayerSlot:hover:not(:disabled){background:#e9ecf1}
#addPlayerSlot:focus-visible{outline:2px solid #1a4b7a;outline-offset:3px}
#addPlayerSlot[hidden]{display:none!important}

/* v3.6 unified Win9x-style top HUD; long bar never wraps */
#hud{position:fixed;left:12px;right:12px;top:10px;height:58px;display:block!important;white-space:nowrap;pointer-events:none;z-index:9}
#hud::before{content:"";position:fixed;top:10px;left:12px;right:12px;height:57px;background:#cbd1db;border:1px solid #293545;box-shadow:inset 2px 2px white,inset -2px -2px #727d8c,3px 3px 0 #22314377;pointer-events:none;z-index:-1}
#hud .brand{position:absolute!important;left:0!important;top:0!important;right:auto!important;margin:0!important;padding:6px 11px!important;width:325px!important;min-width:325px!important;max-width:325px!important;height:56px!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
#hud .brandMain{display:flex!important;flex-direction:row!important;align-items:center!important;gap:16px!important;width:auto!important;min-width:0!important;flex:none!important;white-space:nowrap!important}
#hud .brandline{display:flex!important;align-items:baseline!important;gap:4px!important;white-space:nowrap!important;flex:0 0 auto!important}
#hud .stats{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;margin:0!important;white-space:nowrap!important;flex:0 0 auto!important}
#hud .stats>div{display:flex!important;flex-direction:column;align-items:flex-start;gap:0;flex:0 0 auto}
#hud .stats>div[hidden],#hud .stats #territoryStat[hidden]{display:none!important}
#hud .stats .label{font-size:9px!important;line-height:12px!important;letter-spacing:.4px!important}
#hud .stats .val{font-size:17px!important;line-height:19px!important}
#hud .logotype{font-size:28px!important;line-height:30px!important}
#roundDial{position:fixed!important;left:345px!important;top:5px!important;width:70px!important;height:70px!important;margin:0!important;z-index:11!important;box-shadow:inset 2px 2px white,inset -2px -2px #798697,2px 2px 0 #22314377!important}
#hud .terrainPanel{position:fixed!important;top:14px!important;right:18px!important;left:auto!important;display:flex!important;gap:5px!important;align-items:center!important;flex-wrap:nowrap!important;white-space:nowrap!important;width:auto!important;max-width:calc(100vw - 435px)!important;min-height:43px!important;margin:0!important;padding:4px!important;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:auto!important}
#hud .terrainPanel button{white-space:nowrap!important;font-size:12px!important;padding:7px 9px!important}
#hud .terrainPanel #gameplayTauntSelect{width:91px!important;font-size:11px!important}
#modeHeader{position:fixed!important;left:12px!important;top:79px!important;width:305px!important;max-width:305px!important;min-height:62px!important;z-index:8!important}
#roundScoreboard{position:fixed!important;left:12px!important;top:154px!important;width:305px!important;max-width:305px!important}
#addPlayerSlot{position:static!important;order:0!important;width:61px!important;height:51px!important;align-self:center!important;justify-self:auto!important;flex:0 0 auto!important;margin-right:auto!important}
#lobbyFooterBar{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important}
#readyHint{flex:1 1 auto!important;min-width:0!important}
#lobbyFooterBar #readyButton{flex:0 0 auto!important}
.takeoverOption{display:none!important}
.playerCard{position:relative!important}
.playerCard .kickGuest{position:absolute!important;right:7px!important;top:7px!important;width:24px!important;height:24px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#e5c9c9!important;color:#651919!important;border:1px solid #8f4343!important;box-shadow:inset 1px 1px #fff,1px 1px #5c6673!important;font:700 20px/20px 'Times New Roman',serif!important;z-index:7;cursor:pointer}
.playerCard .kickGuest[hidden]{display:none!important}
@media(max-width:820px){#hud .brand{width:255px!important;min-width:255px!important}#hud .brandMain{gap:8px!important}#hud .logotype{font-size:21px!important}#roundDial{left:272px!important;width:53px!important;height:53px!important}#hud .terrainPanel{max-width:calc(100vw - 342px)!important}#hud .terrainPanel button{padding:5px!important;font-size:10px!important}#modeHeader{top:80px!important;left:10px!important;width:255px!important;max-width:255px!important}#roundScoreboard{top:152px!important;left:10px!important;width:255px!important;max-width:255px!important}}

/* v3.8: two separate HUD islands; middle of the display remains uncovered. */
#hud::before{display:none!important}
#hud .brand{background:#cbd1db!important;border:1px solid #293545!important;box-shadow:inset 2px 2px white,inset -2px -2px #727d8c,3px 3px 0 #22314377!important;width:325px!important;min-width:325px!important}
#hud .terrainPanel{background:#cbd1db!important;border:1px solid #293545!important;box-shadow:inset 2px 2px white,inset -2px -2px #727d8c,3px 3px 0 #22314377!important;padding:5px 8px!important;min-width:max-content!important;max-width:none!important;flex-wrap:nowrap!important;white-space:nowrap!important;gap:7px!important}
#hud .terrainPanel>*{flex-shrink:0!important;white-space:nowrap!important}
#roundDial{left:345px!important}
@media(max-width:820px){#hud .terrainPanel{right:8px!important;max-width:none!important;transform:scale(.78);transform-origin:right top}#roundDial{left:272px!important}}

/* v3.10 — focused HUD composition from suggestedui 5; retain split HUD islands. */
#hud{height:65px!important}
#hud .brand{
 width:351px!important;min-width:351px!important;max-width:351px!important;
 height:59px!important;top:0!important;left:0!important;right:auto!important;
 padding:8px 9px!important;box-sizing:border-box!important;
 border:1px solid #293545!important;background:#cbd1db!important;
 box-shadow:inset 2px 2px white,inset -2px -2px #727d8c,3px 3px 0 #22314377!important;
 white-space:nowrap!important;
}
#hud .brandMain{gap:10px!important;min-width:0!important;max-width:266px!important;align-items:center!important;white-space:nowrap!important}
#hud .brandline{gap:2px!important;align-items:baseline!important;white-space:nowrap!important}
#hud .logotype{font:italic 900 26px/29px 'Times New Roman',serif!important;letter-spacing:-1.1px!important;text-shadow:1px 1px #fff!important}
#hud .brandline .tiny{font:700 10px/12px 'Times New Roman',serif!important;letter-spacing:0!important;color:#404b5c!important}
#hud .stats{gap:9px!important;margin:0!important;white-space:nowrap!important}
#hud .stats .label{font:700 9px/11px 'Times New Roman',serif!important;letter-spacing:.2px!important}
#hud .stats .val{font:700 17px/20px 'Times New Roman',serif!important}
#roundDial{
 position:absolute!important;left:auto!important;right:4px!important;top:-5px!important;
 width:65px!important;height:65px!important;z-index:12!important;margin:0!important;
 border:1px solid #445369!important;border-radius:50%!important;
 background:#eef0f3!important;box-shadow:inset 2px 2px #fff,inset -2px -2px #8993a0,2px 2px #33415599!important;
}
#roundDial::after{inset:4px!important;border:1px solid #6a7689!important}
#roundDialText{font:italic 700 27px/28px 'Times New Roman',serif!important}
#roundDialLabel{font:9px/10px 'Times New Roman',serif!important;letter-spacing:.4px!important}
#modeHeader{
 position:fixed!important;top:66px!important;left:18px!important;
 box-sizing:border-box!important;
 width:max-content!important;min-width:143px!important;max-width:224px!important;min-height:43px!important;
 padding:4px 12px 5px!important;gap:0!important;
 background:#cbd1db!important;border:1px solid #293545!important;
 box-shadow:inset 2px 2px #fff,inset -2px -2px #727d8c,2px 2px 0 #22314377!important;
 display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;
 white-space:nowrap!important;
}
#modeHeader[hidden]{display:none!important}
#modeHeaderTitle{font:italic 700 22px/23px 'Times New Roman',serif!important;color:#151923!important;text-shadow:1px 1px #fff,-1px -1px #fff!important;letter-spacing:-.3px!important}
#modeHeaderCollision{font:10px/12px 'Times New Roman',serif!important;color:#475062!important;text-shadow:1px 1px #fff!important;letter-spacing:0!important}
#roundScoreboard{
 position:fixed!important;left:12px!important;top:124px!important;right:auto!important;
 width:max-content!important;min-width:194px!important;max-width:min(322px,calc(100vw - 24px))!important;
 box-sizing:border-box!important;padding:7px 9px!important;
}
#roundScoreboard #leaderPreview{gap:6px!important;margin:0 0 4px!important;padding:3px 4px!important;max-width:100%!important}
#roundScoreboard #leaderBall{width:43px!important;height:43px!important;flex-shrink:0!important}
#roundScoreboard #leaderPreview>div{min-width:0!important;max-width:175px!important}
#roundScoreboard .scoreHeading{margin:2px 0 4px!important;font-size:12px!important;letter-spacing:.25px!important}
#roundScoreboard .scoreRow{display:flex!important;align-items:center!important;gap:5px!important;margin:0 0 4px!important;padding:4px 5px!important;box-sizing:border-box!important;min-width:197px!important;max-width:100%!important}
#roundScoreboard .scoreRow .scoreName{min-width:0!important;max-width:179px!important;flex:1 1 auto!important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important}
#roundScoreboard .scoreRow strong{flex:none!important;white-space:nowrap!important;font-size:12px!important}
#roundScoreboard #modeRoundNote{max-width:295px!important;white-space:normal!important;font-size:11px!important;margin-top:2px!important}
#hud .terrainPanel{flex-wrap:nowrap!important;white-space:nowrap!important;min-width:max-content!important}
/* Retro-green readiness, sharp 1-pixel black text shadow, 4px checkered dither. */
#readyButton,#readyButton.isReady{
 color:#fff!important;font:italic 900 40px/1 'Times New Roman',serif!important;
 text-shadow:1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,2px 2px 0 #000!important;
 background-color:#8bc85f!important;
 background-image:repeating-conic-gradient(#77b650 0% 25%,#9bd36f 0% 50%)!important;
 background-size:4px 4px!important;background-position:0 0!important;
 border:2px solid #2b5931!important;box-shadow:inset 2px 2px #dbffca,inset -2px -2px #4e8f46,2px 2px 0 #37483e!important;
 filter:none!important;border-radius:2px!important;
}
#readyButton:hover:not(:disabled){filter:brightness(1.07)!important}
@media(max-width:820px){
 #hud .brand{width:292px!important;min-width:292px!important;max-width:292px!important}
 #hud .brandMain{gap:5px!important;max-width:222px!important}
 #hud .logotype{font-size:21px!important;letter-spacing:-.8px!important}
 #hud .stats{gap:4px!important}
 #hud .stats .val{font-size:14px!important}
 #roundDial{height:56px!important;width:56px!important;right:1px!important;top:0!important}
 #modeHeader{left:15px!important;top:66px!important}
 #roundScoreboard{left:9px!important;top:123px!important}
}

/* v3.11: independent, snug game-mode window */
#modeHeader{
 top:70px!important;left:16px!important;
 width:max-content!important;min-width:0!important;max-width:290px!important;
 padding:4px 10px 5px!important;
 border:1px solid #3c4655!important;border-radius:1px!important;
 box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #8a96a6,1px 1px 0 #5e697a!important;
 background:#d4d9e2!important;
}
#modeHeaderTitle{font:italic 900 20px/21px 'Times New Roman',serif!important;letter-spacing:-.7px!important;text-shadow:1px 1px 0 white!important;}
#modeHeaderCollision{font:10px 'Times New Roman',serif!important;}
#roundScoreboard{top:127px!important;}
@media(max-width:820px){#modeHeader{top:69px!important;left:12px!important;}#roundScoreboard{top:123px!important}}
#partyVoteBox{width:100%;box-sizing:border-box;max-width:min(680px,92vw);margin:7px auto 0;background:#d5d8df;color:#172030;padding:8px;border:2px ridge #fff;box-shadow:3px 3px #222;max-height:38vh;overflow-y:auto}
#partyVoteChoices{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}
#partyVoteChoices button{font:12px 'Times New Roman',serif;background:#eceef0;color:#171a20;border:1px solid #606b7d;box-shadow:1px 1px #444;padding:5px 7px;cursor:pointer}
#partyVoteChoices button.selected{background:#21592b;color:white;border-color:#071d0c}
#partyVoteBox[hidden]{display:none!important}
#partyVoteBox{max-width:100%!important;margin:10px 0 0!important;box-shadow:none!important;max-height:none!important;border:1px solid #758397!important;background:#dbe0e7!important;padding:9px!important}
.partyVoteTitle{font:italic bold 16px 'Times New Roman',serif;text-align:center;margin-bottom:7px}
#partyVoteChoices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}
#partyVoteChoices button{min-width:0;white-space:normal;text-align:left;padding:8px 6px;font:14px 'Times New Roman',serif!important}
#partyVoteChoices button kbd{display:inline-block;min-width:21px;text-align:center;border:1px solid #708090;background:#fff;padding:1px 3px;margin-right:5px;font:bold 13px 'Times New Roman',serif;color:#192333}
#partyVoteChoices button.selected kbd{background:#d7efd9}
#louSauceSummary{display:flex;flex-direction:column;gap:3px;padding:5px 7px;margin:3px 0 6px;background:#ece4d4;border:1px solid #8a7c6b;font:12px 'Times New Roman',serif;color:#27221b}
#louSauceSummary[hidden]{display:none!important}
#louSauceSummary span{display:flex;justify-content:space-between;gap:12px;white-space:nowrap}
#louSauceSummary b{font-size:14px;font-variant-numeric:tabular-nums}
#golfStrokeDisplay{position:fixed;left:14px;bottom:12px;z-index:12;background:#cbd1db;color:#19202e;border:1px solid #354459;box-shadow:inset 1px 1px white,2px 2px #3336;padding:7px 12px;font:700 17px "Times New Roman",serif}#golfStrokeDisplay[hidden]{display:none!important}
#exitLobby{width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;padding:0!important;font:25px/1 'Times New Roman',serif!important;border-radius:3px!important}
/* Exit the character-select lobby at the upper-right, without crowding Ready. */
#lobbyGraphic{position:relative!important}
#lobbyHead{padding-right:47px!important}
#lobbyHead #exitLobby{position:absolute!important;right:13px!important;top:13px!important;z-index:5!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#e5e9ef!important;color:#192535!important;border:1px solid #5e6b7d!important;box-shadow:inset 1px 1px #fff,inset -1px -1px #828f9e,1px 1px #627183!important;cursor:pointer!important}
#lobbyHead #exitLobby:hover{background:#fff!important}
#lobbyHead #exitLobby:focus-visible{outline:2px solid #174c9a;outline-offset:2px}

#lobbySub{display:none!important}
.partyPickerDialog{width:min(570px,94vw);max-height:84vh;overflow:auto;padding:16px;background:#d6dbe3;border:2px solid #36475c;box-shadow:5px 6px 0 #101b2866;color:#192538;font:14px 'Times New Roman',serif}
.partyPickerDialog button{font:14px 'Times New Roman',serif;background:#e9ebf1;color:#152236;border:1px solid #64748d;padding:4px 10px;cursor:pointer}
.partyPickerDialog input{width:17px;height:17px;min-width:0!important}
#partyPickerPanel[style*="display: flex"],#partyPickerPanel[style*="display:flex"]{display:flex}
#flashChatComposer[hidden]{display:none!important}
#flashChatComposer{position:fixed;bottom:15%;left:50%;transform:translateX(-50%);z-index:205;background:#dbe0e7;border:2px solid #52647b;box-shadow:3px 4px #0006;padding:9px;display:flex;align-items:center;gap:6px;max-width:92vw}
#flashChatComposer input{background:#fff;color:#1a2432;border:1px solid #63758a;font:15px 'Times New Roman',serif;width:min(430px,64vw);padding:7px}
#flashChatComposer button{background:#f2f3f6;color:#15243a;font:13px 'Times New Roman',serif;border:1px solid #66768a;padding:7px 11px;cursor:pointer}
#flashChatLayer{position:fixed;inset:0;pointer-events:none;z-index:180;overflow:hidden}
.flashChatBubble{position:absolute;background:#e8ecf2ef;color:#172235;border:1px solid #40556b;box-shadow:2px 3px #0005;padding:9px 13px;font:15px/1.3 'Times New Roman',serif;max-width:min(320px,72vw);overflow-wrap:anywhere;animation:flashChatFade 3s linear forwards}
.flashChatBubble strong{display:block;font:bold 11px 'Times New Roman',serif;color:#465a70;margin-bottom:3px}
@keyframes flashChatFade{0%,78%{opacity:1}100%{opacity:0}}
/* Lou Obstacle Course: keep instructions inside the scoreboard, no corner minimap. */
body.lou-obstacle-active #mapPanel{display:none!important}
body.lou-obstacle-active #roundScoreboard #modeRoundNote{white-space:normal!important;overflow-wrap:anywhere!important;max-width:190px!important;line-height:1.23!important;font-size:11px!important}
.playerCard .slotName.renameAvailable{cursor:text;outline-offset:-3px}
.playerCard .slotName.renameAvailable:hover{background:#fff!important}
.inlineBallRename{display:block;box-sizing:border-box;min-width:0;width:100%;padding:3px;background:#fff;color:#142035;text-align:center;font:bold 19px 'Times New Roman',serif;border:1px solid #6d7c8f;border-radius:0}

#zenDisconnectNotice{position:fixed;bottom:48px;left:50%;transform:translateX(-50%);z-index:310;pointer-events:none;background:#d1d7e0;color:#182335;border:1px solid #566375;box-shadow:2px 3px 0 #17212b80;padding:5px 13px;font:italic bold 14px "Times New Roman",serif;text-shadow:1px 1px white;white-space:nowrap;max-width:90vw;text-overflow:ellipsis;overflow:hidden}
#zenDisconnectNotice[hidden]{display:none!important}
/* v3.91 - stand-alone local ZENBALL Settings overlay. */
#zenSettings[hidden],#zenSettings .zsPage[hidden]{display:none!important}
#zenSettings{position:fixed;inset:0;z-index:999999;background:#15213999;display:grid;place-items:center;pointer-events:auto;font:14px 'Times New Roman',serif;color:#111a2a}
#zenSettingsDialog{box-sizing:border-box;width:min(400px,94vw);max-height:92vh;overflow:auto;background:#d0d6df;border:2px solid #45546a;box-shadow:inset 2px 2px #fff,inset -2px -2px #7b8799,5px 6px #10172287;padding:13px}
#zenSettings h2{margin:0 0 10px;font:bold italic 24px 'Times New Roman',serif;border-bottom:1px solid #768399;padding-bottom:7px}
#zenSettings .zsMenu{display:flex;flex-direction:column;gap:7px}
#zenSettings button,#zenSettings select{box-sizing:border-box;min-height:30px;padding:6px 10px;background:#edf0f5;color:#182334;border:1px solid #637184;box-shadow:inset 1px 1px #fff,inset -1px -1px #a7b1bf;font:italic 700 14px 'Times New Roman',serif;cursor:pointer;text-align:left}
#zenSettings button:hover{background:white}
#zenSettings .zsPage{display:flex;flex-direction:column;gap:11px}
#zenSettings .zsRow{display:flex;gap:10px;justify-content:space-between;align-items:center;min-height:30px;border-bottom:1px solid #a6b0bd;padding:3px 0}
#zenSettings .zsRow label{flex:1}
#zenSettings .zsRow input[type=range]{width:150px;max-width:53%}
#zenSettings .zsRow input[type=checkbox]{width:18px;height:18px;accent-color:#536988}
#zenSettings .zsRow select{width:160px;font-size:12px;text-align:center}
#zenSettings .zsHint{font:italic 12px 'Times New Roman',serif;color:#41516b;margin:0}
#zenSettings .zsBack{margin-top:10px;width:100%}



/* v4.00 Llabnez test HUD: only visible while this game mode is active. */
#llStatusBadge{position:fixed;right:14px;top:78px;z-index:10;pointer-events:none;background:#cbd1db;color:#192231;border:1px solid #293545;box-shadow:inset 1px 1px white,2px 2px #2633448a;padding:7px 11px;font:700 13px 'Times New Roman',serif;text-align:right}
#llStatusBadge[hidden],body.hud-hidden #llStatusBadge{display:none!important}
body.llabnez-active .gravityPanel{display:none!important}
@media(max-width:740px){#llStatusBadge{top:81px;right:7px;font-size:10px;padding:5px}}
/* v3.93 Melee is an independent game mode; these styles never apply elsewhere. */
body.melee-active #roundScoreboard,body.melee-active #mapPanel,body.melee-active #roundDial,
body.melee-active #roundTimer,body.melee-active #gravityPanel,body.melee-active .gravityPanel,
body.melee-active #territoryStat,body.melee-active #modeRoundNote,body.melee-active #hazardCountdown,
body.melee-active #sideViewMapMarkers,body.melee-active #hopsTrickHud{display:none!important}
#meleeHud{position:fixed;bottom:7px;left:50%;transform:translateX(-50%);display:flex;align-items:flex-end;justify-content:center;gap:clamp(5px,1.8vw,26px);width:min(98vw,1240px);max-width:calc(100vw - 14px);z-index:31;pointer-events:none;font:700 12px 'Times New Roman',serif;image-rendering:pixelated}
#meleeHud[hidden],body.hud-hidden #meleeHud{display:none!important}
#meleeHud .meleeCard{display:flex;flex:0 1 220px;flex-direction:column;align-items:center;gap:1px;min-width:0;max-width:245px;text-align:center;color:#e7e9ed;text-shadow:1px 1px 0 #080a10,-1px 1px 0 #080a10;font-style:italic}
#meleeHud .meleeCard .meleeLives{height:26px;display:flex;gap:3px;align-items:center;justify-content:center}
#meleeHud .meleeLives img{width:clamp(15px,2.3vw,26px);height:clamp(15px,2.3vw,26px);object-fit:contain;image-rendering:pixelated;filter:drop-shadow(1px 1px #08080e)}
#meleeHud .meleeName{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:clamp(10px,1.2vw,14px)}
#meleeHud .meleePct{font:italic 700 clamp(30px,min(8.2vw,calc(390px / var(--melee-players, 4))),96px)/.92 'Times New Roman',serif;white-space:nowrap;color:#f4f4f4;letter-spacing:-2px}
#meleeHud .meleePct.medium{color:#f9e17a}#meleeHud .meleePct.danger{color:#fe7862}
#meleeHud .meleePct.out{color:#a4a6aa;text-shadow:1px 1px #050505;font-size:clamp(28px,min(6.5vw,calc(330px / var(--melee-players, 4))),80px)}
#meleeHud .meleeAvatar{width:clamp(26px,3.2vw,42px);height:clamp(26px,3.2vw,42px);object-fit:contain;image-rendering:pixelated}
#meleeFx{position:fixed;inset:0;z-index:25;pointer-events:none;overflow:hidden}
#meleeFx[hidden],body.hud-hidden #meleeFx{display:none!important}
#meleeFx .meleeSwipe{position:absolute;transform-origin:center;image-rendering:pixelated;pointer-events:none;object-fit:contain}
#meleeFx .meleePix{position:absolute;width:3px;height:3px;background:#fff;box-shadow:1px 0 #eee;image-rendering:pixelated}
#meleeFx .meleeOut{position:absolute;font:italic 900 13px 'Times New Roman',serif;color:#e6e6e6;text-shadow:1px 1px #111;white-space:nowrap}

/* v3.97 MOBILE TEST — isolated, class-gated UI. Nothing here changes desktop layout. */
@media (max-width:740px){body:not(.zen-mobile) #mobile{display:none!important}}
body.zen-mobile{overscroll-behavior:none;-webkit-tap-highlight-color:transparent}
body.zen-mobile #viewport{touch-action:none}
body.zen-mobile #mobile{display:none!important}
body.zen-mobile.zen-mobile-playing:not(.hud-hidden) #mobile{
  display:flex!important;position:fixed!important;left:max(9px,env(safe-area-inset-left));right:max(9px,env(safe-area-inset-right));
  bottom:max(9px,env(safe-area-inset-bottom));top:auto;width:auto;z-index:42;
  align-items:flex-end;justify-content:space-between;gap:9px;pointer-events:none;touch-action:none
}
body.zen-mobile #mobile button{touch-action:none;user-select:none;-webkit-user-select:none;pointer-events:auto;
  font:italic bold 13px 'Times New Roman',serif;border:1px solid #4b5a6c;border-radius:3px;
  box-shadow:inset 1px 1px white,inset -1px -1px #8693a2,2px 2px #1723317a;color:#132037;background:#dce1e9;
  padding:5px;text-align:center;min-height:45px;cursor:pointer}
body.zen-mobile #mobile button.touch-held{background:#aac5e5!important;box-shadow:inset 2px 2px #637994!important}
body.zen-mobile #zenMobileActions{flex:1;min-width:0;max-width:440px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-content:end}
body.zen-mobile #mobile #spaceTouch{flex:0 0 clamp(90px,25vw,124px)!important;width:clamp(90px,25vw,124px)!important;
  min-height:94px;height:94px!important;background:#e4edd5;border:2px solid #526348;font:bold italic 18px/1.12 'Times New Roman',serif}
body.zen-mobile #zenMobileTop{position:fixed;top:max(9px,env(safe-area-inset-top));right:max(9px,env(safe-area-inset-right));
 z-index:44;display:flex;gap:5px;pointer-events:auto;max-width:calc(100vw - 205px)}
body.zen-mobile #zenMobileTop button{height:33px;min-width:40px;padding:4px 7px;background:#d7dde7;color:#142032;
 border:1px solid #526075;box-shadow:inset 1px 1px #fff,inset -1px -1px #9da8b7;touch-action:manipulation;
 font:italic bold 12px 'Times New Roman',serif}
body.zen-mobile #zenMobileTop{display:none}
body.zen-mobile.zen-mobile-playing #zenMobileTop{display:flex}
body.zen-mobile #hud .terrainPanel{display:none!important}
body.zen-mobile #hud .brand{left:0!important;top:0!important;width:190px!important;min-width:190px!important;max-width:190px!important;height:49px!important;padding:5px 7px!important}
body.zen-mobile #hud .brandMain{gap:6px!important;max-width:180px!important}
body.zen-mobile #hud .logotype{font-size:19px!important}
body.zen-mobile #hud .brandline .tiny{font-size:8px!important}
body.zen-mobile #hud .stats{gap:5px!important}
body.zen-mobile #hud .stats .val{font-size:13px!important;line-height:15px!important}
body.zen-mobile #hud .stats .label{font-size:8px!important;line-height:10px!important}
body.zen-mobile #roundDial{position:fixed!important;left:auto!important;right:max(9px,env(safe-area-inset-right))!important;top:55px!important;width:51px!important;height:51px!important;z-index:20!important}
body.zen-mobile #roundDialText{font-size:20px!important}
body.zen-mobile #modeHeader{top:62px!important;left:9px!important;max-width:187px!important;width:max-content!important;min-width:0!important;padding:3px 7px!important;min-height:0!important}
body.zen-mobile #modeHeaderTitle{font-size:17px!important;line-height:18px!important}
body.zen-mobile #roundScoreboard{left:9px!important;top:104px!important;width:191px!important;min-width:0!important;
 max-width:min(191px,calc(100vw - 18px))!important;max-height:31vh!important;overflow:auto!important;padding:5px!important}
body.zen-mobile #roundScoreboard .scoreRow{min-width:0!important;font-size:11px!important;gap:3px!important;padding:2px!important}
body.zen-mobile #roundScoreboard .scoreRow .miniBall{width:17px;height:17px}
body.zen-mobile #roundScoreboard #leaderPreview{min-height:0;}
body.zen-mobile #roundScoreboard #leaderBall{width:27px!important;height:27px!important}
body.zen-mobile #mapPanel,body.zen-mobile #audioPanel,body.zen-mobile #axisViews,
body.zen-mobile #openNotes,body.zen-mobile #clientFpsBadge,body.zen-mobile #bottom .instructions,
body.zen-mobile #bottom .gravityPanel{display:none!important}
body.zen-mobile #itemIndicator{top:55px!important;left:auto!important;right:8px!important;transform:none!important;padding:4px 6px!important;gap:5px!important}
body.zen-mobile #itemIndicatorIcon{width:25px;height:25px;font-size:18px}
body.zen-mobile #itemIndicator .itemName{font-size:13px}
body.zen-mobile #meleeHud{bottom:116px!important;gap:5px!important}
body.zen-mobile #meleeHud .meleePct{font-size:clamp(24px,5.8vw,50px)!important}
body.zen-mobile #ggPopupFrame{max-width:96vw}
body.zen-mobile .ggPanel{width:min(95vw,520px);max-height:85dvh}
/* Mobile-only character selection: portrait rows; two cards per row in landscape. */
body.zen-mobile #lobby{padding:10px max(8px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom));overscroll-behavior:contain}
body.zen-mobile #lobbyBox{max-height:none!important;overflow:visible!important;width:100%}
body.zen-mobile #lobbyGraphic{padding:10px 9px 12px!important}
body.zen-mobile #lobbyTitle{font-size:clamp(27px,6.5vw,41px)!important}
body.zen-mobile #lobbyVersion{font-size:9px}
body.zen-mobile #lobbyHead{margin-bottom:10px!important;padding-right:35px!important}
body.zen-mobile #slotGrid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
body.zen-mobile #slotGrid .playerCard{display:grid!important;box-sizing:border-box!important;min-height:0!important;
 grid-template-columns:minmax(104px,36%) minmax(0,1fr);grid-template-rows:auto auto auto 1fr;
 gap:5px 9px!important;padding:9px!important;align-items:center!important}
body.zen-mobile #slotGrid .playerCard[hidden]{display:none!important}
body.zen-mobile .playerCard .slotTag{grid-column:1;grid-row:1;width:43px!important;height:29px!important;font-size:17px!important;justify-self:start!important}
body.zen-mobile .playerCard .previewFrame{grid-column:1;grid-row:2/5;min-height:112px!important;height:117px!important;max-height:117px!important;
 border-radius:2px!important;padding:2px!important}
body.zen-mobile .playerCard .previewFrame .liveBall,
body.zen-mobile .playerCard .previewFrame .lball{height:110px!important;max-height:110px!important;width:100%!important;object-fit:contain}
body.zen-mobile .playerCard .slotInfo{grid-column:2;grid-row:1;text-align:left;font-size:11px!important;min-height:0!important}
body.zen-mobile .playerCard .colorButtons{grid-column:2;grid-row:2;gap:3px!important;min-width:0}
body.zen-mobile .playerCard .colorButtons button{min-width:30px!important;width:30px!important;height:35px!important;font-size:15px!important}
body.zen-mobile .playerCard .colorButtons select{min-width:0!important;width:100%!important;height:35px!important;font-size:12px!important}
body.zen-mobile .playerCard .nameWithVoice{grid-column:2;grid-row:3;min-width:0}
body.zen-mobile .playerCard .slotName{font-size:16px!important;min-height:31px!important;padding:4px!important}
body.zen-mobile #lobbyFooterBar{gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important;margin-top:10px!important}
body.zen-mobile #lobbyFooterBar #readyButton{min-width:125px!important;min-height:52px!important;font-size:29px!important}
body.zen-mobile #lobbyFooterBar #readyHint{flex:1 1 125px!important;font-size:11px!important}
body.zen-mobile #lobbyControls{padding:9px!important;gap:8px!important;min-width:0!important}
body.zen-mobile #lobbyControls .group{max-width:100%;min-width:0!important}
body.zen-mobile #lobbyControls .lcd{min-width:0!important;width:100%!important;overflow-wrap:anywhere}
body.zen-mobile #lobbyControls .group[style*="flex:1"]{flex:1 1 100%!important;width:100%!important}
body.zen-mobile #lobbyControls select,body.zen-mobile #lobbyControls input{min-width:0!important;max-width:100%!important}
body.zen-mobile #lobbyControls .gameModeBox{width:100%!important;flex:1 1 100%!important;gap:6px!important}
body.zen-mobile #lobbyControls .gameModeBox select{width:100%!important;min-width:0!important;flex:1 1 100%!important}
body.zen-mobile #lobbyControls #zenDevMenu{flex-basis:100%!important}
body.zen-mobile #communityDialog{width:min(540px,95vw);padding:13px 10px!important}
body.zen-mobile #communityDialog h1{font-size:22px!important;padding-right:28px}
body.zen-mobile #communityDialog .communityEntry{font-size:12px}
body.zen-mobile #communityDialog input{max-width:100%;min-width:0}
@media (orientation:landscape) and (min-width:660px){
 body.zen-mobile #slotGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.zen-mobile #slotGrid .playerCard{grid-template-columns:minmax(94px,33%) minmax(0,1fr)!important;gap:3px 7px!important;padding:7px!important}
 body.zen-mobile .playerCard .previewFrame{height:103px!important;min-height:103px!important;max-height:103px!important}
 body.zen-mobile .playerCard .previewFrame .liveBall,body.zen-mobile .playerCard .previewFrame .lball{max-height:97px!important;height:97px!important}
 body.zen-mobile #roundScoreboard{max-height:34vh!important}
 body.zen-mobile #meleeHud{bottom:98px!important}
 body.zen-mobile #mobile #spaceTouch{min-height:76px;height:76px!important}
 body.zen-mobile #mobile button{min-height:36px}
}
@media (orientation:portrait) and (min-width:760px){body.zen-mobile #slotGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-height:440px) and (orientation:landscape){
 body.zen-mobile #modeHeader{top:55px!important}
 body.zen-mobile #roundScoreboard{top:90px!important;max-height:25vh!important}
 body.zen-mobile #mobile #spaceTouch{height:66px!important;min-height:66px!important}
 body.zen-mobile #mobile button{min-height:31px;font-size:11px}
 body.zen-mobile #meleeHud{bottom:83px!important}
}
body.hud-hidden.zen-mobile #mobile,body.hud-hidden.zen-mobile #zenMobileTop{display:none!important}

/* v3.98 — global scores panel (isolated from renderer / legacy HUD). */
#zenScoresModal[hidden],#ggRecordRank[hidden],#ggTopRecord[hidden]{display:none!important}
#zenScoresModal{position:fixed;inset:0;z-index:1000020;background:#101a2abd;display:flex;justify-content:center;align-items:center;padding:12px;font:14px 'Times New Roman',serif;color:#17202f}
#zenScoresWindow{box-sizing:border-box;width:min(760px,97vw);max-height:min(92vh,850px);display:flex;flex-direction:column;background:#cbd1db;border:2px solid #38465a;box-shadow:inset 2px 2px #fff,inset -2px -2px #778496,5px 6px #0006;padding:11px;gap:9px}
#zenScoresHeading{display:flex;justify-content:space-between;align-items:center;font:italic 700 25px 'Times New Roman',serif}
#zenScoresModal button,#zenScoresModal select{background:#ecedf1;border:1px solid #526075;color:#172334;font:13px 'Times New Roman',serif;padding:5px;cursor:pointer}
#zenScoresClose{font-size:24px!important;width:35px;padding:1px!important}
#zenScoresFilters{display:grid;grid-template-columns:minmax(0,1fr) 90px 106px;gap:8px;align-items:end}
#zenScoresFilters label{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:bold;min-width:0}
#zenScoresFilters select{width:100%;min-width:0;text-overflow:ellipsis}
#zenScoresStatus{margin:0;min-height:18px;font:italic 13px 'Times New Roman',serif;color:#33445b}
#zenScoresTableWrap{overflow:auto;min-height:80px;background:#f3f4f6;border:1px solid #708099}
#zenScoresTable{width:100%;border-collapse:collapse;color:#172135;font:14px 'Times New Roman',serif}
#zenScoresTable th{text-align:left;font-size:11px;letter-spacing:.5px;background:#dce2e8;position:sticky;top:0}
#zenScoresTable td,#zenScoresTable th{padding:7px 8px;border-bottom:1px solid #b5c1cf;white-space:nowrap}
#zenScoresTable td:nth-child(2){max-width:210px;overflow:hidden;text-overflow:ellipsis;font-weight:bold}
#zenScoresTable td:nth-child(3){font-variant-numeric:tabular-nums}
#zenScoresTable tr:first-child td{background:#fff4cb}
#zenScoresFooter{display:flex;justify-content:space-between;gap:8px;align-items:center;font:10px 'Times New Roman',serif;color:#48576b}
#ggRecordRank{align-self:stretch;color:#293d1b;background:#f0f4d3;border:1px solid #83975f;text-align:center;padding:5px 8px;font:italic 700 17px 'Times New Roman',serif}
#ggTopRecord{width:100%;background:#e3e8ee;border:1px solid #8797a9;padding:5px 8px;text-align:center;font:13px 'Times New Roman',serif;color:#24354a}
@media(max-width:550px){#zenScoresWindow{max-height:96vh;padding:7px}#zenScoresFilters{grid-template-columns:1fr 85px;gap:5px}#zenScoresFilters label:first-child{grid-column:1/-1}#zenScoresTable td,#zenScoresTable th{padding:6px 4px;font-size:12px}#zenScoresHeading{font-size:20px}#zenScoresTable td:nth-child(2){max-width:100px}}

/* v3.99 ZenGolf test: only active during the five-hole round. */
body.zengolf-active #mapPanel{display:none!important}
body.zengolf-active #roundScoreboard{max-width:330px!important;width:min(325px,calc(100vw - 18px))!important}
body.zengolf-active #roundScoreboard .scoreRow{min-width:0!important}
#zenGolfBadge{position:fixed;right:14px;top:84px;z-index:9;pointer-events:none;background:#cbd1db;color:#1d2631;border:1px solid #354355;box-shadow:inset 1px 1px white,2px 2px #2633448a;padding:7px 11px;font:700 13px 'Times New Roman',serif;text-align:right}
#zenGolfBadge[hidden],body.hud-hidden #zenGolfBadge{display:none!important}
@media(max-width:740px){#zenGolfBadge{top:81px;right:7px;font-size:10px;padding:5px}body.zengolf-active #roundScoreboard{width:225px!important;max-width:225px!important}}

/* Prototype tuning is available only for Stretch; Llabnez uses its fixed v4.00 defaults. */
body.stretch-active #mapPanel{display:none!important}
#modeTuneButton[hidden],#modeTunePanel[hidden]{display:none!important}
#modeTuneButton{position:fixed;top:95px;right:12px;z-index:29;padding:5px 11px;background:#cdd2db;color:#182332;border:1px solid #414a5a;box-shadow:2px 2px #27304188;font:italic 700 12px 'Times New Roman',serif;cursor:pointer}
#modeTunePanel{box-sizing:border-box;position:fixed;right:12px;top:130px;bottom:auto;z-index:48;width:min(325px,calc(100vw - 24px));max-height:calc(100vh - 151px);overflow-y:auto;background:#cbd1db;color:#152032;border:1px solid #3b4657;box-shadow:inset 1px 1px #fff,3px 4px #0007;padding:9px 11px;font:12px 'Times New Roman',serif}
#modeTunePanel .tuneHeading{font:bold italic 19px 'Times New Roman',serif;margin:0 0 8px}
#modeTuneFields{display:grid;gap:5px}
#modeTunePanel .tuneRow{display:grid;grid-template-columns:107px 1fr 46px;align-items:center;gap:6px}
#modeTunePanel .tuneRow input[type=range]{width:100%;min-width:0;accent-color:#4b5b74}
#modeTunePanel .tuneRow output{text-align:right;font-variant-numeric:tabular-nums}
#modeTunePanel textarea{display:block;box-sizing:border-box;width:100%;height:122px;resize:vertical;white-space:pre;font:11px/1.35 monospace;background:#f7f7f7;color:#151e2c;border:1px solid #768394;padding:5px;margin:9px 0 5px}
#modeTunePanel button{font:12px 'Times New Roman',serif;background:#eceef2;border:1px solid #657184;color:#182333;padding:4px 9px;cursor:pointer}
body.hud-hidden #modeTuneButton,body.hud-hidden #modeTunePanel{display:none!important}
@media(max-width:740px){#modeTuneButton{top:112px;right:8px}#modeTunePanel{top:147px;right:8px;max-height:calc(100vh - 155px);width:min(285px,calc(100vw - 16px))}}
#zenMiniRecord{margin-top:6px;padding:5px 6px;border-top:1px solid #7d8999;font:italic 11px "Times New Roman",serif;white-space:normal;max-width:285px;color:#2b3a51}
#soundPresetHint{position:fixed;bottom:70px;right:12px;z-index:18;pointer-events:none;font:italic 700 12px "Times New Roman",serif;color:#243447;background:#cbd1dbd9;border:1px solid #6b7788;padding:4px 8px}
#soundPresetHint[hidden]{display:none!important}

/* v4.31 Funny Guy: voting results are compact, content-sized cards, not scroll panes. */
#funnyGuyScene[data-phase="result"] .fgDeck{
  top:clamp(66px,13vh,130px);max-height:none;overflow:visible;gap:7px;
}
#funnyGuyScene[data-phase="result"] #fgAnswerGrid{
  grid-auto-rows:auto;gap:6px;
}
#funnyGuyScene[data-phase="result"] #fgAnswerGrid .fgAnswer{
  height:auto;min-height:74px;max-height:none;overflow:visible;
  padding:6px 8px 8px;font-size:14px;line-height:1.16;
}
#funnyGuyScene[data-phase="result"] .fgVotes{flex-wrap:wrap;min-height:19px;gap:1px}
#funnyGuyScene[data-phase="result"] .fgVotes img{width:19px;height:19px}
@media(max-height:650px){
 #funnyGuyScene[data-phase="result"] .fgDeck{top:48px;gap:5px;padding:7px 9px}
 #funnyGuyScene[data-phase="result"] #fgAnswerGrid .fgAnswer{min-height:58px;padding:4px 6px;font-size:12px}
 #funnyGuyScene[data-phase="result"] .fgVotes img{width:16px;height:16px}
}


/* v4.54: authentic one-chamber ammunition, cursor-accurate reticle. */
#zenChamberPistol{display:none!important}
#zen453AmmoHud[hidden]{display:none!important}
#zen453AmmoHud{position:fixed;bottom:24px;left:18px;z-index:64;display:flex;align-items:center;gap:9px;pointer-events:none;color:#f2f4ef;text-shadow:1px 1px #141920,-1px -1px #141920;filter:drop-shadow(2px 3px 1px #0007)}
#zen453BulletHud{width:94px;height:104px;background:transparent;display:block}body.hud-hidden #zen453AmmoHud{display:none!important}
#zen453AmmoCount{font:italic bold 33px/1 'Times New Roman',serif}

/* v4.53 One in the Chamber: simple fixed-angle pistol silhouette, independent of aiming physics. */
#zenChamberPistol[hidden]{display:none!important}
#zenChamberPistol{position:fixed;right:21%;bottom:13%;width:125px;height:108px;z-index:15;pointer-events:none;filter:drop-shadow(3px 4px 0 #0008)}
#zenChamberPistol .zenChamberBarrel{position:absolute;top:11px;left:10px;width:117px;height:30px;background:#3c464b;clip-path:polygon(0 0,100% 0,100% 67%,82% 67%,82% 100%,0 100%);border-top:5px solid #9ba2a3}
#zenChamberPistol .zenChamberGrip{position:absolute;top:35px;left:17px;width:44px;height:77px;background:#454440;clip-path:polygon(10% 0,100% 0,75% 100%,0 100%);box-shadow:inset -8px 0 #27292b}
#zenChamberAmmo{position:absolute;top:-17px;left:0;background:#111;color:#faf7d7;padding:3px 7px;font:bold 18px monospace;z-index:2}


#skipPrompt[hidden],#skipVoteStatus[hidden]{display:none!important}
#skipPrompt{position:fixed;inset:0;z-index:280;display:flex;justify-content:center;align-items:center;background:#0c1824a8;font:15px "Times New Roman",serif}
#skipPromptBox{border:2px solid #44566a;background:#e5e8ee;color:#142132;box-shadow:5px 5px #0008;padding:21px 28px;text-align:center;min-width:220px}
#skipPromptBox strong{display:block;font-size:18px;margin-bottom:14px}
#skipPromptBox button{font:15px "Times New Roman",serif;margin:0 6px;min-width:68px;padding:5px;background:#f5f5f5;border:1px solid #798797;color:#152031;cursor:pointer}
#skipVoteStatus{position:fixed;bottom:47px;left:50%;transform:translateX(-50%);z-index:75;background:#d8dde7;color:#142033;border:1px solid #576579;padding:4px 10px;font:13px "Times New Roman",serif;pointer-events:none}


#zenaPickupHud{position:fixed;left:16px;bottom:82px;z-index:47;display:flex;align-items:end;gap:10px;pointer-events:none;font-family:'Times New Roman',serif;color:#151c24;filter:drop-shadow(2px 2px 0 rgba(20,27,32,.45))}
#zenaPickupHud[hidden]{display:none!important}
#zenaLastItem{background:#c7ceda;border:2px solid #f3f6fb;outline:1px solid #6a737b;box-shadow:inset -2px -2px 0 #8a96a3,inset 2px 2px 0 #e3e8f0;min-width:98px;width:108px;padding:4px 4px 3px;display:flex;align-items:center;flex-direction:column}
#zenaLast3d{display:block;width:78px;height:68px;image-rendering:auto}
#zenaLastName{font-size:13px;line-height:1.05;font-style:italic;font-weight:700;text-transform:uppercase;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:95px}
#zenaLastValue{font-size:11px;font-style:italic;color:#435063}
#zenaMassHud{display:flex;gap:6px;align-items:center;min-width:125px;padding:4px 7px;background:#c7ceda;border:2px solid #f3f6fb;outline:1px solid #69737c;box-shadow:inset -2px -2px 0 #8b96a2}
#zenaMassBall{width:45px;height:45px;object-fit:contain;image-rendering:auto}
#zenaMassText{font:bold italic 22px/1 'Times New Roman',serif;color:#111;text-shadow:1px 1px 0 #fff;white-space:nowrap}
#zenaMassLabel{font:9px/1.2 'Times New Roman',serif;letter-spacing:.4px;text-transform:uppercase;color:#435063}
body.zen-mobile #zenaPickupHud{left:6px;bottom:105px;transform:scale(.78);transform-origin:bottom left}
/* Zenamari: compact left item panel / floating 3D portrait / mass readout where the side map was. */
body.zenamari-active #mapPanel,body.zenamari-active #mapToggle{display:none!important}
body.hud-hidden #zenaPickupHud{display:none!important}
#zenaPickupHud{left:0;bottom:0;right:0;width:0;height:0;display:block;filter:none;overflow:visible}
#zenaLastItem{position:fixed;left:27px;bottom:72px;min-width:0;width:106px;height:89px;padding:0;overflow:visible;display:block}
#zenaLast3d{position:absolute;left:-11px;top:-47px;width:128px;height:128px;display:block;image-rendering:auto;background:transparent;filter:drop-shadow(1px 2px 0 rgba(20,30,30,.32))}
#zenaLastName{position:absolute;bottom:14px;left:1px;right:1px;max-width:102px;z-index:1;font-size:13px}
#zenaLastValue{position:absolute;bottom:2px;left:0;right:0;z-index:1;text-align:center;font-size:11px;color:#334055}
#zenaMassHud{position:fixed;right:27px;bottom:88px;min-width:0;display:flex;align-items:center;flex-direction:row-reverse;gap:9px;padding:0;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important}
#zenaMassBall{width:86px;height:86px;filter:drop-shadow(2px 2px 0 #fff) drop-shadow(-1px -1px 0 #fff);object-fit:contain}
#zenaMassText{font:bold italic 33px/1 'Times New Roman',serif;color:#fff;text-shadow:2px 2px 0 #111,-1px -1px 0 #111,1px -1px 0 #111,-1px 1px 0 #111;white-space:nowrap}
#zenaMassLabel{display:none}
body.zen-mobile #zenaPickupHud{transform:none;left:0;bottom:0}
body.zen-mobile #zenaLastItem{left:10px;bottom:118px;transform:scale(.76);transform-origin:bottom left}
body.zen-mobile #zenaMassHud{right:10px;bottom:120px;transform:scale(.72);transform-origin:bottom right}
body.zenamari-active #itemIndicator{display:none!important}

/* v4.15 Zenamari: character-select renderer in the mass HUD, number crossing its upper-left edge. */
#zenaMassHud{position:fixed;right:25px;bottom:153px;width:153px;height:143px;display:block!important;overflow:visible;min-width:0!important;pointer-events:none}
#zenaMassPortraitWrap{position:absolute;right:0;bottom:0;width:128px;height:128px;pointer-events:none}
#zenaMass3d{position:absolute;bottom:0;right:0;width:128px;height:128px;display:block;object-fit:contain;background:transparent;image-rendering:auto;filter:drop-shadow(1px 2px 1px rgba(10,15,20,.35))}
#zenaBoostRing{position:absolute;inset:0;width:128px;height:128px;overflow:visible;pointer-events:none;filter:drop-shadow(1px 1px 0 #1d2630)}
#zenaBoostTrack{fill:none;stroke:rgba(47,57,67,.52);stroke-width:2}
#zenaBoostArc{fill:none;stroke:#edf1ef;stroke-width:2;stroke-linecap:butt;stroke-dasharray:364.425;stroke-dashoffset:0}
#zenaBoostKey{position:absolute;left:0;bottom:8px;z-index:3;display:flex;align-items:center;justify-content:center;width:23px;height:23px;box-sizing:border-box;border:1px solid #68717a;background:#c7cdd4;color:#222a33;font:bold 16px/1 'Times New Roman',serif;box-shadow:inset 1px 1px #fff,inset -1px -1px #7b8894,1px 1px #242b36}
#zenaBoostKey.ready{background:#eef1ec;color:#182b1c;border-color:#67836c}
#zenaMassOverlay{position:absolute;right:83px;top:5px;z-index:2;text-align:right;white-space:nowrap;pointer-events:none}
#zenaMassText{position:static;font:bold italic 31px/1 'Times New Roman',serif;color:#fff;text-shadow:2px 2px 0 #14191f,-1px -1px 0 #14191f,1px -1px 0 #14191f,-1px 1px 0 #14191f}
#zenaMassLabel{display:none!important}
body.zen-mobile #zenaMassHud{right:12px;bottom:183px;transform:scale(.75);transform-origin:bottom right}



/* v4.64: compact controls, readable J help, and cursor inside locked Mad Dash. */
#zenCollisionCycle{white-space:nowrap;font:bold 10px 'Times New Roman',serif!important;padding:5px 7px!important}
#zenShortcutOverlay[hidden],#zenDashAimCursor[hidden]{display:none!important}
#zenShortcutOverlay{position:fixed;left:14px;bottom:18px;z-index:45;width:min(520px,calc(100vw - 28px));max-height:min(77vh,720px);overflow:hidden;display:flex;flex-direction:column;background:#cbd1db;border:1px solid #293545;color:#182235;box-shadow:inset 2px 2px white,inset -2px -2px #727d8c,3px 3px 0 #22314377;font:13px 'Times New Roman',serif}
.zenShortcutHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #687584}.zenShortcutHeader strong{font:italic bold 18px 'Times New Roman',serif}.zenShortcutHeader span{font-size:10px}
#zenShortcutRows{overflow-y:auto;padding:5px 10px 12px;scrollbar-width:thin}.zenShortcutGroup{padding:10px 2px 5px;font-weight:bold;letter-spacing:.8px;color:#4d5363;border-bottom:1px solid #929ba8}
.zenShortcutRow{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:12px;padding:5px 2px;border-bottom:1px solid #929ba840;line-height:1.3}.zenShortcutRow kbd{font:700 11px monospace;padding:4px 6px;background:#ebedf1;border:1px solid #677484;white-space:normal}
#zenDashAimCursor{position:fixed;top:50%;left:50%;z-index:25;transform:translate(-50%,-50%);pointer-events:none;font:bold 29px/1 monospace;color:#fff7a5;text-shadow:1px 1px 0 #101621,-1px -1px 0 #101621,0 0 3px #101621}
body.hud-hidden #zenShortcutOverlay,body.hud-hidden #zenDashAimCursor{display:none!important}
body.race-split-active #mapPanel{display:none!important}
@media(max-width:680px){#zenShortcutOverlay{max-height:68vh}.zenShortcutRow{grid-template-columns:104px 1fr}}


#communityGate{position:fixed;inset:0;z-index:150;background:#8296a6e8;display:flex;justify-content:center;align-items:center;font:15px 'Times New Roman',serif;color:#1d2635}
#communityGate[hidden]{display:none!important}#communityDialog{position:relative;width:min(570px,94vw);max-height:88vh;overflow:auto;background:#d0d5df;border:2px solid #374657;box-shadow:inset 1px 1px #fff,6px 8px #121d31a8;padding:18px}
#soloTestButton{position:absolute;right:6px;top:6px;display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:37px!important;min-width:0!important;height:19px!important;min-height:0!important;padding:0!important;font:10px/1 "Times New Roman",serif!important;border:1px solid #647386;border-radius:0;background:#eff1f5;color:#243247;cursor:pointer}#soloTestButton:hover,#soloTestButton:focus-visible{background:#fff;outline:1px solid #495d77}#communityDialog h1{font:italic bold 27px 'Times New Roman',serif;margin:0 0 4px}#communityDialog p{margin:4px 0 13px;font-size:13px}
#communityRooms{max-height:35vh;overflow:auto;border:1px solid #687587;background:#f0f2f5;margin:8px 0;padding:5px}
.communityEntry{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px;background:#e0e5ed;color:#172333;border:1px solid #8592a0;margin-bottom:4px;font:14px 'Times New Roman',serif;cursor:pointer;text-align:left}
.communityEntry:hover{background:#fff}#communityDialog input{background:#fff;color:#152139;border:1px solid #728092;padding:7px;font:14px 'Times New Roman',serif;min-width:0;flex:1}
#communityDialog button{font:13px 'Times New Roman',serif;padding:7px 12px;border:1px solid #536075;background:#e8ecf0;color:#142236;cursor:pointer}#communityDialog button:hover{background:#fff}
#communityStatus{font:12px 'Times New Roman',serif;min-height:20px;margin:9px 0 0}


#statBudgetModal[hidden]{display:none!important}
#statBudgetModal{position:fixed;inset:0;z-index:165;background:#0f1925a6;display:flex;justify-content:center;align-items:center;padding:12px;font-family:'Times New Roman',serif}
#statBudgetDialog{width:min(440px,96vw);max-height:94vh;overflow:auto;padding:18px;background:#d5d9e2;color:#192332;border:2px solid #43546a;box-shadow:5px 6px 0 #15212b88}
#statBudgetDialog h2{font:italic bold 24px 'Times New Roman',serif;margin:0 0 4px}
#statBudgetDialog p{font-size:12px;margin:4px 0 10px;color:#425068}
.statPointRow{display:grid;grid-template-columns:1fr auto auto auto;gap:6px;align-items:center;border-top:1px solid #94a0b0;padding:7px 0;font-size:15px}
.statPointRow button,#statBudgetDialog button{font:700 13px 'Times New Roman',serif;cursor:pointer;color:#172538;background:#f2f4f6;border:1px solid #657487;padding:4px 9px}
.statPointRow button:disabled{opacity:.4;cursor:default}
.statPointRow output{min-width:22px;text-align:center;font-weight:700}
#statBudgetRemaining{font:bold 16px 'Times New Roman',serif;padding:8px 0}
.statCardButton{font:11px 'Times New Roman',serif;background:#eceff1;color:#16263a;border:1px solid #67788a;padding:3px 6px;cursor:pointer;margin:3px 0}
#statBudgetOpen{font:13px 'Times New Roman',serif}


 #customBallModal[hidden],#customPaintingNotice[hidden]{display:none!important}
 #customBallModal{position:fixed;inset:0;z-index:190;display:flex;align-items:center;justify-content:center;padding:12px;background:#0a1420b5;font-family:'Times New Roman',serif;color:#1a2536}
 #customBallDialog{max-height:min(96vh,860px);overflow:auto;width:min(800px,98vw);background:#d6dbe3;border:2px solid #445369;box-shadow:4px 5px 0 #16223388;padding:14px}
 #customBallDialog h2{font:italic bold 23px 'Times New Roman',serif;margin:0 0 6px}
 #customBallDialog .customSub{font-size:12px;color:#465366;margin:0 0 10px}
 .customBallLayout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(265px,1fr);gap:13px;align-items:start}
 .customCanvasHolder{position:relative;border:2px solid #566474;background:white;touch-action:none;max-width:328px;margin:0 auto}
 #customBallPixels{display:block;width:100%;aspect-ratio:1;image-rendering:pixelated;cursor:crosshair;touch-action:none}
 #customBallPixels.draggingPhoto,#customBall3dPreview.draggingPhoto{outline:3px dashed #2f75a6;outline-offset:-6px}
 .customTools{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0}
 .customTools button,.customDialogButtons button,.customTools select{font:13px 'Times New Roman',serif;border:1px solid #66778b;padding:5px 8px;background:#edf0f4;color:#192437;cursor:pointer}
 .customTools button.selected{background:#3f5a7b;color:#fff}
 .customTools button:disabled{opacity:.45;cursor:default}
 #customUndo{min-width:61px}
 .customTools input[type=color]{width:42px;height:31px;padding:1px;cursor:pointer}
 #customBall3dPreview{display:block;width:100%;max-width:320px;aspect-ratio:1;background:#bbc5d4;border:1px solid #566474;margin:auto;cursor:crosshair;touch-action:none;user-select:none}
 #customBall3dPreview.is-rotating{cursor:grabbing}
 #customPhotoTransform[hidden]{display:none!important}
 #customPhotoTransform{margin-top:10px;border:1px solid #8795a8;background:#e9edf2;padding:8px;font:12px 'Times New Roman',serif}
 #customPhotoTransform input{width:100%;accent-color:#3c5b7d}
 #customPhotoTransform label{display:flex;justify-content:space-between;align-items:center;gap:6px}
 #customPhotoApply{font:12px 'Times New Roman',serif;background:#f7f8f9;color:#17273c;border:1px solid #718098;padding:4px 8px;cursor:pointer}
 .customPreviewCaption{text-align:center;font:italic 12px 'Times New Roman',serif;margin-top:6px}
 .customDialogButtons{display:flex;justify-content:flex-end;gap:8px;margin-top:11px;border-top:1px solid #9ea9b6;padding-top:11px}
 #customSave{font-weight:bold;background:#dceac6}
 .customBallCardButton{position:absolute!important;bottom:8px;left:8px;z-index:4;font:italic bold 12px 'Times New Roman',serif!important;padding:4px 7px!important;color:#152237!important;cursor:pointer}
 #customPaintingNotice{font:italic 700 12px 'Times New Roman',serif;background:#f5e7b4;border:1px solid #9f7e35;color:#382909;padding:6px 9px;max-width:270px;flex:0 0 auto}
 @media(max-width:630px){.customBallLayout{grid-template-columns:1fr}#customBall3dPreview{width:min(100%,290px)}#customBallDialog{padding:9px}}
/* Local CAPTCHA joke — classic Times/Win9x panel, independent of gameplay HUD. */

/* v3.68 — speech panel floats next to the winner, keeping scores centered. */
#ggWinnerVisual{width:100%;height:150px;position:relative;display:flex;justify-content:center;align-items:center;flex:0 0 auto}
#ggWinnerVisual #ggBall{display:block;flex:0 0 auto}
#ggWinnerVisual #ggBall[style*="display: none"]{display:none!important}
#ggCatchphraseBubble[hidden]{display:none!important}
#ggCatchphraseBubble{position:absolute;left:calc(50% + 88px);top:4px;width:158px;max-width:calc(50% - 76px);min-height:108px;box-sizing:border-box;background:#e5e7ec;border:1px solid #1e2531;padding:8px 7px;display:flex;flex-direction:column;gap:12px;justify-content:flex-start;color:#111827;z-index:2}
#ggCatchphraseBubble:before{content:"";position:absolute;left:-28px;top:70px;width:27px;height:18px;background:#1e2531;clip-path:polygon(100% 0,100% 9%,3% 100%,100% 100%)}
#ggCatchphraseBubble:after{content:"";position:absolute;left:-25px;top:71px;width:26px;height:16px;background:#e5e7ec;clip-path:polygon(100% 0,100% 11%,8% 100%,100% 100%)}
.ggCatchphraseWho{font:normal 700 14px/1.05 'Times New Roman',serif;text-decoration:underline;overflow-wrap:anywhere;text-align:left}
.ggCatchphraseQuote{font:normal 700 16px/1.15 'Times New Roman',serif;text-align:center;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:550px){#ggCatchphraseBubble{left:calc(50% + 61px);max-width:calc(50% - 54px);width:128px;min-height:90px;padding:5px;gap:7px}.ggCatchphraseWho{font-size:12px}.ggCatchphraseQuote{font-size:13px}#ggCatchphraseBubble:before{top:58px}#ggCatchphraseBubble:after{top:59px}}

/* v3.67 — session catchphrase, icon only beside the local name */
.nameWithVoice{display:flex;align-items:center;gap:4px;width:100%;min-width:0}
.nameWithVoice>.slotName{flex:1;min-width:0;margin:0;white-space:nowrap}
.playerCard .catchphraseButton{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:30px;height:32px;padding:3px!important;border:1px solid #525c6c!important;border-radius:1px!important;box-shadow:inset 1px 1px #fff,inset -1px -1px #8791a2,1px 1px #6f7a8d!important;background:#e5e8ec!important;cursor:pointer;color:#172536!important}
.playerCard .catchphraseButton:hover:not(:disabled){background:#f9fbff!important}
.playerCard .catchphraseButton[hidden]{display:none!important}
.catchphraseButton svg,.catchphraseTestIcon{display:block;width:20px;height:20px;shape-rendering:crispEdges}
#catchphraseModal[hidden]{display:none!important}
#catchphraseModal{position:fixed;inset:0;z-index:270;display:flex;align-items:center;justify-content:center;padding:12px;background:#111c3194;color:#111827;font-family:'Times New Roman',serif}
#catchphraseDialog{width:min(440px,95vw);max-height:92vh;overflow-y:auto;box-sizing:border-box;background:#d8dce5;border:1px solid #37465b;box-shadow:inset 2px 2px #fff,inset -2px -2px #707c8d,4px 5px 0 #151d2a78;padding:13px}
#catchphraseDialog h2{font:bold italic 25px 'Times New Roman',serif;margin:0 0 9px}
#catchphraseDialog p{font:13px/1.35 'Times New Roman',serif;margin:0 0 9px}
#catchphraseText{display:block;width:100%;box-sizing:border-box;height:76px;resize:vertical;max-height:135px;background:#f9fafb;color:#141b25;border:1px solid #58667a;padding:7px;font:16px 'Times New Roman',serif}
.catchphraseParams{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:9px 0 12px}
.catchphraseParams label{font:bold 12px 'Times New Roman',serif}
.catchphraseParams input{display:block;width:100%;accent-color:#415a7c}
.catchphraseVoiceLabel{display:flex;gap:10px;align-items:center;font:bold 12px 'Times New Roman',serif;margin:-2px 0 12px}
.catchphraseVoiceLabel select{flex:1;font:13px 'Times New Roman',serif;background:#f3f4f6;color:#151d2b;border:1px solid #647184;padding:5px}
#catchphraseCount{font:11px 'Times New Roman',serif;color:#485468;margin-top:3px;text-align:right}
#catchphraseStatus{font:12px 'Times New Roman',serif;min-height:16px;color:#40536b;margin:6px 0}
#catchphraseStatus:empty{display:none}
#catchphraseActions{display:flex;align-items:center;gap:7px;justify-content:flex-end;border-top:1px solid #a6afbb;padding-top:10px}
#catchphraseActions button{font:13px 'Times New Roman',serif;background:#eef0f4;color:#121a26;border:1px solid #647184;box-shadow:inset 1px 1px white,1px 1px #788494;padding:7px 9px;cursor:pointer;white-space:nowrap}
#catchphraseActions #catchphraseTest{margin-right:auto;display:flex;align-items:center;gap:5px;padding:5px 8px}
#catchphraseActions #catchphraseSave{background:#d6e7c5;font-weight:bold}
#captchaJoke[hidden],#captchaSolvingNotice[hidden]{display:none!important}
#captchaJoke{position:fixed;inset:0;z-index:260;display:flex;align-items:center;justify-content:center;padding:12px;background:#19263b65;pointer-events:auto;font-family:'Times New Roman',serif;color:#070707}
#captchaDialog{width:min(560px,98vw);max-height:96vh;overflow:auto;box-sizing:border-box;background:#d9dee7;border:2px solid #343943;box-shadow:4px 5px 0 #0007;padding:10px 12px 15px}
#captchaTitle{display:inline-block;margin:0 0 3px;font:bold italic clamp(21px,4.5vw,29px)/1.02 'Times New Roman',serif;border:1px solid #273443;background:#e4e7ed;padding:3px 7px}
#captchaIntro{margin:0 0 8px;font:16px/1.2 'Times New Roman',serif}
#captchaTiles{width:min(460px,100%);margin:10px auto 9px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:#c6cbd2;padding:4px;border:1px solid #5c6877}
.captchaTile{display:block;position:relative;margin:0;min-width:0;aspect-ratio:1;padding:0;background:#9299a4;border:1px solid #536170;box-shadow:inset 1px 1px #fafafa;cursor:pointer;overflow:hidden}
.captchaTile canvas{display:block;width:100%;height:100%}
.captchaTile.selected::after{content:'✓';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font:bold 30px Arial,sans-serif;text-shadow:0 1px 3px #06162d,-1px -1px #06162d;background:#367bb147;border:3px solid #2274c3}
#captchaPrompt{margin:4px auto 8px;width:min(460px,100%);font:15px/1.15 'Times New Roman',serif}
#captchaActions{display:flex;justify-content:center;gap:8px}
#captchaActions button{background:#eff1f5;color:#0a1524;border:1px solid #364253;box-shadow:inset 1px 1px #fff;padding:9px 13px;min-width:92px;cursor:pointer;font:15px 'Times New Roman',serif}
#captchaActions button:disabled{opacity:.48;cursor:default}
#captchaCount{font:12px 'Times New Roman',serif;text-align:center;margin:8px 0 0;color:#3a4b5e}
#captchaSolvingNotice{position:fixed;bottom:96px;left:50%;transform:translateX(-50%);z-index:72;max-width:85vw;background:#cdd5e0;color:#1c2737;border:2px solid #6a7587;box-shadow:2px 3px 0 #1117;padding:7px 13px;font:700 13px 'Times New Roman',serif;text-align:center;pointer-events:none}
@media(max-width:530px){#captchaIntro{font-size:13px}#captchaPrompt{font-size:12px}#captchaDialog{padding:9px}}


/* v3.34: optional diagnostic overlay; toggle O */
#devStatsPanel{position:fixed;z-index:170;top:10px;right:10px;width:min(390px,calc(100vw - 20px));max-height:calc(100vh - 20px);overflow:auto;box-sizing:border-box;background:#e2e5eb;color:#162033;border:2px solid #424b59;box-shadow:4px 5px #12192477;padding:10px;font:13px "Times New Roman",serif}
#devStatsPanel[hidden]{display:none!important}#devStatsPanel .devTop{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:7px}#devStatsPanel strong{font-size:16px}#devStatsPanel .devButtons{display:flex;gap:5px;flex-wrap:wrap;margin:5px 0 8px}
#devStatsPanel button{font:12px "Times New Roman",serif;background:#f7f8fa;color:#151e2e;border:1px solid #647083;padding:5px 7px;cursor:pointer}#devStatsPanel button:hover{background:#fff}
#devStatsText{background:#f5f6f9;color:#101d2f;border:1px solid #8793a3;padding:8px;white-space:pre-wrap;line-height:1.4;margin:0;font:12px/1.35 monospace;user-select:text}
#devStatsLog{background:#f6f7fa;color:#1e2c43;border:1px solid #8793a3;padding:7px;margin:5px 0 0;max-height:150px;overflow:auto;white-space:pre-wrap;word-break:break-word;font:11px/1.35 monospace}
#devStatsGraph{background:#f9fafc;border:1px solid #8897aa;display:block;width:100%;height:64px;box-sizing:border-box;margin:7px 0 3px}
#devStatsPanel .devHint{font-size:11px;color:#506077}body.hud-hidden #devStatsPanel{display:block}


/* v3.85: The assigned 3D map remains visible behind a single retro popup.
   Do not replace the game renderer or its permanent terrain dithering. */
#funnyGuyScene[hidden],#zenAiModal[hidden],#zenAiTrial[hidden]{display:none!important}
body.funny-active #roundDial,body.funny-active #roundTimer{display:none!important}
#funnyGuyScene{position:fixed;inset:0;z-index:85;font-family:'Times New Roman',serif;overflow:hidden;color:#162033;background:transparent;pointer-events:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
#funnyGuyScene:before{content:none}
#funnyGuyScene .fgSun,#funnyGuyScene .fgHorizon{display:none}
/* Keep thin, antialiased bird strokes; the WebGL scenery retains its own dithering. */
#fgBirdCanvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;image-rendering:auto}
/* ONE WINDOW for entering, presenting, revealing, and voting on jokes. */
#funnyGuyScene .fgDeck{box-sizing:border-box;position:absolute;top:23%;left:50%;transform:translateX(-50%);z-index:3;width:min(530px,calc(100vw - 340px));min-width:min(315px,94vw);max-height:min(59vh,510px);display:flex;flex-direction:column;align-items:stretch;gap:10px;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;padding:10px 12px 12px;background:#c3c9d2f2;border:2px solid #4c5362;box-shadow:inset 1px 1px 0 #f5f6f9,inset -1px -1px 0 #7a8698,3px 4px 0 #27324080;pointer-events:auto}
#funnyGuyScene .fgTop{position:relative;top:auto;left:auto;transform:none;z-index:auto;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;color:#111e32;text-align:left;letter-spacing:0;text-shadow:none;white-space:normal}
#fgHeadline{box-sizing:border-box;display:inline-block;padding:3px 8px 4px;max-width:calc(100% - 63px);border:1px solid #5b6271;background:#dfe4ed;font:italic bold clamp(14px,1.45vw,18px) 'Times New Roman',serif;line-height:1.1;text-transform:uppercase;overflow-wrap:break-word}
#funnyGuyScene .fgTimer{box-sizing:border-box;flex-shrink:0;margin:0;min-width:47px;text-align:center;color:#34415b;font:italic bold 14px 'Times New Roman',serif}
/* The current prompt and its writing form live inside the window, never in floating sub-dialogs. */
#fgPrompt{box-sizing:border-box;width:100%;padding:6px 9px;background:#e8ebf0;border:1px solid #8793a5;text-align:left;color:#17233b;font:italic bold clamp(15px,1.65vw,20px)/1.22 'Times New Roman',serif;overflow-wrap:anywhere;white-space:pre-wrap}
#fgPrompt small{display:block;font:normal 12px 'Times New Roman',serif;margin-top:7px;color:#4d5261}
#funnyGuyScene[data-phase="prompt"] #fgPrompt{display:none}
#fgEntry{margin:0;width:100%;background:transparent;border:0;box-shadow:none;padding:0;box-sizing:border-box;display:flex;flex-direction:column;gap:6px;min-width:0}
#fgEntry[hidden]{display:none!important}
#funnyGuyScene .fgEntryTitle{font:italic bold 14px 'Times New Roman',serif;align-self:flex-start;margin:0;color:#253045}
#funnyGuyScene[data-phase="prompt"] .fgEntryTitle{display:none}
#fgEntry textarea{display:block;width:100%;height:84px;min-height:65px;max-height:190px;resize:vertical;box-sizing:border-box;padding:9px;font:17px 'Times New Roman',serif;color:#151515;background:#fdfdfb;border:1px solid #687383;outline-offset:1px;-webkit-font-smoothing:antialiased}
#fgEntry textarea:focus{outline:1px solid #425b7e}
#fgEntry button{align-self:flex-end;font:bold 14px 'Times New Roman',serif;padding:5px 18px;background:#e6eaf0;border:1px solid #5d6b7c;box-shadow:inset 1px 1px #fff,inset -1px -1px #8794a6;color:#15233c;cursor:pointer}
#fgEntry button:hover{background:#f7f8fa}
/* Answer cards are smaller insets INSIDE the same bordered window. */
#fgAnswerGrid{box-sizing:border-box;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;perspective:650px;min-width:0}
#fgAnswerGrid:empty{display:none}
.fgAnswer{appearance:none;box-sizing:border-box;min-width:0;min-height:83px;border:1px solid #65748a;background:#e9ecf1;color:#162033;padding:8px 9px 22px;box-shadow:inset 1px 1px #fff,1px 2px 0 #8792a2;font:16px 'Times New Roman',serif;line-height:1.2;text-align:center;position:relative;cursor:default;transition:transform .36s ease,filter .2s ease;overflow-wrap:anywhere;backface-visibility:visible}
/* Keep the exact same card geometry when result headers and vote icons arrive. */
#fgAnswerGrid{grid-auto-rows:110px;align-items:stretch}
#fgAnswerGrid .fgAnswer{height:110px;min-height:0;max-height:110px;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}
.fgAnswer.unrevealed{transform:rotateY(180deg);background:#abb4c1;color:transparent;box-shadow:-1px 1px 0 #788497}
.fgAnswer.unrevealed:before{content:'?';position:absolute;inset:0;display:grid;place-items:center;color:#34435a;font-weight:bold;font-size:30px;transform:rotateY(180deg)}
.fgAnswer.voting{cursor:pointer}.fgAnswer.voting:hover{filter:brightness(1.07)}.fgAnswer.chosen{outline:2px solid #304c80;outline-offset:1px}
.fgAnswer .fgAuthor{display:block;font-size:11px;margin-top:4px;color:#474653}.fgAnswer.winCard{background:#f4e9c4;outline:2px solid #947745}.fgWinnerName{display:block;font:bold 13px 'Times New Roman',serif;color:#46331e;margin-bottom:3px}
.fgVotes{margin-top:3px;display:flex;justify-content:flex-end;gap:1px;min-height:23px;align-items:center}.fgVotes img{width:22px;height:22px;object-fit:contain}
#fgTimer.urgent{color:#c00000!important;text-shadow:1px 1px 0 #000,-1px -1px 0 #000!important}
#fgStatus{font:italic 13px 'Times New Roman',serif;color:#344156;text-align:left;background:transparent;border:0;padding:0;min-height:0;overflow-wrap:anywhere}
#fgStatus:empty{display:none}
/* Actual 3D player models are rendered behind this overlay by the normal renderer. */
#fgBallRow{position:absolute;bottom:2.5%;left:4%;width:92%;display:flex;justify-content:center;gap:8px;align-items:flex-end;z-index:2;pointer-events:none}
.fgPlayer{display:flex;flex-direction:column;align-items:center;gap:2px;font:bold 13px 'Times New Roman',serif;color:#162033;text-shadow:0 1px #ffffffe8;text-align:center;min-width:58px}
.fgPlayer img{width:clamp(36px,5vw,69px);height:clamp(36px,5vw,69px);object-fit:contain;filter:drop-shadow(1px 3px 3px #3025377a)}
/* Retain the ordinary HUD but not the auxiliary overhead map. */
body.funny-active #mapPanel,body.funny-active #mapToggle,body.funny-active #miniMap{display:none!important}
body.funny-active #roundScoreboard{width:220px!important;min-width:0!important;max-width:220px!important}
body.funny-active #roundScoreboard .scoreRow{min-width:0!important}
body.funny-active #roundScoreboard #modeRoundNote{display:none!important}
#funnyGuyScene .fgLocalVote{position:absolute;right:8px;bottom:5px;width:26px;height:26px;object-fit:contain;pointer-events:none;filter:drop-shadow(1px 2px 1px #455064)}
#fgSkipButton{position:absolute;right:18px;top:100px;z-index:5;padding:5px 10px;font:12px 'Times New Roman',serif;border:2px solid #49556a;background:#d5d9e0;color:#162033;box-shadow:2px 2px 0 #7f8895;pointer-events:auto;cursor:pointer}
@media(max-width:900px){#funnyGuyScene .fgDeck{width:min(525px,calc(100vw - 204px));top:22%;max-height:62vh}body.funny-active #roundScoreboard{max-width:185px!important;width:185px!important}}
@media(max-width:630px){#funnyGuyScene .fgDeck{top:20%;width:min(94vw,500px);min-width:0;max-height:58vh;padding:9px}#fgAnswerGrid{grid-template-columns:1fr}#fgSkipButton{top:78px;right:9px}}
#zenAiModal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;background:#19192577;font-family:'Times New Roman',serif}
#zenAiDialog{background:#e7e9e8;color:#24252b;border:2px solid #6a6e79;padding:19px;max-width:min(425px,92vw);box-shadow:6px 6px 0 #25253799}
#zenAiDialog strong{font-size:21px}#zenAiDialog p{font-size:16px;line-height:1.25}#zenAiDialog small{display:block;font-size:12px;margin:9px 0;color:#4c4a53}#zenAiDialog .zenBtns{display:flex;justify-content:end;gap:9px;margin-top:15px}#zenAiDialog button{font:16px 'Times New Roman',serif;cursor:pointer;padding:6px 22px;border:1px solid #60646c;background:#f6f4e9;color:#222}
#zenAiTrial{position:fixed;inset:0;background:#17172880;pointer-events:none;z-index:84;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#fff;font:bold clamp(21px,3.8vw,52px) 'Times New Roman',serif;text-align:center;text-shadow:2px 3px #171327}
#zenAiBill{font-size:clamp(16px,1.9vw,26px);max-width:80vw}
/* Intentionally the same proportions and beveled Times-style badge as FPS CAP. */
#zenAiSubscriptionButton{position:fixed;left:12px;bottom:44px;z-index:207;padding:3px 7px;min-width:0;background:#cbd1dbd9;color:#182235;border:1px solid #293545;box-shadow:inset 1px 1px #fff,inset -1px -1px #727d8c,1px 1px 0 #22314377;font:italic 700 10px 'Times New Roman',Times,serif;text-align:center;white-space:nowrap;cursor:pointer;overflow:hidden}
#zenAiSubscriptionButton[hidden],#zenAiOptionsModal[hidden]{display:none!important}
#zenAiSubscriptionButton:hover{background:#e9edf2}
#zenAiOptionsModal{position:fixed;inset:0;z-index:215;display:grid;place-items:center;background:#191925aa;font-family:'Times New Roman',serif;color:#202738}
#zenAiOptionsDialog{box-sizing:border-box;width:min(435px,94vw);background:#d6dbe3;border:2px solid #445369;box-shadow:5px 5px 0 #16223388;padding:17px}
#zenAiOptionsDialog h2{font:italic bold 21px 'Times New Roman',serif;margin:0 0 14px}
#zenAiOptionsDialog button{font:14px 'Times New Roman',serif;border:1px solid #66778b;padding:8px 9px;background:#edf0f4;color:#192437;cursor:pointer}
#zenAiOptionsDialog button:hover{background:#fff}
#zenAiOptionsDialog button:disabled{opacity:.45;cursor:default}
.zenAiOptionButtons{display:flex;flex-direction:column;gap:8px}
.zenAiOptionButtons button{text-align:left}
#zenAiCancelStep[hidden],#zenAiOptionStep[hidden]{display:none!important}
#zenAiCancelStep p{font-size:14px;line-height:1.3;margin:0 0 10px}
#zenAiCancellationReason{display:block;box-sizing:border-box;width:100%;min-height:130px;resize:vertical;background:#fff;color:#202738;border:1px solid #66778b;font:14px 'Times New Roman',serif;padding:7px}
#zenAiReasonCount{font-size:12px;color:#44536a;text-align:right;margin:4px 0 9px}
#zenAiCancellationAgreeLabel{display:flex;gap:7px;align-items:flex-start;font-size:13px;line-height:1.3}
#zenAiCancellationAgree{flex-shrink:0;margin-top:2px;accent-color:#455d7d}
.zenAiCancelActions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}
@media(max-width:740px){#zenAiSubscriptionButton{left:8px;bottom:40px}}
body.hud-hidden #zenAiSubscriptionButton{display:none!important}


/* v4.28: split cameras for Skate / 2D Race / Hard Race when V is pressed. */
#raceSplitLabels{position:fixed;inset:0;z-index:4;pointer-events:none;overflow:hidden;font-family:'Times New Roman',serif}
#raceSplitLabels[hidden]{display:none!important}
.raceSplitCell{position:absolute;box-sizing:border-box;border:2px solid #d8dde7;box-shadow:inset 0 0 0 1px #232a35,0 0 0 1px #353b46;overflow:hidden;color:white;text-shadow:1px 1px #14202b,-1px 1px #14202b,1px -1px #14202b,-1px -1px #14202b}
.raceSplitCell .raceSplitName{position:absolute;top:7px;left:9px;display:flex;gap:7px;align-items:center;font:bold 15px 'Times New Roman',serif}
.raceSplitCell .raceSplitScore{position:absolute;top:5px;right:10px;font:italic bold 30px 'Times New Roman',serif;line-height:1}
.raceSplitCell .raceSplitName img{height:24px;width:24px;object-fit:contain}
.raceSplitCell.raceSplitMain .raceSplitScore{font-size:43px}
.raceSplitCell.raceSplitMain .raceSplitName{font-size:20px}
body.race-split-active #roundScoreboard,body.race-split-active #leaderPreview{display:none!important}
body.race-split-active #mapPanel{display:none!important}
body.hud-hidden #raceSplitLabels{display:none!important}
#longrollSigns{position:fixed;inset:0;pointer-events:none;z-index:5;font-family:'Times New Roman',serif}
#longrollSigns[hidden],body.hud-hidden #longrollSigns{display:none!important}
.longrollSign{position:absolute;transform:translate(-50%,-105%);min-width:76px;padding:5px 8px 4px;background:#ededf2;border:1px solid #5b6472;border-radius:50%;text-align:center;box-shadow:1px 1px 0 #737d8c;color:#172130;line-height:1;white-space:nowrap}
.longrollSign strong{display:block;font:italic bold 21px 'Times New Roman',serif}
.longrollSign small{display:block;font:italic 11px 'Times New Roman',serif;margin-top:2px}



#sessionNotes[hidden]{display:none!important}#sessionNotes{position:fixed;z-index:98;inset:0;background:#1119;display:flex;align-items:center;justify-content:center;pointer-events:auto}
#notesDialog{width:min(690px,96vw);max-height:88vh;overflow:auto;padding:16px;background:#cbd1db;color:#152133;border:2px solid #273b4f;box-shadow:inset 2px 2px #fff,inset -2px -2px #818c9d,6px 8px #0006;font:15px 'Times New Roman',serif}
#notesDialog textarea{width:100%;background:#fff;color:#101827;border:1px solid #4d5865;padding:8px;font:14px 'Times New Roman',serif;resize:vertical}
#notesDialog button,#openNotes{font:700 13px 'Times New Roman',serif;color:#101828;background:#e9edf3;border:1px solid #596778;padding:6px 10px;cursor:pointer}
#notesDialog .notesActions{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}#notesTranscript{height:110px;white-space:pre-wrap;line-height:1.35}#notesCategoryRow{display:flex;align-items:center;gap:9px;margin:10px 0 7px;font-weight:bold}#notesCategory{flex:1;min-width:0;padding:6px;background:#f1f3f6;color:#141a24;border:1px solid #5a6572;font:700 15px 'Times New Roman',serif}#notesExample{font:12px 'Times New Roman',serif;color:#465265;margin:4px 0 8px}
#notesUpdateVote:disabled,#notesUpdateConfirm:disabled{opacity:.55;cursor:default}#notesDialog{position:relative}#notesCloseX{position:absolute;right:8px;top:7px;width:27px;height:27px;padding:0!important;line-height:22px!important;font:700 22px "Times New Roman",serif!important}#notesHeader{padding-right:34px}#notesStatus{font-size:12px;color:#364657;margin:8px 0}#notesHeader{font-size:21px;font-weight:bold;font-style:italic;margin-bottom:8px}
#openNotes{position:fixed;right:14px;bottom:70px;z-index:10;pointer-events:auto}body.hud-hidden #openNotes{display:none!important}
#inchwormClock{position:fixed;left:15px;bottom:76px;z-index:10;width:86px;height:86px;box-sizing:border-box;background:#ecedf1;border:2px solid #49556a;border-radius:50%;color:#171d29;box-shadow:inset 2px 2px #fff,inset -2px -2px #798697,2px 2px 0 #22314377;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-shadow:none;pointer-events:none;font-family:'Times New Roman',serif}
#inchwormClock::after{content:'';position:absolute;inset:5px;border:1px solid #6a7587;border-radius:50%;pointer-events:none}
#inchwormClock .turnBig{font:italic bold 30px/1 'Times New Roman',serif;display:block;font-variant-numeric:tabular-nums}
#inchwormClock .turnLabel{font:700 10px/1.2 'Times New Roman',serif;display:block;letter-spacing:.15px;margin-top:3px}
#inchwormClock[hidden]{display:none!important}
#spectateCycle{position:fixed;left:50%;bottom:38px;transform:translateX(-50%);z-index:55;pointer-events:auto;cursor:pointer;min-width:128px;padding:9px 15px;border:2px solid #49556a;border-radius:4px;background:#d5d9e0;box-shadow:2px 2px 0 #7f8895;color:#101726;font:italic bold 16px 'Times New Roman',serif;text-align:center}
#spectateCycle[hidden],body.hud-hidden #spectateCycle{display:none!important}
#spectateCycle:hover{background:#edf0f5}
#heightSpectrum{position:fixed;right:17px;left:auto;bottom:115px;top:auto;width:180px;height:320px;pointer-events:none;z-index:8;filter:drop-shadow(1px 2px 2px #0009)}
#heightSpectrum[hidden],body.hud-hidden #heightSpectrum{display:none!important}
@media(max-width:750px){#heightSpectrum{left:auto;right:8px;top:auto;bottom:125px;width:120px;height:240px}}
#golfStrokeDisplay{position:fixed;left:14px;bottom:12px;z-index:12;background:#cbd1db;color:#19202e;border:1px solid #354459;box-shadow:inset 1px 1px white,2px 2px #3336;padding:7px 12px;font:700 17px "Times New Roman",serif}#golfStrokeDisplay[hidden]{display:none!important}
#notesTypingNotice{position:fixed;bottom:135px;left:50%;transform:translateX(-50%);z-index:70;max-width:85vw;background:#cdd5e0;color:#1c2737;border:2px solid #6a7587;box-shadow:2px 3px 0 #1117;padding:7px 13px;font:700 13px 'Times New Roman',serif;text-align:center;pointer-events:none}
#notesTypingNotice[hidden]{display:none!important}
#spitEventNotice{position:fixed;bottom:153px;left:50%;transform:translateX(-50%);z-index:71;max-width:min(640px,90vw);padding:7px 14px;background:#cdd5e0;border:2px solid #6a7587;box-shadow:2px 3px 0 #1117;color:#1c2737;font:700 14px 'Times New Roman',serif;text-align:center;pointer-events:none}
#spitEventNotice[hidden]{display:none!important}
body.hud-hidden #spitEventNotice{display:none!important}
#ggVotes{align-self:stretch;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:0px;min-width:100%;}
#ggVotes[hidden]{display:none!important}
#ggVotes button{border:0;background:transparent;color:#36486b;font:13px 'Times New Roman',serif;padding:3px 2px;cursor:pointer}
#ggVotes button.selected{font-weight:bold;text-decoration:underline;color:#182a49}
#ggVotes kbd{font:bold 12px 'Times New Roman',serif;color:#1f2a42;background:#e7e9ed;border:1px solid #65768c;padding:2px 6px}
#ggVotes button:hover{background:#b2bed1}


.zjamPrivateCreate{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:8px 0 12px;font:700 13px 'Times New Roman',serif}.zjamPrivateCreate label{display:flex;align-items:center;gap:6px;cursor:pointer}.zjamPrivateCreate input[type=password]{font:15px 'Times New Roman',serif;padding:7px;min-width:260px;background:white;color:#111;border:1px solid #596777}.zjamPrivateCreate small{font:12px 'Times New Roman',serif;color:#394654}.zjamPrivateCreate input[hidden]{display:none}
#zenJamSharedGame[hidden],#zenPasswordGate[hidden],#zenJamPanel[hidden],#zenJamStopTest[hidden],#zenJamByline[hidden],#zenJamLobbyGroup[hidden]{display:none!important}
#zenPasswordGate{position:fixed;inset:0;z-index:220;background:#101827b8;display:flex;align-items:center;justify-content:center;padding:18px}.zjamPasswordCard{width:min(430px,96vw);padding:18px;background:#cbd1db;border:2px solid #384659;box-shadow:5px 5px #101823aa;color:#172234;display:grid;gap:12px;font:15px 'Times New Roman',serif}.zjamPasswordCard strong{font-size:21px}.zjamPasswordCard p{margin:0}.zjamPasswordCard input{background:#fff;color:#111;padding:9px;font:16px 'Times New Roman',serif;border:1px solid #667487}.zjamPasswordCard div{display:flex;gap:8px}
#zenJamSharedGame{position:fixed;inset:0;z-index:175;background:#6c8ca8;pointer-events:auto}#zenJamSharedGame iframe{width:100%;height:100%;border:0;display:block}
#zenJamPanel{position:fixed;inset:0;z-index:165;background:#7e899c;overflow:auto;padding:13px;color:#182235;font:14px 'Times New Roman',serif}#zenJamPanel *{box-sizing:border-box}#zenJamPanel .zjamShell{max-width:1540px;margin:0 auto}#zenJamPanel .zjamHeading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:8px}#zenJamPanel h1{font:bold italic 33px 'Times New Roman',serif;margin:0}#zenJamPanel h2{font:bold italic 19px 'Times New Roman',serif;margin:0 0 8px}#zenJamPanel button,.zjamPasswordCard button,#zenJamStopTest{font:bold 13px 'Times New Roman',serif;background:#e8ebf0;color:#111;border:1px solid #455265;box-shadow:inset 1px 1px #fff,1px 1px #727b8b;cursor:pointer;padding:7px 11px}#zenJamPanel button:disabled{opacity:.48;cursor:not-allowed}#zenJamPanel input,#zenJamPanel select,#zenJamPanel textarea{background:#f6f7fa;color:#111827;border:1px solid #58687a;padding:7px;font:14px 'Times New Roman',serif}#zenJamPanel textarea{width:100%;height:270px;resize:vertical;font:12px/1.35 Consolas,Monaco,monospace;tab-size:2;white-space:pre}#zenJamPanel .zjamGrid{display:grid;grid-template-columns:minmax(420px,1.4fr) minmax(300px,.8fr);gap:10px}#zenJamPanel .zjamCard{background:#cbd1db;border:1px solid #293545;box-shadow:inset 2px 2px #fff,inset -2px -2px #788496,3px 3px #18243754;padding:11px;min-width:0;margin-bottom:10px}#zenJamPanel .zjamRow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}#zenJamPanel label{font-weight:700}#zenJamPanel .zjamRow input[type=text]{flex:1;min-width:130px}#zenJamPanel .zjamRow select{min-width:145px;max-width:240px}#zenJamPanel .zjamStatus{padding:7px;background:#e9edf1;border:1px solid #8c98a9;min-height:32px;white-space:pre-wrap;overflow-wrap:anywhere}#zenJamPanel .zjamPreview{width:100%;height:auto;aspect-ratio:4/3;min-height:280px;max-width:100%;border:2px solid #4b596b;background:#a4b7cc;position:relative;overflow:hidden}#zenJamPanel .zjamPreview iframe{width:100%;height:100%;border:0;display:block;position:absolute;inset:0;outline:0}#zenJamPanel .zjamPreview:fullscreen{width:100vw;height:100vh;max-width:none;max-height:none;aspect-ratio:auto;border:0;background:#101720;display:flex;justify-content:center;align-items:center}#zenJamPanel .zjamPreview:fullscreen iframe{position:relative;width:min(100vw,133.333vh);height:min(100vh,75vw);max-width:100%;max-height:100%;aspect-ratio:4/3;background:#a4b7cc}#zenJamPanel .zjamPile{max-height:370px;overflow-y:auto;display:flex;flex-direction:column;gap:5px}#zenJamPanel .zjamItem{display:flex;flex-direction:column;gap:3px;align-items:stretch;text-align:left;background:#e4e7ed!important}#zenJamPanel .zjamItem.selected{background:#b8d6e7!important;border:2px solid #3b6284!important}#zenJamPanel .zjamItem strong{font:bold italic 18px 'Times New Roman',serif}#zenJamPanel .zjamItem small{font:12px 'Times New Roman',serif;color:#43516a}.zjamMuted{color:#4d596c;font-size:12px}#zenJamByline{position:fixed;left:12px;top:146px;z-index:9;pointer-events:none;background:#cbd1db;color:#111827;border:1px solid #293545;box-shadow:inset 2px 2px white,inset -2px -2px #788496,3px 3px #14233577;padding:5px 10px;font:bold 15px 'Times New Roman',serif;min-width:185px;max-width:305px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.zenjam-playing #roundScoreboard{top:189px!important}#zenJamStopTest{position:fixed;right:16px;bottom:82px;z-index:240;background:#e6d3af!important;padding:10px 16px}body.hud-hidden #zenJamByline{display:none!important}@media(max-width:900px){#zenJamPanel .zjamGrid{grid-template-columns:1fr}#zenJamPanel .zjamPreview{height:auto;aspect-ratio:4/3;min-height:240px}#zenJamByline{left:8px;top:146px;max-width:255px}}

/* Game Jam pile: owner-only deletion is a separate control, not nested inside selection. */
#zenJamPanel .zjamPileRow{display:flex;align-items:stretch;gap:5px;min-width:0}
#zenJamPanel .zjamPileRow .zjamItem{flex:1 1 auto;min-width:0}
#zenJamPanel .zjamPileRow .zjamDelete{flex:0 0 34px;align-self:stretch;
 background:#edd2d2!important;border:1px solid #9c4b4b!important;
 color:#712323!important;font:bold 24px/1 'Times New Roman',serif!important;
 padding:3px!important;cursor:pointer}
#zenJamPanel .zjamPileRow .zjamDelete:hover{background:#f7bcbc!important}
#zenJamPanel .zjamPileRow .zjamCopy{flex:0 0 85px;align-self:stretch;
 background:#d5e4d4!important;border:1px solid #5d8465!important;
 color:#18371e!important;font:bold 12px/1.2 'Times New Roman',serif!important;
 padding:3px 6px!important;cursor:pointer;white-space:normal}
#zenJamPanel .zjamPileRow .zjamCopy:hover{background:#e4f2dc!important}
#zenJamPanel .zjamPileRow .zjamCopy:disabled{opacity:.55!important;cursor:wait!important}

/* Drop-in JavaScript source loading is local to the Game Jam workstation. */
#zenJamPanel #zenJamCode.zjamFileDragOver{
 background:#e2f4ff!important;
 outline:3px dashed #2f7195;
 outline-offset:-5px;
 box-shadow:inset 0 0 0 5px #d1eaf8;
}

/* Each publication can be forked into the editor or tested locally without changing the source snapshot. */
#zenJamPanel .zjamPileRow{flex-wrap:wrap}
#zenJamPanel .zjamPileRow .zjamItem{flex:1 1 180px}
#zenJamPanel .zjamPileRow .zjamLoadLocal,
#zenJamPanel .zjamPileRow .zjamTestLocal{flex:0 0 79px;align-self:stretch;
 font:bold 11px/1.15 'Times New Roman',serif!important;
 padding:4px 5px!important;cursor:pointer;white-space:normal}
#zenJamPanel .zjamPileRow .zjamLoadLocal{background:#dbe6f4!important;border:1px solid #67819d!important;color:#193147!important}
#zenJamPanel .zjamPileRow .zjamLoadLocal:hover{background:#e9f1fb!important}
#zenJamPanel .zjamPileRow .zjamTestLocal{background:#d7eabd!important;border:1px solid #6d8952!important;color:#1d3414!important}
#zenJamPanel .zjamPileRow .zjamTestLocal:hover{background:#e9f5d7!important}
#zenJamPanel .zjamPileRow .zjamLoadLocal:disabled,
#zenJamPanel .zjamPileRow .zjamTestLocal:disabled{opacity:.55!important;cursor:wait!important}
@media(max-width:640px){#zenJamPanel .zjamPileRow .zjamItem{flex:1 1 100%}
 #zenJamPanel .zjamPileRow .zjamCopy,#zenJamPanel .zjamPileRow .zjamLoadLocal,#zenJamPanel .zjamPileRow .zjamTestLocal{flex:1 1 76px}}

#communityRooms .communityEntry.protected small{font-weight:bold;color:#632d40}
