@font-face { font-family: GGLogo; src: url('../fonts/logo.woff2') format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: Roboto; src: url('../fonts/body.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
/* GUIDE·GAMES — композиция по предоставленным макетам. */
:root {
    color-scheme: light;
    --gg-bg: #f5f7fb;
    --gg-surface: #fff;
    --gg-soft: #f0f3f8;
    --gg-text: #172235;
    --gg-muted: #667287;
    --gg-border: #dfe5ee;
    --gg-blue: #0064ed;
    --gg-link: #005bd7;
    --gg-shadow: 0 12px 40px rgba(19, 40, 75, .06);
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --gg-bg: #03090f;
    --gg-surface: #090f17;
    --gg-soft: #0d151f;
    --gg-text: #f0f2f6;
    --gg-muted: #9aa5b5;
    --gg-border: #1c2835;
    --gg-blue: #0067ff;
    --gg-link: #339bff;
    --gg-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not([data-theme="dark"]) {
        color-scheme: dark;
        --gg-bg: #03090f;
        --gg-surface: #090f17;
        --gg-soft: #0d151f;
        --gg-text: #f0f2f6;
        --gg-muted: #9aa5b5;
        --gg-border: #1c2835;
        --gg-blue: #0067ff;
        --gg-link: #339bff;
        --gg-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; font-family: "Roboto", Arial, sans-serif; font-size: 16px; line-height: 1.55; background: var(--gg-bg); color: var(--gg-text); }
a { color: var(--gg-link); text-decoration: none; }
a:hover { color: var(--gg-link); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }
img { max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gg-link); outline-offset: 4px; }
.gg-wrapper, .wrapper { width: min(1440px, calc(100% - 64px)); margin: 0 auto; background: transparent; }
.gg-panel { border: 1px solid var(--gg-border); background: var(--gg-surface); border-radius: 10px; }
.gg-icon { display: inline-block; width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
.gg-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.gg-skip { position: fixed; top: -100px; left: 16px; z-index: 1000; background: var(--gg-surface); padding: 12px 20px; border-radius: 8px; }
.gg-skip:focus { top: 16px; }
.gg-button, .button, .button-d[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 22px; background: #075af0; color: #fff; border: 1px solid #075af0; border-radius: 5px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.gg-button:hover, .button:hover { color: #fff; background: #0049ca; }
.gg-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--gg-border); border-radius: 50%; color: var(--gg-link); background: var(--gg-soft); }
.gg-icon-button:hover { border-color: var(--gg-link); }
.gg-icon-button .gg-icon { width: 21px; height: 21px; }
.gg-vk { line-height: 0; }
.gg-vk .gg-icon { display: block; width: 24px; height: 24px; }
.gg-header { background: var(--gg-surface); border-bottom: 1px solid var(--gg-border); position: relative; z-index: 50; }
.gg-header_inner { min-height: 92px; display: flex; align-items: center; gap: 28px; position: relative; }
.gg-logo { flex: 0 0 auto; color: var(--gg-text); display: inline-flex; flex-direction: column; line-height: 1; }
.gg-logo > span { font-family: Impact, "Arial Narrow", "Roboto", sans-serif; font-size: 35px; font-weight: 900; letter-spacing: -.8px; white-space: nowrap; }
.gg-logo b { color: #0064ed; font-weight: inherit; }
.gg-logo_dot { color: var(--gg-text); }
.gg-logo small { margin-top: 7px; font-size: 10px; line-height: 1.2; text-transform: uppercase; letter-spacing: .25px; color: var(--gg-muted); }
.gg-navigation { display: flex; align-items: stretch; gap: 24px; margin: 0 auto; align-self: stretch; }
.gg-nav_item { display: flex; align-items: stretch; }
.gg-nav_trigger { display: flex; align-items: center; position: relative; }
.gg-nav_trigger > a { color: var(--gg-text); font-size: 16px; font-weight: 500; padding: 28px 0; white-space: nowrap; }
.gg-nav_trigger > button { display: flex; align-items: center; justify-content: center; width: 22px; height: 44px; background: none; border: 0; padding: 0; margin-left: 3px; color: var(--gg-text); font-size: 20px; }
.gg-nav_item.is-open .gg-nav_trigger::after { content: ''; position: absolute; left: -12px; right: -12px; bottom: 0; height: 2px; background: var(--gg-blue); }
.gg-nav_item.is-open .gg-nav_trigger::before { content: ''; position: absolute; bottom: 0; left: 50%; border: 7px solid transparent; border-top: 0; border-bottom: 7px solid var(--gg-blue); }
.gg-nav_item.is-open .gg-nav_trigger > a, .gg-nav_item.is-open .gg-nav_trigger > button { color: var(--gg-link); }
.gg-nav_trigger > button { line-height: 1; }
.gg-nav_trigger > button .gg-icon { display: block; flex: 0 0 14px; width: 14px; height: 14px; transform: rotate(0); transform-origin: center; transition: transform .15s ease; }
.gg-nav_trigger > button[aria-expanded="true"] .gg-icon { transform: rotate(180deg); }
.gg-header_actions { display: flex; align-items: center; gap: 12px; }
.gg-search { display: flex; align-items: center; border: 1px solid var(--gg-border); border-radius: 25px; padding: 0 14px 0 18px; background: var(--gg-soft); }
.gg-search input { min-width: 0; width: 185px; height: 43px; border: 0; outline-offset: 0; background: transparent; color: var(--gg-text); font-size: 13px; }
.gg-search input::placeholder { color: var(--gg-muted); opacity: 1; }
.gg-search button { border: 0; background: none; color: var(--gg-text); padding: 0; width: 28px; height: 38px; }
.gg-mobile-menu { display: none; }
.gg-theme-panel { position: absolute; top: calc(100% - 6px); right: 0; z-index: 80; padding: 20px; box-shadow: var(--gg-shadow); width: 240px; }
.gg-theme-panel label { display: block; font-size: 14px; margin-bottom: 10px; }
.gg-theme-panel select { width: 100%; padding: 10px; color: var(--gg-text); background: var(--gg-soft); border: 1px solid var(--gg-border); border-radius: 5px; }
.gg-mega { position: absolute; top: calc(100% - 1px); width: min(1200px, 100%); left: 50%; transform: translateX(-50%); padding: 28px; box-shadow: var(--gg-shadow); z-index: 70; }
.gg-mega_inner { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.gg-mega_inner > section { min-width: 0; padding: 0 24px; border-left: 1px solid var(--gg-border); }
.gg-mega_inner > section:first-child { padding-left: 0; border-left: 0; }
.gg-mega_inner > section:last-child { padding-right: 0; }
.gg-mega h2 { font-size: 13px; font-weight: 500; text-transform: uppercase; margin: 0 0 22px; line-height: 1.4; }
.gg-mega .gg-more { margin-top: 24px; }
.gg-mega_links { display: flex; flex-direction: column; gap: 17px; }
.gg-mega_links a { color: var(--gg-text); font-size: 14px; display: flex; align-items: center; gap: 12px; }
.gg-mega_links a:hover { color: var(--gg-link); }
.gg-mega_links .gg-icon { width: 18px; height: 18px; color: var(--gg-muted); }
.gg-mega .gg-cards_compact { gap: 20px; }
.gg-mega .gg-cards_compact .gg-card_picture { width: 88px; aspect-ratio: 1.15; }
.gg-mega .gg-card { border: 0; background: none; border-radius: 0; }
.gg-mega .gg-card_link { padding: 0; gap: 14px; }
.gg-mega .gg-card_title { font-size: 13px; }
.gg-mega .gg-tag { display: none; }
.gg-mega .gg-card_meta { font-size: 11px; margin-top: 7px; }
.gg-mega .gg-cards_ranked { gap: 16px; }
.gg-mega .gg-cards_ranked .gg-card_picture { width: 60px; }
.gg-mega .gg-card_rank { display: none; }
.gg-mega .gg-cards_ranked .gg-card_link { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
.gg-home { padding-top: 28px; padding-bottom: 24px; }
.gg-feature { padding: 24px; }
.gg-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.gg-section-heading h1, .gg-section-heading h2 { font-size: 20px; line-height: 1.25; font-weight: 600; text-transform: uppercase; margin: 0; letter-spacing: -.3px; }
.gg-section-heading p { font-size: 13px; color: var(--gg-muted); margin: 6px 0 0; }
.gg-feature_heading { justify-content: flex-start; gap: 15px; margin-bottom: 22px; }
.gg-section-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--gg-soft); color: #ff594b; display: flex; align-items: center; justify-content: center; }
.gg-section-icon .gg-icon { width: 27px; height: 27px; }
.gg-more { color: var(--gg-link); font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.gg-feature_grid { display: grid; grid-template-columns: 1.72fr 1fr; gap: 16px; align-items: stretch; }
.gg-card { overflow: hidden; border: 1px solid var(--gg-border); border-radius: 9px; background: var(--gg-surface); min-width: 0; }
.gg-card_link { display: flex; flex-direction: column; height: 100%; color: var(--gg-text); }
.gg-card_link:hover { color: var(--gg-text); }
.gg-card_picture { display: block; overflow: hidden; background: #182434; aspect-ratio: 16 / 9; position: relative; }
.gg-card_picture img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.gg-card:hover .gg-card_picture img { transform: scale(1.025); }
.gg-card_body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; padding: 16px; }
.gg-tag { display: inline-block; align-self: flex-start; border-radius: 4px; padding: 4px 8px; background: #0756d6; color: #fff; font-size: 10px; line-height: 1; font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.gg-card_title { display: block; font-size: 17px; line-height: 1.4; font-weight: 500; }
.gg-card_meta { display: flex; align-items: center; gap: 12px; justify-content: space-between; width: 100%; color: var(--gg-muted); font-size: 11px; margin-top: auto; padding-top: 15px; }
.gg-card_meta > span { display: inline-flex; align-items: center; gap: 5px; }
.gg-card_meta .gg-icon { width: 14px; height: 14px; }
.gg-cards_hero { position: relative; min-width: 0; }
.gg-slide { height: 100%; min-height: 480px; position: relative; background: #152133; }
.gg-slide .gg-card_picture { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.gg-slide .gg-card_picture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 15%, rgba(0,0,0,.45) 48%, rgba(0,0,0,.94) 100%); }
.gg-slide .gg-card_body { position: relative; z-index: 1; justify-content: flex-end; padding: 32px 42px; color: #fff; }
.gg-slide .gg-card_title { font-size: clamp(27px, 2.6vw, 40px); line-height: 1.15; font-weight: 700; max-width: 620px; letter-spacing: -.6px; }
.gg-slide .gg-tag { font-size: 12px; padding: 6px 12px; margin-bottom: 16px; }
.gg-slide .gg-card_excerpt { max-width: 520px; font-size: 16px; line-height: 1.6; color: #e0e2e7; margin-top: 12px; }
.gg-slide .gg-card_meta { justify-content: flex-start; gap: 24px; margin-top: 18px; padding: 0; color: #c4c8d0; }
.gg-slider_prev, .gg-slider_next { position: absolute; top: 46%; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; font-size: 34px; line-height: 1; z-index: 3; }
.gg-slider_prev { left: 12px; }
.gg-slider_next { right: 12px; }
.gg-slider_dots { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; padding: 5px; }
.gg-slider_dots button { width: 38px; height: 14px; border: 0; padding: 0; position: relative; background: transparent; }
.gg-slider_dots button::after { content: ''; position: absolute; height: 3px; top: 6px; left: 0; right: 0; background: var(--gg-border); border-radius: 3px; }
.gg-slider_dots button[aria-pressed="true"]::after { background: #0067ff; }
.gg-feature { padding-bottom: 40px; }
.gg-cards_compact { display: flex; flex-direction: column; gap: 12px; }
.gg-cards_compact .gg-card { flex: 1; }
.gg-cards_compact .gg-card_link { flex-direction: row; align-items: stretch; padding: 8px; gap: 10px; }
.gg-cards_compact .gg-card_picture { flex: 0 0 40%; width: 40%; aspect-ratio: 1.2; border-radius: 7px; }
.gg-cards_compact .gg-card_body { padding: 8px 8px 8px 4px; justify-content: center; }
.gg-cards_compact .gg-card_title { font-size: 16px; font-weight: 400; }
.gg-cards_compact .gg-card_meta { margin-top: 8px; padding-top: 0; font-size: 12px; }
.gg-cards_compact .gg-card_meta .gg-icon { display: none; }
.gg-trends { margin-top: 0; padding: 20px 24px; }
.gg-trends .gg-section-heading { margin-bottom: 14px; }
.gg-trends .gg-section-heading h2 { font-size: 17px; }
.gg-games { display: grid; gap: 12px; }
.gg-games_chips { display: flex; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.gg-game { min-width: 0; color: var(--gg-text); }
.gg-games_chips .gg-game { display: inline-flex; align-items: center; flex: 1 0 auto; gap: 10px; border: 1px solid var(--gg-border); padding: 8px 12px; border-radius: 9px; background: var(--gg-soft); }
.gg-games_chips .gg-game_cover { width: 35px; height: 35px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.gg-game_cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gg-game_info { min-width: 0; display: block; }
.gg-games_chips .gg-game_name { font-size: 12px; white-space: nowrap; }
.gg-games_menu { display: flex; flex-direction: column; gap: 13px; }
.gg-games_menu .gg-game { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.gg-games_menu .gg-game_cover { display: block; flex-shrink: 0; width: 28px; height: 34px; border-radius: 4px; overflow: hidden; }
.gg-game_arrow { margin-left: auto; color: var(--gg-muted); font-size: 22px; }
.gg-home_columns { display: grid; grid-template-columns: 1.9fr 1fr; align-items: start; gap: 24px; margin-top: 24px; }
.gg-latest { padding: 24px; }
.gg-cards_grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; }
.gg-cards_grid .gg-card { grid-column: span 2; }
.gg-latest .gg-card:nth-child(-n+2) { grid-column: span 3; }
.gg-latest .gg-card:nth-child(n+3) .gg-card_title { font-size: 15px; }
.gg-latest .gg-card_picture { aspect-ratio: 1.9; }
.gg-latest .gg-card_body { position: relative; padding-top: 13px; }
.gg-latest .gg-tag { position: absolute; top: -19px; left: 12px; }
.gg-latest .gg-card_meta { font-size: 10px; }
.gg-home_sidebar { display: flex; flex-direction: column; gap: 16px; }
.gg-popular { padding: 24px; }
.gg-popular h2 { font-size: 17px; }
.gg-cards_ranked { display: flex; flex-direction: column; gap: 20px; }
.gg-cards_ranked .gg-card { border: 0; background: none; border-radius: 0; }
.gg-cards_ranked .gg-card_link { display: grid; grid-template-columns: 78px 22px minmax(0,1fr); gap: 12px; align-items: start; }
.gg-cards_ranked .gg-card_picture { width: 78px; aspect-ratio: 1.1; border-radius: 7px; }
.gg-cards_ranked .gg-card_body { padding: 0; }
.gg-cards_ranked .gg-card_title { font-size: 14px; font-weight: 400; }
.gg-card_rank { font-size: 13px; color: var(--gg-link); padding-top: 5px; }
.gg-cards_ranked .gg-card_meta { font-size: 10px; margin-top: 8px; padding: 0; }
.gg-subscribe { padding: 26px; position: relative; overflow: hidden; background: linear-gradient(130deg,var(--gg-surface) 60%,#12377b); }
.gg-subscribe h2 { font-size: 20px; line-height: 1.4; text-transform: uppercase; margin: 0 0 10px; }
.gg-subscribe p { font-size: 14px; color: var(--gg-muted); margin: 0 0 18px; }
.gg-subscribe_icon { position: absolute; top: 24px; right: 24px; border-radius: 50%; padding: 15px; background: #0598ed; color: #fff; }
.gg-subscribe_icon .gg-icon { width: 32px; height: 32px; }
.gg-hubs { margin-top: 32px; padding: 0 16px; }
.gg-games_covers { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; }
.gg-games_covers .gg-game { display: block; overflow: hidden; position: relative; border-radius: 8px; border: 1px solid var(--gg-border); background: var(--gg-surface); }
.gg-games_covers .gg-game_cover { display: block; aspect-ratio: 1.4; background: var(--gg-soft); }
.gg-games_covers .gg-game_info { padding: 12px; }
.gg-game_name { display: block; font-size: 14px; line-height: 1.3; }
.gg-game_count { display: block; font-size: 11px; margin-top: 7px; color: var(--gg-muted); }
.gg-about { margin: 30px 16px 0; color: var(--gg-muted); font-size: 13px; }
.gg-about h1 { font-size: 18px; margin: 0 0 8px; }
.gg-about p { margin: 5px 0; }
.gg-footer { border-top: 1px solid var(--gg-border); padding: 34px 0; background: var(--gg-surface); margin-top: 24px; }
.gg-footer_grid { display: grid; grid-template-columns: 1.2fr 1.1fr 1fr 1fr; gap: 40px; }
.gg-footer .gg-logo > span { font-size: 27px; }
.gg-footer h2 { margin: 0 0 18px; text-transform: uppercase; font-size: 12px; color: var(--gg-muted); font-weight: 500; }
.gg-footer p, .gg-footer a:not(.gg-logo):not(.gg-icon-button) { color: var(--gg-muted); font-size: 12px; }
.gg-footer p { line-height: 1.8; }
.gg-footer_links { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; }
.gg-footer_social { display: flex; gap: 10px; }
.gg-bottom-nav { display: none; }
.content { padding: 28px 0; gap: 32px; align-items: flex-start; }
.content-main { flex: 1; min-width: 0; width: auto; }
.content-right { width: 300px; flex: 0 0 300px; }
#breadcrumbs { color: var(--gg-muted); margin: 0 0 20px; }
#breadcrumbs a { color: var(--gg-muted); }
.news-id_text { line-height: 1.8; overflow-wrap: anywhere; }
.news-id_text img { border-radius: 7px; }
.news-id_text blockquote { margin: 20px 0; padding: 16px 20px; border-left: 3px solid var(--gg-blue); background: var(--gg-soft); }
.news-id_text table { color: var(--gg-text); }
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea { color: var(--gg-text); background: var(--gg-soft); border: 1px solid var(--gg-border); border-radius: 5px; padding: 10px 14px; max-width: 100%; }
.gg-search input[type="search"] { background: transparent; border: 0; padding: 0; }
.comments-id_details-name a { color: var(--gg-text); }
.comments-id_details, .comments-block { border-color: var(--gg-border); }
.comments-id_details-text { line-height: 1.6; }
.comments-id_details-end_answer { color: var(--gg-link); }
.comments-id_details-end_date { color: var(--gg-muted); }
.login-min, .profile-min { color: var(--gg-text); background: var(--gg-surface); padding: 28px; border-radius: 10px; max-width: 440px; }
.login-min input:not([type="hidden"]) { width: 100%; margin-bottom: 14px; }
.profile-d__note { display: flex; gap: 20px; margin-top: 16px; }
@media (min-width: 1700px) { .gg-slide { min-height: 540px; } }
@media (max-width: 1400px) {
    .gg-header_inner { gap: 22px; }
    .gg-navigation { gap: 18px; }
    .gg-header_actions { gap: 8px; }
    .gg-logo > span { font-size: 31px; }
    .gg-nav_trigger > a { font-size: 14px; }
    .gg-search input { width: 140px; }
    .gg-header .gg-social { display: none; }
}
@media (max-width: 1100px) {
    .gg-wrapper, .wrapper { width: calc(100% - 40px); margin: 0 auto; }
    .gg-header_inner { gap: 18px; min-height: 80px; }
    .gg-navigation { gap: 12px; }
    .gg-nav_trigger > a { font-size: 13px; }
    .gg-header_search { display: none; }
    .gg-logo > span { font-size: 28px; }
    .gg-logo small { font-size: 8px; }
    .gg-feature { padding: 20px 20px 40px; }
    .gg-feature_grid { grid-template-columns: 1.65fr 1fr; gap: 12px; }
    .gg-slide { min-height: 420px; }
    .gg-slide .gg-card_body { padding: 28px 30px; }
    .gg-cards_compact .gg-card_title { font-size: 14px; }
    .gg-cards_compact .gg-card_picture { flex-basis: 38%; width: 38%; }
    .gg-card_excerpt { font-size: 14px !important; }
    .gg-home_columns { gap: 16px; grid-template-columns: 1.8fr 1fr; }
    .gg-latest, .gg-popular { padding: 20px; }
    .gg-cards_ranked .gg-card_link { grid-template-columns: 64px 18px minmax(0,1fr); gap: 8px; }
    .gg-cards_ranked .gg-card_picture { width: 64px; }
    .gg-cards_ranked .gg-card_title { font-size: 13px; }
    .gg-games_covers { gap: 12px; }
    .gg-section-heading h1, .gg-section-heading h2 { font-size: 18px; }
    .gg-mega { padding: 24px; }
    .gg-mega_inner > section { padding: 0 16px; }
    .gg-mega .gg-card_meta { display: none; }
    .gg-mega .gg-card_link { flex-direction: column; gap: 8px; }
    .gg-mega .gg-cards_compact .gg-card_picture { display: none; }
}
@media (max-width: 800px) {
    body { padding-bottom: 68px; }
    .gg-wrapper, .wrapper { width: calc(100% - 32px); margin: 0 auto; }
    .gg-header { position: sticky; top: 0; }
    .gg-header_inner { min-height: 72px; gap: 14px; }
    .gg-logo { margin-right: auto; }
    .gg-logo > span { font-size: 28px; }
    .gg-logo small { display: none; }
    .gg-mobile-menu:not([hidden]) { display: inline-flex; border: 0; width: 28px; flex-basis: 28px; background: transparent; color: var(--gg-text); }
    .gg-navigation { position: absolute; top: 100%; left: -16px; right: -16px; max-height: calc(100dvh - 140px); overflow-y: auto; background: var(--gg-surface); display: flex; flex-direction: column; border-bottom: 1px solid var(--gg-border); padding: 12px 20px; gap: 0; }
    .gg-navigation.gg-ready:not(.is-open) { display: none; }
    .gg-nav_item { display: block; border-bottom: 1px solid var(--gg-border); }
    .gg-nav_trigger { justify-content: space-between; }
    .gg-nav_trigger > a { padding: 13px 0; font-size: 16px; flex: 1; }
    .gg-nav_trigger > button { width: 44px; }
    .gg-nav_item.is-open .gg-nav_trigger::after, .gg-nav_item.is-open .gg-nav_trigger::before { display: none; }
    .gg-mega { position: static; width: 100%; transform: none; box-shadow: none; border: 0; padding: 12px 0 20px; }
    .gg-mega_inner { display: flex; flex-direction: column; gap: 24px; }
    .gg-mega_inner > section { padding: 0; border: 0; }
    .gg-mega h2 { margin-bottom: 14px; font-size: 12px; color: var(--gg-muted); }
    .gg-mega .gg-more { margin-top: 14px; }
    .gg-mega .gg-cards_compact .gg-card_picture { display: block; flex: 0 0 70px; width: 70px; }
    .gg-mega .gg-card_link { flex-direction: row; }
    .gg-header_actions { gap: 8px; }
    .gg-header_actions .gg-icon-button { width: 36px; height: 36px; flex-basis: 36px; }
    .gg-home { padding-top: 16px; }
    .gg-feature { padding: 16px 16px 36px; }
    .gg-feature_heading { gap: 10px; }
    .gg-section-heading h1 { font-size: 16px; }
    .gg-section-heading p { font-size: 11px; }
    .gg-section-icon { width: 32px; height: 32px; flex-shrink: 0; }
    .gg-section-icon .gg-icon { width: 22px; height: 22px; }
    .gg-feature_grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
    .gg-slide { min-height: 420px; }
    .gg-slide .gg-card_title { font-size: 30px; }
    .gg-slide .gg-card_body { padding: 24px; }
    .gg-feature_grid > .gg-cards_compact { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
    .gg-feature_grid > .gg-cards_compact .gg-card_link { flex-direction: column; padding: 0; gap: 0; }
    .gg-feature_grid > .gg-cards_compact .gg-card_picture { width: 100%; aspect-ratio: 1.8; border-radius: 0; }
    .gg-feature_grid > .gg-cards_compact .gg-card_body { padding: 12px; }
    .gg-feature_grid > .gg-cards_compact .gg-card_title { font-size: 13px; }
    .gg-feature_grid > .gg-cards_compact .gg-tag { font-size: 8px; }
    .gg-feature_grid > .gg-cards_compact .gg-card_meta { font-size: 10px; }
    .gg-trends { padding: 16px; }
    .gg-home_columns { grid-template-columns: minmax(0,1fr); }
    .gg-latest, .gg-popular { padding: 16px; }
    .gg-popular .gg-cards_ranked { display: grid; grid-template-columns: 1fr 1fr; }
    .gg-hubs { padding: 0; }
    .gg-games_covers { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .gg-footer_grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .gg-bottom-nav { display: flex; justify-content: space-around; position: fixed; bottom: 0; left: 0; right: 0; background: var(--gg-surface); border-top: 1px solid var(--gg-border); padding: 8px 4px max(8px, env(safe-area-inset-bottom)); z-index: 55; }
    .gg-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--gg-muted); font-size: 10px; width: 20%; }
    .gg-bottom-nav a:hover, .gg-bottom-nav a[aria-current="page"] { color: var(--gg-link); }
    .gg-bottom-nav .gg-icon { width: 23px; height: 23px; }
    .content { flex-direction: column; }
    .content-main, .content-right { width: 100%; flex: auto; }
}
@media (max-width: 480px) {
    .gg-wrapper, .wrapper { width: calc(100% - 24px); }
    .gg-header_inner { gap: 8px; min-height: 64px; }
    .gg-logo > span { font-size: 24px; }
    .gg-header_actions { gap: 5px; }
    .gg-feature { padding: 14px 12px 28px; }
    .gg-feature_heading { margin-bottom: 16px; }
    .gg-section-heading { gap: 8px; }
    .gg-section-heading h2 { font-size: 15px; }
    .gg-more { font-size: 11px; }
    .gg-slide { min-height: 380px; }
    .gg-slide .gg-card_title { font-size: 28px; }
    .gg-slide .gg-card_body { padding: 22px; }
    .gg-slide .gg-card_excerpt { font-size: 13px !important; line-height: 1.5; }
    .gg-slider_prev, .gg-slider_next { width: 32px; height: 32px; font-size: 28px; top: 30%; }
    .gg-slider_prev { left: 8px; }
    .gg-slider_next { right: 8px; }
    .gg-feature_grid > .gg-cards_compact { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .gg-feature_grid > .gg-cards_compact .gg-card_link { flex-direction: row; padding: 7px; gap: 8px; }
    .gg-feature_grid > .gg-cards_compact .gg-card_picture { width: 100px; flex: 0 0 100px; aspect-ratio: 1.3; border-radius: 5px; }
    .gg-feature_grid > .gg-cards_compact .gg-card_body { padding: 4px; }
    .gg-feature_grid > .gg-cards_compact .gg-tag { margin-bottom: 7px; }
    .gg-cards_grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .gg-cards_grid .gg-card, .gg-latest .gg-card:nth-child(-n+2) { grid-column: auto; }
    .gg-latest .gg-card:first-child { grid-column: span 2; }
    .gg-card_body { padding: 12px; }
    .gg-card_title, .gg-latest .gg-card:nth-child(n+3) .gg-card_title { font-size: 14px; }
    .gg-card_meta { flex-wrap: wrap; gap: 5px; }
    .gg-popular .gg-cards_ranked { grid-template-columns: minmax(0,1fr); }
    .gg-cards_ranked .gg-card_link { grid-template-columns: 80px 24px minmax(0,1fr); }
    .gg-cards_ranked .gg-card_picture { width: 80px; }
    .gg-cards_ranked .gg-card_title { font-size: 14px; }
    .gg-games_covers { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gg-footer_grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
    .gg-footer_links { grid-template-columns: 1fr; }
    .gg-about { margin: 24px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Статья — заголовок, метаданные, обложка и обсуждение как в макете. */
.gg-article_header { margin-bottom: 18px; }
.gg-article_header h1 { font-size: clamp(27px, 3vw, 40px); line-height: 1.15; margin: 4px 0 20px; letter-spacing: -.6px; max-width: 900px; }
.gg-article_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; color: var(--gg-muted); font-size: 13px; }
.gg-article_meta > span, .gg-article_meta > a { display: inline-flex; align-items: center; gap: 6px; color: var(--gg-muted); }
.gg-article_meta .gg-icon { width: 16px; height: 16px; }
.gg-share { margin-left: auto; display: flex !important; gap: 7px !important; }
.gg-share .gg-icon-button { width: 32px; height: 32px; flex-basis: 32px; color: var(--gg-link); }
.gg-share .gg-vk .gg-icon { width: 20px; height: 20px; }
.gg-oauth_vkid .gg-icon { width: 24px; height: 24px; }
.gg-article_cover { margin: 0 0 20px; aspect-ratio: 2.6; border-radius: 8px; overflow: hidden; background: var(--gg-soft); }
.gg-article_cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-id_text { font-size: 17px; }
.news-id_text h2 { font-size: 24px; margin: 30px 0 14px; }
.news-id_text li { margin-bottom: 6px; }
.gg-article_feedback { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; margin: 24px 0; }
.gg-article_feedback p { font-size: 13px; margin: 5px 0 0; color: var(--gg-muted); }
.gg-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gg-controls .gg-icon { width: 18px; height: 18px; }
.gg-save, .gg-vote, .gg-block-user { color: var(--gg-link); background: var(--gg-soft); border: 1px solid var(--gg-border); min-height: 36px; padding: 6px 12px; border-radius: 5px; font-size: 12px; cursor: pointer; }
.gg-save[aria-pressed="true"], .gg-vote[aria-pressed="true"] { background: #075af0; color: #fff; border-color: #075af0; }
.gg-control-status { font-size: 11px; color: var(--gg-muted); }
.comments-id .gg-controls { margin: 8px 0; }
.comments-id_avatar { flex-shrink: 0; }
.comments-id_details { min-width: 0; }
.comments-id_discuss { margin-left: 24px; border-left: 1px solid var(--gg-border); padding-left: 16px; }
.gg-block-user { font-size: 10px; border: 0; background: transparent; color: var(--gg-muted); padding: 2px 0; min-height: 24px; }
.gg-comment-sort { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 12px; }
.gg-comment-sort select, .gg-comment-sort button { color: var(--gg-text); background: var(--gg-soft); border: 1px solid var(--gg-border); border-radius: 4px; padding: 5px 10px; }
.content-right_sticky { top: 20px; }
.show-news_right { background: var(--gg-surface); border: 1px solid var(--gg-border); border-radius: 8px; padding: 20px; }
.show-news_right-item-name { color: var(--gg-text); font-size: 14px; line-height: 1.4; }
.show-news_right-list { border: 0; gap: 18px; }
.show-news_right-item-img img { object-fit: cover; border-radius: 6px; }
.privacy_policy { width: min(480px,calc(100% - 32px)); bottom: 16px; left: 16px; padding: 16px; border: 1px solid var(--gg-border); border-radius: 8px; box-shadow: var(--gg-shadow); background: var(--gg-surface); color: var(--gg-muted); font: 12px/1.6 "Roboto",Arial,sans-serif; text-align: left; letter-spacing: 0; }
.privacy_policy .button { border: 0; margin: 8px 0 0; }

/* Полноценный игровой хаб. */
.gg-fullpage { padding-top: 24px; padding-bottom: 32px; }
.gg-hub_hero { min-height: 440px; position: relative; display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: end; gap: 30px; overflow: hidden; padding: 36px; background: #101b29; color: #fff; }
.gg-hub_backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gg-hub_hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(1,7,14,.9),rgba(1,7,14,.18) 70%),linear-gradient(0deg,rgba(1,7,14,.96),transparent 90%); }
.gg-hub_intro, .gg-hub_hero-side { position: relative; z-index: 1; }
.gg-hub_kicker { color: #bd9b50; font-size: 12px; letter-spacing: 4px; }
.gg-hub_intro h1 { font-size: 42px; line-height: 1.15; margin: 20px 0 16px; }
.gg-hub_genres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.gg-hub_genres span { font-size: 11px; border: 1px solid #34517b; padding: 3px 7px; border-radius: 3px; color: #b8d3fb; }
.gg-hub_anons { font-size: 14px; line-height: 1.7; max-width: 650px; }
.gg-hub_facts { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; margin: 20px 0 0; }
.gg-hub_facts > div { display: flex; gap: 8px; }
.gg-hub_facts dt { color: #abb6c4; }
.gg-hub_facts dd { margin: 0; }
.gg-hub_hero-side { display: flex; flex-direction: column; gap: 16px; }
.gg-hub_hero-side .gg-controls { justify-content: flex-end; }
.gg-countdown_panel { padding: 16px; background: rgba(8,15,25,.8); border-color: #263141; }
.gg-countdown_panel p { font-size: 11px; text-transform: uppercase; text-align: center; margin: 0 0 14px; }
.gg-countdown { display: flex; justify-content: space-between; text-align: center; gap: 10px; }
.gg-countdown b { font-size: 25px; line-height: 1; font-weight: 600; }
.gg-countdown small { display: block; font-size: 11px; color: #a8b3c1; }
.gg-trailer { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 130px; gap: 10px; color: #fff; background: rgba(4,12,24,.7); border-color: #263141; font-size: 12px; }
.gg-play { font-size: 34px; width: 58px; height: 58px; background: rgba(255,255,255,.15); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding-left: 4px; }
.gg-hub_tabs { margin-top: 12px; display: flex; overflow-x: auto; padding: 0 8px; gap: 15px; scrollbar-width: thin; }
.gg-hub_tabs a { padding: 18px 16px; text-transform: uppercase; font-size: 12px; color: var(--gg-muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.gg-hub_tabs a[aria-current="page"] { color: var(--gg-link); border-color: var(--gg-blue); }
.gg-hub_columns { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; padding-top: 24px; }
.gg-hub_content { min-width: 0; }
.gg-hub_sidebar { display: flex; flex-direction: column; gap: 16px; }
.gg-hub_sidebar > section, .gg-hub_description { padding: 20px; }
.gg-hub_sidebar h2 { font-size: 15px; text-transform: uppercase; margin: 0 0 18px; }
.gg-hub_sidebar dl { font-size: 12px; margin: 0; }
.gg-hub_sidebar dl > div { display: flex; gap: 10px; margin-bottom: 12px; }
.gg-hub_sidebar dd { margin: 0; }
.gg-hub_sidebar dt { color: var(--gg-muted); flex: 0 0 95px; }
.gg-hub_sidebar a { display: block; color: var(--gg-muted); font-size: 13px; padding: 6px 0; }
.gg-requirements h3 { margin: 18px 0 8px; font-size: 11px; text-transform: uppercase; }
.gg-requirements p { font-size: 12px; color: var(--gg-muted); line-height: 1.7; margin: 0; }
.gg-hub_section { margin-bottom: 32px; }
.gg-hub_section .gg-cards_grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.gg-hub_section .gg-cards_grid .gg-card { grid-column: auto; }
.gg-hub_section .gg-card_body { padding: 12px; }
.gg-hub_section .gg-card_title { font-size: 14px; }
.gg-hub_content > .gg-cards_grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.gg-hub_content > .gg-cards_grid .gg-card { grid-column: auto; }
.gg-media-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.gg-media-grid img { border-radius: 8px; width: 100%; height: 160px; object-fit: cover; }
.gg-games_directory { grid-template-columns: repeat(4,minmax(0,1fr)); }
.gg-directory_intro { color: var(--gg-muted); margin-bottom: 30px; }
.gg-file { display: block; padding: 20px; margin-bottom: 12px; }
.gg-empty { padding: 24px; color: var(--gg-muted); font-size: 14px; }

/* Кабинет и формы входа/регистрации. */
.gg-account { display: grid; grid-template-columns: 210px minmax(0,1fr) 280px; gap: 20px; align-items: start; }
.gg-account_nav { padding: 10px; }
.gg-account_nav nav { display: flex; flex-direction: column; gap: 5px; }
.gg-account_nav a { color: var(--gg-muted); display: flex; align-items: center; gap: 12px; padding: 12px; font-size: 13px; border-radius: 5px; }
.gg-account_nav a[aria-current="page"] { background: var(--gg-soft); color: var(--gg-link); }
.gg-account_nav a:last-child { color: #ee623c; margin-top: 20px; }
.gg-account_nav .gg-icon { width: 18px; height: 18px; }
.gg-account_main, .gg-account_side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gg-profile_top { display: flex; align-items: center; gap: 20px; padding: 24px; }
.gg-profile_top h1 { font-size: 24px; margin: 0 0 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.gg-profile_top p { color: var(--gg-muted); font-size: 12px; margin: 0 0 6px; }
.gg-profile_top a { font-size: 12px; }
.gg-avatar { object-fit: cover; border-radius: 50%; flex-shrink: 0; width: 90px; height: 90px; background: var(--gg-soft); }
.gg-level { font-size: 10px; font-weight: 400; padding: 4px 7px; background: #15417b; color: #fff; border-radius: 4px; }
.gg-profile_stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 16px; border-top: 1px solid var(--gg-border); gap: 10px; }
.gg-profile_stats strong { display: block; font-size: 20px; font-weight: 400; }
.gg-profile_stats span { color: var(--gg-muted); font-size: 10px; }
.gg-activity, .gg-account_side > section, .gg-recommendations { padding: 20px; }
.gg-account h2 { font-size: 15px; text-transform: none; letter-spacing: 0; }
.gg-activity_row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gg-border); flex-wrap: wrap; }
.gg-activity_row:last-child { border-bottom: 0; padding-bottom: 0; }
.gg-activity_link { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; color: var(--gg-text); }
.gg-activity_link img { border-radius: 5px; object-fit: cover; width: 78px; height: 52px; }
.gg-activity_link strong { display: block; font-size: 13px; font-weight: 400; }
.gg-activity_link small, .gg-activity_row time { color: var(--gg-muted); font-size: 11px; }
.gg-favorite-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--gg-text); font-size: 12px; }
.gg-favorite-row img { border-radius: 5px; object-fit: cover; }
.gg-favorite-row > span:last-child { margin-left: auto; }
.gg-account_hint p, .gg-recommendations p { color: var(--gg-muted); font-size: 12px; }
.gg-recommendations > a { display: block; margin-top: 14px; font-size: 14px; }
.gg-account_comment { padding: 16px 0; border-bottom: 1px solid var(--gg-border); }
.gg-account_comment p { margin: 0 0 10px; font-size: 14px; }
.gg-account_comment a { font-size: 12px; }
.gg-account_comment small { display: block; color: var(--gg-muted); margin-top: 8px; }
.gg-auth { width: min(1060px,100%); margin: 20px auto 40px; display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,460px); gap: 70px; align-items: center; padding: 30px; }
.gg-auth_intro h1 { font-size: 34px; line-height: 1.2; margin-bottom: 18px; }
.gg-auth_intro > p { font-size: 17px; margin-bottom: 28px; }
.gg-auth_intro ul { padding: 0; margin: 30px 0; list-style: none; display: flex; flex-direction: column; gap: 25px; }
.gg-auth_intro li { position: relative; padding-left: 48px; font-size: 14px; }
.gg-auth_intro li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--gg-soft); color: var(--gg-link); border-radius: 8px; }
.gg-auth_intro small { display: block; color: var(--gg-muted); font-size: 12px; margin-top: 5px; }
.gg-auth_existing { color: var(--gg-muted); font-size: 12px !important; margin-top: 50px; }
.gg-auth_existing a { margin-left: 20px; }
.gg-auth_form { padding: 30px; }
.gg-auth_form h2, .gg-login-page .block-d__name { font-size: 22px; line-height: 1.3; margin: 0 0 24px; display: block; }
.gg-auth .field-d { margin-bottom: 18px; }
.gg-auth .field-d__name { font-size: 12px; margin-bottom: 7px; color: var(--gg-muted); }
.gg-auth input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .gg-auth .button-d { width: 100%; min-height: 44px; }
.gg-auth .privacy_field, .gg-auth .privacy_field span, .gg-auth .privacy_field a { font-size: 11px; }
.gg-auth .block-d_registration { margin: 0; }
.gg-auth .gg-login-page { display: block; width: 100%; background: transparent; padding: 0; }
.gg-auth .errors { color: #d54a32; font-size: 12px; }
.gg-login-page .profile-d__note { font-size: 12px; flex-wrap: wrap; }
.gg-login-page .field-d input { width: 100%; }
@media (max-width: 1100px) {
    .gg-account { grid-template-columns: 180px minmax(0,1fr); }
    .gg-account_side { grid-column: 2; }
    .gg-hub_columns { grid-template-columns: minmax(0,1fr) 260px; }
    .gg-hub_section .gg-cards_grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gg-auth { gap: 32px; padding: 20px 0; }
}
@media (max-width: 800px) {
    .gg-account { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .gg-account_nav nav { flex-direction: row; overflow-x: auto; }
    .gg-account_nav a { flex-shrink: 0; white-space: nowrap; padding: 10px; }
    .gg-account_nav a:last-child { margin-top: 0; }
    .gg-account_side { grid-column: auto; }
    .gg-profile_top { padding: 20px; }
    .gg-profile_top h1 { font-size: 22px; }
    .gg-profile_stats { gap: 8px; }
    .gg-profile_stats span { font-size: 9px; }
    .gg-hub_hero { grid-template-columns: minmax(0,1fr); padding: 28px; min-height: 420px; }
    .gg-hub_intro h1 { font-size: 34px; }
    .gg-hub_hero-side { max-width: 340px; }
    .gg-hub_columns { grid-template-columns: minmax(0,1fr); }
    .gg-games_directory { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .gg-hub_content > .gg-cards_grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gg-auth { grid-template-columns: minmax(0,1fr); gap: 24px; margin-top: 0; }
    .gg-auth_intro ul, .gg-auth_existing { display: none; }
    .gg-auth_intro h1 { font-size: 28px; }
    .gg-auth_intro > p { margin-bottom: 0; }
    .gg-auth_form { padding: 24px; }
    .gg-article_feedback { flex-direction: column; align-items: flex-start; }
    .gg-share { margin-left: 0; }
    .gg-article_cover { aspect-ratio: 1.65; }
    .privacy_policy { bottom: 76px; }
}
@media (max-width: 480px) {
    .gg-article_meta { font-size: 11px; gap: 10px 14px; }
    .gg-article_header h1 { font-size: 28px; margin-bottom: 16px; }
    .gg-share > span { display: none; }
    .gg-article_cover { margin-left: -12px; margin-right: -12px; border-radius: 0; }
    .news-id_text { font-size: 16px; }
    .comments-id_discuss { margin-left: 8px; padding-left: 10px; }
    .gg-hub_hero { padding: 22px; }
    .gg-hub_intro h1 { font-size: 30px; }
    .gg-hub_tabs { gap: 5px; }
    .gg-hub_tabs a { padding: 14px 12px; font-size: 11px; }
    .gg-games_directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gg-hub_section .gg-cards_grid, .gg-hub_content > .gg-cards_grid { grid-template-columns: minmax(0,1fr); }
    .gg-media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gg-profile_top { gap: 14px; }
    .gg-avatar { width: 70px; height: 70px; }
    .gg-profile_stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
    .gg-activity_link img { width: 60px; height: 46px; }
    .gg-activity_link strong { font-size: 12px; }
    .gg-activity_row time { font-size: 10px; }
}

.gg-map { height: 600px; min-height: 380px; background: var(--gg-soft); z-index: 0; }
.gg-map-filters { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.gg-map-filters select { color: var(--gg-text); background: var(--gg-surface); border: 1px solid var(--gg-border); border-radius: 5px; padding: 8px 12px; }
@media (max-width: 600px) { .gg-map { height: 450px; } }

.gg-logo > span { font-family: GGLogo, Impact, sans-serif; font-weight: 900; letter-spacing: -.5px; }
.gg-oauth { padding: 18px 0 0; margin-top: 18px; border-top: 1px solid var(--gg-border); }
.gg-oauth p { color: var(--gg-muted); text-align: center; font-size: 11px; margin: 0 0 14px; }
.gg-oauth > div { display: flex; gap: 6px; }
.gg-oauth a { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 42px; background: var(--gg-soft); border: 1px solid var(--gg-border); border-radius: 5px; font-size: 13px; font-weight: 700; color: var(--gg-text); }
.gg-link-social { padding: 0 24px 20px; }
.gg-link-social > p { font-size: 12px; color: var(--gg-muted); }
.gg-password-toggle { color: var(--gg-link); font-size: 11px; background: none; border: 0; padding: 8px 0 0; }
.gg-header_inner { min-height: 84px; }
.gg-header .gg-search input[type="search"] { background: transparent; border: 0; border-radius: 0; padding: 0; }
.gg-genre-nav { margin: 24px 0; }
.gg-genre-nav .gg-mega_links { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.gg-genre-nav a, a.news-cat_children-item { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--gg-soft); border: 1px solid var(--gg-border); border-radius: 5px; color: var(--gg-muted); font-size: 12px; }
.gg-genre-nav .gg-icon { display: none; }
.gg-review-score { color: #d58d05; }
.gg-auth_login { gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
.gg-auth_login .gg-auth_intro { padding: 70px 40px; background: linear-gradient(135deg, #102038, #030a12); color: #fff; }
.gg-auth_login .gg-auth_intro p { max-width: 300px; }
.gg-auth_login .gg-auth_intro li::before { background: #142640; }
.gg-auth_login .gg-auth_form { padding: 45px 30px; }
.gg-auth_login .gg-oauth { margin-top: 30px; }
.news-cat > .gg-cards_grid { margin-top: 24px; }
@media (max-width: 800px) {
    .gg-header_inner { min-height: 64px; }
    .gg-auth_login .gg-auth_intro { padding: 28px; }
    .gg-auth_login .gg-auth_form { padding: 28px; }
}
.gg-oauth .fa-brands { font-size: 20px; }
.gg-auth_login .gg-auth_intro { position: relative; overflow: hidden; }
.gg-auth_background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.gg-auth_login .gg-auth_intro::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(1,7,13,.95),transparent); }
.gg-auth_login .gg-auth_intro > :not(.gg-auth_background) { position: relative; z-index: 1; }
.gg-mega_links + .gg-mega_links { margin-top: 17px; }
.gg-mega_topics .gg-games_chips { flex-wrap: wrap; overflow: visible; gap: 8px; }
.gg-mega_topics .gg-games_chips .gg-game { flex: 0 1 auto; padding: 6px 10px; border-radius: 20px; }
.gg-mega_topics .gg-game_cover { display: none; }
.gg-mega .gg-mega_subtitle { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--gg-border); }
.gg-mega_topics .gg-cards_ranked .gg-card_picture { display: none; }
.gg-mega_topics .gg-cards_ranked .gg-card_rank { display: block; }
.gg-mega_topics .gg-cards_ranked .gg-card_link { grid-template-columns: 22px minmax(0,1fr); }
.gg-mega_topics .gg-cards_ranked .gg-card_meta { display: none; }
.gg-account_categories > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 16px; margin-top: 18px; font-size: 12px; }
.gg-account_categories small { color: var(--gg-muted); }
.gg-account_categories progress { width: 100%; height: 4px; grid-column: 1/-1; appearance: none; border: 0; border-radius: 2px; overflow: hidden; background: var(--gg-soft); }
.gg-account_categories progress::-webkit-progress-bar { background: var(--gg-soft); }
.gg-account_categories progress::-webkit-progress-value { background: var(--gg-blue); }
.gg-account_categories progress::-moz-progress-bar { background: var(--gg-blue); }
.gg-resume { display: block; margin-top: 14px; }
.gg-card_title, .gg-article_header h1, .gg-profile_top h1, .gg-hub_sidebar dd { overflow-wrap: anywhere; }

.gg-remember { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--gg-muted); margin:0 0 20px; }
.gg-remember input[type="checkbox"] { width:16px; height:16px; margin:0; }
.gg-related { padding:20px; margin:24px 0; }
.gg-related .gg-cards_grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.gg-related .gg-card { grid-column:auto; }
.gg-related .gg-card_title { font-size:15px; }
.prevnext { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:20px; margin:24px 0; background:var(--gg-surface); border:1px solid var(--gg-border); border-radius:8px; font-size:14px; }
.prevnext a { color:var(--gg-text); }
.news-id .bs-block:before, .content-right .bs-block:before { content:"Реклама"; display:block; font-size:10px; color:var(--gg-muted); text-transform:uppercase; margin-bottom:8px; }
@media(max-width:600px) {
 .gg-related .gg-cards_grid { grid-template-columns:1fr; }
 .gg-related .gg-card_link { display:grid; grid-template-columns:96px minmax(0,1fr); }
 .gg-related .gg-card_picture { height:100%; min-height:100px; aspect-ratio:auto; }
 .gg-related .gg-card_body { padding:10px 12px; }
 .gg-related .gg-card_title { font-size:14px; }
}
.gg-mobile-search { display:none; }
.gg-notifications { position:relative; }
.gg-notifications[data-unread]:after { content:""; position:absolute; width:7px; height:7px; border-radius:50%; background:var(--gg-blue); top:6px; right:6px; box-shadow:0 0 0 2px var(--gg-surface); }
@media(max-width:1300px) {
 .gg-mobile-search:not([hidden]) { display:inline-flex; }
 .gg-header_search.is-open { display:block; position:absolute; right:0; top:100%; width:min(360px,100%); padding:12px; background:var(--gg-surface); border:1px solid var(--gg-border); border-radius:8px; box-shadow:var(--gg-shadow); z-index:90; }
 .gg-header_search.is-open .gg-search input { width:100%; }
}
@media(max-width:600px) { .gg-notifications { display:none; } }
.gg-category-section { margin:28px 0; }
.news-cat_children { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.news-cat_children a { padding:6px 12px; background:var(--gg-surface); border:1px solid var(--gg-border); border-radius:6px; font-size:14px; }
.show-news_right .gg-section-heading h2 { font-size:16px; color:var(--gg-text); }
.upper-d { border:1px solid var(--gg-border); background:var(--gg-surface); color:var(--gg-link); border-radius:8px; }
/* Размеры карточек внутри мегаменю соответствуют компактным колонкам макета. */
.gg-mega { max-height:calc(100dvh - 110px); overflow-y:auto; }
.gg-mega .gg-cards_compact .gg-card_link { flex-direction:row; align-items:flex-start; gap:14px; }
.gg-mega .gg-cards_compact .gg-card_picture { display:block; width:72px; height:84px; flex:0 0 72px; aspect-ratio:auto; }
.gg-mega .gg-card_title { font-size:14px; line-height:1.45; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
@media(max-width:800px) { .gg-mega { max-height:none; overflow:visible; } }
.gg-mega .gg-cards_compact .gg-card { flex:0 0 auto; }
.gg-mega .gg-cards_compact .gg-card_body { padding:0; }
.gg-mega .gg-card_picture:empty { display:none; }
@media (max-width: 600px) {
    .gg-navigation { left: -12px; right: -12px; }
}
