:root {
  color-scheme: dark;
  --bg: #111719;
  --surface: #192023;
  --raised: #20282b;
  --line: #2b3539;
  --text: #eef1eb;
  --muted: #9ca9aa;
  --green: #b7efb9;
  --green-dark: #243e30;
  --coral: #edb69d;
  --radius: 14px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.18;
  letter-spacing: -1.25px;
  font-weight: 600;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.4px;
  font-weight: 600;
}
h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
p {
  color: var(--muted);
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.85rem;
  letter-spacing: -1.2px;
  font-weight: 650;
}
.brand-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  background: var(--green);
  color: #142219;
  font-family: Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 12px;
  padding-bottom: 7px;
}
.eyebrow {
  display: block;
  font-size: 0.69rem;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 14px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 43px;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn.primary {
  background: var(--green);
  color: #17271b;
}
.btn.primary:hover {
  background: #cef5cf;
}
.btn.secondary {
  background: #1b2326;
  border-color: #374247;
}
.btn.secondary:hover {
  background: #283336;
  border-color: #51615e;
}
.btn.compact {
  min-height: 35px;
  padding: 7px 12px;
  font-size: 0.81rem;
}
.btn.full {
  width: 100%;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  padding: 7px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-btn:hover {
  background: #2c393b;
  color: var(--text);
}
.icon-btn .icon {
  width: 19px;
  height: 19px;
}
.text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.text-btn:hover {
  text-decoration: underline;
}
.small {
  font-size: 0.78rem;
}
.muted {
  color: var(--muted);
}
.centered {
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green);
  background: #24392d;
  border: 1px solid #334d3b;
}
.demo-pill {
  background: #34352a;
  color: #d8d6a6;
  border-color: #4a4a38;
}
.warning-pill {
  background: #46352a;
  color: #ecc392;
  border-color: #6a4c32;
}
.danger {
  color: #f0a797;
}
.danger-btn {
  background: #713f38;
  color: #fff;
}
.boot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.boot h1 {
  font-size: 1.5rem;
}
.boot p {
  max-width: 500px;
  text-align: center;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-story {
  position: relative;
  background: #1b2727;
  padding: 48px clamp(30px, 5vw, 82px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.auth-story:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 110% 10%, #31413980, transparent 55%);
  pointer-events: none;
}
.auth-story > * {
  position: relative;
}
.auth-copy {
  margin-top: 80px;
}
.auth-copy .eyebrow {
  color: #b2c7b7;
  font-size: 0.65rem;
}
.auth-copy h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -3px;
}
.auth-copy h1 em {
  font-style: normal;
  color: var(--green);
}
.auth-copy p {
  max-width: 330px;
  font-size: 1rem;
  line-height: 1.8;
  color: #acbdb7;
  margin-top: 24px;
}
.setup-preview {
  background: #162020;
  border: 1px solid #3b4b44;
  border-radius: 13px;
  padding: 22px;
  margin-top: 25px;
  max-width: 430px;
  box-shadow: 0 20px 35px #080e0c26;
}
.preview-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid #30403a;
  font-size: 0.875rem;
}
.preview-top .pill {
  margin-left: auto;
}
.preview-top > .icon {
  color: var(--muted);
}
.preview-channel {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 20px;
}
.mini-badge {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #304339;
  color: #bbdfc5;
  border-radius: 9px;
}
.mini-badge.coral {
  background: #493c33;
  color: #edc2a8;
}
.preview-channel div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}
.preview-channel strong {
  font-size: 0.81rem;
  font-weight: 500;
}
.preview-channel div span {
  font-size: 0.68rem;
  color: var(--muted);
}
.preview-channel > .icon {
  width: 15px;
  color: var(--green);
}
.auth-footer {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: #71837a;
  margin-top: 55px;
}
.auth-form-wrap {
  padding: 65px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-form {
  width: 100%;
  max-width: 375px;
}
.auth-form h2 {
  font-size: 1.95rem;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.auth-form > .eyebrow {
  color: var(--green);
  font-size: 0.66rem;
}
.auth-form > p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 29px;
}
.auth-form form {
  margin-top: 28px;
}
label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
}
label input {
  display: block;
  width: 100%;
  margin: 8px 0 18px;
}
input:not([type="checkbox"], [type="radio"]),
select {
  color: var(--text);
  background: #172023;
  border: 1px solid #354147;
  border-radius: 7px;
  padding: 12px 13px;
  min-width: 0;
}
input::placeholder {
  color: #748385;
}
input:focus {
  border-color: var(--green);
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
input[type="radio"] {
  accent-color: var(--green);
}
.form-error {
  color: #ffc0ac;
  font-size: 0.83rem;
  line-height: 1.6;
}
.form-error:empty {
  display: none;
}
.switch-auth {
  text-align: center;
  font-size: 0.8rem !important;
  margin: 20px 0 !important;
}
.switch-auth .text-btn {
  font-size: 0.8rem;
  margin-left: 4px;
}
.divider {
  height: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 24px 0 20px;
  font-size: 0.7rem;
  color: #7f9192;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.auth-form .centered {
  margin-top: 12px;
  font-size: 0.69rem;
}
.auth-note {
  display: flex;
  gap: 11px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 28px;
  color: #778b8c;
  font-size: 0.69rem;
  line-height: 1.7;
}
.auth-note .icon {
  width: 17px;
}
.legal-links {
  margin: 14px 0 0;
  color: #778b8c;
  font-size: 0.69rem;
}
.legal-links a,
.workspace-footer a {
  color: inherit;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 221px;
  flex-shrink: 0;
  background: #151d20;
  border-right: 1px solid var(--line);
  padding: 32px 19px 19px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.sidebar .brand {
  margin-left: 10px;
  font-size: 1.7rem;
}
.sidebar .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 2.1rem;
  border-radius: 10px;
}
.sidebar-label {
  font-size: 0.59rem;
  letter-spacing: 1.7px;
  color: #6f8385;
  display: block;
  margin: 51px 13px 17px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-item {
  border: 1px solid transparent;
  background: none;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 11px 13px;
  border-radius: 8px;
  color: #9dafb0;
  font-size: 0.85rem;
  min-height: 45px;
}
.nav-item.active {
  background: #27372f;
  border-color: #3a5040;
  color: #c2efc5;
}
.nav-item:hover:not(.active) {
  background: #202b2e;
  color: var(--text);
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.nav-add {
  margin-left: auto;
  color: #7c9690;
  font-size: 1.15rem;
}
.sidebar-bottom {
  margin-top: auto;
}
.sync-note {
  border: 1px solid #2a3a3b;
  background: #1a2728;
  border-radius: 9px;
  padding: 17px 14px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #aec3ba;
  font-size: 0.79rem;
  line-height: 1.6;
}
.sync-note .icon {
  color: #7aa18c;
  margin-top: 3px;
}
.account-btn {
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 3px 0;
  text-align: left;
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #bda891;
  color: #27312a;
  border-radius: 50%;
  font-size: 0.83rem;
  font-weight: 600;
}
.account-btn > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.account-btn strong {
  font-weight: 500;
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-btn small {
  font-size: 0.66rem;
  color: var(--muted);
}
.account-btn > .icon {
  width: 16px;
  color: #7b9292;
}
.workspace {
  margin-left: 221px;
  width: calc(100% - 221px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 79px;
  min-height: 79px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 20px;
}
.breadcrumb {
  font-size: 0.75rem;
  color: #8ea0a1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb span {
  color: #465759;
}
.breadcrumb strong {
  font-weight: 500;
  color: #d4ded9;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.date-label {
  font-size: 0.75rem;
  color: #90a1a1;
}
.mobile-menu {
  display: none;
}
#content {
  padding: 39px 38px 25px;
  flex: 1;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 29px;
}
.page-heading .eyebrow {
  font-size: 0.61rem;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
  color: #8da59a;
}
.page-heading h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 550;
}
.page-heading p {
  font-size: 0.85rem;
  margin: 0;
  color: #98a9aa;
}
.page-actions {
  display: flex;
  gap: 10px;
}

.channel-badge {
  --badge-hue: 140;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: hsl(var(--badge-hue) 17% 25%);
  color: hsl(var(--badge-hue) 43% 79%);
  border: 1px solid hsl(var(--badge-hue) 16% 35%);
  font-size: 0.95rem;
  letter-spacing: -0.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.favorite.selected {
  color: var(--green);
}
.favorite.selected .icon {
  fill: #8daf7955;
}

.program-progress {
  display: block;
  background: #334044;
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
}
.program-progress > span {
  display: block;
  height: 100%;
  background: #8db79a;
}

.workspace-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 19px 38px;
  color: #708789;
  font-size: 0.6rem;
  letter-spacing: 1.2px;
  margin-top: 15px;
}
.workspace-footer .version {
  font-size: 0.55rem;
  letter-spacing: 0.7px;
  margin-left: 12px;
  color: #4f6668;
}
.workspace-footer > span:last-child {
  letter-spacing: 0;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  border: 1px solid var(--line);
  background: #192225;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 0.76rem;
  white-space: nowrap;
}
.chip.active {
  background: #2c4133;
  color: #c4eac7;
  border-color: #4b644e;
}
.chip .icon {
  width: 14px;
  height: 14px;
}
.filter-tabs select {
  font-size: 0.76rem;
  padding: 8px 11px;
  max-width: 180px;
}

.inline-notice {
  font-size: 0.74rem;
  color: #d3caa4;
  border: 1px solid #414334;
  background: #292e26;
  padding: 11px 15px;
  border-radius: 7px;
  margin-bottom: 18px;
}
.inline-notice.subtle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1b2c26;
  color: #acbfaf;
  border-color: #314638;
  font-size: 0.73rem;
}
.inline-notice .icon {
  width: 16px;
}

.empty-state {
  min-height: 220px;
  padding: 45px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.empty-state > .icon {
  width: 34px;
  height: 34px;
  color: #728d88;
  margin-bottom: 20px;
}
.empty-state h2 {
  font-size: 1.2rem;
  margin-bottom: 9px;
}
.empty-state p {
  font-size: 0.85rem;
  max-width: 440px;
}
.empty-state .btn {
  margin-top: 5px;
}

.provider-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.provider-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.provider-icon {
  background: #293c32;
  color: #acd4b1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.provider-info {
  flex: 1;
  min-width: 0;
}
.provider-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.provider-title h2 {
  font-size: 1.15rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.provider-info > p {
  font-size: 0.8rem;
  margin-bottom: 17px;
}
.provider-meta {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  font-size: 0.67rem;
  color: #8ea5a1;
}
.provider-meta > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.provider-meta .icon {
  width: 13px;
  height: 13px;
}
.provider-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}
.provider-actions .btn {
  font-size: 0.73rem;
  min-height: 36px;
  padding: 7px 11px;
}
.provider-actions .text-btn {
  font-size: 0.7rem;
}
.provider-collection {
  margin-top: 17px;
  padding: 13px 15px;
  border-left: 2px solid var(--green);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
}
.provider-collection strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}
.provider-collection .icon { width: 16px; height: 16px; flex-shrink: 0; }
.provider-collection p { font-size: 0.74rem; margin: 7px 0 0; }

.collection-picker select, #provider-collection-form select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  text-overflow: ellipsis;
}

.info-panel {
  display: flex;
  gap: 16px;
  padding: 24px;
  margin-top: 25px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #162322;
}
.info-panel > .icon {
  color: #9db7a4;
  margin-top: 2px;
}
.info-panel h3 {
  font-size: 0.94rem;
  margin-bottom: 10px;
}
.info-panel p {
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 10px;
}
.info-panel .small {
  font-size: 0.72rem;
  margin-bottom: 0;
}
.device-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin-bottom: 12px;
}
.device-card > .icon {
  width: 29px;
  height: 29px;
  color: #9cb2ac;
}
.device-card > div {
  flex: 1;
}
.device-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.device-card p {
  font-size: 0.73rem;
  margin: 0;
}
.device-card .btn {
  font-size: 0.75rem;
}
.pair-help {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid #3b4d40;
  background: #203126;
  padding: 30px;
  border-radius: 13px;
  margin-top: 30px;
}
.pair-help > div {
  max-width: 400px;
}
.pair-help .eyebrow {
  font-size: 0.6rem;
}
.pair-help h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.pair-help p {
  font-size: 0.82rem;
  color: #acbfb0;
  line-height: 1.75;
}
.pair-help .btn {
  font-size: 0.78rem;
}
.pair-help-steps {
  min-width: 245px;
  padding-top: 10px;
}
.pair-help-steps p {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}
.pair-help-steps span {
  border: 1px solid #506c52;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.loading-line {
  padding: 25px;
  text-align: center;
  color: var(--muted);
}
dialog {
  background: #1a2326;
  color: var(--text);
  border: 1px solid #44514f;
  border-radius: 17px;
  padding: 30px;
  max-width: 510px;
  width: calc(100% - 40px);
  box-shadow: 0 25px 100px #0007;
  max-height: 90vh;
  overflow-y: auto;
}
dialog::backdrop {
  background: #080e10bd;
  backdrop-filter: blur(5px);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.modal-head .eyebrow {
  font-size: 0.6rem;
  letter-spacing: 1.2px;
  color: #a3b8a9;
  margin-bottom: 10px;
}
.modal-head h2 {
  font-size: 1.55rem;
  margin: 0;
  font-weight: 550;
}
.modal-head .icon-btn {
  margin-top: -8px;
  margin-right: -8px;
}
dialog > p {
  font-size: 0.83rem;
  line-height: 1.7;
}
dialog form {
  margin-top: 20px;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.two-fields[hidden] {
  display: none;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}
.code-input {
  text-align: center;
  font-size: 1.8rem !important;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-family: monospace;
  font-weight: 600;
}
.player-dialog {
  max-width: 950px;
}
.player-dialog video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #070b0d;
  border-radius: 8px;
}
.player-dialog #play-status {
  margin: 13px 0 5px;
}
.player-dialog > p:last-child {
  margin: 0;
  font-size: 0.73rem;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: 0.2s;
  background: #d9edd9;
  color: #203027;
  font-size: 0.8rem;
  box-shadow: 0 5px 25px #0006;
  padding: 14px 20px;
  border: 1px solid #b9d4b6;
  border-radius: 9px;
  z-index: 100;
  width: max-content;
  max-width: min(90vw, 540px);
  pointer-events: none;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.tv-pair-screen {
  min-height: 100vh;
  padding: 45px 7vw;
  background: radial-gradient(ellipse at 90% 50%, #294c333b, transparent 65%);
}
.tv-pair-screen > .small {
  margin-top: 30px;
  font-size: 0.77rem;
}
.tv-pair-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  max-width: 1150px;
  margin: 80px auto 0;
  align-items: center;
}
.tv-pair-card h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.08;
}
.tv-pair-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 470px;
}
.tv-pair-card .eyebrow {
  color: #abc7ae;
  font-size: 0.71rem;
}
.tv-pair-card label {
  max-width: 360px;
  margin-top: 25px;
}
.tv-pair-card .text-link {
  display: block;
  margin-top: 25px;
  color: #a5bcb0;
  font-size: 0.85rem;
}
.pair-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border: 1px solid #35503a;
  border-radius: 25px;
  padding: 75px 25px;
  background: #24382a;
  color: var(--green);
}
.pair-illustration .icon {
  width: 120px;
  height: 120px;
  stroke-width: 1;
}
.pair-illustration span {
  font-size: 2rem;
  text-align: center;
  font-weight: 400;
}
.qr-wrap {
  padding: 35px;
  background: #1e2d26;
  border: 1px solid #3e5541;
  border-radius: 20px;
  justify-self: center;
  text-align: center;
  max-width: 330px;
}
.qr-wrap > #qr {
  padding: 18px;
  background: #fff;
  display: inline-block;
  border-radius: 12px;
}
.qr-wrap > span {
  display: block;
  margin-top: 20px;
  color: #c0d4c2;
}
.qr-wrap #local-qr-note {
  font-size: 0.73rem;
  margin-top: 15px;
  margin-bottom: 0;
}
.qr-wrap img {
  display: block;
}
.display-code {
  font-size: 2.9rem;
  font-family: monospace;
  letter-spacing: 6px;
  font-weight: 500;
  margin: 25px 0;
  color: var(--green);
}
.pair-waiting {
  margin-top: 45px;
  font-size: 0.9rem;
  color: #9abb9d;
}
.tv-library {
  max-width: 1800px;
  margin: 0 auto;
  padding: 35px 55px;
}
.tv-library > header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 65px;
}
.tv-library > header .brand {
  margin-right: auto;
}
.tv-library .page-heading h1 {
  font-size: 2.5rem;
}
.tv-library .filter-tabs {
  margin: 25px 0;
}
.tv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tv-channel {
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border: 1px solid #344740;
  background: #1d2a25;
  border-radius: 13px;
}
.tv-channel .channel-badge {
  width: 50px;
  height: 50px;
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.tv-channel strong {
  font-size: 1.15rem;
}
.tv-channel > span:not(.channel-badge) {
  color: #acb9b0;
  font-size: 0.9rem;
}
.tv-channel .program-progress {
  width: 100%;
  margin-top: 15px;
}
.tv-channel:focus {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  background: #2e4934;
}
.tv-grid .empty-state {
  grid-column: 1/-1;
}
@media (min-width: 1600px) {
  #content {
    padding-top: 48px;
  }
  
  
  
  
}
@media (max-width: 1150px) {
  .sidebar {
    width: 190px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  #content {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .topbar-right {
    gap: 12px;
  }
  .date-label {
    display: none;
  }
  .page-heading h1 {
    font-size: 1.8rem;
  }
  .page-actions .btn {
    font-size: 0.75rem;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .provider-meta {
    gap: 10px;
  }
  .pair-help-steps {
    min-width: 220px;
  }
  .tv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 850px) {
  .auth-story {
    padding: 35px;
  }
  .auth-copy {
    margin-top: 65px;
  }
  .auth-copy h1 {
    font-size: 3.7rem;
  }
  .setup-preview {
    padding: 16px;
  }
  .preview-channel div span {
    display: none;
  }
  .preview-channel strong {
    font-size: 0.7rem;
  }
  .auth-form-wrap {
    padding: 40px 27px;
  }
  .auth-form h2 {
    font-size: 1.6rem;
  }
  .sidebar {
    width: 76px;
    padding: 25px 10px;
  }
  .sidebar .brand {
    margin: 0 auto;
  }
  .sidebar .brand > span:last-child,
  .sidebar-label,
  .nav-item > span,
  .sidebar-bottom .sync-note,
  .account-btn > span:nth-child(2),
  .account-btn > .icon {
    display: none;
  }
  .sidebar nav {
    margin-top: 45px;
  }
  .nav-item {
    padding: 12px 0;
    justify-content: center;
  }
  .nav-item .icon {
    width: 21px;
    height: 21px;
  }
  .account-btn {
    justify-content: center;
  }
  .workspace {
    margin-left: 76px;
    width: calc(100% - 76px);
  }
  .breadcrumb {
    font-size: 0.68rem;
    gap: 10px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 1.75rem;
  }
  .page-heading p {
    font-size: 0.78rem;
    max-width: 370px;
  }
  .page-actions .btn {
    padding: 8px 11px;
    font-size: 0.68rem;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .provider-card {
    padding: 20px;
    gap: 14px;
  }
  .provider-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .provider-title h2 {
    font-size: 1rem;
  }
  .provider-icon {
    width: 35px;
    height: 35px;
  }
  .provider-info > p {
    font-size: 0.74rem;
  }
  .provider-meta {
    flex-direction: column;
  }
  .pair-help {
    padding: 23px;
    gap: 20px;
  }
  .pair-help h2 {
    font-size: 1.35rem;
  }
  .pair-help-steps {
    min-width: 190px;
  }
  
  
  
  
  
  
  
  .filter-tabs select {
    max-width: 130px;
  }
  .chip {
    font-size: 0.68rem;
    padding: 8px 10px;
  }
  
  
  
  
  .tv-pair-card {
    gap: 35px;
  }
  .tv-library {
    padding: 30px;
  }
  .tv-library > header {
    flex-wrap: wrap;
  }
  .tv-library .page-heading h1 {
    font-size: 2rem;
  }
  .tv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .auth-layout {
    display: block;
  }
  .auth-story {
    padding: 23px 27px 35px;
  }
  .auth-story .brand {
    font-size: 1.55rem;
  }
  .auth-story .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 2rem;
  }
  .auth-copy {
    margin-top: 35px;
  }
  .auth-copy .eyebrow {
    font-size: 0.52rem;
    margin-bottom: 12px;
  }
  .auth-copy h1 {
    font-size: 2.7rem;
    letter-spacing: -1.5px;
    margin-bottom: 0;
  }
  .auth-copy h1 br:first-child {
    display: none;
  }
  .auth-copy p {
    display: none;
  }
  .setup-preview,
  .auth-footer {
    display: none;
  }
  .auth-form-wrap {
    padding: 32px 27px 40px;
  }
  .auth-form {
    max-width: none;
  }
  .auth-form h2 {
    font-size: 1.6rem;
  }
  .auth-form > p {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }
  .auth-form form {
    margin-top: 21px;
  }
  .auth-form > .eyebrow {
    display: none;
  }
  .sidebar {
    display: none;
    inset: 65px auto 0 0;
    width: 220px;
    padding: 25px 18px;
    background: #182225;
  }
  .sidebar.open {
    display: flex;
    box-shadow: 10px 0 50px #0007;
  }
  .sidebar .brand {
    margin-left: 10px;
  }
  .sidebar .brand > span:last-child,
  .sidebar-label,
  .nav-item > span,
  .sidebar-bottom .sync-note,
  .account-btn > span:nth-child(2),
  .account-btn > .icon {
    display: initial;
  }
  .sidebar-label {
    margin-top: 30px;
  }
  .sidebar nav {
    margin-top: 0;
  }
  .nav-item {
    justify-content: flex-start;
    padding-left: 14px;
  }
  .account-btn {
    text-align: left;
    justify-content: flex-start;
  }
  .account-btn > span:nth-child(2) {
    display: flex;
  }
  .workspace {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: 65px;
    min-height: 65px;
    padding: 0 17px;
    gap: 9px;
    position: sticky;
    top: 0;
    z-index: 9;
    background: #111719f2;
    backdrop-filter: blur(12px);
  }
  .mobile-menu {
    display: flex;
  }
  .breadcrumb {
    flex: 1;
  }
  .breadcrumb > span,
  .breadcrumb {
    font-size: 0;
    gap: 0;
  }
  .breadcrumb strong {
    font-size: 0.8rem;
  }
  .topbar-right .demo-pill {
    font-size: 0.56rem;
    padding: 3px 6px;
  }
  .topbar-right {
    gap: 9px;
  }
  .topbar-right .btn {
    font-size: 0.69rem;
    padding: 7px 8px;
  }
  .topbar-right .btn .icon {
    width: 14px;
    height: 14px;
  }
  #content {
    padding: 26px 19px 20px;
  }
  .page-heading {
    margin-bottom: 23px;
    display: block;
  }
  .page-heading .eyebrow {
    font-size: 0.55rem;
    margin-bottom: 11px;
  }
  .page-heading h1 {
    font-size: 1.8rem;
  }
  .page-heading p {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  .page-actions {
    margin-top: 17px;
  }
  .page-actions:empty {
    display: none;
  }
  .page-actions .btn {
    font-size: 0.76rem;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .workspace-footer {
    padding: 17px 19px;
  }
  .workspace-footer > span:last-child {
    display: none;
  }
  .workspace-footer .version {
    margin-left: 8px;
  }
  
  .filter-tabs {
    gap: 6px;
    flex-wrap: wrap;
  }
  .filter-tabs select {
    max-width: 150px;
    flex: 1;
    font-size: 0.69rem;
    min-height: 35px;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .inline-notice {
    font-size: 0.68rem;
    padding: 10px 12px;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  .provider-card {
    flex-wrap: wrap;
    padding: 19px;
    gap: 13px;
  }
  .provider-info {
    flex-basis: calc(100% - 50px);
  }
  .provider-actions {
    flex-direction: row;
    width: 100%;
    margin-left: 48px;
    gap: 20px;
  }
  .provider-meta {
    gap: 8px;
  }
  .provider-info > p {
    margin-bottom: 13px;
  }
  .info-panel {
    padding: 20px;
    gap: 12px;
  }
  .info-panel h3 {
    font-size: 0.86rem;
  }
  .info-panel p {
    font-size: 0.76rem;
  }
  .info-panel .small {
    font-size: 0.67rem;
  }
  .device-card {
    gap: 12px;
    padding: 17px;
    flex-wrap: wrap;
  }
  .device-card .pill {
    font-size: 0.59rem;
  }
  .device-card > .icon {
    width: 23px;
  }
  .device-card h3 {
    font-size: 0.9rem;
  }
  .device-card .btn {
    margin-left: 35px;
    min-height: 33px;
    font-size: 0.69rem;
  }
  .pair-help {
    display: block;
    padding: 25px;
  }
  .pair-help-steps {
    padding-top: 25px;
  }
  .pair-help-steps p {
    margin-bottom: 15px;
  }
  .pair-help-steps p:last-child {
    margin-bottom: 0;
  }
  
  
  
  
  
  
  dialog {
    padding: 24px;
    width: calc(100% - 24px);
    border-radius: 13px;
  }
  .modal-head h2 {
    font-size: 1.35rem;
  }
  .modal-head .eyebrow {
    font-size: 0.55rem;
  }
  .two-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-head {
    gap: 10px;
  }
  .player-dialog {
    padding: 18px;
  }
  .tv-pair-screen {
    padding: 25px;
  }
  .tv-pair-card {
    display: flex;
    flex-direction: column;
    margin-top: 45px;
    gap: 35px;
    align-items: stretch;
  }
  .tv-pair-card h1 {
    font-size: 2.75rem;
  }
  .tv-pair-card p {
    font-size: 0.9rem;
  }
  .tv-pair-card .eyebrow {
    font-size: 0.58rem;
  }
  .pair-illustration {
    display: none;
  }
  .qr-wrap {
    align-self: center;
    max-width: 100%;
    padding: 25px;
  }
  .tv-library {
    padding: 22px;
  }
  .tv-library > header {
    margin-bottom: 35px;
    gap: 11px;
  }
  .tv-library > header .pill {
    font-size: 0.6rem;
  }
  .tv-library > header .btn {
    font-size: 0.69rem;
    min-height: 34px;
    padding: 7px 10px;
  }
  .tv-library > header .brand {
    font-size: 1.55rem;
  }
  .tv-library > header .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 2rem;
  }
  .tv-library .page-heading {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .tv-library .page-heading h1 {
    font-size: 1.6rem;
  }
  .tv-library .page-heading > .muted {
    font-size: 0.7rem;
  }
  .tv-grid {
    gap: 13px;
  }
  .tv-channel {
    padding: 16px;
    gap: 8px;
  }
  .tv-channel strong {
    font-size: 0.9rem;
  }
  .tv-channel > span:not(.channel-badge) {
    font-size: 0.7rem;
  }
  .tv-channel .channel-badge {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.guide-notice { align-items: center; gap: 15px; }
.guide-notice > div { flex: 1; }
.guide-notice strong { display: block; color: var(--coral); }
.guide-notice p { margin: 4px 0 0; font-size: .8rem; }

@media (max-width: 600px) {
  .guide-notice { flex-wrap: wrap; }
  .guide-notice > div { flex-basis: calc(100% - 40px); }
  .guide-notice .btn { margin-left: 35px; }
  
  
  
  
  
  
  
}

/* Single-column account pages: forgot and reset password. */
.auth-layout.single {
  grid-template-columns: 1fr;
}
.auth-layout.single .brand {
  display: flex;
  width: max-content;
  margin-bottom: 32px;
}
.forgot-link {
  display: block;
  margin: 14px auto 0;
}
.verify-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px clamp(18px, 3vw, 40px) 0;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #d3caa4;
  border: 1px solid #414334;
  background: #292e26;
  border-radius: 7px;
}
.verify-banner > span {
  flex: 1;
}
.verify-banner .icon {
  flex: none;
}
@media (max-width: 600px) {
  .verify-banner {
    flex-wrap: wrap;
  }
}

/* Setup checklist */
.setup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 28px;
}
.setup-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.setup-step {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.setup-step:last-child {
  border-bottom: 0;
}
.setup-step h2 {
  margin: 0 0 3px;
  font-size: 1.12rem;
}
.setup-step p {
  margin: 0;
  color: var(--muted);
}
.setup-step p strong {
  color: var(--text);
}
.setup-step .form-error {
  display: block;
  margin-top: 4px;
}
.step-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--raised);
  font-weight: 700;
}
.setup-step.done .step-mark {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--green);
}
.setup-step.done .step-mark .icon {
  width: 20px;
  height: 20px;
}
.setup-step.locked {
  opacity: 0.55;
}
.setup-step .text-link {
  color: var(--green);
  white-space: nowrap;
}
.centered-link {
  display: block;
  margin: 6px auto 0;
}
.provider-tv-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Channel artwork: network logos on a neutral tile, lettered badge as fallback */
.channel-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.channel-logo img {
  /* Pinned to the tile: a percentage height in an auto grid row would fall back
     to the image's natural size and overflow the guide row. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.channel-logo:not(.failed) .channel-badge {
  display: none;
}
.channel-logo.failed img {
  display: none;
}

/* Lineup preview, laid out like a TV guide (TiviMate-style) */
.tvp {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 520px;
  background: #1c2529;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tvp-ribbon {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--green-dark);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tvp-ribbon .icon {
  width: 14px;
  height: 14px;
}
.tvp-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  background: #222c30;
  border-right: 1px solid var(--line);
  max-height: 860px;
  overflow-y: auto;
}
.tvp-search {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
}
.tvp-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: none;
  color: var(--text);
}
.tvp-search input:focus {
  outline: none;
}
.tvp-search .icon {
  width: 16px;
  height: 16px;
}
.tvp-group {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
}
.tvp-group span {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tvp-group small {
  color: var(--muted);
  font-weight: 500;
}
.tvp-group .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.tvp-group:hover {
  background: var(--raised);
}
.tvp-group.active {
  background: var(--text);
  color: var(--bg);
}
.tvp-group.active small {
  color: #4a5558;
}
.tvp-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tvp-detail {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  min-height: 168px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--line);
}
.tvp-detail-logo .channel-logo,
.tvp-detail-logo .channel-badge {
  width: 112px;
  height: 84px;
  font-size: 1.6rem;
}
.tvp-detail-copy {
  min-width: 0;
  padding-right: 170px;
}
.tvp-detail-copy h2 {
  margin: 2px 0 6px;
  font-size: 1.45rem;
  line-height: 1.25;
}
.tvp-detail-copy p {
  margin: 6px 0 0;
}
.tvp-detail-time {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.tvp-detail-time .program-progress {
  width: 90px;
  margin: 0;
}
.tvp-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #c9d2d0;
  font-size: 0.92rem;
}
.tvp-grid {
  --tvp-channel: 250px;
  --tvp-now: 0;
  position: relative;
}
.tvp-timebar {
  display: grid;
  grid-template-columns: var(--tvp-channel) 1fr;
  align-items: end;
  height: 40px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--line);
}
.tvp-date {
  padding-left: 18px;
  color: var(--green);
  font-weight: 700;
}
.tvp-hours {
  position: relative;
  height: 22px;
}
.tvp-hours span {
  position: absolute;
  padding-left: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}
.tvp-now {
  position: absolute;
  top: 18px;
  bottom: 0;
  left: calc(var(--tvp-channel) + (100% - var(--tvp-channel)) * var(--tvp-now));
  z-index: 1;
  width: 2px;
  background: var(--coral);
  pointer-events: none;
}
.tvp-row {
  display: grid;
  grid-template-columns: var(--tvp-channel) 1fr;
  height: 54px;
  border-bottom: 1px solid #263034;
  cursor: pointer;
}
.tvp-channel {
  display: grid;
  grid-template-columns: 34px 52px 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 10px 0 6px;
  border: 0;
  background: none;
  text-align: left;
}
.tvp-number {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}
.tvp-channel .channel-logo,
.tvp-channel .channel-badge {
  width: 52px;
  height: 36px;
}
.tvp-channel .channel-badge {
  border-radius: 6px;
  font-size: 0.8rem;
}
.tvp-channel strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
}
.tvp-cells {
  position: relative;
  overflow: hidden;
}
.tvp-cell {
  position: absolute;
  top: 5px;
  bottom: 5px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  overflow: hidden;
  border-left: 3px solid #1c2529;
  background: #2b363a;
  color: #dbe2df;
  font-size: 0.88rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tvp-cell.live {
  background: #34434a;
}
.tvp-cell.empty {
  background: #232d31;
  color: var(--muted);
}
.tvp-row:hover .tvp-cell,
.tvp-row.selected .tvp-cell {
  background: #48585e;
}
.tvp-row.selected .tvp-channel strong {
  color: var(--green);
}
.tvp-empty {
  padding: 30px;
  color: var(--muted);
}
.tvp-pager {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  padding: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 1150px) {
  .tvp {
    grid-template-columns: 1fr;
  }
  .tvp-rail {
    flex-direction: row;
    flex-wrap: nowrap;
    max-height: none;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .tvp-search {
    min-width: 200px;
    margin: 0 6px 0 0;
  }
  .tvp-group {
    flex-shrink: 0;
  }
  .tvp-detail-copy {
    padding-right: 0;
  }
  .tvp-ribbon {
    position: static;
    justify-self: start;
    margin: 12px 0 0 12px;
  }
}
@media (max-width: 700px) {
  .tvp-grid {
    --tvp-channel: 150px;
  }
  .tvp-channel {
    grid-template-columns: 0 44px 1fr;
  }
  .tvp-number {
    visibility: hidden;
  }
  .tvp-hours span:nth-child(even) {
    display: none;
  }
  .tvp-rail {
    align-items: center;
  }
  .tvp-detail-logo {
    display: none;
  }
  .setup-card {
    padding: 4px 16px;
  }
  .setup-step {
    grid-template-columns: 40px 1fr;
  }
  .step-action {
    grid-column: 2;
  }
}
