:root {
    --bg: #010202;
    --paper: #f5f2ea;
    --cyan: #09d7ea;
    --coral: #ff5549;
    --pink: #ff2d88;
    --line: rgba(255,255,255,.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--paper); }
html { color-scheme: dark; }
body {
    min-height: 100svh;
    overflow: hidden;
    overscroll-behavior: none;
    font-family: "Bruno Ace SC", system-ui, sans-serif;
    background: #010202;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}
button, input { font: inherit; }
button { color: inherit; }

.black-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(5,23,26,.28), transparent 38%),
        linear-gradient(180deg, #010202 0%, #000 100%);
}

.video-depth {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.video-depth--back { z-index: 1; }
.video-depth--front {
    z-index: 9;
    opacity: .22;
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(to top, #000 0%, #000 33%, rgba(0,0,0,.56) 54%, transparent 78%);
    mask-image: linear-gradient(to top, #000 0%, #000 33%, rgba(0,0,0,.56) 54%, transparent 78%);
}
.smoke-video {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    mix-blend-mode: screen;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.smoke-video--back {
    opacity: .64;
    filter: brightness(.88) contrast(1.16) saturate(.78);
    transform: scale(1.04) translateZ(0);
}
.smoke-video--front {
    opacity: .78;
    filter: blur(1.8px) brightness(.92) contrast(1.08) saturate(.68);
    transform: scale(1.22) translate3d(0, 6%, 0);
}

.depth-light {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 45% 42%, rgba(9,215,234,.075), transparent 27%),
        radial-gradient(circle at 63% 47%, rgba(255,85,73,.045), transparent 24%);
    filter: blur(14px);
}
.edge-vignette {
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    box-shadow: inset 0 0 16vw 5vw rgba(0,0,0,.74);
}
.grain {
    position: fixed;
    inset: -35%;
    z-index: 11;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
    animation: grainShift .7s steps(2,end) infinite;
}

.portal { position: relative; z-index: 5; min-height: 100svh; }
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: max(18px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
    perspective: 1500px;
    isolation: isolate;
}
.hero__depth {
    position: relative;
    width: min(67vw, 670px);
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
}
.hero__shadow {
    position: absolute;
    inset: 24% 16% 8%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(7,219,235,.14), transparent 47%),
        radial-gradient(circle at 68% 43%, rgba(255,85,73,.08), transparent 36%);
    filter: blur(38px);
    transform: translateZ(-100px) scale(.92);
}
.emblem-shell {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    filter: drop-shadow(0 30px 42px rgba(0,0,0,.58));
    animation: emblemFloat 8.8s cubic-bezier(.42,0,.58,1) infinite;
    will-change: transform;
    backface-visibility: hidden;
}
.emblem {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    transform: translateZ(54px);
}
.emblem-echo {
    position: absolute;
    inset: 0;
    background: url("../img/nxv-emblem.png") center/contain no-repeat;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}
.emblem-echo--cyan { filter: drop-shadow(-5px 0 0 rgba(9,215,234,.72)); }
.emblem-echo--coral { filter: drop-shadow(5px 0 0 rgba(255,85,73,.58)); }
.emblem-shell.is-glitching .emblem-echo--cyan { animation: emblemGlitchA .18s steps(2,end) 1; }
.emblem-shell.is-glitching .emblem-echo--coral { animation: emblemGlitchB .18s steps(2,end) 1; }

.brand-block {
    position: relative;
    z-index: 6;
    margin-top: clamp(-20px,-1.4vw,-8px);
    text-align: center;
    transform: translateZ(24px);
}
.brand {
    position: relative;
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3.2vw, 48px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: .15em;
    white-space: nowrap;
    text-shadow: 0 0 22px rgba(255,255,255,.035);
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}
.glitch::before { color: var(--cyan); }
.glitch::after { color: var(--coral); }
.glitch.is-glitching::before { animation: textGlitchA .16s steps(2,end) 1; }
.glitch.is-glitching::after { animation: textGlitchB .16s steps(2,end) 1; }
.brand-rule {
    position: relative;
    width: min(410px, 76vw);
    height: 20px;
    margin: 8px auto 3px;
    overflow: hidden;
}
.brand-rule::before {
    content: "";
    position: absolute;
    left: 50%; top: 9px;
    width: 100%; height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(9,215,234,.48), rgba(255,255,255,.18), rgba(255,85,73,.3), transparent);
}
.brand-rule i {
    position: absolute;
    left: 50%; top: 7px;
    width: 34px; height: 4px;
    transform: translateX(-50%);
    background: var(--cyan);
    border-radius: 50%;
    filter: blur(2px);
    box-shadow: 0 0 16px rgba(9,215,234,.75);
}

.login-trigger {
    --cut: 16px;
    position: relative;
    z-index: 7;
    width: min(350px, 77vw);
    height: 70px;
    margin-top: 19px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    letter-spacing: .31em;
    isolation: isolate;
    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
    transition: transform .28s ease, filter .28s ease;
}
.login-trigger::before,
.login-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: inherit;
}
.login-trigger::before {
    z-index: -3;
    background: linear-gradient(110deg, rgba(9,215,234,.9), rgba(255,255,255,.16) 42%, rgba(9,215,234,.75));
    box-shadow: 0 0 34px rgba(9,215,234,.2);
}
.login-trigger::after {
    z-index: -2;
    inset: 1px;
    background: linear-gradient(180deg, rgba(7,20,22,.92), rgba(1,4,5,.96));
}
.login-trigger__frame {
    position: absolute;
    inset: 7px 20px;
    border-top: 1px solid rgba(9,215,234,.26);
    border-bottom: 1px solid rgba(9,215,234,.14);
    opacity: .86;
}
.login-trigger__label {
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 100%; height: 100%;
    color: #fff;
    font-size: 16px;
    transform: translateX(.14em);
}
.login-trigger__flare {
    position: absolute;
    left: 50%; bottom: -2px;
    width: 70%; height: 4px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(9,215,234,.95), transparent 70%);
    filter: blur(3px);
    opacity: .72;
}
.login-trigger:hover { transform: translateY(-2px) scale(1.012); filter: drop-shadow(0 0 20px rgba(9,215,234,.16)); }
.login-trigger:active { transform: translateY(0) scale(.992); }

.auth-panel {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(0,2,3,.68);
    backdrop-filter: blur(18px) saturate(.75);
    -webkit-backdrop-filter: blur(18px) saturate(.75);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}
.auth-panel.is-open { opacity: 1; visibility: visible; }
.auth-card {
    position: relative;
    width: min(460px, 92vw);
    padding: 35px 30px 31px;
    background: linear-gradient(180deg, rgba(5,12,13,.91), rgba(1,4,5,.96));
    border: 1px solid rgba(9,215,234,.2);
    box-shadow: 0 28px 90px rgba(0,0,0,.68), inset 0 0 54px rgba(9,215,234,.025);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
    transform: translateY(22px) scale(.985);
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.auth-panel.is-open .auth-card { transform: translateY(0) scale(1); }
.auth-close {
    position: absolute;
    right: 15px; top: 10px;
    width: 38px; height: 38px;
    border: 0; background: none;
    color: rgba(255,255,255,.58);
    font-size: 26px; cursor: pointer;
}
.auth-card__eyebrow { color: var(--cyan); opacity: .68; font-size: 10px; letter-spacing: .24em; }
.auth-card h2 { margin: 10px 0 28px; font-size: 25px; letter-spacing: .12em; font-weight: 400; }
.field { display: block; margin: 0 0 18px; }
.field span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.56); font-size: 10px; letter-spacing: .2em; }
.field input {
    width: 100%; height: 55px;
    border: 1px solid rgba(255,255,255,.12);
    outline: 0;
    background: rgba(0,0,0,.3);
    color: #fff;
    padding: 0 15px;
    border-radius: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { border-color: rgba(9,215,234,.55); box-shadow: 0 0 0 3px rgba(9,215,234,.055); }
.auth-submit {
    width: 100%; height: 56px;
    border: 1px solid rgba(9,215,234,.46);
    background: rgba(9,215,234,.055);
    cursor: pointer;
    letter-spacing: .24em;
    transition: background .2s ease, box-shadow .2s ease;
}
.auth-submit:hover { background: rgba(9,215,234,.11); box-shadow: 0 0 26px rgba(9,215,234,.08); }
.auth-error { margin: -5px 0 16px; color: var(--coral); font-size: 11px; letter-spacing: .16em; }

.loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: #010202;
    opacity: 0;
    visibility: hidden;
    transition: opacity .42s ease, visibility .42s ease;
}
.loader.is-active { opacity: 1; visibility: visible; }
.loader__mist {
    position: absolute;
    left: -10%; right: -10%; bottom: -12%;
    height: 48%;
    background:
        radial-gradient(ellipse at 30% 100%, rgba(9,215,234,.095), transparent 48%),
        radial-gradient(ellipse at 75% 100%, rgba(255,85,73,.055), transparent 42%);
    filter: blur(32px);
    animation: loaderMist 5s ease-in-out infinite alternate;
}
.loader__mark { position: relative; width: min(55vw, 420px); }
.loader__img { display: block; width: 100%; height: auto; animation: loaderBreath 2.35s ease-in-out infinite; }
.loader__aura {
    position: absolute;
    inset: 17% 12%;
    background: radial-gradient(circle, rgba(9,215,234,.13), transparent 58%);
    filter: blur(25px);
    animation: auraPulse 2.35s ease-in-out infinite;
}
.loader__flash {
    position: absolute; inset: 0;
    background: url("../img/nxv-emblem.png") center/contain no-repeat;
    opacity: 0; mix-blend-mode: screen;
}
.loader__flash--cyan { filter: drop-shadow(-5px 0 0 rgba(9,215,234,.74)); animation: loaderFlashA 2.9s steps(1,end) infinite; }
.loader__flash--coral { filter: drop-shadow(5px 0 0 rgba(255,85,73,.62)); animation: loaderFlashB 3.7s steps(1,end) infinite; }
.loader__blink {
    position: absolute;
    left: 61.7%; top: 39.2%;
    width: 8.5%; height: 3.6%;
    background: #050708;
    border-radius: 58% 42% 60% 40%;
    transform: rotate(-7deg) scaleY(0);
    transform-origin: center;
    opacity: .92;
    animation: loaderBlink 4.7s linear infinite;
    filter: blur(.2px);
}
.loader__status {
    position: absolute;
    left: 50%; bottom: max(8vh, 58px);
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 13px;
    color: rgba(255,255,255,.46);
    font-size: 9px; letter-spacing: .22em;
}
.loader__status i { width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }

.inside-page {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #010202;
}
.inside-shell {
    position: relative;
    z-index: 5;
    width: min(720px, 92vw);
    text-align: center;
    padding: 55px 28px;
}
.inside-logo { width: min(440px, 80vw); height: auto; }
.inside-kicker { margin: 22px 0 8px; color: var(--cyan); font-size: 10px; letter-spacing: .22em; }
.inside-shell h1 { margin: 0; font-size: clamp(30px,5vw,58px); font-weight: 400; }
.inside-copy { max-width: 600px; margin: 20px auto 28px; color: rgba(255,255,255,.58); font-family: system-ui, sans-serif; line-height: 1.6; }
.logout-link { color: #fff; text-decoration: none; font-size: 11px; letter-spacing: .18em; border-bottom: 1px solid rgba(9,215,234,.45); padding-bottom: 5px; }

@keyframes emblemFloat {
    0%,100% { transform: translate3d(0,0,0) rotateZ(-.2deg); }
    50% { transform: translate3d(0,-9px,0) rotateZ(.2deg); }
}
@keyframes textGlitchA { 0% { opacity:0 } 22% { opacity:.54; transform:translate(-3px,-1px); clip-path:inset(14% 0 55% 0) } 58% { opacity:.3; transform:translate(2px,1px); clip-path:inset(61% 0 11% 0) } 100% { opacity:0 } }
@keyframes textGlitchB { 0% { opacity:0 } 26% { opacity:.44; transform:translate(3px,1px); clip-path:inset(50% 0 20% 0) } 72% { opacity:.3; transform:translate(-2px,0); clip-path:inset(8% 0 73% 0) } 100% { opacity:0 } }
@keyframes emblemGlitchA { 0%,100% { opacity:0; transform:translateX(0) } 35% { opacity:.34; transform:translateX(-4px) } 62% { opacity:.18; transform:translateX(2px) } }
@keyframes emblemGlitchB { 0%,100% { opacity:0; transform:translateX(0) } 30% { opacity:.28; transform:translateX(4px) } 66% { opacity:.16; transform:translateX(-2px) } }
@keyframes grainShift { 0% { transform:translate(0,0) } 25% { transform:translate(3%,-2%) } 50% { transform:translate(-2%,3%) } 75% { transform:translate(1%,2%) } 100% { transform:translate(-3%,-1%) } }
@keyframes loaderBreath { 0%,100% { transform:scale(.985); filter:brightness(.88) } 50% { transform:scale(1.018); filter:brightness(1.08) } }
@keyframes auraPulse { 0%,100% { opacity:.45; transform:scale(.9) } 50% { opacity:.95; transform:scale(1.09) } }
@keyframes loaderMist { from { transform:translate3d(-2%,1%,0) scale(1) } to { transform:translate3d(2%,-2%,0) scale(1.08) } }
@keyframes loaderFlashA { 0%,88%,100% { opacity:0 } 89% { opacity:.18; transform:translateX(-3px) } 91% { opacity:0 } }
@keyframes loaderFlashB { 0%,91%,100% { opacity:0 } 92% { opacity:.16; transform:translateX(3px) } 94% { opacity:0 } }
@keyframes loaderBlink { 0%,43%,47%,100% { transform:rotate(-7deg) scaleY(0) } 44.2%,45.5% { transform:rotate(-7deg) scaleY(1) } 74%,76% { transform:rotate(-7deg) scaleY(0) } 75% { transform:rotate(-7deg) scaleY(1) } }

@media (max-width: 767px) {
    .smoke-video--back { opacity: .72; transform: scale(1.07); filter: brightness(.9) contrast(1.15) saturate(.72); }
    .video-depth--front { opacity: .18; }
    .smoke-video--front { transform: scale(1.27) translate3d(0,7%,0); filter: blur(1.4px) brightness(.92) contrast(1.08) saturate(.65); }
    .hero { justify-content: center; padding-left: 14px; padding-right: 14px; }
    .hero__depth { width: min(91vw, 610px); }
    .brand-block { margin-top: -12px; }
    .brand { font-size: clamp(20px, 6.35vw, 31px); letter-spacing: .115em; }
    .brand-rule { width: 76vw; margin-top: 6px; }
    .login-trigger { width: min(340px, 78vw); height: 68px; margin-top: 15px; }
    .login-trigger__label { font-size: 14px; }
    .auth-card { padding: 34px 22px 27px; }
    .loader__mark { width: min(84vw, 430px); }
    .loader__blink { left: 61.7%; top: 39.2%; }
}

@media (max-height: 720px) and (orientation: landscape) {
    .hero__depth { width: min(40vw, 500px); }
    .brand { font-size: clamp(22px, 2.8vw, 38px); }
    .login-trigger { height: 60px; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .smoke-video { display: none; }
    .grain { display: none; }
}

/* =========================================================
   NXV FEDERATION PRIVATE NETWORK — V5 CONTENT HUB
   ========================================================= */
.network-page {
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #010202;
    color: var(--paper);
    font-family: "Bruno Ace SC", system-ui, sans-serif;
    padding-bottom: 0;
}
.network-page::selection { background: rgba(9,215,234,.28); color: #fff; }
.network-video { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; opacity: .20; mix-blend-mode: screen; }
.network-video video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.46) contrast(1.22) saturate(.55); transform: scale(1.04); }
.network-vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at 50% 26%, transparent 0 24%, rgba(0,0,0,.12) 52%, rgba(0,0,0,.83) 100%); }
.network-grid { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .13; background-image: linear-gradient(rgba(9,215,234,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(9,215,234,.055) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent 95%); }
.network-header { position: sticky; top: 0; z-index: 50; height: 78px; display: flex; align-items: center; gap: 28px; padding: 0 clamp(18px,3vw,54px); background: linear-gradient(180deg, rgba(1,3,4,.94), rgba(1,3,4,.68)); border-bottom: 1px solid rgba(9,215,234,.11); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.network-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; flex: 0 0 auto; }
.network-brand img { width: 52px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(9,215,234,.12)); }
.network-brand > span { display: flex; flex-direction: column; gap: 3px; font-size: 10px; letter-spacing: .14em; white-space: nowrap; }
.network-brand small { color: var(--cyan); font-size: 6px; letter-spacing: .22em; opacity: .76; }
.desktop-nav { margin-left: auto; display: flex; align-items: stretch; height: 100%; }
.desktop-nav a, .desktop-nav button { position: relative; display: grid; place-items: center; padding: 0 14px; border: 0; background: transparent; color: rgba(255,255,255,.54); font: 400 8px/1 "Bruno Ace SC",sans-serif; letter-spacing: .08em; text-decoration: none; cursor: pointer; transition: color .2s ease, background .2s ease; }
.desktop-nav a::after, .desktop-nav button::after { content:""; position:absolute; left:25%; right:25%; bottom:0; height:2px; background: var(--cyan); transform: scaleX(0); box-shadow: 0 0 14px var(--cyan); transition: transform .2s ease; }
.desktop-nav a:hover, .desktop-nav button:hover, .desktop-nav .is-active { color:#fff; background: linear-gradient(180deg, transparent, rgba(9,215,234,.035)); }
.desktop-nav .is-active::after { transform: scaleX(1); }
.header-actions { display:flex; align-items:center; gap:10px; }
.lang-switch, .logout-mini { color: rgba(255,255,255,.74); text-decoration:none; font-size:8px; letter-spacing:.14em; padding:9px 10px; border:1px solid rgba(255,255,255,.11); background:rgba(0,0,0,.24); }
.lang-switch:hover { border-color:rgba(9,215,234,.48); color:var(--cyan); }
.logout-mini:hover { border-color:rgba(255,85,73,.42); color:var(--coral); }
.network-main { position:relative; z-index:5; width:min(1420px,94vw); margin:0 auto; padding:72px 0 96px; }
.page-intro { display:flex; justify-content:space-between; gap:34px; align-items:flex-end; margin-bottom:38px; }
.page-intro.compact { margin-bottom:28px; }
.eyebrow { margin:0 0 10px; color:var(--cyan); font-size:9px; letter-spacing:.2em; }
.page-intro h1 { margin:0; font-weight:400; font-size:clamp(32px,4.3vw,67px); line-height:.98; letter-spacing:.035em; }
.page-intro .lede { max-width:760px; margin:16px 0 0; color:rgba(255,255,255,.52); font:400 clamp(14px,1.1vw,17px)/1.65 Inter,system-ui,sans-serif; }
.status-panel { flex:0 0 auto; min-width:240px; padding:18px 20px; border:1px solid rgba(9,215,234,.16); background:rgba(1,8,10,.48); display:grid; gap:6px; text-align:right; clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); }
.status-panel span,.status-panel small { color:rgba(255,255,255,.42); font-size:8px; letter-spacing:.12em; }
.status-panel b { color:var(--cyan); font-size:10px; font-weight:400; letter-spacing:.12em; }
.counter { color:var(--cyan); font-size:9px; letter-spacing:.16em; border:1px solid rgba(9,215,234,.16); padding:12px 14px; background:rgba(0,0,0,.25); }
.category-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.category-card { position:relative; min-height:480px; overflow:hidden; border:1px solid rgba(9,215,234,.17); background:#030708; color:#fff; text-align:left; text-decoration:none; padding:0; cursor:pointer; clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px); transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .3s ease,filter .3s ease; }
.category-card::before { content:""; position:absolute; z-index:4; inset:0; border:1px solid transparent; background:linear-gradient(135deg,rgba(9,215,234,.25),transparent 25%,transparent 75%,rgba(9,215,234,.12)) border-box; mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0); mask-composite:exclude; pointer-events:none; }
.category-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(.82) contrast(1.08) brightness(.73); transform:scale(1.02); transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .45s ease; }
.category-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,6,8,.02) 16%,rgba(0,6,8,.22) 48%,rgba(0,4,6,.95) 88%),linear-gradient(135deg,rgba(9,215,234,.18),transparent 45%); }
.category-shade--red { background:linear-gradient(180deg,rgba(0,6,8,.02) 16%,rgba(0,6,8,.18) 48%,rgba(0,4,6,.95) 88%),linear-gradient(135deg,rgba(255,85,73,.2),transparent 48%); }
.category-index { position:absolute; z-index:5; top:17px; left:18px; color:var(--cyan); font-size:11px; letter-spacing:.12em; }
.category-copy { position:absolute; z-index:5; left:20px; right:18px; bottom:20px; }
.category-copy small { display:block; min-height:22px; color:var(--cyan); font-size:7px; line-height:1.45; letter-spacing:.11em; }
.category-copy h2 { margin:7px 0 7px; font-size:clamp(19px,1.5vw,28px); line-height:1.02; font-weight:400; letter-spacing:.025em; }
.category-copy p { margin:0; color:rgba(255,255,255,.52); font:400 12px/1.45 Inter,sans-serif; }
.category-copy b { display:inline-block; margin-top:15px; color:var(--cyan); font-size:18px; font-weight:400; }
.category-card--active:hover { transform:translateY(-7px); border-color:rgba(9,215,234,.55); filter:drop-shadow(0 16px 28px rgba(0,0,0,.35)); }
.category-card--active:hover img { transform:scale(1.07); filter:saturate(1) contrast(1.12) brightness(.86); }
.category-card--locked { opacity:.58; filter:grayscale(.34); }
.category-card--locked:hover { opacity:.78; }
.lock-mark { position:absolute; z-index:6; top:45%; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:46px; height:46px; border:1px solid rgba(255,255,255,.25); border-radius:50%; color:rgba(255,255,255,.7); background:rgba(0,0,0,.48); font-size:25px; }
.network-footerline { display:flex; align-items:center; gap:18px; margin-top:32px; color:rgba(255,255,255,.28); font-size:7px; letter-spacing:.18em; }
.network-footerline i { flex:1; height:1px; background:linear-gradient(90deg,rgba(9,215,234,.4),transparent); }
.journal-list { display:grid; gap:12px; max-width:1120px; }
.journal-row { position:relative; display:grid; grid-template-columns:250px 60px 1fr 30px; min-height:150px; align-items:stretch; gap:18px; color:#fff; text-decoration:none; border:1px solid rgba(9,215,234,.13); background:linear-gradient(90deg,rgba(5,18,20,.68),rgba(1,4,5,.68)); overflow:hidden; transition:border-color .2s ease,transform .25s ease,background .2s ease; }
.journal-row:hover { border-color:rgba(9,215,234,.48); transform:translateX(4px); background:linear-gradient(90deg,rgba(5,25,28,.76),rgba(1,4,5,.72)); }
.journal-thumb { overflow:hidden; }
.journal-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.journal-row:hover .journal-thumb img { transform:scale(1.04); }
.journal-no { align-self:start; margin-top:24px; color:var(--cyan); font-size:11px; letter-spacing:.1em; }
.journal-info { align-self:center; padding:20px 0; }
.meta-line { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:9px; color:rgba(255,255,255,.35); font-size:7px; letter-spacing:.12em; }
.meta-line span { color:var(--cyan); }
.meta-line em { color:#ffd84a; font-style:normal; border:1px solid rgba(255,216,74,.25); padding:4px 6px; }
.journal-info h2 { margin:0 0 7px; font-size:clamp(18px,1.6vw,25px); line-height:1.15; font-weight:400; }
.journal-info p { margin:0; color:rgba(255,255,255,.5); font:400 13px/1.5 Inter,sans-serif; max-width:700px; }
.row-arrow { align-self:center; color:var(--cyan); font-size:20px; }
.back-link { display:inline-flex; margin-bottom:25px; color:var(--cyan); text-decoration:none; font-size:8px; letter-spacing:.14em; }
.article-main { max-width:1280px; }
.article-shell { display:grid; grid-template-columns:minmax(0,1fr); }
.article-header { max-width:1080px; }
.article-meta { display:flex; flex-wrap:wrap; align-items:center; gap:13px; color:rgba(255,255,255,.42); font-size:8px; letter-spacing:.12em; }
.article-meta > span { color:var(--cyan); font-size:15px; }
.article-meta b { color:var(--cyan); font-weight:400; }
.article-meta em { color:#ffd84a; font-style:normal; border:1px solid rgba(255,216,74,.24); padding:4px 7px; }
.article-header h1 { max-width:1000px; margin:18px 0 10px; font-size:clamp(38px,5.6vw,78px); line-height:.98; font-weight:400; letter-spacing:.015em; }
.article-header > p { max-width:780px; margin:0 0 28px; color:rgba(255,255,255,.54); font:500 16px/1.6 Inter,sans-serif; }
.article-hero { margin:0; width:100%; border:1px solid rgba(9,215,234,.14); overflow:hidden; }
.article-hero img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.article-body { max-width:860px; margin:55px 0 0 clamp(0px,6vw,90px); font-family:Inter,system-ui,sans-serif; }
.article-section { margin-bottom:55px; }
.article-section h2 { margin:0 0 16px; color:var(--cyan); font:400 clamp(19px,2vw,27px)/1.25 "Bruno Ace SC",sans-serif; }
.article-section p { margin:0 0 17px; color:rgba(255,255,255,.72); font-size:16px; line-height:1.8; }
.article-inline { margin:32px 0 0; }
.article-inline img { display:block; width:100%; aspect-ratio:14/9; object-fit:cover; border:1px solid rgba(9,215,234,.13); }
.article-inline figcaption { margin-top:8px; color:rgba(255,255,255,.32); font:400 7px/1 "Bruno Ace SC",sans-serif; letter-spacing:.16em; }
.article-body blockquote { position:relative; margin:70px 0 0; padding:30px 32px 28px; border-left:2px solid var(--coral); background:linear-gradient(90deg,rgba(255,85,73,.08),transparent); color:#fff; font:500 clamp(20px,2.4vw,31px)/1.5 Inter,sans-serif; }
.article-body blockquote small { display:block; margin-top:17px; color:var(--coral); font:400 7px/1 "Bruno Ace SC",sans-serif; letter-spacing:.16em; }
.character-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.character-card { position:relative; min-height:500px; overflow:hidden; color:#fff; text-decoration:none; border:1px solid rgba(9,215,234,.14); background:#030708; clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .25s ease,filter .25s ease; }
.character-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 20%; filter:saturate(.9) contrast(1.05) brightness(.82); transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .4s ease; }
.character-overlay { position:absolute; inset:0; background:linear-gradient(180deg,transparent 30%,rgba(0,4,5,.12) 50%,rgba(0,3,4,.97) 91%),linear-gradient(135deg,rgba(9,215,234,.14),transparent 40%); }
.char-index { position:absolute; top:14px; right:14px; z-index:3; color:rgba(255,255,255,.45); font-size:8px; letter-spacing:.1em; }
.char-copy { position:absolute; z-index:3; left:17px; right:16px; bottom:18px; padding-bottom: 50px; }
.char-copy small { color:var(--coral); font-size:8px; letter-spacing:.12em; }
.char-copy h2 { margin:5px 0 7px; font-size:clamp(19px,1.55vw,27px); font-weight:400; line-height:1.05; }
.char-copy p { min-height:38px; margin:0; color:rgba(255,255,255,.5); font:400 11px/1.4 Inter,sans-serif; }
.char-copy b { position:absolute; right:0; bottom:1px; width:30px; height:30px; display:grid; place-items:center; border:1px solid rgba(9,215,234,.52); border-radius:50%; color:var(--cyan); font-size:20px; font-weight:400; }
.character-card:hover { transform:translateY(-7px); border-color:rgba(9,215,234,.5); filter:drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.character-card:hover img { transform:scale(1.055); filter:saturate(1.05) contrast(1.08) brightness(.9); }
.character-main { max-width:1360px; }
.character-profile { display:grid; grid-template-columns:minmax(360px, .8fr) minmax(0,1.3fr); gap:48px; align-items:start; }
.character-visual { position:sticky; top:106px; min-height:690px; }
.character-hero { display:block; width:100%; aspect-ratio:3/4; object-fit:cover; border:1px solid rgba(9,215,234,.18); filter:saturate(.92) contrast(1.05); }
.character-extra { position:absolute; width:34%; right:-7%; bottom:-4%; aspect-ratio:3/4; object-fit:cover; border:1px solid rgba(255,85,73,.35); box-shadow:0 18px 50px rgba(0,0,0,.7); transform:rotate(2deg); }
.character-data { padding-top:14px; }
.profile-title h1 { margin:0; font-size:clamp(44px,6vw,88px); line-height:.9; font-weight:400; letter-spacing:.02em; }
.profile-title h2 { margin:11px 0 0; color:var(--coral); font-size:clamp(17px,2vw,26px); font-weight:400; letter-spacing:.13em; }
.pilot-quote { margin:34px 0; padding:18px 0 18px 20px; border-left:2px solid var(--cyan); color:#fff; font:500 clamp(18px,2vw,26px)/1.45 Inter,sans-serif; }
.profile-facts { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; margin:0 0 35px; background:rgba(9,215,234,.12); border:1px solid rgba(9,215,234,.12); }
.profile-facts > div { background:rgba(1,5,6,.92); padding:14px 16px; }
.profile-facts dt { margin-bottom:6px; color:var(--cyan); font-size:7px; letter-spacing:.15em; }
.profile-facts dd { margin:0; color:rgba(255,255,255,.72); font:500 13px/1.45 Inter,sans-serif; }
.profile-section { margin:0 0 28px; }
.profile-section h3 { margin:0 0 8px; color:var(--cyan); font-size:10px; font-weight:400; letter-spacing:.14em; }
.profile-section p { margin:0; color:rgba(255,255,255,.67); font:400 15px/1.68 Inter,sans-serif; }
.profile-columns { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.theme-module { display:flex; align-items:center; justify-content:space-between; gap:22px; margin:38px 0 24px; padding:18px 20px; border:1px solid rgba(9,215,234,.22); background:linear-gradient(90deg,rgba(9,215,234,.06),rgba(0,0,0,.18)); }
.theme-module > div:first-child { display:grid; gap:6px; }
.theme-module span { color:#fff; font-size:8px; letter-spacing:.13em; }
.theme-module small { color:rgba(255,255,255,.38); font:500 11px/1.2 Inter,sans-serif; }
.theme-module audio { width:min(360px,50%); height:38px; filter:grayscale(1) invert(.88) hue-rotate(135deg); }
.audio-ghost { display:flex; align-items:center; gap:13px; color:rgba(255,255,255,.42); }
.audio-ghost i { display:grid; place-items:center; width:38px; height:38px; border:1px solid rgba(9,215,234,.38); border-radius:50%; color:var(--cyan); font-style:normal; }
.audio-ghost span { color:rgba(255,255,255,.38); font-size:7px; }
.profile-symbol { border-top:1px solid rgba(255,255,255,.09); padding-top:18px; }
.profile-symbol span { color:var(--coral); font-size:8px; letter-spacing:.14em; }
.profile-symbol p { color:rgba(255,255,255,.58); font:400 13px/1.6 Inter,sans-serif; }
.contact-main { min-height:calc(100svh - 78px); display:grid; place-items:center; padding-top:30px; }
.contact-card { width:min(740px,92vw); padding:55px 48px; text-align:center; border:1px solid rgba(9,215,234,.18); background:rgba(1,7,8,.72); clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px); box-shadow:0 30px 80px rgba(0,0,0,.48); }
.contact-card h1 { margin:0 0 20px; font-size:clamp(46px,7vw,92px); font-weight:400; }
.contact-card p { max-width:580px; margin:0 auto 30px; color:rgba(255,255,255,.56); font:400 15px/1.7 Inter,sans-serif; }
.contact-card a { display:inline-block; color:#fff; text-decoration:none; font-size:clamp(15px,2vw,23px); letter-spacing:.06em; border-bottom:1px solid var(--cyan); padding-bottom:7px; }
.contact-card > span { display:block; margin-top:28px; color:var(--cyan); font-size:7px; letter-spacing:.18em; }
.locked-modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:20px; background:rgba(0,2,3,.76); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); opacity:0; visibility:hidden; transition:.3s ease; }
.locked-modal.is-open { opacity:1; visibility:visible; }
.locked-card { position:relative; width:min(520px,92vw); padding:42px 34px 35px; text-align:center; border:1px solid rgba(9,215,234,.23); background:linear-gradient(180deg,rgba(5,14,16,.96),rgba(1,4,5,.98)); clip-path:polygon(15px 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,0 100%,0 15px); }
.locked-close { position:absolute; top:10px; right:13px; border:0; background:transparent; color:rgba(255,255,255,.48); font-size:27px; cursor:pointer; }
.locked-icon { margin:10px auto 18px; display:grid; place-items:center; width:72px; height:72px; border:1px solid rgba(9,215,234,.25); border-radius:50%; color:var(--cyan); font-size:38px; box-shadow:0 0 40px rgba(9,215,234,.07); }
.locked-card h2 { margin:0 0 15px; font-weight:400; font-size:24px; }
.locked-card p { margin:0 auto 22px; max-width:410px; color:rgba(255,255,255,.55); font:400 14px/1.6 Inter,sans-serif; }
.locked-code { color:var(--coral); font-size:7px; letter-spacing:.2em; }
.mobile-dock { display:none; }
.reveal { opacity:0; transform:translateY(16px); transition:opacity .65s ease,transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity:1; transform:none; }

@media (max-width: 1180px) {
  .desktop-nav a,.desktop-nav button { padding:0 8px; font-size:7px; }
  .network-brand > span { display:none; }
  .category-grid { grid-template-columns:repeat(3,1fr); }
  .category-card { min-height:420px; }
  .character-grid { grid-template-columns:repeat(3,1fr); }
}

@media (max-width: 767px) {
  .network-page { padding-bottom:calc(78px + env(safe-area-inset-bottom)); }
  .network-video { opacity:.26; }
  .network-video video { filter:brightness(.42) contrast(1.18) saturate(.52); }
  .network-grid { background-size:46px 46px; opacity:.08; }
  .network-header { position:relative; height:66px; padding:0 14px; border-bottom-color:rgba(9,215,234,.08); }
  .network-brand img { width:48px; height:44px; }
  .network-brand > span { display:flex; font-size:8px; }
  .network-brand small { font-size:5px; }
  .desktop-nav,.logout-mini { display:none; }
  .header-actions { margin-left:auto; }
  .lang-switch { font-size:7px; padding:8px 9px; }
  .network-main { width:min(94vw,680px); padding:34px 0 46px; }
  .page-intro,.page-intro.compact { display:block; margin-bottom:24px; }
  .page-intro h1 { font-size:clamp(28px,9.2vw,46px); line-height:1; }
  .page-intro .lede { margin-top:11px; font-size:13px; line-height:1.55; }
  .status-panel { display:none; }
  .counter { display:inline-block; margin-top:16px; }
  .category-grid { display:flex; flex-direction:column; gap:10px; }
  .category-card { min-height:155px; width:100%; clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px); }
  .category-card img { object-position:center 35%; }
  .category-shade { background:linear-gradient(90deg,rgba(0,4,5,.2),rgba(0,4,5,.8) 65%,rgba(0,4,5,.96)),linear-gradient(180deg,transparent,rgba(0,0,0,.54)); }
  .category-index { top:12px; left:13px; }
  .category-copy { left:18px; right:15px; bottom:13px; }
  .category-copy small { min-height:0; font-size:6px; }
  .category-copy h2 { margin:5px 0 4px; font-size:20px; }
  .category-copy p { font-size:11px; }
  .category-copy b { position:absolute; right:3px; bottom:0; margin:0; }
  .lock-mark { left:22%; top:50%; }
  .network-footerline { display:none; }
  .journal-list { gap:10px; }
  .journal-row { grid-template-columns:112px 1fr 16px; min-height:130px; gap:11px; }
  .journal-no { display:none; }
  .journal-thumb { grid-column:1; }
  .journal-info { grid-column:2; padding:12px 0; }
  .journal-info h2 { font-size:15px; line-height:1.18; }
  .journal-info p { font-size:11px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .meta-line { gap:7px; font-size:6px; margin-bottom:6px; }
  .meta-line span { display:none; }
  .row-arrow { grid-column:3; font-size:15px; }
  .back-link { margin-bottom:18px; }
  .article-header h1 { font-size:clamp(34px,10.7vw,55px); }
  .article-header > p { font-size:14px; }
  .article-meta { gap:8px; font-size:6px; }
  .article-meta > span { font-size:12px; }
  .article-body { margin:34px 0 0; max-width:none; }
  .article-section { margin-bottom:38px; }
  .article-section h2 { font-size:18px; }
  .article-section p { font-size:15px; line-height:1.72; }
  .article-body blockquote { margin-top:42px; padding:23px 20px; font-size:20px; }
  .character-grid { grid-template-columns:1fr; gap:12px; }
  .character-card { min-height:68svh; max-height:690px; }
  .character-card img { object-position:center 12%; }
  .char-copy h2 { font-size:28px; }
  .char-copy p { max-width:80%; font-size:12px; }
  .character-profile { display:block; }
  .character-visual { position:relative; top:auto; min-height:0; margin-bottom:38px; }
  .character-hero { width:100%; aspect-ratio:4/5; object-position:center 20%; }
  .character-extra { width:31%; right:3%; bottom:-5%; }
  .profile-title h1 { font-size:clamp(47px,14vw,76px); }
  .profile-title h2 { font-size:17px; }
  .pilot-quote { margin:26px 0; font-size:18px; }
  .profile-facts { grid-template-columns:1fr; }
  .profile-columns { display:block; }
  .profile-section p { font-size:14px; }
  .theme-module { display:block; padding:16px; }
  .theme-module audio { width:100%; margin-top:14px; }
  .audio-ghost { margin-top:15px; }
  .contact-main { min-height:calc(100svh - 145px); padding-top:20px; }
  .contact-card { padding:42px 19px; }
  .contact-card p { font-size:14px; }
  .contact-card a { font-size:14px; letter-spacing:.02em; }
  .mobile-dock { position:fixed; z-index:90; left:0; right:0; bottom:0; height:calc(66px + env(safe-area-inset-bottom)); padding:5px 6px env(safe-area-inset-bottom); display:grid; grid-template-columns:repeat(5,1fr); background:rgba(2,6,7,.90); border-top:1px solid rgba(9,215,234,.16); backdrop-filter:blur(17px); -webkit-backdrop-filter:blur(17px); box-shadow:0 -14px 40px rgba(0,0,0,.34); }
  .mobile-dock a,.mobile-dock button { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; border:0; background:transparent; color:rgba(255,255,255,.46); text-decoration:none; font:400 6px/1 "Bruno Ace SC",sans-serif; letter-spacing:.04em; padding:0; }
  .mobile-dock i { display:grid; place-items:center; height:22px; color:inherit; font:normal 20px/1 system-ui,sans-serif; }
  .mobile-dock .is-active { color:var(--cyan); }
  .mobile-dock .is-active::before { content:""; position:absolute; top:-5px; left:28%; right:28%; height:2px; background:var(--cyan); box-shadow:0 0 12px var(--cyan); }
  .locked-card { padding:38px 22px 31px; }
}

@media (prefers-reduced-motion: reduce) {
  .network-video { display:none; }
  .reveal { opacity:1; transform:none; }
}
