/* =========================================================
   WORLD NAVIGATOR V1
   Shared fullscreen route navigator.
   ========================================================= */

.world-nav{
    position:fixed;inset:0;z-index:98000;display:grid;place-items:center;padding:18px;
    opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease;
}
.world-nav.is-open{opacity:1;visibility:visible;pointer-events:auto}
.world-nav-backdrop{
    position:absolute;inset:0;border:0;background:
        radial-gradient(circle at 18% 18%,rgba(91,234,255,.07),transparent 28%),
        radial-gradient(circle at 82% 12%,rgba(173,140,255,.07),transparent 30%),
        rgba(3,8,13,.78);
    backdrop-filter:blur(28px) saturate(145%);
}
.world-nav-panel{
    position:relative;z-index:2;width:min(1180px,100%);max-height:calc(100vh - 36px);overflow:auto;
    border:1px solid transparent;border-radius:26px;
    background:
        radial-gradient(circle at 5% 0%,rgba(91,234,255,.12),transparent 28%) padding-box,
        radial-gradient(circle at 100% 100%,rgba(173,140,255,.10),transparent 31%) padding-box,
        linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.018)) padding-box,
        rgba(13,25,37,.97) padding-box,
        linear-gradient(125deg,rgba(91,234,255,.42),rgba(108,141,255,.30),rgba(173,140,255,.34),rgba(255,114,183,.22),rgba(184,255,104,.28)) border-box;
    box-shadow:0 56px 170px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.09);
}
.world-nav-head{
    padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.world-nav-head span{color:#74ecff;font:650 .45rem/1 monospace;letter-spacing:.1em}
.world-nav-head h2{margin:8px 0 0;color:#fff;font-size:1.55rem;letter-spacing:-.04em}
.world-nav-close{
    width:42px;height:42px;border:1px solid rgba(255,255,255,.12);border-radius:50%;
    color:#fff;background:rgba(255,255,255,.025);cursor:pointer;font-size:1.2rem;
}
.world-nav-grid{
    padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
}
.world-nav-card{
    --wn-a:91 234 255;--wn-b:173 140 255;
    min-height:154px;padding:16px;position:relative;overflow:hidden;
    display:grid;grid-template-columns:1fr auto;gap:18px;align-items:end;
    border:1px solid rgba(255,255,255,.105);border-radius:16px;
    background:
        radial-gradient(circle at 0 0,rgb(var(--wn-a)/.10),transparent 40%),
        radial-gradient(circle at 100% 100%,rgb(var(--wn-b)/.07),transparent 40%),
        linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012)),
        rgba(18,31,44,.70);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
    transition:transform .2s cubic-bezier(.2,.75,.2,1),border-color .2s ease,background .2s ease;
}
.world-nav-card:hover{
    transform:translateY(-2px);
    border-color:rgb(var(--wn-a)/.30);
    background:
        radial-gradient(circle at 0 0,rgb(var(--wn-a)/.14),transparent 42%),
        radial-gradient(circle at 100% 100%,rgb(var(--wn-b)/.10),transparent 42%),
        linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.016)),
        rgba(20,34,48,.76);
}
.world-nav-card small{
    display:block;color:rgb(var(--wn-a)/.74);font:650 .4rem/1 monospace;letter-spacing:.075em;
}
.world-nav-card strong{
    display:block;margin-top:8px;color:#fff;font-size:1.05rem;letter-spacing:-.025em;
}
.world-nav-card p{
    margin:7px 0 0;max-width:490px;color:rgba(238,246,255,.46);font-size:.5rem;line-height:1.5;
}
.world-nav-card i{
    align-self:start;padding:7px 8px;border:1px solid rgb(var(--wn-a)/.20);border-radius:999px;
    color:rgb(var(--wn-a)/.72);background:rgb(var(--wn-a)/.04);font:650 .38rem/1 monospace;font-style:normal;letter-spacing:.06em;
}
.world-nav-foot{
    padding:13px 20px 18px;display:flex;justify-content:space-between;gap:16px;
    border-top:1px solid rgba(255,255,255,.07);color:rgba(255,255,255,.28);
    font:600 .4rem/1.5 monospace;letter-spacing:.04em;
}
.worlds-trigger{
    min-height:38px;padding:0 13px;border:1px solid rgba(255,255,255,.13);border-radius:999px;
    color:rgba(248,251,255,.72);background:rgba(255,255,255,.028);cursor:pointer;
    font:650 .45rem/1 monospace;letter-spacing:.065em;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.worlds-trigger:hover{
    color:#fff;border-color:rgba(91,234,255,.34);
    background:linear-gradient(135deg,rgba(91,234,255,.10),rgba(173,140,255,.06));
}
@media(max-width:760px){
    .world-nav{padding:7px}
    .world-nav-grid{grid-template-columns:1fr;padding:12px}
    .world-nav-card{min-height:132px}
    .world-nav-foot{display:block}
}
/* =========================================================
   V11 — TE WORLD MATRIX
   All public worlds visible at once on wide desktop.
   ========================================================= */
.world-nav{
    padding:12px;
}
.world-nav-backdrop{
    background:
        radial-gradient(circle at 12% 14%,rgba(91,234,255,.09),transparent 29%),
        radial-gradient(circle at 88% 12%,rgba(173,140,255,.09),transparent 31%),
        radial-gradient(circle at 76% 88%,rgba(255,114,183,.045),transparent 29%),
        rgba(3,8,13,.80);
    backdrop-filter:blur(34px) saturate(155%);
}
.world-nav-panel{
    width:min(1480px,100%);
    max-height:calc(100vh - 24px);
    border-radius:34px;
    background:
        radial-gradient(circle at 4% 0%,rgba(91,234,255,.13),transparent 27%) padding-box,
        radial-gradient(circle at 98% 4%,rgba(173,140,255,.11),transparent 29%) padding-box,
        radial-gradient(circle at 80% 100%,rgba(255,114,183,.055),transparent 30%) padding-box,
        linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.018)) padding-box,
        rgba(10,23,35,.975) padding-box,
        linear-gradient(125deg,rgba(91,234,255,.44),rgba(108,141,255,.30),rgba(173,140,255,.38),rgba(255,114,183,.24),rgba(184,255,104,.30)) border-box;
}
.world-nav-panel::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    background:
        linear-gradient(180deg,rgba(255,255,255,.045),transparent 18%),
        radial-gradient(circle at 50% -20%,rgba(255,255,255,.055),transparent 42%);
}
.world-nav-head{
    position:relative;
    z-index:1;
    padding:18px 20px;
    border-bottom:1px solid rgba(255,255,255,.075);
    background:linear-gradient(180deg,rgba(255,255,255,.025),transparent);
}
.world-nav-head-main{
    display:flex;
    align-items:center;
    gap:15px;
    min-width:0;
}
.world-nav-brand{
    width:205px;
    flex:0 0 auto;
    padding:5px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:18px;
    background:rgba(7,18,28,.72);
}
.world-nav-brand img{
    width:100%;
    display:block;
    border-radius:13px;
}
.world-nav-headcopy{
    min-width:0;
}
.world-nav-headcopy span{
    color:rgba(116,236,255,.80);
}
.world-nav-headcopy h2{
    margin:7px 0 0;
    font-size:clamp(1.25rem,2vw,1.8rem);
}
.world-nav-headcopy p{
    margin:6px 0 0;
    max-width:680px;
    color:rgba(238,246,255,.40);
    font-size:.48rem;
    line-height:1.5;
}
.world-nav-count{
    margin-left:auto;
    flex:0 0 auto;
    padding:9px 12px;
    border:1px solid rgba(91,234,255,.18);
    border-radius:999px;
    color:rgba(123,239,255,.82);
    background:rgba(91,234,255,.04);
    font:700 .42rem/1 monospace;
    letter-spacing:.08em;
}
.world-nav-close{
    flex:0 0 auto;
    margin-left:8px;
}
.world-nav-grid{
    position:relative;
    z-index:1;
    padding:14px;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:9px;
}
.world-nav-card{
    min-height:190px;
    padding:15px;
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr auto;
    align-items:stretch;
    border-radius:22px;
    box-shadow:
        0 16px 42px rgba(0,0,0,.11),
        inset 0 1px 0 rgba(255,255,255,.045);
}
.world-nav-card::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    background:
        radial-gradient(circle at 12% 0%,rgb(var(--wn-a)/.08),transparent 34%),
        linear-gradient(180deg,rgba(255,255,255,.028),transparent 28%);
    opacity:.8;
}
.world-nav-card:hover{
    transform:translateY(-3px);
    box-shadow:
        0 24px 56px rgba(0,0,0,.17),
        0 0 32px rgb(var(--wn-a)/.055),
        inset 0 1px 0 rgba(255,255,255,.07);
}
.world-nav-index{
    position:relative;
    z-index:1;
    color:rgb(var(--wn-a)/.56);
    font:750 .42rem/1 monospace;
    letter-spacing:.1em;
}
.world-nav-card>div{
    position:relative;
    z-index:1;
    align-self:end;
}
.world-nav-card small{
    color:rgb(var(--wn-a)/.78);
}
.world-nav-card strong{
    margin-top:7px;
    font-size:1.02rem;
}
.world-nav-card p{
    margin-top:7px;
    max-width:none;
    min-height:44px;
    font-size:.46rem;
    line-height:1.48;
}
.world-nav-card-footer{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:12px;
}
.world-nav-card-footer i{
    align-self:auto;
}
.world-nav-arrow{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border:1px solid rgb(var(--wn-a)/.16);
    border-radius:50%;
    color:rgb(var(--wn-a)/.72);
    background:rgb(var(--wn-a)/.035);
    font-size:.58rem;
    transition:transform .2s ease,background .2s ease;
}
.world-nav-card:hover .world-nav-arrow{
    transform:translate(2px,-2px);
    background:rgb(var(--wn-a)/.08);
}
.world-nav-card.is-current{
    border-color:rgb(var(--wn-a)/.36);
    box-shadow:
        0 20px 52px rgba(0,0,0,.16),
        0 0 0 1px rgb(var(--wn-a)/.07),
        0 0 38px rgb(var(--wn-a)/.07),
        inset 0 1px 0 rgba(255,255,255,.07);
}
.world-nav-foot{
    position:relative;
    z-index:1;
    margin:0 14px 14px;
    padding:12px 15px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:16px;
    background:rgba(255,255,255,.014);
}
.worlds-trigger,
.ws-header-actions [data-worlds-trigger]{
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.055),
        0 9px 24px rgba(0,0,0,.10);
}
.worlds-trigger:hover,
.ws-header-actions [data-worlds-trigger]:hover{
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 12px 30px rgba(0,0,0,.13),
        0 0 24px rgba(91,234,255,.055);
}
@media(max-width:1320px){
    .world-nav-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .world-nav-card{min-height:166px}
}@media(max-width:920px){
    .world-nav-panel{border-radius:26px}
    .world-nav-head{align-items:flex-start}
    .world-nav-head-main{gap:10px}
    .world-nav-brand{
        width:172px;
        border-radius:15px;
    }
    .world-nav-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .world-nav-count{display:none}
}
@media(max-width:620px){
    .world-nav{padding:6px}
    .world-nav-panel{
        max-height:calc(100vh - 12px);
        border-radius:22px;
    }
    .world-nav-head{padding:13px}
    .world-nav-brand{width:150px}
    .world-nav-headcopy p{display:none}
    .world-nav-headcopy h2{font-size:1.08rem}
}@media(max-width:620px){
    .world-nav-grid{
        grid-template-columns:1fr;
        padding:10px;
    }
    .world-nav-card{
        min-height:142px;
        border-radius:18px;
    }
    .world-nav-foot{
        margin:0 10px 10px;
        border-radius:14px;
    }
}/* V11.1 WORLD MATRIX MOTION / POINTER LIGHT */
.world-nav-card::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    border-radius:inherit;
    opacity:0;
    background:
        radial-gradient(
            220px circle at var(--mx,50%) var(--my,50%),
            rgb(var(--wn-a)/.12),
            transparent 58%
        );
    transition:opacity .22s ease;
}
.world-nav-card:hover::after,
.world-nav-card:focus-visible::after{
    opacity:1;
}
.world-nav-card>*{
    position:relative;
    z-index:1;
}
.world-nav.is-open .world-nav-card{
    animation:teWorldCardIn .42s cubic-bezier(.2,.75,.2,1) both;
    animation-delay:calc(var(--card-index,0) * 24ms);
}
@keyframes teWorldCardIn{
    from{
        opacity:0;
        transform:translateY(10px) scale(.985);
        filter:blur(2px);
    }
    to{
        opacity:1;
        transform:none;
        filter:none;
    }
}
.world-nav-card:focus-visible{
    outline:none;
    border-color:rgb(var(--wn-a)/.48);
    box-shadow:
        0 0 0 3px rgb(var(--wn-a)/.075),
        0 22px 54px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.07);
}
@media(prefers-reduced-motion:reduce){
    .world-nav.is-open .world-nav-card{
        animation:none!important;
    }
    .world-nav-card::after{
        transition:none!important;
    }
}

/* =========================================================
   V12 — WORLD NAVIGATOR
   Searchable, grouped TE universe matrix.
   ========================================================= */

.world-nav-panel{
    border-radius:36px;
}

.world-nav-tools{
    position:relative;
    z-index:2;
    margin:14px 14px 0;
    padding:10px;
    display:grid;
    grid-template-columns:minmax(260px,1fr) auto;
    gap:10px;
    align-items:center;
    border:1px solid rgba(255,255,255,.055);
    border-radius:20px;
    background:
        linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.008)),
        rgba(7,18,28,.44);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
    backdrop-filter:blur(16px) saturate(150%);
}

.world-nav-search-wrap{
    position:relative;
    min-width:0;
}

.world-nav-search{
    width:100%;
    min-height:44px;
    padding:0 44px 0 15px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:999px;
    outline:0;
    color:#fff;
    background:
        linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.01)),
        rgba(7,17,26,.72);
    font:600 .48rem/1 monospace;
    letter-spacing:.045em;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.world-nav-search::placeholder{
    color:rgba(255,255,255,.28);
}

.world-nav-search:focus{
    border-color:rgba(91,234,255,.28);
    box-shadow:
        0 0 0 4px rgba(91,234,255,.04),
        inset 0 1px 0 rgba(255,255,255,.055);
}

.world-nav-search-key{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    padding:6px 7px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:999px;
    color:rgba(255,255,255,.30);
    background:rgba(255,255,255,.02);
    font:700 .36rem/1 monospace;
}

.world-nav-groups{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.world-nav-group{
    min-height:38px;
    padding:0 11px;
    border:1px solid rgba(255,255,255,.065);
    border-radius:999px;
    color:rgba(255,255,255,.38);
    background:rgba(255,255,255,.012);
    cursor:pointer;
    font:700 .38rem/1 monospace;
    letter-spacing:.065em;
    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.world-nav-group:hover,
.world-nav-group.is-active{
    color:#fff;
    border-color:rgba(91,234,255,.22);
    background:
        linear-gradient(135deg,rgba(91,234,255,.07),rgba(173,140,255,.04));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

.world-nav-result-meta{
    position:relative;
    z-index:2;
    margin:8px 18px -3px;
    min-height:18px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    color:rgba(255,255,255,.25);
    font:600 .37rem/1 monospace;
    letter-spacing:.055em;
}

.world-nav-card{
    border-radius:24px;
}

.world-nav-card.is-hidden{
    display:none;
}

.world-nav-card.is-current::before{
    background:
        radial-gradient(circle at 12% 0%,rgb(var(--wn-a)/.16),transparent 38%),
        linear-gradient(180deg,rgba(255,255,255,.042),transparent 28%);
}

.world-nav-current-label{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.world-nav-current-label::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:rgb(var(--wn-a));
    box-shadow:0 0 13px rgb(var(--wn-a)/.48);
}

.world-nav-empty{
    grid-column:1/-1;
    min-height:180px;
    display:none;
    place-items:center;
    border:1px dashed rgba(255,255,255,.08);
    border-radius:24px;
    color:rgba(255,255,255,.34);
    background:rgba(255,255,255,.01);
    font:650 .5rem/1.5 monospace;
}

.world-nav-empty.is-visible{
    display:grid;
}

.world-nav-foot{
    border-radius:18px;
}

@media(max-width:920px){
    .world-nav-tools{
        grid-template-columns:1fr;
    }

    .world-nav-groups{
        justify-content:flex-start;
    }
}

@media(max-width:620px){
    .world-nav-panel{
        border-radius:24px;
    }

    .world-nav-tools{
        margin:9px 9px 0;
        padding:8px;
        border-radius:16px;
    }

    .world-nav-search{
        min-height:42px;
    }

    .world-nav-group{
        min-height:34px;
    }

    .world-nav-card{
        border-radius:20px;
    }
}

/* V12.2 — sharper matrix, stronger world identity */
@keyframes teWorldCardIn{
    from{
        opacity:0;
        transform:translateY(10px) scale(.988);
    }
    to{
        opacity:1;
        transform:none;
    }
}

.world-nav-card{
    min-height:196px;
    background:
        radial-gradient(circle at 0 0,rgb(var(--wn-a)/.13),transparent 42%),
        radial-gradient(circle at 100% 100%,rgb(var(--wn-b)/.085),transparent 42%),
        linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.014)),
        rgba(18,31,44,.76);
}

.world-nav-card small{
    font-size:.42rem;
}

.world-nav-card strong{
    font-size:1.08rem;
}

.world-nav-card p{
    color:rgba(238,246,255,.52);
    font-size:.48rem;
    line-height:1.52;
}

.world-nav-index{
    font-size:.44rem;
}

.world-nav-card-footer i{
    color:rgb(var(--wn-a)/.82);
    background:rgb(var(--wn-a)/.055);
}

.world-nav-card.is-current{
    background:
        radial-gradient(circle at 0 0,rgb(var(--wn-a)/.18),transparent 44%),
        radial-gradient(circle at 100% 100%,rgb(var(--wn-b)/.12),transparent 42%),
        linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.016)),
        rgba(20,34,48,.80);
}

@media(max-width:1320px){
    .world-nav-card{min-height:174px}
}

/* V12.3 — visual world cards */
.world-nav-visual{
    position:absolute;
    z-index:0;
    right:-10%;
    top:0;
    width:68%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    opacity:.16;
    filter:brightness(.92) saturate(1.08) contrast(1.02);
    pointer-events:none;
    transform:scale(1.035);
    mask-image:
        linear-gradient(90deg,transparent 0%,rgba(0,0,0,.24) 20%,#000 58%,#000 100%),
        linear-gradient(180deg,transparent 0%,#000 14%,#000 84%,transparent 100%);
    mask-composite:intersect;
    transition:
        opacity .32s ease,
        transform .46s cubic-bezier(.2,.75,.2,1),
        filter .32s ease;
}

.world-nav-card:hover .world-nav-visual,
.world-nav-card:focus-visible .world-nav-visual{
    opacity:.24;
    transform:scale(1.065);
    filter:brightness(1.02) saturate(1.12) contrast(1.02);
}

.world-nav-card.is-current .world-nav-visual{
    opacity:.22;
}

.world-nav-card>div,
.world-nav-card>.world-nav-index,
.world-nav-card>.world-nav-card-footer{
    position:relative;
    z-index:2;
}

.world-nav-card::before,
.world-nav-card::after{
    z-index:1;
}

.world-nav-card{
    isolation:isolate;
}

@media(max-width:620px){
    .world-nav-visual{
        width:82%;
        opacity:.11;
    }

    .world-nav-card:hover .world-nav-visual,
    .world-nav-card:focus-visible .world-nav-visual{
        opacity:.16;
    }
}

/* V13.4 — Quick Hubs row inside World Matrix */
.world-nav-hubs{
    position:relative;
    z-index:2;
    margin:0 14px 12px;
    padding:12px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:20px;
    background:
        linear-gradient(145deg,rgba(255,255,255,.03),rgba(255,255,255,.007)),
        rgba(7,18,28,.40);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.world-nav-hubs-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:9px;
}
.world-nav-hubs-head span{
    color:rgba(116,236,255,.68);
    font:700 .4rem/1 monospace;
    letter-spacing:.09em;
}
.world-nav-hubs-head b{
    color:rgba(255,255,255,.26);
    font:700 .36rem/1 monospace;
    letter-spacing:.06em;
}
.world-nav-hubs-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:7px;
}
.world-nav-hub{
    --hub-a:91 234 255;
    min-height:74px;
    padding:10px 11px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:9px;
    border:1px solid rgba(255,255,255,.065);
    border-radius:17px;
    color:inherit;
    background:
        radial-gradient(circle at 0 0,rgb(var(--hub-a)/.065),transparent 46%),
        rgba(255,255,255,.012);
    transition:
        transform .18s cubic-bezier(.2,.75,.2,1),
        border-color .18s ease,
        background .18s ease;
}
.world-nav-hub[data-accent="pink"]{--hub-a:255 114 183}
.world-nav-hub[data-accent="violet"]{--hub-a:173 140 255}
.world-nav-hub[data-accent="blue"]{--hub-a:108 141 255}
.world-nav-hub[data-accent="lime"]{--hub-a:184 255 104}
.world-nav-hub[data-accent="green"]{--hub-a:100 247 161}
.world-nav-hub:hover{
    transform:translateY(-2px);
    border-color:rgb(var(--hub-a)/.22);
    background:
        radial-gradient(circle at 0 0,rgb(var(--hub-a)/.10),transparent 46%),
        rgba(255,255,255,.018);
}
.world-nav-hub span{
    min-width:0;
}
.world-nav-hub strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:rgba(255,255,255,.72);
    font-size:.47rem;
}
.world-nav-hub small{
    display:block;
    margin-top:5px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:rgba(255,255,255,.28);
    font:600 .33rem/1 monospace;
}
.world-nav-hub i{
    width:24px;
    height:24px;
    flex:0 0 auto;
    display:grid;
    place-items:center;
    border:1px solid rgb(var(--hub-a)/.14);
    border-radius:50%;
    color:rgb(var(--hub-a)/.72);
    background:rgb(var(--hub-a)/.025);
    font-style:normal;
}
@media(max-width:1180px){
    .world-nav-hubs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
    .world-nav-hubs{
        margin:0 9px 9px;
        padding:9px;
        border-radius:16px;
    }
    .world-nav-hubs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:460px){
    .world-nav-hubs-grid{grid-template-columns:1fr}
}

/* =========================================================
   V15 — DEEP ROUTES / SPECIALIST HUB MATRIX
   ========================================================= */

.world-nav-hubs{
    position:relative;
    z-index:2;
    margin:0 14px 14px;
    padding:12px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.055);
    border-radius:22px;
    background:
        radial-gradient(circle at 8% 0%,rgba(91,234,255,.045),transparent 28%),
        radial-gradient(circle at 92% 100%,rgba(173,140,255,.035),transparent 30%),
        linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.006)),
        rgba(7,17,27,.40);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

.world-nav-hubs.is-filter-empty{
    display:none;
}

.world-nav-hubs-head{
    min-height:34px;
    padding:0 3px 10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid rgba(255,255,255,.05);
}

.world-nav-hubs-head span{
    color:rgba(116,236,255,.72);
    font:750 .42rem/1 monospace;
    letter-spacing:.105em;
}

.world-nav-hubs-head b{
    padding:6px 9px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:999px;
    color:rgba(255,255,255,.36);
    background:rgba(255,255,255,.014);
    font:700 .36rem/1 monospace;
    letter-spacing:.055em;
}

.world-nav-hubs-grid{
    margin-top:10px;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:7px;
}

.world-nav-hub{
    --hub-color:91 234 255;
    min-height:82px;
    padding:10px 11px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    position:relative;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.065);
    border-radius:18px;
    color:inherit;
    background:
        radial-gradient(circle at 0 0,rgb(var(--hub-color)/.07),transparent 44%),
        linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.007)),
        rgba(15,28,40,.62);
    box-shadow:
        0 10px 30px rgba(0,0,0,.08),
        inset 0 1px 0 rgba(255,255,255,.035);
    transition:
        transform .2s cubic-bezier(.2,.75,.2,1),
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.world-nav-hub[data-accent="pink"]{--hub-color:255 114 183}
.world-nav-hub[data-accent="violet"]{--hub-color:173 140 255}
.world-nav-hub[data-accent="lime"]{--hub-color:184 255 104}
.world-nav-hub[data-accent="green"]{--hub-color:100 247 161}
.world-nav-hub[data-accent="blue"]{--hub-color:108 141 255}
.world-nav-hub[data-accent="cyan"]{--hub-color:91 234 255}

.world-nav-hub::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    background:
        radial-gradient(circle at 10% 0%,rgb(var(--hub-color)/.08),transparent 32%),
        linear-gradient(180deg,rgba(255,255,255,.018),transparent 34%);
}

.world-nav-hub>*{
    position:relative;
    z-index:1;
}

.world-nav-hub:hover,
.world-nav-hub:focus-visible{
    transform:translateY(-2px);
    outline:none;
    border-color:rgb(var(--hub-color)/.24);
    background:
        radial-gradient(circle at 0 0,rgb(var(--hub-color)/.11),transparent 46%),
        linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.01)),
        rgba(17,31,44,.70);
    box-shadow:
        0 16px 38px rgba(0,0,0,.12),
        0 0 24px rgb(var(--hub-color)/.035),
        inset 0 1px 0 rgba(255,255,255,.05);
}

.world-nav-hub.is-hidden{
    display:none;
}

.world-nav-hub-index{
    color:rgb(var(--hub-color)/.58);
    font:750 .38rem/1 monospace;
    letter-spacing:.08em;
}

.world-nav-hub>span{
    min-width:0;
    display:grid;
    gap:5px;
}

.world-nav-hub strong{
    overflow:hidden;
    color:rgba(249,252,255,.80);
    font-size:.58rem;
    line-height:1.1;
    letter-spacing:-.01em;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.world-nav-hub small{
    overflow:hidden;
    color:rgba(238,246,255,.31);
    font:600 .35rem/1.2 monospace;
    letter-spacing:.045em;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.world-nav-hub i{
    width:26px;
    height:26px;
    display:grid;
    place-items:center;
    border:1px solid rgb(var(--hub-color)/.14);
    border-radius:50%;
    color:rgb(var(--hub-color)/.68);
    background:rgb(var(--hub-color)/.025);
    font-style:normal;
    transition:transform .2s ease,background .2s ease;
}

.world-nav-hub:hover i{
    transform:translate(2px,-2px);
    background:rgb(var(--hub-color)/.07);
}

.world-nav.is-open .world-nav-hub{
    animation:teHubCardIn .34s cubic-bezier(.2,.75,.2,1) both;
    animation-delay:calc(var(--hub-index,0) * 18ms + 90ms);
}

@keyframes teHubCardIn{
    from{opacity:0;transform:translateY(7px) scale(.99)}
    to{opacity:1;transform:none}
}

@media(max-width:1200px){
    .world-nav-hubs-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){
    .world-nav-hubs{
        margin:0 9px 9px;
        padding:9px;
        border-radius:18px;
    }

    .world-nav-hubs-grid{
        grid-template-columns:1fr;
    }

    .world-nav-hub{
        min-height:70px;
        border-radius:16px;
    }
}

@media(prefers-reduced-motion:reduce){
    .world-nav.is-open .world-nav-hub{
        animation:none!important;
    }
}

/* =========================================================
   V12.6 — DEEP HUBS RAIL
   Secondary specialist navigation beneath the 10 Worlds.
   ========================================================= */

.world-nav-hubs{
    position:relative;
    z-index:2;
    margin:2px 14px 0;
    padding:12px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:22px;
    background:
        radial-gradient(circle at 6% 0%,rgba(91,234,255,.045),transparent 28%),
        radial-gradient(circle at 94% 100%,rgba(173,140,255,.035),transparent 32%),
        linear-gradient(145deg,rgba(255,255,255,.026),rgba(255,255,255,.006)),
        rgba(6,16,25,.42);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.world-nav-hubs-head{
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:0 3px 9px;
    border-bottom:1px solid rgba(255,255,255,.045);
}

.world-nav-hubs-head>div{
    display:flex;
    align-items:baseline;
    gap:10px;
    min-width:0;
}

.world-nav-hubs-head span{
    color:rgba(116,236,255,.62);
    font:700 .37rem/1 monospace;
    letter-spacing:.09em;
}

.world-nav-hubs-head strong{
    color:rgba(255,255,255,.56);
    font-size:.49rem;
}

.world-nav-hubs-head>small{
    flex:0 0 auto;
    color:rgba(255,255,255,.22);
    font:650 .34rem/1 monospace;
    letter-spacing:.075em;
}

.world-nav-hub-grid{
    margin-top:9px;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:6px;
}

.world-nav-hub{
    --hub-a:91 234 255;
    --hub-b:173 140 255;
    min-height:67px;
    padding:9px 10px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.055);
    border-radius:17px;
    color:inherit;
    background:
        radial-gradient(circle at 0 0,rgb(var(--hub-a)/.055),transparent 44%),
        linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.005)),
        rgba(255,255,255,.008);
    transition:
        transform .18s cubic-bezier(.2,.75,.2,1),
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.world-nav-hub:hover,
.world-nav-hub:focus-visible{
    transform:translateY(-2px);
    border-color:rgb(var(--hub-a)/.20);
    background:
        radial-gradient(circle at 0 0,rgb(var(--hub-a)/.10),transparent 46%),
        radial-gradient(circle at 100% 100%,rgb(var(--hub-b)/.055),transparent 44%),
        rgba(255,255,255,.014);
    box-shadow:
        0 14px 34px rgba(0,0,0,.11),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.world-nav-hub>span{
    min-width:0;
    display:grid;
    gap:5px;
}

.world-nav-hub small{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:rgb(var(--hub-a)/.58);
    font:700 .32rem/1 monospace;
    letter-spacing:.065em;
}

.world-nav-hub strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:rgba(255,255,255,.76);
    font-size:.48rem;
    line-height:1.15;
}

.world-nav-hub>i{
    max-width:82px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    padding:5px 6px;
    border:1px solid rgb(var(--hub-a)/.11);
    border-radius:999px;
    color:rgb(var(--hub-a)/.50);
    background:rgb(var(--hub-a)/.02);
    font:650 .29rem/1 monospace;
    font-style:normal;
}

.world-nav-hub.is-current{
    border-color:rgb(var(--hub-a)/.30);
    background:
        radial-gradient(circle at 0 0,rgb(var(--hub-a)/.13),transparent 46%),
        radial-gradient(circle at 100% 100%,rgb(var(--hub-b)/.08),transparent 44%),
        rgba(255,255,255,.016);
    box-shadow:
        0 0 0 1px rgb(var(--hub-a)/.045),
        0 0 24px rgb(var(--hub-a)/.045),
        inset 0 1px 0 rgba(255,255,255,.045);
}

.world-nav-hub.is-current>i{
    color:#fff;
    border-color:rgb(var(--hub-a)/.22);
    background:rgb(var(--hub-a)/.055);
}

@media(max-width:1320px){
    .world-nav-hub-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media(max-width:920px){
    .world-nav-hub-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:620px){
    .world-nav-hubs{
        margin:2px 9px 0;
        padding:9px;
        border-radius:17px;
    }

    .world-nav-hubs-head>div{
        display:grid;
        gap:4px;
    }

    .world-nav-hub-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .world-nav-hub{
        min-height:61px;
        border-radius:15px;
    }

    .world-nav-hub>i{
        display:none;
    }
}

/* V12.6 alias for existing deep-hub runtime grid */
.world-nav-hubs-grid{
    margin-top:9px;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:6px;
}

@media(max-width:1320px){
    .world-nav-hubs-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media(max-width:920px){
    .world-nav-hubs-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:620px){
    .world-nav-hubs-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* V26 — owner request: no decorative 01/02/03 numbering */
.world-nav-index,
.world-nav-hub-index{
    display:none!important;
}
