:root {
  --yt-red: #ff0033;
  --yt-red-dark: #cc0029;
  --yt-red-soft: #ffe9ed;
  --bg: #ffffff;
  --bg-subtle: #f9f9fb;
  --bg-muted: #f1f1f4;
  --surface: #ffffff;
  --border: #e5e5ea;
  --border-strong: #d4d4dc;
  --text: #0f0f14;
  --text-muted: #606069;
  --text-faint: #909099;
  --danger: #d11a2a;
  --danger-bg: #fdecec;
  --success: #1a7f48;
  --success-bg: #e8f6ee;
  --blue: #2f7bff;
  --blue-dark: #1f6cf0;
  --maxw: 1080px;
  --font:
    "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  background-attachment: fixed;
  color: var(--text);
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}
.container {
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 0 24px;
  width: 100%;
}
.site-header {
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(15, 15, 20, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__inner {
  align-items: center;
  display: flex;
  height: 60px;
  justify-content: space-between;
}
.brand {
  align-items: center;
  display: flex;
  gap: 10px;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Убираем высоту, ширину и бэкграунд — за всё отвечает SVG */
}

.brand__name {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  /* Add YouTube's Font Family & Rendering Elements */
  font-family: "Roboto", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand__div {
  background: var(--border-strong);
  height: 20px;
  margin: 0 4px;
  width: 1px;
}
.brand__sub {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
}

.landing {
  margin: 0 auto;
  max-width: 600px;
  padding: 36px 24px 90px;
  text-align: center;
  width: 100%;
}
.creator-hero {
  display: flex;
  align-items: center;
  justify-content: center;

  /* Размеры в точных пропорциях оригинального логотипа */
  width: 148px;
  height: 104px;
  margin: 26px auto;
}

.creator-hero svg {
  display: flex;
  width: 100%;
  height: 100%;
}

.eyebrow {
  color: var(--yt-red-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 auto 12px;
}
.landing h1 {
  color: var(--text);
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 auto 14px;
  max-width: 520px;
}
.intro {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 auto 30px;
  max-width: 510px;
}

.pill {
  align-items: center;
  background: #ededf0;
  border-radius: 999px;
  box-shadow:
    0 1px 2px rgba(15, 15, 20, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 8px;
  padding: 7px 7px 7px 22px;
  transition: box-shadow 0.15s;
}
.pill:focus-within {
  box-shadow:
    0 0 0 4px rgba(47, 123, 255, 0.16),
    0 1px 2px rgba(15, 15, 20, 0.06);
}
.pill__input {
  background: transparent;
  border: 0;
  color: var(--text);
  flex: 1;
  font-size: 16px;
  height: 46px;
  min-width: 0;
  outline: 0;
}
.pill__input::placeholder {
  color: #9a9aa2;
}
.pill__btn {
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  color: #fff;
  flex-shrink: 0;
  font-size: 15.5px;
  font-weight: 600;
  height: 46px;
  padding: 0 30px;
  transition:
    background 0.15s,
    opacity 0.15s;
}
.pill__btn:hover {
  background: var(--blue-dark);
}
.pill__btn:disabled {
  cursor: wait;
  opacity: 0.68;
}
.pill__btn:focus-visible,
.fchip:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(47, 123, 255, 0.42);
  outline-offset: 3px;
}

.lookup-error {
  background: var(--danger-bg);
  border-radius: 8px;
  color: var(--danger);
  font-size: 13.5px;
  margin: 16px auto 0;
  max-width: 520px;
  padding: 10px 12px;
  text-align: left;
}
.loading-message {
  color: var(--text-muted);
  font-size: 14px;
  margin: 16px auto 0;
}
.account-note a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(15, 15, 20, 0.08);
  margin: 20px auto 0;
  max-width: 520px;
  padding: 22px;
  text-align: left;
}
.channel-status {
  align-items: center;
  background: var(--success-bg);
  border: 1px solid #cdebd8;
  border-radius: 12px;
  color: var(--text-muted);
  display: flex;
  font-size: 13px;
  gap: 10px;
  line-height: 1.35;
  margin-bottom: 20px;
  padding: 10px 12px;
}
.channel-status__icon {
  align-items: center;
  background: var(--success);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.channel-status__icon svg {
  height: 17px;
  width: 17px;
}
.channel-status strong,
.channel-status small {
  display: block;
}
.channel-status strong {
  color: var(--success);
  font-size: 13.5px;
}
.channel-status small {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 1px;
}
.channel-card__head {
  align-items: center;
  display: flex;
  gap: 14px;
}
.channel-card__avatar {
  background: var(--bg-muted);
  border-radius: 50%;
  flex: 0 0 72px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}
.channel-card__identity {
  min-width: 0;
}
.channel-card__eyebrow {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 2px;
  text-transform: uppercase;
}
.channel-card h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
}
.channel-card__handle {
  color: var(--text-muted);
  font-size: 14px;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.channel-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}
.channel-stats div {
  background: var(--bg-subtle);
  border-radius: 10px;
  padding: 11px 10px;
}
.channel-stats dt {
  color: var(--text-faint);
  font-size: 11px;
  line-height: 1.25;
}
.channel-stats dd {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  margin: 4px 0 0;
}
.channel-card__description {
  color: var(--text-muted);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.channel-card__link {
  align-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(47, 123, 255, 0.22);
  color: #fff;
  display: inline-flex;
  gap: 13px;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 64px;
  padding: 9px 15px;
  text-align: center;
  transition:
    box-shadow 0.18s,
    transform 0.18s,
    filter 0.18s;
  width: 100%;
}
.channel-card__link:hover {
  box-shadow: 0 12px 24px rgba(47, 123, 255, 0.3);
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.channel-card__link:active {
  box-shadow: 0 5px 12px rgba(47, 123, 255, 0.2);
  transform: translateY(0);
}
.channel-card__link-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.channel-card__link-icon svg {
  height: 23px;
  width: 23px;
}
.channel-card__link-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}
.channel-card__link-title {
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.channel-card__link-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 2px;
}
.channel-card__link-arrow {
  flex: 0 0 20px;
  height: 20px;
  width: 20px;
}
.channel-card__disclaimer {
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.45;
  margin: 19px 0 0;
  padding-top: 14px;
}

.formats {
  margin-top: 30px;
}
.formats__label {
  color: var(--text-muted);
  font-size: 14px;
}
.formats__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 14px;
}
.fchip {
  background: #ececef;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(15, 15, 20, 0.05);
  color: var(--text-muted);
  font-size: 14px;
  padding: 13px 24px;
  transition:
    background 0.15s,
    color 0.15s;
}
.fchip:hover {
  background: #e2e2e6;
  color: var(--text);
}
.account-note {
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.5;
  margin: 28px auto 0;
  max-width: 480px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13px;
  margin-top: auto;
  padding: 28px 0;
}
.site-footer__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.sr-only {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 860px) {
  .landing h1 {
    font-size: 27px;
  }
}
@media (max-width: 560px) {
  .brand__sub {
    font-size: 14px;
  }
  .landing {
    padding-bottom: 56px;
  }
  .pill {
    align-items: stretch;
    border-radius: 18px;
    flex-direction: column;
    padding: 10px;
  }
  .pill__input {
    min-height: 46px;
    padding: 0 12px;
  }
  .pill__btn {
    width: 100%;
  }
  .channel-card {
    padding: 18px;
  }
  .channel-stats {
    gap: 6px;
  }
  .channel-stats div {
    padding: 10px 8px;
  }
  .site-footer__inner {
    justify-content: flex-start;
  }
}

/* ===== NEW: акцентная строка в интро ===== */
.intro__action {
  display: block;
  margin-top: 8px;
  color: #1a1a1a;
}

/* ===== NEW: шаги «What to do next» внутри карточки ===== */
.next-steps {
  background: #f8f9fa;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
}

.next-steps__title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #202124;
  text-transform: none;
}

.next-steps__list {
  margin: 0;
  padding-left: 20px;
  color: #3c4043;
  line-height: 1.6;
  font-size: 0.92rem;
}

.next-steps__list li {
  margin-bottom: 8px;
}

.next-steps__list li:last-child {
  margin-bottom: 0;
}

/* ===== NEW: заметка о документе ===== */
.doc-note {
  max-width: 620px;
  margin: 10px auto 26px;
  font-size: 0.82rem;
  color: #5f6368;
  text-align: center;
}

/* ===== NEW: плашка дедлайна ===== */
.deadline-banner {
  background: #fef7e0;

  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(15, 15, 20, 0.08);
  margin: 20px auto 0;
  max-width: 520px;
  padding: 22px;
  text-align: left;
}

.deadline-banner__title {
  display: block;
  font-weight: 600;
  color: #7c5a00;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.deadline-banner__text {
  margin: 0 0 8px;
  color: #5f4c00;
  font-size: 0.88rem;
}

.deadline-banner__list {
  margin: 0;
  padding-left: 20px;
  color: #5f4c00;
  font-size: 0.88rem;
  line-height: 1.9;
}
/* ===== NEW: Google-кнопка в карточке канала ===== */
.google-button {
  width: 100%;
  min-height: 54px;
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  border: 1px solid #dadce0;
  border-radius: 28px;
  background: #fff;
  color: #3c4043;
  font:
    500 15px / 1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  box-shadow: 0 2px 5px rgba(60, 64, 67, 0.06);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}

.google-button:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
}

.google-button:active {
  background: #f1f3f4;
}

.button-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
