body{background:linear-gradient(180deg,#f8fbff 0%,#eef4ff 100%)}
        .home-shell{padding:22px 0 38px}
        .hero-card{position:relative;overflow:hidden;border-radius:30px;padding:24px;background:linear-gradient(135deg,#0f172a 0%,#2563eb 52%,#7c3aed 100%);color:#fff;box-shadow:0 24px 55px rgba(37,99,235,.25);margin-bottom:18px}
        .hero-card:before{content:"";position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.14)}
        .hero-card:after{content:"";position:absolute;left:-60px;bottom:-90px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.10)}
        .hero-inner{position:relative;z-index:1;display:flex;justify-content:space-between;gap:18px;align-items:center}
        .hero-brand{display:flex;gap:14px;align-items:center}
        .hero-logo,.hero-fallback{width:76px;height:76px;border-radius:23px;background:#fff;object-fit:cover;box-shadow:0 14px 35px rgba(0,0,0,.2)}
        .hero-fallback{display:grid;place-items:center;color:#111827;font-size:24px;font-weight:900}
        .hero-title h1{margin:0;font-size:clamp(28px,5vw,46px);letter-spacing:-.04em}
        .hero-title p{margin:7px 0 0;opacity:.9;line-height:1.5}
        .live-pill{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.26);padding:10px 14px;border-radius:999px;font-weight:900;white-space:nowrap}
        .page-list{display:flex;flex-direction:column;gap:14px}
        .page-card{position:relative;overflow:hidden;border:1px solid #e5e7eb;border-radius:28px;background:#fff;padding:17px;box-shadow:0 14px 35px rgba(15,23,42,.08);display:grid;grid-template-columns:74px 1fr auto;gap:14px;align-items:center;transition:.2s ease}
        .page-card:hover{transform:translateY(-2px);box-shadow:0 20px 48px rgba(15,23,42,.12)}
        .page-icon{width:72px;height:72px;border-radius:24px;display:grid;place-items:center;font-size:32px;color:#fff;box-shadow:0 12px 28px rgba(15,23,42,.18)}
        .from-blue .page-icon{background:linear-gradient(135deg,#2563eb,#06b6d4)}
        .from-green .page-icon{background:linear-gradient(135deg,#16a34a,#84cc16)}
        .from-purple .page-icon{background:linear-gradient(135deg,#7c3aed,#db2777)}
        .from-orange .page-icon{background:linear-gradient(135deg,#f97316,#f59e0b)}
        .from-red .page-icon{background:linear-gradient(135deg,#dc2626,#f97316)}
        .from-cyan .page-icon{background:linear-gradient(135deg,#0891b2,#2563eb)}
        .from-dark .page-icon{background:linear-gradient(135deg,#111827,#475569)}
        .from-slate .page-icon{background:linear-gradient(135deg,#334155,#0ea5e9)}
        .page-copy h2{font-size:22px;margin:0 0 5px;color:#0f172a;text-transform:uppercase;letter-spacing:.02em}
        .page-copy p{margin:0;color:#64748b;line-height:1.45;text-transform:capitalize}
        .open-btn{border:0;background:#111827;color:#fff;border-radius:16px;padding:13px 18px;font-weight:900;white-space:nowrap}
        .top-link-row{display:flex;justify-content:flex-end;margin:0 0 12px;gap:8px;flex-wrap:wrap}
        @media(max-width:720px){
            .hero-card{
                border-radius:22px;
                padding:12px 14px 14px;
                margin-bottom:14px;
                box-shadow:0 16px 34px rgba(37,99,235,.22);
            }
            .hero-card:before{width:140px;height:140px;right:-54px;top:-54px}
            .hero-card:after{width:120px;height:120px;left:-48px;bottom:-62px}
            .hero-inner{
                align-items:flex-start;
                flex-direction:column;
                gap:10px;
                min-height:98px;
                padding-top:34px;
            }
            .hero-brand{gap:10px}
            .hero-logo,.hero-fallback{
                width:54px;
                height:54px;
                border-radius:17px;
            }
            .hero-fallback{font-size:18px}
            .hero-title h1{
                font-size:24px;
                line-height:1.08;
                letter-spacing:-.025em;
            }
            .live-pill{
                position:absolute;
                right:0;
                top:0;
                white-space:nowrap;
                padding:7px 11px;
                border-radius:999px;
                font-size:12px;
                line-height:1;
                background:rgba(255,255,255,.20);
                box-shadow:0 8px 18px rgba(15,23,42,.14);
            }
            .page-card{grid-template-columns:58px 1fr}
            .page-icon{width:58px;height:58px;border-radius:18px;font-size:26px}
            .open-btn{grid-column:1/-1;width:100%}
            .page-copy h2{font-size:19px}
        }

        .home-offline-note{
            display:none;
            margin:0 0 14px;
            padding:12px 14px;
            border-radius:18px;
            background:#fff7ed;
            border:1px solid #fed7aa;
            color:#9a3412;
            font-size:13px;
            font-weight:850;
            line-height:1.45;
        }
        .home-offline-note.show{display:block}
        .page-card.offline-disabled{
            opacity:.58;
            filter:grayscale(.25);
        }
        .page-card.offline-disabled .open-btn{
            background:#9ca3af;
        }
        .offline-mini-pill{
            display:none;
            margin-top:7px;
            width:max-content;
            max-width:100%;
            border-radius:999px;
            padding:5px 9px;
            background:#fff7ed;
            color:#9a3412;
            border:1px solid #fed7aa;
            font-size:11px;
            font-weight:900;
        }
        .page-card.offline-disabled .offline-mini-pill{display:inline-flex}


        .subscription-reminder-backdrop{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(15,23,42,.68);backdrop-filter:blur(9px)}
        .subscription-reminder-backdrop.open{display:flex}
        .subscription-reminder-card{width:min(520px,100%);border-radius:28px;background:#fff;box-shadow:0 34px 100px rgba(15,23,42,.42);overflow:hidden;border:1px solid #e5e7eb}
        .subscription-reminder-head{padding:18px 20px;color:#fff;background:linear-gradient(135deg,#dc2626,#f97316,#facc15)}
        .subscription-reminder-head h3{margin:0;font-size:22px}.subscription-reminder-body{padding:18px;background:linear-gradient(180deg,#fff,#fff7ed);color:#0f172a}.subscription-reminder-body p{margin:0 0 10px;line-height:1.55;font-weight:800;color:#334155}.subscription-reminder-days{display:inline-flex;border-radius:999px;background:#fee2e2;color:#991b1b;padding:8px 12px;font-weight:1000;margin:6px 0 12px}.subscription-reminder-actions{display:flex;justify-content:flex-end;margin-top:12px}.subscription-reminder-ok{border:0;border-radius:999px;background:linear-gradient(135deg,#0f172a,#2563eb);color:#fff;min-height:44px;padding:0 20px;font-weight:1000;cursor:pointer}
        @media(max-width:640px){.subscription-reminder-backdrop{align-items:flex-start;padding:10px}.subscription-reminder-card{border-radius:22px}.subscription-reminder-head h3{font-size:18px}}
