/* =========================================================
   Vorstellungs-Webseite – Stylesheet (Dark Theme)
   Akzentfarben werden via --accent / --accent2 vom Admin-Panel
   überschrieben.
   ========================================================= */

:root {
    --bg: #0b0f1a;
    --bg-2: #0f1524;
    --bg-3: #131b30;
    --card: rgba(255, 255, 255, 0.04);
    --card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --text: #e8ecf4;
    --muted: #9aa4b8;
    --accent: #6c5ce7;
    --accent-2: #00cec9;
    --danger: #e74c3c;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    --font-head: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: .5rem; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
code, .mono { font-family: 'JetBrains Mono', Consolas, monospace; font-size: .9em; }
code { background: rgba(255,255,255,.08); padding: .1em .4em; border-radius: 6px; }

.container { width: min(1140px, 92%); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.inline { display: inline; }
.flex-grow { flex: 1; }

/* ---------- Buttons & Pills ---------- */
.btn {
    display: inline-block;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 600;
    padding: .75rem 1.6rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, filter .2s;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    font-size: .95rem;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); text-decoration: none; }
.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
    color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-danger { background: var(--danger); }
.btn-sm { padding: .4rem 1rem; font-size: .85rem; }
.btn.full { width: 100%; text-align: center; }

.pill {
    display: inline-block;
    padding: .35rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    font-size: .85rem;
    transition: all .2s;
}
a.pill:hover { text-decoration: none; border-color: var(--accent); color: var(--text); }
.pill-active, .pill-active:hover {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: #fff;
}

.badge {
    display: inline-block;
    padding: .15rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: .78rem;
    color: var(--muted);
    border: 1px solid var(--border);
}
.badge-green { background: rgba(46, 204, 113, .15); color: #2ecc71; border-color: rgba(46,204,113,.3); }
.badge-red { background: rgba(231, 76, 60, .15); color: #e74c3c; border-color: rgba(231,76,60,.3); }
button.badge { cursor: pointer; }

/* ---------- Header / Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(11, 15, 26, 0.75);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo-mark {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.main-nav { display: flex; gap: .4rem; }
.main-nav a {
    color: var(--muted);
    padding: .5rem 1rem;
    border-radius: 999px;
    font-weight: 500;
    transition: all .2s;
}
.main-nav a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.main-nav a.active { color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(5rem, 14vh, 9rem) 0 clamp(4rem, 10vh, 7rem); overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 400px at 15% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
        radial-gradient(600px 400px at 85% 80%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%);
    animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(3%, -2%) scale(1.05); } }
.hero-inner { position: relative; text-align: center; }
.hero h1 {
    margin: 1.2rem 0 .4rem;
    background: linear-gradient(120deg, #fff 30%, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tagline { font-size: clamp(1.05rem, 2.5vw, 1.4rem); color: var(--muted); }
.hero-cta { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.page-hero { padding: 4.5rem 0 2.5rem; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-2), transparent); }
.page-hero h1 { margin-bottom: .4rem; }

/* ---------- Sections, Grids, Cards ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-title { text-align: center; margin-bottom: 2.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: transform .25s, background .25s, border-color .25s;
}
.card.glass { backdrop-filter: blur(8px); }
.card:hover { background: var(--card-hover); transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card-link { color: var(--text); display: block; }
.card-link:hover { text-decoration: none; }
.card-icon { font-size: 2rem; margin-bottom: .8rem; }
.card-more { color: var(--accent-2); font-weight: 600; font-size: .9rem; }
.card-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; flex-wrap: wrap; }
.card-actions { margin-top: 1.2rem; }

.prose p { margin-bottom: 1rem; color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1rem 1.4rem; color: var(--muted); }

.fact-list { list-style: none; margin: 1rem 0; }
.fact-list li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .55rem 0; border-bottom: 1px dashed var(--border); font-size: .92rem;
}
.fact-list li span { color: var(--muted); }

.social-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.social-row.vertical { flex-direction: column; align-items: stretch; }

/* ---------- Twitch / Gaming ---------- */
.stream-grid { align-items: start; }
.embed-box {
    position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm);
    overflow: hidden; border: 1px solid var(--border); background: #000;
}
.embed-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #666; }
.live-dot.online { background: #e74c3c; box-shadow: 0 0 12px #e74c3c; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .5; } }

/* ---------- Projekte (GitHub) ---------- */
.project-card { display: flex; flex-direction: column; }
.project-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.gh-lang { font-size: .78rem; color: var(--accent-2); }
.gh-stats { display: flex; gap: 1.2rem; margin-top: 1rem; font-size: .88rem; color: var(--muted); }

/* ---------- News ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.news-card h3 a { color: var(--text); }
.news-card h3 a:hover { color: var(--accent-2); text-decoration: none; }
.news-card p { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.news-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; font-size: .82rem; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.pagination a {
    width: 40px; height: 40px; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid var(--border); color: var(--muted);
}
.pagination a:hover { text-decoration: none; border-color: var(--accent); color: var(--text); }
.pagination a.active { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding: 3.5rem 0 2rem; }
.footer-grid h4 { margin-bottom: .9rem; font-size: .95rem; }
.footer-grid a:not(.btn) { display: block; color: var(--muted); padding: .2rem 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.2rem 0; color: var(--muted); font-size: .85rem; }

/* ---------- Formulare ---------- */
label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: .35rem; color: var(--text); }
input[type="text"], input[type="url"], input[type="email"], input[type="password"],
input[type="number"], input[type="color"], select, textarea {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: .7rem .9rem;
    font: inherit;
    margin-bottom: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
textarea { resize: vertical; }
input[type="color"] { padding: .25rem; height: 46px; cursor: pointer; }
.check { display: flex; align-items: center; gap: .6rem; margin: .5rem 0 1rem; }
.check input { width: auto; margin: 0; }

.form-stack > * + * { margin-top: .25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form-grid .span-2 { grid-column: span 2; }
.form-inline { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.form-inline input { margin-bottom: 0; }

.flash {
    padding: .9rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem;
    border: 1px solid var(--border); background: var(--card); font-size: .92rem;
}
.flash-success { border-color: rgba(46,204,113,.4); background: rgba(46,204,113,.1); color: #7ee2a8; }
.flash-error { border-color: rgba(231,76,60,.4); background: rgba(231,76,60,.1); color: #ff9b8f; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-2); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 250px; flex-shrink: 0;
    background: var(--bg);
    border-right: 1px solid var(--border);
    padding: 1.5rem 1rem;
    display: flex; flex-direction: column; gap: 1.5rem;
    position: sticky; top: 0; height: 100vh;
}
.admin-sidebar nav { display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.admin-sidebar nav a {
    color: var(--muted); padding: .65rem .9rem; border-radius: var(--radius-sm);
    font-size: .93rem; transition: all .2s;
}
.admin-sidebar nav a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.admin-sidebar nav a.active {
    color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-2));
}
.sidebar-bottom { display: flex; flex-direction: column; gap: .2rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.sidebar-bottom a { color: var(--muted); padding: .5rem .9rem; font-size: .9rem; }
.sidebar-bottom a:hover { color: var(--text); text-decoration: none; }

.admin-main { flex: 1; min-width: 0; }
.admin-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 2rem; border-bottom: 1px solid var(--border);
    background: rgba(11,15,26,.6); backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 50;
}
.admin-content { padding: 2rem; max-width: 1100px; }
.admin-content h1 { font-size: 1.7rem; margin-bottom: .3rem; }
.admin-content .card { margin-bottom: 1.5rem; }

.stats-grid .stat-card { text-align: center; display: block; color: var(--text); }
.stat-card:hover { text-decoration: none; }
.stat-num {
    display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 700;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th { text-align: left; color: var(--muted); font-weight: 600; padding: .6rem .8rem; border-bottom: 1px solid var(--border); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.admin-table td { padding: .7rem .8rem; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.table-actions { text-align: right; white-space: nowrap; }
.table-actions form { margin-left: .4rem; }

/* ---------- Login ---------- */
.login-body {
    min-height: 100vh; display: grid; place-items: center; padding: 1rem;
    background:
        radial-gradient(700px 500px at 20% 15%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
        radial-gradient(700px 500px at 80% 85%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 70%),
        var(--bg);
}
.login-card { width: min(420px, 100%); }
.center-logo { text-align: center; font-size: 1.3rem; margin-bottom: 1.5rem; display: block; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .split, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .admin-sidebar { display: none; position: fixed; z-index: 200; height: 100vh; }
    .admin-sidebar.open { display: flex; }
}

@media (max-width: 640px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; padding: 1rem 4%;
        background: rgba(11,15,26,.97); border-bottom: 1px solid var(--border);
    }
    .main-nav.open { display: flex; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: span 1; }
    .admin-content { padding: 1.2rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
}


/* ---------- Mitglieder-System ---------- */
.container.narrow { width: min(680px, 92%); }
.nav-cta { margin-left: .4rem; }
.nav-user { font-weight: 600; }

/* Honeypot-Feld unsichtbar machen */
.hp-field {
    position: absolute !important; left: -9999px !important;
    width: 1px; height: 1px; opacity: 0;
}

/* Avatar (Initialen-Kreis) */
.avatar {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-grid; place-items: center; flex-shrink: 0;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    color: #fff; text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.15);
}
.avatar-lg { width: 84px; height: 84px; font-size: 1.9rem; }

.panel-hero { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

.avatar-picker { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.avatar-picker label { margin-bottom: 0; flex: 1; }
.avatar-picker input[type="color"] { margin-bottom: 0; max-width: 120px; }

/* Mitgliederliste */
.member-card { display: flex; gap: 1rem; align-items: flex-start; }
.member-info { min-width: 0; }
.member-info h3 { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .15rem; }
.member-info p { margin-top: .35rem; }

.search-bar { display: flex; gap: .8rem; margin-bottom: 2rem; flex-wrap: wrap; }
.search-bar input { flex: 1; min-width: 220px; margin-bottom: 0; }

@media (max-width: 640px) {
    .panel-hero { text-align: center; justify-content: center; }
    .search-bar .btn { width: 100%; }
}


/* ---------- Community: Profil, Freunde, Chat, Melden ---------- */
img.avatar { object-fit: cover; }

.profile-hero { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.profile-hero .avatar-lg { width: 110px; height: 110px; }
.profile-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }

.profile-fields { list-style: none; margin-top: 1rem; }
.profile-fields li {
    display: flex; gap: 1rem; padding: .55rem 0;
    border-bottom: 1px dashed var(--border); font-size: .94rem;
}
.profile-fields li span { width: 170px; color: var(--muted); flex-shrink: 0; }
.profile-fields li a { word-break: break-all; }

.unread-badge {
    background: var(--danger); color: #fff; border-radius: 999px;
    padding: .05rem .5rem; font-size: .72rem; font-weight: 700;
}

/* Freunde-Listen */
.friend-row { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px dashed var(--border); }
.friend-row:last-child { border-bottom: none; }
.friend-row .friend-info { flex: 1; min-width: 0; }
.friend-row .friend-info a { color: var(--text); font-weight: 600; }
.friend-row .friend-info a:hover { color: var(--accent-2); text-decoration: none; }

/* Chat */
.chat-box {
    max-height: 460px; overflow-y: auto;
    display: flex; flex-direction: column; gap: .55rem; padding: .4rem 0;
}
.chat-bubble {
    max-width: 78%; padding: .55rem 1rem; border-radius: 16px;
    background: var(--card); border: 1px solid var(--border);
    font-size: .93rem; word-wrap: break-word;
}
.chat-bubble.own {
    align-self: flex-end;
    background: linear-gradient(120deg, var(--accent), var(--accent2));
    border-color: transparent; color: #fff;
}
.chat-meta { display: block; font-size: .7rem; opacity: .7; margin-top: .2rem; }
.chat-form { display: flex; gap: .8rem; margin-top: 1.2rem; }
.chat-form textarea { flex: 1; margin-bottom: 0; }
.convo-list { display: flex; flex-direction: column; gap: .55rem; }
.convo-item {
    display: flex; align-items: center; gap: .9rem;
    padding: .7rem .95rem; border-radius: var(--radius-sm);
    background: var(--card); border: 1px solid var(--border); color: var(--text);
}
.convo-item:hover { border-color: var(--accent); text-decoration: none; }
.convo-item .convo-meta { flex: 1; min-width: 0; }
.convo-item .convo-meta strong { display: block; }
.convo-item .convo-meta span { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-item time { color: var(--muted); font-size: .78rem; white-space: nowrap; }

/* Karten in der Mitgliederliste verlinkbar */
.member-card { cursor: pointer; }
a.member-card:hover { text-decoration: none; }
a.member-card:hover h3 { color: var(--accent-2); }

@media (max-width: 640px) {
    .chat-form { flex-direction: column; }
    .profile-fields li span { width: 120px; }
}


/* ---------- Wall / Pinnwand ---------- */
.wall-compose { display: flex; gap: .9rem; align-items: flex-start; }
.wall-compose textarea { margin-bottom: .7rem; }
.wall-compose input[type="url"] { margin-bottom: 0; font-size: .88rem; }

.wall-post { margin-bottom: 1.2rem; }
.wall-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.wall-head > div { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.wall-author { color: var(--text); font-weight: 600; font-family: var(--font-head); }
.wall-author:hover { color: var(--accent-2); text-decoration: none; }
.wall-time { display: block; width: 100%; }
.wall-content { font-size: .97rem; margin-bottom: .9rem; word-wrap: break-word; }
.wall-video { margin-top: .4rem; }


/* ---------- Wall: Reaktionen, Kommentare, Melden ---------- */
.reaction-bar { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed var(--border); }
.reaction-btn {
    background: var(--card); border: 1px solid var(--border); border-radius: 999px;
    padding: .3rem .7rem; cursor: pointer; font-size: 1rem; line-height: 1.3;
    display: inline-flex; align-items: center; gap: .3rem;
    transition: border-color .2s, background .2s, transform .15s;
}
.reaction-btn:hover { border-color: var(--accent); transform: scale(1.06); }
.reaction-btn.active {
    background: color-mix(in srgb, var(--accent) 25%, transparent);
    border-color: var(--accent);
}
.reaction-count { font-size: .75rem; font-weight: 700; color: var(--muted); }
.reaction-btn.active .reaction-count { color: var(--text); }

.wall-report { position: relative; }
.wall-report > summary { list-style: none; cursor: pointer; }
.wall-report > summary::-webkit-details-marker { display: none; }
.wall-report[open] > summary { border-color: var(--danger); }
.wall-report-form {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 30;
    width: 280px; background: var(--bg-3); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: .9rem; box-shadow: var(--shadow);
}
.wall-report-form select, .wall-report-form textarea { width: 100%; margin-bottom: .6rem; font-size: .88rem; }
.wall-report-form textarea { resize: vertical; }

.comments { margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed var(--border); }
.comment { display: flex; gap: .6rem; margin-bottom: .7rem; }
.comment .avatar { width: 30px; height: 30px; font-size: .7rem; }
.comment-body {
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    border-radius: 12px; padding: .45rem .8rem; font-size: .88rem; flex: 1; min-width: 0;
    word-wrap: break-word;
}
.comment-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .1rem; }
.comment-author { color: var(--text); font-weight: 600; font-size: .85rem; }
.comment-author:hover { color: var(--accent-2); text-decoration: none; }
.comment-delete {
    background: none; border: none; color: var(--muted); cursor: pointer;
    font-size: .75rem; padding: 0 .2rem; margin-left: auto;
}
.comment-delete:hover { color: var(--danger); }

.comment-form { display: flex; gap: .5rem; align-items: center; }
.comment-form input { margin-bottom: 0; font-size: .88rem; padding: .5rem .8rem; }

@media (max-width: 640px) {
    .wall-report-form { width: 230px; }
}


/* ---------- Wall-Bilder & Profil-Galerie ---------- */
.wall-image {
    display: block; max-width: 100%; border-radius: var(--radius-sm);
    border: 1px solid var(--border); margin-top: .9rem;
    transition: border-color .2s;
}
a:hover .wall-image { border-color: var(--accent); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1rem; }
.gallery-grid a {
    display: block; border-radius: var(--radius-sm); overflow: hidden;
    border: 1px solid var(--border); aspect-ratio: 1; background: var(--bg);
}
.gallery-grid img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .25s;
}
.gallery-grid a:hover { border-color: var(--accent); text-decoration: none; }
.gallery-grid a:hover img { transform: scale(1.06); }

@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
