* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

:root {
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.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;
}

.topmast {
    background-color: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 150;
    box-shadow: 0 2px 4px var(--shadow-heavy);
    border-bottom: 1px solid var(--border-light);
}

.topmast__shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.topmast__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.rail-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.rail-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-contrast);
    transition: 0.3s;
}

.brandmark {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
}

.brandmark h1 {
    font-size: inherit;
    margin: 0;
}

.brandmark a {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.topnav {
    flex: 1;
    margin: 0 30px;
}

.topnav__items {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
}

.topnav__items a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.topnav__items a:hover {
    color: var(--primary);
}

.topnav__items a.active {
    color: var(--primary);
    position: relative;
}

.topnav__items a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
    border-radius: 1px;
}

.popwrap {
    position: relative;
}

.popwrap .caret {
    font-size: 10px;
    margin-left: 5px;
}

.popover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    box-shadow: 0 4px 6px var(--shadow-heavy);
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    min-width: 400px;
    border: 1px solid var(--border-light);
    z-index: 10;
}

.popwrap:hover .popover {
    opacity: 1;
    visibility: visible;
}

.popover__tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.popover__tiles a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 5px 10px;
    transition: 0.3s;
    white-space: nowrap;
}

.popover__tiles a:hover {
    background-color: var(--primary-alpha-20);
    color: var(--primary);
    border-radius: 4px;
}

.finder {
    display: flex;
    background-color: var(--border-light);
    width: 250px;
    border: 1px solid var(--border-medium);
    position: relative;
}

.finder form {
    display: flex;
    width: 100%;
}

.finder input {
    flex: 1;
    border: none;
    padding: 8px 15px;
    background: none;
    outline: none;
    color: var(--text-contrast);
}

.finder input::placeholder {
    color: var(--text-muted);
}

.finder button {
    background: none;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: var(--text-contrast);
}

.finder__lens {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    color: var(--text-contrast);
}

.finder--stack {
    display: none;
    padding: 10px 0;
    max-height: 0;
    overflow: visible;
    transition: max-height 0.3s ease;
    position: relative;
}

.finder--stack.active {
    max-height: 60px;
    display: block;
}

.finder--stack input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-medium);
    background-color: var(--border-light);
    outline: none;
    color: var(--text-contrast);
}

.finder--stack input::placeholder {
    color: var(--text-muted);
}

.finder--stack button {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-contrast);
}

.scrim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.scrim.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 201;
    transition: 0.3s;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.drawer__cap {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.drawer__cap .brandmark {
    margin-bottom: 15px;
    display: flex;
}

.drawer__shut {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-contrast);
    font-size: 28px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.drawer__shut:hover {
    color: var(--primary);
}

.drawer__finder {
    background-color: var(--border-light);
    border: 1px solid var(--border-medium);
    position: relative;
}

.drawer__finder form {
    display: flex;
    align-items: center;
    width: 100%;
}

.drawer__finder input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    background: none;
    outline: none;
    color: var(--text-contrast);
    min-width: 0;
}

.drawer__finder input::placeholder {
    color: var(--text-muted);
}

.drawer__finder button {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: var(--text-contrast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drawer__menu ul {
    list-style: none;
}

.drawer__menu>ul>li>a {
    display: block;
    padding: 15px 20px;
    color: var(--text-contrast);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: 0.3s;
}

.drawer__menu>ul>li>a:hover {
    background-color: var(--primary-alpha-20);
    color: var(--primary);
}

.drawer__menu>ul>li>a.active {
    background-color: var(--primary);
    color: var(--text-contrast);
    border-left: 4px solid var(--primary-dark);
}

.drawer__more .popover__trigger {
    position: relative;
}

.drawer__more .caret {
    position: absolute;
    right: 20px;
    transition: 0.3s;
}

.drawer__more .popover__trigger.active .caret {
    transform: rotate(180deg);
}

.drawer__submenu {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    background-color: var(--bg-dropdown);
}

.drawer__submenu.active {
    max-height: 448px;
    overflow-y: auto;
}

.drawer__submenu li a {
    display: block;
    padding: 10px 20px 10px 40px;
    color: var(--text-contrast);
    text-decoration: none;
    transition: 0.3s;
}

.drawer__submenu li a:hover {
    background-color: var(--primary-alpha-20);
    color: var(--primary);
}

.pageframe {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: calc(100vh - 300px);
}

.bannerline {
    margin-bottom: 25px;
}

.bannerline h2 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    position: relative;
}

.bannerline h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.genreblurb {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px 20px;
    color: var(--text-secondary);
    margin: 12px 0 25px;
    line-height: 1.6;
}

.genreblurb p,
.genreblurb div {
    margin-bottom: 10px;
}

.genreblurb h3,
.genreblurb h4,
.genreblurb h5 {
    color: var(--primary);
    margin-top: 16px;
    margin-bottom: 0;
}

.genreblurb img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.playdeck__facts {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.factline {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.factline__label {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    min-width: 80px;
    padding-top: 8px;
}

.factline__values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.genrepill {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-contrast);
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
}

.genrepill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-dark);
    filter: brightness(1.1);
}

.tagline {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tagpill {
    background-color: var(--bg-surface);
    color: var(--text-contrast);
    border: 1px solid var(--border-medium);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
}

.tagpill:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tagpill.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

.timespan {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.clipwall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.clipunit {
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.clipunit:hover {
    transform: translateY(-5px);
}

.clipunit__still {
    position: relative;
    width: 100%;
    aspect-ratio: var(--thumb-aspect-ratio, 16/9);
    overflow: hidden;
    margin-bottom: 10px;
}

.clipunit__still img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clipunit__flag {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 75px;
    height: 75px;
    overflow: hidden;
}

.clipunit__flag span {
    position: absolute;
    display: block;
    width: 100px;
    background-color: var(--primary);
    box-shadow: 0 2px 4px var(--shadow-dark);
    color: var(--text-contrast);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    transform: rotate(45deg);
    top: 15px;
    right: -30px;
}

.clipunit__flag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    z-index: -1;
    border-left: 3px solid var(--primary-dark);
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--primary-dark);
}

.clipunit__flag::after {
    content: '';
    position: absolute;
    right: 0;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid var(--primary-dark);
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--primary-dark);
}

.clipunit__name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2lh;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.pager__step {
    background-color: var(--primary);
    color: var(--text-contrast);
    border: none;
    padding: 8px 12px;
    min-width: 35px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.pager__step:hover {
    background-color: var(--primary-dark);
    color: var(--text-contrast);
}

.pager__step.active {
    background-color: var(--primary-dark);
    color: var(--text-contrast);
}

.pager__gap {
    padding: 0 10px;
    color: var(--text-secondary);
}

.colophon {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 30px 0 20px;
}

.colophon__shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.colophon__links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}

.colophon__links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.3s;
    margin-right: 12px;
}

.colophon__links a:hover {
    color: var(--primary);
}

.colophon__base {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    gap: 10px;
}

.colophon__base .brandmark {
    font-size: 20px;
    display: flex;
}

.copyright {
    font-size: 14px;
    color: var(--text-faded);
}

.ascendbtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-contrast);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: 0.3s;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.ascendbtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ascendbtn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px var(--shadow-medium);
}

.playdeck {
    margin-bottom: 30px;
}

.playdeck__stage {
    position: relative;
    aspect-ratio: var(--thumb-aspect-ratio, 16/9);
    background-color: var(--text-dark);
    overflow: hidden;
    max-width: 900px;
    margin: 20px auto;
}

.playdeck__stage #artplayer-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.playdeck__stage .art-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.playdeck__stage .art-video-player .art-video {
    width: 100%;
    height: 100%;
}

.playdeck__void {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-contrast);
    font-size: 15px;
    text-align: center;
    padding: 20px;
}

.playdeck__console {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feedbar {
    display: flex;
    gap: 10px;
}

.server-btn {
    background-color: var(--bg-surface);
    color: var(--text-contrast);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.server-btn:hover {
    background-color: var(--primary);
}

.server-btn.active {
    background-color: var(--primary);
}

.playdeck__stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.likeknob,
.viewknob {
    background-color: var(--bg-surface);
    color: var(--text-contrast);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.likeknob:hover,
.viewknob:hover {
    background-color: var(--primary);
}

.likeknob.active,
.likeknob.liked {
    background-color: var(--primary);
    color: var(--text-contrast);
}

.likeknob.active svg,
.likeknob.liked svg {
    fill: var(--text-contrast);
}

.viewknob {
    cursor: default;
}

.playdeck__synopsis {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 14px;
}

.playdeck__synopsis p {
    margin: 0;
}

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

.playdeck__synopsis a:hover {
    text-decoration: underline;
}

.morezone {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.morezone__btn {
    background-color: var(--primary);
    color: var(--text-contrast);
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.morezone__btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .topmast__bar {
        position: relative;
    }

    .rail-toggle {
        display: flex;
    }

    .topmast__bar .brandmark {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .topnav,
    .finder {
        display: none;
    }

    .finder__lens {
        display: block;
    }

    .finder--stack {
        display: none;
        position: relative;
    }

    .clipwall {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clipwall {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .popover__tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .pageframe {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .tagline {
        justify-content: center;
    }

    .tagpill {
        font-size: 12px;
        padding: 6px 12px;
    }

    .pager {
        flex-wrap: wrap;
    }

    .colophon__links {
        gap: 15px;
        font-size: 14px;
    }

    .colophon__base {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.hints {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.hints.active {
    display: block;
}

.hints__row {
    padding: 10px 15px;
    cursor: pointer;
    color: var(--text-contrast);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.hints__row:hover,
.hints__row.selected {
    background-color: var(--primary-alpha-20);
}

.hints__row svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.hints {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-surface);
}

.hints::-webkit-scrollbar {
    width: 6px;
}

.hints::-webkit-scrollbar-track {
    background: var(--bg-surface);
}

.hints::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.hints::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.fv-header-banner,
.fv-footer-banner,
.fv-square-banner {
    display: block;
    text-align: center;
    margin: 20px auto;
    max-width: 100%;
    overflow: hidden;
    z-index: 100;
}

.fv-header-banner img,
.fv-footer-banner img,
.fv-square-banner img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.charter {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.charter__sheet {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    padding: 40px;
    line-height: 1.7;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.charter__sheet h1 {
    margin-bottom: 25px;
    font-size: 2.2rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.charter__sheet h2 {
    margin: 30px 0 15px;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.charter__sheet p {
    margin-bottom: 15px;
    color: var(--text-faded);
}

.charter__sheet ul,
.charter__sheet ol {
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--text-faded);
}

.charter__sheet li {
    margin-bottom: 8px;
}

.charter__sheet a {
    color: var(--primary);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.charter__sheet a:hover {
    opacity: 0.8;
}

.charter__form {
    display: grid;
    gap: 15px;
    max-width: 680px;
    margin: 0 auto;
}

.charter__form label {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 5px;
}

.charter__form input:not([type=checkbox]),
.charter__form select,
.charter__form textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.charter__form input:not([type=checkbox]):focus,
.charter__form select:focus,
.charter__form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.charter__form input[type=checkbox] {
    margin-right: 8px;
    accent-color: var(--primary);
}

.charter__form textarea {
    min-height: 140px;
    resize: vertical;
}

.charter__form button {
    width: fit-content;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--text-contrast);
    border: 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.charter__form button:hover {
    background: var(--primary-light);
}

.charter__ack {
    min-height: 1.5em;
    color: var(--primary);
    font-weight: 600;
}

.charter__ledger {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid var(--border-medium);
}

.charter__ledger th,
.charter__ledger td {
    padding: 12px 15px;
    border: 1px solid var(--border-medium);
    text-align: left;
}

.charter__ledger th {
    background-color: var(--overlay-white-05);
    font-weight: 600;
    color: var(--text-primary);
}

.charter__ledger tbody tr:nth-child(even) {
    background-color: var(--overlay-white-02);
}

.charter__tally {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.charter__tally span {
    padding: 15px;
    background: var(--overlay-white-05);
    border: 1px solid var(--border-light);
    text-align: center;
}

.charter__tally b {
    display: block;
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: 5px;
}

.charter__form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: var(--select-indicator);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 42px;
}

@media(max-width:768px) {
    .charter__tally {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .charter__sheet {
        padding: 20px;
    }
    .charter__tally {
        grid-template-columns: 1fr;
    }
}

.notfound {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.notfound > section {
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.notfound .brandmark {
    display: inline-block;
    margin-bottom: 3rem;
}

.notfound .brandmark img {
    max-height: 60px;
}

.notfound .brandmark h1 {
    color: var(--primary);
    font-size: 28px;
    margin: 0;
}

.notfound > section > h1 {
    font-size: clamp(4rem, 12vw, 6rem);
    font-weight: bold;
    color: var(--text-contrast);
    margin: 0 0 1rem 0;
    line-height: 1;
    animation: pulse-404 2s ease-in-out infinite;
}

.notfound > section > h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text-contrast);
}

.notfound > section > p {
    color: var(--text-faded);
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 2rem;
    line-height: 1.6;
}

@keyframes pulse-404 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.age-gate {
    background: var(--age-gate-bg) !important;
}

.age-gate__content {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-medium) !important;
    border-radius: 0px !important;
    box-shadow: 0 10px 25px var(--shadow-heavy) !important;
}

.age-gate__badge {
    text-align: center !important;
    line-height: 1 !important;
display: inline-flex !important; align-items: center !important; justify-content: center !important; 
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: var(--primary-alpha-10) !important;
    border-radius: 0px !important;
    text-shadow: 0 0 8px var(--primary-alpha-40) !important;
    font-weight: 700 !important;
}

.age-gate__title {
    color: var(--text-contrast) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

.age-gate__desc {
    color: var(--text-faded) !important;
    font-size: 0.9rem !important;
}

.age-gate__btn {
    background: var(--primary) !important;
    color: var(--text-contrast) !important;
    border: none !important;
    border-radius: 0px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px var(--primary-alpha-35) !important;
    transition: background-color 0.2s ease !important;
}

.age-gate__btn:hover {
    background: var(--primary-light) !important;
    box-shadow: 0 6px 20px var(--primary-alpha-50) !important;
}

.age-gate__btn:active {
    background: var(--primary-dark) !important;
}
