* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #101014;
    color: #f4f4f5;
}

a {
    color: #8ab4ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0;
}

.page.narrow {
    width: min(460px, calc(100% - 32px));
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 48px;
    margin: 0 0 12px;
}

.hero p {
    font-size: 20px;
    color: #b8b8c0;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.button,
button {
    display: inline-block;
    border: 0;
    border-radius: 10px;
    background: #5865f2;
    color: white;
    padding: 12px 18px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}

.button:hover,
button:hover {
    background: #4752c4;
    text-decoration: none;
}

.button-secondary {
    background: #2b2b33;
}

.button-secondary:hover {
    background: #3a3a45;
}

.card {
    background: #18181f;
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 24px;
}

.card h1,
.card h2 {
    margin-top: 0;
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-weight: bold;
    margin-top: 8px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #333341;
    border-radius: 10px;
    background: #101014;
    color: #f4f4f5;
    padding: 12px;
    font-size: 15px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.alert {
    padding: 12px;
    border-radius: 10px;
    margin: 16px 0;
}

.alert-error {
    background: #3a1518;
    border: 1px solid #7f1d1d;
    color: #fecaca;
}

.small {
    color: #b8b8c0;
    font-size: 14px;
}

.topbar {
    height: 64px;
    border-bottom: 1px solid #2a2a35;
    background: #14141a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.topbar nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.topbar nav a {
    color: #d4d4d8;
}

.welcome {
    margin-bottom: 28px;
}

.welcome h1 {
    margin-bottom: 8px;
}

.welcome p {
    color: #b8b8c0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: #18181f;
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 20px;
}

.stat-card strong {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
}

.stat-card span {
    color: #b8b8c0;
    font-size: 14px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.entry-list {
    display: grid;
    gap: 14px;
}

.entry {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 14px;
    padding: 16px;
}

.entry h3 {
    margin: 0 0 8px;
}

.entry p {
    margin: 4px 0;
    color: #b8b8c0;
}

.entry-actions {
    white-space: nowrap;
}

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

    .topbar {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .topbar nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-head,
    .entry {
        flex-direction: column;
        align-items: flex-start;
    }
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    margin-top: 10px;
}

.checkbox-row input {
    width: auto;
}

.danger-link {
    color: #f87171;
}

.danger-link:hover {
    color: #fecaca;
}

.button-danger {
    background: #dc2626;
}

.button-danger:hover {
    background: #b91c1c;
}

hr {
    border: 0;
    border-top: 1px solid #2a2a35;
    margin: 24px 0;
}

.alert-success {
    background: #12351f;
    border: 1px solid #166534;
    color: #bbf7d0;
}

.profile-header {
    margin-bottom: 28px;
}

.profile-header h1 {
    margin-bottom: 4px;
}

.profile-bio {
    margin-top: 18px;
    color: #d4d4d8;
    line-height: 1.6;
}

.profile-section {
    margin-bottom: 28px;
}

.entry-notes {
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 1px solid #2a2a35;
    color: #d4d4d8 !important;
    line-height: 1.5;
}

.filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 24px;
}

@media (max-width: 700px) {
    .filter-form {
        grid-template-columns: 1fr;
    }
}

.dashboard-filter {
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
}

.badge-private {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #2b2b33;
    color: #d4d4d8;
    font-size: 12px;
    vertical-align: middle;
}

@media (max-width: 950px) {
    .dashboard-filter {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .dashboard-filter {
        grid-template-columns: 1fr;
    }
}

.part-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.part-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #333341;
    background: #101014;
    border-radius: 14px;
    padding: 16px;
}

.part-item h3 {
    margin: 0 0 8px;
}

.part-item p {
    margin: 4px 0;
    color: #b8b8c0;
}

@media (max-width: 620px) {
    .part-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.media-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.media-result-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 14px;
    padding: 14px;
}

.media-poster img,
.entry-cover img,
.cover-preview img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.media-poster {
    width: 110px;
}

.poster-placeholder,
.entry-cover-empty {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    background: #24242d;
    color: #8f8f9b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    font-size: 13px;
}

.media-result-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.media-result-content p {
    color: #b8b8c0;
    font-size: 14px;
    line-height: 1.4;
}

.cover-preview {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 18px;
    align-items: center;
    background: #121218;
    border: 1px solid #2a2a35;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
}

.cover-preview img {
    max-width: 130px;
}

.cover-preview p {
    color: #b8b8c0;
}

.entry-with-cover {
    align-items: flex-start;
}

.entry-cover {
    width: 86px;
    flex: 0 0 86px;
}

.entry-main {
    flex: 1;
}

@media (max-width: 700px) {
    .media-result-card {
        grid-template-columns: 90px 1fr;
    }

    .media-poster {
        width: 90px;
    }

    .cover-preview {
        grid-template-columns: 1fr;
    }

    .cover-preview img {
        max-width: 180px;
    }

    .entry-with-cover {
        display: grid;
        grid-template-columns: 80px 1fr;
    }

    .entry-actions {
        grid-column: 1 / -1;
    }
}
/* Feinschliff: kleinere Cover in Dashboard und öffentlichem Profil */
.entry-cover {
    width: 58px;
    flex: 0 0 58px;
}

.entry-cover img,
.entry-cover-empty {
    max-width: 58px;
}

.entry-cover-empty {
    font-size: 11px;
    min-height: 86px;
}

.entry-description {
    margin-top: 12px !important;
    color: #d4d4d8 !important;
    line-height: 1.5;
}

.inline-form {
    display: inline-block;
    margin: 0 0 8px;
}

.small-action {
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1;
}

.muted {
    color: #8f8f9b;
}

@media (max-width: 700px) {
    .entry-with-cover {
        grid-template-columns: 58px 1fr;
    }

    .entry-cover {
        width: 58px;
        flex-basis: 58px;
    }
}

/* Freunde, Gästebuch und private Nachrichten */
.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 18px;
}

.social-list,
.guestbook-list {
    display: grid;
    gap: 14px;
}

.social-item,
.guestbook-entry {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 14px;
    padding: 16px;
}

.guestbook-entry {
    display: block;
}

.social-item h3,
.guestbook-entry p {
    margin: 0 0 8px;
}

.guestbook-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
}

.guestbook-form {
    margin-bottom: 22px;
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.tab {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background: #2b2b33;
    color: #d4d4d8;
}

.tab.active {
    background: #5865f2;
    color: #fff;
}

.unread-message {
    border-color: #5865f2;
    background: #17172a;
}

.message-body {
    margin-top: 18px;
    line-height: 1.7;
    color: #e4e4e7;
    white-space: normal;
}

@media (max-width: 700px) {
    .social-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Landing Page */
.landing-body {
    background:
        radial-gradient(circle at top left, rgba(88, 101, 242, 0.25), transparent 34rem),
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 32rem),
        #101014;
}

.landing-nav {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
}

.landing-brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5865f2, #8b5cf6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.landing-nav nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.landing-nav nav a:not(.button) {
    color: #d4d4d8;
}

.button-small {
    padding: 9px 13px;
    font-size: 14px;
}

.button-large {
    padding: 14px 20px;
    font-size: 16px;
}

.landing-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: calc(100vh - 90px);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 54px 0 74px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(138, 180, 255, 0.35);
    background: rgba(88, 101, 242, 0.12);
    color: #aebcff;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 18px;
}

.landing-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-lead {
    max-width: 660px;
    margin: 24px 0 0;
    color: #d4d4d8;
    font-size: 20px;
    line-height: 1.6;
}

.landing-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.landing-actions.center {
    justify-content: center;
}

.trust-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
    color: #b8b8c0;
    font-size: 14px;
}

.hero-showcase {
    display: grid;
    gap: 18px;
}

.showcase-card,
.feature-card,
.profile-preview-card,
.mini-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(24, 24, 31, 0.82);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.showcase-main {
    border-radius: 24px;
    padding: 22px;
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 20px;
    transform: rotate(1deg);
}

.showcase-cover {
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    background: linear-gradient(150deg, #5865f2, #24242d 58%, #8b5cf6);
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.showcase-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #24242d;
    color: #d4d4d8;
    font-size: 13px;
    margin-bottom: 12px;
}

.showcase-main h2 {
    margin: 0 0 8px;
    font-size: 30px;
}

.showcase-main p {
    color: #b8b8c0;
}

.progress-bar {
    height: 10px;
    background: #2b2b33;
    border-radius: 999px;
    overflow: hidden;
    margin: 16px 0;
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5865f2, #8b5cf6);
}

.stars {
    color: #facc15 !important;
    letter-spacing: 2px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mini-card {
    border-radius: 18px;
    padding: 18px;
}

.mini-card strong {
    display: block;
    margin-bottom: 6px;
}

.mini-card span {
    color: #b8b8c0;
    font-size: 14px;
    line-height: 1.4;
}

.landing-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 76px 0;
}

.section-title {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-title h2,
.split-section h2,
.landing-final h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-title p,
.split-section p,
.landing-final p {
    color: #b8b8c0;
    font-size: 18px;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    border-radius: 20px;
    padding: 24px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #24242d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 23px;
}

.feature-card h3 {
    margin: 0 0 10px;
}

.feature-card p {
    color: #b8b8c0;
    line-height: 1.55;
    margin: 0;
}

.split-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.landing-checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.landing-checklist li {
    position: relative;
    padding-left: 30px;
    color: #d4d4d8;
}

.landing-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #8ab4ff;
    font-weight: 800;
}

.profile-preview-card {
    border-radius: 26px;
    padding: 24px;
}

.profile-preview-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.avatar-preview {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #5865f2, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
}

.profile-preview-head h3,
.profile-preview-head p {
    margin: 0;
}

.profile-preview-head p {
    color: #b8b8c0;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.preview-stats div {
    background: #121218;
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 14px;
}

.preview-stats strong,
.preview-stats span {
    display: block;
}

.preview-stats strong {
    font-size: 24px;
}

.preview-stats span {
    color: #b8b8c0;
    font-size: 13px;
}

.preview-entry {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 16px;
    padding: 14px;
    margin-top: 12px;
}

.preview-cover {
    width: 48px;
    height: 68px;
    border-radius: 10px;
    background: linear-gradient(160deg, #5865f2, #24242d);
    flex: 0 0 auto;
}

.preview-cover.alt {
    background: linear-gradient(160deg, #8b5cf6, #24242d);
}

.preview-entry p {
    margin: 4px 0 0;
    font-size: 14px;
}

.landing-final {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
    padding: 84px 0;
}

.landing-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 40px;
    color: #8f8f9b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
    .landing-hero,
    .split-section {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-main {
        transform: none;
    }
}

@media (max-width: 700px) {
    .landing-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-nav nav {
        gap: 12px;
    }

    .landing-hero {
        padding-top: 34px;
    }

    .landing-actions .button {
        width: 100%;
        text-align: center;
    }

    .showcase-main {
        grid-template-columns: 92px 1fr;
    }

    .showcase-grid,
    .feature-grid,
    .preview-stats {
        grid-template-columns: 1fr;
    }
}

/* Legal pages, footer and cookie notice */
.site-footer {
    width: min(1100px, calc(100% - 32px));
    margin: 32px auto 0;
    padding: 24px 0 36px;
    border-top: 1px solid #2a2a35;
    color: #8f8f9b;
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.site-footer-inner div {
    display: grid;
    gap: 4px;
}

.site-footer nav,
.landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer a,
.landing-footer a {
    color: #b8b8c0;
}

.legal-page .card {
    line-height: 1.65;
}

.legal-page h1 {
    margin-top: 0;
}

.legal-page h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-page code {
    background: #101014;
    border: 1px solid #333341;
    border-radius: 6px;
    padding: 2px 6px;
}

.legal-note {
    background: #241f12;
    border: 1px solid #7c5c15;
    color: #fde68a;
    border-radius: 12px;
    padding: 14px;
}

.legal-table-wrap {
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.legal-table th,
.legal-table td {
    border: 1px solid #333341;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: #121218;
}

.cookie-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
    background: #18181f;
    border: 1px solid #333341;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice p {
    margin: 6px 0 0;
    color: #b8b8c0;
    line-height: 1.45;
}

.button-small {
    padding: 9px 12px;
    font-size: 14px;
}

@media (max-width: 700px) {
    .site-footer-inner,
    .cookie-notice {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Community forum */
.forum-hero {
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.eyebrow {
    margin: 0 0 8px;
    color: #8ab4ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: bold;
}

.forum-hero-card {
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
}

.forum-hero-card strong {
    display: block;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 8px;
}

.forum-hero-card span {
    color: #b8b8c0;
}

.forum-filter {
    grid-template-columns: 2fr 1fr 1fr auto;
}

.forum-title-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 18px;
}

.forum-title-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 16px;
    border: 1px solid #2a2a35;
    background: #18181f;
    border-radius: 16px;
    padding: 14px;
}

.forum-title-cover {
    width: 76px;
    min-height: 112px;
    border-radius: 12px;
    background: #24242d;
    color: #8f8f9b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    font-size: 12px;
}

.forum-title-cover img {
    width: 100%;
    display: block;
}

.forum-title-body h2 {
    margin: 6px 0 8px;
    font-size: 19px;
}

.forum-title-meta,
.forum-rating-row,
.forum-mini-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.forum-title-meta span,
.forum-mini-stats span {
    border-radius: 999px;
    background: #24242d;
    color: #d4d4d8;
    padding: 4px 8px;
    font-size: 12px;
}

.forum-rating-row {
    margin-top: 12px;
}

.forum-rating-row span {
    color: #b8b8c0;
    font-size: 13px;
}

.forum-mini-stats {
    margin-top: 10px;
}

.title-detail-header {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.title-detail-cover {
    width: 150px;
    min-height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: #24242d;
    color: #8f8f9b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title-detail-cover img {
    width: 100%;
    display: block;
}

.title-detail-main h1 {
    margin-top: 0;
    margin-bottom: 10px;
}

.title-description {
    color: #d4d4d8;
    line-height: 1.6;
    margin-top: 18px;
}

.title-stats-grid {
    margin-bottom: 28px;
}

.community-entry-list {
    display: grid;
    gap: 12px;
}

.community-entry-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #2a2a35;
    border-radius: 14px;
    background: #121218;
    padding: 14px;
}

.community-entry-row p {
    color: #b8b8c0;
    margin: 6px 0 0;
}

.forum-comments {
    margin-top: 18px;
}

@media (max-width: 800px) {
    .forum-hero,
    .title-detail-header {
        grid-template-columns: 1fr;
    }

    .forum-filter {
        grid-template-columns: 1fr;
    }

    .title-detail-cover {
        width: 120px;
        min-height: 176px;
    }
}


/* Spoiler in title discussions */
.spoiler-reveal {
    display: inline-block;
    width: auto;
    max-width: 100%;
    margin: 2px 4px;
    padding: 4px 8px;
    border: 1px solid #3f3f4a;
    border-radius: 8px;
    background: #24242d;
    color: #f4f4f5;
    font: inherit;
    text-align: left;
    cursor: pointer;
    vertical-align: baseline;
}

.spoiler-reveal:hover {
    background: #30303a;
}

.spoiler-reveal .spoiler-content {
    display: none;
}

.spoiler-reveal.is-visible {
    background: #14141a;
    border-color: #5865f2;
}

.spoiler-reveal.is-visible .spoiler-cover {
    display: none;
}

.spoiler-reveal.is-visible .spoiler-content {
    display: inline;
}

.spoiler-warning {
    display: inline-block;
    margin-left: 6px;
    color: #fbbf24;
    font-size: 13px;
}


.nav-notification-link {
    position: relative;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 4px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.notification-list {
    display: grid;
    gap: 14px;
}

.notification-item {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 14px;
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 14px;
    padding: 16px;
}

.notification-item.is-unread {
    border-color: #5865f2;
    background: #151627;
}

.notification-icon {
    color: #8ab4ff;
    font-size: 18px;
    line-height: 1.2;
}

.notification-main h3 {
    margin: 4px 0 8px;
}

.notification-main p {
    margin: 4px 0;
    color: #b8b8c0;
    line-height: 1.5;
}

.notification-actions {
    min-width: 90px;
    text-align: right;
}

.link-button {
    display: inline;
    border: 0;
    background: transparent;
    color: #8ab4ff;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.link-button:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .notification-item {
        grid-template-columns: 24px 1fr;
    }

    .notification-actions {
        grid-column: 1 / -1;
        text-align: left;
    }
}


/* Moderation / Reports */
.report-link {
    display: inline-block;
    margin-top: 8px;
    color: #fbbf24;
    font-size: 13px;
}

.report-link:hover {
    color: #fde68a;
}

.moderation-inline-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.report-target-box {
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 14px;
    padding: 16px;
    margin: 18px 0;
}

.report-target-box blockquote,
.report-snapshot {
    border-left: 3px solid #5865f2;
    margin: 12px 0 0;
    padding: 10px 12px;
    background: #101014;
    color: #d4d4d8;
    border-radius: 8px;
    line-height: 1.5;
}

.moderation-stats {
    grid-template-columns: repeat(4, 1fr);
}

.moderation-filter {
    grid-template-columns: 1fr 1fr auto;
}

.moderation-list {
    display: grid;
    gap: 18px;
}

.moderation-item {
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 16px;
    padding: 18px;
}

.moderation-item.status-open {
    border-color: #7c2d12;
}

.moderation-item.status-reviewing {
    border-color: #854d0e;
}

.moderation-item.status-resolved {
    border-color: #166534;
}

.moderation-item.status-rejected {
    border-color: #52525b;
}

.moderation-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.moderation-item-head h3 {
    margin: 0 0 6px;
}

.moderation-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

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

    .moderation-item-head,
    .moderation-filter {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .moderation-stats {
        grid-template-columns: 1fr;
    }
}

.review-card {
    align-items: flex-start;
}

.review-card h3,
.entry-review-preview strong {
    margin-top: 8px;
    margin-bottom: 6px;
    color: #f4f4f5;
}

.entry-review-preview {
    margin-top: 12px;
    border-top: 1px solid #2a2a35;
    padding-top: 12px;
}

.entry-review-preview p,
.review-card p {
    line-height: 1.55;
}

.review-spoiler-box {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #7c2d12;
    background: #24150f;
    border-radius: 10px;
}

.review-spoiler-box strong {
    display: block;
    color: #fed7aa;
    margin-bottom: 8px;
}

/* Moderation dashboard */
.moderation-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.moderation-hero h1 {
    margin: 0 0 8px;
}

.moderation-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.moderation-stats {
    grid-template-columns: repeat(5, 1fr);
}

.stat-link {
    color: inherit;
    text-decoration: none;
}

.stat-link:hover {
    text-decoration: none;
    border-color: #5865f2;
}

.active-stat {
    border-color: #5865f2;
    background: #1d1d2a;
}

.empty-state {
    text-align: center;
    border: 1px dashed #333341;
    background: #121218;
    border-radius: 16px;
    padding: 36px 20px;
}

.empty-state-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    margin: 0 auto 14px;
    background: #12351f;
    border: 1px solid #166534;
    color: #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.empty-state h3 {
    margin: 0 0 8px;
}

.empty-state p {
    color: #b8b8c0;
    max-width: 560px;
    margin: 0 auto 18px;
    line-height: 1.5;
}

.moderation-filter {
    grid-template-columns: 1fr 1fr auto;
}

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

    .moderation-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .moderation-hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .moderation-filter {
        grid-template-columns: 1fr;
    }

    .moderation-stats {
        grid-template-columns: 1fr;
    }
}


/* Weitergucken-Bereich */
.continue-section {
    margin-bottom: 28px;
}

.continue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.continue-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 14px;
    padding: 14px;
}

.continue-cover {
    width: 54px;
}

.continue-cover img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.continue-cover-empty {
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    background: #24242d;
    color: #8f8f9b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
    font-size: 11px;
}

.continue-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.continue-content p {
    margin: 4px 0;
    color: #b8b8c0;
    font-size: 13px;
    line-height: 1.35;
}

.continue-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.compact-empty {
    padding: 18px;
}

@media (max-width: 620px) {
    .continue-grid {
        grid-template-columns: 1fr;
    }
}


/* Kalender / Veröffentlichungen */
.calendar-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.calendar-list {
    display: grid;
    gap: 16px;
}

.calendar-item {
    display: grid;
    grid-template-columns: 130px 58px 1fr auto;
    gap: 18px;
    align-items: center;
}

.calendar-date {
    border-radius: 14px;
    padding: 12px;
    background: #20202a;
    border: 1px solid #333341;
}

.calendar-date strong,
.calendar-date span {
    display: block;
}

.calendar-date span {
    color: #b8b8c0;
    font-size: 13px;
    margin-top: 4px;
}

.date-today {
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.10);
}

.date-soon {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.10);
}

.date-future {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.10);
}

.date-past {
    opacity: 0.72;
}

.calendar-cover {
    width: 58px;
}

.calendar-cover img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.calendar-cover-empty {
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    background: #24242d;
    color: #8f8f9b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    padding: 6px;
}

.calendar-content h2 {
    margin: 0 0 6px;
}

.calendar-content p {
    margin: 4px 0;
    color: #b8b8c0;
}

.calendar-mini-list {
    display: grid;
    gap: 10px;
}

.calendar-mini-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #2a2a35;
    background: #121218;
    color: #f4f4f5;
}

.calendar-mini-item:hover {
    text-decoration: none;
    background: #18181f;
}

.calendar-mini-date {
    display: inline-flex;
    min-width: 92px;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 8px;
    border: 1px solid #333341;
    font-size: 13px;
}

@media (max-width: 760px) {
    .calendar-toolbar,
    .calendar-item {
        display: block;
    }

    .calendar-date,
    .calendar-cover,
    .calendar-content,
    .calendar-actions {
        margin-bottom: 12px;
    }

    .calendar-cover {
        width: 72px;
    }

    .calendar-mini-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Sammlungen, Tags, Aktivitäten, Empfehlungen */
.collection-grid,
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.collection-card,
.recommendation-card,
.activity-item {
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 14px;
    padding: 16px;
}

.collection-card h3,
.recommendation-card strong {
    margin-top: 0;
}

.recommendation-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.recommendation-card:hover {
    text-decoration: none;
    border-color: #5865f2;
}

.recommendation-cover {
    width: 64px;
    aspect-ratio: 2 / 3;
    border-radius: 9px;
    overflow: hidden;
    background: #24242d;
    color: #8f8f9b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
}

.recommendation-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #333341;
    background: #1b1b24;
    color: #c7d2fe;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 13px;
}

.tag-pill:hover {
    background: #24243a;
    text-decoration: none;
}

.activity-list {
    display: grid;
    gap: 10px;
}

.compact-activity-list {
    gap: 8px;
}

.activity-item p {
    margin-bottom: 0;
}

.dashboard-extra-section {
    margin-bottom: 28px;
}

.collection-mini-form {
    display: grid;
    gap: 6px;
    margin-bottom: 8px;
}

.collection-mini-form select {
    min-width: 150px;
    padding: 8px;
    font-size: 13px;
}

@media (max-width: 700px) {
    .collection-grid,
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
}

/* Adminbereich */
.admin-hero {
    margin-bottom: 24px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.admin-tabs a {
    display: inline-block;
    padding: 9px 12px;
    border-radius: 999px;
    background: #121218;
    border: 1px solid #2a2a35;
    color: #d4d4d8;
}

.admin-tabs a.active,
.admin-tabs a:hover {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
    text-decoration: none;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-mini-list,
.admin-list,
.admin-title-list {
    display: grid;
    gap: 14px;
}

.admin-mini-row,
.admin-content-item,
.admin-title-card {
    border: 1px solid #2a2a35;
    background: #121218;
    border-radius: 14px;
    padding: 14px;
}

.admin-mini-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.admin-content-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.admin-content-item h3,
.admin-title-card h3 {
    margin-top: 0;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #2a2a35;
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

.admin-inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-inline-form select,
.admin-inline-form button {
    width: auto;
}

.admin-title-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
}

.admin-title-cover {
    width: 64px;
    flex-basis: 64px;
}

.admin-merge-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    margin-top: 12px;
}

.admin-merge-form label {
    width: 100%;
    margin: 0;
}

.admin-merge-form input {
    width: 140px;
}

@media (max-width: 850px) {
    .admin-grid-2 {
        grid-template-columns: 1fr;
    }

    .admin-content-item {
        flex-direction: column;
    }

    .admin-inline-form,
    .admin-merge-form {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-inline-form select,
    .admin-inline-form button,
    .admin-merge-form input {
        width: 100%;
    }
}


.pagination-summary {
    color: #b8b8c0;
    font-size: 14px;
    margin: 0 0 16px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 28px 0 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #18181f;
    border: 1px solid #2a2a35;
    color: #d4d4d8;
}

.pagination a:hover {
    background: #2b2b33;
    text-decoration: none;
}

.pagination .active {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
    font-weight: bold;
}

.alert-warning {
    background: #3a2a10;
    border: 1px solid #a16207;
    color: #fde68a;
}

.duplicate-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.duplicate-actions .button,
.duplicate-actions button {
    width: auto;
}

.nav-dropdown { position: relative; }
.nav-dropdown summary { cursor: pointer; padding: .55rem .7rem; border-radius: 8px; list-style: none; }
.nav-dropdown summary::after { content: ' ▾'; }
.nav-dropdown[open] summary { background: var(--card-bg, #28334a); }
.nav-dropdown > div { position: absolute; top: 100%; left: 0; min-width: 205px; z-index: 100; background: #182235; border: 1px solid #40506a; border-radius: 10px; padding: .5rem; box-shadow: 0 8px 24px #0006; }
.nav-dropdown > div a { display: block; padding: .7rem; }
#meine-liste, #weitergucken { scroll-margin-top: 100px; }
.external-notice { text-align:center; overflow-wrap:anywhere; }
@media(max-width:700px) { .nav-dropdown > div { position:static; } .topbar nav { flex-wrap:wrap; } }

/* Streaming buttons: visible names remain available if an image cannot load. */
.streaming-provider-list { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
.streaming-provider-button { display:inline-flex; align-items:center; gap:12px; min-height:60px; padding:10px 16px; border-radius:12px; text-align:left; }
.streaming-provider-logo { flex:0 0 40px; width:40px; height:40px; object-fit:contain; border-radius:8px; background:#fff; }
.streaming-provider-logo[hidden] { display:none; }
.streaming-provider-button small { display:block; font-size:.75rem; opacity:.75; }
.streaming-provider-unlinked { border:1px solid #40506a; }
@media(max-width:480px) { .streaming-provider-button { width:100%; box-sizing:border-box; } }

.forum-watchlist-add { font-size:11px; padding:5px 8px; border-radius:6px; line-height:1.2; }

.logo { display:inline-flex; align-items:center; gap:10px; }
.site-brand-logo { width:40px; height:40px; object-fit:contain; flex-shrink:0; }
.landing-brand-logo { width:48px; height:48px; object-fit:contain; }
.footer-brand { display:inline-flex; align-items:center; gap:8px; }
.footer-brand img { width:32px; height:32px; object-fit:contain; }

/* Firefox add-on installation links */
.firefox-addon-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; background:#6334c9; white-space:normal; }
.firefox-addon-button:hover { background:#7544de; }
.firefox-addon-button img { width:28px; height:28px; flex-shrink:0; }
.firefox-addon-card { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:24px 0; border:1px solid #7050b2; }
.firefox-addon-card h2 { margin:0 0 8px; font-size:1.2rem; }
.firefox-addon-card p { margin:0; }
.firefox-addon-card .firefox-addon-button { flex-shrink:0; }
.addon-landing { margin:24px 0 16px; }
.addon-landing p { margin-top:10px; }
@media(max-width:700px) { .firefox-addon-card { align-items:flex-start; flex-direction:column; gap:16px; } }
