        @font-face {
            font-family: 'Vazirmatn';
            src: url('/assets/fonts/Vazirmatn/Vazirmatn%5Bwght%5D.woff2') format('woff2');
            font-weight: 100 900; font-style: normal; font-display: swap;
        }

        /* ============================================================
           TOKENS — palette drawn from Kermanshah's own materials:
           Bisotun limestone at dusk, saffron & pomegranate markets,
           and the parchment tone of the Taq-e Bostan reliefs.
           ============================================================ */
        :root{
            --bg-deep:#101E22;
            --bg-deep2:#152D33;
            --bg-deep3:#1B3940;
            --paper:#F6EFDD;
            --paper-dim:#EAE1C8;
            --amber:#F2A93B;
            --amber-soft:#F7C878;
            --coral:#E1613F;
            --coral-soft:#F08B6C;
            --teal-bright:#4FB3A0;
            --teal-soft:#7FD1C1;
            --ink:#12242A;
            --muted:#9FB0AF;
            --muted-dim:#66797E;
            --line:rgba(246,239,221,0.10);
            --line-strong:rgba(246,239,221,0.18);

            --primary-container:rgba(242,169,59,0.16);
            --on-primary-container:var(--amber-soft);
            --surface:var(--bg-deep2);
            --surface-high:var(--bg-deep3);
            --outline:var(--line);
            --elev1:0 1px 3px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.3);
            --elev2:0 14px 30px -12px rgba(0,0,0,0.55);
            --elev3:0 26px 54px -18px rgba(0,0,0,0.6);

            --safe-t:env(safe-area-inset-top,0px);
            --safe-b:env(safe-area-inset-bottom,0px);
            --appbar-h:58px;
            --bottomnav-h:64px;
        }

        *{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
        html{scroll-behavior:smooth;}
        html, body{height:100%;overscroll-behavior:none;}
        body{
            font-family:'Vazirmatn', Tahoma, sans-serif;
            background:var(--bg-deep);
            color:var(--paper);
            line-height:1.8;
        }
        html.superapp-modal-open,
        body.superapp-modal-open{
            overflow:hidden;
        }
        .superapp-modal-open .app-content{
            overflow:hidden;
        }
        a{color:inherit;text-decoration:none;}
        button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
        svg{display:block;}
        ::selection{background:var(--amber);color:var(--ink);}
        :focus-visible{outline:2px solid var(--amber-soft);outline-offset:2px;border-radius:8px;}

        /* ---------- بستر پیش‌نمایش دسکتاپ ---------- */
        .frame-outer{
            min-height:100vh;
            min-height:100dvh;
            display:flex;align-items:center;justify-content:center;
            padding:48px 20px;
            background:
                    radial-gradient(900px 520px at 12% -10%, rgba(242,169,59,0.08), transparent 60%),
                    radial-gradient(700px 500px at 100% 0%, rgba(79,179,160,0.08), transparent 55%),
                    var(--bg-deep);
        }
        .frame-caption{
            position:fixed;top:22px;left:50%;transform:translateX(-50%);
            font-size:12.5px;color:var(--muted-dim);
            display:flex;align-items:center;gap:8px;z-index:5;
        }
        .frame-caption a{color:var(--amber-soft);font-weight:700;}

        .phone-frame{
            position:relative;width:390px;padding:14px 12px;
            border-radius:46px;
            background:linear-gradient(160deg,#0a1618,#1a373e);
            box-shadow:var(--elev3), inset 0 0 0 1px rgba(246,239,221,0.06);
        }
        .phone-frame::before{
            content:"";position:absolute;top:26px;left:50%;transform:translateX(-50%);
            width:9px;height:9px;border-radius:50%;
            background:#04100f;box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06);
            z-index:6;
        }
        .app-shell{
            position:relative;width:100%;height:800px;
            border-radius:32px;overflow:hidden;
            background:var(--bg-deep);
            display:flex;flex-direction:column;
            box-shadow:inset 0 0 0 1px rgba(246,239,221,0.05);
        }
        .launch-splash{
            position:absolute;inset:0;z-index:40;
            display:flex;flex-direction:column;align-items:center;justify-content:center;
            padding:calc(var(--safe-t) + 32px) 28px calc(var(--safe-b) + 42px);
            background:
                    linear-gradient(180deg, rgba(16,30,34,0.98), rgba(12,24,27,0.99)),
                    var(--bg-deep);
            color:var(--paper);
            text-align:center;
            transition:opacity .58s ease, transform .58s ease, visibility .58s ease;
        }
        .launch-splash::before{
            content:"";position:absolute;inset:18px;
            border:1px solid rgba(246,239,221,0.07);
            border-radius:28px;
            pointer-events:none;
        }
        .launch-splash.is-done{
            opacity:0;visibility:hidden;transform:scale(1.015);
        }
        .launch-mark{
            position:relative;width:96px;height:96px;
            display:flex;align-items:center;justify-content:center;
            margin-bottom:22px;
        }
        .launch-mark img{
            width:76px;height:76px;border-radius:50%;object-fit:cover;position:relative;z-index:2;
            box-shadow:
                    0 16px 34px rgba(0,0,0,0.36),
                    0 0 0 1px rgba(246,239,221,0.12);
        }
        .launch-ring{
            position:absolute;inset:0;border-radius:50%;
            border:2px solid rgba(246,239,221,0.1);
            border-top-color:var(--amber-soft);
            border-left-color:var(--teal-soft);
            animation:loader-orbit 1.1s linear infinite;
        }
        .launch-copy{
            position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;
            gap:7px;max-width:280px;
        }
        .launch-kicker{
            font-size:11px;font-weight:700;color:var(--teal-soft);
            opacity:.78;
        }
        .launch-copy strong{
            font-size:22px;font-weight:900;line-height:1.55;
        }
        .launch-loader{
            display:none;
        }
        .launch-loader span{
            display:none;
        }
        .launch-progress{
            position:relative;z-index:2;width:150px;height:4px;margin-top:24px;
            overflow:hidden;border-radius:999px;background:rgba(246,239,221,0.1);
        }
        .launch-progress span{
            position:absolute;inset:0 auto 0 0;width:42%;
            border-radius:inherit;
            background:linear-gradient(90deg, var(--teal-soft), var(--amber-soft));
            animation:launch-load 1.35s ease-in-out infinite;
        }
        .launch-server-unavailable{
            position:relative;z-index:3;display:none;width:min(320px,100%);
            margin-top:24px;padding:16px;border-radius:18px;
            background:linear-gradient(135deg, rgba(225,97,63,0.15), rgba(225,97,63,0.07));
            border:1px solid rgba(225,97,63,0.34);
            box-shadow:0 18px 42px -30px rgba(0,0,0,0.9);
        }
        .launch-server-unavailable.is-visible{
            display:flex;flex-direction:column;align-items:center;gap:8px;
        }
        .launch-server-unavailable b{
            font-size:15px;font-weight:950;color:var(--coral-soft);
        }
        .launch-server-unavailable span{
            max-width:260px;font-size:12px;font-weight:800;line-height:1.9;color:var(--paper);
        }
        .launch-server-unavailable button{
            min-height:40px;margin-top:4px;padding:0 18px;border-radius:999px;
            background:var(--amber-soft);color:var(--ink);font-size:12px;font-weight:950;
            box-shadow:0 14px 26px -20px rgba(242,169,59,0.85);
        }
        .launch-splash.is-server-unavailable .launch-progress{
            display:none;
        }
        @keyframes launch-load{
            0%{transform:translateX(-120%);}
            100%{transform:translateX(250%);}
        }
        @keyframes loader-orbit{
            to{transform:rotate(360deg);}
        }
        @media (prefers-reduced-motion: reduce){
            .launch-ring,.launch-progress span{animation:none;}
            .launch-splash{transition:opacity .2s ease, visibility .2s ease;}
        }
        @media (max-width:759px){
            .frame-outer{padding:0;min-height:auto;display:block;}
            .frame-caption{display:none;}
            .phone-frame{width:100%;padding:0;border-radius:0;background:none;box-shadow:none;}
            .phone-frame::before{display:none;}
            .app-shell{
                width:100%;
                height:100vh;
                height:100dvh;
                height:calc(var(--app-vh, 1vh) * 100);
                border-radius:0;
                position:fixed;inset:0;
            }
            .quick-row{display:flex;}
        }

        /* ---------- نوار بالای اپ ---------- */
        .app-bar{
            height:calc(var(--appbar-h) + var(--safe-t));
            padding-top:var(--safe-t);
            flex-shrink:0;display:flex;align-items:center;gap:8px;
            padding-left:14px;padding-right:14px;
            background:var(--bg-deep);
            position:relative;z-index:2;
        }
        .icon-btn{
            width:40px;height:40px;border-radius:13px;flex-shrink:0;
            display:flex;align-items:center;justify-content:center;
            position:relative;overflow:hidden;
            background:rgba(246,239,221,0.05);
            border:1px solid var(--line);
            transition:background .15s ease, border-color .15s ease;
        }
        .icon-btn:hover{background:rgba(246,239,221,0.09);border-color:var(--line-strong);}
        .icon-btn svg{width:18px;height:18px;stroke:var(--paper);}
        .icon-btn.notif{
            position:relative;isolation:isolate;
            border-color:rgba(247,200,120,.34);
            background:
                radial-gradient(circle at 70% 20%,rgba(255,255,255,.12),transparent 28%),
                linear-gradient(145deg,rgba(242,169,59,.17),rgba(79,179,160,.09));
            box-shadow:0 10px 24px -17px rgba(242,169,59,.9),inset 0 1px rgba(255,255,255,.08);
        }
        .icon-btn.notif::before{
            content:"";position:absolute;inset:5px;z-index:-1;border-radius:10px;
            border:1px solid rgba(247,200,120,.26);opacity:.35;
            animation:home-notif-aura 3.8s ease-out infinite;
        }
        .icon-btn.notif::after{
            content:"";position:absolute;inset:-35%;z-index:-1;
            background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.16) 49%,transparent 60%);
            transform:translateX(72%) rotate(8deg);animation:home-notif-sheen 6.4s ease-in-out infinite;
        }
        .icon-btn.notif:hover{
            border-color:rgba(247,200,120,.56);
            background:linear-gradient(145deg,rgba(242,169,59,.24),rgba(79,179,160,.12));
            box-shadow:0 12px 28px -16px rgba(242,169,59,.95),inset 0 1px rgba(255,255,255,.12);
        }
        .icon-btn.notif svg{
            position:relative;z-index:1;width:18px;height:18px;stroke:var(--amber-soft);
            filter:drop-shadow(0 2px 5px rgba(242,169,59,.34));transform-origin:50% 12%;
            animation:home-notif-bell 3.2s ease-in-out infinite;
        }
        .icon-btn.notif.has-unread{box-shadow:0 12px 29px -15px rgba(242,169,59,1),0 0 0 1px rgba(242,169,59,.07),inset 0 1px rgba(255,255,255,.1);}
        .app-bar .account{display:none;}
        .notif-badge{
            position:absolute;top:5px;left:5px;min-width:15px;height:15px;padding:0 3px;
            border-radius:999px;background:var(--coral);color:var(--paper);
            font-size:9px;font-weight:800;line-height:15px;text-align:center;
            box-shadow:0 0 0 2px var(--bg-deep);
        }
        .notif-badge:empty,.notif-badge[data-count="0"]{display:none;}
        .brand{flex:1;display:flex;align-items:center;gap:9px;padding:0 2px;min-width:0;}
        .brand-logo{
            width:32px;height:32px;border-radius:10px;flex-shrink:0;object-fit:cover;
            box-shadow:0 3px 10px -2px rgba(0,0,0,0.45), 0 0 0 1px var(--line);
        }
        .brand-logo:not([src]),.brand-logo.hidden{display:none;}
        .brand-text{display:flex;flex-direction:column;gap:1px;min-width:0;}
        .brand-text b{font-size:15.5px;font-weight:800;letter-spacing:.2px;}
        .brand-text span{font-size:10.5px;color:var(--muted-dim);font-weight:600;}

        /* ---------- محتوای قابل اسکرول ---------- */
        .app-content{
            position:relative;flex:1;min-height:0;overflow-y:auto;
            -webkit-overflow-scrolling:touch;
            overscroll-behavior:contain;
            padding:2px 16px calc(var(--bottomnav-h) + var(--safe-b) + 28px);
            scrollbar-width:none;
        }
        .app-content::-webkit-scrollbar{display:none;}

        /* Bisotun ridge motif — a quiet nod to the mountain relief the
           city is named for, used once as the page's signature device. */
        .ridge-band{
            position:relative;height:108px;margin:0 -16px 6px;overflow:hidden;
            z-index:0;
        }
        .ridge-band svg{position:absolute;bottom:0;left:0;width:100%;height:100%;}
        .ridge-band .g-amber{position:absolute;width:240px;height:240px;border-radius:50%;
            filter:blur(64px);top:-90px;right:-60px;background:rgba(242,169,59,0.16);}
        .ridge-band .g-teal{position:absolute;width:200px;height:200px;border-radius:50%;
            filter:blur(58px);bottom:-70px;left:-50px;background:rgba(79,179,160,0.14);}

        .greeting{position:relative;z-index:1;margin:-40px 0 16px;}
        .greeting .eyebrow{
            display:inline-flex;align-items:center;gap:6px;
            font-size:10.5px;font-weight:700;color:var(--amber-soft);
            letter-spacing:.3px;margin-bottom:6px;
        }
        .greeting .eyebrow::before{content:"";width:14px;height:1.5px;background:var(--amber-soft);border-radius:2px;}
        .greeting h1{font-size:21px;font-weight:800;margin-bottom:3px;}
        .greeting p{font-size:12.5px;color:var(--muted);}
        .greeting .coverage-line{
            display:flex;align-items:center;gap:6px;
            margin-top:8px;font-size:11px;font-weight:600;color:var(--teal-soft);
        }
        .greeting .coverage-line svg{width:13px;height:13px;stroke:var(--teal-soft);flex-shrink:0;}
        /* ---------- ردیف دسترسی سریع ---------- */
        .quick-row{
            position:relative;z-index:1;
            display:flex;gap:8px;overflow-x:auto;margin:14px 0 20px;
            scrollbar-width:none;padding-bottom:2px;
        }
        .quick-row::-webkit-scrollbar{display:none;}
        .quick-badge{
            flex-shrink:0;display:flex;align-items:center;gap:6px;
            padding:8px 12px;border-radius:999px;
            background:rgba(246,239,221,0.055);border:1px solid var(--line);
            font-size:12px;font-weight:700;color:var(--paper-dim);
            cursor:default;user-select:none;white-space:nowrap;
        }
        .quick-badge svg{width:14px;height:14px;stroke:var(--teal-soft);flex-shrink:0;}
        .quick-badge-muted{color:var(--muted);background:rgba(127,209,193,0.08);border-color:rgba(127,209,193,0.16);}

        .section-label{
            position:relative;z-index:1;
            font-size:12.5px;font-weight:800;color:var(--paper-dim);
            margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;
        }
        .section-label span.count{font-size:10.5px;font-weight:700;color:var(--muted-dim);}

        .service-group + .service-group{margin-top:24px;}

        /* ---------- گرید کارت‌ها ---------- */
        .card-grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:12px;}

        .card{
            position:relative;overflow:hidden;
            border-radius:20px;border:1px solid var(--outline);
            background:linear-gradient(165deg, var(--surface) 0%, var(--surface-high) 140%);
            box-shadow:var(--elev1);
            padding:17px 15px;
            display:flex;flex-direction:column;gap:12px;
            opacity:0;transform:translateY(14px) scale(.98);
            animation:card-in .6s cubic-bezier(.16,1,.3,1) forwards;
            transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
        }
        .card::before{
            content:"";position:absolute;inset:0 0 auto 0;height:1px;
            background:linear-gradient(90deg, transparent, rgba(246,239,221,0.16), transparent);
        }
        .card:hover{border-color:var(--line-strong);}
        .card:active{transform:scale(.965);}
        @keyframes card-in{to{opacity:1;transform:none;}}
        .card:nth-child(1){animation-delay:.02s;}
        .card:nth-child(2){animation-delay:.08s;}
        .card:nth-child(3){animation-delay:.14s;}
        .card:nth-child(4){animation-delay:.20s;}
        .card:nth-child(5){animation-delay:.26s;}
        .card:nth-child(6){animation-delay:.32s;}
        .card:nth-child(7){animation-delay:.38s;}
        .card:nth-child(8){animation-delay:.44s;}

        .card.featured{
            align-items:flex-start;gap:12px;
            background:
                    repeating-linear-gradient(115deg, rgba(246,239,221,0.035) 0 2px, transparent 2px 14px),
                    linear-gradient(135deg, rgba(242,169,59,0.22), var(--bg-deep3) 78%);
            border-color:rgba(242,169,59,0.38);
            box-shadow:var(--elev2);
        }
        .card.featured::after{
            content:"";position:absolute;inset:0;
            background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.12) 45%, transparent 60%);
            background-size:250% 100%;background-position:120% 0;
            animation:shine 5s ease-in-out infinite;
            animation-delay:1.2s;
            pointer-events:none;
        }
        .appointment-card{padding:0;}
        .appointment-card-main{
            position:relative;z-index:1;width:100%;min-height:118px;
            display:flex;flex-direction:column;gap:12px;padding:17px 15px 0;
            color:inherit;
        }
        @keyframes shine{
            0%, 62%{background-position:120% 0;}
            100%{background-position:-40% 0;}
        }

        .icon-badge{
            width:50px;height:50px;border-radius:16px;flex-shrink:0;
            display:flex;align-items:center;justify-content:center;
            box-shadow:0 8px 18px -6px rgba(0,0,0,0.4);
        }
        .icon-badge svg{width:23px;height:23px;}
        .card:not(.featured) .icon-badge{width:42px;height:42px;border-radius:13px;}
        .card:not(.featured) .icon-badge svg{width:20px;height:20px;}

        .hue-amber{background:linear-gradient(150deg,var(--amber),var(--coral));}
        .hue-amber svg{stroke:var(--ink);}
        .hue-teal{background:linear-gradient(150deg,var(--teal-bright),#2E8578);}
        .hue-teal svg{stroke:var(--ink);}
        .hue-coral{background:linear-gradient(150deg,var(--coral),#B8432A);}
        .hue-coral svg{stroke:var(--paper);}
        .hue-power{background:linear-gradient(150deg,#F7C878,#7FD1C1);}
        .hue-power svg{stroke:var(--ink);}
        .hue-taxi{background:linear-gradient(150deg,#F7C878,#4FB3A0);}
        .hue-taxi svg{stroke:var(--ink);}

        .power-card{
            text-align:right;
            background:
                    linear-gradient(160deg, rgba(127,209,193,0.13), rgba(242,169,59,0.10)),
                    linear-gradient(165deg, var(--surface) 0%, var(--surface-high) 140%);
            border-color:rgba(127,209,193,0.22);
        }
        .power-card.is-loading{
            cursor:wait;
            border-color:rgba(247,200,120,0.38);
        }
        .power-card.is-loading .card-body{opacity:.78;}
        .power-card .button-spinner{
            position:absolute;top:18px;left:18px;
        }
        .power-card .card-body{
            display:flex;
            flex:1;
            flex-direction:column;
        }
        .power-card .tag.live{
            margin-top:auto;
        }
        .taxi-card{
            background:
                    linear-gradient(160deg, rgba(247,200,120,0.16), rgba(79,179,160,0.11)),
                    linear-gradient(165deg, var(--surface) 0%, var(--surface-high) 140%);
            border-color:rgba(247,200,120,0.25);
        }
        .taxi-card{cursor:pointer;border-color:rgba(127,209,193,.5);box-shadow:0 18px 38px -28px rgba(127,209,193,.9);}
        .car-card{
            text-align:right;
            cursor:pointer;
            background:
                    radial-gradient(circle at 12% 8%,rgba(127,209,193,.18),transparent 42%),
                    linear-gradient(150deg,rgba(79,179,160,.16),rgba(242,169,59,.08)),
                    linear-gradient(165deg,var(--surface) 0%,var(--surface-high) 140%);
            border-color:rgba(127,209,193,.38);
            box-shadow:0 18px 38px -28px rgba(79,179,160,.95);
        }
        .car-card .card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;}
        .car-card .tag{margin-top:auto;}
        .car-card:hover{border-color:rgba(247,200,120,.58);box-shadow:0 22px 42px -28px rgba(127,209,193,.9);}

        .card-body{min-width:0;flex:1;}
        .card b.title{display:block;font-size:14px;font-weight:800;margin-bottom:3px;}
        .card.featured b.title{font-size:14px;}
        .card p.desc{font-size:11.5px;color:var(--muted);}
        .card.featured p.desc{font-size:11.5px;}

        .tag{
            display:inline-flex;align-items:center;gap:5px;
            font-size:10px;font-weight:800;padding:4px 10px;border-radius:999px;
            width:fit-content;margin-top:1px;
        }
        .tag.live{background:var(--teal-bright);color:var(--ink);}
        .tag.live .dot{width:5px;height:5px;border-radius:50%;background:var(--ink);animation:blink 1.8s ease-in-out infinite;}
        @keyframes blink{0%,100%{opacity:1;}50%{opacity:.3;}}
        .tag.soon{background:rgba(246,239,221,0.07);color:var(--muted-dim);}
        .tag.soon svg{width:9px;height:9px;stroke:var(--muted-dim);}

        .card.disabled{cursor:not-allowed;}
        .card.disabled .icon-badge{filter:saturate(.5) brightness(.82);}

        /* ---------- ریپل ---------- */
        .ripple-host{position:relative;overflow:hidden;}
        .ripple{
            position:absolute;border-radius:50%;
            background:rgba(246,239,221,0.26);
            transform:scale(0);opacity:.5;
            animation:ripple-anim .55s ease-out forwards;
            pointer-events:none;
        }
        @keyframes ripple-anim{to{transform:scale(1);opacity:0;}}

        /* ---------- نوار پایین شناور ---------- */
        .bottom-nav-wrap{
            position:fixed;left:14px;right:14px;
            bottom:calc(10px + var(--safe-b));z-index:50;
            pointer-events:none;
        }
        .bottom-nav{
            position:relative;overflow:hidden;
            height:var(--bottomnav-h);
            display:flex;align-items:center;justify-content:space-around;
            background:linear-gradient(180deg, rgba(27,57,64,0.46), rgba(16,30,34,0.58));
            -webkit-backdrop-filter:blur(22px) saturate(1.5);
            backdrop-filter:blur(22px) saturate(1.5);
            border:1px solid rgba(246,239,221,0.14);
            border-radius:22px;
            box-shadow:var(--elev2), 0 0 0 1px rgba(0,0,0,0.2), inset 0 1px 0 rgba(246,239,221,0.16);
            pointer-events:auto;
        }
        .bottom-nav::before{
            content:"";position:absolute;inset:0;pointer-events:none;
            background:linear-gradient(180deg, rgba(246,239,221,0.07), transparent 55%);
        }
        @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
            .bottom-nav{background:rgba(19,38,43,0.94);}
        }
        .nav-pill{
            position:absolute;top:6px;bottom:6px;width:calc(33.333% - 8px);
            border-radius:16px;background:var(--primary-container);
            opacity:0;transform:scale(.92);
            transition:transform .32s cubic-bezier(.2,.9,.25,1),opacity .18s ease;
            z-index:0;
        }
        .bottom-nav.has-active .nav-pill{opacity:1;}
        .nav-item{
            position:relative;z-index:1;overflow:hidden;
            display:flex;flex-direction:column;align-items:center;gap:3px;
            padding:8px 6px;border-radius:16px;width:33.333%;
            min-height:44px;justify-content:center;
        }
        .nav-item svg{width:20px;height:20px;stroke:var(--muted-dim);transition:stroke .2s ease;}
        .nav-item span{font-size:10px;font-weight:700;color:var(--muted-dim);transition:color .2s ease;}
        .nav-item .nav-notif-badge{
            position:absolute;top:5px;left:calc(50% - 20px);
            color:var(--paper);font-size:9px;line-height:15px;
            box-shadow:0 0 0 2px rgba(16,30,34,.9);
        }
        #notifNavBtn{isolation:isolate;}
        #notifNavBtn::before{
            content:"";position:absolute;top:4px;left:50%;width:34px;height:30px;z-index:-1;
            border-radius:12px;transform:translateX(-50%);
            border:1px solid rgba(247,200,120,.2);
            background-color:rgba(242,169,59,.085);
            background-image:radial-gradient(circle at 68% 22%,rgba(255,255,255,.12),transparent 30%);
            box-shadow:0 8px 20px -16px rgba(242,169,59,.9);
            animation:home-nav-notif-aura 3.8s ease-in-out infinite;
        }
        #notifNavBtn svg{
            position:relative;z-index:1;stroke:var(--amber-soft);
            filter:drop-shadow(0 2px 4px rgba(242,169,59,.25));transform-origin:50% 12%;
            animation:home-notif-bell 3.2s ease-in-out infinite;
        }
        #notifNavBtn > span:not(.notif-badge){color:var(--paper-dim);}
        #notifNavBtn.has-unread::before{
            border-color:rgba(247,200,120,.4);background-color:rgba(242,169,59,.14);
            box-shadow:0 9px 22px -14px rgba(242,169,59,.95);
        }
        .nav-item.on svg{stroke:var(--amber-soft);}
        .nav-item.on span{color:var(--amber-soft);}

        /* ---------- دکمه شناور تماس ---------- */
        .fab-call{
            position:fixed;left:20px;
            bottom:calc(var(--bottomnav-h) + var(--safe-b) + 24px);
            width:54px;height:54px;border-radius:50%;z-index:45;
            display:flex;align-items:center;justify-content:center;
            background:linear-gradient(150deg,var(--amber),var(--coral));
            box-shadow:0 10px 24px -8px rgba(225,97,63,0.55), 0 3px 8px -2px rgba(0,0,0,0.35);
            animation:fab-pulse 2.8s ease-in-out infinite;
        }
        .fab-call svg{width:23px;height:23px;stroke:var(--ink);}
        .fab-call:active{transform:scale(.94);}
        @keyframes fab-pulse{
            0%,100%{box-shadow:0 10px 24px -8px rgba(225,97,63,0.55), 0 3px 8px -2px rgba(0,0,0,0.35), 0 0 0 0 rgba(242,169,59,0.35);}
            50%{box-shadow:0 10px 24px -8px rgba(225,97,63,0.55), 0 3px 8px -2px rgba(0,0,0,0.35), 0 0 0 8px rgba(242,169,59,0);}
        }
        @media (prefers-reduced-motion: reduce){.fab-call{animation:none;}}

        .gesture-bar{
            position:fixed;bottom:6px;left:50%;transform:translateX(-50%);
            width:120px;height:4px;border-radius:999px;background:rgba(246,239,221,0.3);z-index:9;
            pointer-events:none;
        }
        @media (max-width:759px){.gesture-bar{bottom:calc(6px + var(--safe-b));}}

        /* ---------- اسنک‌بار ---------- */
        .snackbar{
            position:fixed;left:16px;right:16px;
            bottom:calc(var(--bottomnav-h) + var(--safe-b) + 22px);
            display:flex;align-items:center;gap:10px;
            background:#211D18;color:var(--paper);font-size:12.5px;font-weight:600;
            padding:13px 16px;border-radius:14px;box-shadow:var(--elev2);
            border:1px solid rgba(246,239,221,0.08);
            transform:translateY(24px);opacity:0;pointer-events:none;
            transition:transform .25s cubic-bezier(.2,.8,.3,1), opacity .25s ease;
            z-index:260;
        }
        .snackbar svg{width:16px;height:16px;stroke:var(--amber-soft);flex-shrink:0;}
        .snackbar.show{transform:translateY(0);opacity:1;}

        /* ---------- هشدار کیفیت اتصال ---------- */
        .connection-quality-notice{
            position:fixed;top:calc(var(--safe-t) + 12px);left:50%;z-index:130;
            width:min(430px,calc(100% - 28px));min-height:66px;
            display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;
            padding:10px 11px;border-radius:18px;
            color:var(--paper);
            background:
                    linear-gradient(135deg,rgba(225,97,63,.22),rgba(242,169,59,.10)),
                    rgba(16,30,34,.97);
            border:1px solid rgba(242,169,59,.34);
            box-shadow:0 20px 46px -24px rgba(0,0,0,.9);
            -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
            opacity:0;pointer-events:none;
            transform:translate(-50%,-12px);
            transition:opacity .2s ease,transform .2s ease;
        }
        .connection-quality-notice[hidden]{display:none;}
        .connection-quality-notice.show{opacity:1;pointer-events:auto;transform:translate(-50%,0);}
        .connection-quality-icon{
            width:34px;height:34px;border-radius:12px;
            display:flex;align-items:center;justify-content:center;
            color:var(--ink);background:var(--amber-soft);
            font-size:17px;font-weight:950;
        }
        .connection-quality-copy{display:flex;min-width:0;flex-direction:column;gap:1px;}
        .connection-quality-copy b{font-size:12.5px;font-weight:900;}
        .connection-quality-copy small{font-size:10.5px;line-height:1.75;color:var(--paper-dim);}
        .connection-quality-notice button{
            min-height:36px;padding:0 10px;border-radius:11px;
            color:var(--amber-soft);background:rgba(242,169,59,.08);
            border:1px solid rgba(242,169,59,.18);
            font-size:10.5px;font-weight:850;white-space:nowrap;
        }
        .launch-splash .connection-quality-notice{
            position:relative;top:auto;left:auto;z-index:4;
            width:min(320px,100%);margin-top:18px;
            grid-template-columns:auto minmax(0,1fr);
            text-align:right;transform:translateY(10px);
        }
        .launch-splash .connection-quality-notice.show{
            transform:translateY(0);
        }
        .launch-splash .connection-quality-notice button{
            grid-column:1 / -1;
            justify-self:stretch;
        }

        /* ---------- پنل اعلان‌ها ---------- */
        .notif-overlay{
            position:fixed;inset:0;z-index:90;
            background:rgba(8,14,16,0.55);
            opacity:0;pointer-events:none;
            transition:opacity .22s ease;
        }
        .notif-overlay.show{opacity:1;pointer-events:auto;}
        .notif-sheet{
            position:absolute;left:0;right:0;bottom:0;max-height:78%;
            display:flex;flex-direction:column;
            background:linear-gradient(180deg, var(--bg-deep3), var(--bg-deep2));
            border:1px solid var(--line-strong);border-bottom:none;
            border-radius:24px 24px 0 0;
            box-shadow:0 -18px 40px -14px rgba(0,0,0,0.5);
            transform:translateY(100%);
            transition:transform .3s cubic-bezier(.2,.9,.25,1);
            padding-bottom:calc(var(--safe-b) + 10px);
        }
        .notif-overlay.show .notif-sheet{transform:translateY(0);}
        .notif-sheet-grip{width:38px;height:4px;border-radius:999px;background:var(--line-strong);margin:10px auto 2px;flex-shrink:0;}
        .notif-sheet-head{
            display:flex;align-items:center;justify-content:space-between;
            padding:12px 18px 10px;flex-shrink:0;
        }
        .notif-sheet-head>div{display:grid;gap:2px;}
        .notif-sheet-head b{font-size:14.5px;font-weight:800;}
        .notif-sheet-head small{color:var(--muted-dim);font-size:9.5px;font-weight:650;}
        .notif-mark-all{font-size:11.5px;font-weight:700;color:var(--teal-soft);padding:6px 4px;}
        .notif-mark-all:disabled{opacity:.42;cursor:default;}
        .push-permission-card{
            position:relative;isolation:isolate;overflow:hidden;
            display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;
            margin:0 14px 12px;padding:14px;border:1px solid rgba(247,200,120,.25);
            border-radius:20px;flex-shrink:0;
            background:
                radial-gradient(160px 90px at 100% 0%,rgba(242,169,59,.17),transparent 72%),
                radial-gradient(170px 100px at 0% 100%,rgba(79,179,160,.15),transparent 74%),
                linear-gradient(135deg,rgba(35,62,65,.98),rgba(22,45,50,.98));
            box-shadow:0 16px 34px -24px rgba(0,0,0,.9),inset 0 1px rgba(255,255,255,.055);
            transition:border-color .25s ease,background .25s ease,transform .25s ease,box-shadow .25s ease;
        }
        .push-permission-card::before{
            content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
            background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.055) 48%,transparent 70%);
            transform:translateX(110%);animation:push-card-sheen 7s ease-in-out infinite;
        }
        .push-permission-icon{
            position:relative;width:46px;height:46px;display:flex;align-items:center;justify-content:center;
            border-radius:15px;background:linear-gradient(145deg,rgba(247,200,120,.19),rgba(79,179,160,.14));
            color:var(--amber-soft);box-shadow:inset 0 0 0 1px rgba(247,200,120,.16);
        }
        .push-permission-ring{
            position:absolute;inset:5px;border:1px solid currentColor;border-radius:12px;opacity:.2;
            animation:push-ring-pulse 3.6s ease-out infinite;
        }
        .push-permission-icon .icon{
            position:relative;width:21px;height:21px;transform-origin:50% 12%;
            animation:push-bell-attention 5.2s ease-in-out infinite;
        }
        .push-permission-copy{display:flex;min-width:0;flex-direction:column;gap:1px;}
        .push-permission-kicker{
            color:var(--amber-soft);font-size:9px;font-weight:850;letter-spacing:.01em;
        }
        .push-permission-copy b{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:900;}
        .push-permission-copy small{font-size:10.5px;line-height:1.75;color:var(--paper-dim);}
        .push-state-dot{width:6px;height:6px;border-radius:999px;background:var(--amber-soft);box-shadow:0 0 0 4px rgba(242,169,59,.09);}
        .push-permission-action{
            position:relative;min-width:86px;min-height:38px;padding:0 13px;border-radius:12px;
            background:linear-gradient(135deg,var(--amber-soft),var(--amber));color:var(--ink);
            box-shadow:0 9px 20px -13px rgba(242,169,59,.9),inset 0 1px rgba(255,255,255,.28);
            font-size:10.5px;font-weight:900;white-space:nowrap;
            transition:transform .18s ease,filter .18s ease,background .2s ease;
        }
        .push-permission-action:not(:disabled):active{transform:scale(.96);}
        .push-permission-action:disabled{opacity:.68;cursor:not-allowed;}
        .push-permission-card[data-state="loading"] .push-permission-action{color:transparent;}
        .push-permission-card[data-state="loading"] .push-permission-action::after{
            content:"";position:absolute;inset:0;margin:auto;width:14px;height:14px;border-radius:50%;
            border:2px solid rgba(18,36,42,.28);border-top-color:var(--ink);animation:push-action-spin .7s linear infinite;
        }
        .push-permission-card[data-state="enabled"]{
            border-color:rgba(127,209,193,.42);
            background:
                radial-gradient(180px 100px at 100% 0%,rgba(127,209,193,.2),transparent 72%),
                linear-gradient(135deg,rgba(31,68,67,.98),rgba(19,50,54,.98));
            box-shadow:0 18px 38px -25px rgba(79,179,160,.8),inset 0 1px rgba(255,255,255,.065);
        }
        .push-permission-card[data-state="enabled"] .push-permission-icon{
            background:linear-gradient(145deg,var(--teal-soft),var(--teal-bright));color:var(--bg-deep);
            box-shadow:0 10px 24px -15px rgba(127,209,193,.9),inset 0 1px rgba(255,255,255,.3);
        }
        .push-permission-card[data-state="enabled"] .push-permission-kicker{color:var(--teal-soft);}
        .push-permission-card[data-state="enabled"] .push-state-dot{background:var(--teal-soft);box-shadow:0 0 0 4px rgba(127,209,193,.1);}
        .push-permission-card[data-state="enabled"] .push-permission-action{
            background:rgba(127,209,193,.11);color:var(--teal-soft);border:1px solid rgba(127,209,193,.26);
            box-shadow:none;
        }
        .push-permission-card[data-state="denied"],
        .push-permission-card[data-state="error"],
        .push-permission-card[data-state="unconfigured"]{
            border-color:rgba(225,97,63,.2);background:rgba(225,97,63,.055);
        }
        .push-permission-card[data-state="denied"] .push-permission-icon,
        .push-permission-card[data-state="error"] .push-permission-icon,
        .push-permission-card[data-state="unconfigured"] .push-permission-icon{
            background:rgba(225,97,63,.1);color:var(--coral-soft);
        }
        .push-permission-card[data-state="denied"] .push-permission-action{background:rgba(246,239,221,.08);color:var(--muted);box-shadow:none;}
        .notif-request-state{
            display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
            padding:30px 20px 27px;text-align:center;color:var(--paper-dim);
        }
        .notif-request-state b{font-size:13px;font-weight:850;}
        .notif-request-state small{max-width:270px;color:var(--muted);font-size:10.5px;line-height:1.8;}
        .notif-request-icon{
            width:34px;height:34px;margin-bottom:3px;display:grid;place-items:center;border-radius:12px;
            color:var(--coral-soft);background:rgba(225,97,63,.1);border:1px solid rgba(225,97,63,.18);font-weight:900;
        }
        .notif-retry{
            min-width:112px;min-height:38px;margin-top:7px;padding:0 16px;border-radius:12px;
            color:var(--ink);background:var(--amber-soft);font-size:11px;font-weight:900;
        }
        @keyframes push-bell-attention{
            0%,7%,12%,100%{transform:rotate(0)}
            8%{transform:rotate(12deg)}
            9.5%{transform:rotate(-10deg)}
            11%{transform:rotate(6deg)}
        }
        @keyframes push-ring-pulse{0%,55%,100%{transform:scale(.82);opacity:0}12%{opacity:.28}38%{transform:scale(1.22);opacity:0}}
        @keyframes push-card-sheen{0%,66%,100%{transform:translateX(110%)}78%{transform:translateX(-110%)}}
        @keyframes push-action-spin{to{transform:rotate(360deg)}}
        @keyframes home-notif-bell{
            0%,56%,80%,100%{transform:rotate(0) scale(1)}
            60%{transform:rotate(16deg) scale(1.09)}
            65%{transform:rotate(-14deg) scale(1.09)}
            70%{transform:rotate(9deg) scale(1.05)}
            75%{transform:rotate(-5deg) scale(1.02)}
        }
        @keyframes home-notif-aura{
            0%,100%{transform:scale(.82);opacity:.18}
            48%{transform:scale(1.08);opacity:.5}
        }
        @keyframes home-nav-notif-aura{
            0%,100%{transform:translateX(-50%) scale(.88);opacity:.55}
            50%{transform:translateX(-50%) scale(1.06);opacity:1}
        }
        @keyframes home-notif-sheen{
            0%,68%,100%{transform:translateX(72%) rotate(8deg)}
            82%{transform:translateX(-72%) rotate(8deg)}
        }
        .push-notifications-enabled .icon-btn.notif:not(.has-unread)::before,
        .push-notifications-enabled .icon-btn.notif:not(.has-unread)::after,
        .push-notifications-enabled .icon-btn.notif:not(.has-unread) svg,
        .push-notifications-enabled #notifNavBtn:not(.has-unread)::before,
        .push-notifications-enabled #notifNavBtn:not(.has-unread) svg{
            animation:none;
        }
        .push-notifications-enabled .icon-btn.notif:not(.has-unread)::after{opacity:0;}
        .push-notifications-enabled .icon-btn.notif:not(.has-unread) svg,
        .push-notifications-enabled #notifNavBtn:not(.has-unread) svg{transform:none;}
        .notif-list{display:flex;flex-direction:column;gap:2px;overflow-y:auto;padding:4px 10px 8px;scrollbar-width:none;}
        .notif-list::-webkit-scrollbar{display:none;}
        .notif-empty{
            display:none;flex-direction:column;align-items:center;gap:8px;
            padding:36px 20px 30px;color:var(--muted-dim);font-size:12.5px;text-align:center;
        }
        .notif-empty svg{width:34px;height:34px;stroke:var(--muted-dim);}
        .notif-list.is-empty .notif-empty{display:flex;}
        .notif-item{
            width:100%;display:flex;align-items:flex-start;gap:12px;min-height:84px;
            padding:15px 12px;border-radius:18px;text-align:right;
            background:linear-gradient(135deg,rgba(35,58,62,.94),rgba(25,43,47,.94));
            border:1px solid rgba(127,209,193,.16);
            box-shadow:0 8px 20px rgba(0,0,0,.12);
            transition:transform .15s ease,background .15s ease,border-color .15s ease,opacity .2s ease;
        }
        .notif-item:hover{border-color:rgba(127,209,193,.34);}
        .notif-item:active{transform:scale(.992);background:rgba(127,209,193,.12);}
        .notif-item.is-unread{
            background:linear-gradient(135deg,rgba(45,70,72,.98),rgba(27,48,51,.98));
            border-color:rgba(242,169,59,.34);
        }
        .notif-item:not(.is-unread){opacity:.92;}
        .notif-item .icon-badge{width:42px;height:42px;border-radius:14px;flex-shrink:0;box-shadow:0 5px 12px rgba(0,0,0,.16);}
        .notif-item .icon-badge svg{width:18px;height:18px;}
        .notif-item:not(.is-unread) .icon-badge{filter:saturate(.72);}
        .notif-body{flex:1;min-width:0;}
        .notif-body .row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;}
        .notif-title-group{display:flex;align-items:center;gap:6px;min-width:0;}
        .notif-body b{overflow:hidden;font-size:12.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;}
        .notif-item.is-unread .notif-body b{font-weight:800;}
        .notif-dot{display:none;width:6px;height:6px;border-radius:50%;background:var(--coral);flex-shrink:0;}
        .notif-item.is-unread .notif-dot{display:block;}
        .notif-body p{font-size:11.5px;color:var(--muted);margin-top:2px;}
        .notif-body time{display:block;font-size:10px;color:var(--muted-dim);margin-top:5px;font-weight:600;}
        .notif-check{
            width:22px;height:22px;border-radius:50%;flex-shrink:0;margin-top:3px;
            border:1.6px solid rgba(246,239,221,.28);color:var(--muted-dim);
            background:rgba(255,255,255,.025);
            display:flex;align-items:center;justify-content:center;
            transition:background .15s ease, border-color .15s ease, transform .15s ease;
        }
        .notif-check svg{width:12px;height:12px;stroke:currentColor;opacity:0;transition:opacity .12s ease;}
        .notif-check:active{transform:scale(.96);}
        .notif-item.is-unread .notif-check{border-color:rgba(246,239,221,.25);color:var(--muted-dim);background:rgba(255,255,255,.02);}
        .notif-item:not(.is-unread) .notif-check{
            background:rgba(127,209,193,.16);border-color:rgba(127,209,193,.5);color:var(--teal-soft);
        }
        .notif-item:not(.is-unread) .notif-check svg{opacity:1;stroke:currentColor;}
        .notif-source{
            display:inline-flex;align-items:center;max-width:110px;flex-shrink:0;margin-top:0;padding:2px 7px;
            overflow:hidden;border:1px solid rgba(127,209,193,.14);border-radius:999px;
            color:var(--teal-soft);background:rgba(127,209,193,.055);
            font-size:8.5px;font-weight:800;line-height:1.5;text-overflow:ellipsis;white-space:nowrap;
        }
        .notif-item.is-reading{pointer-events:none;opacity:.62;}
        .notif-pagination{flex-shrink:0;padding:7px 14px 4px;border-top:1px solid rgba(246,239,221,.06);}
        .notif-pagination[hidden]{display:none;}
        .notif-load-more{
            position:relative;width:100%;min-height:42px;border:1px solid rgba(127,209,193,.2);border-radius:14px;
            color:var(--teal-soft);background:linear-gradient(135deg,rgba(127,209,193,.08),rgba(242,169,59,.035));
            font-size:11px;font-weight:900;transition:transform .16s ease,background .16s ease;
        }
        .notif-load-more:active{transform:scale(.985);background:rgba(127,209,193,.12);}
        .notif-load-more:disabled{cursor:wait;opacity:.66;}
        .notif-load-more[aria-busy="true"]{color:transparent;}
        .notif-load-more[aria-busy="true"]::after{
            content:"";position:absolute;inset:0;width:15px;height:15px;margin:auto;border:2px solid rgba(127,209,193,.24);
            border-top-color:var(--teal-soft);border-radius:50%;animation:push-action-spin .7s linear infinite;
        }

        /* ---------- اطلاعیهٔ خودکار قابل مدیریت ---------- */
        .announcement-overlay{
            position:fixed;inset:0;z-index:135;display:grid;place-items:center;padding:20px;
            background:rgba(4,11,13,.72);opacity:0;visibility:hidden;pointer-events:none;
            -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
            transition:opacity .22s ease,visibility .22s ease;
        }
        .announcement-overlay.show{opacity:1;visibility:visible;pointer-events:auto;}
        .announcement-modal{
            position:relative;isolation:isolate;width:min(440px,100%);overflow:hidden;
            padding:30px 24px 22px;border:1px solid rgba(246,213,126,.24);border-radius:27px;
            background:
                radial-gradient(280px 150px at 100% 0%,rgba(232,183,62,.18),transparent 72%),
                radial-gradient(260px 180px at 0% 100%,rgba(79,179,160,.12),transparent 72%),
                linear-gradient(155deg,rgba(31,52,55,.97),rgba(12,27,30,.98));
            box-shadow:0 32px 90px -28px rgba(0,0,0,.88),inset 0 1px rgba(255,255,255,.07);
            text-align:center;transform:translateY(18px) scale(.97);
            transition:transform .3s cubic-bezier(.2,.85,.2,1);
        }
        .announcement-overlay[data-announcement-type="notice"] .announcement-modal{border-color:rgba(237,145,55,.52);background:linear-gradient(155deg,rgba(71,45,29,.98),rgba(27,30,32,.98));}
        .announcement-overlay[data-announcement-type="warning"] .announcement-modal{border-color:rgba(225,74,74,.58);background:linear-gradient(155deg,rgba(72,29,35,.98),rgba(27,26,31,.98));}
        .announcement-image{display:block;width:100%;max-height:220px;object-fit:cover;margin:-4px 0 18px;border-radius:16px;border:1px solid rgba(246,239,221,.12);}
        .announcement-image[hidden]{display:none;}
        .announcement-overlay.show .announcement-modal{transform:none;}
        .announcement-close{
            position:absolute;top:13px;left:13px;display:grid;width:36px;height:36px;padding:0;
            place-items:center;border:1px solid rgba(246,239,221,.12);border-radius:50%;
            background:rgba(255,255,255,.045);color:rgba(246,239,221,.72);font-size:24px;font-weight:300;
        }
        .announcement-close[hidden],.announcement-dismiss[hidden]{display:none;}
        .announcement-emblem{
            display:grid;width:58px;height:58px;margin:0 auto 12px;place-items:center;border-radius:19px;
            background:linear-gradient(145deg,#ffe69a,#bd7612);color:#4b3000;
            box-shadow:0 13px 32px rgba(205,137,25,.28),inset 0 1px rgba(255,255,255,.72);
        }
        .announcement-emblem .icon{width:25px;height:25px;stroke-width:1.8;}
        .announcement-modal>small{display:block;color:#e8c86d;font-size:10px;font-weight:900;letter-spacing:.2px;}
        .announcement-modal h2{margin:6px 0 8px;color:var(--paper);font-size:21px;font-weight:950;line-height:1.55;}
        .announcement-rich-text{margin:0;color:rgba(246,239,221,.7);font-size:12.5px;font-weight:650;line-height:2;text-align:right;overflow-wrap:anywhere;}
        .announcement-rich-text p{margin:0 0 8px;}.announcement-rich-text p:last-child{margin-bottom:0;}.announcement-rich-text a{color:#f1c968;text-decoration:underline;}.announcement-rich-text ul,.announcement-rich-text ol{margin:6px 20px;padding:0;}.announcement-rich-text blockquote{margin:8px 0;padding:7px 12px;border-right:3px solid #d9b857;background:rgba(255,255,255,.05);}
        .announcement-action{
            display:flex;min-height:47px;margin-top:19px;align-items:center;justify-content:center;padding:10px 18px;
            border-radius:15px;background:linear-gradient(135deg,#f3d77d,#d49a28);color:#352400;
            box-shadow:0 11px 28px rgba(202,139,29,.2);font-size:12.5px;font-weight:950;text-decoration:none;
        }
        .announcement-action[hidden]{display:none;}
        .announcement-dismiss{
            display:flex;margin-top:16px;align-items:center;justify-content:center;gap:8px;
            color:rgba(246,239,221,.52);font-size:10.5px;font-weight:750;cursor:pointer;
        }
        .announcement-dismiss input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
        .announcement-dismiss>span{
            position:relative;width:19px;height:19px;flex:0 0 19px;border:1px solid rgba(246,239,221,.22);
            border-radius:7px;background:rgba(255,255,255,.035);transition:.18s ease;
        }
        .announcement-dismiss input:checked+span{border-color:#e4bd56;background:#e4bd56;}
        .announcement-dismiss input:checked+span::after{
            content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #372500;
            border-width:0 2px 2px 0;transform:rotate(45deg);
        }
        .announcement-dismiss input:focus-visible+span{box-shadow:0 0 0 3px rgba(228,189,86,.16);}

        /* ---------- مدال و لودینگ خدمات ---------- */
        .power-overlay,.route-loading,.auth-overlay{
            position:fixed;inset:0;z-index:100;
            background:rgba(8,14,16,0.58);
            opacity:0;pointer-events:none;
            transition:opacity .22s ease;
        }
        .power-overlay.show,.route-loading.show,.auth-overlay.show{opacity:1;pointer-events:auto;}
        .power-sheet{
            position:absolute;left:0;right:0;bottom:0;max-height:84%;
            height:min(84%, 720px);
            display:flex;flex-direction:column;
            background:
                    radial-gradient(420px 180px at 100% 0%, rgba(242,169,59,0.12), transparent 70%),
                    linear-gradient(180deg, var(--bg-deep3), var(--bg-deep2));
            border:1px solid var(--line-strong);border-bottom:none;
            border-radius:24px 24px 0 0;
            box-shadow:0 -18px 40px -14px rgba(0,0,0,0.5);
            transform:translateY(100%);
            transition:transform .3s cubic-bezier(.2,.9,.25,1);
            padding:0 20px calc(var(--safe-b) + 20px);
        }
        .power-overlay.show .power-sheet{transform:translateY(0);}
        .power-sheet-grip{width:38px;height:4px;border-radius:999px;background:var(--line-strong);margin:10px auto 8px;flex-shrink:0;}
        .power-sheet-head{
            display:flex;align-items:center;justify-content:space-between;gap:12px;
            padding:2px 0 14px;flex-shrink:0;
        }
        .power-sheet-head div{display:flex;flex-direction:column;gap:2px;}
        .power-sheet-head span{font-size:10.5px;font-weight:800;color:var(--teal-soft);}
        .power-sheet-head b{font-size:17px;font-weight:900;color:var(--paper);}
        .power-city-tabs{
            display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;
            padding:0 0 12px;flex-shrink:0;
        }
        .power-city-tabs[hidden]{display:none;}
        .power-city-tabs::-webkit-scrollbar{display:none;}
        .power-city-tab{
            min-height:36px;flex:0 0 auto;padding:0 14px;border-radius:999px;
            border:1px solid var(--line);background:rgba(246,239,221,0.06);
            color:var(--muted);font-size:12px;font-weight:900;white-space:nowrap;
        }
        .power-city-tab.active{
            background:linear-gradient(135deg,var(--amber-soft),var(--teal-soft));
            border-color:transparent;color:var(--ink);
            box-shadow:0 10px 22px -16px rgba(247,200,120,.8);
        }
        .power-result{
            flex:1;min-height:0;overflow:hidden;scrollbar-width:none;
            display:flex;flex-direction:column;
            border:1px solid var(--line);
            border-radius:18px;
            background:rgba(16,30,34,0.42);
        }
        .power-result::-webkit-scrollbar{display:none;}
        .power-empty,.power-error{
            padding:30px 18px;text-align:center;font-size:12.5px;color:var(--muted);font-weight:700;
        }
        .power-error{color:var(--coral-soft);}
        .power-image-head{
            position:sticky;top:0;z-index:1;
            display:flex;justify-content:space-between;gap:8px;align-items:center;
            padding:10px 12px;background:rgba(21,45,51,0.94);
            -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
            border-bottom:1px solid var(--line);
        }
        .power-image-head b{font-size:12px;font-weight:900;}
        .power-image-head time{font-size:10.5px;font-weight:800;color:var(--amber-soft);white-space:nowrap;}
        .power-zoom-bar{
            position:relative;z-index:1;flex-shrink:0;
            display:flex;align-items:center;gap:7px;
            padding:9px 10px;background:rgba(21,45,51,0.9);
            -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
            border-bottom:1px solid var(--line);
        }
        .zoom-btn,.zoom-reset{
            min-height:32px;border-radius:11px;
            background:rgba(246,239,221,0.06);
            border:1px solid var(--line);
            color:var(--paper);font-weight:900;
        }
        .zoom-btn{
            width:34px;font-size:18px;line-height:1;
            display:flex;align-items:center;justify-content:center;
        }
        .zoom-reset{padding:0 10px;font-size:11px;}
        .zoom-value{
            margin-right:auto;font-size:10.5px;font-weight:900;color:var(--teal-soft);
            min-width:42px;text-align:left;
        }
        .power-image-wrap{
            flex:1;min-height:0;padding:10px;overflow:hidden;
            overscroll-behavior:contain;
            -webkit-overflow-scrolling:touch;
            touch-action:none;
            cursor:grab;
            position:relative;
        }
        .power-image-wrap:active{cursor:grabbing;}
        .power-image-wrap img{
            display:block;width:100%;height:auto;border-radius:14px;
            background:rgba(246,239,221,0.06);
            box-shadow:0 12px 28px -18px rgba(0,0,0,0.7);
            transform-origin:top left;
            will-change:transform;
            user-select:none;
            -webkit-user-drag:none;
            touch-action:none;
        }
        .service-loading{
            display:flex;min-height:168px;flex-direction:column;align-items:center;justify-content:center;
            gap:8px;text-align:center;padding:22px;color:var(--paper);
        }
        .service-loading.is-hidden{display:none;}
        .service-loading b{font-size:13.5px;font-weight:900;}
        .service-loading small{font-size:11px;font-weight:700;color:var(--muted);}
        .service-spinner{
            position:relative;width:58px;height:58px;border-radius:50%;
            border:2px solid rgba(246,239,221,0.1);
            border-top-color:var(--amber-soft);
            border-left-color:var(--teal-soft);
            background:
                    linear-gradient(180deg,rgba(246,239,221,0.06),rgba(246,239,221,0.025)),
                    var(--bg-deep3);
            box-shadow:0 12px 26px -18px rgba(0,0,0,0.72);
            animation:loader-orbit 1.05s linear infinite;
        }
        .service-spinner::before{
            content:"";position:absolute;inset:8px;border-radius:50%;
            background:url("/assets/images/logo.png") center/cover no-repeat;
            box-shadow:0 0 0 1px rgba(246,239,221,0.08);
            animation:loader-orbit 1.05s linear infinite reverse;
        }
        .service-spinner::after{
            content:"";position:absolute;inset:5px;border-radius:50%;
            border:1px solid rgba(246,239,221,0.08);
        }
        .service-loading::after{
            display:none;
        }
        @media (prefers-reduced-motion: reduce){
            .service-spinner,.service-spinner::before{animation:none;}
        }
        .route-loading{
            display:grid;place-items:center;padding:26px;
            -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
        }
        .route-loading .service-loading{
            min-height:0;width:min(260px,100%);
            border:1px solid var(--line-strong);border-radius:18px;
            background:linear-gradient(180deg,var(--bg-deep3),var(--bg-deep2));
            box-shadow:0 18px 38px -22px rgba(0,0,0,0.75);
        }

        /* ---------- احراز هویت ---------- */
        .auth-overlay{z-index:110;}
        .auth-sheet{
            position:absolute;left:0;right:0;bottom:0;max-height:92%;
            box-sizing:border-box;max-width:100%;overflow-x:hidden;
            display:flex;flex-direction:column;
            padding:0 20px calc(var(--safe-b) + 20px);
            background:
                    radial-gradient(460px 210px at 92% 0%, rgba(127,209,193,0.12), transparent 70%),
                    radial-gradient(360px 160px at 0% 20%, rgba(242,169,59,0.10), transparent 72%),
                    linear-gradient(180deg, var(--bg-deep3), var(--bg-deep2));
            border:1px solid var(--line-strong);border-bottom:none;
            border-radius:24px 24px 0 0;
            box-shadow:0 -18px 40px -14px rgba(0,0,0,0.5);
            transform:translateY(100%);
            transition:transform .3s cubic-bezier(.2,.9,.25,1);
        }
        .auth-overlay.show .auth-sheet{transform:translateY(0);}
        .auth-overlay.is-gate{
            opacity:1;pointer-events:auto;background:var(--bg-deep);
        }
        .auth-overlay.is-gate .auth-sheet{
            inset:0;max-height:none;border-radius:0;border:none;
            width:100%;
            padding:calc(var(--safe-t) + 28px) 22px calc(var(--safe-b) + 22px);
            transform:none;justify-content:center;
            background:
                    radial-gradient(360px 190px at 88% 8%, rgba(127,209,193,0.13), transparent 72%),
                    radial-gradient(360px 190px at 8% 24%, rgba(242,169,59,0.11), transparent 72%),
                    linear-gradient(180deg, var(--bg-deep), var(--bg-deep2));
        }
        .auth-overlay.is-gate .auth-sheet-grip,
        .auth-overlay.is-gate #authCloseBtn{display:none;}
        .auth-overlay.is-gate .auth-sheet-head{justify-content:center;text-align:center;}
        .auth-overlay.is-gate .auth-sheet-head div{align-items:center;}
        .auth-brand{
            display:flex;flex-direction:column;align-items:center;text-align:center;
            gap:4px;margin:6px auto 14px;
        }
        .auth-brand img{
            width:68px;height:68px;border-radius:20px;object-fit:cover;
            box-shadow:0 16px 34px -18px rgba(0,0,0,0.85), 0 0 0 1px var(--line-strong);
        }
        .auth-brand strong{font-size:19px;font-weight:900;line-height:1.6;}
        .auth-brand span{font-size:11.5px;font-weight:700;color:var(--muted);}
        .auth-sheet-grip{width:38px;height:4px;border-radius:999px;background:var(--line-strong);margin:10px auto 8px;flex-shrink:0;}
        .auth-sheet-head{
            display:flex;align-items:center;justify-content:space-between;gap:12px;
            padding:4px 0 16px;flex-shrink:0;
        }
        .auth-sheet-head div{display:flex;flex-direction:column;gap:2px;min-width:0;}
        .auth-sheet-head span{font-size:12px;font-weight:800;color:var(--teal-soft);}
        .auth-sheet-head b{font-size:20px;font-weight:900;color:var(--paper);}
        .auth-status{
            display:none;align-items:flex-start;gap:10px;margin-bottom:12px;padding:12px 13px;border-radius:16px;
            font-size:12px;font-weight:800;line-height:1.85;
            background:linear-gradient(135deg, rgba(246,239,221,0.08), rgba(246,239,221,0.035));
            border:1px solid var(--line);color:var(--paper-dim);
            box-shadow:0 14px 30px -26px rgba(0,0,0,0.9);
            transform:translateY(-4px);opacity:0;
            transition:opacity .18s ease, transform .18s ease, border-color .18s ease, background .18s ease;
        }
        .auth-status.show{display:flex;opacity:1;transform:translateY(0);}
        .auth-status__icon{
            width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
            border-radius:10px;font-size:15px;font-weight:950;line-height:1;margin-top:2px;
            background:rgba(246,239,221,0.08);border:1px solid rgba(246,239,221,0.10);
        }
        .auth-status__icon::before{content:"i";}
        .auth-status__body{display:flex;flex-direction:column;gap:1px;min-width:0;}
        .auth-status__title{font-size:12.5px;font-weight:950;color:var(--paper);}
        .auth-status__message{font-size:11.5px;font-weight:800;color:var(--paper-dim);}
        .auth-status.is-error{
            color:var(--coral-soft);border-color:rgba(225,97,63,0.36);
            background:linear-gradient(135deg, rgba(225,97,63,0.15), rgba(225,97,63,0.065));
        }
        .auth-status.is-error .auth-status__icon{background:rgba(225,97,63,0.13);border-color:rgba(225,97,63,0.26);color:var(--coral-soft);}
        .auth-status.is-error .auth-status__icon::before{content:"!";}
        .auth-status.is-error .auth-status__title{color:var(--coral-soft);}
        .auth-status.is-warning{
            color:var(--amber-soft);border-color:rgba(242,169,59,0.42);
            background:linear-gradient(135deg, rgba(242,169,59,0.17), rgba(242,169,59,0.075));
        }
        .auth-status.is-warning .auth-status__icon{background:rgba(242,169,59,0.14);border-color:rgba(242,169,59,0.30);color:var(--amber-soft);}
        .auth-status.is-warning .auth-status__icon::before{content:"!";}
        .auth-status.is-warning .auth-status__title{color:var(--amber-soft);}
        .auth-status.is-success{
            color:var(--teal-soft);border-color:rgba(127,209,193,0.34);
            background:linear-gradient(135deg, rgba(79,179,160,0.14), rgba(79,179,160,0.06));
        }
        .auth-status.is-success .auth-status__icon{background:rgba(127,209,193,0.12);border-color:rgba(127,209,193,0.25);color:var(--teal-soft);}
        .auth-status.is-success .auth-status__icon::before{content:"✓";}
        .auth-status.is-success .auth-status__title{color:var(--teal-soft);}
        .auth-tabs{
            display:grid;grid-template-columns:1fr 1fr;gap:7px;
            padding:5px;margin-bottom:15px;
            border:1px solid var(--line);border-radius:18px;
            background:rgba(16,30,34,0.48);
        }
        .auth-tab{
            min-height:46px;border-radius:14px;
            font-size:13px;font-weight:900;color:var(--muted);
            transition:background .18s ease, color .18s ease, box-shadow .18s ease;
        }
        .auth-tab.is-selected{
            color:var(--ink);
            background:linear-gradient(150deg,var(--amber-soft),var(--teal-soft));
            box-shadow:0 10px 22px -14px rgba(127,209,193,0.9);
        }
        .auth-panel{display:none;min-height:0;overflow-y:auto;scrollbar-width:none;padding-bottom:2px;}
        .auth-panel::-webkit-scrollbar{display:none;}
        .auth-panel.is-active{display:block;flex:1;}
        .login-method{display:none;}
        .login-method.is-active{display:block;}
        .auth-phone-pill{
            min-height:38px;margin-bottom:12px;padding:7px 12px;border-radius:999px;
            display:flex;align-items:center;justify-content:center;
            color:var(--amber-soft);font-size:13px;font-weight:900;
            background:rgba(242,169,59,0.08);border:1px solid rgba(242,169,59,0.18);
        }
        .auth-form{display:flex;flex-direction:column;gap:13px;margin-bottom:14px;width:100%;max-width:100%;}
        .auth-field{display:flex;flex-direction:column;gap:8px;}
        .auth-field span,.auth-field-title{font-size:13px;font-weight:800;color:var(--paper-dim);}
        .auth-field span b{
            margin-right:6px;padding:2px 7px;border-radius:999px;
            background:rgba(242,169,59,0.10);color:var(--amber-soft);
            font-size:10.5px;font-weight:950;
        }
        .auth-field input,.auth-field select{
            width:100%;height:54px;border-radius:16px;
            border:1px solid var(--line);background:rgba(16,30,34,0.58);
            color:var(--paper);font:inherit;font-size:15px;font-weight:700;
            padding:0 15px;outline:none;direction:rtl;
            transition:border-color .16s ease, background .16s ease, box-shadow .16s ease;
        }
        .auth-field select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--teal-soft) 50%),linear-gradient(135deg, var(--teal-soft) 50%, transparent 50%);background-position:17px 24px,11px 24px;background-size:6px 6px;background-repeat:no-repeat;}
        .auth-field select:required:invalid{color:var(--muted-dim);font-weight:800;}
        .auth-city-field select{
            border-color:rgba(247,200,120,0.28);
            background-color:rgba(16,30,34,0.72);
        }
        .auth-field input::placeholder{color:var(--muted-dim);font-weight:600;}
        .auth-field input.auth-localized-digits{
            direction:ltr;text-align:right;
            font-family:'Vazirmatn',Tahoma,sans-serif;
            font-variant-numeric:normal;
        }
        .auth-field input.auth-localized-digits::placeholder{direction:rtl;text-align:right;}
        .auth-field input:focus,.auth-field select:focus{border-color:rgba(247,200,120,0.55);box-shadow:0 0 0 3px rgba(242,169,59,0.10);}
        .auth-field small{min-height:18px;font-size:11.5px;font-weight:800;line-height:1.6;color:var(--coral-soft);}
        .auth-field.is-invalid input,.auth-field.is-invalid select{border-color:rgba(225,97,63,0.55);box-shadow:0 0 0 3px rgba(225,97,63,0.10);}
        .auth-password-wrap{position:relative;display:block;}
        .auth-password-wrap input{padding-left:70px;}
        .auth-password-toggle{
            position:absolute;left:7px;top:50%;transform:translateY(-50%);
            min-width:58px;height:36px;border-radius:12px;
            display:flex;align-items:center;justify-content:center;
            color:var(--teal-soft);background:rgba(127,209,193,0.08);
            border:1px solid rgba(127,209,193,0.18);
            font-size:11.5px;font-weight:900;
        }
        .auth-password-toggle:active{background:rgba(127,209,193,0.14);}
        .auth-primary,.auth-secondary,.auth-danger{
            min-height:54px;border-radius:16px;padding:0 16px;
            display:flex;align-items:center;justify-content:center;
            font-size:14px;font-weight:900;
            border:1px solid transparent;position:relative;overflow:hidden;
            gap:9px;
        }
        .auth-primary{color:var(--ink);background:linear-gradient(150deg,var(--amber-soft),var(--teal-soft));}
        .auth-secondary{color:var(--paper);background:rgba(246,239,221,0.07);border-color:var(--line);}
        .auth-danger{color:var(--coral-soft);background:rgba(225,97,63,0.08);border-color:rgba(225,97,63,0.24);}
        .auth-primary:disabled,.auth-secondary:disabled,.auth-danger:disabled{opacity:.58;cursor:wait;}
        .auth-primary.is-loading,.auth-secondary.is-loading,.auth-danger.is-loading{
            cursor:wait;
        }
        .button-spinner{
            width:20px;height:20px;border-radius:50%;flex-shrink:0;
            position:relative;display:inline-block;
            border:2px solid rgba(246,239,221,0.16);
            border-top-color:var(--amber-soft);
            border-left-color:var(--teal-soft);
            animation:loader-orbit 1.05s linear infinite;
        }
        .button-spinner::before{
            content:"";position:absolute;inset:4px;border-radius:50%;
            background:url("/assets/images/logo.png") center/cover no-repeat;
            box-shadow:0 0 0 1px rgba(246,239,221,0.08);
            animation:loader-orbit 1.05s linear infinite reverse;
        }
        .auth-primary.is-loading .button-label,
        .auth-secondary.is-loading .button-label,
        .auth-danger.is-loading .button-label{opacity:.86;}
        .auth-guest-btn{min-height:46px;border-radius:14px;color:var(--teal-soft);}
        .auth-link{
            min-height:42px;border-radius:12px;padding:0 8px;
            font-size:12.5px;font-weight:800;color:var(--teal-soft);
        }
        .auth-foot-links{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
        .auth-otp-verify{
            margin-top:12px;padding-top:12px;border-top:1px solid var(--line);
        }
        .auth-otp-verify.is-hidden{display:none;}
        .otp-boxes{direction:ltr;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;}
        .otp-boxes input{
            height:56px;min-width:0;border-radius:15px;
            border:1px solid var(--line);background:rgba(16,30,34,0.62);
            color:var(--paper);font-family:'Vazirmatn',Tahoma,sans-serif;font-size:22px;font-weight:900;
            font-variant-numeric:normal;
            text-align:center;outline:none;
            transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
        }
        .otp-boxes input:focus{border-color:rgba(247,200,120,0.58);box-shadow:0 0 0 3px rgba(242,169,59,0.10);}
        .otp-boxes input:not(:placeholder-shown){background:rgba(127,209,193,0.10);border-color:rgba(127,209,193,0.34);}
        .otp-meta{
            display:flex;align-items:center;justify-content:space-between;gap:10px;
            min-height:32px;margin-top:2px;
        }
        .otp-meta span{font-size:11px;font-weight:900;color:var(--amber-soft);}
        .otp-meta .auth-link{min-height:30px;padding:0 2px;color:var(--teal-soft);}
        .auth-panel[data-auth-panel="complete-profile"] .auth-form{gap:9px;}
        .auth-panel[data-auth-panel="complete-profile"] .auth-field{gap:5px;}
        .auth-panel[data-auth-panel="complete-profile"] .auth-field input,
        .auth-panel[data-auth-panel="complete-profile"] .auth-field select{height:48px;border-radius:15px;font-size:14px;}
        .auth-panel[data-auth-panel="complete-profile"] .auth-field small{min-height:0;font-size:11px;line-height:1.4;}
        .auth-panel[data-auth-panel="complete-profile"] .auth-primary{min-height:50px;border-radius:15px;}
        .profile-card{
            display:flex;align-items:center;gap:12px;margin-bottom:18px;
            padding:14px;border:1px solid rgba(127,209,193,.18);border-radius:19px;
            background:linear-gradient(135deg,rgba(127,209,193,.1),rgba(16,30,34,.58));
        }
        .profile-card .icon-badge{width:52px;height:52px;flex:0 0 52px;border-radius:17px;}
        .profile-card-copy{min-width:0;flex:1;}
        .profile-card-copy>b{display:block;overflow:hidden;font-size:15px;font-weight:950;text-overflow:ellipsis;white-space:nowrap;}
        .profile-card-copy p{overflow:hidden;margin:2px 0 0;color:var(--muted);font-size:11.5px;font-weight:750;text-overflow:ellipsis;white-space:nowrap;}
        .profile-status{display:flex;align-items:center;gap:5px;flex:0 0 auto;padding:5px 8px;border-radius:999px;background:rgba(127,209,193,.1);color:var(--teal-soft);font-size:10.5px;font-weight:900;}
        .profile-status i{width:6px;height:6px;border-radius:50%;background:var(--teal-soft);box-shadow:0 0 0 3px rgba(127,209,193,.1);}
        .profile-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;}
        .profile-section-head h3{margin:0;color:var(--paper);font-size:14px;font-weight:950;}
        .profile-section-head p{margin:2px 0 0;color:var(--muted);font-size:10.5px;font-weight:700;}
        .auth-panel[data-auth-panel="profile"]{padding:0 1px 4px;}
        .auth-panel[data-auth-panel="profile"] .auth-form{gap:11px;margin-bottom:12px;}
        .auth-panel[data-auth-panel="profile"] .auth-field{gap:6px;}
        .auth-panel[data-auth-panel="profile"] .auth-field span{font-size:12.5px;}
        .auth-panel[data-auth-panel="profile"] .auth-field input,
        .auth-panel[data-auth-panel="profile"] .auth-field select{height:52px;border-radius:15px;font-size:14px;}
        .auth-panel[data-auth-panel="profile"] .auth-field small{min-height:0;font-size:10.5px;line-height:1.45;}
        .auth-panel[data-auth-panel="profile"] .auth-secondary,
        .auth-panel[data-auth-panel="profile"] .auth-danger{min-height:46px;border-radius:14px;font-size:12.5px;}
        .auth-panel[data-auth-panel="profile"] [data-auth-form="profile-update"]{
            display:grid;grid-template-columns:1fr;gap:10px;
        }
        .auth-panel[data-auth-panel="profile"] .profile-save{min-height:52px;margin-top:2px;border-radius:15px;font-size:13.5px;}
        .profile-security-toggle{display:flex;width:100%;min-height:60px;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid var(--line);border-radius:17px;background:rgba(246,239,221,.045);color:var(--paper);text-align:right;}
        .profile-security-toggle>span{display:grid;gap:2px;}
        .profile-security-toggle b{font-size:13px;font-weight:950;}
        .profile-security-toggle small{color:var(--muted);font-size:10.5px;font-weight:700;}
        .profile-security-toggle>i{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:10px;background:rgba(127,209,193,.08);color:var(--teal-soft);font-size:18px;font-style:normal;transition:transform .18s ease;}
        .profile-security-toggle.is-open>i{transform:rotate(180deg);}
        .profile-security-panel{margin-top:9px;padding:14px;border:1px solid var(--line);border-radius:18px;background:rgba(16,30,34,.42);}
        .profile-security-panel.is-collapsed{display:none;}
        .auth-password-form{
            margin:0;padding:0 0 14px;border-bottom:1px solid var(--line);
        }
        .profile-security-head{display:grid;gap:2px;margin-bottom:2px;}
        .profile-security-head b{color:var(--paper);font-size:13px;font-weight:950;}
        .profile-security-head small{color:var(--muted);font-size:10.5px;font-weight:700;}
        .auth-panel[data-auth-panel="profile"] .auth-password-wrap input{padding-left:62px;}
        .auth-panel[data-auth-panel="profile"] .auth-password-toggle{min-width:52px;height:34px;border-radius:10px;font-size:10.5px;}
        .profile-logout-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;}
        .profile-logout-row>span{display:grid;gap:2px;min-width:0;}
        .profile-logout-row b{color:var(--paper);font-size:12.5px;font-weight:900;}
        .profile-logout-row small{color:var(--muted);font-size:9.5px;font-weight:700;line-height:1.6;}
        .profile-logout-row .auth-danger{min-width:76px;flex:0 0 auto;}
        @media (min-width:520px){
            .auth-panel[data-auth-panel="profile"] [data-auth-form="profile-update"]{grid-template-columns:1fr 1fr;column-gap:10px;}
            .auth-panel[data-auth-panel="profile"] [data-auth-form="profile-update"] .auth-field:nth-of-type(3),
            .auth-panel[data-auth-panel="profile"] [data-auth-form="profile-update"] button{grid-column:1 / -1;}
        }
        @media (max-width:350px){
            .profile-status{display:none;}
            .profile-logout-row{align-items:flex-start;flex-direction:column;}
            .profile-logout-row .auth-danger{width:100%;}
        }
        .app-shell.is-authenticated .brand-text span{color:var(--teal-soft);}

        /* ---------- اعلان‌ها در موبایل ---------- */
        @media (max-width:759px){
            .app-bar #notifBellBtn{display:none;}
            #notifNavBtn::before{display:none;}
            #notifNavBtn svg{
                stroke:#FFD978;
                filter:drop-shadow(0 0 5px rgba(255,217,120,.46));
            }
            .notif-sheet{max-height:84%;border-radius:26px 26px 0 0;}
            .notif-sheet-head{padding:11px 16px 8px;}
            .notif-sheet-head b{font-size:16px;}
            .notif-mark-all{font-size:11px;}
        }

        @media (max-width:350px){
            .push-permission-card{grid-template-columns:auto minmax(0,1fr);}
            .push-permission-action{grid-column:1 / -1;width:100%;min-height:38px;}
            .announcement-overlay{padding:12px;}
            .announcement-modal{padding:27px 18px 20px;border-radius:23px;}
            .announcement-modal h2{font-size:19px;}
        }

        @media (prefers-reduced-motion:reduce){
            .announcement-overlay,.announcement-modal{transition:none;}
            .push-permission-card::before,
            .push-permission-ring,
            .push-permission-icon .icon,
            .icon-btn.notif::before,
            .icon-btn.notif::after,
            .icon-btn.notif svg,
            #notifNavBtn::before,
            #notifNavBtn svg{animation:none;}
        }

        /* ---------- چیدمان وب ---------- */
        @media (min-width:760px){
            body{background:#0b171a;}
            .frame-outer{
                align-items:stretch;
                padding:40px 44px;
                background:
                    radial-gradient(900px 560px at 8% 0%, rgba(242,169,59,.13), transparent 62%),
                    radial-gradient(900px 620px at 100% 100%, rgba(79,179,160,.12), transparent 60%),
                    #0b171a;
            }
            .frame-caption{
                position:absolute;top:14px;left:44px;transform:none;
                font-size:11px;
            }
            .phone-frame{
                width:min(1440px, 100%);
                min-height:calc(100vh - 80px);
                min-height:calc(100dvh - 80px);
                padding:0;
                border-radius:32px;
                background:linear-gradient(145deg,#0a1618,#1a373e);
                box-shadow:0 30px 80px -28px rgba(0,0,0,.78), inset 0 0 0 1px rgba(246,239,221,.08);
            }
            .phone-frame::before{display:none;}
            .app-shell{
                height:calc(100vh - 80px);
                height:calc(100dvh - 80px);
                min-height:720px;
                border-radius:30px;
                background:
                    radial-gradient(700px 420px at 70% 0%, rgba(79,179,160,.055), transparent 70%),
                    var(--bg-deep);
            }
            .launch-splash{border-radius:30px;padding:52px;}
            .launch-splash::before{inset:22px;border-radius:24px;}
            .app-bar{
                height:86px;padding:0 30px;gap:14px;
                border-bottom:1px solid rgba(246,239,221,.08);
                background:rgba(16,30,34,.78);
                -webkit-backdrop-filter:blur(20px);
                backdrop-filter:blur(20px);
            }
            .app-bar .icon-btn{width:44px;height:44px;border-radius:14px;}
            .app-bar .account{display:flex;}
            .fab-call{display:flex;z-index:80;}
            .brand{gap:12px;}
            .brand-logo{width:42px;height:42px;border-radius:13px;}
            .brand-text b{font-size:18px;}
            .brand-text span{font-size:11px;}
            .app-content{
                margin-right:0;
                padding:0 34px 44px;
            }
            .ridge-band{height:170px;margin:0 -34px 0;}
            .greeting{margin:-66px 0 22px;padding:0 4px;}
            .greeting .eyebrow{font-size:12px;}
            .greeting h1{font-size:31px;letter-spacing:-.5px;}
            .greeting p{font-size:14px;}
            .greeting .coverage-line{font-size:12px;margin-top:12px;}
            .quick-row{gap:10px;margin:18px 0 28px;overflow:visible;flex-wrap:wrap;}
            .quick-badge{padding:10px 15px;font-size:12.5px;}
            .section-label{font-size:14px;margin-bottom:13px;}
            .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
            .service-group-active .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
            .card{min-height:166px;padding:21px 19px;border-radius:22px;gap:16px;}
            .appointment-card{padding:0;}
            .appointment-card-main{min-height:124px;padding:21px 19px 0;}
            .card.featured{min-height:194px;}
            .card b.title,.card.featured b.title{font-size:16px;}
            .card p.desc,.card.featured p.desc{font-size:12.5px;max-width:34em;}
            .card:not(.featured) .icon-badge{width:48px;height:48px;border-radius:15px;}
            .card:not(.featured) .icon-badge svg{width:22px;height:22px;}
            .bottom-nav-wrap{
                display:none;
            }
            .bottom-nav{
                height:auto;min-height:0;padding:8px 5px;
                flex-direction:column;justify-content:flex-start;gap:5px;
                border-radius:20px;background:rgba(27,57,64,.34);
            }
            .nav-pill{
                top:8px;bottom:auto;left:5px;right:5px;width:auto;height:46px;
                transform:translateY(0);
            }
            .nav-item{width:100%;height:46px;min-height:46px;flex:0 0 46px;flex-direction:row;justify-content:flex-start;gap:9px;padding:0 12px;border-radius:13px;}
            .nav-item svg{width:18px;height:18px;}
            .nav-item span{font-size:10.5px;}
            .fab-call{left:28px;bottom:28px;}
            .gesture-bar{display:none;}
            .snackbar{left:250px;right:32px;bottom:28px;max-width:470px;}
            .notif-sheet,.power-sheet,.auth-sheet{
                left:50%;right:auto;bottom:50%;width:min(560px,calc(100% - 48px));
                max-height:86%;border:1px solid var(--line-strong);border-radius:28px;
                transform:translate(-50%,calc(50% + 32px));
            }
            .notif-overlay.show .notif-sheet,
            .power-overlay.show .power-sheet,
            .auth-overlay.show .auth-sheet{transform:translate(-50%,50%);}
            .notif-sheet-grip,.power-sheet-grip,.auth-sheet-grip{display:none;}
            .auth-sheet{padding-top:34px;}
            .route-loading .service-loading{width:min(320px,calc(100% - 48px));margin:auto;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);}
            .auth-overlay.is-gate .auth-sheet{inset:50% auto auto 50%;width:min(520px,calc(100% - 48px));height:auto;max-height:86%;border:1px solid var(--line-strong);border-radius:28px;padding:36px 32px 32px;transform:translate(-50%,-50%);}
            .auth-overlay.is-gate .auth-sheet-head{justify-content:center;}
        }

        @media (min-width:1100px){
            .app-content{margin-right:0;padding-left:48px;padding-right:48px;}
            .app-bar{padding-left:40px;padding-right:40px;}
            .ridge-band{margin-left:-48px;margin-right:-48px;height:188px;}
            .card-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
            .service-group-active .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
            .service-group-active .card.featured{grid-column:auto;grid-row:auto;}
        }

        @media (prefers-reduced-motion: reduce){
            *{animation-duration:.001ms !important;transition:none !important;}
        }

        /* ============================================================
           AUTHENTICATION 2026 — calm, accessible and intentionally simple
           Visual overrides only: all existing auth DOM hooks and behavior stay intact.
           ============================================================ */
        .auth-overlay{
            --auth-bg:#f8faf7;
            --auth-surface:#ffffff;
            --auth-surface-soft:#f1f5f1;
            --auth-ink:#142a2d;
            --auth-muted:#607174;
            --auth-placeholder:#65777a;
            --auth-line:#dce5df;
            --auth-line-strong:#cbd8d1;
            --auth-primary:#176f69;
            --auth-primary-deep:#0f5956;
            --auth-primary-soft:#e5f2ee;
            --auth-gold:#a87524;
            --auth-gold-soft:#f7ecd9;
            --auth-error:#b53e37;
            --auth-error-soft:#fff1ef;
            --auth-warning:#946316;
            --auth-warning-soft:#fff7e8;
            --auth-success:#17735a;
            --auth-success-soft:#eaf7f1;
            z-index:110;
            padding:max(10px,var(--safe-t)) 10px max(10px,var(--safe-b));
            overflow:hidden;
            background:
                radial-gradient(720px 420px at 82% -8%,rgba(109,190,176,.24),transparent 68%),
                radial-gradient(620px 420px at -10% 108%,rgba(214,171,91,.18),transparent 70%),
                rgba(6,24,28,.76);
            -webkit-backdrop-filter:blur(14px) saturate(112%);
            backdrop-filter:blur(14px) saturate(112%);
        }
        .auth-overlay.is-gate{
            padding:0;
            background:
                radial-gradient(520px 330px at 105% -5%,rgba(87,174,159,.22),transparent 68%),
                radial-gradient(500px 340px at -10% 105%,rgba(218,177,98,.16),transparent 70%),
                #0b252a;
        }
        .auth-sheet{
            position:absolute;isolation:isolate;
            left:10px;right:10px;bottom:max(10px,var(--safe-b));
            width:auto;max-width:none;max-height:calc(100dvh - max(20px,var(--safe-t)) - max(20px,var(--safe-b)));
            padding:0 clamp(18px,5.5vw,24px) max(18px,var(--safe-b));
            overflow:hidden;
            color:var(--auth-ink);
            background:
                linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,250,247,.985)),
                var(--auth-bg);
            border:1px solid rgba(255,255,255,.72);border-bottom:1px solid rgba(255,255,255,.72);
            border-radius:28px;
            box-shadow:0 30px 80px -24px rgba(0,13,17,.72),inset 0 1px rgba(255,255,255,.96);
            transform:translateY(calc(100% + 18px)) scale(.985);
            transform-origin:50% 100%;
            transition:transform .32s cubic-bezier(.22,1,.36,1),box-shadow .25s ease;
        }
        .auth-sheet::before{
            content:"";position:absolute;z-index:-1;inset:0 0 auto;height:132px;pointer-events:none;
            background:
                radial-gradient(280px 110px at 80% 0,rgba(52,142,131,.11),transparent 72%),
                linear-gradient(180deg,rgba(233,244,239,.7),transparent);
        }
        .auth-overlay.show .auth-sheet{transform:translateY(0) scale(1);}
        .auth-overlay.is-gate .auth-sheet{
            inset:0;width:100%;height:100%;max-height:none;
            padding:calc(var(--safe-t) + clamp(20px,5vh,46px)) clamp(20px,6vw,28px) calc(var(--safe-b) + 20px);
            justify-content:flex-start;
            border:0;border-radius:0;box-shadow:none;transform:none;
            background:
                radial-gradient(370px 210px at 90% 0,rgba(62,145,134,.11),transparent 72%),
                linear-gradient(180deg,#fbfcf9 0%,#f7faf6 100%);
        }
        .auth-overlay.is-gate .auth-sheet::after{
            content:"";position:absolute;z-index:-1;left:50%;bottom:-132px;width:360px;height:240px;
            border:1px solid rgba(23,111,105,.08);border-radius:50%;transform:translateX(-50%);
            box-shadow:0 0 0 42px rgba(23,111,105,.025),0 0 0 84px rgba(168,117,36,.018);
            pointer-events:none;
        }
        .auth-sheet-grip{
            width:44px;height:5px;margin:11px auto 8px;border-radius:999px;
            background:#d3ddd7;
        }
        .auth-brand{
            position:relative;gap:3px;margin:4px auto 12px;color:var(--auth-ink);
        }
        .auth-brand img{
            width:64px;height:64px;padding:3px;margin-bottom:4px;border:1px solid rgba(23,111,105,.14);border-radius:20px;
            background:rgba(255,255,255,.9);
            box-shadow:0 16px 34px -18px rgba(14,65,64,.42),0 0 0 5px rgba(255,255,255,.68);
        }
        .auth-brand strong{font-size:19px;font-weight:900;letter-spacing:-.2px;line-height:1.55;color:var(--auth-ink);}
        .auth-brand span{font-size:11.5px;font-weight:650;color:var(--auth-muted);}
        .auth-sheet-head{
            padding:5px 0 15px;gap:14px;border-bottom:1px solid rgba(220,229,223,.66);
        }
        .auth-sheet-head div{gap:1px;}
        .auth-sheet-head span{font-size:11px;font-weight:800;color:var(--auth-primary);}
        .auth-sheet-head b{font-size:21px;font-weight:900;line-height:1.55;letter-spacing:-.35px;color:var(--auth-ink);}
        .auth-sheet-head .icon-btn{
            width:42px;height:42px;flex:0 0 42px;border:1px solid var(--auth-line);border-radius:14px;
            color:var(--auth-muted);background:rgba(255,255,255,.76);
            box-shadow:0 7px 20px -16px rgba(11,48,49,.55);
            transition:border-color .18s ease,background .18s ease,transform .18s ease;
        }
        .auth-sheet-head .icon-btn:hover{border-color:var(--auth-line-strong);background:var(--auth-surface);}
        .auth-sheet-head .icon-btn:active{transform:scale(.96);}
        .auth-overlay.is-gate .auth-sheet-head{justify-content:center;text-align:center;}
        .auth-overlay.is-gate .auth-sheet-head div{align-items:center;}

        .auth-status{
            align-items:center;gap:11px;margin:12px 0 2px;padding:11px 12px;border-radius:15px;
            color:var(--auth-muted);background:var(--auth-surface-soft);border:1px solid var(--auth-line);
            box-shadow:none;transform:translateY(-3px);
            transition:opacity .18s ease,transform .18s ease,border-color .18s ease,background .18s ease;
        }
        .auth-status.show{animation:auth-status-in .22s cubic-bezier(.22,1,.36,1) both;}
        .auth-status__icon{
            width:30px;height:30px;margin:0;border:0;border-radius:10px;
            color:var(--auth-primary);background:rgba(23,111,105,.09);font-size:14px;
        }
        .auth-status__title{font-size:12px;font-weight:850;color:var(--auth-ink);}
        .auth-status__message{font-size:11.5px;font-weight:650;line-height:1.75;color:var(--auth-muted);}
        .auth-status.is-error{color:var(--auth-error);border-color:#f1c8c4;background:var(--auth-error-soft);}
        .auth-status.is-error .auth-status__icon{color:var(--auth-error);border:0;background:rgba(181,62,55,.1);}
        .auth-status.is-error .auth-status__title{color:var(--auth-error);}
        .auth-status.is-warning{color:var(--auth-warning);border-color:#efd9ad;background:var(--auth-warning-soft);}
        .auth-status.is-warning .auth-status__icon{color:var(--auth-warning);border:0;background:rgba(148,99,22,.1);}
        .auth-status.is-warning .auth-status__title{color:var(--auth-warning);}
        .auth-status.is-success{color:var(--auth-success);border-color:#bfe2d4;background:var(--auth-success-soft);}
        .auth-status.is-success .auth-status__icon{color:var(--auth-success);border:0;background:rgba(23,115,90,.1);}
        .auth-status.is-success .auth-status__title{color:var(--auth-success);}

        .auth-panel{padding:16px 1px 3px;scrollbar-gutter:stable;overscroll-behavior:contain;}
        .auth-panel.is-active{animation:auth-panel-in .25s cubic-bezier(.22,1,.36,1) both;}
        .login-method.is-active{animation:auth-panel-in .22s cubic-bezier(.22,1,.36,1) both;}
        .auth-form{gap:14px;margin-bottom:13px;}
        .auth-tabs{
            gap:4px;margin:0 0 16px;padding:4px;border:1px solid var(--auth-line);border-radius:16px;
            background:#edf2ee;box-shadow:inset 0 1px 2px rgba(15,55,54,.04);
        }
        .auth-tab{
            min-height:46px;border-radius:12px;color:var(--auth-muted);font-size:13px;font-weight:800;
            transition:color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
        }
        .auth-tab:hover{color:var(--auth-ink);}
        .auth-tab:active{transform:scale(.985);}
        .auth-tab.is-selected{
            color:var(--auth-primary-deep);background:rgba(255,255,255,.96);
            box-shadow:0 4px 12px -8px rgba(16,74,71,.42),inset 0 0 0 1px rgba(255,255,255,.85);
        }
        .auth-phone-pill{
            min-height:40px;margin:0 0 12px;padding:7px 13px;border:1px solid #d7e8e1;border-radius:13px;
            color:var(--auth-primary-deep);background:var(--auth-primary-soft);font-size:13px;font-weight:800;
        }
        .auth-phone-pill::before{
            content:"";width:7px;height:7px;margin-left:7px;flex:0 0 7px;border-radius:50%;
            background:var(--auth-success);box-shadow:0 0 0 4px rgba(23,115,90,.09);
        }
        .auth-field{gap:7px;}
        .auth-field span,.auth-field-title{font-size:13.5px;font-weight:750;color:var(--auth-ink);}
        .auth-field span b{
            margin-right:6px;padding:2px 7px;border:0;border-radius:7px;
            color:var(--auth-warning);background:var(--auth-gold-soft);font-size:10px;font-weight:850;
        }
        .auth-field input,.auth-field select{
            height:56px;padding:0 15px;border:1px solid var(--auth-line-strong);border-radius:15px;
            color:var(--auth-ink);background:rgba(255,255,255,.92);
            font-size:16px;font-weight:650;caret-color:var(--auth-primary);
            box-shadow:0 1px 2px rgba(14,48,48,.025);
            transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
        }
        .auth-field input:hover,.auth-field select:hover{border-color:#b8c9c0;}
        .auth-field input::placeholder{color:var(--auth-placeholder);font-weight:500;opacity:1;}
        .auth-field select{
            color:var(--auth-ink);background-color:rgba(255,255,255,.94);
            background-image:linear-gradient(45deg,transparent 50%,var(--auth-primary) 50%),linear-gradient(135deg,var(--auth-primary) 50%,transparent 50%);
            background-position:17px 25px,11px 25px;background-size:6px 6px;background-repeat:no-repeat;
        }
        .auth-field select:required:invalid{color:var(--auth-placeholder);font-weight:600;}
        .auth-city-field select{border-color:#c8d9d0;background-color:#fbfdfb;}
        .auth-field:focus-within>span{color:var(--auth-primary-deep);}
        .auth-field input:focus,.auth-field select:focus{
            border-color:var(--auth-primary);background:var(--auth-surface);
            box-shadow:0 0 0 4px rgba(23,111,105,.11),0 8px 20px -18px rgba(16,81,77,.5);
        }
        .auth-field input:-webkit-autofill,
        .auth-field input:-webkit-autofill:hover,
        .auth-field input:-webkit-autofill:focus{
            -webkit-text-fill-color:var(--auth-ink);-webkit-box-shadow:0 0 0 1000px #fbfdfb inset,0 0 0 4px rgba(23,111,105,.08);
            transition:background-color 9999s ease-out 0s;
        }
        .auth-field small{min-height:18px;color:var(--auth-error);font-size:11.5px;font-weight:700;line-height:1.65;}
        .auth-field small:empty{min-height:0;}
        .auth-field.is-invalid input,.auth-field.is-invalid select{
            border-color:var(--auth-error);background:var(--auth-error-soft);
            box-shadow:0 0 0 4px rgba(181,62,55,.1);
        }
        .auth-password-wrap input{padding-left:76px;}
        .auth-password-toggle{
            left:7px;min-width:62px;height:40px;border:0;border-radius:11px;
            color:var(--auth-primary-deep);background:var(--auth-primary-soft);font-size:11.5px;font-weight:800;
            transition:background .16s ease,transform .16s ease;
        }
        .auth-password-toggle:hover{background:#d8ebe5;}
        .auth-password-toggle:active{background:#d2e7e0;transform:translateY(-50%) scale(.96);}

        .auth-primary,.auth-secondary,.auth-danger{
            min-height:56px;padding:0 18px;border-radius:15px;gap:9px;
            font-size:14px;font-weight:850;letter-spacing:-.08px;
            box-shadow:none;
            transition:transform .16s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,opacity .18s ease;
        }
        .auth-primary{
            color:#fff;border-color:rgba(8,65,62,.3);
            background:linear-gradient(145deg,#1b7b74,var(--auth-primary-deep));
            box-shadow:0 13px 26px -17px rgba(9,75,71,.78),inset 0 1px rgba(255,255,255,.18);
        }
        .auth-primary:hover{background:linear-gradient(145deg,#21877f,#0d5652);box-shadow:0 16px 30px -18px rgba(9,75,71,.9),inset 0 1px rgba(255,255,255,.2);}
        .auth-secondary{
            color:var(--auth-primary-deep);border-color:var(--auth-line-strong);background:rgba(255,255,255,.78);
        }
        .auth-secondary:hover{border-color:#adc4b9;background:#f8fbf8;}
        .auth-danger{color:var(--auth-error);border-color:#efc5c1;background:var(--auth-error-soft);}
        .auth-primary:active,.auth-secondary:active,.auth-danger:active{transform:scale(.985);}
        .auth-primary:disabled,.auth-secondary:disabled,.auth-danger:disabled{opacity:.62;cursor:wait;transform:none;}
        .auth-primary.is-loading,.auth-secondary.is-loading,.auth-danger.is-loading{cursor:wait;}
        .button-spinner{
            width:18px;height:18px;border:2px solid currentColor;border-left-color:transparent;border-top-color:transparent;
            opacity:.82;animation:loader-orbit .72s linear infinite;
        }
        .button-spinner::before{display:none;}
        .auth-guest-btn{
            min-height:48px;border-color:transparent;color:var(--auth-muted);background:transparent;
            font-size:12.5px;font-weight:750;box-shadow:none;
        }
        .auth-guest-btn:hover{border-color:var(--auth-line);color:var(--auth-ink);background:rgba(241,245,241,.72);}
        .auth-link{
            min-height:44px;padding:0 7px;border-radius:11px;color:var(--auth-primary-deep);font-size:12.5px;font-weight:750;
            text-underline-offset:4px;transition:color .16s ease,background .16s ease,transform .16s ease;
        }
        .auth-link:hover{color:var(--auth-primary);background:var(--auth-primary-soft);}
        .auth-link:active{transform:scale(.97);}
        .auth-foot-links{gap:6px;margin-top:-2px;}

        .auth-otp-verify{margin-top:14px;padding-top:16px;border-top:1px solid var(--auth-line);}
        .otp-boxes{gap:clamp(5px,2vw,8px);}
        .otp-boxes input{
            height:58px;border:1px solid var(--auth-line-strong);border-radius:14px;
            color:var(--auth-ink);background:var(--auth-surface);
            font-size:22px;font-weight:850;caret-color:var(--auth-primary);
            box-shadow:0 1px 2px rgba(14,48,48,.03);
            transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease;
        }
        .otp-boxes input:hover{border-color:#b8c9c0;}
        .otp-boxes input:focus{
            border-color:var(--auth-primary);background:#fff;
            box-shadow:0 0 0 4px rgba(23,111,105,.11);transform:translateY(-1px);
        }
        .otp-boxes input:not(:placeholder-shown){color:var(--auth-primary-deep);border-color:#9fcabf;background:var(--auth-primary-soft);}
        .auth-field.is-invalid .otp-boxes input{border-color:var(--auth-error);background:var(--auth-error-soft);}
        .otp-meta{min-height:38px;margin-top:2px;}
        .otp-meta span{color:var(--auth-warning);font-size:11.5px;font-weight:800;}
        .otp-meta .auth-link{min-height:38px;color:var(--auth-primary-deep);}

        .auth-panel[data-auth-panel="complete-profile"] .auth-form{gap:10px;}
        .auth-panel[data-auth-panel="complete-profile"] .auth-field{gap:6px;}
        .auth-panel[data-auth-panel="complete-profile"] .auth-field input,
        .auth-panel[data-auth-panel="complete-profile"] .auth-field select{height:52px;border-radius:14px;font-size:15px;}
        .auth-panel[data-auth-panel="complete-profile"] .auth-primary{min-height:54px;border-radius:15px;}
        .profile-card{
            margin-bottom:16px;padding:14px;border-color:#cee2d9;border-radius:18px;
            background:linear-gradient(135deg,#eef7f3,#f9fbf8);box-shadow:0 10px 26px -22px rgba(16,74,71,.5);
        }
        .profile-card-copy>b,.profile-section-head h3,.profile-security-toggle,
        .profile-security-head b,.profile-logout-row b{color:var(--auth-ink);}
        .profile-card-copy p,.profile-section-head p,.profile-security-toggle small,
        .profile-security-head small,.profile-logout-row small{color:var(--auth-muted);}
        .profile-status{color:var(--auth-success);background:var(--auth-success-soft);}
        .profile-status i{background:var(--auth-success);box-shadow:0 0 0 3px rgba(23,115,90,.09);}
        .profile-security-toggle{
            min-height:62px;border-color:var(--auth-line);border-radius:16px;background:var(--auth-surface);
            transition:border-color .16s ease,background .16s ease,transform .16s ease;
        }
        .profile-security-toggle:hover{border-color:var(--auth-line-strong);background:#fbfdfb;}
        .profile-security-toggle:active{transform:scale(.99);}
        .profile-security-toggle>i{color:var(--auth-primary);background:var(--auth-primary-soft);}
        .profile-security-panel{border-color:var(--auth-line);border-radius:17px;background:var(--auth-surface-soft);}
        .auth-password-form{border-bottom-color:var(--auth-line);}
        .auth-panel[data-auth-panel="profile"] .auth-field input,
        .auth-panel[data-auth-panel="profile"] .auth-field select{height:54px;border-radius:14px;}

        .auth-overlay :focus-visible{
            outline:3px solid rgba(23,111,105,.3);outline-offset:2px;border-radius:10px;
        }
        .auth-overlay input:focus-visible,.auth-overlay select:focus-visible{outline:none;}
        @keyframes auth-panel-in{
            from{opacity:0;transform:translateY(7px)}
            to{opacity:1;transform:translateY(0)}
        }
        @keyframes auth-status-in{
            from{opacity:0;transform:translateY(-4px) scale(.99)}
            to{opacity:1;transform:translateY(0) scale(1)}
        }

        @media (max-width:359px){
            .auth-sheet{left:6px;right:6px;padding-right:15px;padding-left:15px;border-radius:23px;}
            .auth-overlay.is-gate .auth-sheet{padding-right:16px;padding-left:16px;border-radius:0;}
            .auth-brand{margin-bottom:8px;}
            .auth-brand img{width:56px;height:56px;border-radius:17px;}
            .auth-brand strong{font-size:17px;}
            .auth-sheet-head b{font-size:19px;}
            .otp-boxes{gap:4px;}
            .otp-boxes input{height:52px;border-radius:12px;font-size:20px;}
            .auth-foot-links{align-items:stretch;flex-direction:column;}
            .auth-foot-links .auth-link{width:100%;}
        }
        @media (min-width:760px){
            .auth-overlay{display:grid;place-items:center;padding:24px;}
            .auth-sheet,
            .auth-overlay.is-gate .auth-sheet{
                position:relative;inset:auto;left:auto;right:auto;bottom:auto;
                width:min(500px,calc(100vw - 48px));height:auto;max-height:min(820px,calc(100dvh - 48px));
                padding:30px 34px 28px;border:1px solid rgba(255,255,255,.76);border-radius:30px;
                box-shadow:0 38px 100px -30px rgba(0,12,16,.78),0 0 0 1px rgba(10,49,49,.08),inset 0 1px rgba(255,255,255,.95);
                transform:translateY(18px) scale(.975);
            }
            .auth-overlay.show .auth-sheet,
            .auth-overlay.is-gate .auth-sheet{transform:translateY(0) scale(1);}
            .auth-overlay.is-gate{background:
                radial-gradient(860px 520px at 84% -8%,rgba(89,179,164,.22),transparent 68%),
                radial-gradient(720px 500px at -8% 108%,rgba(218,177,98,.16),transparent 68%),
                #0b252a;}
            .auth-overlay.is-gate .auth-sheet::after{display:none;}
            .auth-brand{margin-top:0;margin-bottom:13px;}
            .auth-brand img{width:68px;height:68px;}
            .auth-panel{padding-top:18px;}
        }
        @media (max-height:700px){
            .auth-overlay.is-gate .auth-sheet{padding-top:calc(var(--safe-t) + 14px);}
            .auth-brand{margin-bottom:8px;}
            .auth-brand img{width:54px;height:54px;border-radius:17px;}
            .auth-brand span{display:none;}
            .auth-sheet-head{padding-bottom:10px;}
            .auth-panel{padding-top:12px;}
        }
        @media (prefers-contrast:more){
            .auth-field input,.auth-field select,.otp-boxes input,.auth-tabs,.auth-secondary{border-width:2px;}
            .auth-field span,.auth-field-title,.auth-sheet-head b{color:#071c1f;}
            .auth-link{color:#074f4b;text-decoration:underline;}
        }
        @media (prefers-reduced-motion:reduce){
            .auth-overlay,.auth-sheet,.auth-panel.is-active,.login-method.is-active,.auth-status.show,
            .auth-primary,.auth-secondary,.auth-danger,.auth-tab,.auth-link,.auth-password-toggle,
            .otp-boxes input{animation:none!important;transition:none!important;transform:none!important;}
            .button-spinner{animation:none!important;border-style:dotted;}
        }
    
