/* ============================================================================
   ProjectPlayCore – Workshop / Mod-Store (öffentlich, dunkles Store-Layout)
   Einbindung zusätzlich zu ppc-admin.css / ppc-app-admin Basis.
   ============================================================================ */

.workshop-store-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    box-sizing: border-box;
}

.ws-store-header {
    padding: 1.75rem 0 1.25rem;
    border-bottom: 1px solid #243447;
    margin-bottom: 1.25rem;
}

.ws-store-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.ws-store-lead {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 52rem;
    margin: 0 0 1.25rem 0;
}

.ws-store-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.ws-store-nav a {
    color: #f97316;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.ws-store-nav a:hover {
    text-decoration: underline;
}

.ws-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .ws-toolbar-row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 0.75rem 1rem;
    }
}

.ws-search-wrap {
    flex: 1;
    min-width: 200px;
}

.ws-search-wrap label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.ws-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #2d4a63;
    background: #141e28;
    color: #e8eef4;
    font-size: 0.95rem;
}

.ws-search-input:focus {
    outline: none;
    border-color: #f97316;
}

.ws-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: flex-end;
}

.ws-filter-field label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.ws-filter-field select {
    min-width: 10rem;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #2d4a63;
    background: #141e28;
    color: #e8eef4;
    font-size: 0.88rem;
}

.ws-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.ws-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #334155;
    background: #141e28;
    color: #cbd5e1;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ws-chip:hover {
    border-color: #f97316;
    color: #fff;
}

.ws-chip.is-active {
    background: rgba(249, 115, 22, 0.18);
    border-color: #f97316;
    color: #fdba74;
}

.ws-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 560px) {
    .ws-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .ws-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ws-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

article.ws-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    background: linear-gradient(165deg, #1a2838 0%, #141e28 100%);
    border: 1px solid #243447;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

article.ws-card:hover {
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

article.ws-card:focus-within {
    border-color: rgba(249, 115, 22, 0.75);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.25);
}

.ws-card-cover {
    aspect-ratio: 16 / 9;
    background: #0f172a;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.ws-card-cover-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.ws-card-cover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ws-card-cover-img--empty {
    flex-direction: column;
    gap: 0.35rem;
    background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
    color: #64748b;
    font-size: 0.8rem;
}

.ws-card-cover-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    border: 1px dashed #475569;
    background: rgba(15, 23, 42, 0.6);
}

.ws-card-cover-empty-text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ws-card-body {
    padding: 0.85rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 0;
}

.ws-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.ws-card-title-link {
    color: inherit;
    text-decoration: none;
}

.ws-card-title-link:hover {
    color: #fdba74;
}

.ws-card-author {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.35rem;
    align-items: baseline;
}

.ws-card-author-label {
    color: #64748b;
}

.ws-card-author-link {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
}

.ws-card-author-link:hover {
    text-decoration: underline;
}

.ws-card-author-nolink {
    color: #94a3b8;
}

.ws-card-meta {
    font-size: 0.8rem;
    color: #94a3b8;
}

.ws-card-meta-block {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #64748b;
}

.ws-card-meta-line abbr {
    text-decoration: none;
    border-bottom: 1px dotted #475569;
    cursor: help;
}

.ws-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid #1e293b;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fdba74;
    text-decoration: none;
}

.ws-card-cta:hover {
    color: #fff;
}

.ws-card-cta-arrow {
    transition: transform 0.15s ease;
}

article.ws-card:hover .ws-card-cta-arrow {
    transform: translateX(3px);
}

.ws-card--compact .ws-card-title {
    font-size: 0.95rem;
    min-height: 2.5em;
}

.ws-card--compact .ws-card-body {
    padding: 0.65rem 0.75rem 0.85rem;
}

.ws-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.ws-pill {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.ws-pill--muted {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.2);
}

.ws-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #1e293b;
    font-size: 0.75rem;
    color: #64748b;
}

.ws-stat-placeholder {
    color: #475569;
}

/* Detail */
.ws-detail-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.ws-detail-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 880px) {
    .ws-detail-hero {
        grid-template-columns: minmax(280px, 380px) 1fr;
        align-items: start;
    }
}

.ws-detail-cover {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #243447;
    background: #0f172a;
    aspect-ratio: 16 / 10;
}

.ws-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ws-detail-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.ws-detail-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.ws-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.65rem;
    margin: 1rem 0;
}

.ws-fact {
    background: #141e28;
    border: 1px solid #243447;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
}

.ws-fact-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.ws-fact-value {
    font-size: 0.88rem;
    color: #e2e8f0;
    font-weight: 600;
    word-break: break-word;
}

.ws-download-panel {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.12) 0%, #141e28 100%);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-top: 0.5rem;
}

.ws-download-panel h2,
.ws-download-panel h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    color: #fdba74;
}

.ws-section {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #243447;
}

.ws-section h2 {
    font-size: 1.1rem;
    color: #f1f5f9;
    margin: 0 0 0.65rem 0;
}

.ws-prose {
    color: #cbd5e1;
    line-height: 1.65;
    font-size: 0.95rem;
    white-space: pre-wrap;
}

.ws-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.ws-gallery a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #243447;
}

.ws-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.ws-release-card {
    background: #141e28;
    border: 1px solid #243447;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.ws-release-card--primary {
    border-color: rgba(249, 115, 22, 0.45);
    background: linear-gradient(165deg, #1a2430 0%, #141e28 100%);
}

.ws-release-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.ws-release-version {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
}

.ws-release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* Publisher */
.ws-publisher-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, #1a2838 0%, #141e28 100%);
    border: 1px solid #243447;
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.ws-publisher-avatar {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f97316 0%, #c2410c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.ws-publisher-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0;
}

.ws-publisher-sub {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

.ws-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
    border: 1px dashed #334155;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.5);
}

/* ---- Store hub: Hero, Featured, Hub-Sections, Filter-Shell ---- */
.ws-hero {
    position: relative;
    margin: 0 -1rem 1.75rem;
    padding: 2.25rem 1.25rem 2.5rem;
    border-radius: 0 0 18px 18px;
    background:
        radial-gradient(ellipse 120% 80% at 20% 0%, rgba(249, 115, 22, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 90% 60% at 90% 30%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
        linear-gradient(165deg, #15202e 0%, #0f172a 55%, #0c1220 100%);
    border: 1px solid #243447;
    border-top: none;
    overflow: hidden;
}

.ws-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.ws-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
}

.ws-hero-eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #94a3b8;
    margin: 0 0 0.5rem;
}

.ws-hero-title {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 0.65rem;
    letter-spacing: -0.03em;
}

.ws-hero-lead {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.ws-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ws-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ws-hero-btn--primary {
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ws-hero-btn--primary:hover {
    filter: brightness(1.06);
}

.ws-hero-btn--ghost {
    background: rgba(15, 23, 42, 0.5);
    color: #e2e8f0;
    border: 1px solid #334155;
}

.ws-hero-btn--ghost:hover {
    border-color: #f97316;
    color: #fff;
}

.ws-featured {
    margin-bottom: 2rem;
}

.ws-section-head {
    margin-bottom: 1rem;
}

.ws-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 0.35rem;
}

.ws-section-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    max-width: 48rem;
    line-height: 1.5;
}

.ws-featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 720px) {
    .ws-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ws-featured-cell article.ws-card {
    height: 100%;
}

.ws-filter-shell {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.35) 0%, transparent 100%);
    border: 1px solid #243447;
    border-radius: 14px;
    padding: 1rem 1.1rem 1.15rem;
    margin-bottom: 1.75rem;
}

.ws-filter-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.85rem;
}

.ws-filter-title {
    font-size: 1rem;
    font-weight: 800;
    color: #e2e8f0;
    margin: 0;
}

.ws-sort-hint {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}

.ws-sort-hint strong {
    color: #fdba74;
}

.ws-btn-apply {
    margin-top: 1.15rem;
}

.ws-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0 0.5rem;
    padding: 0.5rem 0 0;
    border-top: 1px solid #1e293b;
}

.ws-active-filters-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.ws-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #fdba74;
    font-size: 0.78rem;
    font-weight: 600;
}

.ws-filter-pill-x {
    color: #fca5a5;
    text-decoration: none;
    font-weight: 800;
    line-height: 1;
}

.ws-filter-pill-x:hover {
    color: #fff;
}

.ws-filter-reset {
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 600;
    color: #38bdf8;
    text-decoration: none;
}

.ws-filter-reset:hover {
    text-decoration: underline;
}

.ws-sort-legend {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0.65rem 0 0;
}

.ws-hub-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.ws-hub-block-head {
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #1e293b;
}

.ws-hub-block-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 0.2rem;
}

.ws-hub-block-sub {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}

.ws-hub-scroll {
    margin: 0 -1rem;
    padding: 0 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #334155 #0f172a;
}

.ws-hub-track {
    display: flex;
    gap: 0.85rem;
    padding-bottom: 0.35rem;
    min-width: min-content;
}

.ws-hub-card-wrap {
    flex: 0 0 min(260px, 78vw);
    max-width: 280px;
}

.ws-hub-card-wrap article.ws-card {
    height: 100%;
}

.ws-store-header--minimal {
    border-bottom: none;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

.ws-empty-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #e2e8f0;
    margin: 0 0 0.5rem;
}

.ws-empty-lead {
    margin: 0 0 1rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.ws-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.ws-empty-state--mods .ws-empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 12px;
    border: 2px dashed #475569;
    background: rgba(15, 23, 42, 0.6);
}

.ws-empty-state--inline {
    text-align: left;
    padding: 1rem 1.1rem;
    border-style: solid;
    background: rgba(15, 23, 42, 0.35);
}

.ws-empty-state--tight {
    margin-top: 0.5rem;
}

.ws-empty-code {
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
    background: #141e28;
    border: 1px solid #334155;
    font-size: 0.88em;
}

.ws-empty-icon--query {
    border: 2px dashed #475569;
    border-radius: 12px;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        rgba(71, 85, 105, 0.25) 6px,
        rgba(71, 85, 105, 0.25) 7px
    );
}

.ws-empty-icon--user {
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    background: linear-gradient(145deg, #334155 0%, #1e293b 100%);
    border: 1px solid #475569;
}

.ws-empty-icon--box {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 10px;
    background: #141e28;
    border: 1px solid #334155;
}

/* ---- Detail: Store-hero, Scan, Download-Gate, Galerie, Releases ---- */
.ws-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    margin: 0 0 1rem;
}

.ws-detail-breadcrumb a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.ws-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.ws-bc-sep {
    color: #475569;
}

.ws-bc-current {
    color: #94a3b8;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ws-detail-hero--store {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid #243447;
    background: linear-gradient(155deg, rgba(30, 41, 59, 0.4) 0%, #0f172a 100%);
}

@media (min-width: 900px) {
    .ws-detail-hero--store {
        grid-template-columns: minmax(300px, 440px) 1fr;
        align-items: start;
        gap: 2rem;
        padding: 1.5rem;
    }
}

.ws-detail-hero-visual {
    position: relative;
}

.ws-detail-cover--empty {
    aspect-ratio: 16 / 9;
}

.ws-detail-cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 200px;
    height: 100%;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 600;
}

.ws-detail-cover-ph-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    border: 2px dashed #334155;
    background: rgba(15, 23, 42, 0.5);
}

.ws-detail-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 0 0 0.35rem;
}

.ws-detail-by {
    color: #64748b;
    margin-right: 0.25rem;
}

.ws-detail-author-link {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
}

.ws-detail-author-link:hover {
    text-decoration: underline;
}

.ws-facts--compact {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
}

.ws-facts--compact .ws-fact {
    padding: 0.5rem 0.6rem;
}

.ws-facts--compact .ws-fact-value {
    font-size: 0.82rem;
}

.ws-scan-trust {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin: 0.5rem 0 1rem;
    border: 1px solid #334155;
    background: #141e28;
}

.ws-scan-trust-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.15);
}

.ws-scan-trust--ok {
    border-color: rgba(34, 197, 94, 0.45);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, #141e28 100%);
}

.ws-scan-trust--ok .ws-scan-trust-icon {
    background: rgba(34, 197, 94, 0.25);
}

.ws-scan-trust--pending {
    border-color: rgba(234, 179, 8, 0.45);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, #141e28 100%);
}

.ws-scan-trust--pending .ws-scan-trust-icon {
    background: rgba(234, 179, 8, 0.2);
}

.ws-scan-trust--warn {
    border-color: rgba(248, 113, 113, 0.45);
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.08) 0%, #141e28 100%);
}

.ws-scan-trust--warn .ws-scan-trust-icon {
    background: rgba(248, 113, 113, 0.2);
}

.ws-scan-trust-kicker {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.ws-scan-trust-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
}

.ws-scan-trust-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 0.35rem;
}

.ws-scan-trust-note {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.ws-download-panel {
    margin-top: 0.75rem;
}

.ws-download-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.ws-download-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fdba74;
}

.ws-download-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.ws-download-badge--guest {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    border-color: #475569;
}

.ws-download-lead {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0 0 0.85rem;
}

.ws-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
}

.ws-download-btn--cta {
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ws-download-btn--cta:hover {
    filter: brightness(1.05);
}

.ws-download-btn--soon {
    background: #1e293b;
    color: #64748b;
    border: 1px solid #334155;
    cursor: not-allowed;
}

.ws-download-foot {
    font-size: 0.75rem;
    margin: 0.65rem 0 0;
    color: #64748b;
}

.ws-section--gallery .ws-section-title {
    margin-bottom: 0.75rem;
}

.ws-gallery--premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.65rem;
}

.ws-gallery-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #243447;
    aspect-ratio: 16 / 10;
    background: #0f172a;
}

.ws-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.ws-gallery-item:hover img {
    transform: scale(1.04);
}

.ws-gallery-zoom {
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #e2e8f0;
    font-size: 0.85rem;
    border: 1px solid #334155;
}

.ws-deps-hint {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, #141e28 100%);
    margin-bottom: 0.85rem;
}

.ws-deps-hint-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    line-height: 1;
    color: #38bdf8;
}

.ws-deps-hint-title {
    font-weight: 800;
    color: #e0f2fe;
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
}

.ws-deps-hint-text {
    margin: 0;
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
}

.ws-deps-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.55;
}

.ws-deps-raw {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: #64748b;
}

.ws-deps-raw summary {
    cursor: pointer;
    font-weight: 600;
    color: #94a3b8;
}

.ws-code-block {
    margin: 0.5rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #0f172a;
    border: 1px solid #243447;
    color: #cbd5e1;
    font-size: 0.82rem;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ws-releases-intro {
    margin: 0 0 1rem;
    font-size: 0.85rem;
}

.ws-release-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ws-release-card {
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.ws-release-card-inner {
    padding: 1rem 1.1rem;
}

.ws-release-card--primary {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ws-release-card--older {
    opacity: 0.72;
    transform: scale(0.99);
    filter: saturate(0.92);
}

.ws-release-card--older .ws-release-card-inner {
    padding: 0.85rem 1rem;
}

.ws-release-ribbon {
    position: absolute;
    top: 0.65rem;
    right: -2.25rem;
    transform: rotate(38deg);
    background: linear-gradient(90deg, #ea580c, #f97316);
    color: #0f172a;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 2.5rem;
    pointer-events: none;
}

.ws-release-date {
    font-size: 0.82rem;
    color: #94a3b8;
}

.ws-release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.ws-release-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    font-size: 0.78rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid #243447;
    color: #cbd5e1;
}

.ws-release-pill-label {
    color: #64748b;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ws-release-changelog {
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}

.ws-detail-back {
    margin-top: 2rem;
}

.ws-detail-back a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
}

.ws-detail-back a:hover {
    text-decoration: underline;
}

/* Publisher erweitert */
.ws-publisher-hero--rich {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(249, 115, 22, 0.15) 0%, transparent 55%),
        linear-gradient(135deg, #1a2838 0%, #141e28 100%);
}

.ws-publisher-hero-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.ws-publisher-badge {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f97316;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.ws-publisher-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #243447;
}

.ws-publisher-stat {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid #243447;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    text-align: center;
}

.ws-publisher-stat--placeholder {
    opacity: 0.65;
}

.ws-publisher-stat-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #f1f5f9;
}

.ws-publisher-stat-label {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ws-publisher-grid-section .ws-section-title {
    margin-bottom: 1rem;
}

/* Override: Detail-Cover größer im Store-Layout */
.ws-detail-hero--store .ws-detail-cover {
    aspect-ratio: 16 / 9;
    min-height: 200px;
    border-radius: 14px;
}

@media (min-width: 900px) {
    .ws-detail-hero--store .ws-detail-cover {
        min-height: 260px;
    }
}

/* ---- Mod-Store: Overlay + Karten-Hit (kein Seitenwechsel) ---- */
.ws-card--overlay {
    position: relative;
    cursor: pointer;
}

.ws-card-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: inherit;
}

.ws-card--overlay .ws-card-cover,
.ws-card--overlay .ws-card-body {
    pointer-events: none;
}

.ws-card--overlay .ws-card-author-link {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.ws-card-title-text {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
}

article.ws-card.is-ppc-overlay-selected {
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35);
}

a.ws-card-author-link.is-ppc-overlay-selected {
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.45);
    border-radius: 6px;
}

article.ws-card--overlay:focus-within .ws-card-hit:focus-visible {
    outline: 2px solid rgba(249, 115, 22, 0.85);
    outline-offset: 2px;
}

.ws-modal-detail-link {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid #243447;
    text-align: center;
}

.ws-modal-detail-link a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
}

.ws-modal-detail-link a:hover {
    text-decoration: underline;
}

.ws-detail-hero--modal {
    border: none;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
}
