.tvc-app-switch-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 28px));
  max-height: min(80vh, 560px);
  margin: auto;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--border, #dedbd4);
  border-radius: 22px;
  color: var(--text, #1b1b1b);
  background: var(--panel, #fbf8f1);
  box-shadow: 0 24px 80px rgb(0 0 0 / 28%);
  font: inherit;
}

.tvc-app-switch-dialog::backdrop {
  background: rgb(0 0 0 / 58%);
  backdrop-filter: blur(3px);
}

.tvc-app-switch-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tvc-app-switch-kicker {
  margin: 0;
  color: var(--muted, #77736d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.tvc-app-switch-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border, #dedbd4);
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.tvc-app-switch-dialog h2 {
  margin: 14px 0 10px;
  font-size: clamp(21px, 5vw, 27px);
  line-height: 1.15;
}

.tvc-app-switch-dialog p:not(.tvc-app-switch-kicker) {
  color: var(--muted, #77736d);
  font-size: 15px;
  line-height: 1.55;
}

.tvc-app-switch-note {
  padding-top: 14px;
  border-top: 1px solid var(--border, #dedbd4);
}

.tvc-app-switch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.tvc-app-switch-install,
.tvc-app-switch-open {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--border, #dedbd4);
  border-radius: 999px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.tvc-app-switch-install {
  border-color: #191919;
  color: #fff;
  background: #191919;
}

.tvc-app-switch-install[hidden] {
  display: none;
}

@media (max-width: 480px) {
  .tvc-app-switch-dialog {
    padding: 20px;
    border-radius: 20px;
  }

  .tvc-app-switch-actions > * {
    flex: 1 1 100%;
  }
}
