Files
4cuckandCursor 5219453120 Add the profile posts menu and stop treating prices as tickers.
Hide Articles unless that account has some, and leave amounts like $250,000 as plain text.

Co-authored-by: Cursor <[email protected]>
2026-10-25 21:04:19 +00:00

2346 lines
64 KiB
CSS

/* A quiet, information-first UI layer. This intentionally sits after the
component styles so older themes keep working without carrying their old
layout decisions forward. */
html body {
--page-width: 920px;
--feed-width: 600px;
--sidebar-width: 280px;
--line: var(--border_grey);
--surface: var(--bg_panel);
--surface-raised: var(--bg_elements);
--text: var(--fg_color);
--muted: var(--fg_faded);
font-size: 14px;
line-height: 1.35;
}
*, *::before, *::after { box-sizing: border-box; }
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
a { color: var(--accent); }
nav.site-nav,
nav:not([class]) {
height: 46px;
background: var(--bg_overlays);
box-shadow: 0 0 4px var(--shadow);
backdrop-filter: none;
}
.inner-nav {
width: min(100%, var(--page-width));
flex-basis: var(--page-width);
height: 46px;
padding: 0 10px;
}
/* Compatibility with pages rendered by a server process started before the
brand markup changed. Its standalone centered logo otherwise consumes a
third flex column and crowds the controls. */
.inner-nav > a { display: none; }
.site-brand {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--text);
min-width: 0;
}
.site-brand:hover { text-decoration: none; }
.site-logo { width: 40px; height: 28px; object-fit: contain; border-radius: 0; }
.site-name { color: var(--text); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.nav-item { height: 46px; line-height: normal; }
.nav-icon { width: 32px; height: 32px; border-radius: 2px; }
.nav-icon:hover { background: var(--bg_hover); color: var(--text); }
nav.site-nav a.nav-icon.active { color: var(--accent); }
.inner-nav > .nav-item.right {
display: flex;
flex-wrap: nowrap;
overflow: visible;
gap: 2px;
}
.mobile-nav { display: none; }
.mobile-nav > summary {
display: grid;
width: 32px;
height: 32px;
place-items: center;
border-radius: 2px;
color: var(--muted);
cursor: pointer;
list-style: none;
}
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav[open] > summary { background: var(--bg_hover); color: var(--text); }
.mobile-nav-menu {
position: absolute;
z-index: 1100;
top: calc(100% + 7px);
right: 0;
display: grid;
width: 180px;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 2px;
background: var(--surface);
}
.mobile-nav-menu a {
display: grid;
grid-template-columns: 20px 1fr;
gap: 10px;
align-items: center;
min-height: 42px;
padding: 0 12px;
color: var(--text);
font-size: 13px;
text-decoration: none;
}
.mobile-nav-menu a + a { border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent); }
.mobile-nav-menu a:hover { background: var(--bg_hover); }
.mobile-nav-menu a > :first-child { justify-self: center; }
main .container {
width: 100%;
min-height: 100vh;
padding: 58px 12px 28px;
display: block;
}
/* The nitter search bar sits up into the old banner. Error pages have
no banner, so that pull-up hid the message under the fixed nav. */
.error-panel {
margin-top: 0;
}
.timeline-container {
width: min(100%, var(--feed-width));
max-width: var(--feed-width);
padding: 0;
}
.timeline {
border: 0;
border-radius: 0;
overflow: hidden;
background: transparent;
animation: none;
}
.timeline > div:not(:first-child) { border-top: 1px solid var(--line); }
.timeline-item {
padding: 8px 10px;
background: var(--surface);
animation: none;
transition: background-color .12s ease;
}
.timeline-item:hover { background: var(--bg_hover); }
.timeline-item:active { background: var(--bg_overlays); }
.tweet-body { margin-left: 48px; }
.tweet-avatar img,
.avatar {
border-radius: 2px;
}
.avatar.round { border-radius: 50%; }
.overlay-circle { border-radius: 3px; }
.list-result .list-facepile { border-radius: 2px; }
.tweet-avatar img { width: 40px; height: 40px; margin-left: -48px; margin-top: 1px; object-fit: cover; }
.timeline-item.list-hit {
display: flex;
align-items: center;
gap: 12px;
min-height: 0;
padding: 10px 14px;
}
.list-thumb {
position: relative;
z-index: 1;
flex: 0 0 48px;
width: 48px;
height: 48px;
overflow: hidden;
border-radius: 2px;
background: var(--bg_elements);
}
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-thumb-icon {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
color: #111;
}
.list-thumb-icon svg { width: 22px; height: 22px; }
.list-hit-copy { min-width: 0; flex: 1; }
.list-hit-title {
overflow: hidden;
color: var(--text);
font-size: 15px;
font-weight: 700;
line-height: 1.25;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-hit-title a { color: inherit; text-decoration: none; }
.list-hit-members { color: var(--muted); font-weight: 500; }
.list-hit-sub {
display: flex;
align-items: center;
gap: 6px;
margin-top: 3px;
min-width: 0;
}
.list-hit-faces { display: flex; flex: 0 0 auto; }
.list-hit-faces img {
width: 16px;
height: 16px;
margin-left: -5px;
border: 1px solid var(--surface);
border-radius: 2px;
object-fit: cover;
}
.list-hit-faces img:first-child { margin-left: 0; }
.list-hit-followers {
overflow: hidden;
color: var(--muted);
font-size: 13px;
line-height: 1.2;
white-space: nowrap;
text-overflow: ellipsis;
}
.note .author {
gap: 10px;
margin-bottom: 22px;
}
.note .author img.avatar {
width: 36px;
height: 36px;
margin: 0;
object-fit: cover;
flex: 0 0 36px;
}
.note .author-id {
display: flex;
flex-direction: column;
gap: 1px;
min-width: 0;
}
.note .author-name {
display: flex;
align-items: center;
gap: 4px;
min-width: 0;
}
.note .author-name .fullname {
font-size: 15px;
font-weight: 700;
}
.note .author-meta {
display: flex;
align-items: center;
color: var(--muted);
font-size: 13px;
line-height: 1.25;
}
.note .author-meta .username { color: var(--muted); }
.note .author-date::before {
content: "·";
margin: 0 0.4em;
color: var(--muted);
}
.tweet-header { margin-bottom: 2px; }
.tweet-name-row { display: block; gap: 0; align-items: stretch; justify-content: flex-start; }
.fullname-and-username {
display: flex;
flex-wrap: wrap;
align-items: center;
column-gap: 4px;
min-width: 0;
line-height: 1.25;
}
.fullname {
display: inline-flex;
align-items: center;
max-width: 100%;
color: var(--text);
font-size: 14px;
font-weight: 700;
line-height: 1.25;
}
.tweet-author-meta {
display: flex;
flex: 1 1 100%;
align-items: center;
min-width: 0;
gap: 0;
color: var(--muted);
font-size: 13px;
line-height: 1.25;
}
.username { display: inline-flex; align-items: center; margin-left: 0; line-height: 1.25; }
.tweet-date { display: inline-flex; align-items: center; margin-left: 0; line-height: 1.25; }
.tweet-author-meta .tweet-date::before {
content: "·";
margin: 0 0.4em;
color: var(--muted);
}
.username, .tweet-date a, .replying-to { color: var(--muted); }
.tweet-content { font-size: 14px; line-height: 1.35; }
.tweet-stats { margin-top: 4px; margin-bottom: 0; font-size: 12px; font-weight: 600; line-height: 18px; }
.tweet-stat { padding-top: 2px; margin-right: 0.85em; }
.verified-icon {
display: inline-flex;
width: 15px;
height: 15px;
flex: 0 0 15px;
align-items: center;
justify-content: center;
margin: 0 0 0 3px;
vertical-align: middle;
}
.verified-icon svg { display: block; width: 15px; height: 15px; fill: currentColor; }
.verified-icon .verified-badge-bg { fill: currentColor; }
.verified-icon .verified-badge-check { fill: #fff; }
.verified-icon.blue { color: var(--verified_blue); }
.verified-icon.business { color: var(--verified_business); }
.verified-icon.government { color: var(--verified_government); }
.tweet-content { color: var(--text); font-weight: 400; }
.tweet-stats { color: var(--muted); }
.retweet-header, .pinned { color: var(--muted); font-size: 13px; }
.tweet-link:hover { background: transparent; }
.tweet-account-trigger {
position: relative;
display: inline-flex;
align-items: center;
flex: 0 1 auto;
min-width: 0;
margin-left: 6px;
pointer-events: all;
}
.tweet-account-trigger[open] { z-index: 90; }
.timeline:has(.tweet-account-trigger[open]),
.quote:has(.tweet-account-trigger[open]) {
overflow: visible;
}
.timeline-item:has(.tweet-account-trigger[open]) {
z-index: 95;
overflow: visible;
}
.timeline-item:has(.tweet-account-trigger[open]) .tweet-body { z-index: 96; }
.tweet-account-trigger > summary { list-style: none; }
.tweet-account-trigger > summary::-webkit-details-marker { display: none; }
.tweet-account-location {
display: inline-flex;
align-items: center;
gap: 5px;
max-width: 120px;
padding: 3px 7px;
overflow: hidden;
border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
border-radius: 2px;
background: color-mix(in srgb, var(--accent) 7%, transparent);
color: var(--muted);
cursor: pointer;
font-size: 10px;
font-weight: 650;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.tweet-account-location:hover { color: var(--text); border-color: var(--accent); }
.tweet-account-location .account-signal-dot { width: 5px; height: 5px; flex-basis: 5px; }
.tweet-account-warning { color: var(--tp-accent-red); font-weight: 800; }
.tweet-account-popover {
position: absolute;
z-index: 90;
top: calc(100% + 7px);
left: 0;
display: grid;
width: 250px;
max-width: calc(100vw - 32px);
gap: 6px;
padding: 12px;
border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
border-radius: 2px;
background: var(--bg_color);
box-shadow: 0 16px 38px var(--shadow_dark);
color: var(--text);
font-size: 11px;
line-height: 1.4;
}
.tweet-account-popover > span:not(.account-context-kicker) { color: var(--muted); }
.tweet-account-popover .tweet-account-popover-warning { color: var(--tp-accent-red); }
.tweet-account-popover small { padding-top: 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.attachments, .quote, .card, .poll, .community-note { border-radius: 2px; }
.still-image { cursor: zoom-in; }
.image-lightbox {
position: fixed;
inset: 0;
box-sizing: border-box;
width: 100%;
max-width: none;
height: 100%;
max-height: none;
margin: 0;
padding: 18px;
overflow: hidden;
border: 0;
background: transparent;
color: var(--text);
}
.image-lightbox::backdrop { background: rgba(5, 5, 7, .88); backdrop-filter: blur(5px); }
.image-lightbox-frame {
position: relative;
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 0 54px 42px;
box-sizing: border-box;
}
.image-lightbox-image {
display: block;
width: auto;
height: auto;
min-width: 0;
min-height: 0;
max-width: calc(100vw - 144px);
max-height: calc(100vh - 84px);
object-fit: contain;
border-radius: 2px;
}
.image-lightbox-close,
.image-lightbox-nav {
z-index: 1;
display: grid;
width: 30px;
height: 30px;
min-height: 0;
place-items: center;
padding: 0;
border-radius: 2px;
background: rgba(20,20,23,.84);
color: #fff;
font-size: 18px;
}
.image-lightbox-close {
position: absolute;
top: 5px;
right: 5px;
font-size: 0;
}
.image-lightbox-close::before,
.image-lightbox-close::after {
content: "";
position: absolute;
width: 11px;
height: 1.5px;
border-radius: 1px;
background: currentColor;
}
.image-lightbox-close::before { transform: rotate(45deg); }
.image-lightbox-close::after { transform: rotate(-45deg); }
.image-lightbox-prev { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.image-lightbox-next { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.image-lightbox-footer {
position: absolute;
right: 54px;
bottom: 4px;
left: 54px;
display: flex;
gap: 16px;
justify-content: center;
min-width: 0;
padding-top: 10px;
font-size: 12px;
}
.image-lightbox-caption { overflow: hidden; color: #bbb; text-overflow: ellipsis; white-space: nowrap; }
.image-lightbox-original { flex: 0 0 auto; }
@media (max-width: 600px) {
.image-lightbox { padding: 10px; }
.image-lightbox-frame { padding: 0 38px 38px; }
.image-lightbox-nav { width: 28px; height: 28px; font-size: 17px; }
.image-lightbox-close { width: 30px; height: 30px; }
.image-lightbox-image { max-width: calc(100vw - 96px); max-height: calc(100vh - 68px); }
.image-lightbox-footer { right: 38px; left: 38px; }
}
.tab {
position: static;
top: auto;
z-index: auto;
margin: 0 0 4px;
background: var(--bg_panel);
backdrop-filter: none;
border: 0;
border-radius: 0;
overflow: visible;
box-shadow: none;
}
.timeline-container > .tab {
position: relative;
z-index: 8;
}
.posts-filter { position: relative; height: 100%; }
.posts-filter[open] { z-index: 9; }
.posts-filter > summary {
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
height: 100%;
padding: 8px 0;
list-style: none;
cursor: pointer;
color: var(--tab_selected);
font-weight: 700;
border-bottom: 0.1rem solid var(--tab_selected);
}
.posts-filter > summary::-webkit-details-marker { display: none; }
.posts-filter-chevron {
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid currentColor;
}
.posts-filter-menu {
position: absolute;
z-index: 40;
top: calc(100% + 6px);
left: 50%;
transform: translateX(-50%);
width: max-content;
padding: 4px;
background: var(--bg_panel);
border: 1px solid var(--line);
border-radius: 12px;
box-shadow: 0 10px 28px var(--shadow);
}
.posts-filter-menu a {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 6px 10px;
border-radius: 8px;
color: var(--text);
font-weight: 650;
white-space: nowrap;
}
.posts-filter-menu a:hover { background: var(--bg_hover); }
.posts-filter-menu a.on::after { content: "✓"; color: var(--accent); }
.posts-filter-label {
padding: 7px 10px 1px;
color: var(--muted);
font-size: 12px;
font-weight: 650;
text-align: center;
}
@media (max-width: 700px) {
.posts-filter-menu { left: 0; transform: none; }
}
.tab-item a {
padding: 8px 0;
font-size: inherit;
font-weight: bold;
color: var(--tab);
}
.tab-item a.active, .tab-item.active a {
border-bottom-color: var(--tab_selected);
color: var(--tab_selected);
}
/* Profile tabs sit directly above a bordered feed. A translucent rounded
frame lets the feed's side rails show through while scrolling, producing
awkward intersecting lines. Keep this navigation visually flat and opaque. */
.profile-tabs .tab {
isolation: isolate;
border: 0;
border-radius: 0;
background: var(--bg_panel);
backdrop-filter: none;
box-shadow: none;
}
.timeline-banner {
overflow: hidden;
border: 1px solid var(--line);
border-bottom: 0;
border-radius: 0;
background: var(--bg_elements);
}
.timeline-banner img {
display: block;
width: 100%;
aspect-ratio: 3 / 1;
object-fit: cover;
}
.timeline-header {
margin-bottom: 4px;
text-align: center;
background-color: var(--bg_panel);
}
.timeline-none, .timeline-protected, .timeline-end {
margin: 0;
padding: 8px 0;
border: 0;
border-radius: 0;
background: transparent;
color: var(--accent);
font-size: 20px;
font-weight: 600;
box-shadow: none;
}
.timeline-footer { padding: 0; margin-top: 12px; background: transparent; }
.timeline .timeline-footer {
margin: 0;
border-radius: 0;
}
.timeline .timeline-end {
margin: 0;
border: 0;
border-radius: 0;
background: transparent;
}
.timeline .top-ref {
border-radius: 0 0 7px 7px;
}
.show-more { padding: 0; }
.show-more a { display: block; padding: 8px; color: var(--accent); }
/* Timeline pagination: compact centered controls instead of full-width bars. */
.timeline > .show-more,
.timeline > .timeline-item.show-more,
.timeline.media-gallery-view > .show-more {
display: flex !important;
align-items: center;
justify-content: center;
width: min(100%, 900px);
margin: 0 auto;
padding: 12px;
border-top: 1px solid var(--line);
background: var(--surface);
}
.timeline.media-gallery-view > .show-more {
margin-top: 8px;
}
.timeline > .show-more a,
.timeline > .timeline-item.show-more a,
.timeline.media-gallery-view > .show-more a {
display: inline-flex;
align-items: center;
justify-content: center;
width: auto;
min-width: 132px;
min-height: 32px;
padding: 6px 18px;
border: 0;
border-radius: 2px;
background: var(--surface-raised);
color: var(--accent);
font-size: 13px;
line-height: 1.2;
text-decoration: none;
}
.timeline > .show-more a:hover,
.timeline > .timeline-item.show-more a:hover,
.timeline.media-gallery-view > .show-more a:hover {
background: color-mix(in srgb, var(--surface-raised) 78%, var(--text) 12%);
color: var(--accent);
text-decoration: none;
}
.profile-tabs {
width: min(100%, var(--page-width));
max-width: var(--page-width);
margin: 0 auto;
padding: 0;
display: grid;
grid-template-columns: var(--sidebar-width) minmax(0, var(--feed-width));
gap: 16px;
align-items: start;
}
.profile-tab { min-width: 0; }
.profile-tab.sticky {
position: sticky;
top: 54px;
max-height: none;
overflow: visible;
}
.profile-tabs > .profile-tab:has(.account-context-trigger[open]) { z-index: 100; }
.profile-tabs > .profile-tab:not(.sticky):has(.account-context-trigger[open]) { position: relative; }
.profile-banner { border: 1px solid var(--line); border-bottom: 0; border-radius: 0; overflow: hidden; }
.profile-banner img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.profile-card {
padding: 12px;
border: 1px solid var(--line);
border-radius: 0;
background: var(--surface);
box-shadow: none;
}
.profile-banner + .profile-card { border-radius: 0; }
.profile-card:hover { box-shadow: none; }
.profile-card-info { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; overflow: visible; }
.profile-card-avatar { width: 56px; height: 56px; margin: 0; }
.profile-card-avatar::after { display: none; }
.profile-card-avatar img { position: static; width: 56px; height: 56px; border-radius: 2px; object-fit: cover; }
.profile-card-avatar img.avatar.round { border-radius: 50%; }
.profile-card-tabs-name { margin: 0; overflow: visible; }
.profile-card-fullname { font-family: inherit; font-size: 19px; font-weight: 700; }
.profile-card-username { font-size: 14px; }
.account-context-trigger {
position: relative;
display: block;
width: fit-content;
max-width: 100%;
margin: 5px 0;
}
.account-context-trigger[open] { z-index: 81; }
.account-context-trigger > summary { list-style: none; cursor: pointer; }
.account-context-trigger > summary::-webkit-details-marker { display: none; }
.account-signal {
display: inline-flex;
align-items: center;
gap: 5px;
width: auto;
max-width: 100%;
min-height: 0;
padding: 3px 0;
overflow: hidden;
border: 0;
border-radius: 0;
background: transparent;
color: var(--text);
font-size: 11px;
font-weight: 650;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.account-signal-info,
.account-signal-location {
display: inline-grid;
width: 14px;
height: 14px;
flex: 0 0 14px;
place-items: center;
border: 1px solid var(--accent);
border-radius: 2px;
color: var(--accent);
font-family: ui-monospace, monospace;
font-size: 8px;
font-weight: 700;
line-height: 1;
}
.account-signal-location::before {
content: "i";
font-family: ui-monospace, monospace;
}
.account-signal strong { color: var(--text); font-size: 10px; font-weight: 600; }
.account-signal-warning { color: var(--verified_business); font-weight: 800; }
.account-signal-dot {
width: 6px;
height: 6px;
flex: 0 0 6px;
border-radius: 1px;
background: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent);
}
.account-signal-flag {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
font-size: 13px;
line-height: 1;
}
.account-signal > .icon-location,
.tweet-account-location > .icon-location {
color: var(--accent);
}
.profile-card-extra { display: block; }
.profile-card-extra .profile-bio { margin: 16px 0 12px; font-size: 14px; }
.profile-card-extra-links { margin-top: 14px; padding-top: 12px; }
.profile-statlist {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
width: 100%;
}
.profile-statlist li { min-width: 0; padding: 0; overflow: hidden; }
.profile-statlist li:hover { background: transparent; }
.profile-stat-header { overflow: hidden; font-size: 11px; text-overflow: ellipsis; }
.profile-stat-num { font-size: 15px; white-space: nowrap; }
.account-context {
position: absolute;
z-index: 80;
top: calc(100% + 8px);
left: 0;
width: 290px;
max-width: calc(100vw - 32px);
margin: 0;
overflow: hidden;
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
border-radius: 0;
background: var(--bg_color);
box-shadow: 0 18px 45px var(--shadow_dark);
}
.account-context::before {
content: "";
position: absolute;
inset: 0 auto 0 0;
width: 2px;
background: var(--accent);
}
.account-context-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 13px 14px 11px;
border-bottom: 1px solid var(--line);
}
.account-context-kicker {
display: block;
margin-bottom: 2px;
color: var(--accent);
font-size: 9px;
font-weight: 750;
letter-spacing: .12em;
text-transform: uppercase;
}
.account-context h3 { margin: 0; color: var(--text); font-size: 13px; font-weight: 700; }
.account-context-mark {
display: grid;
width: 22px;
height: 22px;
place-items: center;
border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
border-radius: 2px;
color: var(--accent);
font-family: ui-monospace, monospace;
font-size: 11px;
font-weight: 700;
}
.account-context dl { margin: 0; }
.account-context-row {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
gap: 12px;
padding: 10px 14px;
}
.account-context-row + .account-context-row { border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.account-context dt { color: var(--muted); font-size: 11px; }
.account-context dd { margin: 0; color: var(--text); font-size: 11px; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.account-context-warning {
display: flex;
gap: 7px;
margin: 0;
padding: 9px 14px;
border-top: 1px solid color-mix(in srgb, var(--tp-accent-red) 55%, var(--line));
background: color-mix(in srgb, var(--tp-accent-red) 13%, var(--bg_color));
color: var(--text);
font-size: 10px;
}
.account-context-warning span { color: var(--tp-accent-red); font-weight: 800; }
.account-context-note {
margin: 0;
padding: 10px 14px;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 9px;
line-height: 1.45;
}
.photo-rail-card {
clear: both;
margin-top: 14px;
border: 1px solid var(--line);
border-radius: 0;
background: var(--surface);
overflow: hidden;
}
.photo-rail-header {
min-height: 46px;
padding: 10px 12px;
}
.photo-rail-header a {
width: 100%;
gap: 8px;
}
.photo-rail-media-badge {
position: static;
min-width: 0;
height: 22px;
margin-left: auto;
padding: 0 8px;
border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
border-radius: 2px;
background: color-mix(in srgb, var(--accent) 9%, transparent);
color: var(--muted);
font-size: 10px;
font-weight: 650;
}
.photo-rail-icon-wrap {
width: 26px;
height: 26px;
flex: 0 0 26px;
border-radius: 2px;
background: color-mix(in srgb, var(--accent) 10%, transparent);
white-space: nowrap;
}
/* Keep the header usable while an older server process is still emitting the
pre-redesign markup with the count nested inside the icon wrapper. */
.photo-rail-icon-wrap:has(.photo-rail-media-badge) { display: contents; }
.photo-rail-header a > .photo-rail-icon-wrap:has(.photo-rail-media-badge) .photo-rail-media-icon,
.photo-rail-header-mobile-inner > .photo-rail-icon-wrap:has(.photo-rail-media-badge) .photo-rail-media-icon {
order: 1;
display: grid;
width: 26px;
height: 26px;
place-items: center;
border-radius: 2px;
background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.photo-rail-header a > .photo-rail-media-label,
.photo-rail-header-mobile-inner > span:nth-child(2) { order: 2; }
.photo-rail-header a > .photo-rail-icon-wrap,
.photo-rail-header-mobile-inner > .photo-rail-icon-wrap { order: 1; }
.photo-rail-header a > .photo-rail-media-badge,
.photo-rail-header-mobile-inner > .photo-rail-media-badge { order: 3; }
.photo-rail-icon-wrap:has(.photo-rail-media-badge) .photo-rail-media-badge { order: 3; margin-left: auto; }
.photo-rail-media-icon { color: var(--accent); font-size: 14px !important; }
.photo-rail-media-label { color: var(--text); font-size: 13px; font-weight: 700; }
.photo-rail-header-mobile-inner { width: auto; flex: 1; }
.photo-rail-header-mobile-inner > span:nth-child(2) { color: var(--text); font-size: 13px; }
.photo-rail-header-mobile { gap: 12px; padding-right: 14px; }
.photo-rail-header-mobile > [class*="icon-"] {
flex: 0 0 16px;
width: 16px;
margin: 0;
text-align: center;
}
.photo-rail-grid { gap: 2px; }
button, input[type="text"], input[type="date"], input[type="number"], select {
min-height: 40px;
border-radius: 2px;
font: inherit;
}
button {
padding: 9px 14px;
background: var(--accent);
color: var(--icon_text);
font-weight: 650;
}
button:hover { background: var(--accent_light); color: var(--icon_text); }
input[type="text"], input[type="date"], input[type="number"], select {
background: var(--bg_color);
border: 1px solid var(--line);
color: var(--text);
box-shadow: none;
}
.search-field { display: flex; align-items: center; gap: 8px; }
.search-field > .pref-input {
flex: 1 1 auto;
min-width: 0;
height: auto;
margin: 0;
padding: 0;
}
.search-field input[type="text"],
.search-field input[type="number"] {
width: 100%;
height: 40px;
min-height: 40px;
padding: 8px 12px;
background: var(--bg_elements);
border-color: var(--accent_border);
border-radius: 2px;
box-shadow: none;
line-height: 1.3;
}
.search-field input[type="text"]:focus,
.search-field input[type="number"]:focus {
box-shadow: none;
}
.search-field button {
height: 40px;
min-height: 40px;
padding: 0 12px;
border-radius: 2px;
box-shadow: none;
}
.search-field > label {
display: inline-flex;
align-items: center;
justify-content: center;
height: 40px;
min-height: 40px;
padding: 0 10px;
border-radius: 2px;
background: var(--bg_elements);
}
/* .search-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); } */
.search-field #search-panel-toggle:checked ~ .search-panel {
max-height: 2000px !important;
overflow: visible;
}
.search-toggles { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 4px 12px; }
.search-results > .timeline-header { padding: 8px; margin: 0 0 4px; }
.search-results > .timeline-header .search-field {
display: flex;
flex-wrap: wrap;
grid-template-columns: none;
gap: 0;
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
}
.search-results > .timeline-header .user-search-field { grid-template-columns: none; }
.search-results .search-field > .pref-input { padding: 0; }
.search-results .search-field input[type="text"] {
height: 40px;
min-height: 40px;
padding: 8px 12px;
border: 1px solid var(--accent_border);
background: var(--bg_elements);
}
.search-results .search-field input[type="text"]:focus { box-shadow: none; }
.search-results .search-field button {
width: auto;
height: 40px;
min-height: 40px;
padding: 0 12px;
border: 0;
border-radius: 2px;
box-shadow: none;
}
.search-results .search-field > label {
width: auto;
height: 40px;
min-height: 40px;
padding: 0 10px;
justify-content: center;
border: 1px solid var(--accent_border);
border-radius: 2px;
background: var(--bg_elements);
}
.search-results .tab {
top: auto;
margin-bottom: 4px;
background: var(--bg_panel);
backdrop-filter: none;
box-shadow: none;
}
.search-results > .timeline { border: 0; background: transparent; }
.search-results .search-panel {
grid-column: 1 / -1;
margin: 0;
border: 0;
/* border-top: 1px solid var(--line); */
border-radius: 0;
background: transparent;
}
.search-results .search-field #search-panel-toggle:checked ~ .search-panel {
max-height: 2000px !important;
overflow: visible;
}
.search-filter-groups {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
padding: 16px 8px 8px;
}
.search-filter-group {
margin: 0;
padding: 14px;
border: 1px solid var(--line);
border-radius: 0;
background: var(--bg_color);
}
.search-filter-group legend {
width: auto;
margin: 0;
padding: 0 6px;
border: 0;
color: var(--text);
font-size: 13px;
font-weight: 700;
}
.search-filter-group > p { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.search-filter-group .search-toggles {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 5px;
}
.search-filter-group .checkbox-container {
min-height: 34px;
margin: 0;
padding: 8px 8px 8px 30px;
border-radius: 2px;
color: var(--muted);
font-size: 12px;
line-height: 18px;
}
.search-filter-group .checkbox-container:hover { color: var(--text); }
.search-filter-group .checkbox {
left: 8px;
right: auto;
width: 15px;
height: 15px;
border-width: 1px;
}
.search-filter-group .checkbox-container .checkbox::after { top: 50%; }
.search-results .search-row {
margin: 8px;
padding: 16px;
border: 1px solid var(--line);
border-radius: 0;
background: var(--bg_color);
}
.search-results .search-row .search-title { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.search-panel .search-row > div { display: flex; flex-direction: column; }
.search-panel .search-row .pref-group.pref-input { margin: 0; padding: 0; }
.search-panel .search-row .pref-group.pref-input input { margin-top: 0; }
.landing-page {
display: flex;
flex-direction: column;
justify-content: flex-start;
width: min(100%, 760px);
margin: 0 auto;
padding: 16px 24px 48px;
text-align: center;
}
.landing-copy { max-width: 650px; margin: 0 auto; }
.landing-kicker {
display: inline-block;
margin-bottom: 16px;
color: var(--accent);
font-size: 12px;
font-weight: 750;
letter-spacing: .12em;
text-transform: uppercase;
}
.landing-copy h1 {
display: block;
margin: 0;
color: var(--text);
font-size: clamp(34px, 6vw, 58px);
font-weight: 760;
letter-spacing: -.045em;
line-height: 1.02;
}
.landing-copy p {
max-width: 520px;
margin: 20px auto 0;
color: var(--muted);
font-size: clamp(15px, 2vw, 18px);
}
.landing-search {
align-self: center;
width: min(100%, 650px);
max-width: 650px;
margin: 40px auto 0;
}
.landing-search form {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
min-height: 62px;
padding: 8px 8px 8px 18px;
border: 1px solid var(--line);
border-radius: 2px;
background: var(--surface);
box-shadow: 0 18px 50px color-mix(in srgb, var(--shadow_dark) 45%, transparent);
}
.landing-search form:focus-within {
border-color: color-mix(in srgb, var(--accent) 65%, var(--line));
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent), 0 18px 50px color-mix(in srgb, var(--shadow_dark) 45%, transparent);
}
.landing-search-icon { color: var(--muted); font-size: 16px; }
.landing-search input[type="text"] {
width: 100%;
min-width: 0;
min-height: 44px;
padding: 0;
border: 0;
background: transparent;
box-shadow: none;
color: var(--text);
font-size: 16px;
}
.landing-search input[type="text"]:focus { outline: 0; box-shadow: none; }
.landing-search button { min-width: 104px; min-height: 40px; border-radius: 2px; }
.landing-hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.landing-hub {
display: block;
position: static;
inset: auto;
z-index: auto;
width: 100%;
max-width: 650px;
height: auto;
margin: 48px auto 0;
padding: 0;
overflow: visible;
border: 0;
background: transparent;
backdrop-filter: none;
text-align: left;
font-size: 15px;
}
.landing-hub h2 {
display: block;
margin: 0 0 8px;
color: var(--text);
font-size: 18px;
font-weight: 700;
}
.landing-hub > p {
display: block;
margin: 0 0 16px;
color: var(--muted);
font-size: 14px;
}
.landing-hub-list {
display: flex;
flex-wrap: wrap;
gap: 8px 10px;
margin: 0;
padding: 0;
list-style: none;
}
.landing-hub-list li { display: block; margin: 0; padding: 0; }
.landing-hub-list a {
display: inline-block;
padding: 6px 12px;
border: 1px solid var(--line);
border-radius: 2px;
background: var(--surface);
color: var(--accent);
font-size: 13px;
line-height: 1.3;
text-decoration: none;
}
.landing-hub-list a:hover { background: var(--bg_hover); }
.landing-hub-more {
display: block;
margin: 18px 0 0 !important;
color: var(--muted);
font-size: 13px;
}
.landing-hub-more a { color: var(--accent); }
.landing-explore {
width: 100%;
max-width: 650px;
margin: 28px auto 0;
border: 1px solid var(--line);
background: var(--surface);
text-align: left;
}
.landing-explore-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
padding: 12px 14px 8px;
}
.landing-explore-head h2 {
margin: 0;
color: var(--text);
font-size: 18px;
font-weight: 750;
}
.landing-explore-head a { font-size: 13px; font-weight: 700; text-decoration: none; }
.landing-explore-empty {
margin: 0;
padding: 0 14px 14px;
color: var(--muted);
font-size: 14px;
}
.trend-list {
margin: 0;
padding: 0;
list-style: none;
}
.trend-list li { border-top: 1px solid var(--line); }
.trend-list a,
.trend-link {
display: grid;
gap: 2px;
padding: 10px 14px;
color: inherit;
text-decoration: none;
}
.trend-list a:hover,
.trend-row:hover { background: var(--bg_hover); }
.trend-kicker {
color: var(--muted);
font-size: 12px;
font-weight: 700;
}
.trend-name {
color: var(--text);
font-size: 15px;
font-weight: 750;
line-height: 1.3;
}
.trend-meta { color: var(--muted); font-size: 13px; }
nav.explore-tabbar {
position: static;
display: block;
width: auto;
height: auto;
z-index: auto;
padding: 0;
background: transparent;
border: 0;
box-shadow: none;
}
.explore-head { text-align: left; font-weight: normal; }
.explore-head h1 {
display: block;
margin: 4px 0 0;
color: var(--text);
font-size: 20px;
}
.explore-intro {
margin: 6px 0 0;
color: var(--muted);
font-size: 13px;
font-weight: normal;
line-height: 1.4;
}
.story-summary {
padding: 12px 16px 4px;
text-align: left;
}
.story-summary p {
margin: 0;
color: var(--text);
font-size: 15px;
line-height: 1.5;
white-space: pre-wrap;
}
.story-related {
padding: 8px 16px 0;
text-align: left;
}
.story-related h2 {
margin: 8px 0 4px;
font-size: 15px;
font-weight: normal;
color: var(--muted);
}
.explore-search { margin-top: 10px; }
.explore-tabs {
gap: 0 2px;
padding: 0 6px;
border-bottom: 1px solid var(--line);
}
.explore-tabs .tab-item { flex: 0 1 auto; min-width: 0; }
.explore-tabs .tab-item a {
padding: 12px 10px 8px;
font-size: 14px;
}
.explore-section { text-align: left; padding: 12px 14px 8px; }
.game-scoreboard {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 12px;
padding: 16px 12px;
background: var(--surface);
border-bottom: 1px solid var(--line);
}
.game-side { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.game-abbr { color: var(--text); font-size: 14px; letter-spacing: .04em; }
.game-team { color: var(--muted); font-size: 12px; text-align: center; }
.game-score { color: var(--text); font-size: 32px; font-weight: 760; line-height: 1.1; }
.game-record { color: var(--muted); font-size: 12px; }
.game-status { color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }
.game-strip { margin: 0 0 8px; padding: 12px 12px 4px; background: var(--surface); border-bottom: 1px solid var(--line); }
.game-strip h2 { margin: 0 0 8px; color: var(--text); font-size: 16px; }
.game-strip-list { list-style: none; margin: 0; padding: 0; }
.game-card {
display: flex;
align-items: baseline;
gap: 10px;
padding: 10px 0;
border-top: 1px solid var(--line);
color: inherit;
text-decoration: none;
}
.game-card-status { color: var(--muted); font-size: 12px; font-weight: 700; }
.game-card-label { color: var(--text); font-weight: 750; }
.game-card-link { margin-left: auto; color: var(--accent); font-size: 13px; font-weight: 700; }
.explore-timeline { overflow: visible; }
.trend-row { display: block; padding: 0; }
.trend-row .trend-link { display: grid; width: 100%; }
.trend-link.has-thumb {
grid-template-columns: minmax(0, 1fr) 68px;
column-gap: 12px;
}
.trend-link.has-thumb .trend-thumb {
grid-column: 2;
grid-row: 1 / span 3;
width: 68px;
height: 68px;
align-self: center;
object-fit: cover;
border-radius: 2px;
}
.explore-timeline .timeline-none { margin-bottom: 0; }
.firefox-media-warning {
width: min(100%, 640px);
margin: 0 auto 18px;
padding: 10px 12px;
border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
color: var(--text);
text-align: left;
font-size: 13px;
line-height: 1.45;
}
.firefox-media-warning strong { display: block; margin-bottom: 4px; }
.firefox-media-warning p { margin: 0; }
.home-announce {
width: min(100%, 640px);
margin: 22px auto 0;
padding: 10px 12px;
border: 1px solid var(--line);
background: var(--surface);
color: var(--text);
text-align: left;
font-size: 13px;
line-height: 1.45;
}
.home-announce strong { display: block; margin-bottom: 4px; }
.home-announce p { margin: 0 0 6px; }
.home-announce p:last-child { margin-bottom: 0; }
.home-announce a { color: var(--accent); }
.donate-drive {
width: min(100%, 640px);
margin: 0 auto 18px;
padding: 10px 12px;
border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
color: var(--text);
text-align: left;
font-size: 13px;
line-height: 1.45;
}
.donate-drive strong { display: block; margin-bottom: 4px; }
.donate-drive p { margin: 0 0 6px; }
.donate-drive p:last-child { margin-bottom: 0; }
.donate-drive a, .donate-note a { color: var(--accent); }
.donate-drive-meter {
padding: 0;
border: 0;
background: transparent;
}
.donate-drive-meter .donate-meter { margin: 0 auto 18px; }
.donate-meter {
margin: 8px 0 10px;
padding: 10px 12px 8px;
border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
border-radius: 12px;
background: color-mix(in srgb, var(--surface) 82%, var(--accent) 8%);
}
.donate-meter-top {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
color: var(--muted);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.donate-meter-live {
display: inline-flex;
align-items: center;
gap: 6px;
}
.donate-meter-live::before {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--accent);
animation: donate-pulse 1.8s ease-in-out infinite;
}
.donate-meter-status {
color: var(--accent);
letter-spacing: 0.03em;
}
.donate-meter-top span:last-child,
.donate-meter-percent {
margin-left: auto;
font-variant-numeric: tabular-nums;
}
.donate-meter-button {
margin-left: 10px;
padding: 5px 12px;
border-radius: 999px;
background: var(--tp-primary-container);
color: var(--tp-on-primary-container);
font-size: 12px;
font-weight: 750;
letter-spacing: 0.04em;
line-height: 1;
text-decoration: none;
text-transform: uppercase;
}
.donate-meter-button:hover {
background: var(--tp-primary);
color: var(--tp-on-primary);
}
.donate-meter-track {
height: 10px;
overflow: hidden;
border-radius: 999px;
background: color-mix(in srgb, var(--text) 10%, transparent);
}
.donate-meter-bar {
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, var(--accent_dark, var(--accent)), var(--accent));
transition: width 0.5s ease;
}
.donate-meter.is-met .donate-meter-bar {
background: var(--accent);
}
.donate-meter-figures {
display: flex;
align-items: baseline;
gap: 6px;
margin: 8px 0 0;
}
.donate-meter-figures strong {
font-size: 22px;
font-variant-numeric: tabular-nums;
letter-spacing: -0.03em;
}
.donate-meter-figures span,
.donate-meter-reset {
color: var(--muted);
font-size: 13px;
}
.donate-meter-reset { margin: 1px 0 0; }
@keyframes donate-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
.donate-meter-live::before { animation: none; }
.donate-meter-bar { transition: none; }
}
.donate-page { max-width: 640px; margin: 28px auto; padding: 0 16px 48px; }
.donate-page h1 { margin: 0 0 8px; font-size: 28px; }
.donate-form { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; }
.donate-form label { font-weight: 650; }
.donate-form input[type="text"] {
position: static;
width: min(100%, 220px);
max-width: none;
height: 36px;
margin: 0;
padding: 0 8px;
}
.donate-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.donate-methods button { min-height: 36px; padding: 8px 14px; }
.donate-note, .donate-status { color: var(--muted); font-size: 13px; }
.donate-error { color: var(--text); }
.firefox-warning-ignore { display: none; }
.firefox-media-warning button {
min-height: 0;
margin-top: 8px;
padding: 2px 8px;
background: transparent;
color: var(--accent);
font-size: 12px;
font-weight: 650;
border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
}
.firefox-media-warning button:hover {
background: var(--accent);
color: var(--icon_text);
}
.preferences .firefox-media-warning { width: auto; margin: 0 0 8px; }
.preferences-panel {
position: relative;
max-width: 600px;
margin: 0 auto;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
}
.preferences-header { padding: 0 0 4px; color: var(--text); }
.preferences-header p { margin: 2px 0 8px; font-size: 13px; }
.preferences-form { padding: 0; }
.preferences .pref-section { margin-bottom: 8px; }
.preferences .pref-section legend {
padding: 0.45em 0 0.2em;
margin-bottom: 6px;
font-size: 16px;
font-weight: 600;
}
.preferences .pref-grid { gap: 0; }
.preferences .checkbox-container {
display: block;
margin: 0 0 5px;
padding: 0 22px 0 0;
min-height: 0;
line-height: 1.35;
border-radius: 0;
}
.preferences .checkbox-container:hover { background: transparent; }
.preferences .checkbox {
top: 1px;
width: 17px;
height: 17px;
}
.preferences .pref-input {
position: relative;
min-height: 22px;
margin-bottom: 6px;
padding: 0;
gap: 0;
}
.preferences .pref-input label {
display: block;
padding-right: 190px;
color: var(--text);
font-weight: 400;
line-height: 22px;
}
.preferences select,
.preferences input[type="text"],
.preferences button {
min-height: 0;
border-radius: 0;
}
.preferences select,
.preferences input[type="text"] {
position: absolute;
top: 0;
right: 0;
width: auto;
max-width: 52%;
height: 22px;
margin: 0;
padding: 0 6px;
}
.pref-choices {
margin: 8px 0 12px;
}
.pref-choices .choice-label {
display: block;
margin-bottom: 6px;
color: var(--text);
}
.pref-choices .choice-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.pref-choices label {
display: inline-flex;
align-items: center;
gap: 6px;
margin: 0;
padding: 3px 10px;
border: 1px solid var(--line);
border-radius: 4px;
cursor: pointer;
font-weight: 600;
}
.pref-choices input {
margin: 0;
}
.pref-choices label:has(input:checked) {
border-color: var(--accent);
color: var(--accent);
}
.preferences-actions { padding: 8px 0; background: transparent; }
.preferences-actions button { padding: 3px 8px; }
.video-overlay.hls-overlay { pointer-events: all; z-index: 3; cursor: pointer; }
.broadcast-page .broadcast-player,
.broadcast-page .broadcast-info { background: var(--surface); }
.broadcast-page .broadcast-player { position: relative; }
.broadcast-page video,
.broadcast-page .broadcast-player img { display: block; width: 100%; max-height: 70vh; background: #000; }
.broadcast-page .broadcast-info { padding: 10px 12px 14px; }
.broadcast-page .broadcast-title { display: block; margin: 0 0 8px; font-size: 18px; }
.broadcast-page .broadcast-user-row,
.broadcast-page .broadcast-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.broadcast-page .broadcast-username,
.broadcast-page .broadcast-meta { color: var(--muted); font-size: 13px; }
.broadcast-live {
display: inline-block;
margin-left: 8px;
padding: 1px 5px;
background: #e0245e;
color: #fff;
font-size: 11px;
font-weight: 700;
letter-spacing: .04em;
}
.community-header { padding: 10px 12px 4px; background: var(--surface); }
.community-name { display: block; margin: 0; font-size: 20px; }
.community-name a { color: var(--text); }
.community-category,
.community-members { color: var(--muted); font-size: 13px; }
.community-description { margin: 6px 0; white-space: pre-wrap; }
.community-about { padding: 12px; background: var(--surface); }
.community-rule { margin: 8px 0; }
.community-page > .tab { margin-top: 0; }
@media (max-width: 760px) {
main .container { padding: 68px 0 32px; }
.inner-nav { padding: 0 12px; }
.site-name { display: none; }
.nav-icon { width: 32px; height: 32px; }
.profile-tabs { display: block; }
.profile-tab, .profile-tab.sticky { position: static; margin-bottom: 12px; }
.profile-banner, .profile-card, .photo-rail-card, .tab, .timeline, .timeline-none, .timeline-protected, .timeline-end, .preferences-panel { border-left: 0; border-right: 0; border-radius: 0; }
.profile-banner + .profile-card { border-radius: 0; }
.timeline-item { padding: 8px 10px; }
.timeline.media-grid-view .timeline-item,
.timeline.media-gallery-view .timeline-item { padding: 0; }
.tab { top: auto; margin-left: 0; margin-right: 0; }
.timeline-header { padding: 8px; }
.search-panel { border-radius: 0; }
.preferences-panel { max-width: none; margin: 0; }
.landing-page { padding: 8px 20px 48px; }
.landing-search { margin-top: 30px; }
.landing-search form { grid-template-columns: auto minmax(0, 1fr); padding: 8px 14px; }
.landing-search button { grid-column: 1 / -1; width: 100%; }
.search-filter-groups { grid-template-columns: 1fr; }
.search-results .search-field #search-panel-toggle:checked ~ .search-panel { max-height: 3000px !important; }
.search-field #search-panel-toggle:checked ~ .search-panel { max-height: 3000px !important; }
}
@media (max-width: 430px) {
.search-filter-group .search-toggles { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Conversation paths ----------------------------------------------------- */
/* The old connector participated in flex layout, which made long threads
look like a scrollbar and could squeeze the actual post into a sliver. */
.thread-line .timeline-item::before,
.thread-line.timeline-item::before,
.thread-line .with-header::after {
content: none;
display: none;
}
.thread-line {
position: relative;
background: var(--surface);
}
.timeline > .thread-line {
margin: 8px 0;
border: 1px solid var(--line);
border-radius: 0;
overflow: hidden;
background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, var(--surface)), var(--surface) 42%);
}
.timeline > .thread-line > .timeline-item {
border: 0;
background: transparent;
}
.timeline > .thread-line > .timeline-item + .timeline-item {
border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.thread-line .timeline-item.thread {
position: relative;
padding-left: 18px;
}
/* A connector anchored to the avatars communicates author → reply without
becoming a second scrollbar. */
.thread-line .timeline-item.thread:not(.thread-last):not(.more-replies-thread)::after {
content: "";
position: absolute;
z-index: 2;
left: 37px;
top: 50px;
bottom: -15px;
width: 2px;
border-radius: 2px;
background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 35%, var(--line)));
pointer-events: none;
}
.thread-line .timeline-item.thread:not(.thread-last):not(.more-replies-thread):has(+ .more-replies-thread)::after {
/* Reach the stacked dots in the stub instead of dying at the tweet border. */
bottom: -8px;
}
.thread-line .timeline-item.thread .tweet-avatar img {
position: relative;
z-index: 3;
outline: 2px solid var(--surface);
}
.timeline > .thread-line > .timeline-item + .more-replies-thread,
.timeline > .thread-line > .more-replies-thread + .timeline-item {
border-top: 0;
}
.thread-line .timeline-item.thread.more-replies-thread {
min-height: 0;
padding: 0 14px 8px 18px;
background: transparent;
}
.thread-line .timeline-item.thread.more-replies-thread::before,
.thread-line .timeline-item.thread.more-replies-thread::after {
content: none;
display: none;
}
.thread-line .timeline-item.thread.more-replies-thread .more-replies {
position: relative;
display: block;
margin: 0;
padding: 4px 0 2px;
}
/* Stacked continuation dots on the 40px avatar axis. Kept out of flex so
"..." cannot render as a horizontal ellipsis beside the label. */
.thread-line .timeline-item.thread.more-replies-thread .more-replies::before {
content: "·\A·\A·";
white-space: pre;
display: block;
position: absolute;
top: 6px;
left: 22px;
width: 8px;
margin: 0 0 0 -4px;
padding: 0;
overflow: visible;
background: unset;
color: var(--more_replies_dots);
font-size: 14px;
font-weight: 700;
letter-spacing: 0;
line-height: 0.42;
text-align: center;
pointer-events: none;
}
.thread-line .timeline-item.thread.more-replies-thread .more-replies-text {
display: inline-block;
margin: 0 0 0 40px;
padding: 6px 0;
color: var(--accent);
font-size: 13px;
font-weight: 650;
}
.thread-line .timeline-item.thread.more-replies-thread .more-replies-text::before {
content: none;
display: none;
}
.thread-line .timeline-item.thread.more-replies-thread .more-replies-text:hover {
text-decoration: none;
color: var(--accent_light, var(--accent));
}
.conversation { width: min(100%, var(--feed-width)); max-width: var(--feed-width); }
.thread-context-bar {
position: sticky;
z-index: 45;
top: 54px;
display: block;
height: 0;
margin: 0;
overflow: visible;
}
.thread-context-link {
display: grid;
grid-template-columns: 28px minmax(0, 1fr);
gap: 9px;
min-height: 0;
margin: 0 10px;
padding: 8px 12px;
border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
border-radius: 0;
background: color-mix(in srgb, var(--bg_color) 96%, var(--accent));
box-shadow: none;
color: inherit;
opacity: 0;
pointer-events: none;
text-decoration: none;
transform: translateY(-6px);
transition: opacity .16s ease, transform .16s ease;
visibility: hidden;
}
.thread-context-avatar {
width: 28px;
height: 28px;
border-radius: 2px;
object-fit: cover;
}
.thread-context-copy { min-width: 0; }
.thread-context-author {
display: block;
overflow: hidden;
margin-bottom: 1px;
color: var(--text);
font-size: 11px;
line-height: 13px;
text-overflow: ellipsis;
white-space: nowrap;
}
.thread-context-bar.is-visible .thread-context-link {
opacity: 1;
pointer-events: auto;
transform: translateY(0);
visibility: visible;
}
.thread-context-link:hover { text-decoration: none; }
.thread-context-text {
display: -webkit-box;
overflow: hidden;
color: var(--muted);
font-size: 12px;
line-height: 16px;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.thread-context-link:hover .thread-context-text { color: var(--text); }
.main-tweet:target .timeline-item {
animation: context-destination 1.1s ease-out;
}
@keyframes context-destination {
0%, 25% { box-shadow: inset 3px 0 0 var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
100% { box-shadow: inset 3px 0 0 transparent; background: var(--surface); }
}
.main-thread, .reply {
overflow: visible;
border: 1px solid var(--line);
border-radius: 0;
background: var(--surface);
}
.main-thread > :first-child,
.main-thread > :first-child > .timeline-item:first-child,
.reply > .timeline-item:first-child {
border-radius: 0;
}
.main-thread > :last-child,
.main-thread > :last-child > .timeline-item:last-child,
.reply > .timeline-item:last-child {
border-radius: 0;
}
.main-thread > :only-child,
.main-thread > :only-child > .timeline-item:only-child,
.reply > .timeline-item:only-child {
border-radius: 0;
}
.main-thread { margin-bottom: 16px; border-top: 3px solid var(--accent); }
.reply { margin-bottom: 14px; }
.conversation .replies > .show-more {
display: flex !important;
justify-content: center;
margin: 18px 0 24px;
padding: 0;
background: transparent;
}
.conversation .replies > .show-more a {
display: inline-flex;
width: auto;
min-height: 36px;
align-items: center;
gap: 8px;
padding: 8px 13px;
border: 1px solid var(--line);
border-radius: 2px;
background: var(--surface);
color: var(--muted);
font-size: 12px;
font-weight: 650;
line-height: 18px;
}
.conversation .replies > .show-more a::after {
content: "";
width: 6px;
height: 6px;
border-right: 1.5px solid var(--accent);
border-bottom: 1.5px solid var(--accent);
transform: rotate(45deg) translateY(-1px);
}
.conversation .replies > .show-more a:hover {
border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
background: var(--bg_hover);
color: var(--text);
text-decoration: none;
}
.conversation > .timeline-item.show-more {
display: flex !important;
justify-content: center;
margin: -2px 0 14px;
padding: 0;
border: 0;
background: transparent;
}
.conversation > .timeline-item.show-more a {
display: inline-flex;
width: auto;
min-height: 34px;
align-items: center;
gap: 8px;
padding: 7px 13px;
border: 1px solid var(--line);
border-radius: 2px;
background: var(--surface);
color: var(--muted);
font-size: 12px;
font-weight: 650;
}
.conversation > .timeline-item.show-more a::before {
content: "";
width: 6px;
height: 6px;
border-right: 1.5px solid var(--accent);
border-bottom: 1.5px solid var(--accent);
transform: rotate(225deg) translate(-1px, -1px);
}
.conversation > .timeline-item.show-more a:hover {
border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
background: var(--bg_hover);
color: var(--text);
text-decoration: none;
}
.reply.thread-line > .timeline-item + .timeline-item { border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.reply.thread-line > .timeline-item.thread { background: transparent; }
.reply.thread-line > .more-replies,
.after-tweet.thread-line > .more-replies {
position: relative;
display: flex;
min-height: 52px;
align-items: center;
padding: 8px 14px 8px 76px !important;
border-top: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
border-radius: 0;
/* background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface) 55%); */
}
.reply.thread-line > .more-replies::before,
.after-tweet.thread-line > .more-replies::before {
content: "";
position: absolute;
left: 40px;
top: 0;
width: 2px;
height: 15px;
border-radius: 0 0 2px 2px;
background: color-mix(in srgb, var(--accent) 55%, var(--line));
}
.reply.thread-line > .more-replies .more-replies-text,
.after-tweet.thread-line > .more-replies .more-replies-text {
display: inline-flex;
width: auto;
align-items: center;
gap: 9px;
margin: 0;
padding: 7px 10px;
border-radius: 2px;
color: var(--accent);
font-size: 12px;
font-weight: 700;
}
.reply.thread-line > .more-replies .more-replies-text::after,
.after-tweet.thread-line > .more-replies .more-replies-text::after {
content: "";
width: 6px;
height: 6px;
border-right: 1.5px solid currentColor;
border-bottom: 1.5px solid currentColor;
transform: rotate(-45deg);
transition: transform .12s ease;
}
.reply.thread-line > .more-replies .more-replies-text:hover,
.after-tweet.thread-line > .more-replies .more-replies-text:hover {
background: color-mix(in srgb, var(--accent) 10%, transparent);
text-decoration: none;
}
.reply.thread-line > .more-replies .more-replies-text:hover::after,
.after-tweet.thread-line > .more-replies .more-replies-text:hover::after { transform: translateX(3px) rotate(-45deg); }
@media (max-width: 760px) {
.timeline > .thread-line { margin: 8px 0; border-left: 0; border-right: 0; border-radius: 0; }
.main-thread, .reply { border-left: 0; border-right: 0; border-radius: 0; }
.thread-context-bar { top: 54px; }
.thread-context-link { margin: 0 8px; }
.thread-line .timeline-item.thread { padding-left: 12px; }
.thread-line .timeline-item.thread:not(.thread-last):not(.more-replies-thread)::after { left: 34px; }
.thread-line .timeline-item.thread.more-replies-thread { padding-left: 12px; }
.thread-line .timeline-item.thread.more-replies-thread .more-replies::before { left: 22px; }
.reply.thread-line > .more-replies,
.after-tweet.thread-line > .more-replies { padding-left: 62px !important; }
.reply.thread-line > .more-replies::before,
.after-tweet.thread-line > .more-replies::before { left: 34px; }
}
/* Nitter media views — last so teapawt tweet chrome does not leak into grid/gallery */
.profile-tabs.media-only {
display: block;
width: 100%;
max-width: none;
}
.profile-tabs.media-only .timeline-container,
.timeline-container.media-only {
width: 100%;
max-width: none;
}
.timeline.media-grid-view,
.timeline.media-gallery-view {
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
animation: none;
}
.timeline.media-grid-view {
display: grid !important;
gap: 4px;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.timeline.media-gallery-view { display: block !important; }
.timeline.media-grid-view .timeline-item,
.timeline.media-gallery-view .timeline-item {
padding: 0;
background: transparent;
}
.timeline.media-grid-view .timeline-item {
display: block;
min-width: 0;
overflow: hidden;
aspect-ratio: 1 / 1;
}
.timeline.media-grid-view .timeline-item:hover { background: transparent; opacity: 0.85; }
.timeline.media-gallery-view .timeline-item:hover { background: transparent; }
.timeline.media-grid-view > div:not(:first-child),
.timeline.media-gallery-view > div:not(:first-child) { border-top: 0; }
.timeline.media-grid-view .tweet-header,
.timeline.media-grid-view .replying-to,
.timeline.media-grid-view .retweet-header,
.timeline.media-grid-view .pinned,
.timeline.media-grid-view .tweet-stats,
.timeline.media-grid-view .attribution,
.timeline.media-grid-view .poll,
.timeline.media-grid-view .quote,
.timeline.media-grid-view .community-note,
.timeline.media-grid-view .media-tag-block,
.timeline.media-grid-view .tweet-content,
.timeline.media-grid-view .card-content,
.timeline.media-grid-view .card-content-container,
.timeline.media-grid-view .translate-btn,
.timeline.media-grid-view .disclosure-label,
.timeline.media-grid-view .tweet-account-trigger,
.timeline.media-grid-view .show-thread,
.timeline.media-gallery-view .gallery-masonry.compact .tweet-header,
.timeline.media-gallery-view .gallery-masonry.compact .replying-to,
.timeline.media-gallery-view .gallery-masonry.compact .retweet-header,
.timeline.media-gallery-view .gallery-masonry.compact .pinned,
.timeline.media-gallery-view .gallery-masonry.compact .tweet-stats,
.timeline.media-gallery-view .gallery-masonry.compact .attribution,
.timeline.media-gallery-view .gallery-masonry.compact .poll,
.timeline.media-gallery-view .gallery-masonry.compact .quote,
.timeline.media-gallery-view .gallery-masonry.compact .community-note,
.timeline.media-gallery-view .gallery-masonry.compact .media-tag-block,
.timeline.media-gallery-view .gallery-masonry.compact .tweet-content,
.timeline.media-gallery-view .gallery-masonry.compact .card-content,
.timeline.media-gallery-view .gallery-masonry.compact .card-content-container,
.timeline.media-gallery-view .gallery-masonry.compact .translate-btn,
.timeline.media-gallery-view .gallery-masonry.compact .disclosure-label,
.timeline.media-gallery-view .gallery-masonry.compact .tweet-account-trigger,
.timeline.media-gallery-view .gallery-masonry.compact .show-thread {
display: none !important;
}
.timeline.media-grid-view .tweet-body {
margin-left: 0 !important;
padding: 0;
flex: none;
width: 100%;
height: 100%;
aspect-ratio: 1 / 1;
}
.timeline.media-gallery-view .tweet-body {
display: flex;
flex-direction: column;
height: 100%;
margin-left: 0 !important;
padding: 10px;
}
.timeline.media-gallery-view .gallery-masonry {
margin: 10px 0;
column-gap: 10px;
column-width: clamp(190px, 22vw, 350px);
}
.timeline.media-gallery-view .gallery-masonry[data-col-size="small"] {
column-width: max(130px, 11vw);
}
.timeline.media-gallery-view .gallery-masonry[data-col-size="large"] {
column-width: clamp(350px, 22vw, 480px);
}
.timeline.media-gallery-view .gallery-masonry.masonry-active {
column-width: unset;
column-gap: unset;
position: relative;
}
.timeline.media-gallery-view .gallery-masonry.masonry-active .timeline-item {
animation: none;
position: absolute;
box-sizing: border-box;
margin-bottom: 0;
}
.timeline.media-gallery-view .gallery-masonry .timeline-item {
display: flex;
flex-direction: column;
width: 100%;
min-width: 0;
margin-bottom: 10px;
break-inside: avoid;
padding: 0;
}
.timeline.media-gallery-view .gallery-masonry.compact .tweet-body { padding: 0; }
.timeline.media-gallery-view .gallery-masonry.compact .tweet-body > .attachments { margin: 0; }
.timeline.media-gallery-view .tweet-header {
align-items: flex-start;
display: flex;
gap: 0.75em;
margin-bottom: 0;
}
.timeline.media-gallery-view .tweet-header .tweet-name-row { flex: 1; }
.timeline.media-gallery-view .tweet-header .fullname-and-username { flex-wrap: wrap; }
.timeline.media-gallery-view .tweet-header .tweet-author-meta { flex-basis: 100%; }
.timeline.media-gallery-view .tweet-header .username {
display: inline-flex;
flex-basis: auto;
margin-left: 0;
}
.timeline.media-gallery-view .tweet-content { margin: 3px 0; }
.timeline.media-gallery-view .tweet-body > .attachments {
align-self: stretch;
border-radius: 0;
margin: -10px -10px 10px;
max-height: none;
max-width: none;
order: -1;
width: auto;
background-color: var(--bg_elements);
}
.timeline.media-gallery-view .tweet-body > .attachments .gallery-row,
.timeline.media-gallery-view .tweet-body > .attachments .still-image,
.timeline.media-gallery-view .tweet-body > .attachments .still-image img,
.timeline.media-gallery-view .tweet-body > .attachments .attachment > video,
.timeline.media-gallery-view .tweet-body > .attachments .attachment > img {
max-height: none;
max-width: none;
width: 100%;
}
.timeline.media-gallery-view .tweet-avatar {
display: block !important;
}
.timeline.media-gallery-view .tweet-header .tweet-avatar img {
float: none;
margin: 0;
width: 42px;
height: 42px;
}
.timeline.media-grid-view .attachments,
.timeline.media-grid-view .gallery-row,
.timeline.media-grid-view .still-image,
.timeline.media-grid-view .still-image img,
.timeline.media-grid-view .attachment,
.timeline.media-grid-view .attachment > video,
.timeline.media-grid-view .attachment > img {
max-width: none;
max-height: none;
width: 100%;
height: 100%;
}
.timeline.media-grid-view .attachments {
display: flex;
flex-flow: column;
margin: 0;
border-radius: 0;
}
.timeline.media-grid-view .still-image img {
object-fit: cover;
flex-basis: auto;
}
/* Donation addresses on the About page: one wallet per row, addresses in
monospace and allowed to wrap so the long ones fit narrow screens. */
.overlay-panel .donate-list {
list-style: none;
padding: 0;
margin: 0 0 14px;
}
.overlay-panel .donate-list li {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 10px;
padding: 6px 0;
border-bottom: 1px solid var(--border_grey);
}
.overlay-panel .donate-list li:last-child {
border-bottom: 0;
}
.overlay-panel .donate-list strong {
flex: 0 0 3.2em;
color: var(--accent);
}
.overlay-panel .donate-list code {
flex: 1 1 0;
min-width: 0;
word-break: break-all;
user-select: all;
font-size: 0.9em;
color: var(--fg_color);
}