/* Public community layout and shared appearance tokens. */
:root {
    color-scheme: light;
    --x-bg: #fff;
    --x-ink: #0f1419;
    --x-muted: #536471;
    --x-line: #eff3f4;
    --x-hover: #f7f9f9;
    --accent: #1d9bf0;
    --accent-soft: #e8f5fd;
    --x-border: #cfd9de;
    --x-header: #ffffffed;
    --x-nav-bg: #fffffff5;
    --x-subtle: #00000008;
    --x-tab-hover: #0f14191a;
    --x-primary-bg: #0f1419;
    --x-primary-text: #fff;
    --x-primary-hover: #272c30;
    --x-accent-text: #fff;
    --x-accent-hover: #1a8cd8;
    --x-avatar-bg: #0f1419;
    --x-avatar-text: #fff;
    --x-danger: #b6002a;
    --x-success: #0a5837;
    --x-success-bg: #e8f8f0;
    --surface: var(--x-bg);
    --surface-raised: #f7f9f9;
    --ink: var(--x-ink);
    --muted: var(--x-muted);
    --line: var(--x-line);
    --sans: "Poppins", "Segoe UI", Arial, sans-serif;
}
:root[data-theme='dark'] {
    color-scheme: dark;
    /* WFN MD: dark surfaces and its softer gray-violet text palette. */
    --x-bg: #1d1f2a;
    --x-ink: #c3c4d5;
    --x-muted: #a5a7c0;
    --x-line: #3b3e54;
    --x-hover: #262836;
    --x-border: #4b506c;
    --x-header: #1d1f2aed;
    --x-nav-bg: #1d1f2af5;
    --x-subtle: #a5a7c008;
    --x-tab-hover: #a5a7c012;
    --x-primary-bg: #363b51;
    --x-primary-text: #c3c4d5;
    --x-primary-hover: #4b506c;
    --x-accent-text: #1d1f2a;
    --x-accent-hover: #c3c4d5;
    --x-avatar-bg: #323548;
    --x-avatar-text: #c3c4d5;
    --x-danger: #ff8297;
    --x-success: #91e4b5;
    --x-success-bg: #102b20;
    --accent: #a5a7c0;
    --accent-soft: #323548;
    --surface-raised: #262836;
    --x-panel-bg: #262836;
    --x-panel-control-bg: #323548;
}
.site-brand-row { display: flex; align-items: center; width: 100%; min-height: 52px; flex-shrink: 0; }
.site-wordmark { display: block; padding-inline: 10px; font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -.5px; white-space: nowrap; }
.site-theme-toggle { flex-shrink: 0; }
.site-theme-toggle > span { display: flex; align-items: center; justify-content: center; }
.site-theme-toggle .theme-icon-dark { display: none; }
:root[data-theme='dark'] .site-theme-toggle .theme-icon-light { display: none; }
:root[data-theme='dark'] .site-theme-toggle .theme-icon-dark { display: block; }
.site-mobile-actions { display: none; }
*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; padding: 0; overflow-y: scroll; scrollbar-gutter: stable; scroll-padding-top: 110px; scroll-behavior: auto; }
body { margin: 0; color: var(--x-ink); background: var(--x-bg); font-family: var(--sans); font-size: 15px; line-height: 1.333333; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
code, pre, kbd, samp { font-family: var(--sans); }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 10001; left: 12px; top: -80px; padding: 12px 20px; border-radius: 999px; color: var(--x-accent-text); background: var(--accent); }
.skip-link:focus { top: 12px; }
.statcounter { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.x-experience { display: grid; grid-template-columns: 259px 600px minmax(0,380px); width: 100%; max-width: 1239px; margin: 0 auto; align-items: start; }
.x-left { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; align-items: flex-start; padding: 2px 12px 12px 8px; overflow-y: auto; scrollbar-width: none; }
.x-left::-webkit-scrollbar { display: none; }
.x-mark { display: flex; align-items: center; justify-content: center; width: auto; min-height: 52px; border-radius: 8px; }
.x-mark svg { width: 30px; height: 30px; }
.x-mark:hover, .x-nav-link:hover, .x-account:hover { background: var(--x-line); }
.x-nav { width: 100%; }
.x-nav-link { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 20px; min-height: 52px; padding: 12px; border: 0; border-radius: 999px; background: transparent; font-size: 20px; line-height: 1.2; text-align: left; white-space: nowrap; }
.x-nav-link svg { width: 26px; height: 26px; }
.x-nav-link.is-active { font-weight: 700; }
.x-primary { display: flex; align-items: center; justify-content: center; gap: 8px; width: 90%; min-height: 52px; flex-shrink: 0; margin: 14px 0; padding: 14px 16px; border-radius: 999px; color: var(--x-primary-text); background: var(--x-primary-bg); font-size: 17px; font-weight: 700; }
.x-primary:hover { background: var(--x-primary-hover); }
.x-primary > svg { display: none; }
.x-avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; overflow: hidden; border-radius: 50%; color: var(--x-avatar-text); background: var(--x-avatar-bg); font-size: 13px; font-weight: 700; letter-spacing: -.5px; }
a.x-avatar:hover { filter: brightness(.85); }
.x-account { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; margin-top: auto; padding: 12px; border-radius: 999px; }
.x-account > div { min-width: 0; flex: 1; }
.x-account strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.x-account small { display: block; color: var(--x-muted); font-size: 15px; }
.x-account > svg { width: 20px; height: 20px; }
.x-more-menu { position: relative; }
.x-more-menu > summary { list-style: none; }
.x-more-menu > summary::-webkit-details-marker { display: none; }
.x-more-popover { position: fixed; z-index: 45; bottom: 100px; left: max(8px,calc((100vw - 1239px)/2 + 8px)); width: 285px; max-height: min(500px,calc(100dvh - 120px)); overflow: auto; padding: 8px 0; border-radius: 16px; background: var(--x-panel-bg, var(--x-bg)); box-shadow: 0 0 15px #65778633,0 0 3px 1px #65778626; }
.x-more-popover > a { display: flex; align-items: center; gap: 18px; padding: 14px 20px; font-size: 17px; font-weight: 700; }
.x-more-popover > a:hover { background: var(--x-hover); }
.x-more-popover .nav-dropdown { padding: 12px 20px; }
.x-more-popover .nav-dropdown > summary { display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 700; }
.x-more-popover .nav-dropdown-panel a { display: block; padding: 12px 0; }
.x-site-notice { padding: 14px 20px; border-top: 1px solid var(--x-line); color: var(--x-muted); font-size: 11px; line-height: 1.5; }
.x-site-notice p { margin: 0; }
.x-column { min-width: 0; width: 100%; min-height: 100dvh; border-inline: 1px solid var(--x-line); }
.x-column-header { position: sticky; top: 0; z-index: 20; background: var(--x-header); backdrop-filter: blur(12px); border-bottom: 1px solid var(--x-line); }
.x-header-row { display: flex; align-items: center; min-height: 53px; gap: 24px; padding: 0 16px; }
.x-header-title { min-width: 0; }
.x-header-row > .x-search { flex: 1; min-width: 0; }
.x-search-header .x-header-row { gap: 16px; }
.x-header-title h1, .x-header-title h2 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-header-subtitle { display: block; color: var(--x-muted); font-size: 13px; }
.x-home-header > .x-header-row { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip: rect(0,0,0,0); }
.x-icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 7px; border: 0; border-radius: 50%; color: inherit; background: transparent; }
.x-icon-button svg { width: 20px; height: 20px; }
.x-icon-button:hover { color: var(--accent); background: var(--accent-soft); }
.x-mobile-avatar, .x-mobile-mark, .x-mobile-search { display: none; }
.x-feed-tabs { display: flex; min-height: 53px; }
.x-feed-tabs > a, .x-feed-tabs > button { display: flex; justify-content: center; align-items: stretch; min-width: 0; flex: 1; padding: 0 12px; color: var(--x-muted); background: transparent; border: 0; font-size: 15px; font-weight: 500; }
.x-feed-tabs > a:hover, .x-feed-tabs > button:hover { background: var(--x-tab-hover); }
.x-feed-tabs > a > span, .x-feed-tabs > button > span { display: flex; align-items: center; position: relative; padding: 16px 0; }
.x-feed-tabs > .is-active { color: var(--x-ink); font-weight: 700; }
.x-feed-tabs > .is-active > span::after { content: ''; position: absolute; height: 4px; min-width: 56px; left: 0; right: 0; bottom: 0; border-radius: 999px; background: var(--accent); }
.x-composer { display: flex; gap: 12px; padding: 16px 16px 8px; border-bottom: 1px solid var(--x-line); }
.x-composer > form { min-width: 0; flex: 1; }
.x-composer input { width: 100%; height: 44px; padding: 4px 0 12px; color: var(--x-ink); border: 0; background: transparent; outline: 0; font-size: 20px; }
.x-composer input::placeholder { color: var(--x-muted); opacity: 1; }
.x-composer input:focus-visible { outline: 0; box-shadow: 0 2px var(--accent); }
.x-composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; }
.x-composer-bottom nav { display: flex; margin-left: -8px; color: var(--accent); }
.x-composer-bottom .x-icon-button { width: 34px; height: 34px; }
.x-blue-button, .x-outline-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 17px; border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: var(--x-accent-text); font-size: 15px; font-weight: 700; white-space: nowrap; }
.x-blue-button:hover { background: var(--x-accent-hover); }
.x-outline-button { border-color: var(--x-border); color: var(--x-ink); background: var(--x-bg); }
.x-outline-button:hover { background: var(--x-line); }
.x-post { position: relative; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 12px 16px 4px; border-bottom: 1px solid var(--x-line); cursor: pointer; }
.x-post:hover { background: var(--x-subtle); }
.x-post-main { min-width: 0; }
.x-post-meta { display: flex; align-items: center; gap: 4px; min-width: 0; height: 22px; margin-bottom: 2px; color: var(--x-muted); font-size: 15px; white-space: nowrap; }
.x-post-author { color: var(--x-ink); font-weight: 700; text-overflow: ellipsis; overflow: hidden; flex-shrink: 0; max-width: 50%; }
.x-post-author:hover, .x-post-date:hover { text-decoration: underline; }
.x-post-handle { color: var(--x-muted); overflow: hidden; text-overflow: ellipsis; }
.x-post-date { flex-shrink: 0; }
.x-post-menu { margin: -6px -8px -6px auto; color: var(--x-muted); }
.x-post h2 { margin: 0 0 7px; font-size: 15px; font-weight: 400; line-height: 20px; overflow-wrap: anywhere; }
.x-post-excerpt { margin: 0 0 8px; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.x-post-topics { display: flex; flex-wrap: wrap; gap: 0 8px; }
.x-post-topic, .x-show-more { color: var(--accent); font-size: 15px; line-height: 20px; }
.x-post-topic { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.x-post-topic:hover, .x-show-more:hover { text-decoration: underline; }
.x-post-topics:not(:empty) { margin-bottom: 10px; }
.x-post-media { display: block; position: relative; margin: 2px 0 4px; overflow: hidden; border: 1px solid var(--x-border); border-radius: 16px; background: var(--x-line); }
.x-post-media img { display: block; width: 100%; height: auto; max-height: 510px; object-fit: cover; }
.x-post-actions { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 36px; color: var(--x-muted); }
.x-post-action { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 34px; min-height: 34px; margin: 0 -7px; padding: 7px; border: 0; border-radius: 999px; color: var(--x-muted); background: transparent; font-size: 13px; line-height: 18px; }
.x-post-action svg, .x-post-views svg { width: 18px; height: 18px; }
.x-post-action:hover, .x-post-action[aria-pressed='true'] { color: var(--accent); background: var(--accent-soft); }
.x-post-action[aria-pressed='true'] svg { fill: var(--accent); }
.x-like-action:hover, .x-like-action[aria-pressed='true'] { color: #f91880; background: #f918801a; }
.x-like-action[aria-pressed='true'] svg { fill: #f91880; }
.x-post-views { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.x-feed-more { border-bottom: 1px solid var(--x-line); }
.category-load-more-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; color: var(--accent); }
.category-load-more-button:hover { background: var(--x-hover); }
.category-load-more-button [aria-hidden] { display: none; }
.category-load-more-button[aria-disabled='true'] { opacity: .6; cursor: wait; }
.category-load-previous { display: block; padding: 16px; color: var(--accent); text-align: center; }
.category-load-more-status { margin: 0; padding: 12px 16px; color: var(--x-muted); font-size: 13px; text-align: center; }
.category-load-more-status:empty { display: none; }
.x-rail { position: sticky; top: 0; max-height: 100dvh; min-width: 0; overflow-y: auto; scrollbar-width: none; padding: 0 0 24px 30px; }
.x-rail::-webkit-scrollbar { display: none; }
.x-rail-search { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; min-height: 53px; padding: 5px 0; background: var(--x-bg); }
.x-rail-search > .x-search { flex: 1; min-width: 0; }
.x-search { display: flex; align-items: center; gap: 16px; min-height: 43px; padding: 8px 16px; border: 1px solid var(--x-border); border-radius: 999px; background: var(--x-bg); }
.x-search svg { width: 18px; height: 18px; color: var(--x-muted); }
.x-search input { min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; color: var(--x-ink); background: transparent; font-size: 15px; }
.x-search:focus-within { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.x-search:focus-within > svg { color: var(--accent); }
.x-rail-box { margin: 12px 0 16px; border: 1px solid var(--x-line); border-radius: 16px; overflow: hidden; }
.x-rail-box h2 { margin: 0; padding: 12px 16px; font-size: 20px; font-weight: 800; line-height: 24px; }
.x-welcome { padding: 0 16px 16px; }
.x-welcome h2 { padding-inline: 0; padding-bottom: 4px; }
.x-welcome p { margin: 4px 0 12px; font-size: 15px; line-height: 20px; }
.x-trend { display: block; position: relative; padding: 12px 40px 12px 16px; }
.x-trend:hover, .x-suggestion:hover, .x-rail-more:hover { background: var(--x-subtle); }
.x-trend small, .x-trend > span:not(.x-trend-more) { display: block; color: var(--x-muted); font-size: 13px; line-height: 16px; }
.x-trend strong { display: block; margin: 2px 0 4px; font-size: 15px; font-weight: 700; line-height: 20px; overflow-wrap: anywhere; }
.x-trend-more { position: absolute; right: 14px; top: 10px; color: var(--x-muted); }
.x-trend-more svg { width: 20px; height: 20px; }
.x-rail-more { display: block; padding: 16px; color: var(--accent); font-size: 15px; }
.x-suggestion { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.x-topic-avatar { background: var(--x-line); color: var(--x-ink); font-size: 20px; }
.x-suggestion > div { min-width: 0; flex: 1; }
.x-suggestion strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; line-height: 18px; }
.x-suggestion small { display: block; margin-top: 3px; color: var(--x-muted); font-size: 13px; }
.x-suggestion > svg { width: 18px; height: 18px; }
.x-legal { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 16px; color: var(--x-muted); font-size: 13px; line-height: 16px; }
.x-legal a:hover { text-decoration: underline; }
.x-legal small { font-size: 13px; }
.x-list-heading { padding: 16px; border-bottom: 1px solid var(--x-line); }
.x-list-heading h2 { margin: 0 0 8px; font-size: 20px; line-height: 24px; }
.x-list-heading p { margin: 0; color: var(--x-muted); line-height: 20px; }
.x-list-heading .x-search { margin-top: 16px; }
.x-topic-links { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--x-line); }
.x-explore-topics { scroll-margin-top: 110px; }
.x-category-children { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.x-category-children a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; min-height: 36px; padding: 8px 16px; border: 1px solid var(--x-border); border-radius: 999px; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.x-category-children a:hover { background: var(--x-line); }
.x-category-children a span { color: var(--x-muted); font-weight: 400; }
.x-empty { max-width: 400px; padding: 36px 24px 48px; margin: auto; }
.x-empty h2 { margin: 0 0 12px; font-size: 31px; line-height: 36px; font-weight: 800; }
.x-empty p { color: var(--x-muted); line-height: 20px; }
.x-related-heading { margin: 0; padding: 16px; border-bottom: 1px solid var(--x-line); font-size: 20px; line-height: 24px; }
.x-detail { padding: 16px 16px 0; }
.x-detail-byline { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.x-detail-byline > a:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.x-detail-byline strong { display: block; font-size: 15px; }
.x-detail-byline span { display: block; color: var(--x-muted); }
.x-detail-byline > button { color: var(--x-muted); }
.x-detail h1 { margin: 0 0 12px; font-size: 23px; font-weight: 400; line-height: 30px; overflow-wrap: anywhere; }
.x-detail-lead { margin: 0 0 12px; font-size: 20px; line-height: 28px; }
.x-detail-cover { margin: 16px 0; border: 1px solid var(--x-line); border-radius: 16px; overflow: hidden; }
.x-detail-cover img { display: block; width: 100%; height: auto; }
.publication.mode-social .x-detail-body { font-size: 20px; line-height: 28px; overflow-wrap: anywhere; }
.mode-social .x-social-detail .x-detail-body { font-size: 23px; line-height: 30px; }
.x-social-detail .x-detail-byline { margin-bottom: 12px; }
.x-detail-body p { margin: 0 0 20px; }
.x-detail-body h2 { margin: 28px 0 12px; font-size: 23px; line-height: 30px; }
.x-detail-body h3 { margin: 24px 0 12px; font-size: 20px; line-height: 26px; }
.x-detail-body h4, .x-detail-body h5, .x-detail-body h6 { font-size: 18px; }
.x-detail-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.x-detail-body ul, .x-detail-body ol { padding-left: 24px; }
.x-detail-body li { margin-bottom: 8px; }
.x-detail-body blockquote { margin: 20px 0; padding: 4px 16px; border-left: 3px solid var(--accent); color: var(--x-muted); }
.x-detail-body pre { max-width: 100%; overflow-x: auto; padding: 16px; border: 1px solid var(--x-line); border-radius: 12px; background: var(--x-hover); font-size: 13px; }
.x-detail-body :not(pre) > code { padding: 2px 4px; border-radius: 4px; background: var(--x-line); font-size: .85em; }
.x-detail-body img { height: auto; border-radius: 12px; }
.x-detail-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.x-detail-body td, .x-detail-body th { padding: 8px 12px; border: 1px solid var(--x-border); text-align: left; }
.x-detail-body hr { margin-block: 24px; border: 0; border-top: 1px solid var(--x-line); }
.x-detail-stats { display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 16px 0; color: var(--x-muted); font-size: 15px; line-height: 20px; }
.x-detail-stats strong { color: var(--x-ink); font-weight: 700; }
.x-detail > .x-post-actions { min-height: 49px; border-block: 1px solid var(--x-line); }
.x-detail > .x-post-actions svg { width: 22px; height: 22px; }
.x-detail-summary { margin: 16px 0; }
.x-detail .wfnSummaryWidget .wfnSummary-trigger { border-radius: 999px !important; border-color: var(--x-border); font-family: inherit; }
.x-detail .wfnSummaryWidget .wfnSummary-dialog { border-radius: 16px !important; }
.x-profile { padding: 0; }
.x-profile-cover { display: flex; justify-content: flex-end; align-items: center; height: 200px; padding: 24px 38px; background: var(--x-border); }
.x-profile-cover > .site-brand-monogram { width: 80px; height: 80px; }
.x-profile-info { position: relative; padding: 74px 16px 16px; }
.x-profile-avatar { position: absolute; top: -70px; left: 12px; width: 140px; height: 140px; border: 4px solid var(--x-bg); font-size: 42px; }
.x-profile-info > .x-outline-button { position: absolute; top: 12px; right: 16px; }
.x-profile-info h1 { margin-bottom: 0; font-size: 20px; line-height: 24px; font-weight: 800; overflow-wrap: anywhere; }
.x-profile-info > .x-post-handle { display: block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.x-profile-info > p { margin: 14px 0; }
.x-profile-website { display: inline-block; margin-bottom: 12px; color: var(--accent); }
.x-profile-website:hover { text-decoration: underline; }
.x-profile-counts { display: flex; flex-wrap: wrap; gap: 20px; color: var(--x-muted); font-size: 14px; }
.x-profile-counts strong { color: var(--x-ink); }
.x-profile > .x-feed-tabs { border-bottom: 1px solid var(--x-line); }
.x-profile > .x-detail-body { padding: 24px 16px 0; }
.x-profile > .x-detail-stats, .x-profile > .x-post-actions { margin-inline: 16px; }
.x-mobile-nav, .x-mobile-compose { display: none; }
.mode-saved-dialog { width: min(600px,calc(100vw - 24px)); border: 0; border-radius: 16px; box-shadow: 0 0 15px #65778633; font-family: var(--sans); background: var(--x-panel-bg, var(--x-bg)); color: var(--x-ink); }
.mode-saved-dialog::backdrop { background: #0006; backdrop-filter: none; }
.mode-saved-header { padding: 16px; gap: 16px; }
.mode-saved-header h2 { font-size: 20px; }
.mode-saved-close { border: 0; }
.mode-saved-close:hover { background: var(--x-line); }
.mode-saved-list { padding: 0 16px; }
.mode-saved-remove { border-radius: 999px; }
.mode-saved-empty { text-align: left; padding: 36px 24px 48px; }
.mode-saved-empty strong { display: block; font-size: 31px; line-height: 36px; }
.mode-saved-empty p { margin-left: 0; }
.mode-action-status { border: 0; border-radius: 4px; background: var(--accent); font-size: 15px; box-shadow: 0 0 8px #0002; }
.mode-action-status { color: var(--x-accent-text); }
body, .x-column-header, .x-mobile-nav, .x-rail-search { transition: background-color 160ms ease, color 160ms ease; }
a, button, input, textarea, select { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
:is(.x-compose-dialog, .x-delete-dialog, .mode-saved-dialog, .wfnSummary-dialog)[open] { animation: site-panel-in 180ms ease-out both; }
:is(.x-compose-dialog, .x-delete-dialog, .mode-saved-dialog, .wfnSummary-dialog)[open].is-closing { animation: site-panel-out 140ms ease-in both; pointer-events: none; }
:is(.x-compose-dialog, .x-delete-dialog, .mode-saved-dialog, .wfnSummary-dialog)[open]::backdrop { animation: site-backdrop-in 180ms ease-out both; }
:is(.x-compose-dialog, .x-delete-dialog, .mode-saved-dialog, .wfnSummary-dialog)[open].is-closing::backdrop { animation: site-backdrop-out 140ms ease-in both; }
.x-more-menu[open] > .x-more-popover, .x-more-menu details[open] > .nav-dropdown-panel { animation: site-panel-in 160ms ease-out both; }
.x-more-menu.is-closing > .x-more-popover, .x-more-menu details.is-closing > .nav-dropdown-panel { animation: site-panel-out 140ms ease-in both; pointer-events: none; }
@keyframes site-panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes site-panel-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(4px); } }
@keyframes site-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes site-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@media (min-width: 1400px) { .x-experience { max-width: 1265px; grid-template-columns: 275px 600px 390px; } .x-more-popover { left: max(8px,calc((100vw - 1265px)/2 + 8px)); } }
@media (max-width: 1100px) {
    .x-experience { max-width: 1058px; grid-template-columns: 88px 600px minmax(0,370px); }
    .x-left { align-items: center; padding-inline: 8px; }
    .site-brand-row { justify-content: center; padding-bottom: 4px; }
    .site-brand-row .site-wordmark { padding: 0; font-size: 15px; line-height: 18px; text-align: center; }
    .site-brand-row .site-wordmark > span { display: block; }
    .x-nav-link { justify-content: center; width: 52px; height: 52px; }
    .x-nav-link > span, .x-account > div, .x-account > svg, .x-primary > span { display: none; }
    .x-primary { width: 50px; height: 50px; padding: 12px; }
    .x-primary > svg { display: block; }
    .x-account { justify-content: center; padding-inline: 8px; }
    .x-more-popover { left: max(8px,calc((100vw - 1058px)/2 + 8px)); }
    .x-rail { padding-right: 10px; padding-left: 24px; }
}
@media (max-width: 980px) {
    .x-experience { grid-template-columns: 88px minmax(0,600px); max-width: 688px; }
    .x-rail { display: none; }
    .x-home-header > .x-header-row { position: relative; width: auto; height: 53px; min-height: 53px; padding: 0 16px; overflow: visible; clip: auto; }
    .site-mobile-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
    .x-mobile-search { display: inline-flex; }
    .x-more-popover { left: max(8px,calc((100vw - 688px)/2 + 8px)); }
}
@media (max-width: 600px) {
    html { scroll-padding-top: 110px; }
    .x-experience { display: block; width: 100%; padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .x-left { display: none; }
    .x-column { border: 0; }
    .x-home-header > .x-header-row { position: relative; clip: auto; width: auto; min-height: 53px; height: 53px; gap: 8px; padding: 0 16px; overflow: visible; }
    .x-home-header .x-header-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .x-header-row { gap: 20px; }
    .x-header-title h1, .x-header-title h2 { max-width: calc(100vw - 150px); }
    .x-mobile-avatar { display: flex; width: 32px; height: 32px; flex-basis: 32px; font-size: 11px; }
    .x-home-header .x-mobile-mark { display: block; flex: 1; min-width: 0; text-align: center; }
    .x-mobile-mark .site-wordmark { padding: 0; font-size: 19px; line-height: 24px; white-space: normal; }
    .x-mobile-search { display: inline-flex; }
    .site-mobile-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
    .x-feed-tabs { min-height: 52px; }
    .x-feed-tabs > a, .x-feed-tabs > button { padding-inline: 8px; font-size: 14px; }
    .x-composer { display: none; }
    .x-inline-composer { display: none; }
    .x-post { grid-template-columns: 40px minmax(0,1fr); gap: 8px; padding: 12px 16px 4px; }
    .x-post-meta { gap: 3px; font-size: 14px; }
    .x-post-author { max-width: 55%; }
    .x-post-handle { flex-shrink: 1; }
    .x-post-date { font-size: 13px; }
    .x-post-menu { flex-basis: 28px; width: 28px; padding: 5px; }
    .x-post-media { border-radius: 16px; }
    .x-post h2, .x-post-excerpt { font-size: 15px; line-height: 20px; }
    .x-post-actions { margin-top: 2px; }
    .x-post-action { min-width: 36px; min-height: 40px; }
    .x-mobile-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-around; min-height: 54px; padding: 2px 8px calc(2px + env(safe-area-inset-bottom)); border-top: 1px solid var(--x-line); background: var(--x-nav-bg); backdrop-filter: blur(12px); }
    .x-mobile-nav a, .x-mobile-nav button { display: flex; align-items: center; justify-content: center; width: 20%; min-height: 49px; border: 0; background: transparent; color: var(--x-ink); }
    .x-mobile-nav svg { width: 25px; height: 25px; }
    .x-mobile-nav a:hover, .x-mobile-nav button:hover { color: var(--accent); }
    .x-mobile-compose { position: fixed; z-index: 35; right: 20px; bottom: calc(76px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--x-accent-text); box-shadow: 0 4px 10px #0003; }
    .x-mobile-compose svg { width: 26px; height: 26px; }
    .x-detail h1 { font-size: 23px; line-height: 30px; }
    .x-detail-lead { font-size: 18px; line-height: 25px; }
    .publication.mode-social .x-detail-body { font-size: 20px; line-height: 28px; }
    .mode-social .x-social-detail .x-detail-body { font-size: 20px; line-height: 28px; }
    .x-detail-stats { font-size: 14px; }
    .x-profile-cover { height: 140px; }
    .x-profile-cover > .site-brand-monogram { width: 64px; height: 64px; }
    .x-profile-avatar { top: -48px; width: 100px; height: 100px; font-size: 30px; }
    .x-profile-info { padding-top: 62px; }
    .mode-saved-dialog { border-radius: 16px; }
    .mode-action-status { bottom: calc(74px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
    .x-mobile-mark .site-wordmark { font-size: 17px; }
    .x-post { padding-inline: 12px; }
    .x-post-handle { max-width: 70px; }
    .x-post-meta { font-size: 13px; }
    .x-post-menu { margin-right: -6px; }
    .x-post-action { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print {
    .x-experience { display: block; max-width: 100%; }
    .x-left, .x-rail, .x-mobile-nav, .x-mobile-compose, .x-post-actions, .x-feed-tabs, .x-detail-summary { display: none !important; }
    .x-column { border: 0; }
    .x-column-header { position: static; }
}
:root[data-theme='dark'] :is(dialog, .x-more-popover, .nav-dropdown-panel) { --surface: var(--x-panel-bg); --surface-raised: var(--x-panel-control-bg); color-scheme: dark; }
:root[data-theme='dark'] dialog:not(.post-options-menu)::backdrop { background: #1d1f2ab3; }
:root[data-theme='dark'] :is(select, option, optgroup) { color: var(--x-ink); background-color: var(--x-panel-control-bg); }
:root[data-theme='dark'] :is(input[type='checkbox'], input[type='radio'], input[type='range']) { accent-color: var(--accent); }
:root[data-theme='dark'] dialog :is(input, textarea)::placeholder { color: var(--x-muted); opacity: 1; }
