:root {
  color-scheme: light;
  --bg: #eef2f5;
  --surface: #ffffff;
  --surface-strong: #f8fafc;
  --ink: #111827;
  --muted: #667085;
  --line: #d9e0e8;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --teal: #0f766e;
  --green: #15803d;
  --amber: #b45309;
  --red: #dc2626;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 210px minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(217, 224, 232, 0.85);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.profile-row,
.top-actions,
.composer-footer,
.section-head,
.post-meta,
.post-actions,
.filter-bar,
.server-item,
.live-item,
.metric-row,
.status-line,
.channel-line {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
}

.search-box {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.search-box svg,
.ghost-icon svg,
.primary-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.top-actions {
  gap: 10px;
}

.ghost-icon,
.auth-button,
.primary-button,
.wide-button,
.tab-button,
.filter-chip,
.text-button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ghost-icon {
  display: grid;
  width: 42px;
  place-items: center;
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}

.auth-button,
.primary-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
}

.auth-button.is-loading {
  background: #1d4ed8;
  cursor: progress;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.primary-button.is-loading,
.google-button.is-loading {
  cursor: progress;
}

.primary-button.is-secondary-state,
.text-button.is-secondary-state {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: var(--green);
}

.wide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 14px;
  background: #111827;
  color: #ffffff;
  font-weight: 700;
}

.text-button {
  padding: 0 12px;
  background: var(--surface-strong);
  border-color: var(--line);
  color: var(--ink);
}

.layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 720px) minmax(230px, 310px);
  gap: 22px;
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 24px 28px 42px;
}

.left-rail,
.right-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel,
.composer,
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel {
  padding: 16px;
}

.profile-panel {
  display: grid;
  gap: 14px;
}

.profile-row {
  gap: 12px;
  min-width: 0;
}

.avatar,
.server-logo,
.post-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  background: #111827;
  color: #ffffff;
  font-weight: 800;
}

.avatar {
  width: 44px;
  height: 44px;
}

.profile-row strong,
.profile-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-row span,
.compact-panel p,
.queue-panel p,
.feed-header p,
.post-text,
.server-meta,
.live-item span,
.post-time,
.channel-line {
  color: var(--muted);
}

.section-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 1.8rem;
  line-height: 1.15;
}

h2 {
  font-size: 0.95rem;
  line-height: 1.2;
}

.section-head span,
.status-pill {
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.server-list,
.live-stack,
.feed-list {
  display: grid;
  gap: 12px;
}

.server-item {
  gap: 10px;
  min-width: 0;
}

.server-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0f766e, #111827);
}

.server-item:nth-child(2) .server-logo {
  background: linear-gradient(135deg, #b45309, #2563eb);
}

.server-item:nth-child(3) .server-logo {
  background: linear-gradient(135deg, #dc2626, #111827);
}

.server-copy {
  min-width: 0;
}

.server-copy strong,
.server-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-meta {
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
}

.feed-column {
  min-width: 0;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.composer {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.composer-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tab-button,
.filter-chip {
  background: var(--surface-strong);
  color: var(--muted);
  font-weight: 800;
}

.tab-button.is-active,
.filter-chip.is-active {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: #bfdbfe;
}

textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--ink);
  outline: 0;
}

textarea {
  resize: vertical;
  min-height: 108px;
  padding: 12px;
}

select {
  min-height: 42px;
  padding: 0 12px;
}

.composer-footer {
  justify-content: space-between;
  gap: 12px;
}

.composer-footer select {
  max-width: 280px;
}

.composer-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.upload-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.upload-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.composer-actions input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.composer-media {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.composer-media[hidden] {
  display: none;
}

.composer-media span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-bar {
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
}

.filter-chip {
  flex: 0 0 auto;
  padding: 0 14px;
}

.post-card {
  overflow: hidden;
}

.post-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.post-meta {
  justify-content: space-between;
  gap: 12px;
}

.author-block {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.post-avatar {
  width: 40px;
  height: 40px;
  background: #0f766e;
}

.author-copy {
  min-width: 0;
}

.author-copy strong,
.author-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-line {
  gap: 8px;
  flex-wrap: wrap;
}

.status-pill.public {
  background: #dcfce7;
  color: var(--green);
}

.status-pill.market {
  background: #ffedd5;
  color: var(--amber);
}

.status-pill.video {
  background: #e0f2fe;
  color: #0369a1;
}

.media-frame {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--surface-strong);
}

.post-title {
  font-size: 1.1rem;
  line-height: 1.25;
}

.post-actions {
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}

.action-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.channel-line {
  gap: 8px;
  font-size: 0.88rem;
}

.channel-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--teal);
}

.live-item {
  justify-content: space-between;
  gap: 12px;
}

.live-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.12);
}

.metric-row {
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border-top: 1px solid var(--line);
}

.metric-row:first-of-type {
  margin-top: 12px;
}

.queue-meter {
  height: 10px;
  margin: 14px 0 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.queue-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.empty-state {
  padding: 32px 18px;
  text-align: center;
  color: var(--muted);
}

.profile-layout {
  display: grid;
  gap: 18px;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 24px 28px 42px;
}

.profile-hero,
.profile-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-cover {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.12), rgba(37, 99, 235, 0.12)),
    url("./assets/clip-arena.svg") center/cover;
}

.profile-summary {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 20px 18px;
  margin-top: -44px;
}

.profile-main {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  min-width: 0;
}

.profile-avatar-large {
  display: grid;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  place-items: center;
  border: 5px solid var(--surface);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #111827, #0f766e);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
}

.profile-identity {
  min-width: 0;
  padding-bottom: 8px;
}

.profile-handle,
.profile-feed-header p {
  color: var(--muted);
}

.profile-public-info {
  display: grid;
  gap: 8px;
}

.profile-info-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.info-pill {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.info-pill strong {
  color: var(--ink);
}

.profile-actions {
  display: flex;
  gap: 10px;
  padding-bottom: 8px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.stat-button {
  display: grid;
  gap: 2px;
  min-height: 74px;
  place-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.stat-button:last-child {
  border-right: 0;
}

.stat-button strong {
  font-size: 1.35rem;
}

.stat-button span {
  color: var(--muted);
  font-weight: 700;
}

.stat-static {
  cursor: default;
}

.profile-content {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.profile-feed-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.52);
}

.modal-backdrop[hidden] {
  display: none;
}

.people-modal {
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
  max-height: min(640px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 16px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.people-list {
  display: grid;
  gap: 10px;
}

.people-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.people-row strong,
.people-row span {
  display: block;
}

.people-row span {
  color: var(--muted);
}

.settings-layout {
  display: grid;
  gap: 18px;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 24px 28px 42px;
}

.settings-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.settings-head p,
.settings-section-head span,
.field-feedback,
.platform-copy span,
.crop-sliders label {
  color: var(--muted);
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
}

.settings-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 16px;
}

.settings-panel:first-child,
.platforms-panel {
  grid-column: 1;
}

.settings-panel:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.settings-section-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.username-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  overflow: hidden;
}

.username-field span {
  padding-left: 12px;
  color: var(--muted);
  font-weight: 800;
}

.username-field input {
  border: 0;
  background: transparent;
}

.field-feedback {
  min-height: 20px;
  font-size: 0.88rem;
}

.field-feedback.is-success {
  color: var(--green);
}

.field-feedback.is-warning {
  color: var(--amber);
}

.field-feedback.is-error {
  color: var(--red);
}

.visibility-field {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0;
  border: 0;
  margin: 0;
}

.visibility-field legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-weight: 800;
}

.visibility-field label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.crop-grid {
  display: grid;
  gap: 16px;
}

.crop-control {
  display: grid;
  gap: 12px;
}

.crop-preview {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.crop-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.avatar-crop {
  width: min(100%, 220px);
  aspect-ratio: 1 / 1;
}

.cover-crop {
  width: 100%;
  aspect-ratio: 16 / 7;
}

.crop-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  cursor: pointer;
}

.crop-actions input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.crop-sliders {
  display: grid;
  gap: 8px;
}

.crop-sliders label {
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 800;
}

.crop-sliders input {
  width: 100%;
}

.platform-list {
  display: grid;
  gap: 10px;
}

.platform-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.platform-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: #111827;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.78rem;
}

.platform-row:nth-child(2) .platform-mark {
  background: #5865f2;
}

.platform-row:nth-child(3) .platform-mark {
  background: #0f766e;
}

.platform-row:nth-child(4) .platform-mark {
  background: #9146ff;
}

.platform-row:nth-child(5) .platform-mark {
  background: #107c10;
}

.platform-row:nth-child(6) .platform-mark {
  background: #003087;
}

.platform-copy {
  min-width: 0;
}

.platform-copy strong,
.platform-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) {
  .ghost-icon:hover,
  .text-button:hover,
  .tab-button:hover,
  .filter-chip:hover {
    border-color: #b7c3d0;
    color: var(--ink);
  }

  .auth-button:hover,
  .primary-button:hover,
  .wide-button:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 1120px) {
  .layout {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  }

  .right-rail {
    display: none;
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .search-box {
    grid-column: 1 / -1;
    order: 3;
  }

  .top-actions .ghost-icon {
    display: none;
  }

  .layout {
    grid-template-columns: 1fr;
    padding: 18px 14px 34px;
  }

  .left-rail {
    order: 2;
  }

  .feed-column {
    order: 1;
  }

  .feed-header {
    align-items: stretch;
    flex-direction: column;
  }

  .feed-header .primary-button {
    width: 100%;
  }

  .media-frame {
    height: 210px;
  }

  .profile-layout {
    padding: 18px 14px 34px;
  }

  .settings-layout {
    padding: 18px 14px 34px;
  }

  .settings-head {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-panel:first-child,
  .settings-panel:nth-child(2),
  .platforms-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .profile-summary,
  .profile-feed-header {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-actions {
    padding-bottom: 0;
  }

  .profile-actions .primary-button,
  .profile-actions .text-button {
    flex: 1;
  }
}

@media (max-width: 540px) {
  .auth-button {
    padding: 0 12px;
  }

  .brand-logo {
    height: 32px;
    max-width: 138px;
  }

  .composer-footer {
    display: grid;
  }

  .composer-footer select {
    max-width: none;
  }

  .composer-actions {
    justify-content: stretch;
  }

  .composer-actions .text-button,
  .composer-actions .primary-button {
    flex: 1;
  }

  .post-meta,
  .post-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-cover {
    min-height: 150px;
  }

  .profile-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-avatar-large {
    width: 84px;
    height: 84px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .stat-button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-button:last-child {
    border-bottom: 0;
  }

  .platform-row {
    grid-template-columns: 42px 1fr;
  }

  .platform-row button {
    grid-column: 1 / -1;
  }
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 12%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(20, 184, 166, 0.14), transparent 30%),
    var(--bg);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 24px;
}

.auth-card,
.integration-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.auth-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.auth-header {
  display: grid;
  gap: 14px;
}

.auth-header .brand-logo {
  height: 46px;
}

.auth-header p,
.integration-card p,
.integration-list span,
.auth-feedback {
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.disabled-fieldset {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  margin: 0;
  opacity: 0.58;
}

.auth-note {
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.field-group label {
  font-weight: 800;
  font-size: 0.9rem;
}

.field-group input {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--ink);
  outline: 0;
  padding: 0 12px;
}

.field-group input:focus,
.username-field:focus-within,
textarea:focus,
select:focus,
.search-box:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.auth-feedback {
  min-height: 22px;
  font-size: 0.9rem;
}

.integration-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.integration-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.integration-tile {
  min-height: 88px;
  border-radius: var(--radius);
  background: #111827;
}

.integration-tile:nth-child(2) {
  background: var(--blue);
}

.integration-tile:nth-child(3) {
  background: var(--teal);
}

.integration-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.integration-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.integration-list strong {
  display: block;
}

.check-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 820px) {
  .auth-layout {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 24px 14px;
  }
}
