/*
Theme Name: JNE
Theme URI: https://janeinevtl.cc
Author: JNE
Description: Persönliches JNE-Theme mit Vita, Galerie und Twitch-Chat-Befehlen.
Version: 1.2.3
Text Domain: jne
*/

:root {
    --jne-primary: #46CCED;
    --jne-primary-rgb: 70, 204, 237;
    --jne-primary-dark: #1594B7;
    --jne-background: #07111F;
    --jne-background-soft: #0D1A2C;
    --jne-card: rgba(14, 31, 51, 0.88);
    --jne-card-hover: rgba(20, 45, 72, 0.96);
    --jne-border: rgba(70, 204, 237, 0.24);
    --jne-text: #F3F8FC;
    --jne-text-soft: #AFC1D1;
    --jne-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    --jne-radius: 22px;
    --jne-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--jne-text);
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(var(--jne-primary-rgb), 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 18%,
            rgba(var(--jne-primary-rgb), 0.08),
            transparent 28%
        ),
        linear-gradient(145deg, #050C16 0%, var(--jne-background) 48%, #09182A 100%);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.65;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(70, 204, 237, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 204, 237, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
}

a {
    color: var(--jne-primary);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: #FFFFFF;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.jne-container {
    width: min(calc(100% - 40px), var(--jne-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--jne-border);
    background: rgba(5, 12, 22, 0.86);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
}

.site-title {
    color: var(--jne-primary);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.main-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.main-navigation a {
    position: relative;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--jne-text-soft);
    font-size: 0.94rem;
    font-weight: 700;
    transition:
        color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a.is-active {
    color: #041019;
    background: var(--jne-primary);
    transform: translateY(-1px);
}

.site-main {
    min-height: calc(100vh - 220px);
}

.jne-hero {
    display: grid;
    min-height: 620px;
    padding-block: 85px;
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 70px;
}

.hero-kicker {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 7px 14px;
    border: 1px solid var(--jne-border);
    border-radius: 999px;
    color: var(--jne-primary);
    background: rgba(var(--jne-primary-rgb), 0.08);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    max-width: 760px;
    font-size: clamp(3.4rem, 8vw, 7rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.hero-title span {
    color: var(--jne-primary);
    text-shadow: 0 0 34px rgba(var(--jne-primary-rgb), 0.34);
}

.hero-description {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--jne-text-soft);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.jne-button {
    display: inline-flex;
    min-height: 48px;
    padding: 11px 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--jne-primary);
    border-radius: 999px;
    color: #031019;
    background: var(--jne-primary);
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(var(--jne-primary-rgb), 0.2);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.jne-button:hover,
.jne-button:focus-visible {
    color: #031019;
    background: #83E3F8;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(var(--jne-primary-rgb), 0.3);
}

.jne-button.is-secondary {
    color: var(--jne-primary);
    background: transparent;
    box-shadow: none;
}

.jne-button.is-secondary:hover,
.jne-button.is-secondary:focus-visible {
    color: #031019;
    background: var(--jne-primary);
}

.hero-logo-panel {
    position: relative;
    display: grid;
    min-height: 400px;
    padding: 36px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--jne-border);
    border-radius: 36px;
    background:
        radial-gradient(
            circle,
            rgba(var(--jne-primary-rgb), 0.2),
            transparent 64%
        ),
        rgba(10, 25, 43, 0.75);
    box-shadow: var(--jne-shadow);
}

.hero-logo-panel::before {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.2);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 35px rgba(var(--jne-primary-rgb), 0.035),
        0 0 0 75px rgba(var(--jne-primary-rgb), 0.025);
}

.hero-logo-panel .custom-logo-link {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    place-items: center;
}

.hero-logo-panel .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(72%, 430px);
    max-height: 250px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(
        0 20px 30px
        rgba(0, 0, 0, 0.42)
    );
}

.hero-logo-fallback {
    position: relative;
    z-index: 2;
    color: var(--jne-primary);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 950;
    letter-spacing: -0.08em;
    text-shadow:
        0 0 45px
        rgba(var(--jne-primary-rgb), 0.4);
}

@media (max-width: 900px) {
    .hero-logo-panel {
        min-height: 320px;
        padding: 28px;
    }

    .hero-logo-panel::before {
        width: 230px;
        height: 230px;
    }

    .hero-logo-panel .custom-logo {
        max-width: min(74%, 360px);
        max-height: 220px;
    }
}

@media (max-width: 600px) {
    .hero-logo-panel {
        min-height: 270px;
        padding: 22px;
    }

    .hero-logo-panel .custom-logo {
        max-width: min(82%, 320px);
        max-height: 190px;
    }
}

.jne-section {
    padding-block: 85px;
}

.jne-section-heading {
    margin-bottom: 35px;
}

.jne-section-heading span {
    color: var(--jne-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.jne-section-heading h2 {
    margin: 7px 0 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.1;
}

.jne-panel,
.page-content {
    padding: clamp(25px, 5vw, 52px);
    border: 1px solid var(--jne-border);
    border-radius: var(--jne-radius);
    background: var(--jne-card);
    box-shadow: var(--jne-shadow);
}

.jne-panel > :first-child,
.page-content > :first-child {
    margin-top: 0;
}

.jne-panel > :last-child,
.page-content > :last-child {
    margin-bottom: 0;
}

.jne-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.jne-card {
    position: relative;
    display: flex;
    min-height: 245px;
    padding: 31px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid var(--jne-border);
    border-radius: var(--jne-radius);
    color: var(--jne-text);
    background: var(--jne-card);
    box-shadow: var(--jne-shadow);
    transition:
        transform 200ms ease,
        border-color 200ms ease,
        background 200ms ease;
}

.jne-card::after {
    position: absolute;
    right: -55px;
    bottom: -75px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    content: "";
    background: rgba(var(--jne-primary-rgb), 0.08);
}

.jne-card:hover,
.jne-card:focus-visible {
    color: var(--jne-text);
    border-color: rgba(var(--jne-primary-rgb), 0.65);
    background: var(--jne-card-hover);
    transform: translateY(-5px);
}

.jne-card-icon {
    color: var(--jne-primary);
    font-size: 2rem;
    font-weight: 900;
}

.jne-card h3 {
    margin: 30px 0 8px;
    font-size: 1.55rem;
}

.jne-card p {
    margin: 0;
    color: var(--jne-text-soft);
}

.jne-card-link {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    color: var(--jne-primary);
    font-weight: 800;
}

.page-hero {
    padding: 90px 0 45px;
}

.page-hero-label {
    color: var(--jne-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.page-title {
    margin: 8px 0 0;
    font-size: clamp(2.7rem, 7vw, 5.7rem);
    line-height: 1;
}

.page-layout {
    padding-bottom: 95px;
}

.page-content h2,
.page-content h3 {
    color: var(--jne-text);
}

.page-content table {
    width: 100%;
    margin-block: 25px;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid var(--jne-border);
    border-radius: 14px;
}

.page-content th,
.page-content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--jne-border);
    text-align: left;
}

.page-content th {
    color: #031019;
    background: var(--jne-primary);
}

.page-content tr:last-child td {
    border-bottom: 0;
}

.page-content code {
    padding: 4px 8px;
    border: 1px solid var(--jne-border);
    border-radius: 7px;
    color: var(--jne-primary);
    background: rgba(0, 0, 0, 0.25);
}

.wp-block-gallery {
    gap: 18px !important;
}

.wp-block-gallery figure {
    overflow: hidden;
    border: 1px solid var(--jne-border);
    border-radius: 16px;
    background: var(--jne-background-soft);
}

.wp-block-gallery img {
    transition:
        transform 240ms ease,
        filter 240ms ease;
}

.wp-block-gallery figure:hover img {
    filter: brightness(1.08);
    transform: scale(1.035);
}

.site-footer {
    border-top: 1px solid var(--jne-border);
    background: rgba(4, 10, 18, 0.75);
}

.footer-inner {
    display: flex;
    min-height: 140px;
    padding-block: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    color: var(--jne-primary);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.footer-text {
    margin: 4px 0 0;
    color: var(--jne-text-soft);
    font-size: 0.88rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.footer-links a {
    color: var(--jne-text-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--jne-primary);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .header-inner {
        padding-block: 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .main-navigation {
        width: 100%;
        justify-content: flex-start;
    }

    .jne-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-logo-panel {
        min-height: 330px;
    }
}

@media (max-width: 680px) {
    .jne-container {
        width: min(calc(100% - 26px), var(--jne-width));
    }

    .main-navigation {
        gap: 5px;
    }

    .main-navigation a {
        padding: 8px 11px;
        font-size: 0.85rem;
    }

    .jne-hero {
        padding-block: 60px;
    }

    .hero-title {
        font-size: clamp(3rem, 18vw, 5rem);
    }

    .hero-logo-panel {
        min-height: 260px;
    }

    .jne-card-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .page-content {
        padding: 24px 18px;
    }

    .page-content table {
        display: block;
        overflow-x: auto;
    }
}

/* BEGIN JNE COMMAND ACCORDION */

.command-accordion-list {
    display: grid;
    margin-top: 42px;
    gap: 24px;
}

.jne-command-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.22);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 92% 5%,
            rgba(var(--jne-primary-rgb), 0.11),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            rgba(18, 42, 68, 0.96),
            rgba(7, 20, 36, 0.98)
        );
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.jne-command-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    content: "";
    background: linear-gradient(
        180deg,
        var(--jne-primary),
        rgba(var(--jne-primary-rgb), 0.12)
    );
}

.jne-command-card:hover {
    border-color: rgba(var(--jne-primary-rgb), 0.55);
    transform: translateY(-2px);
    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.36),
        0 0 32px rgba(var(--jne-primary-rgb), 0.06);
}

.jne-command-card[open] {
    border-color: rgba(var(--jne-primary-rgb), 0.78);
    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.4),
        0 0 42px rgba(var(--jne-primary-rgb), 0.08);
}

.jne-command-card.is-protected {
    background:
        radial-gradient(
            circle at 90% 4%,
            rgba(var(--jne-primary-rgb), 0.16),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(19, 47, 75, 0.98),
            rgba(7, 20, 36, 0.98)
        );
}

.jne-command-summary {
    display: grid;
    min-height: 122px;
    padding: 27px 30px 27px 34px;
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.jne-command-summary::-webkit-details-marker {
    display: none;
}

.jne-command-summary::marker {
    content: "";
}

.jne-command-icon {
    display: flex;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.38);
    border-radius: 18px;
    color: var(--jne-primary);
    background:
        linear-gradient(
            145deg,
            rgba(var(--jne-primary-rgb), 0.16),
            rgba(var(--jne-primary-rgb), 0.035)
        );
    font-size: 1.7rem;
    font-weight: 900;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 26px rgba(0, 0, 0, 0.22);
}

.jne-command-heading {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.jne-command-heading strong {
    color: var(--jne-text);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    line-height: 1.2;
}

.jne-command-heading small {
    overflow: hidden;
    color: var(--jne-text-soft);
    font-size: 0.94rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jne-command-status {
    display: inline-flex;
    padding: 7px 13px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.35);
    border-radius: 999px;
    color: var(--jne-primary);
    background: rgba(var(--jne-primary-rgb), 0.08);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.jne-command-status.is-protected {
    color: #DFF9FF;
    background: rgba(var(--jne-primary-rgb), 0.15);
}

.jne-command-chevron {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.4);
    border-radius: 50%;
    color: var(--jne-primary);
    background: rgba(var(--jne-primary-rgb), 0.06);
    font-size: 1.55rem;
    line-height: 1;
    transition:
        color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.jne-command-card[open] .jne-command-chevron {
    color: #031019;
    background: var(--jne-primary);
    transform: rotate(45deg);
}

.jne-command-body {
    padding: 36px 38px 42px;
    border-top: 1px solid rgba(var(--jne-primary-rgb), 0.18);
    background: rgba(3, 12, 22, 0.26);
    animation: jne-command-open 180ms ease;
}

.jne-command-body > :first-child {
    margin-top: 0;
}

.jne-command-body > :last-child {
    margin-bottom: 0;
}

.jne-command-body > h2 {
    margin-bottom: 10px;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.jne-command-body > p {
    max-width: 850px;
    color: var(--jne-text-soft);
}

@keyframes jne-command-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jne-login-box {
    max-width: 680px;
    padding: 32px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.25);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(var(--jne-primary-rgb), 0.055),
            transparent
        ),
        rgba(2, 11, 20, 0.62);
}

.jne-login-box h2 {
    margin: 0 0 9px;
}

.jne-login-box > p {
    margin-top: 0;
    color: var(--jne-text-soft);
}

.jne-login-form {
    display: grid;
    margin-top: 27px;
    gap: 19px;
}

.jne-login-field {
    display: grid;
    gap: 8px;
}

.jne-login-field span {
    color: var(--jne-text);
    font-size: 0.91rem;
    font-weight: 750;
}

.jne-login-field input {
    width: 100%;
    min-height: 51px;
    padding: 11px 15px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.25);
    border-radius: 12px;
    outline: none;
    color: var(--jne-text);
    background: rgba(1, 8, 15, 0.76);
    font: inherit;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.jne-login-field input:focus {
    border-color: var(--jne-primary);
    box-shadow: 0 0 0 4px rgba(var(--jne-primary-rgb), 0.12);
}

.jne-remember-field {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--jne-text-soft);
    font-size: 0.9rem;
    cursor: pointer;
}

.jne-remember-field input {
    width: 17px;
    height: 17px;
    accent-color: var(--jne-primary);
}

.jne-login-form .jne-button {
    width: fit-content;
    cursor: pointer;
}

.jne-login-message {
    margin: 18px 0;
    padding: 13px 16px;
    border-radius: 11px;
    font-weight: 700;
}

.jne-login-message.is-error {
    color: #FFD4D4;
    border: 1px solid rgba(255, 91, 91, 0.4);
    background: rgba(255, 91, 91, 0.1);
}

.jne-login-message.is-success {
    color: #C9FFDE;
    border: 1px solid rgba(69, 218, 129, 0.4);
    background: rgba(69, 218, 129, 0.1);
}

.protected-user-note {
    display: flex;
    margin-bottom: 28px;
    padding: 16px 19px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.28);
    border-radius: 14px;
    color: var(--jne-text-soft);
    background: rgba(var(--jne-primary-rgb), 0.065);
}

.protected-user-note strong {
    color: var(--jne-primary);
}

.jne-text-button {
    padding: 0;
    border: 0;
    color: var(--jne-primary);
    background: transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.jne-text-button:hover,
.jne-text-button:focus-visible {
    color: #FFFFFF;
}

@media (max-width: 760px) {
    .jne-command-summary {
        min-height: 105px;
        padding: 22px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 15px;
    }

    .jne-command-status {
        display: none;
    }

    .jne-command-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        font-size: 1.4rem;
    }

    .jne-command-body {
        padding: 29px 21px 34px;
    }
}

@media (max-width: 520px) {
    .jne-command-summary {
        min-height: 94px;
        padding: 18px 17px 18px 21px;
        gap: 12px;
    }

    .jne-command-heading strong {
        font-size: 1.08rem;
    }

    .jne-command-heading small {
        font-size: 0.8rem;
        white-space: normal;
    }

    .jne-command-chevron {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .protected-user-note {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* END JNE COMMAND ACCORDION */

/* BEGIN JNE BOT ACCORDION */

.jne-bot-list {
    display: grid;
    margin-top: 34px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.jne-bot-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.19);
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            rgba(19, 43, 68, 0.82),
            rgba(5, 17, 30, 0.92)
        );
    box-shadow:
        0 13px 32px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.jne-bot-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    content: "";
    background: rgba(var(--jne-primary-rgb), 0.55);
}

.jne-bot-card:hover {
    border-color: rgba(var(--jne-primary-rgb), 0.48);
    transform: translateY(-2px);
    box-shadow:
        0 17px 38px rgba(0, 0, 0, 0.27),
        0 0 24px rgba(var(--jne-primary-rgb), 0.045);
}

.jne-bot-card[open] {
    grid-column: 1 / -1;
    border-color: rgba(var(--jne-primary-rgb), 0.7);
    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(var(--jne-primary-rgb), 0.09),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(18, 43, 70, 0.94),
            rgba(5, 17, 30, 0.98)
        );
}

.jne-bot-card > summary {
    display: flex;
    min-height: 94px;
    padding: 21px 22px 21px 26px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.jne-bot-card > summary::-webkit-details-marker {
    display: none;
}

.jne-bot-card > summary::marker {
    content: "";
}

.jne-bot-card > summary > span:first-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.jne-bot-card > summary strong {
    color: var(--jne-text);
    font-size: 1.14rem;
    line-height: 1.25;
}

.jne-bot-card > summary small {
    overflow: hidden;
    color: var(--jne-text-soft);
    font-size: 0.86rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jne-bot-plus {
    display: flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.35);
    border-radius: 50%;
    color: var(--jne-primary);
    background: rgba(var(--jne-primary-rgb), 0.055);
    font-size: 1.4rem;
    line-height: 1;
    transition:
        color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.jne-bot-card[open] .jne-bot-plus {
    color: #031019;
    background: var(--jne-primary);
    transform: rotate(45deg);
}

.jne-bot-content {
    padding: 26px 27px 31px;
    overflow-x: auto;
    border-top: 1px solid rgba(var(--jne-primary-rgb), 0.16);
    background: rgba(2, 10, 18, 0.23);
    animation: jne-bot-open 180ms ease;
}

.jne-bot-content table {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.19);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    background: rgba(5, 17, 30, 0.55);
}

.jne-bot-content thead th {
    padding: 16px 18px;
    border: 0;
    color: #031019;
    background:
        linear-gradient(
            90deg,
            var(--jne-primary),
            #78DDF3
        );
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.jne-bot-content tbody td {
    padding: 17px 18px;
    border: 0;
    border-bottom: 1px solid rgba(var(--jne-primary-rgb), 0.14);
    color: var(--jne-text-soft);
    vertical-align: middle;
}

.jne-bot-content tbody tr:last-child td {
    border-bottom: 0;
}

.jne-bot-content tbody tr:nth-child(even) {
    background: rgba(var(--jne-primary-rgb), 0.025);
}

.jne-bot-content tbody tr:hover {
    background: rgba(var(--jne-primary-rgb), 0.065);
}

.jne-bot-content td:first-child {
    width: 23%;
}

.jne-bot-content td:nth-child(2) {
    width: 31%;
}

.jne-bot-content code {
    display: inline-flex;
    margin: 2px 3px 2px 0;
    padding: 5px 9px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.3);
    border-radius: 8px;
    color: var(--jne-primary);
    background: rgba(1, 9, 16, 0.65);
    font-size: 0.82rem;
    white-space: nowrap;
}

@keyframes jne-bot-open {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .jne-bot-list {
        grid-template-columns: 1fr;
    }

    .jne-bot-card[open] {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .jne-bot-card > summary {
        min-height: 82px;
        padding: 17px 16px 17px 21px;
    }

    .jne-bot-card > summary small {
        white-space: normal;
    }

    .jne-bot-content {
        padding: 18px 13px 22px;
    }

    .jne-bot-content table {
        min-width: 720px;
    }
}

/* END JNE BOT ACCORDION */

/* BEGIN JNE LIGHT COMMAND TABLES */

.jne-bot-content table,
.jne-command-body table {
    border-color: rgba(var(--jne-primary-rgb), 0.42) !important;
    background: #173653 !important;
}

.jne-bot-content tbody tr,
.jne-command-body tbody tr {
    background: transparent !important;
}

.jne-bot-content tbody td,
.jne-command-body tbody td {
    background: #173653 !important;
    border-bottom-color: rgba(var(--jne-primary-rgb), 0.26) !important;
    color: #E3EEF6 !important;
}

.jne-bot-content tbody tr:nth-child(even) td,
.jne-command-body tbody tr:nth-child(even) td {
    background: #1D4161 !important;
}

.jne-bot-content tbody tr:hover td,
.jne-command-body tbody tr:hover td {
    background: #245574 !important;
}

.jne-bot-content tbody td:last-child,
.jne-command-body tbody td:last-child {
    color: #D6E5F1 !important;
}

.jne-bot-content code,
.jne-command-body code {
    border-color: rgba(var(--jne-primary-rgb), 0.48) !important;
    background: rgba(2, 15, 27, 0.78) !important;
}

/* END JNE LIGHT COMMAND TABLES */

/* BEGIN JNE FINAL TABLE COLORS */

body .jne-bot-content table tbody tr td,
body .jne-command-body table tbody tr td {
    background: none !important;
    background-color: #244B6B !important;
    color: #F1F7FB !important;
}

body .jne-bot-content table tbody tr:nth-child(even) td,
body .jne-command-body table tbody tr:nth-child(even) td {
    background: none !important;
    background-color: #2B587A !important;
}

body .jne-bot-content table tbody tr:hover td,
body .jne-command-body table tbody tr:hover td {
    background: none !important;
    background-color: #32698F !important;
}

body .jne-bot-content table tbody td,
body .jne-command-body table tbody td {
    border-bottom: 1px solid rgba(70, 204, 237, 0.28) !important;
}

body .jne-bot-content table tbody tr:last-child td,
body .jne-command-body table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body .jne-bot-content table code,
body .jne-command-body table code {
    color: #5DDAF5 !important;
    background-color: #071827 !important;
    border-color: rgba(70, 204, 237, 0.55) !important;
}

/* END JNE FINAL TABLE COLORS */

/* BEGIN JNE TWITCH LOGO LINKS */

.site-branding .custom-logo-link,
.hero-logo-panel .custom-logo-link,
.hero-logo-panel .hero-logo-fallback {
    text-decoration: none;
}

.site-branding .custom-logo-link,
.hero-logo-panel .custom-logo-link {
    cursor: pointer;
}

.site-branding .custom-logo-link:focus-visible,
.hero-logo-panel .custom-logo-link:focus-visible,
.hero-logo-panel .hero-logo-fallback:focus-visible {
    border-radius: 12px;
    outline: 2px solid var(--jne-primary);
    outline-offset: 8px;
}

/* END JNE TWITCH LOGO LINKS */

/* BEGIN JNE CONTACT LEGAL GUESTBOOK */

.main-navigation,
.footer-links {
    flex-wrap: wrap;
}

.jne-content-page {
    min-height: calc(100vh - 220px);
}

.jne-page-content {
    font-size: 1rem;
}

.jne-page-content > :first-child {
    margin-top: 0;
}

.jne-page-content > :last-child {
    margin-bottom: 0;
}

.jne-page-content h2 {
    margin-top: 42px;
    margin-bottom: 14px;
    color: var(--jne-text);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.jne-page-content p,
.jne-page-content li {
    color: var(--jne-text-soft);
}

.jne-page-content a {
    color: var(--jne-primary);
    font-weight: 750;
}

.jne-legal-warning {
    margin-bottom: 30px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 196, 80, 0.5);
    border-radius: 14px;
    color: #FFE6A6;
    background: rgba(255, 174, 38, 0.09);
}

.jne-form-wrapper,
.jne-guestbook-form-panel {
    margin-top: 30px;
}

.jne-form {
    display: grid;
    gap: 20px;
}

.jne-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.jne-field {
    display: grid;
    gap: 8px;
}

.jne-field > span {
    color: var(--jne-text);
    font-weight: 800;
}

.jne-field input,
.jne-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.3);
    border-radius: 12px;
    outline: none;
    color: var(--jne-text);
    background: rgba(3, 15, 27, 0.78);
    font: inherit;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.jne-field textarea {
    min-height: 160px;
    resize: vertical;
}

.jne-field input:focus,
.jne-field textarea:focus {
    border-color: var(--jne-primary);
    background: rgba(7, 28, 45, 0.95);
    box-shadow:
        0 0 0 4px
        rgba(var(--jne-primary-rgb), 0.12);
}

.jne-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--jne-text-soft);
    cursor: pointer;
}

.jne-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 18px;
    accent-color: var(--jne-primary);
}

.jne-form .jne-button {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.jne-form-message {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 13px;
    font-weight: 750;
}

.jne-form-message.is-success {
    border: 1px solid rgba(75, 224, 139, 0.45);
    color: #CFFFF0;
    background: rgba(75, 224, 139, 0.1);
}

.jne-form-message.is-error {
    border: 1px solid rgba(255, 105, 105, 0.45);
    color: #FFD8D8;
    background: rgba(255, 105, 105, 0.1);
}

.jne-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.jne-guestbook-list {
    display: grid;
    margin-top: 28px;
    gap: 16px;
}

.jne-guestbook-entry {
    padding: 22px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.24);
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            rgba(23, 54, 83, 0.82),
            rgba(7, 24, 40, 0.92)
        );
}

.jne-guestbook-entry header {
    display: flex;
    margin-bottom: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.jne-guestbook-entry strong {
    color: var(--jne-primary);
    font-size: 1.05rem;
}

.jne-guestbook-entry time {
    color: var(--jne-text-soft);
    font-size: 0.82rem;
    white-space: nowrap;
}

.jne-guestbook-message {
    color: var(--jne-text);
    line-height: 1.7;
}

.jne-guestbook-form-panel {
    padding: 28px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.26);
    border-radius: 18px;
    background: rgba(6, 23, 39, 0.68);
}

.jne-empty-state {
    padding: 24px;
    border: 1px dashed rgba(var(--jne-primary-rgb), 0.32);
    border-radius: 15px;
    color: var(--jne-text-soft);
    text-align: center;
}

.jne-link-grid {
    display: grid;
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.jne-link-card {
    display: grid;
    min-height: 116px;
    padding: 22px;
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.26);
    border-radius: 18px;
    color: var(--jne-text) !important;
    background:
        linear-gradient(
            145deg,
            rgba(21, 55, 84, 0.9),
            rgba(6, 22, 37, 0.96)
        );
    text-decoration: none;
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.2);
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

a.jne-link-card:hover,
a.jne-link-card:focus-visible {
    border-color: var(--jne-primary);
    transform: translateY(-3px);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.28),
        0 0 25px rgba(var(--jne-primary-rgb), 0.07);
}

.jne-link-card.is-placeholder {
    opacity: 0.7;
}

.jne-link-icon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.4);
    border-radius: 15px;
    color: #031019;
    background: var(--jne-primary);
    font-size: 1.25rem;
    font-weight: 950;
}

.jne-link-card > span:nth-child(2) {
    display: grid;
    gap: 5px;
}

.jne-link-card strong {
    color: var(--jne-text);
    font-size: 1.08rem;
}

.jne-link-card small {
    color: var(--jne-text-soft);
}

.footer-links {
    max-width: 620px;
    justify-content: flex-end;
    row-gap: 10px;
}

@media (max-width: 850px) {
    .jne-form-grid,
    .jne-link-grid {
        grid-template-columns: 1fr;
    }

    .main-navigation {
        justify-content: center;
    }

    .jne-guestbook-entry header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 600px) {
    .jne-guestbook-form-panel {
        padding: 19px;
    }

    .jne-link-card {
        padding: 18px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

/* END JNE CONTACT LEGAL GUESTBOOK */

/* BEGIN JNE SOCIAL LINKS */

.jne-social-card .jne-brand-icon,
.footer-social-link {
    color: var(--jne-primary);
}

.jne-brand-icon svg,
.footer-social-link svg {
    display: block;
    width: 24px;
    height: 24px;
    overflow: visible;
    fill: currentColor;
}

.jne-brand-icon .jne-icon-cutout,
.footer-social-link .jne-icon-cutout {
    fill: none;
    stroke: #07111F;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.jne-brand-icon .jne-icon-dot,
.footer-social-link .jne-icon-dot {
    fill: #07111F;
}

.jne-social-card.is-twitch .jne-brand-icon {
    color: #A970FF;
}

.jne-social-card.is-spotify .jne-brand-icon {
    color: #1ED760;
}

.jne-social-card.is-instagram .jne-brand-icon {
    color: #F05A9D;
}

.jne-social-card.is-discord .jne-brand-icon {
    color: #7289DA;
}

.footer-social {
    display: flex;
    width: 100%;
    margin-top: 18px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.3);
    border-radius: 12px;
    background: rgba(8, 27, 44, 0.82);
    text-decoration: none;
    transition:
        border-color 180ms ease,
        color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    border-color: var(--jne-primary);
    color: #031019;
    background: var(--jne-primary);
    transform: translateY(-2px);
}

.footer-social-link.is-twitch {
    color: #A970FF;
}

.footer-social-link.is-spotify {
    color: #1ED760;
}

.footer-social-link.is-instagram {
    color: #F05A9D;
}

.footer-social-link.is-discord {
    color: #7289DA;
}

@media (max-width: 850px) {
    .footer-social {
        justify-content: flex-start;
    }
}

/* END JNE SOCIAL LINKS */

/* BEGIN JNE FOOTER COMPACT */

.site-footer .footer-inner {
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) auto auto !important;
    align-items: center !important;
    justify-content: initial !important;
    column-gap: 26px !important;
    row-gap: 18px !important;
}

.site-footer .footer-links {
    width: auto !important;
    max-width: 620px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: end !important;
    justify-content: flex-end !important;
}

.site-footer .footer-social {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

@media (max-width: 850px) {
    .site-footer .footer-inner {
        grid-template-columns: 1fr !important;
        align-items: start !important;
        row-gap: 20px !important;
    }

    .site-footer .footer-links,
    .site-footer .footer-social {
        justify-self: start !important;
        justify-content: flex-start !important;
    }

    .site-footer .footer-social {
        flex-wrap: wrap !important;
    }
}

/* END JNE FOOTER COMPACT */

/* BEGIN JNE 404 PAGE */

.jne-error-page {
    display: flex;
    min-height: calc(100vh - 230px);
    align-items: center;
}

.jne-error-card {
    position: relative;
    display: grid;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(36px, 7vw, 76px);
    overflow: hidden;
    justify-items: center;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(var(--jne-primary-rgb), 0.18),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(18, 48, 76, 0.96),
            rgba(5, 20, 35, 0.98)
        );
}

.jne-error-card::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(var(--jne-primary-rgb), 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 55px rgba(var(--jne-primary-rgb), 0.025),
        0 0 0 110px rgba(var(--jne-primary-rgb), 0.018);
}

.jne-error-card > * {
    position: relative;
    z-index: 1;
}

.jne-error-code {
    color: var(--jne-primary);
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 950;
    line-height: 0.82;
    letter-spacing: -0.08em;
    text-shadow:
        0 0 45px rgba(var(--jne-primary-rgb), 0.28);
}

.jne-error-kicker {
    margin-top: 28px;
    color: var(--jne-primary);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.jne-error-card h1 {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--jne-text);
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.08;
}

.jne-error-description {
    max-width: 670px;
    margin: 22px 0 0;
    color: var(--jne-text-soft);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
}

.jne-error-actions {
    display: flex;
    margin-top: 34px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.jne-error-links {
    display: flex;
    margin-top: 34px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.jne-error-links a {
    color: var(--jne-text-soft);
    font-weight: 750;
    text-decoration: none;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.jne-error-links a:hover,
.jne-error-links a:focus-visible {
    color: var(--jne-primary);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .jne-error-page {
        min-height: auto;
    }

    .jne-error-card {
        padding: 34px 22px;
    }

    .jne-error-card::before {
        width: 260px;
        height: 260px;
    }

    .jne-error-actions {
        width: 100%;
        flex-direction: column;
    }

    .jne-error-actions .jne-button {
        width: 100%;
        justify-content: center;
    }
}

/* END JNE 404 PAGE */
