.nexo-news-feed{flex:1;min-height:0;overflow:auto;padding:22px}.nexo-news-feed[hidden]{display:none!important}.nexo-identity .chat.news-feed-visible{display:flex!important;flex-direction:column!important}.news-feed-visible>.chat-header{flex:none}.news-feed-heading{max-width:850px;margin:auto;padding:22px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(125deg,color-mix(in srgb,var(--accent) 15%,var(--paper)),var(--paper))}.news-feed-heading h1{margin:6px 0;font-size:30px}.news-feed-heading button{margin-right:8px}.feed-tabs{display:flex;gap:8px;max-width:850px;margin:16px auto}.feed-tabs [aria-pressed=true],.feed-reactions [aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.news-feed-items{max-width:850px;margin:auto}.news-feed-card{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:22px;margin:14px 0}.news-feed-card>header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.news-feed-card>header .follow-server-button{margin-left:auto}.news-feed-card h2{font-size:21px;margin:18px 0 8px}.news-feed-card small{color:var(--muted)}.feed-post-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.feed-post-image{width:100%;max-height:360px;object-fit:contain;border-radius:12px}.feed-reactions,.feed-card-actions,.study-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.feed-reactions button{min-width:64px}.feed-card-actions button{font-size:12px}.feed-follow-choices>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border:1px solid var(--line);border-radius:12px;margin-bottom:8px}.feed-load-more{display:block;margin:20px auto}.study-focus-card,.study-item,.university-your-tools{padding:20px;border:1px solid var(--line);border-radius:16px;margin:16px 0;background:var(--paper)}.focus-clock{font-size:40px;display:block;margin:12px 0;font-variant-numeric:tabular-nums}.study-focus-card label{max-width:180px}.study-focus-card small{display:block;margin-top:12px;color:var(--muted)}.study-item h4{margin:4px 0}.study-item button{margin:8px 8px 0 0}.learning-tools-button{display:flex!important;align-items:center;gap:10px}.learning-tools-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.university-your-tools button{margin:6px}.nexo-primary-navigation>button[aria-label="News feed"] svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
@media(max-width:760px){.nexo-news-feed{padding:12px}.news-feed-heading,.news-feed-card{padding:16px}.news-feed-card>header{gap:6px}.news-feed-card>header small{width:100%}.news-feed-card>header .follow-server-button{margin-left:0}.nexo-identity #messages .message>.seen-receipt{right:44px}.study-focus-card,.study-item{padding:14px}}

.feed-sidebar-button{display:flex!important;align-items:center;gap:10px}.feed-sidebar-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}

/* Home content must be styled before any game has been opened. */
.nexo-identity .nexo-news-feed>.home-news-shelf{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;min-width:0}
.nexo-identity .home-news-shelf>.home-news-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(140deg,var(--surface-card),var(--paper));gap:10px;box-sizing:border-box}
.nexo-identity .home-news-card .home-news-icon{display:grid;place-items:center;width:36px;height:36px;color:var(--accent);background:var(--sidebar);border-radius:10px;flex:none}
.nexo-identity .home-news-icon svg{width:20px;height:20px;display:block}
.nexo-identity .home-news-card .home-news-label{font-size:9px;letter-spacing:.14em;font-weight:800;color:var(--muted)}
.nexo-identity .home-news-card h3{font-size:19px;line-height:1.25;margin:0;color:var(--ink)}
.nexo-identity .home-news-card .home-news-summary{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 4px;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.nexo-identity .home-news-card>button{margin-top:auto;min-height:40px;max-width:100%;padding:9px 14px;font-size:12px;text-align:center;white-space:normal}
@media(max-width:900px){.nexo-identity .nexo-news-feed>.home-news-shelf{grid-template-columns:1fr}.nexo-identity .home-news-shelf>.home-news-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:5px 12px;padding:14px}.nexo-identity .home-news-card .home-news-icon{grid-row:1/4}.nexo-identity .home-news-card :is(.home-news-label,h3,.home-news-summary){grid-column:2}.nexo-identity .home-news-card>button{grid-column:3;grid-row:1/4;align-self:center;margin:0}.nexo-identity .home-news-card h3{font-size:16px}}
@media(max-width:480px){.nexo-identity .home-news-shelf>.home-news-card{grid-template-columns:36px minmax(0,1fr)}.nexo-identity .home-news-card>button{grid-column:2;grid-row:4;justify-self:start}.nexo-identity .home-news-card .home-news-summary{font-size:12px}}

.nexo-identity .home-news-card .home-news-pool-icon{border-radius:50%;background:#08101b;border:1px solid var(--accent);font-size:20px;font-weight:800;color:#f7f3e8}

@media(min-width:901px){.nexo-identity .nexo-news-feed>.home-news-shelf:has(>.home-news-card:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}
.nexo-identity .home-news-card .home-news-rally-icon{background:transparent}.home-news-rally-icon img{display:block;width:36px;height:36px;object-fit:contain}
