
main:is([data-screen="тикток"], [data-screen="ютуб"]) { max-width: 1080px; }
.tt-page { padding: 16px 0 24px; }
.tt-page [hidden] { display: none !important; }
.tt-heading { margin-bottom: 32px; }
.tt-heading h1 { margin: 0 0 12px; font-size: 32px; line-height: 1.15; letter-spacing: -.03em; }
.tt-heading p { margin: 0; color: var(--текст-2); font-size: 15px; line-height: 1.6; }
.tt-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tt-setup, .tt-linked { min-width: 0; padding: 28px; border-radius: var(--р-карты); background: var(--слой-1); }
.tt-page h2 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.tt-form-intro { margin: 12px 0 24px; color: var(--текст-2); font-size: 14px; line-height: 1.6; }
.tt-add label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.tt-input-row { display: grid; gap: 12px; }
.tt-input-row input { width: 100%; min-width: 0; margin: 0; padding: 16px; background: var(--слой-2); font-size: 16px; }
.tt-input-row button { min-height: 52px; }
.tt-add .подсказка { margin: 12px 0 0; text-align: center; font-size: 12px; }
.tt-page[data-pending="true"] .tt-input-row .главная { background: var(--слой-3); color: var(--текст); }
.tt-page[data-pending="true"]:not([data-editing="true"]) .tt-add { display: none; }
.tt-change { display: none; width: 100%; min-height: 44px; margin-top: 12px; font-size: 13px; }
.tt-page[data-pending="true"] .tt-change { display: block; }
.tt-page[data-pending="true"][data-editing="true"] .tt-change { display: none; }
.tt-page[data-pending="true"]:not([data-editing="true"]) .tt-challenge { border: 0; padding-top: 0; margin-top: 0; }
.tt-page[data-pending="true"]:not([data-editing="true"]) .tt-status:not(:empty) { margin: 0 0 20px; }
.tt-status:empty { display: none; }
.tt-status { margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--зачтено); overflow-wrap: anywhere; }
.tt-status[data-error="true"] { color: var(--отказ); }
.tt-challenge { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--слой-3); }
.tt-profile-link { display: inline-block; max-width: 100%; margin-top: 8px; color: var(--деньги); font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.tt-steps { counter-reset: tt-step; padding: 0; margin: 24px 0; list-style: none; }
.tt-steps li { position: relative; padding-left: 36px; counter-increment: tt-step; }
.tt-steps li + li { margin-top: 24px; }
.tt-steps li::before { content: counter(tt-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--слой-3); color: var(--текст-2); font-size: 12px; font-weight: 600; }
.tt-steps b { display: block; font-size: 14px; line-height: 24px; font-weight: 600; }
.tt-steps li > span { display: block; margin-top: 6px; color: var(--текст-2); font-size: 13px; line-height: 1.6; }
.tt-code-row { display: grid; gap: 8px; margin-top: 14px; }
.tt-code-row input { width: 100%; min-width: 0; margin: 0; padding: 14px 10px; background: var(--слой-2); color: var(--текст); font-family: monospace; font-size: 16px; letter-spacing: 0; user-select: text; }
.tt-code-row button { min-height: 44px; background: var(--слой-3); font-size: 13px; }
.tt-profile-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--деньги); font-size: 13px; text-underline-offset: 4px; }
.tt-recheck { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; color: var(--текст-2); font-size: 13px; line-height: 1.6; }
.tt-recheck-dot { flex: none; width: 8px; height: 8px; margin-top: calc(.8em - 4px); border-radius: 50%; background: var(--идёт); }
.tt-list-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 24px; }
.tt-count { color: var(--текст-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.tt-accounts { list-style: none; padding: 0; margin: 0; }
.tt-account { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 0; }
.tt-account + .tt-account { border-top: 1px solid var(--слой-3); }
.tt-account-avatar { display: grid; place-items: center; width: 40px; height: 40px; background: var(--слой-3); border-radius: 14px; font-size: 18px; font-weight: 600; color: var(--текст-2); }
.tt-account-copy { min-width: 0; }
.tt-account a { color: var(--текст); font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.tt-state { display: block; margin-top: 5px; color: var(--текст-2); font-size: 12px; line-height: 1.4; }
.tt-account[data-active="true"] .tt-state { color: var(--зачтено); }
.tt-account button { min-height: 44px; max-width: 132px; padding: 10px 12px; font-size: 12px; border-radius: 12px; }
.tt-account[data-active="false"] button { grid-column: 2 / -1; justify-self: start; max-width: none; }
.tt-empty { padding: 12px 0 24px; text-align: center; }
.tt-empty-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 18px; background: var(--слой-2); color: var(--текст-2); font-size: 28px; font-weight: 500; }
.tt-empty h3 { max-width: 260px; margin: 0 auto 10px; font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.tt-empty p, .tt-submit p { margin: 0; color: var(--текст-2); font-size: 13px; line-height: 1.6; }
.tt-empty p { max-width: 260px; margin: 0 auto; }
.tt-submit { border-top: 1px solid var(--слой-3); margin-top: 16px; padding-top: 20px; }
.tt-submit button { margin-top: 16px; min-height: 48px; font-size: 14px; background: var(--слой-3); }
.tt-explanation { margin-top: 24px; color: var(--текст-2); }
.tt-explanation summary { min-height: 44px; padding: 12px 0; cursor: pointer; color: var(--текст); font-size: 14px; font-weight: 500; }
.tt-explanation p { max-width: 65ch; margin: 12px 0; font-size: 13px; line-height: 1.7; }
.tt-text-link { display: inline; padding: 0; background: none; color: var(--деньги); font: inherit; text-decoration: underline; text-underline-offset: 3px; border: 0; }
.tt-disable-confirm { margin: 16px 0; padding-top: 20px; border-top: 1px solid var(--слой-3); }
.tt-disable-confirm h3 { margin: 0 0 10px; font-size: 17px; }
.tt-disable-confirm p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; color: var(--текст-2); }
.tt-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tt-actions > * { flex: 1 1 140px; min-height: 44px; font-size: 13px; }
.tt-page :is(button, a, input, summary):focus-visible { outline: 2px solid var(--деньги); outline-offset: 4px; }
.tt-page :is(button, a) { transition: background-color 160ms ease, color 160ms ease; }
.tt-page button.тихая:hover { background: var(--слой-3); }
.tt-page button:disabled { cursor: not-allowed; }
.tt-precheck { margin: 12px 0; line-height: 1.5; }
.tt-precheck:empty { display: none; }
.tt-home-entry { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px; margin: 0 0 16px; background: var(--слой-1); color: var(--текст); border: 0; border-radius: var(--р-плашки); text-align: left; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; transition: background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.tt-home-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--слой-2); color: var(--текст); }
.tt-home-icon svg { width: 22px; height: 22px; }
.tt-home-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.tt-home-copy b { font-size: 16px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.tt-home-copy small { font-size: 13px; line-height: 1.4; font-weight: 400; color: var(--текст-2); text-wrap: pretty; }
.tt-home-action { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: rgb(255 110 64 / 0.15); color: var(--деньги); font-size: 13px; font-weight: 650; line-height: 1; white-space: nowrap; }
.tt-home-arrow { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--слой-2); color: var(--текст-2); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease, color 160ms ease; }
.tt-home-arrow svg { display: block; width: 16px; height: 16px; }
.tt-home-entry[data-linked="true"] .tt-home-copy small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--зачтено); }
.tt-home-entry:active { transform: scale(0.985); }
@media (hover: hover) {
  .tt-home-entry:hover { background: var(--слой-2); }
  .tt-home-entry:hover .tt-home-icon { background: var(--слой-3); }
  .tt-home-entry:hover .tt-home-arrow { background: var(--слой-3); color: var(--текст); transform: translateX(2px); }
}
.tt-home-entry:focus-visible { outline: 2px solid var(--деньги); outline-offset: 4px; }
.tt-submit-note { font-size: 13px; line-height: 1.6; color: var(--текст-2); margin: 0 0 24px; }
@media (max-width: 760px) {
  .tt-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tt-page { padding-top: 8px; }
  .tt-heading { margin-bottom: 24px; }
  .tt-heading h1 { font-size: 28px; }
  .tt-setup, .tt-linked { padding: 24px; }
  .tt-code-row { margin-left: -36px; }
  .tt-home-entry { padding: 14px 14px; }
}
@media (max-width: 360px) {
  .tt-setup, .tt-linked { padding: 20px; }
  .tt-account { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .tt-account-avatar { width: 32px; height: 32px; border-radius: 10px; }
  .tt-account button { grid-column: 2; justify-self: start; }
  .tt-home-action { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) { .tt-page *, .tt-home-entry, .tt-home-arrow { scroll-behavior: auto !important; transition: none !important; } .tt-home-entry:active { transform: none; } }
.creator-platforms { display: flex; gap: 4px; width: fit-content; padding: 4px; margin-bottom: 24px; background: var(--слой-1); border-radius: 14px; }
.creator-platforms button { min-height: 44px; padding: 10px 24px; background: none; color: var(--текст-2); border: 0; border-radius: 10px; font: inherit; font-size: 14px; cursor: pointer; }
.creator-platforms button[aria-current="page"] { background: var(--слой-3); color: var(--текст); }
.creator-submission-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.creator-submission-links .tt-home-entry { margin: 0; }
@media (max-width: 760px) { .creator-submission-links { grid-template-columns: minmax(0, 1fr); } }
