* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #101113;
  --header: #121315;
  --surface: #191a1d;
  --surface2: #202125;
  --line: #303135;
  --text: #f7f7f8;
  --muted: #a9aaaf;
  --dim: #989ba3;
  --accent: #fa454b;
  --red: #d92d39;
  --shadow: 0 12px 40px #0005;
  --radius: 15px;
  --font: Inter,"Segoe UI",Roboto,Arial,sans-serif;
}

html[data-theme=light] {
  color-scheme: light;
  --bg: #f7f7f8;
  --header: #fff;
  --surface: #fff;
  --surface2: #eeeef0;
  --line: #d8d9dd;
  --text: #191a1e;
  --muted: #535762;
  --dim: #656972;
  --accent: #cc2230;
  --red: #c92531;
  --shadow: 0 12px 36px #16162218;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.53 var(--font);
  -webkit-font-smoothing: antialiased;
  transition: background-color .22s,color .22s;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,textarea,select {
  font: inherit;
}

button,summary,select {
  cursor: pointer;
}

button {
  color: inherit;
}

a,button,summary,input,textarea,select {
  outline-offset: 4px;
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 2px solid var(--accent);
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  flex-shrink: 0;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  line-height: 1.13;
  letter-spacing: -.043em;
  font-weight: 720;
}

h1 {
  font-size: clamp(2.2rem,4vw,3.8rem);
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

h2 {
  font-size: clamp(1.6rem,2.4vw,2.05rem);
}

h3 {
  font-size: 1.3rem;
}

small {
  font-size: .84rem;
}

.wrap {
  width: min(1232px,calc(100% - clamp(40px,10vw,160px)));
  margin-inline: auto;
}

.skip,.sr-only,.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  clip-path: none;
  width: auto;
  height: auto;
  left: 8px;
  top: 8px;
  z-index: 20;
  padding: 10px;
  background: var(--surface);
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--header);
  position: relative;
  z-index: 6;
}

.top-inner {
  display: flex;
  align-items: center;
  gap: clamp(30px,5vw,76px);
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 33px;
  border-radius: 8px;
  background: #eb3540;
  color: #fff;
}

.brand-mark svg {
  width: 30px;
  height: 28px;
}

.brand-type {
  font-weight: 800;
  letter-spacing: -.065em;
  font-size: 1.47rem;
  line-height: 1;
}

.brand-type span {
  font-size: .78em;
  letter-spacing: -.055em;
  margin-left: 4px;
  color: var(--accent);
}

.main-nav,.account-nav,.button-row,.feature-meta,.meta,.byline,.filters,.pager,.feature-bottom,.section-title,.foot,.channel-btn,.source-link {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 28px;
  align-self: stretch;
}

.nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 550;
  white-space: nowrap;
}

.nav-link:hover,.nav-link.current {
  color: var(--text);
}

.nav-link.current:after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  inset-inline: 0;
}

.account-nav {
  margin-left: auto;
  gap: 12px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  background: #c32432;
  color: #fff;
  border-radius: 6px;
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .035em;
  white-space: nowrap;
}
.live-badge[hidden] { display: none; }
.live-badge:hover { background: #a71c28; }
.broadcast-settings { display: grid; gap: .65rem; }
.broadcast-settings input[type=url] { width: min(100%, 38rem); }
@media (min-width: 961px) and (max-width: 1240px) {
  .top-inner:has(.live-badge:not([hidden])) { gap: 16px; }
  .top-inner:has(.live-badge:not([hidden])) .main-nav { gap: 12px; }
  .account-nav:has(.live-badge:not([hidden])) .user-name { max-width: 64px; }
}
@media (max-width: 600px) {
  .topbar .top-inner { gap: 8px; }
  .top-inner:has(.live-badge:not([hidden])) { gap: 4px; }
  .account-nav .user-name { display: none; }
}
@media (max-width: 460px) {
  .top-inner:has(.live-badge:not([hidden])) .brand-type { display: none; }
}
@media (max-width: 360px) {
  .account-nav .login span { display: none; }
}

.theme-button,.btn,.channel-btn,.chip,.search {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.theme-button,.btn,.channel-btn,.chip,.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  font-weight: 600;
  transition: background .18s,border-color .18s,transform .18s;
}

.theme-button {
  width: 38px;
  height: 38px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.theme-button:hover,.btn:hover,.channel-btn:hover,.chip:hover {
  background: var(--surface2);
  border-color: var(--dim);
}

.theme-button .moon,[data-theme=light] .theme-button .sun {
  display: none;
}

[data-theme=light] .theme-button .moon {
  display: block;
}

.btn,.channel-btn {
  padding: 9px 16px;
  min-height: 40px;
  font-size: .92rem;
}

.btn.small {
  min-height: 36px;
  padding: 7px 14px;
  font-size: .86rem;
}

.btn.red {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.btn.red:hover {
  background: #b91f2d;
  border-color: #b91f2d;
  transform: translateY(-1px);
}

.btn.danger {
  color: var(--accent);
}

.button-row {
  gap: 10px;
  flex-wrap: wrap;
}

.text-btn {
  padding: 8px;
  color: var(--muted);
}

.drop {
  position: relative;
}

.drop summary {
  list-style: none;
}

.drop summary::-webkit-details-marker {
  display: none;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 190px;
  z-index: 5;
}

.dropdown.align-right {
  left: auto;
  right: 0;
}

.dropdown a,.dropdown button {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .92rem;
  border: 0;
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  background: transparent;
  white-space: nowrap;
}

.dropdown a:hover,.dropdown button:hover {
  background: var(--surface2);
}

.mobile-menu {
  display: none;
}

.socials[open] > summary .icon {
  transform: rotate(180deg);
}
.social-links { min-width: 222px; }
.social-links a { gap: 11px; }
.social-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 6px;
  color: #fff;
  font: 800 13px/1 var(--font);
  letter-spacing: -.05em;
}
.social-vk { background: #126bcc; }
.social-youtube { background: #d32b37; }
.social-rutube { background: #232d42; }
.social-telegram { background: #1676a2; }
.social-boosty { background: #b94a20; font-size: 19px; font-style: italic; }
.social-heart { background: #28714f; }
.main-nav .social-links, .mobile-menu > .dropdown {
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu .socials > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: .92rem;
  border-radius: 6px;
}
.mobile-menu .socials > summary:hover, .mobile-menu .socials[open] > summary {
  background: var(--surface2);
}
.mobile-menu .social-links {
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}

.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 27px;
}

.masthead-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.masthead-actions .live-badge { min-height: 39px; padding-inline: 12px; }

.eyebrow,.feature-cat,.focus-badge,.catbadge {
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .14em;
  font-weight: 750;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}

.rule {
  display: inline-block;
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.masthead h1 {
  font-size: clamp(2.8rem,4.4vw,4.1rem);
  letter-spacing: -.062em;
  line-height: 1.04;
  margin: 7px 0 9px;
  font-weight: 780;
}

.masthead p {
  font-size: clamp(1rem,1.35vw,1.13rem);
  color: var(--muted);
  letter-spacing: -.012em;
}

.channel-btn {
  gap: 8px;
  min-height: 39px;
  font-size: .87rem;
  font-weight: 600;
  padding: 8px 14px;
}

.channel-btn svg,.foot>a:last-child svg {
  color: var(--accent);
}

.feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  border: 1px solid #50282f;
  border-radius: 17px;
  background: #17151a;
  color: #fff;
}

.feature-img,.feature-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.feature-img {
  left: auto;
  width: 77%;
  object-fit: cover;
  object-position: 55% 40%;
}

.feature-shade {
  background: linear-gradient(90deg,#18171c 0%,#18171cfb 26%,#19171bec 38%,#19171b9e 49%,#17151a13 69%,transparent 100%);
}

.plain-feature {
  background: linear-gradient(125deg,#251b21,#461821);
}

.feature-copy {
  width: min(60%,680px);
  padding: 30px clamp(24px,3vw,46px) 32px;
}

.feature-meta {
  gap: 12px;
  margin-bottom: 15px;
}

.focus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  line-height: 1.1;
  border-radius: 4px;
  background: #ea3844;
  color: #fff;
  font-size: .64rem;
  letter-spacing: .1em;
}

.feature-cat {
  color: #d7cbd0;
  font-size: .67rem;
  letter-spacing: .14em;
}

.feature h2 {
  max-width: 550px;
  font-size: clamp(2.05rem,3.2vw,3.05rem);
  line-height: 1.07;
  font-weight: 740;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.feature h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.feature-copy>p {
  margin-top: 11px;
  font-size: 1rem;
  line-height: 1.45;
  color: #d0cbd0;
  max-width: 510px;
}

.feature-bottom {
  margin-top: 21px;
  gap: 19px;
}

.feature-bottom>span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c0bbc1;
  font-size: .79rem;
}

.feature-bottom .btn {
  min-height: 39px;
  padding: 9px 14px;
  font-size: .855rem;
}

.feed {
  padding: 33px 0 50px;
  scroll-margin-top: 10px;
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.section-title {
  gap: 12px;
}

.section-title h2 {
  font-size: clamp(1.65rem,2.35vw,2.08rem);
  letter-spacing: -.045em;
}

.red-bar {
  display: block;
  width: 4px;
  height: 25px;
  border-radius: 2px;
  background: var(--accent);
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px 0 7px;
  width: 232px;
  height: 38px;
  background: var(--surface);
}

.search:focus-within {
  border-color: var(--accent);
}

.search input {
  padding: 0;
  border: 0;
  min-width: 0;
  width: 100%;
  background: transparent;
  color: var(--text);
  font-size: .87rem;
  outline: none;
}

.search button {
  padding: 5px;
  color: var(--dim);
  border: 0;
  background: transparent;
}

.filters {
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 23px;
}

.chip {
  padding: 7px 13px;
  border-radius: 7px;
  min-height: 34px;
  font-size: .84rem;
  line-height: 1.2;
  color: var(--muted);
  font-weight: 550;
}

.chip.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.search-summary {
  margin: 0 0 18px;
  color: var(--muted);
}

.search-summary a,.switch-auth a,.source-link {
  color: var(--accent);
}

.search-summary a {
  margin-left: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  min-width: 0;
  transition: border-color .22s,transform .22s,box-shadow .22s;
}

.card:hover,.card:focus-within {
  transform: translateY(-3px);
  border-color: var(--dim);
  box-shadow: 0 8px 25px #0002;
}

.card-link {
  display: block;
  height: 100%;
}

.card-img {
  aspect-ratio: 1.99;
  position: relative;
  overflow: hidden;
  background: var(--surface2);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}

.card:hover .card-img img {
  transform: scale(1.025);
}

.card-img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg,#09091136,transparent 58%);
  pointer-events: none;
}

.no-cover {
  display: grid;
  place-items: center;
  background: radial-gradient(at 75% 30%,#433146,transparent 70%),#22232c;
  color: #cbbcc6;
}

.catbadge {
  position: absolute;
  z-index: 1;
  left: 13px;
  top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #29333b;
  color: #fff;
  font-size: .65rem;
  letter-spacing: .07em;
  line-height: 1.1;
  box-shadow: 0 1px 5px #0002;
}

.catbadge.stream {
  background: #99490c;
}

.catbadge.security {
  background: #17665b;
}

.catbadge.expose {
  background: #9e343e;
}

.catbadge.news {
  background: #315c89;
}

.card-copy {
  padding: 17px 18px 21px;
}

.meta,.byline {
  gap: 6px;
  color: var(--dim);
  font-size: .79rem;
}

.meta i {
  height: 3px;
  width: 3px;
  margin: 0 3px;
  background: currentColor;
  border-radius: 50%;
}

.card h3 {
  margin: 9px 0 7px;
  font-size: clamp(1.16rem,1.55vw,1.45rem);
  line-height: 1.21;
  letter-spacing: -.033em;
}

.card-copy>p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.49;
}

.card-copy>p, .feature-copy>p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.editor-field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.editor-field-heading small { font-variant-numeric: tabular-nums; color: var(--muted); }
.editor-form [aria-invalid=true] { border-color: var(--accent); }
.snow-layer { position: fixed; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.snow-layer i {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e7f2ff;
}
[data-theme=light] .snow-layer i { background: #7999b5; }

.pager {
  justify-content: center;
  gap: 16px;
  margin: 22px 0;
}

.empty {
  padding: 50px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.empty svg {
  margin: 0 auto 10px;
}

.empty h3 {
  color: var(--text);
}

.empty p,.empty .btn {
  margin-top: 12px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.foot {
  gap: 24px;
  min-height: 79px;
  font-size: .84rem;
}

.foot .brand {
  color: var(--text);
  transform: scale(.88);
  transform-origin: left center;
  margin-right: -10px;
}

.foot>span {
  margin-right: auto;
}

.foot>a:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
}

.foot a:hover,.crumb a:hover,.text-btn:hover,.studio-item h3 a:hover {
  text-decoration: underline;
}

.panel {
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}

.auth-panel {
  max-width: 470px;
  margin: clamp(32px,8vh,85px) auto;
  padding: clamp(22px,3vw,38px);
}

.auth-panel h1 {
  font-size: 2.2rem;
  margin: 10px 0;
}

.muted,.stack small,.switch-auth {
  color: var(--muted);
}

.auth-panel .stack,.auth-panel .button-row {
  margin-top: 22px;
}

.stack {
  display: grid;
  gap: 17px;
}

.stack label {
  display: grid;
  gap: 6px;
  font-size: .93rem;
  font-weight: 600;
}

.stack small {
  font-weight: 400;
}

.stack input:not([type=hidden]):not([type=checkbox]),.stack textarea,.stack select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--bg);
  color: var(--text);
}

.stack textarea {
  resize: vertical;
  min-height: 65px;
}

.stack select {
  appearance: none;
  padding-right: 2.3em;
  background-image: url('/assets/chevron.svg');
  background-position: right .85em center;
  background-size: 14px;
  background-repeat: no-repeat;
}

.stack input[type=file] {
  font-size: .85rem;
}

.stack input::file-selector-button {
  border: 0;
  border-radius: 5px;
  background: var(--surface2);
  color: var(--text);
  padding: 5px 8px;
  margin-right: 8px;
}

.inline input {
  accent-color: var(--accent);
}

.stack .inline,.thumb-check .inline {
  display: flex;
  align-items: center;
  gap: 9px;
}

.switch-auth {
  font-size: .92rem;
  text-align: center;
  margin-top: 22px;
}

.switch-auth a {
  font-weight: 600;
}

.notice,.error {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .95rem;
}

.notice {
  margin: 14px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

.error {
  margin: 14px 0;
  background: #bd324318;
  color: var(--text);
  border: 1px solid #ab4250;
}

.stack .btn {
  justify-self: start;
}

.auth-panel .stack .btn {
  justify-self: stretch;
}

.reading {
  max-width: 800px;
  margin: 38px auto 55px;
}

.crumb {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: .87rem;
  margin-bottom: 25px;
}

.reading h1,.workspace h1 {
  margin: 10px 0 14px;
  overflow-wrap: anywhere;
  line-height: 1.08;
}

.reading .lede {
  font-size: 1.19rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 12px 0 20px;
}

.byline {
  gap: 9px;
  flex-wrap: wrap;
}

.byline strong {
  color: var(--text);
}

.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c0333c;
  color: white;
  font-weight: 800;
}

.article-cover,.about-art img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}

.article-cover {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--surface);
}

.about-art img {
  aspect-ratio: 2.3;
  object-fit: cover;
}

.prose,.comment p,.studio-item p {
  overflow-wrap: anywhere;
}

.prose p {
  font-size: 1.08rem;
  line-height: 1.78;
  margin: 1.1em 0;
}

.video-frame {
  aspect-ratio: 16/9;
  margin: 25px 0 8px;
  background: #161616;
  border-radius: 14px;
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.source-link {
  gap: 6px;
  font-size: .9rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(230px,100%),1fr));
  gap: 12px;
  margin: 22px 0;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}

.tags a,.status {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface2);
  color: var(--muted);
  font-size: .82rem;
}

.reaction-row,.comment-invite,.studio-item,.thumb-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.reaction-row {
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin: 20px 0;
  flex-wrap: wrap;
}

.vote[aria-pressed=true] {
  color: var(--accent);
  border-color: var(--accent);
}

.discussion {
  margin-top: 34px;
}

.discussion > .section-title { margin-bottom: 16px; }

.discussion h2 small {
  color: var(--muted);
  letter-spacing: 0;
}

.discussion .panel {
  margin: 17px 0;
}

.comment {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.comment p {
  margin: 9px 0;
}
.pixel-avatar { display: inline-block; flex: none; background: transparent; vertical-align: middle; }
.account-nav .pixel-avatar { width: 22px; height: 22px; }
.post-counts, .stat { display: inline-flex; align-items: center; }
.post-counts { gap: 12px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.stat { gap: .35em; white-space: nowrap; }
.card-copy .post-counts { margin-top: 12px; font-size: .79rem; color: var(--muted); }
.feature-bottom { flex-wrap: wrap; }
.feature-bottom > .post-counts { gap: 12px; }
.comment-thread { border-bottom: 1px solid var(--line); }
.comment-thread .comment { border-bottom: 0; scroll-margin-block-start: 1rem; }
.comment-replies { margin: 0 0 14px clamp(8px,2.7vw,32px); padding-left: clamp(12px,2.5vw,26px); border-left: 2px solid var(--line); }
.comment-replies .comment + .comment { border-top: 1px solid var(--line); }
.reply-recipient, .comment-review, .pending-edit small { color: var(--muted); font-size: .8rem; }
.reply-recipient { display: inline-block; margin-top: 6px; }
.pending-edit { border-left: 2px solid var(--accent); padding: 3px 12px; margin-block: 10px; }
.comment-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.comment-actions details[open] { flex: 1 1 100%; }
.comment-actions summary { color: var(--muted); cursor: pointer; font-size: .85rem; font-weight: 600; }
.comment-actions summary:hover { color: var(--text); }
.comment .byline strong, .reply-recipient, .comment-form label { overflow-wrap: anywhere; min-width: 0; }
.comment-form { max-width: 580px; margin: 10px 0; }
.comment-form .btn { justify-self: start; }
html:has(.discussion[aria-busy="true"]) { overflow-anchor: none; }
.comment-feedback:empty { display: none; }
.comment-feedback { display: block; flex-basis: 100%; color: var(--muted); margin-top: .35rem; }
.comment-start { margin-bottom: 1.1rem; }
.comment-start .composer > summary { cursor: pointer; list-style: none; }
.comment-start .composer > summary::-webkit-details-marker { display: none; }
.comment-start form { margin-top: .65rem; }
.discussion:not(.enhanced) [data-comment-cancel] { display: none; }
@supports selector(details::details-content) {
  .comment-actions { display: grid; grid-template-columns: max-content max-content 1fr; }
  .comment-actions > details { display: contents; }
  .comment-actions summary { grid-row: 1; }
  .comment-actions > details::details-content { grid-column: 1 / -1; grid-row: 2; }
  .comment-actions > .comment-feedback { grid-column: 1 / -1; }
  .composer::details-content {
    interpolate-size: allow-keywords;
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition: block-size .22s ease, opacity .18s ease, content-visibility .22s allow-discrete;
  }
  .composer[open]::details-content { block-size: auto; opacity: 1; }
  .discussion:has(.composer[open]) .composer:not([open])::details-content { transition: none; }
}
.comment-feedback a { color: var(--accent); text-decoration: underline; }
[data-comment-form] button[aria-disabled=true] { opacity: .65; cursor: progress; }
.discussion-settings { margin: 12px 0 18px; }
.discussion-settings label { font-weight: 700; }
.discussion-settings p { margin: 6px 0 12px; color: var(--muted); }
.discussion-settings .button-row, .moderation-actions { flex-wrap: wrap; }

.about {
  margin-top: 55px;
}

.workspace {
  margin: 35px auto 55px;
  max-width: 1000px;
}

.editor {
  max-width: 850px;
}

.studio-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.studio-item {
  padding: 16px 19px;
  flex-wrap: wrap;
}

.studio-item:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.studio-item h3 {
  margin: 5px 0;
}

.studio-item p {
  margin: 8px 0;
}

.studio-item>div:first-child {
  min-width: min(100%,200px);
  flex: 1;
}

.editor-form {
  margin-top: 22px;
}

.editor-form h2 {
  font-size: 1.35rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.thumb-check {
  justify-content: start;
}

.thumb-check img {
  width: 95px;
  max-height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.delete-box {
  margin: 23px 0;
  color: var(--muted);
}

.delete-box form {
  margin-top: 15px;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.masthead,.feature,.cards,.reading,.auth-panel {
  animation: arrive .36s ease-out both;
}

@media(min-width:1600px) {
  .masthead {
    padding-top: 44px;
    padding-bottom: 35px;
  }
  .feature {
    min-height: 330px;
  }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .feed .filters { gap: 6px; }
  .feed .chip { padding-inline: 9px; gap: 6px; }
}

@media (min-width: 981px) and (max-width: 1179px) {
  .feed .chip .icon { display: none; }
}

@media(max-width:980px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .top-inner {
    gap: 38px;
  }
  .main-nav {
    gap: 19px;
  }
  .feature-copy {
    width: 64%;
    padding: 26px;
  }
  .cards {
    gap: 15px;
  }
  .card-copy {
    padding: 14px;
  }
  .chip {
    padding: 7px 10px;
  }
  .feature h2 {
    font-size: 2.4rem;
  }
}

@media(max-width:760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .top-inner {
    gap: 23px;
    height: 60px;
  }
  .main-nav {
    gap: 14px;
  }
  .nav-link {
    font-size: .84rem;
  }
  .account-nav {
    gap: 5px;
  }
  .masthead {
    padding: 26px 0 23px;
  }
  .masthead h1 {
    font-size: 2.9rem;
  }
  .feature {
    min-height: 280px;
  }
  .feature-copy {
    width: 70%;
    padding: 24px;
  }
  .feature h2 {
    font-size: 2.05rem;
  }
  .feature-copy>p {
    font-size: .94rem;
  }
  .cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .filters {
    gap: 6px;
  }
  .feed {
    padding-top: 27px;
  }
  .search {
    width: 195px;
  }
  .foot {
    gap: 16px;
  }
  .feature-bottom {
    gap: 10px;
    flex-wrap: wrap;
  }
  .foot>span {
    font-size: .78rem;
  }
}

@media(max-width:960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
}

@media(max-width:600px) {
  .top-inner {
    height: 56px;
  }
  .brand-mark {
    width: 33px;
    height: 29px;
  }
  .brand-type {
    font-size: 1.3rem;
  }
  .account-nav {
    gap: 4px;
  }
  .masthead {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    padding: 23px 0 20px;
  }
  .masthead h1 {
    font-size: 2.65rem;
  }
  .masthead p {
    max-width: 35ch;
    font-size: .96rem;
  }
  .channel-btn {
    min-height: 32px;
    padding: 5px 11px;
    font-size: .8rem;
  }
  .feature {
    min-height: 345px;
    align-items: flex-end;
  }
  .feature-img {
    width: 100%;
    height: 88%;
    object-position: 68% 28%;
  }
  .feature-shade {
    background: linear-gradient(0deg,#15151a 0%,#17161aef 34%,#18161ad9 48%,#15141c47 72%,#15141c22 100%);
  }
  .feature-copy {
    width: 100%;
    padding: 110px 18px 20px;
  }
  .feature-meta {
    margin-bottom: 10px;
  }
  .feature h2 {
    font-size: clamp(1.7rem,6.6vw,2.2rem);
    text-wrap: initial;
  }
  .feature-copy>p {
    font-size: .92rem;
    line-height: 1.42;
    margin-top: 8px;
  }
  .feature-bottom {
    margin-top: 15px;
  }
  .feature-bottom>span {
    font-size: .72rem;
  }
  .feed-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .search {
    width: 100%;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 5px;
    margin: 12px -2px 14px;
    scrollbar-width: thin;
  }
  .chip {
    flex-shrink: 0;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .card-img {
    aspect-ratio: 2.02;
  }
  .card-copy {
    padding: 15px 16px 18px;
  }
  .card h3 {
    font-size: 1.3rem;
  }
  .foot {
    padding-block: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .foot>span {
    margin-right: 0;
  }
  .foot>a:nth-last-child(2) {
    margin-left: auto;
  }
  .foot .brand {
    display: none;
  }
  .panel {
    padding: 18px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .comment-invite {
    align-items: flex-start;
    flex-direction: column;
  }
  .reading {
    margin: 25px auto 35px;
  }
  .studio-item {
    align-items: start;
    flex-direction: column;
  }
  .workspace .filters {
    flex-wrap: wrap;
  }
  .reaction-row strong {
    font-size: .96rem;
  }
  .auth-panel h1 {
    font-size: 1.9rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto!important;
    animation-duration: .01ms!important;
    transition-duration: .01ms!important;
  }
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: linear-gradient(110deg, #1d171a, #231d20);
}
.video-feature .feature-shade { display: none; }
.video-feature .feature-copy { grid-area: 1 / 1; width: auto; }
.video-feature .feature-img {
  position: static;
  grid-area: 1 / 2;
  z-index: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  align-self: center;
  object-fit: contain;
}
.card-img:has(img[src*="/yt-"]) { aspect-ratio: 16 / 9; }
.catbadge.blacklist { background: #932937; }
.catbadge.lohotron { background: #66429c; }
.catbadge.pseudoscience { background: #245c76; }
.card-focus { position: absolute; bottom: 10px; left: 12px; display: flex; align-items: center; gap: 5px; background: #19171ce8; color: white; padding: 3px 8px; border-radius: 4px; font-size: .79rem; }
.member-search, .member-head, .member-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.member-search { margin: 22px 0; }
.member-search select { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 7px; padding: 7px; }
.member-list { display: grid; gap: 12px; }
.rubric-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.rubric-intro { color: var(--muted); margin: 10px 0; max-width: 62ch; }
.member-head .avatar { width: 38px; height: 38px; }
.member-head .status { margin-left: auto; }
.member-head h3 { margin-bottom: 3px; }
.member-head .muted, .member-info { font-size: .9rem; overflow-wrap: anywhere; }
.member-info { color: var(--muted); margin-top: 12px; }
.member-actions { align-items: flex-start; margin-top: 16px; }
.ban-controls summary { color: var(--accent); font-size: .9rem; padding: 6px; cursor: pointer; }
.ban-controls .stack { margin-top: 10px; }
.resend, .preview-mail { margin-top: 14px; }
.preview-mail { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.code-field { letter-spacing: .24em; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .video-feature { display: flex; flex-direction: column; min-height: 0; align-items: stretch; }
  .video-feature .feature-img { order: 0; }
  .video-feature .feature-copy { padding: 19px; order: 1; }
}

