:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #fff;
  --raised: #f8f8f8;
  --soft: #f2f2f2;
  --hover: #e5e5e5;
  --text: #0f0f0f;
  --muted: #606060;
  --line: #e5e5e5;
  --red: #ff0033;
  --blue: #065fd4;
  --green: #0f8b4c;
  --amber: #9a6700;
  --shadow: 0 16px 50px rgba(15, 15, 15, 0.1);
  font-family: Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0f0f;
  --surface: #0f0f0f;
  --raised: #181818;
  --soft: #272727;
  --hover: #3f3f3f;
  --text: #f1f1f1;
  --muted: #aaa;
  --line: #303030;
  --blue: #3ea6ff;
  --green: #2ba56a;
  --amber: #f5b942;
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yt-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
}
.yt-brand svg {
  width: 31px;
  height: 22px;
  fill: none;
  stroke: none;
}
.yt-brand strong {
  font-family: "Arial Narrow", Roboto, Arial, sans-serif;
  font-size: 21px;
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -1.6px;
}
.primary-button,
.text-button,
.quiet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}
.primary-button {
  min-height: 46px;
  border: 0;
  border-radius: 23px;
  padding: 0 24px;
  background: var(--text);
  color: var(--bg);
}
.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
}
.primary-button:active {
  transform: scale(0.98);
}
.primary-button:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
  transform: none;
}
.primary-button.small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}
.text-button {
  height: 40px;
  padding: 0 15px;
  border-radius: 20px;
}
.text-button:hover {
  background: var(--soft);
}
.icon-button,
.avatar-button,
.table-icon {
  border: 0;
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
}
.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--soft);
}
.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}
.site-nav {
  max-width: 1320px;
  height: 100%;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
}
.site-nav nav a {
  text-decoration: none;
  color: var(--muted);
}
.site-nav nav a:hover {
  color: var(--text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.avatar-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #7e57c2;
  color: #fff;
  font-weight: 700;
}
.hero {
  max-width: 1320px;
  min-height: 680px;
  margin: auto;
  padding: 100px 28px 110px;
  display: grid;
  grid-template-columns: minmax(400px, 0.9fr) minmax(500px, 1.1fr);
  gap: 70px;
  align-items: center;
  overflow: hidden;
}
.hero-kicker,
.section-heading > span,
.section-label,
.manager-title > div > span,
.admin-heading > div > span {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 20px 0 28px;
}
.hero h1 span {
  color: var(--muted);
}
.hero-copy > p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 610px;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}
.quiet-link {
  gap: 8px;
}
.quiet-link svg {
  width: 20px;
}
.hero-visual {
  height: 500px;
  position: relative;
}
.tv-frame {
  position: absolute;
  top: 10px;
  right: -35px;
  width: 620px;
  height: 365px;
  background: var(--surface);
  border: 8px solid #222;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.screen-top {
  height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.screen-grid {
  padding: 10px 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.screen-grid i {
  display: block;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: linear-gradient(135deg, #d8d8d8, #8b8b8b);
}
.screen-grid i:nth-child(2) {
  background: linear-gradient(135deg, #ffb15e, #c6332b);
}
.screen-grid i:nth-child(3) {
  background: linear-gradient(135deg, #77b7d8, #305678);
}
.screen-grid i:nth-child(4) {
  background: linear-gradient(135deg, #dcb77d, #817153);
}
.phone-frame {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 230px;
  height: 390px;
  border: 8px solid #202020;
  border-radius: 34px;
  background: var(--surface);
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: rotate(-3deg);
}
.phone-video {
  height: 220px;
  border-radius: 18px;
  background: linear-gradient(150deg, #f03, #8d001d);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  margin-bottom: 18px;
}
.phone-frame b,
.phone-frame small {
  display: block;
  padding: 0 7px;
}
.phone-frame small {
  color: var(--muted);
  margin-top: 7px;
}
.trust-strip {
  border-block: 1px solid var(--line);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  color: var(--muted);
  font-size: 14px;
}
.trust-strip span:before {
  content: "●";
  color: var(--green);
  font-size: 9px;
  margin-right: 10px;
}
.feature-section {
  max-width: 1200px;
  margin: auto;
  padding: 130px 28px;
}
.section-heading h2,
.download-section h2 {
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 14px 0 58px;
}
.feature-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.feature-flow article {
  padding: 32px 36px 46px 0;
  border-right: 1px solid var(--line);
}
.feature-flow article + article {
  padding-left: 36px;
}
.feature-flow article:last-child {
  border: 0;
}
.feature-flow b {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 13px;
}
.feature-flow h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
  margin: 48px 0 13px;
}
.feature-flow p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.library-section {
  max-width: 1320px;
  margin: 0 auto 130px;
  padding: 84px 48px 48px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 5%, color-mix(in srgb, var(--red) 10%, transparent), transparent 29%),
    var(--raised);
  overflow: hidden;
}
.library-heading {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(320px, 0.85fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}
.library-heading > div > span,
.library-copy small,
.lightbox-eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.library-heading h2 {
  max-width: 720px;
  margin: 13px 0 0;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.052em;
}
.library-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.library-card {
  grid-column: span 4;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  box-shadow: 0 1px 0 rgba(15, 15, 15, 0.04);
  transition: transform 0.28s cubic-bezier(.2,.75,.25,1), box-shadow 0.28s, border-color 0.28s;
}
.library-card.wide {
  grid-column: span 6;
}
.library-card:hover {
  z-index: 2;
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--text) 22%, var(--line));
  box-shadow: 0 22px 46px rgba(15, 15, 15, 0.14);
}
.library-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.library-media {
  position: relative;
  display: block;
  height: 450px;
  overflow: hidden;
  background: #d8d8d8;
}
.library-card.wide .library-media {
  height: auto;
  aspect-ratio: 16 / 8.4;
}
.library-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(.2,.75,.25,1), filter 0.3s;
}
.library-card:hover .library-media img {
  transform: scale(1.025);
  filter: saturate(1.04);
}
.library-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  height: 38px;
  padding: 0 13px;
  border-radius: 19px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 15, 15, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transform: translateY(5px);
  opacity: 0;
  transition: 0.22s;
}
.library-zoom svg {
  width: 16px;
  height: 16px;
}
.library-card:hover .library-zoom,
.library-card:focus-visible .library-zoom {
  opacity: 1;
  transform: translateY(0);
}
.library-copy {
  display: block;
  padding: 24px 24px 27px;
}
.library-copy small,
.library-copy strong,
.library-copy > span {
  display: block;
}
.library-copy strong {
  margin: 10px 0 9px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.library-copy > span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}
.library-notes {
  margin-top: 20px;
  padding: 24px 5px 3px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}
.library-notes span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.library-notes b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}
.lightbox-open {
  overflow: hidden;
}
.library-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 24px;
  display: grid;
  place-items: center;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(18px);
}
.lightbox-panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100dvh - 48px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr) auto;
  overflow: hidden;
  background: #0b0b0b;
  color: #fff;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
  animation: lightbox-in 0.24s ease-out both;
}
@keyframes lightbox-in {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
}
.lightbox-toolbar {
  padding: 0 12px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-count {
  color: #aaa;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.lightbox-close,
.lightbox-arrow {
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
}
.lightbox-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 300;
}
.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
}
.lightbox-stage {
  position: relative;
  min-height: 260px;
  padding: 18px 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
}
.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: min(66dvh, 730px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 12px 44px rgba(0, 0, 0, .5);
}
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 36px;
  transform: translateY(-50%);
}
.lightbox-arrow.previous { left: 14px; }
.lightbox-arrow.next { right: 14px; }
.lightbox-caption {
  padding: 21px 26px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-caption strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 20px;
}
.lightbox-caption p {
  max-width: 900px;
  margin: 0;
  color: #aaa;
  font-size: 14px;
  line-height: 1.55;
}
.guide-section {
  max-width: 1200px;
  margin: 0 auto 130px;
  padding: 0 28px;
}
.guide-heading {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(320px, .9fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 48px;
}
.guide-heading > div > span,
.guide-manage > div:first-child > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.guide-heading h2 {
  margin: 13px 0 0;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.05;
  letter-spacing: -.05em;
}
.guide-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.guide-step {
  grid-column: span 4;
  min-width: 0;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.guide-step:nth-child(-n + 2) {
  grid-column: span 6;
}
.guide-step-number {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guide-step-number b {
  color: var(--red);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.guide-step-number span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.guide-step h3 {
  margin: 25px 0 19px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.guide-step ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.guide-step li {
  padding-left: 5px;
}
.guide-step li + li {
  margin-top: 10px;
}
.guide-step li::marker {
  color: var(--text);
  font-weight: 700;
}
.guide-step a {
  color: var(--blue);
  font-weight: 600;
  text-underline-offset: 3px;
}
.guide-warning {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  background: color-mix(in srgb, var(--green) 8%, transparent);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.guide-manage {
  margin-top: 16px;
  padding: 36px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 54px;
  align-items: center;
  background: var(--soft);
}
.guide-manage h3 {
  margin: 10px 0 10px;
  font-size: 28px;
  letter-spacing: -.035em;
}
.guide-manage p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.guide-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.guide-paths > div {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.guide-paths small,
.guide-paths strong,
.guide-paths span {
  display: block;
}
.guide-paths small {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.guide-paths strong {
  margin: 9px 0 8px;
  overflow-wrap: anywhere;
  font-size: 15px;
}
.guide-paths span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.download-section {
  max-width: 1260px;
  margin: 0 auto 120px;
  padding: 64px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  background: var(--soft);
  border-radius: 32px;
}
.download-section h2 {
  font-size: 44px;
  margin: 14px 0 18px;
}
.download-section > div > p {
  color: var(--muted);
  line-height: 1.6;
}
.device-list {
  display: grid;
  gap: 12px;
}
.device-card {
  position: relative;
  min-height: 86px;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 15px;
  align-items: center;
  text-decoration: none;
  background: var(--surface);
  border-radius: 15px;
  transition: 0.2s;
}
.device-card.compatible {
  border: 1px solid color-mix(in srgb, var(--green) 45%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 8%, transparent);
}
.compatible-label {
  position: absolute;
  top: -9px;
  right: 14px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .02em;
}
.device-card:hover {
  transform: translateX(4px);
}
.device-card.disabled {
  opacity: 0.55;
  pointer-events: none;
}
.device-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft);
}
.device-card b,
.device-card small {
  display: block;
}
.device-card small {
  color: var(--muted);
  margin-top: 5px;
}
.device-card em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
footer {
  max-width: 1320px;
  margin: auto;
  padding: 42px 28px 50px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: var(--muted);
  font-size: 13px;
}
footer p {
  margin: 12px 0 0;
}
.auth-page {
  min-height: 100dvh;
}
.auth-page > header {
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-page > header > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.auth-page > header a {
  text-decoration: none;
  font-size: 14px;
}
.auth-page > main {
  min-height: calc(100dvh - 72px);
  padding: 50px 24px 90px;
  display: grid;
  place-items: center;
}
.auth-panel {
  width: min(920px, 100%);
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  background: var(--surface);
}
.auth-intro > span .yt-brand {
  display: none;
}
.auth-intro h1 {
  font-size: 44px;
  letter-spacing: -0.04em;
  margin: 38px 0 15px;
}
.auth-intro p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 360px;
}
.auth-fields {
  align-self: center;
}
.auth-field {
  display: block;
  margin-bottom: 16px;
}
.auth-field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 7px;
}
.auth-field input,
.settings-form input {
  width: 100%;
  height: 54px;
  border: 1px solid #747775;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 0 14px;
  outline: 0;
}
.auth-field input:focus,
.settings-form input:focus {
  border: 2px solid var(--blue);
  padding-inline: 13px;
}
.otp-input {
  text-align: center;
  font-size: 24px;
  letter-spacing: 8px;
  font-variant-numeric: tabular-nums;
}
.submit-button {
  float: right;
  margin-top: 8px;
}
.auth-links {
  clear: both;
  padding-top: 27px;
  display: flex;
  justify-content: space-between;
}
.auth-links a,
.auth-links button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.form-error {
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--red) 11%, transparent);
  color: var(--red);
  font-size: 14px;
  line-height: 1.4;
}
.manager-shell {
  min-height: 100dvh;
  background: var(--bg);
}
.manager-header {
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.manager-header > div,
.manager-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.manager-label {
  font-size: 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.home-button {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.home-button:hover {
  background: var(--soft);
}
.home-button svg {
  width: 20px;
}
.account-chip {
  border: 0;
  background: transparent;
  color: var(--text);
  height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px;
  border-radius: 24px;
}
.account-chip:hover {
  background: var(--soft);
}
.account-chip > span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #7e57c2;
  color: #fff;
  font-weight: 700;
}
.account-chip small {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.manager-main,
.admin-main {
  max-width: 1220px;
  margin: auto;
  padding: 58px 28px 120px;
}
.platform-tabs {
  display: flex;
  gap: 10px;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.platform-tab {
  min-width: 190px;
  min-height: 62px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: border-color .18s, background .18s, transform .18s;
}
.platform-tab:hover {
  background: var(--soft);
  transform: translateY(-1px);
}
.platform-tab.active {
  border-color: color-mix(in srgb, var(--red) 65%, var(--line));
  background: color-mix(in srgb, var(--red) 6%, var(--surface));
  box-shadow: inset 0 -3px 0 var(--red);
}
.platform-tab svg {
  flex: 0 0 auto;
  width: 36px;
  height: 26px;
}
.platform-tab span,
.platform-tab strong,
.platform-tab small {
  display: block;
}
.platform-tab strong {
  font-size: 14px;
  margin-bottom: 4px;
}
.platform-tab small {
  color: var(--muted);
  font-size: 11px;
}
.manager-title,
.admin-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.manager-title h1,
.admin-heading h1 {
  font-size: 38px;
  letter-spacing: -0.035em;
  margin: 10px 0;
}
.manager-title p,
.admin-heading p {
  color: var(--muted);
  margin: 0;
}
.sync-state {
  min-width: 110px;
  padding: 14px 16px;
  background: var(--soft);
  border-radius: 13px;
}
.sync-state small,
.sync-state strong {
  display: block;
}
.sync-state small {
  color: var(--muted);
  margin-bottom: 7px;
}
.sync-state strong {
  font-size: 22px;
}
.add-video {
  height: 70px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.add-video > span {
  display: grid;
}
.add-video input {
  min-width: 0;
  flex: 1;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.content-table {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.video-table-toolbar {
  min-height: 66px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.video-table-toolbar > div { display: flex; align-items: center; gap: 14px; }
.video-table-toolbar > div:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
.video-table-toolbar strong { font-size: 14px; }
.video-table-toolbar span,
.video-table-toolbar label { color: var(--muted); font-size: 12px; }
.video-table-toolbar select {
  margin-left: 6px;
  height: 34px;
  padding: 0 26px 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}
.bulk-select-mobile { display: none; align-items: center; gap: 5px; color: var(--text) !important; }
.bulk-select-mobile input { width: 18px; height: 18px; accent-color: var(--red); }
.danger-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, #c5221f 35%, var(--line));
  border-radius: 18px;
  background: transparent;
  color: #c5221f;
  font-weight: 600;
}
.danger-button.small { min-height: 36px; padding: 7px 13px; }
.danger-button svg { width: 17px; height: 17px; }
.danger-button:not(:disabled):hover { background: color-mix(in srgb, #c5221f 8%, transparent); }
.danger-button:disabled { opacity: .42; }
.table-heading {
  height: 46px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 34px 34px 34px 150px 1fr 120px 64px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.table-heading .video-heading { grid-column: 4 / 6; }
.video-checkbox,
.select-all-control {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
}
.video-row {
  min-height: 106px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 34px 34px 34px 150px 1fr 120px 64px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.management-pagination {
  min-height: 62px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.management-pagination button {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
}
.management-pagination button:not(:disabled):hover { background: var(--soft); }
.management-pagination button.active { background: var(--text); color: var(--surface); font-weight: 700; }
.management-pagination button:disabled { opacity: .36; }
.page-gap { padding: 0 3px; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.62);
}
.confirm-modal {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 65px rgba(0,0,0,.3);
}
.modal-icon { display: block; width: 46px; color: var(--red); }
.modal-icon svg { width: 46px; height: 34px; }
.confirm-modal h2 { margin: 18px 0 10px; font-size: 22px; }
.confirm-modal p { margin: 0; color: var(--muted); line-height: 1.55; }
.modal-note { margin-top: 16px; padding: 11px 13px; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: 12px; }
.modal-actions { margin-top: 24px; display: flex; justify-content: flex-end; gap: 10px; }
.video-row.dragging {
  opacity: 0.55;
  background: color-mix(in srgb, var(--red) 7%, var(--surface));
  box-shadow: inset 3px 0 var(--red);
}
.drag-handle {
  width: 34px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: grab;
  touch-action: none;
}
.drag-handle:active { cursor: grabbing; }
.drag-handle:hover,
.drag-handle:focus-visible { background: var(--soft); color: var(--text); }
.drag-handle svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.video-row:last-child {
  border: 0;
}
.video-row:hover {
  background: color-mix(in srgb, var(--soft) 50%, transparent);
}
.row-number {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.video-row img {
  width: 150px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}
.video-row h3 {
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.35;
}
.video-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.published-badge,
.status {
  width: max-content;
  border-radius: 12px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 600;
  background: color-mix(in srgb, var(--green) 13%, transparent);
  color: var(--green);
}
.published-badge.pending {
  color: #b06000;
  background: color-mix(in srgb, #f9ab00 16%, transparent);
}
.table-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.table-icon:hover {
  background: var(--soft);
}
.table-icon svg {
  width: 19px;
}
.table-icon.danger {
  color: #c5221f;
}
.empty-state {
  text-align: center;
  padding: 90px 20px;
  color: var(--muted);
}
.empty-state > span {
  font-size: 45px;
  color: var(--text);
}
.empty-state h3 {
  color: var(--text);
}
.save-dock {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 9px 10px 9px 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.admin-main {
  max-width: 1400px;
}
.mail-health {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: var(--soft);
  border-radius: 13px;
  font-size: 12px;
}
.mail-health i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c5221f;
}
.mail-health.ok i {
  background: var(--green);
}
.mail-test {
  height: 30px;
  margin-left: 6px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}
.mail-test:disabled {
  opacity: 0.45;
  cursor: default;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 42px;
}
.metric-grid article {
  padding: 24px;
  background: var(--soft);
  border-radius: 16px;
}
.metric-grid small,
.metric-grid span {
  display: block;
  color: var(--muted);
}
.metric-grid strong {
  display: block;
  font-size: 38px;
  margin: 18px 0 7px;
  font-variant-numeric: tabular-nums;
}
.admin-section {
  margin-top: 34px;
}
.admin-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto auto;
  gap: 10px;
  align-items: center;
  margin: 28px 0 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
.admin-filter input,
.admin-filter select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  color: var(--text);
  background: var(--bg);
  outline: none;
}
.admin-filter input:focus,
.admin-filter select:focus { border-color: var(--blue); }
.pagination { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.pagination select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 28px 0 10px;
  color: var(--text);
  background: var(--surface);
}
.pagination button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 11px;
  color: var(--text);
  background: var(--surface);
}
.pagination button:not(:disabled):hover { background: var(--soft); }
.pagination button:disabled { opacity: .38; }
.page-summary { color: var(--muted); font-size: 12px; }
.audit-table { min-width: 1120px; }
.audit-table td { vertical-align: top; }
.log-code { display: block; margin-top: 4px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 10px; }
.empty-table { text-align: center; color: var(--muted); padding: 34px !important; }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 16px;
}
.section-title h2 {
  font-size: 22px;
  margin: 0 0 7px;
}
.section-title p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.operations-panel {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.operations-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.operation-state { display: flex; gap: 12px; padding: 15px; border-radius: 14px; background: var(--soft); }
.operation-state i { width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; flex: 0 0 auto; background: #d93025; box-shadow: 0 0 0 5px color-mix(in srgb, #d93025 14%, transparent); }
.operation-state.ok i { background: #0a8f4d; box-shadow: 0 0 0 5px color-mix(in srgb, #0a8f4d 14%, transparent); }
.operation-state div { display: grid; gap: 3px; min-width: 0; }
.operation-state small, .operation-state span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.operation-state b { font-size: 14px; }
.settings-modal { width: min(900px, calc(100vw - 28px)); max-height: calc(100vh - 36px); overflow: auto; padding: 26px; border-radius: 20px; background: var(--surface); box-shadow: 0 18px 70px #0004; }
.settings-modal > p { color: var(--muted); }
.watch-rules, .session-list { display: grid; gap: 10px; margin-top: 20px; }
.watch-rule { display: grid; grid-template-columns: minmax(150px, 1.2fr) repeat(3, minmax(125px, 1fr)); gap: 12px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.watch-rule label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.watch-rule label:first-child { display: flex; align-items: center; color: var(--text); font-size: 14px; align-self: center; }
.watch-rule input[type="number"], .watch-rule input[type="time"] { min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; color: var(--text); background: var(--surface); }
.session-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; }
.session-card div { display: grid; gap: 5px; }
.session-card span { color: var(--muted); font-size: 12px; }
.admin-table-wrap {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1050px;
}
.admin-table th {
  height: 46px;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.admin-table th,
.admin-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.admin-table tbody tr:last-child td {
  border: 0;
}
.admin-table td {
  font-size: 13px;
}
.user-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.user-cell > span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #7e57c2;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.user-cell b,
.user-cell small {
  display: block;
}
.user-cell small {
  color: var(--muted);
  margin-top: 4px;
}
.status.locked {
  color: #c5221f;
  background: color-mix(in srgb, #c5221f 12%, transparent);
}
.status.pending {
  color: var(--amber);
  background: color-mix(in srgb, var(--amber) 12%, transparent);
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}
.protected {
  color: var(--muted);
  font-size: 12px;
}
.settings-section {
  margin-top: 54px;
}
.settings-form {
  display: grid;
  grid-template-columns: 150px 120px 1fr 1fr 1fr;
  gap: 14px;
  padding: 24px;
  background: var(--soft);
  border-radius: 16px;
}
.settings-form label > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
.settings-form input {
  height: 48px;
  background: var(--surface);
  border-color: var(--line);
}
.settings-form button {
  grid-column: 5;
  justify-self: end;
  margin-top: 4px;
}
.not-found {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.not-found > strong {
  font-size: 100px;
  letter-spacing: -0.08em;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  transform: translate(-50%, 80px);
  opacity: 0;
  background: var(--text);
  color: var(--bg);
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.22s;
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy > p {
    margin: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    width: min(700px, 100%);
    margin: auto;
  }
  .download-section {
    margin-inline: 24px;
    grid-template-columns: 1fr;
  }
  .library-section {
    margin-inline: 24px;
    padding: 64px 32px 36px;
  }
  .library-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .library-heading > p {
    max-width: 680px;
  }
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .library-card,
  .library-card.wide {
    grid-column: auto;
    display: block;
  }
  .library-notes {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guide-heading > p {
    max-width: 700px;
  }
  .guide-step,
  .guide-step:nth-child(-n + 2) {
    grid-column: span 6;
  }
  .guide-step:last-child {
    grid-column: span 12;
  }
  .guide-manage {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .settings-form {
    grid-template-columns: 1fr 1fr;
  }
  .settings-form button {
    grid-column: 2;
  }
  .video-row {
    grid-template-columns: 34px 30px 130px 1fr 54px;
  }
  .video-row img {
    width: 130px;
  }
  .video-row .published-badge {
    display: none;
  }
  .table-heading {
    grid-template-columns: 34px 1fr 54px;
  }
  .table-heading span:nth-child(3) {
    display: none;
  }
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .site-nav {
    padding: 0 16px;
  }
  .site-nav nav {
    display: none;
  }
  .header-actions .text-button {
    display: none;
  }
  .hero {
    display: block;
    min-height: 0;
    padding: 64px 20px 90px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-visual {
    height: 360px;
    margin-top: 65px;
  }
  .tv-frame {
    width: 430px;
    height: 255px;
    right: -100px;
  }
  .phone-frame {
    width: 160px;
    height: 285px;
    left: 0;
  }
  .phone-video {
    height: 150px;
  }
  .trust-strip {
    padding: 24px 20px;
    gap: 14px;
    flex-direction: column;
  }
  .feature-section {
    padding: 90px 20px;
  }
  .feature-flow {
    grid-template-columns: 1fr;
  }
  .feature-flow article,
  .feature-flow article + article {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-flow h3 {
    margin-top: 30px;
  }
  .library-section {
    margin: 0 0 80px;
    padding: 72px 16px 30px;
    border-radius: 0;
  }
  .library-heading {
    margin-bottom: 32px;
  }
  .library-heading h2 {
    font-size: 38px;
  }
  .library-heading > p {
    font-size: 15px;
  }
  .library-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .library-media {
    height: min(112vw, 490px);
  }
  .library-card.wide .library-media {
    aspect-ratio: 16 / 9;
  }
  .library-copy {
    padding: 21px 20px 24px;
  }
  .library-copy strong {
    font-size: 20px;
  }
  .library-zoom {
    opacity: 1;
    transform: none;
  }
  .library-notes {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-inline: 4px;
  }
  .guide-section {
    margin-bottom: 86px;
    padding: 0 16px;
  }
  .guide-heading {
    margin-bottom: 30px;
  }
  .guide-heading h2 {
    font-size: 38px;
  }
  .guide-heading > p {
    font-size: 15px;
  }
  .guide-steps {
    grid-template-columns: 1fr;
  }
  .guide-step,
  .guide-step:nth-child(-n + 2),
  .guide-step:last-child {
    grid-column: auto;
    padding: 23px 20px 25px;
  }
  .guide-step h3 {
    font-size: 21px;
  }
  .guide-manage {
    padding: 25px 20px;
  }
  .guide-paths {
    grid-template-columns: 1fr;
  }
  .library-lightbox {
    padding: 0;
  }
  .lightbox-panel {
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .lightbox-stage {
    padding: 12px 42px;
  }
  .lightbox-image {
    max-height: calc(100dvh - 245px);
  }
  .lightbox-arrow {
    width: 36px;
    height: 44px;
    border-radius: 8px;
    font-size: 30px;
  }
  .lightbox-arrow.previous { left: 3px; }
  .lightbox-arrow.next { right: 3px; }
  .lightbox-caption {
    padding: 18px 20px 22px;
  }
  .download-section {
    margin: 0 12px 80px;
    padding: 34px 20px;
    border-radius: 22px;
  }
  .download-section h2 {
    font-size: 36px;
  }
  .device-card {
    grid-template-columns: 44px 1fr;
  }
  .device-card em {
    display: none;
  }
  footer {
    padding-inline: 20px;
    display: block;
  }
  footer > span {
    display: block;
    margin-top: 28px;
  }
  .auth-page > header {
    padding: 0 16px;
  }
  .auth-panel {
    display: block;
    border: 0;
    padding: 24px 4px;
    min-height: 0;
  }
  .auth-intro h1 {
    font-size: 34px;
    margin-top: 20px;
  }
  .auth-fields {
    margin-top: 38px;
  }
  .manager-header {
    padding: 0 12px;
  }
  .home-button span,
  .account-chip small,
  .manager-label {
    display: none;
  }
  .manager-actions {
    gap: 1px;
  }
  .manager-main,
  .admin-main {
    padding: 34px 12px 120px;
  }
  .platform-tabs {
    margin: -8px -12px 28px;
    padding: 0 12px 18px;
  }
  .platform-tab {
    min-width: 168px;
  }
  .manager-title,
  .admin-heading {
    display: block;
  }
  .sync-state,
  .mail-health {
    margin-top: 20px;
    width: max-content;
  }
  .add-video {
    height: auto;
    display: grid;
    grid-template-columns: 24px 1fr;
    padding: 12px;
  }
  .add-video button {
    grid-column: 1/-1;
  }
  .content-table {
    border: 0;
  }
  .video-table-toolbar { padding: 12px 4px 18px; align-items: stretch; flex-direction: column; border: 0; }
  .video-table-toolbar > div { justify-content: space-between; flex-wrap: wrap; }
  .video-table-toolbar > div:first-child { display: none; }
  .bulk-select-mobile { display: flex; flex: 1 0 100%; }
  .table-heading {
    display: none;
  }
  .video-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 42px;
    padding: 0 0 28px;
    border: 0;
  }
  .video-row .video-checkbox {
    position: absolute;
    z-index: 3;
    top: 17px;
    right: 14px;
    width: 21px;
    height: 21px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
  }
  .video-row .row-number {
    display: none;
  }
  .video-row .drag-handle {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    color: #fff;
    background: rgba(0,0,0,.62);
  }
  .video-row img {
    grid-column: 1/-1;
    width: 100%;
    border-radius: 12px;
  }
  .video-row > div {
    grid-column: 1;
    padding-left: 8px;
  }
  .video-row .published-badge { display: none; }
  .management-pagination { justify-content: center; flex-wrap: wrap; padding: 12px 0 24px; }
  .management-pagination > span:last-child { width: 100%; text-align: center; }
  .confirm-modal { padding: 22px; }
  .modal-actions { align-items: stretch; flex-direction: column-reverse; }
  .modal-actions button { width: 100%; }
  .save-dock {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .admin-filter { grid-template-columns: 1fr; }
  .admin-filter .primary-button,
  .admin-filter .text-button { width: 100%; }
  .section-title { align-items: start; gap: 12px; flex-direction: column; }
  .pagination { width: 100%; justify-content: space-between; }
  .operations-grid { grid-template-columns: 1fr; }
  .watch-rule { grid-template-columns: 1fr 1fr; }
  .watch-rule label:first-child { grid-column: 1 / -1; }
  .admin-table-wrap {
    margin-inline: -12px;
    border-radius: 0;
    border-inline: 0;
  }
  .settings-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .settings-form button {
    grid-column: 1;
    width: 100%;
  }
  .toast {
    bottom: 86px;
    max-width: calc(100% - 24px);
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
