.page-home{
    --ph-accent: #39FF14;
    --ph-accent-secondary: #FF6B00;
    --ph-bg: #0A1F44;
    --ph-bg-deep: #071634;
    --ph-card-bg: #13264D;
    --ph-line: rgba(255,255,255,0.2);
    --ph-text: #F5F7FA;
    --ph-muted: #AAB6C9;
    --ph-font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --ph-font-en: "Anton", "Impact", "Arial Narrow", sans-serif;
    --ph-font-mono: "Roboto Mono", "SF Mono", "Consolas", monospace;

    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    color: var(--ph-text);
    font-family: var(--ph-font-cn);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

.page-home a{
    color: inherit;
    text-decoration: none;
}

.page-home .container,
.page-home .site-grid{
    max-width: var(--container-width, 1280px);
    margin: 0 auto;
}

/* ========== 英雄区 ========== */
.ph-hero{
    position: relative;
    padding: 24px 5vw 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.ph-hero-topbar{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ph-line);
}

.ph-ticker{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-family: var(--ph-font-mono);
    font-size: 0.8125rem;
    color: var(--ph-muted);
}

.ph-ticker-item{
    white-space: nowrap;
}

.ph-ticker-item strong{
    color: var(--ph-text);
    font-weight: 500;
}

.ph-ticker-live{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ph-accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.live-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ph-accent);
    display: inline-block;
    animation: ph-pulse 1.6s ease-in-out infinite;
}

@keyframes ph-pulse{
    0%, 100%{ opacity: 1; transform: scale(1); }
    50%{ opacity: 0.4; transform: scale(0.8); }
}

.ph-hero-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 0 32px;
    align-items: center;
}

.ph-hero-intro{
    position: relative;
    z-index: 2;
}

.ph-hero-kicker{
    font-family: var(--ph-font-mono);
    font-size: 0.875rem;
    color: var(--ph-accent-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-hero-kicker::before{
    content: "";
    width: 28px;
    height: 1px;
    background: var(--ph-accent-secondary);
}

.ph-hero-title{
    font-family: var(--ph-font-en);
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.ph-hero-brand{
    display: block;
    color: var(--ph-accent);
    -webkit-text-stroke: 1px rgba(57,255,20,0.3);
}

.page-home .ph-hero .ph-hero-title {
    font-family: "Anton", "Impact", "Haettenschweiler", "Arial Narrow", sans-serif;
}

.ph-hero-lead{
    font-size: 0.9375rem;
    color: var(--ph-muted);
    margin: 16px 0 28px;
    max-width: 480px;
}

.ph-hero-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.ph-hero-meta{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--ph-muted);
}

.ph-hero-meta li{
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-hero-meta li::before{
    content: "//";
    color: var(--ph-accent);
    font-family: var(--ph-font-mono);
    font-size: 0.75rem;
}

.ph-hero-visual{
    position: relative;
}

.ph-hero-img-wrap{
    position: relative;
    border: 1px solid var(--ph-line);
    background: var(--ph-card-bg);
    overflow: hidden;
}

.ph-hero-img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0.9;
}

.ph-hero-img-wrap::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(57,255,20,0.08) 50%,
        transparent 100%
    );
    background-size: 6px 6px;
    opacity: 0.3;
    pointer-events: none;
}

.ph-hero-stat{
    position: absolute;
    background: rgba(10,31,68,0.92);
    border: 1px solid var(--ph-line);
    padding: 12px 16px;
    backdrop-filter: blur(4px);
}

.ph-hero-stat-a{
    top: -14px;
    left: 16px;
}

.ph-hero-stat-b{
    bottom: -14px;
    right: 24px;
    border-color: var(--ph-accent);
}

.ph-hero-stat{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ph-stat-label{
    font-size: 0.6875rem;
    color: var(--ph-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ph-stat-value{
    font-family: var(--ph-font-mono);
    font-size: 1.75rem;
    line-height: 1.2;
    color: var(--ph-accent);
}

.ph-stat-value small{
    font-size: 1.5rem;
}

.ph-hero-stat-b .ph-stat-value{
    color: var(--ph-accent-secondary);
}

.ph-hero-line{
    position: absolute;
    top: 50%;
    left: -1px;
    right: -1px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--ph-accent), transparent);
    opacity: 0.3;
    transform: translateY(-50%);
}

.ph-hero-scan{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ph-accent), transparent);
    animation: ph-scan 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ph-scan{
    0%{ top: 0; opacity: 0; }
    10%{ opacity: 1; }
    90%{ opacity: 1; }
    100%{ top: 100%; opacity: 0; }
}

/* 分类索引 */
.ph-category-index{
    margin-top: 40px;
    border: 1px solid var(--ph-line);
    background: rgba(19,38,77,0.6);
    padding: 24px;
}

.ph-category-head{
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.ph-category-title{
    font-size: 1rem;
    letter-spacing: 0.06em;
}

.ph-category-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 24px;
}

.ph-category-list li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.875rem;
}

.ph-category-list a:hover{
    color: var(--ph-accent);
}

.ph-category-count{
    font-family: var(--ph-font-mono);
    color: var(--ph-accent);
    font-size: 0.8125rem;
}

.ph-category-note{
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--ph-muted);
    text-align: right;
}

/* ========== 通用小节 ========== */
.ph-section{
    padding: 72px 5vw;
    max-width: 1440px;
    margin: 0 auto;
}

.ph-section-head{
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--ph-line);
    padding-bottom: 12px;
}

.section-index{
    font-family: var(--ph-font-mono);
    font-size: 0.875rem;
    color: var(--ph-accent);
    font-weight: 500;
}

.page-home .section-title{
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 200;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ========== 统计核对窗口 ========== */
.ph-verify{
    background: linear-gradient(to right, rgba(7,22,52,0.4) 0%, rgba(10,31,68,0.2) 100%);
}

.ph-verify-body{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.ph-verify-visual{
    position: relative;
    border: 1px solid var(--ph-line);
    overflow: hidden;
}

.ph-verify-visual img{
    display: block;
    width: 100%;
    height: auto;
}

.ph-verify-window{
    position: absolute;
    right: 24px;
    bottom: -18px;
    background: var(--ph-bg-deep);
    border: 1px solid var(--ph-accent);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.ph-window-tag{
    font-size: 0.6875rem;
    color: var(--ph-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ph-window-num{
    font-family: var(--ph-font-mono);
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--ph-accent);
}

.ph-window-label{
    font-size: 0.75rem;
    color: var(--ph-muted);
    margin-top: 4px;
}

.ph-verify-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.ph-verify-lead{
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ph-text);
    margin: 0;
    max-width: 560px;
}

.ph-verify-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--ph-muted);
}

.ph-verify-list li{
    position: relative;
    padding-left: 18px;
}

.ph-verify-list li::before{
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--ph-accent);
    font-family: var(--ph-font-mono);
}

.ph-verify-steps{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 560px;
    margin-top: 8px;
}

.ph-step{
    border: 1px solid var(--ph-line);
    padding: 12px;
    text-align: center;
    background: rgba(19,38,77,0.4);
}

.ph-step-index{
    font-family: var(--ph-font-mono);
    font-size: 0.8125rem;
    color: var(--ph-accent);
    display: block;
}

.ph-step-text{
    font-size: 0.75rem;
    color: var(--ph-text);
    display: block;
    margin-top: 4px;
}

/* ========== 订阅战报 ========== */
.ph-subscribe{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    border-left: 2px solid rgba(255,255,255,0.08);
}

.ph-subscribe-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.ph-subscribe-lead{
    font-size: 0.9375rem;
    color: var(--ph-muted);
    margin: 0;
    max-width: 480px;
}

.ph-subscribe-info{
    width: 100%;
    max-width: 480px;
    border-top: 1px solid var(--ph-line);
}

.ph-info-row{
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ph-info-key{
    font-family: var(--ph-font-mono);
    font-size: 0.8125rem;
    color: var(--ph-muted);
}

.ph-info-value{
    font-size: 0.875rem;
    color: var(--ph-text);
}

.ph-subscribe-tip{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(19,38,77,0.6);
    border-left: 2px solid var(--ph-accent);
}

.ph-tip-text{
    font-size: 0.8125rem;
    color: var(--ph-text);
}

.ph-subscribe-visual{
    border: 1px solid var(--ph-line);
    overflow: hidden;
    align-self: start;
}

.ph-subscribe-visual img{
    display: block;
    width: 100%;
    height: auto;
}

/* ========== 收藏常用页面 ========== */
.ph-favorite{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    border-left: 2px solid var(--ph-accent-secondary);
}

.ph-favorite-visual{
    border: 1px solid var(--ph-line);
    overflow: hidden;
    align-self: start;
}

.ph-favorite-visual img{
    display: block;
    width: 100%;
    height: auto;
}

.ph-favorite-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.ph-favorite-lead{
    font-size: 0.9375rem;
    color: var(--ph-muted);
    margin: 0;
    max-width: 480px;
}

.ph-favorite-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ph-favorite-demo{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px dashed rgba(255,255,255,0.15);
    border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.ph-demo-label{
    font-family: var(--ph-font-mono);
    font-size: 0.75rem;
    color: var(--ph-muted);
}

.ph-fav-btn{
    appearance: none;
    background: transparent;
    border: 1px solid var(--ph-line);
    color: var(--ph-text);
    font-family: var(--ph-ph-font-cn, var(--ph-font-cn));
    font-size: 0.8125rem;
    padding: 8px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ph-fav-btn:hover{
    border-color: var(--ph-accent-secondary);
    color: var(--ph-accent-secondary);
}

.ph-fav-btn[aria-pressed="true"]{
    border-color: var(--ph-accent-secondary);
    color: var(--ph-accent-secondary);
}

.ph-fav-btn[aria-pressed="true"] .ph-fav-icon::before{
    content: "★";
}

.ph-fav-icon::before{
    content: "☆";
}

/* ========== 老用户快速入口 ========== */
.ph-return{
    border-top: 1px solid rgba(255,255,255,0.08);
}

.ph-return-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ph-return-card{
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--ph-line);
    background: var(--ph-card-bg);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ph-return-card:hover{
    border-color: var(--ph-accent);
    transform: translateX(4px);
}

.ph-card-index{
    font-family: var(--ph-font-mono);
    font-size: 0.8125rem;
    color: var(--ph-accent);
}

.ph-card-label{
    font-size: 1.25rem;
    font-weight: 400;
}

.ph-card-desc{
    font-size: 0.8125rem;
    color: var(--ph-muted);
}

/* ========== Badge ========== */
.page-home .badge{
    display: inline-block;
    font-family: var(--ph-font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid;
}

.page-home .badge-accent{
    color: var(--ph-accent);
    border-color: var(--ph-accent);
    background: rgba(57,255,20,0.08);
}

.page-home .badge-orange{
    color: var(--ph-accent-secondary);
    border-color: var(--ph-accent-secondary);
    background: rgba(255,107,0,0.08);
}

/* ========== Button 风格 ========== */
.page-home .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ph-font-cn);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 12px 28px;
    border: 1px solid;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .btn-accent{
    background: var(--ph-accent);
    border-color: var(--ph-accent);
    color: #0A1F44;
    font-weight: 500;
}

.page-home .btn-accent:hover{
    background: transparent;
    color: var(--ph-accent);
}

.page-home .btn-outline{
    background: transparent;
    border-color: rgba(255,255,255,0.35);
    color: var(--ph-text);
}

.page-home .btn-outline:hover{
    border-color: var(--ph-text);
    color: var(--ph-accent);
}

.page-home .btn-sm{
    padding: 8px 20px;
    font-size: 0.75rem;
}

/* ========== 响应式 ========== */
@media (min-width: 768px){
    .ph-hero-grid{
        grid-template-columns: 5fr 7fr;
        gap: 48px;
        padding: 80px 0 48px;
    }

    .ph-category-list{
        grid-template-columns: repeat(6, 1fr);
    }

    .ph-verify-body{
        grid-template-columns: 7fr 5fr;
        gap: 56px;
        align-items: center;
    }

    .ph-subscribe{
        grid-template-columns: 6fr 4fr;
        gap: 56px;
        align-items: center;
    }

    .ph-favorite{
        grid-template-columns: 4fr 6fr;
        gap: 56px;
        align-items: center;
    }

    .ph-return-grid{
        grid-template-columns: repeat(4, 1fr);
    }

    .ph-hero{
        padding: 32px 6vw 60px;
    }

    .ph-section{
        padding: 96px 6vw;
    }
}

@media (min-width: 1200px){
    .ph-hero{
        padding: 40px 6vw 72px;
    }

    .ph-section{
        padding: 120px 6vw;
    }

    .ph-hero-grid{
        gap: 72px;
    }

    .ph-verify-body,
    .ph-subscribe,
    .ph-favorite{
        gap: 80px;
    }
}

@media (max-width: 480px){
    .ph-hero-topbar{
        flex-direction: column;
        align-items: flex-start;
    }

    .ph-ticker{
        gap: 8px;
        flex-wrap: wrap;
    }

    .ph-ticker-item:nth-child(n + 2)::before{
        content: "/";
        margin-right: 8px;
        color: rgba(255,255,255,0.2);
    }

    .ph-category-list{
        grid-template-columns: repeat(2, 1fr);
    }

    .ph-verify-steps{
        grid-template-columns: repeat(2, 1fr);
    }

    .ph-return-grid{
        grid-template-columns: 1fr 1fr;
    }

    .ph-return-card{
        padding: 16px;
    }

    .ph-hero-stat{
        position: static;
        margin-top: 12px;
        display: inline-flex;
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        padding: 8px 16px;
    }

    .ph-hero-stat + .ph-hero-stat{
        margin-left: 8px;
    }

    .ph-hero-visual{
        margin-top: 16px;
    }

    .ph-hero-line,
    .ph-hero-scan{
        display: none;
    }
}

.page-home {
  --ph-ph-font-cn: inherit;
}
