
:root{
    --mf-blue:#28a8ff;
    --mf-blue2:#147cff;
    --mf-dark:#07111f;
    --mf-text:#111827;
    --mf-muted:#667085;
    --mf-bg:#f6fbff;
}

*{box-sizing:border-box;}

body{
    margin:0;
    background:
        radial-gradient(circle at 80% 6%,rgba(89,199,255,.18),transparent 32%),
        radial-gradient(circle at 12% 28%,rgba(20,124,255,.08),transparent 28%),
        #f7fbff;
    color:var(--mf-text);
    font-family:'Heebo',sans-serif;
}

.mf-read-progress{
    position:fixed;
    top:0;
    right:0;
    height:4px;
    width:0;
    z-index:999999;
    background:linear-gradient(90deg,#ff3b9f,#28a8ff);
    box-shadow:0 0 18px rgba(40,168,255,.45);
}

.mf-mag-page{
    min-height:100vh;
    padding-bottom:70px;
}

.mf-mag-header{
    height:82px;
    display:flex;
    align-items:center;
    border-bottom:1px solid rgba(15,23,42,.05);
    background:rgba(255,255,255,.78);
    backdrop-filter:blur(20px);
    position:relative;
    z-index:10;
}

.mf-mag-header-inner{
    width:min(1180px,calc(100% - 32px));
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:18px;
}

.mf-mag-logo{
    font-size:30px;
    font-weight:1000;
    letter-spacing:-1px;
    color:#111827;
    text-decoration:none;
    white-space:nowrap;
}

.mf-mag-logo span{color:var(--mf-blue2);}

.mf-mag-nav{
    display:flex;
    gap:24px;
    align-items:center;
}

.mf-mag-nav a{
    color:#111827;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
}

.mf-mag-tools{
    display:flex;
    align-items:center;
    gap:10px;
    justify-content:flex-start;
}

.mf-now-btn,
.mf-tool-btn,
.mf-menu-btn{
    border:0;
    cursor:pointer;
    text-decoration:none;
}

.mf-now-btn{
    height:44px;
    padding:0 17px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#07111f;
    color:#fff;
    font-weight:900;
    box-shadow:0 14px 34px rgba(7,17,31,.16);
}

.mf-tool-btn,
.mf-menu-btn{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fff;
    color:#07111f;
    border:1px solid rgba(15,23,42,.06);
    box-shadow:0 10px 26px rgba(15,23,42,.06);
}

.mf-menu-btn{display:none;}

.mf-sticky-mini{
    position:fixed;
    top:14px;
    right:50%;
    transform:translateX(50%) translateY(-120%);
    z-index:9999;
    width:min(620px,calc(100% - 32px));
    background:rgba(255,255,255,.86);
    border:1px solid rgba(15,23,42,.06);
    border-radius:22px;
    box-shadow:0 18px 55px rgba(15,23,42,.14);
    backdrop-filter:blur(20px);
    transition:.28s ease;
}

.mf-sticky-mini.active{transform:translateX(50%) translateY(0);}

.mf-sticky-inner{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 14px;
}

.mf-sticky-inner img{
    width:48px;
    height:48px;
    border-radius:12px;
    object-fit:cover;
}

.mf-sticky-inner strong{
    display:block;
    font-size:14px;
    line-height:1.25;
    max-width:480px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.mf-sticky-inner small{
    color:#667085;
    font-weight:800;
}

.mf-mag-wrap{
    width:min(1180px,calc(100% - 32px));
    margin:0 auto;
}

.mf-article-topline{
    display:flex;
    justify-content:center;
    margin:22px 0 18px;
}

.mf-top-article-mini{
    display:flex;
    align-items:center;
    gap:12px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(15,23,42,.05);
    box-shadow:0 16px 45px rgba(15,23,42,.06);
    border-radius:24px;
    padding:12px 18px;
    min-width:min(600px,100%);
}

.mf-top-article-mini img{
    width:54px;
    height:54px;
    object-fit:cover;
    border-radius:14px;
}

.mf-top-article-mini strong{
    display:block;
    font-size:15px;
    line-height:1.35;
}

.mf-top-article-mini small{
    color:#667085;
    font-weight:800;
}


.mf-mag-layout{
    display:grid;
    grid-template-columns:95px minmax(0,1fr) 300px;
    gap:24px;
    margin-top:34px;
    align-items:start;
}

.mf-left-rail{
    position:sticky;
    top:100px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
}

.mf-share-title{
    color:#667085;
    font-size:12px;
    font-weight:900;
    margin-bottom:2px;
}

.mf-left-rail > a{
    width:46px;
    height:46px;
    border-radius:50%;
    display:grid;
    place-items:center;
    color:#07111f;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    box-shadow:0 14px 34px rgba(15,23,42,.08);
    text-decoration:none;
}

.mf-reactions-box{
    margin-top:16px;
    width:112px;
    border-radius:22px;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    box-shadow:0 18px 50px rgba(15,23,42,.08);
    padding:12px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.mf-reactions-box strong{
    font-size:13px;
    text-align:center;
    margin-bottom:4px;
}

.mf-reactions-box button{
    height:36px;
    border-radius:999px;
    border:1px solid rgba(15,23,42,.06);
    background:#fff;
    cursor:pointer;
    font-weight:900;
    color:#475467;
    transition:.2s ease;
}

.mf-reactions-box button.active,
.mf-reactions-box button:hover{
    background:rgba(40,168,255,.10);
    color:#147cff;
    border-color:rgba(40,168,255,.22);
}

.mf-article-reader{
    background:rgba(255,255,255,.72);
    border:1px solid rgba(15,23,42,.045);
    border-radius:28px;
    padding:34px 42px;
    box-shadow:0 24px 65px rgba(15,23,42,.07);
}

.mf-article-intro{
    padding:24px 28px;
    border-radius:22px;
    background:linear-gradient(135deg,rgba(89,199,255,.12),rgba(20,124,255,.06));
    color:#1f2d44;
    font-size:19px;
    line-height:1.95;
    font-weight:900;
    margin-bottom:30px;
}

.mf-article-body{
    color:#26364d;
    font-size:19px;
    line-height:2.08;
    font-weight:500;
}

.mf-article-body p{
    margin:0 0 24px;
}

.mf-article-body h2,
.mf-article-body h3{
    margin:36px 0 16px;
    color:#101828;
    font-weight:1000;
    line-height:1.25;
}

.mf-article-body blockquote{
    position:relative;
    overflow:hidden;
    margin:44px 0;
    padding:42px 46px;
    border-radius:34px;
    background:
        linear-gradient(135deg,
        rgba(89,199,255,.18),
        rgba(20,124,255,.08));

    border:1px solid rgba(89,199,255,.18);

    box-shadow:
        0 30px 80px rgba(20,124,255,.10),
        inset 0 1px 0 rgba(255,255,255,.45);

    color:#147cff;

    font-size:34px;
    font-weight:1000;
    line-height:1.55;
    letter-spacing:-1px;
    text-align:center;

    backdrop-filter:blur(18px);
}

.mf-article-body blockquote::before{
    content:"“";
    position:absolute;
    top:-30px;
    right:24px;

    font-size:180px;
    line-height:1;

    color:rgba(255,255,255,.34);

    font-family:serif;
    font-weight:1000;

    pointer-events:none;
}

.mf-article-body blockquote::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        radial-gradient(circle at top right,
        rgba(255,255,255,.24),
        transparent 38%);

    pointer-events:none;
}

.mf-article-body img{
    width:100%;
    max-height:360px;
    object-fit:cover;
    border-radius:20px;
    margin:18px 0 24px;
    box-shadow:0 20px 50px rgba(15,23,42,.12);
}

.mf-tags-row{
    display:flex;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
    margin-top:34px;
}

.mf-tags-row span{
    padding:8px 13px;
    border-radius:999px;
    border:1px solid rgba(40,168,255,.22);
    color:#147cff;
    background:rgba(40,168,255,.06);
    font-size:12px;
    font-weight:900;
}

.mf-right-sidebar{
    display:flex;
    flex-direction:column;
    gap:22px;
    position:sticky;
    top:100px;
}

.mf-side-card{
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    border-radius:24px;
    padding:24px;
    box-shadow:0 20px 55px rgba(15,23,42,.08);
}

.mf-side-card h3{
    margin:0 0 18px;
    font-size:21px;
    text-align:center;
}

.mf-toc-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    position:relative;
}

.mf-toc-list::before{
    content:"";
    position:absolute;
    right:18px;
    top:10px;
    bottom:10px;
    width:2px;
    background:#d9e7f6;
}

.mf-toc-list a{
    display:flex;
    align-items:center;
    gap:14px;
    color:#475467;
    text-decoration:none;
    font-weight:800;
    font-size:13px;
    position:relative;
    padding:7px 0;
}

.mf-toc-list span{
    width:36px;
    height:36px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff;
    border:1px solid #d9e7f6;
    color:#28a8ff;
    font-weight:1000;
    z-index:1;
}

.mf-side-related{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.mf-side-related a{
    display:grid;
    grid-template-columns:1fr 72px;
    gap:12px;
    align-items:center;
    color:#111827;
    text-decoration:none;
}

.mf-side-related strong{
    display:block;
    font-size:14px;
    line-height:1.35;
}

.mf-side-related small{
    color:#667085;
    font-weight:800;
}

.mf-side-related img{
    width:72px;
    height:62px;
    border-radius:14px;
    object-fit:cover;
}

.mf-audio-mode-card{
    background:#07111f;
    color:#fff;
    border-radius:24px;
    padding:26px;
    text-align:center;
    box-shadow:0 24px 65px rgba(7,17,31,.24);
}

.mf-audio-mode-card i{
    font-size:24px;
    color:#28a8ff;
}

.mf-audio-mode-card h3{
    margin:12px 0 10px;
}

.mf-audio-mode-card p{
    color:rgba(255,255,255,.72);
    font-weight:800;
    line-height:1.6;
}

.mf-audio-mode-card button{
    height:42px;
    border:0;
    border-radius:999px;
    padding:0 18px;
    color:#fff;
    background:linear-gradient(135deg,#59c7ff,#147cff);
    font-weight:900;
    cursor:pointer;
}

.mf-bottom-related{
    margin:36px auto 0;
    max-width:880px;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    border-radius:24px;
    padding:24px;
    box-shadow:0 20px 55px rgba(15,23,42,.08);
}

.mf-bottom-related h2{
    margin:0 0 18px;
    text-align:center;
}

.mf-bottom-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.mf-bottom-card{
    color:#111827;
    text-decoration:none;
}

.mf-bottom-card img{
    width:100%;
    height:88px;
    object-fit:cover;
    border-radius:14px;
    margin-bottom:10px;
}

.mf-bottom-card span{
    display:inline-flex;
    padding:5px 10px;
    border-radius:999px;
    background:rgba(40,168,255,.08);
    color:#147cff;
    font-size:11px;
    font-weight:900;
    margin-bottom:8px;
}

.mf-bottom-card strong{
    display:block;
    font-size:14px;
    line-height:1.35;
    margin-bottom:6px;
}

.mf-bottom-card small{
    color:#667085;
    font-weight:800;
}

.mf-toast{
    position:fixed;
    bottom:24px;
    right:24px;
    z-index:999999;
    min-width:220px;
    max-width:320px;
    padding:14px 18px;
    border-radius:18px;
    background:rgba(6,17,31,.94);
    color:#fff;
    font-size:14px;
    font-weight:900;
    box-shadow:0 18px 45px rgba(6,17,31,.28);
    opacity:0;
    transform:translateY(20px);
    pointer-events:none;
    transition:.25s ease;
}

.mf-toast.active{
    opacity:1;
    transform:translateY(0);
}

body.mf-audio-mode{
    background:#07111f;
}

body.mf-audio-mode .mf-mag-header,
body.mf-audio-mode .mf-article-reader,
body.mf-audio-mode .mf-side-card,
body.mf-audio-mode .mf-bottom-related{
    background:rgba(255,255,255,.92);
}

@media(max-width:1050px){
    .mf-mag-layout{
        grid-template-columns:1fr;
    }

    .mf-left-rail,
    .mf-right-sidebar{
        position:static;
    }

    .mf-left-rail{
        flex-direction:row;
        justify-content:center;
        flex-wrap:wrap;
    }

    .mf-reactions-box{
        width:100%;
        max-width:360px;
    }

    .mf-bottom-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:760px){
    .mf-mag-nav{display:none;}
    .mf-menu-btn{display:grid;}

    .mf-mag-header-inner{
        grid-template-columns:auto 1fr auto;
    }

    .mf-mag-logo{
        font-size:22px;
        text-align:center;
    }

    .mf-now-btn{display:none;}


    .mf-mag-layout{
        margin-top:22px;
    }

    .mf-article-reader{
        padding:22px 18px;
        border-radius:22px;
    }

    .mf-article-intro,
    .mf-article-body{
        font-size:17px;
        line-height:1.9;
    }

    .mf-bottom-grid{
        grid-template-columns:1fr;
    }
}
body{
    padding-top:0 !important;
}

.mf-mag-page{
    padding-top:20px !important;
}

.mf-sticky-mini{
    display:none !important;
}