/* ── MineValia-Forum ── */
#forum { padding-top: 26px; min-height: 60vh; }
.fo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.fo-head h1 { font-size: clamp(30px, 4.6vw, 44px); margin: 6px 0 4px; line-height: 1.1; }
.fo-head .lead { margin: 0; }
.fo-head .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fo-crumb { color: var(--muted); font-size: 14px; margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.fo-crumb a { color: var(--muted); } .fo-crumb a:hover { color: var(--gold-text); } .fo-crumb b { color: var(--text); font-weight: 500; }
.fo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.fo-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 14px; background: rgba(14, 12, 10, .6); border: 1px solid var(--line-2); margin-bottom: 18px; transition: border-color .2s, box-shadow .2s; }
.fo-search:focus-within { border-color: rgba(255, 210, 127, .5); box-shadow: 0 0 0 3px rgba(240, 160, 48, .12); }
.fo-search svg { width: 18px; height: 18px; color: var(--dim); flex-shrink: 0; }
.fo-search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 15px; min-width: 0; }
.fo-sec { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.fo-box { overflow: hidden; margin-bottom: 18px; }
.fo-cat { display: grid; grid-template-columns: 54px minmax(0, 1fr) 84px 84px minmax(0, 230px); gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--text); transition: background .2s; }
.fo-cat:last-child { border-bottom: 0; }
.fo-cat:hover { background: rgba(240, 160, 48, .05); }
.fo-ci { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 25px; --c: var(--gold);
  background: color-mix(in srgb, var(--c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 20%, transparent); }
.fo-cat h3 { margin: 0 0 2px; font-size: 16.5px; }
.fo-cat p { margin: 0; color: var(--muted); font-size: 14px; }
.fo-cat.locked { opacity: .55; }
.fo-cat.locked:hover { opacity: .8; }
.fo-num { text-align: center; } .fo-num b { display: block; font-size: 17px; } .fo-num small { color: var(--dim); font-size: 12px; }
.fo-last { display: flex; gap: 10px; align-items: center; min-width: 0; }
.fo-last img { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; image-rendering: pixelated; }
.fo-last > div { min-width: 0; } .fo-last .t { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.fo-last small { color: var(--dim); font-size: 12px; }
.fo-side .card { padding: 18px; margin-bottom: 18px; }
.fo-side h4 { margin: 0 0 12px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.fo-stat { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); font-size: 14px; } .fo-stat b { color: var(--text); }
.fo-who { display: flex; flex-wrap: wrap; gap: 6px; }
.fo-who img { width: 32px; height: 32px; border-radius: 8px; image-rendering: pixelated; transition: transform .2s; } .fo-who a:hover img { transform: translateY(-2px); }
.fo-mini { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.fo-mini:last-child { border-bottom: 0; } .fo-mini small { display: block; color: var(--dim); font-size: 12px; } .fo-mini:hover { color: var(--gold-hi); }
.fo-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); vertical-align: middle; white-space: nowrap; line-height: 1.5; }
.fo-tag.pin { color: var(--gold-hi); border-color: rgba(255, 210, 127, .35); background: rgba(255, 210, 127, .07); }
.fo-tag.ok { color: var(--green); border-color: rgba(92, 192, 112, .4); background: rgba(92, 192, 112, .08); }
.fo-tag.lock { color: #ff8a73; border-color: rgba(229, 83, 61, .4); background: rgba(229, 83, 61, .07); }
.fo-tag.team { color: #ff9a6a; border-color: rgba(255, 140, 90, .4); background: rgba(255, 140, 90, .08); }
.fo-tag.c { --c: var(--gold); color: var(--c); border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.st.plan { color: #5ec8f8; border-color: rgba(56, 189, 248, .4); background: rgba(56, 189, 248, .08); }
.st.work { color: var(--gold-hi); border-color: rgba(255, 210, 127, .4); background: rgba(255, 210, 127, .08); }
.st.done { color: var(--green); border-color: rgba(92, 192, 112, .45); background: rgba(92, 192, 112, .08); }
.st.no { color: #ff8a73; border-color: rgba(229, 83, 61, .4); background: rgba(229, 83, 61, .07); }
.fo-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.fo-chip { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); background: rgba(255, 255, 255, .03); cursor: pointer; font: inherit; font-size: 13.5px; transition: .2s; }
.fo-chip:hover { color: var(--text); border-color: rgba(255, 210, 127, .35); }
.fo-chip.on { color: #1d1206; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: transparent; font-weight: 600; }
.fo-thr { display: grid; grid-template-columns: 44px minmax(0, 1fr) 76px 76px 150px; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--text); transition: background .2s; }
.fo-thr:last-child { border-bottom: 0; } .fo-thr:hover { background: rgba(240, 160, 48, .05); }
.fo-thr.pinned { background: linear-gradient(90deg, rgba(240, 160, 48, .08), transparent); }
.fo-thr.del { opacity: .5; }
.fo-thr img { width: 44px; height: 44px; border-radius: 10px; image-rendering: pixelated; }
.fo-thr h3 { margin: 0 0 2px; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.fo-meta { font-size: 12.5px; color: var(--dim); }
.fo-thr .when { text-align: right; font-size: 12.5px; color: var(--dim); }
.fo-vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 64px; padding: 6px 0; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); cursor: pointer; font: inherit; transition: .2s; }
.fo-vote b { font-size: 18px; color: var(--text); line-height: 1.2; } .fo-vote small { font-size: 10.5px; color: var(--dim); }
.fo-vote:hover { border-color: rgba(255, 210, 127, .5); }
.fo-vote.on { border-color: rgba(255, 210, 127, .6); background: rgba(240, 160, 48, .14); color: var(--gold-hi); }
.fo-pages { display: flex; gap: 6px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.fo-pages a, .fo-pages span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); color: var(--muted); padding: 0 10px; font-size: 14px; }
.fo-pages a:hover { color: var(--text); border-color: rgba(255, 210, 127, .4); } .fo-pages .on { color: #1d1206; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: transparent; font-weight: 700; }
/* Thema */
.fo-title { font-size: clamp(24px, 3.4vw, 34px); margin: 4px 0 6px; line-height: 1.2; word-break: break-word; }
.fo-tbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fo-modbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 10px 14px; margin-bottom: 14px; border-radius: 14px; border: 1px dashed rgba(255, 140, 90, .45); background: rgba(255, 140, 90, .05); font-size: 13px; color: var(--muted); }
.fo-modbar b { color: #ff9a6a; margin-right: 4px; }
.fo-modbar select { background: rgba(14, 12, 10, .7); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 8px; font: inherit; font-size: 13px; }
.fo-post { display: grid; grid-template-columns: 190px minmax(0, 1fr); margin-bottom: 14px; overflow: hidden; scroll-margin-top: 90px; }
.fo-post.sol { border-color: rgba(92, 192, 112, .5); box-shadow: 0 0 0 1px rgba(92, 192, 112, .2) inset, 0 20px 50px rgba(0, 0, 0, .35); }
.fo-post.teampost { border-color: rgba(255, 140, 90, .45); }
.fo-post.del { opacity: .55; }
.fo-post.hl { animation: fohl 2s ease; } @keyframes fohl { 0%, 40% { box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgba(240, 160, 48, .4); } }
.fo-pa { padding: 20px 14px; text-align: center; border-right: 1px solid var(--line); --c: var(--gold); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 11%, transparent), transparent 70%); }
.fo-pa img { width: 72px; height: 72px; border-radius: 14px; margin: 0 auto 10px; image-rendering: pixelated; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 50%, transparent), 0 0 24px color-mix(in srgb, var(--c) 28%, transparent); }
.fo-pa .n { display: block; font-weight: 700; font-size: 15.5px; word-break: break-all; }
.fo-pa .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 6px 0; }
.fo-pa .s { font-size: 12px; color: var(--dim); line-height: 1.7; }
.fo-pa .fo-lvl { font-size: 12px; color: var(--gold-text); margin-top: 4px; }
.fo-pc { padding: 18px 22px; display: flex; flex-direction: column; min-width: 0; }
.fo-ph { display: flex; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 13px; margin-bottom: 10px; }
.fo-ph a { color: var(--dim); }
.fo-body { font-size: 15.5px; word-break: break-word; }
.fo-body p { margin: 0 0 12px; }
.fo-body blockquote { border-left: 3px solid var(--gold); background: rgba(240, 160, 48, .06); padding: 10px 14px; border-radius: 0 10px 10px 0; margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.fo-body a { text-decoration: underline; text-decoration-color: rgba(246, 196, 90, .4); text-underline-offset: 3px; }
.fo-body pre { overflow-x: auto; }
.fo-edit { font-size: 12px; color: var(--dim); margin-top: 6px; font-style: italic; }
.fo-pf { margin-top: auto; display: flex; gap: 6px; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fo-react { display: inline-flex; gap: 5px; align-items: center; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); cursor: pointer; font-family: inherit; transition: .15s; }
.fo-react:hover { border-color: rgba(255, 210, 127, .45); } .fo-react.on { border-color: rgba(255, 210, 127, .6); color: var(--gold-hi); background: rgba(240, 160, 48, .12); }
.fo-react:disabled { cursor: default; }
.fo-rpick { position: relative; }
.fo-rpick .pop { position: absolute; bottom: 120%; left: 0; display: none; gap: 4px; padding: 6px; border-radius: 12px; background: #1f1b17; border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); z-index: 5; }
.fo-rpick.open .pop { display: flex; }
.fo-rpick .pop button { font-size: 20px; background: none; border: 0; cursor: pointer; padding: 3px 5px; border-radius: 8px; transition: transform .15s; } .fo-rpick .pop button:hover { transform: scale(1.25); background: rgba(255, 255, 255, .06); }
.fo-pf .sp { flex: 1; }
.fo-lnk { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.fo-lnk:hover { color: var(--gold-hi); background: rgba(255, 255, 255, .04); }
.fo-lnk.danger:hover { color: #ff8a73; }
.fo-lnk.solve { color: var(--green); }
.fo-solmark { color: var(--green); font-weight: 700; font-size: 13px; }
.fo-blocked { color: var(--dim); font-style: italic; font-size: 14px; }
/* Umfrage */
.fo-poll { padding: 16px 18px; border-radius: 14px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); margin-bottom: 14px; }
.fo-poll .q { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; } .fo-poll .q small { color: var(--dim); }
.fo-po { margin: 10px 0; }
.fo-po .l { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 5px; gap: 10px; }
.fo-po .b { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.fo-po .b i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #c97d16, var(--gold), var(--gold-hi)); transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.fo-po.me .l span { color: var(--gold-hi); font-weight: 600; }
.fo-po label { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2); cursor: pointer; font-size: 14.5px; }
.fo-po label:hover { border-color: rgba(255, 210, 127, .4); }
.fo-po input { accent-color: var(--gold); width: 16px; height: 16px; }
/* Editor */
.fo-ed { padding: 18px; }
.fo-ed .who { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-weight: 600; }
.fo-ed .who img { width: 34px; height: 34px; border-radius: 8px; image-rendering: pixelated; }
.fo-tb { display: flex; gap: 2px; padding: 5px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 12px 12px 0 0; background: rgba(0, 0, 0, .25); flex-wrap: wrap; align-items: center; }
.fo-tb button { min-width: 32px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; padding: 0 7px; }
.fo-tb button:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.fo-tb button.on { color: var(--gold-hi); background: rgba(240, 160, 48, .12); }
.fo-tb .sp { flex: 1; }
.fo-ta { display: block; width: 100%; min-height: 140px; resize: vertical; border: 1px solid var(--line-2); border-radius: 0 0 12px 12px; background: rgba(14, 12, 10, .6); padding: 14px; color: var(--text); font: inherit; font-size: 15px; line-height: 1.6; outline: 0; }
.fo-ta:focus { border-color: rgba(255, 210, 127, .45); }
.fo-prev { min-height: 140px; border: 1px solid var(--line-2); border-radius: 0 0 12px 12px; background: rgba(14, 12, 10, .45); padding: 14px; }
.fo-ef { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; color: var(--dim); font-size: 13px; flex-wrap: wrap; }
.fo-in { width: 100%; height: 46px; border-radius: 12px; background: rgba(14, 12, 10, .6); border: 1px solid var(--line-2); padding: 0 14px; color: var(--text); font: inherit; font-size: 15px; outline: 0; }
.fo-in:focus { border-color: rgba(255, 210, 127, .45); }
select.fo-in { appearance: auto; }
.fo-lbl { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; font-weight: 600; }
.fo-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fo-pollbox { border: 1px dashed rgba(255, 210, 127, .35); border-radius: 14px; padding: 14px 16px; margin-top: 16px; background: rgba(240, 160, 48, .04); }
.fo-pollbox .opt { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.fo-pollbox .opt .fo-in { height: 40px; }
.fo-vis { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(92, 192, 112, .07); border: 1px solid rgba(92, 192, 112, .28); font-size: 14px; color: #cfe9d4; margin-top: 16px; }
.fo-ment { position: absolute; z-index: 30; background: #1f1b17; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); overflow: hidden; min-width: 200px; }
.fo-ment button { display: flex; gap: 8px; align-items: center; width: 100%; padding: 8px 12px; background: none; border: 0; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.fo-ment button img { width: 22px; height: 22px; border-radius: 5px; image-rendering: pixelated; }
.fo-ment button.on, .fo-ment button:hover { background: rgba(240, 160, 48, .14); }
/* Gesperrt / Hinweise */
.fo-lock { text-align: center; padding: 56px 26px; --c: var(--gold); background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%), var(--card); }
.fo-lock .ic { font-size: 52px; filter: drop-shadow(0 0 20px color-mix(in srgb, var(--c) 55%, transparent)); }
.fo-lock h2 { font-size: 27px; margin: 10px 0 8px; } .fo-lock p { color: var(--muted); max-width: 540px; margin: 0 auto 20px; }
.fo-note { display: flex; gap: 12px; align-items: center; padding: 14px 18px; flex-wrap: wrap; }
.fo-note .sp { flex: 1; }
/* Profil */
.fo-pfh { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 26px; --c: var(--gold); background: radial-gradient(70% 130% at 0% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 60%), var(--card); }
.fo-pfh .av { width: 150px; height: 150px; border-radius: 24px; image-rendering: pixelated; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 55%, transparent), 0 0 40px color-mix(in srgb, var(--c) 30%, transparent); }
.fo-pfh h1 { margin: 6px 0 4px; font-size: clamp(26px, 4vw, 36px); word-break: break-all; }
.fo-pfh .sub { color: var(--muted); font-size: 14.5px; }
.fo-pfh .acts { display: flex; flex-direction: column; gap: 8px; }
.fo-on { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.fo-on i { width: 9px; height: 9px; border-radius: 50%; background: #6d655a; } .fo-on.on i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.fo-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fo-badge { display: inline-flex; gap: 6px; align-items: center; padding: 5px 11px; border-radius: 10px; font-size: 13px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.fo-badge.off { opacity: .35; filter: grayscale(1); }
.fo-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0; }
.fo-kpis .card { padding: 14px 16px; } .fo-kpis b { font-size: 22px; display: block; } .fo-kpis small { color: var(--muted); font-size: 13px; }
.fo-tabs2 { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.fo-wall { padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.fo-wall:last-child { border-bottom: 0; }
.fo-wall img { width: 40px; height: 40px; border-radius: 9px; image-rendering: pixelated; }
.fo-wall .h { font-size: 13px; color: var(--dim); } .fo-wall .h a { font-weight: 700; color: var(--text); }
.fo-wall .b { white-space: pre-wrap; word-break: break-word; margin-top: 2px; font-size: 15px; }
.fo-act { display: flex; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.fo-act:last-child { border-bottom: 0; } .fo-act small { display: block; color: var(--dim); font-size: 12.5px; }
.fo-act .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(240, 160, 48, .1); flex-shrink: 0; }
.fo-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; padding: 14px; }
.fo-fr { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .15); color: var(--text); min-width: 0; }
.fo-fr img { width: 38px; height: 38px; border-radius: 9px; image-rendering: pixelated; flex-shrink: 0; }
.fo-fr > div { min-width: 0; flex: 1; } .fo-fr b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fo-fr small { color: var(--dim); font-size: 12px; }
.fo-fr .x { display: flex; gap: 4px; }
.fo-team { border: 1px dashed rgba(255, 140, 90, .5); background: rgba(255, 140, 90, .04); }
.fo-team h4 { color: #ff9a6a !important; }
.fo-team .it { font-size: 13.5px; padding: 7px 0; border-bottom: 1px solid var(--line); } .fo-team .it:last-child { border-bottom: 0; } .fo-team .it small { color: var(--dim); display: block; }
/* Pinnwand-Eingabe */
.fo-wallin { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.fo-wallin textarea { height: 46px; min-height: 46px; padding: 12px 14px; resize: vertical; flex: 1; }
@media (max-width: 640px) { .fo-wallin { flex-direction: column; } .fo-wallin .btn { align-self: flex-end; } }
/* Nachrichten */
.fo-pm { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: min(72vh, 720px); overflow: hidden; }
.fo-pml { border-right: 1px solid var(--line); overflow-y: auto; }
.fo-pml a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.fo-pml a.on, .fo-pml a:hover { background: rgba(240, 160, 48, .08); }
.fo-pml img { width: 38px; height: 38px; border-radius: 9px; image-rendering: pixelated; flex-shrink: 0; }
.fo-pml div { min-width: 0; flex: 1; } .fo-pml b { display: flex; justify-content: space-between; gap: 6px; font-size: 14.5px; } .fo-pml b small { color: var(--dim); font-weight: 400; font-size: 11.5px; white-space: nowrap; }
.fo-pml .pv { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-pml .un { min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: #1d1206; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.fo-chat { display: flex; flex-direction: column; min-width: 0; }
.fo-chat .top { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.fo-chat .top img { width: 34px; height: 34px; border-radius: 8px; image-rendering: pixelated; }
.fo-chat .top .sp { flex: 1; }
.fo-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.fo-msg { max-width: 72%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; font-size: 14.5px; align-self: flex-start; }
.fo-msg.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: linear-gradient(180deg, rgba(255, 210, 127, .2), rgba(240, 160, 48, .14)); border-color: rgba(255, 210, 127, .3); }
.fo-msg small { display: block; font-size: 11px; color: var(--dim); margin-top: 3px; text-align: right; }
.fo-day { align-self: center; font-size: 12px; color: var(--dim); margin: 8px 0; }
.fo-send { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.fo-send textarea { flex: 1; resize: none; height: 46px; max-height: 140px; border-radius: 12px; background: rgba(14, 12, 10, .6); border: 1px solid var(--line-2); padding: 12px 14px; color: var(--text); font: inherit; font-size: 15px; outline: 0; }
/* Glocke */
.fo-bell { position: relative; }
.fo-bell .cnt { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; box-shadow: 0 0 0 2px var(--bg); }
.fo-dd { position: fixed; top: 70px; right: 16px; width: min(400px, calc(100vw - 32px)); max-height: min(70vh, 600px); overflow-y: auto; z-index: 60; padding: 0; background: #1c1814; border: 1px solid rgba(255, 210, 127, .18); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .65); }
.fo-dd .h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #1c1814; z-index: 1; }
.fo-dd .h b { font-size: 15px; }
.fo-dd a.it { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); align-items: flex-start; }
.fo-dd a.it.new { background: rgba(240, 160, 48, .07); }
.fo-dd a.it:hover { background: rgba(240, 160, 48, .12); }
.fo-dd a.it img { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; image-rendering: pixelated; }
.fo-dd a.it .ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(240, 160, 48, .12); flex-shrink: 0; }
.fo-dd a.it small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.fo-dd .dotn { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 6px; margin-left: auto; flex-shrink: 0; box-shadow: 0 0 8px var(--gold); }
.fo-dd .f { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 13px; color: var(--muted); gap: 10px; }
/* Modal */
.fo-modal { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .2s ease; }
.fo-modal > div { width: min(520px, 100%); padding: 22px; background: #1c1814; border: 1px solid rgba(255, 210, 127, .2); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .65); max-height: 90vh; overflow-y: auto; }
.fo-modal h3 { margin: 0 0 12px; }
.fo-modal .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.fo-modal textarea { width: 100%; min-height: 100px; resize: vertical; border-radius: 12px; background: rgba(14, 12, 10, .6); border: 1px solid var(--line-2); padding: 12px; color: var(--text); font: inherit; font-size: 15px; outline: 0; }
.fo-modal label.r { display: flex; gap: 8px; align-items: center; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.fo-modal input[type=radio], .fo-modal input[type=checkbox] { accent-color: var(--gold); }
/* Gilden-Bewerbung (Gildenseite) */
.ga-box { padding: 20px 22px; margin-bottom: 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ga-box .ic { font-size: 30px; }
.ga-box > div { flex: 1; min-width: 220px; } .ga-box b { font-size: 16.5px; } .ga-box p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.ga-list { padding: 18px 22px; margin-bottom: 18px; }
.ga-list h3 { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.ga-app { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.ga-app img { width: 44px; height: 44px; border-radius: 10px; image-rendering: pixelated; }
.ga-app .t { white-space: pre-wrap; word-break: break-word; font-size: 14.5px; color: #e3d9c8; margin-top: 4px; }
.ga-app .x { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 980px) {
  .fo-grid { grid-template-columns: minmax(0, 1fr); }
  .fo-cat { grid-template-columns: 46px minmax(0, 1fr) 70px; } .fo-cat .fo-num:nth-of-type(2), .fo-cat .fo-last { display: none; }
  .fo-ci { width: 46px; height: 46px; font-size: 22px; }
  .fo-thr { grid-template-columns: 40px minmax(0, 1fr) 64px; } .fo-thr .fo-num:nth-of-type(2), .fo-thr .when { display: none; }
  .fo-kpis { grid-template-columns: repeat(3, 1fr); }
  .fo-pm { grid-template-columns: 1fr; height: auto; } .fo-pm.chatting .fo-pml { display: none; } .fo-pm:not(.chatting) .fo-chat { display: none; } .fo-msgs { height: 55vh; }
}
@media (max-width: 640px) {
  .fo-post { grid-template-columns: 1fr; }
  .fo-pa { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; align-items: center; }
  .fo-pa img { width: 52px; height: 52px; margin: 0; } .fo-pa > a:first-child { grid-row: span 3; }
  .fo-pa .tags { justify-content: flex-start; margin: 0; } .fo-pa .s, .fo-pa .fo-lvl { display: none; }
  .fo-pc { padding: 14px 16px; }
  .fo-pfh { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 18px; } .fo-pfh .av { width: 90px; height: 90px; border-radius: 16px; } .fo-pfh .acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .fo-kpis { grid-template-columns: repeat(2, 1fr); }
  .fo-row2 { grid-template-columns: 1fr; }
  .fo-cat { padding: 14px; gap: 12px; } .fo-thr { padding: 12px 14px; gap: 10px; }
  .fo-msg { max-width: 88%; }
  .ga-app { grid-template-columns: 40px minmax(0, 1fr); } .ga-app .x { grid-column: 1 / -1; }
}
