/* Home: a document feed, with independent posts and normal vertical scrolling. */
:root { --hf-blue:#0753ff; --hf-ink:#141925; --hf-muted:#6b7281; --hf-line:#e0e5ef; --hf-surface:#fff; --hf-sidebar:256px; }
html:has(body.hf-home) {scroll-snap-type:none; scroll-padding-top:18px; background:#f8faff;}
body.hf-home {margin:0; min-width:0; height:auto; min-height:100dvh; overflow-y:auto; background:#f9faff; color:var(--hf-ink); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; font-size:14px; line-height:1.5;}
.hf-home *, .hf-home *::before, .hf-home *::after {box-sizing:border-box;}
.hf-home :where(button,input,textarea) {font:inherit;}
.hf-home .skip-link {position:fixed;top:-100px;left:15px;z-index:200;}
.hf-home .skip-link:focus {top:10px;}
.hf-home button {cursor:pointer;}
.hf-home button:disabled {cursor:default; opacity:.55;}
.hf-home a {text-decoration:none;}
.hf-home svg {width:22px;height:22px;flex:none; fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.hf-home :is(button,a,input,textarea,summary):focus-visible {outline:3px solid #93b8ff;outline-offset:3px;}
.hf-home [hidden] {display:none!important;}
.hf-brand {color:var(--hf-blue);font-size:32px;line-height:1;letter-spacing:-1.5px;font-weight:850;white-space:nowrap;}
.hf-brand span {color:#12ba89;}
.hf-sidebar {position:fixed;inset:0 auto 0 0;width:var(--hf-sidebar);z-index:40;border-right:1px solid var(--hf-line);background:#fcfdff;display:flex;flex-direction:column;padding:26px 14px 18px;overflow-y:auto;}
.hf-brand-row {display:flex;align-items:center;justify-content:space-between;padding:3px 14px 28px;}
#sidebar-close {display:none;}
.hf-search {height:44px;display:flex;align-items:center;gap:10px;border:1px solid #cfd5e2;border-radius:11px;background:#f6f7fa;padding:0 12px;margin:0 3px 20px;color:#737987;}
.hf-search input {width:100%;min-width:0;border:0;background:transparent;outline:0;color:var(--hf-ink);font-size:15px;}
.hf-nav {display:grid;gap:5px;}
.hf-nav a {display:flex;align-items:center;gap:17px;min-height:49px;padding:11px 17px;border-radius:11px;color:#20232b;font-size:16px;font-weight:500;}
.hf-nav a>span:nth-child(2){flex:1;}
.hf-nav a:hover {background:#eef3ff;}
.hf-nav a[aria-current=page] {background:var(--hf-blue);color:#fff;font-weight:650;}
.hf-nav svg {width:24px;height:24px;}
.hf-badge {background:#ed3d50;color:#fff;border-radius:20px;font-size:12px;line-height:22px;min-width:22px;text-align:center;padding:0 5px;}
.hf-saved-count {font-size:12px;}
.hf-primary,.hf-secondary {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 16px;border:1px solid var(--hf-blue);border-radius:9px;background:var(--hf-blue);color:#fff;font-weight:650;white-space:nowrap;}
.hf-secondary {background:#fff;color:var(--hf-blue);border-color:#c6d5ff;}
.hf-primary:hover {background:#0046e3;}
.hf-create {margin-top:24px;min-height:49px;font-size:16px;}
.hf-account {display:flex;align-items:center;gap:4px;margin-top:auto;padding:30px 5px 0;}
.hf-account>a:first-child {display:flex;align-items:center;gap:9px;min-width:0;flex:1;}
.hf-account strong {font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hf-account .hf-avatar {width:34px;height:34px;font-size:12px;}
.hf-account .hf-icon-button {width:28px;height:34px;}
.hf-account .hf-icon-button svg {width:18px;height:18px;}
.hf-icon-button {display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:6px;flex:none;border:0;border-radius:9px;background:transparent;color:inherit;}
.hf-icon-button:hover {background:#eef3ff;}
.hf-mobile-header {display:none;}
.hf-layout {margin-left:var(--hf-sidebar);padding:18px 22px 50px;display:grid;grid-template-columns:minmax(0,900px) 330px;gap:22px;justify-content:center;align-items:start;}
.hf-main {width:100%;max-width:900px;min-width:0;outline:none;}
.hf-feed-header {display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--hf-line);height:46px;margin-bottom:16px;}
.hf-tabs {display:flex;align-self:stretch;gap:4px;min-width:0;}
.hf-tabs button {position:relative;border:0;background:transparent;color:#5d626d;font-size:16px;font-weight:600;padding:7px 18px 14px;white-space:nowrap;}
.hf-tabs button[aria-pressed=true] {color:var(--hf-blue);font-weight:750;}
.hf-tabs button[aria-pressed=true]::after {content:"";position:absolute;height:3px;background:var(--hf-blue);left:0;right:0;bottom:-1px;border-radius:3px;}
#feed-filter {border:1px solid var(--hf-line);margin-bottom:9px;}
.hf-summary {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:13px 15px;border:1px solid var(--hf-line);border-radius:10px;background:#fff;}
.hf-summary strong {min-width:0;overflow-wrap:anywhere;}
.hf-summary button {border:0;background:transparent;color:var(--hf-blue);font-size:12px;flex:none;}
.hf-compose {display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--hf-line);border-radius:12px;padding:13px 14px;margin-bottom:14px;}
.hf-avatar {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border-radius:50%;background:#e8efff;color:var(--hf-blue);font-size:15px;font-weight:700;overflow:hidden;}
.hf-avatar img {width:100%;height:100%;object-fit:cover;}
.hf-avatar-inner {display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
.hf-compose .hf-avatar {width:42px;height:42px;}
.hf-compose-prompt {align-self:stretch;display:flex;align-items:center;background:#f7f8fb;border:1px solid #d6dce7;border-radius:9px;flex:1;min-width:0;padding:7px 42px 7px 12px;color:#747b88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;}
.hf-compose-media {margin-left:-50px;margin-right:3px;z-index:1;}
.hf-compose .hf-primary {font-size:13px;}
.hf-list {display:flex;flex-direction:column;gap:18px;}
.hf-card {position:relative;min-width:0;border:1px solid var(--hf-line);border-radius:13px;background:#fff;padding:15px 14px 10px;box-shadow:0 2px 3px #18285402;scroll-margin-top:18px;}
.hf-post-header {display:flex;align-items:center;gap:11px;min-height:48px;position:relative;margin:0 3px 10px;}
.hf-post-person {flex:1;min-width:0;}
.hf-post-person>a {font-size:16px;font-weight:750;display:block;color:#11151e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hf-post-meta {display:flex;align-items:center;gap:5px;color:#777c87;font-size:12px;white-space:nowrap;}
.hf-post-meta svg {width:13px;height:13px;}
.hf-follow {border:1px solid #a5bdff;background:#fff;color:var(--hf-blue);display:inline-flex;gap:5px;align-items:center;justify-content:center;border-radius:8px;padding:4px 9px;font-size:12px;line-height:22px;white-space:nowrap;}
.hf-follow svg {width:16px;height:16px;}
.hf-follow[aria-pressed=true] {background:#eef3ff;}
.hf-more svg {width:23px;height:23px;}
.hf-copy {margin:0 4px 9px;}
.hf-title {font-size:18px;line-height:25px;font-weight:750;margin:0;min-height:25px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.hf-story {margin:3px 0 0;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:21px;height:42px;}
.hf-read-row {height:19px;display:flex;justify-content:flex-end;}
.hf-read-more {border:0;padding:0;background:transparent;color:var(--hf-blue);font-size:11px;}
.hf-media {display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);gap:4px;height:360px;overflow:hidden;border-radius:9px;background:#eef2f8;}
.hf-media[data-count="2"] {grid-template-columns:1fr 1fr;}
.hf-media[data-count="3"] {grid-template-columns:1.65fr 1fr;grid-template-rows:1fr 1fr;}
.hf-media[data-count="3"]> :first-child {grid-row:1/3;}
.hf-photo {position:relative;padding:0;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden;border:0;background:#eaf0f7;display:flex;align-items:center;justify-content:center;}
.hf-photo img {display:block;width:100%;height:100%;object-fit:contain;}
.hf-photo-count {position:absolute;right:9px;bottom:9px;background:#192432c7;color:#fff;border-radius:8px;padding:4px 10px;font-size:17px;font-weight:650;}
.hf-video {width:100%;height:100%;object-fit:contain;background:#101827;}
.hf-photo-error {position:absolute;inset:auto 10px 10px;background:#fff;padding:7px;border-radius:6px;font-size:12px;}
.hf-funding {padding:9px 4px 2px;}
.hf-funding-text {display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px;}
.hf-funding-text>span:first-child {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hf-funding-text>span:last-child {flex:none;color:#666d7a;}
.hf-progress {height:7px;background:#e3e6ed;border-radius:5px;overflow:hidden;}
.hf-progress>span {display:block;height:100%;border-radius:inherit;background:var(--hf-blue);}
.hf-category {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 4px 0;color:#6d778a;font-size:11px;}
.hf-category span {border-radius:12px;background:#f0f5ff;padding:2px 9px;color:#5174ac;}
.hf-category button {color:#0753ff;border:0;padding:3px 0;background:transparent;font-size:11px;}
.hf-stats {display:flex;align-items:center;gap:10px;min-height:39px;margin:0 4px;border-bottom:1px solid var(--hf-line);font-size:12px;}
.hf-reaction-cluster {border:0;background:transparent;display:flex;align-items:center;gap:6px;padding:6px 0;color:#4c5464;}
.hf-emoji-stack {font-size:19px;line-height:1;letter-spacing:-5px;padding-right:5px;}
.hf-stats-comments {margin-left:auto;border:0;background:transparent;color:#606778;font-size:12px;padding:6px 0;}
.hf-views {display:flex;align-items:center;gap:5px;padding-left:12px;border-left:1px solid var(--hf-line);color:#606778;white-space:nowrap;}
.hf-views svg {width:18px;height:18px;}
.hf-actions {position:relative;display:grid;grid-template-columns:1.15fr 1.15fr 1.15fr 1fr 38px 38px;align-items:center;min-height:46px;border-bottom:1px solid var(--hf-line);gap:2px;margin:0 4px;}
.hf-action {display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:#323844;min-width:0;padding:9px 2px;font-size:13px;border-radius:7px;white-space:nowrap;}
.hf-action:hover {background:#f0f4ff;}
.hf-action svg {width:23px;height:23px;}
.hf-action[aria-pressed=true],.hf-support {color:var(--hf-blue);}
.hf-action[aria-pressed=true] svg {fill:#e4edff;}
.hf-action[aria-disabled=true] {opacity:.5;cursor:default;}
.hf-comments {padding:10px 3px 0;scroll-margin-top:76px;}
.hf-comments:not(.hf-comments-open) .comments-list,.hf-comments:not(.hf-comments-open) .comments-more,.hf-comments:not(.hf-comments-open) .comments-status {display:none;}
.hf-comments .comments-list {margin-top:8px;}
.hf-comments .p4m-comments.comments-reference>.comments-composer {margin:0;}
.hf-comments .comments-reference .comments-composer-avatar {width:34px;height:34px;flex-basis:34px;}
.hf-comments .comments-reference .comments-submit {width:34px;height:34px;flex-basis:34px;}
.hf-comments .comments-auth {padding:8px 0;margin:0;font-size:12px;}
.hf-comment-placeholder {display:flex;align-items:center;gap:9px;}
.hf-comment-placeholder>.hf-avatar {width:34px;height:34px;}
.hf-comment-placeholder>button {border:1px solid #d5ddeb;border-radius:20px;flex:1;min-width:0;background:#f9faff;display:flex;gap:10px;align-items:center;padding:7px 10px;color:#71809a;font-size:12px;text-align:left;}
.hf-comment-placeholder>button>span {flex:1;}
.hf-comment-placeholder svg {width:19px;height:19px;}
.hf-post-error {margin:8px 4px;color:#b33041;font-size:12px;}
.hf-menu {position:absolute;z-index:25;right:0;top:calc(100% + 5px);width:220px;background:#fff;border:1px solid var(--hf-line);box-shadow:0 10px 30px #25376020;border-radius:12px;padding:6px;max-height:min(360px,calc(100dvh - 24px));overflow-y:auto;}
.hf-menu.hf-above {top:auto;bottom:calc(100% + 6px);}
.hf-menu :is(button,a) {width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;text-align:left;padding:11px 10px;min-height:44px;border-radius:7px;color:#34425a;font-size:13px;}
.hf-menu :is(button,a):hover {background:#f0f4ff;}
.hf-menu svg {width:19px;height:19px;}
.hf-reactions {position:absolute;bottom:calc(100% + 44px);left:0;z-index:26;display:flex;gap:2px;align-items:center;padding:7px;background:#fff;border:1px solid #e1e7f3;box-shadow:0 6px 24px #13234b26;border-radius:28px;max-width:100%;}
.hf-reactions button {display:flex;align-items:center;justify-content:center;width:39px;height:39px;padding:3px;border:0;background:transparent;font-size:26px;border-radius:50%;}
.hf-reactions button:hover,.hf-reactions button[aria-pressed=true] {background:#e9f0ff;transform:translateY(-3px);}
.hf-aside {padding-top:10px;display:flex;flex-direction:column;gap:14px;min-width:0;}
.hf-widget {padding:16px;background:#fff;border:1px solid var(--hf-line);border-radius:12px;min-width:0;}
.hf-widget h2 {font-size:19px;font-weight:750;line-height:1.35;margin:0 0 15px;letter-spacing:-.4px;}
.hf-widget>header {display:flex;align-items:baseline;justify-content:space-between;gap:10px;}
.hf-widget>header>a {font-size:11px;color:var(--hf-blue);white-space:nowrap;}
.hf-person-row,.hf-community-row,.hf-rank-row {display:flex;align-items:center;gap:10px;padding:11px 0;min-width:0;}
.hf-person-row:first-child,.hf-community-row:first-child,.hf-rank-row:first-child {padding-top:2px;}
.hf-person-row:last-child,.hf-community-row:last-child,.hf-rank-row:last-child {padding-bottom:2px;}
.hf-row-copy {flex:1;min-width:0;line-height:1.45;}
.hf-row-copy strong {display:block;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hf-row-copy small {display:block;font-size:11px;color:#747a86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hf-person-row .hf-follow {font-size:11px;padding:2px 5px;gap:3px;}
.hf-person-row .hf-avatar {width:40px;height:40px;}
.hf-community-row+.hf-community-row,.hf-rank-row+.hf-rank-row {border-top:1px solid #ebedf3;}
.hf-community-row .hf-avatar {width:43px;height:43px;border-radius:10px;font-size:14px;}
.hf-rank {display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:none;border-radius:50%;font-size:13px;font-weight:750;background:#ffd562;color:#5e4113;}
.hf-rank-row:nth-child(2) .hf-rank {background:#e4e7ed;color:#3c455a;}
.hf-rank-row:nth-child(3) .hf-rank {background:#ffd5ac;color:#724824;}
.hf-rank-row .hf-avatar {width:35px;height:35px;font-size:13px;}
.hf-rank-row b {color:#333b49;font-weight:700;}
.hf-policy {font-size:10px;display:flex;flex-wrap:wrap;justify-content:center;gap:5px 7px;color:#7a8291;padding:1px 4px;}
.hf-muted {font-size:12px;color:var(--hf-muted);margin:0;}
.hf-status {display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:calc(100dvh - 240px);padding:30px 16px;gap:12px;}
.hf-status h1 {font-size:20px;line-height:1.4;margin:0;}
.hf-status p {margin:0;max-width:430px;color:#70788a;}
.hf-status button,.hf-status a {margin-top:6px;}
.hf-main[data-saved=true] .hf-status {min-height:calc(100dvh - 165px);}
.hf-layout:has(.hf-main[data-saved=true]) {grid-template-columns:minmax(0,900px);}
.hf-layout:has(.hf-main[data-saved=true]) .hf-aside {display:none;}
.hf-pagination {padding:24px 10px;text-align:center;}
.hf-pagination p {font-size:12px;color:#7b8392;}
.hf-pagination button {font-size:13px;}
.hf-spinner {display:block;width:28px;height:28px;border:3px solid #dfe8ff;border-top-color:var(--hf-blue);border-radius:50%;animation:hf-spin .8s linear infinite;}
@keyframes hf-spin {to{transform:rotate(360deg)}}
.hf-toast {position:fixed;z-index:150;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 24px);border-radius:12px;background:#19243c;color:#fff;box-shadow:0 8px 30px #14244c20;padding:12px 20px;font-size:13px;}
.hf-dialog {position:fixed;inset:0;margin:auto;border:1px solid #dce5f8;border-radius:17px;background:#fff;color:var(--hf-ink);width:min(580px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:22px;overflow-y:auto;box-shadow:0 20px 70px #162f5e40;}
.hf-dialog::backdrop,.hf-navigation-drawer::backdrop {background:#19243a66;}
.hf-dialog>header {display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin-bottom:16px;}
.hf-dialog h2 {font-size:20px;line-height:1.4;margin:0;overflow-wrap:anywhere;}
.hf-reading {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px;}
.hf-filter-options {display:grid;gap:10px;margin-bottom:20px;}
.hf-filter-options label {display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--hf-line);border-radius:9px;cursor:pointer;}
.hf-filter-options input {accent-color:var(--hf-blue);}
.hf-dialog footer {display:flex;justify-content:flex-end;gap:10px;}
.hf-navigation-drawer {padding:0;border:0;inset:0 auto 0 0;margin:0;width:min(310px,90vw);max-width:90vw;height:100dvh;max-height:100dvh;background:#fff;}
.hf-navigation-drawer .hf-sidebar {position:relative;inset:auto;width:100%;height:100%;border:0;display:flex;}
.hf-navigation-drawer #sidebar-close {display:inline-flex;}
@media(min-width:1680px){.hf-layout {grid-template-columns:minmax(0,900px) 350px;gap:26px;padding-left:34px;padding-right:34px;}.hf-media{height:400px;}}
@media(max-width:1279px){.hf-layout{grid-template-columns:minmax(0,900px);padding:18px 24px 40px;}.hf-aside{display:none;}}
@media(max-width:1023px) and (min-width:768px){:root{--hf-sidebar:220px;}.hf-sidebar{padding-left:12px;padding-right:12px;}.hf-nav a{font-size:14px;padding-left:14px;gap:12px;}.hf-layout{padding-left:18px;padding-right:18px;}.hf-actions{grid-template-columns:repeat(4,minmax(0,1fr)) 32px 32px;}.hf-action{font-size:11px;gap:4px;}.hf-action svg{width:20px;height:20px;}.hf-compose .hf-primary{padding:8px 10px;}.hf-compose-prompt{font-size:12px;}}
@media(max-width:767px){
  html:has(body.hf-home){scroll-padding-top:64px;}.hf-home{--hf-sidebar:0px;}
  #hf-shell>.hf-sidebar{display:none;}.hf-mobile-header{display:flex;align-items:center;justify-content:space-between;height:57px;padding:9px 12px;position:sticky;top:0;z-index:35;border-bottom:1px solid #e7eaf2;background:#fcfdfff5;backdrop-filter:blur(12px);}.hf-mobile-header .hf-brand{font-size:26px;}
  .hf-layout{margin:0;display:block;padding:0 9px 32px;}.hf-main{max-width:900px;margin:0 auto;}.hf-feed-header{height:52px;margin-bottom:11px;}.hf-tabs button{font-size:14px;padding:15px 13px 13px;}#feed-filter{margin-bottom:0;}
  .hf-compose{padding:10px 9px;gap:8px;margin-bottom:12px;}.hf-compose .hf-avatar{width:32px;height:32px;font-size:12px;}.hf-compose-prompt{font-size:12px;min-height:36px;padding-left:9px;padding-right:32px;}.hf-compose .hf-primary{font-size:11px;min-height:36px;padding:7px 9px;}.hf-compose-media{width:28px;margin-left:-37px;margin-right:0;padding:5px;}.hf-compose-media svg{width:20px;height:20px;}
  .hf-list{gap:13px;}.hf-card{border-radius:12px;padding:12px 9px 9px;scroll-margin-top:70px;}.hf-post-header{gap:8px;margin-left:2px;margin-right:0;min-height:42px;margin-bottom:9px;}.hf-post-header>.hf-avatar{width:39px;height:39px;font-size:13px;}.hf-post-person>a{font-size:13px;}.hf-post-meta{font-size:10px;gap:4px;}.hf-post-meta svg{width:11px;height:11px;}.hf-post-header .hf-follow{font-size:10px;padding:2px 5px;gap:2px;}.hf-post-header .hf-follow svg{width:12px;height:12px;}.hf-more{width:27px;padding:3px;}.hf-title{font-size:16px;line-height:23px;min-height:23px;}.hf-story{font-size:12px;line-height:19px;height:38px;}.hf-read-row{height:17px;}.hf-read-more{font-size:10px;}.hf-media{height:290px;}.hf-media[data-count="3"]{grid-template-columns:1.4fr 1fr;}.hf-funding-text{font-size:10px;gap:4px;}.hf-funding-text>span:last-child{font-size:9px;}.hf-progress{height:6px;}
  .hf-actions{grid-template-columns:repeat(4,minmax(0,1fr)) 28px 28px;gap:1px;min-height:43px;margin-left:0;margin-right:0;}.hf-action{font-size:10px;gap:3px;padding:10px 1px;}.hf-action svg{width:18px;height:18px;}.hf-stats{font-size:10px;gap:7px;margin:0;min-height:35px;}.hf-stats-comments{font-size:10px;}.hf-views{font-size:10px;padding-left:7px;gap:3px;}.hf-views svg{width:15px;height:15px;}.hf-emoji-stack{font-size:18px;}.hf-reactions{gap:1px;padding:6px;}.hf-reactions button{width:35px;height:35px;font-size:25px;}.hf-comments{padding-left:0;padding-right:0;}.hf-comments .comments-reference .comments-composer-avatar{width:27px;height:27px;flex-basis:27px;}.hf-comments .comments-reference .comments-submit{width:30px;height:30px;flex-basis:30px;}.hf-comments .comments-reference .comments-composer{gap:6px;}.hf-comments .comments-reference .comments-add-image,.hf-comments .comments-reference .comments-add-emoji{width:28px;min-width:28px;}.hf-category{font-size:10px;padding-left:0;padding-right:0;}.hf-status{min-height:calc(100dvh - 245px);}.hf-main[data-saved=true] .hf-status{min-height:calc(100dvh - 190px);}
}
@media(max-width:359px){.hf-layout{padding-left:5px;padding-right:5px;}.hf-compose .hf-primary{font-size:10px;padding:6px;}.hf-compose-prompt{font-size:11px;}.hf-post-header .hf-follow{max-width:72px;font-size:9px;}.hf-actions{grid-template-columns:repeat(4,minmax(0,1fr)) 25px 25px;}.hf-action{font-size:9px;gap:2px;}.hf-action svg{width:16px;height:16px;}.hf-media{height:260px;}}
@media(prefers-reduced-motion:reduce){.hf-home *{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;}}

/* A small, consistent increase in Home text size; preserve bounded text/media frames. */
body.hf-home{font-size:16px}
.hf-tabs button{font-size:18px}
.hf-compose-prompt{font-size:16px}
.hf-compose .hf-primary{font-size:15px}
.hf-post-person>a{font-size:18px}
.hf-post-meta{font-size:14px}
.hf-follow{font-size:14px;padding-left:10px;padding-right:10px}
.hf-title{font-size:21px;line-height:29px;min-height:29px}
.hf-story{font-size:16px;line-height:24px;height:48px}
.hf-read-row{height:23px}
.hf-read-more{font-size:13px}
.hf-funding-text{font-size:14px}
.hf-stats{font-size:14px;min-height:43px}
.hf-stats-comments{font-size:14px}
.hf-action{font-size:15px;gap:8px}
.hf-action svg{width:25px;height:25px}
.hf-actions{grid-template-columns:1.15fr 1.15fr 1.15fr 1fr 40px 40px;min-height:49px}
.hf-category,.hf-category button{font-size:12px}
.hf-row-copy strong{font-size:15px}
.hf-row-copy small{font-size:13px}
.hf-person-row .hf-follow{font-size:12px}
.hf-widget h2{font-size:21px}
.hf-widget>header>a{font-size:13px}
.hf-policy{font-size:11px}
.hf-muted{font-size:14px}
.hf-rank-row .hf-row-copy small{white-space:normal}
.hf-rank-row b{white-space:nowrap}
.hf-comment-placeholder>button{font-size:14px}
.hf-comments .comments-auth{font-size:14px}
.hf-reactions{bottom:calc(100% + 48px)}
@media(min-width:768px) and (max-width:1023px){.hf-tabs button{font-size:16px;padding-left:12px;padding-right:12px}.hf-post-person>a{font-size:16px}.hf-follow{font-size:12px;padding-left:6px;padding-right:6px}.hf-actions{grid-template-columns:repeat(4,minmax(0,1fr)) 30px 30px}.hf-action{font-size:12px;gap:3px}.hf-action svg{width:20px;height:20px}.hf-compose-prompt{font-size:14px}.hf-compose .hf-primary{font-size:13px}}
@media(max-width:767px){
 .hf-tabs button{font-size:16px;padding-left:12px;padding-right:12px}.hf-post-person>a{font-size:15px}.hf-post-meta{font-size:12px}.hf-post-header .hf-follow{font-size:12px;padding:2px 6px}.hf-post-header .hf-follow svg{width:14px;height:14px}
 .hf-title{font-size:18px;line-height:26px;min-height:26px}.hf-story{font-size:14px;line-height:21px;height:42px}.hf-read-more{font-size:12px}.hf-read-row{height:21px}.hf-compose-prompt{font-size:13px}.hf-compose .hf-primary{font-size:12px}
 .hf-funding-text{font-size:12px;flex-wrap:wrap;row-gap:2px}.hf-funding-text>span:last-child{font-size:11px}.hf-stats{font-size:12px;min-height:39px}.hf-stats-comments,.hf-views{font-size:12px}.hf-views{gap:3px;padding-left:5px}.hf-views>span:last-child{display:none}
 .hf-actions{grid-template-columns:repeat(4,minmax(0,1fr)) 29px 29px;gap:2px;min-height:58px}.hf-action{flex-direction:column;gap:3px;justify-content:center;font-size:11.5px;line-height:16px;padding:6px 1px}.hf-action svg{width:23px;height:23px}.hf-category,.hf-category button{font-size:11px}.hf-reactions{bottom:calc(100% + 44px)}
}
@media(max-width:359px){.hf-compose-prompt{font-size:12px}.hf-compose .hf-primary{font-size:11px}.hf-tabs button{font-size:15px}.hf-post-meta{font-size:10px}.hf-post-header .hf-follow{max-width:none;font-size:10px}.hf-actions{grid-template-columns:repeat(4,minmax(0,1fr)) 25px 25px}.hf-action{font-size:10.5px}.hf-action svg{width:21px;height:21px}.hf-stats-comments,.hf-stats,.hf-views{font-size:11px}}

/* Post text is bounded by character count, rather than line count or viewport size. */
.hf-card .hf-title{white-space:normal;text-overflow:clip;overflow:visible;overflow-wrap:anywhere;height:auto;max-height:none}
.hf-card .hf-story{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:pre-wrap;height:auto;min-height:0;max-height:none}
.hf-card .hf-read-row{height:auto;min-height:24px;margin-top:4px}
.hf-card .hf-read-row[hidden]{display:none}
.hf-card .hf-read-more{font-size:14px;line-height:24px;cursor:pointer}
.hf-card .hf-copy{scroll-margin-top:75px}
@media(max-width:767px){.hf-card .hf-read-more{font-size:13px}}
