/* TE Live GS1: один экран входа для гостя во всех разделах (Claude, 25.11.2026).
   Только вид. Правила скрытия исходного экрана работают лишь под классом gs1-on, который ставит надстройка
   после успешной сборки блока. Без класса страница выглядит как раньше. */

.gs1 { --gs1-ready: 1; box-sizing: border-box; width: 100%; max-width: 340px; margin: 44px auto 40px; padding: 0 16px; display: grid; justify-items: center; justify-self: center; align-self: start; gap: 18px; text-align: center; font-family: var(--tl-font, inherit); font-weight: 300; font-synthesis: none; color: #f8fafc; }
.gs1[hidden] { display: none; }
.gs1 * { box-sizing: border-box; }
.gs1-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gs1-tiles { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gs1-tiles > li { margin: 0; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 4px 12px; border: 1px solid var(--tl-line, rgba(255, 255, 255, .14)); border-radius: var(--tl-r2, 6px); min-width: 0; }
.gs1-tiles .gs1-i { width: 22px; height: 22px; color: #f8fafc; }
.gs1-tiles span { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #b8bcc0; line-height: 1.35; overflow-wrap: anywhere; }
.gs1 p { margin: 0; padding: 0; font-size: 12px; line-height: 1.5; color: #b8bcc0; letter-spacing: .02em; text-transform: none; }
.gs1-main { appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; max-width: 100%; min-height: 44px; margin: 0; padding: 6px 18px; border: 0; border-radius: var(--tl-r2, 6px); background: #c7343c; color: #ffffff; font: inherit; font-size: 11px; line-height: 1.3; letter-spacing: var(--tl-caps, .06em); text-transform: uppercase; text-decoration: none; cursor: pointer; }
.gs1-main[disabled] { opacity: .55; cursor: default; }
.gs1-main:focus-visible, .gs1 a:focus-visible { outline: 2px solid #f8fafc; outline-offset: 3px; }
.gs1 p.gs1-note { color: #f8fafc; }
.gs1-signup { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; font-size: 11px; color: #b8bcc0; text-decoration: none; }
.gs1-question { text-decoration: none; }
.gs1 .gs1-signup .gs1-create { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 4px; font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(184, 188, 192, .5); }
.gs1 p.gs1-open { font-size: 11px; }
.gs1-open a { padding: 14px 4px; color: #f8fafc; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(248, 250, 252, .45); }

html[data-theme="trs"] .gs1 { font-weight: 400; color: #16231c; }
html[data-theme="trs"] .gs1-tiles > li { border-color: var(--tl-line, #e4e7e5); }
html[data-theme="trs"] .gs1-tiles .gs1-i { color: #16231c; }
html[data-theme="trs"] .gs1-tiles span, html[data-theme="trs"] .gs1 p, html[data-theme="trs"] .gs1-signup, html[data-theme="trs"] .gs1-create { color: #5b6b62; }
html[data-theme="trs"] .gs1 .gs1-signup .gs1-create { text-decoration-color: #c9d1cd; }
html[data-theme="trs"] .gs1-main { background: #315f50; color: #ffffff; }
html[data-theme="trs"] .gs1 p.gs1-note { color: #16231c; }
html[data-theme="trs"] .gs1-open a { color: #16231c; text-decoration-color: #c9d1cd; }
html[data-theme="trs"] .gs1-main:focus-visible, html[data-theme="trs"] .gs1 a:focus-visible { outline-color: #315f50; }

@media (min-width: 900px) {
  .gs1 { margin-top: 80px; max-width: 420px; }
  .gs1-tiles .gs1-i { width: 24px; height: 24px; }
}

/* Исходные экраны входа: спрятаны только вместе с готовым общим блоком. */
html.gs1-on[data-gs1="feed"] main.nutrition-main .nutrition-date,
html.gs1-on[data-gs1="feed"] main.nutrition-main .nutrition-pilot,
html.gs1-on[data-gs1="feed"] main.nutrition-main .live-feed-compact,
html.gs1-on[data-gs1="feed"] main.nutrition-main .feed-toolbar,
html.gs1-on[data-gs1="feed"] main.nutrition-main #nutrition-state,
html.gs1-on[data-gs1="feed"] main.nutrition-main .nutrition-fact-actions,
html.gs1-on[data-gs1="feed"] main.nutrition-main #nutrition-content,
html.gs1-on[data-gs1="nutrition"] main.nutrition-main .nutrition-date,
html.gs1-on[data-gs1="nutrition"] main.nutrition-main .nutrition-pilot,
html.gs1-on[data-gs1="nutrition"] main.nutrition-main .nutrition-tabs,
html.gs1-on[data-gs1="nutrition"] main.nutrition-main #nutrition-state,
html.gs1-on[data-gs1="nutrition"] main.nutrition-main .nutrition-fact-actions,
html.gs1-on[data-gs1="nutrition"] main.nutrition-main #nutrition-content,
html.gs1-on[data-gs1="workout"] main#workout [data-tr-shell] > :not(h1):not([data-gs1-block]),
html.gs1-on[data-gs1="recovery"] main#recovery-content [data-rv-root],
html.gs1-on[data-gs1="coaches"] main#coaches-content > p.tl-empty,
html.gs1-on[data-gs1="coaches"] main#coaches-content > button[data-coach-action],
html.gs1-on[data-gs1="segments"] main#app > section.seg-gate > p,
html.gs1-on:is([data-gs1="teamFeed"],[data-gs1="visibility"]) main#app.me > :is(.gets,p.empty,.row,p.note),
html.gs1-on[data-gs1="starts"] main#app.me > .gets,
html.gs1-on[data-gs1="starts"] main#app.me > p.empty,
html.gs1-on[data-gs1="starts"] main#app.me > .row,
html.gs1-on[data-gs1="starts"] main#app.me > p.note,
html.gs1-on[data-gs1="profile"] main#app.me > .gets,
html.gs1-on[data-gs1="profile"] main#app.me > p.empty,
html.gs1-on[data-gs1="profile"] main#app.me > .row,
html.gs1-on[data-gs1="profile"] main#app.me > p.note { display: none !important; }
