/* ТЦ «Город»: страница новогодних розыгрышей [tcg_contest_landing], плагин tcg-contest.
   Подключается только на странице с шорткодом. Всё внутри .tcgc-land и с префиксом tcgc-, чтобы не задеть тему Atlas.
   Внутри стоит настоящая форма [tcg_contest_form] (корень .tcgc, свой form.css). Чтобы стили не пересекались:
   - у страницы свои имена классов (tcgc-cell, tcgc-cta, tcgc-fact, tcgc-ic...), у формы свои (tcgc-hex, tcgc-btn, tcgc-note, tcgc-i...);
   - сброс тегов страницы не заходит в форму: :not(.tcgc *).
   Сброс: .tcgc-land :where(...):not(.tcgc *) (0,2,0) перекрывает теговые правила темы (.entry-content p), классы блоков (0,2,0) идут ниже и перекрывают сброс. */

@font-face { font-family: "TCGC Inter Display"; src: url("../fonts/InterDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "TCGC Inter Display"; src: url("../fonts/InterDisplay-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "TCGC Golos"; src: url("../fonts/GolosText-Variable.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

.tcgc-land {
  --tcgc-night: #0B2340;
  --tcgc-night-2: #143462;
  --tcgc-blue: #01A0E2;
  --tcgc-blue-ink: #0873AA;
  --tcgc-gold: #FFC93C;
  --tcgc-gold-soft: #FFF2CC;
  --tcgc-frost: #EEF6FB;
  --tcgc-line: #D5E7F3;
  --tcgc-line-2: #A9D3EC;
  --tcgc-ink: #0B2340;
  --tcgc-ink-2: #44566D;
  --tcgc-bg: #fff;
  --tcgc-card: #fff;
  --tcgc-plate: transparent; /* подложка логотипов призов: в светлой теме нет (27.11), в тёмной светлая */
  --tcgc-shadow: 0 0 0 1px var(--tcgc-line) inset, 0 10px 30px -22px rgba(11, 35, 64, 0.5);
  --tcgc-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --tcgc-display: "TCGC Inter Display", "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tcgc-text: "TCGC Golos", "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tcgc-gutter: 16px;
  --tcgc-hex-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 112'%3E%3Cpolygon points='50,12.1 88,34.05 88,77.95 50,99.9 12,77.95 12,34.05' fill='%23000' stroke='%23000' stroke-width='14' stroke-linejoin='round'/%3E%3C/svg%3E"); /* правильный шестигранник: высота = ширина × 1,155 */
  position: relative;
  display: block;
  width: 100%;
  overflow-x: clip;
  background: var(--tcgc-bg);
  color: var(--tcgc-ink);
  font-family: var(--tcgc-text);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light; /* тёмная тема ниже, вместе с тёмной темой сайта */
}
/* Страница темы: заголовок h1 есть в первом экране, заголовок и обложку темы прячем, поля контейнеров убираем. */
body.tcgc-landing .entry-header, body.tcgc-landing .post-thumbnail { display: none; }
body.tcgc-landing #primary, body.tcgc-landing .site-main, body.tcgc-landing .entry-content, body.tcgc-landing article.page { margin: 0; padding: 0; max-width: none; width: auto; float: none; }
/* Если тема всё же кладёт блок в узкий контейнер, класс tcgc-land--bleed растягивает его на всю ширину окна. */
.tcgc-land.tcgc-land--bleed { width: 100vw; margin-left: calc(50% - 50vw); }

.tcgc-land *, .tcgc-land *::before, .tcgc-land *::after { box-sizing: border-box; }
.tcgc-land :where(h1, h2, h3, h4, p, ul, ol, li, figure, table, caption, fieldset, legend, dl, dt, dd, blockquote):not(.tcgc *) {
  margin: 0; padding: 0; border: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; background: none;
}
.tcgc-land :where(ul, ol):not(.tcgc *) { list-style: none; }
.tcgc-land :where(li):not(.tcgc *)::before { content: none; }
.tcgc-land :where(a):not(.tcgc *) { color: inherit; text-decoration: none; transition: none; box-shadow: none; }
.tcgc-land :where(img):not(.tcgc *) { display: block; max-width: 100%; height: auto; border: 0; }
.tcgc-land :where(svg):not(.tcgc *) { display: block; }
.tcgc-land .tcgc-ic { width: 20px; height: 20px; flex: none; fill: currentColor; }
.tcgc-land .tcgc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Видимый фокус для клавиатуры (у формы свой). R2 24.11: рамка не меньше 3:1 к фону (WCAG 1.4.11): на белом #0079b0
   (4,9:1, как у баннера главной), в тёмной теме #4cc3f5; на дневном небе первого экрана тёмно-синяя, на ночном золотая. */
.tcgc-land { --tcgc-focus: #0079b0; }
.tcgc-land :focus-visible:not(.tcgc *) { outline: 3px solid var(--tcgc-focus); outline-offset: 3px; }
.tcgc-land .tcgc-sec--night :focus-visible, .tcgc-land .tcgc-top :focus-visible { outline-color: var(--tcgc-gold); }
.tcgc-land .tcgc-top:not([data-mode="night"]) :focus-visible { outline-color: #0b2340; }
/* Раздел, к которому прокрутили по якорю, получает фокус скриптом (tabindex="-1"): рамка вокруг всего раздела не нужна. */
.tcgc-land [tabindex="-1"]:focus-visible:not(.tcgc *) { outline: none; box-shadow: none; }

.tcgc-land .tcgc-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--tcgc-gutter); }
@media (min-width: 600px) { .tcgc-land { --tcgc-gutter: 24px; } }
@media (min-width: 1200px) { .tcgc-land { --tcgc-gutter: 40px; } }

/* ---------- Текст ---------- */
.tcgc-land .tcgc-h1 { font-family: var(--tcgc-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.tcgc-land .tcgc-h2 { font-family: var(--tcgc-display); font-weight: 800; font-size: 32px; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.tcgc-land .tcgc-h3 { font-family: var(--tcgc-display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.tcgc-land .tcgc-intro { font-size: 18px; line-height: 1.5; color: var(--tcgc-ink-2); max-width: 36em; text-wrap: pretty; }
.tcgc-land .tcgc-p { text-wrap: pretty; }
.tcgc-land .tcgc-small { font-size: 15px; line-height: 1.45; color: var(--tcgc-ink-2); text-wrap: pretty; }
.tcgc-land .tcgc-link { color: var(--tcgc-blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color 150ms ease; }
.tcgc-land .tcgc-sec--night .tcgc-link { color: #7FD3F7; }
@media (min-width: 900px) {
  .tcgc-land .tcgc-h1 { font-size: clamp(56px, 5.4vw, 78px); }
  .tcgc-land .tcgc-h2 { font-size: clamp(38px, 3.5vw, 50px); }
  .tcgc-land .tcgc-h3 { font-size: 22px; }
  .tcgc-land .tcgc-intro { font-size: 20px; }
}

/* Заглушка: то, что нужно заполнить до публикации (видно только администратору). */
.tcgc-land a[data-ph]:not(:focus-visible) { outline: 2px dashed #E2B200; outline-offset: 2px; }
.tcgc-land .tcgc-ph { background: repeating-linear-gradient(135deg, #FFF3C4 0 6px, #FFE79A 6px 12px); color: #5C4300; border-radius: 6px; padding: 0 5px; box-shadow: 0 0 0 1px #E2B200 inset; white-space: nowrap; }

/* ---------- Шестигранник (соты) ---------- */
.tcgc-land .tcgc-cell {
  --tcgc-hex-bg: var(--tcgc-blue);
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 49px;
  background: var(--tcgc-hex-bg); color: #fff; /* белый на голубом: цифры крупные и для чтения с экрана скрыты, тёмный на голубом смотрелся грязно */
  font-family: var(--tcgc-display); font-weight: 800; font-size: 21px; line-height: 1;
  -webkit-mask: var(--tcgc-hex-mask) center / contain no-repeat; mask: var(--tcgc-hex-mask) center / contain no-repeat;
}
.tcgc-land .tcgc-cell--gold { --tcgc-hex-bg: var(--tcgc-gold); color: var(--tcgc-night); }
.tcgc-land .tcgc-cell:not(:has(svg)) { padding-top: 0.08em; } /* цифра: оптическая середина */
.tcgc-land .tcgc-cell--sm { width: 36px; height: 40px; font-size: 18px; }
.tcgc-land .tcgc-cell .tcgc-ic { width: 22px; height: 22px; }

/* ---------- Кнопки ---------- */
.tcgc-land .tcgc-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--tcgc-text); font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; white-space: normal;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--tcgc-ease-out), background-color 150ms ease, box-shadow 150ms ease;
}
.tcgc-land .tcgc-cta:active { transform: scale(0.97); }
.tcgc-land .tcgc-cta--gold { background: var(--tcgc-gold); color: var(--tcgc-night); box-shadow: 0 1px 2px rgba(11, 35, 64, 0.12); }
.tcgc-land .tcgc-cta--line { background: var(--tcgc-card); color: var(--tcgc-ink); box-shadow: 0 0 0 1.5px var(--tcgc-line-2) inset; }
.tcgc-land .tcgc-cta--wide { width: 100%; }
.tcgc-land .tcgc-cta .tcgc-ic { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .tcgc-land .tcgc-cta--gold:hover { background: #FFD45F; }
  .tcgc-land .tcgc-cta--line:hover { box-shadow: 0 0 0 1.5px var(--tcgc-blue) inset; }
  .tcgc-land .tcgc-link:hover { text-decoration-color: currentColor; }
}

/* ---------- Первый экран: как на баннерах. Детская вкладка - день, покупатели - ночь ----------
   Небо - два слоя-градиента (день/ночь) под картинкой, переключаются прозрачностью. Картинка (фасад ТЦ в снегу с вывеской ГОРОД)
   сверху и снизу растворяется в небо и снег, низ первого экрана переходит в фон следующего раздела. */
.tcgc-land .tcgc-top {
  --sky-top: #a9d5f3; --sky-mid: #c4e1f5; --snow: #e4edf8;
  position: relative; isolation: isolate; overflow: hidden; color: var(--tcgc-night);
}
.tcgc-land > .tcgc-top { margin-top: calc(-1 * var(--tcgh-h, 0px)); }
.tcgc-land .tcgc-top__sky { position: absolute; inset: 0; z-index: -2; transition: opacity 600ms var(--tcgc-ease-out); }
.tcgc-land .tcgc-top__sky--day { background: linear-gradient(180deg, #a9d5f3 0%, #c4e1f5 42%, #e4edf8 78%, var(--tcgc-frost) 100%); }
.tcgc-land .tcgc-top__sky--night { opacity: 0; background: linear-gradient(180deg, #172d63 0%, #23407a 40%, #9fb2d9 74%, #dfe7f6 92%, var(--tcgc-frost) 100%); }
.tcgc-land .tcgc-top[data-mode="night"] .tcgc-top__sky--night { opacity: 1; }
.tcgc-land .tcgc-snowfall { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 900ms ease; }
.tcgc-land .tcgc-snowfall.is-on { opacity: 1; }

.tcgc-land .tcgc-top__inner {
  display: grid; grid-template-areas: "head" "art" "picks"; align-items: start;
  padding-top: calc(var(--tcgh-h, 0px) + 22px); padding-bottom: 28px;
}
.tcgc-land .tcgc-top__head { grid-area: head; position: relative; z-index: 2; }
.tcgc-land .tcgc-top__title { color: var(--tcgc-night); transition: color 500ms var(--tcgc-ease-out); }
.tcgc-land .tcgc-top__title > span { display: block; }
.tcgc-land .tcgc-top__acc { color: var(--tcgc-blue); white-space: nowrap; transition: color 500ms var(--tcgc-ease-out); }
/* заголовок и подпись к нему - одна группа: подпись близко */
.tcgc-land .tcgc-top__lead { margin-top: 10px; font-size: 17px; line-height: 1.45; color: #2c4361; max-width: 30em; text-wrap: pretty; transition: color 500ms var(--tcgc-ease-out); }
.tcgc-land .tcgc-top[data-mode="night"] .tcgc-top__title { color: #fff; }
.tcgc-land .tcgc-top[data-mode="night"] .tcgc-top__acc { color: #7fd3f7; }
.tcgc-land .tcgc-top[data-mode="night"] .tcgc-top__lead { color: rgba(255, 255, 255, 0.86); }
.tcgc-land .tcgc-top__lead.tcgc-top__lead--long { font-size: 15.5px; line-height: 1.5; max-width: 36em; }
@media (min-width: 900px) { .tcgc-land .tcgc-top__lead.tcgc-top__lead--long { font-size: 17px; } }
.tcgc-land .tcgc-top[data-mode="night"] .tcgc-top__lead .tcgc-link { color: #9bdcf7; text-decoration-color: rgba(155, 220, 247, 0.55); }
/* R1 24.11: первый экран дневной (светлое небо) в обеих темах сайта. Ссылка в абзаце и вторая строка заголовка - тёмным
   голубым прямым цветом, а не переменной темы (в тёмной теме --tcgc-blue-ink светлый, 1,6:1 на этом небе).
   Ссылка #005f8e: около 5,6:1, акцент заголовка #0873aa (как «розыгрыши» в баннере главной): около 3,5:1 для крупного жирного.
   Фирменный #01A0E2 остаётся у сот, кнопок и иконок. Ночной кадр (вкладка покупателей) - правила выше. */
.tcgc-land .tcgc-top:not([data-mode="night"]) .tcgc-top__acc { color: #0873aa; }
.tcgc-land .tcgc-top:not([data-mode="night"]) .tcgc-top__lead .tcgc-link { color: #005f8e; text-decoration-color: rgba(0, 95, 142, 0.5); }
@media (hover: hover) and (pointer: fine) { .tcgc-land .tcgc-top:not([data-mode="night"]) .tcgc-top__lead .tcgc-link:hover { text-decoration-color: currentColor; } }

.tcgc-land .tcgc-top__art {
  grid-area: art; position: relative; z-index: 1; aspect-ratio: 4 / 3;
  margin: -6px calc(-1 * var(--tcgc-gutter)) 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%);
}
.tcgc-land .tcgc-top__pic, .tcgc-land .tcgc-top__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tcgc-land .tcgc-top__pic img { object-fit: cover; object-position: 50% 60%; }
.tcgc-land .tcgc-top__pic { transition: opacity 600ms var(--tcgc-ease-out); }
.tcgc-land .tcgc-top__pic--night { opacity: 0; }
.tcgc-land .tcgc-top[data-mode="night"] .tcgc-top__pic--night { opacity: 1; }
.tcgc-land .tcgc-top[data-mode="night"] .tcgc-top__pic--day { opacity: 0; }

/* плитки-вкладки: белые карточки, как плашка условий на баннерах */
.tcgc-land .tcgc-picks { grid-area: picks; position: relative; z-index: 2; display: grid; gap: 10px; margin-top: -18px; }
.tcgc-land .tcgc-pick {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 16px 12px 12px;
  border-radius: 22px; background: rgba(255, 255, 255, 0.9); color: var(--tcgc-night);
  box-shadow: 0 0 0 1px rgba(11, 35, 64, 0.08) inset, 0 12px 30px -18px rgba(11, 35, 64, 0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--tcgc-ease-out), box-shadow 200ms ease, background-color 200ms ease;
}
.tcgc-land .tcgc-pick:active { transform: scale(0.98); }
.tcgc-land .tcgc-pick__text { display: grid; gap: 1px; min-width: 0; }
.tcgc-land .tcgc-pick__name { font-family: var(--tcgc-display); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
.tcgc-land .tcgc-pick__who { font-size: 14.5px; line-height: 1.35; color: var(--tcgc-ink-2); }
.tcgc-land .tcgc-pick__go { margin-left: auto; color: var(--tcgc-blue); transition: transform 220ms var(--tcgc-ease-out), opacity 200ms ease; }
.tcgc-land .tcgc-pick[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 2.5px var(--tcgc-blue) inset, 0 14px 32px -18px rgba(1, 112, 160, 0.55); }
.tcgc-land .tcgc-pick[data-mode="night"][aria-selected="true"] { box-shadow: 0 0 0 2.5px var(--tcgc-gold) inset, 0 14px 32px -18px rgba(11, 35, 64, 0.6); }
.tcgc-land .tcgc-pick[aria-selected="false"] .tcgc-pick__go { transform: rotate(-90deg); opacity: 0.6; }
@media (hover: hover) and (pointer: fine) { .tcgc-land .tcgc-pick:hover { background: #fff; } }

@media (min-width: 600px) and (max-width: 899px) {
  .tcgc-land .tcgc-picks { grid-template-columns: 1fr 1fr; }
}
/* R2 24.11: плитки рядом одной высоты (на 820 px были 88 и 76): ссылка заполняет ячейку */
.tcgc-land .tcgc-picks > li { display: grid; }
/* С 01.12 по 14.01 под шапкой висит гирлянда (лампочки до 108 px от верха): заголовок чуть ниже, чтобы не теснился к ней.
   Без гирлянды правило не действует. Гирлянда вставляется до первой отрисовки, сдвига нет. */
@media (max-width: 899px) {
  html:has(#masthead .tcgny-garland) .tcgc-land .tcgc-top__inner { padding-top: calc(var(--tcgh-h, 0px) + 34px); }
}
@media (min-width: 900px) {
  .tcgc-land .tcgc-top__inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "head art" "picks art";
    align-content: center; column-gap: 32px; min-height: calc(clamp(600px, 80vh, 760px) + var(--tcgh-h, 0px));
    padding-top: calc(var(--tcgh-h, 0px) + 48px); padding-bottom: 56px;
  }
  .tcgc-land .tcgc-top__head { align-self: end; }
  .tcgc-land .tcgc-top__lead { margin-top: 14px; font-size: 20px; }
  .tcgc-land .tcgc-top__title { font-size: clamp(48px, 4.4vw, 66px); }
  /* картинка уходит за правый край и растворяется в небо со всех сторон (две маски, пересечение) */
  .tcgc-land .tcgc-top__art { margin: -40px calc(-1 * var(--tcgc-gutter) - max(0px, (100vw - 1180px) / 2)) -40px -40px; align-self: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
    mask-composite: intersect; }
  .tcgc-land .tcgc-picks { align-self: start; grid-template-columns: 1fr; max-width: 440px; margin-top: 28px; }
}
/* R1 24.11: низкий экран ПК (1366×768, 1280×800): с длинным абзацем вторая плитка-вкладка уходила за первый экран.
   Чуть меньше воздуха сверху, заголовок и абзац мельче - обе плитки на первом экране. */
@media (min-width: 900px) and (max-height: 820px) {
  .tcgc-land .tcgc-top__inner { padding-top: calc(var(--tcgh-h, 0px) + 32px); }
  .tcgc-land .tcgc-top__title { font-size: clamp(44px, 4vw, 60px); }
  .tcgc-land .tcgc-top__lead.tcgc-top__lead--long { margin-top: 10px; font-size: 16px; }
  .tcgc-land .tcgc-picks { margin-top: 22px; }
}

/* ---------- Секции ---------- */
/* Отступ под шапку при прокрутке к разделу даёт тема (scroll-padding-top на html). */
.tcgc-land .tcgc-sec { position: relative; padding-block: 48px; scroll-margin-top: 8px; }
.tcgc-land .tcgc-sec--frost { background: var(--tcgc-frost); }
@media (min-width: 900px) { .tcgc-land .tcgc-sec { padding-block: 88px; } }

/* ---------- Вкладки: два розыгрыша ----------
   Без скрипта панели идут одна за другой. Со скриптом видна одна, вторая [hidden];
   переключают плитки первого экрана (role="tab") и свайп по панели. */
.tcgc-land .tcgc-main { padding-top: 28px; }
.tcgc-land .tcgc-panes { display: grid; gap: 56px; }
.tcgc-land.tcgc-js .tcgc-panes { display: block; }
.tcgc-land .tcgc-pane[hidden] { display: none; }
.tcgc-land .tcgc-pane { scroll-margin-top: 8px; outline: none; }
.tcgc-land .tcgc-rail { scroll-margin-top: 8px; outline: none; } /* сюда ведёт «Как участвовать» из окна работы (board.js) */
@keyframes tcgcl-from-r { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes tcgcl-from-l { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .tcgc-land .tcgc-pane.is-from-r { animation: tcgcl-from-r 280ms var(--tcgc-ease-out); }
  .tcgc-land .tcgc-pane.is-from-l { animation: tcgcl-from-l 280ms var(--tcgc-ease-out); }
}
@media (min-width: 900px) { .tcgc-land .tcgc-main { padding-top: 56px; } }

/* ---------- Шаги (27.11.2026, «много баблов»): без карточек. На ПК три колонки, номера-соты соединены пунктиром
   слева направо; на телефоне строки, пунктир сверху вниз ---------- */
.tcgc-land .tcgc-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
  margin-inline: calc(-1 * var(--tcgc-gutter)); padding: 4px var(--tcgc-gutter) 8px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tcgc-gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tcgc-land .tcgc-rail::-webkit-scrollbar { display: none; }
.tcgc-land .tcgc-step { position: relative; display: grid; align-content: start; gap: 0; scroll-snap-align: start; }
.tcgc-land .tcgc-step > .tcgc-cell { margin-bottom: 14px; }
.tcgc-land .tcgc-step .tcgc-h3 { font-size: 19px; }
.tcgc-land .tcgc-step .tcgc-h3 { line-height: 1.15; }
.tcgc-land .tcgc-step__text { margin-top: 5px; font-size: 15.5px; line-height: 1.45; color: var(--tcgc-ink-2); text-wrap: pretty; }
@media (min-width: 720px) {
  .tcgc-land .tcgc-rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-inline: 0; padding: 0; overflow: visible; }
  .tcgc-land .tcgc-step { padding-right: 8px; }
  .tcgc-land .tcgc-step:not(:last-child)::after {
    content: ""; position: absolute; left: 50px; right: -18px; top: 19px; height: 2px;
    background: linear-gradient(90deg, var(--tcgc-line-2) 55%, transparent 0) 0 0 / 6px 2px; pointer-events: none;
  }
}
@media (min-width: 900px) { .tcgc-land .tcgc-step .tcgc-h3 { font-size: 21px; } .tcgc-land .tcgc-step__text { font-size: 16.5px; } }
/* R2 24.11: три карточки в ряд - сота, заголовок и текст на общих линиях, даже если один заголовок перенёсся (subgrid);
   без subgrid заголовку оставлено место под две строки */
@media (min-width: 720px) {
  @supports (grid-template-rows: subgrid) {
    .tcgc-land .tcgc-rail { grid-template-rows: auto auto 1fr; }
    .tcgc-land .tcgc-step { grid-row: span 3; grid-template-rows: subgrid; align-content: stretch; row-gap: 0; }
  }
  @supports not (grid-template-rows: subgrid) {
    .tcgc-land .tcgc-step .tcgc-h3 { min-height: calc(2 * 1.15em); }
  }
}
/* 24.11.2026: на телефоне шаги строками, все три видны сразу (без свайпа), номера-соты соединены пунктиром сверху вниз */
@media (max-width: 719.98px) {
  .tcgc-land .tcgc-rail {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: 0;
    margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .tcgc-land .tcgc-step {
    position: relative; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: start;
    padding: 12px 0; scroll-snap-align: none;
  }
  .tcgc-land .tcgc-step > .tcgc-cell { grid-row: 1 / span 2; margin: 0; }
  .tcgc-land .tcgc-step .tcgc-h3 { grid-column: 2; padding-top: 1px; font-size: 17px; line-height: 1.2; }
  .tcgc-land .tcgc-step__text { grid-column: 2; margin-top: 3px; font-size: 15px; line-height: 1.4; }
  .tcgc-land .tcgc-step:not(:last-child)::after {
    content: ""; position: absolute; left: 17px; top: 56px; bottom: -8px; width: 2px;
    background: linear-gradient(var(--tcgc-line-2) 55%, transparent 0) 0 0 / 2px 6px; pointer-events: none;
  }
}

/* R3 25.11: после конца приёма работ на вкладке детей один шаг «Розыгрыш» (сота с подарком): строкой, как на телефоне */
.tcgc-land .tcgc-cell--sm .tcgc-ic { width: 19px; height: 19px; }
@media (min-width: 720px) {
  .tcgc-land .tcgc-rail--one { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .tcgc-land .tcgc-rail--one .tcgc-step { grid-row: auto; grid-template-rows: none; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 0; }
  .tcgc-land .tcgc-rail--one .tcgc-step > .tcgc-cell { grid-row: 1 / span 2; margin: 0; }
  .tcgc-land .tcgc-rail--one .tcgc-step .tcgc-h3 { grid-column: 2; min-height: 0; padding-top: 1px; }
  .tcgc-land .tcgc-rail--one .tcgc-step__text { grid-column: 2; margin-top: 3px; }
}

/* ---------- Призы: три в ряд через тонкие линии, логотип, сумма под ним (27.11: без карточек; в тёмной теме логотип на светлой подложке) ---------- */
.tcgc-land .tcgc-prizes__title { margin: 36px 0 12px; }
.tcgc-land .tcgc-prizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.tcgc-land .tcgc-prize {
  position: relative; display: grid; grid-template-rows: 64px auto; justify-items: center; align-items: center; gap: 8px;
  padding: 2px 8px 4px; text-align: center;
}
.tcgc-land .tcgc-prize + .tcgc-prize { border-left: 1px solid var(--tcgc-line); }
.tcgc-land .tcgc-prize__logo { display: flex; align-items: center; justify-content: center; width: auto; max-width: 100%; height: 100%; padding: 8px 6px; border-radius: 12px; background: var(--tcgc-plate); } /* по ширине логотипа: в тёмной теме подложка не растягивается на всю колонку */
.tcgc-land .tcgc-prize__logo img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.tcgc-land .tcgc-prize--detmir .tcgc-prize__logo img { max-height: 30px; }
.tcgc-land .tcgc-prize--hobby .tcgc-prize__logo img { height: 32px; } /* у SVG нет своей ширины: высота задана явно, иначе в подложке по ширине логотипа он схлопывается */
.tcgc-land .tcgc-prize--sladkoe .tcgc-prize__logo { padding: 3px; }
.tcgc-land .tcgc-prize--tanuki .tcgc-prize__logo { padding: 5px; }
.tcgc-land .tcgc-prize--perek .tcgc-prize__logo { padding-inline: 4px; }
.tcgc-land .tcgc-prize--perek .tcgc-prize__logo img { height: 24px; }
.tcgc-land .tcgc-prize--poryadok .tcgc-prize__logo img { max-height: 30px; }
.tcgc-land .tcgc-prize--sport .tcgc-prize__logo img { height: 17px; }
.tcgc-land .tcgc-prize__place { margin-top: -2px; font-size: 13px; line-height: 1.2; color: var(--tcgc-ink-2); } /* 26.11: три одинаковых логотипа у детей - место подписано */
.tcgc-land .tcgc-prize__sum { font-family: var(--tcgc-display); font-weight: 800; font-size: 19px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
@media (min-width: 720px) {
  .tcgc-land .tcgc-prize { grid-template-rows: 96px auto; gap: 12px; padding: 4px 24px 8px; }
    .tcgc-land .tcgc-prize__logo { padding: 14px 20px; border-radius: 16px; }
  .tcgc-land .tcgc-prize--detmir .tcgc-prize__logo img { max-height: 52px; }
  .tcgc-land .tcgc-prize--hobby .tcgc-prize__logo img { height: 48px; }
  .tcgc-land .tcgc-prize--sladkoe .tcgc-prize__logo, .tcgc-land .tcgc-prize--tanuki .tcgc-prize__logo { padding: 6px; }
  .tcgc-land .tcgc-prize--perek .tcgc-prize__logo img { height: 32px; }
  .tcgc-land .tcgc-prize--poryadok .tcgc-prize__logo img { max-height: 46px; }
  .tcgc-land .tcgc-prize--sport .tcgc-prize__logo img { height: 34px; }
  .tcgc-land .tcgc-prize__place { font-size: 15px; }
  .tcgc-land .tcgc-prize__sum { font-size: 30px; }
}
@media (min-width: 900px) { .tcgc-land .tcgc-prizes__title { margin: 56px 0 16px; } .tcgc-land .tcgc-qas__title { margin-top: 64px; } }

/* ---------- Форма под кнопкой: настоящая форма [tcg_contest_form] со своим form.css ---------- */
.tcgc-land .tcgc-formslot { margin-top: 24px; scroll-margin-top: 8px; }
.tcgc-land .tcgc-formslot > .tcgc-formslot__body > .tcgc { max-width: 860px; margin-left: 0; }
.tcgc-land:not(.tcgc-js) .tcgc-formslot__open { display: none; }
.tcgc-land.tcgc-js .tcgc-formslot.is-folded .tcgc-formslot__body { display: none; }
.tcgc-land .tcgc-formslot__open { max-width: 420px; }
.tcgc-land .tcgc-formslot__open[hidden] { display: none; } /* после раскрытия формы кнопка убирается (у .tcgc-cta свой display) */
@media (prefers-reduced-motion: no-preference) {
  .tcgc-land .tcgc-formslot.is-opened .tcgc-formslot__body { animation: tcgcl-rise 320ms var(--tcgc-ease-out); }
}
@media (min-width: 900px) { .tcgc-land .tcgc-formslot { margin-top: 36px; } }
/* Кнопка отправки в цвет кнопок страницы (#0B2340 на #FFC93C 10:1). */
.tcgc-land .tcgc .tcgc-submit { background: var(--tcgc-gold); color: var(--tcgc-night); border-radius: 999px; box-shadow: 0 1px 2px rgba(11, 35, 64, 0.12); }
@media (hover: hover) and (pointer: fine) { .tcgc-land .tcgc .tcgc-submit:hover { background: #FFD45F; color: var(--tcgc-night); } }
.tcgc-land .tcgc .tcgc-submit:focus-visible { outline-color: var(--tcgc-night); }

/* ---------- Форма в окне (24.11.2026): landing.js переносит блок формы в <dialog class="tcgc-sheet"> ----------
   Сам dialog - прозрачный слой во всю видимую область (--vv-h/--vv-top из visualViewport: окно не уходит под клавиатуру),
   внутри панель. Телефон до 640 px: шторка снизу почти на весь экран, ручка, скругление сверху. Шире: окно по центру.
   Движение задаёт скрипт (Web Animations, только transform и opacity): шторка выезжает 280 мс, окно проявляется 240 мс,
   закрытие 160-200 мс; при «меньше движения» только проявление. Фон темнеет вместе с ними. */
.tcgc-land .tcgc-sheet {
  --tcgc-sheet-bg: #fff;
  --tcgc-sheet-x: var(--tcgc-frost);
  --tcgc-sheet-top: calc(env(safe-area-inset-top, 0px) + 24px); /* полоска страницы сверху: видно, что окно над ней, и есть куда коснуться */
  position: fixed; inset: auto 0; top: var(--vv-top, 0px);
  width: 100%; height: var(--vv-h, 100dvh); max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--tcgc-ink); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  outline: none; overscroll-behavior: contain;
}
.tcgc-land .tcgc-sheet:not([open]) { display: none; }
.tcgc-land .tcgc-sheet::backdrop { background: rgba(11, 35, 64, 0.5); opacity: var(--shade, 1); transition: opacity 200ms linear; }
.tcgc-land .tcgc-sheet[open]::backdrop { animation: tcgcl-fade 240ms ease-out; }
.tcgc-land .tcgc-sheet.is-dragging::backdrop { transition: none; }
.tcgc-land .tcgc-sheet.is-closing::backdrop { opacity: 0; }

.tcgc-land .tcgc-sheet__panel {
  position: relative; display: flex; flex-direction: column; width: 100%; height: calc(100% - var(--tcgc-sheet-top)); min-height: 0;
  background: var(--tcgc-sheet-bg); border-radius: 22px 22px 0 0; overflow: hidden; outline: none;
  box-shadow: 0 -12px 40px -16px rgba(11, 35, 64, 0.4);
}
/* соты сверху, как у карточки формы: стоят на месте, содержимое прокручивается поверх */
.tcgc-land .tcgc-sheet__panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; pointer-events: none;
  background: url("../img/hex.svg") 0 0 / 27.71px 48px repeat;
  -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent);
}
.tcgc-land .tcgc-sheet__head {
  position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 12px;
  min-height: 66px; padding: 20px 12px 8px 20px;
  touch-action: none; -webkit-user-select: none; user-select: none; cursor: grab;
  box-shadow: 0 1px 0 transparent; transition: box-shadow 200ms ease;
}
.tcgc-land .tcgc-sheet.is-dragging .tcgc-sheet__head { cursor: grabbing; }
.tcgc-land .tcgc-sheet.is-scrolled .tcgc-sheet__head { box-shadow: 0 1px 0 var(--tcgc-line), 0 8px 16px -12px rgba(11, 35, 64, 0.22); }
.tcgc-land .tcgc-sheet__grab { position: absolute; top: 8px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: rgba(11, 35, 64, 0.2); pointer-events: none; }
.tcgc-land .tcgc-sheet__title { flex: 1 1 auto; min-width: 0; font-family: var(--tcgc-display); font-weight: 800; font-size: 23px; line-height: 1.15; letter-spacing: -0.015em; color: var(--tcgc-ink); }
.tcgc-land .tcgc-sheet__x {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: var(--tcgc-sheet-x); color: var(--tcgc-ink); box-shadow: none; font: inherit; line-height: 1; text-transform: none; letter-spacing: normal;
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease, transform 160ms var(--tcgc-ease-out), opacity 150ms ease;
}
.tcgc-land .tcgc-sheet__x::after { content: ""; position: absolute; inset: -4px; } /* место касания 48 px */
.tcgc-land .tcgc-sheet__x:hover, .tcgc-land .tcgc-sheet__x:focus { background: var(--tcgc-sheet-x); color: var(--tcgc-ink); }
.tcgc-land .tcgc-sheet__x .tcgc-ic { width: 22px; height: 22px; }
.tcgc-land .tcgc-sheet__x:active { transform: scale(0.94); }
.tcgc-land .tcgc-sheet__x:focus-visible { outline: 3px solid var(--tcgc-focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .tcgc-land .tcgc-sheet__x:hover { background: color-mix(in srgb, var(--tcgc-blue) 16%, var(--tcgc-sheet-x)); } }
.tcgc-land .tcgc-sheet:has(.tcgc.is-busy) .tcgc-sheet__x { opacity: 0.4; cursor: progress; } /* идёт отправка: окно ждёт ответа */
.tcgc-land .tcgc-sheet__scroll {
  position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch; outline: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* форма внутри окна: без своей карточки (окно и есть карточка) */
.tcgc-land .tcgc-sheet .tcgc { max-width: none; margin: 0; }
.tcgc-land .tcgc-docs-host { max-width: none; margin: 0; } /* окна с текстами согласий, вынесенные из формы (landing.js) */
.tcgc-land .tcgc-sheet .tcgc-card { border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 2px 20px 28px; }
.tcgc-land .tcgc-sheet .tcgc-card::before { content: none; }
.tcgc-land .tcgc-sheet .tcgc-deco { top: -2px; right: 18px; }
.tcgc-land .tcgc-sheet :is(.tcgc-done, .tcgc-set, .tcgc-field, .tcgc-check, .tcgc-alert) { scroll-margin-top: 16px; }
/* номер работы: заголовок окна уже говорит «Работа отправлена» */
.tcgc-land .tcgc-sheet .tcgc-ticket-k { display: none; }
.tcgc-land .tcgc-sheet .tcgc-done-text { margin: 16px 0 18px; }
.tcgc-land .tcgc-sheet .tcgc-done-actions { display: grid; gap: 10px; }
.tcgc-land .tcgc-sheet .tcgc-done-actions .tcgc-btn { width: 100%; min-height: 52px; border-radius: 999px; }
.tcgc-land .tcgc-sheet .tcgc .tcgc-done-ok { display: inline-flex; background: var(--tcgc-gold); color: var(--tcgc-night); box-shadow: 0 1px 2px rgba(11, 35, 64, 0.12); }
@media (hover: hover) and (pointer: fine) { .tcgc-land .tcgc-sheet .tcgc .tcgc-done-ok:hover { background: #FFD45F; color: var(--tcgc-night); } }
.tcgc-land .tcgc-sheet .tcgc .tcgc-done-ok:focus-visible { outline: 3px solid var(--tcgc-night); outline-offset: 2px; }

@media (min-width: 640px) {
  .tcgc-land .tcgc-sheet { justify-content: center; padding: 24px; }
  .tcgc-land .tcgc-sheet__panel { width: min(680px, 100%); height: auto; max-height: 100%; border-radius: 24px; box-shadow: 0 30px 80px -24px rgba(11, 35, 64, 0.5); }
  .tcgc-land .tcgc-sheet__grab { display: none; }
  .tcgc-land .tcgc-sheet__head { min-height: 72px; padding: 22px 18px 10px 32px; touch-action: auto; cursor: auto; }
  .tcgc-land .tcgc-sheet__title { font-size: 26px; }
  .tcgc-land .tcgc-sheet .tcgc-card { padding: 4px 32px 32px; }
  .tcgc-land .tcgc-sheet .tcgc-deco { right: 26px; }
  .tcgc-land .tcgc-sheet .tcgc-done-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) and (max-height: 560px) { .tcgc-land .tcgc-sheet { padding-block: 12px; } }

/* Страница под окном не прокручивается: на телефоне body стоит на месте (top задаёт скрипт), на ПК overflow */
html.tcgc-lock-fix body { position: fixed !important; left: 0; right: 0; width: 100%; }
html.tcgc-lock-clip { overflow: hidden !important; overscroll-behavior: none; }
html.tcgc-lock-clip body { overflow: visible !important; } /* как у меню темы: иначе липкая шапка теряет опору */

/* ---------- Видно только администратору: что ещё не заполнено ---------- */
.tcgc-land .tcgc-admin-note { position: relative; z-index: 5; background: #FFF3C4; color: #4A3600; border-bottom: 1px solid #E2B200; font-size: 15px; line-height: 1.45; }
.tcgc-land .tcgc-admin-note .tcgc-wrap { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding-block: 12px; }
.tcgc-land .tcgc-admin-note .tcgc-ic { width: 20px; height: 20px; margin-top: 1px; }
.tcgc-land .tcgc-admin-note b { font-weight: 700; }
.tcgc-land .tcgc-admin-note ul { margin-top: 4px; }
.tcgc-land .tcgc-admin-note li { position: relative; padding-left: 14px; }
.tcgc-land .tcgc-admin-note li::before { content: ""; position: absolute; left: 2px; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tcgc-land .tcgc-admin-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tcgc-land .tcgc-admin-note--bad { background: #FDEEEC; color: #7A1A12; border-bottom-color: #E7B9B3; }

/* Кнопки, которым нужен скрипт (окна с текстами согласий, новая заявка после номера), без него не показываем. */
.tcgc-land:not(.tcgc-js) [data-tcgc-open], .tcgc-land:not(.tcgc-js) .tcgc [data-again] { display: none; }

/* ---------- Раскрывающиеся пункты ---------- */
.tcgc-land .tcgc-qas { margin-top: 20px; }
.tcgc-land .tcgc-qas__title { margin: 44px 0 6px; }
.tcgc-land .tcgc-qas--pane { margin-top: 0; }
.tcgc-land .tcgc-qa { border-bottom: 1px solid var(--tcgc-line); }
.tcgc-land .tcgc-qa:first-child { border-top: 1px solid var(--tcgc-line); }
.tcgc-land .tcgc-qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 10px 0; cursor: pointer; list-style: none;
  font-family: var(--tcgc-text); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--tcgc-ink);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.tcgc-land .tcgc-qa summary::-webkit-details-marker { display: none; }
.tcgc-land .tcgc-qa summary::marker { content: ""; }
.tcgc-land .tcgc-qa__chev { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin-right: -6px; color: var(--tcgc-blue-ink); transition: transform 200ms var(--tcgc-ease-out), color 150ms ease; } /* 27.11: без кружка */
.tcgc-land .tcgc-qa__chev .tcgc-ic { width: 20px; height: 20px; }
.tcgc-land .tcgc-qa[open] .tcgc-qa__chev { transform: rotate(180deg); }
.tcgc-land .tcgc-qa__a { padding: 0 48px 18px 0; margin-top: -4px; font-size: 16px; line-height: 1.5; color: var(--tcgc-ink-2); text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .tcgc-land .tcgc-qa summary:hover .tcgc-qa__chev { color: var(--tcgc-ink); } }
@supports selector(::details-content) {
  .tcgc-land { interpolate-size: allow-keywords; }
  .tcgc-land .tcgc-qa::details-content { block-size: 0; overflow: clip; transition: block-size 260ms var(--tcgc-ease-out), content-visibility 260ms allow-discrete; }
  .tcgc-land .tcgc-qa[open]::details-content { block-size: auto; }
}

/* ---------- Как забрать приз и вопросы ---------- */
.tcgc-land .tcgc-info__grid { display: grid; gap: 20px; }
.tcgc-land .tcgc-info__grid > .tcgc-qas { margin-top: 0; }
.tcgc-land .tcgc-info .tcgc-intro { margin-top: 8px; font-size: 17px; }
/* 27.11: телефон крупной строкой, без рамки */
.tcgc-land .tcgc-call {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px;
  font-family: var(--tcgc-display); font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--tcgc-ink); white-space: nowrap;
  touch-action: manipulation; transition: color 150ms ease;
}
.tcgc-land .tcgc-call .tcgc-ic { width: 22px; height: 22px; color: var(--tcgc-blue); }
@media (hover: hover) and (pointer: fine) { .tcgc-land .tcgc-call:hover { color: var(--tcgc-blue-ink); } }
@media (min-width: 900px) {
  .tcgc-land .tcgc-info__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; }
  .tcgc-land .tcgc-info .tcgc-intro { font-size: 18px; }
  .tcgc-land .tcgc-qa summary { font-size: 18px; min-height: 64px; }
}

/* ---------- Документы: строка ссылок (27.11: без таблеток), переносится ---------- */
.tcgc-land .tcgc-docs { margin-top: 36px; }
.tcgc-land .tcgc-docs__row { display: flex; flex-wrap: wrap; gap: 0 24px; }
.tcgc-land .tcgc-chip {
  display: inline-flex; flex: none; align-items: center; min-height: 40px; margin: 0; padding: 0; border: 0; border-radius: 0; cursor: pointer;
  background: none; color: var(--tcgc-ink); font-family: var(--tcgc-text); font-size: 15px; font-weight: 500; line-height: 1.3; text-align: left;
  text-decoration: underline; text-decoration-color: var(--tcgc-line-2); text-decoration-thickness: 1.5px; text-underline-offset: 4px;
  touch-action: manipulation; transition: color 150ms ease, text-decoration-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) { .tcgc-land .tcgc-chip:hover { color: var(--tcgc-blue-ink); text-decoration-color: currentColor; } }
.tcgc-land .tcgc-org { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--tcgc-ink-2); }
@media (min-width: 900px) {
  .tcgc-land .tcgc-docs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 56px; }
  .tcgc-land .tcgc-org { margin: 0; }
}

/* ---------- Тёмная тема: вместе с тёмной темой сайта (блок «TCG: тёмная тема», стиль #tcg-dark-css) ---------- */
@media (prefers-color-scheme: dark) {
  html:has(#tcg-dark-css) .tcgc-land {
    color-scheme: dark;
    --tcgc-bg: #111214;
    --tcgc-frost: #16171a;
    --tcgc-card: #1f2024;
    --tcgc-plate: #F2F4F6;
    --tcgc-line: #2e2f33;
    --tcgc-line-2: #3a3b41;
    --tcgc-ink: #ececee;
    --tcgc-ink-2: #b4b4bb;
    --tcgc-blue-ink: #4cc3f5;
    --tcgc-focus: #4cc3f5;
    --tcgc-shadow: 0 0 0 1px #2e2f33 inset;
  }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-top__art::after { opacity: 0.96; }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-call .tcgc-ic { color: #4cc3f5; }
  /* плитки-вкладки на небе остаются белыми и в тёмной теме: подпись тёмная, иначе светло-серое на белом (2:1) */
  html:has(#tcg-dark-css) .tcgc-land .tcgc-pick__who { color: #44566d; }
  html:has(#tcg-dark-css) .tcgc-land .tcgc .tcgc-submit { background: var(--tcgc-gold); color: var(--tcgc-night); }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-sheet { --tcgc-sheet-bg: #1a1b1f; --tcgc-sheet-x: #2a2b30; }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-sheet::backdrop { background: rgba(0, 0, 0, 0.64); }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-sheet__panel { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset, 0 -12px 40px -16px #000; }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-sheet__panel::before { opacity: 0.25; }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-sheet__grab { background: rgba(255, 255, 255, 0.26); }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-sheet__x:focus-visible { outline-color: #4cc3f5; }
  html:has(#tcg-dark-css) .tcgc-land .tcgc-sheet .tcgc .tcgc-done-ok { background: var(--tcgc-gold); color: var(--tcgc-night); }
}

/* ---------- Появление ---------- */
/* Ленты шагов и призы: один раз лесенкой (класс is-wait ставит скрипт только тем, кто ещё не на экране). */
.tcgc-land .is-wait > * { opacity: 0; transform: translateY(14px); }
.tcgc-land .is-wait.is-in > * { opacity: 1; transform: none; transition: opacity 320ms ease-out, transform 460ms var(--tcgc-ease-out); transition-delay: calc(var(--tcgc-i, 0) * 70ms); }
@keyframes tcgcl-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tcgcl-fade { from { opacity: 0; } to { opacity: 1; } }

/* Первый экран появляется чистым CSS, без скрипта: заголовок не мигает, пока грузится landing.js. */
@media (prefers-reduced-motion: no-preference) {
  .tcgc-land .tcgc-top__head { animation: tcgcl-rise 360ms var(--tcgc-ease-out) backwards; }
  .tcgc-land .tcgc-top__body { animation: tcgcl-rise 360ms var(--tcgc-ease-out) 70ms backwards; }
}
@media (prefers-reduced-motion: reduce) {
  .tcgc-land .tcgc-sheet__x:active { transform: none; }
  .tcgc-land .tcgc-qa__chev { transition-property: color; }
  .tcgc-land .tcgc-cta, .tcgc-land .tcgc-pick { transition-property: background-color, box-shadow; }
  .tcgc-land .tcgc-cta:active, .tcgc-land .tcgc-pick:active { transform: none; }
  .tcgc-land .tcgc-snowfall { display: none; }
  .tcgc-land .tcgc-qa::details-content { transition: none; }
}
/* Пока на экране форма, плавающая кнопка «Наверх» темы прячется (она закрывала края полей и галочек). */
html.tcgc-form-in-view .tcg-totop-dock button.tcg-totop.is-on, html.tcgc-form-in-view .tcg-totop-dock button.tcg-totop { opacity: 0; visibility: hidden; pointer-events: none; }
@media print {
  .tcgc-land .tcgc-pane[hidden], .tcgc-land .tcgc-formslot__body { display: block !important; }
  .tcgc-land .tcgc-snowfall { display: none; }
}

/* Тестовый режим для проверяющих (TCGC_Test, только с cookie): тонкая жёлтая полоска сразу под липкой шапкой сайта
   (отступ --tcgc-test-top ставит test.js), кнопка «Оставить отзыв». Посетители её не видят. Жёлтый #FFC93C и тёмно-синий текст 11:1. */
.tcgc-land .tcgc-testbar {
  position: sticky;
  top: var(--tcgc-test-top, 0px);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  min-height: 44px;
  margin: 0;
  padding: 5px var(--tcgc-gutter);
  background: #FFC93C;
  color: #0B2340;
  box-shadow: 0 1px 0 rgba(11, 35, 64, 0.14);
}
.tcgc-land .tcgc-testbar__text { min-width: 0; margin: 0; font-size: 14px; line-height: 1.3; }
.tcgc-land .tcgc-testbar__text b { font-weight: 700; }
.tcgc-land .tcgc-testbar__btn {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  min-height: 34px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #0B2340;
  box-shadow: none;
  color: #fff;
  font: 600 14px/1 var(--tcgc-text);
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms var(--tcgc-ease-out);
}
.tcgc-land .tcgc-testbar__btn:hover, .tcgc-land .tcgc-testbar__btn:focus { background: #0B2340; color: #fff; }
.tcgc-land .tcgc-testbar__btn:active { transform: scale(0.97); }
.tcgc-land .tcgc-testbar__btn:focus-visible { outline: 2px solid #0B2340; outline-offset: 2px; }
@media (max-width: 520px) {
  .tcgc-land .tcgc-testbar { justify-content: space-between; gap: 10px; min-height: 40px; padding: 4px 12px 4px var(--tcgc-gutter); }
  .tcgc-land .tcgc-testbar__text { font-size: 12px; line-height: 1.25; }
  .tcgc-land .tcgc-testbar__btn { min-height: 32px; padding: 0 11px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .tcgc-land .tcgc-testbar__btn, .tcgc-land .tcgc-testbar__btn:active { transition: none; transform: none; } }

/* 26.11.2026: «Что можно прислать» на вкладке детей: тема и виды работ, затем «Как участвовать».
   27.11 (просьба «много баблов»): без карточек. На телефоне и планшете строки через тонкие линии (сота слева),
   на ПК от 900 px четыре колонки через тонкие линии. */
.tcgc-land .tcgc-what { margin: 0 0 8px; }
.tcgc-land .tcgc-what__title { margin: 0 0 6px; font-size: 21px; line-height: 1.2; }
.tcgc-land .tcgc-what + .tcgc-what__title { margin-top: 32px; margin-bottom: 8px; }
.tcgc-land .tcgc-what__lead { margin: 0 0 8px; max-width: 40em; font-size: 16px; line-height: 1.5; color: var(--tcgc-ink-2); text-wrap: pretty; }
.tcgc-land .tcgc-what__grid { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.tcgc-land .tcgc-what__item { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; margin: 0; padding: 13px 0; }
.tcgc-land .tcgc-what__item + .tcgc-what__item { border-top: 1px solid var(--tcgc-line); }
.tcgc-land .tcgc-what__item > .tcgc-cell { grid-row: 1 / span 2; }
.tcgc-land .tcgc-what__item b, .tcgc-land .tcgc-what__item span:not(.tcgc-cell) { grid-column: 2; }
.tcgc-land .tcgc-what__item b { padding-top: 1px; font-size: 17px; line-height: 1.2; color: var(--tcgc-ink); }
.tcgc-land .tcgc-what__item span:not(.tcgc-cell) { font-size: 15px; line-height: 1.45; color: var(--tcgc-ink-2); text-wrap: pretty; }
@media (min-width: 720px) {
  .tcgc-land .tcgc-what__title { font-size: 23px; }
  .tcgc-land .tcgc-what__lead { font-size: 17px; }
  .tcgc-land .tcgc-what + .tcgc-what__title { margin-top: 44px; margin-bottom: 20px; }
}
@media (min-width: 900px) {
  .tcgc-land .tcgc-what__lead { margin-bottom: 22px; }
  .tcgc-land .tcgc-what__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tcgc-land .tcgc-what__item { display: flex; flex-direction: column; gap: 6px; padding: 2px 24px 4px; }
  .tcgc-land .tcgc-what__item:first-child { padding-left: 0; }
  .tcgc-land .tcgc-what__item + .tcgc-what__item { border-top: 0; border-left: 1px solid var(--tcgc-line); }
  .tcgc-land .tcgc-what__item > .tcgc-cell { margin-bottom: 8px; }
  .tcgc-land .tcgc-what__item span:not(.tcgc-cell) { font-size: 15.5px; }
}
