/* Public strategy gallery (/strategies, strategies.php, includes/public-strategies-view.php). Structure only, in the
   landing's light language (landing-relaunch.css tokens); the visual comes from the redesign round. One frame: the
   page's answer (.ps-answer). Everything else is flat, sections separated by space and one hairline. */
.ps-article, .ps-index { max-width: 880px; padding-block: 40px 88px; }
.ps-crumb { display: flex; gap: 8px; align-items: center; font: 400 14px/1.4 var(--lr-font); color: var(--lr-muted); }
.ps-crumb a { color: var(--lr-muted); text-decoration: none; }
.ps-crumb a:hover { color: var(--lr-accent); }
.ps-head { margin: 20px 0 28px; }
.ps-facets, .ps-eyebrow { margin: 0 0 10px; font: 500 14px/1.4 var(--lr-font); color: var(--lr-muted); }
.ps-title { margin: 0; font: 600 clamp(32px, 3.4vw, 44px)/1.12 var(--lr-display); letter-spacing: -0.02em; color: var(--lr-ink); text-wrap: balance; }
.ps-lead { margin: 14px 0 0; max-width: 680px; font: 400 16px/24px var(--lr-font); color: var(--lr-muted); }
.ps-byline { margin: 14px 0 0; font: 400 14px/20px var(--lr-font); color: var(--lr-muted); text-wrap: pretty; }
.ps-byline a, .ps-rule-body a, .ps-link { color: var(--lr-accent); }

.ps-answer { padding: 24px; border: 1px solid var(--lr-line); border-radius: var(--lr-radius-card); background: #fff; }
.ps-answer-lead { margin: 0; font: 400 16px/24px var(--lr-font); color: var(--lr-ink); }
.ps-actions-note, .ps-index-note { margin: 14px 0 0; font: 400 14px/1.5 var(--lr-font); color: var(--lr-muted); }
.ps-source-note { margin: 20px 0 0; font: 400 14px/1.5 var(--lr-font); color: var(--lr-muted); }
.ps-source-note a { color: var(--lr-accent); text-decoration: underline; text-underline-offset: 2px; }
.ps-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
/* A page with a run shows the Lab's own answer, read only (Igor 13 Nov «Да, A», assets/market-replay.css): flat as in the
   Lab, its sections on hairlines, so no frame around it. The words before the script draws stay in the page's type. */
.ps-replay { padding: 0; border: 0; border-radius: 0; background: none; }
.ps-replay .ps-h2 { margin: 0; }
.ps-replay .ps-replay-note { font: 400 14px/1.5 var(--lr-font); color: var(--lr-muted); }
/* Under the kit's twelve columns the two buttons stand one to a row, each the row's width (as on the public site's phone). */
@container ui-grid (max-width: 899px) { .ps-replay .mr-actions-main .lr-button { flex: 1 1 100%; } }

/* Try the rules yourself as a playground (Igor 20 Nov «причесывай этот блок тоже, пока он супер уродлив и не в тему» →
   «не нравится мне как это сделано сейчас, не дорого, не круто»): what the switched-on rules end at over the 3 years, large,
   with the video's own beside it and the save on the same line; the account drawn large under them, redrawn by every switch;
   the rules as switches with what each adds alone. The figures and the list are drawn by assets/public-strategies-tune.js. */
.ps-tune { margin: 48px 0 0; }
.ps-tune .ps-h2 { margin: 0; text-wrap: balance; }
.ps-tune-lead { max-width: 720px; margin: 8px 0 0; font: 400 16px/24px var(--lr-font); color: var(--lr-muted); text-wrap: pretty; } /* no "years." alone on its line */
.ps-tune-result { margin: 16px 0 8px; }
.ps-tune:not(.has-rules) .ps-tune-result { display: none; } /* nothing on: the chart beside says the video's account */
.ps-tune-figs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 40px; }
.ps-tune-fig { display: grid; gap: 4px; margin: 0; }
.ps-tune-fig b { font: 600 24px/32px var(--lr-font); color: var(--lr-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-tune-fig b small { margin-left: 0; font: 500 16px/24px var(--lr-font); color: var(--lr-muted); } /* the word space alone, ~8 px at the figure's size (Igor 20 Nov «отступ от суммы большой») */
.ps-tune-fig > span { font: 400 14px/20px var(--lr-font); color: var(--lr-muted); }
/* 32, a step under the head's one 44 (Igor 20 Nov «не слишком большие?» → «Да, 32 в блоке»: two 44s on one page) */
.ps-tune-fig.is-yours b { font-size: 32px; line-height: 40px; letter-spacing: -0.02em; color: var(--lr-accent); }
.ps-tune-fig.is-yours b small { font: 500 16px/24px var(--lr-font); letter-spacing: 0; color: var(--lr-accent); }
.ps-tune-act { display: grid; justify-items: start; gap: 8px; margin-top: 8px; } /* under the switches it saves (Igor 20 Nov «может это переместить куда-то а график поднять?»), 8 under the last one: the row keeps its own 16 (Igor «пустота лишняя или норм?») */
.ps-tune-save { min-height: 56px; padding: 0 28px; font: 600 16px/24px var(--lr-font); white-space: nowrap; }
.ps-tune-note { margin: 0; font: 400 12px/20px var(--lr-font); color: var(--lr-muted); }
.ps-tune-delta { flex-basis: 100%; margin: 0; font: 500 16px/24px var(--lr-font); color: #2f7d54; text-wrap: pretty; } /* with the figures it speaks of, on a phone too */
.ps-tune:not(.has-rules) .ps-tune-delta { font-weight: 400; color: var(--lr-muted); }
/* the rules against the video's, four figures in a strip the chart's width: the rules' large, the video's under each */
.ps-tune-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--lr-line); }
.ps-tune-stats > div { min-width: 0; }
.ps-tune-stats dt { font: 400 12px/20px var(--lr-font); color: var(--lr-muted); }
.ps-tune-stats dd { display: grid; margin: 0; font: 600 16px/24px var(--lr-font); color: var(--lr-ink); font-variant-numeric: tabular-nums; }
.ps-tune-stats dd small { font: 400 12px/20px var(--lr-font); color: var(--lr-muted); }
@media (max-width: 559px) { .ps-tune-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; } .ps-tune-axis span:nth-child(even) { display: none; } }
.ps-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the switches on the left of the chart they redraw (Igor 20 Nov «давай снова слева от графика?») */
.ps-tune-body { display: grid; grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); align-items: start; gap: 32px 48px; margin-top: 16px; } /* 16 under the lead: the large figure carries its own air (Igor 20 Nov «сверху дырка излишняя тоже») */
.ps-tune-plot { position: relative; min-width: 0; }
/* the start's line seen and said (Igor 21 Nov «линию входа не видно кстати»): darker dashes, its amount at the right end */
/* the cursor: a thin line down the chart and the day with both accounts beside it */
.ps-tune-cursor { position: absolute; width: 0; pointer-events: none; }
.ps-tune-cursor[hidden] { display: none; }
.ps-tune-cursor > i { position: absolute; inset: 0 auto 0 0; width: 1px; background: color-mix(in srgb, var(--lr-ink) 30%, transparent); }
.ps-tune-tip { position: absolute; top: 8px; left: 8px; display: grid; gap: 2px; padding: 8px 10px; border-radius: 6px; background: #fff; box-shadow: 0 4px 16px rgba(20, 20, 30, .12); font: 400 12px/18px var(--lr-font); color: var(--lr-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-tune-tip.is-left { left: auto; right: 8px; }
.ps-tune-tip b { font-weight: 600; color: var(--lr-ink); }
.ps-tune-tip .is-yours { color: var(--lr-accent); font-weight: 600; }
/* the years over the chart and the months under it, as the head's chart (Igor 21 Nov «на графике нет делений по годам и доходу
   как было тут?»): each year its result with the rules switched on, the video's beside it */
.ps-tune-years { display: flex; margin: 0 0 8px; }
.ps-tune-year { display: grid; align-content: start; gap: 2px; min-width: 0; padding-left: 8px; font: 400 12px/16px var(--lr-font); color: var(--lr-muted); }
.ps-tune-year:first-child { padding-left: 0; }
.ps-tune-year b { font: 600 14px/20px var(--lr-font); color: var(--lr-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-tune-year b small { font-size: 12px; font-weight: 400; color: var(--lr-muted); }
.ps-tune-year b[data-tone="gain"] { color: #2f7d54; } .ps-tune-year b[data-tone="loss"] { color: #c4342d; }
.ps-tune-year b.is-yours { color: var(--lr-accent); }
.ps-tune-year b.is-base { font-weight: 400; font-size: 12px; line-height: 16px; }
.ps-tune-chart .ps-tune-cut { stroke: #b7b9c6; stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; } /* seen, as the head's (Igor 21 Nov «линии годовые плохо видно») */
.ps-tune-axis { position: relative; height: 20px; margin-top: 4px; font: 400 12px/20px var(--lr-font); color: var(--lr-muted); }
.ps-tune-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ps-tune-axis span:first-child { transform: none; }
@media (max-width: 700px) { .ps-tune-year b small { display: none; } }
/* the lines' names at their ends and the shaded year's in its corner, on the chart (Igor 21 Nov «может это на график перенести?») */
.ps-tune-end { position: absolute; right: 0; padding: 0 0 0 8px; background: #fff; font: 600 12px/20px var(--lr-font); color: var(--lr-muted); white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.ps-tune-end[hidden] { display: none; }
.ps-tune-end.is-yours { color: var(--lr-accent); }
.ps-tune-bandname { position: absolute; overflow: hidden; text-overflow: ellipsis; font: 400 12px/20px var(--lr-font); color: var(--lr-muted); white-space: nowrap; pointer-events: none; }
.ps-tune-start { position: absolute; left: 0; right: auto; padding: 0 8px 0 0; background: var(--lr-bg, #fff); font: 400 12px/20px var(--lr-font); color: var(--lr-muted); pointer-events: none; }
.ps-tune-chart { display: block; width: 100%; height: 360px; overflow: visible; }
/* beside the switches the chart takes their column's height, its key and caveat at the foot (Igor 20 Nov «много пустоты справа
   добавляет»: the switches, the locks, the figures and the save ran 200 px past a 360 px chart); one column below 1100 */
@media (min-width: 1100px) {
    .ps-tune-body { align-items: stretch; }
    .ps-tune-plot { display: flex; flex-direction: column; }
    .ps-tune-chart { flex: 1 1 auto; height: auto; min-height: 360px; }
}
.ps-tune-chart polyline { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ps-tune-chart .ps-tune-base { stroke: #b7b9c6; }
.ps-tune-chart .ps-tune-yours { stroke: var(--lr-accent); stroke-width: 2.5; }
.ps-tune:not(.has-rules) .ps-tune-chart .ps-tune-yours { display: none; }
/* alone (a visitor's block, no rule on) the video's line is the chart's only line: in ink, not the comparison's grey (29 Nov
   polish: filmed for the video, the pale line read washed out) */
.ps-tune:not(.has-rules) .ps-tune-chart .ps-tune-base { stroke: var(--lr-ink); }
.ps-tune:not(.has-rules) .ps-tune-end:not(.is-yours) { color: var(--lr-ink); }
.ps-tune-chart .ps-tune-zero { stroke: #a9abb8; stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.ps-tune-chart .ps-tune-band { fill: var(--lr-accent-tint); }
.ps-tune-key { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 12px 0 0; font: 400 12px/20px var(--lr-font); color: var(--lr-muted); }
.ps-tune-key span::before { content: ''; display: inline-block; width: 16px; height: 2px; margin-right: 8px; vertical-align: middle; background: #b7b9c6; }
.ps-tune-key .is-yours::before { height: 3px; background: var(--lr-accent); }
.ps-tune-key .is-exam::before { height: 12px; border-radius: 2px; background: var(--lr-accent-tint); outline: 1px solid var(--lr-accent-line); }
.ps-tune:not(.has-rules) .ps-tune-key .is-yours { display: none; }
.ps-tune-exam { margin: 16px 0 0; font: 400 14px/22px var(--lr-font); color: var(--lr-ink); text-wrap: pretty; }
/* the rules as switches, two columns, each with what it adds alone */
.ps-tune-side { min-width: 0; }
.ps-tune-list { margin: 24px 0 0; padding: 0; list-style: none; }
.ps-tune-list li { border-top: 1px solid var(--lr-line); }
.ps-tune-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; }
.ps-tune-item input { appearance: none; -webkit-appearance: none; position: relative; width: 40px; height: 24px; margin: 0; border-radius: 999px; background: #d9dbe3; cursor: pointer; transition: background-color 140ms ease; }
.ps-tune-item input::before { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 160ms ease; }
.ps-tune-item input:checked { background: var(--lr-accent); }
.ps-tune-item input:checked::before { transform: translateX(16px); }
.ps-tune-item input:focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 2px; }
.ps-tune-rule { min-width: 0; font: 500 16px/24px var(--lr-font); color: var(--lr-ink); }
.ps-tune-rule small { display: block; font: 400 12px/20px var(--lr-font); color: var(--lr-muted); }
.ps-tune-item.is-held .ps-tune-rule small { color: #2f7d54; }
.ps-tune-item.is-version .ps-tune-rule small { color: var(--lr-accent); }
.ps-tune-adds { font: 600 16px/24px var(--lr-font); color: var(--lr-ink); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ps-tune-adds[data-tone="gain"] { color: #2f7d54; }
.ps-tune-adds[data-tone="loss"] { color: #c4342d; }
/* below Pro, the rules beyond TSB's fix as locks in the same list: the padlock in the switch's place, the kind of rule, what
   it adds (Igor 20 Nov «разве не прикольно чтобы free юзер видно что есть тут 4 заметки и они эффективны но заблокирована
   каждая?» → «A, открыть в Pro»), and one line under them into Pro */
.ps-tune-list:empty { display: none; }
.ps-tune-list.is-locked { margin-top: 0; }
/* a visitor's list on a page without a fix: the locks under the lead, one ask under them (Igor 20 Nov «что тут скрыто?») */
.ps-tune.has-list .ps-tune-list.is-locked { max-width: 720px; margin-top: 24px; }
.ps-tune.has-list .ps-tune-act { margin-top: 8px; } /* 24 under the last row's words, its own 16 of padding included (Igor 20 Nov «странный над кнопкой отступ») */
.ps-tune-list:empty + .ps-tune-list.is-locked { margin-top: 24px; }
.ps-tune-body .ps-tune-side > .ps-tune-list:first-child, .ps-tune-body .ps-tune-side > .ps-tune-list:empty + .ps-tune-list.is-locked { margin-top: 0; } /* the first rule on the chart's top line, 16 under the lead (Igor 22 Nov «сверху отступ … как будто лишний?») */
.ps-tune-item.is-locked { cursor: default; }
.ps-tune-item.is-locked .ui-lock-icon { justify-self: center; width: 20px; height: 20px; color: var(--lr-muted); }
.ps-tune-item.is-locked .ps-tune-rule { color: var(--lr-muted); }
.ps-tune-more { margin: 12px 0 0; font: 400 14px/20px var(--lr-font); color: var(--lr-muted); text-wrap: pretty; }
.ps-tune-more a { color: var(--lr-accent); font-weight: 500; text-decoration: none; }
.ps-tune-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ps-tune-back { margin-top: 12px; padding: 0; border: 0; background: none; font: 500 14px/20px var(--lr-font); color: var(--lr-accent); cursor: pointer; }
.ps-tune-back[hidden] { display: none; }
.ps-tune-foot { margin: 8px 0 0; font: 400 12px/20px var(--lr-font); color: var(--lr-muted); }
/* narrower: the figures, the chart, the switches, the save */
@media (max-width: 1099px) {
    .ps-tune-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ps-tune-side { display: contents; }
    .ps-tune-plot { order: 1; } .ps-tune-list, .ps-tune-list:empty + .ps-tune-list.is-locked { order: 2; margin-top: 0; } .ps-tune-more { order: 2; margin-top: -12px; } .ps-tune-list:not(:empty) + .ps-tune-list.is-locked { margin-top: -24px; } .ps-tune-back { order: 3; } .ps-tune-result, .ps-tune-result + .ps-tune-stats { order: 4; } .ps-tune-result { margin-top: -8px; } /* 32 under the last switch's words, as beside the chart (Igor 21 Nov «дырка над ним») */ .ps-tune-result + .ps-tune-stats { margin-top: -8px; } .ps-tune-act { order: 5; margin-top: 0; }
    .ps-tune-chart { height: 240px; }
}
@media (max-width: 700px) {
    .ps-tune-fig.is-yours b { font-size: 32px; line-height: 40px; }
    .ps-tune-act { width: 100%; justify-items: stretch; }
    .ps-tune-save { width: 100%; justify-content: center; }
    .ps-tune-chart { height: 180px; }
}

.ps-video { margin: 40px 0 0; }
.ps-video-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--lr-radius-card); overflow: hidden; background: var(--lr-soft); cursor: pointer; }
.ps-video-play img, .ps-video iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: var(--lr-radius-card); }
.ps-video iframe { aspect-ratio: 16 / 9; height: auto; }
.ps-video-icon { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(18, 19, 34, .72); color: #fff; }
.ps-video-icon .lr-icon { width: 26px; height: 26px; margin-left: 3px; }
.ps-video figcaption { margin-top: 8px; font: 400 14px/1.4 var(--lr-font); }
.ps-video figcaption a { color: var(--lr-muted); }

.ps-rules, .ps-related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--lr-line); }
.ps-h2 { margin: 0 0 16px; font: 600 24px/1.25 var(--lr-display); letter-spacing: -0.01em; color: var(--lr-ink); }
.ps-quick { margin: 0 0 20px; font: 500 20px/1.45 var(--lr-font); color: var(--lr-ink); }
.ps-rule { margin-top: 20px; }
.ps-rule h3 { margin: 0 0 6px; font: 600 16px/1.4 var(--lr-font); color: var(--lr-ink); }
.ps-rule-body { font: 400 16px/1.6 var(--lr-font); color: var(--lr-ink); text-wrap: pretty; }
.ps-rule-body p, .ps-rule-body ul, .ps-rule-body ol { margin: 0 0 10px; }
.ps-rule-body ul, .ps-rule-body ol { padding-left: 22px; }
.ps-rule-body ol { list-style: decimal; }
.ps-rule-body ul { list-style: disc; }
.ps-rule-body strong, .ps-rule-body b { font-weight: 600; }
.ps-rule-body li + li { margin-top: 4px; }
.ps-context { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 24px 0 0; }
.ps-context dt { font: 400 14px/1.4 var(--lr-font); color: var(--lr-muted); }
.ps-context dd { margin: 2px 0 0; font: 500 14px/20px var(--lr-font); color: var(--lr-ink); }
.ps-charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.ps-charts figure { margin: 0; }
.ps-charts img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--lr-line); border-radius: 6px; }
.ps-charts figcaption { margin-top: 6px; font: 400 14px/1.4 var(--lr-font); color: var(--lr-muted); }

.ps-count { margin: 0 0 12px; font: 400 14px/1.4 var(--lr-font); color: var(--lr-muted); }
/* A strategy as a card: its video, who made it, what the market did with it in words (made money, lost money, blew the
   account; the result as a share of the account), the account over the run, its few facts. Flat: no frame, the picture is
   the card's edge. Light under More strategies on a strategy page; dark on the gallery, in the first screen's language. */

/* The gallery's catalog continues the first screen's dark stage (Astra's L): four across, the same card words. */
.ps-page-index .ps-index { max-width: none; padding-block: 72px 24px; color: #f4f3f7; }
/* "All 32 tests": the same size and rhythm as the blocks above it ("Watch a video get tested.") */
.ps-page-index .ps-index .ps-lead { color: #a3a1ae; }
.ps-page-index .ps-head.is-short { margin: 0 0 20px; }
.ps-page-index .ps-index .ps-head.is-short .ps-title { font: 500 clamp(28px, 2.4vw, 36px)/1.15 var(--lr-font); letter-spacing: -0.03em; } /* the landing's section scale (Igor 22 Nov «размеры текста сверь с нормой») */
.ps-count:empty { display: none; }
body.ps-page-index { background: #0c0c10; } /* the dark page under its dark blocks: no light seam between them at any zoom */
.ps-page-index #ps-all { width: auto; margin: 0; padding-inline: max(var(--lr-gutter), calc((100% - var(--lr-page)) / 2)); background: #0c0c10; }
.ps-page-index .ps-index .ps-title { font: 500 clamp(32px, 2.6vw, 44px)/1.1 var(--lr-font); letter-spacing: -0.035em; color: #f4f3f7; }
/* "Your account": the run at the visitor's own size (Igor 16 Nov «можно крутить например баланс, типа свой депо»). */
/* The catalog's sort, result filter and search, and each card's years (Igor 16 Nov «фильтры, рейтинги»). */
.ps-card[hidden], .ps-empty[hidden] { display: none; }
.ps-empty { font: 400 16px/1.5 var(--lr-font); color: var(--lr-muted); }
.ps-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font: 500 14px/20px var(--lr-font); text-decoration: none; }
.ps-link .lr-icon { width: 16px; height: 16px; }

@media (max-width: 720px) {
    .ps-article, .ps-index { width: calc(100% - 32px); padding-block: 24px 64px; }
    .ps-answer:not(.ps-replay) { padding: 18px 16px; } /* the replay is flat: one left edge with the title (the gate, 14 Nov) */
    .ps-actions .lr-button { width: 100%; }
}

/* The gallery's first screen (the video on trial, step 0): Astra's L of round 6, picked by Igor 16 Nov
   (docs/product/design/video-on-trial-2026-11-15/codex/L). A dark stage under the site's light header, as the site's own
   final band is dark: one headline, the paste field in the middle, the tested videos as two rails of large thumbnails,
   each with its creator and its verdict in words. The thumbnails carry the colour; the stage stays calm. */
.ps-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* The gallery wears the site's white header like every page, its strategy pages included (Igor 20 Nov «Да, белую», with
   the new header A; it replaces the dark bar of 17 Nov). The dark stage starts under the bar's hairline. */
.ps-stage { --st-bg: #0c0c10; --st-ink: #f4f3f7; --st-muted: #a3a1ae; --st-edge: max(var(--lr-gutter), calc((100% - var(--lr-page)) / 2)); --st-card: clamp(300px, 22.2vw, 390px);
    position: relative; overflow: hidden; background: var(--st-bg); color: var(--st-ink); font-family: var(--lr-font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
.ps-stage :focus-visible { outline: 2px solid #b1a8ff; outline-offset: 5px; }
.ps-stage-hero { position: relative; isolation: isolate; padding: 72px 24px 0; text-align: center; }
/* the end band's stripes on the hero's edges (Igor 21 Nov «может фон сделать как у нас полосатый тот был?») */
.ps-stage-hero > .ps-stage-hatch { z-index: -1; -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .45) 9%, transparent 21%, transparent 79%, rgba(0, 0, 0, .45) 91%, #000 100%), linear-gradient(180deg, #000 0, #000 45%, transparent 85%); mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .45) 9%, transparent 21%, transparent 79%, rgba(0, 0, 0, .45) 91%, #000 100%), linear-gradient(180deg, #000 0, #000 45%, transparent 85%); -webkit-mask-composite: source-in; mask-composite: intersect; } /* faded out downwards too: no edge where the hero ends */
.ps-stage-hero::before { content: ''; position: absolute; z-index: -1; inset: 0 0 -100px; pointer-events: none; background: none; }
.ps-nowrap { white-space: nowrap; }
.ps-stage-eyebrow { text-wrap: balance; margin: 0; font: 500 12px/16px var(--lr-font); letter-spacing: .16em; text-transform: uppercase; color: #a7a0cf; }
.ps-stage-hero h1 { margin: 0 0 16px; font: 600 clamp(60px, 4.36vw, 82px)/1.04 var(--lr-font); letter-spacing: -0.045em; color: var(--st-ink); }
.ps-stage-hero h1 span { color: #b9b1f1; }
.ps-stage-lead { margin: 0; font: 500 var(--lr-t-sub)/1.24 var(--lr-font); letter-spacing: -0.018em; color: rgba(255, 255, 255, .7); } /* the landing hero's sub */
.ps-stage-tool { width: 720px; max-width: 100%; margin: 20px auto 0; }
.ps-paste { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid rgba(120, 112, 139, .44); border-radius: 13px; background: #1b1a24; box-shadow: 0 0 0 5px rgba(255, 255, 255, .01), 0 14px 65px rgba(68, 58, 184, .11); transition: border-color .2s, box-shadow .2s; }
.ps-paste:focus-within { border-color: #a295eb; box-shadow: 0 0 0 5px rgba(132, 118, 219, .07), 0 14px 65px rgba(68, 58, 184, .19); }
.ps-paste.is-wrong { border-color: #e0857f; }
.ps-paste input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 0; outline: 0; background: transparent; font: 400 16px/1 var(--lr-font); color: #fff; }
.ps-paste input::placeholder { color: #aaa5b7; }
.ps-paste button { flex: none; height: 52px; padding: 0 26px; border: 1px solid rgba(141, 127, 243, .36); border-radius: 6px; background: var(--lr-accent); font: 600 16px/24px var(--lr-font); color: #fff; white-space: nowrap; cursor: pointer; transition: background .2s, transform .2s; }
.ps-paste button:hover { background: #5448ce; } /* hover never moves anything (DESIGN-SYSTEM §2.8) */
.ps-paste button span { margin-left: 14px; font-size: 19px; }
.ps-paste-note:empty { display: none; }
/* How every video is tested, small under the field; the faces under it, each with its verdict (Igor 17 Nov, hero 1–4, 6–7). */
.ps-stage-spec { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font: 500 14px/20px var(--lr-font); }
.ps-stage-spec mark { padding: 2px 8px; font-size: 12px; line-height: 16px; }
.ps-stage-spec button { font-size: 14px; }
.ps-stage-faces { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; width: min(1240px, 100%); margin: 40px auto 0; padding: 0; list-style: none; }
.ps-stage-faces a { display: block; color: var(--st-ink); text-decoration: none; text-align: left; }
.ps-stage-faces img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; }

.ps-stage-faces b { display: block; margin-top: 10px; font: 600 24px/28px var(--lr-font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ps-stage-faces [data-tone="gain"] b { color: #7fd3a2; }
.ps-stage-faces [data-tone="flat"] b { color: #c9c5d3; }
.ps-stage-faces [data-tone="loss"] b { color: #f0928b; }
.ps-stage-faces span { display: -webkit-box; overflow: hidden; margin-top: 2px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 400 14px/20px var(--lr-font); color: var(--st-muted); } /* a long channel name wraps, never cut (gate 18 Nov) */
/* What held up, the first screen's answer under the question (Igor 21 Nov «вообще почти все стратегии убыточны и очень
   жалко» → the gallery's script): the count, then each winner's video, result, name and channel, the best first */
.ps-stage-held { margin: 48px 0 0; font: 600 20px/28px var(--lr-font); letter-spacing: -0.01em; color: var(--st-ink); text-wrap: balance; }
.ps-stage-held b { color: #7fd3a2; font-weight: 600; }
.ps-stage-faces.is-held { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 24px; width: min(1160px, 100%); margin-top: 20px; }
.ps-stage-faces.is-held b { margin-top: 12px; font-size: 32px; line-height: 40px; }
.ps-stage-faces .ps-face-name { margin-top: 4px; font: 500 14px/20px var(--lr-font); color: var(--st-ink); }
.ps-stage-faces .ps-face-name + span { margin-top: 4px; }
/* What held up and what didn't, by kind: a card a kind with its videos (Igor 21 Nov «A, карточки») */
.ps-kinds { margin: 96px var(--st-edge) 0; } /* one rhythm between the sections (Igor 22 Nov «над заголовком много пустоты») */
.ps-kinds h2 { margin: 0 0 32px; font: 500 clamp(28px, 2.4vw, 36px)/1.15 var(--lr-font); letter-spacing: -0.03em; color: var(--st-ink); }
.ps-kinds h3 { margin: 0; font: 600 20px/28px var(--lr-font); letter-spacing: -0.01em; color: var(--st-ink); }
.ps-k-count { margin: 4px 0 0; font: 400 16px/24px var(--lr-font); color: var(--st-muted); }
.ps-k-count b { font-weight: 600; }
.ps-k-count[data-tone="gain"] b { color: #7fd3a2; } .ps-k-count[data-tone="loss"] b { color: #f0928b; }
.ps-k-why { margin: 8px 0 0; font: 400 16px/24px var(--lr-font); color: var(--st-muted); text-wrap: pretty; }
.ps-kc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; margin: 0; padding: 0; list-style: none; }
.ps-kc-faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.ps-kc-faces a { display: block; text-decoration: none; }
.ps-kc-faces img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; }
.ps-kc-faces b { display: block; margin-top: 6px; font: 600 14px/20px var(--lr-font); font-variant-numeric: tabular-nums; }
.ps-kc-faces [data-tone="gain"] b { color: #7fd3a2; } .ps-kc-faces [data-tone="flat"] b { color: #c9c5d3; } .ps-kc-faces :is([data-tone="loss"], [data-tone="wiped"]) b { color: #f0928b; }
.ps-kc-more a { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: 6px; background: rgba(255, 255, 255, .06); font: 600 14px/20px var(--lr-font); color: var(--st-muted); text-decoration: none; }
.ps-kc-more a:hover { background: rgba(255, 255, 255, .1); color: var(--st-ink); }
@media (max-width: 1100px) { .ps-kc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ps-kinds { margin-top: 72px; } .ps-kc-list { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.ps-stage.is-trialing .ps-kinds { display: none; }
.ps-stage.is-trialing .ps-stage-held { display: none; }
.ps-paste-thumb { flex: none; width: 64px; height: 36px; margin-left: 6px; border-radius: 4px; object-fit: cover; }
.ps-paste-note { margin: 13px 0 0; font: 400 12px/18px var(--lr-font); color: #9995aa; }
.ps-paste-note.is-wrong { color: #f1b1ae; font-size: 13px; }

/* The answer under the question (Igor 16 Nov, round 6 C «Да, доводи»): every tested video at its result, laid out by
   assets/public-strategies-pile.js; what the test is in two lines, the rest said on the picture. */
.ps-pile { margin: 56px var(--st-edge) 0; }
.ps-pile-eyebrow { margin: 0 0 12px; font: 500 12px/16px var(--lr-font); letter-spacing: .16em; text-transform: uppercase; text-align: center; color: #a7a0cf; }
.ps-pile h2 { margin: 0 0 32px; font: 500 44px/52px var(--lr-font); letter-spacing: -0.035em; text-align: center; color: var(--st-ink); text-wrap: balance; }
.ps-pile h2 b { font-weight: 500; color: #f0928b; font-variant-numeric: tabular-nums; }
.ps-pile h2 span { color: #a3a1ae; }
.ps-stage-spec mark { padding: 1px 6px; border-radius: 4px; color: #121322; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ps-stage-spec mark[data-mark="1"] { background: #a99ff7; } /* dark text on the plates (Igor 17 Nov «на цветных плашках текст темный делай») */
.ps-stage-spec mark[data-mark="2"] { background: #f2c230; color: #1d1d22; } /* Igor 17 Nov «желтым»; dark text, white is unreadable on yellow */
.ps-stage-spec mark[data-mark="4"] { background: #6fcf97; }
.ps-stage-spec mark[data-mark="5"] { background: #f29bb8; }
.ps-stage-spec button { padding: 0; border: 0; background: none; font: inherit; color: #b9b0ee; text-decoration: none; white-space: nowrap; cursor: pointer; }
.ps-stage-spec button:hover { text-decoration: underline; }
.ps-pile-chart { position: relative; margin-top: 24px; }
.ps-pile-chart svg { position: absolute; left: 0; top: 0; overflow: visible; }
.ps-pile-ax { font: 400 12px/1 var(--lr-font); fill: rgba(185, 176, 238, .78); }
.ps-pile-ax.is-start { fill: rgba(185, 176, 238, .85); }
.ps-pile-ax[data-tone="gain"] { fill: #8fd6ab; }
.ps-pile-ax[data-tone="loss"] { fill: #f0a19b; }
.ps-pile-ax[data-tone="flat"] { fill: #d9d6e2; }
/* flat bands by result, one meaning each (Igor 18 Nov «еле заметный зеленый, и чем прибыльнее… темнее… без градиента») */
.ps-pile-zone[data-tone="g3"] { fill: rgba(95, 183, 132, .17); }
.ps-pile-zone[data-tone="g2"] { fill: rgba(95, 183, 132, .11); }
.ps-pile-zone[data-tone="g1"] { fill: rgba(95, 183, 132, .055); }
.ps-pile-zone[data-tone="n"] { fill: rgba(255, 255, 255, .035); }
.ps-pile-zone[data-tone="r1"] { fill: rgba(224, 113, 106, .035); }
.ps-pile-zone[data-tone="r2"] { fill: rgba(224, 113, 106, .065); }
.ps-pile-zone[data-tone="r3"] { fill: rgba(224, 113, 106, .1); }
.ps-pile-dot { position: absolute; z-index: 2; display: block; border-radius: 4px; background: #e0716a; box-shadow: 0 0 0 2px #0c0c10; transition: transform .15s; }
/* a play shape: the triangle cut in the stage's colour */
.ps-pile-dot::after, .ps-pile-joint::after { content: ''; position: absolute; left: 50%; top: 50%; border-style: solid; border-color: transparent transparent transparent #0c0c10; transform: translate(-35%, -50%); }
.ps-pile-dot::after { border-width: 3.5px 0 3.5px 6px; }
.ps-pile-dot[data-tone="gain"] { background: #5fb784; }
.ps-pile-dot[data-tone="flat"] { background: #a3a1ae; }
.ps-pile-dot.is-fixed { box-shadow: 0 0 0 2px #0c0c10, 0 0 0 4px #9d93f0; }
.ps-pile-dot.is-on, .ps-pile-dot:hover, .ps-pile-dot:focus-visible { z-index: 4; transform: scale(1.4); }
.ps-pile-chart.is-hover .ps-pile-dot:not(.is-on) { opacity: .45; }
.ps-pile-joint { position: absolute; z-index: 3; width: 24px; height: 16px; border-radius: 5px; background: #5fb784; box-shadow: 0 0 0 2px #0c0c10; pointer-events: none; }
.ps-pile-joint::after { border-width: 4.5px 0 4.5px 7.5px; }
.ps-pile-type { position: absolute; z-index: 2; margin: 0; font: 500 14px/20px var(--lr-font); color: #d9d6e2; white-space: nowrap; }
.ps-pile-type span { margin-left: 4px; font-weight: 400; color: #8f899e; font-variant-numeric: tabular-nums; }
.ps-pile-chip.is-stacked { box-shadow: 0 0 0 1px rgba(224, 113, 106, .7), -6px 0 12px rgba(0, 0, 0, .45); }
.ps-pile-chip.is-stacked:hover, .ps-pile-chip.is-stacked:focus-visible { z-index: 20 !important; }
.ps-pile-grid { stroke: rgba(141, 130, 240, .16); }
.ps-pile-start { stroke: rgba(185, 176, 238, .55); stroke-dasharray: 3 4; }
.ps-pile-path { fill: none; stroke: #5fb784; stroke-width: 1.5; stroke-dasharray: 4 5; stroke-linecap: round; opacity: .38; }
.ps-pile-origin { fill: #5fb784; }
.ps-pile-chip { position: absolute; z-index: 2; display: block; border-radius: 4px; background: #201e29; box-shadow: 0 0 0 1px rgba(224, 113, 106, .7); transition: transform .15s, opacity .15s; }
.ps-pile-chip img { display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.ps-pile-chip[data-tone="gain"] { box-shadow: 0 0 0 2px #5fb784; }
.ps-pile-chip[data-tone="flat"] { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
.ps-pile-chip.is-out img { filter: grayscale(.6) brightness(.8); }
.ps-pile-chip.is-fixed { box-shadow: 0 0 0 2px #9d93f0; }
.ps-pile-chip:focus-visible { outline-offset: 3px; }
.ps-pile-tag { display: inline-block; padding: 0 6px; border-radius: 6px; background: #9d93f0; font: 600 12px/16px var(--lr-font); color: #0c0c10; }
.ps-pile-chip .ps-pile-tag { position: absolute; top: -10px; right: -10px; padding: 0 5px; line-height: 14px; box-shadow: 0 0 0 2px #0c0c10; }
.ps-pile-res { position: absolute; z-index: 2; font: 500 12px/16px var(--lr-font); text-align: center; white-space: nowrap; pointer-events: none; transition: opacity .15s; text-shadow: 0 0 3px #0c0c10, 0 0 3px #0c0c10, 0 0 6px #0c0c10; }
.ps-pile-res i { font-style: normal; }
.ps-pile-res i[data-tone="gain"] { color: #7fd3a2; } .ps-pile-res i[data-tone="flat"] { color: #c9c5d3; } .ps-pile-res i[data-tone="loss"] { color: #f0928b; }
.ps-pile-res[data-tone="gain"], .ps-pile-group[data-tone="gain"] { color: #5fb784; }
.ps-pile-res[data-tone="flat"], .ps-pile-group[data-tone="flat"] { color: #b2afbd; }
.ps-pile-res[data-tone="loss"], .ps-pile-group[data-tone="loss"] { color: #e0716a; }
.ps-pile-chart.is-hover .ps-pile-chip:not(.is-on), .ps-pile-chart.is-hover .ps-pile-res:not(.is-on) { opacity: .45; }
.ps-pile-chip.is-on { z-index: 4; transform: scale(1.12); }
.ps-pile-group { position: absolute; z-index: 2; max-width: 124px; margin: 0; font: 500 14px/20px var(--lr-font); text-wrap: balance; }
.ps-pile-group small { display: block; max-width: 200px; margin-top: 4px; font: 400 12px/16px var(--lr-font); color: var(--st-muted); white-space: normal; }
.ps-pile-chart.is-bands { display: grid; gap: 28px; }
.ps-pile-band .ps-pile-group { position: static; margin-bottom: 12px; }
.ps-pile-band .ps-pile-group small { max-width: none; }
.ps-pile-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 16px 12px; }
.ps-pile-cell { position: relative; min-width: 0; }
.is-bands .ps-pile-chip { position: relative; aspect-ratio: 16 / 9; }
.is-bands .ps-pile-res { position: static; display: block; margin-top: 6px; text-align: left; white-space: normal; }
.is-bands .ps-pile-res i { display: block; }
.is-bands .ps-pile-chip .ps-pile-tag { top: -7px; right: -5px; }
.ps-pile-fix { margin-top: 24px; max-width: 560px; }
.ps-pile-fix.is-over { position: absolute; z-index: 3; top: 0; margin: 0; max-width: none; }
.ps-pile-fix p { margin: 0; font: 400 14px/20px var(--lr-font); color: var(--st-muted); text-wrap: pretty; }
.ps-pile-fix p b { font-weight: 500; color: var(--st-ink); }
.ps-pile-fix p .ps-pile-tag { margin-right: 8px; vertical-align: 1px; }
.ps-pile-fix a { display: flex; align-items: center; gap: 12px; margin-top: 12px; font: 400 12px/16px var(--lr-font); color: #8f899e; text-decoration: none; }
.ps-pile-fix a:hover span { color: #b2afbd; }
.ps-pile-fix img { flex: none; width: 80px; height: 45px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 2px #9d93f0; }
.ps-pile-fix a b { display: block; margin-top: 2px; font: 500 14px/20px var(--lr-font); color: #d9d6e2; }
.ps-pile-fix a i { font-style: normal; color: #d6d0fb; }
.ps-pile-tip { position: absolute; z-index: 5; width: 240px; padding: 10px 10px 12px; border-radius: 12px; background: #1d1c25; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); pointer-events: none; font: 400 12px/16px var(--lr-font); color: var(--st-muted); }
.ps-pile-tip[hidden] { display: none; }
.ps-pile-tip img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: 8px; border-radius: 6px; object-fit: cover; }
.ps-pile-tip b { display: block; margin-top: 2px; font: 500 14px/20px var(--lr-font); color: var(--st-ink); }
.ps-pile-tip em { display: block; margin-top: 4px; font: 500 14px/20px var(--lr-font); font-style: normal; }
.ps-pile-tip em[data-tone="gain"] { color: #5fb784; } .ps-pile-tip em[data-tone="flat"] { color: #b2afbd; } .ps-pile-tip em[data-tone="loss"] { color: #e0716a; }
.ps-pile-tip small { display: block; margin-top: 4px; font: 500 12px/16px var(--lr-font); color: #b9b0ee; }
@media (hover: none) { .ps-pile-tip { display: none; } }

/* What happens to a pasted video, one finished test replayed (the rails of thumbnails folded, 17 Nov). */
.ps-watch { margin: 72px var(--st-edge) 0; container-type: inline-size; }
/* the card's own proportions (two thumbnail widths and a gap), as wide as the block allows up to 1120 px */
.ps-watch .ps-live { --st-card: min(549px, calc((100cqw - 22px) / 2)); }
.ps-watch h2 { margin: 0 0 20px; font: 500 clamp(28px, 2.4vw, 36px)/1.15 var(--lr-font); letter-spacing: -0.03em; color: var(--st-ink); }
.ps-watch .ps-live { width: calc(2 * var(--st-card) + 22px); max-width: 100%; height: max(calc(var(--st-card) * 9 / 16 + 89px), 320px); } /* room for three rules and the "not stated" line on a tablet */
.ps-how { width: 540px; max-width: calc(100vw - 40px); padding: 42px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px; background: #17151e; box-shadow: 0 30px 130px rgba(0, 0, 0, .7); color: var(--st-ink); font-family: var(--lr-font); }
.ps-how::backdrop { background: rgba(7, 6, 11, .79); backdrop-filter: blur(12px); }
.ps-how h2 { margin: 19px 0 16px; font: 500 31px/1.15 var(--lr-font); letter-spacing: -0.03em; }
.ps-how p:not(.ps-stage-eyebrow) { margin: 0 0 12px; font: 400 14px/1.7 var(--lr-font); color: #b8b2c6; }
.ps-how strong { color: var(--st-ink); font-weight: 500; }
.ps-how-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .19); border-radius: 50%; background: #17151e; font-size: 24px; line-height: 1; color: #fff; cursor: pointer; }
/* The live card: a finished test, replayed (Igor 16 Nov «Да, живая карточка» → «Да, укрупняй»). Three cards wide at the
   head of the first rail: the video and its rules with their seconds, then a camera over the year's candles with every
   trade marked as TradingView marks a position, the account underneath, the verdict. Calm: the trades carry the colour. */
.ps-live { position: relative; display: flex; flex: 0 0 calc(2 * var(--st-card) + 22px); flex-direction: column; align-self: flex-start; height: calc(var(--st-card) * 9 / 16 + 89px); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: #131219; scroll-snap-align: start; }
.ps-live-head { display: flex; flex: none; align-items: center; gap: 16px; height: 34px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); font: 400 12px/1 var(--lr-font); color: #9994a8; }
.ps-live-honest { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ps-live-honest span { font-size: 15px; color: #b9b1d3; }
.ps-live-state { margin-left: auto; color: #c0b9d0; }
.ps-live-head button, .ps-live-next { padding: 6px 0; border: 0; background: none; font: 400 12px/1 var(--lr-font); color: #b7b1c5; white-space: nowrap; cursor: pointer; }
.ps-live-head button:hover, .ps-live-next:hover { color: #fff; }
.ps-live-body { display: grid; flex: 1; grid-template-columns: 30% minmax(0, 1fr); gap: 20px; min-height: 0; padding: 12px 16px 0; }
.ps-live-source { min-width: 0; }
.ps-live-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 6px; background: #201e29; }
.ps-live-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.ps-live-thumb span { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; border-radius: 4px; background: rgba(12, 12, 16, .82); font: 500 12px/1 var(--lr-font); color: #efedf5; }
.ps-live-source b { display: block; margin: 8px 0 4px; font: 500 14px/20px var(--lr-font); color: #e4e0ec; }
.ps-live-source > span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font: 400 12px/17px var(--lr-font); color: #8f899e; }
.ps-live-stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ps-live-reading, .ps-live-market { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.ps-live-reading[hidden], .ps-live-market[hidden] { display: none; }
.ps-live-label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; font: 500 12px/18px var(--lr-font); letter-spacing: .08em; text-transform: uppercase; color: #a59db8; }
.ps-live-label > span:last-child { letter-spacing: 0; text-transform: none; color: #8a8496; }
/* Three whole rules at a time, moved a row at a time: never a half-cut line. */
.ps-live-window { flex: none; height: 156px; overflow: hidden; margin-top: 4px; }
.ps-live-window ol { margin: 0; padding: 0; list-style: none; transition: transform .38s cubic-bezier(.22, 1, .36, 1); }
.ps-live-window li { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: start; gap: 12px; box-sizing: border-box; height: 52px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font: 400 14px/19px var(--lr-font); color: #8a8496; opacity: 0; transform: translateX(-10px); transition: opacity .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1), color .3s ease; }
.ps-live-window li.is-read { opacity: .72; transform: none; }
.ps-live-window li.is-now { opacity: 1; color: #f0edf6; }
.ps-live-window li > span { text-wrap: pretty; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ps-live-window time { height: 21px; line-height: 19px !important; border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; background: rgba(255, 255, 255, .03); font: 500 12px/21px var(--lr-font); text-align: center; color: #c3b9e6; }
.ps-live-missing { flex: none; overflow: hidden; margin: 4px 0 0; font: 400 12px/17px var(--lr-font); white-space: nowrap; text-overflow: ellipsis; color: #b1a7bf; opacity: 0; transition: opacity .4s; }
.ps-live-missing.is-shown { opacity: 1; }
.ps-live-market .ps-live-label { text-transform: none; letter-spacing: 0; font-weight: 400; color: #9a92a8; }
.ps-live-trades { color: #a9a1b7; }
.ps-live-trades strong:empty { display: none; } /* before the first exit: only "No trades yet" */
.ps-live-trades strong { margin-right: 4px; font: 500 24px/1 var(--lr-font); letter-spacing: -0.03em; color: #f4f3f7; font-variant-numeric: tabular-nums; }
.ps-live-date { min-width: 96px; text-align: right; color: #c6bfd5 !important; font-variant-numeric: tabular-nums; }
.ps-live-chart { display: block; flex: 1; width: 100%; min-height: 0; margin-top: 6px; }
.ps-live-account { display: grid; flex: none; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; height: 26px; margin-top: 4px; font: 400 12px/1 var(--lr-font); color: #8f879f; }
.ps-live-account canvas { display: block; width: 100%; height: 26px; }
.ps-live-account b { margin-left: 4px; font-weight: 500; color: #d6d0e2; font-variant-numeric: tabular-nums; }
.ps-live-foot { display: flex; flex: none; align-items: center; gap: 18px; height: 52px; margin: 8px 16px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.ps-live-foot > div { flex: 1; min-width: 0; }
.ps-live-step { margin: 0; font: 400 12px/16px var(--lr-font); color: #8b849c; }
.ps-live-verdict { margin: 0; overflow: hidden; font: 500 16px/24px var(--lr-font); letter-spacing: -0.01em; color: #e8e4ef; white-space: nowrap; text-overflow: ellipsis; }
.ps-live[data-phase="done"] .ps-live-verdict::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: #449a6b; vertical-align: middle; }
.ps-live[data-phase="done"][data-verdict="loss"] .ps-live-verdict::before { background: #c4342d; }
.ps-live[data-phase="done"][data-verdict="flat"] .ps-live-verdict::before { background: #9a9aa3; }
.ps-live-open { font: 500 14px/20px var(--lr-font); color: #bcb2e6; text-decoration: none; white-space: nowrap; }
.ps-live-open:hover { text-decoration: underline; }
.ps-live-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .04); }
.ps-live-progress span { display: block; height: 100%; background: #8b7db5; transform: scaleX(0); transform-origin: left; }
.ps-live.is-paused * { transition: none !important; }
@media (min-width: 1750px) {
    .ps-stage-hero { padding-top: 52px; }
    .ps-stage-hero h1 { margin: 19px 0 22px; }
    .ps-stage-tool { width: 760px; margin-top: 30px; }
    .ps-pile { margin-top: 72px; }
}
/* Tablet and phone (L's own narrow rules, carried over): the headline steps down, the field stacks on a phone, the rails
   swipe, the live card takes the screen's width and stacks its video over its stage, the catalog goes to two then one. */
@media (max-width: 1100px) {
    .ps-stage-hero h1 { font-size: 58px; }
    /* the faces swipe as a row when seven don't fit side by side */
    .ps-stage-faces { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
    .ps-stage-faces::-webkit-scrollbar { display: none; }
    .ps-stage-faces.is-held { grid-template-columns: none; grid-auto-columns: 220px; gap: 16px; }
}
@media (max-width: 700px) {
    .ps-stage { --st-edge: var(--lr-gutter); --st-card: 290px; }
    .ps-stage-hero { padding: 40px var(--lr-gutter) 0; }
    .ps-stage-hero h1 { margin-top: 0; font-size: 40px; line-height: 1.1; letter-spacing: -0.04em; }
    .ps-stage-tool { margin-top: 22px; }
    .ps-paste { flex-direction: column; align-items: stretch; }
    .ps-paste input { flex: none; width: 100%; height: 48px; } /* in the column the flex basis took the height (20 px, Igor 22 Nov «место для текста сжатое») */
    .ps-paste button { width: 100%; }
    .ps-pile { margin-top: 40px; }
    .ps-pile h2 { font-size: 28px; line-height: 34px; }
    .ps-pile-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
    .ps-watch { margin-top: 48px; }
    .ps-watch .ps-live { width: 100%; height: auto; min-height: 520px; } /* one height through every phase and video: nothing below jumps (fresh eyes 18 Nov) */
    .ps-live { flex-basis: calc(100vw - 2 * var(--lr-gutter)); height: auto; }
    .ps-live-head { gap: 10px; padding: 0 12px; }
    .ps-live-state { display: none; }
    .ps-live-body { grid-template-columns: 1fr; gap: 14px; padding: 12px 12px 0; }
    .ps-live-source { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 12px; align-items: start; }
    .ps-live-source .ps-live-thumb { grid-row: span 2; }
    .ps-live-source b { margin: 0 0 3px; }
    .ps-live-reading, .ps-live-market { min-height: 210px; }
    .ps-live-chart { flex: none; height: 150px; }
    .ps-live-foot { flex-wrap: wrap; height: auto; gap: 8px 16px; margin: 10px 12px 0; padding: 10px 0 14px; }
    .ps-live-foot > div { flex-basis: 100%; }
    .ps-live-verdict { white-space: normal; }
    .ps-live-missing { white-space: normal; } /* the whole "not stated" line on a phone (gate 18 Nov) */
    /* a rule may take three lines on a phone, never cut (fresh eyes 18 Nov) */
    .ps-live-window li { height: 72px; }
    .ps-live-window li > span { -webkit-line-clamp: 3; }
    .ps-page-index .ps-card h3 { min-height: 0; } /* one column: no row of verdicts to line up */
}
@media (prefers-reduced-motion: reduce) { .ps-paste, .ps-paste button, .ps-live-window ol, .ps-live-window li, .ps-live-missing { transition: none; } }

/* A tested video's page (16 Nov, the segment in the first screen's language): a dark head with the video and the verdict,
   then the light evidence on the page's full width. The run sheet's own plate and answer are said by the head, once. */
.ps-hero { padding: 28px 0 48px; background: #0c0c10; color: #f4f3f7; font-family: var(--lr-font); -webkit-font-smoothing: antialiased; }
.ps-hero .ps-crumb, .ps-hero .ps-crumb a { color: #a3a1ae; }
.ps-hero .ps-crumb a:hover { color: #fff; }
.ps-hero-note { margin: 12px 0 0; font: 400 12px/20px var(--lr-font); color: #8f899e; }
/* TSB's change opened (a free account), only ever inside the head's card, in a row as the lock is (Igor 20 Nov «смотрится
   слабо», «если их много будет может и норм колонками, а так пусто. может пересобрать как-то»): the lock's own line and the
   change itself; past a hairline, the year it never saw; the caveat under both. On the head's roles. */
.ps-hero-fix { margin: 0; }
.ps-hero-fix-open { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main exam" "note note"; align-items: center; gap: 16px 48px; }
.ps-hero-fix-main { grid-area: main; min-width: 0; }
.ps-hero-fix-line { margin: 0; font: 600 20px/28px var(--lr-font); color: var(--ps-ink); text-wrap: balance; }
.ps-hero-diff { display: grid; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; font: 500 20px/28px var(--lr-font); }
.ps-hero-diff li { position: relative; padding: 0 0 0 28px; color: var(--ps-accent-text); }
.ps-hero-diff li::before { position: absolute; left: 0; width: 20px; text-align: center; font-weight: 600; }
.ps-hero-diff li.is-in::before { content: '+'; color: var(--ps-accent); }
.ps-hero-diff li.is-out { color: var(--ps-ink-3); font-size: 16px; }
.ps-hero-diff li.is-out::before { content: '−'; color: var(--ps-loss); }
.ps-hero-diff s { text-decoration-color: var(--ps-loss); }
.ps-hero-fix-exam { grid-area: exam; padding-left: 48px; border-left: 1px solid var(--ps-accent-line); }
.ps-hero-fix-how { margin: 0; font: 500 12px/20px var(--lr-font); color: var(--ps-ink-3); }
.ps-hero-fix-how span { white-space: nowrap; }
.ps-hero-fix-nums { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 16px; margin: 8px 0 0; font: 600 24px/32px var(--lr-font); letter-spacing: -0.02em; color: var(--ps-ink-2); font-variant-numeric: tabular-nums; }
.ps-hero-fix-nums small { display: block; font: 400 12px/20px var(--lr-font); letter-spacing: 0; color: var(--ps-ink-3); }
.ps-hero-fix-nums .is-to { color: var(--ps-accent-text); }
.ps-hero-fix-arrow { font: 400 20px/32px var(--lr-font); color: var(--ps-ink-3); }
.ps-hero-fix-note { grid-area: note; margin: 0; padding-top: 16px; border-top: 1px solid var(--ps-accent-line); font: 400 12px/20px var(--lr-font); color: var(--ps-ink-3); }
@media (max-width: 1099px) {
    .ps-hero-fix-open { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "exam" "note"; align-items: start; }
    .ps-hero-fix-exam { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--ps-accent-line); }
}
.ps-article.has-hero { max-width: none; padding-top: 8px; padding-bottom: 64px; } /* the end band 64 under the last section, the page's own rhythm (Igor 20 Nov «не большая ли дыра под кнопкой?»: 88 was left from the footer) */
.ps-article.has-hero .ps-tune { margin-top: 40px; }
.ps-article.has-hero .ps-rules { max-width: 820px; margin-top: 56px; }
.ps-article.has-hero .ps-answer { margin-top: 40px; }
.ps-article.has-hero .ps-replay .mr-plate, .ps-article.has-hero .ps-replay .mr-answer, .ps-article.has-hero .ps-replay > .mr-run > .ps-h2, .ps-article.has-hero .ps-replay > .mr-run > p { display: none; }
/* Will it work for you? (Igor 20 Nov «…нафига оно мне» → the page's script → «Да, делай»): three doors, a line each on what
   you get and one way in; Max's other checks follow as its last rows (includes/public-strategies-view.php
   tsbPublicStrategyForYou). */
.ps-article .ps-foryou { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--lr-line); }
.ps-foryou-lead { max-width: 720px; margin: 8px 0 0; font: 400 16px/24px var(--lr-font); color: var(--lr-muted); }
/* the ways in as one sheet, cells between hairlines like Every trade's (Igor 20 Nov «кнопки тут супер дефолтно смотрятся, может и
   сетку сделать а не блоки?»): the whole cell is the link, its words in accent with an arrow; the main one on the accent's tint */
.ps-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border-block: 1px solid var(--lr-line); }
.ps-door { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; gap: 8px; padding: 24px; transition: background-color 140ms ease; }
.ps-door + .ps-door { border-left: 1px solid var(--lr-line); }
.ps-door:hover { background: color-mix(in srgb, var(--lr-ink) 3%, transparent); }
.ps-door.is-main { background: var(--lr-accent-tint); }
.ps-door.is-main:hover { background: color-mix(in srgb, var(--lr-accent) 12%, transparent); }
.ps-door-go { display: inline-flex; align-items: center; gap: 8px; color: var(--lr-accent); font: 600 16px/24px var(--lr-font); text-decoration: none; }
.ps-door-go::after { content: ''; position: absolute; inset: 0; } /* the whole cell */
.ps-door-go .ps-icon { width: 16px; height: 16px; transition: transform 160ms ease; }
.ps-door:hover .ps-door-go .ps-icon { transform: translateX(3px); }
.ps-door-go:focus-visible { outline: none; }
.ps-door:has(.ps-door-go:focus-visible) { outline: 2px solid var(--lr-accent); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .ps-door, .ps-door-go .ps-icon { transition: none; } }
/* the cell's icon large in its top right corner, the title first on its left (Igor 20 Nov «иконку вправо и крупной?») */
.ps-door { grid-template-rows: auto 1fr auto; }
.ps-door > .ps-icon { position: absolute; top: 24px; right: 24px; width: 32px; height: 32px; color: var(--lr-accent); stroke-width: 1.5; }
.ps-door-title { display: flex; align-items: center; gap: 8px; margin: 0; padding-right: 48px; font: 600 20px/28px var(--lr-font); color: var(--lr-ink); }
.ps-door-tag { padding: 0 8px; border-radius: 6px; background: var(--lr-accent-tint); font: 600 12px/20px var(--lr-font); color: var(--lr-accent); }
.ps-door-text { margin: 0; font: 400 16px/24px var(--lr-font); color: var(--lr-muted); text-wrap: pretty; }
/* each door's way in a real button, the first the main one (Igor 20 Nov «кнопки не втягивают и не в тех местах» → «Да, 1–3») */
.ps-door-go { justify-self: start; margin-top: 8px; }
/* the page's buttons on the type scale: 16, not the landing kit's 17 (the gate, 20 Nov) */
.ps-article :is(.ps-door-go, .mr-sheet-join .lr-button) { font-size: 16px; line-height: 24px; }
.ps-article .mr-trade .trade-chart-fit { font-size: 14px; }
.ps-article .ps-tune-item small, .ps-article .mr-trade .trade-chart-stats small { text-wrap: pretty; } /* no word alone on a phone's last line */

/* Under the trades, the journal itself: the trader's own trades, replayed like these */
.ps-article .mr-sheet-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 24px 0 0; padding: 16px 16px 16px 24px; border-radius: 12px; background: var(--lr-accent-tint); }
.ps-article .mr-sheet-join p { margin: 0; font: 500 16px/24px var(--lr-font); color: var(--lr-ink); }
@media (max-width: 559px) { .ps-article .mr-sheet-join { padding: 16px; } .ps-article .mr-sheet-join .lr-button { flex: 1 1 100%; justify-content: center; } }
html[data-tsb-plan]:not([data-tsb-plan="visitor"]) .ps-article .mr-sheet-join { display: none; } /* signed in: their trades are a sync away, not a sign-up */

/* The fix's offer at the screen's foot while the head is away (assets/public-strategies-page.js) */
.ps-stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); background: var(--lr-accent); transform: translateY(100%); transition: transform 200ms ease; }
.ps-stick[hidden] { display: none; }
.ps-stick.is-on { transform: none; }
.ps-stick.is-on.is-held { transform: translateY(100%); } /* the exit card is up: one offer at a time */
/* the offer in the brand's own indigo, white words and a white button, as the share cards and the landing's hero (Igor 20 Nov
   «может и фон полосе или модалке сделать лучше?» → «как на карточках шарилки у нас было…?» → «Индиго»); faint white
   stripes on the bar's ends and up the card's foot */
.ps-stick::before, .ps-leave::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 9px); pointer-events: none; }
.ps-stick::before { opacity: 1; -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .45) 9%, transparent 21%, transparent 79%, rgba(0, 0, 0, .45) 91%, #000 100%); mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .45) 9%, transparent 21%, transparent 79%, rgba(0, 0, 0, .45) 91%, #000 100%); }
.ps-leave::before { opacity: 1; -webkit-mask-image: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .5) 75%, #000 100%); mask-image: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .5) 75%, #000 100%); }
.ps-leave > * { position: relative; }
.ps-stick-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ps-stick-text { margin: 0; font: 400 16px/24px var(--lr-font); color: #fff; }
.ps-stick-text b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.ps-stick .lr-button-primary, .ps-leave .lr-button-primary { border-color: #fff; background: #fff; color: var(--lr-ink) !important; }
.ps-stick .lr-button-primary:hover, .ps-leave .lr-button-primary:hover { border-color: #ececf4; background: #ececf4; }
.ps-stick .lr-button { flex: none; }
@media (max-width: 559px) { .ps-stick-text { font-size: 14px; line-height: 20px; } .ps-stick-long { display: none; } } /* one short line on a phone (fresh eyes 20 Nov) */
/* The exit card, over the bar on the right (a desktop, once) */
.ps-leave { position: fixed; right: 24px; bottom: 24px; z-index: 41; overflow: hidden; display: grid; justify-items: start; gap: 8px; width: 360px; padding: 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: var(--lr-accent); color: #fff; box-shadow: 0 24px 64px rgba(18, 19, 34, .28); opacity: 0; transform: translateY(12px); transition: opacity 200ms ease, transform 200ms ease; }
.ps-leave[hidden] { display: none; }
.ps-leave.is-on { opacity: 1; transform: none; }
.ps-leave-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .72); cursor: pointer; }
.ps-leave-x:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.ps-leave-x .lr-icon { width: 16px; height: 16px; stroke-width: 1.5; }
.ps-leave-kicker { margin: 0; font: 500 12px/20px var(--lr-font); color: rgba(255, 255, 255, .72); }
.ps-leave-title { margin: 0; padding-right: 24px; font: 600 20px/28px var(--lr-font); letter-spacing: -0.01em; color: #fff; }
.ps-leave-text { margin: 0 0 8px; font: 400 14px/20px var(--lr-font); color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.ps-leave-note { margin: 0; font: 400 12px/20px var(--lr-font); color: rgba(255, 255, 255, .72); }
@media (prefers-reduced-motion: reduce) { .ps-stick, .ps-leave { transition: none; } }
/* Max's other checks as the block's last rows */
.ps-article .ps-foryou + .ps-max.is-locked, .ps-article .ps-max-line + .ps-max.is-locked { margin-top: 32px; padding-top: 0; border-top: 0; }
.ps-max-line { max-width: 720px; margin: 24px 0 0; font: 400 14px/20px var(--lr-font); color: var(--lr-muted); text-wrap: pretty; } /* Max said once to a visitor */
.ps-max-line a { color: var(--lr-accent); font-weight: 500; text-decoration: none; }
.ps-max-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ps-article .ps-foryou + .ps-max.is-locked > .ps-h2 { font: 600 16px/24px var(--lr-font); }
@media (max-width: 1099px) { .ps-doors { grid-template-columns: minmax(0, 1fr); } .ps-door + .ps-door { border-left: 0; border-top: 1px solid var(--lr-line); } }
/* The trades on a public page (Igor 20 Nov «не сразу заметно что тут проделано много работы и огромный результат. может карточки
   эти не круто и не масштабно смотрятся? а эта кнопка тоже теряется из вида»): the title says the work, three sessions a row,
   each chart taller, the date and its result at body size, "Show all 1,062 trades" a real button. The Lab keeps its four. */
/* one sheet, not six cards (Igor 20 Nov «тут может сетку а не карточки делать?»): no gaps, no frames, no corners; a line over
   the sheet, lines between the sessions; the first column on the title's edge, the last on the page's right edge */
.ps-article .mr-sheet-grid { --ui-grid-gutter: 0px; --ui-grid-row-gap: 0px; border-top: 1px solid var(--lr-line); }
.ps-article .mr-proof { padding: 16px 20px 8px; border: 0; border-bottom: 1px solid var(--lr-line); border-radius: 0; } /* tight: the chart's own time axis is its bottom margin (Igor 20 Nov «зачем такие пустоты в клетках?») */
.ps-article .mr-proof.is-on { border-color: var(--lr-line); box-shadow: none; background: var(--lr-accent-tint); }
.ps-article .mr-proof-open { border-radius: 0; }
/* The chosen trade in two lines over its chart (Igor 20 Nov «тут мне тоже не нравится как на скринах собрано, пока еще
   отстает»): which trade and what it made, large, on the first; its day, side, exit and zone with the chart's tools on the
   second; under the chart what it kept of what it offered first, the four prices after */
.ps-article .mr-trade-result { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; margin: 0; align-self: center; }
.ps-article .mr-trade-result .mr-trade-money { margin: 0; font: 600 24px/32px var(--lr-font) !important; font-variant-numeric: tabular-nums; }
.ps-article .mr-trade-result span { font: 400 14px/20px var(--lr-font); color: var(--lr-muted); font-variant-numeric: tabular-nums; }
@container ui-grid (max-width: 559px) { .ps-article .mr-trade-result { justify-content: flex-start; } }
.ps-article .mr-tv-bar.is-public { justify-content: space-between; }
.ps-article .mr-tv-bar.is-public .mr-trade-tools { flex: none; } /* the chart's tools on the right, under what it made */
.ps-article .mr-trade-line.is-public { margin: 0; }
.ps-article .mr-trade .trade-chart-facts { display: flex; flex-direction: column; }
.ps-article .mr-trade .trade-chart-answer { order: -1; margin: 16px 0 0; font: 600 16px/24px var(--lr-font); color: var(--lr-ink); }
/* hover: the whole cell a shade darker, its chart included (the chart draws on the cell's ground); the Lab's blended overlay off */
.ps-article .mr-proof-open:hover { background: transparent; mix-blend-mode: normal; }
.ps-article .mr-proof:hover { background: color-mix(in srgb, var(--lr-ink) 3%, transparent); }
.ps-article .mr-proof.is-on:hover { background: var(--lr-accent-tint); }
.ps-article .mr-proof-chart { height: 220px; margin: 8px 0 0; }
/* the legend and the month pick in one row right over the trades (Igor 20 Nov «я бы это закрепил ниже, чтобы ближе к сделкам») */
.ps-article .mr-sheet-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px 32px; margin: 0 0 16px; } /* right under the title (Igor 20 Nov «а между ними?»); the legend sits right after what the trades are on, the month menu alone on the right (Igor 22 Nov «чего оно висит тут непонятно») */
.ps-article .mr-sheet .mr-section-head { margin-bottom: 8px; }
.ps-article .mr-sheet .mr-section-head h3 { min-height: 0; }
.ps-article .mr-sheet-bar .mr-sheet-legend { margin: 0; }
/* what the trades are on, ahead of the legend (Igor 20 Nov «тут понятно какой таймфрейм, актив?» → «Да, делай») */
.ps-article .mr-sheet-market { display: flex; flex-wrap: wrap; margin: 0; font: 400 14px/20px var(--lr-font); color: var(--lr-ink); }
.ps-article .mr-sheet-market b { font-weight: 600; }
.ps-article .mr-sheet-market span::before { content: '\00a0·\00a0'; color: var(--lr-muted); }
.ps-article .mr-sheet-market i { font-style: normal; color: var(--lr-muted); }
/* narrower, it takes its own row and the legend sits by the month pick; a phone stacks the market over the candles, no dot leading a line */
@media (max-width: 1023px) { .ps-article .mr-sheet-market { flex: 1 1 100%; } }
@media (max-width: 559px) { .ps-article .mr-sheet-market { flex-direction: column; } .ps-article .mr-sheet-market span::before { content: none; } }
.ps-article .mr-sheet-pick { margin-left: auto; }
/* the sheet with the rules switched on (Igor 21 Nov «посмотреть на трейдах, что в итоге получилось»): a switch before the month
   pick; a trade the rules leave out fades and says so, one whose exit changes says its R before and after in accent */
.ps-article .mr-sheet-view:empty { display: none; }
.ps-article .mr-sheet-view { margin-left: auto; }
.ps-article .mr-sheet-view + .mr-sheet-pick { margin-left: 0; }
.ps-article .mr-sheet-view:empty + .mr-sheet-pick { margin-left: auto; } /* no view switch: the month menu keeps the right edge */
.ps-article .mr-proof.is-out { opacity: .4; }
.ps-article .mr-proof.is-out:hover { opacity: .7; }
.ps-article .mr-proof.is-changed .mr-proof-result > span { color: var(--lr-accent); font-weight: 600; }
@media (max-width: 559px) { .ps-article .mr-sheet-view { flex: 1 1 100%; margin-left: 0; } }
.ps-article .mr-sheet-pick .mr-month-pick { min-width: 200px; }
@media (max-width: 559px) { .ps-article .mr-sheet-pick { flex: 1 1 100%; } .ps-article .mr-sheet-pick .mr-month-pick { width: 100%; } }
/* four a row (Igor 20 Nov «может сделок по 4 в ряд, будет более по боевому?») */
@container ui-grid (min-width: 900px) {
    .ps-article .mr-proof:not(:nth-child(4n)) { border-right: 1px solid var(--lr-line); }
}
@container ui-grid (min-width: 560px) and (max-width: 899px) {
    .ps-article .mr-proof:nth-child(2n + 1) { border-right: 1px solid var(--lr-line); }
}
/* every cell keeps its padding on both sides, the first and last too: a chosen or hovered cell's tint never meets its words
   (Igor 20 Nov «вот тут слева прилипает некрасиво»); the sheet's lines still run to the page's edges */
@container ui-grid (max-width: 559px) { .ps-article .mr-proof { padding-inline: 16px; } }
/* two lines over the chart, at any width (Igor 20 Nov «может сделок по 4 в ряд»: four a row cut "Session end" short): the day
   and what it made, large, on the first; how it went and its R under them, grey */
.ps-article .mr-proof-top.is-public { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; font: 400 14px/20px var(--lr-font); }
.ps-article .mr-proof-top.is-public b { margin-left: 0; }
.ps-article .mr-proof-when, .ps-article .mr-proof-result { display: contents; }
.ps-article .mr-proof-when b { grid-area: 1 / 1; font-weight: 600; color: var(--lr-ink); white-space: nowrap; }
.ps-article .mr-proof-when span { grid-area: 2 / 1; min-width: 0; overflow: hidden; color: var(--lr-muted); white-space: nowrap; text-overflow: ellipsis; }
.ps-article .mr-proof-result b { grid-area: 1 / 2; justify-self: end; font: 600 16px/24px var(--lr-font); }
.ps-article .mr-proof-result span { grid-area: 2 / 2; justify-self: end; color: var(--lr-muted); }
/* the candles first: the trade's zones paler, its line from entry to exit solid in what it made */
.ps-article .mr-proof .trade-position-zone--gain { background: color-mix(in srgb, var(--tr-positive) 7%, transparent); border-color: color-mix(in srgb, var(--tr-positive) 22%, transparent); }
.ps-article .mr-proof .trade-position-zone--loss { background: color-mix(in srgb, var(--tr-negative) 6%, transparent); border-color: color-mix(in srgb, var(--tr-negative) 20%, transparent); }
.ps-article .mr-proof .trade-position-path line { stroke-dasharray: none; stroke-opacity: .9; stroke-width: 1.5; }
.ps-article .mr-proof.is-gain .trade-position-path line { stroke: var(--tr-positive); }
.ps-article .mr-proof.is-loss .trade-position-path line { stroke: var(--tr-negative); }
/* the zones as fills only, no frames at their sides (Igor 20 Nov «рамки по бокам разметки нужны?»); the entry and exit arrows
   larger, the exit in what the trade made (Igor «а стрелки норм там на графике? входа и выхода») */
.ps-article .mr-proof .trade-position-zone { border-color: transparent; }
.ps-article .mr-proof .trade-position-mark i { border-inline-width: 7px; }
.ps-article .mr-proof .trade-position-mark--buy i { border-bottom-width: 10px; }
.ps-article .mr-proof .trade-position-mark--sell i { border-top-width: 10px; }
.ps-article .mr-proof.is-gain .trade-position-mark--exit { --mark: var(--tr-positive); }
.ps-article .mr-proof.is-loss .trade-position-mark--exit { --mark: var(--tr-negative); }
.ps-article .mr-sheet-foot { margin-top: 16px; }
.ps-article .mr-list-foot { display: flex; }
/* the way to all the trades: the page's own outline button (.lr-button-outline's line, fill and hover), the sheet's full width
   and a chevron — noticed by its width, not by a third kind of button (Igor 20 Nov «заметно тут её?», then «третий тип кнопки,
   норм?» on a tinted bar) */
.ps-article :is(.mr-sheet-foot :is([data-mr-all], [data-mr-list-more]), .ps-related-all) { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; border: 1.5px solid var(--lr-accent); border-radius: 999px; background: #fff; font: 600 16px/24px var(--lr-font); color: var(--lr-accent); text-decoration: none; cursor: pointer; transition: background-color 140ms ease; }
.ps-article .mr-sheet-foot :is([data-mr-all], [data-mr-list-more])::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.ps-article .mr-sheet-foot [data-mr-all][aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.ps-article .mr-sheet-foot [data-mr-all][hidden] { display: none; }
.ps-article :is(.mr-sheet-foot :is([data-mr-all], [data-mr-list-more]), .ps-related-all):hover { background: var(--lr-accent-tint); }
.ps-article :is(.mr-sheet-foot :is([data-mr-all], [data-mr-list-more]), .ps-related-all):focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 2px; }
/* More strategies ends in the page's own wide button, not a small link (Igor 20 Nov «тоже кнопочка слабая?») */
.ps-related-foot { display: flex; margin: 24px 0 0; }
.ps-related-all .ps-icon { width: 16px; height: 16px; }
@media (max-width: 700px) { .ps-article .mr-proof-chart { height: 200px; } }
/* The report on a public page (Igor 20 Nov «оставить, но мне не нравится как это выглядит»): calm, one thing loud. Each table
   headed by its name as a group head; the row names in ink; All the figures that count, Long and Short quieter; colour only
   on Net profit, the signs carry the rest; the two tables as long as each other; How the simulation works under them on their
   left edge, not alone in a band of its own. The Lab keeps the strategy tester's colours. */
.ps-article .mr-summary th:first-child { font: 600 16px/24px var(--lr-font); color: var(--lr-ink); }
.ps-article .mr-summary th:not(:first-child) { vertical-align: bottom; font: 500 12px/20px var(--lr-font); color: var(--lr-muted); }
.ps-article .mr-summary td:first-child { color: var(--lr-ink); }
.ps-article .mr-summary td:nth-child(2) { color: var(--lr-ink); font-weight: 500; }
.ps-article .mr-summary td:nth-child(n + 3) { color: var(--lr-muted); }
.ps-article .mr-summary tr:not(.is-lead) :is(.lab-gain, .lab-loss) { color: inherit; }
.ps-article .mr-summary tr.is-lead td { font: 600 16px/24px var(--lr-font); }
.ps-article .mr-summary tr.is-lead td:first-child { color: var(--lr-ink); }
/* How the simulation works right under the tables, 16 below their last row, at body size (Igor 20 Nov «дыра между ними»:
   the report's own 24 under it and the foot's 16 over it) */
.ps-article .mr-report { padding-bottom: 0; }
.ps-article .mr-foot { margin-top: 16px; padding-top: 0; border-top: 0; }
.ps-article .mr-foot-lines:empty { display: none; }
.ps-article .mr-foot .mr-foot-link { grid-column: 1 / -1; justify-content: flex-start; font: 500 14px/20px var(--lr-font); }
.ps-article .mr-foot .mr-foot-link .ui-link :is(svg, i) { width: 16px; height: 16px; stroke-width: 1.5; }
.ps-article .mr-net-pct { font: 500 14px/20px var(--lr-font); } /* the share a step under its money (Igor 20 Nov «ну % можно было мельче») */
@media (max-width: 767px) { /* a phone: the three columns fit the width, the share under the money */
    .ps-article .mr-summary tr.is-lead td { font: 600 12px/20px var(--lr-font); }
    .ps-article .mr-summary th:first-child { font-size: 14px; line-height: 20px; }
    .ps-article .mr-net-pct { display: block; }
}
/* the tune's save on the type scale (the gate, 20 Nov: the landing's 17 px) */
.ps-article .ps-tune-save { font-size: 16px; }
/* The app's segmented control here as it is in the app (Igor 20 Nov «табы полная хуйня, делай как в app мы это делали и добавь
   иконки»): style.css owns .app-view-toggle and isn't on a public page, so its look is drawn with the same --app-segmented-*
   tokens (tokens.css, the light ones under .workspace-shell-native); icons 16 on the item's line. */
.ps-article .app-view-toggle { display: flex; padding: 3px; border: 1px solid var(--app-segmented-border); border-radius: 12px; background: var(--app-segmented-bg); }
.ps-article .app-view-toggle-btn { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-width: 40px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; font: 500 14px/20px var(--lr-font); color: var(--app-segmented-item-color); white-space: nowrap; cursor: pointer; transition: background-color 140ms ease, color 140ms ease; }
.ps-article .app-view-toggle-btn:hover { background: var(--app-segmented-item-bg-hover); color: var(--app-segmented-item-color-hover); }
.ps-article .app-view-toggle-btn[aria-pressed="true"] { background: var(--app-segmented-active-bg); color: var(--app-segmented-active-color); box-shadow: var(--app-segmented-active-shadow); }
.ps-article .app-view-toggle-btn :is(svg, i) { flex: none; width: 16px; height: 16px; stroke-width: 1.5; }
.ps-article .app-view-toggle-n { font-weight: 400; color: var(--app-segmented-item-color); opacity: .6; font-variant-numeric: tabular-nums; }
.ps-article .app-view-toggle-btn:focus-visible { outline: 2px solid var(--app-segmented-active-color); outline-offset: 2px; }
/* the run's plate and answer are the dark head here, so the section after them opens the light part: the head's edge is its
   line, 48 above its title (Igor 20 Nov «что сверху рамка и пустота?» on a hairline with nothing over it) */
.ps-article.has-hero .ps-replay .mr-answer + .mr-section { border-top: 0; padding-top: 0; }
.ps-article.has-hero .ps-related { margin-top: 64px; }
/* one space over every hairline section of the page (fresh eyes 20 Nov: 40 over Try the rules, 48 over Will it work for you?,
   64 over More strategies); 48 on a phone */
.ps-article.has-hero :is(.ps-tune, .ps-foryou, .ps-related, .ps-max.is-open) { margin-top: 64px; }
@media (max-width: 559px) { .ps-article.has-hero :is(.ps-tune, .ps-foryou, .ps-related, .ps-max.is-open) { margin-top: 48px; } }
.ps-article.has-hero .ps-related .ps-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
@media (max-width: 1100px) { .ps-article.has-hero .ps-related .ps-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The video on trial (api/strategy-trial.php), to the script Igor approved (18 Nov, pages/public-site.md): in the faces'
   place, its head under the site's header after the press; the video once; the rules all in view with their minute; "TSB
   runs" kept; the answer large. Composition A (Igor 18 Nov «A»), the account is the answer: the rules on the left; on the
   right the money, counting while the trades play and turning into the verdict, the account's line large under it, the
   candles a strip below. */
.ps-stage.is-trialing .ps-stage-hero > .ps-stage-faces, .ps-stage.is-trialing .ps-stage-spec { display: none; }
/* His own video's test on screen: the replayed example below says the same thing again, paused at its start (Igor 19 Nov
   «зачем нам 2 раза такое показывать?»). It comes back with the faces when the trial closes. */
.ps-stage.is-trialing .ps-watch { display: none; }
.ps-trial-live { display: grid; grid-template-columns: 440px minmax(0, 1fr); grid-template-areas: "head head" "said main"; gap: 0 48px; align-items: start; --trial-account: 230px; --trial-candles: 120px; width: min(1120px, calc(100% - 2 * var(--lr-gutter))); margin: 28px auto 0; padding: 24px 32px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: #131219; text-align: left; } /* the screen's one frame (DESIGN-SYSTEM §2.5) */
.ps-trial-live[hidden] { display: none; }
.ps-trial-head { grid-area: head; display: flex; align-items: center; gap: 14px; min-width: 0; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ps-trial-thumb { flex: none; width: 64px; height: 36px; border-radius: 4px; object-fit: cover; }
.ps-trial-thumb[hidden] { display: none; }
.ps-trial-source { flex: 1; min-width: 0; margin: 0; overflow: hidden; font: 400 14px/20px var(--lr-font); color: #a5a0b0; white-space: nowrap; text-overflow: ellipsis; }
.ps-trial-source b { margin-right: 10px; font-weight: 600; color: #f4f3f7; }
.ps-trial-status { flex: none; margin: 0; font: 400 14px/20px var(--lr-font); color: #a5a0b0; font-variant-numeric: tabular-nums; }
.ps-trial-status:empty { display: none; }
.ps-trial-said { grid-area: said; min-width: 0; }
.ps-trial-label { margin: 0 0 8px; font: 500 12px/20px var(--lr-font); color: #8f879f; }
.ps-trial-rules { display: grid; margin: 0; padding: 0; list-style: none; }
.ps-trial-rules li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .06); font: 400 14px/22px var(--lr-font); color: #e4e0ec; animation: ps-trial-in .35s ease both; }
.ps-trial-rules li > span { text-wrap: pretty; }
.ps-trial-rules time { height: 20px; margin-top: 1px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; font: 500 12px/18px var(--lr-font); text-align: center; color: #c3b9e6; font-variant-numeric: tabular-nums; }
.ps-trial-rules b { font-weight: 600; color: #f4f3f7; }
.ps-trial-runs { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); font: 400 14px/22px var(--lr-font); color: #c9c5d3; text-wrap: pretty; }
.ps-trial-runs[hidden] { display: none; }
.ps-trial-runs-label { margin-right: 4px; font-weight: 600; color: #f4f3f7; }
.ps-trial-chose { color: #b9b0ee; } /* what TSB chose itself, set apart quietly (fresh eyes 18 Nov: the yellow tag outshouted the verdict) */
.ps-trial-main { grid-area: main; min-width: 0; } /* the answer, the run, then the way on, one column */
.ps-trial-kicker { min-height: 28px; margin: 0; font: 500 14px/28px var(--lr-font); color: #a5a0b0; font-variant-numeric: tabular-nums; } /* one height in every state: the verdict lands without a jump */
.ps-trial-live[data-ended] .ps-trial-kicker:empty { display: none; }
.ps-trial-money { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 6px 0 0; font: 500 56px/1.05 var(--lr-font); letter-spacing: -0.04em; color: #f4f3f7; font-variant-numeric: tabular-nums; }
.ps-trial-money small { font: 400 16px/24px var(--lr-font); letter-spacing: 0; color: #9a92a8; }
.ps-trial-words { min-height: 28px; margin: 12px 0 0; font: 400 20px/28px var(--lr-font); color: #c9c5d3; text-wrap: pretty; } /* its line kept from the start: nothing moves when the verdict lands */
/* the search behind numbers the video doesn't give (23 Nov): with the money from the moment it moves, never without it;
   the figures bold, the unseen year's in its colour */
.ps-trial-grid { margin: 8px 0 0; font: 400 16px/24px var(--lr-font); color: #c9c5d3; text-wrap: pretty; }
.ps-trial-grid b { font-weight: 600; color: #f4f3f7; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-trial-grid b.is-gain { color: #7fd3a2; }
.ps-trial-grid b.is-loss { color: #f0928b; }
.ps-trial-grid:empty { display: none; }
/* what the run's fees did, one small line under the verdict's words (23 Nov): its place taken when the replay starts,
   shown with the verdict, so nothing moves when it lands */
.ps-trial-costs { margin: 4px 0 0; font: 400 14px/20px var(--lr-font); color: #a5a0b0; text-wrap: pretty; }
.ps-trial-costs:empty { display: none; }
.ps-trial-live:not([data-verdict]) .ps-trial-costs { visibility: hidden; }
.ps-trial-live[data-dir="up"]:not([data-verdict]) [data-trial-money] { color: #7fd3a2; }
.ps-trial-live[data-dir="down"]:not([data-verdict]) [data-trial-money] { color: #f0928b; }
.ps-trial-live[data-verdict] .ps-trial-kicker { font: 600 20px/28px var(--lr-font); }
.ps-trial-live[data-verdict="gain"] .ps-trial-kicker, .ps-trial-live[data-verdict="gain"] [data-trial-money] { color: #7fd3a2; }
.ps-trial-live[data-verdict="flat"] .ps-trial-kicker { color: #d6d3de; }
.ps-trial-live[data-verdict="loss"] .ps-trial-kicker, .ps-trial-live[data-verdict="loss"] [data-trial-money] { color: #f0928b; }
.ps-trial-live[data-ended] .ps-trial-money { font-size: 32px; line-height: 40px; letter-spacing: -0.02em; }
.ps-trial-market { display: flex; flex-direction: column; min-width: 0; margin-top: 20px; }
.ps-trial-market[hidden] { display: none; }
.ps-trial-account canvas { display: block; width: 100%; height: var(--trial-account, 200px); touch-action: pan-y; }
.ps-trial-market-head { margin: 16px 0 4px; font: 400 12px/20px var(--lr-font); color: #8f879f; }
.ps-trial-market-head:empty { visibility: hidden; }
.ps-trial-account { position: relative; }
.ps-trial-live:is([data-state="read"], [data-state="test"], [data-state="run"]) :is(.ps-trial-market-head, .ps-trial-candles) { display: none; } /* the candles come with the run; until then the account's start stands alone */
.ps-trial-chart { display: block; width: 100%; height: var(--trial-candles, 140px); }
.ps-trial-wait { position: absolute; top: calc(50% + 16px); left: 0; margin: 0; font: 400 16px/24px var(--lr-font); color: #a5a0b0; font-variant-numeric: tabular-nums; } /* what is happening now, where the eye already is */
.ps-trial-wait[hidden] { display: none; }
.ps-trial-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 12px; }
.ps-trial-controls[hidden] { display: none; }
.ps-trial-controls button { min-width: 64px; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: none; font: 500 14px/1 var(--lr-font); color: #e4e0ec; cursor: pointer; }
.ps-trial-controls button:hover { border-color: #b9b1f1; }
.ps-trial-controls input[type="range"] { width: 100%; accent-color: #8f84d9; }
.ps-trial-live[data-verdict] .ps-trial-controls input[type="range"] { accent-color: #6f6a7c; } /* run through: no lavender bar beside the lavender line */
.ps-trial-help { margin-top: 24px; }
.ps-trial-help[hidden] { display: none; }
.ps-trial-help ul:empty { display: none; }
.ps-trial-help .ps-stage-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(660px, 100%); margin: 0; }
.ps-trial-said:has(.ps-trial-rules:empty) .ps-trial-label { display: none; } /* no rules read: no heading over nothing */
.ps-trial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; } /* right under the run it continues */
.ps-trial-actions[hidden] { display: none; }
.ps-trial-open { display: inline-flex; align-items: center; max-width: 100%; min-height: 44px; padding: 10px 20px; border-radius: 6px; background: var(--lr-accent); font: 600 14px/20px var(--lr-font); color: #fff; text-decoration: none; } /* the longer label wraps on a phone, inside the card */
.ps-trial-open:hover { background: #5448ce; }
.ps-trial-again { padding: 0; border: 0; background: none; font: 500 14px/1 var(--lr-font); color: #b9b0ee; cursor: pointer; }
@keyframes ps-trial-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ps-trial-rules li { animation: none; } }
.ps-trial-live[data-ended]:has(.ps-trial-rules:empty) { grid-template-areas: "head head" "main main"; } /* nothing read: one column, no hole on the left */
.ps-trial-live[data-ended]:has(.ps-trial-rules:empty) .ps-trial-said { display: none; }
.ps-trial-at { display: block; color: inherit; text-decoration: none; } /* a rule's minute opens the video at that second */
.ps-trial-at time { display: block; }
.ps-trial-at:hover time, .ps-trial-at:focus-visible time { border-color: #b9b1f1; color: #f4f3f7; }
.ps-trial-fixed.is-later { visibility: hidden; } /* TSB's version keeps its line and shows with the verdict */
@media (max-width: 1100px) { .ps-trial-live, .ps-trial-live[data-ended]:has(.ps-trial-rules:empty) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "main" "said"; } .ps-trial-said { margin-top: 32px; } .ps-trial-status { display: none; } } /* narrower than a desktop: the answer first, the rules under it (the phone is designed later, Igor 18 Nov) */
/* A card whose TSB's version held its exam year (16 Nov). */
/* its own line under the buttons, before the markets: it arrives with the verdict and nothing above it moves (22 Nov walk:
   «оно как-то двигается если меняется то что сверху?» → «ок») */
.ps-trial-fixed { flex: 0 0 100%; order: 1; margin-top: -6px; font: 400 14px/22px var(--lr-font); color: #b9b0ee; text-decoration: none; }
.ps-trial-fixed b { font-weight: 600; color: #f4f3f7; }
.ps-trial-fixed:hover { color: #d7d1f7; }

/* Content pass, 19 Nov (coordinator, on Igor's recorded decisions): the answer's way on, the verdicts' rules, the years as
   segments, every test's own links, the library's first 8, the end with the plans. Built from the page's own parts: the
   field's button, the plates' marks, the catalog's quiet text. */
.ps-pile-cta { margin: -14px 0 18px; text-align: center; }
.ps-pile-cta a { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border: 1px solid rgba(141, 127, 243, .36); border-radius: 6px; background: var(--lr-accent); font: 600 16px/24px var(--lr-font); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.ps-pile-cta a:hover { background: #5448ce; }
.ps-pile-cta a:focus-visible { outline: 2px solid #b9b1f1; outline-offset: 3px; }
.ps-pile-legend { max-width: 980px; margin: 0 auto 6px; padding-inline: var(--lr-gutter); font: 400 14px/20px var(--lr-font); color: var(--st-muted, #a3a1ae); text-align: center; text-wrap: balance; }
.ps-pile-legend [data-tone] { font-weight: 600; }
.ps-pile-legend [data-tone="gain"] { color: #7fd0a2; }
.ps-pile-legend [data-tone="flat"] { color: #d2cedc; }
.ps-pile-legend [data-tone="loss"] { color: #f0928b; }
.ps-pile-legend .ps-pile-tag { position: static; margin-right: 6px; vertical-align: 1px; }
.ps-stage-spec li.ps-stage-time { flex-basis: 100%; text-align: center; color: #a7a0cf; } /* its own line under the plates */
.ps-card-years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 6px 0 10px; }
.ps-year { display: grid; gap: 1px; padding-top: 6px; border-top: 3px solid #5b5866; font: 400 12px/16px var(--lr-font); color: #a5a0b0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-year b { font: 600 14px/20px var(--lr-font); color: #ece9f2; }
.ps-year[data-tone="gain"] { border-top-color: #5fb784; }
.ps-year[data-tone="loss"] { border-top-color: #d9534b; }
.ps-show-all { margin: 40px 0 0; text-align: center; }
.ps-show-all[hidden] { display: none; }
.ps-show-all button { height: 52px; padding: 0 32px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 6px; background: rgba(255, 255, 255, .06); font: 600 16px/24px var(--lr-font); color: #f4f3f7; cursor: pointer; transition: border-color .16s, background-color .16s; }
.ps-show-all button:hover { border-color: #b9b1f1; background: rgba(185, 177, 241, .08); }
/* the end band is the site's closing band (.lr-final owns its ground, stripes and title); the paste where its buttons stand */
.ps-end .lr-final-title { text-wrap: balance; }
.ps-end-paste { width: min(100%, 720px); margin-top: 32px; text-align: left; }
.ps-end-paste input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0; background: transparent; font: 400 16px/1 var(--lr-font); color: #f4f3f7; outline: none; }
.ps-end-paste input::placeholder { color: #8f899e; }
@media (max-width: 700px) { .ps-end-paste input { flex: none; width: 100%; height: 48px; } } /* the same squeeze as the first field */
/* the question card: the field's own surface, one click an answer (Igor 19 Nov "Ask the person who pasted the link") */
.ps-trial-ask { flex: 0 0 100%; display: grid; gap: 12px; padding: 18px 20px; border: 1px solid rgba(141, 127, 243, .36); border-radius: 12px; background: #1b1a24; }
.ps-trial-ask p { margin: 0; font: 500 16px/24px var(--lr-font); color: #f4f3f7; text-wrap: pretty; }
.ps-trial-ask-options { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-trial-ask [data-pick][aria-pressed="true"] { border-color: #b9b1f1; background: rgba(185, 177, 241, .16); color: #fff; }
@media (max-width: 700px) {
    .ps-end { padding-block: 64px 80px; }
    .ps-end h2 { font-size: 24px; line-height: 32px; }
    .ps-pile-legend { font-size: 12px; line-height: 18px; }
    .ps-card-years { gap: 4px; }
    .ps-year { font-size: 12px; }
}

/* "Watch a video get tested" in composition A (coordinator 19 Nov; the trial's own, Igor 18 Nov «A»). */
.ps-watch .ps-live { height: auto; min-height: 560px; }
.ps-live-body.is-a { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 32px; padding: 18px 20px 0; }
.ps-live-said { display: flex; flex-direction: column; gap: 16px; min-width: 0; min-height: 0; }
.ps-live-body.is-a .ps-live-source { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 14px; }
.ps-live-body.is-a .ps-live-source p { margin: 0; }
.ps-live-body.is-a .ps-live-source b { margin: 0 0 3px; }
.ps-live-body.is-a .ps-live-source p > span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font: 400 12px/17px var(--lr-font); color: #8f899e; }
.ps-live-body.is-a .ps-live-thumb span { display: none; }
.ps-live-body.is-a .ps-live-reading { flex: 1; }
.ps-live-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ps-live-answer { display: grid; gap: 2px; }
.ps-live-kicker { margin: 0; font: 500 14px/20px var(--lr-font); color: #a59db8; }
.ps-live[data-phase="done"] .ps-live-kicker { font: 500 22px/28px var(--lr-font); letter-spacing: -0.02em; color: #7fd0a2; }
.ps-live[data-phase="done"][data-verdict="loss"] .ps-live-kicker { color: #f0928b; }
.ps-live[data-phase="done"][data-verdict="flat"] .ps-live-kicker { color: #d2cedc; }
.ps-live-money { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.ps-live-money b { font: 500 44px/52px var(--lr-font); letter-spacing: -0.035em; color: #f4f3f7; font-variant-numeric: tabular-nums; }
.ps-live-money small { font: 400 14px/20px var(--lr-font); color: #8f899e; }
.ps-live-body.is-a .ps-live-verdict { margin: 0; font: 400 16px/24px var(--lr-font); color: #c9c4d4; white-space: normal; }
.ps-live-body.is-a .ps-live-verdict::before { content: none; }
.ps-live-body.is-a .ps-live-account { display: block; height: 132px; margin: 14px 0 0; }
.ps-live-body.is-a .ps-live-account canvas { height: 132px; }
.ps-live-body.is-a .ps-live-market { flex: 1; margin-top: 12px; }
.ps-live-body.is-a .ps-live-chart { min-height: 120px; }
@media (max-width: 900px) {
    .ps-watch .ps-live { min-height: 0; }
    .ps-live-body.is-a { grid-template-columns: 1fr; gap: 18px; }
    .ps-live-body.is-a .ps-live-window { height: 156px; }
    .ps-live-body.is-a .ps-live-chart { height: 160px; flex: none; }
    .ps-live-money b { font-size: 32px; line-height: 40px; }
}

/* the signal funnel on a test's result (Igor 18 Nov, public-site.md): signals → in the video's hours → trades */
.ps-trial-funnel, .ps-hero-funnel { margin: 8px 0 0; font: 400 14px/20px var(--lr-font); color: #a3a1ae; font-variant-numeric: tabular-nums; text-wrap: pretty; }

/* fixes after the first look (19 Nov) */
ul.ps-pile-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; list-style: none; }
ul.ps-pile-legend li { white-space: nowrap; }
.ps-stage-spec li.ps-stage-time button { font: inherit; }
/* an answer may be a strategy's own long name ("Stochastics at support and resistance", 21 Nov): it wraps inside its
   button, never past its edges, and on a phone each answer takes the card's width */
.ps-trial-ask [data-pick] { min-height: 36px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; background: transparent; font: 500 14px/20px var(--lr-font); color: #f4f3f7; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
@media (max-width: 600px) { .ps-trial-ask [data-pick] { flex: 1 1 100%; } }
.ps-trial-ask [data-pick]:hover { border-color: #b9b1f1; background: rgba(185, 177, 241, .08); }
.ps-trial-ask [data-pick]:focus-visible { outline: 2px solid #b9b1f1; outline-offset: 2px; }
.ps-trial-ask [data-pick="n"] { color: #a3a1ae; }

/* fresh eyes, 19 Nov: the replay card keeps one height (no jump), its label in sentence case, the note in full; the
   account large, the candles a strip (composition A); the line under the plates without a separator; the reasons a
   video couldn't be tested listed */
.ps-live-body.is-a .ps-live-market[hidden] { display: flex; visibility: hidden; }
.ps-live-body.is-a .ps-live-label:not(.ps-live-market .ps-live-label) { text-transform: none; letter-spacing: 0; font: 500 14px/20px var(--lr-font); color: #a59db8; }
.ps-live-body.is-a .ps-live-missing { white-space: normal; text-overflow: clip; }
.ps-live-body.is-a .ps-live-account, .ps-live-body.is-a .ps-live-account canvas { height: 200px; }
.ps-live-body.is-a .ps-live-market { flex: none; }
.ps-live-body.is-a .ps-live-chart { flex: none; height: 150px; min-height: 0; }
.ps-stage-spec li.ps-stage-time button { margin-left: 8px; }

/* the gate, 19 Nov: on a phone "More strategies" goes to one column as the catalog does (two columns of 170 px cut the titles
   and wrapped "Not worth the risk" over two lines); a plan's item never ends on a lone word */
@media (max-width: 700px) {
    .ps-article.has-hero .ps-related .ps-cards { grid-template-columns: 1fr; gap: 40px; }
    .ps-article.has-hero .ps-related .ps-card h3 { min-height: 0; }
}
.ps-pile-group.is-on-line { max-width: none; white-space: nowrap; } /* one line above its line (19 Nov) */

/* The store down (503, 19 Nov): one calm line under the site's header, the way back; the footer keeps its risk notices */
.ps-down { padding: 120px 0 160px; text-align: center; }
.ps-down h1 { margin: 0; font: 500 32px/40px var(--lr-font); letter-spacing: -0.02em; color: var(--lr-ink); text-wrap: balance; } /* the site's light page, as 404 */
.ps-down p { margin: 12px 0 0; font: 400 16px/24px var(--lr-font); color: var(--lr-muted); }
.ps-down-go { display: inline-flex; align-items: center; height: 44px; margin-top: 28px; padding: 0 24px; border-radius: 6px; background: var(--lr-accent); font: 600 14px/1 var(--lr-font); color: #fff; text-decoration: none; }
.ps-down-go:hover { background: var(--lr-accent-hover); }
@media (max-width: 700px) { .ps-down { padding: 72px 0 96px; } .ps-down h1 { font-size: 24px; line-height: 32px; } }

/* ---------------------------------------------------------------------------------------------------------------------
   The catalog: its bar and its cards, on the design system's roles (Igor 19 Nov on the bar: «уродкий не собранный блок»;
   on the cards: «карточки уродские, не причесанные стили, шрифты, техническая фигня»). Type only on the scale
   (12/20 caption, 14/20 control and body, 16/24 a card's title, 24/32 its figure), radii 6 for controls and 12 for the
   picture and the menus, one line role, no shadow but the menus', hover never moves anything (DESIGN-SYSTEM §2.3–2.8).
   Light where a card sits on the light article (More strategies), the stage's dark on the gallery.
   --------------------------------------------------------------------------------------------------------------------- */
.ps-index, .ps-related { --ct-ink: var(--lr-ink); --ct-ink-2: #3c3c44; --ct-muted: var(--lr-muted); --ct-faint: #8a8a94; --ct-line: var(--lr-line);
    --ct-raised: #fff; --ct-press: rgba(29, 29, 34, .07); --ct-hover: rgba(29, 29, 34, .04); --ct-gain: #449a6b; --ct-loss: #c4342d; --ct-flat: #6b6b75;
    --ct-gain-line: #449a6b; --ct-loss-line: #c4342d; --ct-accent: var(--lr-accent); --ct-shot: #ececf0; --ct-pop: 0 8px 24px rgba(20, 20, 30, .14); }
.ps-page-index .ps-index, .ps-page-index .ps-stage { --ct-ink: #f4f3f7; --ct-ink-2: #d8d4e0; --ct-muted: #a5a0b0; --ct-faint: #8f899e; --ct-line: rgba(255, 255, 255, .14);
    --ct-raised: #15141c; --ct-press: rgba(255, 255, 255, .1); --ct-hover: rgba(255, 255, 255, .06); --ct-gain: #7fd0a2; --ct-loss: #f0928b; --ct-flat: #c9c5d3;
    --ct-gain-line: #5fb784; --ct-loss-line: #d9534b; --ct-accent: #b9b1f1; --ct-shot: #201e29; --ct-pop: 0 12px 32px rgba(0, 0, 0, .5); }

/* The bar: Show on the left, search · Sort · Filters on the right, one line, one height (36) */
.ps-tools { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 0 0 32px; }
.ps-tools > .ps-seg { align-self: flex-start; }
/* The bar is the catalog's interface, seen at once (Igor 19 Nov «не делай мелкими это же интерфейс который должен быть
   заметен»): 44 px, the lead size 16/24, the buttons' weight. */
.ps-tools[hidden] { display: none; }
.ps-seg { display: inline-flex; gap: 2px; max-width: 100%; padding: 2px; overflow-x: auto; border: 1px solid var(--ct-line); border-radius: 6px; scrollbar-width: none; }
.ps-seg::-webkit-scrollbar { display: none; }
.ps-seg button { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 4px; background: none;
    font: 500 16px/24px var(--lr-font); color: var(--ct-muted); white-space: nowrap; cursor: pointer; transition: background-color .14s, color .14s; }
.ps-seg button[hidden] { display: none; }
.ps-seg button:hover { color: var(--ct-ink); }
.ps-seg button[aria-pressed="true"] { background: var(--ct-press); color: var(--ct-ink); }
.ps-seg-n { font: 500 14px/20px var(--lr-font); color: var(--ct-faint); font-variant-numeric: tabular-nums; }
.ps-seg button[aria-pressed="true"] .ps-seg-n { color: var(--ct-muted); }
.ps-tools-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ps-tools-gap { flex: 1 1 0; }
.ps-tool-ico { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ps-drop > summary .ps-tool-ico { color: var(--ct-faint); }
/* a view, not a verdict: one toggle each, by the search (Igor 22 Nov «фильтры не нравятся … иконки») */
.ps-toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--ct-line); border-radius: 6px; background: none;
    font: 500 16px/24px var(--lr-font); color: var(--ct-ink-2); white-space: nowrap; cursor: pointer; transition: background-color .14s, color .14s, border-color .14s; }
.ps-toggle .ps-tool-ico { color: var(--ct-faint); }
.ps-toggle:hover { background: var(--ct-hover); color: var(--ct-ink); }
.ps-toggle[aria-pressed="true"] { background: var(--ct-press); border-color: var(--ct-accent); color: var(--ct-ink); }
.ps-toggle[aria-pressed="true"] .ps-tool-ico { color: var(--ct-accent); }
.ps-toggle[hidden] { display: none; }
.ps-toggle:focus-visible { outline: 2px solid var(--ct-accent); outline-offset: 1px; }
/* each verdict's tone, as the cards and the pile colour it */
.ps-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ct-faint); }
.ps-dot[data-tone="made"] { background: var(--ct-gain); }
.ps-dot[data-tone="flat"] { background: #c9c5d3; }
.ps-dot[data-tone="lost"] { background: var(--ct-loss); }
.ps-dot[data-tone="blown"] { background: none; box-shadow: inset 0 0 0 2px var(--ct-loss); }
.ps-dot[data-tone="few"] { background: none; box-shadow: inset 0 0 0 1.5px var(--ct-faint); }
.ps-search { position: relative; display: flex; align-items: center; }
.ps-search svg { position: absolute; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--ct-faint); stroke-width: 1.5; stroke-linecap: round; pointer-events: none; }
.ps-search input { width: 320px; height: 44px; padding: 0 14px 0 44px; border: 1px solid var(--ct-line); border-radius: 6px; background: none;
    font: 400 16px/24px var(--lr-font); color: var(--ct-ink); }
.ps-search input::placeholder { color: var(--ct-faint); }
.ps-search input:focus-visible { outline: 2px solid var(--ct-accent); outline-offset: 1px; }
.ps-drop { position: relative; }
.ps-drop > summary { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 16px; border: 1px solid var(--ct-line); border-radius: 6px;
    font: 500 16px/24px var(--lr-font); color: var(--ct-ink); white-space: nowrap; list-style: none; cursor: pointer; user-select: none; transition: background-color .14s; }
.ps-drop > summary::-webkit-details-marker { display: none; }
.ps-drop > summary:hover, .ps-drop[open] > summary { background: var(--ct-hover); }
.ps-drop > summary:focus-visible { outline: 2px solid var(--ct-accent); outline-offset: 1px; }
.ps-drop > summary > span { color: var(--ct-muted); font-weight: 400; }
.ps-drop > summary > b { font-weight: 500; }
.ps-drop-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--ct-press); font: 500 12px/20px var(--lr-font); }
.ps-tool-chev { width: 20px; height: 20px; fill: none; stroke: var(--ct-muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s; }
.ps-drop[open] .ps-tool-chev { transform: rotate(180deg); }
.ps-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 30; display: grid; min-width: 220px; padding: 4px; border: 1px solid var(--ct-line);
    border-radius: 12px; background: var(--ct-raised); box-shadow: var(--ct-pop); }
.ps-sort .ps-menu button { height: 40px; padding: 0 12px; border: 0; border-radius: 6px; background: none; font: 400 16px/24px var(--lr-font); color: var(--ct-ink-2);
    text-align: left; white-space: nowrap; cursor: pointer; }
.ps-sort .ps-menu button:hover { background: var(--ct-hover); color: var(--ct-ink); }
.ps-sort .ps-menu button[aria-pressed="true"] { font-weight: 500; color: var(--ct-ink); }
.ps-filters-pop { width: min(600px, calc(100vw - 32px)); gap: 20px; padding: 20px; }
.ps-filters { display: grid; gap: 16px; }
.ps-filter-label { margin: 0 0 8px; font: 500 14px/20px var(--lr-font); color: var(--ct-muted); }
.ps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-chips :is(a, button), .ps-active a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--ct-line); border-radius: 6px;
    background: none; font: 500 16px/24px var(--lr-font); color: var(--ct-ink-2); text-decoration: none; cursor: pointer; font-variant-numeric: tabular-nums; }
.ps-chips :is(a, button):hover, .ps-active a:hover { background: var(--ct-hover); color: var(--ct-ink); }
.ps-chips a[aria-current="true"], .ps-chips button[aria-pressed="true"] { border-color: var(--ct-accent); background: var(--ct-press); color: var(--ct-ink); }
.ps-acct[hidden] { display: none; }
.ps-acct-note { margin: 8px 0 0; font: 400 14px/20px var(--lr-font); color: var(--ct-muted); text-wrap: pretty; }
.ps-active { display: flex; flex-wrap: wrap; flex-basis: 100%; gap: 6px; margin: 0; }
.ps-active a span { color: var(--ct-muted); }
.ps-count { margin: -16px 0 16px; font: 400 14px/20px var(--lr-font); color: var(--ct-muted); }
.ps-count:empty { display: none; }
.ps-empty { font: 400 16px/24px var(--lr-font); color: var(--ct-muted); }
.ps-empty button { height: 32px; margin-left: 8px; padding: 0 12px; border: 1px solid var(--ct-line); border-radius: 6px; background: none; font: 500 14px/20px var(--lr-font); color: var(--ct-ink); cursor: pointer; }

/* The cards: the video, who and what, the verdict and its figure, the account's line, the years, three numbers the sorts use */
.ps-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; margin: 0; padding: 0; list-style: none; }
.ps-page-index .ps-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ps-card a { display: grid; align-content: start; color: var(--ct-ink); text-decoration: none; }
.ps-card-shot { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; margin: 0 0 12px; border-radius: 12px; background: var(--ct-shot); }
.ps-card-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); } /* the thumbnail's own black bars trimmed */
.ps-card-by { font: 400 14px/20px var(--lr-font); color: var(--ct-muted); }
.ps-card h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 48px; margin: 0 0 12px;
    font: 500 16px/24px var(--lr-font); color: var(--ct-ink-2); text-wrap: pretty; transition: color .14s; } /* two lines always: the verdicts of a row on one line */
.ps-card a:hover h3 { color: var(--ct-ink); }
.ps-card a:focus-visible { outline: 2px solid var(--ct-accent); outline-offset: 4px; border-radius: 12px; }
/* the test's answer as a badge on the video's picture (Igor 20 Nov «карточки все еще слабые»): what it made, large, in its colour,
   and the verdict; under the title the dollars at the account the gallery is set to */
/* the answer as a white tag on the picture, the page's own ink and colours (Igor 20 Nov «вот тут пока мне не сильно нравится,
   но идея хорошая»: the dark see-through pill read as a video's overlay, its pink and mint muddy on the thumbnail) */
/* The card's answer as YouTube's own chip (Igor 22 Nov «B, заменить»): the figure alone in the verdict's colour on a dark
   glass chip; the verdict's word under the title, beside the account line */
.ps-card-badge { position: absolute; left: 8px; bottom: 8px; display: inline-flex; padding: 2px 8px; border-radius: 6px; background: rgba(12, 12, 16, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ps-card-badge b { font: 600 16px/24px var(--lr-font); color: #fff; font-variant-numeric: tabular-nums; }
.ps-card[data-tone="gain"] .ps-card-badge b { color: #8fe0b0; }
.ps-card[data-tone="loss"] .ps-card-badge b { color: #ff9f97; }
.ps-card-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.ps-card-verdict { font: 600 14px/20px var(--lr-font); color: var(--ct-ink-2); }
.ps-card[data-tone="gain"] .ps-card-verdict { color: var(--lr-gain); }
.ps-card[data-tone="loss"] .ps-card-verdict { color: var(--lr-loss); }
.ps-card-line .ps-card-result::before { content: '·'; margin-right: 8px; color: var(--ct-muted); }
.ps-card-result { font: 500 14px/20px var(--lr-font); color: var(--ct-ink-2); font-variant-numeric: tabular-nums; text-wrap: pretty; }
.ps-card-period { font: 400 14px/20px var(--lr-font); color: var(--ct-muted); }
.ps-path { display: grid; gap: 6px; margin: 16px 0 0; font-variant-numeric: tabular-nums; }
.ps-path svg { display: block; width: 100%; height: 72px; overflow: visible; }
.ps-path .ps-path-cut { stroke: var(--ct-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ps-path-years { display: grid; }
.ps-path-years .ps-year { display: grid; gap: 0; padding: 0 0 0 8px; border: 0; font: 400 12px/20px var(--lr-font); color: var(--ct-faint); white-space: nowrap; } /* the year, its result under it: the same two lines in every part */
.ps-path-years .ps-year:first-child { padding-left: 0; }
.ps-path-years .ps-year b { font: 500 14px/20px var(--lr-font); color: var(--ct-ink-2); }
.ps-path-years .ps-year[data-tone="gain"] b { color: var(--ct-gain); }
.ps-path-years .ps-year[data-tone="loss"] b { color: var(--ct-loss); }
.ps-path polyline { fill: none; stroke: var(--ct-flat); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ps-path .ps-path-area { fill: var(--ct-hover); stroke: none; }
.ps-path[data-tone="gain"] .ps-path-area { fill: color-mix(in srgb, var(--ct-gain-line) 10%, transparent); } .ps-path[data-tone="loss"] .ps-path-area { fill: color-mix(in srgb, var(--ct-loss-line) 9%, transparent); }
.ps-path .ps-path-zero { stroke: var(--ct-line); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.ps-path[data-tone="gain"] polyline { stroke: var(--ct-gain-line); }
.ps-path[data-tone="loss"] polyline { stroke: var(--ct-loss-line); }
.ps-card-fix { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 0; font: 500 14px/20px var(--lr-font); color: var(--ct-accent); }
.ps-card-fix b { font: 500 14px/20px var(--lr-font); color: var(--ct-accent); }
.ps-card-fix b[data-tone="gain"] { color: var(--ct-gain); } .ps-card-fix b[data-tone="loss"] { color: var(--ct-loss); }
.ps-card-metrics { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 8px 0 0; font: 400 14px/20px var(--lr-font); color: var(--ct-muted); font-variant-numeric: tabular-nums; }
.ps-card-metrics b { font-weight: 500; color: var(--ct-ink-2); }
@media (max-width: 1100px) { .ps-page-index .ps-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .ps-tools { gap: 8px; }
    .ps-seg { flex: 1 1 100%; }
    .ps-tools-side { flex: 1 1 100%; flex-wrap: wrap; }
    .ps-search { flex: 1 1 100%; }
    .ps-seg button { height: 36px; padding: 0 12px; }
    .ps-search input { width: 100%; }
    .ps-drop { flex: 1 1 0; }
    .ps-toggle { flex: 1 1 0; justify-content: center; gap: 6px; padding: 0 8px; font-size: 14px; }
    .ps-sort > summary > span { display: none; } /* the icon says it on a phone: Sort and Filters share one row */
    .ps-tools-gap { display: none; }
    .ps-drop > summary { display: flex; width: 100%; }
    .ps-drop > summary .ps-tool-chev { margin-left: auto; }
    .ps-sort .ps-menu { right: auto; left: 0; }
    .ps-page-index .ps-cards, .ps-cards { grid-template-columns: 1fr; gap: 40px; }
    .ps-card h3 { min-height: 0; } /* one column: no row of verdicts to line up */
}

/* ---------------------------------------------------------------------------------------------------------------------
   A strategy page's head in the trial's composition A (Igor 18 Nov «A»; 19 Nov: the page and a pasted video's result are
   one object): the strategy's name, then the trial's own frame on the head's width — the video and its rules with their
   minutes left, the verdict and the account large right, the run on its candles with Replay, three numbers, TSB's fix,
   the two ways on. Type on the scale; the frame is the screen's one frame (DESIGN-SYSTEM §2.5).
   --------------------------------------------------------------------------------------------------------------------- */
/* the write-up of the rules, folded under the evidence (the head lists the video's own rules) */
.ps-written { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--lr-line); }
.ps-written > summary { display: flex; align-items: center; gap: 8px; font: 600 20px/28px var(--lr-font); color: var(--lr-ink); list-style: none; cursor: pointer; }
.ps-written > summary::-webkit-details-marker { display: none; }
.ps-written > summary::after { content: ''; width: 8px; height: 8px; margin-left: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .16s; }
.ps-written[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.ps-article .ps-written > .ps-rules { margin-top: 16px; padding-top: 0; border-top: 0; } /* the summary is its title: no second line and gap under it (Igor 20 Nov «дырка под заголовком») */
.ps-written .ps-rules > .ps-h2 { display: none; } /* the summary names it */
/* The trades' month picker on a public page (the app's kit styles it in the app; here it was the browser's bare select) */
.ps-article .mr-month-pick { height: 40px; padding: 0 36px 0 12px; border: 1px solid var(--lr-line); border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    font: 500 14px/20px var(--lr-font); color: var(--lr-ink); font-variant-numeric: tabular-nums; appearance: none; -webkit-appearance: none; cursor: pointer; }
.ps-article .mr-month-pick:focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 1px; }
/* Fresh eyes, 20 Nov: a rule the test doesn't run marked on its own line; one section title role on the page (20/28/600,
   as the run sheet's); Make it pay more and Max's tests as sections under a hairline, not two boxed cards (no frame in a
   frame: the rows inside keep their own lines); the head's two buttons the width of a phone. */
.ps-trial-rules li.is-out > span { color: #a3a1ae; }
.ps-article .ps-h2 { font: 600 20px/28px var(--lr-font); letter-spacing: -0.01em; }
.ps-article .ps-tune, .ps-article .ps-max { margin-top: 48px; padding: 32px 0 0; border: 0; border-top: 1px solid var(--lr-line); border-radius: 0; background: none; }
@media (max-width: 700px) {
    .ps-seg { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); } /* more segments to the right */
}


/* The strategy page's head, A+ (Igor 20 Nov «Да, берём A+»; docs/product/design/strategy-head-2026-11-20, includes/
   public-strategies-view.php tsbPublicStrategyHead, the chart assets/public-strategies-page.js), on the floor (Igor 20 Nov
   «размеры шрифтов тебе нравятся? … не причесано» → «прогони»): the type roles of DESIGN-SYSTEM §2.3, spacing from §2.2,
   icons at 1.5 px (§2.7), pill buttons (public-site). The stage is dark in both themes, so the app's --ui-* roles don't
   reach it: its roles are named here once, the same names, and nothing below carries a colour of its own. */
.ps-head-ap {
    --ps-stage: #0c0c10; --ps-overlay: #1d1c24;
    --ps-ink: #f4f3f7; --ps-ink-2: #c9c5d3; --ps-ink-3: #a3a1ae;
    --ps-line: rgba(255, 255, 255, .08); --ps-line-strong: rgba(255, 255, 255, .16); --ps-control-line: rgba(255, 255, 255, .28);
    --ps-raised: rgba(255, 255, 255, .06); --ps-hover: rgba(255, 255, 255, .12); --ps-band: rgba(255, 255, 255, .03); --ps-button-line: rgba(255, 255, 255, .55);
    --ps-gain: #7fd3a2; --ps-loss: #f0928b; --ps-gain-soft: rgba(127, 211, 162, .08); --ps-loss-soft: rgba(240, 146, 139, .14);
    --ps-accent: #9d93f0; --ps-accent-text: #c9c2f7; --ps-accent-soft: rgba(157, 147, 240, .1); --ps-accent-line: rgba(157, 147, 240, .32);
    padding: 24px 0 64px;
}
.ps-head-ap .lr-icon, .ps-head-ap .ui-lock-icon, .ps-head-ap .ui-lock-go svg { stroke-width: 1.5; }
.ps-head-ap .ps-crumb { font: 400 14px/20px var(--lr-font); }
.ps-head-ap .ps-crumb, .ps-head-ap .ps-crumb a { color: var(--ps-ink-3); }
.ps-head-ap .ps-crumb a:hover { color: var(--ps-ink); }
/* the crumb and the next video on one line, as the replay names it */
.ps-crumb-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ps-next { display: inline-flex; flex: none; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 4px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px;
    color: #f4f3f7; text-decoration: none; transition: background-color .14s, border-color .14s; }
.ps-next:hover { border-color: #b9b1f1; background: rgba(185, 177, 241, .08); }
.ps-next img { flex: none; width: 64px; height: 36px; border-radius: 4px; object-fit: cover; background: #201e29; }
.ps-next > span { display: flex; flex-direction: column; min-width: 0; }
.ps-next small { font: 400 12px/16px var(--lr-font); color: #8f899e; }
.ps-next b { overflow: hidden; max-width: 160px; font: 500 14px/20px var(--lr-font); text-overflow: ellipsis; white-space: nowrap; }
.ps-next svg { flex: none; width: 16px; height: 16px; fill: none; stroke: #8f899e; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) { .ps-next b, .ps-next svg { display: none; } .ps-next small { font-size: 14px; line-height: 20px; color: #f4f3f7; } .ps-next img { width: 48px; height: 27px; } .ps-next { height: 40px; } }
.ps-icon { display: inline-block; width: 20px; height: 20px; flex: none; }

/* The top in balance (Igor 20 Nov «можно ли это сбалансировать нормально? и круто чтобы было а не пусто, собранно и дорого»):
   the answer and its step on the left, the video on the right, both from one top line; the video above the name on a phone.
   One ladder: the page title 32, the statement figure 44 with its grey clause, a 16 line, 14 body, 12 caption. */
.ps-ap-answer { margin: 0; }
/* the video first, on the left, the answer 32 beside it (Igor 20 Nov «а тут может видео слева и небольшой отступ к выводу?») */
.ps-ap-top { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: stretch; margin-top: 24px; }
.ps-ap-top > .ps-ap-src { order: -1; }
.ps-ap-top.is-solo { grid-template-columns: minmax(0, 1fr); }
/* both columns share their top and their bottom (Igor 20 Nov «зачем эта дырка слева внизу»): the buttons sit on the video's last line */
.ps-ap-lead { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ps-ap-lead h1 { max-width: 880px; margin: 0; font: 600 32px/40px var(--lr-font); letter-spacing: -0.02em; color: var(--ps-ink); text-wrap: balance; }
.ps-ap-verdict { margin: 12px 0 0; font: 600 16px/24px var(--lr-font); color: var(--ps-ink-2); } /* 12 under the name: the answer is the name's own (Igor 20 Nov «под заголовком тоже дырка?») */
/* The head on four levels (Igor 22 Nov «B, заменить»): the name with its one line, the figure, its grey line (what TSB did, then
   the account), the years at body weight; then the figures and the actions. */
.ps-ap-money { margin: 16px 0 0; }
.ps-ap-verdict + .ps-ap-money { margin-top: 4px; }
/* the page's one hero (29 Nov polish beside the video's frames, where the moment's number stands alone and large): 64, its
   grey line 8 under it; 44 on a phone */
.ps-ap-money b { display: block; font: 600 64px/72px var(--lr-font); letter-spacing: -0.03em; color: var(--ps-ink); font-variant-numeric: tabular-nums; }
.ps-ap-money span { display: block; max-width: 880px; margin-top: 8px; font: 400 16px/24px var(--lr-font); color: var(--ps-ink-3); text-wrap: pretty; }
.ps-ap-answer[data-verdict="gain"] :is(.ps-ap-verdict, .ps-ap-money b) { color: var(--ps-gain); }
.ps-ap-answer[data-verdict="loss"] :is(.ps-ap-verdict, .ps-ap-money b) { color: var(--ps-loss); }
.ps-ap-why { max-width: 880px; margin: 16px 0 0; font: 400 16px/24px var(--lr-font); color: var(--ps-ink-2); text-wrap: pretty; }
/* the search behind numbers the video doesn't give, right under the money it qualifies (23 Nov): the figures bold, the
   unseen year's in its colour, the proof */
.ps-ap-search { max-width: 880px; margin: 16px 0 0; font: 400 16px/24px var(--lr-font); color: var(--ps-ink-2); text-wrap: pretty; }
.ps-ap-search b { font-weight: 600; color: var(--ps-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-ap-search b.is-gain { color: var(--ps-gain); }
.ps-ap-search b.is-loss { color: var(--ps-loss); }
.ps-ap-search + .ps-ap-why { margin-top: 8px; }
/* The figures as a strip (Igor 22 Nov «B, заменить»): each figure large over its word, the strip's top a hairline; a prop
   firm by its own mark */
/* the strip the answer column's full width, so its hairline ends on the chart's right edge, not where its last figure does */
.ps-ap-facts { display: flex; flex-wrap: wrap; gap: 12px 48px; align-self: stretch; margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--ps-line); font: 400 12px/16px var(--lr-font); color: var(--ps-ink-3); font-variant-numeric: tabular-nums; }
.ps-ap-facts > span { display: flex; flex-direction: column; gap: 4px; }
.ps-ap-facts b { display: inline-flex; align-items: center; gap: 8px; font: 600 20px/28px var(--lr-font); color: var(--ps-ink); }
.ps-ap-firm { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: #000; object-fit: contain; }
@media (max-width: 559px) { .ps-ap-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; } .ps-ap-fact-prop { grid-column: 1 / -1; } }
/* what TSB found where no improvement held, under the figures and over the buttons (Igor 21 Nov «плохо что не понятно по этому
   экрану что есть способ улучшить результат с tsb») */
.ps-ap-found { margin: 16px 0 0; font: 500 16px/24px var(--lr-font); color: var(--ps-accent-text); text-wrap: pretty; }
.ps-ap-found b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ps-ap-found a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ps-accent-text); text-decoration: none; white-space: nowrap; }
.ps-ap-found a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ps-ap-found a .ps-icon { width: 16px; height: 16px; }
.ps-ap-found a:focus-visible { outline: 2px solid var(--ps-accent-text); outline-offset: 2px; border-radius: 2px; }
#ps-tune-title { scroll-margin-top: 96px; }
/* the page's one step, large (Igor «и это крупным и заметным, с иконками»); icons 16 in buttons */
.ps-ap-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 32px; } /* right under the figures, never pushed down to the video's column (Igor 20 Nov) */
/* the page's own button family, as the paste field's "Test this strategy" and the stop states: 52 px, 6 px corners — not the
   landing's pill (Igor 23 Nov «почему мне эти кнопки так странно висят») */
.ps-ap-actions .lr-button { min-height: 52px; padding: 0 24px 0 20px; gap: 8px; border-radius: 6px; font: 600 16px/24px var(--lr-font); }
.ps-ap-actions .ps-icon { width: 16px; height: 16px; }
/* the outline buttons as the landing's dark stage draws them (.lr-hero-actions; Igor 20 Nov on the lavender hover: «hover не нравится») */
.ps-head-ap .lr-button-outline { border-color: var(--ps-button-line); background: transparent; color: var(--ps-ink) !important; }
.ps-head-ap .lr-button-outline:hover { border-color: var(--ps-ink); background: var(--ps-hover); }
.ps-head-ap .ps-hero-note { margin: 12px 0 0; font: 400 12px/20px var(--lr-font); color: var(--ps-ink-3); }
/* the video: its picture, then where it came from in three lines and its button */
.ps-ap-src { display: grid; gap: 16px; align-content: start; margin: 0; }
.ps-ap-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ps-raised); outline: 1px solid var(--ps-line); outline-offset: -1px; }
.ps-ap-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-ap-thumb:focus-visible { outline: 2px solid var(--ps-accent-text); outline-offset: 2px; }
.ps-ap-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 12px; background: rgba(12, 12, 16, .72); display: grid; place-items: center; transition: background-color 140ms ease; }
.ps-ap-play::before { content: ""; margin-left: 4px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.ps-ap-thumb:hover .ps-ap-play { background: #c4342d; }
.ps-ap-src-text { min-width: 0; display: grid; justify-items: start; }
.ps-ap-kicker { margin: 0; font: 500 12px/20px var(--lr-font); color: var(--ps-ink-3); }
.ps-ap-author { margin: 0; font: 600 16px/24px var(--lr-font); color: var(--ps-ink); }
.ps-ap-title { margin: 4px 0 0; font: 400 14px/22px var(--lr-font); color: var(--ps-ink-3); text-wrap: pretty; }
.ps-ap-title a { color: inherit; text-decoration: none; }
.ps-ap-title a:hover { color: var(--ps-ink); text-decoration: underline; text-underline-offset: 3px; }
.ps-ap-title a:focus-visible { outline: 2px solid var(--ps-ink); outline-offset: 2px; border-radius: 2px; }

/* the chart: names, dates and notes 12; each year's money 16 in its colour, its share grey; the ends 14 */
.ps-ap-chart { position: relative; margin: 32px 0 0; min-height: 380px; } /* 32 under the answer: the chart is the answer's own (Igor 20 Nov «над ним дырочка норм?») */
.ps-ap-chart svg { display: block; overflow: visible; font-family: var(--lr-font); font-variant-numeric: tabular-nums; }
/* the head's answer is the chart's hero line, 2.5 (29 Nov polish: at 1.5 the video's rules, the figure the head says, read
   weaker than TSB's dashed line over it) */
.ps-ap-line { fill: none; stroke: var(--ps-gain); stroke-width: 2.5; stroke-linejoin: round; } .ps-ap-line.is-under { stroke: var(--ps-loss); }
.ps-ap-wash { fill: var(--ps-gain-soft); } .ps-ap-wash.is-under { fill: var(--ps-loss-soft); }
.ps-ap-band { fill: var(--ps-band); } /* solid, its edges as they are (Igor 20 Nov «было лучше с фоном» after a fade) */
/* the vertical lines quiet and dotted (Igor 20 Nov «их можно сделать менее заметными, пунктиром может даже»): a year's edge a
   little brighter than a month's */
.ps-ap-grid { stroke: var(--ps-line-strong); stroke-width: 1; stroke-dasharray: 2 4; shape-rendering: crispEdges; }
.ps-ap-month { stroke: var(--ps-line); stroke-width: 1; stroke-dasharray: 2 4; shape-rendering: crispEdges; }
.ps-ap-start { stroke: var(--ps-control-line); stroke-width: 1; stroke-dasharray: 3 4; }
.ps-ap-t { fill: var(--ps-ink-3); font: 400 12px/16px var(--lr-font); paint-order: stroke; stroke: var(--ps-stage); stroke-width: 4px; stroke-linejoin: round; }
.ps-ap-t.is-b { fill: var(--ps-ink); font-weight: 600; font-size: 14px; }
.ps-ap-t.is-fix { fill: var(--ps-accent-text); font-weight: 600; font-size: 14px; }
.ps-ap-t.is-loss { fill: var(--ps-loss); font-weight: 600; } .ps-ap-t.is-gain { fill: var(--ps-gain); font-weight: 600; }
.ps-ap-t.is-year { font-size: 16px; } .ps-ap-t .is-pct { fill: var(--ps-ink-3); font-weight: 400; }
.ps-ap-t.is-see { fill: var(--ps-ink-3); } .ps-ap-see:hover .ps-ap-t.is-see { fill: var(--ps-accent-text); text-decoration: underline; }
.ps-ap-dot { stroke: var(--ps-stage); stroke-width: 2; } .ps-ap-dot.is-gain { fill: var(--ps-gain); } .ps-ap-dot.is-loss { fill: var(--ps-loss); }
.ps-ap-fixline { stroke: var(--ps-accent); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ps-ap-fixdot { fill: var(--ps-stage); stroke: var(--ps-accent); stroke-width: 2; }
.ps-ap-fixcurve { fill: none; stroke: var(--ps-accent); stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linejoin: round; opacity: .85; }
/* what TSB's rules added, as the gap between the two ends: a bracket at the chart's right edge with the button's own figure
   (29 Nov polish: "Improved by TSB $239,583" read as the gain; the gain is the button's +$96,032) */
.ps-ap-gap { fill: none; stroke: var(--ps-accent); stroke-width: 1.5; stroke-linecap: round; }
.ps-ap-t.is-gap { fill: var(--ps-accent-text); font-weight: 600; font-size: 16px; }
.ps-ap-cursor { stroke: var(--ps-control-line); stroke-width: 1; pointer-events: none; } .ps-ap-hit { fill: transparent; }
.ps-ap-hover { fill: var(--ps-gain); stroke: var(--ps-stage); stroke-width: 2; pointer-events: none; } .ps-ap-hover.is-loss { fill: var(--ps-loss); } .ps-ap-hover.is-fix { fill: var(--ps-stage); stroke: var(--ps-accent); }
.ps-ap-tip { position: absolute; z-index: 2; pointer-events: none; display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--ps-overlay); color: var(--ps-ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); font: 400 12px/20px var(--lr-font); white-space: nowrap; }
.ps-ap-tip b { font-weight: 600; }
.ps-ap-tip .is-fix, .ps-ap-tip .is-fix b { color: var(--ps-accent-text); }

/* the video's rules, a section: 32 of space and one hairline, its title a group head, a spec sheet whose two columns' rows
   line up (Igor 20 Nov «разборчиво и красиво»); each field's icon on its name's line («тоже иконки этим правилам»); the minute
   a sentence is said a play chip on its row's right edge; a rule the test doesn't run grey with a dashed chip under it */
.ps-ap-said { margin: 32px 0 0; padding-top: 32px; border-top: 1px solid var(--ps-line); }
.ps-ap-h { margin: 0; font: 600 20px/28px var(--lr-font); letter-spacing: -0.01em; color: var(--ps-ink); } /* a section title (Igor 20 Nov «заголовок прилип?»: at 16 it read as one more rule) */
/* two columns that run on their own, as long as each other, the fields in a trade's order down the first and on into the
   second (Igor 20 Nov «слева пусто и это нельзя никак обойти визуально чтобы не скрывать ничего и было круто?» on a one-line
   Target in a row beside a three-rule Filter); a line over every field, so both columns open on one line under the title */
.ps-ap-rules { columns: 2; column-gap: 64px; margin: 16px 0 0; }
.ps-ap-rules > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--ps-line); break-inside: avoid; }
.ps-ap-rules dt { display: flex; align-items: center; gap: 8px; height: 24px; font: 500 14px/24px var(--lr-font); color: var(--ps-ink-3); }
.ps-ap-rules dd { display: grid; gap: 12px; margin: 0; }
/* NEW, a field of many lines (22 Nov): four shown, the rest in their own block behind a quiet toggle at the row's end */
.ps-ap-more-lines:not([hidden]) { display: grid; gap: 12px; }
.ps-ap-more { justify-self: start; display: inline-flex; align-items: center; min-height: 24px; padding: 0; border: 0; background: none; font: 500 14px/20px var(--lr-font); color: var(--ps-accent-text); cursor: pointer; }
.ps-ap-more:hover { color: var(--ps-ink); text-decoration: underline; text-underline-offset: 3px; }
.ps-ap-more:focus-visible { outline: 2px solid var(--ps-accent-text); outline-offset: 2px; border-radius: 4px; }
.ps-said-rule { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; }
.ps-said-text { font: 400 16px/24px var(--lr-font); color: var(--ps-ink); text-wrap: pretty; }
.ps-said-rule.is-out .ps-said-text { color: var(--ps-ink-3); }
.ps-ap-out { display: block; width: fit-content; margin-top: 4px; padding: 2px 8px; border: 1px dashed var(--ps-control-line); border-radius: 6px; font: 500 12px/16px var(--lr-font); font-style: normal; color: var(--ps-ink-3); }
.ps-ap-at { display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--ps-raised); font: 500 12px/16px var(--lr-font); color: var(--ps-ink-2); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-ap-at::before { content: ""; border-left: 7px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.ps-ap-at:hover { background: var(--ps-accent-soft); color: var(--ps-ink); }
.ps-ap-at:focus-visible { outline: 2px solid var(--ps-accent-text); outline-offset: 2px; }
.ps-ap-not { margin: 16px 0 0; font: 400 14px/22px var(--lr-font); color: var(--ps-ink-3); text-wrap: pretty; }
.ps-ap-said-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
/* How TSB tested it on the title's line: its icon, its words, a chevron that turns; its note under the title */
.ps-ap-how { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: 500 14px/20px var(--lr-font); color: var(--ps-accent-text); cursor: pointer; }
.ps-ap-how .ps-icon { width: 16px; height: 16px; }
.ps-ap-how .ps-icon:last-child { transition: transform 140ms ease; }
.ps-ap-how[aria-expanded="true"] .ps-icon:last-child { transform: rotate(180deg); }
.ps-ap-how:hover { color: var(--ps-ink); }
.ps-ap-how:focus-visible { outline: 2px solid var(--ps-accent-text); outline-offset: 2px; }
.ps-ap-how-text { max-width: 880px; margin: 12px 0 0; font: 400 14px/22px var(--lr-font); color: var(--ps-ink-2); text-wrap: pretty; }

/* TSB's change, the one card of the head (the thing that asks for attention): radius 12, its line, no shadow; the lock inside
   it is drawn in public-strategies-plan.css, the locks' owner */
.ps-ap-fix { margin-top: 32px; padding: 24px; border: 1px solid var(--ps-accent-line); border-radius: 12px; background: var(--ps-accent-soft); }

@media (max-width: 1099px) { .ps-ap-rules { columns: 1; } }
/* a tablet: the video a row above the answer (its picture and its words side by side), the answer the full width under it */
@media (min-width: 761px) and (max-width: 1099px) {
    .ps-ap-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ps-ap-src { order: -1; grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 24px; }
}
@media (max-width: 760px) {
    .ps-head-ap { padding-bottom: 48px; }
    .ps-ap-top { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 16px; }
    .ps-ap-src { order: -1; gap: 12px; }
    .ps-ap-lead h1 { font-size: 24px; line-height: 32px; }
    .ps-ap-verdict { margin-top: 16px; }
    .ps-ap-money b { font-size: 44px; line-height: 52px; }
    .ps-ap-actions { padding-top: 24px; }
    .ps-ap-actions .lr-button { flex: 1 1 100%; justify-content: center; }
    .ps-ap-chart { min-height: 300px; margin-top: 32px; }
    .ps-ap-rules > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .ps-ap-fix { padding: 16px; }
}

/* One player for the replayed test and the pasted video's (Igor 21 Nov «давай его растянем и приведем в порядок? ставить знак
   паузы. и в целом навигацию можно привести в порядок»): pause as its mark, the progress, skip in words; the replay card the
   block's whole width, its label and step on top, every control in the line at its foot. */
/* larger and easier to tell apart (Igor 21 Nov «оно должно быть более различимым и удобным»): the mark on a round 40 px
   button, skip and next as buttons, the test's page the accent, the progress a 6 px track */
.ps-play { display: inline-grid; flex: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s; }
.ps-play::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ps-play-mark) center / 18px 18px no-repeat; mask: var(--ps-play-mark) center / 18px 18px no-repeat; }
.ps-play[data-icon="pause"] { --ps-play-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='14' y='4' width='4' height='16' rx='1'/%3E%3Crect x='6' y='4' width='4' height='16' rx='1'/%3E%3C/svg%3E"); }
.ps-play[data-icon="play"] { --ps-play-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='6 3 20 12 6 21 6 3'/%3E%3C/svg%3E"); }
.ps-play[data-icon="replay"] { --ps-play-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E"); }
.ps-play:hover { background: rgba(255, 255, 255, .2); }
.ps-play[hidden], .ps-skip[hidden] { display: none; }
.ps-skip { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; background: none; font: 500 14px/20px var(--lr-font); color: #f0edf6; white-space: nowrap; cursor: pointer; transition: border-color .2s, background .2s; }
.ps-skip:hover { border-color: #b9b1f1; background: rgba(185, 177, 241, .08); }
/* a round button stays round: the row's buttons are 32px tall, this one 40 × 40 (22 Nov walk: «hover круг кривой») */
.ps-trial-controls .ps-play { width: 40px; height: 40px; min-width: 0; padding: 0; border: 0; border-radius: 50%; }
.ps-trial-controls[data-ended] { grid-template-columns: minmax(0, 1fr) auto; }
.ps-trial-controls[data-ended] .ps-play { display: none; }
.ps-trial-controls .ps-skip[data-mode="replay"]::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ps-replay-mark) center / 16px 16px no-repeat; mask: var(--ps-replay-mark) center / 16px 16px no-repeat;
    --ps-replay-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E"); }
.ps-trial-controls .ps-skip { min-width: 0; height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; font: 500 14px/20px var(--lr-font); color: #f0edf6; }
.ps-trial-controls .ps-skip:hover { border-color: #b9b1f1; }
.ps-trial-controls input[type="range"] { height: 6px; }
.ps-watch .ps-live { width: 100%; }
.ps-live-head .ps-live-step { margin: 0 0 0 16px; font: 400 12px/16px var(--lr-font); color: #8b849c; white-space: nowrap; }
.ps-live-head .ps-live-state { margin-left: auto; }
.ps-live-foot { gap: 12px; height: 72px; }
.ps-live-foot { gap: 16px; }
.ps-live-money[data-tone="loss"] b { color: #f0928b; } .ps-live-money[data-tone="gain"] b { color: #7fd3a2; }
.ps-live-money[data-tone="loss"] small { color: #d9918b; } .ps-live-money[data-tone="gain"] small { color: #8fcfaa; }
/* play and pause as a plain mark, no disc (Igor 22 Nov «play без кружка?») */
.ps-live-foot .ps-live-pause { width: 36px; height: 36px; border-radius: 6px; background: none; color: #f4f3f7; }
.ps-live-foot .ps-live-pause:hover { background: rgba(255, 255, 255, .08); }
.ps-live-foot .ps-live-pause::before { width: 22px; height: 22px; -webkit-mask-size: 22px 22px; mask-size: 22px 22px; }
/* the test in three parts on one line: Rules · Replay · Result; the Result dot jumps to the end */
.ps-live-track { position: relative; flex: 1; min-width: 200px; height: 44px; margin: 16px 8px 0; } /* the line on the play mark's centre, the words under it */
.ps-live-foot .ps-live-progress { position: absolute; left: 0; right: 0; top: 12px; height: 4px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.ps-live-foot .ps-live-progress span { background: #9d93f0; }
.ps-live-mark { position: absolute; top: 8px; left: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
    transform: translateX(-50%); font: 500 12px/16px var(--lr-font); color: #8f899e; white-space: nowrap; }
.ps-live-mark i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #15141c; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28); transition: background-color .2s, box-shadow .2s; }
.ps-live-mark.is-passed i { background: #9d93f0; box-shadow: inset 0 0 0 2px #9d93f0; }
.ps-live-mark.is-passed { color: #c9c4e8; }
.ps-live-mark.is-start { align-items: flex-start; transform: none; }
.ps-live-mark.is-end { left: 100%; align-items: flex-end; transform: translateX(-100%); color: #c9c4e8; cursor: pointer; }
.ps-live-mark.is-end:hover { color: #fff; }
.ps-live-mark.is-end:hover i { box-shadow: inset 0 0 0 2px #fff; }
.ps-live-mark.is-end:focus-visible { outline: 2px solid #b1a8ff; outline-offset: 4px; border-radius: 4px; }
/* the next video by its own thumbnail and creator */
.ps-live-next { display: inline-flex; flex: none; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 4px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px;
    background: none; color: #f4f3f7; text-align: left; cursor: pointer; transition: background-color .14s, border-color .14s; }
.ps-live-next:hover { border-color: #b9b1f1; background: rgba(185, 177, 241, .08); }
.ps-live-next img { flex: none; width: 64px; height: 36px; border-radius: 4px; object-fit: cover; background: #201e29; }
.ps-live-next > span { display: flex; flex-direction: column; min-width: 0; }
.ps-live-next small { font: 400 12px/16px var(--lr-font); color: #8f899e; }
.ps-live-next b { overflow: hidden; max-width: 150px; font: 500 14px/20px var(--lr-font); text-overflow: ellipsis; white-space: nowrap; }
.ps-live-next svg { flex: none; width: 16px; height: 16px; fill: none; stroke: #8f899e; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ps-live-next[hidden] { display: none; }
.ps-live-open { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 6px; background: var(--lr-accent); font: 600 14px/20px var(--lr-font); color: #fff; text-decoration: none; white-space: nowrap; transition: background .2s; }
.ps-live-open:hover { background: #5448ce; text-decoration: none; }
@media (max-width: 700px) {
    .ps-live-head .ps-live-step { display: none; }
    .ps-live-foot { flex-wrap: wrap; height: auto; padding: 12px 0 16px; }
    .ps-live-foot > .ps-live-track { flex: 1 1 calc(100% - 72px); min-width: 0; margin: 16px 4px 0; } /* play and the line on one row, next and open under them */
    .ps-live-foot .ps-live-next { order: 3; } .ps-live-foot .ps-live-open { order: 4; }
    .ps-live-next { gap: 8px; padding: 0 10px 0 4px; }
    .ps-live-next img { width: 56px; height: 32px; }
    .ps-live-next b, .ps-live-next svg { display: none; }
    .ps-live-next small { overflow: hidden; font-size: 14px; line-height: 20px; color: #f4f3f7; text-overflow: ellipsis; white-space: nowrap; } /* a phone: the thumbnail and "Next video" say it */
    .ps-live-foot .ps-live-next { flex: 1 1 0; min-width: 0; }
    .ps-live-foot .ps-live-open { flex: none; justify-content: center; }
}
/* the heading and what the card is on one line, no strip inside the card (Igor 21 Nov «вот это норм по своему дизайну и
   ценности?») */
.ps-watch-head { margin: 0 0 24px; }
.ps-watch-head h2 { margin: 0; }
.ps-watch-note { margin: 8px 0 0; font: 400 16px/24px var(--lr-font); color: var(--st-muted); }
/* The card combed (Igor 21 Nov «левую часть всю тоже проверь и причеши. ну правую тоже проверь»): one 24 px inset, the kit's
   type steps (12/16, 14/20, 16/24, 20/28, 44/52); the video larger with its channel and name; the rules plain rows, their
   minute a quiet tag with no frame, read ones legible, the window filling the column and the note at its foot; the
   verdict 20/28; the market line's count on the left, the market and the day together on the right. */
.ps-watch .ps-live-body.is-a { gap: 40px; padding: 24px 24px 0; }
.ps-watch .ps-live-foot { margin: 16px 24px 0; }
.ps-live-body.is-a .ps-live-source { grid-template-columns: 160px minmax(0, 1fr); gap: 16px; }
.ps-live-body.is-a .ps-live-source b { margin: 0 0 4px; font: 600 16px/24px var(--lr-font); color: #f4f3f7; }
.ps-live-body.is-a .ps-live-source p > span { -webkit-line-clamp: 2; font: 400 14px/20px var(--lr-font); color: var(--st-muted); }
.ps-live-said { gap: 24px; }
.ps-live-body.is-a .ps-live-label:not(.ps-live-market .ps-live-label) { font: 500 14px/20px var(--lr-font); color: #c9c5d3; }
.ps-live-body.is-a .ps-live-label:not(.ps-live-market .ps-live-label) > span:last-child { color: var(--st-muted); font-weight: 400; }
.ps-live-window { margin-top: 8px; }
.ps-live-window li { height: var(--row, 52px); align-items: center; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 0; font: 400 14px/20px var(--lr-font); color: #8a8496; }
.ps-live-window li.is-read { opacity: 1; color: #a7a1b4; }
.ps-live-window li.is-now { color: #fff; }
.ps-live-window time { height: 20px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .07); font: 500 12px/20px var(--lr-font); line-height: 20px !important; color: #c3b9e6; }
.ps-live-body.is-a .ps-live-missing { margin: auto 0 0; padding-top: 12px; font: 400 12px/16px var(--lr-font); color: var(--st-muted); }
.ps-live[data-phase="done"] .ps-live-kicker { font: 600 20px/28px var(--lr-font); letter-spacing: -0.01em; }
.ps-live-market .ps-live-label { justify-content: flex-start; gap: 16px; }
.ps-live-market .ps-live-label [data-live-market-name] { margin-left: auto; }
/* one height through every step on a wide screen, so nothing below moves and the rules fill their column the same in each
   (the combed card grew 61 px when the market came in) */
@media (min-width: 901px) { .ps-watch .ps-live { height: 624px; min-height: 0; } }
/* a phone: the count and the day on the first line, the market under them (it wrapped into three lines between them) */
@media (max-width: 700px) {
    .ps-live-market .ps-live-label { flex-wrap: wrap; row-gap: 4px; }
    .ps-live-market .ps-live-label [data-live-market-name] { order: 3; flex-basis: 100%; margin-left: 0; }
    .ps-live-market .ps-live-label .ps-live-date { margin-left: auto; }
}
/* the kind a visitor opened from "What held up, and what didn't", as a chip in the catalog's bar that removes it */
.ps-kind-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 16px; border: 1px solid #9d93f0; border-radius: 6px; background: rgba(157, 147, 240, .12); font: 500 14px/20px var(--lr-font); color: #f4f3f7; cursor: pointer; white-space: nowrap; }
.ps-kind-chip[hidden] { display: none; }
.ps-kind-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.ps-kind-chip:hover { background: rgba(157, 147, 240, .2); }
#ps-all { scroll-margin-top: 80px; } /* under the bar when a kind opens it */
/* The video's own answers to one question, each tested (Igor 21 Nov «давайте уже доделывать это»): under the verdict, a
   row each with its money and its verdict; the one shown says "Tested", the others open with "Show this". Shown with the
   verdict, its place kept before it (no second money figure before the answer, nothing moves). */
.ps-trial-variants { flex: 0 0 100%; }
.ps-trial-variants.is-later { visibility: hidden; }
.ps-tv-title { margin: 0 0 4px; font: 500 14px/20px var(--lr-font); color: #c9c5d3; }
/* one grid for every row (subgrid), so the answers, the money and the verdicts stand in columns */
.ps-trial-variants ul { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr) max-content; column-gap: 16px; margin: 0; padding: 0; list-style: none; }
.ps-trial-variants li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 40px; border-top: 1px solid rgba(255, 255, 255, .08); font: 400 14px/20px var(--lr-font); color: #c9c5d3; white-space: nowrap; }
.ps-tv-act, .ps-tv-show { justify-self: end; }
.ps-trial-variants li.is-shown { color: #f4f3f7; }
.ps-tv-label { font-weight: 600; color: #f4f3f7; }
.ps-tv-money { font-variant-numeric: tabular-nums; }
.ps-tv-verdict[data-tone="gain"] { color: #7fd3a2; }
.ps-tv-verdict[data-tone="loss"] { color: #f0928b; }
.ps-tv-verdict[data-tone="flat"] { color: #d6d3de; }
.ps-tv-act { font: 500 12px/16px var(--lr-font); color: #8f8a9c; }
.ps-tv-show { padding: 0; border: 0; background: none; font: 500 14px/20px var(--lr-font); color: #b9b0ee; cursor: pointer; white-space: nowrap; }
.ps-tv-show:hover { color: #d7d1f7; }
.ps-tv-show[hidden] { display: none; }
/* a phone: the answer and its way on, then the money and the verdict under them */
@media (max-width: 600px) {
  .ps-trial-variants ul { grid-template-columns: max-content minmax(0, 1fr) max-content; column-gap: 12px; }
  .ps-trial-variants li { row-gap: 2px; padding: 8px 0; }
  .ps-tv-label { grid-column: 1 / 3; grid-row: 1; }
  .ps-tv-act, .ps-tv-show { grid-column: 3; grid-row: 1; }
  .ps-tv-money { grid-column: 1; grid-row: 2; }
  .ps-tv-verdict { grid-column: 2 / -1; grid-row: 2; }
}
/* the video's answers to its market, chart or target, each tested, under its own words in "The video's rules"
   (tsbPublicStrategyVariants, Igor 21 Nov «делай»: beside the words that name them) */
.ps-said-tested { margin: 4px 0 0; font: 400 14px/20px var(--lr-font); color: var(--ps-ink-3); font-variant-numeric: tabular-nums; text-wrap: pretty; }
.ps-said-tested b { font-weight: 500; color: var(--ps-ink-2); }
.ps-said-tested [data-tone="gain"] { color: var(--ps-gain); }
.ps-said-tested [data-tone="loss"] { color: var(--ps-loss); }
/* a video that leaves most of its rules to TSB, said at the card's foot (nothing above it moves) */
.ps-card-defined { display: block; margin-top: 8px; font: 400 12px/16px var(--lr-font); color: var(--ct-muted); }
.ps-nowrap { white-space: nowrap; }
/* the figure right under the claim where no verdict word stands over it (Lost money, Made money): the verdict's own gap */
/* The same rules on the class's other markets (the test standard, 21 Nov): one grid for every row, the most made first; each
   year's figure small, the held-out year said in words; "Open" makes a market the main test. */
.ps-trial-markets { flex: 0 0 100%; }
.ps-trial-markets.is-later { visibility: hidden; }
.ps-trial-markets ul { display: grid; grid-template-columns: minmax(96px, max-content) max-content max-content max-content minmax(0, 1fr) max-content; column-gap: 16px; margin: 0; padding: 0; list-style: none; }
.ps-trial-markets li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 40px; border-top: 1px solid rgba(255, 255, 255, .08); font: 400 14px/20px var(--lr-font); color: #c9c5d3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-trial-markets li.is-shown { color: #f4f3f7; }
.ps-tm-label { font-weight: 600; color: #f4f3f7; overflow: hidden; text-overflow: ellipsis; }
.ps-tm-money { font-weight: 600; }
.ps-tm-money[data-tone="gain"], .ps-tm-years [data-tone="gain"] { color: #7fd3a2; }
.ps-tm-money[data-tone="loss"], .ps-tm-years [data-tone="loss"] { color: #f0928b; }
.ps-tm-years { display: inline-flex; gap: 8px; font-size: 12px; line-height: 16px; }
.ps-tm-held { font: 500 12px/16px var(--lr-font); color: #7fd3a2; }
.ps-tm-held[data-few] { color: #a3a1ae; }
.ps-trial-markets .ps-tv-act, .ps-trial-markets .ps-tv-show { justify-self: end; }
@media (max-width: 760px) {
  .ps-trial-markets ul { grid-template-columns: minmax(0, 1fr) max-content max-content; column-gap: 12px; }
  .ps-trial-markets li { row-gap: 2px; padding: 8px 0; }
  .ps-tm-label { grid-column: 1; grid-row: 1; }
  .ps-tm-money { grid-column: 2; grid-row: 1; justify-self: end; }
  .ps-trial-markets .ps-tv-act, .ps-trial-markets .ps-tv-show { grid-column: 3; grid-row: 1; }
  .ps-tm-week { grid-column: 1; grid-row: 2; font-size: 12px; line-height: 16px; color: #8f8a9c; }
  .ps-tm-years { grid-column: 2 / -1; grid-row: 2; justify-self: end; }
  .ps-tm-held { grid-column: 1 / -1; grid-row: 3; }
  .ps-tm-held:empty { display: none; }
}
/* The same rules on the class's markets, in the head after the video's rules (tsbPublicStrategyMarkets, 21 Nov): one table, the
   most made first, figures in columns; "Open" makes a market a video test's main one. */
.ps-ap-markets-table .ps-ap-not { max-width: 640px; }
/* The table and, in its empty side, every market on one scale (Igor 22 Nov «пусто справа» → «дальше»); the scale follows the
   open list down (sticky under the site bar) */
.ps-mk-grid { display: grid; grid-template-columns: auto minmax(280px, 1fr); gap: 0 64px; align-items: start; }
.ps-mk-main { min-width: 0; }
.ps-mk-strip { position: sticky; top: 96px; min-width: 0; margin: 16px 0 0; }
.ps-mk-strip figcaption { margin: 0 0 8px; font: 500 12px/16px var(--lr-font); color: var(--ps-ink-3); }
.ps-mk-svg { display: block; overflow: visible; }
.ps-mk-axis { stroke: var(--ps-line-strong); stroke-width: 1; }
.ps-mk-zero { stroke: var(--ps-line-strong); stroke-width: 1; stroke-dasharray: 2 3; }
.ps-mk-tick { font: 400 12px var(--lr-font); fill: var(--ps-ink-3); font-variant-numeric: tabular-nums; }
.ps-mk-lead { stroke: var(--ps-line-strong); stroke-width: 1; }
.ps-mk-name { font: 600 12px var(--lr-font); fill: var(--ps-ink); }
.ps-mk-val { font: 500 12px var(--lr-font); fill: var(--ps-gain); font-variant-numeric: tabular-nums; }
.ps-mk-val.is-neg { fill: var(--ps-loss); }
.ps-mk-dot circle { stroke-width: 1.5; transition: r .12s; }
.ps-mk-dot.is-held circle { fill: var(--ps-gain); stroke: var(--ps-gain); }
.ps-mk-dot.is-made circle { fill: none; stroke: var(--ps-gain); }
.ps-mk-dot.is-loss circle { fill: var(--ps-loss); stroke: var(--ps-loss); opacity: .5; }
.ps-mk-dot.is-few circle { fill: none; stroke: var(--ps-ink-3); opacity: .6; }
.ps-mk-dot.is-shown circle { stroke: var(--ps-ink); stroke-width: 2; opacity: 1; }
.ps-mk-dot.is-lit circle { r: 7; opacity: 1; stroke: var(--ps-ink); stroke-width: 2; }
.ps-mk tr.is-lit th, .ps-mk tr.is-lit td { background: var(--ps-hover); }
@media (max-width: 1023px) {
  .ps-mk-grid { grid-template-columns: minmax(0, 1fr); }
  .ps-mk-strip { position: static; order: -1; margin: 16px 0 8px; }
}
.ps-mk-scroll { min-width: 0; max-width: 100%; overflow-x: auto; margin-top: 16px; }
.ps-mk { width: auto; min-width: min(100%, 720px); border-collapse: collapse; font: 400 14px/20px var(--lr-font); color: var(--ps-ink-2); font-variant-numeric: tabular-nums; }
.ps-mk th, .ps-mk td { padding: 10px 32px 10px 0; text-align: right; white-space: nowrap; border-top: 1px solid var(--ps-line); }
.ps-mk th:first-child, .ps-mk tbody th { text-align: left; }
.ps-mk thead th { border-top: 0; font: 500 12px/16px var(--lr-font); color: var(--ps-ink-3); }
.ps-mk tbody th { font-weight: 600; color: var(--ps-ink); }
.ps-mk tr.is-shown th, .ps-mk tr.is-shown td { background: var(--ps-raised); }
.ps-mk [data-tone="gain"] { color: var(--ps-gain); }
.ps-mk [data-tone="loss"] { color: var(--ps-loss); }
.ps-mk b { font-weight: 600; }
.ps-mk-held { font: 500 12px/16px var(--lr-font); color: var(--ps-gain); }
.ps-mk-open { display: inline-block; margin: -10px 0; padding: 10px 0 10px 16px; font: 500 14px/20px var(--lr-font); color: var(--ps-accent-text); text-decoration: none; }
.ps-mk-open:hover { color: var(--ps-ink); }
.ps-mk-shown { font: 500 12px/16px var(--lr-font); color: var(--ps-ink-3); }
.ps-mk th:last-child, .ps-mk td:last-child { padding-right: 0; }
.ps-mk tr.is-few td { color: var(--ps-ink-3); }
.ps-mk-few { font: 500 12px/16px var(--lr-font); color: var(--ps-ink-3); }
.ps-mk-more { display: inline-flex; align-items: center; gap: 4px; margin: 8px 0 0; padding: 8px 0; border: 0; background: none; font: 500 14px/20px var(--lr-font); color: var(--ps-accent-text); cursor: pointer; }
.ps-mk-more:hover { color: var(--ps-ink); }
.ps-mk-more:focus-visible { outline: 2px solid var(--ps-accent-text); outline-offset: 2px; border-radius: 2px; }
.ps-mk-more .ps-icon { width: 16px; height: 16px; transition: transform .15s; }
.ps-mk-more[aria-expanded="true"] .ps-icon { transform: rotate(180deg); }
.ps-mk-scroll[hidden] + .ps-mk-more { margin-top: 12px; }
.ps-mk-more + .ps-ap-not { margin-top: 8px; }
@media (max-width: 1024px) { .ps-mk th, .ps-mk td { padding-right: 20px; } }
@media (max-width: 760px) {
  /* the phone keeps what answers "where": the market, its 3 years, its last year, held up, open */
  .ps-mk .ps-mk-week, .ps-mk .ps-mk-y { display: none; }
  .ps-mk { min-width: 0; width: 100%; }
  .ps-mk th, .ps-mk td { padding-right: 8px; }
  /* a tag may take two lines on a phone ("Too few / trades"), never the screen's width */
  .ps-mk-held, .ps-mk-few { display: inline-block; white-space: normal; max-width: 56px; line-height: 14px; }
}
.ps-ap-markets + .ps-ap-found { margin-top: 4px; }
/* The answer in one line under the name (the trader's script, 21 Nov): as in the video, then where it works best */
.ps-ap-oneline { margin: 8px 0 0; font: 400 16px/24px var(--lr-font); color: var(--ps-ink-2); text-wrap: pretty; }
.ps-ap-oneline b { font-weight: 600; color: var(--ps-ink); }
.ps-ap-oneline a { display: inline-flex; align-items: center; gap: 4px; color: var(--ps-accent-text); text-decoration: none; font-weight: 500; white-space: nowrap; }
.ps-ap-oneline a:hover { color: var(--ps-ink); }
.ps-ap-oneline .lr-icon { width: 16px; height: 16px; }
.ps-ap-sub { flex: 0 0 100%; margin: 0; font: 400 14px/20px var(--lr-font); color: var(--ps-ink-3); }



/* The visitor's playground (Igor 22 Nov): every rule a lock, the account with the video's rules; no "with your rules" yet */
.ps-tune.is-visitor .ps-tune-fig.is-yours, .ps-tune.is-visitor .ps-tune-delta, .ps-tune.is-visitor [data-tune-list]:empty { display: none; }
.ps-tune.is-visitor .ps-tune-list.is-locked { margin-top: 0; }
.ps-tune.is-visitor .ps-tune-stats dd small { display: none; } /* the same figures twice while nothing is switched on */
.ps-tune.is-visitor .ps-tune-item.is-locked { cursor: pointer; }
.ps-tune.is-visitor .ps-tune-item.is-locked:hover { background: color-mix(in srgb, var(--lr-ink) 4%, transparent); }


/* ---------------------------------------------------------------------------------------------------------------------
   The gallery's first screen, B (Igor 22 Nov «А нравится и B тоже», «Да, переноси»; docs/product/design/
   strategies-gallery-2026-11-22, codex-b as the base, codex-a for the families): the question and the field on the left,
   the chain "a YouTube video, tested" on the right; the winners under it switch the chain; the families as A's, all open,
   beside an intro that stays in view. On the stage's own tokens (--st-*) and the catalog's dark ones (--ct-*).
   --------------------------------------------------------------------------------------------------------------------- */
.ps-stage { overflow: clip; } /* the families' intro sticks (hidden made the stage its own scroller); nothing spills sideways */
/* no side padding: --st-edge resolves its 100% against the stage's full width, so the grid and the trial sit on the
   page container's edges like every block under them (coordinator 22 Nov: the trial was 24 px left of the container) */
.ps-stage-hero.is-split { padding: 52px 0 0; text-align: left; }
.ps-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; margin-inline: var(--st-edge); }
.ps-hero-ask { grid-column: 1 / span 7; min-width: 0; padding-right: 24px; }
.ps-hero-grid.is-alone .ps-hero-ask { grid-column: 1 / -1; }
/* two lines, one sentence each (Igor «только переносы плохие») */
.ps-hero-ask h1 { margin: 0 0 24px; font: 600 clamp(44px, 3.7vw, 56px)/1.06 var(--lr-font); letter-spacing: -0.045em; white-space: nowrap; }
.ps-hero-ask .ps-stage-lead { max-width: 560px; margin: 0 0 24px; font: 400 20px/28px var(--lr-font); letter-spacing: 0; color: var(--st-muted); }
.ps-hero-ask .ps-stage-tool { width: auto; max-width: 680px; margin: 0; } /* room for the example link at a desktop width */
.ps-hero-ask .ps-paste-note { margin: 12px 0 0; }
/* "Try one": the gallery leader's own link, one quiet line under the field (Igor 22 Nov «тут можно пример ссылки») */
.ps-try { margin: 12px 0 0; }
.ps-try button { display: block; max-width: 100%; padding: 0; border: 0; background: none; font: 500 14px/20px var(--lr-font); color: #b9b1f1; text-align: left; text-wrap: pretty; cursor: pointer; }
.ps-try button span { font-weight: 400; color: var(--st-muted); }
.ps-try button:hover { color: #d7d1f7; text-decoration: underline; text-underline-offset: 3px; }
.ps-hero-ask .ps-stage-spec { justify-content: flex-start; margin: 8px 0 0; font: 400 14px/20px var(--lr-font); }
.ps-hero-ask .ps-stage-spec li.ps-stage-time { text-align: left; color: var(--st-muted); }
.ps-hero-ask .ps-stage-spec li.ps-stage-time button { margin-left: 0; font-weight: 500; }
.ps-browse { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font: 500 14px/24px var(--lr-font); color: var(--st-ink); text-decoration: none; }
.ps-browse span { color: #b9b1f1; }
.ps-browse:hover { text-decoration: underline; text-underline-offset: 3px; }

/* The chain: the video, the rules TSB read, the prices it ran on, the account; one thin link from step to step. Every
   winner's chain is in the page; the chosen one shows. */
.ps-chain { grid-column: 8 / span 5; min-width: 0; scroll-margin-top: calc(var(--lr-nav-h, 64px) + 16px); }
.ps-chain-kicker { margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--ct-line); font: 500 14px/20px var(--lr-font); color: var(--st-muted); }
.ps-chain-stack { display: grid; }
.ps-chain-item { grid-area: 1 / 1; min-width: 0; }
.ps-chain-item:not(.is-on) { display: none; } /* only the chosen chain takes space: no hole under a shorter one (Igor 22 Nov «внизу много. это растягивает hero») */
.ps-chain-steps { margin: 0; padding: 0; list-style: none; }
.ps-chain-steps > li { position: relative; min-width: 0; padding: 0 0 24px 44px; }
.ps-chain-steps > li:last-child { padding-bottom: 0; }
.ps-chain-steps > li:not(:last-child)::before { content: ''; position: absolute; top: 32px; bottom: 4px; left: 13.5px; width: 1px; background: var(--ct-line); }
.ps-chain-node { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ct-line); border-radius: 50%; background: var(--st-bg); color: var(--ct-muted); }
.ps-chain-node .ps-icon { width: 16px; height: 16px; }
.ps-chain-video { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: center; }
.ps-chain-shot { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--ct-shot); }
.ps-chain-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-chain-yt { position: absolute; top: 50%; left: 50%; width: 44px; height: 31px; fill: #f03; transform: translate(-50%, -50%); transition: fill .14s; } /* YouTube's own play mark */
.ps-chain-shot:hover .ps-chain-yt { fill: #ff2d55; }
.ps-chain-shot:focus-visible { outline: 2px solid #b1a8ff; outline-offset: 3px; }
.ps-chain-who { display: grid; gap: 2px; min-width: 0; margin: 0; }
.ps-chain-who b { font: 600 16px/24px var(--lr-font); color: var(--st-ink); }
.ps-chain-who span { font: 400 14px/20px var(--lr-font); color: var(--ct-ink-2); text-wrap: pretty; }
.ps-chain-who small { margin-top: 2px; font: 400 14px/20px var(--lr-font); color: var(--st-muted); font-variant-numeric: tabular-nums; }
.ps-chain-rules ul { display: grid; gap: 8px; margin: 0; padding: 2px 0 0; list-style: none; }
.ps-chain-rules li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px; font: 400 16px/24px var(--lr-font); color: var(--st-ink); }
.ps-chain-rules li > span { text-wrap: pretty; }
.ps-chain-rules a { justify-self: start; color: #b9b1f1; text-decoration: none; white-space: nowrap; }
.ps-chain-rules a::after { content: '·'; margin-left: 8px; color: var(--ct-faint); }
.ps-chain-rules time { font: 500 14px/24px var(--lr-font); font-variant-numeric: tabular-nums; }
.ps-chain-rules a:hover time { text-decoration: underline; text-underline-offset: 3px; }
.ps-chain-prices p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin: 0; padding-top: 2px; font: 400 14px/24px var(--lr-font); color: var(--st-muted); }
.ps-chain-prices b { font: 500 16px/24px var(--lr-font); color: var(--st-ink); }
.ps-chain-money { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; margin: 0; font-variant-numeric: tabular-nums; }
.ps-chain-account > .ps-chain-node { top: 8px; } /* on the money's line */
.ps-chain-steps > li.ps-chain-prices::before { bottom: -4px; } /* the link reaches the account's lower node */
.ps-chain-money span { font: 400 16px/24px var(--lr-font); color: var(--st-muted); }
.ps-chain-money b { font: 500 36px/44px var(--lr-font); letter-spacing: -0.03em; color: var(--st-ink); }
.ps-chain-money em { font: 500 24px/32px var(--lr-font); font-style: normal; letter-spacing: -0.02em; color: var(--ct-gain); }
.ps-chain-account[data-tone="loss"] .ps-chain-money em { color: var(--ct-loss); }
.ps-chain-account[data-tone="flat"] .ps-chain-money em { color: var(--ct-flat); }
/* the account's line: TSB's line B (DESIGN-SYSTEM §5 T1), drawn at its real width by assets/public-strategies-chain.js */
.ps-chain-path { display: block; width: 100%; height: 120px; margin-top: 12px; overflow: visible; }
.ps-chain-line { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.ps-chain-line.is-up { stroke: var(--ct-gain-line); }
.ps-chain-line.is-down { stroke: var(--ct-loss-line); }
.ps-chain-start { stroke: rgba(255, 255, 255, .3); stroke-width: 1; shape-rendering: crispEdges; }
.ps-chain-cut { stroke: rgba(255, 255, 255, .08); stroke-width: 1; shape-rendering: crispEdges; }
.ps-chain-end.is-up { fill: var(--ct-gain-line); }
.ps-chain-end.is-down { fill: var(--ct-loss-line); }
.ps-chain-years { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); margin: 6px 0 0; font: 400 12px/16px var(--lr-font); color: var(--ct-faint); font-variant-numeric: tabular-nums; }
.ps-chain-years span + span { padding-left: 6px; }
.ps-chain-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--ct-line); font: 400 14px/20px var(--lr-font); color: var(--st-muted); }
.ps-chain-foot b { font-weight: 500; color: var(--ct-ink-2); font-variant-numeric: tabular-nums; }
.ps-chain-foot a { font: 500 14px/20px var(--lr-font); color: #b9b1f1; text-decoration: none; }
.ps-chain-foot a:hover { color: #d7d1f7; text-decoration: underline; text-underline-offset: 3px; }

/* "Choose a video. Follow the money." (B): the winners, each one switching the chain; the chosen one marked by a quiet rule */
.ps-held { margin: 56px var(--st-edge) 0; padding-top: 24px; border-top: 1px solid var(--ct-line); }
.ps-held-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 24px; }
.ps-held .ps-stage-held { margin: 0; }
.ps-held-head p { margin: 0; font: 400 14px/20px var(--lr-font); color: var(--st-muted); }
.ps-winners { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ps-winners li { min-width: 0; }
.ps-winner { display: flex; flex-direction: column; align-items: flex-start; width: 100%; height: 100%; padding: 12px 0 0; border: 0; border-top: 2px solid transparent; background: none; color: var(--st-ink); font: 400 14px/20px var(--lr-font); text-align: left; cursor: pointer; transition: border-color .14s; }
.ps-winner[aria-pressed="true"] { border-top-color: var(--ct-gain); }
.ps-winner:not([data-tone="gain"])[aria-pressed="true"] { border-top-color: var(--st-ink); }
.ps-winner img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; transition: filter .14s; }
.ps-winner:hover img { filter: brightness(1.12); }
.ps-winner b { margin: 10px 0 4px; font: 600 28px/36px var(--lr-font); letter-spacing: -0.02em; color: var(--ct-gain); font-variant-numeric: tabular-nums; }
.ps-winner[data-tone="flat"] b { color: var(--ct-flat); }
.ps-winner[data-tone="loss"] b { color: var(--ct-loss); }
.ps-winner-name { font: 500 14px/20px var(--lr-font); color: var(--st-ink); text-wrap: pretty; }
.ps-winner small { margin-top: 4px; font: 400 14px/20px var(--lr-font); color: var(--st-muted); }
.ps-winner:focus-visible { outline: 2px solid #b1a8ff; outline-offset: 6px; border-radius: 4px; }
.ps-stage.is-trialing :is(.ps-chain, .ps-held, .ps-try, .ps-browse) { display: none; }
/* NEW, the shelf under the winners: "TSB fixed 4 losing YouTube strategies" (coordinator 22 Nov, Igor «показывать надо и
   отрицательные … но когда будет все красное то тоже не круто», «вообще не понятно что это», then «согл» on this look,
   23 Nov). The winners' card with its picture on top; four share a desktop row (each two winners wide), two a tablet's,
   one a phone's. Every line has a fixed height so the four align: the title two lines at most, the creator one, the small
   label, the money "−$9,758 → +$32,976" on one line, the fix. A link each to the video's page at TSB's fix. */
.ps-held.is-fixed { margin-top: 48px; }
.ps-held.is-fixed .ps-winners { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px 24px; }
.ps-fixed-card { text-decoration: none; }
/* the winners open their page now (23 Nov): a link, no underline; the name underlines on hover */
a.ps-winner { text-decoration: none; }
a.ps-winner:hover .ps-winner-name { text-decoration: underline; text-underline-offset: 3px; }
.ps-fixed-name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 48px; margin-top: 12px; font: 500 16px/24px var(--lr-font); color: var(--st-ink); text-wrap: pretty; }
.ps-fixed-card:hover .ps-fixed-name { text-decoration: underline; text-underline-offset: 3px; }
.ps-fixed-card .ps-fixed-by { align-self: stretch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-fixed-label { margin-top: 16px; font: 400 14px/20px var(--lr-font); color: var(--st-muted); white-space: nowrap; }
.ps-fixed-money { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-fixed-card .ps-fixed-money b { margin: 0; font: 600 24px/32px var(--lr-font); letter-spacing: -0.02em; color: var(--ct-gain); }
.ps-fixed-card .ps-fixed-money b[data-tone="loss"] { color: var(--ct-loss); }
.ps-fixed-card .ps-fixed-money b[data-tone="flat"] { color: var(--ct-flat); }
.ps-fixed-arrow { font: 400 20px/32px var(--lr-font); color: var(--st-muted); }
.ps-fixed-what { margin-top: 8px; font: 500 14px/20px var(--lr-font); color: var(--st-ink); }
.ps-fixed-what em { font-style: normal; font-weight: 400; color: var(--st-muted); white-space: nowrap; }
@media (max-width: 700px) { .ps-held.is-fixed { margin-top: 40px; } }
/* one card a row on a phone: nothing to line up with, no blank line under a one-line title */
@media (max-width: 623px) { .ps-fixed-name { min-height: 0; } }
.ps-stage.is-trialing .ps-hero-ask { grid-column: 1 / -1; }
.ps-stage-hero.is-split .ps-trial-live { width: auto; margin: 28px var(--st-edge) 0; } /* the trial on the container's edges */
/* NEW, a long reading (Igor 22 Nov «при распознавании если много правил — сетка ломается»: 13 rules ran far below the
   account, a hole under the chart, the way on pushed down). On a desktop the rules column takes no height of its own
   (contain: size): the account column sets the row and the rules fill it, scrolling inside themselves past that, a soft
   fade at the bottom while more is below; "TSB runs" stays under the list, outside the scroll. A tablet caps the list; a
   phone shows the first five and "Show all N rules". A short reading looks as before: no scroll area, no fade.
   assets/public-strategies.js keeps the rule being read in view and marks the list .is-clipped / .is-end. */
.ps-trial-rules { position: relative; }
.ps-trial-rules.is-clipped:not(.is-end) { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent); }
.ps-trial-rules-all { display: none; }
@media (min-width: 1101px) {
    .ps-trial-said { display: flex; flex-direction: column; align-self: stretch; min-height: 0; overflow-y: auto; contain: size; }
    .ps-trial-said > * { flex: none; }
    .ps-trial-said > .ps-trial-rules { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
}
@media (min-width: 701px) and (max-width: 1100px) {
    .ps-trial-rules { max-height: 336px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
}
@media (max-width: 700px) {
    .ps-trial-rules:not(.is-all) > li:nth-child(n+6):not(.is-now) { display: none; }
    .ps-trial-rules-all:not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 0; padding: 0; border: 0; background: none; font: 500 14px/20px var(--lr-font); color: #b9b1f1; cursor: pointer; }
}
/* The way on sits right under the replay's controls at every moment (coordinator 22 Nov, Igor «и что это?» on a 200 px
   hole there): the video's answers and its other markets were kept as invisible space through the replay; now they take
   no room until the verdict and come under the buttons, so nothing above them moves when they appear. TSB's version
   keeps its line over the buttons, shown with the verdict. */
.ps-trial-live :is(.ps-trial-fixed, .ps-trial-variants, .ps-trial-markets).is-later { display: none; }
.ps-trial-actions > :is(.ps-trial-variants, .ps-trial-markets) { order: 2; margin-top: 8px; }
/* NEW, waiting in line for the engine (coordinator 22 Nov, trial-queue and trial-joined): the wait is the panel's message.
   Under the video's head the server's first sentence as its heading, the rest under it, smaller than a stop's message (a
   wait is not an answer; Igor 22 Nov «может мельче?», 24/16, 20/15 on a phone), a thin accent line that moves (still where motion is reduced); no account, no chart, no rules column until its turn: the
   panel is as tall as what it says. assets/public-strategies.js sets data-state "queue" and writes the words. */
.ps-trial-queue { display: none; }
.ps-trial-live[data-state="queue"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "main"; }
.ps-trial-live[data-state="queue"] .ps-trial-queue { display: block; }
.ps-trial-live[data-state="queue"] :is(.ps-trial-said, .ps-trial-answer, .ps-trial-market, .ps-trial-help, .ps-trial-actions) { display: none; }
/* A wait, not a stop: smaller than the stop states' message (Igor 22 Nov «может мельче?»), one line on the phone. */
.ps-trial-queue-title { max-width: 760px; margin: 0; font: 500 24px/32px var(--lr-font); letter-spacing: -0.02em; color: #f4f3f7; text-wrap: balance; }
.ps-trial-queue-line { max-width: 640px; margin: 8px 0 0; font: 400 16px/24px var(--lr-font); color: #a3a1ae; text-wrap: pretty; }
.ps-trial-queue-line:empty { display: none; }
.ps-trial-live[data-state="queue"] .ps-trial-source { white-space: normal; text-wrap: pretty; } /* the video named in full while it waits: it is all the panel shows of it */
.ps-trial-queue-bar { position: relative; display: block; max-width: 640px; height: 2px; margin: 24px 0 4px; overflow: hidden; border-radius: 1px; background: rgba(255, 255, 255, .08); }
.ps-trial-queue-bar::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 1px; background: #9d93f0; animation: ps-trial-queue 1.6s ease-in-out infinite; }
@keyframes ps-trial-queue { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .ps-trial-queue-bar::before { width: 100%; opacity: .6; animation: none; } }
@media (max-width: 700px) { .ps-trial-queue-title { font-size: 20px; line-height: 28px; } .ps-trial-queue-line { font-size: 15px; line-height: 22px; } }
/* NEW, a test that can't go on (coordinator 22 Nov; Igor «халтура» on the framed box under the hero): in the hero's own
   place and type, no frame. The video it was about; the message at the section heading's size where the lead was; one
   line on what to do at the lead's 20; one way on in the field's own button; "or come back on Dec 1" quiet beside it. The
   field stays only where another video is the way on (.is-shut hides it); the chain beside it is the tested video
   meanwhile (assets/public-strategies.js halted()). */
.ps-stop[hidden], .ps-stop-go[hidden], .ps-stop-video[hidden] { display: none; }
.ps-stage.is-stopped .ps-hero-ask .ps-stage-lead, .ps-stage.is-shut .ps-hero-ask .ps-stage-tool { display: none; }
.ps-stop { margin: 0 0 28px; }
.ps-stop-video { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0 0 16px; font: 400 14px/20px var(--lr-font); color: var(--st-muted); }
.ps-stop-video img { flex: none; width: 64px; height: 36px; border-radius: 4px; object-fit: cover; background: var(--ct-shot); }
.ps-stop-video > span { min-width: 0; text-wrap: pretty; }
.ps-stop-video b { font-weight: 600; color: var(--st-ink); }
.ps-stop-title { margin: 0; font: 500 clamp(28px, 2.4vw, 36px)/1.15 var(--lr-font); letter-spacing: -0.03em; color: var(--st-ink); text-wrap: balance; }
.ps-stop-title:focus { outline: none; }
.ps-stop-line { max-width: 560px; margin: 12px 0 0; font: 400 20px/28px var(--lr-font); color: var(--st-muted); text-wrap: pretty; }
.ps-stop-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
/* the field's own button (.ps-paste button): one primary on the screen */
.ps-stop-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border: 1px solid rgba(141, 127, 243, .36); border-radius: 6px; background: var(--lr-accent);
    font: 600 16px/24px var(--lr-font); color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s; }
.ps-stop-btn:hover { background: #5448ce; }
.ps-stop-btn:focus-visible { outline: 2px solid #b9b1f1; outline-offset: 3px; }
.ps-stop-back { font: 400 16px/24px var(--lr-font); color: var(--st-muted); }
.ps-stage.is-stopped .ps-stop + .ps-stage-tool { margin-top: 0; }
.ps-stage.is-shut .ps-stop { margin-bottom: 0; } /* no field under it: the way on, then "Explore all" */
.ps-chain-k-stop { display: none; }
.ps-stage.is-stopped .ps-chain-k-on { display: none; }
.ps-stage.is-stopped .ps-chain-k-stop { display: inline; }
@media (max-width: 700px) {
    .ps-stop-line { font-size: 16px; line-height: 24px; }
    .ps-stop-go { margin-top: 20px; }
    .ps-stop-btn { width: 100%; }
}

/* The families as A's (Igor 22 Nov: all open, not B's accordion), beside B's intro that stays in view while they scroll */
.ps-kinds.is-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ps-kinds-intro { position: sticky; top: calc(var(--lr-nav-h, 64px) + 32px); grid-column: 1 / span 4; padding-right: 32px; }
.ps-kinds.is-split .ps-kinds-intro h2 { margin: 0 0 20px; }
.ps-kinds-intro p { max-width: 340px; margin: 0; font: 400 16px/24px var(--lr-font); color: var(--st-muted); text-wrap: pretty; }
.ps-kinds.is-split .ps-kc-list { grid-column: 6 / span 7; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } /* Igor 22 Nov «и во втором блоке такая проблема под кнопками» */
.ps-kinds.is-split .ps-kc { display: flex; flex-direction: column; min-width: 0; padding-top: 20px; border-top: 1px solid var(--ct-line); }
.ps-kinds.is-split .ps-kc h3 { min-height: 56px; } /* two lines: a row's counts and videos on one line */
.ps-kinds.is-split .ps-k-count { margin: 4px 0 16px; }
.ps-kinds.is-split .ps-kc-faces { margin: 0 0 12px; }
.ps-kinds.is-split .ps-k-why { margin: 0 0 8px; }
.ps-kc-all { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; min-height: 0; margin-top: auto; padding: 4px 0; font: 500 14px/20px var(--lr-font); color: #b9b1f1; text-decoration: none; }
.ps-kc-all:hover { color: #d7d1f7; text-decoration: underline; text-underline-offset: 3px; }

/* the catalog card's two ends in dollars above its line (A and B; assets/public-strategies-account.js writes them) */
.ps-card-ends { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 0; font: 400 12px/20px var(--lr-font); color: var(--ct-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-card-ends + .ps-path { margin-top: 4px; }

@media (max-width: 1100px) {
    .ps-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .ps-hero-ask, .ps-chain { grid-column: 1 / -1; padding-right: 0; }
    .ps-chain { max-width: 680px; } /* the field's width */
    .ps-winners { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
    .ps-kinds-intro { grid-column: 1 / span 4; padding-right: 0; }
    .ps-kinds.is-split .ps-kc-list { grid-column: 5 / span 8; grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .ps-kinds.is-split .ps-kc h3 { min-height: 0; }
}
@media (max-width: 700px) {
    .ps-stage-hero.is-split { padding-top: 32px; }
    .ps-hero-grid { gap: 40px; }
    .ps-hero-ask h1 { margin: 0 0 20px; font-size: 40px; line-height: 44px; letter-spacing: -0.04em; white-space: normal; text-wrap: balance; }
    .ps-hero-ask h1 br { display: none; }
    .ps-hero-ask h1 span { display: block; }
    .ps-hero-ask .ps-stage-lead { margin-bottom: 20px; font-size: 16px; line-height: 24px; }
    .ps-browse { margin-top: 20px; }
    .ps-chain-steps > li { padding-left: 40px; }
    .ps-chain-video { grid-template-columns: 128px minmax(0, 1fr); gap: 12px; align-items: start; }
    .ps-chain-yt { width: 34px; height: 24px; }
    .ps-chain-rules li { grid-template-columns: 56px minmax(0, 1fr); font-size: 14px; line-height: 20px; }
    .ps-chain-rules time { line-height: 20px; }
    .ps-chain-money b { font-size: 32px; line-height: 40px; }
    .ps-chain-account > .ps-chain-node { top: 6px; }
    .ps-chain-steps > li.ps-chain-prices::before { bottom: -2px; }
    .ps-chain-money em { font-size: 20px; line-height: 28px; }
    .ps-chain-path { height: 104px; }
    .ps-held { margin-top: 40px; }
    .ps-held-head { display: block; margin-bottom: 16px; }
    .ps-held-head p { margin-top: 4px; }
    .ps-winners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .ps-winner b { font-size: 24px; line-height: 32px; }
    .ps-kinds.is-split { display: block; }
    .ps-kinds-intro { position: static; margin-bottom: 32px; }
    .ps-kinds.is-split .ps-kc-list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (prefers-reduced-motion: reduce) { .ps-winner, .ps-winner img, .ps-chain-yt { transition: none; } }
/* the result's way into an account (Igor 26 Nov): in the actions' row beside "Test another video", in its words' look
   («кнопки и ссылки развалились»: no margin of its own, the same line height) */
.ps-trial-mine { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font: 600 14px/1 var(--lr-font); }
.ps-trial-mine a { color: #fff; text-decoration: none; }
.ps-trial-mine a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ps-trial-mine span { font: 400 13px/1 var(--lr-font); color: #b9b0ee; }
/* a video its author took down: its player says so (assets/public-yt-gone.js) */
.ps-video-gone { display: flex; align-items: center; justify-content: center; min-height: 180px; padding: 24px; border-radius: 8px; background: var(--ps-raised, rgba(255, 255, 255, .04)); color: var(--ps-ink-2, #8a8496); font-size: 14px; line-height: 22px; text-align: center; text-wrap: balance; }
.ps-ap-thumb .ps-video-gone { position: absolute; inset: 0; min-height: 0; border-radius: 0; }
/* TSB kept the picture: it stays, dimmed, with the note along its foot */
[data-yt-gone] img { filter: grayscale(.5) brightness(.6); }
[data-yt-gone] a, [data-yt-gone] button, a[data-yt-gone], button[data-yt-gone] { cursor: default; }
.ps-video-gone.is-over { position: absolute; inset: auto 0 0; min-height: 0; justify-content: flex-start; padding: 12px 16px; border-radius: 0; background: rgba(12, 10, 20, .84); color: #f4f3f7; font-size: 13px; line-height: 20px; text-align: left; }
.ps-chain-shot .ps-video-gone, .ps-chain-shot .ps-video-gone.is-over { position: absolute; inset: auto 0 0; min-height: 0; padding: 6px 8px; font-size: 12px; line-height: 16px; }
/* a removed video's time marks stay as plain times: no play mark, no hover */
span.ps-ap-at { pointer-events: none; }
span.ps-ap-at::before { content: none; }

/* A filter nothing was tested on: what was asked for and the way back, the page's own button */
.ps-none-here { padding: 48px 0 24px; }
.ps-none-title { margin: 0; font: 600 24px/32px var(--lr-font); color: #f4f3f7; }
.ps-none-here .ps-show-all { margin: 24px 0 0; text-align: left; }
.ps-none-all { display: inline-flex; align-items: center; height: 52px; padding: 0 32px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 6px; background: rgba(255, 255, 255, .06); font: 600 16px/24px var(--lr-font); color: #f4f3f7; text-decoration: none; transition: border-color .16s, background .16s; }
.ps-none-all:hover { border-color: #b9b1f1; background: rgba(185, 177, 241, .08); }


/* The site bar dark while it stands over a strategy page's dark head, white again once the page's light part is under it
   (Igor 29 Nov «может тут и под шапкой темное сделать… иначе странно смотрится полоса белая?» → «Да, так»), and on the whole
   gallery, dark from top to footer (Igor 29 Nov «тут шапка белая почему-то»): solid, never
   see-through (20 Nov); the menus keep their white panels; the phone's open menu is white as everywhere. From the first
   paint by :has(), assets/public-strategies-page.js adds .is-past-dark on the way down. */
:is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav:not(.is-past-dark):not(.is-open) {
    --lr-nav-muted: #a3a1ae; --lr-nav-quiet: #c9c5d3; --lr-nav-soft: rgba(255, 255, 255, .08); --lr-nav-current: rgba(255, 255, 255, .12);
    background: #0c0c10; border-bottom-color: rgba(255, 255, 255, .08); color: #f4f3f7;
}
:is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav { transition: background-color 160ms ease, border-color 160ms ease; }
:is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav:not(.is-past-dark):not(.is-open) .lr-brand img { filter: brightness(0) invert(1); }
:is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav:not(.is-past-dark):not(.is-open) .lr-brand span::before { background: rgba(255, 255, 255, .16); }
:is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav:not(.is-past-dark):not(.is-open) :is(.lr-nav-trigger:hover, .lr-nav-trigger[aria-expanded="true"], .lr-nav-item.is-current > .lr-nav-trigger, .lr-nav-login, .lr-nav-toggle) { color: #f4f3f7; }
:is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav:not(.is-past-dark):not(.is-open) .lr-nav-trigger[aria-expanded="true"] .lr-nav-chevron { color: #f4f3f7; }
@media (prefers-reduced-motion: reduce) { :is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav { transition: none; } }
/* its menus stay white (the brand map's logos are drawn for light; one menu across the site), each a card of its own 8 under
   the dark bar with all four corners round, not a white sheet glued to the bar (Igor 29 Nov «не меняем?» on Resources) */
:is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav:not(.is-past-dark):not(.is-open) .lr-nav-panel { top: calc(100% + 8px); border-top: 1px solid var(--lr-line); border-radius: var(--lr-nav-radius-card); }
.ps-ap-t.is-end { font-size: 16px; }
/* the white menus keep the bar's light greys: the dark bar's own greys are for the bar only (Igor 29 Nov «такое тусклое и
   было?» on "What's new", greyed by the bar's dark values) */
:is(body:has(.ps-head-ap), body.ps-page-index) .lr-nav .lr-nav-panel { --lr-nav-muted: #6b6b75; --lr-nav-quiet: #55555f; --lr-nav-soft: #f4f4f7; --lr-nav-current: #eeeef2; }

/* One button family on the strategy page, the landing's pills (Igor 29 Nov, three styles on one sheet,
   docs/product/design/strategy-polish-2026-11-29/buttons.html → B, «ок»): the main step the indigo pill; a second step a soft
   fill, quieter than the main one but never an empty frame (on the dark head white at 10%, on white the soft grey); "Show 8
   more" and "See all … strategies" sized to their words, not a 1,400 px band. */
.ps-ap-actions .lr-button { border-radius: 999px; }
.ps-head-ap .lr-button-outline { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .1); }
.ps-head-ap .lr-button-outline:hover { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .16); }
body .ps-hero-fix.is-locked .ui-lock-go { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .1); color: var(--ps-ink); }
body .ps-hero-fix.is-locked .ui-lock-go:hover { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .16); text-decoration: none; }
.ps-article .mr-sheet-foot { justify-content: center; }
.ps-related-foot { display: flex; justify-content: center; }
.ps-article :is(.mr-sheet-foot :is([data-mr-all], [data-mr-list-more]), .ps-related-all) { flex: none; min-height: 48px; border: 0; background: #f1f1f6; color: var(--lr-ink); }
.ps-article :is(.mr-sheet-foot :is([data-mr-all], [data-mr-list-more]), .ps-related-all):hover { background: #e8e8f0; }

/* "Will it work for you?" tidied (Igor 29 Nov «не аккуратно»): no tinted first cell (one tinted cell of three read random);
   each door's icon 20 on its title's line, not 32 hanging in the corner; the sheet's text on the page's edges (the first
   cell flush left, the last flush right, 24 either side of each hairline); the app's line under it one line wide. */
.ps-door { padding: 24px; }
.ps-door:first-child { padding-left: 0; } .ps-door:last-child { padding-right: 0; }
.ps-door.is-main, .ps-door:hover, .ps-door.is-main:hover { background: none; }
.ps-door > .ps-icon { top: 28px; right: auto; left: 24px; width: 20px; height: 20px; }
.ps-door:first-child > .ps-icon { left: 0; }
.ps-door-title { padding: 0 0 0 32px; }
.ps-article .ps-max-line { max-width: none; }
@media (max-width: 1099px) { .ps-door, .ps-door:first-child, .ps-door:last-child { padding: 24px 0; } .ps-door > .ps-icon { left: 0; } }
/* the video's words under its picture start on the figures' hairline, one line across both columns (Igor 29 Nov «сбито?»: the
   words stood 3 px off the strip beside them); assets/public-strategies-page.js sets the gap, so a page whose grey line runs
   to two lines keeps them on one line too */
@media (min-width: 1100px) { .ps-ap-src-text { padding-top: 16px; border-top: 1px solid var(--ps-line); } }
/* the report's foot on one line: the volume note, then How the simulation works after it (Igor 29 Nov «в одну можно? и дырка
   внизу будет меньше»); two lines again only where they don't fit */
.ps-article .mr-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.ps-article .mr-foot .mr-foot-lines, .ps-article .mr-foot .mr-foot-link { flex: none; max-width: 100%; }
/* the report's switch fits a phone (Igor 29 Nov, 390: "Performance summary" ran out of its box on the left): the box the
   column's width, two equal halves, the words without their icons */
@media (max-width: 559px) {
    .ps-article .mr-section-tools:has(> .app-view-toggle) { width: 100%; }
    .ps-article .app-view-toggle { width: 100%; min-width: 0; }
    .ps-article .app-view-toggle-btn { flex: 1 1 0; min-width: 0; padding: 0 8px; }
    .ps-article .app-view-toggle-btn :is(svg, i) { display: none; }
}

/* The gallery in the same button family as a strategy page (29 Nov, pills B): "Show all 67" a soft pill on the dark page */
.ps-show-all button { height: 48px; padding: 0 28px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .1); }
.ps-show-all button:hover { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .16); }
/* the eight that held up in two rows of four on a tablet (three a row left a hole beside the last two) */
@media (min-width: 560px) and (max-width: 1100px) { .ps-held:not(.is-fixed) .ps-winners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* The replayed test shows it is working while it reads the video (Igor 29 Nov «не хватает пульсации блоку или анимации
   распознавания… как ии, типа идет процесс»): while the rules are being read, a scan line runs down the video's picture,
   its tag says "Reading" with a live dot, the label's dot pulses, the rule being read shimmers as it is written and its
   minute chip lights; the card's edge breathes in the accent. All of it stops when the market replay starts; nothing moves
   with reduced motion. */
@keyframes ps-live-scan { 0% { transform: translateY(-30%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(330%); opacity: 0; } }
@keyframes ps-live-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes ps-live-shimmer { from { background-position: 120% 0; } to { background-position: -20% 0; } }
@keyframes ps-live-edge { 0%, 100% { border-color: rgba(255, 255, 255, .12); } 50% { border-color: rgba(157, 147, 240, .45); } }
.ps-live[data-phase="reading"] { animation: ps-live-edge 2.4s ease-in-out infinite; }
.ps-live[data-phase="reading"] .ps-live-thumb::after { content: ''; position: absolute; inset: 0 0 auto; height: 30%; pointer-events: none;
    background: linear-gradient(180deg, rgba(157, 147, 240, 0) 0%, rgba(157, 147, 240, .35) 88%, #e4dffb 97%, #e4dffb 99%, rgba(228, 223, 251, 0) 100%);
    box-shadow: 0 1px 0 rgba(228, 223, 251, .6);
    animation: ps-live-scan 1.8s cubic-bezier(.45, 0, .55, 1) infinite; }
.ps-live[data-phase="reading"] .ps-live-thumb img { filter: brightness(.8) saturate(.8); transition: filter .4s ease; }
.ps-live[data-phase="reading"] .ps-live-thumb span { font-size: 0; display: inline-flex; align-items: center; gap: 6px; }
.ps-live[data-phase="reading"] .ps-live-thumb span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #9d93f0; animation: ps-live-pulse 1.2s ease-in-out infinite; }
.ps-live[data-phase="reading"] .ps-live-thumb span::after { content: 'Reading the video'; font: 500 12px/1 var(--lr-font); color: #efedf5; }
.ps-live[data-phase="reading"] .ps-live-label > span:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #9d93f0; vertical-align: 1px; animation: ps-live-pulse 1.2s ease-in-out infinite; }
.ps-live[data-phase="reading"] .ps-live-window li.is-now > span { color: transparent; background: linear-gradient(90deg, #f0edf6 0%, #f0edf6 40%, #c9c2f7 50%, #f0edf6 60%, #f0edf6 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; animation: ps-live-shimmer 1.6s linear infinite; }
.ps-live[data-phase="reading"] .ps-live-window li.is-now time { border-color: rgba(157, 147, 240, .55); background: rgba(157, 147, 240, .14); color: #e4dffb; }
@media (prefers-reduced-motion: reduce) {
    .ps-live[data-phase="reading"], .ps-live[data-phase="reading"] .ps-live-thumb span::before, .ps-live[data-phase="reading"] .ps-live-label > span:first-child::before, .ps-live[data-phase="reading"] .ps-live-window li.is-now > span { animation: none; }
    .ps-live[data-phase="reading"] .ps-live-thumb::after { display: none; }
}
/* the card's back light (Igor 29 Nov «фон светится как на теликах или ютубе»; the blurred cover «грязно и дешево»): two clean
   ways to pick from (?glow=tone, ?glow=brand), light as a soft gradient, never a blurred picture */
.ps-watch { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; isolation: isolate; }
.ps-watch > .ps-live, .ps-watch > .ps-live-ambient { grid-row: 2; grid-column: 1; }
.ps-live-ambient { z-index: -1; align-self: stretch; justify-self: stretch; margin: -56px -72px; pointer-events: none; opacity: 0; transition: opacity 1s ease; }
.ps-live-ambient.is-tone { background: radial-gradient(60% 70% at 30% 35%, rgba(var(--glow, 157, 147, 240), .26), transparent 70%), radial-gradient(50% 60% at 80% 70%, rgba(var(--glow, 157, 147, 240), .12), transparent 70%); }
.ps-live-ambient.is-brand { background: radial-gradient(52% 60% at 50% 46%, rgba(98, 86, 226, .55), rgba(98, 86, 226, .12) 62%, transparent 76%); }
.ps-live-ambient.is-on { opacity: 1; }
.ps-live-ambient.is-brand.is-on { opacity: .7; }
.ps-live[data-phase="reading"] ~ .ps-live-ambient, .ps-live-ambient.is-brand.is-on:has(+ .ps-live[data-phase="reading"]) { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ps-live-ambient { transition: none; } }
/* room under the card for its light to fade inside the stage (the stage clips; it cut the glow in a hard line): the 72 above
   "All 65 tests" moves from the catalog's top into the stage's foot, so the two stand as far apart as before */
.ps-page-index .ps-stage:has(.ps-watch .ps-live-ambient) { padding-bottom: 72px; }
.ps-page-index .ps-stage:has(.ps-watch .ps-live-ambient) + .ps-index { padding-top: 0; }
.ps-page-index .ps-stage.is-trialing { padding-bottom: 0; }
.ps-page-index .ps-stage.is-trialing + .ps-index { padding-top: 72px; }

/* "What held up, and what didn't." as a scoreboard (Igor 29 Nov «C»; design/strategy-gallery-kinds-2026-11-29/C): a row a
   family, the score large, the name and one sentence, the videos as the row (green edge made money, greyed lost, stamped
   wiped out), the answer as the heading's grey second line. */
.ps-kinds.is-board h2 { margin: 0; font: 500 44px/48px var(--lr-font); letter-spacing: -0.03em; color: var(--st-ink); }
.ps-kinds.is-board h2 span { display: block; color: var(--st-muted); }
.ps-sb { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ct-line); }
.ps-sb-row { display: grid; grid-template-columns: 168px minmax(0, 340px) minmax(0, 1fr); gap: 0 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--ct-line); }
.ps-sb-n { display: flex; align-items: baseline; gap: 4px; margin: 0; font-variant-numeric: tabular-nums; }
.ps-sb-n b { font: 600 56px/56px var(--lr-font); letter-spacing: -0.04em; color: #f0928b; }
.ps-sb-row[data-tone="gain"] .ps-sb-n b { color: #7fd3a2; }
.ps-sb-n i { font: 500 24px/28px var(--lr-font); font-style: normal; color: var(--st-muted); }
.ps-sb-cap { margin: 6px 0 0; font: 400 12px/20px var(--lr-font); color: var(--st-muted); }
.ps-sb-cap em { font-style: normal; color: #f0928b; }
.ps-kinds.is-board h3 { margin: 0; font: 500 20px/28px var(--lr-font); letter-spacing: -0.01em; color: var(--st-ink); }
.ps-sb-why { margin: 6px 0 0; font: 400 14px/22px var(--lr-font); color: var(--st-muted); text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.ps-sb-text .ps-kc-all { margin-top: 10px; }
.ps-sb-faces { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ps-sb-faces a { display: block; color: inherit; text-decoration: none; }
.ps-sb-shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #201e29; }
.ps-sb-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .2s ease; }
.ps-sb-tile[data-v~="gain"] .ps-sb-shot { outline: 2px solid #7fd3a2; outline-offset: -2px; }
.ps-sb-tile:is([data-v~="loss"], [data-v~="flat"]) .ps-sb-shot img { filter: grayscale(.6) brightness(.6); }
.ps-sb-tile[data-v~="wiped"] .ps-sb-shot img { filter: grayscale(1) brightness(.45); }
.ps-sb-tile a:hover .ps-sb-shot img { filter: none; }
.ps-sb-shot em { position: absolute; inset: auto 0 0; padding: 3px 6px; background: rgba(240, 146, 139, .92); font: 600 11px/14px var(--lr-font); font-style: normal; text-align: center; color: #1a0d0c; }
.ps-sb-faces b { display: block; margin-top: 6px; font: 600 14px/20px var(--lr-font); font-variant-numeric: tabular-nums; color: #f0928b; }
.ps-sb-tile[data-v~="gain"] b { color: #7fd3a2; } .ps-sb-tile[data-v~="flat"] b { color: var(--st-muted); }
.ps-sb-more a { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; font: 500 14px/20px var(--lr-font); color: #c9c5d3; }
.ps-sb-more a:hover { border-color: #9d93f0; color: var(--st-ink); }
.ps-sb-more.is-narrow { display: none; }
.ps-sb-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; font: 400 12px/20px var(--lr-font); color: var(--st-muted); }
.ps-sb-key span { display: inline-flex; align-items: center; gap: 8px; }
.ps-sb-key i { display: inline-block; width: 20px; height: 12px; border-radius: 3px; background: #3a3846; }
.ps-sb-key .is-gain i { background: #2a3a31; outline: 2px solid #7fd3a2; outline-offset: -2px; } .ps-sb-key .is-wiped i { background: rgba(240, 146, 139, .92); }
@media (max-width: 1100px) {
    .ps-sb-row { grid-template-columns: 120px minmax(0, 1fr); gap: 16px 24px; }
    .ps-sb-faces { grid-column: 1 / -1; }
    .ps-sb-n b { font-size: 44px; line-height: 48px; }
}
@media (max-width: 700px) {
    .ps-kinds.is-board h2 { font-size: 32px; line-height: 40px; }
    .ps-sb-row { grid-template-columns: 88px minmax(0, 1fr); }
    .ps-sb-n b { font-size: 40px; line-height: 44px; } .ps-sb-n i { font-size: 20px; }
    .ps-sb-faces { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .ps-sb-tile.is-wide, .ps-sb-more.is-wide { display: none; }
    .ps-sb-more.is-narrow { display: block; }
}
.ps-sb-key span.is-gain { color: var(--st-muted); }
@media (max-width: 700px) {
    .ps-kinds.is-board h2 span { font-size: 24px; line-height: 32px; margin-top: 8px; } /* the answer a step under the title on a phone */
    .ps-sb-cap span { display: none; } .ps-sb-cap em { display: block; } /* "held up", then "1 wiped out" on its own line */
}
/* The AI light under the panel (Igor 29 Nov «распознавателю… магических эффект свечения типа ии?» → «я же просил под панелью
   именно свечение, а на картинке обложке пусть линия ходит»): a soft light in the accent, violet and turquoise that slowly
   turns under the whole card, quiet while the market replays and bright while the rules are read; the cover keeps its scan
   line. A gradient blurred, never a picture (the blurred cover read «грязно»). Still with reduced motion. */
@property --ps-ai { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ps-ai-turn { to { --ps-ai: 360deg; } }
.ps-live-ambient.is-ai { margin: -24px -32px; border-radius: 40px; filter: blur(48px);
    background: conic-gradient(from var(--ps-ai) at 50% 50%, rgba(111, 92, 240, .9), rgba(157, 147, 240, .75), rgba(94, 231, 208, .7), rgba(201, 194, 247, .6), rgba(111, 92, 240, .9));
    animation: ps-ai-turn 9s linear infinite; }
.ps-live-ambient.is-ai.is-on { opacity: .28; }
.ps-live-ambient.is-ai.is-on:has(+ .ps-live[data-phase="reading"]) { opacity: .7; animation-duration: 3.2s; }
@media (prefers-reduced-motion: reduce) { .ps-live-ambient.is-ai { animation: none; } }
/* The horizon behind the panel (Igor 29 Nov, on the landing's dark statement «Your journal is for thinking.»: «вот кстати да,
   было похожее»): the panel is the planet, the landing's lit rim (.lr-horizon in landing-relaunch.css, its own shadow values)
   rises behind its top edge and curves down behind its sides; nothing below the panel, so the next block never cuts it.
   Brighter and breathing while the rules are read, steady while the market replays. */
.ps-live-ambient.is-horizon { margin: 0; position: relative; clip-path: inset(-320px -50vw 0 -50vw); }
/* the planet (the page's own dark, over the hatch) and its rim (the landing's shadow values) as two layers, so only the light dims */
.ps-live-ambient.is-horizon::before, .ps-live-ambient.is-horizon::after { content: ''; position: absolute; left: 50%; top: -44px; width: 160%; height: 260%; border-radius: 50%; transform: translateX(-50%); }
.ps-live-ambient.is-horizon::before { background: #0c0c10; }
.ps-live-ambient.is-horizon::after { box-shadow: 0 -1px 0 0 #7a72ff, 0 -6px 18px -2px rgba(98, 88, 255, .85), 0 -30px 70px -10px rgba(68, 58, 184, .7), 0 -80px 140px -20px rgba(68, 58, 184, .35); opacity: .5; } /* quieter than the landing's statement (Igor «не так нарочито») */
.ps-live-ambient.is-horizon.is-on { opacity: 1; }
@keyframes ps-horizon-breathe { 0%, 100% { opacity: .55; } 50% { opacity: .8; } }
.ps-live-ambient.is-horizon::after { transition: opacity 1.4s ease; } /* in and out smoothly, never a snap (Igor «не плавно») */
.ps-live-ambient.is-horizon.is-on:has(+ .ps-live[data-phase="reading"])::after { opacity: .8; }
@media (max-width: 1100px) { .ps-live-ambient.is-horizon::before, .ps-live-ambient.is-horizon::after { top: -24px; width: 300%; height: 220%; } } /* a tablet: a wider arc, never a line down the panel's sides (768 drew one) */
@media (max-width: 700px) { .ps-live-ambient.is-horizon::before, .ps-live-ambient.is-horizon::after { top: -14px; width: 420%; height: 200%; } } /* on a phone a soft arc over the top edge, never a line down the sides */
@media (prefers-reduced-motion: reduce) { .ps-live-ambient.is-horizon::after { transition: none; } }
/* the landing's hatch (.lr-dark-hatch) over the rim, fading out from it, under the planet; and its two hairlines down the
   column's edges (.lr-dark::before/::after), 24 outside the panel, from above the heading to the panel's foot */
.ps-hz-hatch { position: absolute; z-index: -1; left: -25%; right: -25%; top: -280px; height: 480px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 9px);
    -webkit-mask-image: radial-gradient(55% 75% at 50% 100%, #000 0, rgba(0, 0, 0, .55) 38%, transparent 72%); mask-image: radial-gradient(55% 75% at 50% 100%, #000 0, rgba(0, 0, 0, .55) 38%, transparent 72%); }
/* the texture over the rim, as over the landing's circle (Igor «как над кругом норм»): denser where the light is, gone far from it */
