:root {
    --site-header-height: 205px;
    --site-content-top: calc(var(--site-header-height) + 35px);
    --site-content-width: min(45%, 800px);
    --site-surface: rgba(0, 0, 0, 0.3);
    --site-surface-strong: rgba(0, 0, 0, 0.62);
    --site-focus: #ffd523;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #111;
    color: #fff;
    font-family: Arial, sans-serif;
}

.background-slideshow {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-image: url("../images/site-background-20260731-211225.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    height: var(--site-header-height);
    padding: 15px 25px 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.left-logo {
    padding: 0;
}

.left-logo img {
    display: block;
    width: auto;
    max-width: 250px;
    max-height: 130px;
}

.header-socials {
    position: relative;
    width: min(800px, 100%);
    height: 176px;
    margin: 0 auto;
}

.official-links,
.author-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.official-links {
    min-height: 140px;
    gap: 10px;
}

.author-links {
    position: absolute;
    top: 108px;
    right: 0;
    left: 0;
    height: 80px;
    gap: 12px;
}

.menu-item {
    position: relative;
    display: grid;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    place-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.menu-item .icon {
    width: 50%;
    height: auto;
    pointer-events: none;
}

.author-links .menu-item {
    transform: scale(0.7);
}

.extra-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.email-text {
    margin: 0;
    font-size: 18px;
    text-align: right;
}

.email-text a {
    color: inherit;
    text-decoration: none;
}

.extra-button {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.extra-button img {
    max-width: 80%;
    max-height: 80%;
}

.search-container {
    display: flex;
    width: var(--site-content-width);
    margin: var(--site-content-top) auto 20px;
}

#news-search {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    outline: none;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

#news-search::placeholder {
    color: #ccc;
}

.news-container {
    display: grid;
    width: var(--site-content-width);
    margin: 0 auto 150px;
    gap: 16px;
    color: #fff;
}

.news-item {
    display: block;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #fff;
    text-decoration: none;
    background: var(--site-surface);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.news-item img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.news-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: bold;
}

.news-date {
    margin-bottom: 10px;
    color: #ccc;
    font-style: italic;
}

.news-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.news-item.tutorial {
    border-color: rgba(255, 215, 0, 0.8);
    background: rgba(255, 215, 0, 0.5);
}

.tooltip {
    position: absolute;
    z-index: 9999;
    display: none;
    max-width: 200px;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 14px;
    pointer-events: none;
}

#scrollTopBtn {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 10000;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

.menu-item:focus-visible,
.extra-button:focus-visible,
.email-text a:focus-visible,
#news-search:focus-visible,
#scrollTopBtn:focus-visible {
    outline: 3px solid var(--site-focus);
    outline-offset: 3px;
}

#news-search:focus {
    border-color: var(--site-focus);
    background: rgba(0, 0, 0, 0.55);
}

@media (hover: hover) {
    .menu-item:hover,
    .extra-button:hover,
    #scrollTopBtn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.1);
    }

    .news-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.02);
    }

    .news-item.tutorial:hover {
        background: rgba(255, 215, 0, 0.6);
    }
}

@media (max-width: 1199px) {
    :root {
        --site-content-top: 24px;
        --site-content-width: min(calc(100% - 32px), 720px);
    }

    .header {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        min-height: 0;
        padding: 12px 16px 16px;
        gap: 12px;
        backdrop-filter: none;
        background: var(--site-surface-strong);
    }

    .left-logo img {
        width: min(280px, 74vw);
        max-width: none;
        max-height: none;
    }

    .header-socials {
        display: flex;
        flex-direction: column;
        width: min(100%, 720px);
        height: auto;
        gap: 8px;
    }

    .official-links,
    .author-links {
        position: static;
        width: 100%;
        height: auto;
        min-height: 0;
        flex-wrap: wrap;
        gap: 8px;
    }

    .official-links {
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .menu-item {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .author-links .menu-item {
        transform: scale(0.8);
    }

    .extra-container {
        justify-content: center;
    }

    .email-text {
        font-size: 16px;
        text-align: center;
    }

    .extra-button {
        width: 56px;
        height: 56px;
    }

    .news-container {
        margin-bottom: 96px;
    }

    .news-item,
    #news-search {
        backdrop-filter: none;
    }

    #scrollTopBtn {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    :root {
        --site-content-width: calc(100% - 16px);
    }

    .header {
        padding: 10px 12px 14px;
        gap: 10px;
    }

    .header-socials {
        gap: 6px;
    }

    .official-links,
    .author-links {
        gap: 6px;
    }

    .menu-item {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .extra-button {
        width: 48px;
        height: 48px;
    }

    .news-item {
        padding: 16px;
    }

    .news-title {
        font-size: 20px;
    }

    .news-text {
        font-size: 15px;
    }
}

@media (hover: none) {
    .tooltip {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    color-scheme: light;
    --site-page-bg: #f1efe8;
    --site-page-bg-deep: #e4e0d5;
    --site-ink: #182028;
    --site-muted: #69747c;
    --site-text-secondary: #46535a;
    --site-line: #cbd0ce;
    --site-surface-light: #fffdf8;
    --site-surface-dark: #17232c;
    --site-accent: #d1a800;
    --site-accent-soft: #f1e2a2;
    --site-accent-ink: #755900;
    --site-hover-surface: rgba(24, 32, 40, 0.045);
    --site-guide-surface: #fffdf8;
    --site-guide-ink: #182028;
    --site-guide-muted: #59666d;
    --site-code-bg: #e8e6de;
    --site-code-ink: #253039;
    --site-content-width: min(calc(100% - 32px), 1400px);
    --site-content-top: 0px;
    --site-focus: #d49d00;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --site-page-bg: #11191f;
    --site-page-bg-deep: #1c272e;
    --site-ink: #e7edef;
    --site-muted: #aab6bc;
    --site-text-secondary: #c0c9cd;
    --site-line: #3b474e;
    --site-surface-light: #202b32;
    --site-surface-dark: #101a21;
    --site-accent: #e0b71d;
    --site-accent-soft: #f3df96;
    --site-accent-ink: #f1d268;
    --site-hover-surface: rgba(255, 255, 255, 0.055);
    --site-guide-surface: #152129;
    --site-guide-ink: #e7edef;
    --site-guide-muted: #b8c5ca;
    --site-code-bg: #0d1419;
    --site-code-ink: #e7edef;
    --site-focus: #ffe16a;
}

body {
    position: relative;
    background: var(--site-page-bg);
    color: var(--site-ink);
    font-family: Arial, sans-serif;
    line-height: 1.5;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.background-slideshow {
    z-index: 0;
    opacity: 0.035;
    filter: grayscale(0.8) sepia(0.2);
}

:root[data-theme="dark"] .background-slideshow {
    opacity: 0.045;
    filter: grayscale(1) brightness(0.75);
}

.editorial-header {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 1000;
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--site-surface-dark);
    box-shadow: 0 8px 22px rgba(15, 22, 26, 0.18);
    backdrop-filter: none;
}

.editorial-header-main {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
    align-items: center;
    gap: 28px;
    width: var(--site-content-width);
    min-height: 70px;
    margin: 0 auto;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.editorial-header .left-logo {
    display: block;
    padding: 0;
}

.editorial-header .left-logo img {
    display: block;
    width: 106px;
    max-width: 106px;
    max-height: 58px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 2px;
    letter-spacing: 0.08em;
}

.brand-copy strong {
    font-size: 16px;
    line-height: 1;
}

.brand-copy span {
    color: #bbc4c8;
    font-size: 9px;
    letter-spacing: 0.16em;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-bottom: 2px solid transparent;
    color: #e7ecec;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    border-color: var(--site-accent);
    color: #fff;
}

.header-contact {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
}

.editorial-header .email-text {
    display: grid;
    gap: 2px;
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-align: right;
}

.editorial-header .email-text a {
    color: #fff;
}

.theme-toggle {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: transparent;
    color: #e7ecec;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.theme-icon-moon {
    display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
    display: none;
}

:root[data-theme="dark"] .theme-icon-moon {
    display: block;
}

.editorial-header .additional-text {
    color: #aeb9bd;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.editorial-header .extra-button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: transparent;
}

.editorial-header .extra-button img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.editorial-utility {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: var(--site-content-width);
    min-height: 36px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.utility-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.utility-label {
    color: #8f9da2;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.editorial-header .header-socials {
    display: contents;
    width: auto;
    height: auto;
    margin: 0;
}

.editorial-header .official-links,
.editorial-header .author-links {
    display: flex;
    position: static;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    height: auto;
    gap: 5px;
}

.editorial-header .menu-item {
    display: grid;
    flex: 0 0 39.2px;
    width: 39.2px;
    height: 39.2px;
    place-items: center;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.editorial-header .menu-item .icon {
    width: 23.8px;
    height: 23.8px;
    object-fit: contain;
}

.editorial-header .author-links .menu-item {
    transform: none;
}

.editorial-header .menu-item:hover,
.editorial-header .menu-item:focus-visible {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.site-main {
    position: relative;
    z-index: 1;
    width: var(--site-content-width);
    margin: 0 auto;
    padding: 24px 0 48px;
}

.page-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: end;
    gap: 24px;
    padding: 8px 0 18px;
    border-bottom: 1px solid var(--site-line);
}

.page-kicker,
.section-kicker,
.story-kicker {
    margin: 0 0 8px;
    color: var(--site-accent-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.brand-name {
    letter-spacing: normal;
    text-transform: none;
}

.page-title {
    max-width: 700px;
    margin: 0;
    color: var(--site-ink);
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.page-lead {
    max-width: 650px;
    margin: 16px 0 0;
    color: var(--site-muted);
    font-size: 17px;
    line-height: 1.55;
}

.search-container {
    display: block;
    width: 100%;
    margin: 0;
}

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

#news-search {
    width: 100%;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid var(--site-line);
    border-radius: 0;
    outline: none;
    background: var(--site-surface-light);
    color: var(--site-ink);
    font-size: 14px;
    line-height: 1.4;
    box-shadow: none;
    backdrop-filter: none;
}

#news-search::placeholder {
    color: var(--site-muted);
}

#news-search:focus {
    border-color: var(--site-accent);
    background: var(--site-surface-light);
}

.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 20px;
    padding-top: 20px;
}

.home-primary {
    min-width: 0;
}

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

.section-heading h2 {
    margin: 0;
    color: var(--site-ink);
    font-size: 25px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-count {
    padding-bottom: 3px;
    color: var(--site-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.featured-story {
    display: block;
    padding: 20px;
    border: 0;
    border-left: 5px solid var(--site-accent);
    border-radius: 0;
    background: var(--site-surface-dark);
    color: #fff;
    box-shadow: 0 12px 28px rgba(21, 30, 35, 0.15);
    backdrop-filter: none;
}

.featured-story .story-kicker {
    color: var(--site-accent-soft);
}

.featured-story .news-title {
    max-width: 620px;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(25px, 4vw, 42px);
    letter-spacing: -0.03em;
    line-height: 1.03;
}

.featured-story .news-date {
    color: #aeb9bd;
}

.featured-story .news-text {
    max-width: 620px;
    color: #dce2e1;
}

.story-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-action span,
.sidebar-action span,
.sidebar-link span {
    color: var(--site-accent);
    font-size: 18px;
    line-height: 0.8;
}

.stream-heading {
    margin-top: 26px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--site-ink);
}

.news-container.news-stream {
    display: grid;
    width: auto;
    margin: 0;
    gap: 0;
    color: var(--site-ink);
}

.home-page .news-item {
    display: block;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--site-line);
    border-radius: 0;
    color: var(--site-ink);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: background 0.2s ease;
}

.home-page .news-item.has-image {
    display: grid;
    grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
    gap: 24px;
}

.home-page .news-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0;
    object-fit: cover;
}

.home-page .story-content {
    min-width: 0;
}

.home-page .news-item .story-kicker {
    margin-bottom: 7px;
    color: var(--site-muted);
    font-size: 9px;
}

.home-page .news-title {
    margin: 0 0 7px;
    color: var(--site-ink);
    font-size: 22px;
    line-height: 1.12;
}

.home-page .news-date {
    margin: 0 0 8px;
    color: var(--site-muted);
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.04em;
}

.home-page .news-text {
    margin: 0;
    color: var(--site-text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.home-page .news-item:hover {
    background: var(--site-hover-surface);
    transform: none;
}

.home-page .news-item:hover .news-title {
    color: var(--site-accent-ink);
}

.home-sidebar {
    display: grid;
    gap: 16px;
}

.sidebar-card {
    padding: 18px;
    border-top: 4px solid var(--site-accent);
    background: var(--site-surface-dark);
    color: #fff;
}

.sidebar-card h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 25px;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.sidebar-card p:not(.section-kicker) {
    margin: 0;
    color: #c5ced0;
    font-size: 14px;
    line-height: 1.55;
}

.sidebar-card .section-kicker {
    color: var(--site-accent-soft);
}

.sidebar-action,
.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.sidebar-action {
    margin-top: 14px;
}

.sidebar-card-muted {
    border-top-color: var(--site-line);
    background: var(--site-surface-light);
    color: var(--site-ink);
}

.sidebar-card-muted .sidebar-link {
    padding: 9px 0;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
}

.sidebar-card-muted .sidebar-link:last-child {
    border-bottom: 0;
}

.sidebar-card-muted .section-kicker {
    color: var(--site-muted);
}

.sidebar-card-muted .sidebar-link span {
    color: var(--site-accent);
}

.article-layout {
    max-width: none;
}

.article-page .article-container {
    width: auto;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--site-ink);
    box-shadow: none;
    backdrop-filter: none;
}

.article-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--site-line);
}

.article-page .back-link {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.article-page .back-link:hover,
.article-page .back-link:focus-visible {
    background: transparent;
    color: var(--site-ink);
}

.article-section {
    color: var(--site-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.article-label {
    color: var(--site-accent-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.article-page .article-date {
    margin: 0;
    color: var(--site-muted);
    font-size: 12px;
    font-style: normal;
}

.article-page .article-title {
    max-width: 1400px;
    margin: 10px 0 18px;
    color: var(--site-ink);
    font-size: clamp(34px, 3vw, 46px);
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.article-page .article-image {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 0 18px;
    display: block;
}

.article-page .article-text {
    max-width: 840px;
    margin: 0 auto;
    color: var(--site-text-secondary);
    font-size: 18px;
    line-height: 1.75;
    white-space: pre-line;
}

.tutorial-page .page-container {
    width: var(--site-content-width);
    margin: 0 auto 48px;
    padding: 20px 0 0;
}

.tutorial-page .sidebar {
    position: sticky;
    top: 18px;
    left: auto;
    width: 220px;
    max-height: calc(100vh - 36px);
    padding: 18px;
    border: 1px solid var(--site-line);
    border-radius: 0;
    background: var(--site-surface-light);
    color: var(--site-ink);
    box-shadow: none;
    z-index: 2;
}

.tutorial-page .sidebar summary {
    color: var(--site-ink);
    border-color: var(--site-line);
}

.tutorial-page .sidebar ul li a {
    color: var(--site-muted);
}

.tutorial-page .sidebar ul li a:hover {
    color: var(--site-ink);
}

.tutorial-page .content {
    margin-left: 260px;
}

.tutorial-page .article-container {
    width: auto;
    margin: 0;
    padding: 22px 28px;
    border: 1px solid var(--site-line);
    border-radius: 0;
    background: var(--site-surface-light);
    color: var(--site-ink);
    box-shadow: 0 12px 28px rgba(24, 32, 40, 0.08);
    backdrop-filter: none;
}

.tutorial-page .header-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tutorial-page .back-link {
    color: var(--site-muted);
    border-color: var(--site-line);
}

.tutorial-page .back-link:hover,
.tutorial-page .back-link:focus-visible {
    background: var(--site-page-bg-deep);
    color: var(--site-ink);
}

.tutorial-page .article-title {
    margin-top: 18px;
    color: var(--site-ink);
}

.tutorial-page .white-stripe {
    background: var(--site-accent);
}

.tutorial-page .content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
}

.tutorial-page .article-text {
    color: var(--site-text-secondary);
    text-shadow: none;
}

.tutorial-page .article-infobox {
    border-color: var(--site-line);
    background: var(--site-page-bg);
}

.tutorial-page .article-infobox img {
    width: 100%;
    height: auto;
}

#scrollTopBtn {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: var(--site-surface-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(24, 32, 40, 0.2);
}

.editorial-header a:focus-visible,
.theme-toggle:focus-visible,
.site-main a:focus-visible,
#news-search:focus-visible,
#scrollTopBtn:focus-visible {
    outline: 3px solid var(--site-focus);
    outline-offset: 3px;
}

.tutorial-page #scrollTopBtn {
    background: var(--site-surface-dark);
    color: #fff;
}

@media (max-width: 1024px) {
    :root {
        --site-content-width: calc(100% - 24px);
    }

    .editorial-header-main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px 24px;
        padding: 14px 0;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .header-contact {
        margin-left: auto;
    }

    .editorial-utility {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 6px 0;
    }

    .page-intro,
    .home-grid {
        grid-template-columns: 1fr;
    }

    .page-intro {
        gap: 18px;
    }

    .home-grid {
        gap: 24px;
    }

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

    .tutorial-page .page-container {
        width: var(--site-content-width);
        padding-top: 24px;
    }

    .tutorial-page .sidebar {
        width: 100%;
        max-height: none;
        margin-bottom: 18px;
    }

    .tutorial-page .content {
        margin-left: 0;
    }
}

:root {
    --site-page-bg: #ece9df;
    --site-page-bg-deep: #ddd9cc;
    --site-ink: #15232c;
    --site-muted: #66757d;
    --site-text-secondary: #3d4c54;
    --site-line: #c7cbc7;
    --site-surface-light: #f8f6ef;
    --site-surface-dark: #14222b;
    --site-accent: #d8ad32;
    --site-accent-soft: #f2dda0;
    --site-accent-ink: #705500;
    --site-hover-surface: rgba(21, 35, 44, 0.055);
    --site-guide-surface: #f8f6ef;
    --site-guide-ink: #15232c;
    --site-guide-muted: #596a72;
    --site-code-bg: #e3e0d6;
    --site-code-ink: #1d2b33;
    --site-focus: #e2ad22;
}

:root[data-theme="dark"] {
    --site-page-bg: #0c151b;
    --site-page-bg-deep: #152129;
    --site-ink: #edf2f1;
    --site-muted: #9cabb1;
    --site-text-secondary: #c2cccf;
    --site-line: #34434b;
    --site-surface-light: #17252d;
    --site-surface-dark: #101d24;
    --site-accent: #edbd3d;
    --site-accent-soft: #f5dfa0;
    --site-accent-ink: #f0c846;
    --site-hover-surface: rgba(235, 242, 241, 0.055);
    --site-guide-surface: #15232b;
    --site-guide-ink: #edf2f1;
    --site-guide-muted: #bdc9cc;
    --site-code-bg: #0b1217;
    --site-code-ink: #eaf0ef;
    --site-focus: #ffe17c;
}

html {
    scrollbar-color: #69767a var(--site-page-bg);
}

body {
    background-color: var(--site-page-bg);
    background-image: radial-gradient(ellipse at 50% 0, rgba(216, 173, 50, 0.045), transparent 48%);
    color: var(--site-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

.background-slideshow {
    opacity: 0.026;
    filter: grayscale(1) contrast(0.82);
    pointer-events: none;
}

:root[data-theme="dark"] .background-slideshow {
    opacity: 0.15;
    filter: none;
}

.editorial-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(6, 13, 17, 0.2);
}

.editorial-header-main {
    min-height: 76px;
    gap: 20px;
}

.brand-link {
    gap: 13px;
}

.editorial-header .left-logo img {
    width: 98px;
    max-width: 98px;
    max-height: 54px;
}

.brand-copy {
    gap: 4px;
    letter-spacing: 0.04em;
}

.brand-copy strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.brand-copy span {
    color: #aebbc0;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.site-nav {
    gap: 2px;
}

.nav-link {
    position: relative;
    min-height: 42px;
    padding: 0 13px;
    border-bottom-width: 2px;
    color: #c9d2d4;
    font-size: 11px;
    letter-spacing: 0.1em;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
}

.editorial-header .email-text a {
    font-size: 12px;
    font-weight: 650;
}

.editorial-header .additional-text {
    color: #9baab0;
    font-size: 10px;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.theme-toggle:hover {
    border-color: var(--site-accent);
    background: rgba(216, 173, 50, 0.12);
    transform: translateY(-1px);
}

.editorial-header .extra-button {
    width: 36px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.17);
}

.editorial-utility {
    width: var(--site-content-width);
    min-height: 56px;
    margin: 0 auto;
    padding: 7px 0;
    border-top-color: rgba(255, 255, 255, 0.11);
    gap: 47.6px;
}

.utility-group {
    gap: 16.8px;
}

.utility-label {
    color: #8e9da3;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.editorial-header .official-links,
.editorial-header .author-links {
    gap: 7px;
}

.editorial-header .menu-item {
    flex: 0 0 39.2px;
    width: 39.2px;
    height: 39.2px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
    transform: none;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.editorial-header .menu-item .icon {
    width: 23.8px;
    height: 23.8px;
    object-fit: contain;
}

.editorial-header .menu-item:hover,
.editorial-header .menu-item:focus-visible {
    border-color: rgba(237, 189, 61, 0.45);
    background: rgba(255, 255, 255, 0.08);
    transform: none;
}

.site-main {
    padding-top: 22px;
}

.page-intro {
    position: relative;
    isolation: isolate;
    min-height: 248px;
    align-items: end;
    gap: clamp(24px, 4vw, 64px);
    overflow: hidden;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(220, 230, 229, 0.12);
    border-left: 3px solid var(--site-accent);
    background:
        linear-gradient(110deg, rgba(16, 29, 37, 0.98) 0%, rgba(20, 35, 43, 0.97) 54%, rgba(24, 39, 45, 0.94) 100%);
    box-shadow: 0 18px 42px rgba(12, 21, 27, 0.16);
}

.page-intro::before,
.page-intro::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.page-intro::before {
    inset: 0 0 0 auto;
    width: 49%;
    background-image:
        linear-gradient(rgba(220, 230, 229, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 230, 229, 0.07) 1px, transparent 1px),
        linear-gradient(135deg, transparent 48%, rgba(237, 189, 61, 0.08) 48.2%, transparent 48.6%);
    background-size: 32px 32px, 32px 32px, 100% 100%;
    mask-image: linear-gradient(90deg, transparent, #000 70%);
}

.page-intro::after {
    top: -168px;
    right: 6%;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(237, 189, 61, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(237, 189, 61, 0.035), 0 0 0 72px rgba(237, 189, 61, 0.025);
}

.page-intro > * {
    position: relative;
    z-index: 1;
}

.page-kicker {
    margin-bottom: 14px;
    color: #edbd3d;
    font-size: 9px;
    letter-spacing: 0.2em;
}

.page-title {
    max-width: 850px;
    color: #f4f5f1;
    font-size: clamp(38px, 4.6vw, 66px);
    font-weight: 760;
    letter-spacing: -0.058em;
    line-height: 0.97;
    text-wrap: balance;
}

.page-lead {
    max-width: 620px;
    margin-top: 17px;
    color: #bac6c8;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.55;
}

.search-container {
    position: relative;
    max-width: 350px;
    padding-bottom: 2px;
}

#news-search {
    min-height: 48px;
    padding: 12px 16px 12px 44px;
    border: 1px solid rgba(233, 240, 238, 0.25);
    border-radius: 2px;
    background: rgba(7, 17, 23, 0.48);
    color: #f3f5f2;
    box-shadow: 0 8px 24px rgba(6, 14, 18, 0.15);
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.search-container::before {
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 16px;
    width: 13px;
    height: 13px;
    border: 1.5px solid #a9b5b8;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.search-container::after {
    position: absolute;
    z-index: 2;
    top: 28px;
    left: 29px;
    width: 6px;
    height: 1.5px;
    background: #a9b5b8;
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
}

#news-search::placeholder {
    color: #a8b6b9;
}

#news-search:focus {
    border-color: var(--site-accent);
    background: rgba(7, 17, 23, 0.78);
    box-shadow: 0 0 0 3px rgba(237, 189, 61, 0.12);
}

.home-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: clamp(20px, 2vw, 30px);
    padding-top: 26px;
}

.section-heading {
    min-height: 58px;
    margin-bottom: 13px;
}

.section-heading h2 {
    font-size: clamp(24px, 2vw, 29px);
    font-weight: 740;
    letter-spacing: -0.045em;
}

.section-kicker {
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: 0.19em;
}

.section-count {
    padding: 5px 8px;
    border: 1px solid var(--site-line);
    color: var(--site-muted);
    font-size: 8px;
    letter-spacing: 0.16em;
}

.featured-story {
    position: relative;
    isolation: isolate;
    min-height: 256px;
    overflow: hidden;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(233, 240, 238, 0.13);
    border-left: 3px solid var(--site-accent);
    background:
        radial-gradient(ellipse at 88% 18%, rgba(216, 173, 50, 0.12), transparent 32%),
        linear-gradient(120deg, #12212a 0%, #172832 68%, #1b2c32 100%);
    box-shadow: 0 14px 32px rgba(12, 21, 27, 0.17);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.featured-story::before,
.featured-story::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.featured-story::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(227, 237, 234, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(227, 237, 234, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.featured-story::after {
    top: -115px;
    right: -55px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(237, 189, 61, 0.21);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(237, 189, 61, 0.035), 0 0 0 56px rgba(237, 189, 61, 0.025);
}

.featured-story .story-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.featured-story .story-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #f0cc67;
}

.featured-story .story-kicker::before {
    width: 20px;
    height: 1px;
    background: var(--site-accent);
    content: "";
}

.featured-story .news-title {
    max-width: 620px;
    margin-bottom: 12px;
    font-size: clamp(29px, 3.2vw, 43px);
    font-weight: 740;
    letter-spacing: -0.05em;
    line-height: 1.02;
    text-wrap: balance;
}

.featured-story .news-date {
    color: #aab9bd;
    font-size: 9px;
    letter-spacing: 0.16em;
}

.featured-story .news-text {
    max-width: 590px;
    color: #c7d1d1;
    font-size: 15px;
    line-height: 1.6;
}

.story-action {
    min-height: 32px;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(233, 240, 238, 0.16);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.story-action span,
.sidebar-action span,
.sidebar-link span {
    color: #f0c846;
}

.stream-heading {
    margin-top: 30px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--site-ink);
}

.news-container.news-stream {
    border-top: 1px solid var(--site-line);
}

.home-page .news-item {
    position: relative;
    padding: 18px 14px;
    border-bottom: 1px solid var(--site-line);
    transition: background-color 0.18s ease, padding-left 0.18s ease;
}

.home-page .news-item::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: var(--site-accent);
    content: "";
    opacity: 0;
    transition: opacity 0.18s ease;
}

.home-page .news-item.has-image {
    grid-template-columns: minmax(170px, 245px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 2vw, 26px);
}

.home-page .news-item img {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--site-line);
    background: var(--site-page-bg-deep);
    box-shadow: 0 8px 20px rgba(11, 20, 25, 0.12);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.home-page .news-item .story-kicker {
    margin-bottom: 8px;
    color: var(--site-accent-ink);
    font-size: 8px;
    letter-spacing: 0.18em;
}

.home-page .news-title {
    margin-bottom: 8px;
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: 720;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.home-page .news-date {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: 0.025em;
}

.home-page .news-text {
    font-size: 14px;
    line-height: 1.55;
}

.home-page .news-item:hover {
    padding-left: 19px;
    background: var(--site-hover-surface);
}

.home-page .news-item:hover::before {
    opacity: 1;
}

.home-page .news-item:hover .news-title {
    color: var(--site-accent-ink);
}

.home-page .news-item:hover img {
    filter: saturate(1.08);
    box-shadow: 0 10px 25px rgba(11, 20, 25, 0.2);
}

.home-sidebar {
    gap: 12px;
}

.sidebar-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(233, 240, 238, 0.12);
    border-top: 2px solid var(--site-accent);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 58%),
        #14222b;
    box-shadow: 0 12px 28px rgba(12, 21, 27, 0.12);
}

.sidebar-card:first-child::after {
    position: absolute;
    top: -58px;
    right: -58px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(237, 189, 61, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(237, 189, 61, 0.025);
    content: "";
    pointer-events: none;
}

.sidebar-card .section-kicker,
.sidebar-card h2,
.sidebar-card p:not(.section-kicker),
.sidebar-card a {
    position: relative;
    z-index: 1;
}

.sidebar-card h2 {
    font-size: clamp(24px, 2.2vw, 29px);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.sidebar-card p:not(.section-kicker) {
    color: #c1ccce;
    font-size: 13px;
    line-height: 1.65;
}

.sidebar-action {
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid rgba(233, 240, 238, 0.15);
    font-size: 9px;
    letter-spacing: 0.12em;
}

.sidebar-card-muted {
    border: 1px solid var(--site-line);
    border-top: 2px solid var(--site-line);
    background: var(--site-surface-light);
    box-shadow: 0 8px 22px rgba(12, 21, 27, 0.055);
}

.sidebar-card-muted .sidebar-link {
    min-height: 42px;
    padding: 10px 2px;
    border-bottom-color: var(--site-line);
    font-size: 10px;
    letter-spacing: 0.1em;
    transition: padding 0.18s ease, color 0.18s ease;
}

.sidebar-card-muted .sidebar-link:hover {
    padding-left: 7px;
    color: var(--site-accent-ink);
}

.article-topline {
    min-height: 42px;
    border-bottom-color: var(--site-line);
}

.article-section {
    letter-spacing: 0.17em;
}

.article-meta {
    margin-top: 30px;
}

.article-label {
    padding: 5px 8px;
    border: 1px solid var(--site-line);
    color: var(--site-accent-ink);
    font-size: 8px;
    letter-spacing: 0.17em;
}

.article-page .article-title {
    max-width: 1100px;
    margin: 15px 0 25px;
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 760;
    letter-spacing: -0.06em;
    line-height: 0.98;
    text-wrap: balance;
}

.article-page .article-image {
    max-height: 620px;
    margin-bottom: 28px;
    border: 1px solid var(--site-line);
    background: var(--site-page-bg-deep);
    object-fit: contain;
}

.article-page .article-text {
    max-width: 790px;
    font-size: 18px;
    line-height: 1.8;
}

html body.tutorial-page .sidebar {
    border-left: 2px solid var(--site-accent);
    background: var(--site-surface-light);
    box-shadow: 0 10px 28px rgba(12, 21, 27, 0.08);
}

html body.tutorial-page .article-container {
    border-top: 2px solid var(--site-accent);
    box-shadow: 0 18px 42px rgba(12, 21, 27, 0.1);
}

html body.tutorial-page .article-text {
    font-size: 16px;
    line-height: 1.78;
}

html body.tutorial-page .article-text h1,
html body.tutorial-page .article-text h2,
html body.tutorial-page .article-text h3 {
    color: var(--site-ink);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

html body.tutorial-page .article-text h2 {
    margin-top: 1.8em;
    padding-bottom: 0.45em;
    border-bottom: 1px solid var(--site-line);
}

html body.tutorial-page .article-text img {
    border: 1px solid var(--site-line);
    box-shadow: 0 10px 28px rgba(12, 21, 27, 0.1);
}

.editorial-header a:focus-visible,
.theme-toggle:focus-visible,
.site-main a:focus-visible,
#news-search:focus-visible,
#scrollTopBtn:focus-visible {
    outline-color: var(--site-focus);
    outline-offset: 4px;
}

#scrollTopBtn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2px;
    background: var(--site-surface-dark);
    color: #f3f5f1;
    box-shadow: 0 8px 22px rgba(7, 14, 18, 0.22);
}

::selection {
    background: rgba(216, 173, 50, 0.35);
    color: var(--site-ink);
}

@media (hover: hover) {
    .featured-story:hover {
        border-color: rgba(237, 189, 61, 0.48);
        box-shadow: 0 18px 38px rgba(12, 21, 27, 0.24);
        transform: translateY(-2px);
    }
}

@media (max-width: 1024px) {
    .editorial-header-main {
        padding: 12px 0;
    }

    .editorial-utility {
        width: var(--site-content-width);
        gap: 22px;
    }

    .page-intro {
        min-height: 0;
        padding: 30px;
    }

    .page-intro::before {
        width: 62%;
    }

    .page-intro::after {
        right: -4%;
    }

    .search-container {
        max-width: 460px;
    }

    .home-grid {
        gap: 24px;
    }

    .home-sidebar {
        align-items: stretch;
    }

    html body.tutorial-page .article-container {
        padding: 22px 24px;
    }
}

@media (max-width: 600px) {
    .editorial-header-main {
        gap: 8px 12px;
    }

    .editorial-header .left-logo img {
        width: 82px;
        max-width: 82px;
    }

    .theme-toggle,
    .editorial-header .extra-button {
        width: 34px;
        height: 34px;
    }

    .editorial-utility {
        gap: 17px;
    }

    .utility-group {
        flex: 0 0 auto;
        gap: 7px;
    }

    .editorial-header .official-links,
    .editorial-header .author-links {
        gap: 1px;
    }

    .editorial-header .menu-item {
        flex-basis: 39.2px;
        width: 39.2px;
        height: 39.2px;
    }

    .editorial-header .menu-item .icon {
        width: 23.8px;
        height: 23.8px;
    }

    .site-main {
        padding-top: 12px;
    }

    .page-intro {
        gap: 20px;
        padding: 24px 20px;
    }

    .page-intro::before {
        width: 100%;
        opacity: 0.65;
    }

    .page-intro::after {
        top: -175px;
        right: -130px;
    }

    .page-title {
        font-size: clamp(36px, 10.5vw, 52px);
    }

    .page-lead {
        margin-top: 12px;
        font-size: 14px;
    }

    .search-container {
        max-width: none;
    }

    .home-grid {
        gap: 20px;
        padding-top: 18px;
    }

    .section-heading {
        min-height: 52px;
    }

    .featured-story {
        min-height: 0;
        padding: 22px 19px;
    }

    .featured-story::after {
        right: -155px;
    }

    .featured-story .news-title {
        font-size: clamp(27px, 8vw, 36px);
    }

    .home-page .news-item {
        padding: 14px 8px;
    }

    .home-page .news-item.has-image {
        grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    .home-page .news-title {
        font-size: 17px;
    }

    .home-page .news-text {
        font-size: 13px;
    }

    .home-sidebar {
        gap: 10px;
    }

    .sidebar-card {
        padding: 19px;
    }

    .article-meta {
        margin-top: 22px;
    }

    .article-page .article-title {
        margin-bottom: 18px;
        font-size: clamp(34px, 10vw, 48px);
    }

    .article-page .article-image {
        margin-bottom: 20px;
    }

    .article-page .article-text {
        font-size: 16px;
        line-height: 1.7;
    }

    html body.tutorial-page .article-container {
        padding: 18px 15px;
    }
}

@media (max-width: 600px) {
    :root {
        --site-content-width: calc(100% - 16px);
    }

    .editorial-header-main {
        align-items: flex-start;
    }

    .editorial-header .left-logo img {
        width: 88px;
        max-width: 88px;
    }

    .brand-copy {
        display: none;
    }

    .header-contact .email-text {
        display: none;
    }

    .editorial-utility {
        gap: 16px;
    }

    .utility-group {
        gap: 7px;
    }

    .utility-label {
        font-size: 8px;
    }

    .nav-link {
        padding: 0 9px;
        font-size: 10px;
    }

    .site-main {
        padding-top: 20px;
    }

    .page-title {
        font-size: clamp(32px, 12vw, 48px);
    }

    .page-lead {
        font-size: 15px;
    }

    .home-page .news-item.has-image {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
    }

    .home-page .news-title {
        font-size: 18px;
    }

    .home-page .news-text {
        font-size: 14px;
    }

    .featured-story {
        padding: 18px;
    }

    .home-sidebar {
        grid-template-columns: 1fr;
    }

    .article-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .article-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin-top: 24px;
    }

    .article-page .article-title {
        font-size: clamp(32px, 11vw, 48px);
    }

    .article-page .article-text {
        font-size: 16px;
        line-height: 1.65;
    }

    .tutorial-page .article-container {
        padding: 22px 18px;
    }

    .tutorial-page .content-layout {
        grid-template-columns: 1fr;
    }
}

.tutorial-page .sidebar {
    position: fixed;
    top: 140px;
    left: max(16px, calc((100% - 1400px) / 2));
    width: 220px;
    max-height: calc(100vh - 152px);
    margin: 0;
    padding: 12px;
    overflow-y: auto;
}

.tutorial-page .page-container {
    width: calc(var(--site-content-width) - 248px);
    margin: 20px max(16px, calc((100% - 1400px) / 2)) 48px auto;
    padding: 0;
}

.tutorial-page .content {
    margin-left: 0;
}

@media (max-width: 1024px) {
    .tutorial-page .sidebar {
        position: relative;
        top: auto;
        left: auto;
        width: var(--site-content-width);
        max-height: 240px;
        margin: 12px auto;
        padding: 12px;
        overflow-y: auto;
    }

    .tutorial-page .page-container {
        width: var(--site-content-width);
        margin: 0 auto 40px;
        padding: 0;
    }

    .tutorial-page .content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .tutorial-page .article-infobox {
        float: none;
        width: 100%;
        margin: 16px 0 0;
    }
}

@media (max-width: 600px) {
    .site-main {
        padding-top: 12px;
    }

    .page-title {
        font-size: clamp(36px, 10.5vw, 52px);
    }

    .page-lead {
        font-size: 14px;
    }

    .home-page .news-item.has-image {
        grid-template-columns: minmax(104px, 35%) minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    .home-page .news-title {
        font-size: clamp(16px, 4.4vw, 19px);
    }

    .home-page .news-text {
        font-size: 14px;
    }

    .featured-story {
        padding: 22px 19px;
    }

    .article-page .article-title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .article-page .article-text {
        font-size: 16px;
        line-height: 1.7;
    }

    html body.tutorial-page .article-container {
        padding: 18px 15px;
    }
}

@media (max-width: 1024px) {
    .editorial-header-main,
    .editorial-utility,
    .site-main,
    .home-grid,
    .article-layout {
        min-width: 0;
    }

    .editorial-utility {
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
    }

    .editorial-header .menu-item {
        flex-basis: 39.2px;
        width: 39.2px;
        height: 39.2px;
    }

    .editorial-header .menu-item .icon {
        width: 23.8px;
        height: 23.8px;
    }

    .theme-toggle,
    .editorial-header .extra-button {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }

    .nav-link {
        min-height: 44px;
    }
}

@media (min-width: 760px) and (max-width: 1024px) {
    .home-grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 30%);
        gap: 16px;
    }

    .home-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-page .news-item.has-image {
        grid-template-columns: minmax(140px, 36%) minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .editorial-header-main {
        align-items: center;
        gap: 8px;
        padding: 9px 0;
    }

    .editorial-header .left-logo img {
        width: 82px;
        max-width: 82px;
    }

    .header-contact {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .theme-toggle,
    .editorial-header .extra-button {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        overflow: visible;
        padding: 6px 0 0;
    }

    .nav-link {
        justify-content: center;
        min-width: 0;
        min-height: 48px;
        padding: 5px 7px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 2px solid transparent;
        background: rgba(255, 255, 255, 0.025);
        font-size: 10px;
        line-height: 1.25;
        text-align: center;
    }

    .editorial-utility {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 0;
        padding: 3px 0 7px;
        overflow: visible;
    }

    .utility-group {
        justify-content: center;
        width: 100%;
        gap: 0;
    }

    .utility-label {
        display: none;
    }

    .editorial-header .official-links,
    .editorial-header .author-links {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 2px;
        width: auto;
    }

    .editorial-header .menu-item {
        flex-basis: 39.2px;
        width: 39.2px;
        height: 39.2px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.025);
    }

    .editorial-header .menu-item .icon {
        width: 23.8px;
        height: 23.8px;
    }

    .site-main {
        padding-top: 10px;
    }

    .page-intro {
        gap: 16px;
        padding: 20px 16px;
    }

    .page-intro::before {
        opacity: 0.3;
    }

    .page-intro::after {
        display: none;
    }

    .page-kicker {
        margin-bottom: 10px;
        font-size: 8px;
    }

    .page-title {
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1.04;
        letter-spacing: -0.045em;
    }

    .page-lead {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.5;
    }

    .search-container {
        max-width: none;
    }

    #news-search {
        min-height: 50px;
        font-size: 16px;
    }

    .home-grid {
        gap: 18px;
        padding-top: 16px;
    }

    .section-heading {
        min-height: 48px;
        margin-bottom: 10px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .featured-story {
        padding: 18px 16px;
    }

    .featured-story::after {
        right: -185px;
        opacity: 0.45;
    }

    .featured-story .news-title {
        font-size: clamp(25px, 7.5vw, 34px);
    }

    .featured-story .news-text,
    .home-page .news-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .story-action,
    .sidebar-action,
    .sidebar-link {
        min-height: 44px;
    }

    .home-page .news-item {
        padding: 14px 4px;
    }

    .home-page .news-item.has-image {
        grid-template-columns: minmax(104px, 36%) minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    .home-page .news-title {
        font-size: clamp(16px, 4.6vw, 19px);
        line-height: 1.2;
    }

    .home-page .news-item img {
        aspect-ratio: 16 / 10;
    }

    .home-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .sidebar-card {
        padding: 18px;
    }

    .article-topline {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .article-page .back-link {
        min-height: 44px;
    }

    .article-page .article-title {
        margin: 12px 0 18px;
        font-size: clamp(30px, 9.5vw, 46px);
        line-height: 1.03;
    }

    .article-page .article-image {
        width: 100%;
        max-height: none;
        margin-bottom: 18px;
        object-fit: contain;
    }

    .article-page .article-text {
        font-size: 16px;
        line-height: 1.68;
    }

    html body.tutorial-page .sidebar {
        position: relative;
        top: auto;
        left: auto;
        width: var(--site-content-width);
        max-height: none;
        margin: 8px auto 12px;
        overflow: visible;
    }

    html body.tutorial-page .sidebar[open] {
        max-height: 55dvh;
        overflow-y: auto;
    }

    html body.tutorial-page .sidebar summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        padding: 4px 0;
        font-size: 16px;
    }

    html body.tutorial-page .sidebar ul li a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 8px 0;
        font-size: 15px;
    }

    html body.tutorial-page .page-container {
        width: var(--site-content-width);
        margin: 0 auto 28px;
        padding: 0;
    }

    html body.tutorial-page .article-container {
        padding: 17px 14px;
    }

    html body.tutorial-page .article-text {
        font-size: 16px;
        line-height: 1.68;
    }

    #scrollTopBtn {
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        width: 48px;
        height: 48px;
    }

    .home-page .news-item:active,
    .editorial-header .nav-link:active,
    .editorial-header .menu-item:active,
    .sidebar-link:active {
        background-color: rgba(216, 173, 50, 0.12);
    }
}

@media (max-width: 360px) {
    .editorial-header .menu-item {
        flex-basis: 39.2px;
        width: 39.2px;
        height: 39.2px;
    }

    .editorial-header .menu-item .icon {
        width: 23.8px;
        height: 23.8px;
    }

    .page-intro {
        padding-right: 14px;
        padding-left: 14px;
    }

    .home-page .news-item.has-image {
        grid-template-columns: minmax(96px, 35%) minmax(0, 1fr);
        gap: 10px;
    }

    .home-page .news-title {
        font-size: 16px;
    }
}

@media (min-width: 601px) and (max-width: 1024px) and (orientation: landscape) {
    .home-grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 30%);
    }

    .page-intro {
        gap: 18px;
        padding: 24px;
    }
}

.community-prompt[hidden] {
    display: none;
}

.community-prompt {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 1100;
    width: min(390px, calc(100vw - 40px));
    box-sizing: border-box;
    padding: 22px;
    border: 1px solid var(--site-line);
    border-top: 3px solid var(--site-accent);
    background: var(--site-surface-light);
    color: var(--site-ink);
    box-shadow: 0 18px 46px rgba(10, 18, 22, 0.22);
}

.community-prompt-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.community-prompt-kicker {
    margin: 0;
    color: var(--site-accent-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.25;
    text-transform: uppercase;
}

.community-prompt-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: -9px -9px 0 0;
    border: 1px solid var(--site-line);
    border-radius: 50%;
    background: transparent;
    color: var(--site-muted);
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.community-prompt-close:hover {
    border-color: var(--site-accent);
    background: var(--site-hover-surface);
    color: var(--site-ink);
}

.community-prompt h2 {
    margin: 4px 0 7px;
    color: var(--site-ink);
    font-size: clamp(24px, 3vw, 30px);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.community-prompt-copy {
    max-width: 31ch;
    margin: 0 0 17px;
    color: var(--site-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.community-prompt-links {
    display: grid;
    gap: 0;
}

.community-prompt-links a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 0;
    border-top: 1px solid var(--site-line);
    color: var(--site-ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: color 180ms ease, padding-left 180ms ease;
}

.community-prompt-links a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.community-prompt-links a > span:last-child {
    color: var(--site-accent-ink);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.community-prompt-links a:hover {
    padding-left: 5px;
    color: var(--site-accent-ink);
}

.community-prompt a:focus-visible,
.community-prompt button:focus-visible {
    outline: 2px solid var(--site-focus);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .community-prompt {
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        left: max(8px, env(safe-area-inset-left));
        width: auto;
        padding: 18px;
    }

    .community-prompt h2 {
        font-size: 25px;
    }

    .community-prompt-copy {
        max-width: none;
        margin-bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-prompt-close,
    .community-prompt-links a {
        transition: none;
    }
}

.language-picker {
    position: relative;
    z-index: 1200;
}

.language-picker summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #e7ecec;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    list-style: none;
}

.language-picker summary::-webkit-details-marker {
    display: none;
}

.language-picker summary::after {
    content: '⌄';
    color: var(--site-accent);
    font-size: 15px;
    line-height: 1;
}

.language-picker[open] summary,
.language-picker summary:hover {
    border-color: var(--site-accent);
    background: rgba(216, 173, 50, 0.1);
}

.language-picker img {
    display: block;
    width: 24px;
    height: 16px;
    object-fit: contain;
}

.language-picker-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(126px, 1fr));
    width: max-content;
    max-width: min(330px, calc(100vw - 24px));
    padding: 6px;
    border: 1px solid var(--site-line);
    background: var(--site-surface-dark);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.language-picker-menu a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 5px 8px;
    color: var(--site-ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.language-picker-menu a:hover,
.language-picker-menu a:focus-visible,
.language-picker-menu a[aria-current="true"] {
    background: var(--site-hover-surface);
    color: var(--site-accent-ink);
}

@media (max-width: 600px) {
    .language-picker summary {
        width: 44px;
        min-height: 44px;
        justify-content: center;
        padding: 0;
    }

    .language-picker summary span,
    .language-picker summary::after {
        display: none;
    }

    .language-picker-menu {
        right: -51px;
        grid-template-columns: minmax(142px, 1fr);
        max-height: min(500px, calc(100dvh - 86px));
        overflow-y: auto;
    }
}

:root {
    --site-page-bg: #eef3f1;
    --site-page-bg-deep: #dbe7e3;
    --site-ink: #13272e;
    --site-muted: #53676d;
    --site-text-secondary: #31484f;
    --site-line: #b8c8c4;
    --site-surface-light: #ffffff;
    --site-surface-dark: #f7fbf9;
    --site-accent: #c89516;
    --site-accent-soft: #f1d37b;
    --site-accent-ink: #735100;
    --site-hover-surface: #e4eeeb;
    --site-guide-surface: #ffffff;
    --site-guide-ink: #13272e;
    --site-guide-muted: #4c6066;
    --site-code-bg: #e3ece9;
    --site-code-ink: #173039;
    --site-focus: #b47b00;
    --site-header-bg: #f8fbfa;
    --site-header-ink: #142930;
    --site-header-muted: #52666c;
    --site-header-line: #b8c8c4;
    --site-header-hover: #e7f0ed;
    --site-feature-bg: #fbfdfc;
    --site-feature-ink: #13272e;
    --site-feature-muted: #40575d;
    --site-feature-line: #b9cbc7;
    --site-feature-grid: rgba(33, 68, 71, 0.075);
    --site-control-bg: #ffffff;
    --site-control-ink: #152b32;
    --site-control-line: #9eb3ae;
    --site-control-hover: #e7f0ed;
    --site-floating-surface: #ffffff;
    --site-floating-ink: #142930;
    --site-floating-line: #9db2ad;
    --site-shadow: 0 12px 28px rgba(24, 54, 58, 0.1);
    --site-shadow-strong: 0 18px 42px rgba(21, 49, 53, 0.16);
}

:root[data-theme="dark"] {
    --site-page-bg: #0c151b;
    --site-page-bg-deep: #152129;
    --site-ink: #edf2f1;
    --site-muted: #9cabb1;
    --site-text-secondary: #c2cccf;
    --site-line: #34434b;
    --site-surface-light: #17252d;
    --site-surface-dark: #101d24;
    --site-accent: #edbd3d;
    --site-accent-soft: #f5dfa0;
    --site-accent-ink: #f0c846;
    --site-hover-surface: rgba(235, 242, 241, 0.055);
    --site-guide-surface: #15232b;
    --site-guide-ink: #edf2f1;
    --site-guide-muted: #bdc9cc;
    --site-code-bg: #0b1217;
    --site-code-ink: #eaf0ef;
    --site-focus: #ffe17c;
    --site-header-bg: #101d24;
    --site-header-ink: #f4f7f5;
    --site-header-muted: #aab8bd;
    --site-header-line: rgba(255, 255, 255, 0.11);
    --site-header-hover: rgba(255, 255, 255, 0.08);
    --site-feature-bg: #14242d;
    --site-feature-ink: #f4f7f5;
    --site-feature-muted: #c2cccf;
    --site-feature-line: rgba(233, 240, 238, 0.14);
    --site-feature-grid: rgba(227, 237, 234, 0.045);
    --site-control-bg: rgba(7, 17, 23, 0.62);
    --site-control-ink: #f3f5f2;
    --site-control-line: rgba(233, 240, 238, 0.25);
    --site-control-hover: rgba(7, 17, 23, 0.8);
    --site-floating-surface: #17252d;
    --site-floating-ink: #edf2f1;
    --site-floating-line: #415158;
    --site-shadow: 0 12px 28px rgba(3, 9, 12, 0.24);
    --site-shadow-strong: 0 18px 42px rgba(3, 9, 12, 0.34);
}

body {
    background-color: var(--site-page-bg);
    background-image: radial-gradient(ellipse at 50% 0, rgba(200, 149, 22, 0.06), transparent 48%);
}

.background-slideshow {
    opacity: 0.055;
    filter: none;
}

:root[data-theme="dark"] .background-slideshow {
    opacity: 0.15;
    filter: none;
}

.editorial-header {
    border-bottom-color: var(--site-header-line);
    background: var(--site-header-bg);
    box-shadow: var(--site-shadow);
}

.brand-link,
.editorial-header .email-text,
.editorial-header .email-text a,
.brand-copy strong {
    color: var(--site-header-ink);
}

.brand-copy span,
.editorial-header .additional-text,
.utility-label {
    color: var(--site-header-muted);
}

.nav-link {
    color: var(--site-header-muted);
}

.nav-link:hover,
.nav-link:focus-visible {
    border-color: var(--site-accent);
    background: var(--site-header-hover);
    color: var(--site-header-ink);
}

.theme-toggle,
.editorial-header .extra-button,
.language-picker summary {
    border-color: var(--site-header-line);
    background: transparent;
    color: var(--site-header-ink);
}

.theme-toggle:hover,
.language-picker[open] summary,
.language-picker summary:hover {
    border-color: var(--site-accent);
    background: rgba(200, 149, 22, 0.11);
    color: var(--site-header-ink);
}

.editorial-utility {
    border-top-color: var(--site-header-line);
}

.editorial-header .menu-item {
    border-color: transparent;
    background: transparent;
}

.editorial-header .menu-item:hover,
.editorial-header .menu-item:focus-visible {
    border-color: var(--site-accent);
    background: var(--site-header-hover);
}

.page-intro,
.featured-story,
.sidebar-card {
    border-color: var(--site-feature-line);
    background: var(--site-feature-bg);
    box-shadow: var(--site-shadow-strong);
    color: var(--site-feature-ink);
}

.page-intro {
    border-left-color: var(--site-accent);
}

.page-intro::before {
    background-image:
        linear-gradient(var(--site-feature-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--site-feature-grid) 1px, transparent 1px),
        linear-gradient(135deg, transparent 48%, rgba(200, 149, 22, 0.13) 48.2%, transparent 48.6%);
}

.page-intro::after,
.featured-story::after,
.sidebar-card:first-child::after {
    border-color: rgba(200, 149, 22, 0.28);
    box-shadow: 0 0 0 28px rgba(200, 149, 22, 0.045), 0 0 0 64px rgba(200, 149, 22, 0.025);
}

.page-kicker,
.section-kicker,
.story-kicker,
.featured-story .story-kicker,
.sidebar-card .section-kicker {
    color: var(--site-accent-ink);
}

.page-title,
.featured-story .news-title,
.sidebar-card h2,
.story-action,
.sidebar-action,
.sidebar-card .sidebar-link {
    color: var(--site-feature-ink);
}

.page-lead,
.featured-story .news-text,
.sidebar-card p:not(.section-kicker) {
    color: var(--site-feature-muted);
}

.featured-story .news-date {
    color: var(--site-feature-muted);
}

.featured-story::before {
    background-image:
        linear-gradient(var(--site-feature-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--site-feature-grid) 1px, transparent 1px);
}

.story-action,
.sidebar-action {
    border-top-color: var(--site-feature-line);
}

.story-action span,
.sidebar-action span,
.sidebar-link span {
    color: var(--site-accent-ink);
}

#news-search {
    border-color: var(--site-control-line);
    background: var(--site-control-bg);
    color: var(--site-control-ink);
    box-shadow: 0 8px 22px rgba(20, 48, 52, 0.1);
}

#news-search::placeholder,
.search-container::before {
    color: var(--site-muted);
}

.search-container::before {
    border-color: var(--site-muted);
}

.search-container::after {
    background: var(--site-muted);
}

#news-search:focus {
    border-color: var(--site-accent);
    background: var(--site-control-hover);
    box-shadow: 0 0 0 3px rgba(200, 149, 22, 0.16);
}

.home-page .news-item:hover {
    background: var(--site-hover-surface);
}

.sidebar-card-muted,
.community-prompt,
html body.tutorial-page .sidebar,
html body.tutorial-page .article-container {
    background: var(--site-surface-light);
    box-shadow: var(--site-shadow);
}

.article-page .article-container {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.article-page .article-image {
    box-shadow: none;
}

.article-page .back-link:hover,
.article-page .back-link:focus-visible,
.sidebar-card-muted .sidebar-link:hover,
.community-prompt-close:hover {
    background: var(--site-hover-surface);
    color: var(--site-ink);
}

.tutorial-page .article-infobox {
    background: var(--site-page-bg-deep);
}

#scrollTopBtn,
.tutorial-page #scrollTopBtn {
    border-color: var(--site-control-line);
    background: var(--site-control-bg);
    color: var(--site-control-ink);
    box-shadow: var(--site-shadow);
}

.language-picker-menu {
    border-color: var(--site-floating-line);
    background: var(--site-floating-surface);
    box-shadow: var(--site-shadow-strong);
}

.language-picker-menu a {
    color: var(--site-floating-ink);
}

.language-picker-menu a:hover,
.language-picker-menu a:focus-visible,
.language-picker-menu a[aria-current="true"] {
    background: var(--site-hover-surface);
    color: var(--site-accent-ink);
}

@media (hover: hover) {
    .featured-story:hover {
        border-color: var(--site-accent);
        box-shadow: 0 18px 38px rgba(20, 48, 52, 0.18);
    }
}

@media (max-width: 600px) {
    .nav-link {
        border-color: var(--site-header-line);
        border-bottom-color: transparent;
        background: var(--site-header-hover);
    }

    .editorial-header .menu-item {
        border-color: var(--site-header-line);
        background: var(--site-header-hover);
    }

    .article-page .article-container {
        padding: 18px 15px;
    }
}

.about-main {
    display: grid;
    gap: clamp(22px, 3vw, 42px);
    padding-bottom: clamp(56px, 8vw, 112px);
}

.about-hero,
.about-overview,
.about-developer {
    border: 1px solid var(--site-feature-line);
    background: var(--site-feature-bg);
    box-shadow: var(--site-shadow);
}

.about-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.38fr);
    gap: clamp(26px, 6vw, 92px);
    align-items: end;
    overflow: hidden;
    padding: clamp(30px, 5vw, 66px);
    border-top: 2px solid var(--site-accent);
}

.about-hero::before,
.about-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.about-hero::before {
    top: -180px;
    right: 5%;
    width: 420px;
    height: 420px;
    border: 1px solid color-mix(in srgb, var(--site-accent) 40%, transparent);
    border-radius: 50%;
    box-shadow: 0 0 0 38px color-mix(in srgb, var(--site-accent) 7%, transparent), 0 0 0 84px color-mix(in srgb, var(--site-accent) 4%, transparent);
}

.about-hero::after {
    right: 0;
    bottom: 0;
    left: 46%;
    height: 58%;
    background-image: linear-gradient(var(--site-feature-grid) 1px, transparent 1px), linear-gradient(90deg, var(--site-feature-grid) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(90deg, transparent, #000 28%);
}

.about-hero > * {
    position: relative;
    z-index: 1;
}

.about-hero h1,
.about-overview h2,
.about-developer h2 {
    margin: 0;
    color: var(--site-feature-ink);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.about-hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 78px);
}

.about-hero p:not(.page-kicker) {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--site-feature-muted);
    font-size: clamp(17px, 1.65vw, 22px);
    line-height: 1.5;
}

.about-hero-metrics {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--site-feature-line);
    background: color-mix(in srgb, var(--site-feature-bg) 82%, transparent);
}

.about-hero-metrics span {
    padding: 10px 0;
    border-bottom: 1px solid var(--site-feature-line);
    color: var(--site-feature-ink);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-hero-metrics span:last-child {
    border-bottom: 0;
}

.about-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
    gap: clamp(28px, 7vw, 112px);
    align-items: end;
    padding: clamp(28px, 4vw, 52px);
}

.about-section-heading h2,
.about-developer-heading h2 {
    font-size: clamp(30px, 3.8vw, 52px);
}

.about-summary,
.about-developer-content p,
.about-social-note span {
    margin: 0;
    color: var(--site-text-secondary);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.62;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--site-feature-line);
    background: var(--site-feature-line);
    box-shadow: var(--site-shadow);
}

.about-feature-card {
    min-height: 220px;
    padding: clamp(24px, 3vw, 40px);
    background: var(--site-surface-light);
}

.about-feature-index {
    display: block;
    margin-bottom: 34px;
    color: var(--site-accent-ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.about-feature-card h3 {
    margin: 0;
    color: var(--site-ink);
    font-size: clamp(22px, 2.3vw, 31px);
    letter-spacing: -0.04em;
    line-height: 1;
}

.about-feature-card p {
    max-width: 540px;
    margin: 16px 0 0;
    color: var(--site-text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.about-developer {
    display: grid;
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
    gap: clamp(30px, 7vw, 116px);
    padding: clamp(30px, 5vw, 64px);
    border-left: 3px solid var(--site-accent);
}

.about-developer-content {
    display: grid;
    gap: 20px;
    align-content: start;
}

.about-developer-intro {
    color: var(--site-feature-ink) !important;
    font-size: clamp(20px, 2vw, 28px) !important;
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.18 !important;
}

.about-developer-content a {
    color: var(--site-accent-ink);
    font-weight: 750;
    text-decoration-color: color-mix(in srgb, var(--site-accent) 60%, transparent);
    text-underline-offset: 0.16em;
}

.about-developer-content a:hover,
.about-developer-content a:focus-visible {
    color: var(--site-feature-ink);
    text-decoration-color: var(--site-accent);
}

.about-social-note {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
    gap: 20px;
    align-items: baseline;
    padding-top: 22px;
    border-top: 1px solid var(--site-feature-line);
}

.about-social-note p {
    margin: 0;
    color: var(--site-accent-ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .about-hero,
    .about-overview,
    .about-developer {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .about-hero-metrics span {
        border-right: 1px solid var(--site-feature-line);
        border-bottom: 0;
        padding: 4px 12px 4px 0;
    }

    .about-hero-metrics span:last-child {
        border-right: 0;
    }
}

@media (max-width: 600px) {
    .about-page .site-nav .nav-link:last-child {
        grid-column: 1 / -1;
    }

    .about-main {
        gap: 18px;
        padding-bottom: 56px;
    }

    .about-hero,
    .about-overview,
    .about-developer {
        padding: 25px 20px;
    }

    .about-hero::after {
        left: 12%;
        height: 46%;
    }

    .about-hero-metrics,
    .about-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-hero-metrics span {
        border-right: 0;
        border-bottom: 1px solid var(--site-feature-line);
        padding: 8px 0;
    }

    .about-feature-card {
        min-height: 0;
        padding: 24px 20px;
    }

    .about-feature-index {
        margin-bottom: 24px;
    }

    .about-social-note {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

.about-fact-list,
.about-developer-list {
    margin: 0;
    padding-left: 24px;
    color: var(--site-text-secondary);
    font-size: 18px;
    line-height: 1.75;
}

.about-fact-list {
    margin-bottom: 32px;
}

.about-content h2 {
    margin: 0 0 18px;
    color: var(--site-ink);
    font-size: clamp(24px, 2.6vw, 34px);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.about-content a {
    color: var(--site-accent-ink);
    font-weight: 700;
    text-underline-offset: 0.14em;
}

.about-content a:hover,
.about-content a:focus-visible {
    color: var(--site-ink);
}

@media (max-width: 600px) {
    .about-fact-list,
    .about-developer-list {
        font-size: 16px;
    }
}

.article-page .article-topline,
.article-page .article-meta,
.article-page .article-title,
.article-page .article-image {
    width: min(100%, 980px);
    margin-right: auto;
    margin-left: auto;
}

.article-page .article-title {
    margin-top: 14px;
    margin-bottom: 26px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.06;
}

.article-page .article-image {
    margin-bottom: 30px;
}

.article-page .article-layout {
    width: min(calc(100% - 40px), 980px);
    padding-bottom: 84px;
}

.article-page .article-layout::before {
    display: none;
}

.article-page .article-label {
    padding: 0;
    border: 0;
    font-size: 9px;
}

.article-page .article-image {
    border: 0;
    background: transparent;
}

.article-page .article-text {
    width: min(100%, 760px);
    max-width: 760px;
    margin: 0 auto;
}

.about-content {
    width: min(100%, 760px);
    margin: 0 auto;
    color: var(--site-text-secondary);
}

.news-page .news-archive {
    width: min(calc(100% - 40px), 980px);
    margin: 0 auto;
    padding-bottom: 84px;
}

.news-page .news-stream {
    width: 100%;
    margin: 0;
}

.about-photo-series {
    width: min(100%, 760px);
    margin: 40px auto 0;
}

.about-photo {
    margin: 0 0 40px;
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.about-photo figcaption {
    margin-top: 14px;
    color: var(--site-text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.about-photo figcaption a {
    color: var(--site-accent-ink);
    font-weight: 700;
    text-underline-offset: 0.14em;
}

.about-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: -16px 0 40px;
}

.about-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 600px) {
    .article-page .article-title {
        margin-top: 12px;
        margin-bottom: 20px;
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.08;
    }

    .article-page .article-image {
        margin-bottom: 22px;
    }

    .article-page .article-layout {
        width: min(calc(100% - 24px), 980px);
        padding-bottom: 56px;
    }

    .article-page .article-container {
        padding: 0;
    }

    .about-photo-series {
        margin-top: 32px;
    }

    .about-photo {
        margin-bottom: 32px;
    }

    .about-photo figcaption {
        margin-top: 12px;
        font-size: 15px;
    }

    .about-video {
        margin-top: -12px;
        margin-bottom: 32px;
    }

    .news-page .news-archive {
        width: min(calc(100% - 24px), 980px);
        padding-bottom: 56px;
    }
}

@media (max-width: 600px) {
    :root {
        --site-content-width: calc(100% - 24px);
    }

    body {
        overflow-x: clip;
    }

    .site-main,
    .site-main :is(.page-title, .page-lead, .news-title, .news-text, .article-title, .article-text, .article-meta, .about-content, .about-photo figcaption, a, p, li) {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .editorial-header-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) repeat(3, 44px);
        align-items: center;
        justify-content: normal;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        min-width: 0;
        gap: 6px;
        padding: 8px 0 6px;
    }

    .brand-link {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .editorial-header .left-logo img {
        width: 96px;
        max-width: 96px;
    }

    .brand-copy {
        display: none;
    }

    .header-contact {
        display: contents;
        margin: 0;
    }

    .editorial-header .email-text {
        display: block;
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 20px;
        margin: 0;
        color: var(--site-header-muted);
        font-size: 11px;
        line-height: 1.35;
        text-align: left;
    }

    .editorial-header .email-text a {
        color: inherit;
    }

    .editorial-header .additional-text {
        display: none;
    }

    .language-picker {
        grid-column: 2;
        grid-row: 1;
    }

    .theme-toggle {
        grid-column: 3;
        grid-row: 1;
    }

    .editorial-header .extra-button {
        grid-column: 4;
        grid-row: 1;
    }

    .language-picker summary,
    .theme-toggle,
    .editorial-header .extra-button {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .site-nav {
        display: grid;
        grid-column: 1 / -1;
        grid-row: 3;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 2px 0 0;
        padding: 0;
        overflow: visible;
    }

    .nav-link {
        box-sizing: border-box;
        min-width: 0;
        width: 100%;
        min-height: 44px;
        padding: 5px 4px;
        font-size: 9px;
        letter-spacing: 0.055em;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    .editorial-utility {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 3px;
        width: var(--site-content-width);
        min-height: 0;
        padding: 6px 0 8px;
        overflow: visible;
    }

    .utility-group {
        justify-content: center;
        width: 100%;
        gap: 0;
    }

    .utility-label {
        display: none;
    }

    .editorial-header .official-links,
    .editorial-header .author-links {
        justify-content: center;
        width: 100%;
        gap: 3px;
    }

    .editorial-header .menu-item {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }

    .editorial-header .menu-item .icon {
        width: 25px;
        height: 25px;
    }

    .home-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .home-sidebar {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .home-page .news-item.has-image {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 12px;
    }

    .home-page .news-item .story-content {
        min-width: 0;
    }

    .page-intro,
    .page-intro-content,
    .page-title,
    .page-lead {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
    }

    .community-prompt {
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .community-prompt-close {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .language-picker-menu {
        right: 0;
        max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px);
    }

    .article-page .article-topline,
    .article-page .article-meta {
        gap: 8px;
    }

    .about-fact-list,
    .about-developer-list {
        padding-left: 21px;
    }
}

.news-page .news-page-intro {
    margin-bottom: 0;
}

.news-page .news-archive {
    width: 100%;
    margin: 26px 0 0;
    padding: 0 0 84px;
}

.news-page .news-archive .stream-heading {
    margin-top: 0;
}

.news-page .news-container.news-stream {
    display: grid;
    width: 100%;
    margin: 0;
    gap: 0;
    color: var(--site-ink);
}

.news-page .news-item {
    display: block;
    min-width: 0;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid var(--site-line);
    border-radius: 0;
    color: var(--site-ink);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.news-page .news-item.has-image {
    display: grid;
    grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.news-page .news-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0;
    object-fit: cover;
}

.news-page .news-item .story-content {
    min-width: 0;
}

.news-page .news-item .story-kicker {
    margin-bottom: 7px;
    color: var(--site-muted);
    font-size: 9px;
}

.news-page .news-title {
    margin: 0 0 7px;
    color: var(--site-ink);
    font-size: 22px;
    line-height: 1.12;
}

.news-page .news-date {
    margin: 0 0 8px;
    color: var(--site-muted);
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.04em;
}

.news-page .news-text {
    margin: 0;
    color: var(--site-text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.news-page .news-item:hover,
.news-page .news-item:focus-visible {
    background: var(--site-hover-surface);
}

.news-page .news-item:hover .news-title,
.news-page .news-item:focus-visible .news-title {
    color: var(--site-accent-ink);
}

@media (max-width: 900px) and (min-width: 601px) {
    .news-page .news-item.has-image {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .news-page .news-archive {
        margin-top: 22px;
        padding-bottom: 56px;
    }

    .news-page .news-item,
    .news-page .news-item.has-image {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px 0;
    }

    .news-page .news-item img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .news-page .news-title {
        font-size: 20px;
    }

    .news-page .news-text {
        font-size: 15px;
    }
}

.article-page .article-layout {
    width: var(--site-content-width);
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
    padding: 24px 0 84px;
}

.article-page .article-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 34px 40px 44px;
    border: 1px solid var(--site-feature-line);
    border-top: 2px solid var(--site-accent);
    background: var(--site-feature-bg);
    color: var(--site-feature-ink);
    box-shadow: var(--site-shadow-strong);
}

.article-page .article-topline,
.article-page .article-meta,
.article-page .article-title,
.article-page .article-image {
    width: 100%;
    max-width: none;
}

.article-page .article-topline {
    border-bottom-color: var(--site-feature-line);
}

.article-page .article-title {
    color: var(--site-feature-ink);
}

.article-page .article-image {
    height: auto;
    max-height: none;
    margin-bottom: 32px;
    border: 1px solid var(--site-feature-line);
    object-fit: contain;
}

.article-page .article-text {
    width: min(100%, 790px);
    max-width: 790px;
    color: var(--site-feature-muted);
}

@media (max-width: 600px) {
    .article-page .article-layout {
        width: 100%;
        padding: 16px 0 56px;
    }

    .article-page .article-container {
        padding: 24px 16px 32px;
    }
}

.header-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}

.header-account-avatar {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.header-account-avatar img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.header-account-avatar svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.header-account-avatar .header-profile-badge {
    top: -3px;
    right: -3px;
}

.header-account-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    min-width: 0;
    max-width: 150px;
}

.header-account:hover .header-account-name {
    color: var(--site-accent);
}

.header-account-name {
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-account-handle {
    max-width: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, .62);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-account-flag {
    display: block;
    width: 24px;
    height: 16px;
    flex: 0 0 24px;
    object-fit: cover;
}

.header-author-contact {
    display: grid;
    gap: 2px;
    margin: 0;
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    text-align: right;
}

.header-author-contact a {
    color: #fff;
    text-decoration: none;
}

.header-author-contact a:hover {
    color: var(--site-accent);
}

.header-author-contact span {
    color: #aeb9bd;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.header-profile-link {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--site-line);
    background: transparent;
    color: var(--site-ink);
    text-decoration: none;
}

.header-profile-link:hover {
    border-color: var(--site-accent);
}

.header-profile-link img {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 0;
    object-fit: cover;
}

.header-profile-link svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.header-notifications {
    position: relative;
    z-index: 1200;
}

.header-notifications-toggle {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--site-line);
    color: var(--site-ink);
    cursor: pointer;
    list-style: none;
}

.header-notifications-toggle::-webkit-details-marker {
    display: none;
}

.header-notifications-toggle:hover,
.header-notifications[open] .header-notifications-toggle {
    border-color: var(--site-accent);
    color: var(--site-accent);
}

.header-notifications-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.header-notifications-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid var(--site-header-bg);
    border-radius: 10px;
    background: var(--site-accent);
    color: var(--site-accent-ink);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.header-notifications-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 24px));
    border: 1px solid var(--site-line);
    background: var(--site-surface-dark);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .35);
}

.header-notifications-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--site-line);
}

.header-notifications-head strong {
    color: var(--site-ink);
    font-size: 13px;
}

.header-notifications-head a {
    color: var(--site-accent);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.header-notifications-list {
    display: grid;
}

.header-notification-row {
    display: grid;
    grid-template-columns: 8px 1fr;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
    text-decoration: none;
}

.header-notification-row:hover,
.header-notification-row.is-unread {
    background: var(--site-hover-surface);
}

.header-notification-dot {
    width: 7px;
    height: 7px;
    margin-top: 5px;
    border-radius: 50%;
    background: transparent;
}

.header-notification-row.is-unread .header-notification-dot {
    background: var(--site-accent);
}

.header-notification-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.header-notification-copy strong {
    color: var(--site-ink);
    font-size: 12px;
    line-height: 1.35;
}

.header-notification-copy time {
    color: var(--site-muted);
    font-size: 10px;
}

.header-notifications-empty {
    margin: 0;
    padding: 20px 15px;
    color: var(--site-muted);
    font-size: 12px;
}

@media (max-width: 600px) {
    .editorial-header-main {
        grid-template-columns: minmax(0, 1fr) repeat(5, 44px);
    }

    .header-account {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .header-account-copy {
        max-width: 130px;
    }

    .header-account-name {
        font-size: 10px;
    }

    .header-account-handle {
        font-size: 8px;
    }

    .header-profile-link {
        grid-column: 2;
        grid-row: 1;
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .language-picker {
        grid-column: 4;
    }

    .header-notifications {
        grid-column: 3;
    }

    .theme-toggle {
        grid-column: 5;
    }

    .editorial-header .extra-button {
        grid-column: 6;
    }

    .utility-group-author {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
    }

    .header-author-contact {
        text-align: center;
    }
}

.editorial-header .brand-copy {
    min-width: 280px;
    max-width: 330px;
}

.editorial-header .brand-copy span {
    max-width: 330px;
    font-size: 8px;
    letter-spacing: 0.02em;
    line-height: 1.25;
    white-space: normal;
}

@media (max-width: 1200px) {
    .editorial-header .brand-copy {
        min-width: 220px;
        max-width: 270px;
    }

    .editorial-header .brand-copy span {
        max-width: 270px;
    }
}

@media (max-width: 600px) {
    .editorial-header .brand-copy {
        display: none;
    }
}

html body.mosaicglass-site.home-page .site-main {
    padding-top: 22px;
}
html body.mosaicglass-site.home-page .aw-home-store-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    isolation: isolate;
    overflow: hidden;
    gap: 24px;
    min-height: 166px;
    margin: 0 0 18px;
    padding: 25px 30px;
    color: var(--site-text);
    text-decoration: none;
    border-inline-start: 3px solid var(--mg-selected, #78b88b);
    background: var(--site-feature-bg);
}
.aw-home-store-art {
    position: absolute;
    inset: 0 0 0 36%;
    z-index: 0;
    background: linear-gradient(90deg, rgba(8, 14, 19, .96), rgba(8, 14, 19, .18)), url('../images/guide-figures/overview.png') center 48% / cover;
    opacity: .72;
    pointer-events: none;
}
.aw-home-store-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
    min-width: 0;
}
.aw-home-store-platform {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--site-text-secondary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.aw-home-store-platform img {
    flex: none;
    object-fit: contain;
}
html body.mosaicglass-site.home-page .aw-home-store-banner strong {
    font-size: clamp(26px, 3.3vw, 38px);
    letter-spacing: -.035em;
    line-height: 1.12;
}
.aw-home-store-description {
    color: var(--site-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}
.aw-home-store-action {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex: none;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid var(--site-control-line);
    background: var(--site-control-bg);
    font-size: 13px;
    font-weight: 600;
}
.aw-home-store-action > span:last-child {
    font-size: 23px;
    line-height: 1;
}
.aw-home-store-banner:hover .aw-home-store-action {
    border-color: var(--mg-selected, var(--site-text));
}
html body.mosaicglass-site.home-page .site-main .page-intro {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
    align-items: center;
    gap: 20px 28px;
    min-height: 0;
    margin: 0 0 24px;
    padding: 24px 28px;
}
html body.mosaicglass-site.home-page .site-main .page-intro .page-kicker {
    margin: 0 0 8px;
}
html body.mosaicglass-site.home-page .site-main .page-intro .page-title {
    margin: 0 0 10px;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.1;
}
html body.mosaicglass-site.home-page .site-main .page-intro .page-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}
html body.mosaicglass-site.home-page .site-main .page-intro .mg-play-actions {
    margin-top: 16px;
}
html body.mosaicglass-site.home-page .site-main .page-intro .search-container {
    align-self: center;
    margin: 0;
}
html body.mosaicglass-site.home-page .site-main .page-intro .news-search-status:empty {
    display: none;
}
:root[data-theme="light"] .aw-home-store-art {
    opacity: .24;
}
@media (max-width: 760px) {
    html body.mosaicglass-site.home-page .site-main .page-intro {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px;
        gap: 18px;
    }
    html body.mosaicglass-site.home-page .site-main .page-intro .search-container {
        width: 100%;
        max-width: none;
    }
    html body.mosaicglass-site.home-page .aw-home-store-banner {
        padding: 22px;
        min-height: 160px;
        gap: 16px;
    }
    .aw-home-store-art {
        inset-inline-start: 12%;
        opacity: .48;
    }
    .aw-home-store-action {
        gap: 10px;
        padding: 10px 12px;
    }
}
@media (max-width: 480px) {
    html body.mosaicglass-site.home-page .aw-home-store-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    html body.mosaicglass-site.home-page .aw-home-store-banner strong {
        font-size: 28px;
    }
    .aw-home-store-action {
        min-height: 40px;
        padding: 7px 13px;
    }
    .aw-home-store-platform {
        font-size: 10px;
        letter-spacing: .035em;
    }
}
html body.mosaicglass-site .site-nav .nav-link.aw-nav-store {
    animation: aw-store-nav-pulse 10s ease-in-out infinite;
}
html body.mosaicglass-site .site-nav .nav-link.aw-nav-store:is(:hover, :focus-visible) {
    animation: none;
}
:root[data-mg-motion="off"] body.mosaicglass-site .site-nav .nav-link.aw-nav-store,
:root[data-mg-effects="off"] body.mosaicglass-site .site-nav .nav-link.aw-nav-store {
    animation: none;
}
@keyframes aw-store-nav-pulse {
    0%, 88%, 100% {
        background-color: transparent;
        box-shadow: 0 0 0 rgb(var(--mg-edge-rgb) / 0), inset 0 0 0 1px rgb(var(--mg-edge-rgb) / 0);
    }
    94% {
        background-color: rgb(var(--mg-edge-rgb) / .16);
        box-shadow: 0 0 14px rgb(var(--mg-edge-rgb) / .28), inset 0 0 0 1px rgb(var(--mg-edge-rgb) / .8);
    }
}
html body.mosaicglass-site .aw-header-store-strip {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 6px 20px;
    border-block: 1px solid rgb(175 189 202 / .24);
    background: linear-gradient(180deg, #1d242b, #10171e 20%, #0d141b 80%, #1b232b);
    box-shadow: inset 0 1px 0 rgb(225 237 248 / .05), inset 0 -1px 0 rgb(0 0 0 / .4);
    color: #eef4f9;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}
html body.mosaicglass-site .aw-header-store-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("../images/mosaicglass/start-game-facets.svg") center / 440px 100% repeat-x;
    opacity: .08;
}
html body.mosaicglass-site .aw-header-store-strip::after {
    content: "";
    position: absolute;
    inset: 4px 12px;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgb(171 188 204 / .07);
}
html body.mosaicglass-site .aw-header-store-strip .aw-header-store-strip-inner {
    --mg-bevel: 1px;
    --mg-bevel-light: .08;
    --mg-edge-emission: .08;
    --mg-edge-boost: 0;
    --mg-scan: 0;
    --mg-lift: 0px;
    --mg-tilt-limit: 0;
    --mg-motion-enabled: 0;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(100%, 430px);
    min-height: 34px;
    box-sizing: border-box;
    margin: 0;
    padding: 4px 10px;
    border: 1px solid rgb(174 215 157 / .34);
    border-radius: 0;
    background: linear-gradient(180deg, rgb(217 246 203 / .025), rgb(0 0 0 / .12)), rgb(var(--mg-button-rgb) / .8);
    box-shadow: inset 0 1px 0 rgb(179 224 160 / .12), inset 0 -1px 0 rgb(0 0 0 / .4);
    color: #dce8d8;
    text-decoration: none;
}
html body.mosaicglass-site .aw-header-store-strip .aw-header-store-strip-inner > .mg-facets {
    opacity: .22;
}
html body.mosaicglass-site .aw-header-store-strip .aw-header-store-strip-inner > .mg-glints,
html body.mosaicglass-site .aw-header-store-strip .aw-header-store-strip-inner > .mg-response {
    display: none;
}
.aw-header-store-strip-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 22px;
    border-inline-end: 1px solid rgb(176 221 160 / .16);
    padding-inline-end: 8px;
}
.aw-header-store-strip-icon > img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.aw-header-store-strip-label {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0;
    text-shadow: 0 1px 1px rgb(0 0 0 / .5);
}
.aw-header-store-strip-arrow {
    display: grid;
    place-items: center;
    flex: none;
    width: 20px;
    height: 22px;
    border-inline-start: 1px solid rgb(176 221 160 / .16);
    padding-inline-start: 8px;
    color: #c8d6c4;
}
.aw-header-store-strip-arrow > svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: square;
    stroke-linejoin: miter;
}
html body.mosaicglass-site .aw-header-store-strip:is(:hover, :focus-visible) .aw-header-store-strip-inner {
    border-color: rgb(196 229 182 / .5);
    background: linear-gradient(180deg, rgb(217 246 203 / .05), transparent 65%), rgb(var(--mg-button-rgb) / .9);
    box-shadow: inset 0 1px 0 rgb(202 242 185 / .18), inset 0 -1px 0 rgb(0 0 0 / .4);
}
html body.mosaicglass-site .aw-header-store-strip:focus-visible {
    outline: 2px solid #d7ffc6;
    outline-offset: -4px;
}
@media (max-width: 600px) {
    html body.mosaicglass-site .aw-header-store-strip {
        min-height: 46px;
        padding: 5px 12px;
    }
    html body.mosaicglass-site .aw-header-store-strip::after {
        inset: 3px 5px;
    }
    html body.mosaicglass-site .aw-header-store-strip .aw-header-store-strip-inner {
        min-height: 34px;
        gap: 8px;
        padding: 4px 8px;
    }
    .aw-header-store-strip-label {
        font-size: 14px;
        letter-spacing: 0;
    }
    .aw-header-store-strip-icon {
        width: 22px;
        height: 22px;
        padding-inline-end: 8px;
    }
    .aw-header-store-strip-icon > img {
        width: 20px;
        height: 20px;
    }
    .aw-header-store-strip-arrow {
        width: 18px;
        height: 22px;
        padding-inline-start: 8px;
    }
    .aw-header-store-strip-arrow > svg {
        width: 16px;
        height: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.mosaicglass-site .site-nav .nav-link.aw-nav-store {
        animation: none;
    }
}
