/**
 * FINAL V18: dark mode redesign — hero layout, launcher-style buttons, full-width.
 *
 * SteamUnlocked – Single Game Page Styles (Dark Mode)
 * ====================================================
 * Complete rewrite from V17 (light mode) to match
 * site-wide dark theme and launcher aesthetic.
 *
 * Enqueue in functions.php:
 *   add_action('wp_enqueue_scripts', function() {
 *       if (is_single()) {
 *           wp_enqueue_style(
 *               'su-single-game',
 *               get_template_directory_uri() . '/css/single-game.css',
 *               array(),
 *               '2.0.0'
 *           );
 *       }
 *   });
 */


/* ==========================================================================
   DARK MODE BASE OVERRIDES
   Override parent theme's light-mode classes for single posts
   ========================================================================== */

.su-single-dark .blog-post {
    background: #0e0e0e !important;
    color: #d0d0d0;
}
.su-single-dark .blog-content {
    background: transparent !important;
    color: #d0d0d0 !important;
    padding: 0 !important;
    font-family: "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px;
    line-height: 1.6;
}
.su-single-dark .blog-info {
    border-bottom: none !important;
}
.su-single-dark .blog-post h1,
.su-single-dark .blog-post h2 {
    margin-left: 0;
}
.su-single-dark .comment-form {
    background: #0e0e0e;
}


/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.su-single-dark .su-section-heading {
    margin: 0 0 14px !important;
    color: #fff !important;
    font-family: "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(17px, 1.8vw, 20px) !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
    text-align: left !important;
}
/* Sections get their own horizontal padding since blog-content is flush */
.su-single-dark .su-section {
    margin-top: 32px;
    padding-left: 24px;
    padding-right: 24px;
}


/* ==========================================================================
   HERO SECTION
   Cover art left, game info + download right
   ========================================================================== */

.su-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 24px;
    margin: 0 24px;
    align-items: start;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.su-hero__cover {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a2e;
}
.su-hero__cover-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.su-hero__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* Title row */
.su-hero__title-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.su-hero__title {
    flex: 1;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(20px, 2.4vw, 26px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
    text-align: left !important;
}

/* Chips */
.su-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.su-hchip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.su-hchip--genre {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.08);
    border: 1px solid rgba(192, 132, 252, 0.25);
}
.su-hchip--genre:hover {
    background: rgba(192, 132, 252, 0.14);
    border-color: rgba(192, 132, 252, 0.4);
    color: #d4a5ff;
    text-decoration: none;
}
.su-hchip--size {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.2);
}
.su-hchip--ver {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.2);
}
.su-hchip--views {
    color: #888;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   DOWNLOAD BUTTONS — Launcher Style
   ========================================================================== */

.su-hero__download {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    max-width: 380px;
}

/* Primary download — green, arrow icon + "Download (size)" */
.su-dl-primary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px !important;
    border: 1px solid #179b4c !important;
    border-radius: 8px !important;
    background: #22b85d !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: 0 4px 14px rgba(34, 184, 93, 0.25) !important;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease !important;
    animation: none !important;
}
.su-dl-primary::before,
.su-dl-primary::after {
    content: none !important;
    display: none !important;
}
.su-dl-primary:hover,
.su-dl-primary:focus-visible {
    background: #1faa55 !important;
    border-color: #158c44 !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(34, 184, 93, 0.35) !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}
.su-dl-primary:focus-visible {
    outline: 3px solid rgba(34, 184, 93, 0.3);
    outline-offset: 3px;
}
.su-dl-primary__icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.su-dl-primary__icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.su-dl-primary__icon svg * {
    fill: none !important;
    stroke: currentColor !important;
}
.su-dl-primary__text {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.su-dl-primary__size {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
}

/* Mirror + Torrent row */
.su-dl-alts {
    display: flex;
    gap: 8px;
}
.su-dl-alt {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease !important;
    animation: none !important;
}
.su-dl-alt::before,
.su-dl-alt::after {
    content: none !important;
    display: none !important;
}
.su-dl-alt svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.su-dl-alt--mirror {
    background: rgba(130, 80, 223, 0.08) !important;
    border: 1px solid rgba(130, 80, 223, 0.3) !important;
    color: #a78bfa !important;
}
.su-dl-alt--mirror:hover,
.su-dl-alt--mirror:focus-visible {
    background: rgba(130, 80, 223, 0.14) !important;
    border-color: rgba(130, 80, 223, 0.45) !important;
    color: #c4b5fd !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}
.su-dl-alt--torrent {
    background: rgba(239, 68, 68, 0.06) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #f87171 !important;
}
.su-dl-alt--torrent:hover,
.su-dl-alt--torrent:focus-visible {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}
.su-dl-alt:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.2);
    outline-offset: 3px;
}

/* Download warning (file down) */
.su-dl-warning {
    text-align: center;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: #fbbf24;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
}
.su-dl-warning a {
    color: #fbbf24;
    font-weight: 700;
    text-decoration: underline;
}
.su-dl-warning a:hover {
    color: #fcd34d;
}


/* ==========================================================================
   GAME OVERVIEW
   ========================================================================== */

.su-overview-body {
    font-size: 14px;
    color: #bbb;
    line-height: 1.65;
}
.su-overview-body p {
    margin-bottom: 12px;
}
.su-overview-body ul,
.su-overview-body ol {
    margin: 10px 0;
    padding-left: 24px;
}
.su-overview-body li {
    margin-bottom: 4px;
    color: #bbb;
}
.su-overview-body li::marker {
    color: #666;
}
.su-overview-body strong,
.su-overview-body b {
    color: #e0e0e0;
    font-weight: 600;
}
.su-overview-body em,
.su-overview-body i {
    color: #ccc;
}
/* --- Dark-mode normalizer for the_content() output ---
   Catches callout boxes, inline-styled divs, notice blocks,
   tables, blockquotes, etc. that authors paste in. */
.su-overview-body div[style],
.su-overview-body p[style],
.su-overview-body span[style],
.su-overview-body td[style],
.su-overview-body th[style] {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #ccc !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.su-overview-body div[style] strong,
.su-overview-body div[style] b,
.su-overview-body p[style] strong,
.su-overview-body p[style] b {
    color: #e0e0e0 !important;
}
.su-overview-body blockquote {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(255, 255, 255, 0.15);
    color: #ccc;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 6px;
}
.su-overview-body table {
    border-collapse: collapse;
    width: 100%;
    margin: 12px 0;
}
.su-overview-body th,
.su-overview-body td {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ccc;
}
.su-overview-body th {
    background: rgba(255, 255, 255, 0.06);
    color: #e0e0e0;
    font-weight: 600;
}
.su-overview-body tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}
.su-overview-body pre,
.su-overview-body code {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #d4d4d4 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: "Fira Code", "Consolas", monospace;
    font-size: 13px;
}
.su-overview-body pre {
    padding: 12px 16px;
    overflow-x: auto;
}
.su-overview-body hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}
.su-overview-body h1, .su-overview-body h2,
.su-overview-body h3, .su-overview-body h4,
.su-overview-body h5, .su-overview-body h6 {
    color: #e0e0e0 !important;
}
.su-overview-body a {
    color: #e2231a;
    text-decoration: underline;
}
.su-overview-body a:hover {
    color: #ff3b30;
}
.su-overview-body img {
    border-radius: 8px;
    margin: 8px 0;
    max-width: 100%;
    height: auto;
}
/* Hide the cover image from the_content — it's in the hero now */
.su-single-dark .su-section-overview .su-cover-image {
    display: none;
}


/* ==========================================================================
   INSTALLATION BOX
   ========================================================================== */

.su-single-dark .installation-box {
    margin-top: 10px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid #22b85d;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    color: #bbb;
    font-size: 13px;
    line-height: 1.5;
}
.su-single-dark .installation-box ol,
.su-single-dark .installation-box ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: install-step;
}
.su-single-dark .installation-box li {
    position: relative;
    margin: 0 0 8px !important;
    padding: 10px 12px 10px 42px !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    counter-increment: install-step;
    color: #bbb;
    transition: border-color 0.15s ease;
}
.su-single-dark .installation-box li:hover {
    border-color: rgba(34, 184, 93, 0.2);
}
.su-single-dark .installation-box li:last-child {
    margin-bottom: 0;
}
.su-single-dark .installation-box li::before {
    content: counter(install-step);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #888;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    line-height: 1;
}
.su-single-dark .installation-box a {
    color: #e2231a;
    font-weight: 700;
    text-decoration: underline;
}
.su-single-dark .installation-box a:hover {
    color: #ff3b30;
}
.su-single-dark .installation-box code {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.92em;
}


/* ==========================================================================
   SYSTEM REQUIREMENTS — 3-column grid
   ========================================================================== */

.su-single-dark .su-section-sysreq ul {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0;
    list-style: none;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.su-single-dark .su-section-sysreq li {
    min-width: 0;
    margin: 0;
    padding: 14px 16px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    color: #ccc;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: normal;
}
.su-single-dark .su-section-sysreq li:last-child:nth-child(odd) {
    grid-column: auto;
}
.su-single-dark .su-section-sysreq li strong {
    display: block !important;
    margin-right: 0;
    margin-bottom: 4px;
    color: #e2231a;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: inherit;
}


/* ==========================================================================
   SCREENSHOTS
   ========================================================================== */

.su-single-dark .su-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}
.su-single-dark .su-screenshot-grid--single {
    grid-template-columns: minmax(0, calc((100% - 8px) / 2));
    justify-content: center;
}
.su-single-dark .su-screenshot-item {
    min-width: 0;
    margin: 0;
}
.su-single-dark .su-screenshot-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: #111;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.su-single-dark .su-screenshot-trigger::after {
    content: "View";
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(4px);
    backdrop-filter: blur(6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.su-single-dark .su-screenshot-image {
    display: block;
    width: 100%;
    height: auto !important;
    border-radius: inherit;
    transition: transform 0.25s ease;
}
.su-single-dark .su-screenshot-trigger:hover,
.su-single-dark .su-screenshot-trigger:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.su-single-dark .su-screenshot-trigger:hover::after,
.su-single-dark .su-screenshot-trigger:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}
.su-single-dark .su-screenshot-trigger:hover .su-screenshot-image {
    transform: scale(1.015);
}
.su-single-dark .su-screenshot-trigger:focus-visible {
    outline: 3px solid rgba(226, 35, 26, 0.24);
    outline-offset: 3px;
}


/* ==========================================================================
   STATUS + LAUNCHER CTA STACK
   ========================================================================== */

.su-single-dark .su-status-launcher-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
    padding: 0 24px;
}
.su-single-dark .su-status-launcher-stack .su-mini-status,
.su-single-dark .su-status-launcher-stack .su-launcher-cta {
    margin: 0 !important;
}

/* Mini status — dark override */
.su-single-dark .su-mini-status {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-left: 3px solid #22b85d !important;
    color: #ccc !important;
    box-shadow: none !important;
}
.su-single-dark .su-mini-status__label {
    color: #666 !important;
}
.su-single-dark .su-mini-status__value {
    color: #ccc !important;
}
.su-single-dark .su-mini-status__cta {
    border-top-color: rgba(255, 255, 255, 0.07) !important;
    color: #888 !important;
}
.su-single-dark .su-mini-status__cta a {
    color: #ccc !important;
}
.su-single-dark .su-mini-status__cta a:hover {
    color: #22b85d !important;
}


/* ==========================================================================
   FAQ ACCORDION — Dark
   ========================================================================== */

.su-single-dark .su-section-faq {
    margin-top: 32px;
}
.su-single-dark .su-faq-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    overflow: hidden;
}
.su-single-dark .su-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.su-single-dark .su-faq-item:last-child {
    border-bottom: none;
}
.su-single-dark .su-faq-question {
    padding: 13px 40px 13px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.4;
    transition: background 0.15s ease;
    background: transparent;
}
.su-single-dark .su-faq-question:hover {
    background: rgba(255, 255, 255, 0.04);
}
.su-single-dark .su-faq-question::-webkit-details-marker {
    display: none;
}
.su-single-dark .su-faq-question::marker {
    content: '';
}
.su-single-dark .su-faq-question::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 7px;
    height: 7px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transition: transform 0.2s ease;
}
.su-single-dark .su-faq-item[open] > .su-faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.su-single-dark .su-faq-item:not([open]) > .su-faq-question::after {
    transform: translateY(-50%) rotate(-45deg);
}
.su-single-dark .su-faq-answer {
    padding: 0 16px 13px;
    font-size: 13px;
    line-height: 1.55;
    color: #999;
}
.su-single-dark .su-faq-answer p {
    margin: 0;
}
.su-single-dark .su-faq-answer a {
    color: #e2231a;
    font-weight: 600;
    text-decoration: underline;
}
.su-single-dark .su-faq-answer a:hover {
    color: #ff3b30;
}
.su-single-dark .su-faq-answer code {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.su-single-dark .su-faq-more {
    margin-top: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #888;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    text-align: center;
}
.su-single-dark .su-faq-more span {
    font-weight: 600;
    color: #ccc;
}
.su-single-dark .su-faq-more a {
    font-weight: 700;
    text-decoration: underline;
    color: #ccc;
}
.su-single-dark .su-faq-more a:hover {
    color: #e2231a;
}


/* ==========================================================================
   RELATED GAMES — horizontal 6-card row
   ========================================================================== */

.su-section-related {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.su-related-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.su-related-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.su-related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: inherit;
}
.su-related-thumb {
    width: 100%;
    overflow: hidden;
}
.su-related-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.su-related-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #ccc;
}


/* ==========================================================================
   LIBRARY CTA — Explore All Games
   ========================================================================== */

.su-library-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 24px 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #151820, #191c26);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #e50914;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    cursor: pointer;
}
.su-library-cta:hover {
    background: linear-gradient(135deg, #1a1d28, #1e212e);
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: #ff1a25;
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}
.su-library-cta__emoji {
    font-size: 32px;
    flex-shrink: 0;
}
.su-library-cta__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
}
.su-library-cta__label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 600;
}
.su-library-cta__text strong {
    color: #fff;
    font-size: 17px;
}
.su-library-cta__arrow {
    display: inline-block;
    transition: transform 0.2s;
}
.su-library-cta:hover .su-library-cta__label {
    color: rgba(255, 255, 255, 0.7);
}
.su-library-cta:hover .su-library-cta__text strong {
    color: #e2231a;
}
.su-library-cta:hover .su-library-cta__arrow {
    transform: translateX(4px);
}


/* ==========================================================================
   LAUNCHER CTA — "Skip the browser next time"
   ========================================================================== */

.su-launcher-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #151820, #191c26);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}
.su-launcher-cta__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}
.su-launcher-cta__content strong {
    font-size: 14px;
    color: #fff;
}
.su-launcher-cta__content span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}
.su-launcher-cta__button {
    padding: 9px 18px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    background: #e50914;
    border-radius: 6px;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.su-launcher-cta__button:hover {
    background: #ff1a25;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
}


/* ==========================================================================
   FAVORITE BUTTON
   ========================================================================== */

.su-favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease, filter 0.15s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.9)) drop-shadow(0 0 4px rgba(0,0,0,0.6)) drop-shadow(0 0 10px rgba(0,0,0,0.35));
    box-sizing: border-box;
    line-height: 1;
}
.su-favorite-btn:hover,
.su-favorite-btn:focus-visible {
    color: #fff;
    transform: scale(1.18);
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.95)) drop-shadow(0 0 6px rgba(0,0,0,0.7)) drop-shadow(0 0 12px rgba(0,0,0,0.4));
    outline: none;
}
.su-favorite-btn__icon {
    display: flex;
    width: 20px;
    height: 20px;
}
.su-favorite-btn__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.su-favorite-btn.is-saved {
    color: #ff4b4b;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)) drop-shadow(0 0 8px rgba(255,75,75,0.3));
}

/* Hero variant — position inside title row */
.su-favorite-btn--hero {
    flex-shrink: 0;
    margin-top: 2px;
}
.su-favorite-btn--hero:hover {
    transform: scale(1.12);
}


/* ==========================================================================
   FAVORITE TOAST
   ========================================================================== */

.su-favorite-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(16px);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(92vw, 520px);
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.94);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 14px;
    line-height: 1.3;
}
.su-favorite-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.su-favorite-toast__text {
    color: #fff;
    font-weight: 600;
}
.su-favorite-toast__link {
    color: #e2231a;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.su-favorite-toast__link:hover,
.su-favorite-toast__link:focus-visible {
    color: #ff3b30;
    text-decoration: underline;
}


/* ==========================================================================
   LIGHTBOX — same as V17 (already dark)
   ========================================================================== */

.su-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: zoom-out;
}
.su-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.su-lightbox__img {
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}
.su-lightbox__close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.su-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.su-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.su-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.25);
}
.su-lightbox__nav--prev {
    left: 16px;
}
.su-lightbox__nav--next {
    right: 16px;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 860px) {
    .su-hero {
        grid-template-columns: 220px 1fr;
        gap: 18px;
        padding: 16px 18px 24px;
        margin: 0 16px;
    }
    .su-related-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .su-single-dark .su-section-sysreq ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .su-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 14px 14px 20px;
        margin: 0 14px;
    }
    .su-single-dark .su-section {
        padding-left: 14px;
        padding-right: 14px;
    }
    .su-single-dark .su-status-launcher-stack {
        padding: 0 14px;
    }
    .su-single-dark .comment-form {
        padding: 0 14px;
    }
    .su-hero__cover {
        max-width: 240px;
        margin: 0 auto;
    }
    .su-hero__title {
        font-size: 20px !important;
        text-align: center !important;
    }
    .su-hero__title-row {
        justify-content: center;
    }
    .su-hero__chips {
        justify-content: center;
    }
    .su-dl-primary {
        padding: 12px 18px !important;
        font-size: 14px !important;
    }
    .su-dl-alts {
        flex-direction: column;
    }
    .su-single-dark .su-section-heading {
        text-align: center !important;
    }
    .su-single-dark .installation-box {
        padding: 12px;
        font-size: 12px;
    }
    .su-single-dark .installation-box li {
        padding: 9px 10px 9px 38px;
        margin-bottom: 6px;
    }
    .su-single-dark .installation-box li::before {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .su-single-dark .su-section-sysreq ul {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .su-single-dark .su-screenshot-grid,
    .su-single-dark .su-screenshot-grid--single {
        grid-template-columns: 1fr;
    }
    .su-related-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .su-related-name {
        font-size: 11px;
        padding: 6px 8px;
    }
    .su-single-dark .su-faq-question {
        padding: 11px 36px 11px 14px;
        font-size: 12px;
    }
    .su-single-dark .su-faq-answer {
        padding: 0 14px 11px;
        font-size: 12px;
    }
    .su-single-dark .su-launcher-cta {
        flex-wrap: wrap;
    }
    .su-single-dark .su-launcher-cta .su-launcher-cta__button {
        width: 100%;
        text-align: center;
    }
    .su-favorite-btn {
        width: 24px;
        height: 24px;
    }
    .su-favorite-btn__icon {
        width: 17px;
        height: 17px;
    }
    .su-favorite-toast {
        bottom: 16px;
        padding: 11px 14px;
        border-radius: 18px;
        font-size: 13px;
    }
    .su-library-cta {
        margin-left: 14px;
        margin-right: 14px;
        padding: 16px 20px;
        gap: 12px;
    }
    .su-library-cta__emoji {
        font-size: 26px;
    }
    .su-library-cta__label {
        font-size: 13px;
    }
    .su-library-cta__text strong {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .su-dl-primary,
    .su-dl-alt,
    .su-single-dark .su-screenshot-trigger,
    .su-single-dark .su-screenshot-trigger::after,
    .su-single-dark .su-screenshot-image,
    .su-related-card {
        transition: none !important;
    }
}
