/* =========================================================
   JAPAN COLLABORATION SECTION
   แยกไฟล์ CSS สำหรับ section Japan Collaboration
========================================================= */

.jp-network {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(34, 76, 169, 0.10), transparent 35%),
        radial-gradient(circle at bottom right, rgba(220, 38, 38, 0.08), transparent 32%),
        linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.jp-network::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 24, 39, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.55;
}

.jp-network__shell {
    position: relative;
    z-index: 2;
}

.jp-network__intro {
    max-width: 860px;
    margin: 0 auto 38px;
}

.jp-network__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(30, 64, 175, 0.12);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    color: #1d4ed8;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.jp-network__title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.12;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.jp-network__desc {
    margin: 0 auto;
    max-width: 720px;
    font-size: 1.03rem;
    line-height: 1.85;
    color: #475569;
}

/* =========================================================
   Switcher
========================================================= */
.jp-switcher {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.jp-switcher__btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 290px;
    padding: 14px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    text-align: left;
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease;
}

.jp-switcher__btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.20) 48%,
        rgba(255,255,255,0) 100%
    );
    transform: translateX(-130%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.jp-switcher__btn:hover::after,
.jp-switcher__btn.is-active::after {
    transform: translateX(130%);
}

.jp-switcher__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.11);
}

.jp-switcher__btn.is-active {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(135deg, #0f4cbd 0%, #2563eb 100%);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.24);
}

.jp-switcher__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-size: 1.1rem;
    transition: all 0.28s ease;
}

.jp-switcher__btn.is-active .jp-switcher__icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.jp-switcher__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.jp-switcher__text strong {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.jp-switcher__text small {
    margin-top: 4px;
    font-size: 0.82rem;
    color: #64748b;
}

.jp-switcher__btn.is-active .jp-switcher__text strong,
.jp-switcher__btn.is-active .jp-switcher__text small {
    color: #ffffff;
}

/* =========================================================
   Main Grid
========================================================= */
.jp-network__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}


.jp-panel {
    height: 100%;
}

.jp-panel--content,
.jp-visual-card {
    position: relative;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 32px;
    box-shadow:
        0 22px 70px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

/* =========================================================
   Content Panel + Smooth Fade
========================================================= */
.jp-panel--content {
    position: relative;
    padding: 34px;
    min-height: 620px;
    overflow: hidden;
}

.jp-panel--content::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    top: -70px;
    right: -60px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 72%);
    pointer-events: none;
    filter: blur(8px);
}

.jp-panel--content::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    bottom: -70px;
    left: -50px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.10) 0%, rgba(220, 38, 38, 0) 72%);
    pointer-events: none;
    filter: blur(8px);
}

.jp-story {
    position: absolute;
    inset: 34px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.992);
    filter: blur(4px);
    transition:
        opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.15s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 1.15s;
    will-change: opacity, transform, filter;
    z-index: 1;
}

.jp-story.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition:
        opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.15s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
    z-index: 2;
}

.jp-story__badge,
.jp-story__heading,
.jp-story__text,
.jp-feature-grid,
.jp-highlight-box,
.jp-actions {
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.jp-story.is-active .jp-story__badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
}

.jp-story.is-active .jp-story__heading {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.30s;
}

.jp-story.is-active .jp-story__text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.42s;
}

.jp-story.is-active .jp-feature-grid {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.54s;
}

.jp-story.is-active .jp-highlight-box {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.66s;
}

.jp-story.is-active .jp-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.78s;
}

.jp-story__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.jp-story__badge--red {
    background: rgba(220, 38, 38, 0.10);
    color: #dc2626;
}

.jp-story__heading {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
}

.jp-story__text {
    margin: 0 0 26px;
    font-size: 1rem;
    line-height: 1.9;
    color: #475569;
}

.jp-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.jp-feature-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: all 0.28s ease;
}

.jp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.18);
}

.jp-feature-card__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    font-size: 1rem;
}

.jp-feature-card h4 {
    margin: 1px 0 6px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
}

.jp-feature-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #64748b;
}

.jp-highlight-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 6px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 76, 189, 0.06), rgba(220, 38, 38, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.10);
}

.jp-highlight-box__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.jp-highlight-box h4 {
    margin: 2px 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.jp-highlight-box p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #475569;
}

.jp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.jp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.28s ease;
}

.jp-btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.24);
}

.jp-btn--primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(220, 38, 38, 0.30);
}

.jp-btn--ghost {
    color: #1e3a8a;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.jp-btn--ghost:hover {
    color: #1d4ed8;
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.28);
}

/* =========================================================
   Visual Card
========================================================= */
.jp-visual-card {
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jp-visual-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.jp-visual-card__pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f4cbd 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.jp-visual-card__mini span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.jp-visual-stage {
    position: relative;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.95)),
        linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
    min-height: 420px;
    padding: 26px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.jp-visual-map {
    position: absolute;
    inset: 26px;
    width: calc(100% - 52px);
    height: calc(100% - 52px);
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    filter: blur(5px);
    transition:
        opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.25s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.25s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 1.25s;
    will-change: opacity, transform, filter;
    z-index: 2;
}

.jp-visual-map.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    filter: blur(0);
    transition:
        opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.25s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.25s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
}

.jp-visual-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    z-index: 1;
    pointer-events: none;
}

.jp-visual-glow--1 {
    width: 180px;
    height: 180px;
    top: -24px;
    right: -20px;
    background: rgba(37, 99, 235, 0.12);
}

.jp-visual-glow--2 {
    width: 160px;
    height: 160px;
    bottom: -28px;
    left: -18px;
    background: rgba(220, 38, 38, 0.10);
}

.jp-visual-meta {
    padding: 20px 6px 6px;
}

.jp-visual-meta h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
}

.jp-visual-meta p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #64748b;
}

.jp-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.jp-stat-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.jp-stat-card__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.jp-stat-card strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1199.98px) {
    .jp-network__grid {
        grid-template-columns: 1fr;
    }

    .jp-visual-stage {
        min-height: 380px;
    }
}

@media (max-width: 991.98px) {
    .jp-panel--content {
        min-height: auto;
        overflow: visible;
    }

    .jp-story {
        position: relative;
        inset: auto;
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
        filter: blur(6px);
    }

    .jp-story.is-active {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        filter: blur(0);
    }
}

@media (max-width: 767.98px) {
    .jp-network {
        padding: 84px 0;
    }

    .jp-panel--content {
        padding: 24px;
    }

    .jp-feature-grid {
        grid-template-columns: 1fr;
    }

    .jp-switcher__btn {
        min-width: 100%;
    }

    .jp-visual-card {
        padding: 18px;
    }

    .jp-visual-card__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .jp-visual-stage {
        min-height: 300px;
        padding: 18px;
    }

    .jp-visual-map {
        inset: 18px;
        width: calc(100% - 36px);
        height: calc(100% - 36px);
    }

    .jp-stat-row {
        grid-template-columns: 1fr;
    }

    .jp-actions {
        flex-direction: column;
    }

    .jp-btn {
        width: 100%;
    }
}


/* =========================================================
   Left Content Panel : stable layout
========================================================= */
.jp-panel--content {
    position: relative;
    padding: 34px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 32px;
    box-shadow:
        0 22px 70px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    overflow: visible;
}

/* ไม่ใช้ absolute ไม่ใช้ display:none */
.jp-story {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.jp-story.is-active {
    display: block;
    animation: jpStoryFadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 1;
    transform: translateY(0);
}

.jp-story.is-leaving {
    animation: jpStoryFadeOut 0.35s ease forwards;
}

@keyframes jpStoryFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes jpStoryFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    to {
        opacity: 0;
        transform: translateY(-6px);
        filter: blur(2px);
    }
}

.jp-story__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.jp-story__badge--red {
    background: rgba(220, 38, 38, 0.10);
    color: #dc2626;
}

.jp-story__heading {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
}

.jp-story__text {
    margin: 0 0 26px;
    font-size: 1rem;
    line-height: 1.9;
    color: #475569;
}

.jp-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.jp-feature-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: all 0.28s ease;
}

.jp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.18);
}

.jp-feature-card__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    font-size: 1rem;
}

.jp-feature-card h4 {
    margin: 1px 0 6px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
}

.jp-feature-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #64748b;
}

.jp-highlight-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 6px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 76, 189, 0.06), rgba(220, 38, 38, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.10);
}

.jp-highlight-box__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.jp-highlight-box h4 {
    margin: 2px 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.jp-highlight-box p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #475569;
}


/* =========================
   Fullscreen Image Modal
========================= */

.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.9);

    justify-content: center;
    align-items: center;

    animation: fadeIn 0.3s ease;
}

.img-modal__content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);

    animation: zoomIn 0.3s ease;
}

.img-modal__close {
    position: absolute;
    top: 20px;
    right: 30px;

    font-size: 36px;
    color: #fff;
    cursor: pointer;

    transition: 0.2s;
}

.img-modal__close:hover {
    color: #ff4d6d;
}

/* animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================================
   MOBILE FIX OVERRIDE
   วางท้ายสุดของไฟล์เท่านั้น
========================================================= */
@media (max-width: 767.98px) {
    .jp-network .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .jp-network__intro {
        margin-bottom: 24px;
    }

    .jp-network__eyebrow {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 8px;
    }

    .jp-network__title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .jp-network__desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .jp-switcher {
        gap: 10px;
        margin-bottom: 22px;
    }

    .jp-switcher__btn {
        min-width: 100%;
        width: 100%;
        padding: 12px 14px;
        border-radius: 18px;
    }

    .jp-switcher__icon {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 14px;
    }

    .jp-switcher__text strong {
        font-size: 0.95rem;
    }

    .jp-switcher__text small {
        font-size: 0.76rem;
    }

    .jp-network__grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .jp-panel--content,
    .jp-visual-card {
        border-radius: 24px;
    }

    .jp-panel--content {
        padding: 18px !important;
        min-height: auto;
        overflow: visible;
    }

    .jp-story {
        position: relative !important;
        inset: auto !important;
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        filter: blur(4px);
    }

    .jp-story.is-active {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        filter: blur(0);
    }

    .jp-story__heading {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .jp-story__text {
        font-size: 0.95rem;
        line-height: 1.75;
        margin-bottom: 20px;
    }

    .jp-feature-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 12px;
        margin-bottom: 18px;
    }

    .jp-feature-card {
        padding: 14px;
        border-radius: 18px;
    }

    .jp-feature-card__icon {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .jp-feature-card h4 {
        font-size: 0.92rem;
        line-height: 1.35;
    }

    .jp-feature-card p {
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .jp-highlight-box {
        padding: 14px 15px;
        gap: 12px;
        border-radius: 18px;
    }

    .jp-highlight-box__icon {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 12px;
    }

    .jp-highlight-box h4 {
        font-size: 0.95rem;
    }

    .jp-highlight-box p {
        font-size: 0.86rem;
        line-height: 1.65;
    }

    .jp-actions {
        flex-direction: column;
        gap: 10px;
    }

    .jp-btn {
        width: 100%;
        min-height: 44px;
        font-size: 0.9rem;
        padding: 0 14px;
    }

    .jp-visual-card {
        padding: 16px;
    }

    .jp-visual-card__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;
    }

    .jp-visual-stage {
        min-height: 240px;
        padding: 14px;
        border-radius: 20px;
    }

    .jp-visual-map {
        inset: 14px;
        width: calc(100% - 28px);
        height: calc(100% - 28px);
    }

    .jp-visual-meta {
        padding: 16px 2px 4px;
    }

    .jp-visual-meta h3 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .jp-visual-meta p {
        font-size: 0.86rem;
        line-height: 1.6;
    }

    .jp-stat-row {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 14px;
    }

    .jp-stat-card {
        padding: 14px 15px;
        border-radius: 15px;
    }

    .jp-stat-card strong {
        font-size: 0.92rem;
    }
}

.jp-network::before {
    display: none;
}