html.obn-touch {
  --tap: var(--obnTouchTarget, 44px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.obn-touch :is(button, select, summary, [role="button"], [role="slider"], input[type="range"], .obnDocs a) {
  min-height: var(--obnTouchTarget, 44px) !important;
}

html.obn-touch :is(button, select, [role="button"], [role="slider"]) {
  min-width: var(--obnTouchTarget, 44px) !important;
}

html.obn-touch :is(a, button, select, label, summary, [role="button"]) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

html.obn-touch :is(input, textarea, select) {
  font-size: max(16px, var(--obnTouchFont, 16px)) !important;
}

html.obn-touch input[type="range"] {
  touch-action: pan-y pinch-zoom;
}

html.obn-touch :is([role="slider"], .djK .dial, .jpPad, #djTalk, #djCough) {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

html.obn-touch [data-obn-pressed] {
  outline: 2px solid var(--cyan, #5fb0ea);
  outline-offset: -2px;
  filter: brightness(1.15);
}

html.obn-touch :is(.qsGenres, .qsTabs, .primaryRow, .obnDevBtns) {
  gap: 8px;
}

html.obn-tablet :is(.qsRow, .obnNpRow) {
  min-height: var(--obnTouchTarget, 44px) !important;
}

html.obn-tablet :is(.qsActs, .mpPresets, .primaryRow) {
  flex-wrap: wrap;
}

html.obn-tablet {
  height: auto;
  overflow-y: auto !important;
  overflow-x: clip !important;
}

html.obn-tablet body {
  height: auto !important;
  overflow-y: visible !important;
  overflow-x: clip !important;
}

html.obn-tablet #app {
  flex: none !important;
  min-height: 0 !important;
}

html.obn-tablet :is(#app > .col, .bandsWrap, .bandsWrap > #bands, .col.main .radioHub) {
  height: auto;
  max-height: none;
  overflow: visible;
}

html.obn-tablet #obnBar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100%;
  gap: 8px;
}

html.obn-tablet header #logo {
  flex: 1 1 auto;
  min-width: 0;
}

html.obn-tablet header #logo h1 {
  white-space: normal;
  overflow-wrap: anywhere;
}

html.obn-tablet header .primaryRow {
  display: flex !important;
  flex: 0 0 100%;
  justify-content: center;
}

html.obn-tablet .mobtabs {
  display: flex !important;
  position: sticky !important;
  bottom: 0;
  order: 99;
  z-index: 20;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

html.obn-tablet .siteFooter {
  order: 98;
}

html.obn-tablet .mobtabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 2px !important;
  line-height: 1.1;
}

html.obn-tablet .mobtabs button[data-ico]::before {
  content: attr(data-ico);
  font-size: 18px;
  line-height: 1;
}

html.obn-tablet .trialBar {
  bottom: var(--obnTabsH, 0px) !important;
}

html.obn-tablet #obnVolWarn {
  bottom: calc(var(--obnDockH, 56px) + 12px);
}

html.obn-tablet :is(.stopFab, .nowFab:not(.full):not(.railDock)) {
  bottom: calc(var(--obnDockH, 56px) + 10px) !important;
}

html.obn-tablet :is(.obnDocs, .qsTabs, .qsGenres, .mobtabs) button {
  transition-duration: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  html.obn-touch [data-obn-pressed] {
    filter: none;
  }
}
