/* esc-tablet-pass.css (2026-10-20, additive). Tablet / touch / short-height fixes. Loaded last. */
/* overlay queue: hidden (not removed) while a higher-priority overlay shows */
.etp-q{visibility:hidden!important;pointer-events:none!important}
.etp-q *{visibility:hidden!important}
/* Distro + link chips: 40px tap targets on touch */
@media (pointer:coarse),(hover:none){
  a.link-chip{min-height:40px;display:inline-flex;align-items:center;padding-left:12px;padding-right:12px}
  #escToolost a,#escOdbSpot a{display:inline-flex;align-items:center;min-height:40px;padding:0 6px}
  .more-panel .tool-btn{min-height:40px}
  .etp-more-extra{display:flex!important}
}
.etp-more-extra{display:none}
/* session feedback sheet: clear of the right tab column, below header, compact */
@media (pointer:coarse),(hover:none),(max-height:800px){
  #escSessionSheet.open{right:56px!important;left:auto!important;bottom:auto!important;top:var(--etp-top,80px)!important;max-height:calc(100vh - var(--etp-top,80px) - 12px);overflow:auto;width:min(340px,calc(100vw - 112px))!important}
}
@media (max-height:700px){
  #escSessionSheet.open{padding:10px!important;font-size:13px!important;width:min(300px,calc(100vw - 112px))!important}
  #escSessionSheet.open textarea{height:52px!important;min-height:0!important}
  #escSessionSheet.open #escSessionStars button{min-width:40px;min-height:40px}
  /* single compact toast on short landscape */
  #escToolost,#escOdbSpot{scale:.86;transform-origin:top center}
  #esSpotChip{scale:.9}
}
/* language chooser: never cover the player dock in landscape */
@media (orientation:landscape) and (max-height:820px){
  #escGuide{max-height:calc(100vh - var(--etp-top,80px) - var(--etp-dock,0px) - 16px)!important;overflow:auto!important}
}
@media ((pointer:coarse),(hover:none)) and (min-width:701px){
  header.top .tool-btn,header.top select{white-space:nowrap}
  .esc-card-mark{translate:-58px 0}
}
#btnSignIn,#btnCreateAccount,#toolBtns .tool-btn{white-space:nowrap!important}
.more-panel[data-etp="1"]{flex-wrap:wrap!important;align-content:flex-start}.more-panel[data-etp="1"] > *{flex:0 0 auto}
#escPlayAsk{z-index:9800!important}
@media (orientation:landscape) and (max-height:500px){
  #escWelcome{top:auto!important;bottom:calc(var(--etp-dock,0px) + 8px)!important;max-height:calc(100vh - var(--etp-top,60px) - var(--etp-dock,0px) - 16px)!important;overflow:auto!important}
}
/* v4 */
.etp-ovf{display:flex;flex-wrap:wrap;gap:6px;padding:4px 0 8px;margin-bottom:6px;border-bottom:1px solid rgba(212,175,55,.35)}
.etp-ovf::before{content:attr(data-label);flex:0 0 100%;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold,#d4af37)}
.etp-ovf > *{min-height:40px!important;min-width:40px!important;flex:1 1 auto!important;width:auto!important;position:static!important}
body.etp-compact #nowPlaying button,body.etp-compact #nowPlaying .tool-btn{min-width:40px!important;min-height:40px!important;height:40px!important}
@media (pointer:coarse) and (min-width:701px){
  #escModeStage,#escModeGlobe{min-height:40px!important}
  .esc-card-mark{translate:none}
}
#escOdbSpot.etp-q,#escToolost.etp-q,#escInstall.etp-q,#escSuBanner.etp-q,#esSpotChip.etp-q,#escWelcome.etp-q,#escSessionSheet.etp-q,#escGuide.etp-q,#escVoicePick.etp-q,#escGT.etp-q,.esc-card-mark.etp-q{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
/* v6 (2026-10-20, additive): tap targets >=40px on touch, 'Play this track?' compact buttons */
@media (pointer:coarse),(hover:none){
  #escPlayAsk .tool-btn,#escPlayAsk button{min-height:40px!important;min-width:40px}
  #escTalkOrb{min-width:40px!important;min-height:40px!important}
  #escTalkLog button{min-height:40px!important}
  #escSkillsTab,#escRosterTab,#escSubmitTab,#escSceneTab,#escEarthTab,#escMapTab,#escSkyTab,#escFullTab,#escOpsTab,#escArtTab,#escThemeTab,#escChatTab,#escTalkTab,#escBrowseTab,#escVidRail,#escReqTab{min-width:40px!important}
  details.more-menu > summary{min-width:40px!important;min-height:40px!important}
}
#escPlayAsk.etp-placed{transform:none!important;translate:none!important;overflow:auto!important;box-sizing:border-box!important}
#escPlayAsk.etp-tight{padding:12px!important}
#escPlayAsk.etp-tight #escPlayAskH{margin-bottom:6px!important}
#escPlayAsk.etp-tight #escPlayAskS{margin-bottom:8px!important}
@media (pointer:coarse),(hover:none){ #eg2Bell{min-width:40px!important;min-height:40px!important} }
