/* Royal Mind Mobile + Tablet Theater — v2.0.0
   All Theater-only presentation styles live in this file. */
:root{
  --rm-mt-bg:#07101d;
  --rm-mt-panel:#101b2b;
  --rm-mt-panel-2:#17253a;
  --rm-mt-text:#f8fafc;
  --rm-mt-muted:#a9b7c9;
  --rm-mt-accent:#3b82f6;
  --rm-mt-radius:14px;
}

html.rm-mobile-theater-html-lock,
body.rm-mobile-theater-body-lock{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
body.rm-mobile-theater-body-lock{
  margin:0!important;
}

.rv-player.rm-mobile-theater-active{
  position:fixed!important;
  left:50%!important;
  top:50%!important;
  margin:0!important;
  padding:0!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:var(--rm-mt-bg)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) var(--rm-mt-rail-width)!important;
  grid-template-rows:minmax(0,1fr)!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  z-index:2147483645!important;
  box-shadow:0 0 0 100vmax #000!important;
  isolation:isolate;
  touch-action:pan-x pan-y pinch-zoom;
  --rm-mt-rail-width:94px;
}

.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape{
  --rm-mt-rail-width:calc(94px + env(safe-area-inset-right));
  width:100vw!important;
  width:100dvw!important;
  height:100vh!important;
  height:100dvh!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center center!important;
}

.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait{
  width:100vh!important;
  width:100dvh!important;
  height:100vw!important;
  height:100dvw!important;
  transform:translate(-50%,-50%) rotate(90deg)!important;
  transform-origin:center center!important;
}

.rv-player.rm-mobile-theater-active > .rv-video-wrap{
  position:relative!important;
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:var(--rm-mt-bg)!important;
  box-sizing:border-box!important;
}

/* Reserve the physical unsafe edges inside the logical video column. In
   landscape the notch may be on either physical side; the right edge belongs
   to the Rail, while the left/top/bottom edges belong to the video column. */
.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape > .rv-video-wrap{
  padding-top:env(safe-area-inset-top)!important;
  padding-bottom:env(safe-area-inset-bottom)!important;
  padding-left:env(safe-area-inset-left)!important;
  padding-right:0!important;
}

/* The Portrait canvas is rotated +90deg:
   logical left   <- physical top (Dynamic Island / notch)
   logical top    <- physical right
   logical bottom <- physical left
   logical right  <- physical bottom (owned by Rail width/padding). */
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait > .rv-video-wrap{
  padding-left:env(safe-area-inset-top)!important;
  padding-top:env(safe-area-inset-right)!important;
  padding-bottom:env(safe-area-inset-left)!important;
  padding-right:0!important;
}

.rv-player.rm-mobile-theater-active .rv-video{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  background:var(--rm-mt-bg)!important;
}

/* The normal horizontal control strip is replaced by the Theater rail. */
.rv-player.rm-mobile-theater-active > .rv-controls{
  display:none!important;
}

.rm-mobile-theater-rail{
  grid-column:2;
  grid-row:1;
  position:relative;
  z-index:80;
  width:var(--rm-mt-rail-width);
  min-width:var(--rm-mt-rail-width);
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:10px 8px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(18,30,48,.98),rgba(8,15,27,.98));
  border-left:1px solid rgba(255,255,255,.10);
  box-shadow:-8px 0 28px rgba(0,0,0,.28);
  color:var(--rm-mt-text);
  direction:ltr;
  box-sizing:border-box;
}

/* Landscape: logical axes match the physical viewport axes. */
.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape .rm-mobile-theater-rail{
  padding-top:max(8px,env(safe-area-inset-top));
  padding-right:max(8px,env(safe-area-inset-right));
  padding-bottom:max(8px,env(safe-area-inset-bottom));
  padding-left:8px;
}

/* Portrait uses a +90deg logical canvas. Map physical safe-area insets into
   logical axes instead of reusing top/bottom unchanged. */
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait{
  --rm-mt-rail-width:calc(90px + env(safe-area-inset-bottom));
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait .rm-mobile-theater-rail{
  gap:8px;
  padding-top:max(4px,env(safe-area-inset-right));
  padding-right:max(5px,env(safe-area-inset-bottom));
  padding-bottom:max(4px,env(safe-area-inset-left));
  padding-left:5px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait .rm-mobile-theater-control{
  width:70px;
  height:54px;
  min-width:70px;
  min-height:54px;
  border-radius:12px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait .rm-mobile-theater-close{margin-bottom:0}

.rm-mobile-theater-control{
  appearance:none;
  -webkit-appearance:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  flex:0 0 auto;
  width:74px;
  height:58px;
  min-width:74px;
  min-height:58px;
  padding:5px 4px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.07);
  color:var(--rm-mt-text);
  font-family:inherit;
  font-weight:800;
  font-size:12px;
  line-height:1.1;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.rm-mobile-theater-control-icon{
  display:block;
  font-family:inherit;
  font-weight:800;
  font-size:21px;
  line-height:1;
}
.rm-mobile-theater-control-label{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  direction:rtl;
  unicode-bidi:plaintext;
  font-family:inherit;
  font-weight:800;
  font-size:11px;
  line-height:1.15;
}

.rm-mobile-theater-control:active{transform:scale(.94)}
.rm-mobile-theater-control:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}
.rm-mobile-theater-close{
  margin-bottom:2px;
  background:rgba(239,68,68,.16);
  border-color:rgba(248,113,113,.28);
}
.rm-mobile-theater-close .rm-mobile-theater-control-icon{font-size:27px;font-weight:500}
.rm-mobile-theater-play .rm-mobile-theater-control-icon{font-size:20px}
.rm-mobile-theater-settings .rm-mobile-theater-control-icon{font-size:20px}
.rm-mobile-theater-rail-spacer{flex:1 1 auto;width:1px;min-height:8px}
.rm-mobile-theater-settings.is-active{
  background:var(--rm-mt-accent);
  border-color:rgba(147,197,253,.95);
  color:#fff;
  box-shadow:0 0 0 2px rgba(59,130,246,.24),0 7px 20px rgba(0,0,0,.30);
}
.rm-mobile-theater-settings.is-active:focus-visible{outline-color:#fff}

.rm-mobile-theater-transport{
  position:absolute;
  z-index:84;
  left:16px;
  right:calc(var(--rm-mt-rail-width) + 16px);
  bottom:12px;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(7,16,29,.76);
  box-shadow:0 8px 28px rgba(0,0,0,.28);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  direction:ltr;
}
.rm-mobile-theater-time{
  flex:0 0 auto;
  color:var(--rm-mt-muted);
  font:700 9px/1.2 Tahoma,"Segoe UI",sans-serif;
  font-variant-numeric:tabular-nums;
  text-align:center;
  white-space:nowrap;
  direction:ltr;
}
.rm-mobile-theater-progress{
  position:relative;
  flex:1 1 auto;
  min-width:70px;
  display:flex;
  align-items:center;
}
.rm-mobile-theater-seek{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  height:5px;
  border-radius:999px;
  background:rgba(255,255,255,.28);
  cursor:pointer;
  touch-action:none;
}
.rm-mobile-theater-seek:disabled{opacity:.42;cursor:default}
.rm-mobile-theater-seek::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:18px;
  height:18px;
  border-radius:50%;
  border:3px solid #fff;
  background:var(--rm-mt-accent);
  box-shadow:0 2px 8px rgba(0,0,0,.45);
}
.rm-mobile-theater-seek::-moz-range-thumb{
  width:14px;
  height:14px;
  border-radius:50%;
  border:3px solid #fff;
  background:var(--rm-mt-accent);
  box-shadow:0 2px 8px rgba(0,0,0,.45);
}

.rm-mobile-theater-panel{
  position:absolute;
  z-index:90;
  top:12px;
  right:calc(var(--rm-mt-rail-width) + 10px);
  width:min(280px,46vw);
  max-height:calc(100% - 24px);
  overflow:auto;
  padding:14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--rm-mt-radius);
  background:rgba(12,23,38,.97);
  color:var(--rm-mt-text);
  box-shadow:0 16px 45px rgba(0,0,0,.45);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  direction:rtl;
}
.rm-mobile-theater-panel[hidden]{display:none!important}
.rm-mobile-theater-panel-title{font-size:13px;font-weight:900;margin-bottom:12px}
.rm-mobile-theater-panel-group+ .rm-mobile-theater-panel-group{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.10)}
.rm-mobile-theater-panel-label{font-size:11px;color:var(--rm-mt-muted);margin-bottom:8px}
.rm-mobile-theater-panel-action{
  width:100%;
  min-height:44px;
  margin-bottom:10px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-family:inherit;
  font-weight:800;
  font-size:11px;
  cursor:pointer;
  text-align:right;
}
.rm-mobile-theater-panel-action.is-active{background:rgba(59,130,246,.24);border-color:rgba(96,165,250,.70)}
.rm-mobile-theater-speed-options{display:flex;gap:6px;flex-wrap:wrap}
.rm-mobile-theater-chip{
  min-width:44px;
  min-height:38px;
  padding:0 9px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-family:inherit;
  font-weight:800;
  font-size:11px;
  cursor:pointer;
}
.rm-mobile-theater-chip.is-active{background:var(--rm-mt-accent);border-color:var(--rm-mt-accent)}
.rm-mobile-theater-volume{width:100%;accent-color:var(--rm-mt-accent)}
.rm-mobile-theater-ios-volume-hint{display:none;margin-top:7px;font-size:10px;line-height:1.7;color:var(--rm-mt-muted)}
.rm-mobile-theater-volume-group.is-ios .rm-mobile-theater-volume{display:none}
.rm-mobile-theater-volume-group.is-ios .rm-mobile-theater-ios-volume-hint{display:block}

/* Official recovery/loader UI remains in the existing video wrap. */
.rv-player.rm-mobile-theater-active .rv-loader-overlay{
  right:0!important;
  left:0!important;
}

/* Security notices are root-level elements. Keep them in the video area and away from the rail. */
.rv-player.rm-mobile-theater-active > .rv-pip-notice,
.rv-player.rm-mobile-theater-active > .rv-remote-playback-notice,
.rv-player.rm-mobile-theater-active > .rv-mobile-theater-notice,
.rv-player.rm-mobile-theater-active > .rv-volume-hint{
  left:20px!important;
  right:calc(var(--rm-mt-rail-width) + 20px)!important;
  bottom:66px!important;
  width:auto!important;
  max-width:none!important;
  transform:none!important;
  margin:0!important;
  z-index:95!important;
}

/* Root security fix: watermark geometry always snaps. Theater must never
   re-introduce top/left interpolation from the shared RoyalVideo stylesheet. */
.rv-player.rm-mobile-theater-active .rv-watermark{
  transition:none!important;
  will-change:auto!important;
}

/* Keep big-play and title away from the rail because they belong to the video column. */
.rv-player.rm-mobile-theater-active .rv-overlay-top{padding:14px 16px}
.rv-player.rm-mobile-theater-active .rv-big-play{width:66px;height:66px;font-size:28px}

/* Safe-area mapping for panels and notices follows the logical canvas axes. */
.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape .rm-mobile-theater-panel{
  top:max(12px,env(safe-area-inset-top));
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait .rm-mobile-theater-panel{
  top:max(10px,env(safe-area-inset-right));
  width:min(250px,58vh);
  max-height:calc(100% - 20px);
  padding:11px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape .rm-mobile-theater-transport{
  left:max(16px,env(safe-area-inset-left));
  bottom:max(12px,env(safe-area-inset-bottom));
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait .rm-mobile-theater-transport{
  left:max(14px,env(safe-area-inset-top));
  bottom:max(10px,env(safe-area-inset-left));
  right:calc(var(--rm-mt-rail-width) + 12px);
  padding:7px 9px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape > .rv-pip-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape > .rv-remote-playback-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape > .rv-mobile-theater-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape > .rv-volume-hint{
  bottom:max(66px,calc(env(safe-area-inset-bottom) + 54px))!important;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait > .rv-pip-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait > .rv-remote-playback-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait > .rv-mobile-theater-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-portrait > .rv-volume-hint{
  bottom:max(62px,calc(env(safe-area-inset-left) + 52px))!important;
}

/* Landscape-only compression for physically short landscape viewports. Portrait
   has its own logical-canvas compact rules above, so max-height is not used for it. */
@media (max-height:390px){
  .rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape{--rm-mt-rail-width:calc(86px + env(safe-area-inset-right))}
  .rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape .rm-mobile-theater-rail{gap:5px;padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(6px,env(safe-area-inset-bottom))}
  .rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape .rm-mobile-theater-control{width:66px;height:52px;min-width:66px;min-height:52px;border-radius:12px;padding:4px 3px;gap:2px}
  .rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape .rm-mobile-theater-transport{padding:6px 8px;gap:8px}
  .rv-player.rm-mobile-theater-active.rm-mobile-theater-landscape .rm-mobile-theater-panel{width:min(250px,50vw);padding:11px}
}

@media (prefers-reduced-motion:reduce){
  .rm-mobile-theater-control{transition:none!important}
}


/* ================= Mobile + Tablet Theater v2 =================
   Security routing is independent of these layout breakpoints. The classes below
   only decide presentation geometry after the Theater route has already been locked. */

.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow{
  width:100vw!important;
  width:100dvw!important;
  height:100vh!important;
  height:100dvh!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center center!important;
}

/* Tablet Theater is upright; the Phone +90deg canvas is never inherited. */
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide{
  --rm-mt-rail-width:calc(90px + env(safe-area-inset-right));
  grid-template-columns:minmax(0,1fr) var(--rm-mt-rail-width)!important;
  grid-template-rows:minmax(0,1fr)!important;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide > .rv-video-wrap{
  grid-column:1!important;
  grid-row:1!important;
  padding-top:env(safe-area-inset-top)!important;
  padding-right:0!important;
  padding-bottom:env(safe-area-inset-bottom)!important;
  padding-left:env(safe-area-inset-left)!important;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide .rm-mobile-theater-rail{
  grid-column:2;
  grid-row:1;
  padding-top:max(12px,env(safe-area-inset-top));
  padding-right:max(8px,env(safe-area-inset-right));
  padding-bottom:max(12px,env(safe-area-inset-bottom));
  padding-left:8px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide .rm-mobile-theater-control{
  width:72px;
  min-width:72px;
  height:58px;
  min-height:58px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide .rm-mobile-theater-transport{
  left:max(20px,env(safe-area-inset-left));
  right:calc(var(--rm-mt-rail-width) + 20px);
  bottom:max(16px,env(safe-area-inset-bottom));
  padding:9px 12px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide .rm-mobile-theater-panel{
  top:max(16px,env(safe-area-inset-top));
  right:calc(var(--rm-mt-rail-width) + 14px);
  width:min(320px,42vw);
  max-height:calc(100% - 32px);
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide > .rv-pip-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide > .rv-remote-playback-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide > .rv-mobile-theater-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-wide > .rv-volume-hint{
  left:max(20px,env(safe-area-inset-left))!important;
  right:calc(var(--rm-mt-rail-width) + 20px)!important;
  bottom:max(72px,calc(env(safe-area-inset-bottom) + 58px))!important;
}

/* Split View / Stage Manager narrow tablet mode. The old side rail becomes an
   overlay control host: close remains at the safe top edge while Play/Settings
   form a bottom dock. There is no persistent side column consuming video width. */
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow{
  --rm-mt-rail-width:0px;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow > .rv-video-wrap{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  height:100%!important;
  padding-top:env(safe-area-inset-top)!important;
  padding-right:env(safe-area-inset-right)!important;
  padding-bottom:env(safe-area-inset-bottom)!important;
  padding-left:env(safe-area-inset-left)!important;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rm-mobile-theater-rail{
  position:absolute;
  inset:0;
  z-index:96;
  width:100%;
  min-width:0;
  height:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  grid-template-rows:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding-top:max(10px,env(safe-area-inset-top));
  padding-right:max(10px,env(safe-area-inset-right));
  padding-bottom:max(10px,env(safe-area-inset-bottom));
  padding-left:max(10px,env(safe-area-inset-left));
  overflow:hidden;
  background:linear-gradient(to top,rgba(8,15,27,.96) 0,rgba(8,15,27,.88) 76px,transparent 116px);
  border:0;
  box-shadow:none;
  pointer-events:none;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rm-mobile-theater-control{
  width:68px;
  min-width:68px;
  height:54px;
  min-height:54px;
  pointer-events:auto;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rm-mobile-theater-close{
  grid-column:3;
  grid-row:1;
  justify-self:end;
  align-self:start;
  margin:0;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rm-mobile-theater-rail-spacer{
  display:none;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rm-mobile-theater-play{
  grid-column:2;
  grid-row:3;
  justify-self:end;
  align-self:end;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rm-mobile-theater-settings{
  grid-column:3;
  grid-row:3;
  justify-self:end;
  align-self:end;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rm-mobile-theater-transport{
  left:max(12px,env(safe-area-inset-left));
  right:max(12px,env(safe-area-inset-right));
  bottom:max(82px,calc(env(safe-area-inset-bottom) + 76px));
  padding:7px 9px;
  gap:8px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rm-mobile-theater-panel{
  top:auto;
  right:max(12px,env(safe-area-inset-right));
  bottom:max(132px,calc(env(safe-area-inset-bottom) + 126px));
  left:max(12px,env(safe-area-inset-left));
  width:auto;
  max-height:min(52vh,340px);
  overflow:auto;
  transform:none;
  padding:12px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow > .rv-pip-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow > .rv-remote-playback-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow > .rv-mobile-theater-notice,
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow > .rv-volume-hint{
  left:max(12px,env(safe-area-inset-left))!important;
  right:max(12px,env(safe-area-inset-right))!important;
  bottom:max(142px,calc(env(safe-area-inset-bottom) + 132px))!important;
  width:auto!important;
  max-width:none!important;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rv-overlay-top{
  padding-top:max(14px,env(safe-area-inset-top));
  padding-right:90px;
}
.rv-player.rm-mobile-theater-active.rm-mobile-theater-layout-tablet-narrow .rv-big-play{
  width:64px;
  height:64px;
  font-size:27px;
}
