        /* =====================================================
   EduGlass – iOS 26 "Liquid Glass" style
   ===================================================== */
        :root {
            --accent: #0a84ff;
            --accent2: #5e5ce6;
            --green: #30d158;
            --orange: #ff9f0a;
            --red: #ff453a;
            --pink: #ff375f;
            --teal: #64d2ff;
            --text: #1c1c1e;
            --muted: #6e6e73;
            --glass: rgba(255, 255, 255, .52);
            --glass-strong: rgba(255, 255, 255, .72);
            --glass-border: rgba(255, 255, 255, .75);
            --glass-shadow: 0 8px 32px rgba(31, 45, 90, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
            --field: rgba(120, 120, 128, .12);
            --sep: rgba(60, 60, 67, .12);
            --bg-a: #dbe9ff;
            --bg-b: #f3e6ff;
            --bg-c: #ffe9dc;
            --r-lg: 28px;
            --r-md: 20px;
            --r-sm: 14px;
            --sidebar-w: 264px;
            --safe-b: env(safe-area-inset-bottom, 0px);
        }

        [data-theme="dark"] {
            --text: #f5f5f7;
            --muted: #98989f;
            --glass: rgba(40, 42, 54, .5);
            --glass-strong: rgba(44, 46, 60, .78);
            --glass-border: rgba(255, 255, 255, .14);
            --glass-shadow: 0 10px 36px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
            --field: rgba(235, 235, 245, .1);
            --sep: rgba(235, 235, 245, .12);
            --bg-a: #0b1330;
            --bg-b: #1b0f35;
            --bg-c: #2a1218;
        }

        * {
            -webkit-tap-highlight-color: transparent
        }

        html {
            scroll-behavior: smooth
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
            color: var(--text);
            background: linear-gradient(135deg, var(--bg-a), var(--bg-b) 55%, var(--bg-c)) fixed;
            min-height: 100vh;
            letter-spacing: -.011em;
            overflow-x: hidden;
            transition: background .4s, color .3s;
        }

        .bg-blobs span {
            position: fixed;
            border-radius: 50%;
            filter: blur(80px);
            opacity: .55;
            z-index: -1;
            animation: float 18s ease-in-out infinite
        }

        .bg-blobs span:nth-child(1) {
            width: 420px;
            height: 420px;
            background: #4da3ff;
            top: -120px;
            left: -100px
        }

        .bg-blobs span:nth-child(2) {
            width: 380px;
            height: 380px;
            background: #c78bff;
            bottom: -120px;
            right: -80px;
            animation-delay: -6s
        }

        .bg-blobs span:nth-child(3) {
            width: 300px;
            height: 300px;
            background: #ffb68a;
            top: 40%;
            left: 45%;
            animation-delay: -12s;
            opacity: .35
        }

        [data-theme="dark"] .bg-blobs span {
            opacity: .3
        }

        @keyframes float {

            0%,
            100% {
                transform: translate(0, 0) scale(1)
            }

            50% {
                transform: translate(40px, 30px) scale(1.12)
            }
        }

        /* ---------- Glass ---------- */
        .glass,
        .glass-modal,
        .glass-menu {
            background: var(--glass);
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
            -webkit-backdrop-filter: blur(30px) saturate(180%);
            backdrop-filter: blur(30px) saturate(180%);
        }

        .glass {
            border-radius: var(--r-lg)
        }

        .glass-modal {
            border-radius: 30px;
            background: var(--glass-strong);
            color: var(--text)
        }

        .glass-menu {
            border-radius: 22px;
            background: var(--glass-strong);
            color: var(--text)
        }

        .glass-tint {
            background: linear-gradient(135deg, rgba(10, 132, 255, .92), rgba(94, 92, 230, .92));
            color: #fff;
            border: 1px solid rgba(255, 255, 255, .35);
            box-shadow: 0 14px 40px rgba(10, 132, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .45);
            border-radius: var(--r-lg);
        }

        .text-muted-ios {
            color: var(--muted)
        }

        .link-accent {
            color: var(--accent);
            text-decoration: none
        }

        .link-accent:hover {
            opacity: .8
        }

        .min-w-0 {
            min-width: 0
        }

        /* ---------- Brand ---------- */
        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 1.25rem
        }

        .brand-logo {
            width: 40px;
            height: 40px;
            border-radius: 13px;
            display: grid;
            place-items: center;
            color: #fff;
            font-size: 1.25rem;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            box-shadow: 0 6px 16px rgba(10, 132, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .5)
        }

        .brand-logo.sm {
            width: 36px;
            height: 36px;
            font-size: 1.1rem
        }

        /* ---------- Auth ---------- */
        .auth-wrap {
            min-height: 100vh;
            display: grid;
            place-items: center;
            padding: 20px
        }

        .auth-card {
            width: 100%;
            max-width: 420px;
            padding: 34px 28px;
            animation: pop .5s cubic-bezier(.2, .9, .3, 1.2)
        }

        .auth-title {
            font-size: 1.75rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 6px
        }

        @keyframes pop {
            from {
                opacity: 0;
                transform: scale(.94) translateY(14px)
            }

            to {
                opacity: 1;
                transform: none
            }
        }

        /* ---------- Fields ---------- */
        .field {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--field);
            border-radius: 16px;
            padding: 0 14px;
            height: 50px;
            margin-bottom: 12px;
            transition: box-shadow .2s, background .2s
        }

        .field:focus-within {
            box-shadow: 0 0 0 3px rgba(10, 132, 255, .35);
            background: var(--glass-strong)
        }

        .field i {
            color: var(--muted);
            font-size: 1.05rem
        }

        .field input {
            flex: 1;
            border: 0;
            background: transparent;
            outline: 0;
            color: var(--text);
            font-size: 1rem;
            min-width: 0;
            height: 100%
        }

        .field input::placeholder {
            color: var(--muted)
        }

        .field .eye {
            border: 0;
            background: none;
            color: var(--muted);
            padding: 4px
        }

        .row .field {
            margin-bottom: 0
        }

        .lbl {
            font-size: .8rem;
            color: var(--muted);
            margin: 0 0 6px 6px;
            display: block
        }

        .form-switch .form-check-input.ios-switch {
            width: 3.1em;
            height: 1.8em;
            cursor: pointer;
            background-color: rgba(120, 120, 128, .32);
            border: 0;
            box-shadow: none !important
        }

        .form-switch .form-check-input.ios-switch:checked {
            background-color: var(--green)
        }

        /* ---------- Buttons ---------- */
        .btn-ios {
            background: linear-gradient(180deg, #2e96ff, var(--accent));
            color: #fff;
            border: 0;
            border-radius: 999px;
            height: 50px;
            font-weight: 600;
            box-shadow: 0 8px 20px rgba(10, 132, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .4);
            transition: transform .15s, filter .2s;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .btn-ios:hover {
            color: #fff;
            filter: brightness(1.07)
        }

        .btn-ios:active {
            transform: scale(.97)
        }

        .btn-ios-soft {
            background: var(--glass-strong);
            color: var(--accent);
            border: 1px solid var(--glass-border);
            border-radius: 999px;
            font-weight: 600;
            padding: 10px 18px
        }

        .btn-ios-soft:hover {
            color: var(--accent);
            filter: brightness(.97)
        }

        .btn-sm-ios {
            height: 38px;
            /* padding: 0 18px; */
            font-size: .9rem
        }

        .icon-btn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            border: 1px solid var(--glass-border);
            background: var(--glass-strong);
            color: var(--text);
            font-size: 1.05rem;
            transition: transform .15s
        }

        .icon-btn:active {
            transform: scale(.9)
        }

        .dot {
            position: absolute;
            top: 9px;
            right: 10px;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--red);
            border: 2px solid var(--glass-strong)
        }

        /* ---------- Segmented ---------- */
        .segmented {
            display: inline-flex;
            gap: 2px;
            background: var(--field);
            padding: 3px;
            border-radius: 14px;
            max-width: 100%
        }

        .segmented.scroll-x {
            overflow-x: auto;
            scrollbar-width: none;
            display: flex
        }

        .segmented.scroll-x::-webkit-scrollbar {
            display: none
        }

        .segmented button {
            border: 0;
            background: transparent;
            color: var(--text);
            padding: 8px 16px;
            border-radius: 11px;
            font-size: .92rem;
            font-weight: 500;
            white-space: nowrap;
            transition: all .25s
        }

        .segmented button.active {
            background: var(--glass-strong);
            box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
            font-weight: 600
        }

        #authTabs {
            display: flex
        }

        #authTabs button {
            flex: 1
        }

        /* ---------- Layout ---------- */
        .sidebar {
            position: fixed;
            top: 16px;
            left: 16px;
            bottom: 16px;
            width: var(--sidebar-w);
            padding: 22px 16px;
            display: none;
            flex-direction: column;
            z-index: 20
        }

        .main {
            min-height: 100vh
        }

        .topbar {
            position: sticky;
            top: 12px;
            margin: 12px 12px 0;
            padding: 10px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            z-index: 15;
            border-radius: 999px
        }

        .content {
            padding: 16px 12px calc(120px + var(--safe-b))
        }

        .search {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--field);
            border-radius: 999px;
            padding: 0 16px;
            height: 42px;
            width: 100%;
            max-width: 380px
        }

        .search input {
            border: 0;
            background: transparent;
            outline: 0;
            color: var(--text);
            width: 100%
        }

        .search i {
            color: var(--muted)
        }

        .page-title {
            font-size: 1.15rem;
            font-weight: 700
        }

        .page-h {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: -.03em;
            margin: 0
        }

        .view-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            gap: 12px;
            margin-bottom: 18px;
            padding: 6px 4px 0
        }

        .section-title {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 14px
        }

        .view {
            display: none;
            animation: fade .4s ease
        }

        .view.active {
            display: block
        }

        @keyframes fade {
            from {
                opacity: 0;
                transform: translateY(10px)
            }

            to {
                opacity: 1;
                transform: none
            }
        }

        @media(min-width:992px) {
            .sidebar {
                display: flex
            }

            .main {
                margin-left: calc(var(--sidebar-w) + 32px)
            }

            .topbar {
                margin: 16px 20px 0 0
            }

            .content {
                padding: 22px 20px 40px 0
            }

            .tabbar {
                display: none !important
            }

            .search {
                max-width: 420px
            }
        }

        @media(max-width:575.98px) {
            .page-h {
                font-size: 1.65rem
            }

            .glass {
                border-radius: 24px
            }

            .topbar {
                margin: calc(8px + env(safe-area-inset-top, 0px)) 10px 0
            }

            .content {
                padding-inline: 10px
            }
        }

        /* ---------- Sidebar nav ---------- */
        .side-nav {
            display: flex;
            flex-direction: column;
            gap: 4px
        }

        .side-nav a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 16px;
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            transition: all .2s
        }

        .side-nav a i {
            font-size: 1.15rem;
            color: var(--muted);
            transition: color .2s
        }

        .side-nav a:hover {
            background: var(--field)
        }

        .side-nav a.active {
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            color: #fff;
            box-shadow: 0 8px 20px rgba(10, 132, 255, .35)
        }

        .side-nav a.active i {
            color: #fff
        }

        .side-card {
            background: linear-gradient(135deg, #ff9f0a, #ff375f);
            color: #fff;
            border-radius: 22px;
            padding: 18px;
            box-shadow: 0 10px 24px rgba(255, 55, 95, .3)
        }

        /* ---------- Tabbar (floating pill) ---------- */
        .tabbar {
            position: fixed;
            left: 50%;
            transform: translateX(-50%);
            bottom: calc(14px + var(--safe-b));
            width: min(94vw, 520px);
            display: flex;
            justify-content: space-around;
            padding: 8px;
            border-radius: 999px;
            z-index: 30
        }

        .tabbar a {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            padding: 7px 2px;
            border-radius: 999px;
            color: var(--muted);
            text-decoration: none;
            font-size: .66rem;
            font-weight: 600;
            transition: all .3s
        }

        .tabbar a i {
            font-size: 1.25rem
        }

        .tabbar a.active {
            color: var(--accent);
            background: var(--field)
        }

        .tabbar a span {
            white-space: nowrap
        }

        /* ---------- Avatar / chips ---------- */
        .avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            color: #fff;
            font-weight: 700;
            text-decoration: none;
            background: linear-gradient(135deg, #ff9f0a, #ff375f);
            box-shadow: 0 4px 12px rgba(255, 55, 95, .35)
        }

        .avatar.xl {
            width: 96px;
            height: 96px;
            font-size: 2rem
        }

        .chip {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 999px;
            background: var(--field);
            font-size: .8rem;
            font-weight: 600
        }

        .chip-accent {
            background: rgba(10, 132, 255, .14);
            color: var(--accent)
        }

        .badge-ios {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 4px 10px;
            border-radius: 999px;
            font-size: .76rem;
            font-weight: 600
        }

        .b-paid,
        .b-done {
            background: rgba(48, 209, 88, .16);
            color: #1f9d43
        }

        .b-pending,
        .b-upcoming {
            background: rgba(255, 159, 10, .18);
            color: #c77700
        }

        .b-failed {
            background: rgba(255, 69, 58, .16);
            color: #d92d20
        }

        .b-refunded,
        .b-practice {
            background: rgba(10, 132, 255, .14);
            color: var(--accent)
        }

        [data-theme="dark"] .b-paid,
        [data-theme="dark"] .b-done {
            color: #5fe08a
        }

        [data-theme="dark"] .b-pending,
        [data-theme="dark"] .b-upcoming {
            color: #ffc15a
        }

        [data-theme="dark"] .b-failed {
            color: #ff7a70
        }

        /* ---------- Dashboard ---------- */
        .hero {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 28px
        }

        .hero-title {
            font-size: clamp(1.5rem, 4vw, 2.2rem);
            font-weight: 800;
            letter-spacing: -.03em;
            margin: 4px 0 8px
        }

        .ring {
            --p: 68;
            width: 116px;
            height: 116px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: conic-gradient(#fff calc(var(--p)*1%), rgba(255, 255, 255, .28) 0)
        }

        .ring span {
            width: 88px;
            height: 88px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            font-size: 1.5rem;
            font-weight: 800;
            background: #3b7bf0
        }

        @media(max-width:575.98px) {
            .hero {
                padding: 22px
            }

            .ring {
                width: 84px;
                height: 84px
            }

            .ring span {
                width: 64px;
                height: 64px;
                font-size: 1.1rem
            }
        }

        .stat {
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            height: 100%
        }

        .stat .ico {
            width: 42px;
            height: 42px;
            border-radius: 13px;
            display: grid;
            place-items: center;
            color: #fff;
            font-size: 1.2rem
        }

        .stat b {
            font-size: 1.65rem;
            line-height: 1;
            font-weight: 800;
            letter-spacing: -.03em
        }

        .stat small {
            color: var(--muted)
        }

        .bars {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 10px;
            height: 200px
        }

        .bar {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            height: 100%;
            justify-content: flex-end
        }

        .bar i {
            display: block;
            width: 100%;
            max-width: 38px;
            border-radius: 12px 12px 8px 8px;
            background: linear-gradient(180deg, var(--teal), var(--accent));
            height: 0;
            transition: height .9s cubic-bezier(.2, .9, .3, 1.1)
        }

        .bar.today i {
            background: linear-gradient(180deg, #ff9f0a, #ff375f)
        }

        .bar small {
            color: var(--muted);
            font-size: .75rem
        }

        .bar em {
            font-style: normal;
            font-size: .72rem;
            font-weight: 600
        }

        .list-ios {
            display: flex;
            flex-direction: column
        }

        .row-ios {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 13px 14px;
            border: 0;
            background: transparent;
            color: inherit;
            border-bottom: 1px solid var(--sep);
            text-decoration: none
        }

        .list-ios>.row-ios:last-child {
            border-bottom: 0
        }

        button.row-ios:active {
            background: var(--field)
        }

        .ico {
            width: 36px;
            height: 36px;
            border-radius: 11px;
            display: grid;
            place-items: center;
            color: #fff;
            flex: none
        }

        .bg-ios-blue {
            background: linear-gradient(135deg, #40a9ff, #0a84ff)
        }

        .bg-ios-green {
            background: linear-gradient(135deg, #5fe08a, #30d158)
        }

        .bg-ios-orange {
            background: linear-gradient(135deg, #ffb340, #ff9f0a)
        }

        .bg-ios-red {
            background: linear-gradient(135deg, #ff6b60, #ff453a)
        }

        .bg-ios-purple {
            background: linear-gradient(135deg, #8e8cff, #5e5ce6)
        }

        .bg-ios-pink {
            background: linear-gradient(135deg, #ff6b8b, #ff375f)
        }

        .row-ios .t {
            font-weight: 600;
            line-height: 1.25
        }

        .row-ios .s {
            font-size: .82rem;
            color: var(--muted)
        }

        /* ---------- Course card ---------- */
        .course {
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
            cursor: pointer;
            transition: transform .25s, box-shadow .25s
        }

        .course:hover {
            transform: translateY(-5px)
        }

        .course:active {
            transform: scale(.98)
        }

        .c-cover {
            height: 132px;
            position: relative;
            display: grid;
            place-items: center;
            font-size: 3rem;
            color: #fff
        }

        .c-cover .tag {
            position: absolute;
            top: 12px;
            left: 12px;
            font-size: .72rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .28);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px)
        }

        .c-body {
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            flex: 1
        }

        .c-title {
            font-weight: 700;
            font-size: 1.02rem;
            line-height: 1.3;
            margin: 0
        }

        .c-meta {
            font-size: .82rem;
            color: var(--muted);
            display: flex;
            flex-wrap: wrap;
            gap: 4px 12px
        }

        .prog {
            height: 7px;
            border-radius: 99px;
            background: var(--field);
            overflow: hidden
        }

        .prog>span {
            display: block;
            height: 100%;
            border-radius: 99px;
            background: linear-gradient(90deg, var(--teal), var(--accent));
            transition: width .8s
        }

        .prog.green>span {
            background: linear-gradient(90deg, #8af0a8, var(--green))
        }

        .lesson {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 4px;
            border-bottom: 1px solid var(--sep)
        }

        .lesson:last-child {
            border: 0
        }

        .lesson .n {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: var(--field);
            font-size: .8rem;
            font-weight: 700;
            flex: none
        }

        .lesson.done .n {
            background: var(--green);
            color: #fff
        }

        /* ---------- Table ---------- */
        .table-ios {
            --bs-table-bg: transparent;
            --bs-table-color: var(--text);
            --bs-table-border-color: var(--sep)
        }

        .table-ios th {
            color: var(--muted);
            font-weight: 600;
            font-size: .8rem;
            text-transform: uppercase;
            letter-spacing: .04em;
            border-bottom: 1px solid var(--sep);
            padding: 12px
        }

        .table-ios td {
            padding: 14px 12px;
            border-color: var(--sep)
        }

        .table-ios tbody tr {
            transition: background .2s;
            cursor: pointer
        }

        .table-ios tbody tr:hover {
            background: var(--field)
        }

        .amount {
            font-weight: 700;
            font-variant-numeric: tabular-nums
        }

        /* ---------- Exam ---------- */
        .exam {
            padding: 20px;
            height: 100%;
            display: flex;
            flex-direction: column;
            gap: 12px
        }

        .exam .score {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: -.03em
        }

        .option {
            display: flex;
            gap: 12px;
            align-items: center;
            padding: 14px 16px;
            border-radius: 16px;
            background: var(--field);
            margin-bottom: 10px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all .2s
        }

        .option:hover {
            background: var(--glass-strong)
        }

        .option.sel {
            border-color: var(--accent);
            background: rgba(10, 132, 255, .12)
        }

        .option.ok {
            border-color: var(--green);
            background: rgba(48, 209, 88, .14)
        }

        .option.bad {
            border-color: var(--red);
            background: rgba(255, 69, 58, .12)
        }

        .timer {
            font-variant-numeric: tabular-nums;
            font-weight: 700;
            padding: 6px 14px;
            border-radius: 999px;
            background: rgba(255, 159, 10, .18);
            color: #c77700
        }

        /* ---------- Misc ---------- */
        .mini-stat {
            background: var(--field);
            border-radius: 16px;
            padding: 12px 4px
        }

        .mini-stat b {
            display: block;
            font-size: 1.3rem
        }

        .mini-stat small {
            color: var(--muted)
        }

        .empty {
            text-align: center;
            padding: 60px 20px;
            color: var(--muted)
        }

        .empty i {
            font-size: 3rem
        }

        .notif {
            display: flex;
            gap: 12px;
            align-items: center;
            border-radius: 14px;
            padding: 10px;
            color: var(--text);
            white-space: normal
        }

        .notif i {
            font-size: 1.4rem
        }

        .notif small {
            display: block;
            color: var(--muted)
        }

        .dropdown-item:hover,
        .dropdown-item:focus {
            background: var(--field);
            color: var(--text)
        }

        .modal-backdrop.show {
            opacity: .35;
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px)
        }

        .modal.fade .modal-dialog {
            transform: scale(.92) translateY(20px);
            transition: transform .35s cubic-bezier(.2, .9, .3, 1.2)
        }

        .modal.show .modal-dialog {
            transform: none
        }

        @media(max-width:575.98px) {
            .modal-dialog {
                margin: 0;
                align-items: flex-end !important;
                min-height: 100%
            }

            .modal-content.glass-modal {
                border-radius: 30px 30px 0 0;
                padding-bottom: var(--safe-b)
            }

            .modal.fade .modal-dialog {
                /* transform: translateY(100%) */
            }
        }

        .toast-wrap {
            position: fixed;
            top: calc(16px + env(safe-area-inset-top, 0px));
            left: 50%;
            transform: translateX(-50%);
            z-index: 2000;
            pointer-events: none
        }

        .toast-ios {
            background: var(--glass-strong);
            border: 1px solid var(--glass-border);
            -webkit-backdrop-filter: blur(24px);
            backdrop-filter: blur(24px);
            padding: 12px 20px;
            border-radius: 999px;
            box-shadow: var(--glass-shadow);
            font-weight: 600;
            opacity: 0;
            transform: translateY(-20px);
            transition: all .35s;
            white-space: nowrap
        }

        .toast-ios.show {
            opacity: 1;
            transform: none
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(120, 120, 128, .35);
            border-radius: 8px
        }

        @media(prefers-reduced-motion:reduce) {
            * {
                animation: none !important;
                transition: none !important
            }
        }