/* Баннер конкурса первым блоком главной сайта (TCGC_Home, плагин 1.5.0).
   Подключается только на главной в дни конкурса. Все селекторы с двумя ID: тема внутри #tcgh-home
   задаёт h2, p, a, svg и img своими правилами. Цвета на картине следуют за картиной (день/ночь по теме
   устройства), поэтому тёмные правила баннера в чистом @media (prefers-color-scheme:dark). */

/* R2 24.11: запасной шрифт по метрикам Lato. Пока Lato грузится (font-display:swap), Arial и Helvetica шире на 6-8 %,
   и имя строки переносилось: плашка была выше и потом «садилась» (CLS). Уменьшенные Arial/Helvetica совпадают с Lato по ширине. */
@font-face{font-family:"TCGC Lato A";src:local("Arial"),local("ArialMT");font-weight:400 600;size-adjust:94.5%}
@font-face{font-family:"TCGC Lato A";src:local("Arial Bold"),local("Arial-BoldMT");font-weight:700 900;size-adjust:94.5%}
@font-face{font-family:"TCGC Lato H";src:local("Helvetica"),local("Helvetica Neue");font-weight:400 600;size-adjust:92.5%}
@font-face{font-family:"TCGC Lato H";src:local("Helvetica Bold"),local("Helvetica-Bold"),local("Helvetica Neue Bold");font-weight:700 900;size-adjust:92.5%}

#tcgh-home #tcgc-home{--tcgc-home-pad:clamp(40px,5vw,72px);--tcgc-home-ease:cubic-bezier(.23,1,.32,1);--tcgc-home-hex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,8 88.1,30 88.1,70 50,92 11.9,70 11.9,30' fill='%23000' stroke='%23000' stroke-width='14' stroke-linejoin='round'/%3E%3C/svg%3E");position:relative;isolation:isolate;overflow:hidden;display:block;box-sizing:border-box;width:min(1320px,calc(100% - 64px));height:clamp(480px,39vw,560px);margin:40px auto 0;padding:0;border-radius:40px 88px 40px 40px;background:linear-gradient(180deg,#acd8f5 0%,#c3e0f6 40%,#d6e6f7 62%,#e3ecf9 76%,#e3edfb 86%,#d4e4fa 100%);color:#0b2340;font-family:Lato,"TCGC Lato A","TCGC Lato H",Helvetica,Arial,sans-serif;font-size:16px;line-height:1.4;text-align:left}
#tcgh-home #tcgc-home[hidden]{display:none!important}
#tcgh-home #tcgc-home::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(11,35,64,.06);pointer-events:none}
@supports (corner-shape:squircle){
 #tcgh-home #tcgc-home{border-radius:88px 194px 88px 88px;corner-shape:squircle}
 #tcgh-home #tcgc-home::after{corner-shape:inherit}
}

#tcgh-home #tcgc-home .tcgc-home__art{position:absolute;top:0;right:0;z-index:-1;display:block;height:100%;aspect-ratio:1440/1125;margin:0}
#tcgh-home #tcgc-home .tcgc-home__art img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 0}

#tcgh-home #tcgc-home .tcgc-home__copy{position:absolute;left:var(--tcgc-home-pad);top:clamp(48px,4.6vw,66px);max-width:470px}
#tcgh-home #tcgc-home .tcgc-home__title{margin:0;padding:0;font:900 clamp(44px,4.45vw,64px)/1 Lato,"TCGC Lato A","TCGC Lato H",Helvetica,Arial,sans-serif;letter-spacing:-.035em;color:#0b2340;text-wrap:balance}
#tcgh-home #tcgc-home .tcgc-home__title span{display:block}
#tcgh-home #tcgc-home .tcgc-home__title .tcgc-home__acc{color:#0873aa}
#tcgh-home #tcgc-home .tcgc-home__lead{margin:20px 0 0;max-width:23em;font-size:20px;line-height:1.45;color:#2c4361;text-wrap:pretty}
#tcgh-home #tcgc-home .tcgc-home__nw{white-space:nowrap}
#tcgh-home #tcgc-home .tcgc-home__lead a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:4px}
#tcgh-home #tcgc-home .tcgc-home__lead a:focus-visible{outline:2px solid #0079b0;outline-offset:2px}

#tcgh-home #tcgc-home .tcgc-home__picks{position:absolute;left:var(--tcgc-home-pad);bottom:clamp(36px,4vw,56px);z-index:1;width:clamp(420px,39vw,560px);margin:0;padding:6px;list-style:none;border-radius:26px;background:rgba(255,255,255,.8);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);box-shadow:0 22px 44px -28px rgba(11,35,64,.45),inset 0 0 0 1px rgba(255,255,255,.7)}
#tcgh-home #tcgc-home .tcgc-home__picks li{display:block;margin:0;padding:0;list-style:none;background:none}
#tcgh-home #tcgc-home .tcgc-home__picks li::before{content:none}
#tcgh-home #tcgc-home .tcgc-home__picks li+li{border-top:1px solid rgba(11,35,64,.08)}
#tcgh-home #tcgc-home .tcgc-home__pick{display:grid;grid-template-columns:44px minmax(0,1fr) auto 20px;grid-template-areas:"cell name when go" "cell who when go";align-items:center;column-gap:16px;min-height:76px;padding:12px 14px 12px 12px;border-radius:20px;color:#0b2340;text-decoration:none;transition:background-color 160ms ease-out,scale 120ms ease-out}
#tcgh-home #tcgc-home .tcgc-home__pick.is-nodate{grid-template-columns:44px minmax(0,1fr) 20px;grid-template-areas:"cell name go" "cell who go"}
#tcgh-home #tcgc-home .tcgc-home__cell{grid-area:cell;display:grid;place-items:center;width:44px;height:50px;background:#01a0e2;color:#fff;-webkit-mask:var(--tcgc-home-hex) center/100% 100% no-repeat;mask:var(--tcgc-home-hex) center/100% 100% no-repeat}
#tcgh-home #tcgc-home .tcgc-home__cell--gold{background:#ffc93c;color:#0b2340}
#tcgh-home #tcgc-home .tcgc-home__ic{width:22px;height:22px;fill:currentColor;stroke:none}
#tcgh-home #tcgc-home .tcgc-home__name{grid-area:name;align-self:end;font-size:17px;font-weight:700;line-height:1.25;color:#0b2340;text-wrap:balance}
#tcgh-home #tcgc-home .tcgc-home__who{grid-area:who;align-self:start;margin-top:2px;font-size:14px;line-height:1.35;color:#44566d;text-wrap:balance}
#tcgh-home #tcgc-home .tcgc-home__when{grid-area:when;font-size:14px;font-weight:700;line-height:1.35;color:#0873aa;white-space:nowrap;text-align:right}
#tcgh-home #tcgc-home .tcgc-home__pick.is-later .tcgc-home__when{color:#44566d;font-weight:600}
#tcgh-home #tcgc-home .tcgc-home__go{grid-area:go;width:20px;height:20px;color:#0b2340;fill:currentColor;stroke:none;opacity:.5;transition:transform 200ms var(--tcgc-home-ease),opacity 160ms ease-out}
#tcgh-home #tcgc-home .tcgc-home__meta{display:contents}
#tcgh-home #tcgc-home .tcgc-home__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): сота и текст приглушены, ссылка остаётся (на странице конкурса итоги и работы) */
#tcgh-home #tcgc-home .tcgc-home__pick.is-done .tcgc-home__cell{background:#c9d6ea;color:#44566d}
#tcgh-home #tcgc-home .tcgc-home__pick.is-done .tcgc-home__name{font-weight:600;color:#2c4361}
#tcgh-home #tcgc-home .tcgc-home__pick.is-done .tcgc-home__go{opacity:.35}
#tcgh-home #tcgc-home .tcgc-home__pick:focus-visible{outline:2px solid #0079b0;outline-offset:-2px}
#tcgh-home #tcgc-home .tcgc-home__pick:active{scale:.985}
@media (hover:hover) and (pointer:fine){
 #tcgh-home #tcgc-home .tcgc-home__pick:hover{background:rgba(255,255,255,.85)}
 #tcgh-home #tcgc-home .tcgc-home__pick:hover .tcgc-home__go{transform:translateX(3px);opacity:.9}
}

/* Появление: картина как фото первого экрана, текст и плашка лесенкой со своего места */
@media (prefers-reduced-motion:no-preference){
 #tcgh-home #tcgc-home .tcgc-home__art img{animation:tcgc-home-art 500ms var(--tcgc-home-ease) both}
 #tcgh-home #tcgc-home .tcgc-home__title,#tcgh-home #tcgc-home .tcgc-home__lead,#tcgh-home #tcgc-home .tcgc-home__picks{animation:tcgc-home-rise 300ms var(--tcgc-home-ease) both}
 #tcgh-home #tcgc-home .tcgc-home__title{animation-delay:60ms}
 #tcgh-home #tcgc-home .tcgc-home__lead{animation-delay:120ms}
 #tcgh-home #tcgc-home .tcgc-home__picks{animation-delay:180ms}
}
/* Меньше движения: только мягкое проявление текста; правило темы #tcgh-home * сокращает всё до 0,01 мс, поэтому !important */
@media (prefers-reduced-motion:reduce){
 #tcgh-home #tcgc-home .tcgc-home__title,#tcgh-home #tcgc-home .tcgc-home__lead,#tcgh-home #tcgc-home .tcgc-home__picks{animation:tcgc-home-fade 200ms ease-out both!important}
 #tcgh-home #tcgc-home .tcgc-home__art img{animation:none!important}
 #tcgh-home #tcgc-home .tcgc-home__pick:active{scale:none}
}
@keyframes tcgc-home-art{from{opacity:.6;transform:scale(1.02)}to{opacity:1;transform:none}}
@keyframes tcgc-home-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes tcgc-home-fade{from{opacity:0}to{opacity:1}}

/* Узкий ПК (плашка уже 525 px): ритм по высоте плотнее */
@media (min-width:1024px) and (max-width:1365px){
 #tcgh-home #tcgc-home .tcgc-home__copy{top:clamp(40px,3.6vw,48px)}
 #tcgh-home #tcgc-home .tcgc-home__lead{margin-top:14px;font-size:18px;line-height:1.4}
 #tcgh-home #tcgc-home .tcgc-home__picks{bottom:clamp(28px,3vw,40px)}
}
/* До 1439 px дата строкой под подписью, иначе названия ломаются (R3 25.11: на 1366-1419 колонка даты рвала
   «Творческий конкурс / для детей» и «Розыгрыш / для покупателей» на две строки). Колонка даты справа с 1440 px. */
@media (min-width:1024px) and (max-width:1439px){
 #tcgh-home #tcgc-home .tcgc-home__pick,#tcgh-home #tcgc-home .tcgc-home__pick.is-nodate{grid-template-columns:44px minmax(0,1fr) 20px;grid-template-areas:"cell name go" "cell who go" "cell when go";min-height:72px;padding-top:10px;padding-bottom:10px}
 #tcgh-home #tcgc-home .tcgc-home__when{align-self:start;margin-top:2px;text-align:left;white-space:normal}
}

/* Планшет, портрет: картина во весь блок, заголовок на небе, ссылки на снегу */
@media (min-width:600px) and (max-width:1023px){
 #tcgh-home #tcgc-home{--tcgc-home-pad:40px;width:calc(100% - 64px);height:auto;aspect-ratio:1440/1728;margin-top:32px;border-radius:32px 72px 32px 32px;background:#b3daf5}
 @supports (corner-shape:squircle){#tcgh-home #tcgc-home{border-radius:70px 158px 70px 70px}}
 #tcgh-home #tcgc-home .tcgc-home__art{inset:0;width:100%;height:100%;aspect-ratio:auto}
 #tcgh-home #tcgc-home .tcgc-home__copy{left:var(--tcgc-home-pad);right:var(--tcgc-home-pad);top:40px;max-width:none}
 #tcgh-home #tcgc-home .tcgc-home__title{font-size:clamp(40px,6.4vw,54px)}
 #tcgh-home #tcgc-home .tcgc-home__title span{display:inline}
 #tcgh-home #tcgc-home .tcgc-home__lead{margin-top:14px;max-width:none;font-size:19px}
 #tcgh-home #tcgc-home .tcgc-home__picks{left:20px;right:20px;bottom:20px;width:auto}
}
/* 600-767: колонка темы с полями 20 px (текст, кнопки, «Магазины и кафе»), баннер по ней, а не с полями 32 px (R3 25.11) */
@media (min-width:600px) and (max-width:767px){#tcgh-home #tcgc-home{width:calc(100% - 40px)}}
/* 600-719: строки в два уровня, плотнее: плашка около 150 px ложится на снег, а не на ноги Деда Мороза (R1 24.11: три
   уровня давали 187 px). R2 24.11: срок стал длиннее («Чеки до 25 декабря, 14:00»), колонкой справа он ломал имя в две
   строки, поэтому здесь срок идёт за возрастом во второй строке: «От 18 лет · Чеки до …», имя на всю ширину. */
@media (min-width:600px) and (max-width:719px){
 #tcgh-home #tcgc-home .tcgc-home__pick,#tcgh-home #tcgc-home .tcgc-home__pick.is-nodate{grid-template-columns:44px minmax(0,1fr) 20px;grid-template-areas:"cell name go" "cell meta go";column-gap:14px;min-height:64px;padding:9px 12px 9px 10px}
 #tcgh-home #tcgc-home .tcgc-home__meta{grid-area:meta;display:flex;flex-wrap:wrap;column-gap:15px;min-width:0;overflow:hidden}
 #tcgh-home #tcgc-home .tcgc-home__who,#tcgh-home #tcgc-home .tcgc-home__when{margin-top:2px;white-space:nowrap}
 #tcgh-home #tcgc-home .tcgc-home__when{position:relative;text-align:left}
 #tcgh-home #tcgc-home .tcgc-home__when::before{content:"·";position:absolute;left:-10px;top:0;font-weight:400;color:#44566d}
}

/* Телефон: вертикальный кадр, плашка из двух строк на снегу. На низких экранах блок ниже своей пропорции не больше чем
   на 36 px, и срезается небо сверху (картина прижата к низу): плашка остаётся на снегу и не закрывает Деда Мороза,
   до крыши над подзаголовком остаётся место (R1 24.11: раньше срезался низ картины, плашка поднималась на Деда Мороза).
   Если экран ещё ниже, нижняя строка плашки уходит за первый экран. */
@media (max-width:599px){
 #tcgh-home #tcgc-home{--tcgc-home-pad:22px;width:calc(100% - 24px);height:auto;aspect-ratio:1100/2109;max-height:max(calc((100vw - 24px) * 2109 / 1100 - 36px),calc(100vh - 132px));max-height:max(calc((100vw - 24px) * 2109 / 1100 - 36px),calc(100svh - 132px));margin-top:32px;border-radius:26px 56px 26px 26px;background:#b3daf5}
 #tcgh-home #tcgc-home .tcgc-home__art img{object-position:50% 100%}
 @supports (corner-shape:squircle){#tcgh-home #tcgc-home{border-radius:57px 123px 57px 57px}}
 #tcgh-home #tcgc-home .tcgc-home__art{inset:0;width:100%;height:100%;aspect-ratio:auto}
 #tcgh-home #tcgc-home .tcgc-home__copy{left:var(--tcgc-home-pad);right:var(--tcgc-home-pad);top:26px;max-width:none}
 #tcgh-home #tcgc-home .tcgc-home__title{font-size:clamp(30px,8.8vw,38px);line-height:1.02;letter-spacing:-.03em}
 #tcgh-home #tcgc-home .tcgc-home__lead{margin-top:10px;font-size:16px;line-height:1.4}
 #tcgh-home #tcgc-home .tcgc-home__picks{left:10px;right:10px;bottom:10px;width:auto;padding:4px;border-radius:22px}
 #tcgh-home #tcgc-home .tcgc-home__pick,#tcgh-home #tcgc-home .tcgc-home__pick.is-nodate{grid-template-columns:40px minmax(0,1fr) 18px;grid-template-areas:"cell name go" "cell who go" "cell when go";column-gap:12px;min-height:64px;padding:10px 8px 10px 9px;border-radius:18px}
 #tcgh-home #tcgc-home .tcgc-home__cell{width:40px;height:46px}
 #tcgh-home #tcgc-home .tcgc-home__ic{width:20px;height:20px}
 #tcgh-home #tcgc-home .tcgc-home__name{font-size:15.5px}
 #tcgh-home #tcgc-home .tcgc-home__who{margin-top:1px;font-size:13.5px}
 #tcgh-home #tcgc-home .tcgc-home__when{align-self:start;margin-top:1px;font-size:13.5px;font-weight:600;text-align:left;white-space:normal}
 #tcgh-home #tcgc-home .tcgc-home__go{width:18px;height:18px}
}

/* R2 24.11: на настоящем телефоне видимая высота меньше экрана (панели браузера): 390×664 в Safari, 360×640, 375×667.
   Там баннер вписывается в видимую высоту минус 128 px (шапка, отступ, 8 px до края), но не меньше 520 px и не меньше
   3/4 картины; на высоком экране картина целиком, как раньше. Блок становится контейнером своей
   высоты: когда он заметно ниже своей пропорции (ширина/высота от 9/16), картина режется сверху и снизу поровну
   (небо и снег под Дедом Морозом), заголовок и подзаголовок плотнее, строки плашки в два уровня: имя, ниже возраст · срок.
   Обе строки целиком на первом экране, Дед Мороз и мешок над плашкой. Без контейнерных запросов всё как выше. */
@supports (container-type:size){
 @media (max-width:599px){
  #tcgh-home #tcgc-home{container:tcgch/size;aspect-ratio:auto;max-height:none;height:min(calc((100vw - 24px) * 2109 / 1100),max(520px,calc(100vh - 128px),calc((100vw - 24px) * 2109 / 1100 * .75)));height:min(calc((100vw - 24px) * 2109 / 1100),max(520px,calc(100svh - 128px),calc((100vw - 24px) * 2109 / 1100 * .75)))}
 }
 @container tcgch (min-aspect-ratio:9/16){
  #tcgh-home #tcgc-home .tcgc-home__art img{object-position:50% 47%}
  #tcgh-home #tcgc-home .tcgc-home__copy{top:20px}
  #tcgh-home #tcgc-home .tcgc-home__title{font-size:clamp(30px,8.4vw,34px)}
  #tcgh-home #tcgc-home .tcgc-home__lead{margin-top:8px;font-size:15px;line-height:1.35}
  #tcgh-home #tcgc-home .tcgc-home__picks{left:8px;right:8px;bottom:8px}
  #tcgh-home #tcgc-home .tcgc-home__pick,#tcgh-home #tcgc-home .tcgc-home__pick.is-nodate{grid-template-areas:"cell name go" "cell meta go";row-gap:1px;min-height:56px;padding:7px 8px 7px 9px}
  /* возраст · срок одной строкой; не влезает - срок целиком строкой ниже, точка-разделитель тогда уходит за край и не видна */
  #tcgh-home #tcgc-home .tcgc-home__meta{grid-area:meta;display:flex;flex-wrap:wrap;column-gap:13px;min-width:0;overflow:hidden}
  #tcgh-home #tcgc-home .tcgc-home__who,#tcgh-home #tcgc-home .tcgc-home__when{margin-top:0;font-size:13px;white-space:nowrap}
  #tcgh-home #tcgc-home .tcgc-home__when{position:relative}
  #tcgh-home #tcgc-home .tcgc-home__when::before{content:"·";position:absolute;left:-8.5px;top:0;font-weight:400;color:#44566d}
 }
 /* Узкий телефон (360-384 px): сота и поля меньше, чтобы имя и «От 18 лет · Чеки до …» оставались в строку */
 @container tcgch (min-aspect-ratio:9/16) and (max-width:359px){
  #tcgh-home #tcgc-home .tcgc-home__picks{left:6px;right:6px;bottom:6px;padding:3px}
  #tcgh-home #tcgc-home .tcgc-home__pick,#tcgh-home #tcgc-home .tcgc-home__pick.is-nodate{grid-template-columns:34px minmax(0,1fr) 16px;column-gap:10px;padding:7px 6px 7px 7px}
  #tcgh-home #tcgc-home .tcgc-home__cell{width:34px;height:40px}
  #tcgh-home #tcgc-home .tcgc-home__ic{width:18px;height:18px}
  #tcgh-home #tcgc-home .tcgc-home__name{font-size:15px}
  #tcgh-home #tcgc-home .tcgc-home__go{width:16px;height:16px}
 }
}
@media (prefers-color-scheme:dark){
 @container tcgch (min-aspect-ratio:9/16){#tcgh-home #tcgc-home .tcgc-home__when::before{color:#c9d6ea}}
}
@media (prefers-color-scheme:dark) and (min-width:600px) and (max-width:719px){#tcgh-home #tcgc-home .tcgc-home__when::before{color:#c9d6ea}}

/* Ночь: картина ночного города, текст и плашка следуют за картиной */
@media (prefers-color-scheme:dark){
 #tcgh-home #tcgc-home{background:linear-gradient(180deg,#1b3569 0%,#29467e 35%,#3a578f 56%,#6a7db3 70%,#9babd9 80%,#aebde5 90%,#a5b5df 100%);color:#fff}
 #tcgh-home #tcgc-home::after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
 #tcgh-home #tcgc-home .tcgc-home__title{color:#fff}
 #tcgh-home #tcgc-home .tcgc-home__title .tcgc-home__acc{color:#7fd3f7}
 #tcgh-home #tcgc-home .tcgc-home__lead{color:rgba(255,255,255,.86)}
 #tcgh-home #tcgc-home .tcgc-home__lead a:focus-visible{outline-color:#4cc3f5}
 #tcgh-home #tcgc-home .tcgc-home__picks{background:rgba(11,26,52,.7);box-shadow:0 22px 44px -28px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.14)}
 #tcgh-home #tcgc-home .tcgc-home__picks li+li{border-top-color:rgba(255,255,255,.12)}
 #tcgh-home #tcgc-home .tcgc-home__pick{color:#fff}
 #tcgh-home #tcgc-home .tcgc-home__name{color:#fff}
 #tcgh-home #tcgc-home .tcgc-home__who{color:#c9d6ea}
 #tcgh-home #tcgc-home .tcgc-home__when{color:#7fd3f7}
 #tcgh-home #tcgc-home .tcgc-home__pick.is-later .tcgc-home__when{color:#c9d6ea}
 #tcgh-home #tcgc-home .tcgc-home__go{color:#fff}
 #tcgh-home #tcgc-home .tcgc-home__pick:focus-visible{outline-color:#4cc3f5}
 #tcgh-home #tcgc-home .tcgc-home__pick.is-done .tcgc-home__cell{background:rgba(255,255,255,.14);color:#c9d6ea}
 #tcgh-home #tcgc-home .tcgc-home__pick.is-done .tcgc-home__name{color:rgba(255,255,255,.8)}
}
@media (prefers-color-scheme:dark) and (hover:hover) and (pointer:fine){
 #tcgh-home #tcgc-home .tcgc-home__pick:hover{background:rgba(255,255,255,.08)}
}
@media (prefers-color-scheme:dark) and (max-width:1023px){
 #tcgh-home #tcgc-home{background:#1c3669}
}
@media (forced-colors:active){
 #tcgh-home #tcgc-home .tcgc-home__picks{background:Canvas;-webkit-backdrop-filter:none;backdrop-filter:none}
 #tcgh-home #tcgc-home .tcgc-home__cell{-webkit-mask:none;mask:none;border:1px solid CanvasText}
}
@media print{#tcgh-home #tcgc-home{display:none!important}}

/* DOCK-A: над .hero стоит блок из tcg_home_top */
#tcgh-home>:is(#tcgc-home,#tcghh-home):not([hidden])~.hero{margin-top:0;border-top-width:0;padding-top:56px}
@media (max-width:1120px){#tcgh-home>:is(#tcgc-home,#tcghh-home):not([hidden])~.hero{padding-top:44px}}

/* Соты-фон темы (.tcg-hc-top) встаёт после блоков верха: поле растворяется сверху, а не режется краем баннера;
   на телефоне тройка сот наезжала бы на большой логотип (у hero меньше отступ сверху). Те же правила, что у карточки часов. */
#tcgh-home>:is(#tcgc-home,#tcghh-home):not([hidden])~.tcg-hc-top>.tcg-hc-field{-webkit-mask-image:linear-gradient(#0000 40px,#000 220px),var(--tcg-hc-m);mask-image:linear-gradient(#0000 40px,#000 220px),var(--tcg-hc-m);-webkit-mask-composite:source-in;mask-composite:intersect}
/* До 767 px поле (300 px) растворяется и снизу (R3 25.11): блок сверху сдвигает его вниз, и ровный край поля резал ряд кнопок */
@media (max-width:767px){
 #tcgh-home>:is(#tcgc-home,#tcghh-home):not([hidden])~.tcg-hc-top>.tcg-hc-field{-webkit-mask-image:linear-gradient(#0000 0,#000 140px,#0000 100%),var(--tcg-hc-m);mask-image:linear-gradient(#0000 0,#000 140px,#0000 100%),var(--tcg-hc-m)}
 #tcgh-home>:is(#tcgc-home,#tcghh-home):not([hidden])~.tcg-hc-top .tcg-hc-t1{display:none}
}

/* Планшет: лампочки гирлянды в шапке висят до 108 px, баннер на 2 px ниже, чтобы зазор был не меньше 14 px */
@media (min-width:600px) and (max-width:1023px){#tcgh-home #tcgc-home{margin-top:34px}}

/* DOCK-B: пока виден баннер, «большой логотип» не управляет шапкой: логотип шапки виден, капсула не сжимается */
html:has(#tcgc-home:not([hidden])) #masthead .tcgh-logo img{opacity:1;transform:none}
html:has(#tcgc-home:not([hidden])) #tcgh-home .tcgt1-logo img{opacity:1;transform:none}
@media (max-width:1120px){
 html:has(#tcgc-home:not([hidden])) body #masthead.tcgh-shell .tcgh-inner>.tcgfh-surface{left:0}
 html:has(#tcgc-home:not([hidden])) body #masthead.tcgh-shell .tcgh-inner{pointer-events:auto}
 html:has(#tcgc-home:not([hidden])) body #masthead.tcgh-shell .tcgh-logo{visibility:visible;pointer-events:auto}
 html:has(#tcgc-home:not([hidden])) body #masthead #tcgn-progress{left:20px}
}

/* 24.11, решение пользователя («не оч логично, что лого после баннера»): пока виден баннер, большого логотипа в первом экране
   главной нет ни на одной ширине, логотип есть в шапке (DOCK-B держит его видимым). h1 остаётся для поисковиков и экранного
   диктора, визуально скрыт; после баннера сразу «За покупками и на обед.» и кнопки. Раскладку первого экрана без фото
   в новогоднее окно задаёт mu-plugin гирлянды (tcg-new-year-decor.php), без него справа остаётся фото темы. */
#tcgh-home>#tcgc-home:not([hidden])~.hero #hero-title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
#tcgh-home>#tcgc-home:not([hidden])~.hero #hero-title *{animation:none}
#tcgh-home>#tcgc-home:not([hidden])~.hero .hero-intro{margin-top:0}
