/* ============================================
   RSB SPLASH — "Terminal Preloader" &
   Futuristic Glassmorphic Viewport Zoom-In
   ============================================ */

.rsb-splash {
    --split-y: 50vh;
    --sp-ink: #0d0b0a;
    --sp-ink-soft: rgba(13, 11, 10, 0.45);
    --sp-track: #e1e1e1;
    --sp-accent: var(--spicy-paprika, #EC5F2E);
    --sp-accent-glow: rgba(236, 95, 46, 0.45);
    --sp-line: rgba(13, 11, 10, 0.14);
    --sp-pad: clamp(1rem, 2.2vw, 2rem);
    --sp-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --sp-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--sp-ink);
    font-family: var(--sp-mono);
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-feature-settings: "zero" on;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* Background fallback sebelum split dimulai */
.rsb-splash::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.rsb-splash.is-splitting::before,
.rsb-splash.is-glitching-split::before {
    opacity: 0;
}

/* ============================================
   SPLIT SCREEN PANELS (TOP & BOTTOM HALF)
   ============================================ */
.rsb-splash__panel {
    position: absolute;
    left: 0;
    right: 0;
    background: #ffffff;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsb-splash__panel--top {
    top: 0;
    height: var(--split-y, 50vh);
    transform-origin: top center;
}

.rsb-splash__panel--bottom {
    top: var(--split-y, 50vh);
    bottom: 0;
    transform-origin: bottom center;
}

/* Frame garis tipis futuristik di masing-masing panel */
.rsb-splash__frame {
    position: absolute;
    pointer-events: none;
    animation: rsbSpFadeFrom 0.6s 0.1s ease backwards;
}

.rsb-splash__frame--top {
    top: var(--sp-pad);
    left: var(--sp-pad);
    right: var(--sp-pad);
    bottom: 0;
    border-top: 1px solid var(--sp-line);
    border-left: 1px solid var(--sp-line);
    border-right: 1px solid var(--sp-line);
    border-bottom: 1px solid transparent;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: border-color 0.2s ease, border-radius 0.2s ease, box-shadow 0.2s ease;
}

.rsb-splash__frame--bottom {
    top: 0;
    left: var(--sp-pad);
    right: var(--sp-pad);
    bottom: var(--sp-pad);
    border-bottom: 1px solid var(--sp-line);
    border-left: 1px solid var(--sp-line);
    border-right: 1px solid var(--sp-line);
    border-top: 1px solid transparent;
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    transition: border-color 0.2s ease, border-radius 0.2s ease, box-shadow 0.2s ease;
}

/* Garis Laser Seam di Batas Pemotongan Layar */
.rsb-splash__seam {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.rsb-splash__seam--top { bottom: 0; }
.rsb-splash__seam--bottom { top: 0; }

/* Sudut Reticle Seam (L-Bracket di batas belah) */
.rsb-seam-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--sp-accent, #ec5f2e);
    border-style: solid;
    border-width: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.rsb-seam-corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.rsb-seam-corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.rsb-seam-corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.rsb-seam-corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }

/* Tag HUD di sisi seam */
.rsb-seam-tag {
    position: absolute;
    font-family: var(--sp-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--sp-accent, #ec5f2e);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.rsb-seam-tag--top { bottom: 4px; right: 14px; }
.rsb-seam-tag--bottom { top: 4px; right: 14px; }

@media (hover: hover) and (pointer: fine) {
    .rsb-splash,
    .rsb-splash * {
        cursor: none;
    }
}

/* ---------- Preloader Frame (garis tipis bersudut membulat) ---------- */
.rsb-splash__corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--sp-ink);
    border-style: solid;
    border-width: 0;
}

.rsb-splash__corner--tl { top: 14px;    left: 14px;  border-top-width: 1px;    border-left-width: 1px; }
.rsb-splash__corner--tr { top: 14px;    right: 14px; border-top-width: 1px;    border-right-width: 1px; }
.rsb-splash__corner--bl { bottom: 14px; left: 14px;  border-bottom-width: 1px; border-left-width: 1px; }
.rsb-splash__corner--br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- Konten Tengah Preloader ---------- */
.rsb-splash__inner {
    position: relative;
    z-index: 10;
    width: min(1100px, calc(100% - var(--sp-pad) * 2 - 4rem));
    transition: opacity 0.28s ease, transform 0.35s var(--sp-ease);
}

.rsb-splash__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    animation: rsbSpRiseFrom 0.6s 0.15s var(--sp-ease) backwards;
}

.rsb-splash__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.rsb-splash__logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.rsb-splash__brand-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rsb-splash__clock {
    color: var(--sp-ink-soft);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ---------- Garis Progres ---------- */
.rsb-splash__bar {
    position: relative;
    width: 100%;
    height: 1px;
    background: var(--sp-track);
    transform-origin: left center;
    animation: rsbSpDrawFrom 0.9s 0.05s var(--sp-ease) backwards;
}

.rsb-splash__progress {
    position: absolute;
    inset: 0;
    background: var(--sp-accent);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* ---------- Detail: status + log ---------- */
.rsb-splash__details {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1rem;
    animation: rsbSpFadeFrom 0.5s 0.35s ease backwards;
}

.rsb-splash__status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.rsb-splash__icon {
    fill: var(--sp-ink);
    flex-shrink: 0;
    animation: rsbSpBlink 1s steps(2, jump-none) infinite;
}

.rsb-splash.is-complete .rsb-splash__icon {
    fill: var(--sp-accent);
    animation: none;
}

.rsb-splash__log {
    min-width: 0;
    color: var(--sp-ink-soft);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- CTA cincin pengikut kursor ---------- */
.rsb-splash__cta {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    transform: translate(50vw, 75vh);
    will-change: transform;
    outline: none;
}

.rsb-splash__ring {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--sp-ease);
    animation: rsbSpRingFrom 0.7s 0.5s var(--sp-ease) backwards;
}

.rsb-splash__arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--sp-ink);
    stroke-width: 1;
    animation: rsbSpSpin 6s linear infinite;
    transition: stroke 0.3s ease;
}

.rsb-splash__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--sp-ink);
    transition: background 0.3s ease, transform 0.3s var(--sp-ease);
}

.rsb-splash__cta-copy {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: -22px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 10px;
    animation: rsbSpFadeFrom 0.5s 0.8s ease backwards;
}

.rsb-splash__cta:active .rsb-splash__ring,
.rsb-splash.is-pressed .rsb-splash__ring {
    transform: translate(-50%, -50%) scale(0.85);
    transition: transform 0.15s ease;
}

.rsb-splash__cta:focus-visible .rsb-splash__arcs,
.rsb-splash.is-complete .rsb-splash__arcs {
    stroke: var(--sp-accent);
}

.rsb-splash.is-complete .rsb-splash__dot {
    background: var(--sp-accent);
    transform: rotate(45deg);
}

/* ---------- Keluar: Konten memudar & Wipe Ke Atas ---------- */
.rsb-splash.is-leaving .rsb-splash__inner,
.rsb-splash.is-leaving .rsb-splash__frame {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.28s ease, transform 0.35s var(--sp-ease);
}

.rsb-splash.is-leaving .rsb-splash__cta {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
    transition: opacity 0.22s ease, transform 0.35s var(--sp-ease);
}

/* ============================================
   GLITCH TRANSITION: FULLSCREEN TO HALF-SCREEN BORDER
   ============================================ */
.rsb-splash.is-glitching-split .rsb-splash__panel--top {
    animation: rsbGlitchSplitTop 0.18s steps(2) forwards;
}

.rsb-splash.is-glitching-split .rsb-splash__panel--bottom {
    animation: rsbGlitchSplitBottom 0.18s steps(2) forwards;
}

.rsb-splash.is-glitching-split .rsb-splash__frame--top,
.rsb-splash.is-splitting .rsb-splash__frame--top {
    border-bottom: 1px solid var(--sp-accent, #ec5f2e);
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    border-color: rgba(236, 95, 46, 0.75);
    box-shadow: 0 0 12px rgba(236, 95, 46, 0.35);
}

.rsb-splash.is-glitching-split .rsb-splash__frame--bottom,
.rsb-splash.is-splitting .rsb-splash__frame--bottom {
    border-top: 1px solid var(--sp-accent, #ec5f2e);
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    border-color: rgba(0, 240, 255, 0.75);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.rsb-splash.is-glitching-split .rsb-splash__seam,
.rsb-splash.is-splitting .rsb-splash__seam {
    opacity: 1;
    background: var(--sp-accent, #ec5f2e);
    box-shadow: 0 0 10px #ec5f2e, 0 0 20px rgba(0, 240, 255, 0.8);
}

.rsb-splash.is-glitching-split .rsb-seam-corner,
.rsb-splash.is-splitting .rsb-seam-corner {
    opacity: 1;
}

.rsb-splash.is-glitching-split .rsb-seam-tag,
.rsb-splash.is-splitting .rsb-seam-tag {
    opacity: 0.9;
}

@keyframes rsbGlitchSplitTop {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-4px, -1px); filter: drop-shadow(-2px 0 #00f0ff) drop-shadow(2px 0 #ec5f2e); }
    50%  { transform: translate(4px, 1px); filter: drop-shadow(2px 0 #00f0ff) drop-shadow(-2px 0 #ec5f2e); }
    75%  { transform: translate(-2px, 0); filter: drop-shadow(-1px 0 #00f0ff); }
    100% { transform: translate(0, 0); filter: drop-shadow(0 0 0 transparent); }
}

@keyframes rsbGlitchSplitBottom {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(4px, 1px); filter: drop-shadow(2px 0 #ec5f2e) drop-shadow(-2px 0 #00f0ff); }
    50%  { transform: translate(-4px, -1px); filter: drop-shadow(-2px 0 #ec5f2e) drop-shadow(2px 0 #00f0ff); }
    75%  { transform: translate(2px, 0); filter: drop-shadow(1px 0 #ec5f2e); }
    100% { transform: translate(0, 0); filter: drop-shadow(0 0 0 transparent); }
}

/* ============================================
   SPLIT SCREEN EXIT: SLIDE APART (HALF UP, HALF DOWN)
   ============================================ */
.rsb-splash.is-splitting {
    background: transparent !important;
    pointer-events: none;
}

.rsb-splash.is-splitting .rsb-splash__panel--top {
    transform: translateY(-101%);
}

.rsb-splash.is-splitting .rsb-splash__panel--bottom {
    transform: translateY(101%);
}

.rsb-splash.is-splitting .rsb-splash__head {
    opacity: 0;
    transform: translateY(-24px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsb-splash.is-splitting .rsb-splash__details {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsb-splash.is-splitting .rsb-splash__bar {
    opacity: 0;
    transform: scaleY(2.2);
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 0 16px #ec5f2e, 0 0 32px #00f0ff;
}

.rsb-splash.is-splitting .rsb-splash__cta {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.15);
    transition: opacity 0.25s ease, transform 0.35s ease;
}

/* ============================================
   HALAMAN VIEWPORT: KOTAK KACA GLASSMORPHISM & ZOOM-IN
   ============================================ */

/* 1. Base Container Viewport */
.rsb-viewport {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-color: var(--bg-primary, #ffffff);
}

/* 2. Kondisi Kotak Kaca Dorman (Saat loading & wipe berlangsung) */
html.rsb-splash-lock #rsb-viewport,
html.rsb-viewport-zooming #rsb-viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    transform: scale(0.84);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 100vmax #080709,
                0 35px 120px rgba(0, 0, 0, 0.92),
                0 0 65px rgba(236, 95, 46, 0.35),
                inset 0 0 35px rgba(255, 255, 255, 0.08);
    filter: grayscale(0.75) brightness(0.92) contrast(1.08);
    transform-origin: center center;
    will-change: transform, border-radius, filter, box-shadow;
}

/* 3. Transisi Zoom-In (Seper sekian detik menuju 100% fullscreen) */
html.rsb-viewport-expanding #rsb-viewport {
    transform: scale(1.0) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0px !important;
    border-color: transparent !important;
    box-shadow: 0 0 0 0 transparent !important;
    filter: grayscale(0) brightness(1) contrast(1) !important;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.75s ease,
                border-color 0.45s ease,
                box-shadow 0.75s ease,
                filter 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 4. Kondisi Normal Selesai */
html.rsb-viewport-ready #rsb-viewport {
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    overflow: visible !important;
}

/* ============================================
   FRAME KACA FUTURISTIK (SISI & SUDUT HUD)
   ============================================ */

.rsb-glass-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999998;
    overflow: hidden;
    border-radius: 20px;
    transition: opacity 0.45s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Lapisan Pantulan Cahaya Kaca (Glass Sheen Bevel) */
.rsb-glass-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.04) 30%,
        transparent 50%,
        rgba(255, 255, 255, 0.06) 80%,
        rgba(255, 255, 255, 0.12) 100%
    );
    border-radius: inherit;
    box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.6),
                inset 0 -1px 1px rgba(255, 255, 255, 0.2);
}

/* Sudut-Sudut Futuristik (L-Bracket) */
.rsb-frame-corner {
    position: absolute;
    width: 34px;
    height: 34px;
    border-color: var(--sp-accent, #ec5f2e);
    border-style: solid;
    border-width: 0;
    filter: drop-shadow(0 0 10px rgba(236, 95, 46, 0.85));
    z-index: 3;
}

.rsb-corner-tl { top: 12px; left: 12px; border-top-width: 3px; border-left-width: 3px; }
.rsb-corner-tr { top: 12px; right: 12px; border-top-width: 3px; border-right-width: 3px; }
.rsb-corner-bl { bottom: 12px; left: 12px; border-bottom-width: 3px; border-left-width: 3px; }
.rsb-corner-br { bottom: 12px; right: 12px; border-bottom-width: 3px; border-right-width: 3px; }

/* Titik Pusat Crosshair pada Sudut */
.rsb-frame-corner::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

.rsb-corner-tl::after { top: 2px; left: 2px; }
.rsb-corner-tr::after { top: 2px; right: 2px; }
.rsb-corner-bl::after { bottom: 2px; left: 2px; }
.rsb-corner-br::after { bottom: 2px; right: 2px; }

/* Garis-Garis Futuristik di Sisi */
.rsb-frame-line {
    position: absolute;
    z-index: 3;
}

.rsb-line-t,
.rsb-line-b {
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.rsb-line-t { top: 12px; }
.rsb-line-b { bottom: 12px; }

.rsb-line-t::after,
.rsb-line-b::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 4px;
    background: var(--sp-accent, #ec5f2e);
    box-shadow: 0 0 8px rgba(236, 95, 46, 0.85);
}

.rsb-line-l,
.rsb-line-r {
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 220px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.rsb-line-l { left: 12px; }
.rsb-line-r { right: 12px; }

.rsb-line-l::after,
.rsb-line-r::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 14px;
    background: var(--sp-accent, #ec5f2e);
    box-shadow: 0 0 8px rgba(236, 95, 46, 0.85);
}

/* Ticks Pengukur Futuristik di Sisi */
.rsb-frame-ticks {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.rsb-ticks-l {
    left: 14px;
    top: calc(50% + 140px);
    transform: translateY(-50%);
}

.rsb-ticks-r {
    right: 14px;
    top: calc(50% - 140px);
    transform: translateY(-50%);
}

.rsb-frame-ticks span {
    display: block;
    width: 10px;
    height: 2px;
    background: rgba(236, 95, 46, 0.85);
    box-shadow: 0 0 6px rgba(236, 95, 46, 0.8);
}

/* Label HUD Sci-Fi di Sisi Kaca */
.rsb-frame-tag,
.rsb-frame-status {
    position: absolute;
    font-family: var(--sp-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    z-index: 3;
    pointer-events: none;
}

.rsb-tag-tl {
    top: 20px;
    left: 54px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.rsb-tag-tr {
    top: 20px;
    right: 54px;
    color: rgba(255, 255, 255, 0.65);
}

.rsb-status-bl {
    bottom: 20px;
    left: 54px;
    color: rgba(255, 255, 255, 0.65);
}

.rsb-status-br {
    bottom: 20px;
    right: 54px;
    color: var(--sp-accent, #ec5f2e);
    text-shadow: 0 0 10px rgba(236, 95, 46, 0.85);
}

/* Saat Zoom-In berlangsung, frame kaca mengembang ke tepi dan memudar */
html.rsb-viewport-expanding .rsb-glass-frame {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.45s 0.15s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hilangkan frame saat siap */
html.rsb-viewport-ready .rsb-glass-frame,
html.rsb-splash-bypass .rsb-glass-frame {
    display: none !important;
}

/* ============================================
   Keyframes
   ============================================ */
@keyframes rsbSpFadeFrom { from { opacity: 0; } }
@keyframes rsbSpRiseFrom { from { opacity: 0; transform: translateY(6px); } }
@keyframes rsbSpDrawFrom { from { transform: scaleX(0); } }
@keyframes rsbSpSpin     { to   { transform: rotate(360deg); } }
@keyframes rsbSpBlink    { 50%  { opacity: 0.25; } }
@keyframes rsbSpRingFrom { from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } }

/* ---------- Mobile / Touch ---------- */
@media (max-width: 767px) {
    .rsb-splash__cta {
        top: auto;
        left: 50%;
        bottom: calc(var(--sp-pad) + 4.5rem);
        transform: none !important;
    }

    .rsb-splash__cta-copy {
        margin-top: -18px;
    }

    html.rsb-splash-lock #rsb-viewport,
    html.rsb-viewport-zooming #rsb-viewport {
        transform: scale(0.9);
        border-radius: 16px;
    }

    .rsb-glass-frame {
        border-radius: 16px;
    }

    .rsb-frame-tag,
    .rsb-frame-status,
    .rsb-frame-ticks {
        display: none !important;
    }


}

@media (max-width: 767px) {
    .rsb-splash {
        font-size: 10px;
    }

    .rsb-splash__inner {
        width: calc(100% - var(--sp-pad) * 2 - 2.5rem);
    }

    .rsb-splash__head {
        flex-direction: column;
        gap: 0.9rem;
        margin-bottom: 1.4rem;
    }

    .rsb-splash__brand {
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }

    .rsb-splash__logo {
        width: 40px;
        height: 40px;
    }

    .rsb-splash__brand-name {
        white-space: normal;
        line-height: 1.4;
    }

    .rsb-splash__details {
        justify-content: center;
        margin-top: 1.1rem;
    }

    .rsb-splash__log {
        display: none;
    }

    .rsb-splash__corner {
        display: none;
    }
}
