/* ==========================================================================
   Kuromi Studio V3.0 — Ultra-Luxury Holographic Cyber-Pastel Theme (styles.css)
   Fonts: SF Thonburi Web, Phone UI, Clock SF
   ========================================================================== */

@font-face {
    font-family: 'Phone UI';
    src: url('../assets/fonts/phone-latin.ttf') format('truetype');
    font-weight: 100 900;
    unicode-range: U+0020-00FF, U+2010-2026, U+20AC, U+2190-2192;
}
@font-face {
    font-family: 'Phone UI';
    src: url('../assets/fonts/phone-thai.ttf') format('truetype');
    font-weight: 100 900;
    unicode-range: U+0E00-0E7F;
}
@font-face {
    font-family: 'Clock SF';
    src: url('../assets/fonts/sf-pro-digits.ttf') format('truetype');
    font-weight: 1 1000;
    font-stretch: 30% 150%;
}
@font-face {
    font-family: 'SF Thonburi Web';
    src: url('../assets/fonts/sfthonburi-regular.woff') format('woff');
    font-weight: 100 550;
}
@font-face {
    font-family: 'SF Thonburi Web';
    src: url('../assets/fonts/sfthonburi-semibold.woff') format('woff');
    font-weight: 551 650;
}
@font-face {
    font-family: 'SF Thonburi Web';
    src: url('../assets/fonts/sfthonburi-bold.woff') format('woff');
    font-weight: 651 900;
}

:root {
    color-scheme: dark;
    --bg: #070312;
    --bg-deep: #04010a;
    --surface: rgba(22, 12, 44, 0.65);
    --surface-raised: rgba(36, 20, 68, 0.75);
    --surface-card: linear-gradient(155deg, rgba(34, 19, 66, 0.78) 0%, rgba(13, 7, 28, 0.88) 100%);
    --field: rgba(8, 4, 18, 0.75);
    --fg: #faf7ff;
    --muted: #b9add3;
    --line: rgba(216, 180, 254, 0.18);
    --line-strong: rgba(244, 114, 182, 0.48);
    --accent: #c084fc;
    --accent-pink: #f472b6;
    --accent-cyan: #22d3ee;
    --accent-emerald: #34d399;
    --accent-gold: #fbbf24;
    --grad: linear-gradient(135deg, #9333ea 0%, #db2777 52%, #f43f5e 100%);
    --grad-holo: linear-gradient(135deg, #a855f7 0%, #ec4899 45%, #22d3ee 100%);
    --font-ui: 'SF Thonburi Web', 'Phone UI', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-phone: 'Phone UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-clock: 'Clock SF', var(--font-phone);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[hidden], .hidden {
    display: none !important;
}

html {
    margin: 0;
    padding: 0;
    height: auto;
    overflow-x: clip;
    overflow-y: auto;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--fg) !important;
    font-family: var(--font-ui) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    background:
        radial-gradient(1200px 800px at 10% -10%, rgba(168, 85, 247, 0.36), transparent 65%),
        radial-gradient(1000px 750px at 95% 10%, rgba(236, 72, 153, 0.3), transparent 65%),
        radial-gradient(900px 650px at 50% 105%, rgba(34, 211, 238, 0.16), transparent 70%),
        var(--bg) !important;
    background-attachment: fixed !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Interactive Starfield Canvas */
#kuromi-star-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

h1, h2, h3, h4, strong {
    font-family: var(--font-ui) !important;
    color: var(--fg);
}

input, select, button, textarea {
    font-family: var(--font-ui) !important;
}

button {
    font: inherit;
    cursor: pointer;
}

::selection {
    background-color: #ec4899;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(95deg, #f5d0fe 0%, #f472b6 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =========================================
   Custom Scrollbar
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(7, 3, 18, 0.8);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a855f7, #ec4899);
    border-radius: 999px;
}

/* =========================================
   Online Radar Pulse & Equalizer
   ========================================= */
.online-radar {
    position: relative;
    display: inline-flex;
    width: 10px;
    height: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.online-radar__dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 12px #34d399;
    z-index: 2;
}

.online-radar__ping {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.7);
    animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: 1;
}

@keyframes radarPing {
    0% { transform: scale(0.7); opacity: 0.95; }
    80%, 100% { transform: scale(2.5); opacity: 0; }
}

.online-equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 3.5px;
    height: 32px;
    padding: 5px 9px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15) inset;
}

.online-equalizer span {
    width: 4px;
    border-radius: 99px;
    background: linear-gradient(180deg, #a7f3d0, #10b981);
    animation: eqBounce 1.15s ease-in-out infinite;
}
.online-equalizer span:nth-child(1) { height: 45%; animation-delay: 0s; }
.online-equalizer span:nth-child(2) { height: 90%; animation-delay: 0.16s; }
.online-equalizer span:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.online-equalizer span:nth-child(4) { height: 100%; animation-delay: 0.1s; }
.online-equalizer span:nth-child(5) { height: 55%; animation-delay: 0.4s; }
.online-equalizer span:nth-child(6) { height: 85%; animation-delay: 0.22s; }
.online-equalizer span:nth-child(7) { height: 42%; animation-delay: 0.34s; }

@keyframes eqBounce {
    0%, 100% { transform: scaleY(0.4); opacity: 0.65; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* =========================================
   Toast Notifications
   ========================================= */
.toast-container {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: min(390px, calc(100vw - 32px));
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(20, 10, 40, 0.95);
    /* backdrop-filter removed for performance */
    
    border: 1px solid rgba(232, 121, 249, 0.45);
    border-radius: 16px;
    padding: 0 18px;
    height: 62px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.65), 0 0 28px rgba(219, 39, 119, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(calc(-100% - 28px));
    animation: slideDownToast 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast.closing {
    animation: slideUpToast 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideDownToast {
    100% { transform: translateY(0); }
}
@keyframes slideUpToast {
    100% { transform: translateY(calc(-100% - 80px)); }
}

.toast .icon {
    font-size: 24px;
    flex-shrink: 0;
}
.toast .details span {
    font-size: 0.92rem;
    color: var(--fg);
    font-weight: 500;
}
.toast .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.toast .progress-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    animation: progressToast 1.6s linear forwards;
}
@keyframes progressToast {
    100% { width: 0; }
}
.toast.success .icon { color: #34d399; }
.toast.success .progress-bar::before { background: #34d399; }
.toast.error .icon { color: #fb7185; }
.toast.error .progress-bar::before { background: #fb7185; }
.toast.info .icon { color: #e879f9; }
.toast.info .progress-bar::before { background: var(--grad); }

/* =========================================
   NEW LOGIN SECTION — HOLOGRAPHIC CRYSTAL PORTAL
   ========================================= */
#login-section {
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
}

.saba-login {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(14px, 2.2vw, 28px) clamp(16px, 3.5vw, 48px);
    font-family: var(--font-ui) !important;
    color: var(--fg);
    overflow: hidden;
}

/* Multi-layer Holographic Sky */
.saba-login__sky {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(900px 620px at 22% 18%, rgba(168, 85, 247, 0.42), transparent 62%),
        radial-gradient(850px 650px at 82% 28%, rgba(236, 72, 153, 0.34), transparent 64%),
        radial-gradient(750px 550px at 65% 88%, rgba(34, 211, 238, 0.2), transparent 68%),
        linear-gradient(145deg, #06020f 0%, #120629 48%, #070212 100%);
    pointer-events: none;
    z-index: -3;
}

.saba-login__aurora {
    position: fixed;
    inset: -25%;
    background:
        conic-gradient(from 90deg at 50% 50%, rgba(168, 85, 247, 0.18) 0deg, rgba(236, 72, 153, 0.22) 110deg, rgba(34, 211, 238, 0.14) 220deg, rgba(168, 85, 247, 0.18) 360deg);
    filter: blur(90px);
    animation: auroraSpin 22s linear infinite;
    pointer-events: none;
    z-index: -2;
}

@keyframes auroraSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.12); }
    100% { transform: rotate(360deg) scale(1); }
}

.saba-login__orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}
.saba-login__orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.6;
    animation: orbFloat 9s ease-in-out infinite alternate;
}
.saba-login__orbs span:nth-child(1) {
    width: 420px;
    height: 420px;
    left: -4%;
    top: 5%;
    background: rgba(168, 85, 247, 0.48);
}
.saba-login__orbs span:nth-child(2) {
    width: 380px;
    height: 380px;
    right: -3%;
    bottom: 6%;
    background: rgba(236, 72, 153, 0.42);
    animation-delay: -3s;
}
.saba-login__orbs span:nth-child(3) {
    width: 290px;
    height: 290px;
    left: 48%;
    top: 15%;
    background: rgba(34, 211, 238, 0.25);
    animation-delay: -5s;
}
.saba-login__orbs span:nth-child(4) {
    width: 260px;
    height: 260px;
    left: 28%;
    bottom: 8%;
    background: rgba(244, 114, 182, 0.3);
    animation-delay: -2s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.12); }
}

.saba-login__grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(232, 121, 249, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 121, 249, 0.06) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 82%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 82%);
    pointer-events: none;
    z-index: -1;
}

.saba-login__horizon,
.saba-login__vignette {
    display: none;
}

/* Login Floating Topbar */
.krm-login-topbar {
    width: min(1240px, 100%);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(20, 10, 42, 0.62);
    /* backdrop-filter removed for performance */
    
    border: 1px solid rgba(232, 121, 249, 0.24);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.krm-login-topbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.krm-login-topbar__logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 2px;
    background: var(--grad-holo);
    box-shadow: 0 0 18px rgba(236, 72, 153, 0.5);
}

.krm-login-topbar__logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #14082c;
}

.krm-login-topbar__brand strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.krm-login-topbar__brand strong span {
    background: linear-gradient(90deg, #f472b6, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.krm-login-topbar__brand small {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.krm-login-topbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.saba-login__online-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.42);
    color: #ecfdf5;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.saba-login__online-pill strong {
    color: #6ee7b7;
    font-family: var(--font-clock) !important;
    font-size: 0.94rem;
}

.krm-login-topbar__support {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.38);
    color: #e0f2fe;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.krm-login-topbar__support i {
    color: #38bdf8;
    font-size: 15px;
}

.krm-login-topbar__support:hover {
    background: rgba(56, 189, 248, 0.26);
    transform: translateY(-1px);
}

/* Frameless Split Stage Container */
.saba-login__frame {
    position: relative;
    width: min(1240px, 100%);
    margin: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 8px 0;
}

.saba-login__inner {
    display: grid;
    grid-template-columns: minmax(360px, 465px) minmax(0, 1fr);
    gap: clamp(24px, 3.5vw, 48px);
    align-items: center;
}

/* =========================================
   LEFT POD: THE KUROMI CRYSTAL LOGIN PORTAL
   ========================================= */
.saba-login__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 30px 26px;
    border-radius: 30px;
    background:
        radial-gradient(500px 300px at 50% -10%, rgba(236, 72, 153, 0.28), transparent 68%),
        radial-gradient(400px 280px at 100% 100%, rgba(34, 211, 238, 0.14), transparent 70%),
        linear-gradient(165deg, rgba(32, 16, 64, 0.86) 0%, rgba(12, 6, 28, 0.94) 100%);
    /* backdrop-filter removed for performance */
    
    border: 1px solid rgba(244, 114, 182, 0.38);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.72),
        0 0 55px rgba(168, 85, 247, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
}

/* Animated Conic Top Highlight Beam */
.krm-portal-border-beam {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #c084fc, #f472b6, #22d3ee, transparent);
    box-shadow: 0 0 20px #ec4899;
    animation: beamPulse 3.5s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.65; transform: scaleX(0.85); }
    50% { opacity: 1; transform: scaleX(1.05); }
}

.saba-login__panel-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.35), rgba(168, 85, 247, 0.2), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

/* Floating Kuromi Hero Crest */
.krm-hero-crest {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding-top: 4px;
}

.krm-hero-crest__halo {
    position: absolute;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    border: 1.5px dashed rgba(244, 114, 182, 0.45);
    animation: spinHalo 18s linear infinite;
    pointer-events: none;
}

@keyframes spinHalo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.krm-hero-crest__float-tag {
    position: absolute;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    /* backdrop-filter removed for performance */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.krm-hero-crest__float-tag.tag-left {
    left: 8px;
    top: 14px;
    background: rgba(168, 85, 247, 0.24);
    border: 1px solid rgba(216, 180, 254, 0.45);
    color: #f3e8ff;
    transform: rotate(-6deg);
    animation: floatTagLeft 4s ease-in-out infinite;
}

.krm-hero-crest__float-tag.tag-right {
    right: 8px;
    bottom: 8px;
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fde68a;
    transform: rotate(6deg);
    animation: floatTagRight 4.5s ease-in-out infinite;
}

@keyframes floatTagLeft {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-6deg) translateY(-5px); }
}
@keyframes floatTagRight {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-5px); }
}

.saba-login__mascot-wrap {
    position: relative;
    width: 102px;
    height: 102px;
    display: grid;
    place-items: center;
    z-index: 2;
}

.saba-login__mascot-ring {
    width: 98px;
    height: 98px;
    border-radius: 28px;
    padding: 3.5px;
    background: linear-gradient(135deg, #c084fc 0%, #ec4899 50%, #22d3ee 100%);
    box-shadow:
        0 16px 36px rgba(219, 39, 119, 0.5),
        0 0 28px rgba(168, 85, 247, 0.45);
    animation: mascotPulse 4s ease-in-out infinite;
}

@keyframes mascotPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.03); }
}

.saba-login__mascot-img {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    object-fit: cover;
    background: radial-gradient(circle at 50% 30%, #2e1554, #120726);
}

.saba-login__mascot-crown {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #0f0720;
    background: linear-gradient(135deg, #67e8f9, #38bdf8);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
    border: 2.5px solid #160a30;
}

.krm-login-head {
    text-align: center;
    margin-bottom: 20px;
}

.krm-login-head__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.16);
    border: 1px solid rgba(244, 114, 182, 0.38);
    color: #fbcfe8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.saba-login__panel h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--fg);
}

.saba-login__panel h2 span {
    background: linear-gradient(90deg, #f5d0fe, #f472b6, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.saba-login__panel-lead {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}

/* Form Fields with Laser Bottom Focus */
.saba-login__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.saba-login__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.saba-login__field-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e9d5ff;
}

.saba-login__field-label i {
    color: #f472b6;
    font-size: 12px;
}

.saba-login__control {
    position: relative;
    display: flex;
    align-items: center;
}

.saba-login__control-ico {
    position: absolute;
    left: 14px;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(192, 132, 252, 0.3);
    color: #f5d0fe;
    display: grid;
    place-items: center;
    pointer-events: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.saba-login__control input {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(216, 180, 254, 0.24);
    background: rgba(8, 4, 20, 0.78);
    color: var(--fg);
    font: inherit;
    font-size: 0.93rem;
    padding: 13px 44px 13px 50px;
    outline: none;
    transition: all 0.22s ease;
}

.saba-login__control input::placeholder {
    color: rgba(185, 173, 211, 0.48);
}

.saba-login__input-laser {
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #22d3ee);
    transform: scaleX(0);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.saba-login__control input:focus {
    border-color: rgba(244, 114, 182, 0.65);
    background: rgba(14, 7, 32, 0.94);
    box-shadow: 0 10px 26px rgba(168, 85, 247, 0.22);
}

.saba-login__control input:focus ~ .saba-login__input-laser {
    transform: scaleX(1);
}

.saba-login__control:focus-within .saba-login__control-ico {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.55);
}

.saba-login__pwd-toggle {
    position: absolute;
    right: 11px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 0;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    display: grid;
    place-items: center;
    font-size: 14px;
    transition: all 0.15s ease;
}

.saba-login__pwd-toggle:hover {
    color: #fff;
    background: rgba(168, 85, 247, 0.28);
}

.saba-login__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
    margin-top: 2px;
}

.saba-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    cursor: pointer;
}

.saba-login__remember input {
    accent-color: #ec4899;
    width: 16px;
    height: 16px;
}

.saba-login__forgot {
    color: #f472b6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.saba-login__forgot:hover {
    color: #67e8f9;
    text-decoration: underline;
}

/* Shimmering Liquid-Neon Submit Button */
.saba-login__submit {
    position: relative;
    overflow: hidden;
    margin-top: 6px;
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #9333ea 0%, #db2777 50%, #f43f5e 100%);
    box-shadow:
        0 14px 34px rgba(219, 39, 119, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.24) inset;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.saba-login__submit-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    animation: btnShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnShine {
    0% { left: -120%; }
    45%, 100% { left: 160%; }
}

.saba-login__submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow:
        0 20px 44px rgba(236, 72, 153, 0.62),
        0 0 25px rgba(168, 85, 247, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.saba-login__or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin: 18px 0 12px;
    color: var(--muted);
    font-size: 0.75rem;
}

.saba-login__or::before,
.saba-login__or::after {
    content: "";
    height: 1px;
    background: rgba(216, 180, 254, 0.18);
}

/* Telegram VIP Support Card inside Login Pod */
.saba-login__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 15px;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.32);
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.2), rgba(30, 27, 75, 0.45));
    color: var(--fg);
    text-decoration: none;
    transition: all 0.2s ease;
}

.saba-login__contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 18px;
    flex-shrink: 0;
}

.saba-login__contact-text {
    flex: 1;
    min-width: 0;
}

.saba-login__contact-text strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: #f0f9ff;
}

.saba-login__contact-text small {
    display: block;
    font-size: 0.74rem;
    color: #bae6fd;
}

.saba-login__contact-arrow {
    color: #38bdf8;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.saba-login__contact:hover {
    transform: translateY(-2px);
    border-color: rgba(103, 232, 249, 0.65);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.22);
}

.saba-login__contact:hover .saba-login__contact-arrow {
    transform: translateX(3px);
}

.saba-login__foot {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.73rem;
    color: var(--muted);
}

/* =========================================
   RIGHT SIDE: 3D HOLOGRAPHIC SHOWCASE STAGE
   ========================================= */
.saba-login__showcase {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 6px;
    background: transparent;
    border: 0;
    position: relative;
}

.krm-showcase-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.saba-login__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(216, 180, 254, 0.38);
    color: #f3e8ff;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.saba-login__pro-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 6px 18px rgba(219, 39, 119, 0.4);
}

.saba-login__hero-copy h1 {
    margin: 0;
    font-size: clamp(1.85rem, 3.1vw, 2.55rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.saba-login__hero-copy h1 span {
    display: block;
    margin-top: 6px;
    font-size: 0.72em;
    font-weight: 700;
    background: linear-gradient(90deg, #f5d0fe 0%, #f472b6 48%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.saba-login__hero-copy p {
    margin: 10px 0 0;
    max-width: 42rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--muted);
}

/* 3D Floating Slip Stage + Pedestal */
.saba-login__stage {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
    background: transparent;
    border: 0;
}

.saba-login__docs {
    position: relative;
    height: 315px;
    display: grid;
    place-items: center;
    perspective: 1100px;
    border-radius: 26px;
    border: 1px solid rgba(216, 180, 254, 0.22);
    background:
        radial-gradient(460px 220px at 50% 60%, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.18), transparent 72%),
        linear-gradient(180deg, rgba(24, 12, 48, 0.45) 0%, rgba(11, 5, 26, 0.75) 100%);
    /* backdrop-filter removed for performance */
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5) inset;
}

/* Holographic Floor Projection Rings */
.krm-holo-ring {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%) rotateX(72deg);
    border-radius: 50%;
    pointer-events: none;
}

.krm-holo-ring.ring-1 {
    width: 420px;
    height: 420px;
    border: 2px solid rgba(236, 72, 153, 0.55);
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.45), inset 0 0 35px rgba(168, 85, 247, 0.35);
}

.krm-holo-ring.ring-2 {
    width: 540px;
    height: 540px;
    border: 1.5px dashed rgba(34, 211, 238, 0.45);
}

.krm-floating-pill {
    position: absolute;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(16, 9, 34, 0.85);
    /* backdrop-filter removed for performance */
    border: 1px solid rgba(232, 121, 249, 0.45);
    color: #f5d0fe;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.krm-floating-pill.pill-top-left {
    top: 16px;
    left: 18px;
    animation: floatTagLeft 4.2s ease-in-out infinite;
}
.krm-floating-pill.pill-top-left i {
    color: #34d399;
}

.krm-floating-pill.pill-bottom-right {
    bottom: 16px;
    right: 18px;
    border-color: rgba(56, 189, 248, 0.45);
    color: #e0f2fe;
    animation: floatTagRight 4.6s ease-in-out infinite;
}
.krm-floating-pill.pill-bottom-right i {
    color: #fbbf24;
}

.saba-login__doc {
    position: absolute;
    width: min(176px, 34vw);
    height: auto;
    max-height: 268px;
    border-radius: 15px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65), 0 0 0 1.5px rgba(255, 255, 255, 0.25) !important;
    background: #fff;
    overflow: hidden;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.saba-login__doc.is-receipt {
    left: 14%;
    top: 11%;
    transform: rotate(-14deg) translateZ(0);
    z-index: 2;
    opacity: 0.94;
    animation: saba-float-a 5.5s ease-in-out infinite;
}

.saba-login__doc.is-invoice {
    right: 14%;
    top: 11%;
    transform: rotate(14deg) translateZ(0);
    z-index: 2;
    opacity: 0.94;
    animation: saba-float-b 6s ease-in-out infinite;
}

.saba-login__doc.is-transfer {
    left: 50%;
    top: 5%;
    margin-left: calc(min(196px, 38vw) / -2);
    width: min(196px, 38vw);
    max-height: 290px;
    transform: rotate(0deg);
    z-index: 4;
    animation: saba-float-c 4.8s ease-in-out infinite;
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.78),
        0 0 0 2px rgba(232, 121, 249, 0.75),
        0 0 38px rgba(236, 72, 153, 0.5) !important;
}

@keyframes saba-float-a {
    0%, to { transform: rotate(-14deg) translateY(0); }
    50% { transform: rotate(-14deg) translateY(-9px); }
}
@keyframes saba-float-b {
    0%, to { transform: rotate(14deg) translateY(0); }
    50% { transform: rotate(14deg) translateY(-8px); }
}
@keyframes saba-float-c {
    0%, to { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(0deg) translateY(-11px); }
}

/* 3 Horizontal Feature Pods below the 3D Stage */
.saba-login__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.saba-login__features li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(216, 180, 254, 0.2);
    background: linear-gradient(155deg, rgba(34, 19, 64, 0.65), rgba(14, 7, 30, 0.82));
    /* backdrop-filter removed for performance */
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.saba-login__features li:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 114, 182, 0.5);
}

.saba-login__feat-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--grad);
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(219, 39, 119, 0.35);
}

.saba-login__features strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fg);
}

.saba-login__features small {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.45;
}

.saba-login__stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-radius: 20px;
    border: 1px solid rgba(216, 180, 254, 0.2);
    background: rgba(16, 9, 34, 0.68);
    /* backdrop-filter removed for performance */
}

.saba-login__secure {
    display: flex;
    align-items: center;
    gap: 11px;
}

.saba-login__secure-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #34d399;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.4);
    font-size: 16px;
}

.saba-login__secure strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fg);
}

.saba-login__secure small {
    font-size: 0.77rem;
    color: var(--muted);
}

.saba-login__stat-box {
    display: flex;
    gap: 20px;
    padding: 6px 14px;
}

.saba-login__stat-box > div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.saba-login__stat-box em {
    font-style: normal;
    font-family: var(--font-clock) !important;
    font-size: 1.08rem;
    font-weight: 800;
    background: linear-gradient(90deg, #f5d0fe, #f472b6, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.saba-login__stat-box span {
    font-size: 0.74rem;
    color: var(--muted);
}

/* =========================================
   DASHBOARD SECTION — ROYAL COMMAND CENTER
   ========================================= */
#dashboard-section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    color: var(--fg);
    overflow-x: hidden;
}

.dashboard-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.48;
}
.dashboard-orb.orb-a {
    width: 440px;
    height: 440px;
    left: -100px;
    top: -80px;
    background: rgba(168, 85, 247, 0.45);
}
.dashboard-orb.orb-b {
    width: 400px;
    height: 400px;
    right: -90px;
    top: 22%;
    background: rgba(236, 72, 153, 0.38);
}
.dashboard-orb.orb-c {
    width: 360px;
    height: 360px;
    left: 35%;
    bottom: -120px;
    background: rgba(34, 211, 238, 0.25);
}

.dashboard-shell {
    position: relative;
    z-index: 2;
    max-width: 1260px;
    margin: 0 auto;
    padding-block: 18px 56px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Floating Glass Topbar */
.dashboard-topbar {
    position: sticky;
    top: 14px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px;
    border: 1px solid rgba(232, 121, 249, 0.28);
    border-radius: 999px;
    background: rgba(18, 9, 38, 0.82);
    /* backdrop-filter removed for performance */
    
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.52), 0 0 30px rgba(168, 85, 247, 0.18);
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
}

.dashboard-brand__logo-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    padding: 2.5px;
    background: var(--grad-holo);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.45);
    flex-shrink: 0;
}

.dashboard-brand__logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #140b29;
}

.dashboard-brand__title-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dashboard-brand__text strong {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--fg);
    line-height: 1.2;
}

.dashboard-brand__tag {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1a0d2e;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.dashboard-brand__text > span {
    display: block;
    margin-top: 1px;
    font-size: 0.74rem;
    color: var(--muted);
}

/* Announcement Marquee */
.dashboard-announcement {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    overflow: hidden;
    border-radius: 999px;
    text-decoration: none;
    color: var(--fg);
    border: 1px solid rgba(216, 180, 254, 0.22);
    background: rgba(8, 4, 20, 0.72);
    padding-left: 5px;
    transition: all 0.2s ease;
}

.dashboard-announcement:hover {
    border-color: rgba(244, 114, 182, 0.55);
    box-shadow: 0 0 22px rgba(236, 72, 153, 0.22);
}

.dashboard-announcement__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--grad);
}

.dashboard-announcement__viewport {
    display: block;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.dashboard-announcement__track {
    display: flex;
    width: max-content;
    animation: announcement-scroll 16s linear infinite !important;
}

.dashboard-announcement__item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 0 28px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--fg);
}

.dashboard-announcement__item .fa-telegram {
    color: #38bdf8;
    font-size: 16px;
}

.dashboard-announcement__handle {
    color: #f472b6;
    font-weight: 700;
}

@keyframes announcement-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

/* Real-Time Online Users Pill in Topbar */
.dashboard-online-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 95, 70, 0.35));
    border: 1px solid rgba(52, 211, 153, 0.48);
    color: #ecfdf5;
    font-size: 0.82rem;
    white-space: nowrap;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
}

.dashboard-online-pill__icon {
    color: #34d399;
    font-size: 13px;
}

.dashboard-online-pill__label {
    color: #a7f3d0;
    font-weight: 600;
}

.dashboard-online-pill strong {
    font-family: var(--font-clock) !important;
    font-size: 0.98rem;
    font-weight: 800;
    color: #6ee7b7;
    font-variant-numeric: tabular-nums;
}

.dashboard-online-pill__unit {
    font-size: 0.76rem;
    color: #a7f3d0;
}

/* Clock Pill */
.dashboard-clock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(216, 180, 254, 0.22);
    background: rgba(8, 4, 20, 0.72);
    font-size: 0.82rem;
    color: var(--muted);
    white-space: nowrap;
}

.dashboard-clock__icon {
    color: #f472b6;
}

.dashboard-clock strong {
    font-family: var(--font-clock) !important;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--fg);
    font-variant-numeric: tabular-nums;
}

/* Logout Button */
.dashboard-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid rgba(251, 113, 133, 0.35);
    background: rgba(244, 63, 94, 0.14);
    color: #ffe4e6;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.18s ease;
}

.dashboard-logout:hover {
    border-color: #fb7185;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
}

/* =========================================
   HERO SECTION (Welcome + Live Online Radar + Expiry)
   ========================================= */
.dashboard-main {
    padding-top: 20px;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.65fr);
    gap: 16px;
    align-items: stretch;
}

.dashboard-welcome {
    display: grid;
    grid-template-columns: minmax(340px, 1.04fr) minmax(300px, 0.96fr);
    gap: 20px;
    align-items: center;
    padding: 26px;
    border: 1px solid rgba(232, 121, 249, 0.26);
    border-radius: 26px;
    background:
        radial-gradient(650px 340px at 0% 0%, rgba(168, 85, 247, 0.25), transparent 70%),
        radial-gradient(500px 300px at 100% 100%, rgba(236, 72, 153, 0.18), transparent 70%),
        var(--surface-card);
    /* backdrop-filter removed for performance */
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.dashboard-welcome-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.dashboard-status-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100% !important;
    white-space: nowrap !important;
}

.dashboard-status {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #d8f8e1;
    background: rgba(52, 199, 89, 0.16);
    border: 1px solid rgba(52, 199, 89, 0.36);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2;
}

.dashboard-status__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 10px #34c759;
    flex-shrink: 0;
}

.dashboard-online-chip {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #f3e8ff;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(216, 180, 254, 0.36);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2;
}

.dashboard-online-chip strong {
    display: inline-block;
    min-width: 2.2ch;
    text-align: center;
    color: #6ee7b7;
    font-family: var(--font-clock) !important;
    font-variant-numeric: tabular-nums;
}

.dashboard-welcome h1 {
    margin: 0;
    font-size: clamp(1.45rem, 2.25vw, 1.88rem);
    font-weight: 800;
    line-height: 1.26;
    color: var(--fg);
}

.dashboard-welcome h1 > span:first-child {
    color: #f472b6;
}

.dashboard-welcome p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

/* User Account VIP Card */
.dashboard-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(232, 121, 249, 0.26);
    background: rgba(8, 4, 20, 0.68);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.dashboard-user-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    padding: 2px;
    background: var(--grad);
    flex-shrink: 0;
}

.dashboard-user-card__info {
    flex: 1;
    min-width: 0;
}

.dashboard-user-card__info small {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
}

.dashboard-user-card__info span {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-user-card__badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: rgba(52, 211, 153, 0.16);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.dashboard-user-card__badge.is-vip {
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    color: #1e0b36;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* Quick Jump Chips */
.dashboard-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(216, 180, 254, 0.24);
    background: rgba(255, 255, 255, 0.05);
    color: #f3e8ff;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.18s ease;
}

.quick-chip:hover {
    transform: translateY(-2px);
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(219, 39, 119, 0.38);
}

.quick-chip.is-vip {
    border-color: rgba(251, 191, 36, 0.42);
    background: rgba(251, 191, 36, 0.12);
    color: #fde68a;
}

/* Welcome Carousel Slider */
.welcome-slider {
    grid-column: 1 / -1;
    width: 100%;
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #140628;
    border: 1.5px solid rgba(232, 121, 249, 0.45);
    box-shadow:
        0 26px 64px rgba(0, 0, 0, 0.58),
        0 0 42px rgba(217, 70, 239, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.welcome-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.welcome-slider-float-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(244, 114, 182, 0.5);
    background: rgba(15, 6, 32, 0.78);
    /* backdrop-filter removed for performance */
    
    color: #fff;
    font-size: 1rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 18px rgba(236, 72, 153, 0.3);
    transition: all 0.22s ease;
}

.welcome-slider-float-nav:hover {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    border-color: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.55);
}

.welcome-slider-float-nav.is-prev {
    left: 16px;
}

.welcome-slider-float-nav.is-next {
    right: 16px;
}

@media (max-width: 640px) {
    .welcome-slider {
        border-radius: 18px !important;
    }
    .welcome-slider-float-nav {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .welcome-slider-float-nav.is-prev {
        left: 8px;
    }
    .welcome-slider-float-nav.is-next {
        right: 8px;
    }
}

.welcome-slider-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.welcome-slide {
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
}

.welcome-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1932 / 814;
    object-fit: contain;
}

.welcome-slider-controls {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(12, 6, 26, 0.86);
    /* backdrop-filter removed for performance */
    border: 1px solid rgba(232, 121, 249, 0.34);
}

.welcome-slider-controls button {
    border: 0;
    cursor: pointer;
    color: var(--fg);
    background: rgba(255, 255, 255, 0.16);
}

.welcome-slider-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 15px;
    display: grid;
    place-items: center;
}

.welcome-slider-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 999px;
    transition: width 0.25s ease, background 0.25s ease;
}

.welcome-slider-dot[aria-current="true"] {
    width: 22px;
    background: var(--grad);
}

/* Right Stack: Live Online Widget + Membership Expiry Card */
.dashboard-side-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-online-widget {
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(52, 211, 153, 0.42);
    background:
        radial-gradient(320px 180px at 95% 0%, rgba(16, 185, 129, 0.26), transparent 70%),
        linear-gradient(155deg, rgba(16, 36, 46, 0.82) 0%, rgba(10, 14, 28, 0.94) 100%);
    /* backdrop-filter removed for performance */
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4), 0 0 30px rgba(16, 185, 129, 0.14);
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.dashboard-online-widget__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dashboard-online-widget__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ecfdf5;
}

.dashboard-online-widget__live-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #042f2e;
    background: linear-gradient(90deg, #6ee7b7, #34d399);
    box-shadow: 0 0 14px rgba(52, 211, 153, 0.6);
}

.dashboard-online-widget__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-online-widget__number {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-online-widget__number strong {
    font-family: var(--font-clock) !important;
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1;
    color: #6ee7b7;
    text-shadow: 0 0 26px rgba(52, 211, 153, 0.55);
    font-variant-numeric: tabular-nums;
}

.dashboard-online-widget__unit-stack span {
    display: block;
    font-size: 0.85rem;
    color: #d1fae5;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-online-widget__unit-stack small {
    display: block;
    font-size: 0.7rem;
    color: #6ee7b7;
}

.dashboard-online-widget__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 9px;
    border-top: 1px solid rgba(52, 211, 153, 0.2);
    font-size: 0.75rem;
    color: var(--muted);
}

.dashboard-online-widget__meta i {
    color: #34d399;
    margin-right: 4px;
}

.dashboard-online-widget__meta strong {
    color: #ecfdf5;
    font-weight: 700;
}

/* Expiry Card */
.dashboard-expiry {
    flex: 1;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(232, 121, 249, 0.26);
    background: var(--surface-card);
    /* backdrop-filter removed for performance */
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-expiry__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #f3e8ff;
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-expiry__icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(168, 85, 247, 0.22);
    border: 1px solid rgba(216, 180, 254, 0.38);
    color: #f5d0fe;
    font-size: 13px;
}

.dashboard-expiry__days-row {
    margin-top: 6px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-expiry__days {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.dashboard-expiry__days strong {
    font-family: var(--font-clock) !important;
    font-variant-numeric: tabular-nums;
    font-size: clamp(2.1rem, 3.5vw, 2.7rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, #fff, #f5d0fe, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dashboard-expiry__days span {
    color: var(--muted);
    font-size: 0.86rem;
}

.dashboard-expiry__date {
    color: var(--muted);
    font-size: 0.76rem;
}

.dashboard-expiry__date strong {
    color: #f5d0fe;
    font-weight: 700;
}

.dashboard-expiry__bar {
    height: 7px;
    margin: 10px 0 12px;
    border-radius: 999px;
    background: rgba(8, 4, 20, 0.78);
    border: 1px solid rgba(216, 180, 254, 0.2);
    overflow: hidden;
}

.dashboard-expiry__bar span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--grad-holo);
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.7);
}

.dashboard-expiry__countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.count-box {
    padding: 7px 4px;
    text-align: center;
    border-radius: 12px;
    background: rgba(8, 4, 20, 0.72);
    border: 1px solid rgba(216, 180, 254, 0.2);
}

.count-box strong {
    display: block;
    font-family: var(--font-clock) !important;
    font-variant-numeric: tabular-nums;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--fg);
}

.count-box span {
    display: block;
    margin-top: 1px;
    font-size: 0.68rem;
    color: var(--muted);
}

/* =========================================
   MAIN 4 PORTAL CATEGORIES BENTO GRID
   ========================================= */
.dashboard-menu-wrap {
    margin-top: 20px;
    background: var(--surface-card);
    /* backdrop-filter removed for performance */
    border: 1px solid rgba(232, 121, 249, 0.24);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.dashboard-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(216, 180, 254, 0.18);
    flex-wrap: wrap;
}

.dashboard-section-head__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-section-head__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #fff;
    font-size: 17px;
    box-shadow: 0 8px 22px rgba(219, 39, 119, 0.4);
}

.dashboard-section-head h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fg);
}

.dashboard-section-head p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.83rem;
}

.dashboard-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(216, 180, 254, 0.38);
    color: #f3e8ff;
    white-space: nowrap;
}

.dashboard-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-menu-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(216, 180, 254, 0.24);
    background: linear-gradient(165deg, rgba(30, 16, 58, 0.88) 0%, rgba(10, 5, 24, 0.95) 100%);
    color: var(--fg);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-height: 250px;
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.26s ease, box-shadow 0.26s ease;
}

.dashboard-menu-card__num {
    position: absolute;
    right: 14px;
    bottom: 36px;
    font-family: var(--font-clock) !important;
    font-size: 4.4rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    user-select: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.dashboard-menu-card:hover .dashboard-menu-card__num {
    color: rgba(244, 114, 182, 0.09);
    transform: scale(1.08);
}

.dashboard-menu-card__glow {
    position: absolute;
    width: 190px;
    height: 190px;
    right: -45px;
    top: -45px;
    border-radius: 50%;
    filter: blur(38px);
    opacity: 0.4;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.card-theme-violet .dashboard-menu-card__glow { background: #a855f7; }
.card-theme-pink .dashboard-menu-card__glow { background: #ec4899; }
.card-theme-cyan .dashboard-menu-card__glow { background: #22d3ee; }
.card-theme-gold .dashboard-menu-card__glow { background: #f59e0b; }

.dashboard-menu-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 114, 182, 0.68);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.58), 0 0 35px rgba(219, 39, 119, 0.28);
}

.dashboard-menu-card:hover .dashboard-menu-card__glow {
    opacity: 0.78;
    transform: scale(1.22);
}

.dashboard-menu-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.dashboard-menu-card__icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
    transition: transform 0.26s ease;
}

.dashboard-menu-card:hover .dashboard-menu-card__icon {
    transform: scale(1.08) rotate(-3deg);
}

.dashboard-menu-card__icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.dashboard-menu-card__badges {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-menu-card__count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f3e8ff;
}

.dashboard-menu-card__arrow {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 12px;
    transition: all 0.2s ease;
}

.dashboard-menu-card:hover .dashboard-menu-card__arrow {
    transform: translate(2px, -2px);
    background: var(--grad);
    border-color: transparent;
    color: #fff;
}

.dashboard-menu-card__body {
    position: relative;
    z-index: 1;
}

.dashboard-menu-card h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--fg);
}

.dashboard-menu-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.dashboard-menu-card__foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.81rem;
    font-weight: 700;
    color: #f3e8ff;
    transition: all 0.2s ease;
}

.dashboard-menu-card:hover .dashboard-menu-card__foot {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
}

.dashboard-menu-card.is-locked {
    position: relative;
    opacity: 0.9;
    border-color: rgba(251, 191, 36, 0.32);
}

.member1500-lock-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(251, 113, 133, 0.18);
    color: #fda4af;
    border: 1px solid rgba(251, 113, 133, 0.4);
}

.member1500-lock-pill.is-unlocked {
    background: rgba(52, 211, 153, 0.18);
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, 0.45);
}

/* =========================================
   SUB-VIEW CONTAINER (Bank Slips / Deposits / Mobile UI)
   ========================================= */
.dashboard-subview {
    margin-top: 0;
    background: var(--surface-card);
    /* backdrop-filter removed for performance */
    border: 1px solid rgba(232, 121, 249, 0.26);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
}

.dashboard-subview-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(216, 180, 254, 0.18);
}

.dashboard-subview-head__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(232, 121, 249, 0.34);
    border-radius: 999px;
    background: rgba(8, 4, 20, 0.75);
    color: var(--fg);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.dashboard-back:hover {
    border-color: #f472b6;
    background: var(--grad);
    color: #fff;
    transform: translateX(-2px);
}

/* Quick Category Switcher Tabs */
.subview-cat-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.subview-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(216, 180, 254, 0.22);
    background: rgba(8, 4, 20, 0.65);
    color: var(--muted);
    font-size: 0.81rem;
    font-weight: 700;
    transition: all 0.18s ease;
}

.subview-cat-tab span {
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--fg);
}

.subview-cat-tab:hover {
    color: var(--fg);
    border-color: rgba(244, 114, 182, 0.5);
}

.subview-cat-tab.active {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 22px rgba(219, 39, 119, 0.4);
}

.subview-cat-tab.active span {
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
}

.dashboard-subview-head__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.dashboard-subview-title__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-subview-title h2 {
    margin: 0;
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--fg);
}

.dashboard-subview-title p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.83rem;
}

.dashboard-subview-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.subview-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.subview-search-box i {
    position: absolute;
    left: 14px;
    color: #f472b6;
    font-size: 13px;
    pointer-events: none;
}

.subview-search-box input {
    width: 250px;
    padding: 8px 14px 8px 36px;
    border-radius: 999px;
    border: 1px solid rgba(232, 121, 249, 0.28);
    background: rgba(8, 4, 20, 0.78);
    color: var(--fg);
    font-size: 0.84rem;
    outline: none;
    transition: all 0.2s ease;
}

.subview-search-box input:focus {
    border-color: #f472b6;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.2);
}

.subview-online-mini {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.38);
    color: #ecfdf5;
    font-size: 0.8rem;
    font-weight: 600;
}

.subview-online-mini strong {
    color: #6ee7b7;
    font-family: var(--font-clock) !important;
}

#dashboard-section .header-title {
    display: none;
}

/* Sub-grid Items */
#dashboard-section .sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: 13px;
    padding-bottom: 4px;
}

#dashboard-section .menu-item-sub {
    position: relative;
    min-height: 168px;
    padding: 20px 12px 15px;
    border-radius: 18px;
    border: 1px solid rgba(216, 180, 254, 0.2);
    background: linear-gradient(160deg, rgba(28, 16, 54, 0.82) 0%, rgba(10, 5, 24, 0.94) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

#dashboard-section .menu-item-sub.is-popular {
    border-color: rgba(244, 114, 182, 0.45);
}

.sub-item-ribbon {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 4px 12px rgba(219, 39, 119, 0.45);
}

#dashboard-section .menu-item-sub img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    margin-bottom: 11px;
    border-radius: 16px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
    transition: transform 0.25s ease;
}

#dashboard-section .menu-item-sub p {
    color: var(--fg);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.sub-item-tag {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

#dashboard-section .menu-item-sub:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 114, 182, 0.72);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 26px rgba(219, 39, 119, 0.28);
}

#dashboard-section .menu-item-sub:hover img {
    transform: scale(1.1) translateY(-2px);
}

#dashboard-section .menu-item-sub:hover .sub-item-tag {
    color: #fff;
    border-color: transparent;
    background: var(--grad);
}

.subview-empty {
    padding: 42px 20px;
    text-align: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.subview-empty i {
    font-size: 28px;
    color: #f472b6;
}

/* Footer */
.dashboard-footer {
    margin-top: 24px;
    padding: 16px 8px 0;
    border-top: 1px solid rgba(216, 180, 254, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.79rem;
}

.dashboard-footer__left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-footer__logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

/* =========================================
   Responsive Breakpoints
   ========================================= */
@media (max-width: 1120px) {
    .dashboard-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .saba-login__inner {
        grid-template-columns: 1fr;
    }
    .saba-login__panel {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
    .dashboard-hero {
        grid-template-columns: 1fr;
    }
    .dashboard-side-stack {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dashboard-clock span {
        display: none;
    }
}

@media (max-width: 720px) {
    .saba-login {
        padding: 12px;
    }
    .saba-login__panel {
        padding: 24px 18px;
    }
    .saba-login__features {
        grid-template-columns: 1fr;
    }
    .saba-login__docs {
        height: 250px;
    }
    .saba-login__doc {
        width: min(145px, 38vw);
        max-height: 210px;
    }
    .saba-login__doc.is-transfer {
        width: min(168px, 42vw);
        margin-left: calc(min(168px, 42vw) / -2);
    }
    .dashboard-side-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-shell {
        padding-block: 12px 40px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .dashboard-topbar {
        position: static;
        border-radius: 22px;
        flex-wrap: wrap;
        padding: 12px;
    }
    .dashboard-announcement {
        order: 3;
        flex-basis: 100%;
    }
    .dashboard-online-pill__label {
        display: none;
    }
    .dashboard-status-row {
        gap: 6px;
    }
    .dashboard-status,
    .dashboard-online-chip {
        font-size: 0.67rem;
        padding: 3px 9px;
    }
    .dashboard-welcome {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    .dashboard-menu-grid {
        grid-template-columns: 1fr;
    }
    .subview-search-box,
    .subview-search-box input {
        width: 100%;
    }
    #dashboard-section .sub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dashboard-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   PERMANENT LEFT-SIDE HOLOGRAPHIC ANNOUNCEMENT BAR (#kuromi-side-ann)
   Pinned to the Left Side of the Screen Always Visible (ค้างไว้ตลอดไม่หาย)
   ========================================================================== */
.krm-side-ann {
    position: fixed;
    left: 16px;
    top: 16px;
    bottom: 16px;
    width: 315px;
    z-index: 10050;
    font-family: var(--font-ui) !important;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

/* Reserve space on desktop so the Permanent Left Announcement Bar sits beside Login & Dashboard without covering anything */
@media (min-width: 1220px) {
    #dashboard-section .dashboard-shell {
        margin-left: 346px !important;
        margin-right: auto !important;
        max-width: calc(100vw - 366px) !important;
    }
    /* Login screen stays centered without left announcement padding */
    #login-section .saba-login {
        padding-left: clamp(16px, 3.5vw, 48px) !important;
    }
}

.krm-ann-drawer {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 26px;
    border: 1px solid rgba(244, 114, 182, 0.44);
    background:
        radial-gradient(380px 240px at 50% 0%, rgba(236, 72, 153, 0.25), transparent 70%),
        radial-gradient(320px 240px at 0% 100%, rgba(168, 85, 247, 0.22), transparent 70%),
        linear-gradient(170deg, rgba(26, 12, 54, 0.94) 0%, rgba(9, 4, 22, 0.97) 100%);
    /* backdrop-filter removed for performance */
    
    box-shadow:
        0 26px 68px rgba(0, 0, 0, 0.75),
        0 0 42px rgba(168, 85, 247, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    overflow: hidden;
}

.krm-ann-drawer__beam {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #c084fc, #f472b6, #22d3ee, transparent);
    box-shadow: 0 0 18px #ec4899;
}

.krm-ann-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 15px 16px 13px;
    border-bottom: 1px solid rgba(216, 180, 254, 0.18);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.krm-ann-drawer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.krm-ann-drawer__avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    padding: 2px;
    background: var(--grad-holo);
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.45);
}

.krm-ann-drawer__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    background: #14082c;
}

.krm-ann-drawer__dot {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34d399;
    border: 2px solid #14082c;
    box-shadow: 0 0 8px #34d399;
}

.krm-ann-drawer__title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.krm-ann-drawer__brand strong {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--fg);
    white-space: nowrap;
}

.krm-ann-drawer__live {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #042f2e;
    background: linear-gradient(90deg, #6ee7b7, #34d399);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.55);
}

.krm-ann-drawer__brand small {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    white-space: nowrap;
}

.krm-ann-count-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(168, 85, 247, 0.22);
    border: 1px solid rgba(216, 180, 254, 0.38);
    color: #f5d0fe;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Scrollable Feed of Announcement Cards */
.krm-ann-feed {
    flex: 1;
    overflow-y: auto;
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.krm-ann-item {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(216, 180, 254, 0.24);
    background: linear-gradient(160deg, rgba(38, 20, 72, 0.76) 0%, rgba(14, 7, 30, 0.92) 100%);
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.krm-ann-item.is-clickable {
    cursor: pointer;
}

.krm-ann-item:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 114, 182, 0.68);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 0 22px rgba(219, 39, 119, 0.25);
}

.krm-ann-item.color-pink { border-color: rgba(244, 114, 182, 0.42); }
.krm-ann-item.color-violet { border-color: rgba(168, 85, 247, 0.45); }
.krm-ann-item.color-emerald { border-color: rgba(52, 211, 153, 0.45); }
.krm-ann-item.color-gold { border-color: rgba(251, 191, 36, 0.48); }
.krm-ann-item.color-cyan { border-color: rgba(34, 211, 238, 0.45); }

/* Image Banner inside Announcement Card */
.krm-ann-item__media {
    position: relative;
    width: 100%;
    max-height: 165px;
    overflow: hidden;
    background: #0e0620;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.krm-ann-item__media img {
    width: 100%;
    height: 100%;
    max-height: 165px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.krm-ann-item:hover .krm-ann-item__media img {
    transform: scale(1.05);
}

.krm-ann-item__zoom-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(10, 5, 24, 0.84);
    /* backdrop-filter removed for performance */
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f5d0fe;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: zoom-in;
    z-index: 3;
    transition: background 0.15s ease;
}

.krm-ann-item__zoom-btn:hover {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
}

.krm-ann-item__body {
    padding: 12px 13px 13px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.krm-ann-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: nowrap;
}

.krm-ann-item__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 4px 12px rgba(219, 39, 119, 0.35);
    white-space: nowrap;
}

.krm-ann-item.color-violet .krm-ann-item__badge { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.krm-ann-item.color-emerald .krm-ann-item__badge { background: linear-gradient(135deg, #10b981, #059669); }
.krm-ann-item.color-gold .krm-ann-item__badge { background: linear-gradient(135deg, #fbbf24, #d97706); color: #1a0f02; }
.krm-ann-item.color-cyan .krm-ann-item__badge { background: linear-gradient(135deg, #06b6d4, #2563eb); }

.krm-ann-item__date {
    font-size: 0.66rem;
    color: var(--muted);
    white-space: nowrap;
}

.krm-ann-item__title {
    margin: 0;
    font-size: 0.91rem;
    font-weight: 800;
    line-height: 1.34;
    color: var(--fg);
}

.krm-ann-item__msg {
    margin: 0;
    font-size: 0.79rem;
    line-height: 1.55;
    color: #dcd2f2;
    white-space: pre-line;
    word-break: break-word;
}

.krm-ann-item__cta {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.25));
    border: 1px solid rgba(244, 114, 182, 0.45);
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.18s ease;
}

.krm-ann-item.color-emerald .krm-ann-item__cta {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.3));
    border-color: rgba(52, 211, 153, 0.5);
    color: #ecfdf5;
}

.krm-ann-item:hover .krm-ann-item__cta {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(219, 39, 119, 0.4);
}

.krm-ann-drawer__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid rgba(216, 180, 254, 0.16);
    background: rgba(8, 4, 20, 0.75);
    font-size: 0.71rem;
    color: var(--muted);
    flex-shrink: 0;
}

.krm-ann-drawer__foot a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
}

/* Lightbox Modal for Zooming Announcement Images */
.krm-ann-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99995;
    background: rgba(6, 2, 16, 0.88);
    /* backdrop-filter removed for performance */
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.krm-ann-lightbox__inner {
    position: relative;
    max-width: min(760px, 94vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.krm-ann-lightbox__close {
    align-self: flex-end;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid rgba(244, 114, 182, 0.45);
    background: rgba(24, 12, 48, 0.9);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.krm-ann-lightbox__inner img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 18px;
    border: 1.5px solid rgba(244, 114, 182, 0.5);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.krm-ann-lightbox__caption {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f5d0fe;
    text-align: center;
}

/* On tablet/mobile (<1220px), keep the announcement bar permanently visible at the top-left of the page without floating over content */
@media (max-width: 1219px) {
    .krm-side-ann {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: min(1240px, calc(100% - 28px));
        margin: 14px auto 0;
        z-index: 50;
    }
    .krm-ann-drawer {
        max-height: none;
    }
    .krm-ann-feed {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        max-height: 340px;
    }
}

.welcome-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(232, 121, 249, 0.18);
    font-size: 0.73rem;
    font-weight: 600;
    color: #f5d0fe;
}
.welcome-slider-head__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.welcome-slider-head__badge i {
    color: #f472b6;
}
.welcome-slider-head__counter {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.18);
    border: 1px solid rgba(244, 114, 182, 0.35);
    font-family: var(--font-clock);
    font-size: 0.68rem;
    color: #fbcfe8;
}
.welcome-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    background: #120524;
}
.welcome-slider-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(232, 121, 249, 0.16);
}
.welcome-slider-caption {
    font-size: 0.73rem;
    color: #e9d5ff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== KUROMI STUDIO V4.0 RENOVATED LAYOUT ==================== */
    @media (min-width: 1180px) {
        #dashboard-section .krm-side-ann {
            position: fixed !important;
            left: 16px !important;
            top: 16px !important;
            bottom: 16px !important;
            width: 300px !important;
        }
        #dashboard-section .dashboard-shell {
            margin-left: 332px !important;
            margin-right: 16px !important;
            max-width: calc(100vw - 352px) !important;
            padding: 16px 6px 40px !important;
        }
    }
    .dashboard-main {
        padding-top: 14px !important;
    }
    #main-menu:not(.hidden) {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    /* Row 1: Slim Horizontal Welcome & Account Command Bar */
    .dashboard-welcome {
        display: block !important;
        padding: 16px 22px !important;
        border-radius: 22px !important;
        border: 1px solid rgba(232, 121, 249, 0.3) !important;
        background:
            radial-gradient(520px 200px at 0% 0%, rgba(168, 85, 247, 0.24), transparent 70%),
            radial-gradient(450px 200px at 100% 100%, rgba(236, 72, 153, 0.18), transparent 70%),
            rgba(18, 9, 38, 0.86) !important;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42) !important;
    }
    .dashboard-welcome-copy {
        display: grid !important;
        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr) !important;
        gap: 16px 24px !important;
        align-items: center !important;
        width: 100% !important;
    }
    .dashboard-welcome-copy__left {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 7px !important;
        min-width: 0 !important;
    }
    .dashboard-welcome-copy__right {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        min-width: 0 !important;
    }
    .dashboard-welcome h1 {
        margin: 0 !important;
        font-size: clamp(1.2rem, 1.75vw, 1.52rem) !important;
        font-weight: 800 !important;
        line-height: 1.28 !important;
    }
    .dashboard-welcome p {
        margin: 0 !important;
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
        color: #cbbce5 !important;
    }
    .dashboard-status-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        width: 100% !important;
        white-space: nowrap !important;
    }
    .dashboard-status,
    .dashboard-online-chip {
        display: inline-flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 0.68rem !important;
        padding: 3px 10px !important;
        line-height: 1.2 !important;
    }
    .dashboard-user-card {
        padding: 8px 12px !important;
        border-radius: 14px !important;
    }
    .dashboard-quick-chips {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .dashboard-quick-chips .quick-chip {
        flex: 1 1 0 !important;
        justify-content: center !important;
        padding: 6px 8px !important;
        font-size: 0.73rem !important;
        white-space: nowrap !important;
    }
    /* Row 2: 2-Column Hero Grid (Left = 61% Banner Slider, Right = 39% Online + Expiry Stack) */
    .dashboard-hero {
        display: grid !important;
        grid-template-columns: minmax(0, 1.52fr) minmax(320px, 0.98fr) !important;
        gap: 14px !important;
        align-items: stretch !important;
    }
    .welcome-slider {
        grid-column: auto !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        border-radius: 22px !important;
        background: linear-gradient(165deg, rgba(26, 11, 50, 0.95), rgba(12, 5, 26, 0.98)) !important;
        border: 1.5px solid rgba(232, 121, 249, 0.42) !important;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.52), 0 0 32px rgba(217, 70, 239, 0.2) !important;
        overflow: hidden !important;
    }
    .welcome-slider-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 9px 15px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border-bottom: 1px solid rgba(232, 121, 249, 0.18) !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: #f5d0fe !important;
    }
    .welcome-slider-head__badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
    }
    .welcome-slider-head__badge i {
        color: #f472b6 !important;
    }
    .welcome-slider-head__right {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .welcome-slider-head__hint {
        font-size: 0.68rem !important;
        font-weight: 500 !important;
        color: #b9add3 !important;
    }
    .welcome-slider-head__counter {
        padding: 2px 9px !important;
        border-radius: 999px !important;
        background: rgba(236, 72, 153, 0.2) !important;
        border: 1px solid rgba(244, 114, 182, 0.4) !important;
        font-family: var(--font-clock) !important;
        font-size: 0.69rem !important;
        color: #fbcfe8 !important;
    }
    .welcome-slider-viewport {
        position: relative !important;
        width: 100% !important;
        overflow: hidden !important;
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        background: #120524 !important;
    }
    .welcome-slider-float-nav {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 4 !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        border: 1px solid rgba(244, 114, 182, 0.5) !important;
        background: rgba(15, 6, 32, 0.8) !important;
        color: #fff !important;
        font-size: 0.85rem !important;
        display: grid !important;
        place-items: center !important;
        cursor: pointer !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
        transition: all 0.2s ease !important;
    }
    .welcome-slider-float-nav:hover {
        background: linear-gradient(135deg, #ec4899, #a855f7) !important;
        border-color: #fff !important;
    }
    .welcome-slider-float-nav.is-prev { left: 10px !important; }
    .welcome-slider-float-nav.is-next { right: 10px !important; }
    .welcome-slider-track {
        display: flex !important;
        width: 100% !important;
        transition: transform 0.6s cubic-bezier(0.22, 0.7, 0.25, 1) !important;
    }
    .welcome-slide {
        flex: 0 0 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
    .welcome-slide img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1932 / 814 !important;
        object-fit: cover !important;
    }
    .welcome-slider-foot {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 8px 15px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-top: 1px solid rgba(232, 121, 249, 0.16) !important;
    }
    .welcome-slider-caption {
        font-size: 0.75rem !important;
        color: #f3e8ff !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .welcome-slider-controls {
        position: static !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 3px 9px !important;
        border-radius: 999px !important;
        background: rgba(12, 6, 26, 0.8) !important;
        border: 1px solid rgba(232, 121, 249, 0.3) !important;
        flex-shrink: 0 !important;
    }
    .dashboard-side-stack {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        gap: 12px !important;
        height: 100% !important;
    }
    .dashboard-online-widget,
    .dashboard-expiry {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 14px 18px !important;
        border-radius: 20px !important;
    }
    .dashboard-menu-wrap {
        margin-top: 4px !important;
    }
    .dashboard-section-head {
        margin-bottom: 12px !important;
    }
    @media (max-width: 1024px) {
        .dashboard-welcome-copy {
            grid-template-columns: 1fr !important;
        }
        .dashboard-hero {
            grid-template-columns: 1fr !important;
        }
    }
    @media (max-width: 640px) {
        .dashboard-quick-chips {
            flex-wrap: wrap !important;
        }
        .dashboard-quick-chips .quick-chip {
            flex: 1 1 calc(50% - 6px) !important;
        }
        .welcome-slider-head__hint {
            display: none !important;
        }
    }

    /* ==================== ZERO-LAG PERFORMANCE OPTIMIZATION (60FPS SMOOTH) ==================== */
    *, *::before, *::after {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    /* Disable only heavy full-screen blurred background orbs & canvas while keeping Login floating slips active */
    #kuromi-star-canvas,
    .saba-login__aurora,
    .saba-login__orb,
    .saba-login__grid-floor,
    .dashboard-orb,
    .dashboard-menu-card__glow {
        display: none !important;
        animation: none !important;
        filter: none !important;
    }
    /* Solid/Gradient Hardware-Accelerated Card Surfaces (No Expensive GPU Blur) */
    .saba-login__panel,
    .saba-login__showcase,
    .dashboard-topbar,
    .dashboard-welcome,
    .welcome-slider,
    .dashboard-online-widget,
    .dashboard-expiry,
    .dashboard-menu-card,
    .krm-ann-drawer,
    .krm-ann-item,
    #dashboard-section .subview-header-card,
    #dashboard-section .menu-item-sub {
        background-color: #15092e !important;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45) !important;
    }
    #main-menu.hidden,
    #sub-views-container.hidden,
    .tab-content.hidden,
    .menu-item-sub.hidden,
    #login-section.hidden,
    #dashboard-section.hidden,
    [hidden],
    .hidden {
        display: none !important;
    }

            /* ==================== 5-SLIP ROYAL 3D FLOATING FAN ON LOGIN STAGE ==================== */
    .saba-login__docs {
        height: 330px !important;
    }
    .saba-login__doc.is-receipt {
        left: 2% !important;
        top: 16% !important;
        width: min(144px, 24vw) !important;
        max-height: 236px !important;
        transform: rotate(-19deg) translateY(0px);
        z-index: 2 !important;
        opacity: 0.92 !important;
        animation: saba-float-a 3.9s ease-in-out infinite !important;
        will-change: transform;
    }
    .saba-login__doc.is-transfer {
        left: 17% !important;
        top: 9% !important;
        margin-left: 0 !important;
        width: min(160px, 27vw) !important;
        max-height: 258px !important;
        transform: rotate(-9deg) translateY(0px);
        z-index: 4 !important;
        opacity: 0.97 !important;
        animation: saba-float-c 3.4s ease-in-out infinite !important;
        will-change: transform;
    }
    .saba-login__doc.is-ttb-center {
        left: 50% !important;
        top: 2% !important;
        margin-left: calc(min(174px, 30vw) / -2) !important;
        width: min(174px, 30vw) !important;
        max-height: 298px !important;
        transform: rotate(0deg) translateY(0px);
        z-index: 6 !important;
        opacity: 1 !important;
        animation: saba-float-center 3.1s ease-in-out infinite !important;
        will-change: transform;
        box-shadow:
            0 32px 68px rgba(0, 0, 0, 0.85),
            0 0 0 2.5px rgba(244, 114, 182, 0.92),
            0 0 44px rgba(236, 72, 153, 0.58) !important;
    }
    .saba-login__doc.is-kkp {
        right: 17% !important;
        top: 9% !important;
        width: min(160px, 27vw) !important;
        max-height: 258px !important;
        transform: rotate(9deg) translateY(0px);
        z-index: 4 !important;
        opacity: 0.97 !important;
        animation: saba-float-d 3.6s ease-in-out infinite !important;
        will-change: transform;
        box-shadow:
            0 26px 54px rgba(0, 0, 0, 0.75),
            0 0 0 2px rgba(168, 85, 247, 0.82),
            0 0 32px rgba(139, 92, 246, 0.45) !important;
    }
    .saba-login__doc.is-invoice {
        right: 2% !important;
        top: 16% !important;
        width: min(144px, 24vw) !important;
        max-height: 236px !important;
        transform: rotate(19deg) translateY(0px);
        z-index: 2 !important;
        opacity: 0.92 !important;
        animation: saba-float-b 4.2s ease-in-out infinite !important;
        will-change: transform;
    }
    @keyframes saba-float-a {
        0%, 100% { transform: rotate(-19deg) translateY(0px); }
        50% { transform: rotate(-17deg) translateY(-13px); }
    }
    @keyframes saba-float-c {
        0%, 100% { transform: rotate(-9deg) translateY(0px); }
        50% { transform: rotate(-7deg) translateY(-15px); }
    }
    @keyframes saba-float-center {
        0%, 100% { transform: rotate(0deg) translateY(0px) scale(1); }
        50% { transform: rotate(0deg) translateY(-17px) scale(1.03); }
    }
    @keyframes saba-float-d {
        0%, 100% { transform: rotate(9deg) translateY(0px); }
        50% { transform: rotate(7deg) translateY(-15px); }
    }
    @keyframes saba-float-b {
        0%, 100% { transform: rotate(19deg) translateY(0px); }
        50% { transform: rotate(17deg) translateY(-13px); }
    }
        50% { transform: rotate(14deg) translateY(-14px); }
    }
        50% { transform: rotate(16deg) translateY(-8px); }
    }

    /* ==================== CENTERED LIGHTBOX MODAL FIX ==================== */
    #krm-ann-lightbox:not(.hidden) {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 99995 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 24px !important;
        background: rgba(6, 2, 16, 0.9) !important;
    }
    .krm-ann-lightbox__inner {
        position: relative !important;
        margin: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: min(820px, 92vw) !important;
        max-height: 90vh !important;
        gap: 12px !important;
    }
    .krm-ann-lightbox__inner img {
        display: block !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        max-height: 78vh !important;
        object-fit: contain !important;
    }

