.obs-page main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.obs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 20%, rgba(13, 71, 155, 0.4), transparent 34%),
    linear-gradient(135deg, rgba(7, 12, 19, 0.96), rgba(15, 26, 42, 0.92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.obs-eyebrow {
  margin: 0 0 12px;
  color: #86b7ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.obs-hero h1,
.obs-section h2 {
  margin: 0;
  color: #f4f7fb;
}

.obs-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.obs-sub,
.obs-body-copy,
.obs-note,
.obs-status {
  color: #b7c0cc;
}

.obs-sub {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.12rem;
  line-height: 1.7;
}

.obs-note {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.obs-lookup {
  margin-top: 28px;
}

.obs-lookup label {
  display: block;
  margin-bottom: 10px;
  color: #dfe8f5;
  font-weight: 800;
}

.obs-lookup-row {
  display: flex;
  max-width: 560px;
  gap: 10px;
}

.obs-lookup-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  color: #f4f7fb;
  background: rgba(255, 255, 255, 0.08);
}

.obs-lookup-row button,
.obs-copy-button {
  border: 1px solid #0c4394;
  border-radius: 16px;
  padding: 14px 18px;
  color: #e0ddd9;
  background: linear-gradient(180deg, #155dbd, #0d479b);
  font-weight: 900;
  cursor: pointer;
}

.obs-preview-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(2, 6, 11, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.obs-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  color: #c8d5e6;
  background: rgba(255, 255, 255, 0.07);
}

.obs-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #86b7ff;
  opacity: 0.8;
}

.obs-window-bar strong {
  margin-left: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.obs-strip-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 22px;
}

.obs-strip-preview div {
  padding: 24px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.obs-strip-preview strong {
  display: block;
  color: #f4f7fb;
  font-size: 2.2rem;
  line-height: 1;
}

.obs-strip-preview span {
  display: block;
  margin-top: 10px;
  color: #9fb2cc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.obs-section {
  margin-top: 30px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: rgba(6, 12, 20, 0.78);
}

.obs-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.obs-status {
  max-width: 520px;
  margin: 0;
  text-align: right;
}

.obs-status[data-tone="loading"] {
  color: #86b7ff;
}

.obs-status[data-tone="success"] {
  color: #7df77b;
}

.obs-status[data-tone="error"] {
  color: #ff8f8f;
}

.obs-builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.obs-appearance-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin: 0 0 22px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.obs-color-field {
  display: grid;
  gap: 7px;
}

.obs-color-field label {
  color: #dfe8f5;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.obs-color-field input {
  width: 58px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.obs-appearance-controls button {
  min-height: 40px;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
}

.obs-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.obs-preset-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.obs-preset-card h3 {
  margin: 0;
  color: #f4f7fb;
}

.obs-preset-meta {
  color: #9fb2cc;
  font-size: 0.86rem;
}

.obs-url-box {
  display: grid;
  gap: 8px;
}

.obs-url-box label {
  color: #dfe8f5;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.obs-url-value {
  overflow: auto;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
  color: #d7e7ff;
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.78rem;
  white-space: nowrap;
}

.obs-copy-button {
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.obs-preview-button {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  color: #f4f7fb;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.obs-preview-button:hover,
.obs-preview-button:focus-visible {
  border-color: rgba(134, 183, 255, 0.72);
  background: rgba(134, 183, 255, 0.16);
}

.obs-copy-button.is-copied {
  border-color: rgba(13, 255, 0, 0.55);
  color: #041007;
  background: #0dff00;
}

.obs-live-preview {
  position: sticky;
  top: 18px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%),
    rgba(0, 0, 0, 0.22);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.obs-live-preview h3 {
  margin: 0;
  color: #f4f7fb;
}

.obs-live-preview p {
  margin: 10px 0 0;
  color: #aebbd0;
  line-height: 1.55;
}

.obs-preview-stage {
  display: grid;
  place-items: center;
  overflow: auto;
  min-height: 240px;
  margin-top: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 18px;
}

.obs-preview-stage > p {
  max-width: 280px;
  text-align: center;
}

.obs-preview-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.obs-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.obs-checklist {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #cbd7e8;
}

.obs-body-copy {
  margin: 18px 0 0;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .obs-page main {
    width: min(100% - 20px, 1180px);
    padding-top: 34px;
  }

  .obs-hero,
  .obs-builder-layout,
  .obs-two-column {
    grid-template-columns: 1fr;
  }

  .obs-hero,
  .obs-section {
    padding: 22px;
    border-radius: 24px;
  }

  .obs-lookup-row,
  .obs-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .obs-section-heading {
    display: flex;
  }

  .obs-status {
    text-align: left;
  }

  .obs-lookup-row button {
    width: 100%;
  }

  .obs-appearance-controls {
    align-items: stretch;
  }

  .obs-strip-preview {
    grid-template-columns: 1fr;
  }

  .obs-live-preview {
    position: static;
  }
}
