.gamenexus-admin-nav > .gamenexus-admin-nav-list > li.has-children.is-wownexus-root > .gamenexus-admin-nav-row a::before { border-bottom-width: 6px; }
html:has(.gamenexus-shell) {
    scrollbar-gutter: stable;
}

.gamenexus-shell {
    --wow-bg: #080b10;
    --wow-panel: #121821;
    --wow-panel-deep: #0c1219;
    --wow-line: #2a3a47;
    --wow-cyan: #36b8f4;
    --wow-cyan-soft: rgba(54, 184, 244, 0.18);
    --wow-text: #f2f5f7;
    --wow-muted: #8996a3;
    width: 100%;
    max-width: 1520px;
    box-sizing: border-box;
    min-height: calc(100vh - 190px);
    margin: 0 auto 24px;
    color: var(--wow-text);
    background:
        linear-gradient(rgba(3, 9, 14, 0.28), rgba(3, 9, 14, 0.5)),
        url("assets/gamenexus-background.png?v=2") center top / 1520px auto scroll,
        var(--wow-bg);
    background-repeat: no-repeat;
    padding: 18px;
}

.gamenexus-shell * { box-sizing: border-box; }

body.admin-page.gamenexus-admin-page {
    background:
        radial-gradient(circle at top left, rgba(54, 184, 244, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(14, 85, 120, 0.16), transparent 24%),
        linear-gradient(145deg, #060a0f, #0a131d 56%, #0b1a25 100%);
}

.gamenexus-admin-page .site-header {
    border-color: rgba(54, 184, 244, 0.26);
    background: rgba(5, 14, 22, 0.9);
    box-shadow: none;
}

.gamenexus-admin-page .site-brand span { color: #8996a3; }

.gamenexus-admin-page .admin-nav .nav-link {
    color: #b9d8e7;
}

.gamenexus-admin-page .admin-nav .nav-link:hover {
    color: #e8f8ff;
}

.gamenexus-admin-page .admin-nav .nav-link.active {
    color: #f2fbff;
}

.gamenexus-admin-page .admin-nav .nav-link.active::after {
    background: var(--wow-cyan);
    box-shadow: 0 0 10px rgba(54, 184, 244, 0.65);
}

.gamenexus-admin-page .admin-nav-dropdown {
    border-color: rgba(54, 184, 244, 0.34);
    background: #07141e;
}

.gamenexus-admin-page .admin-nav-dropdown a {
    color: #b9d8e7;
}

.gamenexus-admin-page .admin-nav-dropdown a:hover,
.gamenexus-admin-page .admin-nav-dropdown a.active {
    border-left-color: var(--wow-cyan);
    background: rgba(54, 184, 244, 0.14);
    color: #f2fbff;
}

.gamenexus-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
    margin-bottom: 18px;
    padding: 20px 28px 18px;
    overflow: hidden;
    border-bottom: 1px solid var(--wow-cyan);
    background: transparent;
}

.gamenexus-header::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 43%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--wow-cyan));
    content: "";
}

.gamenexus-header-slashes { display: none; }

.gamenexus-header-left,
.gamenexus-header-right { position: relative; z-index: 1; min-width: 0; }
.gamenexus-header-left { display: grid; gap: 6px; }
.gamenexus-edit-line { display: flex; align-items: center; gap: 8px; }
.gamenexus-edit-line:first-child { position: relative; z-index: 0; width: fit-content; margin-left: -12px; padding: 7px 24px 7px 12px; isolation: isolate; }
.gamenexus-edit-line:first-child::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 0, 0.9), rgba(0, 4, 8, 0.72)); box-shadow: 14px 8px 20px rgba(0, 0, 0, 0.34); content: ""; transform: skewX(-13deg); }
.gamenexus-header h1 { display: flex; align-items: center; margin: 0; color: var(--wow-text); font-size: 1.7rem; font-weight: 800; letter-spacing: 0.04em; }
.gamenexus-controller { width: auto; height: 38px; margin-right: 12px; fill: var(--wow-cyan); filter: drop-shadow(0 2px 5px rgba(54, 184, 244, 0.22)); }
.gamenexus-controller-detail { fill: none; stroke: #06111b; stroke-linecap: round; stroke-width: 3px; }
.gamenexus-brand-art { display: block; width: 58px; height: 38px; margin-right: 12px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(54, 184, 244, 0.22)); }
.gamenexus-title-game { color: var(--wow-text); }
.gamenexus-title-nexus { color: var(--wow-cyan); }
.gamenexus-description-line p { min-width: 120px; min-height: 1.15em; margin: 0; color: #aab8c2; font-size: 0.88rem; white-space: pre-wrap; }
.gamenexus-header-right { position: absolute; z-index: 2; top: 54px; right: 5.8%; display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: 32.8%; color: #b9c7d2; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; text-align: right; }
.gamenexus-pencil { width: 26px; height: 26px; padding: 0; border: 1px solid rgba(0, 200, 215, 0.32); border-radius: 4px; background: rgba(0, 23, 33, 0.75); color: var(--wow-cyan); font: inherit; cursor: pointer; }
.gamenexus-pencil:hover { border-color: var(--wow-cyan); background: var(--wow-cyan-soft); }
.gamenexus-header-edit { position: absolute; z-index: 2; top: 12px; right: 12px; }

.gamenexus-panel {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(42, 58, 71, 0.95);
    border-radius: 5px;
    background:
        linear-gradient(rgba(5, 14, 22, 0.38), rgba(5, 14, 22, 0.6)),
        url("assets/gamenexus-panel-background.png?v=1") center top / 100% auto no-repeat;
    box-shadow: inset 0 1px 0 rgba(157, 203, 219, 0.035), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.gamenexus-panel::before {
    position: absolute;
    top: -1px;
    left: 18px;
    width: 68px;
    height: 1px;
    background: var(--wow-cyan);
    box-shadow: 0 0 10px rgba(0, 200, 215, 0.42);
    content: "";
}

.gamenexus-games-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px;
}

.gamenexus-home-brand {
    color: var(--wow-text);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

.gamenexus-home-brand::first-letter { color: var(--wow-cyan); }

.gamenexus-panel-caption {
    color: var(--wow-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gamenexus-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(90px, auto) minmax(420px, 1fr);
    gap: 18px;
}

.gamenexus-games-panel,
.gamenexus-content-panel { grid-column: 1 / -1; }

.gamenexus-content-panel { padding: 18px; }

.gamenexus-content-stack { min-width: 0; }
.gamenexus-selected-menu-band {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    min-height: 54px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: hidden;
    background: transparent;
    box-shadow: inset 0 -1px 0 rgba(54, 184, 244, 0.52), inset 0 1px 0 rgba(54, 184, 244, 0.2), 0 14px 30px rgba(0, 0, 0, 0.72);
    text-align: center;
}
.gamenexus-selected-menu-band::before,
.gamenexus-selected-menu-band::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}
.gamenexus-selected-menu-band::before {
    inset: 6px 9%;
    border-top: 1px solid rgba(54, 184, 244, 0.58);
    border-bottom: 1px solid rgba(54, 184, 244, 0.38);
    background: repeating-linear-gradient(112deg, transparent 0 34px, rgba(54, 184, 244, 0.22) 35px 37px, transparent 38px 78px);
    box-shadow: 0 0 14px rgba(54, 184, 244, 0.22), inset 0 0 22px rgba(0, 120, 170, 0.2);
    transform: skewX(-14deg);
}
.gamenexus-selected-menu-band::after {
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0 4%, rgba(54, 184, 244, 0.72) 12% 30%, transparent 39% 61%, rgba(54, 184, 244, 0.72) 70% 88%, transparent 96% 100%);
    box-shadow: 0 0 13px rgba(54, 184, 244, 0.4);
}
.gamenexus-selected-menu-band strong {
    position: relative;
    z-index: 1;
    color: var(--wow-text);
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 0 #02070a, 0 0 12px rgba(54, 184, 244, 0.48), 0 8px 16px rgba(0, 0, 0, 0.94);
}
.gamenexus-content-stack .gamenexus-content-panel {
    border-top-color: rgba(54, 184, 244, 0.62);
}

.gamenexus-menu-panel { display: block; padding: 14px 18px 18px; }
.gamenexus-menu-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; margin-bottom: 12px; }
.gamenexus-menu-create-root,
.gamenexus-menu-icon,
.gamenexus-menu-handle { border: 1px solid rgba(54, 184, 244, 0.3); border-radius: 4px; background: rgba(4, 18, 28, 0.82); color: var(--wow-text); cursor: pointer; }
.gamenexus-menu-visibility { position: relative; }
.gamenexus-menu-visibility span { display: block; width: 15px; height: 9px; border: 1.5px solid var(--wow-cyan); border-radius: 50%; }
.gamenexus-menu-visibility span::after { display: block; width: 4px; height: 4px; margin: 1px auto; border-radius: 50%; background: var(--wow-cyan); content: ""; }
.gamenexus-menu-visibility.is-hidden { color: var(--wow-muted); }
.gamenexus-menu-visibility.is-hidden span { border-color: var(--wow-muted); }
.gamenexus-menu-visibility.is-hidden span::after { background: var(--wow-muted); }
.gamenexus-menu-visibility.is-hidden::after { position: absolute; width: 19px; height: 1.5px; background: var(--wow-muted); content: ""; transform: rotate(-42deg); }
.gamenexus-menu-node.is-hidden > .gamenexus-menu-row .gamenexus-menu-title { color: var(--wow-muted); text-decoration: line-through; text-decoration-color: rgba(148,163,184,.55); }
.gamenexus-menu-create-root { padding: 7px 11px; color: var(--wow-cyan); font: inherit; font-size: 0.82rem; font-weight: 700; }
.gamenexus-menu-create-root:hover { border-color: var(--wow-cyan); background: rgba(0, 174, 188, 0.12); }
.gamenexus-menu-tree { max-width: none; overflow: visible; }
.gamenexus-menu-empty { margin: 0; color: var(--wow-muted); font-size: 0.9rem; }
.gamenexus-menu-root-dropzone { display: grid; max-width: 220px; min-height: 30px; place-items: center; margin-top: 10px; border: 1px dashed rgba(54, 184, 244, 0.34); border-radius: 4px; color: var(--wow-muted); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.gamenexus-menu-root-dropzone.is-drop-root { border-color: #f6c75c; background: rgba(246, 199, 92, 0.11); color: #f6c75c; box-shadow: 0 0 12px rgba(246, 199, 92, 0.2); }
.gamenexus-menu-tree-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gamenexus-menu-tree-list[hidden] { display: none !important; }
.gamenexus-admin-brand { display: block; color: inherit; text-decoration: none; }.gamenexus-admin-navigation { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; overflow: visible; }.gamenexus-menu-panel-head { position: relative; z-index: 30; justify-content: space-between; min-height: 50px; margin-bottom: 0; }.gamenexus-menu-panel-edit { display: grid; width: 50px; height: 50px; place-items: center; color: var(--wow-cyan); font-size: 1.45rem; text-decoration: none; }.gamenexus-admin-nav { display: flex; justify-content: flex-start; }.gamenexus-admin-nav-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }.gamenexus-admin-nav-list[hidden] { display: none !important; }.gamenexus-admin-nav > .gamenexus-admin-nav-list { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; }.gamenexus-admin-nav-list > li { position: relative; min-width: 0; }.gamenexus-admin-nav > .gamenexus-admin-nav-list > li { flex: 0 0 auto; }.gamenexus-admin-nav-row { display: flex; align-items: center; gap: 6px; }.gamenexus-admin-nav-row a { position: relative; z-index: 0; display: inline-flex; min-height: 34px; align-items: center; padding: 7px 16px; color: var(--wow-cyan); font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-decoration: none; white-space: nowrap; isolation: isolate; }.gamenexus-admin-nav-row a::before { position: absolute; z-index: -1; inset: 0; border: 1px solid rgba(54,184,244,.36); border-radius: 3px; background: linear-gradient(100deg, rgba(0,0,0,.91), rgba(0,15,25,.78)); box-shadow: 7px 5px 14px rgba(0,0,0,.26); content: ""; transform: skewX(-10deg); }.gamenexus-admin-nav > .gamenexus-admin-nav-list > li.has-children > .gamenexus-admin-nav-row a::before { border-bottom-width: 12px; }.gamenexus-admin-nav-list .gamenexus-admin-nav-list > li.has-children > .gamenexus-admin-nav-row a::before { border-right-width: 12px; }.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-row a::before { border: 0; border-radius: 0; background: transparent; box-shadow: none; }.gamenexus-admin-nav-row a:hover::before,.gamenexus-admin-nav-list > li.is-selected > .gamenexus-admin-nav-row a::before { border-color: var(--wow-cyan); background: linear-gradient(100deg, rgba(2,17,27,.96), rgba(0,80,107,.55)); }.gamenexus-admin-nav > .gamenexus-admin-nav-list > li > .gamenexus-admin-nav-list { position: absolute; z-index: 25; top: 100%; left: -4px; min-width: max-content; padding: 8px; border: 1px solid rgba(54,184,244,.42); border-radius: 3px; background: linear-gradient(145deg, rgba(5,20,31,.98), rgba(3,11,18,.98)); box-shadow: 0 14px 30px rgba(0,0,0,.5); }.gamenexus-admin-nav > .gamenexus-admin-nav-list > li > .gamenexus-admin-nav-list::before { position: absolute; top: 0; bottom: 0; left: -12px; width: 12px; content: ""; }.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-list { position: absolute; z-index: 26; top: -8px; left: calc(100% + 12px); min-width: max-content; padding: 8px; border: 1px solid rgba(54,184,244,.42); border-radius: 3px; background: linear-gradient(145deg, rgba(5,20,31,.98), rgba(3,11,18,.98)); box-shadow: 0 14px 30px rgba(0,0,0,.5); }.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-list::before { position: absolute; top: 0; bottom: 0; left: -12px; width: 12px; content: ""; }
.gamenexus-menu-editor[hidden], .gamenexus-content-view[hidden] { display: none !important; }.gamenexus-menu-editor-tree > .gamenexus-menu-tree-list { gap: 5px; }.gamenexus-menu-editor-tree .gamenexus-menu-node > .gamenexus-menu-tree-list { position: static !important; z-index: auto !important; min-width: 0 !important; margin: 5px 0 0 25px !important; padding: 0 0 0 15px !important; border: 0 !important; border-left: 1px solid rgba(54,184,244,.3) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }.gamenexus-menu-tree-indent { width: 25px; height: 25px; }.gamenexus-menu-editor-tree .gamenexus-menu-row { grid-template-columns: 25px 30px minmax(0,1fr) auto; }.gamenexus-menu-editor-tree .gamenexus-menu-node + .gamenexus-menu-node { margin-top: 5px; }
.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-row a::before { border: 1px solid rgba(54,184,244,.36); border-radius: 3px; background: linear-gradient(100deg, rgba(0,0,0,.91), rgba(0,15,25,.78)); box-shadow: 7px 5px 14px rgba(0,0,0,.26); }.gamenexus-admin-nav-list .gamenexus-admin-nav-list > li.has-children > .gamenexus-admin-nav-row a::before { border-right-width: 12px; }.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-list { top: -9px; left: calc(100% + 8px); }.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-list.has-shared-menu-edge::after { position: absolute; z-index: 2; top: var(--gamenexus-shared-edge-top); left: -2px; width: 4px; height: var(--gamenexus-shared-edge-height); background: #04111a; content: ""; pointer-events: none; }.gamenexus-admin-nav-list .gamenexus-admin-nav-list > li { width: 100%; }
.gamenexus-admin-nav > .gamenexus-admin-nav-list > li > .gamenexus-admin-nav-list,
.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-list { border-radius: 0; background: #07141e !important; box-shadow: none; }.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-list.has-shared-menu-edge::after { background: #07141e; }
.gamenexus-admin-nav-list .gamenexus-admin-nav-list .gamenexus-admin-nav-row a::before { box-shadow: none; }
.gamenexus-menu-tree > .gamenexus-menu-tree-list { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 10px; }
.gamenexus-menu-tree > .gamenexus-menu-tree-list > .gamenexus-menu-node { flex: 0 0 310px; }
.gamenexus-menu-node { position: relative; min-width: 0; }
.gamenexus-menu-tree > .gamenexus-menu-tree-list > .gamenexus-menu-node > .gamenexus-menu-tree-list { position: absolute; z-index: 20; top: 100%; left: 0; min-width: 100%; margin: 0; padding: 8px; border: 1px solid rgba(54,184,244,.42); border-radius: 4px; background: linear-gradient(145deg, rgba(5,20,31,.98), rgba(3,11,18,.98)); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.gamenexus-menu-node > .gamenexus-menu-tree-list > .gamenexus-menu-node + .gamenexus-menu-node { margin-top: 6px; }
.gamenexus-menu-node > .gamenexus-menu-tree-list > .gamenexus-menu-node > .gamenexus-menu-tree-list { position: absolute; z-index: 21; top: 0; left: 100%; min-width: 100%; margin: 0; padding: 8px; border: 1px solid rgba(54,184,244,.42); border-radius: 4px; background: linear-gradient(145deg, rgba(5,20,31,.98), rgba(3,11,18,.98)); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.gamenexus-menu-row { position: relative; display: grid; grid-template-columns: 25px 30px minmax(0, 1fr) auto; align-items: center; min-height: 42px; gap: 7px; padding: 5px 7px; border: 1px solid rgba(42, 83, 108, 0.7); border-radius: 4px; background: rgba(3, 15, 24, 0.64); cursor: grab; user-select: none; }
.gamenexus-menu-row:active { cursor: grabbing; }
.gamenexus-menu-title { overflow: hidden; padding: 0; border: 0; background: transparent; color: var(--wow-text); font: inherit; font-size: 0.92rem; font-weight: 700; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.gamenexus-menu-title:hover { color: var(--wow-cyan); }
.gamenexus-menu-node.is-selected > .gamenexus-menu-row { border-color: var(--wow-cyan); box-shadow: inset 0 0 0 1px rgba(54, 184, 244, 0.24), 0 0 13px rgba(54, 184, 244, 0.12); }
.gamenexus-menu-icon { width: 25px; height: 25px; padding: 0; font: inherit; line-height: 1; }
.gamenexus-menu-content-action { display: grid; place-items: center; color: var(--wow-cyan); text-decoration: none; }
.gamenexus-menu-collapse { display: grid; place-items: center; color: var(--wow-cyan); font-size: .66rem; line-height: 1; }
.gamenexus-pedia-status { display: grid; width: 25px; height: 25px; place-items: center; padding: 0; border: 1px solid; border-radius: 0; font: inherit; font-weight: 900; line-height: 1; }
.gamenexus-pedia-status.is-pending { border-color: rgba(255, 91, 91, .74); background: rgba(128, 20, 28, .72); color: #ff7373; cursor: pointer; }
.gamenexus-pedia-status.is-complete { border-color: rgba(56, 207, 133, .78); background: rgba(12, 105, 64, .72); color: #65e6a5; cursor: pointer; }
.gamenexus-pedia-status.is-empty { border-color: rgba(137, 150, 163, .38); background: rgba(10, 18, 25, .72); color: var(--wow-muted); cursor: default; }
.gamenexus-menu-title.has-pedia-content { color: #e6f8ff; }
.gamenexus-menu-icon:hover:not(:disabled) { border-color: var(--wow-cyan); color: var(--wow-cyan); }
.gamenexus-menu-toggle { color: var(--wow-cyan); font-size: 0; }.gamenexus-menu-toggle::before { content: "▼"; font-size: .72rem; }.gamenexus-menu-toggle[aria-expanded="true"]::before { content: "▲"; }
.gamenexus-menu-toggle.is-empty { opacity: 0; cursor: default; }
.gamenexus-menu-handle { width: 30px; height: 25px; padding: 0; color: var(--wow-muted); font-size: 0.9rem; }
.gamenexus-menu-handle:hover { border-color: var(--wow-cyan); color: var(--wow-cyan); }
.gamenexus-menu-actions { display: flex; align-items: center; gap: 5px; }
.gamenexus-menu-delete:hover { border-color: #ef6262 !important; color: #ff8585 !important; }
.gamenexus-menu-node.is-dragging { opacity: 0.38; }
.gamenexus-menu-node.is-drop-before > .gamenexus-menu-row::before,
.gamenexus-menu-node.is-drop-after > .gamenexus-menu-row::after { position: absolute; right: 0; left: 0; height: 2px; background: #f6c75c; box-shadow: 0 0 10px rgba(246, 199, 92, 0.75); content: ""; }
.gamenexus-menu-node.is-drop-before > .gamenexus-menu-row::before { top: -4px; }
.gamenexus-menu-node.is-drop-after > .gamenexus-menu-row::after { bottom: -4px; }
.gamenexus-menu-node.is-drop-child > .gamenexus-menu-row { border-color: #f6c75c; box-shadow: inset 0 0 0 1px rgba(246, 199, 92, 0.32), 0 0 12px rgba(246, 199, 92, 0.2); }
.gamenexus-menu-content-list { display: grid; gap: 9px; }
.gamenexus-content-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid rgba(54, 184, 244, 0.22); border-radius: 0; background: rgba(3, 15, 24, 0.62); }
.gamenexus-content-item h2 { margin: 0; color: var(--wow-text); font-size: 1rem; }
.gamenexus-content-item p { margin: 5px 0 0; color: var(--wow-muted); font-size: .86rem; }
.gamenexus-content-empty { display: grid; gap: 6px; min-height: 140px; place-content: center; border: 1px dashed rgba(54, 184, 244, 0.3); border-radius: 0; color: var(--wow-muted); text-align: center; }
.gamenexus-content-empty strong { color: var(--wow-cyan); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.gamenexus-content-pager { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--wow-muted); font-size: .82rem; }
.gamenexus-content-pager label { display: flex; align-items: center; gap: 8px; }
.gamenexus-content-pager select { min-width: 68px; padding: 5px 7px; border: 1px solid rgba(54, 184, 244, 0.3); border-radius: 0; background: #07141e; color: var(--wow-text); }
.gamenexus-content-pager a { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(54, 184, 244, 0.3); color: var(--wow-cyan); text-decoration: none; }
.gamenexus-content-pager a:hover { border-color: var(--wow-cyan); background: rgba(54, 184, 244, 0.12); }
.gamenexus-modal-dialog.gamenexus-content-modal-dialog { width: 80vw; max-width: calc(100vw - 44px); }
.gamenexus-content-modal-dialog .editor-mode-switch { margin: 0; }
.gamenexus-content-modal-dialog .gamenexus-modal-head { display: grid; grid-template-columns: minmax(0, 1fr) 36px; width: 100%; }
.gamenexus-content-modal-dialog .gamenexus-modal-head h2 { display: block; overflow: hidden; color: var(--wow-text); white-space: nowrap; text-overflow: ellipsis; }
.gamenexus-content-modal-dialog .gamenexus-modal-head .gamenexus-modal-close { display: grid; width: 36px; height: 36px; place-items: center; justify-self: end; margin: 0; }
#gamenexus-content-form .gamenexus-content-title-field { width: 100%; }
#gamenexus-content-form .gamenexus-content-title-row { display: flex; align-items: center; gap: 10px; width: min(740px, 100%); }
#gamenexus-content-form .gamenexus-content-title-row > input { min-width: 0; flex: 1 1 300px; }
#gamenexus-content-form .gamenexus-content-title-row .editor-mode-switch { flex: 0 0 auto; }
#gamenexus-content-form .editor-mode-button { min-width: 0; padding: 7px 10px; font-size: .8rem; }
#gamenexus-content-form .gamenexus-content-plain textarea { min-height: 390px; }
.gamenexus-content-plain.is-hidden,
.gamenexus-content-rich.is-hidden { display: none; }
.gamenexus-timeline-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.gamenexus-timeline-head .gamenexus-menu-create-root:first-of-type { margin-left: auto; text-decoration: none; }
.gamenexus-timeline-title { margin: 0 0 16px; color: var(--wow-text); font-size: 1.25rem; }
.gamenexus-alpha-nav { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; }
.gamenexus-alpha-nav a { min-width: 25px; padding: 4px; border: 1px solid rgba(54,184,244,.25); border-radius: 3px; color: var(--wow-cyan); font-size: .78rem; text-align: center; text-decoration: none; }
.gamenexus-alpha-nav a.is-disabled { opacity: .28; pointer-events: none; }
.gamenexus-game-groups { display: grid; gap: 14px; }
.gamenexus-game-groups section { display: grid; gap: 6px; }
.gamenexus-game-groups h2 { margin: 0; padding-bottom: 5px; border-bottom: 1px solid rgba(54,184,244,.26); color: var(--wow-cyan); font-size: 1rem; }
.gamenexus-game-groups a { color: var(--wow-text); text-decoration: none; }.gamenexus-game-groups a:hover { color: var(--wow-cyan); }
.gamenexus-timeline-tree { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }.gamenexus-timeline-tree[hidden] { display: none; }
.gamenexus-content-panel > .gamenexus-timeline-tree { position: relative; }
.gamenexus-timeline-node { position: relative; }.gamenexus-timeline-node.is-root { display: grid; grid-template-columns: 82px minmax(0, 1fr); column-gap: 12px; }.gamenexus-timeline-axis { position: relative; display: flex; justify-content: flex-end; align-items: center; padding-right: 28px; color: #70c9fb; font-size: .94rem; font-weight: 800; }.gamenexus-timeline-axis i { position: absolute; z-index: 1; top: 50%; right: 3px; width: 13px; height: 13px; border: 2px solid #8ed6ff; border-radius: 50%; background: #173b54; box-shadow: 0 0 14px rgba(85,196,255,.75); transform: translateY(-50%); }.gamenexus-timeline-node.is-root:not(:last-child)::after { position: absolute; z-index: 0; top: 52px; bottom: -62px; left: 72px; width: 1px; background: linear-gradient(#45c4f5, rgba(69,196,245,.65)); box-shadow: 0 0 8px rgba(69,196,245,.4); content: ""; }
.gamenexus-timeline-node > .gamenexus-timeline-tree { position: relative; grid-column: 2; margin: 8px 0 0 18px; padding-left: 15px; }.gamenexus-timeline-node.is-root > .gamenexus-timeline-tree { margin-left: 137px; }.gamenexus-timeline-node > .gamenexus-timeline-tree::before { content: none; }.gamenexus-timeline-node > .gamenexus-timeline-tree > .gamenexus-timeline-node:first-child:not(.is-root) > .gamenexus-timeline-row::after { position: absolute; z-index: 0; top: -9px; bottom: 50%; left: -18px; width: 1px; background: rgba(87,201,247,.65); box-shadow: 0 0 7px rgba(87,201,247,.3); content: ""; }
.gamenexus-timeline-node.is-root:has(.gamenexus-timeline-row.no-image)::after { top: 30px; }
.gamenexus-timeline-node:not(.is-root):not(:last-child) > .gamenexus-timeline-row::before { position: absolute; top: 50%; bottom: calc(-50% - 10px); left: -18px; width: 1px; background: rgba(87,201,247,.65); box-shadow: 0 0 7px rgba(87,201,247,.3); content: ""; }.gamenexus-timeline-child-marker { position: absolute; z-index: 1; top: 50%; left: -24px; width: 13px; height: 13px; border: 2px solid #8ed6ff; border-radius: 50%; background: #173b54; box-shadow: 0 0 12px rgba(85,196,255,.6); transform: translateY(-50%); }.gamenexus-timeline-child-year { position: absolute; top: 50%; left: -76px; color: #70c9fb; font-size: .82rem; font-weight: 800; transform: translateY(-50%); }
.gamenexus-timeline-row { position: relative; display: grid; align-items: center; gap: 9px; min-height: 60px; padding: 6px 9px; border: 1px solid rgba(42,83,108,.8); border-radius: 5px; background: linear-gradient(90deg, rgba(4,22,34,.9), rgba(4,15,23,.7)); cursor: grab; }.gamenexus-timeline-row.has-image { grid-template-columns: 152px minmax(0,1fr) auto 30px 42px; }.gamenexus-timeline-row.no-image { grid-template-columns: minmax(0,1fr) auto 30px 42px; }.gamenexus-timeline-node.is-timeline-dragging { opacity: .38; }.gamenexus-timeline-node.is-timeline-drop-before > .gamenexus-timeline-row::after,.gamenexus-timeline-node.is-timeline-drop-after > .gamenexus-timeline-row::after { position:absolute; right:0; left:0; height:2px; background:#f6c75c; box-shadow:0 0 10px rgba(246,199,92,.75); content:""; }.gamenexus-timeline-node.is-timeline-drop-before > .gamenexus-timeline-row::after { top:-4px; }.gamenexus-timeline-node.is-timeline-drop-after > .gamenexus-timeline-row::after { bottom:-4px; }.gamenexus-timeline-node.is-timeline-drop-child > .gamenexus-timeline-row { border-color:#f6c75c; box-shadow:inset 0 0 0 1px rgba(246,199,92,.32); }
.gamenexus-timeline-title-patch { display: flex; align-items: center; min-width: 0; gap: 5ch; }.gamenexus-timeline-row strong { overflow-wrap: anywhere; color: var(--wow-text); line-height: 1.3; }.gamenexus-timeline-row.has-image strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.gamenexus-timeline-title-patch span { flex: 0 0 auto; color: #9ec9df; font-size: .84rem; }.gamenexus-timeline-spacer { width: 42px; }.gamenexus-timeline-thumb { display: block; width: 152px; height: 92px; max-width: none; border: 0; border-radius: 3px; background: #06111a; object-fit: contain; }.gamenexus-timeline-toggle { display: grid; width: 42px; height: 28px; place-items: center; overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--wow-cyan); font-size: 0; line-height: 1; }.gamenexus-timeline-toggle::after { display: none; }.gamenexus-timeline-toggle:hover { color: #d8f5ff; }.gamenexus-timeline-toggle::before { display: block; width: 100%; content: "▼"; font-size: 1rem; font-weight: 700; line-height: 1; text-align: center; transform: translateY(-1px); }.gamenexus-timeline-toggle[aria-expanded="true"]::before { content: "▲"; transform: translateY(1px); }
.gamenexus-remove-image { display: flex !important; grid-template-columns: auto !important; align-items: center; }
.gamenexus-image-dropzone { display: grid; min-height: 100px; place-items: center; gap: 4px; border: 1px dashed rgba(54,184,244,.45); border-radius: 4px; background: rgba(4,18,28,.5); color: var(--wow-muted); cursor: pointer; text-align: center; }.gamenexus-image-dropzone strong { color: var(--wow-text); }.gamenexus-image-dropzone input { position: absolute; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }.gamenexus-image-dropzone.is-dragover { border-color: var(--wow-cyan); background: rgba(0,174,188,.14); }
.gamenexus-api-image-results { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; }.gamenexus-api-image-results button { overflow: hidden; padding: 0; border: 1px solid var(--wow-line); border-radius: 3px; background: #081018; cursor: pointer; }.gamenexus-api-image-results img { display: block; width: 100%; height: 86px; object-fit: cover; }.gamenexus-image-preview { position: relative; width: min(100%, 620px); }.gamenexus-image-preview img { display: block; width: 100%; max-height: 360px; border: 1px solid var(--wow-cyan); border-radius: 3px; object-fit: contain; }.gamenexus-image-preview button { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; font-size: 1.2rem; cursor: pointer; }
.gamenexus-title-search { display: flex; align-items: center; gap: 8px; }.gamenexus-title-search input { min-width: 0; flex: 1 1 auto; }.gamenexus-title-search .gamenexus-menu-icon { flex: 0 0 32px; width: 32px; height: 32px; color: var(--wow-muted); font-size: 1.15rem; }.gamenexus-igdb-game-results { display: grid; max-height: 660px; gap: 9px; overflow-y: auto; padding-right: 5px; }.gamenexus-igdb-game-results > span, .gamenexus-api-image-results > span { color: var(--wow-muted); font-size: .83rem; }.gamenexus-igdb-game-results button { display: grid; grid-template-columns: 126px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 166px; padding: 5px; border: 1px solid var(--wow-line); border-radius: 3px; background: rgba(4,18,28,.72); color: var(--wow-text); cursor: pointer; text-align: left; }.gamenexus-igdb-game-results button:hover { border-color: var(--wow-cyan); background: rgba(0,174,188,.1); }.gamenexus-igdb-game-results img { display: block; width: 126px; height: 156px; object-fit: cover; }.gamenexus-igdb-game-results span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; font-weight: 700; }.gamenexus-igdb-game-results small { color: var(--wow-muted); font-size: .95rem; }.gamenexus-image-source { display: grid; gap: 7px; }.gamenexus-image-source > strong { color: var(--wow-text); font-size: .84rem; }

.gamenexus-modal[hidden] { display: none; }
.gamenexus-modal { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 22px; }
.gamenexus-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); }
.gamenexus-modal-dialog { position: relative; z-index: 1; width: min(500px, 100%); max-height: calc(100vh - 44px); overflow: auto; border: 1px solid var(--wow-line); border-radius: 5px; background: #101923; color: var(--wow-text); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.56); }
.gamenexus-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--wow-line); }
.gamenexus-modal-head h2 { margin: 0; font-size: 1.05rem; }.gamenexus-modal-close { border: 0; background: transparent; color: var(--wow-muted); font-size: 1.35rem; cursor: pointer; }
.gamenexus-settings-form { display: grid; gap: 14px; padding: 18px; }.gamenexus-settings-form label { display: grid; gap: 6px; color: var(--wow-muted); font-size: 0.88rem; }.gamenexus-settings-form input,.gamenexus-settings-form textarea { width: 100%; border: 1px solid var(--wow-line); border-radius: 4px; background: #080e14; color: var(--wow-text); padding: 9px; font: inherit; }.gamenexus-settings-form textarea { resize: vertical; }
.gamenexus-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }.gamenexus-soft-button,.gamenexus-save-button { border: 1px solid var(--wow-line); border-radius: 4px; padding: 8px 12px; font: inherit; cursor: pointer; }.gamenexus-soft-button { background: #17222b; color: var(--wow-text); }.gamenexus-save-button { border-color: var(--wow-cyan); background: #00aebc; color: #041116; font-weight: 700; }

.gamenexus-pedia-outline { display: inline-block; width: fit-content; min-width: 320px; max-width: 100%; border: 1px solid var(--wow-line); border-radius: 0; background: rgba(96, 107, 120, .18); overflow: hidden; }
.gamenexus-pedia-outline-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px 9px; color: var(--wow-text); font-size: 1.33rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gamenexus-pedia-outline > .gamenexus-menu-empty { margin: 16px; }
.gamenexus-pedia-outline-list { display: grid; gap: 9px; margin: 0; padding: 16px; list-style: none; }
.gamenexus-pedia-outline-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) 28px 28px; column-gap: 9px; align-items: baseline; color: var(--wow-text); }
.gamenexus-pedia-outline-list .gamenexus-pedia-outline-list { grid-column: 2 / -1; margin-top: 7px; padding-left: 20px; }
.gamenexus-pedia-outline-number { color: var(--wow-cyan); font-weight: 800; font-variant-numeric: tabular-nums; }
.gamenexus-pedia-section-edit { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; color: var(--wow-cyan); }
.gamenexus-pedia-admin-details { display: grid; gap: 1.45em; margin-top: 1.5em; }
.gamenexus-pedia-admin-detail { min-width: 0; color: var(--wow-text); line-height: 1.72; }
.gamenexus-pedia-admin-detail h2,
.gamenexus-public-pedia-section h2 {
    position: relative;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 14px;
    overflow-wrap: anywhere;
    --pedia-frame-color: rgba(54, 184, 244, .55);
}
.gamenexus-pedia-admin-detail h2::before,
.gamenexus-public-pedia-section h2::before {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    border-left: 2px solid var(--pedia-frame-color);
    border-right: 2px solid var(--pedia-frame-color);
    background:
        linear-gradient(var(--pedia-frame-color), var(--pedia-frame-color)) right top / 50% 2px no-repeat,
        linear-gradient(var(--pedia-frame-color), var(--pedia-frame-color)) left bottom / 50% 2px no-repeat;
    content: "";
    pointer-events: none;
}
.gamenexus-pedia-main-image { position: relative; }
.gamenexus-pedia-main-caption { margin: 6px 8px; color: var(--wow-cyan); font-size: .9rem; line-height: 1.4; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.gamenexus-pedia-admin-detail::after, .gamenexus-pedia-admin-preview::after { display: block; clear: both; content: ""; }
.gamenexus-pedia-admin-detail-head { margin-bottom: 16px; }
.gamenexus-pedia-admin-detail h2 { margin: 0; color: var(--wow-cyan); font-size: 1.2rem; }
.gamenexus-pedia-admin-detail h2 span { color: var(--wow-muted); font-size: .88em; }
.gamenexus-pedia-admin-preview { color: var(--wow-muted); line-height: 1.72; }
.gamenexus-pedia-admin-preview figure { position: relative; float: left; width: min(48%, 414px); margin: 0 20px 2px 0; border: 1px solid var(--wow-line); cursor: zoom-in; }
.gamenexus-pedia-admin-preview img { display: block; width: 100%; height: var(--gamenexus-admin-pedia-image-height, auto); }
.gamenexus-pedia-admin-preview i { position: absolute; display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 0 1px; border: 2px solid #fff; border-radius: 50%; background: #db2939; color: #fff; font-family: Arial, sans-serif; font-size: 1.2rem; font-style: normal; font-weight: 900; line-height: 1; transform: translate(-50%, -50%); }
.gamenexus-pedia-admin-story { display: block; text-indent: 1.5em; overflow-wrap: anywhere; white-space: pre-line; }
.gamenexus-pedia-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px; clear: both; padding-top: 18px; }
.gamenexus-pedia-gallery-item { justify-self: center; width: 100%; max-width: 310.5px; min-width: 0; margin: 0; }
.gamenexus-pedia-gallery-item figcaption { margin-top: 8px; color: var(--wow-cyan); font-size: .9rem; line-height: 1.4; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.gamenexus-pedia-gallery-image { display: block; justify-self: center; width: 100%; max-width: 310.5px; margin: 0; padding: 0; border: 1px solid var(--wow-line); border-radius: 0; background: transparent; cursor: zoom-in; }
.gamenexus-pedia-gallery-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.gamenexus-pedia-gallery-image:focus-visible { outline: 2px solid var(--wow-cyan); outline-offset: 3px; }
.gamenexus-pedia-gallery-selection { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gamenexus-pedia-gallery-selection:empty { display: none; }
.gamenexus-pedia-gallery-selection > div { position: relative; min-width: 0; }
.gamenexus-pedia-gallery-selection img { display: block; width: 100%; height: 100px; object-fit: contain; }
.gamenexus-pedia-gallery-selection span { display: block; overflow-wrap: anywhere; font-size: .85rem; }
.gamenexus-pedia-gallery-selection button { position: absolute; top: 0; right: 0; background: #07141e; }
@media (max-width: 700px) { .gamenexus-pedia-gallery-selection { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gamenexus-pedia-modal-dialog { width: min(960px, 100%); }
.gamenexus-pedia-editor { display: grid; gap: 8px; max-height: min(58vh, 650px); overflow: auto; padding: 2px; }
.gamenexus-pedia-row { display: grid; grid-template-columns: minmax(48px, auto) minmax(160px, 1fr) auto 28px; align-items: center; gap: 8px; padding-left: calc(var(--pedia-depth) * 30px); }
.gamenexus-pedia-editor-number { color: var(--wow-cyan); font-size: .78rem; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.gamenexus-pedia-row input { min-width: 0; }
.gamenexus-pedia-node-action { white-space: nowrap; }
.gamenexus-pedia-remove { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; }
.gamenexus-pedia-children { display: grid; gap: 8px; }
.gamenexus-pedia-add-root { justify-self: start; }
.gamenexus-pedia-section-modal-dialog { width: min(760px, 100%); }
.gamenexus-pedia-section-block { display: grid; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--wow-line); }
.gamenexus-pedia-section-block > strong { color: var(--wow-text); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.gamenexus-pedia-section-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.gamenexus-pedia-selected-image { display: flex; align-items: center; gap: 10px; color: var(--wow-muted); font-size: .86rem; }
.gamenexus-pedia-selected-image:empty { display: none; }
.gamenexus-pedia-selected-image img { width: 112px; height: 74px; object-fit: cover; border: 1px solid var(--wow-line); }
.gamenexus-pedia-browser-modal-dialog { width: min(760px, 100%); }
.gamenexus-pedia-image-browser-list { display: grid; gap: 8px; max-height: min(60vh, 620px); overflow: auto; }
.gamenexus-pedia-browser-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--wow-line); background: rgba(4, 14, 22, .56); }
.gamenexus-pedia-browser-row img { width: 130px; height: 82px; object-fit: cover; }
.gamenexus-pedia-browser-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gamenexus-pedia-marker-modal-dialog { width: min(940px, 100%); }
.gamenexus-pedia-marker-stage { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; overflow: hidden; cursor: crosshair; }
.gamenexus-pedia-preview-modal-dialog { width: fit-content; max-width: min(1200px, 96vw); }
.gamenexus-pedia-preview-stage { position: relative; padding: 18px; }
.gamenexus-pedia-preview-stage > div { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.gamenexus-pedia-preview-stage img { display: block; max-width: min(1120px, calc(96vw - 36px)); max-height: calc(84vh - 36px); object-fit: contain; }
.gamenexus-pedia-preview-stage i { position: absolute; display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 0 1px; border: 2px solid #fff; border-radius: 50%; background: #db2939; color: #fff; font-family: Arial, sans-serif; font-size: 1.3rem; font-style: normal; font-weight: 900; line-height: 1; transform: translate(-50%, -50%); pointer-events: none; }
.gamenexus-pedia-marker-stage img { display: block; max-width: min(100%, 820px); max-height: 64vh; object-fit: contain; }
.gamenexus-pedia-marker { position: absolute; z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #db2939; color: #fff; font-size: 1.35rem; font-weight: 900; line-height: 1; transform: translate(-50%, -50%); pointer-events: none; }

@media (max-width: 820px) {
    .gamenexus-selected-menu-band { width: 100%; }
    .gamenexus-shell { width: 100%; max-width: 100%; margin: 0 auto 24px; padding: 12px; }
    .gamenexus-shell { background-size: auto, 100% auto, auto; }
    .gamenexus-main { grid-template-columns: 1fr; grid-template-rows: auto; }
    .gamenexus-content-panel { grid-column: auto; min-height: 360px; }
    .gamenexus-header { align-items: flex-start; flex-direction: column; }
    .gamenexus-header-right { position: relative; top: auto; right: auto; width: auto; max-width: 100%; justify-content: flex-start; text-align: left; }
    .gamenexus-menu-tree > .gamenexus-menu-tree-list > .gamenexus-menu-node { flex-basis: 310px; }
    .gamenexus-menu-row { grid-template-columns: 25px 30px minmax(0, 1fr) auto; }
    .gamenexus-menu-actions { grid-column: auto; flex-wrap: nowrap; }
    .gamenexus-pedia-row { grid-template-columns: 42px minmax(0, 1fr) 28px; padding-left: calc(var(--pedia-depth) * 16px); }
    .gamenexus-pedia-node-action { grid-column: 2; justify-self: start; }
    .gamenexus-pedia-browser-row { grid-template-columns: 92px minmax(0, 1fr); }
    .gamenexus-pedia-browser-row img { width: 92px; height: 64px; }
    .gamenexus-pedia-browser-row button { grid-column: 2; justify-self: start; }
    .gamenexus-pedia-admin-preview figure { float: none; width: 100%; margin: 0 0 10px; }
    .gamenexus-pedia-admin-preview img { height: auto; max-height: 230px; object-fit: contain; }
}

@media (max-width: 1024px) {
    .gamenexus-admin-page .admin-mobile-nav-toggle { border-color: rgba(54, 184, 244, 0.62); background: #07141e; color: var(--wow-cyan); }
    .gamenexus-admin-page .admin-header .admin-nav { border-color: rgba(54, 184, 244, 0.34); background: #07141e; }
    .gamenexus-admin-page .admin-nav-dropdown { border-color: rgba(54, 184, 244, 0.34); background: #07141e; }
    .gamenexus-admin-page .admin-nav-submenu-toggle { display: grid; border-left-color: rgba(54, 184, 244, 0.28); color: var(--wow-cyan); }
    .gamenexus-admin-page .gamenexus-shell { width: 100%; max-width: 100%; margin-bottom: 16px; padding: 12px; }
    .gamenexus-admin-page .gamenexus-header { align-items: flex-start; flex-direction: column; gap: 10px; }
    .gamenexus-admin-page .gamenexus-header-right { position: static; width: auto; max-width: 100%; justify-content: flex-start; text-align: left; }
    .gamenexus-admin-page .gamenexus-admin-nav > .gamenexus-admin-nav-list { display: grid; width: 100%; max-width: 100%; gap: 7px; overflow: visible; padding: 0; }
    .gamenexus-admin-page .gamenexus-admin-nav > .gamenexus-admin-nav-list > li { width: 100%; }
    .gamenexus-admin-page .gamenexus-admin-nav-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 7px; width: 100%; }
    .gamenexus-admin-page .gamenexus-admin-nav-row a { display: flex; width: 100%; min-height: 42px; align-items: center; box-sizing: border-box; white-space: normal; overflow-wrap: anywhere; }
    .gamenexus-admin-page .gamenexus-admin-nav-toggle { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(54,184,244,.38); border-radius: 0; background: #07141e; color: var(--wow-cyan); font: inherit; line-height: 1; cursor: pointer; }
    .gamenexus-admin-page .gamenexus-admin-nav-toggle[aria-expanded="true"] { transform: rotate(180deg); }
    .gamenexus-admin-page .gamenexus-admin-submenu-wrap { position: static !important; min-width: 0 !important; margin: 7px 0 0 16px; padding: 0 0 0 10px; border: 0; border-left: 1px solid rgba(54,184,244,.34); background: transparent; box-shadow: none; }
    .gamenexus-admin-page .gamenexus-admin-submenu-wrap[hidden] { display: none !important; }
    .gamenexus-admin-page .gamenexus-admin-submenu-wrap > .gamenexus-admin-nav-list { display: grid; gap: 7px; }
    .gamenexus-admin-page .gamenexus-content-panel, .gamenexus-admin-page .gamenexus-menu-panel { min-width: 0; }
    .gamenexus-admin-page .gamenexus-modal { align-items: start; overflow-y: auto; padding: 72px 12px 12px; }
    .gamenexus-admin-page .gamenexus-modal-dialog, .gamenexus-admin-page .gamenexus-modal-dialog.gamenexus-content-modal-dialog { width: min(920px, 100%); max-width: 100%; max-height: calc(100dvh - 84px); }
    .gamenexus-admin-page .gamenexus-igdb-game-results button { grid-template-columns: 92px minmax(0, 1fr); min-height: 112px; gap: 10px; }
    .gamenexus-admin-page .gamenexus-igdb-game-results img { width: 92px; height: 102px; }
    .gamenexus-admin-page .gamenexus-igdb-game-results small { grid-column: 2; }
}

.gamenexus-admin-nav-toggle { display: none; }

@media (min-width: 1025px) {
    .gamenexus-admin-nav > .gamenexus-admin-nav-list > li > .gamenexus-admin-submenu-wrap { position: absolute; z-index: 25; top: 100%; left: -4px; min-width: max-content; padding: 8px; border: 1px solid rgba(54,184,244,.42); border-radius: 0; background: #07141e; box-shadow: none; }
    .gamenexus-admin-nav > .gamenexus-admin-nav-list > li > .gamenexus-admin-submenu-wrap::before { position: absolute; top: 0; bottom: 0; left: -12px; width: 12px; content: ""; }
    .gamenexus-admin-submenu-wrap .gamenexus-admin-submenu-wrap { position: absolute; z-index: 26; top: -9px; left: calc(100% + 8px); min-width: max-content; padding: 8px; border: 1px solid rgba(54,184,244,.42); border-radius: 0; background: #07141e; box-shadow: none; }
    .gamenexus-admin-submenu-wrap .gamenexus-admin-submenu-wrap::before { position: absolute; top: 0; bottom: 0; left: -12px; width: 12px; content: ""; }
}

@media (max-width: 1024px) {
    .gamenexus-admin-page .gamenexus-admin-nav-row { display: flex; width: 100%; }
    .gamenexus-admin-page .gamenexus-admin-nav-row a { width: 100%; }
    .gamenexus-admin-page .gamenexus-admin-nav-list .gamenexus-admin-nav-list { position: static !important; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent !important; box-shadow: none; }
    .gamenexus-admin-page .gamenexus-admin-nav-list.is-mobile-drill-list > li:not(.is-mobile-drill-branch) { display: none; }
    .gamenexus-admin-page .gamenexus-admin-nav-list.is-mobile-drill-list > li.is-mobile-drill-branch > .gamenexus-admin-nav-row { display: none; }
    .gamenexus-admin-page .gamenexus-mobile-drill-back { display: inline-flex; min-height: 36px; align-items: center; margin: 0 0 8px; padding: 6px 12px; border: 1px solid rgba(54,184,244,.38); border-radius: 0; background: #07141e; color: var(--wow-cyan); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
    .gamenexus-admin-page .gamenexus-mobile-drill-back[hidden] { display: none; }
}

@media (max-width: 680px) {
    .gamenexus-admin-page .gamenexus-selected-menu-band { width: 100%; }
    .gamenexus-admin-page .gamenexus-menu-row { grid-template-columns: 22px 26px minmax(0, 1fr) auto; gap: 5px; padding: 5px; }
    .gamenexus-admin-page .gamenexus-menu-tree-indent { width: 18px; }
    .gamenexus-admin-page .gamenexus-menu-editor-tree .gamenexus-menu-node > .gamenexus-menu-tree-list { margin-left: 15px !important; padding-left: 9px !important; }
    .gamenexus-admin-page .gamenexus-timeline-node.is-root { grid-template-columns: 58px minmax(0, 1fr); column-gap: 7px; }
    .gamenexus-admin-page .gamenexus-timeline-axis { padding-right: 18px; font-size: .82rem; }
    .gamenexus-admin-page .gamenexus-timeline-axis i { right: 0; }
    .gamenexus-admin-page .gamenexus-timeline-node.is-root:not(:last-child)::after { left: 51px; }
    .gamenexus-admin-page .gamenexus-timeline-node.is-root > .gamenexus-timeline-tree { margin-left: 68px; }
    .gamenexus-admin-page .gamenexus-timeline-row.has-image { grid-template-columns: 86px minmax(0, 1fr) auto 34px; }
    .gamenexus-admin-page .gamenexus-timeline-row.no-image { grid-template-columns: minmax(0, 1fr) auto 34px; }
    .gamenexus-admin-page .gamenexus-timeline-thumb { width: 86px; height: 64px; }
    .gamenexus-admin-page .gamenexus-timeline-row .gamenexus-menu-handle { display: none; }
    .gamenexus-admin-page .gamenexus-timeline-title-patch { gap: 10px; }
    .gamenexus-admin-page .gamenexus-timeline-title-patch span { max-width: 6ch; overflow: hidden; text-overflow: ellipsis; }
    .gamenexus-admin-page .gamenexus-api-image-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* GameNexus keeps its cyan identity while sharing the site's square footer shape. */
.gamenexus-admin-page .site-footer {
    border-color: rgba(54, 184, 244, 0.26);
    border-radius: 0;
    background: #050e16;
    box-shadow: 0 -1px 0 rgba(54, 184, 244, 0.1), var(--shadow-md);
}

.gamenexus-admin-nav-row a[aria-disabled="true"] { color: var(--wow-muted); cursor: default; }

/* A hidden drill-back button must not reserve a blank strip in the admin menu. */
.gamenexus-admin-page .gamenexus-mobile-drill-back,
.gamenexus-admin-page .gamenexus-mobile-drill-back[hidden] {
    display: none !important;
}

@media (max-width: 1024px) and (pointer: coarse) {
    .gamenexus-admin-page .gamenexus-mobile-drill-back:not([hidden]) {
        display: inline-flex !important;
        min-height: 36px;
        align-items: center;
        margin: 0 0 8px;
        padding: 6px 12px;
        border: 1px solid rgba(54, 184, 244, .38);
        border-radius: 0;
        background: #07141e;
        color: var(--wow-cyan);
        font: inherit;
        font-size: .8rem;
        font-weight: 800;
        cursor: pointer;
    }
}
