:root {
    --bg: #070a0e;
    --bg-2: #0b1018;
    --surface: #101722;
    --surface-2: #151f2d;
    --surface-3: #1d2a3a;
    --line: rgba(255,255,255,.1);
    --text: #f5f8fc;
    --muted: #9cabbd;
    --soft: #d8e2ef;
    --green: #45e0a0;
    --blue: #55a7ff;
    --yellow: #ffd166;
    --red: #ff6473;
    --shadow: 0 24px 80px rgba(0,0,0,.38);
}

body[data-theme="light"] {
    --bg: #f4f7fb;
    --bg-2: #e9eef6;
    --surface: #ffffff;
    --surface-2: #f1f5fa;
    --surface-3: #e4ebf5;
    --line: rgba(9,16,28,.13);
    --text: #0b1220;
    --muted: #536175;
    --soft: #263244;
    --green: #00a870;
    --blue: #1967d2;
    --yellow: #9d6900;
    --red: #c92a3a;
    --shadow: 0 24px 70px rgba(27,45,70,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background:
        linear-gradient(180deg, rgba(85,167,255,.12), transparent 460px),
        radial-gradient(circle at 15% 28%, rgba(69,224,160,.12), transparent 320px),
        var(--bg);
    color: var(--text);
}

body[data-theme="light"] {
    background:
        linear-gradient(180deg, rgba(25,103,210,.12), transparent 460px),
        radial-gradient(circle at 15% 28%, rgba(0,168,112,.14), transparent 320px),
        var(--bg);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img, video { max-width: 100%; }

.container {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.ticker {
    position: sticky;
    top: 0;
    z-index: 40;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 28px;
    padding: 8px 0;
    animation: ticker 32s linear infinite;
    color: var(--soft);
    font-size: 13px;
    font-weight: 700;
}

.ticker-track b { color: var(--green); }
@keyframes ticker { to { transform: translateX(-50%); } }

.header {
    position: sticky;
    top: 33px;
    z-index: 35;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #06100d;
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.brand-sub {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.nav-links a,
.icon-btn,
.lang-select,
.btn {
    border-radius: 8px;
}

.nav-links a {
    padding: 10px 12px;
    color: var(--soft);
    font-size: 14px;
    font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn,
.lang-select {
    height: 42px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    color: var(--text);
}

.lang-select option {
    background: var(--surface);
    color: var(--text);
}

.svg-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -3px;
}

.icon-btn {
    position: relative;
    width: 42px;
    display: inline-grid;
    place-items: center;
}

.lang-select { padding: 0 10px; }
.badge {
    position: absolute;
    right: -5px;
    top: -6px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--green);
    color: #04100c;
    font-size: 11px;
    font-weight: 900;
}

.hero {
    position: relative;
    min-height: calc(100vh - 110px);
    display: grid;
    align-items: center;
    padding: 58px 0 48px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,10,14,.93), rgba(7,10,14,.56), rgba(7,10,14,.9)),
        url("/assets/media/images/images.unsplash.com/ab5a95a4afe54403-photo-1511512578047-dfb367046420.jpg") center/cover;
    opacity: .9;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
    gap: 32px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(69,224,160,.35);
    border-radius: 999px;
    background: rgba(69,224,160,.1);
    color: #ddffef;
    font-size: 13px;
    font-weight: 900;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(69,224,160,.65);
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(69,224,160,0); } }

h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(40px, 7vw, 78px);
    line-height: .98;
    letter-spacing: 0;
}

.hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--soft);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

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

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: #03100d;
}
.btn-ghost {
    border-color: var(--line);
    background: rgba(255,255,255,.06);
    color: var(--text);
}
.btn-small {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
}

.hero-panel,
.card,
.game-card,
.product-card,
.stat,
.filter-card,
.article,
.faq-item,
.detail-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16,23,34,.84);
}

.hero-panel {
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.panel-head h2,
.section-title,
.detail-title {
    margin: 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.quick-link {
    min-height: 112px;
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.quick-link:nth-child(2n) { border-right: 0; }
.quick-link strong {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.quick-link span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    margin-top: 28px;
}

.stat { padding: 16px; }
.stat b {
    display: block;
    font-size: 28px;
}
.stat span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.section {
    padding: 74px 0;
}

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

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: 0;
}

.section-sub {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.catalog-head {
    align-items: start;
}

.catalog-title {
    font-size: clamp(42px, 6vw, 68px);
}

.catalog-toolbar {
    justify-content: flex-end;
    max-width: 760px;
}

.catalog-toolbar .search {
    min-width: min(100%, 560px);
}

.search {
    min-width: min(100%, 340px);
    height: 46px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.game-card {
    position: relative;
    min-height: 210px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
    text-align: left;
}

.game-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,8,12,.16), rgba(5,8,12,.95)), var(--cover, linear-gradient(135deg, #18283a, #0c121c));
    background-size: cover;
    background-position: center;
    opacity: .9;
}

.game-card > * { position: relative; }
.game-card h3 { margin: 0 0 8px; font-size: 22px; }
.game-card h3,
.game-card .btn,
.game-card .pill {
    color: #fff;
}

.pill {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: var(--soft);
    font-size: 12px;
    font-weight: 900;
}
.pill-green { border-color: rgba(69,224,160,.38); color: #ddffef; }
.pill-yellow { border-color: rgba(255,209,102,.42); color: #fff1bd; }
.pill-red { border-color: rgba(255,100,115,.45); color: #ffd8dd; }

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0,1fr);
    gap: 18px;
    align-items: start;
}

.filter-card {
    position: sticky;
    top: 126px;
    padding: 14px;
}

.filter-title {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.filter-list {
    display: grid;
    gap: 8px;
    max-height: 64vh;
    overflow: auto;
    padding-right: 3px;
}

.filter-btn {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
    color: var(--soft);
    padding: 0 10px;
    text-align: left;
    font-weight: 800;
}
.filter-btn.active,
.filter-btn:hover {
    border-color: rgba(69,224,160,.35);
    background: rgba(69,224,160,.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(135deg, rgba(69,224,160,.16), rgba(85,167,255,.12)),
        var(--surface-2);
    overflow: hidden;
}

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

.thumb-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--soft);
    font-weight: 900;
    text-align: center;
    padding: 20px;
}

.thumb-badges {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 8px;
}

.card-price b {
    color: var(--green);
    font-size: 20px;
}

.card-price span {
    color: var(--muted);
    font-size: 12px;
}

.product-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 13px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.favorite.active {
    color: var(--yellow);
    border-color: rgba(255,209,102,.5);
}

.empty {
    display: none;
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.info-grid,
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.article,
.detail-panel {
    padding: 18px;
}

.usage-section {
    padding-top: 44px;
}

.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.guide-card {
    min-height: 180px;
}

.guide-card p,
.faq-card p,
.usage-panel p,
.media-stat-card p,
.support-band p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.faq-card {
    padding: 16px;
    background: rgba(255,255,255,.045);
}

.faq-no {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(69,224,160,.14);
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.faq-card h3 {
    margin: 10px 0 0;
    font-size: 17px;
}

.usage-panel,
.support-band {
    margin-top: 14px;
    padding: 22px;
}

.media-stat-card h3 {
    margin: 8px 0 0;
    font-size: 22px;
}

.instructions-hero {
    padding: 70px 0 32px;
    text-align: center;
}

.instructions-hero-inner {
    max-width: 920px;
}

.instructions-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1;
}

.instructions-hero p {
    max-width: 760px;
    margin: 0 auto 28px;
    color: var(--muted);
    line-height: 1.8;
}

.instructions-search {
    width: min(100%, 760px);
    height: 48px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
}

.instructions-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.guide-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.software-chip.active,
.guide-tabs .software-chip.active {
    border-color: var(--green);
    color: var(--green);
    background: rgba(69,224,160,.12);
}

.instructions-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    gap: 18px;
    align-items: start;
    padding-bottom: 42px;
}

.instruction-group {
    margin-bottom: 22px;
}

.instruction-group h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 18px;
}

.instruction-group h2 span {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(69,224,160,.12);
    color: var(--green);
    font-size: 12px;
}

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

.instruction-row {
    width: 100%;
    min-height: 68px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    text-align: left;
}

.instruction-row:hover,
.instruction-row.active {
    border-color: rgba(69,224,160,.45);
    background: rgba(69,224,160,.08);
}

.instruction-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    color: var(--green);
}

.instruction-row b,
.instruction-row small {
    display: block;
}

.instruction-row small {
    margin-top: 4px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.instruction-arrow {
    color: var(--muted);
}

.instruction-detail {
    position: sticky;
    top: 126px;
}

.instruction-detail-sticky {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16,23,34,.9);
    box-shadow: var(--shadow);
}

.instruction-detail h2 {
    margin: 12px 0 8px;
    font-size: 28px;
}

.instruction-detail p {
    color: var(--muted);
    line-height: 1.75;
}

.guide-games {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.instruction-steps-list {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.instruction-steps-list article {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
}

.instruction-steps-list article > span {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(69,224,160,.13);
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.instruction-steps-list h3 {
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.instruction-steps-list p {
    margin: 0;
    font-size: 14px;
}

.instruction-subtitle {
    margin: 18px 0 10px;
    font-size: 16px;
}

.instruction-faq-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.instruction-faq {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
}

.instruction-faq h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

.instruction-faq p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.instructions-help {
    padding-bottom: 70px;
}

.instructions-index-layout {
    padding-bottom: 70px;
}

.guide-detail-hero {
    padding: 64px 0 26px;
}

.guide-detail-hero h1 {
    max-width: 980px;
    margin: 18px 0 14px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
}

.guide-detail-hero p {
    max-width: 920px;
    color: var(--muted);
    line-height: 1.85;
    font-size: 18px;
}

.guide-page-section {
    padding: 18px 0;
}

.guide-page-panel {
    padding: 24px;
}

.guide-page-panel h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.guide-page-panel p {
    color: var(--muted);
    line-height: 1.8;
}

.guide-focus-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.guide-focus-list article {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    color: var(--soft);
    line-height: 1.7;
}

.guide-focus-list .svg-icon {
    color: var(--green);
    margin-top: 3px;
}

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

.article h3,
.detail-panel h3 {
    margin: 0 0 10px;
}

.article p,
.detail-panel p,
.detail-copy {
    color: var(--muted);
    line-height: 1.8;
}

.instruction-panel {
    margin-top: 14px;
}

.software-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.software-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    color: var(--text);
    padding: 8px 12px;
    font: inherit;
    cursor: pointer;
}

.software-chip:hover {
    border-color: var(--green);
    color: var(--green);
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.guide-directory,
.guide-detail {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.guide-directory {
    max-height: 720px;
    overflow: auto;
    padding: 10px;
}

.guide-group + .guide-group {
    margin-top: 10px;
}

.guide-group h3 {
    margin: 0 0 6px;
    padding: 6px 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.guide-link {
    width: 100%;
    min-height: 38px;
    margin: 4px 0;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255,255,255,.035);
    color: var(--text);
    text-align: left;
    font-weight: 800;
}

.guide-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guide-link b {
    min-width: 28px;
    height: 22px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(69,224,160,.12);
    color: var(--green);
    font-size: 12px;
}

.guide-link:hover,
.guide-link.active {
    border-color: var(--green);
    background: rgba(69,224,160,.12);
}

.guide-detail {
    padding: 18px;
}

.guide-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.guide-head h3 {
    margin: 10px 0 8px;
    font-size: 28px;
}

.guide-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.guide-games {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 4px;
}

.guide-games span {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.instruction-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.instruction-steps.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.instruction-step {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.045);
    padding: 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
}

.instruction-step > span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(75, 210, 143, .15);
    color: var(--green);
    font-weight: 800;
    font-size: 12px;
}

.instruction-step h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

.instruction-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

body.guide-doc-page {
    --doc-bg: #e9e5dd;
    --doc-paper: #f7f4ee;
    --doc-panel: #fffaf0;
    --doc-line: rgba(92, 75, 46, .14);
    --doc-text: #222629;
    --doc-muted: #6f756f;
    --doc-soft: #494f4a;
    --doc-gold: #c89516;
    --doc-gold-2: #f2d58a;
    background:
        radial-gradient(circle at 50% -120px, rgba(255,255,255,.55), transparent 360px),
        linear-gradient(180deg, #eeeae2, var(--doc-bg));
    color: var(--doc-text);
}

.guide-doc-page .guide-doc-top {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--doc-line);
    background: rgba(233, 229, 221, .84);
    backdrop-filter: blur(18px);
}

.guide-doc-page .guide-doc-nav {
    width: min(1000px, calc(100% - 32px));
    min-height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.guide-doc-page .brand {
    color: var(--doc-text);
}

.guide-doc-page .brand-mark {
    width: 34px;
    height: 34px;
    background: #ece3cc;
    color: #775615;
    box-shadow: inset 0 0 0 1px var(--doc-line);
}

.guide-doc-page .brand-sub {
    color: var(--doc-muted);
}

.guide-doc-page .guide-doc-nav nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.guide-doc-page .guide-doc-nav nav a {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--doc-soft);
    font-size: 13px;
    font-weight: 800;
}

.guide-doc-page .guide-doc-nav nav a:hover {
    background: rgba(200, 149, 22, .12);
    color: #8b6110;
}

.guide-doc-hero {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 28px;
    text-align: center;
}

.guide-doc-icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #efe6d1;
    box-shadow: inset 0 0 0 1px var(--doc-line);
    font-size: 18px;
}

.guide-doc-hero h1 {
    max-width: 780px;
    margin: 0 auto 10px;
    color: #1f2528;
    font-size: clamp(28px, 4.2vw, 44px);
    line-height: 1.12;
    letter-spacing: 0;
}

.guide-doc-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--doc-muted);
    line-height: 1.8;
    font-weight: 700;
}

.guide-doc-line {
    width: 38px;
    height: 2px;
    margin: 22px auto 20px;
    border-radius: 999px;
    background: var(--doc-gold);
}

.guide-doc-buy {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #d8a31d, #b7820e);
    color: #2b1d02;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(133, 92, 12, .2);
}

.guide-doc-wrap {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto 54px;
    display: grid;
    gap: 16px;
}

.guide-doc-section,
.guide-callout {
    border: 1px solid var(--doc-line);
    border-radius: 8px;
    background: rgba(247, 244, 238, .9);
    box-shadow: 0 18px 42px rgba(76, 63, 43, .08);
}

.guide-doc-section {
    padding: 24px 28px;
}

.guide-doc-section h2 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--doc-line);
    color: #242928;
    font-size: 20px;
}

.guide-doc-section p {
    margin: 0;
    color: var(--doc-muted);
    line-height: 1.9;
    font-weight: 650;
}

.guide-doc-section ul,
.guide-doc-section ol {
    margin: 0;
    padding-left: 20px;
    color: var(--doc-soft);
    line-height: 1.9;
}

.guide-doc-section li + li {
    margin-top: 7px;
}

.guide-doc-section li::marker {
    color: var(--doc-gold);
}

.guide-callout {
    padding: 16px 20px;
    background: #f6eedb;
}

.guide-callout b {
    display: block;
    margin-bottom: 8px;
    color: #9a6508;
    font-size: 14px;
}

.guide-callout p {
    margin: 0;
    color: var(--doc-muted);
    line-height: 1.8;
    font-weight: 700;
}

.guide-doc-steps {
    counter-reset: guide-step;
    display: grid;
    gap: 12px;
    padding-left: 0 !important;
    list-style: none;
}

.guide-doc-steps li {
    counter-increment: guide-step;
    position: relative;
    padding-left: 44px;
}

.guide-doc-steps li::before {
    content: counter(guide-step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 2px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #efe2bd;
    color: #9a6508;
    font-size: 11px;
    font-weight: 900;
}

.guide-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.guide-chip-row span {
    padding: 7px 10px;
    border: 1px solid var(--doc-line);
    border-radius: 999px;
    background: #fbf8f1;
    color: #775615;
    font-size: 12px;
    font-weight: 850;
}

.guide-related-list {
    display: grid;
    gap: 8px;
}

.guide-related-list a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--doc-line);
    border-radius: 8px;
    background: #fbf8f1;
    color: var(--doc-soft);
    font-weight: 800;
}

.guide-related-list a:hover {
    border-color: rgba(200, 149, 22, .38);
    background: #fffaf0;
    color: #8b6110;
}

.guide-related-list span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guide-related-list i {
    flex: 0 0 auto;
    color: #b9820f;
    font-style: normal;
}

.guide-doc-actions .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.guide-doc-actions .btn {
    border-color: var(--doc-line);
}

.guide-doc-actions .btn-primary {
    background: linear-gradient(135deg, #d8a31d, #55a7ff);
    color: #111;
}

.guide-doc-actions .btn-ghost {
    background: #fbf8f1;
    color: var(--doc-soft);
}

.footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding: 48px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4,1fr);
    gap: 24px;
}

.footer h3,
.footer h4 { margin: 0 0 12px; }
.footer p,
.footer a {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}
.footer a { display: block; margin-bottom: 8px; }
.legal {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #788697;
    font-size: 12px;
    line-height: 1.7;
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 7vh 16px 16px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(10px);
}
.overlay.show { display: flex; }
.dialog {
    width: min(760px, 100%);
    max-height: 86vh;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.dialog-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.dialog-body { padding: 16px; }
.result-list { display: grid; gap: 10px; margin-top: 14px; }
.result-item {
    width: 100%;
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    color: var(--text);
    text-align: left;
}
.result-item img {
    width: 76px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-2);
}
.close-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    color: var(--text);
}

.product-page {
    padding: 46px 0 76px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 24px;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 22px;
    align-items: start;
}

.detail-title {
    font-size: clamp(36px, 6vw, 70px);
    line-height: 1;
}

.detail-media {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    overflow: hidden;
}

.media-stage {
    position: relative;
    background: var(--surface-2);
}

.main-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: var(--surface-2);
}

.media-nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(4, 10, 18, .68);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
    z-index: 2;
}

.media-nav:hover {
    background: rgba(37, 103, 255, .86);
    border-color: rgba(255,255,255,.5);
    transform: translateY(-50%) scale(1.04);
}

.media-prev { left: 12px; }
.media-next { right: 12px; }

.gallery-thumb {
    position: relative;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
}

.gallery-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 32%, transparent);
}

.generated-media {
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(69,224,160,.22), rgba(85,167,255,.12)),
        radial-gradient(circle at 70% 24%, rgba(255,209,102,.12), transparent 260px),
        #0b121d;
}

.generated-media-inner {
    width: min(620px, 100%);
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
        repeating-linear-gradient(90deg, rgba(69,224,160,.08) 0 1px, transparent 1px 36px),
        repeating-linear-gradient(0deg, rgba(85,167,255,.08) 0 1px, transparent 1px 36px);
    box-shadow: inset 0 0 60px rgba(69,224,160,.08), 0 22px 70px rgba(0,0,0,.38);
    text-align: center;
    padding: 22px;
}

.generated-media-title {
    display: block;
    font-size: clamp(28px, 5vw, 54px);
    line-height: 1;
    font-weight: 900;
}

.generated-media-sub {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-weight: 800;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    padding: 10px;
}

.gallery img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.video-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.video-shelf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 10px 12px;
}

.video-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface-2);
}

.video-card-head {
    padding: 8px 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: #000;
}

.price-grid,
.req-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.price-card,
.req-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
}

.price-card b {
    display: block;
    font-size: 24px;
    margin-top: 6px;
}

.price-card small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.price-card .price-buy {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    margin-top: 14px;
    padding: 0 14px;
    font-size: 15px;
}

.req-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.source-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 1050px) {
    .nav { grid-template-columns: auto auto; justify-content: space-between; }
    .nav-links {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 12px;
    }
    .hero-inner,
    .detail-hero { grid-template-columns: 1fr; }
    .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .product-grid,
    .info-grid,
    .article-grid,
    .guide-card-grid,
    .footer-grid,
    .instructions-layout,
    .guide-focus-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .guide-layout { grid-template-columns: 1fr; }
    .guide-directory { max-height: 420px; }
    .instruction-steps,
    .instruction-steps.compact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .header { top: 31px; }
    .nav { min-height: 66px; gap: 10px; }
    .brand-sub,
    .nav-links,
    .lang-select { display: none; }
    .hero { min-height: auto; padding: 42px 0 24px; }
    .hero h1 { font-size: clamp(38px, 11vw, 48px); }
    .quick-grid,
    .stats,
    .game-grid,
    .catalog-layout,
    .product-grid,
    .info-grid,
    .article-grid,
    .guide-card-grid,
    .faq-grid,
    .footer-grid,
    .instructions-layout,
    .guide-focus-list,
    .price-grid,
    .req-grid,
    .guide-layout,
    .instruction-steps,
    .instruction-steps.compact { grid-template-columns: 1fr; }
    .filter-card { position: static; }
    .instruction-detail { position: static; }
    .filter-list {
        grid-template-columns: repeat(2, minmax(0,1fr));
        max-height: 300px;
    }
    .section { padding: 54px 0; }
    .section-head { display: block; }
    .toolbar { margin-top: 16px; }
    .result-item { grid-template-columns: 64px 1fr; }
    .result-item .btn { grid-column: 1 / -1; }
    .gallery { grid-template-columns: repeat(2,1fr); }
    .guide-doc-page .guide-doc-nav {
        min-height: 58px;
        align-items: flex-start;
        padding: 10px 0;
    }
    .guide-doc-page .guide-doc-nav nav {
        display: none;
    }
    .guide-doc-hero {
        padding: 34px 0 20px;
    }
    .guide-doc-section {
        padding: 18px;
    }
    .guide-related-list a {
        align-items: flex-start;
    }
    .guide-related-list span {
        white-space: normal;
    }
}

/* GameHack home restore: match the previous wide first-screen layout. */
body[data-page="home"] .container {
    width: min(1760px, calc(100% - 96px));
}

body[data-page="home"] .ticker {
    height: 42px;
}

body[data-page="home"] .ticker-track {
    align-items: center;
    gap: 42px;
    padding: 9px 0;
    font-size: 16px;
    font-weight: 900;
}

body[data-page="home"] .ticker-track b {
    color: var(--green);
}

body[data-page="home"] .header {
    top: 42px;
    background: rgba(7, 10, 14, .9);
}

body[data-page="home"] .nav {
    min-height: 110px;
}

body[data-page="home"] .brand-mark {
    width: 60px;
    height: 60px;
}

body[data-page="home"] .brand strong {
    display: block;
    font-size: 22px;
}

body[data-page="home"] .brand-sub {
    font-size: 14px;
}

body[data-page="home"] .nav-links {
    gap: 14px;
}

body[data-page="home"] .nav-links a {
    padding: 14px 18px;
    font-size: 18px;
}

body[data-page="home"] .icon-btn,
body[data-page="home"] .lang-select {
    width: 60px;
    height: 60px;
    font-size: 22px;
}

body[data-page="home"] .lang-select {
    width: 90px;
    padding: 0 18px;
}

body[data-page="home"] .hero {
    min-height: calc(100vh - 152px);
    padding: 0;
}

body[data-page="home"] .hero-inner {
    grid-template-columns: minmax(0, 1fr) 810px;
    gap: 50px;
    align-items: center;
    min-height: calc(100vh - 152px);
    padding: 120px 0 95px;
}

body[data-page="home"] .hero h1 {
    font-size: clamp(72px, 6.2vw, 118px);
    letter-spacing: 0;
}

body[data-page="home"] .hero-subtitle {
    margin: 8px 0 0;
    color: var(--green);
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.05;
}

body[data-page="home"] .hero p {
    max-width: 820px;
    margin-top: 26px;
    font-size: clamp(23px, 1.6vw, 30px);
    line-height: 1.75;
}

body[data-page="home"] .eyebrow {
    margin-bottom: 34px;
    padding: 12px 18px;
    font-size: 18px;
}

body[data-page="home"] .actions {
    gap: 16px;
    margin-top: 42px;
}

body[data-page="home"] .btn {
    min-height: 62px;
    padding: 0 28px;
    font-size: 20px;
}

body[data-page="home"] .stats {
    max-width: 850px;
    gap: 16px;
    margin-top: 40px;
}

body[data-page="home"] .stat {
    min-height: 122px;
    padding: 24px;
    background: rgba(16, 23, 34, .78);
}

body[data-page="home"] .stat b {
    font-size: 42px;
    line-height: 1;
}

body[data-page="home"] .stat span {
    display: block;
    margin-top: 10px;
    font-size: 18px;
}

body[data-page="home"] .hero-panel {
    align-self: center;
    min-height: 475px;
    background: rgba(16, 23, 34, .72);
    backdrop-filter: blur(10px);
}

body[data-page="home"] .panel-head {
    min-height: 98px;
    padding: 30px;
}

body[data-page="home"] .panel-head h2 {
    font-size: 34px;
}

body[data-page="home"] .quick-grid {
    min-height: 375px;
}

body[data-page="home"] .quick-link {
    min-height: 188px;
    padding: 30px;
}

body[data-page="home"] .quick-link strong {
    margin-bottom: 16px;
    font-size: 24px;
}

body[data-page="home"] .quick-link span {
    font-size: 17px;
    line-height: 1.7;
}

body[data-page="home"] .catalog-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
}

body[data-page="home"] .filter-btn {
    min-height: 58px;
    padding: 0 18px;
    font-size: 18px;
}

body[data-page="home"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1200px) {
    body[data-page="home"] .container {
        width: min(100% - 32px, 1120px);
    }
    body[data-page="home"] .hero-inner {
        grid-template-columns: 1fr;
        padding: 58px 0;
    }
    body[data-page="home"] .hero-panel {
        min-height: 0;
    }
}

/* Home density pass: shrink layout spacing and surfaces while preserving text size. */
body[data-page="home"] .container {
    width: min(1680px, calc(100% - 76px));
}

body[data-page="home"] .ticker {
    height: 34px;
}

body[data-page="home"] .ticker-track {
    gap: 34px;
    padding: 7px 0;
}

body[data-page="home"] .header {
    top: 34px;
}

body[data-page="home"] .nav {
    min-height: 88px;
}

body[data-page="home"] .brand-mark {
    width: 50px;
    height: 50px;
}

body[data-page="home"] .icon-btn,
body[data-page="home"] .lang-select {
    width: 52px;
    height: 52px;
}

body[data-page="home"] .lang-select {
    width: 78px;
    padding: 0 14px;
}

body[data-page="home"] .hero {
    min-height: calc(100vh - 122px);
}

body[data-page="home"] .hero-inner {
    grid-template-columns: minmax(0, 1fr) 690px;
    gap: 40px;
    min-height: calc(100vh - 122px);
    padding: 88px 0 72px;
}

body[data-page="home"] .eyebrow {
    margin-bottom: 24px;
    padding: 10px 15px;
}

body[data-page="home"] .hero p {
    max-width: 760px;
    margin-top: 20px;
}

body[data-page="home"] .actions {
    gap: 14px;
    margin-top: 32px;
}

body[data-page="home"] .btn {
    min-height: 54px;
    padding: 0 22px;
}

body[data-page="home"] .stats {
    max-width: 760px;
    gap: 14px;
    margin-top: 30px;
}

body[data-page="home"] .stat {
    min-height: 98px;
    padding: 20px;
}

body[data-page="home"] .hero-panel {
    min-height: 390px;
}

body[data-page="home"] .panel-head {
    min-height: 78px;
    padding: 24px;
}

body[data-page="home"] .quick-grid {
    min-height: 312px;
}

body[data-page="home"] .quick-link {
    min-height: 156px;
    padding: 24px;
}

body[data-page="home"] .catalog-layout {
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
}

body[data-page="home"] .filter-btn {
    min-height: 52px;
    padding: 0 16px;
}

body[data-page="home"] .product-grid {
    gap: 18px;
}

@media (max-width: 1200px) {
    body[data-page="home"] .container {
        width: min(100% - 32px, 1120px);
    }

    body[data-page="home"] .hero-inner {
        grid-template-columns: 1fr;
        padding: 52px 0;
    }
}

@media (max-width: 720px) {
    body[data-page="home"] {
        overflow-x: hidden;
    }

    body[data-page="home"] .ticker {
        display: none;
    }

    body[data-page="home"] .container {
        width: calc(100% - 24px);
    }

    body[data-page="home"] .header {
        top: 0;
    }

    body[data-page="home"] .nav {
        min-height: 64px;
        grid-template-columns: auto 1fr;
        gap: 8px;
    }

    body[data-page="home"] .brand {
        gap: 9px;
        min-width: 0;
    }

    body[data-page="home"] .brand-mark {
        width: 42px;
        height: 42px;
    }

    body[data-page="home"] .brand strong {
        font-size: 18px;
        line-height: 1;
    }

    body[data-page="home"] .brand-sub,
    body[data-page="home"] .nav-links {
        display: none;
    }

    body[data-page="home"] .nav-actions {
        justify-content: flex-end;
        gap: 6px;
        min-width: 0;
    }

    body[data-page="home"] .icon-btn,
    body[data-page="home"] .lang-select {
        width: 42px;
        height: 42px;
    }

    body[data-page="home"] .lang-select {
        display: block;
        width: 62px;
        padding: 0 8px;
        font-size: 14px;
    }

    body[data-page="home"] .hero {
        min-height: auto;
        padding: 24px 0 28px;
    }

    body[data-page="home"] .hero-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: auto;
        padding: 26px 0 30px;
    }

    body[data-page="home"] .eyebrow {
        margin-bottom: 18px;
        padding: 9px 12px;
        font-size: 14px;
    }

    body[data-page="home"] .hero h1 {
        font-size: clamp(42px, 15vw, 58px);
        line-height: .95;
    }

    body[data-page="home"] .hero-subtitle {
        font-size: clamp(24px, 8vw, 34px);
    }

    body[data-page="home"] .hero p {
        max-width: none;
        margin-top: 18px;
        font-size: 18px;
        line-height: 1.65;
    }

    body[data-page="home"] .actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    body[data-page="home"] .btn {
        min-height: 50px;
        justify-content: center;
        padding: 0 12px;
        font-size: 16px;
    }

    body[data-page="home"] .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 24px;
    }

    body[data-page="home"] .stat {
        min-height: 88px;
        padding: 16px;
    }

    body[data-page="home"] .stat b {
        font-size: 32px;
    }

    body[data-page="home"] .stat span {
        font-size: 15px;
    }

    body[data-page="home"] .hero-panel {
        min-height: 0;
    }

    body[data-page="home"] .panel-head {
        min-height: 0;
        padding: 18px;
    }

    body[data-page="home"] .panel-head h2 {
        font-size: 24px;
    }

    body[data-page="home"] .quick-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    body[data-page="home"] .quick-link {
        min-height: 0;
        padding: 18px;
    }

    body[data-page="home"] .quick-link strong {
        font-size: 18px;
    }

    body[data-page="home"] .quick-link span {
        font-size: 15px;
    }

    body[data-page="home"] .section {
        padding: 42px 0;
    }

    body[data-page="home"] .section-title,
    body[data-page="home"] .catalog-title {
        font-size: clamp(34px, 11vw, 46px);
    }

    body[data-page="home"] .catalog-head {
        display: block;
    }

    body[data-page="home"] .catalog-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 16px;
    }

    body[data-page="home"] .catalog-toolbar .search {
        grid-column: 1 / -1;
    }

    body[data-page="home"] .catalog-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body[data-page="home"] .filter-card {
        position: static;
    }

    body[data-page="home"] .filter-list {
        grid-template-columns: 1fr;
        max-height: 280px;
    }

    body[data-page="home"] .filter-btn {
        min-height: 48px;
        padding: 0 14px;
        font-size: 16px;
    }

    body[data-page="home"] .product-grid,
    body[data-page="home"] .info-grid,
    body[data-page="home"] .article-grid,
    body[data-page="home"] .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body[data-page="home"] .product-card {
        min-width: 0;
    }
}
