/* Mobil: sahne index.html'deki viewport ayarıyla 1600 px'ten ekrana ölçeklenir. Dik tutulunca yan çevirme uyarısı. */
#rotate-hint{display:none}
@media (orientation:portrait){html.mobile #rotate-hint{display:grid;place-items:center;position:fixed;inset:0;z-index:99999;background:#0b1018;color:#fff;text-align:center;font:900 90px Arial}
 html.mobile #rotate-hint b{display:block;margin-top:30px;font-size:64px;color:#ffc93a}html.mobile #rotate-hint small{display:block;margin-top:16px;font:600 38px Arial;color:#9fb8d4}}
html.mobile,html.mobile body{-webkit-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior:none}
html.mobile *{-webkit-tap-highlight-color:transparent}
/* Tam ekran butonu (fullscreen.js) */
.fs-btn{position:fixed;top:max(4px,env(safe-area-inset-top));right:max(4px,env(safe-area-inset-right));z-index:30000;width:34px;height:34px;opacity:.75;border-radius:50%;border:2px solid #fff8;background:#0a1630cc;color:#fff;font:700 20px/1 sans-serif;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0008;padding:0}
.fs-btn[hidden]{display:none}
.fs-help{position:fixed;inset:0;z-index:30001;background:#000a;display:flex;align-items:center;justify-content:center;padding:16px}
.fs-help>div{background:#10234a;color:#fff;border:2px solid #4aa3ff;border-radius:14px;padding:18px;max-width:360px;font:500 15px/1.4 sans-serif;text-align:center}
.fs-help button{margin-top:10px;padding:8px 22px;border:0;border-radius:8px;background:#ff9a2e;color:#000;font-weight:700}

/* 2026-11-25 · admin paneli "Mobil ekran" ayarları (mobile-ui.js): bölüm bölüm büyütme/küçültme, sahne sayfalarında kaymayı kapatma */
html.m-ui .hud{scale:var(--m-hud,1);translate:var(--m-hud-x,0px) var(--m-hud-y,0px);transform-origin:0 0}
html.m-ui .tr-hud{scale:var(--m-hud,1);translate:var(--m-hud-x,0px) var(--m-hud-y,0px);transform-origin:100% 0}
html.m-ui .nv-bar{scale:var(--m-menu,1);translate:var(--m-menu-x,0px) var(--m-menu-y,0px);transform-origin:50% 100%}
html.m-ui .nv-corner{scale:var(--m-menu,1);translate:var(--m-menu-x,0px) var(--m-menu-y,0px)}
html.m-ui .arena-scene .stadium-tools{scale:var(--m-tools,1);translate:var(--m-tools-x,0px) var(--m-tools-y,0px);transform-origin:0 0}
html.m-ui .arena-scene .arena-slot{scale:var(--m-cards,1);translate:var(--m-cards-x,0px) var(--m-cards-y,0px)}
html.m-ui .arena-bench{scale:var(--m-cards,1);translate:var(--m-cards-x,0px) var(--m-cards-y,0px);transform-origin:100% 0}
html.m-ui .scene-mode .ch-panel,html.m-ui .pg-wrap .ch-panel{scale:var(--m-chat,1);translate:var(--m-chat-x,0px) var(--m-chat-y,0px);transform-origin:0 100%}
html.m-ui .modal>*{scale:var(--m-dlg,1)}
html.m-ui.m-fit,html.m-ui.m-fit body{overflow:hidden;height:100%;overscroll-behavior:none;touch-action:manipulation}
html.m-nofs .fs-btn,html.m-sim .fs-btn{display:none}
.fs-btn{width:44px;height:44px;font-size:24px}
/* ekrana sığdırmada sahne tam ekran yüksekliğinde (en az 610 px şartı kalkar): genel ölçek doğrudan boyutu değiştirir */
html.m-ui.m-fit .arena-scene,html.m-ui.m-fit .city-scene,html.m-ui.m-fit .office-scene{min-height:0!important;height:100vh!important;height:100dvh!important}
/* sohbet içi yazı, ofis profil paneli, Proving Grounds ve 1 VS 1 sayfaları */
html.m-ui .ch-panel .ch-list,html.m-ui .ch-panel form{zoom:var(--m-chatText,1)}
html.m-ui .office-scene .office-hud{scale:var(--m-office,1);transform-origin:0 0;translate:var(--m-office-x,0px) var(--m-office-y,0px)}
html.m-ui .pg-hub>:not(.pg-bg){scale:var(--m-pg,1);translate:var(--m-pg-x,0px) var(--m-pg-y,0px)}
html.m-ui .pg-ovo>:not(.pg-bg){scale:var(--m-ovo,1);translate:var(--m-ovo-x,0px) var(--m-ovo-y,0px)}
html.m-ui.m-fit .pg-screen{min-height:0!important;height:100vh!important;height:100dvh!important}
html:not(.m-ui) .fs-btn{display:none!important}
/* maçta prop penceresi: içerik pencereden taşmaz (ikonlar sığmazsa alt satıra geçer, gerekirse pencere kayar) */
html.m-ui .pk-props-panel{display:flex;flex-direction:column;overflow:auto;max-height:70%}
html.m-ui .pk-props-panel .pk-props-icons{flex-wrap:wrap;gap:1cqw;padding:1cqw}
html.m-ui .pk-props-panel .pk-prop-icon{width:min(76px,7cqw);height:min(76px,7cqw);flex:none}
html.m-ui .pk-props-panel .pk-scream-box{flex-wrap:wrap}
/* telefonda Discord butonu stadyumda VS Match'in yanında */
html.m-ui.m-dc .arena-scene .dc-launch{display:none!important}
html.m-ui .m-dc-btn{position:fixed;right:calc(13.2% - var(--m-discord-x,0px));bottom:calc(10px - var(--m-discord-y,0px));z-index:32;display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;scale:var(--m-discord,1);transform-origin:50% 100%}
html.m-ui .m-dc-btn img{width:44px;height:auto;border-radius:50%;filter:drop-shadow(0 3px 5px #000a)}
html.m-ui .m-dc-btn span{font:italic 900 11px 'Barlow Condensed',Arial;color:#aab4ff;-webkit-text-stroke:.6px #1c2260;paint-order:stroke fill;text-shadow:0 1px 0 #1c2260,0 2px 4px #000}
html:not(.m-dc) .m-dc-btn{display:none}
