
/* User reference adoption, 4 October 2026. Existing DTOs and actions are retained. */
:root {
  --bg: #05080f;
  --surface: #0c1018;
  --surface-raised: #171c27;
  --border: rgb(190 201 227 / 9%);
  --text: #e6e9f2;
  --muted: #9399a8;
  --accent: #8794ff;
  --radius: 6px;
}
body { background: radial-gradient(ellipse at 45% 15%, #0a111c50, transparent 65%), var(--bg); font-size: 14px; }
h1, h2, h3, .story-title, .section-title { font-synthesis: none; }
.topbar { height: 66px; padding: 0 46px; gap: 70px; background: rgb(3 6 11 / 95%); }
.main-nav { gap: 36px; }
.main-nav a { font-size: 14px; font-weight: 400; }
.header-search { width: 226px; height: 38px; margin-left: 44px; padding: 8px 14px; border-radius: 14px; font-size: 14px; }
.header-actions { gap: 24px; }
.notification-trigger .icon { width: 26px; height: 26px; }
.wordmark { font-size: 26px; letter-spacing: .23em; }
.canvas { max-width: 1536px; min-height: calc(100dvh - 66px); }
.btn.primary { background: linear-gradient(110deg, #555ff0, #4655dc); border-color: #6975f4; font-weight: 400; }
.btn.primary:hover { background: #6271f5; }
input:not([type=radio]):not([type=checkbox]), textarea, select { border-radius: 6px; background-color: rgb(15 20 30 / 50%); }
.avatar { outline-color: rgb(200 210 234 / 13%); }
.author-avatar-link { flex-shrink: 0; }
.command-dock { width: 650px; height: 66px; padding: 10px 16px; bottom: 20px; gap: 12px; border-radius: 16px; background: linear-gradient(110deg, #20222de8, #11151fe8); }
.command-dock .dock-avatar .avatar { width: 42px; height: 42px; }
.command-dock .dock-prompt { font-size: 16px; min-width: 0; }
.command-dock .dock-prompt span { overflow: hidden; text-overflow: ellipsis; }
.create-btn { background: radial-gradient(circle at 35% 20%, #929cff, #5868ff 62%); }
.pulse-edge { top: 31%; padding: 18px 9px; min-height: 164px; gap: 22px; background: #202332c9; }
.pulse-edge span { font-size: 13px; }
.route-feed, .route-games, .route-cinema { padding: 14px 200px 140px 56px; }
.feed-head { margin-left: 104px; margin-bottom: 6px; align-items: center; min-height: 36px; gap: 24px; }
.feed-head > div > .eyebrow { display: none; }
.feed-head .page-heading { font-size: 22px; line-height: 28px; letter-spacing: -.02em; }
.feed-tabs { gap: 16px; flex-shrink: 0; }
.feed-tabs button { min-height: 32px; padding: 6px 0; font-size: 11px; }
.topic-nav { margin-left: 104px; gap: 36px; margin-bottom: 10px; border: 0; }
.topic-nav button { font-size: 14px; padding: 10px 0 12px; }
.topic-nav button i { width: 6px; height: 6px; }
.stream-row { grid-template-columns: 80px minmax(0, 1.435fr) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom-color: rgb(190 201 227 / 8%); }
.spine { padding: 9px 0 0 32px; font-size: 11px; }
.spine::before { left: 12px; bottom: -19px; }
.spine i { width: 10px; height: 10px; left: 7px; top: 12px; box-shadow: 0 0 0 3px var(--bg); }
.spine small { font-size: 11px; margin-top: 12px; color: var(--muted); }
.lead-image { min-height: 0; aspect-ratio: 2.425; align-self: start; }
.image-corner { display: none; }
.lead-copy { padding: 3px 0 0; }
.lead-copy .author { margin-bottom: 16px; font-size: 13px; gap: 12px; }
.lead-copy > .eyebrow { font-size: 11px; margin-bottom: 8px; }
.story-title { font: 400 35px/1.08 var(--serif); letter-spacing: -.025em; margin-bottom: 12px; text-wrap: pretty; }
.lead-copy p, .question-copy > p, .media-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.social-actions { margin-top: 0; gap: 26px; }
.social-actions button, .social-actions a, .social-actions .views { font-size: 13px; min-height: 36px; }
.social-actions .icon { width: 21px; height: 21px; }
.question-row { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.04fr); }
.question-copy { padding-left: 24px; }
.question-copy > .eyebrow { display: none; }
.question-copy .section-title { font-size: 28px; max-width: 440px; line-height: 1.08; font-weight: 400; }
.question-copy .author { margin: 10px 0; font-size: 13px; }
.live-discussion { padding: 0 0 0 24px; }
.live-discussion > .eyebrow { font-size: 11px; margin-bottom: 8px; }
.live-discussion > .text-link { font-size: 12px; margin-top: 4px; }
.discussion-snippet { padding: 8px 0; font-size: 13px; gap: 12px; border-radius: 4px; }
.discussion-snippet .avatar { width: 40px; height: 40px; }
.discussion-snippet p { font-size: 13px; line-height: 1.45; }
.discussion-snippet.tinted { padding: 10px 12px; }
.community-band { grid-template-columns: 80px minmax(0, 1fr); padding: 10px 0 16px; }
.band-content { padding-left: 24px; }
.band-content > .eyebrow { font-size: 11px; margin-bottom: 8px; }
.community-strip { gap: 30px; }
.community-mini { gap: 16px; }
.community-mini img { width: 88px; height: 88px; }
.community-mini b { font-size: 14px; font-weight: 400; }
.community-mini span { font-size: 12px; }
.all-communities { font-size: 13px; }
.media-row { grid-template-columns: 80px minmax(0, 2.25fr) minmax(0, 1fr); }
.media-copy .section-title { font-size: 22px; }
.media-copy .author { font-size: 12px; }
.article-row { grid-template-columns: 80px minmax(0, 1.65fr) minmax(0, 1fr); }
.article-row .section-title { font: 400 30px/1.15 var(--serif); }
.news-row { grid-template-columns: 80px minmax(0, 1fr) auto; }
.news-row .section-title { font: 400 27px/1.15 var(--serif); }
.author-community { color: var(--muted); font-size: 12px; }
.author-community::before { content: "·"; margin-right: 8px; }
.lead-copy .author { flex-wrap: wrap; row-gap: 4px; }
.text-post-copy { min-width: 0; }
.text-post-copy .author { margin-bottom: 12px; flex-wrap: wrap; }
.text-post-copy > .section-title { display: block; margin: 8px 0; }
.text-post-excerpt { line-height: 1.6; }
.text-post-media { max-width: 760px; margin: 16px 0; }
.text-post-media img { width: 100%; aspect-ratio: 2.8; }
.post-row { grid-template-columns: 80px minmax(0, 1fr) auto; }
.text-post-open { align-self: end; padding-bottom: 8px; }
.feed-description { font-size: 12px; margin: 6px 0 0; }
.route-feed[data-feed-mode="fresh"] .community-band { display: none; }
@media (min-width: 1001px) {
  .route-feed[data-feed-mode="fresh"] .stream-row { grid-template-columns: 80px minmax(0, 1fr) 280px; align-items: start; gap: 24px; }
  .route-feed[data-feed-mode="fresh"] .stream-row .lead-image,
  .route-feed[data-feed-mode="fresh"] .stream-row .media-image { grid-column: 3; grid-row: 1; aspect-ratio: 2.25; }
  .route-feed[data-feed-mode="fresh"] .stream-row .lead-copy,
  .route-feed[data-feed-mode="fresh"] .stream-row .media-copy { grid-column: 2; grid-row: 1; }
  .route-feed[data-feed-mode="fresh"] .story-title,
  .route-feed[data-feed-mode="fresh"] .section-title { font-size: 25px; }
  .route-feed[data-feed-mode="fresh"] .lead-copy > .eyebrow { display: none; }
  .route-feed[data-feed-mode="fresh"] .live-discussion { display: none; }
  .route-feed[data-feed-mode="fresh"] .spine small { font-size: 10px; }
  .route-feed[data-feed-mode="fresh"] .stream-row { padding: 18px 0; }
  .route-feed[data-feed-mode="popular"] .lead-row,
  .route-feed[data-feed-mode="following"] .lead-row { grid-template-columns: 80px minmax(0, 1fr) 240px; }
  .route-feed:is([data-feed-mode="popular"],[data-feed-mode="following"]) .lead-image { grid-column: 3; grid-row: 1; aspect-ratio: 1.7; }
  .route-feed:is([data-feed-mode="popular"],[data-feed-mode="following"]) .lead-copy { grid-column: 2; grid-row: 1; }
  .route-feed:is([data-feed-mode="popular"],[data-feed-mode="following"]) .story-title { font-size: 28px; }
  .route-feed:is([data-feed-mode="popular"],[data-feed-mode="following"]) .community-band { display: none; }
}
.route-feed { display: flex; flex-direction: column; }
.route-feed > [data-feed-items] { display: contents; }
.route-feed .feed-head { order: 0; }
.route-feed .topic-nav { order: 1; }
.route-feed [data-feed-items] > * { order: 5; }
.route-feed [data-feed-items] > :first-child { order: 2; }
.route-feed [data-feed-items] > :nth-child(2) { order: 3; }
.route-feed > .community-band { order: 4; }
.route-feed > #continuation, .route-feed > .load-more { order: 6; }
@media (min-width: 1700px) {
  .route-feed, .route-games, .route-cinema { max-width: 1664px; padding-right: 160px; }
  .story-title { font-size: 40px; }
}
@media (min-width: 701px) and (max-width: 1200px) {
  .topbar { padding: 0 28px; gap: 30px; }
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 12px; }
  .header-search { margin-left: 0; width: 180px; }
  .route-feed, .route-games, .route-cinema { padding: 20px 44px 120px 24px; }
  .story-title { font-size: 30px; }
  .feed-head, .topic-nav { margin-left: 84px; }
  .stream-row { grid-template-columns: 60px minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
  .question-row { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr); }
  .lead-image { min-height: 0; }
  .community-mini img { width: 64px; height: 64px; }
  .community-mini b { font-size: 12px; }
  .community-strip { flex-wrap: wrap; }
  .question-copy { padding-left: 0; }
  .topic-nav { gap: 28px; }
  .topic-nav button { font-size: 12px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .topbar { gap: 24px; padding: 0 24px; }
  .main-nav { gap: 18px; }
  .header-search { width: 40px; margin-left: auto; }
  .feed-head { align-items: flex-start; }
  .lead-row, .question-row, .media-row { grid-template-columns: 60px minmax(0, 1fr); }
  .lead-image, .lead-copy, .media-image, .media-copy, .question-copy, .live-discussion { grid-column: 2; }
  .live-discussion { border-left: 0; padding: 16px 0 0; }
  .story-title { font-size: 32px; }
  .feed-head { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .community-band { grid-template-columns: 60px minmax(0, 1fr); }
  .band-content { padding-left: 0; }
  .pulse-edge { min-height: 120px; padding: 14px 6px; }
}
@media (max-width: 700px) {
  .topbar { height: 68px; padding: 0 20px; gap: 12px; }
  .wordmark { font-size: 23px; letter-spacing: .24em; }
  .header-search { width: 40px; height: 40px; padding: 8px; margin-left: auto; }
  .header-actions { gap: 8px; }
  .canvas { min-height: calc(100dvh - 68px); }
  .route-feed, .route-games, .route-cinema { padding: 8px 20px 100px 12px; }
  .feed-head { margin-left: 8px; margin-bottom: 4px; min-height: 0; }
  .feed-head .page-heading { font-size: 16px; line-height: 22px; }
  .feed-tabs { width: 100%; gap: 18px; }
  .feed-tabs button { font-size: 10px; min-height: 28px; padding: 4px 0; }
  .topic-nav { margin: 4px -20px 12px 0; padding: 0 20px 0 8px; gap: 8px; }
  .topic-nav button { font-size: 10px; min-height: 30px; padding: 5px 9px; }
  .stream-row { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .stream-row .spine { grid-column: 1; grid-row: 1 / span 4; padding: 6px 0 0 22px; }
  .spine::before { left: 6px; bottom: -17px; }
  .spine i { width: 8px; height: 8px; left: 2px; top: 8px; }
  .spine span { writing-mode: horizontal-tb; font-size: 8px; margin: 0; color: #d1d4df; }
  .spine small { display: block; font-size: 9px; margin-top: 8px; line-height: 1.6; overflow-wrap: anywhere; }
  .lead-image { grid-column: 2; aspect-ratio: 1.42; min-height: 0; }
  .lead-copy { grid-column: 2; padding: 0; gap: 0; }
  .lead-copy .author { font-size: 10px; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
  .lead-copy .author .avatar { width: 22px; height: 22px; }
  .lead-copy > .eyebrow { display: none; }
  .story-title { font-size: 23px; line-height: 1.13; letter-spacing: -.02em; margin-bottom: 10px; }
  .lead-copy p, .question-copy > p, .media-copy > p:not(.eyebrow) { font-size: 11px; line-height: 1.55; }
  .social-actions { gap: 12px; }
  .social-actions button, .social-actions a, .social-actions .views { font-size: 10px; gap: 5px; min-height: 40px; }
  .social-actions .icon { width: 17px; height: 17px; }
  .question-row, .media-row { grid-template-columns: 60px minmax(0, 1fr); }
  .question-copy { grid-column: 2; padding-left: 0; display: flex; flex-direction: column; }
  .question-copy .author { order: -1; font-size: 10px; margin: 0 0 10px; }
  .question-copy .section-title { font-size: 22px; line-height: 1.12; margin-bottom: 10px; }
  .live-discussion { grid-column: 2; padding: 12px 0 0; margin-top: 4px; border-left: 0; }
  .live-discussion > .eyebrow { font-size: 9px; }
  .discussion-snippet { font-size: 10px; }
  .discussion-snippet .avatar { width: 28px; height: 28px; }
  .discussion-snippet p { font-size: 11px; }
  .community-band { grid-template-columns: 60px minmax(0, 1fr); }
  .band-content { padding-left: 0; }
  .community-strip { gap: 14px; }
  .community-mini { flex-basis: 100%; }
  .community-mini img { width: 44px; height: 44px; }
  .community-mini b { font-size: 12px; }
  .community-mini span { font-size: 10px; }
  .media-image, .media-copy { grid-column: 2; }
  .media-copy .section-title { font-size: 22px; }
  .article-row { grid-template-columns: 60px minmax(0, 1fr); }
  .article-row > div:not(.spine), .article-row > a { grid-column: 2; }
  .news-row { grid-template-columns: 60px minmax(0, 1fr); }
  .news-row > .text-link { grid-column: 2; }
  .news-row .section-title { font-size: 22px; }
  .post-row { grid-template-columns: 60px minmax(0, 1fr); }
  .post-row .text-post-open { grid-column: 2; }
  .text-post-copy .author { font-size: 10px; gap: 8px; }
  .author-community { font-size: 10px; }
  .mobile-nav { min-height: 68px; padding-bottom: max(8px, env(safe-area-inset-bottom)); background: #0a0e16f5; border-color: var(--border); }
  .mobile-nav a { font-size: 9px; }
  .mobile-nav .mobile-create { background: radial-gradient(circle at 35% 20%, #929cff, #5868ff 62%); }
}
@media (max-width: 350px) {
  .route-feed, .route-games, .route-cinema { padding-right: 12px; padding-left: 8px; }
  .topic-nav { margin-right: -12px; }
  .stream-row, .question-row, .media-row, .article-row, .news-row, .post-row, .community-band { grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
  .spine span { font-size: 7px; }
  .story-title, .question-copy .section-title { font-size: 21px; }
  .social-actions { gap: 8px; }
  .feed-tabs { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .image-link img { transition: none; }
  .image-link:hover img { transform: none; }
}



/* The original variable font's weight axis matches the light editorial strokes. */
.story-title, .section-title, .reading-title-block h1, .reading-prose, .editor-title-field textarea, .editor-quote textarea, .profile-identity h1, .community-identity h1, .community-hero h1, .auth-form-content h1, .empty-state h2, header.page-heading h1, .mod-page h1 { font-variation-settings: "wght" 300; }
.stream-row:not(.has-media) :is(.lead-image,.media-image,.text-post-media,.article-row > a) { display:none; }
.stream-row.lead-row:not(.has-media) .lead-copy { grid-column:2 / -1; }
.stream-row.media-row:not(.has-media) .media-copy { grid-column:2 / -1; }
.stream-row.article-row:not(.has-media) > div:not(.spine) { grid-column:2 / -1; }
@media (min-width:701px) {
  [data-feed-items] > .stream-row:first-child { padding-top:14px; }
}
/* A guest must be visibly distinct from an authenticated avatar after logout. */
#app .account-trigger.guest{width:auto;min-width:54px;padding:0 10px;font-size:12px;color:var(--text,#d6d9e0)}
