/* Guide UI experiment. Remove this stylesheet to restore the previous design. */

body.guide-theme {
    --guide-surface: #111411;
    --guide-surface-raised: #161a16;
    --guide-line: rgba(255, 255, 255, 0.09);
    --guide-line-soft: rgba(255, 255, 255, 0.055);
    --guide-muted: #8e978e;
    --guide-copy: #c9cec9;
}

body.guide-theme .pixel-bg {
    opacity: 0.018;
}

body.guide-theme::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 72px 72px, 72px 72px;
}

.guide-page .games-header {
    min-height: 62px;
    padding: 11px 20px;
    background: rgba(10, 12, 10, 0.96);
    border-bottom: 1px solid rgba(88, 194, 74, 0.28);
    box-shadow: none;
    backdrop-filter: none;
}

.guide-page .games-header-content {
    max-width: none;
}

.guide-page .games-header-logo {
    width: 34px;
    height: 34px;
    filter: none;
}

.guide-page .games-header-title {
    min-width: 0;
}

.guide-page .games-header-title h1 {
    overflow: hidden;
    font-family: 'Oxanium', system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guide-page .btn-back {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--guide-line);
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: #b7beb7;
}

.guide-page .btn-back:hover {
    border-color: rgba(88, 194, 74, 0.45);
    background: rgba(88, 194, 74, 0.07);
    box-shadow: none;
    color: #fff;
    transform: none;
}

.guide-layout {
    background: rgba(0, 0, 0, 0.12);
}

/* Sidebar */
.guide-sidebar {
    width: 278px;
    top: 62px;
    height: calc(100vh - 62px);
    background: #0c0f0c;
    border-right: 1px solid var(--guide-line);
    box-shadow: none;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.guide-sidebar-hd {
    padding: 18px 16px 12px;
    background: transparent;
    border-bottom: 1px solid var(--guide-line-soft);
}

.guide-sidebar-hd-top {
    gap: 10px;
    margin-bottom: 12px;
}

.guide-sidebar-console-img {
    width: 42px;
    height: 42px;
    filter: none;
}

.guide-sidebar-console-name {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 650;
}

.guide-sidebar-console-sub,
.guide-sidebar-prog-label {
    color: #727b72;
}

.guide-sidebar-prog {
    height: 2px;
    background: rgba(255, 255, 255, 0.07);
}

.guide-sidebar-nav {
    padding: 8px 8px 24px;
}

.guide-sb-group {
    padding: 8px 0 4px;
    border-bottom: 0;
}

.guide-sb-group-hd {
    padding: 8px 8px;
    color: #687168;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.61rem;
    letter-spacing: 0;
}

.guide-sb-item,
.guide-sb-item.active {
    min-height: 38px;
    margin: 2px 0;
    padding: 7px 9px;
    border: 0;
    border-radius: 5px;
}

.guide-sb-item.enabled:hover {
    background: rgba(255, 255, 255, 0.045);
}

.guide-sb-item.active {
    background: rgba(88, 194, 74, 0.11);
    box-shadow: inset 2px 0 var(--guide-green);
}

.guide-sb-num {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.63rem;
}

.guide-sb-ico {
    width: 20px;
}

.guide-sb-item-txt {
    color: #929a92;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.76rem;
}

.guide-sb-item.active .guide-sb-item-txt {
    font-weight: 600;
}

.guide-presto {
    border: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.04);
}

/* Console overview */
.guide-console-main {
    padding: 34px clamp(20px, 3vw, 42px) 64px;
}

.guide-console-hero {
    gap: 22px;
    margin-bottom: 38px;
    padding: 8px 0 30px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--guide-line);
    border-radius: 0;
    box-shadow: none;
}

.guide-console-hero::before {
    display: none;
}

.guide-hero-img-wrap {
    width: 92px;
    height: 92px;
    border: 1px solid var(--guide-line);
    border-radius: 8px;
    background: var(--guide-surface);
}

.guide-hero-img {
    width: 74px;
    height: 74px;
    filter: none;
}

.guide-hero-info h2 {
    margin: 3px 0 7px;
    font-size: 1.35rem;
    text-shadow: none;
}

.guide-hero-info p {
    max-width: 680px;
    margin-bottom: 12px;
    color: var(--guide-muted);
}

.guide-hero-stat {
    text-align: left;
}

.guide-hero-stat-num {
    font-size: 1.12rem;
    text-shadow: none;
}

.guide-main-group {
    animation: none;
    opacity: 1;
    transform: none;
}

.guide-sections-wrap {
    gap: 40px;
}

.guide-main-group-hd {
    margin-bottom: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--guide-line-soft);
}

.guide-main-group-count {
    border: 0;
    background: transparent;
}

.guide-main-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 9px;
}

.guide-main-card,
.guide-main-card.enabled {
    min-height: 92px;
    padding: 14px;
    opacity: 1;
    transform: none;
    animation: none;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--guide-line);
    border-radius: 6px;
    box-shadow: none;
}

.guide-main-card.enabled:hover {
    border-color: rgba(88, 194, 74, 0.42);
    background: rgba(88, 194, 74, 0.055);
    box-shadow: none;
    transform: none;
}

.guide-mc-hd {
    margin-bottom: 8px;
}

.guide-mc-num {
    width: 24px;
    height: 24px;
    border-width: 1px;
    border-radius: 50%;
    background: transparent;
}

.guide-mc-title {
    margin-bottom: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.79rem;
}

.guide-tools {
    padding: 10px 12px;
    border: 1px solid var(--guide-line-soft);
    background: transparent;
    box-shadow: none;
}

/* Article layout */
.guide-article-main {
    padding: 34px clamp(20px, 4vw, 56px) 72px;
}

.guide-article {
    max-width: 920px;
    padding: 0;
}

.guide-breadcrumb {
    gap: 7px;
    margin-bottom: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.guide-breadcrumb a,
.guide-breadcrumb .current {
    color: #747d74;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.72rem;
}

.guide-breadcrumb .current {
    color: #9ca49c;
}

.guide-breadcrumb .sep {
    color: #404640;
}

.guide-art-header {
    margin-bottom: 28px;
    padding: 4px 0 28px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--guide-line);
    border-radius: 0;
    box-shadow: none;
}

.guide-art-header::before {
    display: none;
}

.guide-art-header-top {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.guide-art-header-top > div {
    min-width: 0;
}

.guide-art-header-top > i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(88, 194, 74, 0.22);
    border-radius: 7px;
    background: rgba(88, 194, 74, 0.075);
    font-size: 1.25rem;
    filter: none;
}

.guide-art-header h1 {
    max-width: 100%;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.guide-art-header .guide-art-sub {
    max-width: 720px;
    margin-top: 5px;
    color: var(--guide-muted);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.55;
}

.guide-art-actions {
    margin-top: 0;
}

.guide-art-tag {
    padding: 4px 8px;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.045) !important;
    color: #9fa79f !important;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.66rem;
}

.guide-toc {
    margin-bottom: 46px;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--guide-line);
    border-radius: 6px;
    box-shadow: none;
}

.guide-toc summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    color: #aeb5ae;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.76rem;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}

.guide-toc summary::-webkit-details-marker {
    display: none;
}

.guide-toc summary > i:first-child {
    color: var(--guide-green);
}

.guide-toc-chevron {
    margin-left: auto;
    color: #667066;
    transition: transform 0.18s ease;
}

.guide-toc:not([open]) .guide-toc-chevron {
    transform: rotate(-90deg);
}

.guide-toc ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 5px 8px 10px;
    border-top: 1px solid var(--guide-line-soft);
}

.guide-toc li a {
    min-height: 36px;
    padding: 7px 9px;
    border-radius: 4px;
    color: #858e85;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
}

.guide-toc li a:hover {
    background: rgba(88, 194, 74, 0.06);
    color: #dce1dc;
}

.guide-art-section {
    margin-bottom: 54px;
    scroll-margin-top: 84px;
}

.guide-art-section > h2 {
    margin-bottom: 20px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--guide-line);
    font-size: 1.12rem;
}

.guide-art-section > h2 i {
    font-size: 1rem;
}

.guide-art-section h3,
.guide-step-body h4,
.guide-faq-summary,
.guide-infobox-title {
    font-family: 'Inter', system-ui, sans-serif;
}

.guide-art-section p,
.guide-art-list li,
.guide-step-body p {
    color: var(--guide-copy);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.guide-step {
    gap: 16px;
    padding: 18px 18px 18px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 0;
    border-left: 2px solid rgba(88, 194, 74, 0.48);
    border-radius: 0 5px 5px 0;
    box-shadow: none;
}

.guide-step-num {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(88, 194, 74, 0.32);
    background: rgba(88, 194, 74, 0.1);
    box-shadow: none;
    color: var(--guide-green);
    filter: none;
}

.guide-note,
.guide-warning,
.guide-tip,
.guide-danger,
.guide-info-box,
.guide-advice-box,
.guide-brick-list,
.guide-spec-box,
.guide-wifi-specs,
.guide-cta-box,
.guide-file-tree,
.guide-faq-item,
.guide-tab-btn,
.guide-tab-placeholder,
.guide-tab-content-header {
    box-shadow: none;
}

.guide-img-media,
.guide-youtube-player {
    border: 1px solid var(--guide-line);
    border-radius: 6px;
    box-shadow: none;
}

.guide-art-nav {
    gap: 10px;
    border-top: 1px solid var(--guide-line);
}

.guide-art-nav-btn {
    padding: 14px 16px;
    background: transparent;
    border: 1px solid var(--guide-line);
    border-radius: 6px;
}

.guide-art-nav-btn:hover {
    border-color: rgba(88, 194, 74, 0.4);
    background: rgba(88, 194, 74, 0.045);
    transform: none;
}

.guide-page .games-footer {
    max-width: none;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--guide-line-soft);
    border-radius: 0;
    background: #0c0f0c;
    box-shadow: none;
}

@media (max-width: 900px) {
    .guide-page .games-header {
        min-height: 58px;
        padding: 9px 12px;
    }

    .guide-sidebar {
        top: 0;
        height: 100%;
        border-left: 1px solid var(--guide-line);
    }

    .guide-console-main,
    .guide-article-main {
        padding: 24px 16px 56px;
    }

    .guide-article {
        max-width: 760px;
    }
}

@media (max-width: 600px) {
    .guide-page .games-header-title h1 {
        font-size: 0.76rem;
    }

    .guide-console-main,
    .guide-article-main {
        padding: 18px 13px 48px;
    }

    .guide-breadcrumb {
        margin-bottom: 18px;
        white-space: nowrap;
        overflow: hidden;
    }

    .guide-breadcrumb a:not(:first-child),
    .guide-breadcrumb a:not(:first-child) + .sep {
        display: none;
    }

    .guide-art-header {
        padding: 2px 0 22px;
    }

    .guide-art-header-top {
        gap: 11px;
    }

    .guide-art-header-top > i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .guide-art-header h1 {
        font-size: 1.3rem;
    }

    .guide-art-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 38px;
        align-items: center;
        gap: 8px;
    }

    .guide-art-actions .guide-art-meta {
        display: flex;
        flex: 1;
        min-width: 0;
        gap: 6px;
        flex-wrap: wrap;
    }

    .guide-art-actions .guide-fav-toggle {
        width: 38px;
        min-width: 38px;
        height: 38px;
        padding: 0;
        flex: 0 0 auto;
    }

    .guide-art-actions .guide-fav-toggle span {
        display: none;
    }

    .guide-toc {
        margin-bottom: 36px;
    }

    .guide-toc ul {
        grid-template-columns: 1fr;
    }

    .guide-art-section {
        margin-bottom: 44px;
    }

    .guide-step {
        gap: 11px;
        padding: 15px 13px 15px 11px;
    }

    .guide-step-num {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .guide-art-section p,
    .guide-art-list li,
    .guide-step-body p {
        font-size: 0.86rem;
        line-height: 1.68;
    }

    .guide-art-section,
    .guide-art-section > *,
    .guide-step-body {
        min-width: 0;
        max-width: 100%;
    }

    .guide-console-hero {
        align-items: center;
        flex-direction: row;
        gap: 14px;
        padding: 4px 0 22px;
    }

    .guide-hero-img-wrap {
        width: 68px;
        height: 68px;
    }

    .guide-hero-img {
        width: 54px;
        height: 54px;
    }

    .guide-hero-info h2 {
        font-size: 1.05rem;
    }

    .guide-hero-info p {
        font-size: 0.78rem;
    }

    .guide-main-cards-grid {
        grid-template-columns: 1fr;
    }

    .guide-page .guide-art-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 38px;
        align-items: start;
        gap: 8px;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .guide-page .guide-art-actions .guide-art-meta {
        display: flex;
        min-width: 0;
        gap: 6px;
        flex: 1 1 auto;
        flex-wrap: wrap;
    }

    .guide-page .guide-art-tag {
        max-width: 100%;
        padding: 4px 7px;
        font-size: 0.6rem;
        line-height: 1.15;
    }

    .guide-page .guide-art-actions .guide-fav-toggle {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        align-self: start;
        justify-content: center;
        padding: 0;
    }

    .guide-page .guide-art-actions .guide-fav-toggle span {
        display: none;
    }
}
