/* ============================
   CSS VARIABLES & RESET
============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --font-title: "Saira", sans-serif;
    --font-base: "Strichpunkt Sans", sans-serif;
    --font-mono: "Space Mono", monospace;
    --radius: 0px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    --trans: 0.25s ease;
    --retro-border: 2px solid var(--b);
    --retro-shadow: 4px 4px 0 var(--y);
    --retro-shadow-hover: 6px 6px 0 var(--y);
    --float-clearance: 88px;
}
:root,
[data-theme="sepia"] {
    --y: #c4a035;
    --b: #2c241a;
    --w: #f6f0e7;
    --gl: #ede5d8;
    --gm: #8c7b65;
    --gb: #ddd4c6;
    --text-soft: #6b5e4c;
    --text-body: #443a2f;
    --panel-dark: #3a3226;
    --panel-dark-muted: #b8a894;
    --footer-bg: #2c241a;
    --footer-border: #3d3428;
    --footer-text: #c4b8a8;
    --cat-strip-bg: #3a3226;
    --cat-tile-hover: #2c241a;
}
[data-theme="light"] {
    --y: #f5c800;
    --b: #111;
    --w: #fff;
    --gl: #f5f5f3;
    --gm: #999;
    --gb: #e2e2e0;
    --text-soft: #555;
    --text-body: #333;
    --panel-dark: #2b2b2b;
    --panel-dark-muted: #999;
    --footer-bg: #111;
    --footer-border: #222;
    --footer-text: #aaa;
    --cat-strip-bg: #111;
    --cat-tile-hover: #1a1a1a;
}
[data-theme="dark"] {
    --y: #e8c547;
    --b: #f0ede8;
    --w: #0d0d0d;
    --gl: #161615;
    --gm: #a1a09a;
    --gb: #2e2e2a;
    --text-soft: #b8b5ab;
    --text-body: #d4d1c9;
    --panel-dark: #1a1a1a;
    --panel-dark-muted: #8a8880;
    --footer-bg: #0a0a0a;
    --footer-border: #222;
    --footer-text: #8a8880;
    --cat-strip-bg: #111;
    --cat-tile-hover: #1a1a1a;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-base);
    color: var(--b);
    background: var(--w);
    overflow-x: hidden;
    transition:
        background var(--trans),
        color var(--trans);
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}
input,
textarea,
select {
    font-family: inherit;
}
img {
    max-width: 100%;
    display: block;
}

/* ============================
   SCROLLBAR
============================ */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--gl);
}
::-webkit-scrollbar-thumb {
    background: var(--y);
}

/* ============================
   LAYOUT SHELL
============================ */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#page-content {
    flex: 1;
    scroll-margin-top: calc(
        var(--site-sticky-offset, 120px) + var(--main-scroll-buffer, 4px)
    );
}

/* ============================
   TOP BAR
============================ */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px 12px;
    padding: 8px 32px;
    border-bottom: 1px solid var(--gb);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 300;
    background: var(--w);
    isolation: isolate;
}
.topbar.is-stuck {
    border-bottom-color: var(--b);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--b) 6%, transparent);
}
.topbar__left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.hbg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
}
.hbg span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--b);
    transition: var(--trans);
}
.hbg:hover span {
    background: var(--y);
}
.topbar__links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.topbar__links a:hover {
    color: var(--y);
}
.topbar-kpi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 8px;
    margin-left: 4px;
    border: 1px solid var(--gb);
    background: color-mix(in srgb, var(--y) 18%, var(--w));
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.02em;
    color: var(--gm);
}
.topbar-kpi__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: kpi-pulse 2.4s ease infinite;
}
.topbar-kpi__text strong {
    color: var(--b);
    font-weight: 700;
}
.topbar-kpi__sep {
    opacity: 0.45;
    margin: 0 2px;
}
@keyframes kpi-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    }
}
@media (max-width: 900px) {
    .topbar-kpi {
        display: none;
    }
}
.topbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 1;
    min-width: 0;
    justify-content: flex-end;
}
.btn-login {
    background: var(--y);
    color: var(--b);
    padding: 7px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: var(--trans);
    border: 2px solid var(--y);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-login:hover {
    background: var(--b);
    color: var(--y);
}
.btn-login--ghost {
    background: transparent;
    border-color: transparent;
}
.btn-login--ghost:hover {
    background: var(--gl);
    color: var(--b);
    border-color: var(--gb);
}
.icon-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: var(--trans);
    color: var(--b);
    text-decoration: none;
}
.icon-btn:hover {
    opacity: 0.65;
}
.curr-wrap {
    position: relative;
}
.curr-btn {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1.5px solid var(--b);
    padding: 4px 9px;
    cursor: pointer;
    transition: var(--trans);
}
.curr-btn:hover {
    background: var(--b);
    color: var(--w);
}
.curr-drop {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--w);
    border: 1.5px solid var(--b);
    z-index: 400;
    display: none;
    min-width: 190px;
    box-shadow: var(--shadow);
}
.curr-drop.open {
    display: block;
}
.curr-drop li a {
    display: flex;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 12px;
    border-bottom: 1px solid var(--gb);
    transition: var(--trans);
}
.curr-drop li a:hover {
    background: var(--y);
}

/* ============================
   MEGA MENU
============================ */
.mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 500;
    display: none;
}
.mega-overlay.open {
    display: flex;
}
.mega-panel {
    background: var(--w);
    width: 340px;
    height: 100%;
    overflow-y: auto;
    padding: 48px 32px 32px;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.22, 0.68, 0, 1.2);
    position: relative;
}
.mega-overlay.open .mega-panel {
    transform: translateX(0);
}
.mega-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
    color: var(--gm);
    transition: var(--trans);
    font-weight: 300;
}
.mega-close:hover {
    color: var(--b);
    transform: rotate(90deg);
}
.mega-section-title {
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gm);
    margin: 28px 0 10px;
    font-weight: 700;
}
.mega-panel ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--gb);
    transition: var(--trans);
}
.mega-panel ul li a:hover {
    color: var(--y);
    padding-left: 8px;
}
.mega-panel ul li a .ico {
    color: var(--gm);
    flex-shrink: 0;
}
.mega-brand {
    margin-bottom: 8px;
}

/* ============================
   MASTHEAD
============================ */
.masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 32px;
    border-bottom: 2.5px solid var(--b);
}
.mast-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--trans);
    max-width: 120px;
}
.mast-side:hover {
    opacity: 0.7;
}
.mast-side-illust {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
}
.mast-side-lbl {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
}
.mast-right {
    align-items: center;
    margin-left: auto;
}
.mast-logo {
    text-align: center;
}
.logo-swap {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    vertical-align: top;
}
.logo-swap--default {
    --logo-h: clamp(36px, 5vw, 52px);
}
.logo-swap--sm {
    --logo-h: 28px;
}
.logo-swap--footer {
    --logo-h: 30px;
}
.logo-swap__viewport {
    display: block;
    overflow: hidden;
    height: var(--logo-h);
}
.logo-swap__track {
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo-swap__line {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--logo-h);
    white-space: nowrap;
}
.logo-swap__line--name {
    font-family: var(--font-title);
    font-size: var(--logo-h);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.logo-swap__line--brand {
    font-family: var(--font-mono);
    font-size: calc(var(--logo-h) * 0.62);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    color: var(--b);
}
.logo-swap--footer .logo-swap__line--name {
    color: var(--w);
}
.logo-swap--footer .logo-swap__line--brand {
    color: var(--y);
}
.logo-swap:hover .logo-swap__track,
.logo-swap:focus-visible .logo-swap__track {
    transform: translateY(-50%);
}
.logo-tagline {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 8px;
    color: var(--gm);
}
.logo-brand-line {
    font-size: 10px;
    letter-spacing: 0.05em;
    line-height: 1.45;
    max-width: 280px;
    margin: 6px auto 0;
    color: var(--text-soft);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (prefers-reduced-motion: reduce) {
    .logo-swap__track {
        transition: none;
    }
    .logo-swap:hover .logo-swap__track,
    .logo-swap:focus-visible .logo-swap__track {
        transform: none;
    }
    .logo-swap__line--brand {
        display: none;
    }
}

/* ============================
   CAT NAV (A–J index)
============================ */
.cat-nav {
    display: flex;
    align-items: stretch;
    border-bottom: 2px solid var(--b);
    background: var(--w);
    position: sticky;
    top: var(--topbar-height, 45px);
    z-index: 290;
    isolation: isolate;
}
.cat-nav.is-stuck {
    box-shadow: 0 2px 0 color-mix(in srgb, var(--b) 5%, transparent);
}
.cat-nav__index {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: stretch;
    min-width: 76px;
    padding: 10px 16px;
    border-right: 1px solid var(--gb);
}
.cat-nav__index-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid color-mix(in srgb, var(--cat-color) 50%, var(--gb));
    background: color-mix(in srgb, var(--cat-color) 12%, var(--w));
    box-shadow: 2px 2px 0 color-mix(in srgb, var(--cat-color) 35%, var(--gb));
    opacity: 1;
    animation: cat-nav-icon-float 2.8s ease-in-out infinite;
}
.cat-nav__index-icon .ico {
    width: 22px;
    height: 22px;
    color: var(--cat-color);
    animation: cat-nav-icon-pulse 2.2s ease-in-out infinite;
}
@keyframes cat-nav-icon-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}
@keyframes cat-nav-icon-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}
@media (prefers-reduced-motion: reduce) {
    .cat-nav__index-icon,
    .cat-nav__index-icon .ico {
        animation: none;
    }
}
.cat-nav__list {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}
.cat-nav__list > li {
    display: flex;
    flex-shrink: 0;
}
.cat-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 76px;
    max-width: 96px;
    padding: 10px 12px 12px;
    text-decoration: none;
    color: var(--b);
    border-left: 1px solid var(--gb);
    transition:
        background var(--trans),
        color var(--trans);
    position: relative;
}
.cat-nav__item--wide {
    min-width: 148px;
    max-width: 168px;
}
.cat-nav__item--wide .cat-nav__label {
    white-space: nowrap;
}
.cat-nav__swap {
    --cat-letter-h: clamp(2rem, 4vw, 2.75rem);
    display: block;
}
.cat-nav__swap-viewport {
    display: block;
    overflow: hidden;
    height: var(--cat-letter-h);
}
.cat-nav__swap-track {
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat-nav__swap-line {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--cat-letter-h);
}
.cat-nav__swap-line--letter {
    font-family: var(--font-title);
    font-size: var(--cat-letter-h);
    font-weight: 700;
    line-height: 1;
    color: var(--cat-color);
}
.cat-nav__swap-line--icon .ico {
    width: calc(var(--cat-letter-h) * 0.68);
    height: calc(var(--cat-letter-h) * 0.68);
    color: var(--cat-color);
}
.cat-nav__item:hover .cat-nav__swap-track,
.cat-nav__item:focus-visible .cat-nav__swap-track {
    transform: translateY(-50%);
}
.cat-nav__label {
    margin-top: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    color: var(--gm);
    transition: color var(--trans);
    white-space: nowrap;
}
.cat-nav__item:hover {
    background: var(--gl);
}
.cat-nav__item:hover .cat-nav__label {
    color: var(--cat-color);
}
.cat-nav__item.active {
    background: color-mix(in srgb, var(--cat-color) 12%, var(--w));
}
.cat-nav__item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cat-color);
}
.cat-nav__item.active .cat-nav__label {
    color: var(--cat-color);
    font-weight: 700;
}
@media (max-width: 900px) {
    .cat-nav {
        flex-direction: column;
    }
    .cat-nav__index {
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid var(--gb);
        padding: 10px 16px;
    }
    .cat-nav__list {
        justify-content: flex-start;
    }
    .cat-nav__item {
        min-width: 68px;
        padding: 8px 10px 10px;
    }
    .cat-nav__item--wide {
        min-width: 136px;
        max-width: 156px;
    }
    .cat-nav__swap {
        --cat-letter-h: 1.75rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cat-nav__swap-track {
        transition: none;
    }
    .cat-nav__item:hover .cat-nav__swap-track,
    .cat-nav__item:focus-visible .cat-nav__swap-track {
        transform: none;
    }
}
@media (max-width: 600px) {
    .cat-nav__list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible;
        flex-wrap: wrap;
    }
    .cat-nav__item {
        max-width: none;
        border-left: none;
        border-bottom: 1px solid var(--gb);
        min-width: 0;
    }
    .cat-nav__item--wide {
        min-width: 0;
        max-width: none;
        grid-column: span 2;
    }
    .cat-nav__item--wide .cat-nav__label {
        white-space: normal;
    }
    .cat-nav__item::after {
        display: none;
    }
}

/* ============================
   HERO
============================ */
.hero {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 29px,
            rgba(255, 255, 255, 0.6) 29px,
            rgba(255, 255, 255, 0.6) 30px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 29px,
            rgba(255, 255, 255, 0.6) 29px,
            rgba(255, 255, 255, 0.6) 30px
        );
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 20, 0.42);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 52px 56px;
}
.hero-eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--y);
    font-weight: 700;
    margin-bottom: 14px;
}
.hero-headline {
    font-family: var(--font-title);
    font-size: 46px;
    font-weight: 700;
    color: var(--w);
    max-width: 680px;
    line-height: 1.16;
    margin-bottom: 18px;
}
.hero-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 500px;
    line-height: 1.65;
    margin-bottom: 30px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-prim {
    background: var(--y);
    color: var(--b);
    padding: 13px 30px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--trans);
    border: 2px solid var(--y);
}
.btn-prim:hover {
    background: transparent;
    color: var(--y);
}
.btn-ghost-w {
    color: var(--w);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: var(--trans);
    background: none;
}
.btn-ghost-w:hover {
    border-color: var(--w);
}
.hero-deco {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    width: 280px;
    pointer-events: none;
}

/* ============================
   THOUGHT OF DAY STRIP
============================ */
.tod-strip {
    background: var(--y);
    padding: 16px 56px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.tod-lbl {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}
.tod-div {
    width: 1px;
    height: 36px;
    background: rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}
.tod-text {
    font-family: var(--font-title);
    font-size: 17px;
    font-style: italic;
    line-height: 1.45;
    flex: 1;
}
.tod-refresh {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.5s;
    flex-shrink: 0;
    background: none;
    border: none;
}
.tod-refresh:hover {
    transform: rotate(180deg);
}

/* ============================
   SECTIONS
============================ */
.section {
    padding: 52px 40px;
}
.section-hd {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 28px;
}
.section-title {
    font-family: var(--font-title);
    font-size: 27px;
    font-weight: 700;
}
.view-all {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1.5px solid var(--b);
    padding-bottom: 1px;
    transition: var(--trans);
    cursor: pointer;
    background: none;
}
.view-all:hover {
    color: var(--gm);
    border-color: var(--gm);
}

/* ============================
   CARDS (retro frame — see cookie banner)
============================ */
.feat-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 18px;
}
.card {
    background: var(--w);
    overflow: hidden;
    cursor: pointer;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    transition:
        transform var(--trans),
        box-shadow var(--trans);
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--retro-shadow-hover);
    z-index: 1;
    position: relative;
}
.card-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 14px;
}
.card-img__cat {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 10px;
}
.card--lg .card-img {
    aspect-ratio: 4/3;
}
.card-body {
    padding: 18px;
}
.card-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 8px;
}
.card-tag em {
    background: var(--y);
    color: var(--b);
    padding: 2px 7px;
    font-style: normal;
    font-size: 9px;
}
.card-title {
    font-family: var(--font-title);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}
.card--lg .card-title {
    font-size: 22px;
}
.card-excerpt {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.62;
    margin-bottom: 10px;
}
.card-meta {
    font-size: 11px;
    color: var(--gm);
    display: flex;
    gap: 12px;
    align-items: center;
}
.card-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ============================
   CAT TILES
============================ */
.cat-strip {
    background: var(--cat-strip-bg);
    padding: 40px;
}
.cat-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--footer-border);
}
.cat-tile {
    background: var(--cat-strip-bg);
    padding: 28px 24px;
    cursor: pointer;
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cat-tile:hover {
    background: var(--cat-tile-hover);
}
.cat-tile-icon {
    display: flex;
    align-items: center;
}
.cat-tile-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--w);
}
.cat-tile-desc {
    font-size: 12px;
    color: #777;
    line-height: 1.55;
}
.cat-tile-arrow {
    margin-top: auto;
    display: flex;
}

/* ============================
   SECOND GRID
============================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ============================
   NEWSLETTER
============================ */
.nl-wrap {
    background: var(--gl);
    padding: 56px 40px;
    display: flex;
    align-items: center;
    gap: 56px;
}
.nl-text {
    flex: 1;
}
.nl-text h2 {
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}
.nl-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
}
.nl-form {
    display: flex;
    flex: 1;
    max-width: 440px;
}
.nl-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--b);
    font-size: 13px;
    outline: none;
    transition: var(--trans);
}
.nl-input:focus {
    border-color: var(--y);
}
.nl-btn {
    background: var(--b);
    color: var(--w);
    padding: 14px 26px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--trans);
    border: 2px solid var(--b);
    white-space: nowrap;
}
.nl-btn:hover {
    background: var(--y);
    color: var(--b);
    border-color: var(--y);
}

/* ============================
   FOOTER
============================ */
footer {
    background: var(--footer-bg);
    color: var(--w);
    padding: 52px 40px
        calc(var(--float-clearance) + env(safe-area-inset-bottom, 0px) + 28px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 44px;
}
.footer-brand__hello {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--footer-text);
}
.footer-brand .logo-txt {
    font-size: 36px;
    color: var(--w);
}
.footer-brand p {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    line-height: 1.65;
    max-width: 260px;
}
.footer-brand .socials {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.social-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--trans);
    cursor: pointer;
}
.social-btn:hover {
    background: var(--y);
    border-color: var(--y);
    color: var(--b);
}
.footer-col h4 {
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    font-size: 13px;
    color: #aaa;
    transition: var(--trans);
}
.footer-col ul li a:hover {
    color: var(--y);
}
.footer-disclaimer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
}
.footer-disclaimer p {
    font-size: 10px;
    line-height: 1.7;
    color: #6f6356;
    max-width: 72ch;
    margin: 0;
}
.footer-btm {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--footer-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--footer-text);
}

/* ============================
   PAGE TRANSITIONS
============================ */
#page-content {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   INNER PAGES
============================ */
.page-hero {
    background: linear-gradient(135deg, var(--b) 0%, #1a1a1a 100%);
    padding: 64px 40px;
    color: var(--w);
}
.page-hero h1 {
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 580px;
    line-height: 1.65;
}
.page-hero .badge {
    display: inline-block;
    background: var(--y);
    color: var(--b);
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.inner-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 52px 40px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--gm);
    margin-bottom: 32px;
}
.breadcrumb a {
    color: var(--gm);
    transition: var(--trans);
}
.breadcrumb a:hover {
    color: var(--b);
}
.breadcrumb span {
    color: var(--b);
    font-weight: 600;
}

/* ============================
   BLOG POST LIST
============================ */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.post-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--gb);
    cursor: pointer;
    transition: var(--trans);
}
.post-item:hover {
    padding-left: 8px;
}
.post-item:hover .post-title {
    color: var(--gm);
}
.post-thumb {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    padding: 8px;
}
.post-thumb__label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.35);
    padding: 3px 8px;
}
.post-info .post-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 6px;
}
.post-info .post-tag em {
    background: var(--y);
    color: var(--b);
    padding: 2px 6px;
    font-style: normal;
}
.post-title {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    transition: var(--trans);
}
.post-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}
.post-meta {
    font-size: 11px;
    color: var(--gm);
    display: flex;
    gap: 14px;
}

/* ============================
   BLOG POST HERO
============================ */
.post-hero {
    background: color-mix(in srgb, var(--post-accent) 14%, var(--w));
    border-bottom: 3px solid var(--post-accent);
    color: var(--b);
}
.post-hero__inner {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 280px);
    gap: 32px 40px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}
.post-hero__badge {
    display: inline-block;
    background: color-mix(in srgb, var(--post-accent) 14%, var(--w));
    color: var(--post-accent);
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    border: 2px solid var(--post-accent);
    box-shadow: 3px 3px 0 var(--post-accent);
}
.post-hero__meta.card-meta {
    flex-wrap: wrap;
}
.post-hero__meta .card-meta__collab {
    flex: 1 1 100%;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--post-accent);
}
.post-hero__title {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--b);
}
.post-hero__meta {
    margin-top: 0;
    opacity: 1;
    color: var(--text-soft);
}
.post-hero__cover {
    justify-self: end;
}
.post-hero__cover-img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: var(--retro-border);
    box-shadow: 4px 4px 0 var(--post-accent);
    background: var(--w);
}

/* ============================
   ARTICLE VIEWER
============================ */
.article-page {
    --post-shadow: 4px 4px 0 var(--post-accent);
    --post-tint: color-mix(in srgb, var(--post-accent) 12%, var(--w));
    --post-tint-strong: color-mix(in srgb, var(--post-accent) 22%, var(--gl));
}
.article-page .breadcrumb {
    margin-bottom: 28px;
}
.article-page .breadcrumb span {
    color: var(--post-accent);
    font-weight: 700;
}
.article-sidebar .cat-collab--sidebar {
    width: 100%;
    max-width: none;
    margin-bottom: 22px;
    align-self: auto;
    box-shadow: var(--post-shadow);
    border-color: var(--post-accent);
}
.article-sidebar .cat-collab--sidebar .cat-collab__name {
    color: var(--post-accent);
}
.article-sidebar .cat-collab--sidebar .cat-collab__link:hover {
    border-color: var(--post-accent);
    color: var(--post-accent);
}
.article-page .article-section h2 {
    padding-left: 12px;
    border-left: 4px solid var(--post-accent);
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
    align-items: start;
}
.article-main {
    min-width: 0;
}
.article-body {
    max-width: none;
    width: 100%;
}
.article-body .article-section > p,
.article-body .article-section > ul,
.article-body .article-section > h2,
.article-body .article-pullquote,
.article-body .article-callout,
.article-body .article-figure,
.article-body .article-code,
.article-body .article-poll,
.article-section--poll > h2,
.article-section--poll > p {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.article-section {
    scroll-margin-top: 120px;
    margin-bottom: 8px;
}
.article-section h2 {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 700;
    margin: 36px 0 14px;
    color: var(--b);
}
.article-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 20px;
}
.article-body p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 18px;
}
.article-page .article-pullquote {
    border: var(--retro-border);
    border-left: 4px solid var(--post-accent);
    box-shadow: var(--post-shadow);
    padding: 18px 22px;
    background: var(--post-tint);
}
.article-pullquote {
    border: var(--retro-border);
    border-left: 4px solid var(--y);
    box-shadow: var(--retro-shadow);
    padding: 18px 22px;
    background: var(--gl);
    font-style: italic;
    font-size: 17px;
    margin: 28px 0;
    font-family: var(--font-title);
    color: var(--b);
}
.article-body ul {
    padding-left: 20px;
    margin-bottom: 22px;
}
.article-body ul li {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 8px;
    list-style: disc;
}
.article-page .article-callout,
.article-page .article-figure__frame,
.article-page .article-code,
.article-page .article-poll,
.article-page .sidebar-widget,
.article-page .article-share__bar,
.article-page .article-author__card {
    box-shadow: var(--post-shadow);
}
.article-page .article-callout,
.article-page .article-callout--tip,
.article-page .article-callout--tick {
    border-color: var(--post-accent);
    box-shadow: var(--post-shadow);
}
.article-page .article-callout__head,
.article-page .article-poll__head,
.article-page .article-callout--tip .article-callout__head,
.article-page .article-callout--tick .article-callout__head {
    background: var(--post-tint-strong);
    border-bottom-color: var(--post-accent);
}
.article-page .article-callout__badge,
.article-page .article-poll__badge {
    background: var(--post-accent);
    border-color: var(--b);
    color: var(--w);
    box-shadow: 2px 2px 0 var(--b);
}
.article-page .article-callout__badge .ico,
.article-page .article-poll__badge .ico {
    color: var(--w);
}
.article-page .article-callout__label {
    color: var(--post-accent);
}
.article-page .article-callout__body,
.article-page .article-callout--tip .article-callout__body,
.article-page .article-callout--tick .article-callout__body {
    background: var(--post-tint);
}
.article-page .article-poll__btn:hover,
.article-page .article-poll__btn.is-selected {
    background: var(--post-accent);
    border-color: var(--b);
    color: var(--w);
    box-shadow: 2px 2px 0 var(--b);
}
.article-page .article-poll__btn.is-selected .ico {
    color: var(--w);
}
.article-page .article-share__reader {
    border-color: var(--post-accent);
    background: var(--post-tint);
}
.article-page .article-share__reader-dot {
    background: var(--post-accent);
    border-color: var(--b);
    box-shadow: 0 0 0 3px
        color-mix(in srgb, var(--post-accent) 35%, transparent);
}
.article-page .article-share__btn:hover {
    background: var(--post-accent);
    border-color: var(--b);
    color: var(--w);
    box-shadow: 2px 2px 0 var(--b);
}
.article-page .article-share__btn:hover .ico {
    color: var(--w);
}
.article-page .article-share__reader-line {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-body);
    letter-spacing: 0.02em;
}
.article-page .article-share__reader-num {
    color: var(--post-accent);
}
.article-page .article-poll__feedback.is-open {
    background: var(--post-tint);
    border-top-color: var(--post-accent);
}
.article-page .article-poll__feedback-icon {
    background: var(--post-accent);
    border-color: var(--b);
    color: var(--w);
    box-shadow: 2px 2px 0 var(--b);
}
.article-page .article-poll__feedback-icon .ico {
    color: var(--w);
}
.article-page .article-code__dots span:first-child {
    background: var(--post-accent);
}
.article-callout {
    margin: 32px 0;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    overflow: hidden;
}
.article-callout__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gl);
    border-bottom: var(--retro-border);
}
.article-callout__badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--retro-border);
    background: var(--y);
    color: var(--b);
    box-shadow: 2px 2px 0 var(--b);
    flex-shrink: 0;
}
.article-callout__badge .ico {
    width: 16px;
    height: 16px;
}
.article-callout__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--b);
}
.article-callout__body {
    padding: 16px 18px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    background: color-mix(in srgb, var(--gl) 65%, var(--w));
}
.article-code {
    margin: 32px 0;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    overflow: hidden;
}
.article-code__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--b);
    color: var(--w);
    border-bottom: var(--retro-border);
}
.article-code__dots {
    display: flex;
    gap: 6px;
}
.article-code__dots span {
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--gb);
    background: var(--gl);
}
.article-code__dots span:first-child {
    background: var(--y);
}
.article-code__label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--w) 75%, var(--gb));
}
.article-code__pre {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    background: color-mix(in srgb, var(--b) 92%, var(--panel-dark));
    color: color-mix(in srgb, var(--w) 92%, var(--y));
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.65;
    tab-size: 4;
}
.article-code__pre code {
    font-family: inherit;
    white-space: pre;
}
.article-code__caption {
    margin: 0;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-soft);
    background: var(--gl);
    border-top: 1px solid var(--gb);
}
.article-figure {
    width: 100%;
    margin: 32px 0;
}
.article-figure__frame {
    display: block;
    width: 100%;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    overflow: hidden;
}
.article-figure__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.article-figure__caption {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-soft);
    max-width: 52ch;
}
.article-author {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--gb);
    width: 100%;
}
.article-author__title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--b);
}
.article-author__card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px 20px;
    padding: 18px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
}
.article-author__avatar-wrap {
    border: var(--retro-border);
    box-shadow: 2px 2px 0 var(--y);
    overflow: hidden;
}
.article-author__avatar {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.article-author__name {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--b);
}
.article-author__role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 10px;
}
.article-author__bio {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 12px;
}
.article-author__link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--b);
    text-decoration: none;
    border-bottom: 2px solid var(--y);
    transition: var(--trans);
}
.article-author__link:hover {
    color: var(--gm);
}
.article-poll {
    margin: 24px 0 0;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    overflow: hidden;
}
.article-poll__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gl);
    border-bottom: var(--retro-border);
}
.article-poll__badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--retro-border);
    background: var(--y);
    color: var(--b);
    box-shadow: 2px 2px 0 var(--b);
    flex-shrink: 0;
}
.article-poll__badge .ico {
    width: 16px;
    height: 16px;
}
.article-poll__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--b);
}
.article-poll__question {
    padding: 16px 18px 0;
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 14px;
    color: var(--b);
}
.article-poll__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 18px 18px;
}
.article-poll__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: var(--retro-border);
    background: var(--gl);
    box-shadow: 2px 2px 0 var(--gb);
    cursor: pointer;
    transition: var(--trans);
    font-family: var(--font-base);
    color: var(--b);
}
.article-poll__btn .ico {
    width: 14px;
    height: 14px;
}
.article-poll__btn:hover,
.article-poll__btn.is-selected {
    background: var(--y);
    transform: translate(-2px, -2px);
    box-shadow: var(--retro-shadow);
}
.article-poll__btn--no.is-selected {
    background: var(--w);
}
.article-poll__feedback {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 18px;
    border-top: 0 solid transparent;
    background: var(--gl);
    transition:
        max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease,
        padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s ease;
}
.article-poll__feedback.is-open {
    max-height: 140px;
    opacity: 1;
    padding: 14px 18px;
    border-top-width: 2px;
    border-top-style: solid;
}
.article-poll__feedback-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--retro-border);
    background: var(--y);
    color: var(--b);
    box-shadow: 2px 2px 0 var(--b);
}
.article-poll__feedback-icon .ico {
    width: 14px;
    height: 14px;
}
.article-poll__feedback-text {
    margin: 0;
    padding-top: 4px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: var(--b);
}
.article-share {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--gb);
    width: 100%;
}
.article-share__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px 24px;
    padding: 18px 20px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
}
.article-share__main {
    flex: 1 1 220px;
    min-width: 0;
}
.article-share__title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--b);
}
.article-share__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}
.article-share__dropdown {
    position: relative;
}
.article-share__btn--menu .article-share__caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--trans);
}
.article-share__btn--menu[aria-expanded="true"] .article-share__caret {
    transform: rotate(180deg);
}
.article-share__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    min-width: 180px;
    padding: 6px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
}
.article-page .article-share__menu {
    box-shadow: var(--post-shadow);
    border-color: var(--post-accent);
}
.article-share__menu[hidden] {
    display: none;
}
.article-share__menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--b);
    border: 1.5px solid transparent;
    transition: var(--trans);
}
.article-share__menu-item:hover {
    background: var(--gl);
    border-color: var(--gb);
}
.article-page .article-share__menu-item:hover {
    background: var(--post-tint);
    border-color: var(--post-accent);
    color: var(--post-accent);
}
.article-share__menu-item .ico {
    width: 14px;
    height: 14px;
}
.article-share__btn--native:not([hidden]) {
    display: inline-flex;
}
.article-share__btn--desktop {
    display: none;
}
.article-share__btn--mobile {
    display: inline-flex;
}
@media (min-width: 768px) {
    .article-share__btn--desktop {
        display: inline-flex;
    }
    .article-share__btn--mobile,
    .article-share__dropdown.article-share__btn--mobile {
        display: none;
    }
    .article-share__btn--native:not([hidden]) {
        display: none;
    }
}
.article-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--b);
    border: var(--retro-border);
    box-shadow: 2px 2px 0 var(--gb);
    background: var(--gl);
    cursor: pointer;
    transition: var(--trans);
    font-family: var(--font-base);
}
.article-share__btn:hover {
    background: var(--y);
    transform: translate(-2px, -2px);
    box-shadow: var(--retro-shadow);
}
.article-share__btn .ico {
    width: 14px;
    height: 14px;
}
.article-share__reader {
    flex: 0 1 280px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: var(--retro-border);
    background: color-mix(in srgb, var(--y) 20%, var(--gl));
    box-shadow: inset 0 0 0 1px var(--gb);
    align-self: center;
}
.article-share__reader-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--y);
    border: 2px solid var(--b);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--y) 45%, transparent);
    animation: reader-pulse 2s ease-in-out infinite;
}
@keyframes reader-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
.article-share__reader-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 4px;
}
.article-share__reader-text p {
    margin: 0;
}
.related-posts {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 2px solid var(--gb);
}
.related-posts__title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--b);
}
.related-posts__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.related-posts__item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gb);
    color: inherit;
    text-decoration: none;
    transition: var(--trans);
}
.related-posts__item:hover {
    padding-left: 6px;
}
.related-posts__thumb {
    position: relative;
    aspect-ratio: 4/3;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: color-mix(in srgb, var(--thumb-accent) 35%, var(--w));
    overflow: hidden;
}
.related-posts__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.related-posts__thumb-cat {
    position: absolute;
    left: 6px;
    bottom: 6px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 6px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--w);
}
.related-posts__meta {
    display: block;
    font-size: 11px;
    color: var(--gm);
    margin-bottom: 6px;
}
.related-posts__name {
    display: block;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--b);
}
.article-sidebar {
    position: sticky;
    top: 148px;
    padding-top: 24px;
}
.sidebar-widget {
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    padding: 20px;
    margin-bottom: 22px;
}
.article-toc__title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--gm);
}
.article-toc__list {
    list-style: none;
    counter-reset: toc;
}
.article-toc__list li {
    border-bottom: 1px solid var(--gb);
}
.article-toc__link {
    display: block;
    padding: 10px 0 8px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-body);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--trans);
}
.article-toc__link:hover {
    color: var(--b);
}
.article-page .sidebar-widget.article-toc {
    border-color: var(--post-accent);
    box-shadow: var(--post-shadow);
    background: var(--w);
}
.article-page .article-toc__title {
    color: var(--post-accent);
}
.article-page .article-toc__link:hover {
    color: var(--post-accent);
    border-bottom-color: color-mix(in srgb, var(--post-accent) 40%, var(--gb));
}
.article-page .article-toc__link.is-active {
    color: var(--post-accent);
    font-weight: 700;
    border-bottom-color: var(--post-accent);
}

/* ============================
   ABOUT PAGE
============================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}
.about-visual {
    background: var(--b);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}
.about-text h2 {
    font-family: var(--font-title);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 16px;
}
.about-text p {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 14px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.team-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--w);
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    transition:
        transform var(--trans),
        box-shadow var(--trans);
}
.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--retro-shadow-hover);
}
.team-avatar {
    font-size: 52px;
    margin-bottom: 12px;
}
.team-name {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.team-role {
    font-size: 11.5px;
    color: var(--gm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================
   CONTACT PAGE
============================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--gb);
    font-size: 13px;
    outline: none;
    transition: var(--trans);
    font-family: var(--font-base);
    resize: vertical;
}
.form-control:focus {
    border-color: var(--b);
}
.form-control.error {
    border-color: #e53;
    animation: shake 0.3s;
}
@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-6px);
    }
    75% {
        transform: translateX(6px);
    }
}
.contact-info h3 {
    font-family: var(--font-title);
    font-size: 24px;
    margin-bottom: 20px;
}
.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}
.contact-info-item span:first-child {
    font-size: 22px;
    flex-shrink: 0;
}

/* ============================
   DASHBOARD
============================ */
.dash-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    min-height: calc(100vh - 160px);
}
.dash-sidebar {
    background: var(--b);
    padding: 24px 0;
    color: var(--w);
}
.dash-sidebar .dash-user {
    padding: 16px 24px 20px;
    border-bottom: 1px solid #222;
}
.dash-avatar {
    width: 48px;
    height: 48px;
    background: var(--y);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}
.dash-user-name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}
.dash-user-role {
    font-size: 10.5px;
    color: #777;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.dash-nav {
    padding: 16px 0;
}
.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px;
    font-size: 13px;
    color: #aaa;
    transition: var(--trans);
    cursor: pointer;
    border-left: 3px solid transparent;
}
.dash-nav-item:hover {
    background: #1a1a1a;
    color: var(--w);
}
.dash-nav-item.active {
    color: var(--y);
    border-left-color: var(--y);
    background: #111;
}
.dash-nav-item .di {
    font-size: 16px;
}
.dash-main {
    padding: 32px 36px;
    background: var(--gl);
}
.dash-header {
    margin-bottom: 28px;
}
.dash-header h2 {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}
.dash-header p {
    font-size: 13px;
    color: var(--gm);
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--w);
    padding: 20px;
    border-bottom: 3px solid var(--y);
}
.stat-card .stat-n {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
}
.stat-card .stat-l {
    font-size: 11px;
    color: var(--gm);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 4px;
}
.stat-card .stat-chg {
    font-size: 11.5px;
    color: #22c55e;
    margin-top: 6px;
}
.dash-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}
.dash-widget {
    background: var(--w);
    padding: 22px;
}
.dash-widget h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: var(--gm);
}
.progress-item {
    margin-bottom: 14px;
}
.progress-item .pi-label {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    margin-bottom: 5px;
}
.progress-bar {
    height: 6px;
    background: var(--gb);
    border-radius: 3px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--y);
    border-radius: 3px;
    transition: width 1s ease;
}
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gb);
    font-size: 12.5px;
}
.activity-dot {
    width: 8px;
    height: 8px;
    background: var(--y);
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}
.activity-time {
    font-size: 11px;
    color: var(--gm);
    margin-top: 2px;
}

/* ============================
   CV WIZARD
============================ */
.wizard-wrap {
    background: var(--w);
    max-width: 780px;
    margin: 0 auto;
}
.wizard-steps {
    display: flex;
    margin-bottom: 36px;
    position: relative;
}
.wizard-steps::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gb);
    z-index: 0;
}
.wizard-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gb);
    background: var(--w);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: var(--trans);
}
.wizard-step.done .step-dot {
    background: var(--y);
    border-color: var(--y);
    color: var(--b);
}
.wizard-step.active .step-dot {
    background: var(--b);
    border-color: var(--b);
    color: var(--w);
}
.step-lbl {
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gm);
}
.wizard-step.active .step-lbl {
    color: var(--b);
}
.wizard-card {
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    padding: 32px;
}
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
}
.btn-sec {
    background: var(--gl);
    color: var(--b);
    padding: 11px 24px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--trans);
    border: 2px solid var(--gb);
}
.btn-sec:hover {
    border-color: var(--b);
}

/* ============================
   THOUGHT 365
============================ */
.thoughts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.thought-card {
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    padding: 20px;
    cursor: pointer;
    transition:
        transform var(--trans),
        box-shadow var(--trans);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.thought-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--retro-shadow-hover);
}
.thought-day {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gm);
}
.thought-text {
    font-family: var(--font-title);
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
}
.thought-author {
    font-size: 11px;
    color: var(--gm);
}

/* ============================
   SEARCH
============================ */
.search-bar-wrap {
    background: var(--b);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 0;
}
.search-input-big {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    font-family: var(--font-base);
    background: var(--gl);
}
.search-btn-big {
    background: var(--y);
    color: var(--b);
    padding: 16px 28px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--trans);
}
.search-btn-big:hover {
    background: var(--w);
}
.search-results {
    padding: 40px;
}
.result-count {
    font-size: 13px;
    color: var(--gm);
    margin-bottom: 24px;
}
.result-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--gb);
    cursor: pointer;
    transition: var(--trans);
}
.result-item:hover {
    padding-left: 10px;
}
.result-item h3 {
    font-family: var(--font-title);
    font-size: 20px;
    margin-bottom: 6px;
    transition: var(--trans);
}
.result-item:hover h3 {
    color: var(--gm);
}
.result-item p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}
.result-item .r-meta {
    font-size: 11px;
    color: var(--gm);
    margin-top: 6px;
    display: flex;
    gap: 14px;
}

/* ============================
   FLOATING WIDGETS
============================ */
#pixwrite-float-dock {
    --float-edge: 24px;
    --float-panel-bottom: 90px;
    --float-panel-width: 320px;
    background: #271f17;
}
.music-player {
    position: fixed;
    bottom: var(--float-panel-bottom);
    left: var(--float-edge);
    right: auto;
    z-index: 600;
    background: var(--b);
    color: var(--w);
    width: var(--float-panel-width);
    max-height: min(78vh, 520px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(calc(100% + 100px));
    transition: transform 0.4s cubic-bezier(0.17, 0.67, 0.22, 1.1);
}
.music-player.open {
    transform: translateY(0);
}
.mp-head {
    background: var(--y);
    color: var(--b);
    padding: 10px 12px 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.mp-head__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}
.mp-head__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--b);
    transition: opacity var(--trans);
}
.mp-head__btn:hover {
    opacity: 0.65;
}
.mp-head__btn .ico {
    width: 16px;
    height: 16px;
    display: block;
}
.mp-head__viz {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.mp-head__viz .ico {
    width: 18px;
    height: 18px;
    color: var(--b);
    transition:
        transform var(--trans),
        opacity var(--trans);
}
.mp-head__viz.is-playing .ico {
    animation: music-icon-pulse 1.15s ease-in-out infinite;
}
.mp-head__viz.is-paused .ico {
    opacity: 0.45;
}
.mp-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}
.mp-tabs--two {
    grid-template-columns: repeat(2, 1fr);
}
.mp-mixtape-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px;
    font-size: 10px;
    background: color-mix(in srgb, var(--y) 12%, #111);
    border-bottom: 1px solid #333;
    color: #aaa;
}
.mp-mixtape-hint[hidden] {
    display: none;
}
.mp-mixtape-hint__link {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--y);
    text-decoration: none;
}
.mp-mixtape-hint__link:hover {
    text-decoration: underline;
}
.mp-tabs__pill {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 5px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--b);
    color: var(--y);
    border-radius: 2px;
    vertical-align: middle;
}
.mp-tabs__btn--mixtape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.mp-tabs__btn {
    padding: 10px 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    transition: var(--trans);
    border-bottom: 2px solid transparent;
}
.mp-tabs__btn:hover {
    color: var(--w);
}
.mp-tabs__btn.is-active {
    color: var(--y);
    border-bottom-color: var(--y);
}
.mp-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
.mp-now {
    padding: 14px 16px 12px;
    border-bottom: 1px solid #333;
}
.mp-now__label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}
.mp-track {
    font-family: var(--font-title);
    font-size: 14px;
    margin-bottom: 3px;
    line-height: 1.25;
}
.mp-artist {
    font-size: 11px;
    color: #999;
    margin-bottom: 12px;
}
.mp-progress {
    height: 3px;
    background: #333;
    border-radius: 2px;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
}
.mp-fill {
    height: 100%;
    background: var(--y);
    border-radius: 2px;
    width: 0;
    transition: width 0.1s;
}
.mp-controls {
    display: flex;
    justify-content: center;
    gap: 18px;
    align-items: center;
}
.mp-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--w);
    transition: var(--trans);
}
.mp-controls button:hover {
    color: var(--y);
}
.mp-tracklist {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}
.mp-track-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--w);
    cursor: pointer;
    transition: background var(--trans);
}
.mp-track-item:hover {
    background: #222;
}
.mp-track-item.is-active {
    background: color-mix(in srgb, var(--y) 18%, #111);
}
.mp-track-item__play {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-track-item__play .ico {
    width: 14px;
    height: 14px;
    color: var(--y);
}
.mp-track-item__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
.mp-track-item__artist {
    display: block;
    font-size: 10px;
    color: #999;
    margin-top: 2px;
}
.mp-foot {
    padding: 10px 12px;
    border-top: 1px solid #333;
    flex-shrink: 0;
}
.mp-foot--actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mp-mixtape-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #222;
    color: var(--w);
    border: 1px solid #444;
    cursor: pointer;
    transition: var(--trans);
}
.mp-mixtape-btn .ico {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.mp-mixtape-btn:hover,
.mp-mixtape-btn.is-active {
    border-color: var(--y);
    color: var(--y);
    background: color-mix(in srgb, var(--y) 12%, #222);
}
.mp-queue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #222;
    color: var(--w);
    border: 1px solid #444;
    cursor: pointer;
    transition: var(--trans);
}
.mp-queue-btn:hover {
    border-color: var(--y);
    color: var(--y);
}
.mp-queue-btn .ico {
    width: 12px;
    height: 12px;
    transform: rotate(90deg);
}
.mp-queue-panel {
    padding: 10px 14px 14px;
    border-top: 1px solid #333;
    max-height: 140px;
    overflow-y: auto;
    flex-shrink: 0;
}
.mp-queue-panel__title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}
.mp-queue-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mp-queue-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid #2a2a2a;
}
.mp-queue-list li:last-child {
    border-bottom: none;
}
.mp-queue-list__num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--y);
}
.mp-queue-list__text small {
    display: block;
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}
.mp-queue-empty {
    position: relative;
    text-align: center;
    padding: 24px 16px 12px;
    overflow: hidden;
}
.mp-queue-empty__glow {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(245, 200, 0, 0.2) 0%,
        transparent 70%
    );
    pointer-events: none;
}
.mp-queue-empty__icon {
    position: relative;
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #444;
    border-radius: 50%;
    background: #1a1a1a;
}
.mp-queue-empty__icon .ico {
    width: 22px;
    height: 22px;
    color: var(--y);
}
.mp-queue-empty__eyebrow {
    position: relative;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--y);
    margin: 0 0 6px;
}
.mp-queue-empty__title {
    position: relative;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    color: var(--w);
    margin: 0 0 8px;
}
.mp-queue-empty__text {
    position: relative;
    font-size: 11px;
    line-height: 1.6;
    color: #aaa;
    margin: 0 0 16px;
}
.mp-queue-empty__actions {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mp-queue-empty__btn {
    display: block;
    width: 100%;
    padding: 9px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid #555;
    color: #ccc;
    cursor: pointer;
    transition: var(--trans);
}
.mp-queue-empty__btn--primary {
    border-color: var(--y);
    color: var(--y);
}
.mp-queue-empty__btn--primary:hover {
    background: var(--y);
    color: var(--b);
}
.mp-queue-empty__btn:hover {
    border-color: #888;
    color: var(--w);
}
.mp-info {
    position: fixed;
    inset: 0;
    z-index: 750;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mp-info[hidden] {
    display: none;
}
.mp-info__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.mp-info__box {
    position: relative;
    background: var(--w);
    color: var(--b);
    max-width: 400px;
    width: 100%;
    padding: 28px 24px 24px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow-hover);
}
.mp-info__box h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.mp-info__box p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-soft);
    margin-bottom: 18px;
}
.mp-info__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--gm);
}
.mp-info__close .ico {
    width: 18px;
    height: 18px;
}
.bars {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 16px;
    margin: 0 2px;
}
.bars span {
    width: 3px;
    background: var(--b);
    border-radius: 1px;
    animation: bar 0.8s ease infinite alternate;
}
.bars.paused span {
    animation-play-state: paused;
}
@keyframes bar {
    from {
        height: 4px;
    }
    to {
        height: 16px;
    }
}
.music-fab {
    position: fixed;
    bottom: var(--float-edge);
    left: var(--float-edge);
    right: auto;
    z-index: 601;
    background: var(--b);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    transition: var(--trans);
    cursor: pointer;
    border: none;
}
.music-fab {
    position: relative;
}
.music-fab__ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    transition: var(--trans);
}
.music-fab .ico {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    color: var(--y);
    transition: transform var(--trans);
}
.music-fab:hover {
    transform: scale(1.08);
    background: #222;
}
.music-fab[aria-expanded="true"] {
    box-shadow: 0 0 0 3px var(--y);
}
.music-fab--playing .music-fab__ring {
    border-color: var(--y);
    animation: music-fab-pulse 1.4s ease infinite;
}
.music-fab--playing .ico {
    animation: music-fab-bob 0.8s ease-in-out infinite alternate;
}
.music-fab--paused .music-fab__ring {
    border-color: #666;
}
.music-fab--paused .ico {
    opacity: 0.75;
}
@keyframes music-fab-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 200, 0, 0.35);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 200, 0, 0);
    }
}
@keyframes music-fab-bob {
    from {
        transform: translateY(1px);
    }
    to {
        transform: translateY(-2px);
    }
}
#pixwrite-float-dock.is-detached-hidden .music-player,
#pixwrite-float-dock.is-detached-hidden .music-fab {
    display: none !important;
}
body.has-detached-player .chat-fab,
body.has-detached-player .chat-win {
    bottom: var(--float-edge);
}
body.has-detached-player .chat-win {
    bottom: var(--float-panel-bottom);
}
.topbar-np {
    display: none;
    align-items: center;
    gap: 9px;
    max-width: min(260px, 34vw);
    padding: 5px 10px 5px 5px;
    margin-right: 4px;
    border: 1px solid color-mix(in srgb, var(--gb) 90%, transparent);
    background: color-mix(in srgb, var(--w) 88%, var(--gl));
    cursor: pointer;
    transition:
        opacity var(--trans),
        border-color var(--trans),
        background var(--trans);
    text-align: left;
    box-shadow: none;
    opacity: 0.88;
}
.topbar-np:not([hidden]) {
    display: inline-flex;
}
.topbar-np:hover {
    opacity: 1;
    border-color: var(--gb);
    background: color-mix(in srgb, var(--w) 96%, var(--gl));
}
.topbar-np__disc {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--gb) 85%, transparent);
    background: color-mix(in srgb, var(--y) 10%, var(--w));
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-np__disc-inner .ico {
    width: 15px;
    height: 15px;
    color: var(--gm);
    transition:
        transform var(--trans),
        color var(--trans),
        opacity var(--trans);
}
.topbar-np__disc.is-playing {
    animation: topbar-disc-glow 2s ease-in-out infinite;
}
.topbar-np__disc.is-playing .topbar-np__disc-inner .ico {
    color: var(--b);
    animation: music-icon-pulse 1.15s ease-in-out infinite;
}
.topbar-np__disc.is-paused .topbar-np__disc-inner .ico {
    opacity: 0.45;
}
@keyframes music-icon-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.14);
    }
}
@keyframes topbar-disc-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--y) 35%, transparent);
    }
    50% {
        box-shadow: 0 0 0 5px color-mix(in srgb, var(--y) 8%, transparent);
    }
}
.topbar-np__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    gap: 2px;
}
.topbar-np__eyebrow {
    font-family: var(--font-mono);
    font-size: 7.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--gm) 85%, transparent);
}
.topbar-np__track-wrap {
    overflow: hidden;
    max-width: min(150px, 22vw);
    min-width: 0;
}
.topbar-np__marquee {
    display: inline-flex;
    gap: 2rem;
    white-space: nowrap;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
    color: color-mix(in srgb, var(--b) 65%, var(--gm));
}
.topbar-np__marquee.is-marquee {
    animation: track-marquee 14s linear infinite;
}
.topbar-np__marquee.is-marquee:hover {
    animation-play-state: paused;
}
.mp-track-wrap {
    overflow: hidden;
    margin-bottom: 10px;
}
.mp-track-marquee {
    display: inline-flex;
    gap: 2rem;
    white-space: nowrap;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}
.mp-track-marquee.is-marquee {
    animation: track-marquee 16s linear infinite;
}
@keyframes track-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.topbar-np__progress {
    height: 2px;
    background: color-mix(in srgb, var(--gb) 60%, transparent);
    border-radius: 2px;
    overflow: hidden;
}
.topbar-np__progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: color-mix(in srgb, var(--y) 55%, var(--gb));
    border-radius: 2px;
    transition: width 0.15s linear;
}
.topbar-np__status {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 6px;
    background: color-mix(in srgb, var(--gl) 90%, var(--w));
    color: color-mix(in srgb, var(--gm) 90%, transparent);
    border: 1px solid color-mix(in srgb, var(--gb) 70%, transparent);
}
.topbar-np:has(.is-playing) .topbar-np__status {
    background: color-mix(in srgb, var(--y) 18%, var(--w));
    color: color-mix(in srgb, var(--b) 50%, var(--gm));
    border-color: color-mix(in srgb, var(--y) 30%, var(--gb));
}
.topbar-np:has(.is-paused) .topbar-np__status {
    background: color-mix(in srgb, var(--gl) 90%, var(--w));
    color: color-mix(in srgb, var(--gm) 85%, transparent);
}
@media (max-width: 900px) {
    /* Desktop-only chip — music FAB remains the mobile control */
    .topbar-np {
        display: none !important;
    }
    .music-fab {
        display: flex !important;
        bottom: max(20px, env(safe-area-inset-bottom, 20px));
        left: max(16px, env(safe-area-inset-left, 16px));
    }
    .music-player {
        bottom: calc(86px + env(safe-area-inset-bottom, 0px));
        left: max(16px, env(safe-area-inset-left, 16px));
        width: min(var(--float-panel-width), calc(100vw - 32px));
    }
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 650;
    width: min(520px, calc(100vw - 32px));
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 16px;
    padding: 14px 18px;
    border: var(--retro-border);
    background: var(--w);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        var(--retro-shadow);
}
.cookie-banner__text {
    flex: 1;
    min-width: 200px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0;
}
.cookie-banner__link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: var(--b);
    text-decoration: underline;
    cursor: pointer;
}
.cookie-banner__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-banner__btn {
    padding: 8px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1.5px solid var(--b);
    transition: var(--trans);
}
.cookie-banner__btn--ghost {
    background: var(--w);
    color: var(--b);
}
.cookie-banner__btn--ghost:hover {
    background: var(--gl);
}
.cookie-banner__btn--primary {
    background: var(--b);
    color: var(--y);
    border-color: var(--b);
}
.cookie-banner__btn--primary:hover {
    background: #222;
}
.cookie-policy[hidden] {
    display: none;
}
.mixtape-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.mixtape-archive-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    transition:
        transform var(--trans),
        box-shadow var(--trans);
    overflow: hidden;
}
.mixtape-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--retro-shadow-hover);
}
.mixtape-archive-card__art {
    aspect-ratio: 16/7;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--tape-bg);
}
.mixtape-archive-card__theme {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--b);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.mixtape-archive-card__period {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 6px;
    opacity: 0.85;
}
.mixtape-archive-card__body {
    padding: 16px 18px 18px;
}
.mixtape-archive-card__title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.mixtape-archive-card__tagline {
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0 0 10px;
}
.mixtape-archive-card__meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gm);
}
.mixtape-hero--index {
    border-bottom: 2px solid var(--b);
    padding-bottom: 28px;
    margin-bottom: 28px;
}
.mixtape-why {
    padding: 22px 24px;
    margin-bottom: 28px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: color-mix(in srgb, var(--y) 12%, var(--w));
}
.mixtape-why__title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.mixtape-why__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-soft);
    margin: 0;
}
.player-frame-body {
    margin: 0;
    background: var(--b);
    min-height: 100dvh;
}
.player-frame-shell {
    max-width: 380px;
    margin: 0 auto;
    padding: 12px 12px 20px;
}
.player-frame-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px 14px;
    color: var(--w);
}
.player-frame-head__title {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--y);
}
.player-frame-head__dock {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid #555;
    color: #ccc;
    cursor: pointer;
    transition: var(--trans);
}
.player-frame-head__dock:hover {
    border-color: var(--y);
    color: var(--y);
}
.is-player-frame .music-player {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none !important;
    width: 100%;
    max-height: none;
    box-shadow: none;
}
.is-player-frame .music-player.open {
    transform: none;
}
.is-player-frame .music-fab {
    display: none !important;
}
.is-iframe-embed .mp-info__frame-note {
    display: block !important;
}
.empty-state {
    text-align: center;
    padding: 48px 28px 40px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    position: relative;
    overflow: hidden;
}
.empty-state--search {
    max-width: 480px;
    margin: 24px auto 0;
}
.empty-state__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--b);
    border-radius: 50%;
    background: color-mix(in srgb, var(--y) 25%, var(--w));
}
.empty-state__icon .ico {
    width: 26px;
    height: 26px;
}
.empty-state__title {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.empty-state__text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-soft);
    margin: 0 0 22px;
}
.empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.mixtape-page {
    padding-bottom: 40px;
}
.mixtape-hero {
    padding: 28px 0 32px;
    border-bottom: 2px solid var(--b);
    margin-bottom: 28px;
}
.mixtape-hero__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
    background: var(--y);
    color: var(--b);
    margin-bottom: 14px;
}
.mixtape-hero__title {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 10px;
}
.mixtape-hero__tagline {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.55;
    margin: 0 0 8px;
}
.mixtape-hero__note {
    font-size: 12px;
    color: var(--gm);
    margin: 0;
}
.mixtape-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.mixtape-card {
    display: flex;
    flex-direction: column;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    transition:
        transform var(--trans),
        box-shadow var(--trans);
}
.mixtape-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--retro-shadow-hover);
}
.mixtape-card__art {
    aspect-ratio: 16/8;
    background: linear-gradient(135deg, var(--gl), var(--y));
    display: flex;
    align-items: flex-end;
    padding: 12px;
}
.mixtape-card__num {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.35;
    line-height: 1;
}
.mixtape-card__body {
    padding: 16px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mixtape-card__title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.mixtape-card__meta {
    font-size: 11px;
    color: var(--gm);
    margin: 0 0 14px;
}
.mixtape-card__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 14px;
    width: 100%;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--b);
    color: var(--w);
    border: none;
    cursor: pointer;
    transition: var(--trans);
}
.mixtape-card__play .ico {
    width: 14px;
    height: 14px;
    color: var(--y);
}
.mixtape-card__play:hover {
    background: #222;
}
.mixtape-inline-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: var(--b);
    text-decoration: underline;
    cursor: pointer;
}
.chat-fab {
    position: fixed;
    bottom: var(--float-edge);
    right: var(--float-edge);
    z-index: 601;
    background: var(--y);
    color: var(--b);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(245, 200, 0, 0.35);
    transition: var(--trans);
    cursor: pointer;
    border: none;
}
.chat-fab .ico {
    width: 22px;
    height: 22px;
    color: var(--b);
}
.chat-fab:hover {
    transform: scale(1.1);
}
.chat-fab[aria-expanded="true"] {
    box-shadow: 0 0 0 3px var(--b);
}
.chat-win {
    position: fixed;
    bottom: var(--float-panel-bottom);
    right: var(--float-edge);
    z-index: 600;
    background: var(--w);
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    width: var(--float-panel-width);
    height: 380px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.17, 0.67, 0.22, 1.1);
}
.chat-win.open {
    transform: scale(1) translateY(0);
}
.chat-head {
    background: var(--b);
    color: var(--w);
    padding: 13px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.chat-msgs {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.msg {
    max-width: 82%;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.55;
}
.msg-bot {
    background: var(--gl);
    align-self: flex-start;
}
.msg-usr {
    background: var(--b);
    color: var(--w);
    align-self: flex-end;
}
.chat-in-row {
    display: flex;
    border-top: 1px solid var(--gb);
}
.chat-in {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    font-size: 12px;
    font-family: var(--font-base);
}
.chat-send-btn {
    background: var(--y);
    color: var(--b);
    padding: 10px 14px;
    font-size: 14px;
}
.tod-popup {
    position: fixed;
    top: 80px;
    left: 24px;
    z-index: 400;
    background: var(--w);
    border: var(--retro-border);
    width: 270px;
    padding: 22px;
    box-shadow: var(--retro-shadow);
    display: none;
}
.tod-popup.show {
    display: block;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.tod-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 16px;
    cursor: pointer;
    color: var(--gm);
}
.tod-popup-lbl {
    font-size: 9.5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gm);
    margin-bottom: 10px;
}
.tod-popup-txt {
    font-family: var(--font-title);
    font-size: 14.5px;
    font-style: italic;
    line-height: 1.55;
}
.toast {
    position: fixed;
    top: 70px;
    right: 24px;
    z-index: 700;
    background: var(--b);
    color: var(--w);
    padding: 14px 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    transform: translateX(130%);
    transition: transform 0.35s cubic-bezier(0.17, 0.67, 0.22, 1.1);
    max-width: 320px;
}
.toast.show {
    transform: translateX(0);
}
.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.toast-close {
    cursor: pointer;
    font-size: 16px;
    margin-left: auto;
    color: #999;
    flex-shrink: 0;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.modal-overlay.open {
    display: flex;
    animation: fadeIn 0.25s ease;
}
.modal-box {
    background: var(--w);
    padding: 36px;
    max-width: 480px;
    width: 90%;
    position: relative;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow-hover);
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 20px;
    cursor: pointer;
    color: var(--gm);
    transition: var(--trans);
}
.modal-close:hover {
    color: var(--b);
    transform: rotate(90deg);
}
.modal-box h3 {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}
.modal-box p {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 20px;
}
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: 1.5px solid var(--gb);
    cursor: pointer;
    transition: var(--trans);
}
.tag:hover,
.tag.active {
    background: var(--y);
    border-color: var(--y);
    color: var(--b);
}
.tabs {
    display: flex;
    border-bottom: 2px solid var(--gb);
    margin-bottom: 28px;
}
.tab-btn {
    padding: 11px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--trans);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    background: none;
}
.tab-btn:hover {
    color: var(--gm);
}
.tab-btn.active {
    border-bottom-color: var(--y);
    color: var(--b);
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
    animation: fadeIn 0.25s ease;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-y {
    background: #fff4c0;
    color: #b45309;
}
.badge-g {
    background: #dcfce7;
    color: #16a34a;
}
.badge-b {
    background: #e0e7ff;
    color: #4338ca;
}
.roadmap {
    padding: 12px 0;
}
.rm-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--gb);
}
.rm-num {
    width: 36px;
    height: 36px;
    background: var(--y);
    color: var(--b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.rm-num.done {
    background: var(--b);
    color: var(--y);
}
.rm-body h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.rm-body p {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
}
.acc-item {
    border-bottom: 1px solid var(--gb);
}
.acc-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--trans);
}
.acc-hd:hover {
    color: var(--gm);
}
.acc-arrow {
    font-size: 18px;
    transition: transform 0.25s;
    flex-shrink: 0;
}
.acc-item.open .acc-arrow {
    transform: rotate(180deg);
}
.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.acc-item.open .acc-body {
    max-height: 400px;
}
.acc-inner {
    padding: 0 0 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .feat-grid,
    .cat-strip-inner,
    .grid-3,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dash-layout {
        grid-template-columns: 1fr;
    }
    .dash-sidebar {
        display: none;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
        order: -1;
    }
    .post-hero__inner {
        grid-template-columns: 1fr;
    }
    .post-hero__cover {
        justify-self: start;
        max-width: 200px;
    }
    .related-posts__item {
        grid-template-columns: 96px 1fr;
    }
    .article-share__bar {
        flex-direction: column;
    }
    .article-share__reader {
        flex: 1 1 auto;
        width: 100%;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .thoughts-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .feat-grid,
    .cat-strip-inner,
    .grid-3,
    .grid-2,
    .footer-grid,
    .team-grid,
    .thoughts-grid {
        grid-template-columns: 1fr;
    }
    .masthead {
        grid-template-columns: auto 1fr auto;
    }
    .logo-txt {
        font-size: 38px;
    }
    .hero-headline {
        font-size: 28px;
    }
    .hero-content {
        padding: 28px 24px;
    }
    .inner-wrap,
    .section {
        padding: 32px 20px;
    }
    .nl-wrap {
        flex-direction: column;
        padding: 32px 20px;
    }
    .nl-form {
        max-width: 100%;
        width: 100%;
    }
    .topbar {
        padding: 8px 16px;
    }
    .masthead {
        padding: 16px;
    }
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .dash-widgets {
        grid-template-columns: 1fr;
    }
    .magazine-front {
        grid-template-columns: 1fr;
    }
}

/* ============================
   ICONS
============================ */
.ico {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.ico--xs {
    width: 14px;
    height: 14px;
}
.ico--sm {
    width: 16px;
    height: 16px;
}
.ico--mast {
    width: 36px;
    height: 36px;
}
.ico--hero {
    width: 72px;
    height: 72px;
    opacity: 0.85;
}
.ico--on-dark {
    color: var(--w);
}
.ico--on-accent {
    color: var(--b);
}
.tod-lbl,
.tod-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tod-refresh {
    padding: 6px;
}
.mp-controls .ico {
    width: 18px;
    height: 18px;
}
.mp-controls .mp-play .ico {
    width: 22px;
    height: 22px;
}
.chat-head button {
    background: none;
    border: none;
    padding: 0;
    display: flex;
}
.btn-prim--block {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}
.btn-prim .ico {
    margin-right: 4px;
}
.social-btn .ico {
    width: 16px;
    height: 16px;
}
.toast-icon {
    display: flex;
    align-items: center;
}
.toast-close,
.tod-popup-close,
.modal-close,
.mega-close {
    background: none;
    border: none;
    padding: 4px;
    display: flex;
    cursor: pointer;
    color: inherit;
}
.mega-close {
    margin-left: auto;
    margin-bottom: 12px;
}
.contact-info-item .ico {
    flex-shrink: 0;
    margin-top: 2px;
}
.page-hero__meta {
    margin-top: 14px;
    opacity: 0.75;
}

/* ============================
   MAGAZINE FRONT (Monocle-style)
============================ */
.magazine-front {
    display: grid;
    grid-template-columns: 1.35fr 1fr 300px;
    gap: 1px;
    background: var(--gb);
    border-bottom: 1px solid var(--gb);
}
.magazine-front__main,
.magazine-front__middle,
.magazine-front__aside {
    background: var(--w);
}
.magazine-front__middle {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--gb);
    border-right: 1px solid var(--gb);
}
.lead-story {
    padding: 28px 32px 32px;
}
.lead-story__link {
    color: inherit;
    text-decoration: none;
    display: block;
}
.lead-story__cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 12px;
}
.lead-story__title {
    font-family: var(--font-title);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
}
.lead-story__excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-soft);
    margin-bottom: 14px;
    max-width: 52ch;
}
.lead-story__meta {
    margin-bottom: 18px;
}
.lead-story__img {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--gl);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.lead-story__img-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 10px;
}
.story-compact {
    flex: 1;
    border-bottom: 1px solid var(--gb);
}
.story-compact:last-child {
    border-bottom: none;
}
.story-compact__link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.story-compact__img {
    min-height: 100%;
    background: var(--gl);
}
.story-compact__body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.story-compact__cat {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 8px;
}
.story-compact__title {
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.magazine-front__aside {
    display: flex;
    flex-direction: column;
}
.aside-panel {
    background: var(--panel-dark);
    color: var(--w);
    padding: 24px 22px;
    flex: 1;
}
.aside-panel__title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}
.aside-panel__sub {
    font-size: 11px;
    color: var(--panel-dark-muted);
    margin-bottom: 20px;
    letter-spacing: 0.06em;
}
.aside-panel__quote-text {
    font-family: var(--font-title);
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 8px;
}
.aside-panel__quote-author {
    font-size: 11px;
    color: var(--panel-dark-muted);
}
.aside-panel__refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 16px 0;
    background: none;
    border: none;
    color: #ccc;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}
.aside-panel__refresh:hover {
    color: var(--w);
}
.aside-panel--tools {
    background: var(--w);
    color: var(--b);
    border-top: 1px solid var(--gb);
    flex: 0;
}
.aside-panel__tools-title {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 12px;
    font-weight: 700;
}
.aside-tools-list li {
    margin-bottom: 8px;
}
.aside-tools-list a {
    font-size: 13px;
    color: var(--b);
    text-decoration: none;
    border-bottom: 1px solid var(--gb);
    display: block;
    padding-bottom: 8px;
}
.aside-tools-list a:hover {
    color: var(--gm);
}
.section--bordered {
    border-top: 1px solid var(--gb);
}
.thought-feature {
    background: var(--y);
    padding: 28px;
    margin-bottom: 32px;
    position: relative;
}
.thought-feature__text {
    font-family: var(--font-title);
    font-size: 18px;
    font-style: italic;
    line-height: 1.5;
}
.thought-feature__author {
    font-size: 12px;
    margin-top: 8px;
    color: #444;
}
.footer-btm__alias {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--footer-text);
    opacity: 0.48;
}
.footer-btm__alias__text::after {
    content: "_";
    margin-left: 1px;
    opacity: 0.65;
    animation: footer-terminal-cursor 1.05s step-end infinite;
}
@keyframes footer-terminal-cursor {
    0%,
    55% {
        opacity: 0.65;
    }
    56%,
    100% {
        opacity: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer-btm__alias__text::after {
        animation: none;
        opacity: 0.35;
    }
}
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 1px;
    background: var(--gl);
    border: 1px solid var(--gb);
    padding: 2px;
}
.theme-switcher__btn {
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gm);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--trans);
}
.theme-switcher__btn:hover {
    color: var(--b);
}
.theme-switcher__btn.is-active {
    background: var(--y);
    color: var(--b);
}
.community-page {
    padding-bottom: 48px;
}
.community-hero {
    padding: 8px 0 32px;
    margin-bottom: 36px;
    border-bottom: 2px solid var(--b);
}
.community-hero__live {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--gb);
    margin-bottom: 14px;
}
.community-hero__title {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 12px;
    max-width: 18ch;
}
.community-hero__sub {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-soft);
    margin: 0 0 8px;
    max-width: 52ch;
}
.community-hero__proof {
    font-size: 12px;
    color: var(--gm);
    margin: 0 0 24px;
}
.community-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.community-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.community-stat__value {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}
.community-stat__label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gm);
}
.community-section-head {
    margin-bottom: 20px;
}
.community-section-head h2 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.community-section-head p {
    font-size: 14px;
    color: var(--text-soft);
    margin: 0;
    max-width: 50ch;
    line-height: 1.55;
}
.community-social {
    margin-bottom: 40px;
}
.community-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.community-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    transition:
        transform var(--trans),
        box-shadow var(--trans);
}
.community-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--retro-shadow-hover);
}
.community-card--linkedin {
    border-color: color-mix(in srgb, #0a66c2 40%, var(--gb));
}
.community-card__avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid var(--b);
    background: var(--gl);
}
.community-card--linkedin .community-card__avatar {
    background: #0a66c2;
    color: var(--w);
    border-color: #0a66c2;
}
.community-card__avatar--profile .ico,
.community-card__avatar--mail .ico,
.community-card__avatar--mix .ico {
    width: 20px;
    height: 20px;
}
.community-card__body {
    min-width: 0;
    flex: 1;
}
.community-card__body h3 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.community-card__body p {
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0 0 12px;
}
.community-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--b);
}
.community-card__cta .ico {
    width: 12px;
    height: 12px;
}
.community-card__cta--ghost {
    color: var(--gm);
}
.community-audience {
    margin-bottom: 40px;
}
.community-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.community-audience-card {
    padding: 22px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
}
.community-audience-card--edu {
    background: color-mix(in srgb, var(--y) 14%, var(--w));
}
.community-audience-card__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.community-audience-card h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.community-audience-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-soft);
    margin: 0 0 12px;
}
.community-audience-card__list {
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--gm);
}
.community-audience-card__link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--b);
    text-decoration: none;
}
.community-newsletter {
    padding: 32px 28px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: color-mix(in srgb, var(--w) 94%, var(--y));
}
.community-newsletter__cadence {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 8px;
}
.community-newsletter__intro h2 {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.15;
}
.community-newsletter__tagline {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-soft);
    margin: 0 0 28px;
    max-width: 58ch;
}
.community-why {
    margin-bottom: 28px;
}
.community-why h3,
.community-segments h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.community-why__intro {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-soft);
    margin: 0 0 16px;
    max-width: 58ch;
}
.community-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.community-why-card {
    padding: 16px;
    border: 1px solid var(--gb);
    background: var(--w);
}
.community-why-card h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px;
}
.community-why-card p {
    font-size: 12px;
    line-height: 1.55;
    color: var(--gm);
    margin: 0;
}
.community-segments {
    margin-bottom: 24px;
}
.community-segments__sub {
    font-size: 13px;
    color: var(--gm);
    margin: 0 0 14px;
}
.community-segments-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.community-segment {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border: 1px solid var(--gb);
    background: var(--w);
}
.community-segment__num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--y);
    background: var(--b);
    padding: 6px;
    text-align: center;
}
.community-segment h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px;
}
.community-segment p {
    font-size: 12px;
    line-height: 1.55;
    color: var(--gm);
    margin: 0;
}
.community-sample {
    padding: 16px 18px;
    margin-bottom: 24px;
    border-left: 4px solid var(--y);
    background: var(--w);
}
.community-sample__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gm);
    margin-bottom: 6px;
}
.community-sample__subject {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}
.community-enroll {
    padding: 20px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
}
.community-enroll__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.community-enroll__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.community-enroll__row .form-control {
    flex: 1;
    min-width: 200px;
}
.community-enroll__fine {
    margin: 12px 0 0;
    font-size: 11px;
    color: var(--gm);
    line-height: 1.5;
}
@media (max-width: 700px) {
    .community-audience-grid {
        grid-template-columns: 1fr;
    }
    .community-enroll__row {
        flex-direction: column;
    }
    .community-enroll__row .btn-prim {
        width: 100%;
    }
}
.sitemap-heading {
    font-family: var(--font-title);
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}
@media (max-width: 900px) {
    .magazine-front {
        grid-template-columns: 1fr 1fr;
    }
    .magazine-front__aside {
        grid-column: 1/-1;
    }
    .story-compact__link {
        grid-template-columns: 120px 1fr;
    }
}
@media (max-width: 600px) {
    .story-compact__link {
        grid-template-columns: 1fr;
    }
    .story-compact__img {
        aspect-ratio: 16/9;
    }
    .lead-story {
        padding: 24px 20px;
    }
}

/* ============================
   CATEGORY PAGES (no hero)
============================ */
.cat-page-wrap {
    padding-top: 20px;
    padding-bottom: 48px;
    scroll-margin-top: calc(
        var(--site-sticky-offset, 120px) + var(--main-scroll-buffer, 4px)
    );
}
.cat-page-wrap > .breadcrumb {
    margin-bottom: 14px;
}
.cat-page-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 20px;
}
.cat-page-hero:has(.cat-collab) {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid var(--gb);
}
.cat-page-hero:has(.cat-collab) + .cat-hub .cat-hub-tabs,
.cat-page-wrap:has(.cat-collab) .cat-hub > .cat-hub-tabs:first-child {
    margin-top: 0;
    padding-top: 16px;
}
.cat-page-intro {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
    align-self: flex-start;
    padding-bottom: 16px;
}
.cat-page-hero:has(.cat-collab) .cat-page-intro {
    padding-bottom: 16px;
}
.cat-page-intro--compact {
    margin-top: 0;
    margin-bottom: 22px;
}
.cat-page-intro__title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 6px;
}
.cat-page-intro__sub {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.55;
    max-width: 52ch;
    margin: 0;
}
.cat-collab {
    flex-shrink: 0;
    align-self: flex-end;
    width: min(340px, 44%);
    max-width: 100%;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
}
.cat-collab:empty {
    display: none;
}
.cat-collab__inner {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.cat-collab__avatar {
    flex-shrink: 0;
    width: 56px;
    min-height: 76px;
    display: block;
    object-fit: cover;
    object-position: center top;
}
.cat-collab__avatar--placeholder {
    background: color-mix(in srgb, var(--cat-color) 28%, var(--gl));
    border-right: 1.5px solid var(--gb);
}
.cat-collab__body {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 8px 10px 8px 0;
}
.cat-collab__label {
    margin: 0 0 2px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gm);
    line-height: 1.25;
}
.cat-collab__name {
    margin: 0 0 4px;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cat-color);
}
.cat-collab__tagline {
    margin: 0 0 6px;
    font-size: 10px;
    line-height: 1.35;
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.cat-collab__links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.cat-collab__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--b);
    border: 1.5px solid var(--gb);
    background: var(--gl);
    transition: var(--trans);
}
.cat-collab__link .ico {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}
.cat-collab__link:hover {
    border-color: var(--cat-color);
    color: var(--cat-color);
    background: var(--w);
}
.lms-topbar__collab {
    display: block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}
@media (max-width: 720px) {
    .cat-page-hero {
        flex-direction: column;
        align-items: stretch;
    }
    .cat-collab {
        width: 100%;
        max-width: none;
        align-self: stretch;
    }
    .cat-page-intro {
        align-self: stretch;
    }
}

/* ============================
   CATEGORY HUB
============================ */
.cat-hub {
    margin-top: 0;
}
.cat-hub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gb);
}
.cat-hub-tabs__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1.5px solid var(--gb);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gm);
    transition: var(--trans);
}
.cat-hub-tabs__item .ico {
    width: 14px;
    height: 14px;
}
.cat-hub-tabs__item:hover {
    border-color: var(--cat-color);
    color: var(--cat-color);
}
.cat-hub-tabs__item.active {
    background: color-mix(in srgb, var(--cat-color) 14%, var(--w));
    border-color: var(--cat-color);
    color: var(--cat-color);
}
.cat-hub__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.cat-hub-card {
    display: flex;
    flex-direction: column;
    min-height: 200px;
    padding: 22px 22px 18px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    text-decoration: none;
    color: inherit;
    transition:
        transform var(--trans),
        box-shadow var(--trans),
        border-color var(--trans);
    position: relative;
    overflow: hidden;
}
.cat-hub-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cat-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.cat-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--retro-shadow-hover);
    border-color: var(--cat-color);
}
.cat-hub-card:hover::before {
    transform: scaleX(1);
}
.cat-hub-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gb);
    margin-bottom: 14px;
    background: color-mix(in srgb, var(--cat-color) 10%, var(--w));
}
.cat-hub-card__icon .ico {
    width: 22px;
    height: 22px;
    color: var(--cat-color);
}
.cat-hub-card__title {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.15;
}
.cat-hub-card__tagline {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.55;
    flex: 1;
}
.cat-hub-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--gb);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gm);
}
.cat-hub-card__arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--trans);
}
.cat-hub-card:hover .cat-hub-card__arrow {
    transform: translateX(4px);
}
.cat-hub-preview {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 2px solid var(--b);
}
.cat-hub-preview__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.cat-hub-preview__head h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
}
.cat-hub-preview__head a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cat-color);
}
.cat-hub-preview__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cat-hub-preview__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gb);
    text-decoration: none;
    color: inherit;
    transition: var(--trans);
}
.cat-hub-preview__item:hover {
    padding-left: 8px;
}
.cat-hub-preview__thumb {
    display: block;
    aspect-ratio: 4/3;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
}
.cat-hub-preview__title {
    display: block;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}
.cat-hub-empty {
    color: var(--gm);
    font-size: 14px;
    padding: 24px 0;
}
.lms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.lms-card {
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    padding: 22px;
    background: var(--w);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition:
        box-shadow var(--trans),
        transform var(--trans);
}
.lms-card:hover {
    box-shadow: var(--retro-shadow-hover);
    transform: translateY(-3px);
}
.lms-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.lms-card__level {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 8px;
    background: color-mix(in srgb, var(--cat-color) 15%, var(--w));
    color: var(--cat-color);
}
.lms-card__duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--gm);
}
.lms-card__duration .ico {
    width: 12px;
    height: 12px;
}
.lms-card__title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    line-height: 1.25;
}
.lms-card__title a {
    color: inherit;
    text-decoration: none;
}
.lms-card__title a:hover {
    color: var(--cat-color);
}
.lms-card__summary {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
    flex: 1;
}
.lms-card__progress {
    height: 4px;
    background: var(--gl);
    border-radius: 2px;
    overflow: hidden;
}
.lms-card__progress span {
    display: block;
    height: 100%;
    background: var(--cat-color);
    border-radius: 2px;
}
.lms-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--gm);
    margin-top: 4px;
}
.lms-card__cta {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cat-color);
    font-size: 10px;
}
.roadmap-panel {
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    padding: 28px;
    background: var(--w);
}
.roadmap-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gb);
}
.roadmap-panel__title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
}
.roadmap-panel__sub {
    font-size: 13px;
    color: var(--gm);
    margin-top: 4px;
}
.roadmap-panel__ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    background: conic-gradient(
        var(--cat-color) calc(var(--progress) * 1%),
        var(--gl) 0
    );
    position: relative;
}
.roadmap-panel__ring::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--w);
}
.roadmap-panel__ring span {
    position: relative;
    z-index: 1;
}
.roadmap-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.roadmap-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gb);
}
.roadmap-step:last-child {
    border-bottom: none;
}
.roadmap-step__marker {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gb);
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gm);
}
.roadmap-step--done .roadmap-step__marker {
    background: var(--cat-color);
    border-color: var(--cat-color);
    color: var(--w);
}
.roadmap-step--done .roadmap-step__marker .ico {
    width: 20px;
    height: 20px;
}
.roadmap-step__body h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.roadmap-step__body p {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.tool-card {
    display: grid;
    grid-template-columns: 48px 1fr 20px;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    text-decoration: none;
    color: inherit;
    transition:
        transform var(--trans),
        box-shadow var(--trans),
        border-color var(--trans);
}
.tool-card:hover {
    transform: translateY(-3px);
    border-color: var(--cat-color);
    box-shadow: var(--retro-shadow-hover);
}
.tool-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--cat-color) 12%, var(--w));
}
.tool-card__icon .ico {
    width: 22px;
    height: 22px;
    color: var(--cat-color);
}
.tool-card__tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cat-color);
    margin-bottom: 4px;
}
.tool-card__name {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.tool-card__desc {
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.5;
}
.tool-card__arrow {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    color: var(--gm);
}
.roadmap-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.roadmap-card {
    display: flex;
    flex-direction: column;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow);
    background: var(--w);
    text-decoration: none;
    color: inherit;
    transition:
        transform var(--trans),
        box-shadow var(--trans),
        border-color var(--trans);
    overflow: hidden;
}
.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--retro-shadow-hover);
    border-color: var(--cat-color);
}
.roadmap-card__thumb {
    position: relative;
    aspect-ratio: 16/7;
    border-bottom: 1px solid var(--gb);
}
.roadmap-card__level {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 9px;
    background: var(--w);
    border: 1px solid var(--b);
}
.roadmap-card__body {
    padding: 18px 18px 12px;
    flex: 1;
}
.roadmap-card__title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}
.roadmap-card__summary {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.55;
}
.roadmap-card__meta {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--gm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.roadmap-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid var(--gb);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cat-color);
}
.roadmap-card__cta .ico {
    width: 16px;
    height: 16px;
}

/* ============================
   LMS COURSE PLAYER
============================ */
.lms-body {
    margin: 0;
    overflow: hidden;
    background: var(--b);
}
.lms-app {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    background: var(--gl);
    color: var(--b);
}
.lms-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--b);
    color: var(--w);
    border-bottom: 3px solid var(--cat-color);
    flex-shrink: 0;
}
.lms-topbar__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--y);
    white-space: nowrap;
}
.lms-topbar__back .ico {
    width: 14px;
    height: 14px;
}
.lms-topbar__center {
    min-width: 0;
}
.lms-topbar__cat {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2px;
}
.lms-topbar__title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lms-topbar__progress {
    min-width: 140px;
    text-align: right;
}
.lms-topbar__progress-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #aaa;
    margin-bottom: 5px;
}
.lms-topbar__progress-bar {
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}
.lms-topbar__progress-bar span {
    display: block;
    height: 100%;
    background: var(--cat-color);
    border-radius: 2px;
}
.lms-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    flex: 1;
    min-height: 0;
}
.lms-sidebar {
    background: var(--w);
    border-right: 1px solid var(--gb);
    overflow-y: auto;
    padding: 16px 0;
}
.lms-sidebar__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 14px;
    border-bottom: 1px solid var(--gb);
    margin-bottom: 8px;
}
.lms-sidebar__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.lms-sidebar__count {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--gm);
}
.lms-sidebar__section {
    padding: 8px 0;
}
.lms-sidebar__section-title {
    padding: 8px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gm);
}
.lms-sidebar__lessons {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lms-lesson-link {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--b);
    border-left: 3px solid transparent;
    transition: var(--trans);
}
.lms-lesson-link:hover {
    background: var(--gl);
}
.lms-lesson-link.is-active {
    background: color-mix(in srgb, var(--cat-color) 12%, var(--w));
    border-left-color: var(--cat-color);
}
.lms-lesson-link__icon .ico {
    width: 16px;
    height: 16px;
    color: var(--gm);
}
.lms-lesson-link.is-active .lms-lesson-link__icon .ico {
    color: var(--cat-color);
}
.lms-lesson-link__title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}
.lms-lesson-link__duration {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--gm);
    margin-top: 2px;
}
.lms-lesson-link__badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 6px;
    border: 1px solid var(--gb);
    color: var(--gm);
}
.lms-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--w);
}
.lms-player {
    flex-shrink: 0;
    background: #111;
}
.lms-player__screen {
    aspect-ratio: 16/9;
    max-height: 42vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #888;
}
.lms-player__screen--article {
    background: color-mix(in srgb, var(--cat-color) 25%, #111);
}
.lms-player__screen--article .ico {
    width: 40px;
    height: 40px;
    color: var(--y);
}
.lms-player__play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--y);
    color: var(--b);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform var(--trans);
}
.lms-player__play:hover {
    transform: scale(1.06);
}
.lms-player__play .ico {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}
.lms-player__placeholder {
    font-size: 12px;
    letter-spacing: 0.04em;
}
.lms-lesson-panel {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px 32px;
}
.lms-lesson-panel__index {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--gm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.lms-lesson-panel__title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 6px 0 18px;
    line-height: 1.2;
}
.lms-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--gb);
    margin-bottom: 20px;
}
.lms-tabs__btn {
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: transparent;
    border: none;
    color: var(--gm);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.lms-tabs__btn.is-active {
    color: var(--b);
    border-bottom-color: var(--cat-color);
}
.lms-lesson-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-soft);
    max-width: 68ch;
}
.lms-lesson-content p {
    margin-bottom: 14px;
}
.lms-lesson-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gb);
}
.lms-lesson-nav__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--b);
    max-width: 45%;
}
.lms-lesson-nav__btn .ico {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.lms-lesson-nav__btn--next {
    margin-left: auto;
    text-align: right;
    color: var(--cat-color);
}
@media (max-width: 900px) {
    .lms-layout {
        grid-template-columns: 1fr;
    }
    .lms-sidebar {
        max-height: 220px;
        border-right: none;
        border-bottom: 1px solid var(--gb);
    }
    .lms-topbar {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .lms-topbar__progress {
        text-align: left;
    }
}
@media (max-width: 700px) {
    .cat-hub__grid {
        grid-template-columns: 1fr;
    }
    .cat-hub-preview__item {
        grid-template-columns: 1fr;
    }
    .roadmap-cards {
        grid-template-columns: 1fr;
    }
}
