/* Your Device Forum 0.1.0 – White/Blue theme layer */
:root{
    color-scheme:light;
    --yd-blue:#1976d2;
    --yd-blue-dark:#0d47a1;
    --yd-blue-soft:#eaf3ff;
    --yd-bg:#f4f7fb;
    --yd-surface:#ffffff;
    --yd-surface-alt:#f8fafc;
    --yd-border:#dbe4ef;
    --yd-text:#1f2937;
    --yd-muted:#64748b;
    --yd-danger:#c62828;
    --yd-success:#207a45;
    --yd-shadow:0 12px 32px rgba(31,64,104,.08);
}

body{
    background:linear-gradient(180deg,#f8fbff 0,#f4f7fb 460px,#eef3f8 100%);
    color:var(--yd-text);
}
body::before,body::after{display:none!important;animation:none!important}

.site-header{
    background:rgba(255,255,255,.94);
    border-bottom-color:var(--yd-border);
    box-shadow:0 3px 18px rgba(33,70,112,.07);
}
.forum-brand strong{color:#132238;letter-spacing:.055em}
.forum-brand span,.eyebrow,.footer-kicker{color:var(--yd-blue)}
.forum-nav a,.nav-user{color:#475569}
.forum-nav a:hover{background:var(--yd-blue-soft);color:var(--yd-blue-dark)}
.nav-register{background:var(--yd-blue)!important;color:#fff!important}
.nav-register:hover{background:var(--yd-blue-dark)!important;color:#fff!important}
.nav-messages{display:inline-flex!important;align-items:center;gap:6px}
.nav-messages span{
    min-width:19px;height:19px;display:inline-grid;place-items:center;padding:0 5px;border-radius:999px;
    background:var(--yd-blue)!important;color:#fff!important;font-size:9px;font-weight:900
}

.forum-main{min-height:60vh}
.forum-hero{
    position:relative;
    min-height:230px;
    overflow:hidden;
    border-color:#cfe0f2;
    background:
      radial-gradient(circle at 88% 25%,rgba(25,118,210,.17),transparent 28%),
      linear-gradient(120deg,#fff 0%,#f5faff 58%,#e7f2ff 100%);
    box-shadow:var(--yd-shadow);
}
.forum-hero::before{background-image:none!important;animation:none!important}
.forum-hero::after{
    content:"";
    position:absolute;
    inset:auto -45px -75px auto;
    width:260px;
    height:260px;
    border:42px solid rgba(25,118,210,.08);
    border-radius:50%;
    background:none!important;
}
.forum-hero-content{position:relative;z-index:1}
.forum-hero h1{color:#15253b}
.forum-hero p{color:var(--yd-muted)}
.category-title h2{color:#334155}
.forum-category{
    background:#f8fbff!important;
    border-color:#cfe0f2!important;
    box-shadow:0 10px 30px rgba(31,64,104,.065)!important;
}
.forum-category .category-title h2{
    background:linear-gradient(180deg,#fff,#edf6ff)!important;
    border-color:#b7d2ec!important;
    color:#24527f!important;
    box-shadow:0 7px 18px rgba(31,64,104,.10)!important;
}
.forum-category .category-title h2::after{
    border-color:#c6d9eb!important;
    background:linear-gradient(180deg,rgba(211,229,246,.72),rgba(248,251,255,0))!important;
}
.forum-category .forum-row{background:#fff!important}
.forum-category .forum-row:hover{background:#f7fbff!important}
.forum-category .subforum-inline-card{background:#f8fafc!important;border-color:#dbe4ef!important}

.forum-row,.topic-row,.forum-panel,.auth-card,.editor-card,
.profile-side,.profile-main,.community-footer-block,.footer-stat-card,
.guestbook-entry,.guestbook-form,.subforum-card,.subforum-inline-card,
.knowledge-category-card,.knowledge-article-list>a,.knowledge-search-results>a,
.knowledge-article,.blog-card,.blog-post-card,.gallery-card,.gallery-album-card,
.profile-game-card,.profile-guestbook-card,.reaction-menu{
    background:var(--yd-surface)!important;
    border-color:var(--yd-border)!important;
    color:var(--yd-text);
    box-shadow:0 7px 22px rgba(31,64,104,.055);
}
.forum-row:hover,.topic-row:hover,.subforum-card:hover,.subforum-inline-card:hover,
.knowledge-category-card:hover,.knowledge-article-list>a:hover,.knowledge-search-results>a:hover{
    background:#f8fbff!important;
    border-color:#9bc7ef!important;
    box-shadow:0 10px 25px rgba(25,118,210,.10);
}
.forum-title-link,.forum-last-topic,.topic-main h3 a,.breadcrumbs a,
.post-username,.guestbook-author-link,.knowledge-byline a{
    color:#1d4f85;
}
.forum-title-link:hover,.forum-last-topic:hover,.topic-main h3 a:hover,
.post-username:hover,.guestbook-author-link:hover{color:var(--yd-blue)}
.forum-info p,.topic-main p,.forum-last small,.breadcrumbs,.muted,
.forum-heading p,.footer-muted,.knowledge-hero p,.knowledge-category-header p,
.knowledge-category-meta p,.knowledge-article-list p,.knowledge-summary,
.profile-bio p,.guestbook-message{color:var(--yd-muted)!important}
.forum-stat span,.forum-last span,.profile-stats span{color:#77869a}
.forum-stat strong,.footer-stat-card strong,.profile-stats strong{color:var(--yd-blue)}
.forum-icon{background:var(--yd-blue-soft);color:var(--yd-blue)}
.forum-icon img,.subforum-inline-icon{filter:none}

.post-card{
    background:var(--yd-surface);
    border-color:var(--yd-border);
    box-shadow:var(--yd-shadow);
}
.post-user{
    background:linear-gradient(180deg,#f4f8fd,#eef4fa)!important;
    border-color:var(--yd-border);
}
.post-user span,.user-joined small,.post-body header,.post-body footer{color:#718096}
.post-body header,.post-body footer,.user-joined,.profile-details>div{border-color:#e2e8f0}
.post-content,.profile-bio p,.guestbook-message,.knowledge-content{color:#334155!important}
.avatar-placeholder,.profile-avatar-placeholder,.guestbook-avatar-placeholder{
    background:var(--yd-blue-soft)!important;
    color:var(--yd-blue)!important;
    box-shadow:inset 0 0 0 1px #c5ddf5!important;
}
.profile-roles,.post-body header a{color:var(--yd-blue)}
.profile-stats>div,.recent-users span{
    background:var(--yd-surface-alt)!important;
    border-color:var(--yd-border)!important;
}
.profile-game-placeholder{background:linear-gradient(145deg,#eef5fc,#dfeaf5)!important;color:#66839f!important}
.profile-game-title{color:#263a52!important}
.profile-games-empty{border-color:#cbd8e6!important;color:#64748b!important}
.profile-game-delete{background:#fff2f1!important;border-color:#e7aea8!important;color:#a52b2b!important}

.profile-tabs{background:#fff!important;border-color:var(--yd-border)!important;box-shadow:0 6px 18px rgba(31,64,104,.05)}
.profile-tabs a{color:#607086!important}
.profile-tabs a:hover{background:var(--yd-blue-soft)!important;color:var(--yd-blue-dark)!important}
.profile-tabs a.is-active{background:var(--yd-blue)!important;border-color:var(--yd-blue-dark)!important;color:#fff!important}
.profile-tabs a span{background:#dcecff!important;color:#155a9c!important}

/* Helle Galerie-Kategorien und Karten */
.gallery-category-block{
    background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)!important;
    border-color:#cfe0f2!important;
    box-shadow:0 10px 28px rgba(31,64,104,.065)!important;
}
.gallery-category-head h2{color:#20364f!important}
.gallery-category-head p,.gallery-category-empty,.gallery-empty{color:var(--yd-muted)!important}
.gallery-album-card,.gallery-image-card{
    background:#fff!important;
    border-color:var(--yd-border)!important;
    box-shadow:0 7px 20px rgba(31,64,104,.06)!important;
}
.gallery-album-card:hover{border-color:#8dbbe6!important;box-shadow:0 12px 28px rgba(25,118,210,.12)!important}
.gallery-album-cover,.gallery-image-link{background:#eaf1f8!important}
.gallery-album-placeholder{
    background:radial-gradient(circle at 50% 40%,rgba(25,118,210,.14),transparent 56%),#eef5fc!important;
}
.gallery-album-placeholder span{color:#6d9bc7!important}
.gallery-album-meta strong,.gallery-image-meta strong{color:#23364e!important}
.gallery-album-meta span,.gallery-image-meta p{color:var(--yd-muted)!important}
.gallery-album-meta small,.gallery-album-byline a{color:var(--yd-blue)!important}
.gallery-album-description{color:#475569!important}
.gallery-delete-button,.gallery-delete-album-form button{
    background:#fff2f1!important;border-color:#e7aea8!important;color:#a52b2b!important
}
.gallery-upload-details{
    margin-top:18px;
    padding:18px;
    border:1px solid #cbd8e6;
    border-radius:12px;
    background:#f8fbff;
    box-shadow:0 6px 18px rgba(31,64,104,.05)
}
.gallery-upload-details[hidden]{display:none!important}
.gallery-upload-details-head{margin-bottom:14px}
.gallery-upload-details-head h2{margin:0;color:#20364f;font-size:18px}
.gallery-upload-details-head p{margin:6px 0 0;color:#64748b;font-size:12px;line-height:1.5}
.gallery-upload-details-list{display:grid;gap:12px}
.gallery-upload-detail-card{
    padding:15px;
    border:1px solid #d6e0ea;
    border-radius:10px;
    background:#fff
}
.gallery-upload-file-name{
    display:block;
    margin-bottom:12px;
    color:#155a9c;
    font-size:13px;
    overflow-wrap:anywhere
}
.gallery-upload-detail-card label{display:block;color:#334155!important}
.gallery-upload-detail-card label+label{margin-top:12px}
.gallery-upload-detail-card input,.gallery-upload-detail-card textarea{
    width:100%;
    margin-top:6px;
    background:#fff!important;
    border-color:#c4d3e2!important;
    color:#1f2937!important
}
.gallery-upload-detail-card textarea{resize:vertical;min-height:92px}

/* Profilbereich: Meine Hardware */
.profile-hardware{margin-top:18px}
.profile-hardware-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.profile-hardware-head h2{margin:4px 0 0}
.profile-hardware-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.profile-hardware-count{
    flex:0 0 auto;padding:6px 10px;border:1px solid #b9d2ea;border-radius:999px;
    background:#eef7ff;color:#315f8f;font-size:10px
}
.profile-hardware-editor{
    margin:0 0 18px;border:1px solid #cbd8e6;border-radius:10px;background:#f8fbff;overflow:hidden
}
.profile-hardware-editor>summary{padding:12px 14px;cursor:pointer;color:#245b91;font-weight:800}
.profile-hardware-editor>.public-form{padding:0 14px 14px}
.profile-hardware-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-hardware-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.profile-hardware-card{
    display:flex;flex-direction:column;min-height:210px;padding:18px;border:1px solid var(--yd-border);
    border-radius:12px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 7px 22px rgba(31,64,104,.06)
}
.profile-hardware-card-head{display:flex;align-items:center;gap:13px;padding-bottom:14px;border-bottom:1px solid #e2e8f0}
.profile-hardware-icon{
    width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:11px;
    background:var(--yd-blue-soft);color:var(--yd-blue);font-size:24px
}
.profile-hardware-type{display:block;color:var(--yd-blue);font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.profile-hardware-card h3{margin:4px 0 0;color:#21364e;font-size:17px}
.profile-hardware-meta{margin:12px 0 0}
.profile-hardware-meta>div{display:grid;grid-template-columns:88px 1fr;gap:10px;padding:6px 0}
.profile-hardware-meta dt{color:#7b8a9c;font-size:10px;text-transform:uppercase}
.profile-hardware-meta dd{margin:0;color:#334155;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.profile-hardware-specs{margin-top:12px;padding:12px;border-radius:8px;background:#f1f6fb;color:#475569;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.profile-hardware-actions{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:16px}
.profile-hardware-actions form{margin:0}
.profile-hardware-actions a,.profile-hardware-actions button{min-height:31px;padding:6px 9px;font-size:9px}
.profile-hardware-delete{border:1px solid #e7aea8;border-radius:7px;background:#fff2f1;color:#a52b2b;cursor:pointer}
.profile-hardware-delete:hover{background:#ffe5e2}
.profile-hardware-empty{padding:20px;border:1px dashed #c4d4e4;border-radius:10px;background:#f8fbff;color:#64748b;text-align:center}

@media(max-width:700px){
    .profile-hardware-head{flex-direction:column}
    .profile-hardware-head-actions{justify-content:flex-start}
    .profile-hardware-form-grid,.profile-hardware-grid{grid-template-columns:1fr}
}

/* Eigenstaendige Hardware-Detailseite und Benchmarks */
.hardware-detail-hero{
    display:flex;align-items:center;justify-content:space-between;gap:20px;
    background:linear-gradient(115deg,#fff 0%,#eef7ff 100%)!important;
    border-color:#c7d8e9!important
}
.hardware-detail-hero h1{margin:5px 0 7px;color:#172b43}
.hardware-detail-hero p{margin:0;color:#64748b}
.hardware-detail-message{margin-bottom:16px}
.hardware-detail-editor,.hardware-detail-overview,.hardware-benchmarks{
    margin-top:18px;background:#fff!important;border-color:#cbd8e6!important
}
.hardware-detail-editor{padding:0!important;overflow:hidden}
.hardware-detail-editor>summary,.hardware-benchmark-editor>summary{
    padding:13px 15px;cursor:pointer;background:#eef7ff;color:#245b91;font-weight:800
}
.hardware-detail-editor[open]>summary,.hardware-benchmark-editor[open]>summary{border-bottom:1px solid #cbd8e6}
.hardware-detail-form{padding:15px}
.hardware-detail-form-grid,.hardware-benchmark-form-grid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
}
.hardware-detail-section-head{
    display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px
}
.hardware-detail-section-head h2{margin:4px 0 0;color:#20364f}
.hardware-detail-table-wrap{overflow-x:auto;border:1px solid #d7e2ed;border-radius:11px}
.hardware-detail-table{width:100%;border-collapse:collapse;background:#fff}
.hardware-detail-table th,.hardware-detail-table td{
    padding:13px 15px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top
}
.hardware-detail-table tr:last-child th,.hardware-detail-table tr:last-child td{border-bottom:0}
.hardware-detail-table th{
    width:220px;background:#f3f8fd;color:#315f8f;font-size:11px;text-transform:uppercase;letter-spacing:.04em
}
.hardware-detail-table td{color:#334155;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.hardware-detail-notes{
    margin-top:14px;padding:14px;border:1px solid #d7e2ed;border-radius:10px;background:#f8fbff
}
.hardware-detail-notes strong{display:block;color:#315f8f;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.hardware-detail-notes p{margin:7px 0 0;color:#475569;line-height:1.65}
.hardware-detail-empty{
    padding:20px;border:1px dashed #c4d4e4;border-radius:10px;background:#f8fbff;color:#64748b;text-align:center
}
.hardware-benchmark-editor{
    margin-bottom:16px;border:1px solid #cbd8e6;border-radius:10px;background:#f8fbff;overflow:hidden
}
.hardware-benchmark-form{padding:15px;background:#fff!important}
.hardware-benchmark-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:15px}
.hardware-benchmark-card{
    overflow:hidden;border:1px solid #d5e1ed;border-radius:12px;background:#fff;
    box-shadow:0 7px 20px rgba(31,64,104,.06)
}
.hardware-benchmark-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eaf1f8}
.hardware-benchmark-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.hardware-benchmark-image:hover img{transform:scale(1.025)}
.hardware-benchmark-content{padding:15px}
.hardware-benchmark-type{color:var(--yd-blue);font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.hardware-benchmark-card h3{margin:5px 0 13px;color:#21364e;font-size:17px}
.hardware-benchmark-score{padding:12px;border:1px solid #cfe0f2;border-radius:9px;background:#eef7ff}
.hardware-benchmark-score small,.hardware-benchmark-score strong{display:block}
.hardware-benchmark-score small{color:#64748b;font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.hardware-benchmark-score strong{margin-top:3px;color:#155a9c;font-size:21px;overflow-wrap:anywhere}
.hardware-benchmark-content time{display:block;margin-top:10px;color:#7b8a9c;font-size:10px}
.hardware-benchmark-content form{margin-top:12px}

.profile-rig-gallery,.hardware-comments{
    margin-top:18px;background:#fff!important;border-color:#cbd8e6!important
}
.profile-rig-upload{margin-bottom:16px}
.profile-rig-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.profile-rig-image-card{
    overflow:hidden;border:1px solid #d5e1ed;border-radius:12px;background:#f8fbff;
    box-shadow:0 7px 20px rgba(31,64,104,.06)
}
.profile-rig-image-card>a{display:block;aspect-ratio:4/3;overflow:hidden;background:#eaf1f8}
.profile-rig-image-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.profile-rig-image-card>a:hover img{transform:scale(1.025)}
.profile-rig-image-card form{margin:0;padding:10px}
.profile-rig-image-card form button{margin:0}

.hardware-comment-form{
    margin-bottom:17px;padding:15px;border:1px solid #d7e2ed;border-radius:10px;background:#f8fbff!important
}
.hardware-comment-login{
    margin-bottom:17px;padding:14px;border:1px solid #d7e2ed;border-radius:9px;background:#f8fbff;color:#526174
}
.hardware-comment-login a{color:var(--yd-blue);font-weight:800}
.hardware-comment-list{display:grid;gap:11px}
.hardware-comment{
    display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;padding:14px;
    border:1px solid #d9e3ed;border-radius:11px;background:#fff
}
.hardware-comment-avatar{
    width:46px;height:46px;display:grid;place-items:center;overflow:hidden;border:1px solid #bcd0e3;
    border-radius:50%;background:#eaf3ff;color:#155a9c;font-weight:900;text-decoration:none
}
.hardware-comment-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.hardware-comment-body{min-width:0}
.hardware-comment-body header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hardware-comment-body header a{color:#155a9c;font-weight:800;text-decoration:none}
.hardware-comment-body time{color:#7b8a9c;font-size:10px}
.hardware-comment-body p{margin:8px 0 0;color:#334155;line-height:1.65;overflow-wrap:anywhere}
.hardware-comment-body form{margin-top:9px}
.hardware-comment-delete{
    padding:5px 8px;border:1px solid #e7aea8;border-radius:7px;background:#fff2f1;color:#a52b2b;
    font:inherit;font-size:9px;cursor:pointer
}
.hardware-comment-delete:hover{background:#ffe5e2}

@media(max-width:700px){
    .hardware-detail-hero,.hardware-detail-section-head{align-items:flex-start;flex-direction:column}
    .hardware-detail-form-grid,.hardware-benchmark-form-grid{grid-template-columns:1fr}
    .hardware-detail-table th{width:135px}
    .profile-rig-image-grid{grid-template-columns:1fr}
    .hardware-comment{grid-template-columns:38px minmax(0,1fr)}
    .hardware-comment-avatar{width:38px;height:38px}
    .hardware-comment-body header{align-items:flex-start;flex-direction:column;gap:3px}
}

/* Öffentliches PC-Verzeichnis */
.hardware-directory-hero{min-height:195px}
.hardware-directory-panel{margin-top:18px}
.hardware-directory-head{
    display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px
}
.hardware-directory-head h2{margin:4px 0 0;color:#20364f}
.hardware-directory-search{
    margin-bottom:18px;padding:14px;border:1px solid #d7e2ed;border-radius:10px;background:#f8fbff
}
.hardware-directory-search label{display:block;margin-bottom:7px;color:#334155;font-size:11px;font-weight:800}
.hardware-directory-search>div{display:flex;align-items:center;gap:8px}
.hardware-directory-search input{
    flex:1;min-width:180px;height:40px;padding:0 12px;border:1px solid #cbd8e6;border-radius:8px;
    background:#fff;color:#1f2937;font:inherit
}
.hardware-directory-search input:focus{outline:2px solid rgba(25,118,210,.16);border-color:var(--yd-blue)}
.hardware-directory-search button,.hardware-directory-search .button-secondary{
    min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:8px;
    font:inherit;font-weight:800;text-decoration:none;white-space:nowrap
}
.hardware-directory-search button{border:1px solid var(--yd-blue-dark);background:var(--yd-blue);color:#fff;cursor:pointer}
.hardware-directory-search button:hover{background:var(--yd-blue-dark)}
.hardware-directory-table-wrap{overflow-x:auto;border:1px solid #d7e2ed;border-radius:11px}
.hardware-directory-table{width:100%;min-width:1050px;border-collapse:collapse;background:#fff}
.hardware-directory-table th,.hardware-directory-table td{
    padding:11px 12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:middle
}
.hardware-directory-table thead th{
    background:#eef6ff;color:#315f8f;font-size:9px;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap
}
.hardware-directory-table tbody tr:last-child td{border-bottom:0}
.hardware-directory-table tbody tr:hover{background:#f8fbff}
.hardware-directory-table td{max-width:235px;color:#475569;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.hardware-directory-system{min-width:210px}
.hardware-directory-system-link{display:flex;align-items:center;gap:10px;color:#20364f;text-decoration:none}
.hardware-directory-system-link:hover strong{color:var(--yd-blue)}
.hardware-directory-thumb{
    width:48px;height:42px;display:grid;place-items:center;flex:0 0 48px;overflow:hidden;
    border:1px solid #c9daeb;border-radius:8px;background:#eef5fc;font-size:20px
}
.hardware-directory-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.hardware-directory-member{color:#155a9c;font-weight:800;text-decoration:none}
.hardware-directory-member:hover{text-decoration:underline}
.hardware-directory-benchmark-count{
    display:inline-grid;min-width:28px;height:28px;place-items:center;padding:0 7px;border:1px solid #b9d2ea;
    border-radius:999px;background:#eef7ff;color:#315f8f;font-weight:800
}
.hardware-directory-details{color:var(--yd-blue);font-weight:800;text-decoration:none;white-space:nowrap}
.hardware-directory-details:hover{text-decoration:underline}
.hardware-directory-pagination{margin-top:16px}
.visually-hidden{
    position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
    overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}

@media(max-width:700px){
    .hardware-directory-head{flex-direction:column}
    .hardware-directory-search>div{align-items:stretch;flex-direction:column}
    .hardware-directory-search input{width:100%}
}

/* Private Nachrichten */
.private-message-hero,.private-message-conversation-head{
    display:flex;align-items:center;justify-content:space-between;gap:20px;
    background:linear-gradient(115deg,#fff 0%,#eef7ff 100%)!important;border-color:#c7d8e9!important
}
.private-message-hero h1,.private-message-conversation-head h1,.private-message-compose h1{
    margin:5px 0 7px;color:#172b43
}
.private-message-hero p{margin:0;color:#64748b}
.private-message-panel,.private-message-compose,.private-message-reply{margin-top:18px}
.private-message-section-head{
    display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px
}
.private-message-section-head h2{margin:4px 0 0;color:#20364f}
.private-conversation-list{display:grid;gap:9px}
.private-conversation-card{
    display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;
    border:1px solid #d8e2ed;border-radius:11px;background:#fff;color:inherit;text-decoration:none;
    transition:border-color .15s ease,box-shadow .15s ease,background .15s ease
}
.private-conversation-card:hover{border-color:#8dbbe6;background:#f8fbff;box-shadow:0 7px 20px rgba(25,118,210,.08)}
.private-conversation-card.is-unread{border-left:4px solid var(--yd-blue);background:#f5faff}
.private-message-avatar{
    width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border:1px solid #bdd2e6;
    border-radius:50%;background:#eaf3ff;color:#155a9c;font-weight:900
}
.private-message-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.private-conversation-copy{min-width:0;display:block}
.private-conversation-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.private-conversation-meta strong{color:#155a9c}
.private-conversation-meta time,.private-conversation-copy small{color:#7b8a9c;font-size:10px}
.private-conversation-copy b{display:block;margin-top:4px;color:#263a52;font-size:13px}
.private-conversation-copy small{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.private-message-unread{
    min-width:29px;height:29px;display:grid;place-items:center;padding:0 7px;border-radius:999px;
    background:var(--yd-blue);color:#fff;font-size:10px;font-weight:900
}
.private-message-open{color:var(--yd-blue);font-size:10px;font-weight:800;white-space:nowrap}
.private-message-alert{margin-top:16px}
.private-message-form{display:grid;gap:15px}
.private-message-form label{display:block}
.private-message-form input,.private-message-form select,.private-message-form textarea{width:100%;margin-top:7px}
.private-message-form textarea{resize:vertical;line-height:1.6}
.private-message-thread{display:grid;gap:13px;margin-top:18px}
.private-message-bubble{
    display:grid;grid-template-columns:48px minmax(0,760px);gap:11px;align-items:start
}
.private-message-bubble.is-own{grid-template-columns:minmax(0,760px) 48px;justify-content:end}
.private-message-bubble.is-own .private-message-avatar{grid-column:2;grid-row:1}
.private-message-bubble.is-own .private-message-bubble-content{grid-column:1;grid-row:1;background:#eaf4ff;border-color:#bcd6ef}
.private-message-bubble-content{
    padding:14px;border:1px solid #d7e2ed;border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(31,64,104,.05)
}
.private-message-bubble-content header{display:flex;align-items:center;justify-content:space-between;gap:15px}
.private-message-bubble-content header strong{color:#155a9c}
.private-message-bubble-content header time{color:#7b8a9c;font-size:9px}
.private-message-bubble-content>p{margin:9px 0 0;color:#334155;line-height:1.65;overflow-wrap:anywhere}
.private-message-image-attachment{
    display:block;max-width:420px;margin-top:13px;overflow:hidden;border:1px solid #c7d8e9;border-radius:9px;
    background:#f8fbff;color:#315f8f;text-decoration:none
}
.private-message-image-attachment img{display:block;width:100%;max-height:300px;object-fit:cover;background:#eaf1f8}
.private-message-image-attachment span{display:block;padding:8px 10px;font-size:10px;overflow-wrap:anywhere}
.private-message-file-attachment{
    display:flex;align-items:center;gap:9px;margin-top:13px;padding:10px;border:1px solid #c7d8e9;border-radius:9px;
    background:#f8fbff;color:#315f8f;text-decoration:none
}
.private-message-file-attachment>span{font-size:20px}.private-message-file-attachment strong{overflow-wrap:anywhere}
.private-message-file-attachment small{margin-left:auto;color:#7b8a9c;white-space:nowrap}
.private-message-reply h2{margin:4px 0 16px;color:#20364f}
.profile-message-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

@media(max-width:700px){
    .private-message-hero,.private-message-conversation-head,.private-message-section-head{align-items:flex-start;flex-direction:column}
    .private-conversation-card{grid-template-columns:40px minmax(0,1fr)}
    .private-conversation-card>.private-message-avatar{width:40px;height:40px}
    .private-message-unread,.private-message-open{grid-column:2}
    .private-message-bubble,.private-message-bubble.is-own{grid-template-columns:38px minmax(0,1fr)}
    .private-message-bubble .private-message-avatar{width:38px;height:38px}
    .private-message-bubble.is-own .private-message-avatar{grid-column:1}
    .private-message-bubble.is-own .private-message-bubble-content{grid-column:2}
    .private-message-bubble-content header{align-items:flex-start;flex-direction:column;gap:3px}
}

.public-form label,.guestbook-form label{color:#334155}
.public-form input,.public-form textarea,.public-form select,
.guestbook-form textarea,.knowledge-search input,.move-topic-form select,
.advanced-editor-textarea,.advanced-editor-toolbar select{
    background:#fff!important;
    color:var(--yd-text)!important;
    border-color:#cbd8e6!important;
}
.public-form input:focus,.public-form textarea:focus,.guestbook-form textarea:focus,
.knowledge-search input:focus,.advanced-editor-textarea:focus{
    outline:2px solid rgba(25,118,210,.16)!important;
    border-color:var(--yd-blue)!important;
}
.public-form button,.primary-action,.guestbook-form-footer button,
.knowledge-search button,.new-posts-notice-action{
    background:var(--yd-blue)!important;
    color:#fff!important;
}
.public-form button:hover,.primary-action:hover,.guestbook-form-footer button:hover,
.knowledge-search button:hover{background:var(--yd-blue-dark)!important}
.button-secondary{border-color:#b9c9da;color:#36516f;background:#fff}
.topic-flags span,.coming-soon{
    background:var(--yd-blue-soft)!important;
    color:#155a9c!important;
}
.form-alert{background:#fff3f2;border-color:#efb7b1;color:#9f2424}
.form-success{background:#edf9f1;border-color:#a8d8b8;color:#24633a}

.forum-community-footer{
    background:#eaf1f8;
    border-color:#d5e0eb;
}
.online-user{background:#edf9f1;border-color:#b8ddc4;color:#267044}
.site-footer{background:#fff;border-color:var(--yd-border);color:#718096}

.moderator-toolbar{background:#f2f7fd;border-color:#c8dcf0}
.mod-button{background:#fff;border-color:#9dbbda;color:#245b91}
.danger-link{color:var(--yd-danger)!important}
.guestbook-delete-form button{background:#fff3f2;border-color:#efb7b1;color:#a52b2b}

.new-posts-notice{
    border-color:#b9d7f3!important;
    background:linear-gradient(110deg,#fff,#eef7ff)!important;
    box-shadow:var(--yd-shadow);
}
.new-posts-notice-icon{
    background:var(--yd-blue)!important;border-color:var(--yd-blue-dark)!important;
    color:#fff!important;box-shadow:0 5px 14px rgba(25,118,210,.22)!important
}
.new-posts-notice-copy strong{color:#20364f!important}
.new-posts-notice-copy small{color:#64748b!important}
.new-posts-notice-action{
    background:var(--yd-blue)!important;border-color:var(--yd-blue-dark)!important;color:#fff!important
}
.new-posts-notice-action:hover{background:var(--yd-blue-dark)!important;border-color:#082f6e!important;color:#fff!important}

/* Spielebibliothek: Editor und Zaehler vollstaendig hell */
.profile-games-count{
    background:#eef7ff!important;border-color:#b9d2ea!important;color:#315f8f!important
}
.profile-game-editor{
    background:#f8fbff!important;border-color:#cbd8e6!important;box-shadow:none!important
}
.profile-game-editor>summary{
    background:#eef7ff!important;color:#245b91!important;border-bottom:1px solid transparent
}
.profile-game-editor[open]>summary{border-bottom-color:#cbd8e6!important}
.profile-game-editor>.public-form{background:#fff!important}
.profile-game-editor .public-form label{color:#334155!important}
.profile-game-editor .public-form small{color:#64748b!important}

/* Standard-Smiley-Auswahl im White/Blue-Theme */
.smiley-picker{
    background:#fff!important;border-color:#cbd8e6!important;color:#334155!important;
    box-shadow:0 7px 20px rgba(31,64,104,.06)!important
}
.smiley-picker-toggle,.smiley-picker:not(.is-collapsed) .smiley-picker-toggle{
    background:#f8fbff!important;color:#334155!important
}
.smiley-picker-toggle:hover{background:#eef7ff!important}
.smiley-picker-toggle-icon{background:var(--yd-blue-soft)!important;color:var(--yd-blue)!important}
.smiley-picker-toggle-arrow{color:#64748b!important}
.smiley-picker-content,.smiley-picker-tabs,.smiley-picker-panels{
    background:#fff!important;border-color:#dbe4ef!important
}
.smiley-tab{background:#f1f5f9!important;color:#526174!important}
.smiley-tab:hover{background:#eaf3ff!important;color:var(--yd-blue-dark)!important}
.smiley-tab.is-active{
    background:#fff!important;border-color:#b9d2ea!important;color:var(--yd-blue)!important
}
.smiley-picker .smiley-button{
    background:#f8fafc!important;border-color:#d6e0ea!important;box-shadow:none!important
}
.smiley-picker .smiley-button:hover{
    background:#eaf3ff!important;border-color:#8dbbe6!important;box-shadow:0 4px 10px rgba(25,118,210,.10)!important
}
.smiley-picker .smiley-button:focus-visible{outline:2px solid #5aa0df!important}

/* Smilies im Beitragseditor gut lesbar darstellen */
.smiley-panel{
    grid-template-columns:repeat(auto-fill,minmax(52px,1fr))!important;
    gap:8px!important
}
.smiley-picker .smiley-button{
    height:50px!important;
    padding:5px!important
}
.smiley-picker .smiley-button img{
    width:38px!important;
    height:38px!important;
    max-width:38px!important;
    max-height:38px!important;
    object-fit:contain!important
}
.forum-smiley{
    width:36px!important;
    height:36px!important;
    max-width:36px!important;
    max-height:36px!important;
    object-fit:contain!important
}

/* Admin-Auswahl fuer BBCode/HTML im hellen Seitendesign */
.admin-content-format{
    background:linear-gradient(110deg,#f8fbff,#eef7ff)!important;
    border-color:#bfd5e9!important;
    color:#334155!important;
    box-shadow:0 5px 15px rgba(31,64,104,.06)!important
}
.admin-content-format select{
    background:#fff!important;
    border-color:#c4d3e2!important;
    color:#1f2937!important
}
.admin-content-format small{color:#64748b!important}

@media(max-width:600px){
    .smiley-panel{grid-template-columns:repeat(auto-fill,minmax(46px,1fr))!important;gap:6px!important}
    .smiley-picker .smiley-button{height:46px!important}
    .smiley-picker .smiley-button img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important}
}

/* Zehn neutrale Beitragsreaktionen */
.post-reactions{border-color:#e2e8f0!important}
.post-reaction-count{
    background:#f8fafc!important;border-color:#d6e0ea!important;color:#526174!important
}
.post-reaction-count.is-own{
    background:#eaf3ff!important;border-color:#8dbbe6!important;color:#155a9c!important
}
.post-reaction-trigger,.post-reaction-login{
    background:#f8fafc!important;border-color:#cbd8e6!important
}
.post-reaction-trigger:hover,.post-reaction-login:hover,.post-reaction-trigger[aria-expanded="true"]{
    background:#eaf3ff!important;border-color:#7db2e2!important
}
.post-reaction-picker{
    display:grid!important;grid-template-columns:repeat(5,40px);gap:6px!important;
    width:max-content;max-width:calc(100vw - 42px);padding:8px!important;
    background:#fff!important;border-color:#cbd8e6!important;
    box-shadow:0 14px 34px rgba(31,64,104,.18)!important
}
.post-reaction-picker[hidden]{display:none!important}
.post-reaction-option:hover{
    background:#eaf3ff!important;border-color:#8dbbe6!important
}
.post-reaction-option.is-selected{
    background:#dcecff!important;border-color:#5aa0df!important;
    box-shadow:0 0 0 1px rgba(25,118,210,.08)!important
}
@media(max-width:420px){
    .post-reaction-picker{grid-template-columns:repeat(5,36px);gap:3px!important;padding:6px!important}
}

.forum-games-drawer,.forum-games-panel{
    color:var(--yd-text);
}
.forum-games-panel{
    background:#fff!important;
    border-color:#c7d8e9!important;
    box-shadow:-12px 0 35px rgba(25,60,98,.16)!important;
}
.forum-games-toggle{background:var(--yd-blue)!important;border-color:var(--yd-blue-dark)!important;color:#fff!important}
.forum-games-panel-head,.forum-games-note{border-color:#dbe4ef!important}
.forum-games-close{background:#f1f5f9!important;border-color:#cbd5e1!important;color:#475569!important}
.forum-games-links a{background:#f8fafc!important;border-color:#dbe4ef!important}
.forum-games-links a:hover{background:var(--yd-blue-soft)!important;border-color:#9bc7ef!important}
.forum-games-links strong{color:#24364d!important}
.forum-games-links small,.forum-games-intro{color:var(--yd-muted)!important}
.forum-game-dot{background:var(--yd-blue)!important;box-shadow:0 0 10px rgba(25,118,210,.3)!important}

.knowledge-category-image{background:#eaf1f8!important}
.knowledge-category-placeholder{
    background:radial-gradient(circle,rgba(25,118,210,.13),transparent 60%),#f5f9fd!important;
    color:var(--yd-blue)!important;
}
.knowledge-article>header{
    background:linear-gradient(105deg,#f4f9ff,#fff)!important;
    border-color:var(--yd-border)!important;
}
.knowledge-image-grid a{background:#edf2f7;border-color:var(--yd-border)}

.advanced-editor-toolbar,.advanced-editor-preview,.advanced-editor-preview-head,
.forum-spoiler,.forum-quote,.post-attachment-image,.post-attachment-file{
    background:#f8fafc!important;
    border-color:#d6e0ea!important;
    color:#334155!important;
}
.advanced-editor-toolbar button{background:#fff!important;border-color:#cbd5e1!important;color:#3f536b!important}
.advanced-editor-toolbar button:hover{background:var(--yd-blue-soft)!important;border-color:#8dbbe6!important;color:var(--yd-blue-dark)!important}
.forum-code{background:#172033!important;border-color:#26354e!important;color:#e6eef8!important}
.user-blog-description{color:var(--yd-muted)!important}
.user-blog-content{color:#334155!important}
.user-blog-description .forum-bbcode-heading,.user-blog-content .forum-bbcode-heading{color:#20364f!important}
.user-blog-description .forum-bbcode-link,.user-blog-content .forum-bbcode-link{color:var(--yd-blue)!important}
.user-blog-post{
    background:#fff!important;
    border-color:#cbd8e6!important;
    box-shadow:0 8px 24px rgba(31,64,104,.07)!important
}
.user-blog-post>header{
    background:linear-gradient(105deg,#f4f9ff 0%,#fff 72%)!important;
    border-bottom-color:#d7e2ed!important
}
.user-blog-post h2{color:#20364f!important}
.user-blog-post header small{color:#718096!important}
.user-blog-content{
    background:#fff!important;
    color:#334155!important
}
.user-blog-content strong,.user-blog-content b{color:#20364f}
.user-blog-content .forum-bbcode-list{color:#334155}
.user-blog-content .forum-bbcode-table-wrap{border-color:#cbd8e6;background:#fff}
.user-blog-content .forum-bbcode-table th{background:#eaf3ff;color:#245b91}
.user-blog-content .forum-bbcode-table td{background:#fff;color:#334155;border-color:#dbe4ef}
.user-blog-content .forum-bbcode-table tr:nth-child(even) td{background:#f8fbff}

/* Zitate vollstaendig in das helle Forum-Theme integrieren */
.forum-quote{
    background:#f8fbff!important;
    border-color:#c7d8e9!important;
    border-left-color:var(--yd-blue)!important;
    box-shadow:0 4px 14px rgba(31,64,104,.05)!important
}
.forum-quote-head{
    background:#eaf3ff!important;
    border-bottom-color:#c7d8e9!important;
    color:#526174!important
}
.forum-quote-head strong{color:#155a9c!important}
.forum-quote-body{
    background:#f8fbff!important;
    color:#3f4f63!important
}

/* Seitennavigation oberhalb und unterhalb von Themen aufhellen */
.topic-pagination{
    background:linear-gradient(110deg,#fff,#f2f7fd)!important;
    border-color:#c7d8e9!important;
    box-shadow:0 4px 14px rgba(31,64,104,.05)!important
}
.topic-pagination-info{color:#526174!important}
.topic-page-number,.topic-page-nav{
    background:#fff!important;
    border-color:#cbd8e6!important;
    color:#315f8f!important
}
.topic-page-number:hover,.topic-page-nav:hover{
    background:#eaf3ff!important;
    border-color:#8dbbe6!important;
    color:#0b4f91!important
}
.topic-page-number.is-current{
    background:var(--yd-blue)!important;
    border-color:var(--yd-blue-dark)!important;
    color:#fff!important;
    box-shadow:0 3px 9px rgba(25,118,210,.18)!important
}
.topic-page-ellipsis{color:#7b8da1!important}

/* Spielflaechen bleiben aus Lesbarkeitsgruenden dunkel; Rahmen und Karten folgen dem hellen Theme. */
.doom-runner-card,.doom-runner-scoreboard,.pixel-slayer-card,.pixel-slayer-side .forum-panel{
    background:#fff!important;
    border-color:var(--yd-border)!important;
    color:var(--yd-text)!important;
}
.doom-runner-hud>div,.pixel-slayer-hud>div,.doom-runner-leaderboard li{
    background:#f5f8fc!important;
    border-color:#dbe4ef!important;
}
.doom-runner-hud strong,.pixel-slayer-hud strong{color:#23364e!important}
.doom-runner-controls button{background:var(--yd-blue)!important;border-color:var(--yd-blue-dark)!important;color:#fff!important}

@media(max-width:700px){
    .site-header{position:relative}
    .header-inner{height:auto;min-height:76px;padding:14px 0;align-items:flex-start;gap:14px}
    .forum-brand{padding-top:4px}
    .forum-nav{max-width:66%}
    .forum-hero{min-height:190px;padding:26px}
}
