/* THE TIMER V1.0.49 — GAMEPLAY STABILITY */

/* GIF owns the motion; no historical zoom, flash or video layers. */
#scareOverlay.v151Scare{padding:0!important;margin:0!important;box-sizing:border-box!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;background:#000!important;display:none!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;opacity:1!important;transform:none!important;animation:none!important;transition:none!important;z-index:999999!important}
#scareOverlay.v151Scare.on{display:flex!important}
#scareOverlay.v151Scare::before,#scareOverlay.v151Scare::after{display:none!important}
#scareOverlay.v151Scare .v151Frame{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;animation:none!important;transform:none!important;filter:none!important;opacity:1!important}
#scareOverlay.v151Scare .v151False{color:#a6b5b5;font:600 18px monospace;letter-spacing:.2em}
@media(max-aspect-ratio:3/4){#scareOverlay.v151Scare .v151Frame{object-fit:cover!important}}

.v149StoryRestart{margin:0 0 10px auto;display:block;min-height:38px;padding:0 13px;border:1px solid rgba(211,58,45,.30);border-radius:8px;background:rgba(67,20,16,.25);color:#ddd;font:800 9px/1 inherit;letter-spacing:.09em}
.v149SilenceQuick{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:12px 14px;border:1px solid rgba(126,154,168,.22);border-radius:12px;background:linear-gradient(100deg,rgba(8,14,18,.92),rgba(17,10,12,.84))}

.v149SilenceTimer{margin-top:8px!important;width:100%!important;border-color:rgba(126,154,168,.28)!important}

.v149SilenceQuick>div{display:grid;gap:3px;min-width:0}.v149SilenceQuick small{font-size:8px;letter-spacing:.18em;color:#84959d}.v149SilenceQuick strong{font-size:14px;color:#eee}.v149SilenceQuick span{font-size:9px;color:#959da1;line-height:1.35}.v149SilenceQuick button{flex:0 0 auto;min-height:38px;padding:0 14px}

/* Player phone: the GAME screen itself always fits one viewport. Overlays can
   still own the full screen when rules/cinema/scares are active. */
@media(max-width:900px) and (pointer:coarse){
  #playerView{position:fixed!important;overscroll-behavior:none!important;touch-action:manipulation!important;inset:0!important;width:100%!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;padding:0!important}
  #playerView .v28PlayerTop{box-sizing:border-box!important;height:58px!important;min-height:58px!important;padding:3px 10px!important;align-items:center!important}
  #playerView .v28PlayerLogo{width:112px!important;height:52px!important;object-fit:contain!important}
  #playerView .v32PlayerTopActions{gap:5px!important}
  #playerView .v28IconAction{width:35px!important;height:35px!important;font-size:17px!important}
  #playerView .v28PlayerMain{box-sizing:border-box!important;height:calc(100dvh - 58px)!important;min-height:0!important;display:grid!important;grid-template-rows:43px minmax(0,1fr) auto!important;padding:0 12px calc(7px + env(safe-area-inset-bottom))!important;overflow:hidden!important}
  #playerView .v28PlayerMeta{height:43px!important;min-height:43px!important;padding:3px 1px!important;box-sizing:border-box!important}
  #playerView .v28PlayerMeta .v28BlockLabel{font-size:7px!important}
  #playerView #playerNameTitle{font-size:15px!important;margin-top:1px!important}
  #playerView .v28ModePill{font-size:8px!important;padding:6px 8px!important;max-width:52vw!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #playerView .v28PlayerCenter{box-sizing:border-box!important;min-height:0!important;height:100%!important;justify-content:center!important;overflow:hidden!important;padding:3px 0!important}
  #playerView .v28PlayerMessage{font-size:clamp(30px,9vw,48px)!important;line-height:.93!important;margin:0 0 5px!important;max-height:96px!important;overflow:hidden!important}
  #playerView .v28PlayerHint{font-size:clamp(11px,3vw,14px)!important;line-height:1.25!important;max-width:94vw!important;max-height:38px!important;overflow:hidden!important;margin:0!important}
  #playerView .progressDots{margin:5px 0!important;min-height:0!important}
  #playerView .v28Buzz{width:min(58vw,31dvh,238px)!important;height:min(58vw,31dvh,238px)!important;min-width:0!important;min-height:0!important;margin:8px 0 5px!important;font-size:clamp(20px,6vw,34px)!important}
  #playerView .redlightState{font-size:10px!important;padding:6px 9px!important;margin-top:2px!important;min-height:0!important}
  #playerView .redlightBar{height:11px!important;width:min(78vw,350px)!important;margin:6px auto 0!important}
  #playerView .v28PlayerBottom{box-sizing:border-box!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:4px 8px!important;padding:6px 0 0!important;min-height:43px!important;max-height:112px!important;overflow:hidden!important}
  #playerView .v28Bonus{font-size:9px!important;padding:5px 8px!important}
  #playerView .v29NetWrap{min-width:0!important;text-align:right!important}
  #playerView .v28NetStatus{font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #playerView .v29ReconnectBtn{min-height:25px!important;padding:0 7px!important;font-size:7px!important}
  #playerView .v28Sensor{grid-column:1/-1!important;box-sizing:border-box!important;max-width:none!important;width:100%!important;padding:5px 8px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:6px!important}
  #playerView .v28Sensor strong{font-size:8px!important}.v28Sensor #sensorStatus{font-size:7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.v28Sensor .sensorButton{margin:0!important;padding:5px 7px!important;font-size:7px!important;min-height:27px!important}
  #playerView .v28Sensor.ready{display:none!important}
  #playerView .spectatorPanel{grid-column:1/-1!important;max-height:52px!important;overflow:hidden!important;padding:6px!important}
}
@media(max-width:420px) and (max-height:720px) and (pointer:coarse){
  #playerView .v28PlayerTop{height:50px!important;min-height:50px!important}
  #playerView .v28PlayerLogo{height:46px!important;width:96px!important}
  #playerView .v28PlayerMain{height:calc(100dvh - 50px)!important;grid-template-rows:38px minmax(0,1fr) auto!important}
  #playerView .v28PlayerMeta{height:38px!important;min-height:38px!important}
  #playerView .v28Buzz{width:min(52vw,29dvh,205px)!important;height:min(52vw,29dvh,205px)!important}
  #playerView .v28PlayerMessage{font-size:clamp(26px,8vw,40px)!important}
}

@media(max-width:900px){.v149SilenceTimer{display:none!important}}
