/* ═══ Radio — browser console inspired by the Oracle Radio iOS client ═══ */

/* Radio is the full radio surface, so the legacy floating mini-player would
   duplicate the controls while this page is mounted. */
body:has(.radio2-page) #radioWidget,
body:has(.radio2-page) .rw-toggle {
  display: none !important;
}

.radio2-page {
  --r2-blue: #3478f6;
  --r2-blue-soft: rgba(52, 120, 246, 0.13);
  --r2-red: #e6323a;
  --r2-red-dark: #be2029;
  --r2-orange: #e98a16;
  --r2-glass: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  width: min(100%, 1120px);
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  color: var(--text-primary);
}

.radio2-console {
  position: relative;
  min-height: calc(100vh - 112px);
  padding: 0 0 100px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(52, 120, 246, 0.08), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-base) 86%, transparent), var(--bg-base));
  border: 1px solid var(--border-default);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.radio2-appbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 60px;
  padding: 8px 18px;
  background: color-mix(in srgb, var(--bg-base) 82%, transparent);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
}

.radio2-appbar-title {
  grid-column: 2;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.radio2-appbar-actions {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.radio2-icon-btn,
.radio2-fab {
  border: 1px solid var(--border-default);
  color: var(--r2-blue);
  background: var(--r2-glass);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.radio2-icon-btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
}

.radio2-icon-btn:hover,
.radio2-fab:hover {
  transform: translateY(-1px);
  background: var(--bg-elevated);
  border-color: color-mix(in srgb, var(--r2-blue) 40%, transparent);
}

.radio2-icon-btn:focus-visible,
.radio2-fab:focus-visible,
.radio2-ptt:focus-visible,
.radio2-critical:focus-visible,
.radio2-channel-chip:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--r2-blue) 45%, transparent);
  outline-offset: 3px;
}

.radio2-body {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 34px) 30px;
}

.radio2-status-card {
  padding: 15px 17px;
  border: 1px solid var(--border-default);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-surface) 88%, transparent);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.09);
  cursor: pointer;
}

.radio2-status-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
}

.radio2-status-row + .radio2-status-row {
  margin-top: 5px;
}

.radio2-status-icon {
  display: inline-grid;
  width: 22px;
  place-items: center;
  color: var(--r2-blue);
}

.radio2-status-icon svg {
  width: 18px;
  height: 18px;
}

.radio2-status-state {
  font-weight: 700;
  color: var(--r2-blue);
}

.radio2-status-state[data-tone="success"] { color: var(--success); }
.radio2-status-state[data-tone="warning"] { color: var(--warning); }
.radio2-status-state[data-tone="danger"] { color: var(--danger); }
.radio2-status-state[data-tone="receive"] { color: var(--r2-orange); }

.radio2-status-spacer {
  flex: 1;
  min-width: 12px;
}

.radio2-talk-label {
  color: var(--text-secondary);
  font-size: 0.82rem;
  white-space: nowrap;
}

.radio2-channel-select {
  width: min(270px, 42vw);
  padding: 6px 28px 6px 9px;
  color: var(--text-primary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  border: 0;
  border-radius: 9px;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) right 12px center / 5px 5px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) right 8px center / 5px 5px no-repeat,
    var(--bg-elevated);
  appearance: none;
  cursor: pointer;
}

.radio2-channel-select:focus {
  outline: 2px solid color-mix(in srgb, var(--r2-blue) 45%, transparent);
}

.radio2-connection {
  font-size: 0.8rem;
  font-weight: 650;
}

.radio2-connection[data-tone="success"] { color: var(--success); }
.radio2-connection[data-tone="warning"] { color: var(--warning); }
.radio2-connection[data-tone="danger"] { color: var(--danger); }

.radio2-network {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.radio2-status-expand {
  display: inline-grid;
  color: var(--text-muted);
  transition: transform 180ms ease;
}

.radio2-status-card.is-expanded .radio2-status-expand {
  transform: rotate(180deg);
}

.radio2-status-detail {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--border-subtle);
}

.radio2-status-card.is-expanded .radio2-status-detail {
  display: grid;
}

.radio2-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.radio2-detail-item svg {
  flex: 0 0 auto;
  color: var(--text-muted);
}

.radio2-detail-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radio2-channel-strip {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  padding: 2px 1px 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.radio2-channel-strip::-webkit-scrollbar { display: none; }

.radio2-channel-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--bg-surface) 74%, transparent);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.radio2-channel-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.radio2-channel-chip.is-active {
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--r2-blue) 42%, transparent);
  background: var(--r2-blue-soft);
}

.radio2-channel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 12%, transparent);
}

.radio2-channel-chip.is-busy .radio2-channel-dot {
  background: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 12%, transparent);
}

.radio2-radio-mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 20px 4px 4px;
}

.radio2-radio-mark svg {
  width: 62px;
  height: 62px;
  color: var(--r2-blue);
  filter: drop-shadow(0 8px 20px rgba(52, 120, 246, 0.22));
}

.radio2-mode-hint {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: right;
}

.radio2-ptt-zone {
  margin-top: 8px;
}

.radio2-ptt {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: clamp(210px, 28vw, 275px);
  place-items: center;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.19), transparent 38%),
    linear-gradient(145deg, #f14951, var(--r2-red) 55%, var(--r2-red-dark));
  box-shadow:
    0 18px 34px rgba(230, 50, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font: inherit;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  animation: radio2-breathe 1.65s ease-in-out infinite alternate;
}

.radio2-ptt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 16px,
    rgba(255, 255, 255, 0.018) 16px 17px
  );
}

.radio2-ptt:hover {
  filter: brightness(1.03);
}

.radio2-ptt:active,
.radio2-ptt.is-held,
.radio2-ptt.is-transmitting {
  transform: scale(0.992);
  animation: none;
  box-shadow:
    0 10px 24px rgba(230, 50, 58, 0.38),
    inset 0 3px 10px rgba(75, 0, 0, 0.2);
}

.radio2-ptt.is-requesting {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(145deg, #f3a23d, var(--r2-orange));
  box-shadow: 0 18px 34px rgba(233, 138, 22, 0.26);
  animation: radio2-request 850ms ease-in-out infinite alternate;
}

.radio2-ptt:disabled {
  cursor: not-allowed;
  filter: saturate(0.28);
  opacity: 0.58;
  animation: none;
}

.radio2-ptt-content {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.radio2-ptt-content svg {
  width: 27px;
  height: 27px;
}

.radio2-ptt-subtitle {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 550;
  letter-spacing: 0;
}

.radio2-critical {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #f3a23d, var(--r2-orange));
  box-shadow: 0 10px 25px rgba(233, 138, 22, 0.2);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  user-select: none;
}

.radio2-critical.is-arming {
  transform: scale(0.988);
  background: linear-gradient(145deg, #ed9131, #d86e0d);
}

.radio2-last {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-default);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-surface) 78%, transparent);
}

.radio2-last.has-content { display: block; }

.radio2-last-label {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radio2-last-head {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 5px;
}

.radio2-last-user {
  font-size: 0.82rem;
  font-weight: 750;
}

.radio2-last-channel,
.radio2-last-time {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.radio2-last-time { margin-left: auto; }

.radio2-last-text {
  color: var(--text-secondary);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.radio2-fab-row {
  position: absolute;
  right: clamp(18px, 3vw, 30px);
  bottom: 24px;
  left: clamp(18px, 3vw, 30px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.radio2-fab {
  pointer-events: auto;
  display: inline-flex;
  min-width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 750;
}

.radio2-fab svg {
  width: 22px;
  height: 22px;
}

.radio2-avatar-stack {
  display: flex;
  align-items: center;
  padding-left: 7px;
}

.radio2-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-left: -7px;
  border: 2px solid var(--bg-surface);
  border-radius: 50%;
  color: #fff;
  background: var(--r2-blue);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.radio2-avatar:nth-child(2n) { background: #7867d7; }
.radio2-avatar:nth-child(3n) { background: #29917b; }

.radio2-member-count {
  min-width: 24px;
  color: var(--text-secondary);
  text-align: center;
}

.radio2-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.radio2-overlay[data-side="left"] {
  justify-content: flex-start;
}

.radio2-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.radio2-sheet {
  display: flex;
  width: min(440px, 94vw);
  height: 100%;
  flex-direction: column;
  background: color-mix(in srgb, var(--bg-surface) 96%, transparent);
  border-left: 1px solid var(--border-default);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.28);
  transform: translateX(102%);
  transition: transform 220ms ease, width 220ms ease;
}

.radio2-overlay[data-side="left"].is-map-view .radio2-sheet {
  width: min(860px, 96vw);
}

.radio2-overlay[data-side="left"] .radio2-sheet {
  border-right: 1px solid var(--border-default);
  border-left: 0;
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.28);
  transform: translateX(-102%);
}

.radio2-overlay.is-open .radio2-sheet {
  transform: translateX(0);
}

.radio2-sheet-header {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-default);
}

.radio2-sheet-header h2 {
  flex: 1;
  font-size: 1rem;
  font-weight: 750;
}

.radio2-sheet-header p {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.radio2-sheet-body {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
}

.radio2-setting-section + .radio2-setting-section {
  margin-top: 24px;
}

.radio2-setting-title {
  margin: 0 0 7px 3px;
  color: var(--r2-blue);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radio2-settings-group,
.radio2-member-list {
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 15px;
  background: var(--bg-elevated);
}

.radio2-setting-row,
.radio2-member-row {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
}

.radio2-setting-row + .radio2-setting-row,
.radio2-member-row + .radio2-member-row {
  border-top: 1px solid var(--border-default);
}

.radio2-setting-copy {
  flex: 1;
  min-width: 0;
}

.radio2-setting-label {
  display: block;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 650;
}

.radio2-setting-note {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.65rem;
  line-height: 1.35;
}

.radio2-setting-control {
  flex: 0 0 auto;
  min-width: 112px;
  max-width: 155px;
  padding: 7px 26px 7px 9px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  color: var(--text-primary);
  background: var(--bg-input);
  font: inherit;
  font-size: 0.7rem;
}

.radio2-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 26px;
  flex: 0 0 auto;
}

.radio2-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.radio2-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--text-muted);
  cursor: pointer;
  transition: background 150ms ease;
}

.radio2-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.26);
  transition: transform 150ms ease;
}

.radio2-switch input:checked + .radio2-switch-track {
  background: var(--r2-blue);
}

.radio2-switch input:checked + .radio2-switch-track::after {
  transform: translateX(18px);
}

.radio2-switch input:focus-visible + .radio2-switch-track {
  outline: 3px solid color-mix(in srgb, var(--r2-blue) 38%, transparent);
  outline-offset: 2px;
}

.radio2-sheet-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-default);
}

.radio2-sheet-footer .btn {
  justify-content: center;
}

.radio2-member-heading {
  margin-bottom: 13px;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.radio2-member-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--bg-elevated);
}

.radio2-member-tabs button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 9px;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
}

.radio2-member-tabs button:hover:not(:disabled) {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.radio2-member-tabs button.is-active {
  color: var(--text-primary);
  background: var(--bg-surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.radio2-member-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.radio2-member-tabs svg,
.radio2-member-map-icon svg {
  width: 17px;
  height: 17px;
}

.radio2-member-map-count {
  display: inline-flex;
  min-width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--r2-blue);
  background: color-mix(in srgb, var(--r2-blue) 14%, transparent);
  font-size: 0.6rem;
}

.radio2-member-row {
  width: 100%;
  border: 0;
  color: var(--text-primary);
  background: transparent;
  font: inherit;
  text-align: left;
}

.radio2-member-row.has-location {
  cursor: pointer;
}

.radio2-member-row.has-location:hover {
  background: var(--bg-hover);
}

.radio2-member-row:disabled {
  cursor: default;
  opacity: 1;
}

.radio2-member-row .radio2-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 0;
  font-size: 0.68rem;
}

.radio2-member-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 650;
}

.radio2-member-you {
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--bg-hover);
  font-size: 0.6rem;
  font-weight: 700;
}

.radio2-member-map-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--r2-blue);
}

.radio2-online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 11%, transparent);
}

.radio2-member-map-panel {
  position: relative;
}

.radio2-member-map-status {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.63rem;
}

.radio2-member-map-status > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.radio2-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 12%, transparent);
}

.radio2-member-map-canvas {
  width: 100%;
  height: max(420px, calc(100vh - 230px));
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 16px;
  background: var(--bg-elevated);
}

.radio2-member-map-empty {
  position: absolute;
  inset: 50% 24px auto;
  z-index: 2;
  padding: 14px 16px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  font-size: 0.75rem;
  text-align: center;
  transform: translateY(-50%);
}

.radio2-member-map-empty[hidden],
#radio2MemberListPanel[hidden],
#radio2MemberMapPanel[hidden] {
  display: none !important;
}

.radio2-empty {
  padding: 30px 18px;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
}

.radio2-local-note {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.63rem;
  line-height: 1.4;
}

@keyframes radio2-breathe {
  from { transform: scale(0.992); }
  to { transform: scale(1); }
}

@keyframes radio2-request {
  from { filter: saturate(0.88); }
  to { filter: saturate(1.1) brightness(1.04); }
}

@media (max-width: 720px) {
  .radio2-page,
  .radio2-console {
    min-height: calc(100vh - 88px);
  }

  .radio2-console {
    margin: -16px;
    width: calc(100% + 32px);
    border: 0;
    border-radius: 0;
  }

  .radio2-body {
    padding: 14px 14px 26px;
  }

  .radio2-talk-label {
    display: none;
  }

  .radio2-channel-select {
    width: min(210px, 50vw);
  }

  .radio2-status-detail {
    grid-template-columns: 1fr;
  }

  .radio2-ptt {
    min-height: 205px;
    border-radius: 18px;
  }

  .radio2-fab {
    min-width: 58px;
    height: 58px;
    padding: 0 13px;
  }

  .radio2-fab-label {
    display: none;
  }

  .radio2-overlay[data-side="left"].is-map-view .radio2-sheet {
    width: 100vw;
  }

  .radio2-member-map-canvas {
    height: max(360px, calc(100vh - 220px));
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .radio2-appbar {
    padding-inline: 12px;
  }

  .radio2-channel-select {
    width: min(180px, 48vw);
  }

  .radio2-status-row {
    gap: 6px;
  }

  .radio2-network {
    display: none;
  }

  .radio2-setting-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .radio2-setting-control {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .radio2-ptt,
  .radio2-ptt.is-requesting,
  .radio2-overlay,
  .radio2-sheet {
    animation: none;
    transition: none;
  }
}
