/* Modul Feed · © 2026 gameserver-install.de · by rumpel
   Nutzt die Farben des aktiven Layouts (--gsi-accent, --gsi-surface …), mit Ersatzwerten. */
.fd { --fd-a: var(--gsi-accent, #ff3d7f); --fd-a-ink: var(--gsi-accent-ink, #fff); --fd-card: var(--gsi-surface, #fff); --fd-line: var(--gsi-border, rgba(0,0,0,.1));
  --fd-muted: var(--gsi-muted, #6b7280); --fd-r: var(--gsi-radius, 16px); --fd-soft: color-mix(in srgb, var(--fd-a) 10%, transparent);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.fd--single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.fd-main { min-width: 0; display: grid; gap: 14px; }
.fd-list { display: grid; gap: 14px; }
.fd-side { display: grid; gap: 14px; position: sticky; top: 90px; }
.fd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fd-top { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.fd-h { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); display: flex; align-items: center; gap: 10px; }
.fd-x { font-size: 1rem; text-decoration: none; opacity: .6; }
.fd-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--fd-soft); }
.fd-tabs a { padding: 7px 14px; border-radius: 99px; text-decoration: none; font-weight: 700; font-size: .9rem; color: inherit; }
.fd-tabs a[aria-current] { background: var(--fd-a); color: var(--fd-a-ink); }
.fd-card, .fd-post, .fd-compose, .fd-profile { background: var(--fd-card); border: 1px solid var(--fd-line); border-radius: var(--fd-r); }
.fd-card { padding: 16px; }
.fd-card h2 { margin: 0 0 10px; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.fd-ava { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; color: var(--fd-a-ink); background: linear-gradient(135deg, var(--fd-a), color-mix(in srgb, var(--fd-a) 40%, #7c3aed)) center / cover; text-decoration: none !important; }
.fd-ava[style*="background-image"] { background-size: cover; background-position: center; }
.fd-ava--s { width: 32px; height: 32px; font-size: .8rem; }
.fd-ava--xl { width: 88px; height: 88px; font-size: 2rem; }
.fd-compose { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px; }
.fd-compose textarea { width: 100%; resize: vertical; min-height: 70px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 1.05rem; outline: none; }
.fd-compose__box { min-width: 0; }
.fd-compose__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid var(--fd-line); padding-top: 10px; }
.fd-compose__files { display: flex; flex-wrap: wrap; gap: 6px; }
.fd-file { position: relative; cursor: pointer; font-size: .82rem; padding: 6px 10px; border-radius: 99px; background: var(--fd-soft); }
.fd-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.fd-js .fd-file:not(:first-child):not(.is-next) { display: none; }
.fd-file.is-set { outline: 2px solid var(--fd-a); }
.fd-compose__prev { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.fd-compose__prev img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.fd-count { margin-left: auto; font-size: .8rem; color: var(--fd-muted); font-variant-numeric: tabular-nums; }
.fd-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 99px; padding: 9px 18px; font-weight: 800; cursor: pointer; background: var(--fd-a); color: var(--fd-a-ink) !important; text-decoration: none !important; }
.fd-btn--ghost { background: transparent; border: 1px solid var(--fd-line); color: inherit !important; }
.fd-more { justify-self: center; }
.fd-chip { border: 1px solid var(--fd-a); background: transparent; color: var(--fd-a); border-radius: 99px; padding: 4px 10px; font-weight: 700; font-size: .78rem; cursor: pointer; }
.fd-chip.is-on { background: var(--fd-a); color: var(--fd-a-ink); }
.fd-post { padding: 16px; display: grid; gap: 12px; transition: box-shadow .2s; }
.fd-post.is-pinned { border-color: var(--fd-a); box-shadow: 0 0 0 1px var(--fd-a); }
.fd-post.is-hidden { opacity: .6; }
.fd-post.is-new { animation: fdIn .5s ease; }
@keyframes fdIn { from { transform: translateY(-8px); opacity: 0; } }
.fd-post__head { display: flex; gap: 10px; align-items: center; }
.fd-post__who { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.fd-post__who a { color: inherit; text-decoration: none; }
.fd-time { font-size: .8rem; color: var(--fd-muted) !important; }
.fd-pin { font-size: .75rem; font-weight: 700; color: var(--fd-a); }
.fd-menu { margin-left: auto; position: relative; }
.fd-menu summary { list-style: none; cursor: pointer; padding: 2px 10px; border-radius: 99px; font-size: 1.2rem; }
.fd-menu summary::-webkit-details-marker { display: none; }
.fd-menu[open] > div { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 160px; padding: 6px; border-radius: 12px; background: var(--fd-card); border: 1px solid var(--fd-line); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.fd-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; color: inherit; padding: 8px 10px; border-radius: 8px; cursor: pointer; font: inherit; }
.fd-menu button:hover { background: var(--fd-soft); }
.fd-post__body { overflow-wrap: anywhere; line-height: 1.55; }
.fd-post__body.is-big { font-size: 1.25rem; font-weight: 600; }
.fd-tag, .fd-mention { font-weight: 700; color: var(--fd-a); text-decoration: none; }
.fd-imgs { display: grid; gap: 4px; border-radius: 14px; overflow: hidden; }
.fd-imgs--2, .fd-imgs--4 { grid-template-columns: 1fr 1fr; } .fd-imgs--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.fd-imgs--3 a:first-child { grid-row: span 2; }
.fd-imgs a { display: block; background: var(--fd-soft); }
.fd-imgs img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
.fd-imgs--2 img, .fd-imgs--3 img, .fd-imgs--4 img { aspect-ratio: 1 / 1; }
.fd-react { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fd-react form { display: flex; flex-wrap: wrap; gap: 4px; }
.fd-react__b { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--fd-line); background: transparent; color: inherit; border-radius: 99px; padding: 4px 9px; cursor: pointer; font: inherit; transition: transform .15s; }
.fd-react__b:hover:not(:disabled) { transform: translateY(-2px) scale(1.06); }
.fd-react__b.is-zero b { display: none; }
.fd-react__b.is-zero { opacity: .55; }
.fd-react__b.is-mine { border-color: var(--fd-a); background: var(--fd-soft); opacity: 1; }
.fd-react__b.is-pop span { animation: fdPop .4s ease; }
@keyframes fdPop { 50% { transform: scale(1.6) rotate(-10deg); } }
.fd-react__b:disabled { cursor: default; }
.fd-react__b b { font-size: .82rem; font-variant-numeric: tabular-nums; }
.fd-react__c { margin-left: auto; text-decoration: none; color: inherit; font-size: .9rem; }
.fd-comments { display: grid; gap: 8px; }
.fd-comments:empty { display: none; }
.fd-comments__all { font-size: .85rem; font-weight: 700; color: var(--fd-muted); text-decoration: none; }
.fd-c { display: flex; gap: 8px; align-items: flex-start; }
.fd-c__bubble { min-width: 0; padding: 8px 12px; border-radius: 16px; background: var(--fd-soft); overflow-wrap: anywhere; }
.fd-c__bubble a { color: inherit; text-decoration: none; }
.fd-c__bubble small { display: block; font-size: .75rem; color: var(--fd-muted); margin-top: 2px; }
.fd-inline { display: inline; } .fd-inline button { border: 0; background: none; color: inherit; padding: 0; cursor: pointer; font: inherit; text-decoration: underline; }
.fd-cform { display: flex; gap: 6px; }
.fd-cform input { flex: 1; min-width: 0; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--fd-line); background: transparent; color: inherit; font: inherit; }
.fd-cform button { border: 0; width: 40px; border-radius: 50%; background: var(--fd-a); color: var(--fd-a-ink); cursor: pointer; font-size: 1rem; }
.fd-profile { display: flex; gap: 18px; align-items: center; padding: 20px; flex-wrap: wrap; background: linear-gradient(135deg, var(--fd-soft), transparent), var(--fd-card); }
.fd-profile h1 { margin: 0; }
.fd-profile p { margin: 4px 0 10px; color: var(--fd-muted); }
.fd-profile__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-trends { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: t; }
.fd-trends li { display: flex; flex-direction: column; counter-increment: t; }
.fd-trends a { font-weight: 800; text-decoration: none; color: var(--fd-a); }
.fd-trends small, .fd-people small { color: var(--fd-muted); font-size: .78rem; }
.fd-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fd-people li { display: flex; align-items: center; gap: 8px; }
.fd-people li > a:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; color: inherit; text-decoration: none; line-height: 1.2; }
.fd-empty, .fd-note { padding: 24px; text-align: center; color: var(--fd-muted); border: 1px dashed var(--fd-line); border-radius: var(--fd-r); }
.fd-back { text-decoration: none; font-weight: 700; }
.fd-zoom { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.fd-zoom::backdrop { background: rgba(0,0,0,.85); }
.fd-zoom img { max-width: 96vw; max-height: 92vh; display: block; border-radius: 10px; }
.fd-zoom button { position: fixed; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; font-size: 1.1rem; cursor: pointer; }
.fd-box { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.fd-box a { display: block; text-decoration: none; color: inherit; } .fd-box small { display: block; opacity: .6; font-size: .75rem; }
.fd-tagcloud { display: flex; flex-wrap: wrap; gap: 6px; } .fd-tagcloud a { padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, currentColor 8%, transparent); text-decoration: none; font-weight: 700; }
.fd-muted { opacity: .6; }
@media (max-width: 960px) { .fd { grid-template-columns: minmax(0, 1fr); } .fd-side { position: static; } }
@media (max-width: 520px) { .fd-compose { grid-template-columns: minmax(0, 1fr); } .fd-compose > .fd-ava { display: none; } .fd-post { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .fd *, .fd { animation: none !important; transition: none !important; } }
