.royal-timeline-immersive {
    position: relative;
    min-height: 360vh;
    color: #fff;
    background: #06101f;
    overflow: clip;
}

.royal-timeline-stats-block {
    width: 100%;
    padding: 64px 0;
    background: #f7f9fc;
}

.royal-timeline-stats-head {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 28px;
}

.royal-timeline-stats-head h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.25;
    color: #111827;
}

.royal-timeline-stats-head p {
    margin: 10px 0 0;
    color: #5b6472;
    line-height: 1.8;
}

.royal-timeline-stats-grid {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.royal-stat-card {
    min-height: 148px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
}

.royal-stat-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    margin-bottom: 12px;
}

.royal-stat-card strong {
    display: block;
    font-size: 34px;
    line-height: 1.1;
    color: #0f3f7a;
}

.royal-stat-card span {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: #111827;
}

.royal-stat-card p {
    margin: 8px 0 0;
    color: #667085;
    line-height: 1.7;
}

.royal-timeline-list {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
}

.royal-timeline-list::before {
    content: "";
    position: absolute;
    left: 128px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #d6deea;
}

.royal-timeline-list-node {
    position: relative;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 22px;
}

.royal-timeline-list-marker {
    position: relative;
    color: #0f3f7a;
    font-weight: 700;
}

.royal-timeline-list-marker::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #0f63b6;
    box-shadow: 0 0 0 5px rgba(15, 99, 182, .12);
}

.royal-timeline-list-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
}

.royal-timeline-list-card-text {
    grid-template-columns: minmax(0, 1fr);
}

.royal-timeline-list-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #111827;
}

.royal-timeline-list-body p {
    margin: 0;
    color: #5b6472;
    line-height: 1.8;
}

.royal-timeline-list-link {
    display: inline-flex;
    margin-top: 14px;
    color: #0f63b6;
    font-weight: 600;
}

.royal-timeline-list-media {
    margin: 0;
}

.royal-timeline-list-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .royal-timeline-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .royal-timeline-list::before {
        left: 12px;
    }

    .royal-timeline-list-node {
        grid-template-columns: 1fr;
        padding-left: 34px;
    }

    .royal-timeline-list-marker::after {
        left: -27px;
        right: auto;
    }

    .royal-timeline-list-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .royal-timeline-stats-block {
        padding: 42px 0;
    }

    .royal-timeline-stats-head h2 {
        font-size: 25px;
    }

    .royal-timeline-stats-grid {
        grid-template-columns: 1fr;
    }
}

.royal-timeline-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    background: #06101f;
}

.royal-timeline-bg,
.royal-timeline-bg > div {
    position: absolute;
    inset: 0;
}

.royal-timeline-bg-mountain {
    width: 135%;
    height: 115%;
    background:
        linear-gradient(90deg, rgba(3, 12, 28, .96) 0%, rgba(3, 12, 28, .72) 38%, rgba(3, 12, 28, .22) 100%),
        radial-gradient(circle at 30% 20%, rgba(22,119,255,.35), transparent 35%),
        url('/static/default/images/head-bg.png') center bottom / cover no-repeat;
    will-change: transform;
}

.royal-timeline-bg-stars {
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
    pointer-events: none;
}

.royal-timeline-bg-gradient {
    background: linear-gradient(180deg, rgba(6,16,31,.02), rgba(6,16,31,.28) 58%, rgba(6,16,31,.92));
}

.royal-timeline-header {
    position: absolute;
    top: 7vh;
    left: 50%;
    z-index: 5;
    width: min(900px, 90vw);
    transform: translateX(-50%);
    text-align: center;
}

.royal-timeline-heading-bg {
    display: block;
    color: rgba(255,255,255,.08);
    font-size: clamp(34px, 7vw, 96px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 6px;
}

.royal-timeline-header h2 {
    margin: -28px 0 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 2px;
}

.royal-timeline-header p {
    margin: 18px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 18px;
}

.royal-timeline-path-wrap {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    width: 2200px;
    height: 100vh;
    will-change: transform;
}

.royal-timeline-path {
    position: absolute;
    left: 120px;
    top: 57vh;
    width: 1900px;
    height: 260px;
    overflow: visible;
}

.royal-timeline-path path {
    fill: none;
}

.royal-timeline-path-glow {
    stroke: rgba(59,157,255,.95);
    stroke-width: 4;
    filter: url(#royalTimelineGlow);
}

.royal-timeline-path-line {
    stroke: rgba(255,255,255,.42);
    stroke-width: 1;
}

.royal-timeline-nodes {
    position: absolute;
    inset: 0;
}

.royal-timeline-node {
    position: absolute;
    width: 260px;
    color: #fff;
    transform: translateX(-50%);
    opacity: .62;
    transition: opacity .3s ease, filter .3s ease;
    --line-height: 150px;
}

.royal-timeline-node:nth-child(1) { left: 120px; top: calc(57vh + 230px); --line-height: 120px; }
.royal-timeline-node:nth-child(2) { left: 280px; top: calc(57vh + 222px); --line-height: 132px; }
.royal-timeline-node:nth-child(3) { left: 450px; top: calc(57vh + 204px); --line-height: 145px; }
.royal-timeline-node:nth-child(4) { left: 620px; top: calc(57vh + 178px); --line-height: 158px; }
.royal-timeline-node:nth-child(5) { left: 800px; top: calc(57vh + 150px); --line-height: 170px; }
.royal-timeline-node:nth-child(6) { left: 970px; top: calc(57vh + 132px); --line-height: 185px; }
.royal-timeline-node:nth-child(7) { left: 1145px; top: calc(57vh + 112px); --line-height: 198px; }
.royal-timeline-node:nth-child(8) { left: 1315px; top: calc(57vh + 88px); --line-height: 210px; }
.royal-timeline-node:nth-child(9) { left: 1485px; top: calc(57vh + 66px); --line-height: 222px; }
.royal-timeline-node:nth-child(10) { left: 1655px; top: calc(57vh + 44px); --line-height: 232px; }
.royal-timeline-node:nth-child(11) { left: 1810px; top: calc(57vh + 24px); --line-height: 242px; }
.royal-timeline-node:nth-child(12) { left: 1960px; top: calc(57vh + 12px); --line-height: 250px; }

.royal-timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(22,119,255,.22), 0 0 36px rgba(22,119,255,.95);
}

.royal-timeline-node::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 13px;
    width: 2px;
    height: var(--line-height);
    background: linear-gradient(to top, rgba(125,193,255,.95), rgba(125,193,255,.08));
    transform: translateX(-50%);
}

.royal-timeline-card {
    position: absolute;
    left: 50%;
    bottom: calc(var(--line-height) + 22px);
    width: 260px;
    transform: translateX(-50%);
}

.royal-timeline-card strong {
    display: block;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 28px rgba(22,119,255,.8);
}

.royal-timeline-card h3 {
    margin: 14px 0 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.royal-timeline-card p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.7;
}

.royal-timeline-node.royal-active {
    z-index: 8;
    opacity: 1;
}

.royal-timeline-node.royal-active .royal-timeline-card,
.royal-timeline-node.royal-highlight .royal-timeline-card {
    padding: 24px 26px;
    border: 1px solid rgba(104,183,255,.75);
    border-radius: 18px;
    background: rgba(10, 35, 70, .42);
    box-shadow: 0 0 60px rgba(22,119,255,.35);
    backdrop-filter: blur(14px);
}

.royal-timeline-progress {
    position: absolute;
    left: 50%;
    bottom: 6vh;
    z-index: 4;
    width: min(420px, 58vw);
    height: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    overflow: hidden;
}

.royal-timeline-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #1d6fff, #62d9ff);
}

@media (max-width: 768px) {
    .royal-timeline-immersive {
        min-height: auto;
    }

    .royal-timeline-stage {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 40px;
    }

    .royal-timeline-header {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 40px;
    }

    .royal-timeline-heading-bg {
        font-size: 34px;
    }

    .royal-timeline-header h2 {
        margin-top: -8px;
        font-size: 28px;
    }

    .royal-timeline-path-wrap {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        transform: none !important;
    }

    .royal-timeline-path,
    .royal-timeline-progress {
        display: none;
    }

    .royal-timeline-nodes {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .royal-timeline-node,
    .royal-timeline-node:nth-child(n) {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        transform: none;
        opacity: 1;
    }

    .royal-timeline-dot,
    .royal-timeline-node::before {
        display: none;
    }

    .royal-timeline-card,
    .royal-timeline-node.royal-active .royal-timeline-card,
    .royal-timeline-node.royal-highlight .royal-timeline-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        padding: 22px;
        transform: none;
        border: 1px solid rgba(104,183,255,.35);
        border-radius: 18px;
        background: rgba(10, 35, 70, .42);
        box-shadow: none;
        backdrop-filter: blur(12px);
    }
}

.royal-timeline-v2 {
    --royal-timeline-v2-progress: 0;
    --royal-timeline-v2-header: clamp(168px, 24vh, 238px);
    --royal-timeline-v2-stats: clamp(118px, 16vh, 154px);
    position: relative;
    min-height: 420vh;
    color: #fff;
    background: #06101e;
    overflow: clip;
    isolation: isolate;
}

.royal-timeline-v2-bg,
.royal-timeline-v2-bg > div {
    position: absolute;
    inset: 0;
}

.royal-timeline-v2-bg {
    z-index: 0;
    pointer-events: none;
}

.royal-timeline-v2-bg-image {
    width: 132%;
    height: 112%;
    background-image:
        linear-gradient(90deg, rgba(5, 13, 29, .9) 0%, rgba(5, 13, 29, .54) 42%, rgba(5, 13, 29, .14) 100%),
        linear-gradient(180deg, rgba(5, 13, 29, .1) 0%, rgba(5, 13, 29, .24) 55%, rgba(5, 13, 29, .82) 100%),
        url('/static/default/images/timeline-mountain-bg.png');
    background-size: cover;
    background-position: center bottom;
    transform: translate3d(0, 0, 0) scale(1.04);
    will-change: transform;
}

.royal-timeline-v2-bg-grid {
    opacity: .16;
    background:
        radial-gradient(circle at 18% 72%, rgba(28, 139, 255, .26), transparent 25%),
        radial-gradient(circle at 76% 32%, rgba(45, 199, 255, .18), transparent 24%);
    mix-blend-mode: screen;
}

.royal-timeline-v2-bg-glow {
    background:
        linear-gradient(90deg, rgba(2, 10, 22, .62), transparent 62%),
        linear-gradient(180deg, transparent 0%, rgba(4, 12, 28, .74) 100%);
    mix-blend-mode: screen;
}

.royal-timeline-v2-stage {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 100vh;
    min-height: 760px;
    display: grid;
    grid-template-rows: var(--royal-timeline-v2-header) minmax(360px, 1fr) var(--royal-timeline-v2-stats);
    overflow: hidden;
}

.royal-timeline-v2-header {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: clamp(38px, 6vh, 70px);
    text-align: center;
    z-index: 6;
    pointer-events: none;
}

.royal-timeline-v2-kicker {
    margin: 0 0 14px;
    color: #79dcff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.royal-timeline-v2-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 820;
    line-height: 1.08;
    text-shadow: 0 12px 38px rgba(0, 0, 0, .3);
}

.royal-timeline-v2-desc {
    max-width: 780px;
    margin: 18px auto 0;
    color: rgba(225, 241, 255, .78);
    font-size: 17px;
    line-height: 1.8;
}

.royal-timeline-v2-orbit {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    width: 2600px;
    height: 100vh;
    min-height: 760px;
    margin: 0;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.royal-timeline-v2-path {
    position: absolute;
    left: 80px;
    top: 48vh;
    width: 2300px;
    height: 390px;
    overflow: visible;
    pointer-events: none;
}

.royal-timeline-v2-path path {
    fill: none;
}

.royal-timeline-v2-path-base {
    stroke: rgba(255, 255, 255, .34);
    stroke-width: 1;
}

.royal-timeline-v2-path-energy {
    stroke: url(#royalTimelineV2Line);
    stroke-width: 4;
    stroke-linecap: round;
    filter: url(#royalTimelineV2Glow);
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--royal-timeline-v2-progress));
}

.royal-timeline-v2-nodes {
    position: absolute;
    inset: 0;
}

.royal-timeline-v2-node {
    position: absolute;
    width: 238px;
    min-width: 0;
    color: #fff;
    transform: translate3d(-50%, -50%, 0);
    opacity: .56;
    filter: saturate(.86);
    transition: opacity .28s ease, filter .28s ease;
    will-change: opacity, transform;
    --line-height: 150px;
}

.royal-timeline-v2-node:nth-child(1) { left: 80px; top: calc(48vh + 350px); --line-height: 118px; }
.royal-timeline-v2-node:nth-child(2) { left: 270px; top: calc(48vh + 336px); --line-height: 130px; }
.royal-timeline-v2-node:nth-child(3) { left: 470px; top: calc(48vh + 300px); --line-height: 145px; }
.royal-timeline-v2-node:nth-child(4) { left: 670px; top: calc(48vh + 260px); --line-height: 154px; }
.royal-timeline-v2-node:nth-child(5) { left: 875px; top: calc(48vh + 220px); --line-height: 166px; }
.royal-timeline-v2-node:nth-child(6) { left: 1080px; top: calc(48vh + 188px); --line-height: 176px; }
.royal-timeline-v2-node:nth-child(7) { left: 1290px; top: calc(48vh + 154px); --line-height: 188px; }
.royal-timeline-v2-node:nth-child(8) { left: 1500px; top: calc(48vh + 116px); --line-height: 178px; }
.royal-timeline-v2-node:nth-child(9) { left: 1710px; top: calc(48vh + 78px); --line-height: 174px; }
.royal-timeline-v2-node:nth-child(10) { left: 1920px; top: calc(48vh + 50px); --line-height: 168px; }
.royal-timeline-v2-node:nth-child(11) { left: 2120px; top: calc(48vh + 27px); --line-height: 162px; }
.royal-timeline-v2-node:nth-child(12) { left: 2315px; top: calc(48vh + 10px); --line-height: 156px; }

.royal-timeline-v2-node::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 13px;
    width: 1px;
    height: var(--line-height);
    background: linear-gradient(to top, rgba(112, 190, 255, .72), rgba(112, 190, 255, .05));
    transform: translateX(-50%);
    pointer-events: none;
}

.royal-timeline-v2-dot {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 3;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 8px rgba(22, 119, 255, .18), 0 0 28px rgba(22, 119, 255, .72);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.royal-timeline-v2-dot span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: transparent;
}

.royal-timeline-v2-card {
    position: absolute;
    left: 50%;
    bottom: calc(var(--line-height) + 22px);
    width: 238px;
    min-height: 112px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(125, 193, 255, .18);
    border-radius: 15px;
    background: rgba(9, 28, 58, .18);
    box-shadow: none;
    backdrop-filter: blur(10px);
    transform: translateX(-50%);
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.royal-timeline-v2-card::before {
    display: none;
}

.royal-timeline-v2-card strong {
    display: block;
    color: #7ec4ff;
    font-size: 28px;
    font-weight: 850;
    line-height: 1;
    text-shadow: 0 0 20px rgba(47, 152, 255, .58);
}

.royal-timeline-v2-card h3 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
}

.royal-timeline-v2-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.55;
}

.royal-timeline-v2-card figure {
    margin: 16px 0 0;
}

.royal-timeline-v2-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    object-fit: cover;
}

.royal-timeline-v2-node.royal-active {
    z-index: 8;
    opacity: 1;
    filter: saturate(1.12);
}

.royal-timeline-v2-node.royal-active .royal-timeline-v2-dot {
    width: 30px;
    height: 30px;
    box-shadow: 0 0 0 10px rgba(22, 119, 255, .22), 0 0 46px rgba(22, 119, 255, .9);
}

.royal-timeline-v2-node.royal-active .royal-timeline-v2-card,
.royal-timeline-v2-node.royal-highlight .royal-timeline-v2-card {
    border-color: rgba(126, 196, 255, .62);
    background: rgba(13, 43, 86, .42);
    box-shadow: 0 22px 54px rgba(22, 119, 255, .2);
    transform: translateX(-50%) translateY(-8px);
}

.royal-timeline-v2-stats {
    position: relative;
    z-index: 7;
    width: min(1180px, 90vw);
    margin: 0 auto;
    padding: 0;
    margin-bottom: 42px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-self: end;
    border: 1px solid rgba(124, 194, 255, .13);
    border-radius: 18px;
    background: rgba(5, 20, 44, .34);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.royal-timeline-v2-stat {
    min-height: 96px;
    padding: 16px 20px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.royal-timeline-v2-stat:last-child {
    border-right: 0;
}

.royal-timeline-v2-stat img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 8px;
}

.royal-timeline-v2-stat strong {
    display: block;
    color: #2f98ff;
    font-size: 30px;
    font-weight: 850;
    line-height: 1.05;
}

.royal-timeline-v2-stat span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .68);
    font-weight: 700;
    font-size: 13px;
}

.royal-timeline-v2-stat p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    line-height: 1.6;
}

.royal-timeline-v2-progress {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 8;
    width: min(430px, 48vw);
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    transform: translateX(-50%);
    overflow: hidden;
}

.royal-timeline-v2-progress span {
    display: block;
    width: calc(var(--royal-timeline-v2-progress) * 100%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #268dff, #79f3ff);
    box-shadow: none;
}

@media (max-width: 1100px) {
    .royal-timeline-v2-stage {
        grid-template-rows: 210px minmax(360px, 1fr) 170px;
    }

    .royal-timeline-v2-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .royal-timeline-v2 {
        min-height: auto;
        overflow: hidden;
    }

    .royal-timeline-v2-stage {
        position: relative;
        height: auto;
        min-height: auto;
        display: block;
        padding: 64px 20px 42px;
    }

    .royal-timeline-v2-header,
    .royal-timeline-v2-orbit,
    .royal-timeline-v2-stats {
        width: 100%;
    }

    .royal-timeline-v2-header {
        padding-top: 0;
        text-align: left;
    }

    .royal-timeline-v2-header h2 {
        font-size: 30px;
    }

    .royal-timeline-v2-desc {
        margin-left: 0;
    }

    .royal-timeline-v2-orbit {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        min-height: auto;
        margin-top: 34px;
        transform: none !important;
    }

    .royal-timeline-v2-path,
    .royal-timeline-v2-progress {
        display: none;
    }

    .royal-timeline-v2-nodes {
        position: relative;
        display: grid;
        gap: 18px;
    }

    .royal-timeline-v2-node,
    .royal-timeline-v2-node:nth-child(n) {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        min-width: 0;
        transform: none;
        opacity: 1;
        filter: none;
    }

    .royal-timeline-v2-node::before {
        content: "";
        position: absolute;
        left: 14px;
        top: 30px;
        bottom: -18px;
        width: 1px;
        background: linear-gradient(to bottom, rgba(127, 232, 255, .8), rgba(127, 232, 255, 0));
    }

    .royal-timeline-v2-node:last-child::before {
        display: none;
    }

    .royal-timeline-v2-dot {
        left: 14px;
        top: 22px;
        transform: translate(-50%, -50%);
    }

    .royal-timeline-v2-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        min-height: auto;
        margin: 0 0 0 34px;
        transform: none !important;
        background: rgba(9, 28, 58, .5);
    }

    .royal-timeline-v2-card::before {
        display: none;
    }

    .royal-timeline-v2-stats {
        grid-template-columns: 1fr;
        margin-top: 26px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-radius: 14px;
    }

    .royal-timeline-v2-stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .royal-timeline-v2-stat:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .royal-timeline-v2,
    .royal-timeline-v2 *,
    .royal-timeline-v2 *::before,
    .royal-timeline-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .royal-timeline-v2 {
        min-height: auto;
    }

    .royal-timeline-v2-stage {
        position: relative;
    }
}

/* Timeline immersive v2 preview: aligned with timeline_sticky_demo structure. */
.royal-timeline-v2 {
    position: relative;
    min-height: 420vh;
    color: #fff;
    background: #06101e;
    overflow: clip;
    isolation: isolate;
}

.royal-timeline-v2 .royal-timeline-v2-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 760px;
    display: block;
    overflow: hidden;
    background: #06101e;
}

.royal-timeline-v2 .scene-bg {
    position: absolute;
    inset: 0;
    width: 132%;
    height: 112%;
    z-index: 0;
    background-image: url('/static/default/images/timeline-mountain-bg.png');
    background-size: cover;
    background-position: center 56%;
    transform: translate3d(0, 0, 0) scale(1.06);
    filter: saturate(1.06) contrast(1.08) brightness(.84);
    will-change: transform;
}

.royal-timeline-v2 .scene-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 8, 20, .72) 0%, rgba(6, 16, 34, .34) 34%, rgba(7, 18, 39, .18) 62%, rgba(3, 9, 21, .56) 100%),
        linear-gradient(180deg, rgba(3, 10, 24, .18) 0%, rgba(5, 14, 31, .06) 26%, rgba(4, 12, 28, .24) 66%, rgba(2, 7, 18, .74) 100%),
        radial-gradient(ellipse at 50% 48%, rgba(78, 141, 206, .06), rgba(5, 13, 29, .26) 68%);
    pointer-events: none;
}

.royal-timeline-v2 .mist-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0%, rgba(108, 166, 214, .06) 46%, rgba(108, 166, 214, .03) 62%, transparent 82%),
        radial-gradient(ellipse at 28% 66%, rgba(112, 181, 245, .08), transparent 34%),
        radial-gradient(ellipse at 70% 46%, rgba(112, 181, 245, .07), transparent 31%);
    filter: blur(16px);
    opacity: .34;
    mix-blend-mode: screen;
}

.royal-timeline-v2 .foreground-light {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    height: 36vh;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 12% 100%, rgba(255, 205, 128, .06), transparent 28%),
        linear-gradient(180deg, transparent 0%, rgba(2, 10, 22, .2) 100%);
}

.royal-timeline-v2 .particle-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(92, 185, 255, .32) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, .18) 0 1px, transparent 2px),
        linear-gradient(90deg, rgba(120, 198, 255, .05) 1px, transparent 1px);
    background-size: 240px 240px, 360px 360px, 180px 180px;
    background-position: 20px 50px, 110px 140px, 0 0;
    opacity: .05;
    mix-blend-mode: screen;
}

.royal-timeline-v2 .timeline-camera::before,
.royal-timeline-v2 .timeline-camera::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.royal-timeline-v2 .timeline-camera::before {
    background:
        linear-gradient(180deg, rgba(116, 182, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116, 182, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, transparent 0%, rgba(104, 177, 255, .08) 49%, transparent 100%);
    background-size: 100% 100%, 220px 220px, 100% 100%;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0) 80%);
    opacity: .08;
    mix-blend-mode: screen;
}

.royal-timeline-v2 .timeline-camera::after {
    background:
        radial-gradient(ellipse at 32% 72%, rgba(85, 176, 255, .1), transparent 26%),
        radial-gradient(ellipse at 78% 34%, rgba(145, 225, 255, .08), transparent 22%),
        radial-gradient(ellipse at 55% 56%, rgba(76, 154, 239, .04), transparent 34%);
    opacity: .32;
    mix-blend-mode: screen;
}

.royal-timeline-v2 .timeline-heading {
    position: absolute;
    top: 44px;
    left: 50%;
    z-index: 10;
    width: min(920px, 92vw);
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.royal-timeline-v2 .timeline-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -34px;
    width: min(560px, 74vw);
    height: 72px;
    border-radius: 999px;
    background:
        radial-gradient(ellipse, rgba(30, 80, 136, .24), rgba(9, 24, 52, .1) 44%, rgba(86, 176, 255, 0) 72%);
    transform: translateX(-50%);
    pointer-events: none;
}

.royal-timeline-v2 .timeline-heading .eyebrow {
    margin-bottom: 10px;
    color: rgba(47, 152, 255, .86);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.royal-timeline-v2 .timeline-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: 0;
    text-shadow: 0 10px 38px rgba(0, 0, 0, .28), 0 0 24px rgba(86, 176, 255, .12);
}

.royal-timeline-v2 .timeline-heading p {
    max-width: 780px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, .62);
    font-size: 17px;
    line-height: 1.7;
}

.royal-timeline-v2 .timeline-camera {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    width: 2600px;
    height: 100vh;
    min-height: 760px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.royal-timeline-v2.timeline-mode-compact .timeline-camera {
    width: 100vw;
}

.royal-timeline-v2.timeline-mode-compact .particle-layer {
    opacity: .02;
}

.royal-timeline-v2.timeline-mode-compact .scene-bg {
    width: 112%;
    height: 106%;
}

.royal-timeline-v2.timeline-mode-compact .timeline-heading {
    top: 30px;
}

.royal-timeline-v2.timeline-mode-compact .curve-svg {
    height: 300px;
}

.royal-timeline-v2.timeline-mode-compact .stats-panel {
    bottom: 28px;
}

.royal-timeline-v2.timeline-mode-medium .stats-panel,
.royal-timeline-v2.timeline-mode-full .stats-panel {
    bottom: 24px;
}

.royal-timeline-v2.timeline-mode-medium .progress-track,
.royal-timeline-v2.timeline-mode-full .progress-track {
    bottom: 12px;
}

.royal-timeline-v2 .curve-svg {
    position: absolute;
    left: 52px;
    top: 48vh;
    width: 2440px;
    height: 390px;
    overflow: visible;
    pointer-events: none;
}

.royal-timeline-v2 .curve-svg path {
    fill: none;
}

.royal-timeline-v2 .curve-path-base {
    stroke: rgba(230, 245, 255, .035);
    stroke-width: 1;
    stroke-dasharray: 48 42 16 58;
}

.royal-timeline-v2 .curve-path-energy {
    stroke: url(#royalTimelineV2Line);
    stroke-width: 4.2;
    stroke-linecap: round;
    opacity: .6;
    filter: drop-shadow(0 0 12px rgba(92, 185, 255, .18));
    stroke-dasharray: 180 36 92 70;
}

.royal-timeline-v2.timeline-mode-compact .curve-path-energy {
    stroke-width: 4;
}

.royal-timeline-v2 .node {
    position: absolute;
    width: 218px;
    color: #fff;
    opacity: .84;
    filter: saturate(.98) brightness(.98);
    transform: translate(-50%, 0) scale(.94);
    transform-origin: 50% 0;
    transition: opacity .28s ease, filter .28s ease, transform .28s ease;
    will-change: opacity, transform;
    --line-height: 150px;
}

.royal-timeline-v2 .node::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(-1 * var(--line-height));
    width: 1px;
    height: var(--line-height);
    background:
        linear-gradient(to top, rgba(112, 190, 255, 0), rgba(112, 190, 255, .2) 44%, rgba(255, 255, 255, .12) 100%);
    box-shadow: 0 0 10px rgba(100, 190, 255, .06);
    transform: translateX(-50%);
    opacity: .52;
}

.royal-timeline-v2 .node-dot {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 2;
    width: 17px;
    height: 17px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle, #f7fbff 0 26%, #8ed8ff 34%, rgba(38, 141, 255, .75) 58%, rgba(38, 141, 255, .12) 100%);
    box-shadow: 0 0 0 6px rgba(22, 119, 255, .08), 0 0 18px rgba(22, 119, 255, .34);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.royal-timeline-v2 .node-dot::before,
.royal-timeline-v2 .node-dot::after {
    content: "";
    position: absolute;
    inset: 50%;
    border-radius: inherit;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.royal-timeline-v2 .node-dot::before {
    width: 42px;
    height: 42px;
    background: radial-gradient(circle, rgba(111, 203, 255, .22), rgba(111, 203, 255, 0) 68%);
    opacity: .48;
}

.royal-timeline-v2 .node-dot::after {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(111, 203, 255, .11);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.72);
}

.royal-timeline-v2 .node-card {
    position: absolute;
    left: 50%;
    bottom: calc(var(--line-height) + 6px);
    width: 218px;
    min-height: 108px;
    padding: 8px 10px;
    border: 1px solid rgba(210, 235, 255, .035);
    border-bottom-color: rgba(210, 235, 255, 0);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(232, 246, 255, .045) 0%, rgba(210, 232, 255, .018) 44%, rgba(6, 18, 38, .05) 74%, rgba(6, 18, 38, 0) 100%),
        radial-gradient(ellipse at 26% 8%, rgba(116, 190, 255, .05), transparent 58%);
    box-shadow: none;
    backdrop-filter: blur(3px) saturate(1.02);
    mask-image: linear-gradient(180deg, #000 0%, #000 66%, rgba(0, 0, 0, .36) 88%, rgba(0, 0, 0, 0) 100%);
    transform: translateX(-50%) perspective(780px) rotateX(3deg);
    transform-origin: 50% 100%;
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.royal-timeline-v2 .node-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .07), transparent 34%, rgba(91, 178, 255, .025) 74%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(6, 18, 38, .05) 78%, rgba(6, 18, 38, .16) 100%);
    pointer-events: none;
    opacity: .44;
}

.royal-timeline-v2 .node-card::after {
    box-shadow: 0 18px 34px rgba(86, 176, 255, .035);
}

.royal-timeline-v2 .node-card::after {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 38%;
    border-radius: 14px 14px 80px 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.royal-timeline-v2.timeline-mode-medium .node-card,
.royal-timeline-v2.timeline-mode-full .node-card {
    width: 216px;
}

.royal-timeline-v2.timeline-mode-compact .node {
    width: 220px;
}

.royal-timeline-v2.timeline-mode-compact .node-card {
    width: 220px;
    background:
        linear-gradient(180deg, rgba(232, 246, 255, .05) 0%, rgba(210, 232, 255, .02) 42%, rgba(5, 17, 36, .05) 72%, rgba(5, 17, 36, 0) 100%),
        radial-gradient(ellipse at 28% 0%, rgba(116, 190, 255, .045), transparent 52%);
}

.royal-timeline-v2 .node-year {
    color: rgba(172, 222, 255, .88);
    font-size: 26px;
    font-weight: 850;
    line-height: 1;
    text-shadow: 0 8px 24px rgba(2, 8, 18, .34), 0 0 14px rgba(47, 152, 255, .28);
}

.royal-timeline-v2 .node-title {
    margin-top: 10px;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    transition: opacity .24s ease, transform .24s ease, max-height .24s ease;
}

.royal-timeline-v2 .node-desc {
    margin-top: 8px;
    color: rgba(238, 246, 255, .64);
    font-size: 12.5px;
    line-height: 1.55;
    max-height: 4.8em;
    overflow: hidden;
    transition: opacity .24s ease, transform .24s ease, max-height .24s ease, margin-top .24s ease;
}

.royal-timeline-v2 .node-card figure {
    margin: 12px 0 0;
}

.royal-timeline-v2 .node-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
}

.royal-timeline-v2 .node.active {
    z-index: 20;
    opacity: 1 !important;
    filter: saturate(1.03) brightness(1.025) contrast(1.035);
    transform: translate(-50%, 0) scale(1.045) !important;
}

.royal-timeline-v2 .node.active .node-dot {
    width: 22px;
    height: 22px;
    box-shadow: 0 0 0 8px rgba(22, 119, 255, .11), 0 0 24px rgba(22, 119, 255, .46), 0 0 42px rgba(122, 212, 255, .12);
}

.royal-timeline-v2 .node.active .node-dot::before {
    opacity: 1;
    animation: royalTimelineV2Pulse 2.8s ease-out infinite;
}

.royal-timeline-v2 .node.active .node-dot::after {
    opacity: 1;
    animation: royalTimelineV2PulseRing 2.8s ease-out infinite;
}

.royal-timeline-v2 .node.active .node-card,
.royal-timeline-v2 .node.highlight .node-card {
    border-color: rgba(218, 241, 255, .07);
    border-bottom-color: rgba(218, 241, 255, 0);
    background:
        linear-gradient(180deg, rgba(242, 250, 255, .08) 0%, rgba(222, 241, 255, .032) 42%, rgba(6, 20, 42, .07) 74%, rgba(6, 20, 42, 0) 100%),
        radial-gradient(ellipse at 32% 0%, rgba(119, 201, 255, .065), transparent 56%);
    box-shadow: 0 20px 42px rgba(3, 12, 28, .13), 0 0 12px rgba(73, 167, 255, .035);
    transform: translateX(-50%) translateY(-4px) perspective(780px) rotateX(1.2deg) scale(1.004);
}

.royal-timeline-v2 .node.active .node-year {
    color: rgba(185, 226, 255, .94);
    text-shadow: 0 0 20px rgba(80, 180, 255, .42);
}

.royal-timeline-v2 .node.active .node-title {
    color: #fff;
}

.royal-timeline-v2 .node.near .node-card {
    min-height: 76px;
}

.royal-timeline-v2 .node.near .node-desc {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(-4px);
}

.royal-timeline-v2 .node.far .node-card {
    width: auto;
    min-height: 0;
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    mask-image: none;
}

.royal-timeline-v2 .node.far .node-card::before,
.royal-timeline-v2 .node.far .node-card::after {
    display: none;
}

.royal-timeline-v2 .node.far .node-title,
.royal-timeline-v2 .node.far .node-desc {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
}

.royal-timeline-v2 .node.far .node-year {
    font-size: 22px;
    color: rgba(172, 222, 255, .64);
    text-shadow: 0 6px 18px rgba(2, 8, 18, .28), 0 0 10px rgba(47, 152, 255, .18);
}

.royal-timeline-v2 .stats-panel {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1080px, 86vw);
    border: 1px solid rgba(230, 245, 255, .09);
    border-radius: 16px;
    background: rgba(6, 21, 43, .16);
    backdrop-filter: blur(8px) saturate(1.04);
    overflow: hidden;
    transform: translateX(-50%);
}

.royal-timeline-v2 .stats-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
}

.royal-timeline-v2 .stat-item {
    position: relative;
    min-height: 72px;
    padding: 12px 17px;
    border-right: 1px solid rgba(255, 255, 255, .055);
}

.royal-timeline-v2 .stat-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(102, 226, 255, .08), transparent 42%);
    pointer-events: none;
    opacity: .28;
}

.royal-timeline-v2 .stat-item:last-child {
    border-right: 0;
}

.royal-timeline-v2 .stat-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 8px;
}

.royal-timeline-v2 .stat-label {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .56);
    font-size: 13px;
    line-height: 1.4;
}

.royal-timeline-v2 .stat-value {
    color: rgba(95, 178, 255, .92);
    font-size: 24px;
    font-weight: 850;
    line-height: 1;
}

.royal-timeline-v2 .stat-item p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    line-height: 1.5;
}

.royal-timeline-v2 .progress-track {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 14;
    width: min(420px, 58vw);
    height: 3px;
    background: rgba(255, 255, 255, .1);
    border-radius: 999px;
    overflow: hidden;
    transform: translateX(-50%);
}

.royal-timeline-v2 .progress-fill {
    width: calc(var(--royal-timeline-v2-progress) * 100%);
    height: 100%;
    background: linear-gradient(90deg, #1677ff, #66e2ff);
    border-radius: inherit;
    box-shadow: 0 0 22px rgba(87, 195, 255, .38);
}

@keyframes royalTimelineV2Pulse {
    0% {
        opacity: .72;
        transform: translate(-50%, -50%) scale(.92);
    }
    65% {
        opacity: .15;
        transform: translate(-50%, -50%) scale(1.7);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.05);
    }
}

@keyframes royalTimelineV2PulseRing {
    0% {
        opacity: .58;
        transform: translate(-50%, -50%) scale(.74);
    }
    70% {
        opacity: .08;
        transform: translate(-50%, -50%) scale(1.25);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.42);
    }
}

@media (max-width: 900px) {
    .royal-timeline-v2 {
        min-height: auto;
    }

    .royal-timeline-v2 .royal-timeline-v2-stage {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding: 72px 18px 40px;
    }

    .royal-timeline-v2 .scene-bg {
        width: 100%;
        height: 100%;
        transform: none !important;
    }

    .royal-timeline-v2 .timeline-heading {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-bottom: 34px;
        text-align: left;
        transform: none;
    }

    .royal-timeline-v2 .timeline-heading h2 {
        font-size: 30px;
    }

    .royal-timeline-v2 .timeline-camera {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        transform: none !important;
    }

    .royal-timeline-v2 .curve-svg,
    .royal-timeline-v2 .progress-track {
        display: none;
    }

    .royal-timeline-v2 .node {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 100%;
        margin-bottom: 16px;
        opacity: 1 !important;
        filter: none;
        transform: none !important;
    }

    .royal-timeline-v2 .node::before {
        left: 14px;
        top: 30px;
        bottom: -18px;
        height: auto;
        transform: none;
        background: linear-gradient(to bottom, rgba(127, 232, 255, .8), rgba(127, 232, 255, 0));
    }

    .royal-timeline-v2 .node:last-child::before {
        display: none;
    }

    .royal-timeline-v2 .node-dot {
        left: 14px;
        top: 22px;
    }

    .royal-timeline-v2 .node-card,
    .royal-timeline-v2 .node.active .node-card,
    .royal-timeline-v2 .node.highlight .node-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        min-height: auto;
        margin: 0 0 0 34px;
        padding: 18px;
        background: rgba(9, 28, 58, .54);
        border-color: rgba(126, 196, 255, .3);
        box-shadow: none;
        transform: none;
    }

    .royal-timeline-v2 .stats-panel {
        position: relative;
        left: auto;
        bottom: auto;
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 20px;
        transform: none;
    }

    .royal-timeline-v2 .stat-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .royal-timeline-v2 .stat-item:last-child {
        border-bottom: 0;
    }
}
