.home-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    padding: 28px;
    background: linear-gradient(140deg, rgba(21, 35, 74, 0.95), rgba(15, 24, 52, 0.95));
    border: 1px solid rgba(120, 170, 255, 0.34);
}

.hero-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8fb9ff;
}

.hero-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.25;
    color: #f4f8ff;
}

.hero-description {
    margin: 12px 0 0;
    max-width: 680px;
    color: #c8d8fb;
}

.hero-cta-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-cta-btn {
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
}

.hero-cta-primary {
    background: linear-gradient(130deg, var(--accent-blue), var(--accent-pink));
    color: #ffffff;
}

.hero-cta-secondary {
    background: rgba(23, 208, 255, 0.17);
    border-color: rgba(23, 208, 255, 0.45);
    color: #d5f5ff;
}

.hero-cta-soft {
    background: rgba(158, 176, 212, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    color: #edf3ff;
}

.hero-welcome {
    margin: 12px 0 0;
    font-size: 14px;
    color: #bdd0f4;
}

.section-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.section-link {
    font-size: 14px;
    color: #7ed9ff;
}

.community-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.community-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(120, 170, 255, 0.3);
    background: rgba(13, 23, 49, 0.78);
    min-width: 140px;
}

.community-chip-name {
    font-weight: 700;
    color: #f5f9ff;
}

.community-chip-meta {
    color: #9eb0d4;
    font-size: 12px;
}

.ranking-tab-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ranking-tab {
    padding: 12px 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    border: 1px solid rgba(120, 170, 255, 0.34);
    background: rgba(13, 23, 49, 0.76);
    color: #e9f1ff;
}

.home-page .post-list {
    gap: 18px;
}

.home-page .post-card-link {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border-radius: 18px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-page .post-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(3, 6, 16, 0.32);
}

.post-image-lg img {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    object-fit: cover;
}

.home-page .post-title {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}

.reaction-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.reaction-chip {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.reaction-chip.wish {
    background: rgba(255, 62, 167, 0.2);
    color: #ffd8ef;
}

.reaction-chip.owned {
    background: rgba(23, 208, 255, 0.18);
    color: #d2f3ff;
}

.reaction-chip.rare {
    background: rgba(133, 107, 255, 0.24);
    color: #ede5ff;
}

.meta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.meta-pill {
    font-size: 12px;
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid rgba(120, 170, 255, 0.3);
    color: #cfdef9;
}

.post-author-meta {
    margin-bottom: 6px;
}

.text-link {
    color: #8ee0ff;
    font-weight: 600;
}

.desc-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.support-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #94a8cf;
    font-size: 12px;
}

.home-footer {
    margin: 28px 0 6px;
    text-align: center;
    color: #8fa7d7;
    font-size: 13px;
}

@media (max-width: 860px) {
    .ranking-tab-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title {
        font-size: 28px;
    }

    .home-page .post-card-link {
        grid-template-columns: 1fr;
    }

    .post-image-lg img {
        height: min(56vw, 300px);
    }
}

@media (max-width: 520px) {
    .hero-card {
        padding: 22px 18px;
    }

    .hero-cta-row {
        flex-direction: column;
    }

    .hero-cta-btn {
        text-align: center;
        width: 100%;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-chip {
        width: 100%;
    }

    .home-page .post-title {
        font-size: 20px;
    }
}

.post-detail-mobile {
    background: #0b1020;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.pd-hero-wrap { position: relative; }
.pd-hero-image { width: 100%; height: 280px; object-fit: cover; display:block; }
.pd-hero-overlay { position:absolute; inset:0; display:flex; justify-content:space-between; align-items:flex-start; padding:16px; background: linear-gradient(180deg, rgba(11,16,32,.5), rgba(11,16,32,0)); }
.pd-community-pill, .pd-report-link { background: rgba(11,16,32,.65); color:#f7f9fc; padding:6px 12px; border-radius:999px; font-size:12px; border:1px solid rgba(255,255,255,.15); }
.pd-section { padding: 16px; }
.pd-meta-section { padding-bottom: 8px; }
.pd-title { margin:0 0 10px; font-size: 28px; line-height:1.25; }
.pd-author-row { color: rgba(247,249,252,.72); font-size:14px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.pd-rating-card { margin: 0 16px 16px; border-radius: 16px; border:1px solid rgba(255,255,255,.08); background:#131a2a; }
.pd-rating-summary{display:flex; justify-content:space-between; align-items:flex-end;}
.pd-rating-label{font-size:12px; color:rgba(247,249,252,.72);} .pd-rating-value{font-size:36px; font-weight:800; line-height:1;}
.pd-rating-votes{font-size:14px; color:rgba(247,249,252,.72);} .pd-rating-prompt{margin:10px 0; color:rgba(247,249,252,.72)}
.pd-rarity-scale{display:grid; grid-template-columns: repeat(10, minmax(0,1fr)); gap:6px;}
.rarity-btn,.reaction-btn{border-radius:12px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.04); color:#f7f9fc; padding:8px 6px; font-size:12px;}
.rarity-btn.active,.reaction-btn.active{background:#6E7CFF; border-color:#6E7CFF;}
.pd-primary-cta{margin-top:14px; width:100%; height:48px; border-radius:14px; background:linear-gradient(130deg,#7b88ff,#5f6dff);}
.pd-chip-row{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;}
.pd-sub-reaction{margin-top:8px;}
.pd-minor{width:100%; border-style:dashed;}
.pd-description p{margin:0 0 8px; color:rgba(247,249,252,.72);}

@media (max-width:520px){
 body{padding:12px;} .site-header{padding:14px;} .post-detail-mobile{border-radius:16px;} .pd-title{font-size:22px;} .pd-hero-image{height:240px;}
}
