    :root {
        --bg: #000000;
        --bg-card: rgba(255, 255, 255, 0.06);
        --bg-card-2: rgba(255, 255, 255, 0.09);
        --border-soft: rgba(255, 255, 255, 0.10);
        --border-glow: rgba(128, 204, 185, 0.35);
        --orange: #013b42;
        --orange-2: #46a990;
        --accent-warm: #d6b88f;
        --text-main: #eef4ff;
        --text-dim: #9db2d4;

        --bg-0: #040910;
        --bg-1: #081420;
        --bg-2: #0b1c2a;
        --accent: #38f0c4;
        --accent-soft: #7ef7dd;
        --accent-dim: rgba(56, 240, 196, .16);
        --text-1: #f1f7f8;
        --text-2: #93a8b8;
        --text-3: #6c7f8f;
        --line: rgba(255, 255, 255, .08);
        --card: rgba(255, 255, 255, .045);
        --amber: #f5b95c;
        --radius-lg: 22px;
        --radius-md: 16px;
        --radius-sm: 12px;
    }

    * {
        box-sizing: border-box;
    }

    body {
        background: var(--bg);
        font-family: 'Vazirmatn', sans-serif;
        color: var(--text-main);
        display: flex;
        justify-content: center;
        min-height: 100vh;
        padding: 0;
        margin: 0;
    }

    .app-shell {
        width: 420px;
        max-width: 100%;
        min-height: 100vh;
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../icons/bg3.jpg') top center / cover no-repeat;
        position: relative;
        padding-bottom: 80px;
        overflow: clip;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    /* ---------- Top bar ---------- */
    .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 18px 6px;
        position: relative;
    }

    .topbar-menu {
        position: absolute;
        top: calc(100% - 2px);
        right: 12px;
        z-index: 200;
        min-width: 240px;
        padding: 8px;
        border-radius: 16px;
        background: rgba(8, 20, 32, 0.92);
        border: 1px solid rgba(128, 204, 185, 0.28);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
        backdrop-filter: blur(20px) saturate(150%);
        box-shadow:
            0 20px 44px -20px rgba(0, 0, 0, 0.9),
            0 0 0 1px rgba(128, 204, 185, 0.08) inset,
            0 0 40px -20px rgba(128, 204, 185, 0.35);

        /* پنهان به‌صورت پیش‌فرض */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.96);
        transform-origin: top right;
        transition:
            opacity .2s ease,
            visibility .2s ease,
            transform .25s cubic-bezier(.2, .9, .3, 1);
    }

    .topbar-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    /* ===== آیتم داخل منو ===== */
    .topbar-menu-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 12px;
        border-radius: 12px;
        text-decoration: none;
        color: inherit;
        transition: background .2s ease, transform .15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .topbar-menu-item:hover {
        background: rgba(128, 204, 185, 0.08);
    }

    .topbar-menu-item:active {
        transform: scale(0.98);
    }

    /* آیکون آبی‌فیروزه‌ای */
    .topbar-menu-item .tmi-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        background: linear-gradient(135deg,
                rgba(128, 204, 185, 0.22),
                rgba(1, 59, 66, 0.5));
        border: 1px solid rgba(128, 204, 185, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: #80ccb9;
        font-size: 1rem;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, 0.4));
        transition: transform .25s ease;
    }

    .topbar-menu-item:hover .tmi-icon {
        transform: rotate(-6deg) scale(1.05);
    }

    .topbar-menu-item .tmi-text {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .topbar-menu-item .tmi-title {
        font-size: 0.82rem;
        font-weight: 700;
        color: #eef4ff;
        line-height: 1.4;
    }

    .topbar-menu-item .tmi-sub {
        font-size: 0.68rem;
        font-weight: 400;
        color: #6c7f8f;
        line-height: 1.4;
    }

    .topbar-menu-item .tmi-arrow {
        font-size: 0.68rem;
        color: #80ccb9;
        opacity: 0.6;
        flex-shrink: 0;
        transition: transform .25s ease, opacity .2s ease;
    }

    .topbar-menu-item:hover .tmi-arrow {
        transform: translateX(-4px);
        opacity: 1;
    }

    .topbar .icon-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #dfe9ff;
        font-size: 18px;
    }

    .topbar .title {
        font-weight: 700;
        font-size: 1.05rem;
        color: #f3f7ff;
    }

    .topbar .icon-group {
        display: flex;
        gap: 14px;
    }

    /* ---------- Hero ---------- */
    .hero {
        position: relative;
        padding: 30px 20px 24px;
        overflow: hidden;
    }

    .hero-glow {
        position: absolute;
        top: -20px;
        left: 10%;
        width: 80%;
        height: 120px;
        background: radial-gradient(circle, rgba(128, 204, 185, 0.12) 0%, transparent 70%);
        z-index: 0;
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        animation: fadeInUp 0.8s ease backwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }

    .eyebrow {
        color: #fff;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        opacity: 0.9;
        text-transform: uppercase;
        font-weight: 400;
        animation: fadeInUp 0.8s 0.1s ease backwards;
    }

    .hero-title {
        font-size: 2.6rem;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 10px;
        animation: fadeInUp 0.8s 0.2s ease backwards;
    }

    .hero-title .accent {
        background: linear-gradient(135deg, #80ccb9 0%, #d6b88f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: #80ccb9;
        text-shadow: 0 0 20px rgba(128, 204, 185, 0.3);
        font-weight: 900;
    }

    .accent-line {
        width: 50px;
        height: 3px;
        background: linear-gradient(to right, #d6b88f, transparent);
        border-radius: 3px;
        margin: 8px 0 18px 0;
        animation: fadeInUp 0.8s 0.3s ease both;
    }

    .meta-row {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
        color: #e7edfb;
        margin-bottom: 8px;
        animation: fadeInUp 0.8s 0.4s ease both;
        transition: transform 0.3s ease;
    }

    .meta-row i {
        color: #80ccb9;
        width: 20px;
        font-size: 1rem;
        text-align: center;
        transition: transform 0.3s ease, text-shadow 0.3s ease;
    }

    .meta-row:hover i {
        transform: scale(1.2);
        text-shadow: 0 0 10px rgba(128, 204, 185, 0.7);
    }

    .meta-row+.meta-row {
        margin-bottom: 0;
    }

    /* ---------- Countdown / status panel ---------- */
    .panel {
        margin: 6px 16px 18px;
        background: var(--bg-card);
        border: 1px solid var(--border-soft);
        border-radius: 18px;
        padding: 16px 14px;
        backdrop-filter: blur(8px);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        animation: fadeInUp 0.8s 0.3s ease backwards;
    }

    .panel:hover {
        border-color: var(--border-glow);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(128, 204, 185, 0.1);
    }

    .panel-grid {
        display: flex;
        align-items: center;
    }

    .panel-col {
        flex: 1;
        min-width: 0;
    }

    .panel-divider {
        width: 1px;
        align-self: stretch;
        background: rgba(128, 204, 185, 0.25);
        margin: 0 10px;
    }

    .panel-label {
        font-size: 0.7rem;
        color: white;
        margin-bottom: 8px;
        font-weight: 500;
        text-align: right;
    }

    .countdown {
        display: flex;
        gap: 5px;
        flex-direction: row-reverse;
    }

    .cd-box {
        flex: 1;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(128, 204, 185, 0.2);
        border-radius: 10px;
        padding: 8px 2px 6px;
        text-align: center;
        cursor: default;
        backdrop-filter: blur(4px);
        transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        min-width: 0;
    }

    .cd-box:hover {
        transform: translateY(-3px) scale(1.03);
        background: rgba(128, 204, 185, 0.1);
        border-color: var(--border-glow);
        box-shadow: 0 8px 16px -8px rgba(128, 204, 185, 0.3), 0 0 0 1px rgba(128, 204, 185, 0.15) inset;
    }

    .cd-num {
        font-size: .9rem;
        font-weight: 800;
        color: #80ccb9;
        line-height: 1;
        text-shadow: 0 0 6px rgba(128, 204, 185, 0.3);
        transition: text-shadow 0.2s;
    }

    .cd-box:hover .cd-num {
        text-shadow: 0 0 12px rgba(128, 204, 185, 0.6);
    }

    .cd-unit {
        font-size: 0.6rem;
        color: var(--text-dim);
        margin-top: 3px;
        font-weight: 500;
    }

    .live-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        font-size: 0.65rem;
        color: #e7edfb;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .live-dot {
        width: 7px;
        height: 7px;
        background: #027e8c;
        border-radius: 50%;
        animation: pulse 1.8s infinite;
        box-shadow: 0 0 6px rgba(3, 158, 176, 0.5);
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(1, 59, 66, 0.6);
        }

        70% {
            box-shadow: 0 0 0 7px rgba(1, 59, 66, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(1, 59, 66, 0);
        }
    }

    .btn-program {
        width: 100%;
        border: 1px solid rgba(128, 204, 185, 0.25);
        border-radius: 10px;
        background: rgba(1, 59, 66, 0.15);
        color: #f2f6ff;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        backdrop-filter: blur(4px);
        transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    }

    .btn-program:hover {
        background: rgba(1, 59, 66, 0.3);
        border-color: #80ccb9;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px -10px rgba(128, 204, 185, 0.3);
    }

    .btn-program:active {
        transform: translateY(0px) scale(0.98);
    }

    .btn-program .cal-ico {
        width: 28px;
        height: 28px;
        background: linear-gradient(145deg, #80ccb9, #013b42);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 0.85rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn-program:hover .cal-ico {
        transform: rotate(5deg) scale(1.08);
        box-shadow: 0 0 12px rgba(128, 204, 185, 0.5);
    }


    .hero {
        position: relative;
        padding: 30px 20px 24px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        animation: fadeInUp 0.8s ease forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .eyebrow {
        color: #fff;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        opacity: 0.9;
        text-transform: uppercase;
        font-weight: 400;
        animation: fadeInUp 0.8s 0.1s ease backwards;
    }

    .hero-title {
        font-size: 2.6rem;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 10px;
        animation: fadeInUp 0.8s 0.2s ease both;
    }

    .hero-title .accent {
        background: linear-gradient(135deg, #80ccb9 0%, #d6b88f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: #80ccb9;
        text-shadow: 0 0 20px rgba(128, 204, 185, 0.3);
        font-weight: 900;
    }

    .accent-line {
        width: 50px;
        height: 3px;
        background: linear-gradient(to right, #d6b88f, transparent);
        border-radius: 3px;
        margin: 8px 0 18px 0;
        animation: fadeInUp 0.8s 0.3s ease both;
    }

    .meta-panel {
        position: relative;
        border: 1px solid var(--border-soft);
        border-radius: 18px;
        padding: 14px;
        background: var(--bg-card);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        animation: fadeInUp 0.8s 0.3s ease backwards;
    }

    .meta-panel:hover {
        border-color: var(--border-glow);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(128, 204, 185, 0.1);
    }

    .meta-grid {
        display: flex;
        align-items: stretch;
    }

    .meta-tile {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        border-radius: 14px;
        padding: 2px 12px;
        transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1),
            background 0.3s ease,
            border-color 0.3s ease,
            box-shadow 0.3s ease;
        cursor: default;
        flex: 1;
    }

    .meta-tile--date {
        flex: 7;
    }

    .meta-tile--location {
        flex: 5;
    }

    .meta-tile i {
        font-size: 1.3rem;
        color: #80ccb9;
        margin-top: 2px;
        transition: transform 0.3s ease, text-shadow 0.3s ease;
        flex-shrink: 0;
    }


    .meta-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .meta-main {
        font-weight: 600;
        font-size: 0.8rem;
        color: #eef4ff;
        line-height: 1.3;
    }

    .meta-sub {
        font-size: 0.7rem;
        color: #b8cdff;
        line-height: 1.3;
    }

    .meta-en {
        font-size: 0.55rem;
        color: var(--text-dim);
        opacity: 0.9;
        direction: ltr;
    }

    .meta-divider {
        width: 1px;
        background: rgba(128, 204, 185, 0.25);
        margin: 0 10px;
        flex-shrink: 0;
    }

    /* ---------- Menu grid ---------- */
    .menu-wrap {
        padding: 8px 16px 14px;
    }

    .menu-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .menu-tile {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(128, 204, 185, 0.18);
        border-radius: 18px;
        padding: 16px 8px 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        cursor: pointer;
        text-decoration: none;
        color: var(--text-main);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1),
            border-color 0.3s ease,
            background 0.3s ease,
            box-shadow 0.3s ease;
        position: relative;
        min-height: 100px;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-tile:hover {
        transform: translateY(-5px) scale(1.04);
        border-color: #80ccb9;
        background: rgba(1, 59, 66, 0.2);
        box-shadow: 0 14px 28px -10px rgba(1, 59, 66, 0.6),
            0 0 0 1px rgba(128, 204, 185, 0.3) inset;
    }

    .menu-tile:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }

    .menu-tile .ico-wrap {
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
        transition: transform 0.3s ease, filter 0.3s ease;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
        padding: 4px;
    }

    .menu-tile:hover .ico-wrap {
        transform: scale(1.1);
        filter: drop-shadow(0 4px 10px rgba(128, 204, 185, 0.5));
        background: rgba(128, 204, 185, 0.08);
    }

    .menu-tile .ico-wrap img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .menu-tile .label-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 0.7rem;
        font-weight: 500;
        color: #eef4ff;
    }

    .menu-tile .label-row i {
        font-size: 0.5rem;
        color: var(--text-dim);
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .menu-tile:hover .label-row i {
        transform: translateX(-3px);
        color: #80ccb9;
    }

    /* Footer Panel Credit */

    .credit-panel {
        margin: 14px 16px 6rem 16px;
        background: rgba(255, 255, 255, 0.05);

        border: 1px solid rgba(128, 204, 185, 0.2);
        border-radius: 18px;
        padding: 18px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .credit-panel:hover {
        transform: translateY(-3px);
        border-color: #80ccb9;
        box-shadow: 0 12px 24px -10px rgba(1, 59, 66, 0.5),
            0 0 0 1px rgba(128, 204, 185, 0.2) inset;
    }

    .credit-panel .txt {
        text-align: right;
    }

    .credit-panel .txt small {
        display: block;
        color: var(--text-dim);
        font-size: 0.75rem;
        margin-bottom: 6px;
        letter-spacing: -0.2px;
    }

    .credit-panel .txt strong {
        font-size: 0.95rem;
        font-weight: 700;
        background: linear-gradient(135deg, #80ccb9, #d6b88f);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: #80ccb9;
    }

    .credit-mark {
        width: 48px;
        height: 48px;
        opacity: 0.9;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .credit-panel:hover .credit-mark {
        opacity: 1;
        transform: scale(1.05);
    }

    .credit-mark g {
        stroke: #80ccb9;
        transition: stroke 0.3s ease;
    }

    .credit-mark {
        animation: spinSlow 30s linear infinite;
    }

    @keyframes spinSlow {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    .credit-panel:hover .credit-mark {
        animation-duration: 10s;
    }

    /* ---------- Bottom nav ---------- */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        z-index: 100;
        background: rgba(0, 0, 0, 0.75);
        border-top: 1px solid rgba(128, 204, 185, 0.2);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        padding: 8px 6px 2px;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: var(--text-dim);
        font-size: 0.72rem;
        text-decoration: none;
        position: relative;
        flex: 1;
        padding: 6px 0;
        transition: color 0.3s ease, transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1);
    }

    .nav-item i {
        font-size: 1.25rem;
        transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
    }

    .nav-item:hover {
        color: #80ccb9;
        transform: translateY(-3px);
    }

    .nav-item:hover i {
        transform: scale(1.15);
        text-shadow: 0 0 14px rgba(128, 204, 185, 0.7);
    }

    .nav-item.active {
        color: #80ccb9;
    }

    .nav-item.active i {
        text-shadow: 0 0 10px rgba(128, 204, 185, 0.5);
    }

    .nav-item.active::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 3px;
        background: #80ccb9;
        border-radius: 0 0 3px 3px;
        box-shadow: 0 0 8px rgba(128, 204, 185, 0.8);
    }

    .nav-item .dot {
        position: absolute;
        top: 2px;
        right: calc(50% - 18px);
        width: 9px;
        height: 9px;
        background: #d6b88f;
        border-radius: 50%;
        border: 2px solid #000;
        animation: dotPulse 2s infinite;
        box-shadow: 0 0 6px rgba(214, 184, 143, 0.5);
    }

    @keyframes dotPulse {
        0% {
            box-shadow: 0 0 0 0 rgba(214, 184, 143, 0.6);
        }

        70% {
            box-shadow: 0 0 0 8px rgba(214, 184, 143, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(214, 184, 143, 0);
        }
    }


    .hero {
        position: relative;
        padding: 30px 20px 24px;
        padding-bottom: 3px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        animation: fadeInUp 0.8s ease forwards;
    }

    .eyebrow {
        color: #fff;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        opacity: 0.9;
        text-transform: uppercase;
        font-weight: 400;
        text-align: right;
        animation: fadeInUp 0.8s 0.1s ease backwards;
    }

    .hero-title-wrapper {
        position: relative;
        text-align: center;
        margin-bottom: 8px;
    }

    .hero-main-title {
        font-size: 3.5rem;
        font-weight: 900;
        color: #fff;
        margin: 0;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .hero-sub-title {
        font-size: 1.2rem;
        font-weight: 900;
        margin-top: 2rem;
        color: #39a9b3;
        line-height: 1.2;
        text-align: center;
        letter-spacing: -0.5px;
    }

    .sub-glow {
        position: absolute;
        top: 4rem;
        left: 2.5rem;
        color: #4df0ff;
        font-size: 1.1rem;
        font-weight: 700;
        text-shadow: 0 0 12px rgba(77, 240, 255, 0.8), 0 0 25px rgba(77, 240, 255, 0.5);
        animation: glowPulse 2s infinite alternate;
        white-space: nowrap;
    }

    @keyframes glowPulse {
        0% {
            text-shadow: 0 0 8px rgba(77, 240, 255, 0.7), 0 0 16px rgba(77, 240, 255, 0.4);
        }

        100% {
            text-shadow: 0 0 16px rgba(77, 240, 255, 0.9), 0 0 30px rgba(77, 240, 255, 0.6);
        }
    }

    .accent-line {
        width: 50px;
        height: 3px;
        background: linear-gradient(to right, #d6b88f, transparent);
        border-radius: 3px;
        margin: 10px auto 20px;
    }


    .app-shell.scan-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .scan-instruction {
        text-align: center;
        padding: 10px 20px 0;
        flex-shrink: 0;
    }

    .scan-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #eef4ff;
        margin: 0 0 4px;
    }

    .scan-title .highlight {
        color: #80ccb9;
        font-weight: 800;
        text-shadow: 0 0 12px rgba(128, 204, 185, .6);
    }

    .scan-subtitle {
        font-size: .82rem;
        color: #9db2d4;
        margin: 0;
        opacity: .85;
    }

    .scan-frame-outer {
        margin-top: 5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 24px 8px;
        min-height: 0;
    }

    .scan-frame {
        position: relative;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        overflow: hidden;
        aspect-ratio: 1 / 1;
    }

    .scan-frame-inner {
        position: absolute;
        inset: 0;
        border-radius: 22px;
        overflow: hidden;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(128, 204, 185, .18);
    }

    .scan-frame-inner::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 22px;
        background-image:
            linear-gradient(rgba(128, 204, 185, .07) 1px, transparent 1px),
            linear-gradient(90deg, rgba(128, 204, 185, .07) 1px, transparent 1px);
        background-size: 26px 26px;
        background-position: center;
        -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 60%, transparent 100%);
        mask-image: radial-gradient(75% 75% at 50% 50%, #000 60%, transparent 100%);
        pointer-events: none;
        z-index: 5;
    }

    .corner {
        position: absolute;
        width: 46px;
        height: 46px;
        border: 4px solid #38f0c4;
        filter: drop-shadow(0 0 8px rgba(56, 240, 196, .9));
        z-index: 10;
        pointer-events: none;
    }

    .corner-tl {
        top: 0;
        left: 0;
        border-right: none;
        border-bottom: none;
        border-top-left-radius: 20px;
    }

    .corner-tr {
        top: 0;
        right: 0;
        border-left: none;
        border-bottom: none;
        border-top-right-radius: 20px;
    }

    .corner-bl {
        bottom: 0;
        left: 0;
        border-right: none;
        border-top: none;
        border-bottom-left-radius: 20px;
    }

    .corner-br {
        bottom: 0;
        right: 0;
        border-left: none;
        border-top: none;
        border-bottom-right-radius: 20px;
    }

    .hologram-wrap {
        position: absolute;
        inset: 8%;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity .35s ease;
    }

    .hologram-wrap.hide {
        opacity: 0;
        visibility: hidden;
    }

    .hologram-svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
        overflow: visible;
    }

    .qr-placeholder {
        position: relative;
        width: 42%;
        z-index: 3;
        filter: drop-shadow(0 0 12px rgba(128, 204, 185, .8));
        animation: qrPulse 3s ease-in-out infinite;
    }

    .qr-svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    @keyframes qrPulse {

        0%,
        100% {
            opacity: .9;
            transform: scale(1);
        }

        50% {
            opacity: 1;
            transform: scale(1.03);
        }
    }

    .twinkle {
        animation: twinkle 3.6s ease-in-out infinite;
    }

    .twinkle.d1 {
        animation-delay: .5s;
    }

    .twinkle.d2 {
        animation-delay: 1.1s;
    }

    .twinkle.d3 {
        animation-delay: 1.8s;
    }

    .twinkle.d4 {
        animation-delay: 2.4s;
    }

    @keyframes twinkle {

        0%,
        100% {
            opacity: .35;
        }

        50% {
            opacity: 1;
        }
    }

    #qr-reader {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        display: none;
        border-radius: 22px;
        overflow: hidden;
        background: #000;
    }

    #qr-reader.scanning {
        display: block;
    }

    #qr-reader video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 22px !important;
        display: block;
    }

    #qr-reader__scan_region,
    #qr-reader__dashboard,
    #qr-reader__header_message,
    #qr-reader__status_span,
    #qr-reader__camera_selection {
        display: none !important;
    }

    .scan-line {
        position: absolute;
        left: 0;
        right: 0;
        top: 4%;
        height: 3px;
        z-index: 99999;
        background: linear-gradient(90deg,
                transparent 0%,
                #7ef7dd 12%,
                #eafffa 50%,
                #7ef7dd 88%,
                transparent 100%);
        box-shadow:
            0 0 12px 3px rgba(56, 240, 196, 1),
            0 0 30px 10px rgba(56, 240, 196, .6),
            0 0 60px 22px rgba(56, 240, 196, .3);
        animation: scanMove 2.4s cubic-bezier(.45, 0, .55, 1) infinite alternate;
        pointer-events: none;
        opacity: 1 !important;
        border-radius: 3px;
    }

    .scan-line::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 90px;
        background: linear-gradient(to top,
                rgba(56, 240, 196, .45) 0%,
                rgba(56, 240, 196, .15) 40%,
                transparent 100%);
        pointer-events: none;
    }

    .scan-line::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 90px;
        background: linear-gradient(to bottom,
                rgba(56, 240, 196, .45) 0%,
                rgba(56, 240, 196, .15) 40%,
                transparent 100%);
        pointer-events: none;
    }

    @keyframes scanMove {
        from {
            top: 4%;
        }

        to {
            top: 96%;
        }
    }

    .scan-btn-wrap {
        margin-top: 1rem;
        padding: 12px 24px 0;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
    }

    .scan-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 200px;
        padding: 14px 24px;
        border: none;
        border-radius: 16px;
        font-family: inherit;
        font-size: .88rem;
        font-weight: 700;
        cursor: pointer;
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        box-shadow:
            0 12px 26px -12px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .25) inset;
        transition: filter .2s ease, transform .15s ease, box-shadow .25s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .scan-btn:hover {
        filter: brightness(1.08);
        box-shadow:
            0 16px 32px -12px rgba(128, 204, 185, 1),
            0 0 0 1px rgba(128, 204, 185, .35) inset;
    }

    .scan-btn:active {
        transform: scale(.97);
    }

    .scan-btn:disabled {
        opacity: .5;
        cursor: not-allowed;
        filter: grayscale(.5);
    }

    .scan-btn i {
        font-size: 1rem;
    }

    .scan-btn.stop {
        background: rgba(245, 68, 72, .12);
        border: 1.5px solid rgba(245, 68, 72, .5);
        color: #ff8b8f;
        box-shadow: 0 10px 22px -12px rgba(245, 68, 72, .6);
    }

    .scan-btn.stop:hover {
        background: rgba(245, 68, 72, .2);
        border-color: #F54448;
        color: #fff;
        filter: none;
    }

    .info-box {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 12px 20px 16px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .18);
        border-radius: 16px;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-shrink: 0;
    }

    .info-icon {
        font-size: 1.4rem;
        color: #80ccb9;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, .5));
        flex-shrink: 0;
    }

    .info-text {
        margin: 0;
        font-size: .75rem;
        font-weight: 500;
        color: #dbe6f0;
        line-height: 1.7;
        flex: 1;
    }

    .scan-toast {
        position: fixed;
        bottom: 110px;
        left: 50%;
        transform: translate(-50%, 20px);
        z-index: 9000;
        min-width: 240px;
        max-width: calc(100% - 40px);
        padding: 14px 18px;
        border-radius: 16px;
        background: rgba(8, 20, 32, .96);
        border: 1px solid rgba(128, 204, 185, .4);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow:
            0 20px 44px -16px rgba(0, 0, 0, .9),
            0 0 0 1px rgba(128, 204, 185, .12) inset;
        color: #eef4ff;
        font-size: .8rem;
        font-weight: 600;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
        pointer-events: none;
    }

    .scan-toast.show {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .scan-toast.error {
        border-color: rgba(245, 68, 72, .5);
    }

    .scan-toast .st-icon {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(128, 204, 185, .15);
        border: 1px solid rgba(128, 204, 185, .4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: 1.1rem;
    }

    .scan-toast.error .st-icon {
        background: rgba(245, 68, 72, .15);
        border-color: rgba(245, 68, 72, .4);
        color: #ff8b8f;
    }

    .scan-toast .st-title {
        font-weight: 700;
        font-size: .82rem;
    }

    .scan-toast .st-value {
        font-family: 'Courier New', monospace;
        font-size: .72rem;
        color: #80ccb9;
        direction: ltr;
        letter-spacing: .5px;
        word-break: break-all;
        padding: 6px 10px;
        border-radius: 8px;
        background: rgba(128, 204, 185, .08);
        border: 1px dashed rgba(128, 204, 185, .3);
        max-width: 100%;
    }

    @media (prefers-reduced-motion: reduce) {
        .scan-line {
            animation: none;
        }

        .qr-placeholder {
            animation: none;
        }
    }


    /* ===== Chats Page ===== */
    .app-shell.chats-page {
        display: flex;
        flex-direction: column;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        background:
            radial-gradient(60% 34% at 50% 0%, rgba(70, 110, 160, .14), transparent 70%),
            radial-gradient(90% 46% at 50% 100%, rgba(47, 232, 184, .08), transparent 70%),
            linear-gradient(180deg, #040910 0%, #060b12 55%, #03060a 100%);
    }

    /* ---------- Scroll area ---------- */
    .chats-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0 14px 96px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .chats-scroll::-webkit-scrollbar {
        display: none;
    }

    .chats-header {
        text-align: center;
        padding: 10px 6px 20px;
        animation: fadeInUp .7s ease both;
    }

    .chats-header .chats-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 0 0 8px;
        letter-spacing: -.2px;
    }

    .chats-header .chats-sub {
        font-size: .74rem;
        color: var(--text-dim);
        margin: 0 auto;
        line-height: 1.9;
        max-width: 300px;
        opacity: .85;
    }

    .chats-header .title-glow {
        display: block;
        width: 46px;
        height: 2px;
        border-radius: 2px;
        margin: 14px auto 0;
        background: linear-gradient(to left, transparent, #80ccb9, transparent);
        box-shadow: 0 0 10px rgba(128, 204, 185, .5);
    }

    .chats-search {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 4px 0 10px;
        background: linear-gradient(180deg,
                rgba(4, 9, 16, .96) 0%,
                rgba(4, 9, 16, .85) 70%,
                transparent 100%);
    }

    .chats-search-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 46px;
        padding: 0 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .18);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        transition: border-color .25s, background .25s, box-shadow .25s;
    }

    .chats-search-inner:focus-within {
        border-color: rgba(128, 204, 185, .55);
        background: rgba(128, 204, 185, .06);
        box-shadow: 0 0 0 3px rgba(128, 204, 185, .1);
    }

    .chats-search-inner i {
        color: #80ccb9;
        font-size: .9rem;
        flex-shrink: 0;
        opacity: .8;
    }

    .chats-search-inner input {
        flex: 1;
        min-width: 0;
        height: 100%;
        background: transparent;
        border: none;
        outline: none;
        color: #eef4ff;
        font-family: inherit;
        font-size: .84rem;
        font-weight: 500;
    }

    .chats-search-inner input::placeholder {
        color: #6c7f8f;
        font-weight: 400;
    }

    .chats-filters {
        display: flex;
        gap: 8px;
        padding: 2px 0 14px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .chats-filters::-webkit-scrollbar {
        display: none;
    }

    .chats-filter {
        flex-shrink: 0;
        height: 34px;
        padding: 0 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .18);
        color: #9db2d4;
        font-family: inherit;
        font-size: .72rem;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
        -webkit-tap-highlight-color: transparent;
    }

    .chats-filter i {
        font-size: .7rem;
        opacity: .7;
    }

    .chats-filter.active {
        background: linear-gradient(135deg, rgba(1, 59, 66, .6), rgba(128, 204, 185, .16));
        border-color: rgba(128, 204, 185, .55);
        color: #eafffa;
        box-shadow:
            0 6px 18px -10px rgba(128, 204, 185, .8),
            0 0 0 1px rgba(128, 204, 185, .15) inset;
    }

    .chats-filter.active i {
        opacity: 1;
        color: #80ccb9;
    }

    .chats-filter .count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: rgba(245, 185, 92, .18);
        color: #f5b95c;
        font-size: .62rem;
        font-weight: 700;
    }

    .chats-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .chat-row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .03);
        border: 1px solid transparent;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background .2s, border-color .2s, transform .12s;
        position: relative;
        animation: rowIn .4s ease both;
    }

    @keyframes rowIn {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .chat-row:hover {
        background: rgba(128, 204, 185, .06);
        border-color: rgba(128, 204, 185, .22);
    }

    .chat-row:active {
        transform: scale(.985);
        background: rgba(128, 204, 185, .08);
    }

    .chat-row.unread {
        background: rgba(128, 204, 185, .04);
        border-color: rgba(128, 204, 185, .12);
    }

    .chat-row.unread .chat-name {
        color: #eafffa;
        font-weight: 800;
    }

    .chat-row.unread .chat-preview {
        color: #cfe9e2;
        font-weight: 600;
    }

    .chat-row.unread .chat-time {
        color: #80ccb9;
        font-weight: 700;
    }

    .chat-avatar {
        position: relative;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        flex-shrink: 0;
        padding: 2px;
        background: linear-gradient(135deg, rgba(128, 204, 185, .55), rgba(255, 255, 255, .06));
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .chat-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: contain;
        background: #0b1c2a;
        display: block;
        padding: 3px;
    }

    .chat-avatar .avatar-letter {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: linear-gradient(135deg, #0b1c2a, #013b42);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: 1.15rem;
        font-weight: 900;
        text-shadow: 0 0 10px rgba(128, 204, 185, .5);
    }

    .chat-avatar .online-dot {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #38f0c4;
        border: 2.5px solid #040910;
        box-shadow: 0 0 8px rgba(56, 240, 196, .7);
    }

    .chat-body {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .chat-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .chat-name {
        flex: 1;
        min-width: 0;
        font-size: .86rem;
        font-weight: 700;
        color: #eef4ff;
        margin: 0;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .chat-time {
        font-size: .64rem;
        color: #6c7f8f;
        font-weight: 500;
        flex-shrink: 0;
        white-space: nowrap;
        direction: ltr;
    }

    .chat-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .chat-preview {
        flex: 1;
        min-width: 0;
        font-size: .75rem;
        color: #93a8b8;
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .chat-preview i.ico-tick {
        font-size: .6rem;
        color: #80ccb9;
        opacity: .8;
    }

    .chat-badge {
        flex-shrink: 0;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 999px;
        background: linear-gradient(135deg, #80ccb9, #2ea68d);
        color: #04140f;
        font-size: .62rem;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 10px rgba(128, 204, 185, .5);
    }

    .chats-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 50px 24px;
        text-align: center;
    }

    .chats-empty-ico {
        width: 86px;
        height: 86px;
        border-radius: 50%;
        background:
            radial-gradient(circle at 50% 40%, rgba(128, 204, 185, .2), transparent 70%),
            rgba(1, 59, 66, .18);
        border: 1px dashed rgba(128, 204, 185, .32);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
    }

    .chats-empty-ico i {
        font-size: 1.8rem;
        color: #80ccb9;
        opacity: .75;
        filter: drop-shadow(0 0 10px rgba(128, 204, 185, .5));
    }

    .chats-empty-title {
        font-size: .95rem;
        font-weight: 700;
        color: #eef4ff;
        margin: 0 0 8px;
    }

    .chats-empty-desc {
        font-size: .74rem;
        color: #6c7f8f;
        margin: 0;
        line-height: 1.9;
        max-width: 260px;
    }

    .chats-fab {
        position: fixed;
        bottom: calc(90px + env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(calc(210px - 60px));
        width: 54px;
        height: 54px;
        border-radius: 50%;
        border: none;
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        font-size: 1.15rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 50;
        box-shadow:
            0 12px 26px -8px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .3) inset;
        transition: transform .2s, filter .2s, box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
    }

    @media (max-width: 480px) {
        .chats-fab {
            left: auto;
            right: 20px;
            transform: none;
        }
    }

    @media (prefers-reduced-motion: reduce) {

        .chat-row,
        .chats-header {
            animation: none !important;
        }
    }

    /* Notifications Page */
    .app-shell.notif-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .notif-shell {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-bottom: 78px;
        overflow: hidden;
    }

    /* Profile Page */
    .profile-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 18px 96px;
        scrollbar-width: thin;
        scrollbar-color: rgba(128, 204, 185, .35) transparent;
    }

    .profile-scroll::-webkit-scrollbar {
        width: 5px;
    }

    .profile-scroll::-webkit-scrollbar-thumb {
        background: rgba(128, 204, 185, .3);
        border-radius: 3px;
    }

    .profile-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 18px 0 10px;
        animation: fadeInUp .7s ease both;
    }

    .avatar-wrap {
        position: relative;
        width: 118px;
        height: 118px;
        margin-bottom: 14px;
    }

    .avatar-wrap::before {
        content: "";
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        border: 1px dashed rgba(128, 204, 185, .35);
        animation: spinSlow 22s linear infinite;
    }

    .avatar-wrap::after {
        content: "";
        position: absolute;
        inset: -16px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(128, 204, 185, .22) 0%, transparent 65%);
        z-index: -1;
        animation: glowFloat 4s ease-in-out infinite;
    }

    .avatar-ring {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        padding: 3px;
        background: linear-gradient(135deg, #80ccb9 0%, #013b42 45%, #d6b88f 100%);
        box-shadow: 0 0 22px -4px rgba(128, 204, 185, .7),
            0 0 40px -12px rgba(128, 204, 185, .5) inset;
    }

    .avatar-ring img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        background: #081420;
    }

    .avatar-edit {
        position: absolute;
        bottom: -2px;
        left: -2px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: linear-gradient(145deg, #80ccb9, #013b42);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .85rem;
        cursor: pointer;
        border: 2px solid #040910;
        box-shadow: 0 6px 16px -4px rgba(128, 204, 185, .8);
        transition: transform .25s ease, box-shadow .25s ease;
        z-index: 2;
    }

    .avatar-edit:hover {
        transform: scale(1.1) rotate(-6deg);
        box-shadow: 0 10px 22px -4px rgba(128, 204, 185, .95);
    }

    .phone-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 14px;
        border-radius: 999px;
        background: rgba(128, 204, 185, .08);
        border: 1px solid rgba(128, 204, 185, .28);
        color: #cfe9e2;
        font-size: .78rem;
        font-weight: 600;
        direction: ltr;
        box-shadow: 0 0 0 1px rgba(128, 204, 185, .05) inset,
            0 6px 20px -12px rgba(128, 204, 185, .55);
    }

    .phone-pill i {
        color: #80ccb9;
        font-size: .82rem;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, .7));
    }

    .section {
        margin-top: 22px;
    }

    .section-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .78rem;
        font-weight: 700;
        color: #cfe9e2;
        letter-spacing: .2px;
        margin: 0 4px 12px;
        text-transform: uppercase;
        opacity: .85;
    }

    .section-title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(to left, transparent, rgba(128, 204, 185, .35));
    }

    .section-title i {
        color: #80ccb9;
        font-size: .8rem;
    }

    .field {
        display: flex;
        align-items: center;
        gap: 12px;
        height: 54px;
        padding: 0 14px;
        margin-bottom: 12px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .16);
        border-radius: 14px;
        backdrop-filter: blur(10px);
        transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .2s ease;
    }

    .field:hover {
        border-color: rgba(128, 204, 185, .32);
        background: rgba(255, 255, 255, .05);
    }

    .field:focus-within {
        border-color: #80ccb9;
        background: rgba(128, 204, 185, .07);
        box-shadow: 0 0 0 3px rgba(128, 204, 185, .12),
            0 8px 22px -14px rgba(128, 204, 185, .7);
    }

    .field i.field-icon {
        width: 22px;
        text-align: center;
        color: #80ccb9;
        font-size: 1rem;
        flex-shrink: 0;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .35));
        transition: transform .25s ease;
    }

    .field:focus-within i.field-icon {
        transform: scale(1.1);
    }

    .field input,
    .field select {
        flex: 1;
        min-width: 0;
        background: transparent;
        border: none;
        outline: none;
        color: #eef4ff;
        font-family: inherit;
        font-size: .88rem;
        font-weight: 500;
        direction: rtl;
        text-align: right;
        -webkit-appearance: none;
        appearance: none;
    }

    .field input::placeholder {
        color: #6c7f8f;
        font-weight: 400;
    }

    .field select {
        cursor: pointer;
        padding-left: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2380ccb9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: left 4px center;
        background-size: 14px;
    }

    .field select option {
        background: #081420;
        color: #eef4ff;
        padding: 8px;
    }

    .field.is-select2 .select2-container {
        flex: 1;
        min-width: 0;
    }

    .field.is-select2 .select2-selection {
        background: transparent !important;
        border: none !important;
        height: 52px !important;
        color: #eef4ff !important;
        display: flex;
        align-items: center;
        padding: 0 !important;
    }

    .field.is-select2 .select2-selection__rendered {
        color: #eef4ff !important;
        line-height: normal !important;
        padding: 0 !important;
        font-family: inherit !important;
        font-size: .88rem !important;
    }

    .field.is-select2 .select2-selection__placeholder {
        color: #6c7f8f !important;
    }

    .field.is-select2 .select2-selection__arrow {
        display: none !important;
    }

    .expert-picker {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        background: linear-gradient(135deg, rgba(1, 59, 66, .35), rgba(128, 204, 185, .06));
        border: 1px solid rgba(128, 204, 185, .3);
        border-radius: 16px;
        cursor: pointer;
        transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
        position: relative;
        overflow: hidden;
    }

    .expert-picker::before {
        content: "";
        position: absolute;
        top: -40%;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(128, 204, 185, .18) 0%, transparent 65%);
        pointer-events: none;
        filter: blur(4px);
    }

    .expert-picker:hover {
        transform: translateY(-3px);
        border-color: #80ccb9;
        background: linear-gradient(135deg, rgba(1, 59, 66, .5), rgba(128, 204, 185, .12));
        box-shadow: 0 14px 28px -14px rgba(128, 204, 185, .6),
            0 0 0 1px rgba(128, 204, 185, .15) inset;
    }

    .expert-picker:active {
        transform: translateY(0) scale(.99);
    }

    .expert-picker .ep-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(128, 204, 185, .15);
        border: 1px solid rgba(128, 204, 185, .35);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: 1.05rem;
        flex-shrink: 0;
        filter: drop-shadow(0 0 8px rgba(128, 204, 185, .5));
    }

    .expert-picker .ep-body {
        flex: 1;
        min-width: 0;
        position: relative;
        z-index: 1;
    }

    .expert-picker .ep-label {
        display: block;
        font-size: .68rem;
        font-weight: 600;
        color: #9db2d4;
        letter-spacing: .3px;
        margin-bottom: 3px;
    }

    .expert-picker .ep-value {
        display: block;
        font-size: .82rem;
        font-weight: 600;
        color: #eef4ff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .expert-picker .ep-arrow {
        color: #80ccb9;
        font-size: .85rem;
        flex-shrink: 0;
        transition: transform .25s ease;
    }

    .expert-picker:hover .ep-arrow {
        transform: translateX(-4px);
    }

    .actions {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        animation: fadeInUp .7s .15s ease both;
    }

    .btn-main {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 54px;
        border: none;
        border-radius: 16px;
        font-family: inherit;
        font-size: .92rem;
        font-weight: 700;
        cursor: pointer;
        transition: transform .2s ease, box-shadow .3s ease, filter .3s ease;
        position: relative;
        overflow: hidden;
    }

    .btn-main i {
        font-size: 1rem;
    }

    .btn-save {
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        box-shadow: 0 12px 26px -12px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .25) inset;
    }

    .btn-save:hover {
        filter: brightness(1.08);
        box-shadow: 0 16px 32px -12px rgba(128, 204, 185, 1),
            0 0 0 1px rgba(128, 204, 185, .35) inset;
    }

    .btn-save:active {
        transform: scale(.98);
    }

    .btn-logout {
        background: rgba(245, 68, 72, .1);
        border: 1.5px solid rgba(245, 68, 72, .5);
        color: #ff8b8f;
    }

    .btn-logout:hover {
        background: rgba(245, 68, 72, .18);
        border-color: #F54448;
        color: #fff;
        box-shadow: 0 10px 24px -12px rgba(245, 68, 72, .7);
    }

    .btn-logout:active {
        transform: scale(.98);
    }

    #ExpertModal .modal-content {
        background: linear-gradient(180deg, #081420 0%, #040910 100%);
        color: #eef4ff;
        border: 1px solid rgba(128, 204, 185, .3);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8),
            0 0 0 1px rgba(128, 204, 185, .1) inset;
    }

    #ExpertModal .modal-header {
        border-bottom: 1px solid rgba(128, 204, 185, .2);
        padding: 16px 18px;
        background: rgba(128, 204, 185, .04);
    }

    #ExpertModal .modal-title {
        font-weight: 700;
        font-size: .95rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #ExpertModal .modal-title i {
        color: #80ccb9;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, .6));
    }

    #ExpertModal .btn-close {
        filter: invert(1) brightness(1.6);
        opacity: .7;
    }

    #ExpertModal .btn-close:hover {
        opacity: 1;
    }

    #ExpertModal .modal-body {
        padding: 0;
        max-height: 62vh;
        display: flex;
        flex-direction: column;
    }

    .expert-search {
        padding: 14px 18px 10px;
        border-bottom: 1px solid rgba(128, 204, 185, .12);
        position: sticky;
        top: 0;
        background: #081420;
        z-index: 2;
    }

    .expert-search-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 44px;
        padding: 0 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .2);
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .expert-search-inner:focus-within {
        border-color: #80ccb9;
        box-shadow: 0 0 0 3px rgba(128, 204, 185, .12);
    }

    .expert-search-inner i {
        color: #80ccb9;
        font-size: .9rem;
    }

    .expert-search-inner input {
        flex: 1;
        min-width: 0;
        background: transparent;
        border: none;
        outline: none;
        color: #eef4ff;
        font-family: inherit;
        font-size: .85rem;
    }

    .expert-search-inner input::placeholder {
        color: #6c7f8f;
    }

    .expert-list {
        overflow-y: auto;
        padding: 12px 18px 8px;
        scrollbar-width: thin;
        scrollbar-color: rgba(128, 204, 185, .3) transparent;
    }

    .expert-list::-webkit-scrollbar {
        width: 5px;
    }

    .expert-list::-webkit-scrollbar-thumb {
        background: rgba(128, 204, 185, .3);
        border-radius: 3px;
    }

    .expert-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 12px;
        margin-bottom: 6px;
        border-radius: 12px;
        cursor: pointer;
        border: 1px solid transparent;
        transition: background .2s ease, border-color .2s ease;
        user-select: none;
        position: relative;
    }

    .expert-item:hover {
        background: rgba(128, 204, 185, .06);
        border-color: rgba(128, 204, 185, .2);
    }

    .expert-item input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .expert-item-box {
        width: 20px;
        height: 20px;
        border-radius: 7px;
        border: 1.8px solid rgba(128, 204, 185, .45);
        background: rgba(128, 204, 185, .05);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .2s ease;
        position: relative;
    }

    .expert-item-box::after {
        content: "";
        width: 10px;
        height: 6px;
        border-left: 2.2px solid #04140f;
        border-bottom: 2.2px solid #04140f;
        transform: rotate(-45deg) scale(0);
        transition: transform .2s ease;
        margin-top: -2px;
    }

    .expert-item input:checked~.expert-item-box {
        background: linear-gradient(135deg, #80ccb9, #2ea68d);
        border-color: #80ccb9;
        box-shadow: 0 0 10px rgba(128, 204, 185, .6);
    }

    .expert-item input:checked~.expert-item-box::after {
        transform: rotate(-45deg) scale(1);
    }

    .expert-item-label {
        flex: 1;
        min-width: 0;
        font-size: .82rem;
        color: #dbe6f0;
        line-height: 1.5;
        transition: color .2s ease;
    }

    .expert-item input:checked~.expert-item-label {
        color: #80ccb9;
        font-weight: 600;
    }

    .expert-empty {
        text-align: center;
        padding: 24px 12px;
        color: #6c7f8f;
        font-size: .82rem;
        display: none;
    }

    #ExpertModal .modal-footer {
        border-top: 1px solid rgba(128, 204, 185, .2);
        padding: 14px 18px;
        background: rgba(128, 204, 185, .03);
        gap: 10px;
    }

    #ExpertModal .modal-footer .btn-select {
        flex: 1;
        height: 46px;
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, #80ccb9, #2ea68d);
        color: #04140f;
        font-family: inherit;
        font-weight: 700;
        font-size: .86rem;
        cursor: pointer;
        transition: filter .2s ease, transform .15s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    #ExpertModal .modal-footer .btn-select:hover {
        filter: brightness(1.08);
    }

    #ExpertModal .modal-footer .btn-select:active {
        transform: scale(.98);
    }

    .scroll-fade {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 78px;
        height: 40px;
        pointer-events: none;
        background: linear-gradient(to top, rgba(4, 9, 16, .95), transparent);
        z-index: 5;
    }

    @media (prefers-reduced-motion: reduce) {

        .avatar-wrap::before,
        .avatar-wrap::after {
            animation: none !important;
        }
    }

    /* Mettings Page */


    .app-shell.mtg-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .app-shell.mtg-page .topbar a.icon-btn {
        text-decoration: none;
        color: #dfe9ff;
        cursor: pointer;
    }

    .mtg-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 6px 14px 100px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mtg-scroll::-webkit-scrollbar {
        display: none;
    }

    .mtg-header {
        text-align: center;
        padding: 8px 6px 22px;
        animation: fadeInUp .7s ease both;
    }

    .mtg-header-icon {
        position: relative;
        width: 68px;
        height: 68px;
        margin: 0 auto 14px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background:
            radial-gradient(circle at 50% 40%, rgba(128, 204, 185, .22), transparent 70%),
            rgba(1, 59, 66, .18);
        border: 1px solid rgba(128, 204, 185, .35);
        box-shadow:
            0 0 22px -6px rgba(128, 204, 185, .5) inset,
            0 0 36px -10px rgba(128, 204, 185, .35);
    }

    .mtg-header-icon::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px dashed rgba(128, 204, 185, .28);
        animation: spinSlow 20s linear infinite;
    }

    .mtg-header-icon i {
        font-size: 1.55rem;
        color: #80ccb9;
        filter: drop-shadow(0 0 8px rgba(128, 204, 185, .7));
    }

    .mtg-header-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 0 0 8px;
        letter-spacing: -.2px;
    }

    .mtg-header-desc {
        font-size: .74rem;
        color: var(--text-dim);
        margin: 0 auto;
        line-height: 1.9;
        max-width: 300px;
        opacity: .85;
    }

    .mtg-header-line {
        display: block;
        width: 46px;
        height: 2px;
        margin: 14px auto 0;
        border-radius: 2px;
        background: linear-gradient(to left, transparent, #80ccb9, transparent);
        box-shadow: 0 0 10px rgba(128, 204, 185, .5);
    }

    .mtg-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mtg-card {
        position: relative;
        display: flex;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(255, 255, 255, .06);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        box-shadow: 0 1px 0 0 rgba(255, 255, 255, .04) inset;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        transition: background .22s, border-color .22s, transform .15s, box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
        opacity: 0;
        transform: translateY(8px);
        animation: mtgIn .45s ease forwards;
    }

    @keyframes mtgIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mtg-card:hover {
        background: rgba(128, 204, 185, .06);
        border-color: rgba(128, 204, 185, .32);
        box-shadow: 0 6px 20px -12px rgba(128, 204, 185, .35);
    }

    .mtg-card:active {
        transform: scale(.985);
    }

    .mtg-avatar {
        width: 58px;
        height: 58px;
        border-radius: 14px;
        padding: 2px;
        background: linear-gradient(140deg,
                rgba(128, 204, 185, .55),
                rgba(255, 255, 255, .06));
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .mtg-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 12px;
        object-fit: contain;
        background: #0b1c2a;
        display: block;
        padding: 4px;
    }

    .mtg-avatar-letter {
        width: 100%;
        height: 100%;
        border-radius: 12px;
        background: linear-gradient(135deg, #0b1c2a, #013b42);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: 1.3rem;
        font-weight: 900;
        text-shadow: 0 0 10px rgba(128, 204, 185, .55);
    }

    .mtg-body {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mtg-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
    }

    .mtg-name {
        flex: 1;
        min-width: 0;
        font-size: .9rem;
        font-weight: 700;
        color: #f1f7f8;
        margin: 0;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mtg-status {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 10px;
        border-radius: 999px;
        font-size: .62rem;
        font-weight: 700;
        white-space: nowrap;
        flex-shrink: 0;
        line-height: 1;
    }

    .mtg-status i {
        font-size: .58rem;
    }

    .mtg-status--pending {
        background: rgba(245, 185, 92, .1);
        border: 1px solid rgba(245, 185, 92, .4);
        color: #f5b95c;
    }

    .mtg-status--pending::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #f5b95c;
        box-shadow: 0 0 6px rgba(245, 185, 92, .8);
        animation: pulseAmber 1.8s infinite;
    }

    @keyframes pulseAmber {
        0% {
            box-shadow: 0 0 0 0 rgba(245, 185, 92, .6);
        }

        70% {
            box-shadow: 0 0 0 7px rgba(245, 185, 92, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(245, 185, 92, 0);
        }
    }

    .mtg-status--approved {
        background: rgba(128, 204, 185, .1);
        border: 1px solid rgba(128, 204, 185, .4);
        color: #80ccb9;
    }

    .mtg-status--rejected {
        background: rgba(245, 68, 72, .1);
        border: 1px solid rgba(245, 68, 72, .4);
        color: #ff8b8f;
    }

    .mtg-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: .68rem;
        color: #93a8b8;
    }

    .mtg-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .mtg-meta i {
        color: #80ccb9;
        font-size: .65rem;
        opacity: .75;
    }

    .mtg-tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 3px 10px;
        border-radius: 999px;
        background: rgba(128, 204, 185, .08);
        border: 1px solid rgba(128, 204, 185, .18);
        color: #a6d8cd;
        font-size: .62rem;
        font-weight: 500;
        white-space: nowrap;
        align-self: flex-start;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mtg-tag i {
        font-size: .55rem;
        opacity: .75;
        flex-shrink: 0;
    }

    .mtg-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 24px;
        text-align: center;
        animation: fadeInUp .6s ease both;
    }

    .mtg-empty-ico {
        width: 86px;
        height: 86px;
        border-radius: 50%;
        background:
            radial-gradient(circle at 50% 40%, rgba(128, 204, 185, .2), transparent 70%),
            rgba(1, 59, 66, .18);
        border: 1px dashed rgba(128, 204, 185, .32);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
    }

    .mtg-empty-ico i {
        font-size: 1.8rem;
        color: #80ccb9;
        opacity: .75;
        filter: drop-shadow(0 0 10px rgba(128, 204, 185, .5));
    }

    .mtg-empty-title {
        font-size: .95rem;
        font-weight: 700;
        color: #eef4ff;
        margin: 0 0 8px;
    }

    .mtg-empty-desc {
        font-size: .74rem;
        color: #6c7f8f;
        margin: 0;
        line-height: 1.9;
        max-width: 260px;
    }

    .mtg-modal-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(2, 6, 12, .78);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .mtg-modal-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .mtg-modal {
        width: 100%;
        max-width: 380px;
        background: linear-gradient(180deg, #081420 0%, #040910 100%);
        border: 1px solid rgba(128, 204, 185, .3);
        border-radius: 22px;
        overflow: hidden;
        box-shadow:
            0 30px 60px -20px rgba(0, 0, 0, .85),
            0 0 0 1px rgba(128, 204, 185, .1) inset;
        transform: translateY(20px) scale(.95);
        transition: transform .3s cubic-bezier(.2, .9, .3, 1);
    }

    .mtg-modal-overlay.show .mtg-modal {
        transform: translateY(0) scale(1);
    }

    .mtg-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid rgba(128, 204, 185, .18);
        background: rgba(128, 204, 185, .04);
    }

    .mtg-modal-header h3 {
        margin: 0;
        font-size: .95rem;
        font-weight: 700;
        color: #eef4ff;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mtg-modal-header h3 i {
        color: #80ccb9;
        font-size: .9rem;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, .6));
    }

    .mtg-modal-close {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .2);
        color: #cfe9e2;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background .2s, border-color .2s, color .2s, transform .15s;
        -webkit-tap-highlight-color: transparent;
        padding: 0;
    }

    .mtg-modal-close:hover {
        background: rgba(245, 68, 72, .12);
        border-color: rgba(245, 68, 72, .4);
        color: #ff8b8f;
    }

    .mtg-modal-close:active {
        transform: scale(.92);
    }

    .mtg-modal-body {
        padding: 22px 18px 20px;
    }

    .mtg-modal-profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        margin-bottom: 18px;
    }

    .mtg-modal-avatar {
        width: 82px;
        height: 82px;
        border-radius: 50%;
        padding: 2px;
        background: linear-gradient(135deg, #80ccb9 0%, #013b42 45%, #d6b88f 100%);
        margin-bottom: 12px;
        box-shadow:
            0 0 22px -4px rgba(128, 204, 185, .6),
            0 0 40px -12px rgba(128, 204, 185, .4) inset;
    }

    .mtg-modal-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: contain;
        background: #081420;
        display: block;
        padding: 6px;
    }

    .mtg-modal-avatar .mtg-avatar-letter {
        border-radius: 50%;
        font-size: 1.8rem;
    }

    .mtg-modal-name {
        font-size: 1rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 0 0 10px;
        line-height: 1.5;
        max-width: 100%;
    }

    .mtg-modal-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mtg-modal-info-row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .14);
    }

    .mtg-modal-info-row i.ico {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        background: rgba(128, 204, 185, .12);
        border: 1px solid rgba(128, 204, 185, .28);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: .9rem;
        flex-shrink: 0;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .4));
    }

    .mtg-modal-info-row .info-text {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .mtg-modal-info-row .info-label {
        font-size: .66rem;
        color: #6c7f8f;
        font-weight: 500;
    }

    .mtg-modal-info-row .info-value {
        font-size: .88rem;
        color: #eef4ff;
        font-weight: 700;
        direction: ltr;
        text-align: right;
        letter-spacing: .3px;
    }

    .mtg-modal-footer {
        padding: 14px 18px 18px;
        border-top: 1px solid rgba(128, 204, 185, .18);
        background: rgba(128, 204, 185, .03);
        display: flex;
        gap: 10px;
    }

    .mtg-modal-footer.is-hidden {
        display: none;
    }

    .mtg-action-btn {
        flex: 1;
        height: 48px;
        border-radius: 13px;
        border: none;
        font-family: inherit;
        font-size: .82rem;
        font-weight: 700;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: transform .15s, filter .2s, box-shadow .25s, background .2s, border-color .2s;
        -webkit-tap-highlight-color: transparent;
    }

    .mtg-action-btn i {
        font-size: .9rem;
    }

    .mtg-action-btn:active {
        transform: scale(.97);
    }

    .mtg-action-btn--approve {
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        box-shadow:
            0 10px 22px -10px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .25) inset;
    }

    .mtg-action-btn--approve:hover {
        filter: brightness(1.08);
    }

    .mtg-action-btn--reject {
        background: rgba(245, 68, 72, .1);
        border: 1px solid rgba(245, 68, 72, .45);
        color: #ff8b8f;
    }

    .mtg-action-btn--reject:hover {
        background: rgba(245, 68, 72, .2);
        border-color: #f54448;
        color: #fff;
    }

    .mtg-confirm-overlay {
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(2, 6, 12, .82);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .22s ease, visibility .22s ease;
    }

    .mtg-confirm-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .mtg-confirm {
        width: 100%;
        max-width: 340px;
        padding: 26px 22px 22px;
        background: linear-gradient(180deg, #081420 0%, #040910 100%);
        border: 1px solid rgba(245, 185, 92, .35);
        border-radius: 22px;
        text-align: center;
        box-shadow:
            0 30px 60px -20px rgba(0, 0, 0, .85),
            0 0 0 1px rgba(245, 185, 92, .12) inset;
        transform: translateY(16px) scale(.94);
        transition: transform .3s cubic-bezier(.2, .9, .3, 1);
    }

    .mtg-confirm-overlay.show .mtg-confirm {
        transform: translateY(0) scale(1);
    }

    .mtg-confirm-icon {
        width: 62px;
        height: 62px;
        margin: 0 auto 16px;
        border-radius: 50%;
        background: rgba(245, 185, 92, .12);
        border: 1px solid rgba(245, 185, 92, .45);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #f5b95c;
        font-size: 1.4rem;
        filter: drop-shadow(0 0 10px rgba(245, 185, 92, .5));
    }

    .mtg-confirm-title {
        font-size: .95rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 0 0 8px;
        line-height: 1.6;
    }

    .mtg-confirm-desc {
        font-size: .76rem;
        color: #93a8b8;
        line-height: 1.9;
        margin: 0 0 20px;
    }

    .mtg-confirm-actions {
        display: flex;
        gap: 10px;
    }

    .mtg-confirm-btn {
        flex: 1;
        height: 46px;
        border-radius: 12px;
        border: none;
        font-family: inherit;
        font-size: .82rem;
        font-weight: 700;
        cursor: pointer;
        transition: transform .15s, filter .2s, background .2s, border-color .2s;
        -webkit-tap-highlight-color: transparent;
    }

    .mtg-confirm-btn:active {
        transform: scale(.97);
    }

    .mtg-confirm-btn--cancel {
        background: rgba(255, 255, 255, .05);
        border: 1px solid rgba(255, 255, 255, .12);
        color: #cfe9e2;
    }

    .mtg-confirm-btn--cancel:hover {
        background: rgba(255, 255, 255, .08);
        border-color: rgba(255, 255, 255, .2);
    }

    .mtg-confirm-btn--ok {
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        box-shadow: 0 8px 18px -8px rgba(128, 204, 185, .9);
    }

    .mtg-confirm-btn--ok:hover {
        filter: brightness(1.08);
    }

    .mtg-toast {
        position: fixed;
        bottom: 100px;
        left: 50%;
        transform: translate(-50%, 20px);
        z-index: 10001;
        min-width: 220px;
        max-width: calc(100% - 40px);
        padding: 14px 18px;
        border-radius: 14px;
        background: rgba(8, 20, 32, .96);
        border: 1px solid rgba(128, 204, 185, .4);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow:
            0 20px 44px -16px rgba(0, 0, 0, .9),
            0 0 0 1px rgba(128, 204, 185, .12) inset;
        color: #eef4ff;
        font-size: .8rem;
        font-weight: 600;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
        pointer-events: none;
    }

    .mtg-toast.show {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .mtg-toast.error {
        border-color: rgba(245, 68, 72, .5);
    }

    .mtg-toast .t-ico {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(128, 204, 185, .15);
        border: 1px solid rgba(128, 204, 185, .4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: .85rem;
        flex-shrink: 0;
    }

    .mtg-toast.error .t-ico {
        background: rgba(245, 68, 72, .15);
        border-color: rgba(245, 68, 72, .4);
        color: #ff8b8f;
    }

    @media screen and (max-width:576px) {
        .mtg-name {
            font-size: .75rem;
        }

        .mtg-status {
            font-size: .6rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {

        .mtg-header-icon::after,
        .mtg-status--pending::before,
        .mtg-card {
            animation: none !important;
            opacity: 1;
            transform: none;
        }
    }

    /* Map Page */
    .app-shell.map-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        background:
            radial-gradient(60% 34% at 50% 0%, rgba(70, 110, 160, .14), transparent 70%),
            radial-gradient(90% 46% at 50% 100%, rgba(47, 232, 184, .08), transparent 70%),
            linear-gradient(180deg, #040910 0%, #060b12 55%, #03060a 100%);
    }

    .map-shell {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 6px 14px 88px;
    }

    .map-tabs {
        display: flex;
        gap: 8px;
        padding: 4px 0 12px;
        flex-shrink: 0;
    }

    .map-tab {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 44px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .18);
        color: #9db2d4;
        font-family: inherit;
        font-size: .75rem;
        font-weight: 600;
        cursor: pointer;
        padding: 0 12px;
        transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .12s;
        -webkit-tap-highlight-color: transparent;
    }

    .map-tab i {
        font-size: .85rem;
        color: #80ccb9;
        opacity: .55;
        transition: opacity .2s, filter .2s;
    }

    .map-tab:active {
        transform: scale(.97);
    }

    .map-tab.active {
        background: linear-gradient(135deg, rgba(1, 59, 66, .55), rgba(128, 204, 185, .12));
        border-color: rgba(128, 204, 185, .55);
        color: #eafffa;
        box-shadow:
            0 8px 22px -12px rgba(128, 204, 185, .8),
            0 0 0 1px rgba(128, 204, 185, .18) inset;
    }

    .map-tab.active i {
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, .8));
    }

    .map-viewer {
        flex: 1 1 auto;
        min-height: 0;
        position: relative;
        overflow: hidden;
        border-radius: 20px;
        background:
            radial-gradient(70% 60% at 50% 40%, rgba(128, 204, 185, .07), transparent 70%),
            #050b12;
        border: 1px solid rgba(128, 204, 185, .22);
        box-shadow:
            0 0 0 1px rgba(128, 204, 185, .05) inset,
            0 20px 44px -22px rgba(1, 59, 66, .6);
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
        cursor: grab;
        -webkit-tap-highlight-color: transparent;
    }

    .map-viewer.grabbing {
        cursor: grabbing;
    }

    .map-viewer::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 20px;
        background-image:
            linear-gradient(rgba(128, 204, 185, .05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(128, 204, 185, .05) 1px, transparent 1px);
        background-size: 26px 26px;
        -webkit-mask-image: radial-gradient(85% 85% at 50% 50%, #000 55%, transparent 100%);
        mask-image: radial-gradient(85% 85% at 50% 50%, #000 55%, transparent 100%);
        pointer-events: none;
        z-index: 0;
    }

    .map-viewer::after {
        content: "";
        position: absolute;
        inset: 10px;
        border-radius: 14px;
        pointer-events: none;
        background:
            linear-gradient(#80ccb9, #80ccb9) left top / 22px 3px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) left top / 3px 22px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) right top / 22px 3px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) right top / 3px 22px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) left bottom / 22px 3px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) left bottom / 3px 22px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) right bottom / 22px 3px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) right bottom / 3px 22px no-repeat;
        opacity: .32;
        z-index: 3;
    }

    .map-image {
        position: absolute;
        top: 0;
        left: 0;
        transform-origin: 0 0;
        will-change: transform;
        user-select: none;
        -webkit-user-drag: none;
        pointer-events: none;
        border-radius: 8px;
        box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .8);
        z-index: 1;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .map-hint {
        position: absolute;
        top: 14px;
        left: 50%;
        transform: translateX(-50%);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(4, 9, 16, .85);
        border: 1px solid rgba(128, 204, 185, .28);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #cfe9e2;
        font-size: .68rem;
        font-weight: 500;
        white-space: nowrap;
        z-index: 15;
        pointer-events: none;
        animation: hintFade 6s ease forwards;
    }

    .map-hint i {
        color: #80ccb9;
        font-size: .8rem;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .7));
    }

    @keyframes hintFade {

        0%,
        70% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            visibility: hidden;
        }
    }

    .zoom-badge {
        position: absolute;
        top: 14px;
        right: 14px;
        padding: 5px 10px;
        border-radius: 999px;
        background: rgba(4, 9, 16, .85);
        border: 1px solid rgba(128, 204, 185, .28);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #80ccb9;
        font-size: .68rem;
        font-weight: 700;
        direction: ltr;
        z-index: 14;
        pointer-events: none;
        opacity: 0;
        transition: opacity .25s;
    }

    .zoom-badge.show {
        opacity: 1;
    }

    .map-controls {
        position: absolute;
        bottom: 16px;
        left: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 20;
    }

    .map-btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid rgba(128, 204, 185, .3);
        background: rgba(4, 9, 16, .88);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #80ccb9;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        transition: transform .15s, border-color .25s, background .25s, box-shadow .25s, color .25s;
        box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .8);
        -webkit-tap-highlight-color: transparent;
    }

    .map-btn:hover {
        border-color: #80ccb9;
        background: rgba(1, 59, 66, .88);
        color: #eafffa;
    }

    .map-btn:active {
        transform: scale(.9);
    }

    .map-btn i {
        pointer-events: none;
    }

    .map-loader {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        background: rgba(4, 9, 16, .88);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        z-index: 25;
        transition: opacity .35s, visibility .35s;
        pointer-events: none;
    }

    .map-loader.hide {
        opacity: 0;
        visibility: hidden;
    }

    .map-loader-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        color: #9db2d4;
        font-size: .78rem;
        font-weight: 500;
    }

    .map-spinner {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 2px solid rgba(128, 204, 185, .18);
        border-top-color: #80ccb9;
        animation: spin 1s linear infinite;
        box-shadow: 0 0 20px -4px rgba(128, 204, 185, .7);
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .map-hint {
            animation: none;
        }
    }

    /* Card Page */

    .app-shell.card-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        background:
            radial-gradient(60% 40% at 50% 0%, rgba(70, 110, 160, .16), transparent 70%),
            radial-gradient(80% 50% at 50% 100%, rgba(47, 232, 184, .08), transparent 70%),
            linear-gradient(180deg, #040910 0%, #060b12 55%, #03060a 100%);
    }

    .card-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 14px 20px 96px;
        scrollbar-width: none;
    }

    .card-scroll::-webkit-scrollbar {
        display: none;
    }

    .glass-card {
        position: relative;
        width: 100%;
        max-width: 340px;
        margin: 6px auto 0;
        padding: 28px 22px 26px;
        border-radius: 24px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .08);
        -webkit-backdrop-filter: blur(24px) saturate(140%);
        backdrop-filter: blur(24px) saturate(140%);
        box-shadow:
            0 1px 0 0 rgba(255, 255, 255, .06) inset,
            0 24px 60px -30px rgba(0, 0, 0, .8);
        animation: cardIn .7s cubic-bezier(.2, .9, .3, 1) both;
    }

    @keyframes cardIn {
        from {
            opacity: 0;
            transform: translateY(16px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .glass-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 15%;
        right: 15%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(128, 204, 185, .5), transparent);
        pointer-events: none;
    }

    .avatar {
        width: 88px;
        height: 88px;
        margin: 0 auto 16px;
        border-radius: 50%;
        padding: 2px;
        background: linear-gradient(140deg, rgba(128, 204, 185, .7), rgba(255, 255, 255, .1));
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        background: #0b1c2a;
    }

    .identity {
        text-align: center;
        margin-bottom: 24px;
    }

    .name {
        font-size: 1.25rem;
        font-weight: 700;
        color: #f1f7f8;
        margin: 0 0 4px;
        letter-spacing: -.2px;
    }

    .company {
        font-size: .8rem;
        font-weight: 400;
        color: #93a8b8;
        margin: 0;
    }

    .qr-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .qr-frame {
        position: relative;
        padding: 12px;
        background: #ffffff;
        border-radius: 18px;
        box-shadow:
            0 4px 24px -8px rgba(0, 0, 0, .6),
            0 0 0 1px rgba(255, 255, 255, .08);
        transition: transform .3s ease, box-shadow .3s ease;
    }

    .qr-frame:hover {
        transform: translateY(-2px);
        box-shadow:
            0 8px 32px -8px rgba(0, 0, 0, .7),
            0 0 0 1px rgba(128, 204, 185, .3);
    }

    #qrCanvas {
        display: block;
        border-radius: 8px;
    }

    .qr-hint {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: .7rem;
        color: #93a8b8;
        font-weight: 400;
    }

    .qr-hint i {
        color: #80ccb9;
        font-size: .75rem;
        opacity: .8;
    }

    .pass-id {
        margin-top: 22px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .07);
        text-align: center;
    }

    .pass-id-label {
        display: block;
        font-size: .62rem;
        color: #6c7f8f;
        font-weight: 500;
        letter-spacing: .4px;
        margin-bottom: 4px;
    }

    .pass-id-value {
        display: block;
        font-size: .82rem;
        color: #cfe9e2;
        font-weight: 600;
        font-family: 'Courier New', monospace;
        direction: ltr;
        letter-spacing: 1.2px;
    }

    .footer-hint {
        margin-top: 22px;
        text-align: center;
        color: #6c7f8f;
        font-size: .7rem;
        line-height: 1.9;
        padding: 0 12px;
    }

    @media (max-height: 720px) {
        .glass-card {
            padding: 22px 18px 20px;
        }

        .avatar {
            width: 72px;
            height: 72px;
            margin-bottom: 12px;
        }

        .name {
            font-size: 1.1rem;
        }

        .identity {
            margin-bottom: 18px;
        }

        #qrCanvas {
            width: 180px !important;
            height: 180px !important;
        }
    }


    /* Attenders Page */

    .app-shell.exhibitors-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;

    }

    .ex-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 14px 96px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .ex-scroll::-webkit-scrollbar {
        display: none;
    }

    .ex-search {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 4px 0 12px;
        background: linear-gradient(180deg,
                rgba(4, 9, 16, .96) 0%,
                rgba(4, 9, 16, .85) 70%,
                transparent 100%);
        margin: 0 -14px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .ex-search-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 48px;
        padding: 0 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .18);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        transition: border-color .25s, background .25s, box-shadow .25s;
    }

    .ex-search-inner:focus-within {
        border-color: rgba(128, 204, 185, .55);
        background: rgba(128, 204, 185, .06);
        box-shadow: 0 0 0 3px rgba(128, 204, 185, .1);
    }

    .ex-search-inner i.search-ico {
        color: #80ccb9;
        font-size: .95rem;
        flex-shrink: 0;
        opacity: .8;
    }

    .ex-search-inner input {
        flex: 1;
        min-width: 0;
        background: transparent;
        border: none;
        outline: none;
        color: #eef4ff;
        font-family: inherit;
        font-size: .85rem;
        font-weight: 500;
    }

    .ex-search-inner input::placeholder {
        color: #6c7f8f;
        font-weight: 400;
    }

    .ex-search-clear {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: rgba(128, 204, 185, .12);
        border: none;
        color: #80ccb9;
        font-size: .65rem;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
        transition: background .2s;
    }

    .ex-search-clear:hover {
        background: rgba(128, 204, 185, .25);
    }

    .ex-search-clear.show {
        display: flex;
    }

    .ex-counter {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .72rem;
        color: #6c7f8f;
        padding: 4px 6px 12px;
        font-weight: 500;
    }

    .ex-counter i {
        color: #80ccb9;
        font-size: .7rem;
        opacity: .7;
    }

    .ex-counter b {
        color: #cfe9e2;
        font-weight: 700;
    }

    .ex-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .ex-card {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(255, 255, 255, .06);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        box-shadow: 0 1px 0 0 rgba(255, 255, 255, .04) inset;
        cursor: pointer;
        transition: background .22s, border-color .22s, transform .15s, box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
        text-decoration: none;
        color: inherit;
        opacity: 0;
        transform: translateY(8px);
        animation: exIn .45s ease forwards;
    }

    @keyframes exIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .ex-card:hover {
        background: rgba(128, 204, 185, .06);
        border-color: rgba(128, 204, 185, .32);
        box-shadow: 0 6px 20px -12px rgba(128, 204, 185, .35);
    }

    .ex-card:active {
        transform: scale(.985);
    }

    .ex-logo {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        padding: 2px;
        background: linear-gradient(140deg,
                rgba(128, 204, 185, .55),
                rgba(255, 255, 255, .06));
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ex-logo img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-fit: contain;
        background: #0b1c2a;
        display: block;
        padding: 4px;
    }

    .ex-body {
        flex: 1;
        min-width: 0;
    }

    .ex-name {
        font-size: .9rem;
        font-weight: 700;
        color: #f1f7f8;
        margin: 0 0 6px;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ex-location {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: .68rem;
        color: #93a8b8;
        margin-bottom: 8px;
    }

    .ex-location i {
        color: #80ccb9;
        font-size: .65rem;
        opacity: .75;
    }

    .ex-location span+span::before {
        content: "•";
        margin: 0 5px;
        opacity: .5;
    }

    .ex-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .ex-tag {
        display: inline-block;
        padding: 3px 9px;
        border-radius: 999px;
        background: rgba(128, 204, 185, .08);
        border: 1px solid rgba(128, 204, 185, .18);
        color: #a6d8cd;
        font-size: .62rem;
        font-weight: 500;
        letter-spacing: .1px;
        white-space: nowrap;
    }

    .ex-empty {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 50px 24px;
        text-align: center;
    }

    .ex-empty.show {
        display: flex;
    }

    .ex-empty-ico {
        width: 76px;
        height: 76px;
        border-radius: 50%;
        background: rgba(128, 204, 185, .06);
        border: 1px dashed rgba(128, 204, 185, .3);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    .ex-empty-ico i {
        font-size: 1.7rem;
        color: #80ccb9;
        opacity: .7;
    }

    .ex-empty-title {
        font-size: .95rem;
        font-weight: 700;
        color: #eef4ff;
        margin: 0 0 6px;
    }

    .ex-empty-desc {
        font-size: .74rem;
        color: #6c7f8f;
        margin: 0;
        line-height: 1.8;
    }

    .ex-skeleton {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .025);
        border: 1px solid rgba(255, 255, 255, .04);
        margin-bottom: 10px;
    }

    .sk-logo {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background: linear-gradient(90deg,
                rgba(128, 204, 185, .06) 25%,
                rgba(128, 204, 185, .14) 50%,
                rgba(128, 204, 185, .06) 75%);
        background-size: 200% 100%;
        animation: sk 1.4s infinite linear;
        flex-shrink: 0;
    }

    .sk-body {
        flex: 1;
        min-width: 0;
    }

    .sk-line {
        height: 10px;
        border-radius: 6px;
        background: linear-gradient(90deg,
                rgba(128, 204, 185, .06) 25%,
                rgba(128, 204, 185, .14) 50%,
                rgba(128, 204, 185, .06) 75%);
        background-size: 200% 100%;
        animation: sk 1.4s infinite linear;
        margin-bottom: 8px;
    }

    .sk-line.w-70 {
        width: 70%;
    }

    .sk-line.w-40 {
        width: 40%;
    }

    .sk-line.w-55 {
        width: 55%;
    }

    @keyframes sk {
        0% {
            background-position: 200% 0;
        }

        100% {
            background-position: -200% 0;
        }
    }

    @media (prefers-reduced-motion: reduce) {

        .ex-card,
        .sk-logo,
        .sk-line {
            animation: none;
            opacity: 1;
            transform: none;
        }
    }

    .ex-search-clear {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: rgba(128, 204, 185, .12);
        border: none;
        color: #80ccb9;
        font-size: .65rem;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
        transition: background .2s;
    }

    .ex-search-clear:hover {
        background: rgba(128, 204, 185, .25);
    }

    .ex-search-clear.show {
        display: flex;
    }

    .ex-empty {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 50px 24px;
        text-align: center;
    }

    .ex-empty.show {
        display: flex;
    }

    .ex-empty-ico {
        width: 76px;
        height: 76px;
        border-radius: 50%;
        background: rgba(128, 204, 185, .06);
        border: 1px dashed rgba(128, 204, 185, .3);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    .ex-empty-ico i {
        font-size: 1.7rem;
        color: #80ccb9;
        opacity: .7;
    }

    .ex-empty-title {
        font-size: .95rem;
        font-weight: 700;
        color: #eef4ff;
        margin: 0 0 6px;
    }

    .ex-empty-desc {
        font-size: .74rem;
        color: #6c7f8f;
        margin: 0;
        line-height: 1.8;
    }


    /* News Page Styles */

    .app-shell.news-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .news-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 14px 96px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .news-scroll::-webkit-scrollbar {
        display: none;
    }

    .news-header {
        text-align: center;
        padding: 8px 6px 22px;
    }

    .news-header-icon {
        position: relative;
        width: 66px;
        height: 66px;
        margin: 0 auto 14px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background:
            radial-gradient(circle at 50% 40%, rgba(128, 204, 185, .22), transparent 70%),
            rgba(1, 59, 66, .18);
        border: 1px solid rgba(128, 204, 185, .35);
        box-shadow:
            0 0 22px -6px rgba(128, 204, 185, .5) inset,
            0 0 36px -10px rgba(128, 204, 185, .35);
    }

    .news-header-icon::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px dashed rgba(128, 204, 185, .28);
        animation: spinSlow 20s linear infinite;
    }

    .news-header-icon i {
        font-size: 1.55rem;
        color: #80ccb9;
        filter: drop-shadow(0 0 8px rgba(128, 204, 185, .7));
    }

    .news-header-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 0 0 8px;
        letter-spacing: -.2px;
    }

    .news-header-desc {
        font-size: .74rem;
        color: var(--text-dim);
        margin: 0 auto;
        line-height: 1.9;
        max-width: 300px;
        opacity: .85;
    }

    .news-header-line {
        display: block;
        width: 46px;
        height: 2px;
        margin: 14px auto 0;
        border-radius: 2px;
        background: linear-gradient(to left, transparent, #80ccb9, transparent);
        box-shadow: 0 0 10px rgba(128, 204, 185, .5);
    }

    .news-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .news-card {
        position: relative;
        display: flex;
        flex-direction: column;
        border-radius: 20px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(255, 255, 255, .06);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        box-shadow: 0 1px 0 0 rgba(255, 255, 255, .04) inset;
        overflow: hidden;
        transition: background .22s, border-color .22s, transform .2s, box-shadow .3s;
        -webkit-tap-highlight-color: transparent;
    }

    .news-card:hover {
        background: rgba(128, 204, 185, .05);
        border-color: rgba(128, 204, 185, .3);
        box-shadow:
            0 12px 32px -16px rgba(128, 204, 185, .4),
            0 1px 0 0 rgba(255, 255, 255, .06) inset;
        transform: translateY(-2px);
    }

    .news-cover {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background: linear-gradient(135deg, #0b1c2a, #013b42);
    }

    .news-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                transparent 40%,
                rgba(4, 9, 16, .35) 75%,
                rgba(4, 9, 16, .75) 100%);
        pointer-events: none;
    }

    .news-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s cubic-bezier(.2, .9, .4, 1);
        -webkit-user-drag: none;
    }

    .news-card:hover .news-cover img {
        transform: scale(1.06);
    }

    .news-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        border-radius: 999px;
        background: rgba(4, 9, 16, .82);
        border: 1px solid rgba(128, 204, 185, .4);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #80ccb9;
        font-size: .6rem;
        font-weight: 700;
        letter-spacing: .3px;
    }

    .news-badge i {
        font-size: .55rem;
    }

    .news-body {
        padding: 16px 16px 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .news-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .65rem;
        color: #6c7f8f;
    }

    .news-meta-item {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .news-meta-item i {
        color: #80ccb9;
        font-size: .62rem;
        opacity: .7;
    }

    .news-meta-item+.news-meta-item::before {
        content: "•";
        margin-left: 6px;
        opacity: .4;
    }

    .news-title {
        font-size: 1rem;
        font-weight: 800;
        color: #eef4ff;
        line-height: 1.55;
        margin: 0;
        letter-spacing: -.2px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color .22s;
    }

    .news-card:hover .news-title {
        color: #80ccb9;
    }

    .news-subtitle {
        font-size: .78rem;
        font-weight: 500;
        color: #a6d8cd;
        line-height: 1.6;
        margin: 0;
        opacity: .9;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-summary {
        font-size: .74rem;
        color: #93a8b8;
        line-height: 1.95;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .news-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 16px;
        border-radius: 11px;
        background: linear-gradient(135deg,
                rgba(128, 204, 185, .16),
                rgba(1, 59, 66, .5));
        border: 1px solid rgba(128, 204, 185, .35);
        color: #eafffa;
        font-family: inherit;
        font-size: .74rem;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        transition: background .22s, border-color .22s, transform .15s, box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
    }

    .news-btn:hover {
        background: linear-gradient(135deg,
                rgba(128, 204, 185, .28),
                rgba(1, 59, 66, .75));
        border-color: #80ccb9;
        box-shadow: 0 6px 18px -8px rgba(128, 204, 185, .7);
    }

    .news-btn:active {
        transform: scale(.97);
    }

    .news-btn i {
        font-size: .62rem;
        color: #80ccb9;
        transition: transform .25s;
    }

    .news-btn:hover i {
        transform: translateX(-3px);
    }

    .news-author {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: .65rem;
        color: #6c7f8f;
    }

    .news-author i {
        color: #80ccb9;
        font-size: .62rem;
        opacity: .6;
    }

    @media (max-height: 720px) {
        .news-cover {
            aspect-ratio: 2 / 1;
        }

        .news-body {
            padding: 14px 14px 12px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .news-header-icon::after {
            animation: none;
        }

        .news-card,
        .news-cover img {
            transition: none;
        }
    }

    /* Confrences Page */

    .app-shell.conf-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .conf-shell {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-bottom: 78px;
        overflow: hidden;
    }

    /* Supporters Page */
    .app-shell.supporters-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        background:
            radial-gradient(60% 34% at 50% 0%, rgba(70, 110, 160, .14), transparent 70%),
            radial-gradient(90% 46% at 50% 100%, rgba(47, 232, 184, .08), transparent 70%),
            linear-gradient(180deg, #040910 0%, #060b12 55%, #03060a 100%);
    }

    .sup-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 16px 96px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sup-scroll::-webkit-scrollbar {
        display: none;
    }

    .sup-header {
        text-align: center;
        padding: 6px 6px 20px;
    }

    .sup-header-icon {
        position: relative;
        width: 68px;
        height: 68px;
        margin: 0 auto 14px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background:
            radial-gradient(circle at 50% 40%, rgba(128, 204, 185, .22), transparent 70%),
            rgba(1, 59, 66, .18);
        border: 1px solid rgba(128, 204, 185, .35);
        box-shadow:
            0 0 22px -6px rgba(128, 204, 185, .5) inset,
            0 0 36px -10px rgba(128, 204, 185, .35);
    }

    .sup-header-icon::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px dashed rgba(128, 204, 185, .28);
        animation: spinSlow 20s linear infinite;
    }

    .sup-header-icon i {
        font-size: 1.55rem;
        color: #80ccb9;
        filter: drop-shadow(0 0 8px rgba(128, 204, 185, .7));
    }

    .sup-header-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 0 0 8px;
        letter-spacing: -.2px;
    }

    .sup-header-desc {
        font-size: .74rem;
        color: var(--text-dim);
        margin: 0 auto;
        line-height: 1.9;
        max-width: 300px;
        opacity: .85;
    }

    .sup-header-line {
        display: block;
        width: 46px;
        height: 2px;
        margin: 14px auto 0;
        border-radius: 2px;
        background: linear-gradient(to left, transparent, #80ccb9, transparent);
        box-shadow: 0 0 10px rgba(128, 204, 185, .5);
    }

    .sup-section-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .72rem;
        font-weight: 700;
        color: #cfe9e2;
        letter-spacing: .3px;
        margin: 4px 4px 12px;
        text-transform: uppercase;
        opacity: .8;
    }

    .sup-section-title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(to left, transparent, rgba(128, 204, 185, .35));
    }

    .sup-section-title i {
        color: #80ccb9;
        font-size: .75rem;
    }

    .sup-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sup-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 16px 12px 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(255, 255, 255, .06);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        box-shadow: 0 1px 0 0 rgba(255, 255, 255, .04) inset;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        transition: background .22s, border-color .22s, transform .18s, box-shadow .28s;
        -webkit-tap-highlight-color: transparent;
        position: relative;
        overflow: hidden;
        min-height: 168px;
    }

    .sup-card::before {
        content: "";
        position: absolute;
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
        width: 140px;
        height: 140px;
        background: radial-gradient(circle, rgba(128, 204, 185, .16) 0%, transparent 65%);
        filter: blur(4px);
        opacity: 0;
        transition: opacity .35s;
        pointer-events: none;
    }

    .sup-card:hover {
        background: rgba(128, 204, 185, .05);
        border-color: rgba(128, 204, 185, .35);
        box-shadow:
            0 6px 22px -12px rgba(128, 204, 185, .4),
            0 1px 0 0 rgba(255, 255, 255, .06) inset;
        transform: translateY(-2px);
    }

    .sup-card:hover::before {
        opacity: 1;
    }

    .sup-card:active {
        transform: scale(.97);
    }

    .sup-logo {
        position: relative;
        width: 100%;
        height: 78px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(255, 255, 255, .05);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        z-index: 1;
        transition: background .25s, border-color .25s;
    }

    .sup-card:hover .sup-logo {
        background: rgba(255, 255, 255, .055);
        border-color: rgba(128, 204, 185, .22);
    }

    .sup-logo img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
        filter: brightness(1.02);
        transition: transform .35s cubic-bezier(.2, .9, .4, 1);
    }

    .sup-card:hover .sup-logo img {
        transform: scale(1.06);
    }

    .sup-name {
        position: relative;
        font-size: .72rem;
        font-weight: 600;
        color: #dbe6f0;
        text-align: center;
        line-height: 1.55;
        margin: 0;
        z-index: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color .25s;
    }

    .sup-card:hover .sup-name {
        color: #80ccb9;
    }

    .sup-grid .sup-card.featured {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        min-height: 0;
        padding: 14px 16px;
        gap: 14px;
    }

    .sup-card.featured .sup-logo {
        width: 78px;
        height: 62px;
        flex-shrink: 0;
        padding: 8px;
    }

    .sup-card.featured .sup-name {
        text-align: right;
        font-size: .82rem;
        font-weight: 700;
        -webkit-line-clamp: 2;
    }

    .sup-card.featured .sup-role {
        display: block;
        font-size: .6rem;
        font-weight: 500;
        color: #80ccb9;
        letter-spacing: .3px;
        margin-top: 4px;
        opacity: .8;
    }

    @media (prefers-reduced-motion: reduce) {
        .sup-header-icon::after {
            animation: none;
        }

        .sup-card,
        .sup-logo img {
            transition: none;
        }
    }

    /* Book Page */

    .app-shell.book-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        background:
            radial-gradient(60% 34% at 50% 0%, rgba(70, 110, 160, .14), transparent 70%),
            radial-gradient(90% 46% at 50% 100%, rgba(47, 232, 184, .08), transparent 70%),
            linear-gradient(180deg, #040910 0%, #060b12 55%, #03060a 100%);
    }

    .book-shell {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 6px 12px 84px;
        position: relative;
    }

    .book-stage {
        flex: 1;
        min-height: 0;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 18px;
        background:
            radial-gradient(70% 60% at 50% 50%, rgba(128, 204, 185, .06), transparent 70%),
            rgba(5, 11, 18, .55);
        border: 1px solid rgba(128, 204, 185, .18);
        box-shadow:
            0 0 0 1px rgba(128, 204, 185, .04) inset,
            0 20px 44px -22px rgba(1, 59, 66, .6);
    }

    .book-stage::before {
        content: "";
        position: absolute;
        inset: 8px;
        border-radius: 12px;
        pointer-events: none;
        background:
            linear-gradient(#80ccb9, #80ccb9) left top / 20px 2px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) left top / 2px 20px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) right top / 20px 2px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) right top / 2px 20px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) left bottom / 20px 2px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) left bottom / 2px 20px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) right bottom / 20px 2px no-repeat,
            linear-gradient(#80ccb9, #80ccb9) right bottom / 2px 20px no-repeat;
        opacity: .3;
        z-index: 3;
    }

    #book {
        position: relative;
        z-index: 2;
        transform-origin: center center;
    }

    #book .page {
        background: #f7f9fa;
        overflow: hidden;
        box-shadow:
            0 4px 20px -6px rgba(0, 0, 0, .6),
            0 0 0 1px rgba(128, 204, 185, .15);
    }

    #book .page img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
    }

    #book .page.--cover {
        background: linear-gradient(135deg, #0b1c2a, #013b42);
    }

    .book-controls {
        position: absolute;
        left: 50%;
        bottom: 96px;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px;
        border-radius: 16px;
        background: rgba(4, 9, 16, .85);
        border: 1px solid rgba(128, 204, 185, .28);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .8);
        z-index: 20;
    }

    .book-btn {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        border: 1px solid rgba(128, 204, 185, .25);
        background: rgba(255, 255, 255, .04);
        color: #80ccb9;
        font-size: .95rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        transition: background .2s, border-color .2s, color .2s, transform .15s;
        -webkit-tap-highlight-color: transparent;
    }

    .book-btn:hover {
        background: rgba(1, 59, 66, .7);
        border-color: #80ccb9;
        color: #eafffa;
    }

    .book-btn:active {
        transform: scale(.9);
    }

    .book-btn i {
        pointer-events: none;
    }

    .book-btn:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

    .book-btn:disabled:hover {
        background: rgba(255, 255, 255, .04);
        border-color: rgba(128, 204, 185, .25);
        color: #80ccb9;
    }

    .book-counter {
        min-width: 62px;
        text-align: center;
        font-size: .72rem;
        font-weight: 700;
        color: #cfe9e2;
        direction: ltr;
        letter-spacing: .5px;
        padding: 0 4px;
    }

    .book-counter .sep {
        opacity: .5;
        margin: 0 3px;
    }

    .book-counter .total {
        color: #6c7f8f;
        font-weight: 500;
    }

    .book-loader {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        background: rgba(4, 9, 16, .9);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        z-index: 30;
        transition: opacity .35s, visibility .35s;
    }

    .book-loader.hide {
        opacity: 0;
        visibility: hidden;
    }

    .book-loader-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        color: #9db2d4;
        font-size: .78rem;
        font-weight: 500;
    }

    .book-spinner {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 2px solid rgba(128, 204, 185, .18);
        border-top-color: #80ccb9;
        animation: spin 1s linear infinite;
        box-shadow: 0 0 20px -4px rgba(128, 204, 185, .7);
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    .book-hint {
        position: absolute;
        top: 14px;
        left: 50%;
        transform: translateX(-50%);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 13px;
        border-radius: 999px;
        background: rgba(4, 9, 16, .82);
        border: 1px solid rgba(128, 204, 185, .25);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #cfe9e2;
        font-size: .68rem;
        font-weight: 500;
        white-space: nowrap;
        z-index: 15;
        pointer-events: none;
        animation: hintFade 6s ease forwards;
    }

    .book-hint i {
        color: #80ccb9;
        font-size: .75rem;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .7));
    }

    @keyframes hintFade {

        0%,
        70% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            visibility: hidden;
        }
    }

    .book-error {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 30px;
        text-align: center;
        color: #9db2d4;
    }

    .book-error.show {
        display: flex;
    }

    .book-error i {
        font-size: 2rem;
        color: #80ccb9;
        opacity: .6;
    }

    .book-error p {
        margin: 0;
        font-size: .82rem;
        line-height: 1.9;
    }

    @media (prefers-reduced-motion: reduce) {
        .book-hint {
            animation: none;
        }
    }

    /* News Details Page */

    .app-shell.news-detail-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        background:
            radial-gradient(60% 34% at 50% 0%, rgba(70, 110, 160, .14), transparent 70%),
            radial-gradient(90% 46% at 50% 100%, rgba(47, 232, 184, .08), transparent 70%),
            linear-gradient(180deg, #040910 0%, #060b12 55%, #03060a 100%);
    }

    .detail-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 16px 96px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .detail-scroll::-webkit-scrollbar {
        display: none;
    }

    .back-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 4px 2px 14px;
    }

    .back-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .22);
        color: #cfe9e2;
        font-family: inherit;
        font-size: .74rem;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
        transition: background .22s, border-color .22s, color .22s, transform .15s;
        -webkit-tap-highlight-color: transparent;
    }

    .back-btn:hover {
        background: rgba(1, 59, 66, .55);
        border-color: #80ccb9;
        color: #eafffa;
    }

    .back-btn:active {
        transform: scale(.97);
    }

    .back-btn i {
        font-size: .72rem;
        color: #80ccb9;
        transition: transform .25s;
    }

    .back-btn:hover i {
        transform: translateX(3px);
    }

    .detail-cover {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        overflow: hidden;
        background: linear-gradient(135deg, #0b1c2a, #013b42);
        box-shadow:
            0 20px 44px -22px rgba(0, 0, 0, .8),
            0 0 0 1px rgba(128, 204, 185, .15) inset;
        margin-bottom: 20px;
    }

    .detail-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                transparent 40%,
                rgba(4, 9, 16, .35) 75%,
                rgba(4, 9, 16, .85) 100%);
        pointer-events: none;
    }

    .detail-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        -webkit-user-drag: none;
    }

    .detail-badge {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(4, 9, 16, .85);
        border: 1px solid rgba(128, 204, 185, .45);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #80ccb9;
        font-size: .64rem;
        font-weight: 700;
        letter-spacing: .3px;
    }

    .detail-badge i {
        font-size: .58rem;
    }

    .detail-header {
        margin-bottom: 20px;
    }

    .detail-title {
        font-size: 1.25rem;
        font-weight: 800;
        color: #eef4ff;
        line-height: 1.65;
        margin: 0 0 12px;
        letter-spacing: -.3px;
    }

    .detail-subtitle {
        font-size: .85rem;
        font-weight: 500;
        color: #a6d8cd;
        line-height: 1.7;
        margin: 0 0 18px;
        opacity: .9;
    }

    .detail-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px;
        padding: 12px 0 18px;
        border-top: 1px solid rgba(255, 255, 255, .06);
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .detail-meta-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: .68rem;
        color: #93a8b8;
    }

    .detail-meta-item i {
        color: #80ccb9;
        font-size: .66rem;
        opacity: .75;
    }

    .detail-body {
        padding: 22px 0 10px;
    }

    .detail-body p {
        font-size: .84rem;
        color: #dbe6f0;
        line-height: 2.05;
        margin: 0 0 18px;
        text-align: justify;
        text-justify: inter-word;
    }

    .detail-body p:first-letter {
        font-size: 1.6rem;
        font-weight: 800;
        color: #80ccb9;
        line-height: 1;
        margin-left: 4px;
        float: right;
        padding-left: 2px;
    }

    .detail-body h2 {
        font-size: .98rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 26px 0 12px;
        padding-right: 12px;
        position: relative;
        line-height: 1.6;
    }

    .detail-body h2::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 18px;
        border-radius: 2px;
        background: linear-gradient(to bottom, #80ccb9, #2ea68d);
        box-shadow: 0 0 10px rgba(128, 204, 185, .6);
    }

    .detail-quote {
        position: relative;
        margin: 24px 0;
        padding: 18px 22px 18px 18px;
        border-radius: 14px;
        background: rgba(128, 204, 185, .06);
        border-right: 3px solid #80ccb9;
        border-top: 1px solid rgba(128, 204, 185, .12);
        border-bottom: 1px solid rgba(128, 204, 185, .12);
        color: #cfe9e2;
        font-size: .82rem;
        line-height: 1.95;
        font-style: italic;
    }

    .detail-quote::before {
        content: "\201C";
        position: absolute;
        top: 4px;
        right: 12px;
        font-size: 2rem;
        color: #80ccb9;
        opacity: .35;
        font-family: Georgia, serif;
        line-height: 1;
    }

    .detail-quote-author {
        display: block;
        margin-top: 10px;
        font-size: .7rem;
        color: #80ccb9;
        font-style: normal;
        font-weight: 700;
        text-align: left;
        direction: rtl;
    }

    .detail-body ul {
        margin: 0 0 18px;
        padding: 0 22px 0 0;
        list-style: none;
    }

    .detail-body ul li {
        position: relative;
        font-size: .82rem;
        color: #dbe6f0;
        line-height: 2;
        margin-bottom: 8px;
        padding-right: 18px;
    }

    .detail-body ul li::before {
        content: "";
        position: absolute;
        right: 0;
        top: 14px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #80ccb9;
        box-shadow: 0 0 6px rgba(128, 204, 185, .8);
    }

    .detail-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 26px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .detail-tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(128, 204, 185, .08);
        border: 1px solid rgba(128, 204, 185, .22);
        color: #a6d8cd;
        font-size: .66rem;
        font-weight: 600;
        text-decoration: none;
        transition: background .2s, border-color .2s, color .2s;
        cursor: pointer;
    }

    .detail-tag:hover {
        background: rgba(128, 204, 185, .18);
        border-color: #80ccb9;
        color: #eafffa;
    }

    .detail-tag i {
        font-size: .55rem;
        opacity: .7;
    }

    .detail-share {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .detail-share-title {
        display: block;
        font-size: .68rem;
        color: #6c7f8f;
        font-weight: 600;
        margin-bottom: 12px;
        letter-spacing: .3px;
    }

    .share-row {
        display: flex;
        gap: 10px;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 1px solid rgba(128, 204, 185, .22);
        background: rgba(255, 255, 255, .04);
        color: #80ccb9;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .95rem;
        cursor: pointer;
        transition: background .22s, border-color .22s, color .22s, transform .15s, box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
        text-decoration: none;
        padding: 0;
    }

    .share-btn:hover {
        background: rgba(1, 59, 66, .7);
        border-color: #80ccb9;
        color: #eafffa;
        box-shadow: 0 6px 18px -8px rgba(128, 204, 185, .7);
    }

    .share-btn:active {
        transform: scale(.92);
    }

    .detail-related {
        margin-top: 30px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .detail-related-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .78rem;
        font-weight: 700;
        color: #cfe9e2;
        margin: 0 0 14px;
        letter-spacing: .2px;
        text-transform: uppercase;
        opacity: .85;
    }

    .detail-related-title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(to left, transparent, rgba(128, 204, 185, .35));
    }

    .detail-related-title i {
        color: #80ccb9;
        font-size: .75rem;
    }

    .related-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .related-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .03);
        border: 1px solid rgba(255, 255, 255, .05);
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        transition: background .22s, border-color .22s, transform .15s;
        -webkit-tap-highlight-color: transparent;
    }

    .related-card:hover {
        background: rgba(128, 204, 185, .05);
        border-color: rgba(128, 204, 185, .28);
        transform: translateY(-1px);
    }

    .related-thumb {
        width: 62px;
        height: 62px;
        border-radius: 10px;
        overflow: hidden;
        background: linear-gradient(135deg, #0b1c2a, #013b42);
        flex-shrink: 0;
    }

    .related-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .related-info {
        flex: 1;
        min-width: 0;
    }

    .related-title {
        font-size: .76rem;
        font-weight: 700;
        color: #eef4ff;
        line-height: 1.55;
        margin: 0 0 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color .2s;
    }

    .related-card:hover .related-title {
        color: #80ccb9;
    }

    .related-date {
        font-size: .62rem;
        color: #6c7f8f;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .related-date i {
        color: #80ccb9;
        font-size: .58rem;
        opacity: .6;
    }

    @media (prefers-reduced-motion: reduce) {

        .detail-card,
        .detail-cover img {
            transition: none;
        }
    }

    @media (max-height: 720px) {
        .detail-cover {
            aspect-ratio: 2 / 1;
        }

        .detail-title {
            font-size: 1.1rem;
        }
    }


    /* exhibitor-detail Styles */

    .app-shell.exd-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .app-shell.exd-page .topbar a.icon-btn {
        text-decoration: none;
        color: #dfe9ff;
        cursor: pointer;
    }

    .app-shell.exd-page .topbar .icon-btn[role="button"] {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .exd-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 6px 16px 172px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .exd-scroll::-webkit-scrollbar {
        display: none;
    }

    .exd-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 10px 6px;
    }

    .exd-logo-wrap {
        position: relative;
        margin-bottom: 20px;
    }

    .exd-logo-wrap::before {
        content: "";
        position: absolute;
        inset: -11px;
        border-radius: 50%;
        border: 1px dashed rgba(128, 204, 185, .32);
        pointer-events: none;
    }

    .exd-logo-wrap::after {
        content: "";
        position: absolute;
        inset: -18px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(128, 204, 185, .2) 0%, transparent 65%);
        z-index: -1;
        pointer-events: none;
    }

    .exd-logo-ring {
        position: relative;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        padding: 3px;
        background: linear-gradient(135deg, #80ccb9 0%, #013b42 45%, #d6b88f 100%);
        box-shadow:
            0 0 22px -4px rgba(128, 204, 185, .7),
            0 0 40px -12px rgba(128, 204, 185, .5) inset;
    }

    .exd-logo {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: #081420;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .exd-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 12px;
    }

    .exd-logo-letter {
        font-size: 2.4rem;
        font-weight: 900;
        color: #80ccb9;
        text-shadow: 0 0 14px rgba(128, 204, 185, .65);
        line-height: 1;
        font-family: inherit;
    }

    .exd-name {
        font-size: 1.15rem;
        font-weight: 800;
        color: #eef4ff;
        line-height: 1.6;
        margin: 0 0 14px;
        letter-spacing: -.2px;
        max-width: 320px;
        padding: 0 6px;
    }

    .exd-meta {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .exd-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(128, 204, 185, .08);
        border: 1px solid rgba(128, 204, 185, .25);
        color: #cfe9e2;
        font-size: .7rem;
        font-weight: 600;
        line-height: 1;
    }

    .exd-chip i {
        font-size: .68rem;
        color: #80ccb9;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .5));
    }

    .exd-chip--verified {
        background: rgba(214, 184, 143, .08);
        border-color: rgba(214, 184, 143, .38);
        color: #f0e0c4;
    }

    .exd-chip--verified i {
        color: #d6b88f;
        filter: drop-shadow(0 0 5px rgba(214, 184, 143, .55));
    }

    .exd-section {
        margin-top: 22px;
    }

    .exd-section-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .78rem;
        font-weight: 700;
        color: #cfe9e2;
        letter-spacing: .2px;
        margin: 0 4px 12px;
        text-transform: uppercase;
        opacity: .85;
    }

    .exd-section-title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(to left, transparent, rgba(128, 204, 185, .35));
    }

    .exd-section-title i {
        color: #80ccb9;
        font-size: .8rem;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .35));
    }

    .exd-contact-row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .16);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        text-decoration: none;
        color: inherit;
        transition:
            border-color .25s ease,
            background .25s ease,
            transform .2s ease,
            box-shadow .25s ease;
    }

    .exd-contact-row:hover {
        border-color: rgba(128, 204, 185, .45);
        background: rgba(128, 204, 185, .05);
        transform: translateY(-2px);
        box-shadow: 0 10px 24px -14px rgba(128, 204, 185, .55);
    }

    .exd-contact-row:active {
        transform: translateY(0) scale(.99);
    }

    .exd-contact-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: linear-gradient(135deg,
                rgba(128, 204, 185, .22),
                rgba(1, 59, 66, .5));
        border: 1px solid rgba(128, 204, 185, .35);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        flex-shrink: 0;
        font-size: 1rem;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, .4));
        transition: transform .25s ease;
    }

    .exd-contact-row:hover .exd-contact-icon {
        transform: rotate(-5deg) scale(1.05);
    }

    .exd-contact-text {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .exd-contact-label {
        font-size: .66rem;
        color: #6c7f8f;
        font-weight: 500;
        letter-spacing: .1px;
    }

    .exd-contact-value {
        font-size: .85rem;
        color: #eef4ff;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .exd-contact-arrow {
        font-size: .78rem;
        color: #80ccb9;
        opacity: .7;
        flex-shrink: 0;
        transition: transform .25s ease, opacity .25s ease;
    }

    .exd-contact-row:hover .exd-contact-arrow {
        transform: translate(-3px, -3px);
        opacity: 1;
    }

    .exd-about-card {
        padding: 18px 18px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .16);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .exd-about-text {
        font-size: .82rem;
        color: #dbe6f0;
        line-height: 2.05;
        margin: 0;
        text-align: justify;
        text-justify: inter-word;
    }

    .exd-about-text:first-letter {
        font-size: 1.5rem;
        font-weight: 800;
        color: #80ccb9;
        line-height: 1;
        margin-left: 4px;
        float: right;
        padding-left: 2px;
    }

    .exd-about-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 8px 0;
        text-align: center;
    }

    .exd-about-empty i {
        font-size: 1.5rem;
        color: #80ccb9;
        opacity: .55;
        filter: drop-shadow(0 0 8px rgba(128, 204, 185, .4));
    }

    .exd-about-empty span {
        font-size: .76rem;
        color: #6c7f8f;
        line-height: 1.8;
    }

    .exd-info-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .exd-info-tile {
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .16);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        gap: 7px;
        transition: border-color .25s ease, background .25s ease, transform .2s ease;
    }

    .exd-info-tile:hover {
        border-color: rgba(128, 204, 185, .32);
        background: rgba(128, 204, 185, .04);
    }

    .exd-info-tile--full {
        grid-column: 1 / -1;
    }

    .exd-info-label {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: .64rem;
        color: #6c7f8f;
        font-weight: 500;
        letter-spacing: .2px;
        text-transform: uppercase;
    }

    .exd-info-label i {
        color: #80ccb9;
        font-size: .6rem;
        opacity: .8;
    }

    .exd-info-value {
        font-size: .85rem;
        color: #eef4ff;
        font-weight: 600;
        text-decoration: none;
        line-height: 1.4;
        transition: color .2s ease;
        word-break: break-all;
    }

    a.exd-info-value:hover {
        color: #80ccb9;
    }

    .exd-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .exd-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 9px 14px;
        border-radius: 999px;
        background: rgba(128, 204, 185, .08);
        border: 1px solid rgba(128, 204, 185, .25);
        color: #a6d8cd;
        font-size: .74rem;
        font-weight: 600;
        text-decoration: none;
        cursor: default;
        transition: background .22s ease, border-color .22s ease, color .22s ease;
    }

    .exd-tag i {
        font-size: .62rem;
        color: #80ccb9;
    }

    .exd-tag:hover {
        background: rgba(128, 204, 185, .16);
        border-color: #80ccb9;
        color: #eafffa;
    }

    .exd-actions {
        position: fixed;
        bottom: 4rem;
        left: 0;
        right: 0;
        max-width: 420px;
        margin: 0 auto;
        padding: 10px 14px 12px;
        z-index: 95;
        display: flex;
        gap: 10px;
        background: rgba(4, 9, 16, .92);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        border-top: 1px solid rgba(128, 204, 185, .18);
        box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, .7);
    }

    .exd-btn {
        flex: 1;
        height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 14px;
        font-family: inherit;
        font-size: .82rem;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        border: none;
        -webkit-tap-highlight-color: transparent;
        transition:
            transform .15s ease,
            filter .2s ease,
            box-shadow .25s ease,
            background .2s ease,
            border-color .2s ease;
    }

    .exd-btn i {
        font-size: .95rem;
    }

    .exd-btn:active {
        transform: scale(.97);
    }

    .exd-btn--outline {
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(128, 204, 185, .35);
        color: #cfe9e2;
    }

    .exd-btn--outline i {
        color: #80ccb9;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .5));
    }

    .exd-btn--outline:hover {
        background: rgba(128, 204, 185, .1);
        border-color: #80ccb9;
        color: #eafffa;
    }

    .exd-btn--primary {
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        box-shadow:
            0 12px 26px -12px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .25) inset;
    }

    .exd-btn--primary i {
        color: #04140f;
    }

    .exd-btn--primary:hover {
        filter: brightness(1.08);
        box-shadow:
            0 16px 32px -12px rgba(128, 204, 185, 1),
            0 0 0 1px rgba(128, 204, 185, .35) inset;
    }

    @media (prefers-reduced-motion: reduce) {

        .exd-logo-wrap::before,
        .exd-logo-wrap::after {
            animation: none !important;
        }
    }

    @media (max-height: 720px) {
        .exd-logo-ring {
            width: 84px;
            height: 84px;
        }

        .exd-logo-letter {
            font-size: 2rem;
        }

        .exd-name {
            font-size: 1.05rem;
        }

        .exd-scroll {
            padding-bottom: 160px;
        }
    }


    /* meetingRequest Page Styles */
    .app-shell.req-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .app-shell.req-page .topbar a.icon-btn {
        text-decoration: none;
        color: #dfe9ff;
        cursor: pointer;
    }

    .req-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 6px 16px 104px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .req-scroll::-webkit-scrollbar {
        display: none;
    }

    .req-header {
        text-align: center;
        padding: 8px 6px 22px;
    }

    .req-header-icon {
        position: relative;
        width: 68px;
        height: 68px;
        margin: 0 auto 14px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background:
            radial-gradient(circle at 50% 40%, rgba(128, 204, 185, .22), transparent 70%),
            rgba(1, 59, 66, .18);
        border: 1px solid rgba(128, 204, 185, .35);
        box-shadow:
            0 0 22px -6px rgba(128, 204, 185, .5) inset,
            0 0 36px -10px rgba(128, 204, 185, .35);
    }

    .req-header-icon::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px dashed rgba(128, 204, 185, .28);
    }

    .req-header-icon i {
        font-size: 1.55rem;
        color: #80ccb9;
        filter: drop-shadow(0 0 8px rgba(128, 204, 185, .7));
    }

    .req-header-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 0 0 8px;
        letter-spacing: -.2px;
    }

    .req-header-desc {
        font-size: .74rem;
        color: var(--text-dim);
        margin: 0 auto;
        line-height: 1.9;
        max-width: 300px;
        opacity: .85;
    }

    .req-header-line {
        display: block;
        width: 46px;
        height: 2px;
        margin: 14px auto 0;
        border-radius: 2px;
        background: linear-gradient(to left, transparent, #80ccb9, transparent);
        box-shadow: 0 0 10px rgba(128, 204, 185, .5);
    }

    .req-section {
        margin-top: 20px;
    }

    .req-section-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .78rem;
        font-weight: 700;
        color: #cfe9e2;
        letter-spacing: .2px;
        margin: 0 4px 12px;
        text-transform: uppercase;
        opacity: .85;
    }

    .req-section-title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(to left, transparent, rgba(128, 204, 185, .35));
    }

    .req-section-title i {
        color: #80ccb9;
        font-size: .8rem;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .35));
    }

    .req-picker {
        display: grid;
        gap: 10px;
    }

    .req-picker--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .req-picker--2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .req-field {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        height: 56px;
        padding: 0 14px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .16);
        border-radius: 14px;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transition:
            border-color .25s ease,
            background .25s ease,
            box-shadow .25s ease;
    }

    .req-field:hover {
        border-color: rgba(128, 204, 185, .32);
        background: rgba(255, 255, 255, .05);
    }

    .req-field:focus-within {
        border-color: #80ccb9;
        background: rgba(128, 204, 185, .07);
        box-shadow:
            0 0 0 3px rgba(128, 204, 185, .12),
            0 8px 22px -14px rgba(128, 204, 185, .7);
    }

    .req-field>i {
        color: #80ccb9;
        font-size: .92rem;
        flex-shrink: 0;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .4));
        transition: transform .25s ease;
        width: 18px;
        text-align: center;
    }

    .req-field:focus-within>i {
        transform: scale(1.1);
    }

    .req-field select {
        flex: 1;
        min-width: 0;
        height: 100%;
        background: transparent;
        border: none;
        outline: none;
        color: #eef4ff;
        font-family: inherit;
        font-size: .9rem;
        font-weight: 600;
        direction: rtl;
        text-align: right;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
        padding-left: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2380ccb9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: left 0 center;
        background-size: 13px;
    }

    .req-field select option {
        background: #081420;
        color: #eef4ff;
        padding: 8px;
    }

    .req-field select:invalid,
    .req-field select option[value=""] {
        color: #6c7f8f;
        font-weight: 500;
    }

    .req-summary {
        position: relative;
        margin-top: 18px;
        padding: 18px 16px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(1, 59, 66, .35), rgba(128, 204, 185, .06));
        border: 1px solid rgba(128, 204, 185, .3);
        animation: fadeInUp .7s .25s ease both;
        overflow: hidden;
    }

    .req-summary::before {
        content: "";
        position: absolute;
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(128, 204, 185, .18) 0%, transparent 65%);
        filter: blur(4px);
        pointer-events: none;
    }

    .req-summary-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .68rem;
        color: #9db2d4;
        font-weight: 600;
        letter-spacing: .2px;
        margin-bottom: 8px;
        position: relative;
        z-index: 1;
    }

    .req-summary-label i {
        color: #80ccb9;
        font-size: .72rem;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .55));
    }

    .req-summary-value {
        font-size: 1.05rem;
        font-weight: 800;
        color: #eafffa;
        line-height: 1.6;
        position: relative;
        z-index: 1;
        min-height: 1.6em;
        transition: color .25s ease;
    }

    .req-summary-value.is-empty {
        color: #6c7f8f;
        font-weight: 500;
        font-size: .82rem;
    }

    .req-summary-hint {
        display: block;
        margin-top: 6px;
        font-size: .68rem;
        color: #80ccb9;
        opacity: .85;
        position: relative;
        z-index: 1;
        direction: ltr;
        text-align: right;
        font-family: 'Courier New', monospace;
        letter-spacing: .5px;
    }

    .req-actions {
        margin-top: 24px;
        padding-bottom: 6px;
    }

    .req-btn-save {
        width: 100%;
        height: 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: none;
        border-radius: 16px;
        font-family: inherit;
        font-size: .92rem;
        font-weight: 700;
        cursor: pointer;
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        box-shadow:
            0 12px 26px -12px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .25) inset;
        transition: transform .2s ease, box-shadow .3s ease, filter .3s ease, opacity .2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .req-btn-save i {
        font-size: 1rem;
    }

    .req-btn-save:hover {
        filter: brightness(1.08);
        box-shadow:
            0 16px 32px -12px rgba(128, 204, 185, 1),
            0 0 0 1px rgba(128, 204, 185, .35) inset;
    }

    .req-btn-save:active {
        transform: scale(.98);
    }

    .req-btn-save:disabled {
        opacity: .45;
        cursor: not-allowed;
        filter: grayscale(.4);
    }

    .req-toast {
        position: fixed;
        bottom: 100px;
        left: 50%;
        transform: translate(-50%, 20px);
        z-index: 9000;
        min-width: 240px;
        max-width: calc(100% - 40px);
        padding: 14px 18px;
        border-radius: 16px;
        background: rgba(8, 20, 32, .96);
        border: 1px solid rgba(128, 204, 185, .4);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow:
            0 20px 44px -16px rgba(0, 0, 0, .9),
            0 0 0 1px rgba(128, 204, 185, .12) inset;
        color: #eef4ff;
        font-size: .8rem;
        font-weight: 600;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
        pointer-events: none;
    }

    .req-toast.show {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .req-toast.error {
        border-color: rgba(245, 68, 72, .5);
    }

    .req-toast .rt-icon {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(128, 204, 185, .15);
        border: 1px solid rgba(128, 204, 185, .4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: 1.1rem;
    }

    .req-toast.error .rt-icon {
        background: rgba(245, 68, 72, .15);
        border-color: rgba(245, 68, 72, .4);
        color: #ff8b8f;
    }

    @media (prefers-reduced-motion: reduce) {
        .req-header-icon::after {
            animation: none;
        }
    }

    @media (max-width: 360px) {
        .req-picker--3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .req-field {
            padding: 0 10px;
            gap: 6px;
        }

        .req-field select {
            font-size: .82rem;
            padding-left: 18px;
        }

        .req-field>i {
            width: 14px;
            font-size: .82rem;
        }
    }


    /* Auth Styles */

    .app-shell.auth-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        background:
            radial-gradient(60% 34% at 50% 0%, rgba(70, 110, 160, .14), transparent 70%),
            radial-gradient(90% 46% at 50% 100%, rgba(47, 232, 184, .08), transparent 70%),
            linear-gradient(180deg, #040910 0%, #060b12 55%, #03060a 100%);
    }

    .auth-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 20px 40px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .auth-scroll::-webkit-scrollbar {
        display: none;
    }

    .auth-hero {
        position: relative;
        text-align: center;
        padding: 24px 6px 28px;
        animation: fadeInUp .8s ease both;
    }

    .auth-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(38px);
        pointer-events: none;
        z-index: 0;
    }

    .auth-orb--1 {
        top: -30px;
        right: -30px;
        width: 180px;
        height: 180px;
        background: rgba(128, 204, 185, .16);
        animation: glowFloat 6s ease-in-out infinite;
    }

    .auth-orb--2 {
        top: 50px;
        left: -40px;
        width: 140px;
        height: 140px;
        background: rgba(214, 184, 143, .1);
        animation: glowFloat 8s ease-in-out infinite reverse;
    }

    .auth-hero-icon {
        position: relative;
        z-index: 1;
        width: 78px;
        height: 78px;
        margin: 0 auto 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background:
            radial-gradient(circle at 50% 40%, rgba(128, 204, 185, .25), transparent 70%),
            rgba(1, 59, 66, .22);
        border: 1px solid rgba(128, 204, 185, .4);
        box-shadow:
            0 0 26px -6px rgba(128, 204, 185, .55) inset,
            0 0 44px -10px rgba(128, 204, 185, .4);
    }

    .auth-hero-icon::after {
        content: "";
        position: absolute;
        inset: -7px;
        border-radius: 50%;
        border: 1px dashed rgba(128, 204, 185, .3);
        animation: spinSlow 22s linear infinite;
    }

    .auth-hero-icon i {
        font-size: 1.8rem;
        color: #80ccb9;
        filter: drop-shadow(0 0 10px rgba(128, 204, 185, .8));
    }

    .auth-hero-title {
        position: relative;
        z-index: 1;
        font-size: 1.65rem;
        font-weight: 900;
        color: #eef4ff;
        margin: 0 0 6px;
        letter-spacing: -.4px;
        line-height: 1.2;
    }

    .auth-hero-title .accent {
        background: linear-gradient(135deg, #80ccb9 0%, #d6b88f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: #80ccb9;
    }

    .auth-hero-sub {
        position: relative;
        z-index: 1;
        font-size: .78rem;
        color: #9db2d4;
        margin: 0;
        opacity: .85;
        line-height: 1.8;
    }

    .auth-hero-line {
        display: block;
        width: 46px;
        height: 2px;
        margin: 14px auto 0;
        border-radius: 2px;
        background: linear-gradient(to left, transparent, #80ccb9, transparent);
        box-shadow: 0 0 10px rgba(128, 204, 185, .5);
        position: relative;
        z-index: 1;
    }

    .auth-tabs {
        position: relative;
        display: flex;
        padding: 4px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .18);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        margin-bottom: 20px;
        animation: fadeInUp .8s .05s ease both;
    }

    .auth-tab-indicator {
        position: absolute;
        top: 4px;
        bottom: 4px;
        right: 4px;
        width: calc(50% - 4px);
        border-radius: 10px;
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        box-shadow:
            0 8px 20px -8px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .3) inset;
        z-index: 1;
        transition: transform .38s cubic-bezier(.2, .9, .3, 1);
        pointer-events: none;
    }

    .auth-tab-indicator.register {
        transform: translateX(-100%);
    }

    .auth-tab {
        flex: 1;
        position: relative;
        z-index: 2;
        height: 42px;
        background: transparent;
        border: none;
        border-radius: 10px;
        font-family: inherit;
        font-size: .82rem;
        font-weight: 700;
        color: #9db2d4;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        transition: color .3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .auth-tab i {
        font-size: .82rem;
        opacity: .7;
        transition: opacity .3s ease;
    }

    .auth-tab.active {
        color: #04140f;
    }

    .auth-tab.active i {
        opacity: 1;
    }

    .auth-forms {
        animation: fadeInUp .8s .1s ease both;
    }

    .auth-form {
        display: none;
        flex-direction: column;
        gap: 14px;
    }

    .auth-form.active {
        display: flex;
        animation: formIn .38s cubic-bezier(.2, .9, .3, 1);
    }

    @keyframes formIn {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .auth-field {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .auth-label {
        font-size: .72rem;
        font-weight: 600;
        color: #cfe9e2;
        letter-spacing: .2px;
        padding-right: 4px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .auth-label .optional {
        color: #6c7f8f;
        font-weight: 500;
        font-size: .64rem;
    }

    .auth-input-wrap {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        height: 52px;
        padding: 0 14px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .16);
        border-radius: 14px;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transition:
            border-color .25s ease,
            background .25s ease,
            box-shadow .25s ease;
    }

    .auth-input-wrap:hover {
        border-color: rgba(128, 204, 185, .3);
        background: rgba(255, 255, 255, .05);
    }

    .auth-input-wrap:focus-within {
        border-color: #80ccb9;
        background: rgba(128, 204, 185, .07);
        box-shadow:
            0 0 0 3px rgba(128, 204, 185, .12),
            0 8px 22px -14px rgba(128, 204, 185, .7);
    }

    .auth-field.is-invalid .auth-input-wrap {
        border-color: rgba(245, 68, 72, .55);
        background: rgba(245, 68, 72, .04);
    }

    .auth-field.is-invalid .auth-input-wrap:focus-within {
        box-shadow:
            0 0 0 3px rgba(245, 68, 72, .14),
            0 8px 22px -14px rgba(245, 68, 72, .7);
    }

    .auth-input-wrap>i.ico {
        width: 20px;
        text-align: center;
        color: #80ccb9;
        font-size: .95rem;
        flex-shrink: 0;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .4));
        transition: transform .25s ease;
    }

    .auth-input-wrap:focus-within>i.ico {
        transform: scale(1.1);
    }

    .auth-field.is-invalid .auth-input-wrap>i.ico {
        color: #ff8b8f;
        filter: drop-shadow(0 0 5px rgba(245, 68, 72, .5));
    }

    .auth-input-wrap input {
        flex: 1;
        min-width: 0;
        height: 100%;
        background: transparent;
        border: none;
        outline: none;
        color: #eef4ff;
        font-family: inherit;
        font-size: .9rem;
        font-weight: 500;
        direction: rtl;
        text-align: right;
    }

    .auth-input-wrap input[dir="ltr"] {
        direction: ltr;
        text-align: left;
    }

    .auth-input-wrap input::placeholder {
        color: #6c7f8f;
        font-weight: 400;
        opacity: .8;
    }

    .auth-input-wrap input:-webkit-autofill,
    .auth-input-wrap input:-webkit-autofill:hover,
    .auth-input-wrap input:-webkit-autofill:focus {
        -webkit-text-fill-color: #eef4ff;
        -webkit-box-shadow: 0 0 0 1000px #0a141e inset;
        transition: background-color 5000s ease-in-out 0s;
        caret-color: #80ccb9;
    }

    .auth-eye {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        border: none;
        background: rgba(128, 204, 185, .06);
        color: #80ccb9;
        font-size: .78rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        flex-shrink: 0;
        transition: background .2s, color .2s, transform .15s;
        -webkit-tap-highlight-color: transparent;
    }

    .auth-eye:hover {
        background: rgba(128, 204, 185, .16);
    }

    .auth-eye:active {
        transform: scale(.9);
    }

    .auth-eye.showing {
        color: #d6b88f;
        background: rgba(214, 184, 143, .12);
    }

    .auth-error {
        display: none;
        font-size: .68rem;
        color: #ff8b8f;
        font-weight: 500;
        line-height: 1.6;
        padding-right: 4px;
        align-items: center;
        gap: 5px;
    }

    .auth-error::before {
        content: "\f06a";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: .62rem;
        opacity: .9;
    }

    .auth-field.is-invalid .auth-error {
        display: flex;
    }

    .auth-strength {
        display: none;
        flex-direction: column;
        gap: 6px;
        padding: 0 4px;
        margin-top: -4px;
    }

    .auth-strength.show {
        display: flex;
    }

    .auth-strength-bars {
        display: flex;
        gap: 4px;
        height: 4px;
    }

    .auth-strength-bars span {
        flex: 1;
        border-radius: 2px;
        background: rgba(255, 255, 255, .08);
        transition: background .3s ease;
    }

    .auth-strength[data-score="1"] .auth-strength-bars span:nth-child(1) {
        background: #f54448;
        box-shadow: 0 0 6px rgba(245, 68, 72, .6);
    }

    .auth-strength[data-score="2"] .auth-strength-bars span:nth-child(-n+2) {
        background: #f5b95c;
        box-shadow: 0 0 6px rgba(245, 185, 92, .5);
    }

    .auth-strength[data-score="3"] .auth-strength-bars span:nth-child(-n+3) {
        background: #80ccb9;
        box-shadow: 0 0 6px rgba(128, 204, 185, .5);
    }

    .auth-strength[data-score="4"] .auth-strength-bars span {
        background: #38f0c4;
        box-shadow: 0 0 8px rgba(56, 240, 196, .6);
    }

    .auth-strength-label {
        font-size: .64rem;
        font-weight: 500;
        color: #6c7f8f;
        transition: color .3s ease;
    }

    .auth-strength[data-score="1"] .auth-strength-label {
        color: #ff8b8f;
    }

    .auth-strength[data-score="2"] .auth-strength-label {
        color: #f5b95c;
    }

    .auth-strength[data-score="3"] .auth-strength-label {
        color: #80ccb9;
    }

    .auth-strength[data-score="4"] .auth-strength-label {
        color: #38f0c4;
    }

    .auth-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 4px;
        margin-top: -2px;
    }

    .auth-checkbox {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: .72rem;
        color: #cfe9e2;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .auth-checkbox input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .auth-checkbox-box {
        width: 18px;
        height: 18px;
        border-radius: 6px;
        border: 1.6px solid rgba(128, 204, 185, .45);
        background: rgba(128, 204, 185, .05);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .2s ease;
        position: relative;
    }

    .auth-checkbox-box::after {
        content: "";
        width: 9px;
        height: 5px;
        border-left: 2px solid #04140f;
        border-bottom: 2px solid #04140f;
        transform: rotate(-45deg) scale(0);
        transition: transform .2s ease;
        margin-top: -2px;
    }

    .auth-checkbox input:checked~.auth-checkbox-box {
        background: linear-gradient(135deg, #80ccb9, #2ea68d);
        border-color: #80ccb9;
        box-shadow: 0 0 10px rgba(128, 204, 185, .6);
    }

    .auth-checkbox input:checked~.auth-checkbox-box::after {
        transform: rotate(-45deg) scale(1);
    }

    .auth-checkbox input:focus-visible~.auth-checkbox-box {
        outline: 2px solid rgba(128, 204, 185, .5);
        outline-offset: 2px;
    }

    .auth-field.is-invalid .auth-checkbox-box {
        border-color: rgba(245, 68, 72, .55);
    }

    .auth-link {
        font-size: .72rem;
        font-weight: 600;
        color: #80ccb9;
        text-decoration: none;
        transition: color .2s ease;
        padding: 2px 0;
        cursor: pointer;
    }

    .auth-link:hover {
        color: #eafffa;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .auth-submit {
        width: 100%;
        height: 52px;
        margin-top: 8px;
        border: none;
        border-radius: 14px;
        font-family: inherit;
        font-size: .9rem;
        font-weight: 800;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        box-shadow:
            0 12px 26px -12px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .25) inset;
        transition: filter .2s ease, transform .15s ease, box-shadow .25s ease, opacity .2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .auth-submit i {
        font-size: .95rem;
    }

    .auth-submit:hover {
        filter: brightness(1.08);
        box-shadow:
            0 16px 32px -12px rgba(128, 204, 185, 1),
            0 0 0 1px rgba(128, 204, 185, .35) inset;
    }

    .auth-submit:active {
        transform: scale(.98);
    }

    .auth-submit:disabled {
        opacity: .5;
        cursor: not-allowed;
        filter: grayscale(.4);
        pointer-events: none;
    }

    .auth-submit .spinner {
        display: none;
        width: 18px;
        height: 18px;
        border: 2px solid rgba(4, 20, 15, .3);
        border-top-color: #04140f;
        border-radius: 50%;
        animation: spin .8s linear infinite;
    }

    .auth-submit.loading .spinner {
        display: inline-block;
    }

    .auth-submit.loading>i,
    .auth-submit.loading>.btn-label {
        display: none;
    }

    .auth-switch {
        text-align: center;
        margin-top: 16px;
        font-size: .75rem;
        color: #9db2d4;
    }

    .auth-switch a {
        color: #80ccb9;
        font-weight: 700;
        text-decoration: none;
        margin-right: 4px;
    }

    .auth-switch a:hover {
        color: #eafffa;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .auth-footer {
        margin-top: 28px;
        padding: 0 6px;
        text-align: center;
        font-size: .68rem;
        color: #6c7f8f;
        line-height: 1.9;
        opacity: .9;
    }

    .auth-footer a {
        color: #80ccb9;
        text-decoration: none;
        font-weight: 600;
    }

    .auth-footer a:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .auth-or {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 20px 0 4px;
        color: #6c7f8f;
        font-size: .68rem;
        font-weight: 500;
    }

    .auth-or::before,
    .auth-or::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(to left, transparent, rgba(128, 204, 185, .28));
    }

    .auth-or::after {
        background: linear-gradient(to right, transparent, rgba(128, 204, 185, .28));
    }

    .auth-toast {
        position: fixed;
        bottom: 40px;
        left: 50%;
        transform: translate(-50%, 20px);
        z-index: 9000;
        min-width: 220px;
        max-width: calc(100% - 40px);
        padding: 14px 18px;
        border-radius: 14px;
        background: rgba(8, 20, 32, .96);
        border: 1px solid rgba(128, 204, 185, .4);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow:
            0 20px 44px -16px rgba(0, 0, 0, .9),
            0 0 0 1px rgba(128, 204, 185, .12) inset;
        color: #eef4ff;
        font-size: .8rem;
        font-weight: 600;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
        pointer-events: none;
    }

    .auth-toast.show {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .auth-toast.error {
        border-color: rgba(245, 68, 72, .5);
    }

    .auth-toast .t-ico {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(128, 204, 185, .15);
        border: 1px solid rgba(128, 204, 185, .4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: .85rem;
        flex-shrink: 0;
    }

    .auth-toast.error .t-ico {
        background: rgba(245, 68, 72, .15);
        border-color: rgba(245, 68, 72, .4);
        color: #ff8b8f;
    }

    @media (prefers-reduced-motion: reduce) {

        .auth-hero-icon::after,
        .auth-orb--1,
        .auth-orb--2 {
            animation: none !important;
        }

        .auth-tab-indicator {
            transition: none;
        }
    }

    @media (max-height: 720px) {
        .auth-hero {
            padding: 14px 6px 20px;
        }

        .auth-hero-icon {
            width: 64px;
            height: 64px;
            margin-bottom: 12px;
        }

        .auth-hero-icon i {
            font-size: 1.5rem;
        }

        .auth-hero-title {
            font-size: 1.4rem;
        }
    }

    .app-shell.chat-page {
        display: flex;
        flex-direction: column;
        height: 100dvh;
        height: var(--app-height, 100dvh);
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        background:
            radial-gradient(60% 34% at 50% 0%, rgba(70, 110, 160, .14), transparent 70%),
            radial-gradient(90% 46% at 50% 100%, rgba(47, 232, 184, .08), transparent 70%),
            linear-gradient(180deg, #040910 0%, #060b12 55%, #03060a 100%);
    }

    .chat-header {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        padding-top: max(10px, env(safe-area-inset-top));
        background: linear-gradient(180deg, rgba(4, 9, 16, .96), rgba(4, 9, 16, .88));
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        backdrop-filter: blur(18px) saturate(150%);
        border-bottom: 1px solid rgba(128, 204, 185, .16);
        box-shadow: 0 4px 20px -12px rgba(0, 0, 0, .9);
        z-index: 10;
    }

    .chat-back {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        border: 1px solid rgba(128, 204, 185, .2);
        background: rgba(255, 255, 255, .04);
        color: #dfe9ff;
        font-size: .95rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        text-decoration: none;
        transition: background .2s, border-color .2s, color .2s, transform .12s;
        -webkit-tap-highlight-color: transparent;
    }

    .chat-back:hover {
        background: rgba(128, 204, 185, .12);
        border-color: rgba(128, 204, 185, .5);
        color: #eafffa;
        transform: translateX(2px);
    }

    .chat-back:active {
        transform: scale(.92);
    }

    .chat-header-avatar {
        position: relative;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        padding: 2px;
        background: linear-gradient(135deg, #80ccb9 0%, #013b42 45%, #d6b88f 100%);
        flex-shrink: 0;
        box-shadow: 0 0 16px -4px rgba(128, 204, 185, .6);
    }

    .chat-header-avatar .avatar-letter {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: linear-gradient(135deg, #0b1c2a, #013b42);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: 1rem;
        font-weight: 900;
        text-shadow: 0 0 10px rgba(128, 204, 185, .6);
    }

    .chat-header-avatar .online-dot {
        position: absolute;
        bottom: -1px;
        left: -1px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #38f0c4;
        border: 2.5px solid #040910;
        box-shadow: 0 0 8px rgba(56, 240, 196, .8);
        animation: onlinePulse 2.4s ease-in-out infinite;
    }

    @keyframes onlinePulse {

        0%,
        100% {
            box-shadow: 0 0 8px rgba(56, 240, 196, .8);
        }

        50% {
            box-shadow: 0 0 14px rgba(56, 240, 196, 1);
        }
    }

    .chat-header-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .chat-header-name {
        font-size: .9rem;
        font-weight: 700;
        color: #eef4ff;
        margin: 0;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .chat-header-status {
        font-size: .68rem;
        color: #80ccb9;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 5px;
        opacity: .9;
        transition: color .2s;
    }

    .chat-header-status.is-typing {
        color: #f5b95c;
    }

    .chat-header-status .status-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #38f0c4;
        box-shadow: 0 0 6px rgba(56, 240, 196, .8);
    }

    .chat-messages {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 16px 14px 10px;
        scroll-behavior: smooth;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(128, 204, 185, .3) transparent;
        scroll-padding-bottom: 20px;
    }

    .chat-messages::-webkit-scrollbar {
        width: 4px;
    }

    .chat-messages::-webkit-scrollbar-thumb {
        background: rgba(128, 204, 185, .3);
        border-radius: 2px;
    }

    .chat-day-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 12px 0 18px;
        padding: 0 40px;
    }

    .chat-day-divider span {
        padding: 5px 16px;
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(1, 59, 66, .5), rgba(128, 204, 185, .1));
        border: 1px solid rgba(128, 204, 185, .28);
        color: #80ccb9;
        font-size: .66rem;
        font-weight: 600;
        letter-spacing: .3px;
        white-space: nowrap;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px -6px rgba(128, 204, 185, .4);
    }

    .chat-msg {
        display: flex;
        margin-bottom: 6px;
        animation: msgIn .3s cubic-bezier(.2, .9, .3, 1) both;
    }

    .chat-msg.msg-enter {
        animation: msgIn .35s cubic-bezier(.2, .9, .3, 1) both;
    }

    @keyframes msgIn {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .chat-msg.incoming {
        justify-content: flex-end;
    }

    .chat-msg.outgoing {
        justify-content: flex-start;
    }

    .msg-bubble {
        max-width: 78%;
        padding: 10px 14px 7px;
        border-radius: 18px;
        position: relative;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        box-shadow: 0 2px 12px -8px rgba(0, 0, 0, .5);
        transition: background .2s, border-color .2s;
    }

    .chat-msg.incoming .msg-bubble {
        background: rgba(255, 255, 255, .055);
        border: 1px solid rgba(255, 255, 255, .09);
        border-top-left-radius: 6px;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .chat-msg.outgoing .msg-bubble {
        background: linear-gradient(135deg,
                rgba(128, 204, 185, .24),
                rgba(46, 166, 141, .32));
        border: 1px solid rgba(128, 204, 185, .42);
        border-top-right-radius: 6px;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow:
            0 2px 14px -8px rgba(128, 204, 185, .6),
            0 0 0 1px rgba(128, 204, 185, .08) inset;
    }

    .chat-msg.outgoing+.chat-msg.outgoing {
        margin-top: -3px;
    }

    .chat-msg.incoming+.chat-msg.incoming {
        margin-top: -3px;
    }

    .chat-msg.outgoing+.chat-msg.outgoing .msg-bubble {
        border-top-right-radius: 18px;
    }

    .chat-msg.incoming+.chat-msg.incoming .msg-bubble {
        border-top-left-radius: 18px;
    }

    .msg-text {
        font-size: .85rem;
        line-height: 1.7;
        color: #eef4ff;
        margin: 0;
        white-space: pre-wrap;
    }

    .chat-msg.outgoing .msg-text {
        color: #eafffa;
    }

    .msg-meta {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        margin-top: 5px;
        font-size: .6rem;
        color: #6c7f8f;
        font-weight: 500;
        direction: ltr;
        line-height: 1;
    }

    .chat-msg.outgoing .msg-meta {
        color: #80ccb9;
    }

    .msg-meta i {
        font-size: .58rem;
        opacity: .8;
    }

    .msg-meta .status-read {
        color: #38f0c4;
        opacity: 1;
    }

    .chat-msg.has-attachment .msg-bubble {
        padding: 6px 6px 7px;
    }

    .chat-msg.has-attachment .msg-text {
        padding: 4px 8px 0;
    }

    .chat-msg.has-attachment .msg-meta {
        padding: 0 8px;
    }

    .msg-image {
        position: relative;
        border-radius: 14px;
        overflow: hidden;
        cursor: pointer;
        background: #0b1c2a;
        max-width: 240px;
        min-width: 140px;
        line-height: 0;
        transition: transform .2s ease;
    }

    .msg-image:hover {
        transform: scale(1.01);
    }

    .msg-image:active {
        transform: scale(.98);
    }

    .msg-image img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
        border-radius: 14px;
    }

    .msg-video {
        border-radius: 14px;
        overflow: hidden;
        background: #000;
        max-width: 240px;
        line-height: 0;
    }

    .msg-video video {
        display: block;
        width: 100%;
        max-height: 300px;
        border-radius: 14px;
    }

    .msg-file {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(0, 0, 0, .22);
        border: 1px solid rgba(128, 204, 185, .14);
        min-width: 200px;
        max-width: 280px;
        transition: background .2s, border-color .2s;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
    }

    .chat-msg.outgoing .msg-file {
        background: rgba(4, 20, 15, .28);
        border-color: rgba(4, 20, 15, .4);
    }

    .msg-file:hover {
        background: rgba(0, 0, 0, .32);
    }

    .msg-file-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        background: linear-gradient(135deg, rgba(128, 204, 185, .22), rgba(1, 59, 66, .5));
        border: 1px solid rgba(128, 204, 185, .35);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: 1rem;
        flex-shrink: 0;
        filter: drop-shadow(0 0 5px rgba(128, 204, 185, .4));
    }

    .msg-file-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .msg-file-name {
        font-size: .76rem;
        font-weight: 600;
        color: #eef4ff;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        direction: ltr;
        text-align: right;
    }

    .chat-msg.outgoing .msg-file-name {
        color: #eafffa;
    }

    .msg-file-size {
        font-size: .64rem;
        color: #6c7f8f;
        font-weight: 500;
    }

    .msg-file-dl {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        background: rgba(128, 204, 185, .1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: .78rem;
        flex-shrink: 0;
        transition: background .2s, transform .15s;
    }

    .msg-file:hover .msg-file-dl {
        background: rgba(128, 204, 185, .22);
        transform: scale(1.08);
    }

    .chat-typing {
        display: none;
        align-items: center;
        gap: 8px;
        padding: 0 18px 8px;
        animation: msgIn .3s ease both;
        justify-content: flex-end;
    }

    .chat-typing.show {
        display: flex;
    }

    .typing-dots {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 11px 15px;
        border-radius: 18px;
        border-top-left-radius: 6px;
        background: rgba(255, 255, 255, .055);
        border: 1px solid rgba(255, 255, 255, .09);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .typing-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #80ccb9;
        opacity: .4;
        animation: typingDot 1.2s ease-in-out infinite;
    }

    .typing-dots span:nth-child(2) {
        animation-delay: .18s;
    }

    .typing-dots span:nth-child(3) {
        animation-delay: .36s;
    }

    @keyframes typingDot {

        0%,
        60%,
        100% {
            opacity: .3;
            transform: translateY(0) scale(.85);
        }

        30% {
            opacity: 1;
            transform: translateY(-4px) scale(1);
        }
    }

    .chat-typing-label {
        font-size: .65rem;
        color: #f5b95c;
        font-weight: 500;
        opacity: .85;
    }

    .chat-scroll-btn {
        position: absolute;
        bottom: 82px;
        left: 14px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(128, 204, 185, .35);
        background: rgba(4, 9, 16, .94);
        color: #80ccb9;
        font-size: .88rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity .25s, visibility .25s, transform .25s, background .2s, border-color .2s;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        z-index: 15;
        -webkit-tap-highlight-color: transparent;
        box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .9);
    }

    .chat-scroll-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .chat-scroll-btn:hover {
        background: rgba(1, 59, 66, .94);
        border-color: rgba(128, 204, 185, .6);
        color: #eafffa;
    }

    .chat-scroll-btn:active {
        transform: scale(.9);
    }

    .chat-scroll-btn .unread-dot {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: linear-gradient(135deg, #f5b95c, #e09732);
        color: #04140f;
        font-size: .58rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #040910;
        box-shadow: 0 0 10px rgba(245, 185, 92, .8);
    }

    .chat-input-wrap {
        flex-shrink: 0;
        position: relative;
        background: linear-gradient(180deg, rgba(4, 9, 16, .94), rgba(4, 9, 16, .98));
        -webkit-backdrop-filter: blur(20px) saturate(150%);
        backdrop-filter: blur(20px) saturate(150%);
        border-top: 1px solid rgba(128, 204, 185, .16);
        padding: 8px 10px;
        padding-bottom: max(8px, env(safe-area-inset-bottom));
        z-index: 12;
    }

    .chat-input-row {
        display: flex;
        align-items: flex-end;
        gap: 8px;
    }

    .chat-action-btn {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        border: 1px solid rgba(128, 204, 185, .18);
        background: rgba(255, 255, 255, .045);
        color: #80ccb9;
        font-size: .92rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: background .2s, border-color .2s, color .2s, transform .12s;
        -webkit-tap-highlight-color: transparent;
    }

    .chat-action-btn:hover {
        background: rgba(128, 204, 185, .12);
        border-color: rgba(128, 204, 185, .45);
        color: #eafffa;
    }

    .chat-action-btn:active {
        transform: scale(.9);
    }

    .chat-textarea-wrap {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: flex-end;
        min-height: 42px;
        padding: 9px 14px;
        border-radius: 21px;
        background: rgba(255, 255, 255, .05);
        border: 1px solid rgba(128, 204, 185, .2);
        transition: border-color .2s, background .2s, box-shadow .2s;
    }

    .chat-textarea-wrap:focus-within {
        border-color: rgba(128, 204, 185, .6);
        background: rgba(128, 204, 185, .07);
        box-shadow:
            0 0 0 3px rgba(128, 204, 185, .12),
            0 6px 18px -12px rgba(128, 204, 185, .7);
    }

    .chat-textarea {
        flex: 1;
        min-width: 0;
        max-height: 110px;
        background: transparent;
        border: none;
        outline: none;
        resize: none;
        color: #eef4ff;
        font-family: inherit;
        font-size: .86rem;
        line-height: 1.55;
        padding: 0;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(128, 204, 185, .3) transparent;
    }

    .chat-textarea::-webkit-scrollbar {
        width: 3px;
    }

    .chat-textarea::-webkit-scrollbar-thumb {
        background: rgba(128, 204, 185, .3);
        border-radius: 2px;
    }

    .chat-textarea::placeholder {
        color: #6c7f8f;
        font-weight: 400;
    }

    .chat-send-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: none;
        background: linear-gradient(135deg, #80ccb9 0%, #2ea68d 55%, #1d7f6c 100%);
        color: #04140f;
        font-size: .95rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: transform .15s, filter .2s, box-shadow .25s, opacity .2s;
        box-shadow:
            0 8px 22px -8px rgba(128, 204, 185, .9),
            0 0 0 1px rgba(128, 204, 185, .25) inset;
        -webkit-tap-highlight-color: transparent;
    }

    .chat-send-btn:not(:disabled) {
        animation: sendGlow 2.6s ease-in-out infinite;
    }

    @keyframes sendGlow {

        0%,
        100% {
            box-shadow:
                0 8px 22px -8px rgba(128, 204, 185, .9),
                0 0 0 1px rgba(128, 204, 185, .25) inset;
        }

        50% {
            box-shadow:
                0 12px 28px -8px rgba(128, 204, 185, 1),
                0 0 0 1px rgba(128, 204, 185, .4) inset;
        }
    }

    .chat-send-btn:active {
        transform: scale(.9);
    }

    .chat-send-btn:disabled {
        opacity: .4;
        cursor: not-allowed;
        filter: grayscale(.5);
        box-shadow: none;
        animation: none;
    }

    .chat-send-btn:hover:not(:disabled) {
        filter: brightness(1.08);
    }

    .chat-send-btn i {
        margin-right: 2px;
        margin-top: 1px;
    }

    .chat-preview-area {
        display: none;
        gap: 8px;
        padding: 6px 2px 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        margin-bottom: 2px;
        animation: previewIn .3s cubic-bezier(.2, .9, .3, 1);
    }

    .chat-preview-area.show {
        display: flex;
    }

    .chat-preview-area::-webkit-scrollbar {
        display: none;
    }

    @keyframes previewIn {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .preview-item {
        position: relative;
        flex-shrink: 0;
        border-radius: 12px;
        overflow: hidden;
        background: rgba(255, 255, 255, .05);
        border: 1px solid rgba(128, 204, 185, .25);
        box-shadow: 0 4px 12px -8px rgba(0, 0, 0, .6);
        animation: previewItemIn .3s cubic-bezier(.2, .9, .3, 1) both;
    }

    @keyframes previewItemIn {
        from {
            opacity: 0;
            transform: scale(.9);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .preview-item--image {
        width: 64px;
        height: 64px;
    }

    .preview-item--image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .preview-item--file {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 32px 8px 10px;
        min-width: 150px;
        max-width: 200px;
        height: 64px;
    }

    .preview-file-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: linear-gradient(135deg, rgba(128, 204, 185, .22), rgba(1, 59, 66, .5));
        border: 1px solid rgba(128, 204, 185, .35);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #80ccb9;
        font-size: .85rem;
        flex-shrink: 0;
    }

    .preview-file-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .preview-name {
        font-size: .68rem;
        font-weight: 600;
        color: #eef4ff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        direction: ltr;
        text-align: right;
    }

    .preview-size {
        font-size: .58rem;
        color: #6c7f8f;
        font-weight: 500;
    }

    .preview-remove {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: rgba(4, 9, 16, .85);
        border: 1px solid rgba(245, 68, 72, .4);
        color: #ff8b8f;
        font-size: .55rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        transition: background .2s, border-color .2s, transform .15s;
        -webkit-tap-highlight-color: transparent;
    }

    .preview-remove:hover {
        background: rgba(245, 68, 72, .9);
        border-color: #ff8b8f;
        color: #fff;
    }

    .preview-remove:active {
        transform: scale(.85);
    }

    .chat-emoji-picker {
        position: absolute;
        bottom: 100%;
        right: 10px;
        margin-bottom: 10px;
        width: 280px;
        max-width: calc(100vw - 40px);
        padding: 12px 10px 10px;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(8, 20, 32, .98), rgba(4, 9, 16, .98));
        border: 1px solid rgba(128, 204, 185, .3);
        -webkit-backdrop-filter: blur(22px) saturate(150%);
        backdrop-filter: blur(22px) saturate(150%);
        box-shadow:
            0 22px 44px -14px rgba(0, 0, 0, .95),
            0 0 0 1px rgba(128, 204, 185, .1) inset;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(.96);
        transform-origin: bottom right;
        transition: opacity .22s, visibility .22s, transform .28s cubic-bezier(.2, .9, .3, 1);
        z-index: 20;
    }

    .chat-emoji-picker.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .chat-emoji-picker::after {
        content: "";
        position: absolute;
        top: 0;
        left: 15%;
        right: 15%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(128, 204, 185, .4), transparent);
    }

    .emoji-picker-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2px 6px 10px;
        margin-bottom: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .emoji-picker-head span {
        font-size: .68rem;
        font-weight: 700;
        color: #cfe9e2;
        letter-spacing: .3px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .emoji-picker-head span i {
        color: #80ccb9;
        font-size: .62rem;
    }

    .emoji-picker-head small {
        font-size: .58rem;
        color: #6c7f8f;
        opacity: .7;
    }

    .emoji-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 3px;
    }

    .emoji-grid button {
        width: 100%;
        aspect-ratio: 1;
        border: none;
        background: transparent;
        border-radius: 8px;
        font-size: 1.2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .15s, transform .12s;
        -webkit-tap-highlight-color: transparent;
        padding: 0;
    }

    .emoji-grid button:hover {
        background: rgba(128, 204, 185, .14);
        transform: scale(1.18);
    }

    .emoji-grid button:active {
        transform: scale(.9);
    }

    .chat-sheet-backdrop {
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(2, 6, 12, .75);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .28s, visibility .28s;
    }

    .chat-sheet-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    .chat-sheet {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 420px;
        margin: 0 auto;
        z-index: 9999;
        padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, #081420 0%, #040910 100%);
        border: 1px solid rgba(128, 204, 185, .28);
        border-bottom: none;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        box-shadow:
            0 -20px 44px -20px rgba(0, 0, 0, .95),
            0 0 0 1px rgba(128, 204, 185, .08) inset;
        transform: translateY(100%);
        transition: transform .34s cubic-bezier(.2, .9, .3, 1);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
        backdrop-filter: blur(20px) saturate(150%);
    }

    .chat-sheet.show {
        transform: translateY(0);
    }

    .chat-sheet-handle {
        width: 40px;
        height: 4px;
        border-radius: 2px;
        background: rgba(128, 204, 185, .3);
        margin: 0 auto 14px;
    }

    .chat-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    .chat-sheet-head h3 {
        font-size: .92rem;
        font-weight: 800;
        color: #eef4ff;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .chat-sheet-head h3 i {
        color: #80ccb9;
        font-size: .88rem;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, .6));
    }

    .chat-sheet-close {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        border: 1px solid rgba(128, 204, 185, .2);
        background: rgba(255, 255, 255, .04);
        color: #cfe9e2;
        font-size: .85rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        transition: background .2s, border-color .2s, color .2s, transform .12s;
        -webkit-tap-highlight-color: transparent;
    }

    .chat-sheet-close:hover {
        background: rgba(245, 68, 72, .12);
        border-color: rgba(245, 68, 72, .4);
        color: #ff8b8f;
    }

    .chat-sheet-close:active {
        transform: scale(.9);
    }

    .chat-sheet-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .chat-sheet-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 16px 8px 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(128, 204, 185, .16);
        color: #eef4ff;
        font-family: inherit;
        cursor: pointer;
        text-align: center;
        transition: background .2s, border-color .2s, transform .15s, box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
    }

    .chat-sheet-option:hover {
        background: rgba(128, 204, 185, .07);
        border-color: rgba(128, 204, 185, .4);
        box-shadow: 0 8px 20px -12px rgba(128, 204, 185, .6);
        transform: translateY(-2px);
    }

    .chat-sheet-option:active {
        transform: scale(.96);
    }

    .opt-icon {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
        border: 1px solid;
        transition: transform .25s;
    }

    .chat-sheet-option:hover .opt-icon {
        transform: scale(1.08) rotate(-4deg);
    }

    .opt-icon--gallery {
        background: linear-gradient(135deg, rgba(128, 204, 185, .22), rgba(1, 59, 66, .5));
        border-color: rgba(128, 204, 185, .35);
        color: #80ccb9;
        filter: drop-shadow(0 0 6px rgba(128, 204, 185, .4));
    }

    .opt-icon--camera {
        background: linear-gradient(135deg, rgba(245, 185, 92, .18), rgba(1, 59, 66, .5));
        border-color: rgba(245, 185, 92, .35);
        color: #f5b95c;
        filter: drop-shadow(0 0 6px rgba(245, 185, 92, .4));
    }

    .opt-icon--file {
        background: linear-gradient(135deg, rgba(214, 184, 143, .18), rgba(1, 59, 66, .5));
        border-color: rgba(214, 184, 143, .35);
        color: #d6b88f;
        filter: drop-shadow(0 0 6px rgba(214, 184, 143, .4));
    }

    .opt-label {
        font-size: .76rem;
        font-weight: 700;
        color: #eef4ff;
    }

    .opt-sub {
        font-size: .6rem;
        color: #6c7f8f;
        font-weight: 500;
        line-height: 1.2;
    }

    .chat-lightbox {
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(0, 0, 0, .95);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }

    .chat-lightbox.show {
        opacity: 1;
        visibility: visible;
    }

    .chat-lightbox img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .95);
        transform: scale(.9);
        transition: transform .35s cubic-bezier(.2, .9, .3, 1);
    }

    .chat-lightbox.show img {
        transform: scale(1);
    }

    .chat-lightbox-close {
        position: absolute;
        top: max(20px, env(safe-area-inset-top));
        right: 20px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, .25);
        background: rgba(4, 9, 16, .85);
        color: #eef4ff;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transition: background .2s, border-color .2s, transform .15s;
        -webkit-tap-highlight-color: transparent;
        z-index: 10001;
    }

    .chat-lightbox-close:hover {
        background: rgba(245, 68, 72, .7);
        border-color: #ff8b8f;
        transform: scale(1.05);
    }

    .chat-lightbox-close:active {
        transform: scale(.9);
    }

    .chat-toast {
        position: fixed;
        bottom: calc(90px + env(safe-area-inset-bottom));
        left: 50%;
        transform: translate(-50%, 20px);
        z-index: 9999;
        min-width: 220px;
        max-width: calc(100% - 40px);
        padding: 12px 18px;
        border-radius: 12px;
        background: rgba(8, 20, 32, .96);
        border: 1px solid rgba(128, 204, 185, .4);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .9);
        color: #eef4ff;
        font-size: .78rem;
        font-weight: 600;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, transform .3s, visibility .3s;
        pointer-events: none;
    }

    .chat-toast.show {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .chat-toast.error {
        border-color: rgba(245, 68, 72, .5);
    }

    @media (prefers-reduced-motion: reduce) {

        .chat-msg,
        .chat-msg.msg-enter,
        .chat-typing,
        .chat-send-btn,
        .chat-header-avatar .online-dot,
        .chat-preview-area,
        .preview-item {
            animation: none !important;
        }

        .chat-messages {
            scroll-behavior: auto;
        }
    }

    @media (max-height: 600px) {
        .chat-header {
            padding: 6px 10px;
            padding-top: max(6px, env(safe-area-inset-top));
        }

        .chat-messages {
            padding: 10px 10px 4px;
        }

        .chat-input-wrap {
            padding: 6px 8px;
            padding-bottom: max(6px, env(safe-area-inset-bottom));
        }
    }