/* The selected wireframe changes placement and sizing; all existing artwork is reused. */
.ui-home .ui-home-notice .ui-notice-link{position:static;inset:auto;display:inline-flex;align-items:center;justify-content:center;min-height:30px;width:auto;max-width:max-content;padding:5px 13px;border:1px solid #b6c9d3;border-radius:5px;background:#fffef8;color:#214c68;font-size:12px;line-height:1.5;white-space:nowrap;text-decoration:none}
.ui-home .ui-home-notice .ui-notice-link:hover{background:#eaf1f3}
.ui-home .ui-home-notice .ui-notice-heading{height:auto;background:#ece8d1c9;border-radius:5px;padding:7px 14px;margin:0}
.ui-home .ui-home-notice .ui-notice-heading h2{font-size:22px;line-height:1.4;margin:0}
.ui-home .ui-home-notice .ui-notice-record,.ui-home .ui-home-notice .ui-notice-record:has(.ref-home-activity-summary){display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;align-items:start;gap:9px 18px;min-height:0;padding:0 12px 8px}
.ui-home .ui-home-notice .ref-home-poster{grid-column:1;grid-row:1/4;width:100%;max-height:175px;aspect-ratio:3/4;align-self:center;padding:0;margin:0}
.ui-home .ui-home-notice .ref-home-poster img{width:100%;height:100%;object-fit:contain}
.ui-home .ui-home-notice .ref-home-event-copy{grid-column:2;grid-row:1;padding:0;min-width:0}
.ui-home .ui-home-notice .ref-home-event-copy h3{font-size:21px;line-height:1.35;margin:0 0 3px}
.ui-home .ui-home-notice .ref-home-event-copy p{font-size:12px;line-height:1.5;margin:0;color:#526f83}
.ui-home .ui-home-notice .ui-notice-schedule{display:flex;flex-wrap:wrap;gap:4px 12px;min-height:0;margin:5px 0 0;padding:0;border:0}
.ui-home .ui-home-notice .ref-home-activity-summary{grid-column:2;grid-row:2;border:0;padding:0;margin:0;font-size:13px;line-height:1.65;-webkit-line-clamp:3}
.ui-home .ui-home-notice .ui-notice-record>.ui-notice-link{grid-column:2;grid-row:3;justify-self:start;align-self:start}
@media(min-width:851px){
 .ui-home .ui-main,.ui-home.hf-has-updates .ui-main{width:min(1480px,94%);height:calc(100dvh - var(--ui-header-height));grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:minmax(270px,1.15fr) minmax(220px,1fr) 22px;padding:24px 0 12px;gap:18px 20px;align-content:stretch}
 .ui-home .ui-home-intro{grid-column:1/5;grid-row:1;width:auto;max-width:none;padding:0 12px 0 4px;align-self:center}
 .ui-home .ui-home-intro h1{font-size:clamp(28px,2.35vw,37px);line-height:1.5;white-space:normal;margin:12px 0 16px}
 .ui-home .ui-home-intro p{font-size:clamp(14px,1.15vw,17px);line-height:1.65;white-space:normal;margin:0 0 18px}
 .ui-home .ui-home-join{max-width:100%;font-size:clamp(13px,1.05vw,16px);min-height:40px;padding:9px 18px;white-space:normal}
 .ui-home .ui-home-entries{grid-column:5/10;grid-row:1;margin:0;width:auto;max-width:none;transform:none;align-self:stretch;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px}
 .ui-home .ui-home-entry{height:auto;min-height:0;padding:18px 20px;border-radius:14px;background-size:cover;justify-content:center;box-shadow:2px 3px 5px #203e5020}
 .ui-home .ui-home-entry small{font-size:10px;line-height:1.4}
 .ui-home .ui-home-entry h2{font-size:clamp(20px,1.55vw,26px);line-height:1.4;margin:8px 0 5px;white-space:normal}
 .ui-home .ui-home-entry p{font-size:clamp(12px,.85vw,14px);line-height:1.55;margin:0}
 .ui-home .hf-updates,.ui-home.hf-has-updates .hf-updates{grid-column:10/13;grid-row:1;align-self:stretch;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:20px 18px;border-radius:16px;background:#fffdf5e8}
 .ui-home .hf-updates h2{font-size:22px;line-height:1.4;font-weight:600;margin:0}
 .ui-home .hf-release-list{display:grid;grid-template-columns:1fr;gap:0;align-content:center;min-height:0;flex:1}
 .ui-home .hf-release{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 10px;padding:13px 0;border-bottom:1px solid #dce0d7;min-width:0}
 .ui-home .hf-release:last-child{border-bottom:0}
 .ui-home .hf-release-tag{justify-self:start;font-size:11px;padding:2px 6px}
 .ui-home .hf-release time,.ui-home .hf-release-state{display:block;justify-self:end;align-self:center;font-size:11px}
 .ui-home .hf-release-name{grid-column:1/-1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;overflow-wrap:anywhere;font-size:15px;line-height:1.55}
 .ui-home .ui-home-stories,.ui-home.hf-has-updates .ui-home-stories{grid-column:1/8;grid-row:2;min-height:0;padding:16px;align-self:stretch}
 .ui-home .ui-home-notice,.ui-home.hf-has-updates .ui-home-notice{grid-column:8/13;grid-row:2;min-height:0;padding:8px 8px 12px;gap:12px;align-self:stretch}
 .ui-home .ui-home-footer,.ui-home.hf-has-updates .ui-home-footer{grid-column:1/-1;grid-row:3}
 .ui-home .ui-home-story-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;gap:12px}
 .ui-home .ui-home-story{min-height:0;padding:16px 14px}
 .ui-home .ui-home-story h3{font-size:15px;margin-bottom:10px}
 .ui-home .ui-home-story .hf-story-title{font-size:15px;line-height:1.6;-webkit-line-clamp:3;margin-bottom:9px}
 .ui-home .ui-home-story .hf-story-excerpt{font-size:12px;line-height:1.7;-webkit-line-clamp:3}
}
@media(min-width:851px) and (max-width:1150px){
 .ui-home .ui-main,.ui-home.hf-has-updates .ui-main{gap:16px 12px}
 .ui-home .ui-home-intro h1{font-size:28px}.ui-home .ui-home-intro>small{font-size:11px;white-space:normal}
 .ui-home .ui-home-entry{padding:14px}.ui-home .ui-home-entry h2{font-size:20px}.ui-home .ui-home-entry p{font-size:12px}
 .ui-home .hf-updates{padding:16px 12px}.ui-home .hf-updates h2{font-size:19px}.ui-home .hf-release-name{font-size:13px}
 .ui-home .ui-home-story{padding:13px 11px}.ui-home .ui-home-story h3{font-size:13px}.ui-home .ui-home-story .hf-story-title{font-size:13px}.ui-home .ui-home-story .hf-story-excerpt{font-size:11px}
 .ui-home .ui-home-notice .ui-notice-record,.ui-home .ui-home-notice .ui-notice-record:has(.ref-home-activity-summary){grid-template-columns:80px minmax(0,1fr);gap:7px 12px;padding:0 8px 5px}
 .ui-home .ui-home-notice .ref-home-event-copy h3{font-size:18px}.ui-home .ui-home-notice .ref-home-activity-summary{font-size:12px;-webkit-line-clamp:2}
}
@media(min-width:851px) and (max-height:700px){
 .ui-home .ui-main,.ui-home.hf-has-updates .ui-main{grid-template-rows:minmax(235px,1.15fr) minmax(210px,1fr) 20px;padding:16px 0 10px;gap:14px 12px}
 .ui-home .ui-home-intro h1{font-size:28px;margin:8px 0 12px}.ui-home .ui-home-intro p{font-size:14px;margin-bottom:12px}
 .ui-home .ui-home-entry{padding:12px 16px}.ui-home .ui-home-entry h2{font-size:20px;margin:5px 0 3px}.ui-home .ui-home-entry small{font-size:9px}
 .ui-home .hf-updates{padding:14px 12px;gap:6px}.ui-home .hf-updates h2{font-size:19px}.ui-home .hf-release{padding:9px 0;gap:6px 8px}.ui-home .hf-release-name{font-size:13px}
 .ui-home .ui-home-stories{padding:12px}.ui-home .ui-story-heading h2{font-size:20px}.ui-home .ui-home-story{padding:11px}.ui-home .ui-home-story h3{margin-bottom:6px}.ui-home .ui-home-story .hf-story-title{-webkit-line-clamp:2;margin-bottom:6px}.ui-home .ui-home-story .hf-story-excerpt{-webkit-line-clamp:2;font-size:11px}
 .ui-home .ui-home-notice{gap:8px;padding-bottom:8px}.ui-home .ui-home-notice .ui-notice-heading{padding:5px 12px}.ui-home .ui-home-notice .ui-notice-heading h2{font-size:20px}
 .ui-home .ui-home-notice .ref-home-activity-summary{-webkit-line-clamp:2;line-height:1.55}.ui-home .ui-home-notice .ui-notice-record,.ui-home .ui-home-notice .ui-notice-record:has(.ref-home-activity-summary){gap:5px 12px;padding-bottom:0}
}
@media(max-width:850px){
 .ui-home .ui-main,.ui-home.hf-has-updates .ui-main{width:94%;height:auto;grid-template-columns:1fr;grid-template-rows:auto;gap:16px;padding:20px 0 14px}
 .ui-home .ui-home-intro{grid-column:1;grid-row:1;width:auto;padding:0}
 .ui-home .ui-home-intro h1{font-size:28px;margin:0 0 12px}
 .ui-home .ui-home-entries{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;margin:0;width:auto;max-width:none;gap:12px;transform:none}
 .ui-home .ui-home-entry{height:auto;min-height:116px;padding:16px;background-size:cover}
 .ui-home .ui-home-entry h2{font-size:20px;margin:0 0 6px}.ui-home .ui-home-entry p{font-size:12px}
 .ui-home .hf-updates,.ui-home.hf-has-updates .hf-updates{grid-column:1;grid-row:3;display:block;padding:15px;border-radius:14px}
 .ui-home .hf-updates h2{font-size:19px;margin-bottom:12px}.ui-home .hf-release-list{grid-template-columns:1fr;gap:12px}.ui-home .hf-release{font-size:13px}
 .ui-home .ui-home-stories,.ui-home.hf-has-updates .ui-home-stories{grid-column:1;grid-row:4}
 .ui-home .ui-home-notice,.ui-home.hf-has-updates .ui-home-notice{grid-column:1;grid-row:5;min-height:0;padding:8px 8px 12px;gap:12px}
 .ui-home .ui-home-footer,.ui-home.hf-has-updates .ui-home-footer{grid-column:1;grid-row:6;flex-wrap:wrap}
 .ui-home .ui-home-notice .ui-notice-record,.ui-home .ui-home-notice .ui-notice-record:has(.ref-home-activity-summary){grid-template-columns:84px minmax(0,1fr);gap:8px 14px;padding:0 8px 5px}
 .ui-home .ui-home-notice .ref-home-event-copy h3{font-size:19px}.ui-home .ui-home-notice .ref-home-activity-summary{font-size:12px;-webkit-line-clamp:3}
}

/* Journal preview: one compact chat excerpt and a fully enclosing paper panel. */
.ui-home .ui-home-story h3,.ui-home .ui-home-story .hf-story-title,.ui-home .ui-home-story .hf-story-excerpt{font-family:inherit}
.ui-home .ui-home-story .hf-story-title,.ui-home .ui-home-story .hf-story-excerpt{font-size:14px;font-weight:400;line-height:1.65;color:#315774;-webkit-line-clamp:2}
@media(min-width:851px){
 .ui-home .ui-main,.ui-home.hf-has-updates .ui-main{grid-template-rows:minmax(270px,1.05fr) minmax(240px,1.1fr) 22px}
 .ui-home .ui-home-stories{box-sizing:border-box;padding-bottom:20px}
 .ui-home .ui-home-story-grid{flex:1 1 0;min-height:0;grid-template-rows:minmax(0,1fr)}
 .ui-home .ui-home-story{box-sizing:border-box;height:100%;min-height:0}
 .ui-home .hf-updates{padding-block:16px;gap:8px}
 .ui-home .hf-release{padding:9px 0;row-gap:6px}
}
@media(max-width:1150px){.ui-home .ui-home-story .hf-story-title,.ui-home .ui-home-story .hf-story-excerpt{font-size:13px}}
@media(min-width:851px) and (max-height:700px){
 .ui-home .ui-main,.ui-home.hf-has-updates .ui-main{grid-template-rows:minmax(235px,1.05fr) minmax(230px,1.1fr) 20px}
 .ui-home .hf-release{padding:6px 0}
}

/* Compact cards use actual conversations and the existing comic artwork. */
.ui-home .ui-home-story-fans .hf-story-title{-webkit-line-clamp:3;margin-bottom:0}
.ui-home .ui-home-story-island .hf-story-title{font-weight:700}
.ui-home .ui-home-story-island .hf-story-excerpt{-webkit-line-clamp:4}
.ui-home .hf-chat-replies{border-top:1px solid #bdc9c180;margin-top:8px;padding-top:7px}
.ui-home .ui-home-story .hf-chat-reply{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;font-family:inherit;font-size:14px;line-height:1.6;color:#315774;margin:0 0 3px}
.ui-home .hf-chat-reply strong{font-weight:600}
.ui-home .ui-home-story .hf-comic-thumbnail{display:block;float:none;width:112px;height:82px;max-width:100%;object-fit:contain;object-position:left center;margin:0 0 7px;padding:0;border:0;border-radius:4px}
.ui-home .ui-home-story-psychology .hf-story-title{margin-bottom:4px;-webkit-line-clamp:2}
.ui-home .ui-home-story-psychology .hf-story-excerpt{-webkit-line-clamp:1}
@media(min-width:851px){
 .ui-home .ui-home-story-grid{align-items:start}
 .ui-home .ui-home-story{height:min(210px,100%);max-height:210px;padding:13px 14px}
 .ui-home .ui-home-story h3{margin-bottom:8px}
}
@media(max-width:1150px){.ui-home .ui-home-story .hf-chat-reply{font-size:13px}}
@media(min-width:851px) and (max-height:700px){
 .ui-home .ui-home-story{height:min(190px,100%);max-height:190px;padding:10px 11px}
 .ui-home .ui-home-story-fans .hf-story-title{-webkit-line-clamp:2}
 .ui-home .ui-home-story-island .hf-story-excerpt{-webkit-line-clamp:3}
 .ui-home .ui-home-story .hf-comic-thumbnail{height:56px;margin-bottom:5px}
 .ui-home .hf-chat-replies{margin-top:6px;padding-top:5px}
}
@media(max-width:850px){
 .ui-home .ui-home-story{height:210px;max-height:none;min-height:0;box-sizing:border-box}
 .ui-home .ui-home-story .hf-story-title{display:-webkit-box;-webkit-line-clamp:2}
 .ui-home .ui-home-story-fans .hf-story-title{-webkit-line-clamp:3}
 .ui-home .ui-home-story-island .hf-story-excerpt{display:-webkit-box;-webkit-line-clamp:4}
 .ui-home .ui-home-story-psychology .hf-story-excerpt{display:-webkit-box;-webkit-line-clamp:1}
 .ui-home .ui-home-story .hf-comic-thumbnail{height:70px;width:100px}
}
