/* r-slides6 (6eaf7d23) */
/* 1. pop-up menus and lists sit on a full-screen transparent layer: a tap outside closes the menu and reaches nothing underneath */
.pop-bd{position:fixed;inset:0;z-index:180;background:transparent;-webkit-tap-highlight-color:transparent}
.pop-bd>.pop{position:absolute}
/* 3. new-slide layout menu on short sideways screens: every layout in view, no inner scroll */
@media (orientation:landscape) and (max-height:500px){
  .lgpop{width:auto;max-width:calc(100vw - 16px);padding:6px}
  .lgpop .cph{margin:0 0 4px}
  :root .lggrid{grid-template-columns:repeat(6,minmax(0,104px));gap:6px;max-height:none;overflow:visible}
  :root .lggrid button{padding:4px;gap:2px;min-height:44px}
  :root .lggrid span{font-size:11px;line-height:1.25}
}

/* 2. share dialog on short sideways screens: compact two-column body so every control is in view above the footer */
@media (orientation:landscape) and (max-height:500px) and (min-width:600px){
  .mback:has(.mbody>.ppl){padding:6px}
  .mback .modal:has(.mbody>.ppl){width:min(860px,calc(100vw - 16px));max-height:calc(100dvh - 12px)}
  .modal:has(.mbody>.ppl) .mhead{padding-top:6px;padding-bottom:2px}
  .modal:has(.mbody>.ppl) .mhead h2{font-size:17px}
  .mbody:has(>.ppl){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);column-gap:20px;align-content:start;padding-bottom:6px}
  .mbody:has(>.ppl)>:not(.ppl){grid-column:1;margin-top:0;margin-bottom:8px}
  .mbody:has(>.ppl)>.ppl{grid-column:2;grid-row:1 / span 8;margin:0}
  .mbody>.ppl .pplh{margin:0 0 6px;font-size:14px}
  .mbody>.ppl .tiny{margin:4px 0 0;line-height:1.35}
  .mbody>.ppl .invmsg:empty{display:none}
  .modal:has(.mbody>.ppl) .mfoot{padding:6px 16px 8px}
}
