/* Aventorian Academy — Newsfeed (blauer Weltraum-Look wie „Mein Profil“, Glas-Karten mit Neon-Kanten) */
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg0: #01030a;
  --bg1: #040a1f;
  --bg2: #071433;
  --ink: #eef3ff;
  --muted: #b3c2e2;
  --faint: #8c9dc4;
  --line: rgba(150, 185, 255, .16);
  --line-strong: rgba(150, 195, 255, .32);
  --glass: linear-gradient(165deg, rgba(26, 46, 104, .62), rgba(6, 11, 30, .84));
  --accent: #6fb2ff;
  --accent-2: #8a7dff;
  --ok: #3ee89b;
  --warn: #ffb454;
  --bad: #ff6b7d;
  --focus: #a9d6ff;
  --radius: 22px;
  --primary: #4f8cff;
  --glow: #7cc4ff;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.fd-body {
  margin: 0; min-height: 100vh; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55;
  background: var(--bg0); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.fd-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: #0b1a3d; color: var(--ink); text-decoration: none; border: 1px solid var(--line-strong); }
.fd-skip:focus { top: 12px; }

/* ——— Weltraum ——— */
.fd-space {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 18% -8%, rgba(34, 84, 196, .55), transparent 62%),
    radial-gradient(ellipse 60% 50% at 96% 18%, rgba(76, 52, 190, .38), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 120%, rgba(18, 60, 150, .5), transparent 60%),
    linear-gradient(180deg, #050d28 0%, #030819 45%, #01030a 100%);
}
.fd-nebula { position: absolute; border-radius: 50%; opacity: .5; will-change: transform, opacity; }
.fd-nebula--a { width: 46vw; height: 46vw; left: -12vw; top: 18vh; background: radial-gradient(circle, rgba(56, 120, 255, .45), rgba(56, 120, 255, .12) 40%, transparent 70%); animation: fd-neb 34s ease-in-out infinite alternate; }
.fd-nebula--b { width: 38vw; height: 38vw; right: -10vw; top: 44vh; background: radial-gradient(circle, rgba(120, 80, 255, .38), rgba(120, 80, 255, .1) 40%, transparent 70%); animation: fd-neb 42s ease-in-out infinite alternate-reverse; }
.fd-nebula--c { width: 30vw; height: 30vw; left: 40vw; top: -12vh; background: radial-gradient(circle, rgba(40, 200, 255, .24), rgba(40, 200, 255, .06) 40%, transparent 70%); animation: fd-neb 50s ease-in-out infinite alternate; }
@keyframes fd-neb { from { transform: translate(0, 0) scale(1); opacity: .38; } to { transform: translate(4vw, -3vh) scale(1.12); opacity: .6; } }
.fd-stars-wrap { position: absolute; left: 0; right: 0; top: -12vh; bottom: -12vh; will-change: transform; }
.fd-stars { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + var(--tile, 800px)); background-repeat: repeat; background-size: var(--tile, 800px) var(--tile, 800px); will-change: transform; animation: fd-drift var(--dur, 200s) linear infinite; }
@keyframes fd-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(var(--tile, 800px) * -1), 0); } }
.fd-stars--far { --tile: 480px; --dur: 200s; opacity: .7; }
.fd-stars--mid { --tile: 640px; --dur: 120s; opacity: .85; }
.fd-stars--near { --tile: 820px; --dur: 70s; animation-name: fd-drift, fd-twinkle; animation-duration: var(--dur), 7s; animation-timing-function: linear, ease-in-out; animation-iteration-count: infinite, infinite; animation-direction: normal, alternate; }
@keyframes fd-twinkle { from { opacity: .75; } to { opacity: 1; } }
.fd-shooting { position: absolute; top: 12vh; right: -10vw; width: 160px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(190,225,255,.95)); opacity: 0; transform: translate3d(0,0,0) rotate(-24deg); animation: fd-shoot 16s ease-in 5s infinite; }
@keyframes fd-shoot { 0% { opacity: 0; transform: translate3d(0,0,0) rotate(-24deg); } 2% { opacity: 1; } 7% { opacity: 0; transform: translate3d(-55vw, 24vw, 0) rotate(-24deg); } 100% { opacity: 0; transform: translate3d(-55vw, 24vw, 0) rotate(-24deg); } }
.fd-horizon { position: absolute; left: -20%; right: -20%; bottom: -78vh; height: 100vh; border-radius: 50%; background: radial-gradient(ellipse at 50% 0%, rgba(90, 160, 255, .22), rgba(8, 20, 60, .2) 30%, transparent 60%); box-shadow: 0 -1px 0 rgba(140, 200, 255, .22), 0 -30px 120px rgba(60, 130, 255, .18); }

/* ——— Kopfzeile ——— */
.fd-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 1320px; margin: 0 auto; padding: 18px 28px; }
.fd-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); background: rgba(12, 22, 50, .55); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: color .2s, border-color .2s, transform .2s; }
.fd-back svg { width: 18px; height: 18px; }
.fd-back:hover { color: var(--ink); border-color: var(--line-strong); transform: translateX(-2px); }
.fd-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.fd-brand img { border-radius: 9px; box-shadow: 0 0 20px rgba(80, 150, 255, .35); }
.fd-brand span { display: flex; flex-direction: column; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-size: 15px; }
.fd-brand small { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }
.fd-top-user { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(12, 22, 50, .55); border: 1px solid var(--line); backdrop-filter: blur(10px); max-width: 240px; }
.fd-top-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ——— Hero ——— */
.fd-hero { position: relative; max-width: 1320px; margin: 0 auto; padding: 34px 28px 46px; }
.fd-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #a8ccff; }
.fd-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #7cc4ff; box-shadow: 0 0 12px #7cc4ff; animation: fd-blip 2.4s ease-in-out infinite; }
@keyframes fd-blip { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
.fd-hero h1 { margin: 0; max-width: 16ch; font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.fd-grad { background: linear-gradient(100deg, #cfe6ff 0%, #7cc4ff 30%, #7a8cff 62%, #c9a8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fd-lead { max-width: 58ch; margin: 18px 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.fd-sweep { position: absolute; left: 50%; bottom: 8px; width: 100vw; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(140, 190, 255, .16) 20%, rgba(140, 190, 255, .16) 80%, transparent); overflow: hidden; }
.fd-sweep::after { content: ""; position: absolute; top: -1px; left: 0; width: 34%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(160, 215, 255, .2) 30%, #eaf6ff 50%, rgba(160, 215, 255, .2) 70%, transparent); box-shadow: 0 0 18px rgba(140, 200, 255, .9); opacity: 0; transform: translateX(-110%); animation: fd-sweep 2.1s cubic-bezier(.55, .08, .3, 1) .45s 1 forwards; }
@keyframes fd-sweep { 0% { opacity: 0; transform: translateX(-110%); } 8% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(310%); } }


/* ——— Layout ——— */
.fd-hero { padding-bottom: 26px; }
.fd-hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.fd-layout { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 0 28px 90px; display: grid; grid-template-columns: minmax(0, 680px) minmax(260px, 320px); justify-content: center; gap: 30px; align-items: start; }
.fd-col { min-width: 0; display: grid; gap: 18px; }
.fd-side { position: sticky; top: 22px; display: grid; gap: 16px; }

/* ——— Glas-Karten mit Neon-Kante ——— */
.fd-card {
  position: relative; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 4, 20, .45), inset 0 1px 0 rgba(200, 225, 255, .08);
}
.fd-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(124, 196, 255, .55), rgba(138, 125, 255, .12) 35%, transparent 60%, rgba(111, 178, 255, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .7; transition: opacity .3s;
}
.fd-card:hover::before, .fd-card:focus-within::before { opacity: 1; }
.fd-side .fd-card { padding: 18px 18px 20px; }
.fd-side h2 { margin: 0 0 8px; font-family: var(--display); font-size: 17px; letter-spacing: -.02em; }
.fd-side p, .fd-side li { color: var(--muted); font-size: 14px; line-height: 1.5; }
.fd-side ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.fd-side a { color: #bfe0ff; }

/* ——— Composer ——— */
.fd-composer { padding: 18px 18px 14px; }
.fd-composer-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.fd-av { display: inline-block; flex: 0 0 auto; border-radius: 50%; }
.fd-textarea-wrap { position: relative; border-radius: 16px; background: rgba(3, 8, 24, .66); border: 1px solid var(--line-strong); transition: border-color .25s, box-shadow .25s; }
.fd-textarea-wrap:focus-within { border-color: rgba(140, 200, 255, .75); box-shadow: 0 0 0 4px rgba(100, 170, 255, .16), 0 0 28px rgba(90, 160, 255, .22); }
.fd-textarea { display: block; width: 100%; min-height: 56px; max-height: 360px; resize: none; padding: 14px 16px; border: 0; background: transparent; color: var(--ink); font-size: 16px; line-height: 1.5; outline: none; }
.fd-textarea::placeholder { color: #93a6cf; }
.fd-attach { display: grid; gap: 10px; margin-top: 10px; }
.fd-link-input { display: flex; gap: 8px; align-items: center; }
.fd-input { width: 100%; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(3, 8, 24, .66); color: var(--ink); font-size: 15px; outline: none; }
.fd-input:focus { border-color: rgba(140, 200, 255, .75); box-shadow: 0 0 0 4px rgba(100, 170, 255, .16); }
.fd-imgprev { position: relative; max-width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); }
.fd-imgprev img { width: 100%; max-height: 360px; object-fit: cover; }
.fd-imgprev-meta { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(2, 6, 20, .8); font-size: 12px; color: var(--muted); }
.fd-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(2, 6, 20, .82); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 16px; }
.fd-x:hover { border-color: rgba(160, 210, 255, .8); }
.fd-composer-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.fd-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.fd-tool { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(12, 24, 58, .5); color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.fd-tool:hover, .fd-tool[aria-pressed="true"] { color: var(--ink); border-color: var(--line-strong); background: rgba(40, 80, 170, .28); }
.fd-tool svg { width: 18px; height: 18px; }
.fd-submit-wrap { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.fd-counter { font-family: var(--mono); font-size: 12.5px; color: var(--faint); }
.fd-counter[data-state="warn"] { color: var(--warn); }
.fd-counter[data-state="over"] { color: var(--bad); font-weight: 700; }
.fd-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid rgba(160, 215, 255, .55); cursor: pointer; font-weight: 700; font-size: 15px; color: #041026;
  background: linear-gradient(135deg, #c9e8ff, #7cc4ff 45%, #6f8dff); box-shadow: 0 0 22px rgba(110, 180, 255, .45); transition: transform .15s, box-shadow .2s, opacity .2s;
}
.fd-btn:hover { box-shadow: 0 0 32px rgba(120, 190, 255, .7); transform: translateY(-1px); }
.fd-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.fd-btn--ghost { color: var(--ink); background: rgba(12, 24, 58, .6); border-color: var(--line-strong); box-shadow: none; }
.fd-btn--ghost:hover { background: rgba(40, 80, 170, .35); box-shadow: none; }
.fd-btn--danger { color: #fff; background: linear-gradient(135deg, #ff8a98, #e0485f); border-color: rgba(255, 150, 165, .6); box-shadow: 0 0 18px rgba(255, 90, 115, .35); }
.fd-btn--sm { min-height: 36px; padding: 7px 14px; font-size: 14px; }
.fd-msg { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line); background: rgba(12, 24, 58, .5); color: var(--muted); }
.fd-msg[data-kind="error"] { color: #ffd0d6; border-color: rgba(255, 107, 125, .5); background: rgba(255, 107, 125, .1); }
.fd-msg[data-kind="ok"] { color: #c4f7df; border-color: rgba(62, 232, 155, .45); background: rgba(62, 232, 155, .08); }
.fd-banned { padding: 16px 18px; color: #ffd9b0; }
.fd-banned strong { color: #ffe3c4; }

/* ——— Neue-Beiträge-Pille ——— */
.fd-pill-wrap { position: sticky; top: 12px; z-index: 30; display: flex; justify-content: center; height: 0; }
.fd-newpill {
  transform: translateY(-4px); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(170, 220, 255, .7); color: #041026; font-weight: 700; font-size: 14.5px;
  background: linear-gradient(135deg, #d6eeff, #86c9ff 50%, #8a9cff); box-shadow: 0 10px 30px rgba(0, 10, 40, .5), 0 0 26px rgba(120, 190, 255, .6);
  animation: fd-pill-in .45s cubic-bezier(.2, .8, .2, 1);
}
.fd-newpill svg { width: 16px; height: 16px; }
@keyframes fd-pill-in { from { opacity: 0; transform: translateY(-16px) scale(.94); } to { opacity: 1; transform: translateY(-4px) scale(1); } }

/* ——— Beiträge ——— */
.fd-feed { display: grid; gap: 16px; }
.fd-post { padding: 18px 18px 12px; animation: fd-in .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fd-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fd-post.is-new-own { animation: fd-in .55s cubic-bezier(.2, .8, .2, 1) both, fd-flash 1.6s ease-out .2s; }
@keyframes fd-flash { 0% { box-shadow: 0 0 0 0 rgba(124, 196, 255, .0); } 30% { box-shadow: 0 0 0 3px rgba(124, 196, 255, .45), 0 0 40px rgba(124, 196, 255, .35); } 100% { box-shadow: 0 24px 60px rgba(0, 4, 20, .45); } }
.fd-post.is-hidden { border-style: dashed; border-color: rgba(255, 180, 84, .55); }
.fd-post.is-leaving { animation: fd-out .3s ease forwards; }
@keyframes fd-out { to { opacity: 0; transform: scale(.97); } }
.fd-post-head { display: flex; align-items: center; gap: 12px; }
.fd-who { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.fd-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: 15.5px; }
.fd-name span.fd-handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-badge-team { flex-shrink: 0; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #041026; background: linear-gradient(135deg, #c9e8ff, #7cc4ff); }
.fd-meta { font-size: 13px; color: var(--faint); }
.fd-meta time { color: var(--muted); }
.fd-edited { margin-left: 6px; font-style: italic; color: var(--faint); }
.fd-menu-wrap { position: relative; }
.fd-iconbtn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: color .2s, background .2s, border-color .2s; }
.fd-iconbtn:hover, .fd-iconbtn[aria-expanded="true"] { color: var(--ink); background: rgba(40, 80, 170, .3); border-color: var(--line); }
.fd-iconbtn svg { width: 20px; height: 20px; }
.fd-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 220px; padding: 6px; border-radius: 14px; background: linear-gradient(165deg, rgba(20, 38, 90, .97), rgba(6, 11, 30, .98)); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0, 4, 20, .6), 0 0 24px rgba(90, 160, 255, .18); animation: fd-menu-in .18s ease-out; }
@keyframes fd-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fd-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 14.5px; text-align: left; cursor: pointer; }
.fd-menu button:hover, .fd-menu button:focus-visible { background: rgba(80, 140, 255, .22); outline: none; }
.fd-menu button.is-danger { color: #ffb3bd; }
.fd-menu hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--line); }
.fd-menu .fd-menu-label { padding: 6px 12px 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.fd-hidden-note { margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; color: #ffd9b0; background: rgba(255, 180, 84, .1); border: 1px solid rgba(255, 180, 84, .4); }
.fd-text { margin: 12px 0 0; font-size: 16px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.fd-text a { color: #9fd3ff; text-decoration: underline; text-decoration-color: rgba(159, 211, 255, .45); text-underline-offset: 2px; }
.fd-text a:hover { text-decoration-color: currentColor; }
.fd-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.fd-more { margin-top: 4px; padding: 4px 0; border: 0; background: none; color: #9fd3ff; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.fd-more:hover { text-decoration: underline; }
.fd-figure { margin: 12px 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: rgba(3, 8, 24, .6); }
.fd-figure img { width: 100%; max-height: 520px; object-fit: contain; background: #020615; }
.fd-linkcard { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; text-decoration: none; border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(40, 80, 170, .22), rgba(8, 16, 40, .6)); transition: border-color .2s, box-shadow .2s; }
.fd-linkcard:hover, .fd-linkcard:focus-visible { border-color: rgba(160, 210, 255, .75); box-shadow: 0 0 22px rgba(90, 160, 255, .25); }
.fd-linkcard-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: #041026; background: linear-gradient(135deg, #c9e8ff, #7cc4ff); text-transform: uppercase; }
.fd-linkcard-txt { min-width: 0; display: flex; flex-direction: column; }
.fd-linkcard-txt strong { font-size: 15px; }
.fd-linkcard-txt span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-actions { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.fd-act { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: color .2s, background .2s; }
.fd-act:hover { color: var(--ink); background: rgba(40, 80, 170, .25); }
.fd-act svg { width: 20px; height: 20px; }
.fd-like .fd-heart { fill: none; stroke: currentColor; transition: fill .2s, stroke .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.fd-like[aria-pressed="true"] { color: #ff9cb4; }
.fd-like[aria-pressed="true"] .fd-heart { fill: #ff6b8e; stroke: #ff6b8e; filter: drop-shadow(0 0 6px rgba(255, 107, 142, .8)); }
.fd-like.is-burst .fd-heart { animation: fd-heart .6s cubic-bezier(.3, 1.6, .5, 1); }
.fd-like { position: relative; }
.fd-like.is-burst::after { content: ""; position: absolute; left: 10px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 2px rgba(255, 107, 142, .7), 0 0 22px rgba(255, 107, 142, .8); animation: fd-ring .6s ease-out forwards; }
@keyframes fd-heart { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes fd-ring { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.9); } }

/* ——— Kommentare ——— */
.fd-comments { margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); animation: fd-open .35s ease-out; }
@keyframes fd-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fd-clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fd-comment { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; animation: fd-in .4s ease-out both; }
.fd-comment-bubble { min-width: 0; padding: 9px 12px; border-radius: 14px; background: rgba(3, 8, 24, .55); border: 1px solid var(--line); }
.fd-comment.is-hidden .fd-comment-bubble { border-style: dashed; border-color: rgba(255, 180, 84, .5); }
.fd-comment-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.fd-comment-head strong { font-size: 14px; }
.fd-comment .fd-text { margin: 4px 0 0; font-size: 15px; }
.fd-comment .fd-iconbtn { width: 36px; height: 36px; }
.fd-cform { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 12px; }
.fd-cform .fd-input { min-height: 42px; }
.fd-cempty, .fd-cload { color: var(--faint); font-size: 14px; margin: 4px 0; }
.fd-edit { display: grid; gap: 8px; margin-top: 10px; }
.fd-edit textarea { min-height: 90px; resize: vertical; }
.fd-edit-row { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }

/* ——— Laden / Ende / leer ——— */
.fd-status { text-align: center; color: var(--muted); font-size: 14.5px; padding: 8px 0; }
.fd-sentinel { height: 1px; }
.fd-skel { padding: 18px; }
.fd-skel i { display: block; height: 12px; margin: 10px 0; border-radius: 6px; background: linear-gradient(90deg, rgba(120, 170, 255, .08), rgba(120, 170, 255, .22), rgba(120, 170, 255, .08)); background-size: 200% 100%; animation: fd-shimmer 1.4s linear infinite; }
@keyframes fd-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.fd-empty { padding: 30px 22px; text-align: center; }
.fd-empty h2 { margin: 0 0 6px; font-family: var(--display); }
.fd-empty p { margin: 0; color: var(--muted); }

/* ——— Dialoge ——— */
.fd-dialog { width: min(480px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: 22px; color: var(--ink); background: transparent; }
.fd-dialog::backdrop { background: rgba(1, 3, 12, .72); backdrop-filter: blur(4px); }
.fd-dialog .fd-card { padding: 22px; }
.fd-dialog h2 { margin: 0 0 6px; font-family: var(--display); font-size: 21px; letter-spacing: -.02em; }
.fd-dialog p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.fd-dialog[open] .fd-card { animation: fd-in .3s cubic-bezier(.2, .8, .2, 1); }
.fd-reasons { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; border: 0; }
.fd-reasons legend { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c4d4f2; }
.fd-radio { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(3, 8, 24, .5); cursor: pointer; font-size: 15px; }
.fd-radio:has(input:checked) { border-color: rgba(140, 200, 255, .75); background: rgba(40, 80, 170, .3); }
.fd-radio input { accent-color: #7cc4ff; width: 18px; height: 18px; }
.fd-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c4d4f2; }
.fd-dialog textarea.fd-input { min-height: 80px; resize: vertical; }
.fd-dialog-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.fd-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #b3c2e2 50%), linear-gradient(135deg, #b3c2e2 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.fd-select option { background: #07102a; color: var(--ink); }

/* ——— Toast ——— */
.fd-toasts { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 28px)); pointer-events: none; }
.fd-toast { pointer-events: auto; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; color: var(--ink); background: linear-gradient(165deg, rgba(26, 46, 104, .96), rgba(6, 11, 30, .97)); border: 1px solid var(--line-strong); box-shadow: 0 16px 40px rgba(0, 4, 20, .6); animation: fd-in .3s ease-out; }
.fd-toast[data-kind="error"] { border-color: rgba(255, 107, 125, .6); }

/* ——— Mobiler Schreiben-Button ——— */
.fd-fab { display: none; }
@media (max-width: 900px) {
  .fd-fab {
    position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; place-items: center;
    width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(190, 230, 255, .75); cursor: pointer; color: #041026;
    background: radial-gradient(circle at 30% 25%, #e6f4ff, #86c9ff 45%, #6f7dff); box-shadow: 0 10px 28px rgba(0, 8, 30, .6), 0 0 30px rgba(110, 180, 255, .7);
    animation: fd-fab-glow 3s ease-in-out infinite;
  }
  .fd-fab svg { width: 26px; height: 26px; }
  .fd-toasts { bottom: 92px; }
}
@keyframes fd-fab-glow { 0%, 100% { box-shadow: 0 10px 28px rgba(0, 8, 30, .6), 0 0 22px rgba(110, 180, 255, .55); } 50% { box-shadow: 0 10px 28px rgba(0, 8, 30, .6), 0 0 38px rgba(110, 180, 255, .9); } }

/* ——— Fußzeile ——— */
.fd-foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; max-width: 1120px; margin: 0 auto; padding: 24px 28px 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
.fd-foot a { color: var(--muted); }

/* ——— Responsiv ——— */
@media (max-width: 1080px) {
  .fd-layout { grid-template-columns: minmax(0, 680px); }
  .fd-side { display: none; }
}
@media (max-width: 900px) {
  .fd-top { padding: 14px 16px; }
  .fd-brand small { display: none; }
  .fd-top-user { display: none; }
  .fd-hero { padding: 12px 16px 20px; }
  .fd-hero h1 { font-size: 2rem; }
  .fd-lead { font-size: 15.5px; }
  .fd-layout { padding: 0 12px 110px; gap: 14px; }
  .fd-composer, .fd-post { padding-left: 14px; padding-right: 14px; }
  .fd-composer-row { gap: 10px; }
  .fd-submit-wrap { width: 100%; justify-content: space-between; }
  .fd-foot { padding: 20px 16px 100px; }
}
@media (max-width: 420px) {
  .fd-tool span.fd-tool-txt { display: none; }
  .fd-cform { grid-template-columns: minmax(0, 1fr) auto; }
  .fd-cform .fd-av { display: none; }
}

/* ——— Reduzierte Bewegung ——— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fd-body *, .fd-body *::before, .fd-body *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .fd-stars, .fd-nebula, .fd-shooting, .fd-eyebrow-dot, .fd-fab, .fd-skel i { animation: none !important; }
  .fd-sweep::after { display: none; }
}
.fd-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fd-top-user { text-decoration: none; }
.fd-top-av { display: inline-block; width: 30px; height: 30px; }
.fd-feed:focus { outline: none; }

/* Eingebettet im Member-Dashboard (iframe, Klasse von feed.html gesetzt): ohne eigene Kopf- und Fußzeile */
.fd-embed .fd-top, .fd-embed .fd-foot, .fd-embed .fd-skip { display: none; }

/* Emoji-Auswahl im Beitragsfeld */
.fd-composer-bar { position: relative; }
.fd-emoji-ico { font-size: 17px; line-height: 1; }
.fd-emoji { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; display: grid; grid-template-columns: repeat(8, 38px); gap: 4px; padding: 10px; border-radius: 16px; background: #0a1638; border: 1px solid var(--line-strong); box-shadow: 0 18px 44px rgba(0, 4, 20, .6); animation: fd-menu-in .15s ease both; }
.fd-emoji[hidden] { display: none; }
.fd-emoji button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: none; font-size: 20px; cursor: pointer; }
.fd-emoji button:hover, .fd-emoji button:focus-visible { background: rgba(110, 170, 255, .18); outline: none; }
@media (max-width: 520px) { .fd-emoji { grid-template-columns: repeat(6, 38px); } }

/* ═════════ 2026-09-30 · Newsfeed Plus: Weltraum-Hero, Schnellzugriff, Beitragsarten, Filter, X-Karte, Animationen ═════════ */
.fd-hero { overflow: hidden; }
.fd-hero::after { content: ""; position: absolute; inset: -40px -20% auto; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 80% 30%, rgba(155, 123, 255, .28), transparent 70%), radial-gradient(40% 60% at 15% 20%, rgba(63, 123, 255, .22), transparent 70%); }
.fdp-hero-orbit { position: absolute; right: 4%; top: 18px; width: 230px; height: 230px; pointer-events: none; }
.fdp-hero-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(124, 196, 255, .35); animation: fdpSpin 26s linear infinite; }
.fdp-hero-orbit i.o2 { inset: 16%; border-color: rgba(138, 125, 255, .45); animation-duration: 18s; animation-direction: reverse; }
.fdp-hero-orbit i.o3 { inset: 32%; border-style: solid; border-color: rgba(255, 210, 74, .35); animation-duration: 12s; }
.fdp-hero-orbit b { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #7cc4ff; box-shadow: 0 0 14px #7cc4ff; }
.fdp-hero-orbit i.o2 b { background: #8a7dff; box-shadow: 0 0 14px #8a7dff; }
.fdp-hero-orbit i.o3 b { background: #ffd24a; box-shadow: 0 0 14px #ffd24a; }
.fdp-core { position: absolute; inset: 40%; display: grid; place-items: center; border-radius: 50%; font-size: 26px; background: radial-gradient(circle at 35% 30%, #bfe6ff, #3f6fe0 55%, #0f1d55); box-shadow: 0 0 40px rgba(124, 196, 255, .6); animation: fdpPulse 3.2s ease-in-out infinite; }
@keyframes fdpSpin { to { transform: rotate(360deg); } }
@keyframes fdpPulse { 50% { box-shadow: 0 0 60px rgba(124, 196, 255, .9); transform: scale(1.05); } }
.fdp-quick { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fdp-q { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; color: var(--ink);
  background: rgba(10, 20, 52, .7); border: 1px solid var(--line-strong); box-shadow: 0 0 16px rgba(79, 140, 255, .12); transition: transform .2s, border-color .2s, box-shadow .2s; }
.fdp-q:hover { transform: translateY(-2px); border-color: var(--glow); box-shadow: 0 0 22px rgba(124, 196, 255, .3); }
.fdp-q.is-main { color: #06112b; border-color: transparent; background: linear-gradient(135deg, #9fe3ff, #6fb2ff 50%, #8a7dff); box-shadow: 0 8px 24px rgba(111, 178, 255, .4); }
.fdp-q.is-x { background: #0f1419; border-color: rgba(255, 255, 255, .25); }
@media (max-width: 900px) { .fdp-hero-orbit { width: 140px; height: 140px; right: -20px; top: 10px; opacity: .6; } }

/* Beitragsarten + Schreibideen */
.fdp-types { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.fdp-types-label { margin-right: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.fdp-type, .fdp-ideas-btn { padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: all .2s; }
.fdp-type:hover, .fdp-ideas-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.fdp-type.is-on { color: #06112b; border-color: transparent; background: linear-gradient(135deg, #9fe3ff, #8a7dff); box-shadow: 0 0 16px rgba(138, 125, 255, .45); }
.fdp-ideas-btn { margin-left: auto; color: #ffd24a; border-color: rgba(255, 210, 74, .35); }
.fdp-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px dashed rgba(255, 210, 74, .3); animation: fdpIn .25s ease; }
.fdp-idea { padding: 7px 11px; border-radius: 12px; font-size: 12.5px; text-align: left; cursor: pointer; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.fdp-idea:hover { color: var(--ink); border-color: rgba(255, 210, 74, .5); }

/* Toolbar: Filter-Tabs + Suche */
.fdp-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 14px; padding: 8px; border-radius: 18px; background: rgba(6, 12, 32, .6); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.fdp-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.fdp-tab { padding: 7px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--muted); background: none; border: 1px solid transparent; transition: all .2s; }
.fdp-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.fdp-tab.is-on { color: var(--ink); background: linear-gradient(135deg, rgba(79, 140, 255, .3), rgba(138, 125, 255, .25)); border-color: var(--line-strong); box-shadow: 0 0 16px rgba(79, 140, 255, .2); }
.fdp-search { display: flex; align-items: center; gap: 8px; min-width: 190px; flex: 1; max-width: 260px; padding: 7px 12px; border-radius: 12px; color: var(--faint); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.fdp-search svg { width: 16px; height: 16px; flex: none; }
.fdp-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 13.5px; color: var(--ink); }
.fdp-search:focus-within { border-color: var(--glow); }
.fdp-nomatch { margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; font-size: 14px; color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px dashed var(--line-strong); }
.fd-post.fdp-hide { display: none !important; }

/* Beiträge: Einblenden, Art-Kante, Hashtags, Like-Animation */
.fd-post.fdp-in { animation: fdpIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fdpIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.fd-post { transition: border-color .25s, box-shadow .25s, transform .25s; }
.fd-post:hover { border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, .35), 0 0 30px rgba(79, 140, 255, .1); }
.fd-post[data-fdp-kind] { position: relative; }
.fd-post[data-fdp-kind]::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--k, #6fb2ff); box-shadow: 0 0 12px var(--k, #6fb2ff); }
.fd-post[data-fdp-kind="erfolg"] { --k: #3ee89b; } .fd-post[data-fdp-kind="frage"] { --k: #ffb454; } .fd-post[data-fdp-kind="tipp"] { --k: #ffd24a; }
.fd-post[data-fdp-kind="projekt"] { --k: #8a7dff; } .fd-post[data-fdp-kind="vorstellung"] { --k: #7cc4ff; }
.fdp-tag { display: inline; padding: 1px 7px; margin: 0 1px; border-radius: 8px; font: inherit; font-weight: 700; color: #9fd0ff; background: rgba(79, 140, 255, .14); border: 1px solid rgba(124, 196, 255, .25); }
button.fdp-tag { cursor: pointer; }
.fdp-tag.is-erfolg { color: #7ff0bf; background: rgba(62, 232, 155, .12); border-color: rgba(62, 232, 155, .3); }
.fdp-tag.is-frage { color: #ffcf8f; background: rgba(255, 180, 84, .12); border-color: rgba(255, 180, 84, .3); }
.fdp-tag.is-tipp { color: #ffe07a; background: rgba(255, 210, 74, .12); border-color: rgba(255, 210, 74, .3); }
.fdp-tag.is-projekt { color: #c3bbff; background: rgba(138, 125, 255, .14); border-color: rgba(138, 125, 255, .35); }
.fdp-tag.is-vorstellung { color: #a9dcff; }
.fd-like[aria-pressed="true"] svg { animation: fdpLike .45s cubic-bezier(.2, 1.6, .4, 1); filter: drop-shadow(0 0 8px rgba(255, 107, 125, .7)); }
@keyframes fdpLike { 0% { transform: scale(.6); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.fd-feed[aria-busy="true"]:empty { min-height: 320px; border-radius: 22px; background: linear-gradient(100deg, rgba(255, 255, 255, .03) 30%, rgba(124, 196, 255, .08) 50%, rgba(255, 255, 255, .03) 70%) 0 0 / 300% 100%; animation: fdpShimmer 1.4s linear infinite; }
@keyframes fdpShimmer { to { background-position: -150% 0; } }
.fd-empty { text-align: center; padding: 34px 24px !important; background: radial-gradient(60% 80% at 50% 0%, rgba(124, 196, 255, .14), transparent 70%), var(--glass) !important; }
.fd-empty h2::before { content: "🛰️"; display: block; font-size: 44px; margin-bottom: 10px; animation: fdpFloat 4s ease-in-out infinite; }
@keyframes fdpFloat { 50% { transform: translateY(-8px); } }

/* Seitenleiste: X-Karte, Heute, Challenge */
.fdp-x { position: relative; overflow: hidden; isolation: isolate; border-color: rgba(255, 255, 255, .22) !important; background: radial-gradient(90% 90% at 100% 0%, rgba(124, 196, 255, .18), transparent 60%), linear-gradient(165deg, rgba(20, 24, 34, .95), rgba(6, 8, 16, .96)) !important; }
.fdp-x-glow { position: absolute; z-index: -1; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 196, 255, .3), transparent 65%); animation: fdpPulse 5s ease-in-out infinite; }
.fdp-x-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fdp-x-head img { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 0 20px rgba(124, 196, 255, .5); }
.fdp-x-head h2 { margin: 0 !important; }
.fdp-x-handle { font-size: 13px; font-weight: 700; color: #9fd0ff; text-decoration: none; }
.fdp-x-handle:hover { text-decoration: underline; }
.fdp-x-actions { display: flex; gap: 8px; margin-top: 12px; }
.fdp-x-follow { flex: 1; text-align: center; padding: 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; text-decoration: none; color: #0f1419 !important; background: #fff; transition: transform .2s, box-shadow .2s; }
.fdp-x-follow:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 255, 255, .25); }
.fdp-x-open { padding: 10px 12px; color: var(--ink) !important; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink); border: 1px solid rgba(255, 255, 255, .25); }
.fdp-today { display: grid; gap: 8px; }
.fdp-today h2 { margin-bottom: 4px !important; }
.fdp-today-item { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; align-items: center; padding: 9px 10px; border-radius: 14px; text-decoration: none; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.fdp-today-item:hover { transform: translateX(3px); border-color: var(--line-strong); }
.fdp-today-item span { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 18px; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 25%, transparent); }
.fdp-today-item b { font-size: 13.5px; color: var(--ink); }
.fdp-today-item small { font-size: 12px; color: var(--faint); }
.fdp-challenge { position: relative; overflow: hidden; border-color: rgba(255, 210, 74, .4) !important; background: radial-gradient(90% 90% at 100% 0%, rgba(255, 210, 74, .16), transparent 60%), var(--glass) !important; }
.fdp-ch-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #ffd24a; }
.fdp-challenge h2 { margin: 6px 0 6px !important; font-size: 19px !important; }
.fdp-ch-btn { margin-top: 10px; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 800; cursor: pointer; border: 0; color: #1a1405; background: linear-gradient(135deg, #fff1b0, #ffd24a 45%, #f3a93c); box-shadow: 0 8px 20px rgba(255, 210, 74, .3); }
@media (prefers-reduced-motion: reduce) { .fdp-hero-orbit i, .fdp-core, .fd-post.fdp-in, .fdp-x-glow, .fd-empty h2::before, .fd-like[aria-pressed="true"] svg { animation: none !important; } }

/* ═════════ 2026-09-30 · X-Profil als Handy-Vorschau ═════════ */
.fdp-xphone-card { text-align: center; }
.fdp-xp-kicker { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9fd0ff; }
.fdp-xp-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #3ee89b; box-shadow: 0 0 10px #3ee89b; animation: fdpPulse 2s ease-in-out infinite; }
.fdp-xphone-card h2 { margin: 6px 0 14px !important; }
.fdp-phone { position: relative; display: block; width: 100%; max-width: 250px; margin: 0 auto; padding: 10px; border-radius: 34px; text-decoration: none; color: #e7e9ea;
  background: linear-gradient(160deg, #2a2f3a, #0b0d12 60%); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .6) inset, 0 0 40px rgba(124, 196, 255, .18); transform: rotate(-2deg); transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; animation: fdpFloat 5s ease-in-out infinite; }
.fdp-phone:hover { transform: rotate(0deg) translateY(-4px) scale(1.02); box-shadow: 0 36px 70px rgba(0, 0, 0, .65), 0 0 60px rgba(124, 196, 255, .3); animation-play-state: paused; }
.fdp-phone-notch { position: absolute; z-index: 3; top: 14px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 999px; background: #000; }
.fdp-phone-screen { position: relative; display: flex; flex-direction: column; align-items: stretch; overflow: hidden; border-radius: 26px; text-align: left; background: #000; padding-bottom: 12px; }
.fdp-xp-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 30px 12px 6px; font-size: 12px; color: #fff; background: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35)); margin-bottom: -44px; }
.fdp-xp-bar b { font-size: 12.5px; letter-spacing: .02em; }
.fdp-xp-banner { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.fdp-xp-row { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 12px; margin-top: -26px; }
.fdp-xp-avatar { width: 58px; height: 58px; border-radius: 50%; border: 3px solid #000; background: #000; }
.fdp-xp-follow-mini { margin-bottom: 2px; padding: 5px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #0f1419; background: #eff3f4; }
.fdp-xp-name { padding: 6px 12px 0; font-size: 15px; font-weight: 800; color: #e7e9ea; }
.fdp-xp-handle { padding: 0 12px; font-size: 12px; color: #71767b; }
.fdp-xp-bio { padding: 8px 12px 0; font-size: 11.5px; line-height: 1.4; color: #e7e9ea; }
.fdp-xp-meta { padding: 6px 12px 0; font-size: 11px; color: #71767b; }
.fdp-xp-tabs { display: flex; justify-content: space-between; margin-top: 10px; padding: 8px 12px 0; font-size: 11px; font-weight: 700; color: #71767b; border-top: 1px solid #2f3336; }
.fdp-xp-tabs b { color: #e7e9ea; box-shadow: 0 2px 0 #1d9bf0; padding-bottom: 5px; }
.fdp-xp-text { margin: 16px 0 12px !important; font-size: 13.5px !important; }
.fdp-xp-cta { display: block; width: 100%; padding: 12px 14px !important; font-size: 14.5px !important; animation: fdpGlowBtn 2.6s ease-in-out infinite; }
@keyframes fdpGlowBtn { 50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 10px 28px rgba(255, 255, 255, .22); } }
@media (prefers-reduced-motion: reduce) { .fdp-phone, .fdp-xp-cta, .fdp-xp-kicker i { animation: none; } }
.fdp-phone { max-width: 262px; }
.fdp-xp-bar { padding: 26px 10px 0; background: none; margin-bottom: -50px; }
.fdp-xp-bar b { display: none; }
.fdp-xp-bar span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; line-height: 1; color: #fff; background: rgba(0, 0, 0, .55); }
.fdp-xp-banner { aspect-ratio: 3 / 1.15; }

/* ═════════ 2026-09-30 · Seitenleiste auch in schmaleren Breiten (z. B. im Dashboard eingebettet) ═════════ */
@media (max-width: 1080px) {
  .fd-layout { grid-template-columns: minmax(0, 1fr) minmax(250px, 280px); gap: 18px; padding-left: 18px; padding-right: 18px; }
  .fd-side { display: grid; }
  .fd-side .fd-card { padding: 16px 14px 16px; }
}
@media (max-width: 800px) {
  .fd-layout { grid-template-columns: minmax(0, 1fr); }
  .fd-side { position: static; order: -1; }
  .fd-side > :not(.fdp-xphone-card) { display: none; }
  /* Schnellzugriff-Links am Handy ausblenden, nur „Beitrag schreiben“ bleibt */
  .fdp-quick .fdp-q:not(.is-main) { display: none; }
  /* X-Karte am Handy: breite, flache Profil-Karte statt Handy-Rahmen */
  .fdp-xphone-card { display: block; padding: 0 !important; overflow: hidden; text-align: left; }
  .fdp-xphone-card .fdp-x-glow, .fdp-xphone-card .fdp-xp-kicker, .fdp-xphone-card h2, .fdp-xphone-card .fdp-xp-text,
  .fdp-xphone-card .fdp-phone-notch, .fdp-xphone-card .fdp-xp-bar, .fdp-xphone-card .fdp-xp-meta, .fdp-xphone-card .fdp-xp-tabs, .fdp-xphone-card .fdp-xp-follow-mini { display: none; }
  .fdp-xphone-card .fdp-phone { max-width: none; width: 100%; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; animation: none; }
  .fdp-xphone-card .fdp-phone:hover { transform: none; box-shadow: none; }
  .fdp-xphone-card .fdp-phone-screen { border-radius: 0; background: transparent; padding-bottom: 0; }
  .fdp-xphone-card .fdp-xp-banner { aspect-ratio: 3 / 1; }
  .fdp-xphone-card .fdp-xp-row { margin-top: -30px; padding: 0 14px; }
  .fdp-xphone-card .fdp-xp-avatar { width: 64px; height: 64px; border: 3px solid #0b1022; }
  .fdp-xphone-card .fdp-xp-name { padding: 6px 14px 0; font-size: 16px; }
  .fdp-xphone-card .fdp-xp-handle { padding: 0 14px; font-size: 13px; }
  .fdp-xphone-card .fdp-xp-bio { padding: 6px 14px 0; font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .fdp-xphone-card .fdp-xp-cta { position: absolute; top: calc((100vw - 24px) / 3 - 2px); right: 12px; width: auto; padding: 8px 16px !important; font-size: 13px !important; animation: none; }
  .fdp-xphone-card { position: relative; padding-bottom: 14px !important; }
}
