/* The home pages tried on the editors' copy of the site (owner, 2026-09-27: «разработай 6 вариантов
   главной страницы… что-нибудь свежее»; «на реальном сайте это реально затестить?»). The page loads
   this sheet only while a look is tried (?home=1…7.5, kept in a cookie); /?home=0 ends it. The looks
   differ in structure: the type, the colours and the feed's classes are the site's own. */

.home-t3, .home-t6 { --wrap: 74rem; }
.home-t { padding-bottom: 4.5rem; } /* room for the switch */
.home-t.t-site { padding-bottom: 0; } /* the site's own look: readers have no switch */

/* The switch between the looks, at the foot of the window. */
.home-switch {
  position: fixed; left: 50%; bottom: max(.9rem, env(safe-area-inset-bottom)); z-index: 45;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: .15rem;
  max-width: calc(100% - 1.5rem);
  padding: .3rem; border-radius: .8rem;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 .5rem 1.75rem rgb(10 14 30 / .28);
  font: 500 .875rem/1 var(--sans);
}
.home-switch a { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .7rem; border-radius: .55rem; color: color-mix(in srgb, var(--paper) 62%, var(--ink)); white-space: nowrap; }
.home-switch a b { font: 500 .8125rem/1 var(--mono); }
.home-switch a:hover { color: var(--paper); }
.home-switch a[aria-current] { background: var(--accent); color: var(--paper); }
.home-switch { overflow-x: auto; scrollbar-width: none; }
.home-switch::-webkit-scrollbar { display: none; }
.home-switch-off i { font-style: normal; }
.home-switch .home-switch-off { margin-left: .2rem; padding-inline: .8rem .7rem; border-left: 1px solid color-mix(in srgb, var(--paper) 28%, var(--ink)); border-radius: 0 .55rem .55rem 0; font: 400 .8125rem/1 var(--mono); }
/* Eleven names in a row take a wide screen; on a narrower one the looks go by their numbers. */
@media (max-width: 108rem) {
  .home-switch a span { display: none; }
  .home-switch a { padding: .75rem .8rem; }
}
/* On a phone the editors' own switch («Анонсы») sits in the corner: the looks stand above it. */
@media (max-width: 46rem) {
  .home-t { padding-bottom: 7rem; }
  .home-switch { bottom: calc(3.6rem + env(safe-area-inset-bottom, 0px)); }
  .home-switch a { padding: .75rem .4rem; }
  .home-switch .home-switch-off { padding-inline: .55rem .45rem; }
  .home-switch-off i { display: none; }
}

/* A story's picture, or what stands for it. */
.t-pic { display: block; max-width: 100%; aspect-ratio: var(--ar, 16 / 9); overflow: hidden; border-radius: .45rem; background: var(--rule); }
.t-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.t-pic.is-tall img { object-position: 50% 12%; }
.t-pic.is-stand { display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 7%, var(--paper)); }
.t-pic.is-logo img { width: 30%; max-width: 5.5rem; height: auto; max-height: 58%; object-fit: contain; border-radius: .35rem; }
.t-pic.is-mono { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--paper)), color-mix(in srgb, var(--accent) 6%, var(--paper))); }
.t-pic.is-mono span { font: 600 clamp(1.75rem, 1.2rem + 2vw, 2.75rem)/1 var(--sans); letter-spacing: -.04em; color: var(--accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-pic.is-logo img { background: #fff; padding: .45rem; }
}
:root[data-theme="dark"] .t-pic.is-logo img { background: #fff; padding: .45rem; }
/* A source's photo is small: in a lead's wide frame it stands in the middle, round, not stretched. */
:is(.t1-lead, .t6-lead) > .t-pic.is-photo img { width: auto; height: 62%; max-height: 11rem; aspect-ratio: 1; border-radius: 50%; }

.t-top .hl-period { padding-bottom: .25rem; }
.home-t .highlights .ranked-meta { margin-top: .5rem; }

/* ——— 1. Первая полоса: one lead, three beside it, three headlines under them ——— */

.t1 { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); padding-top: 1.1rem; }
.t1-lead { padding-right: clamp(1.25rem, 3vw, 2.25rem); }
.t1-lead:only-child { grid-column: 1 / -1; padding-right: 0; }
.t1-lead .ranked-meta { margin-top: .95rem; }
.t1-lead .ranked-title { margin-top: .45rem; font-size: clamp(1.625rem, 1.05rem + 2.3vw, 2.5rem); font-weight: 650; line-height: 1.08; letter-spacing: -.035em; }
.t1-lead .ranked-summary { margin-top: .75rem; max-width: 36em; font-size: 1.0625rem; line-height: 1.5; }
.t1-why { margin-top: .6rem; max-width: 40em; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.t1-side { display: grid; align-content: start; gap: 1.35rem; padding-left: clamp(1.25rem, 3vw, 2.25rem); border-left: 1px solid var(--rule); }
.t1-second + .t1-second { padding-top: 1.35rem; border-top: 1px solid var(--rule); }
.t1-second .ranked-title { margin-top: .65rem; font-size: 1.125rem; line-height: 1.22; }
.t1-second.is-text .ranked-title { margin-top: 0; }
.t1-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.t1-more > li { padding-inline: clamp(1rem, 2vw, 1.5rem); border-left: 1px solid var(--rule); }
.t1-more > li:first-child { padding-left: 0; border-left: 0; }
.t1-more > li:last-child { padding-right: 0; }
.t1-more .ranked-title { font-size: 1.0625rem; line-height: 1.28; }
@media (max-width: 46rem) {
  .t1 { grid-template-columns: minmax(0, 1fr); padding-top: .9rem; }
  .t1-lead { padding-right: 0; }
  .t1-why { display: none; }
  .t1-side { gap: 0; margin-top: 1.1rem; padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .t1-second { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0 .8rem; align-items: start; padding-block: .7rem; }
  .t1-second + .t1-second { padding-top: .7rem; }
  .t1-second .t-pic { --ar: 1 / 1; grid-row: span 2; }
  .t1-second .ranked-title { margin-top: 0; font-size: 1rem; line-height: 1.3; }
  .t1-second.is-text { display: block; }
  .t1-more { grid-template-columns: minmax(0, 1fr); margin-top: 0; padding-top: 0; }
  .t1-more > li { padding: .7rem 0; border-left: 0; border-top: 1px solid var(--rule); }
  .t1-more .ranked-title { font-size: 1rem; }
}

/* ——— 2. Лесенка: no pictures, a headline's size says how much the story matters ——— */

.t2-lead { padding-block: clamp(1.25rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.1rem); }
.t2-lead .ranked-title { font-size: clamp(1.9rem, .9rem + 4.7vw, 4rem); font-weight: 700; line-height: 1.13; letter-spacing: -.045em; }
/* The first headline stands selected, the way the others get under the pointer. */
.t2-lead .ranked-title a, .t2-lead .ranked-title a:visited { color: var(--headline); }
.t2-lead .ranked-title a span { padding: 0 .12em; margin-left: -.12em; background: var(--select); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.t2-under { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem 2.5rem; align-items: end; margin-top: 1.2rem; }
.t2-under .ranked-summary { margin-top: 0; max-width: 36em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.5; }
.t2-under .ranked-meta { margin-top: 0; }
.t2-two, .t2-three { display: grid; border-top: 1px solid var(--rule); }
.t2-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t2-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t2-two > *, .t2-three > * { padding: 1.2rem clamp(1rem, 2.5vw, 1.75rem); border-left: 1px solid var(--rule); }
.t2-two > :first-child, .t2-three > :first-child { padding-left: 0; border-left: 0; }
.t2-two > :last-child, .t2-three > :last-child { padding-right: 0; }
.t2-two .ranked-title { font-size: clamp(1.25rem, .95rem + 1.2vw, 1.75rem); font-weight: 650; line-height: 1.14; letter-spacing: -.03em; }
.t2-two .ranked-summary { margin-top: .6rem; font-size: .9375rem; line-height: 1.5; }
.t2-three > * { padding-block: 1rem; }
.t2-three .ranked-title { font-size: 1.0625rem; line-height: 1.28; }

/* Its feed is a line a story: the time, the source, the headline. */
.home-t2 .day .item { grid-template-columns: 4rem 11.5rem minmax(0, 1fr); gap: 0 1rem; align-items: baseline; padding-block: .62rem; }
.home-t2 .day .item-meta { display: contents; }
.home-t2 .day .item-meta time { grid-column: 1; grid-row: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-t2 .day .item-source { grid-column: 2; grid-row: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; overflow-wrap: normal; }
.home-t2 .day .item-body { grid-column: 3; grid-row: 1; }
.home-t2 .day .item-title { font-size: 1.0625rem; font-weight: 550; line-height: 1.32; letter-spacing: -.01em; }
.home-t2 .day .item:not(.is-open) :is(.item-summary, .item-tags, .item-cover) { display: none; }
.home-t2 .day :is(.thread-upd, .item-longread) { display: none; }
/* A big release keeps its weight, not its frame: a frame round one line of many would shout. */
.home-t2 .day .item.is-major { margin: 0; padding-inline: 0; border: 0; border-radius: 0; background: none; }
.home-t2 .day .item.is-major .item-title { font-weight: 700; }
.home-t2 .day .item.is-major + .item, .home-t2 .day .item + .item.is-major { border-top: 1px solid var(--rule); }
@media (max-width: 46rem) {
  .t2-under { grid-template-columns: minmax(0, 1fr); }
  .t2-two, .t2-three { grid-template-columns: minmax(0, 1fr); }
  .t2-two > *, .t2-three > * { padding: .9rem 0; border-left: 0; border-top: 1px solid var(--rule); }
  .t2-two > :first-child, .t2-three > :first-child { border-top: 0; }
  .t2-two .ranked-summary { display: none; }
  .home-t2 .day .item { grid-template-columns: 3.6rem minmax(0, 1fr); gap: .15rem .5rem; }
  .home-t2 .day .item-source { grid-column: 2; grid-row: 2; }
  .home-t2 .day .item-body { grid-column: 2; grid-row: 1; }
  .home-t2 .day .item-title { font-size: 1rem; }
}

/* ——— 3. Лента и главное рядом: the feed leads, «Главное» stays in sight beside it ——— */

.home-t3 { --rail: 6.5rem; }
.t3-cols { display: grid; grid-template-columns: minmax(0, 1fr) 20.5rem; gap: 0 clamp(2rem, 4vw, 3.75rem); align-items: start; }
.t3-cols > .t3-feed:only-child { grid-column: 1; }
.t3-feed > .day:first-child { margin-top: .15rem; }
.home-t3 .item-title { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); }
.t3-side { position: sticky; top: .5rem; min-width: 0; }
.home-t3 .t3-side .day-label { padding-block: .9rem .7rem; }
.t3-list { display: grid; }
.t3-item { padding-block: .8rem; }
.t3-item + .t3-item { border-top: 1px solid var(--rule); }
.t3-item .t-pic { display: none; }
.t3-item.is-first { padding-top: 1rem; }
.t3-item.is-first .t-pic { display: block; margin-bottom: .7rem; }
.t3-item.is-first .t-pic.is-stand { display: grid; }
.t3-item .ranked-title { font-size: 1rem; line-height: 1.3; letter-spacing: -.012em; }
.t3-item.is-first .ranked-title { font-size: 1.1875rem; line-height: 1.22; letter-spacing: -.02em; }
.home-t3 .t3-item .ranked-meta { margin-top: .4rem; }
/* 3.5: a story without a picture of its own is its text. Beside the feed the first one says its
   teaser, the others their headline; in the phone's row every such card does, to the height of
   a picture. */
.t3-item.is-text .ranked-summary { display: none; margin-top: .45rem; max-width: none; font-size: .9375rem; line-height: 1.45; }
.t3-item.is-first.is-text .ranked-summary { display: block; }
.t3-all { display: block; padding-top: .8rem; border-top: 1px solid var(--rule); font: 400 .8125rem/1 var(--mono); color: var(--muted); }
@media (max-width: 62rem) {
  .t3-cols { grid-template-columns: minmax(0, 1fr); }
  .t3-side { position: static; order: -1; }
  /* A row of cards to thumb through, a little of the next one in sight. */
  .t3-list { grid-auto-flow: column; grid-auto-columns: min(74%, 17.5rem); gap: .9rem; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: .9rem var(--gutter) .4rem; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .t3-list::-webkit-scrollbar { display: none; }
  .t3-item, .t3-item.is-first { padding-block: 0; scroll-snap-align: start; }
  .t3-item + .t3-item { border-top: 0; }
  .t3-item .t-pic { display: block; margin-bottom: .6rem; }
  .t3-item .t-pic.is-stand { display: grid; }
  .t3-item .ranked-title, .t3-item.is-first .ranked-title { font-size: 1rem; line-height: 1.28; }
  .t3-item.is-text { padding-top: .1rem; border-top: 2px solid var(--ink); }
  .t3-item.is-text + .t3-item { border-top: 0; }
  .t3-item.is-text .ranked-title { padding-top: .6rem; }
  .t3-item.is-text .ranked-summary, .t3-item.is-first.is-text .ranked-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; font-size: .875rem; }
  .t3-all { margin-top: .6rem; border-top: 0; }
  .t3-feed > .day:first-child { margin-top: 1.25rem; }
}

/* ——— 4 and 7. Поток: one feed by time, the stories of the top stand in it large ——— */

.t4-short li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1.5rem; align-items: baseline; padding-block: .7rem; }
.t4-short li + li { border-top: 1px solid var(--rule); }
.t4-short .ranked-title { font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem); line-height: 1.25; }
.t4-short time { font: 400 .8125rem/1.35 var(--mono); color: var(--muted); white-space: nowrap; }
/* Headlines alone: no date beside them. */
.t4-short.is-plain li { grid-template-columns: minmax(0, 1fr); padding-block: .62rem; }

.t-stream .day .item { position: relative; grid-template-columns: 4rem minmax(0, 1fr); gap: 0 2rem; padding-block: .75rem; border-top: 0; }
/* The line of the day runs through every story, a dot on it at each; a story of the top has a full one. */
.t-stream .day .item::before { content: ""; position: absolute; top: 0; bottom: 0; left: 5rem; width: 1px; background: var(--rule); }
.t-stream .day .day-label + .item::before { top: 1.2rem; }
.t-stream .day .item:last-child::before { bottom: auto; height: 1.2rem; }
.t-stream .day .day-label + .item:last-child::before { display: none; }
.t-stream .day .item-meta { flex-direction: column; align-items: flex-end; padding-top: .2rem; text-align: right; }
.t-stream .day .item-meta time { font-variant-numeric: tabular-nums; }
/* The dots are about weight — a full blue one is a story of the top. What is new since the last
   visit says so by its time, in the accent: two meanings do not share one dot. */
.t-stream .day .item.is-new .item-meta time::before { display: none; }
.t-stream .day .item.is-new .item-meta time { color: var(--accent); font-weight: 500; }
.t-stream .day .thread-upd { font-size: .6875rem; }
.t-stream .day .item-body { position: relative; min-width: 0; }
.t-stream .day .item-body::before { content: ""; position: absolute; top: .5rem; left: calc(-1rem - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--muted), 0 0 0 5px var(--paper); }
.t-stream .day .item-title { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.012em; }
.t4-src { margin-top: .2rem; font: 400 .8125rem/1.35 var(--mono); color: var(--muted); }
.t-stream .day .item.is-big { padding-block: 1.5rem 1.7rem; }
.t-stream .day .item.is-big .item-meta { padding-top: .45rem; }
.t-stream .day .item.is-big .item-body::before { top: .7rem; left: calc(-1rem - 5.5px); width: 11px; height: 11px; background: var(--accent); box-shadow: 0 0 0 5px var(--paper); }
.t-stream .day .item.is-big .item-title { font-size: clamp(1.375rem, 1rem + 1.5vw, 2rem); line-height: 1.14; letter-spacing: -.028em; }
.t-stream .day .item.is-big .item-summary { margin-top: .7rem; }
.t-stream .day .item.is-big .t4-src { margin-top: .6rem; }
.t-stream .day .item.is-big.has-cover .item-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(11rem, 26%, 15rem); column-gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.t-stream .day .item.is-big.has-cover .item-body > * { grid-column: 1; }
.t-stream .day .item.is-big.has-cover .t-pic { --ar: 4 / 3; grid-column: 2; grid-row: 1 / span 6; margin-top: .35rem; }
@media (max-width: 46rem) {
  .t4-short li { grid-template-columns: minmax(0, 1fr); }
  .t4-short time { margin-top: .15rem; }
  .t-stream .day .item { grid-template-columns: 2.9rem minmax(0, 1fr); gap: 0 1.4rem; }
  .t-stream .day .item::before { left: 3.6rem; }
  .t-stream .day .item-meta { flex-wrap: nowrap; gap: .2rem; margin-bottom: 0; }
  .t-stream .day .item-body::before { left: calc(-.7rem - 3.5px); }
  .t-stream .day .item.is-big .item-body::before { left: calc(-.7rem - 5.5px); }
  .t-stream .day .item-title { font-size: 1rem; }
  .t-stream .day .item.is-big.has-cover .item-body { display: block; }
  .t-stream .day .item.is-big.has-cover .t-pic { --ar: 16 / 9; margin-top: .7rem; }
}

/* ——— 5. Кто что сделал: three headlines, then the companies and the people of the week ——— */

.t5-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t5-trio > * { padding: 1.1rem clamp(1rem, 2.5vw, 1.75rem) 1.3rem; border-left: 1px solid var(--rule); }
.t5-trio > :first-child { padding-left: 0; border-left: 0; }
.t5-trio > :last-child { padding-right: 0; }
.home-t5 .t5-trio .ranked-meta { margin-top: 0; }
.t5-trio .ranked-title { margin-top: .6rem; font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
.t5-trio .ranked-summary { margin-top: .5rem; font-size: .9375rem; line-height: 1.5; }

.t5-who { margin-top: clamp(1.25rem, 3vw, 2rem); }
.t5-who .day-label { position: static; }
.t5-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.t5-co { padding-block: 1.35rem 1.1rem; border-bottom: 1px solid var(--rule); }
.t5-head { display: flex; align-items: center; gap: .7rem; }
.t5-head .avatar { width: 2.25rem; border-radius: .55rem; }
.t5-head .avatar.is-person { border-radius: 50%; }
.t5-name { font-size: 1.25rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.1; }
.t5-n { margin-left: auto; font: 400 .8125rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
.t5-head:hover .t5-n { color: var(--accent); }
.t5-list { margin-top: .7rem; }
.t5-list li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0 .6rem; align-items: baseline; padding-block: .42rem; }
.t5-list time { font: 400 .75rem/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
.t5-list .ranked-title { font-size: .9375rem; font-weight: 500; line-height: 1.35; letter-spacing: -.005em; }
.t5-people .t5-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.t5-people .t5-list li { grid-template-columns: minmax(0, 1fr); }
.t5-people .t5-list time { order: 2; }
.t5-people .t5-name { font-size: 1.0625rem; }
@media (max-width: 46rem) {
  .t5-trio { grid-template-columns: minmax(0, 1fr); }
  .t5-trio > * { padding: .9rem 0; border-left: 0; border-top: 1px solid var(--rule); }
  .t5-trio > :first-child { border-top: 0; }
  .t5-trio .ranked-summary { display: none; }
  .t5-grid, .t5-people .t5-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ——— 6. Мозаика: pictures first, the lead's headline on a plate cut into its picture ——— */

.t6 { padding-top: 1.1rem; }
.t6-lead > .t-pic { --ar: 21 / 9; border-radius: .6rem; }
.t6-lead > .t-pic img { object-position: 50% 16%; }
.t6-plate { position: relative; width: min(100%, 47rem); margin-top: clamp(-7rem, -9vw, -3.5rem); padding: 1.3rem 2rem 0 0; border-top-right-radius: .6rem; background: var(--paper); }
.home-t6 .t6-plate .ranked-meta { margin-top: 0; }
.t6-plate .ranked-title { margin-top: .5rem; font-size: clamp(1.625rem, 1rem + 2.5vw, 2.75rem); font-weight: 650; line-height: 1.06; letter-spacing: -.038em; }
.t6-plate .ranked-summary { margin-top: .8rem; max-width: 36em; font-size: 1.0625rem; line-height: 1.5; }
.t6-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 2vw, 1.75rem); margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.t6-tile .t-pic { --ar: 3 / 2; }
.t6-tile .ranked-title { margin-top: .7rem; font-size: 1.0625rem; line-height: 1.26; letter-spacing: -.015em; }
.home-t6 .t6-tile .ranked-meta { margin-top: .4rem; }

/* Its feed runs in two columns; a big release takes both. */
.home-t6 .day { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.home-t6 .day > .day-label { grid-column: 1 / -1; }
.home-t6 .day > .item { display: block; padding-block: 1.15rem 1.25rem; border-top: 0; border-bottom: 1px solid var(--rule); }
.home-t6 .day > .item:last-child:nth-child(even), .home-t6 .day > .item.is-major, .home-t6 .day > .item.is-open { grid-column: 1 / -1; }
.home-t6 .day > .item.is-major { border-bottom-color: transparent; }
.home-t6 .day .item-meta { flex-direction: row; flex-wrap: wrap; gap: .25rem .75rem; padding-top: 0; margin-bottom: .35rem; }
.home-t6 .day .item-longread > span { display: inline; }
.home-t6 .day .item-title { font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); line-height: 1.22; }
.home-t6 .day .item:not(.is-open, .is-major) .item-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: .45rem; font-size: .9375rem; line-height: 1.5; }
.home-t6 .day .item:not(.is-open) .item-tags { display: none; }
/* 6.5: no stand-ins and no line of the source and the date. A story without a picture of its own
   is its text: the lead — its headline and teaser under the block's rule, a tile — a headline and
   a teaser where its neighbours' pictures begin, no rule above them. */
.home-t65 .t6-plate .ranked-title { margin-top: 0; }
.t6-lead.is-text .t6-plate { width: min(100%, 54rem); margin-top: 0; padding: .4rem 0 0; border-radius: 0; }
.t6-tile.is-text .ranked-title { margin-top: 0; }
.t6-tile.is-text .ranked-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; margin-top: .5rem; max-width: none; font-size: .875rem; line-height: 1.45; }
/* Its feed — and that of 8 — says a long story's reading time by a sign and the minutes, in the grey of the source
   beside them: the words «длинный текст» took the line from the source on a phone. They stay in
   the page for a screen reader. */
:is(.home-t65, .home-t8) { --read-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E"); }
:is(.home-t65, .home-t8) .day .item-longread { display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; color: var(--muted); }
:is(.home-t65, .home-t8) .day .item-longread > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:is(.home-t65, .home-t8) .day .item-longread::before { content: ""; flex: none; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--read-sign) center / contain no-repeat; mask: var(--read-sign) center / contain no-repeat; }
:is(.home-t65, .home-t8) .day .item-longread-min::before { content: none; }
@media (max-width: 46rem) {
  .t6 { padding-top: .9rem; }
  .t6-lead > .t-pic { --ar: 16 / 9; }
  .t6-plate { width: calc(100% - 1.25rem); margin-top: -1.75rem; padding: .85rem 1rem 0 0; }
  .t6-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .9rem; }
  .t6-tile .ranked-title { font-size: .9375rem; line-height: 1.3; }
  .t6-tile .ranked-meta time { display: none; }
  .home-t6 .day { grid-template-columns: minmax(0, 1fr); }
}
/* 6.5 on a phone: «Главное» is a row of cards to thumb through, as in 3.5 — the lead and the tiles
   alike, a picture and a headline each; a story without a picture is its headline and teaser. */
@media (max-width: 46rem) {
  .home-t65 .t6 { display: grid; grid-auto-flow: column; grid-auto-columns: min(74%, 17.5rem); gap: .9rem; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: .9rem var(--gutter) .4rem; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .home-t65 .t6::-webkit-scrollbar { display: none; }
  .home-t65 .t6-tiles { display: contents; }
  .home-t65 .t6 > .t6-lead, .home-t65 .t6-tile { min-width: 0; scroll-snap-align: start; }
  .home-t65 .t6 .t-pic { --ar: 16 / 9; margin-bottom: .6rem; border-radius: .45rem; }
  .home-t65 .t6 .t6-plate { width: auto; margin-top: 0; padding: 0; background: none; }
  .home-t65 .t6 .ranked-title { margin-top: 0; font-size: 1rem; font-weight: 600; line-height: 1.28; letter-spacing: -.012em; }
  .home-t65 .t6 .ranked-summary { display: none; }
  .home-t65 .t6 .is-text .ranked-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; margin-top: .45rem; max-width: none; font-size: .875rem; line-height: 1.45; }
}

/* 6.5 and 8: the choice of a day at the head of the feed's later pages — a heading whose date,
   selected the way the site selects a headline, opens the feed's months. A day the feed has
   stories of is a link, the day the page opens with stands in the accent. */
.t-dates { padding-block: clamp(1.1rem, 3vw, 2rem) .2rem; }
.t-dates > summary { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .1em .4em; list-style: none; cursor: pointer; user-select: none; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); font-weight: 650; line-height: 1.2; letter-spacing: -.03em; color: var(--headline); }
.t-dates > summary::-webkit-details-marker { display: none; }
.t-dates > summary b { padding: 0 .2em; margin-left: -.2em; border-radius: .2em; background: var(--select); font-weight: inherit; }
.t-dates > summary b::after { content: ""; display: inline-block; width: .32em; height: .32em; margin: 0 .1em 0 .34em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.24em) rotate(45deg); }
.t-dates[open] > summary b::after { transform: translateY(.02em) rotate(-135deg); }
.t-dates > summary:hover b, .t-dates[open] > summary b { background: var(--accent); color: var(--paper); }
.t-dates-word { font-weight: 500; color: var(--muted); }
.t-dates:not([open]) > .t-cal { display: none; }
.t-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 1.6rem clamp(1.5rem, 4vw, 3rem); padding-block: 1.3rem .6rem; }
.t-cal-month h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.t-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .15rem; max-width: 21rem; margin-top: .45rem; font: 400 .9375rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.t-cal-grid li { display: grid; }
.t-cal-grid :is(a, span) { display: grid; place-items: center; min-height: 2.75rem; border-radius: .45rem; }
.t-cal-grid .t-cal-wd { place-items: center; min-height: 1.9rem; font-size: .75rem; color: var(--muted); }
.t-cal-grid span { color: var(--muted); opacity: .45; }
.t-cal-grid a { color: var(--ink); }
.t-cal-grid a:hover { background: var(--select); color: var(--ink); }
.t-cal-grid a.is-today { box-shadow: inset 0 0 0 1px var(--muted); }
.t-cal-grid a[aria-current] { background: var(--accent); color: var(--paper); font-weight: 500; box-shadow: none; }

/* ——— 8. Сводный: the page of 3.5 on a wide screen, the phone of 6.5 ——— */

/* The header, the foot, «Главное» without by-lines, the sign of a long story and the choice of a
   day are 6.5's at any width. In the row of cards a story drawn as text has no rule above it. The
   feed is 6.5's phone at any width (owner: «Лента слишком просторная и одинаковая… пять новостей
   занимают весь экран. Лучше сделать как в мобильной: заголовок помельче, выжимка в две строки,
   без тегов»): a smaller headline, two lines of the teaser, no tags. A big release and a story
   opened in the feed say themselves whole, so the feed is not all alike. The time, the sign of
   reading and the source stand in a line above the headline, not in a rail at the left («На PC
   сделай источники и время как на мобильной. Не слева»); the source is darker than the sign. */
.home-t8 .day > .item { grid-template-columns: minmax(0, 1fr); padding-block: 1.05rem 1.15rem; }
.home-t8 .day .item-meta { flex-direction: row; flex-wrap: wrap; gap: .25rem .75rem; padding-top: 0; margin-bottom: .35rem; }
.home-t8 .day .item-meta time, .home-t8 .day .item-longread { white-space: nowrap; }
.home-t8 .day .item-source { color: var(--ink-2); }
.home-t8 .day .item-source:hover { color: var(--accent); }
.home-t8 .day .item-title { font-size: 1.25rem; line-height: 1.22; letter-spacing: -.018em; }
.home-t8 .day .item.is-major .item-title { font-size: 1.5rem; letter-spacing: -.024em; }
.home-t8 .day .item:not(.is-open, .is-major) .item-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: .4rem; font-size: .9375rem; line-height: 1.5; }
.home-t8 .day .item:not(.is-open) .item-tags { display: none; }
@media (max-width: 62rem) {
  .home-t8 .t3-item.is-text { padding-top: 0; border-top: 0; }
  .home-t8 .t3-item.is-text .ranked-title { padding-top: 0; }
  /* A headline of a card is three lines at most, the rest is «…»: the cards stand level. */
  .home-t8 .t3-item .ranked-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
}
/* «ИИтак-синий», the site's own blue (owner: «Цвет чуть тише. Сделаем свой брендовый Тиффани.. То
   есть иитаксиний»): the accent's hue, a fifth less of its saturation. It is the accent of every
   page while the look is kept — the mark, the chosen tab, a link under the pointer. The caret
   after the mark stands still. */
.t-brand { --iitak-blue: #3652c9; --accent: var(--iitak-blue); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-brand { --iitak-blue: #95a5e6; }
}
:root[data-theme="dark"] .t-brand { --iitak-blue: #95a5e6; }
.t-brand .caret { animation: none; }
@media (max-width: 46rem) {
  .home-t8 .day > .item { padding-block: 1.15rem 1.25rem; border-top: 0; border-bottom: 1px solid var(--rule); }
  .home-t8 .day > .item.is-major { border-bottom-color: transparent; }
  .home-t8 .day .item-title, .home-t8 .day .item.is-major .item-title { font-size: 1.125rem; letter-spacing: -.015em; }
  /* A headline is two lines, as the teaser under it, the rest is «…»; a story opened in the feed
     says it whole. */
  .home-t8 .day .item:not(.is-open) .item-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .home-t8 .day .item:not(.is-open, .is-major) .item-summary { margin-top: .45rem; }
}

/* ——— 7. Поток и меню: the stream under a header of one line ——— */

/* The owner's say on a story's weight: its dot is a button, a finger wide. What he has said
   himself wears a ring. */
.t-dot { position: absolute; z-index: 1; top: calc(.5rem + 3.5px - 1.375rem); left: calc(-1rem - 1.375rem); width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; touch-action: manipulation; }
.t-stream .day .item.is-big .t-dot { top: calc(.7rem + 5.5px - 1.375rem); }
.t-dot:hover, .t-dot:focus-visible { background: color-mix(in srgb, var(--accent) 14%, transparent); outline: none; }
.t-dot:disabled { cursor: progress; opacity: .5; }
.t-stream .day .item.is-own .item-body::before { box-shadow: 0 0 0 1.5px var(--muted), 0 0 0 3.5px var(--paper), 0 0 0 5px var(--accent); }
.t-stream .day .item.is-own.is-big .item-body::before { box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4px var(--accent); }
@media (max-width: 46rem) {
  .t-dot { left: calc(-.7rem - 1.375rem); }
}

/* «Компании и люди»: the section's own page — the blocks of the fifth look under the page's heading. */
.t-players .head { padding-bottom: .25rem; }
.t-players .t5-who:first-of-type { margin-top: .5rem; }

/* The header: the mark, the sections beside it, the search and the theme at the far end. */
.tb { position: relative; }
.tb-row { display: flex; align-items: center; gap: clamp(1.25rem, 3.5vw, 2.75rem); padding-block: clamp(.7rem, 1.4vw, 1rem) .75rem; }
.tb-nav { display: flex; align-items: baseline; gap: clamp(1rem, 2.4vw, 1.9rem); font-size: 1rem; font-weight: 500; }
.tb-nav a, .tb-nav summary, .tb-search { color: var(--muted); }
.tb-nav a:hover, .tb-nav summary:hover, .tb-search:hover, .tb-nav > a[aria-current], .tb-nav summary[aria-current], .tb-search[aria-current], .tb-tags[open] > summary { color: var(--ink); }
.tb-tools { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.9rem); margin-left: auto; font-size: 1rem; font-weight: 500; }
.tb summary { list-style: none; cursor: pointer; user-select: none; }
.tb summary::-webkit-details-marker { display: none; }
.tb-tags { position: relative; }
.tb-tags > summary::after { content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .4em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.22em) rotate(45deg); }
.tb-tags[open] > summary::after { transform: translateY(.02em) rotate(-135deg); }
.tb-pop { position: absolute; z-index: 30; top: calc(100% + .7rem); left: -.9rem; display: flex; flex-wrap: wrap; gap: .1rem; width: min(31rem, calc(100vw - 2 * var(--gutter))); padding: .6rem; border: 1px solid var(--rule); border-radius: .7rem; background: var(--paper); box-shadow: 0 .75rem 2rem rgb(0 0 0 / .16); font: 400 .9375rem/1 var(--mono); }
.tb-more { flex: 1 0 100%; margin-top: .35rem; padding: .7rem .6em .2rem; border-top: 1px solid var(--rule); font: 500 .875rem/1 var(--sans); }
.tb-nav .tb-more { color: var(--ink-2); }
.tb-burger { display: none; }
/* A closed menu takes no room at all, whatever way a browser hides it. */
.tb-tags:not([open]) > .tb-pop, .tb-burger:not([open]) > .tb-sheet { display: none; }

/* On a phone the sections go under a button: the mark, the theme and the button are the line. */
@media (max-width: 46rem) {
  .tb-row { gap: .5rem; padding-block: .6rem .5rem; }
  .tb-nav, .tb-search { display: none; }
  .tb-tools { gap: .9rem; }
  .tb-burger { display: block; }
  .tb-burger > summary { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -.4rem -.6rem -.4rem 0; border-radius: .6rem; color: var(--ink); }
  .tb-burger > summary:hover, .tb-burger[open] > summary { background: var(--select); }
  .tb-burger svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .tb-cross, .tb-burger[open] .tb-bars { display: none; }
  .tb-burger[open] .tb-cross { display: inline; }
  .tb-sheet { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; display: grid; padding: .25rem var(--gutter) 1.4rem; border-bottom: 1px solid var(--rule); background: var(--paper); box-shadow: 0 1.5rem 2rem -1rem rgb(0 0 0 / .22); }
  .tb-sheet > a { padding: .9rem 0; border-bottom: 1px solid var(--rule); font-size: 1.3125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--headline); }
  .tb-sheet > a[aria-current] { color: var(--accent); }
  .tb-sheet-tags { display: flex; flex-wrap: wrap; gap: .1rem; margin: .9rem 0 0 -.6em; font: 400 .9375rem/1 var(--mono); }
  .tb-sheet-tags .chip { padding-block: .6em; }
}
