/* 首页专属 */
.hero {
    position: relative; overflow: hidden; color: var(--ink);
    background:
            radial-gradient(640px 420px at 88% -8%, rgba(99,102,241,.13) 0%, transparent 62%),
            radial-gradient(520px 380px at -6% 108%, rgba(168,85,247,.09) 0%, transparent 60%),
            linear-gradient(178deg, #fbfafc 0%, #f4f3fa 58%, #efedf8 100%);
    border-bottom: 1px solid var(--line);
    padding: 0px 10px 0px 10px;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(15,23,20,.05) 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
}
.hero-word {
    position: absolute; right: -1%; top: 8%;
    font-size: clamp(90px, 12.5vw, 180px); font-weight: 800; letter-spacing: 6px; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1px rgba(15,23,20,.06);
    user-select: none; pointer-events: none; writing-mode: vertical-rl;
}
.hero-inner {
    position: relative; display: grid; grid-template-columns: 1fr 460px;
    gap: 60px; align-items: center; padding: 76px 0;
}
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hu { animation: heroUp .8s var(--ease) both; }
.hu-1 { animation-delay: .05s; } .hu-2 { animation-delay: .15s; } .hu-3 { animation-delay: .25s; }
.hu-4 { animation-delay: .38s; } .hu-5 { animation-delay: .5s; }

.hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11.5px; letter-spacing: 3px; color: var(--ink-2);
    border: 1px solid rgba(99,102,241,.32); border-radius: 999px; padding: 8px 18px;
    background: rgba(255,255,255,.7); backdrop-filter: blur(4px);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #6366f1; position: relative; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #6366f1; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.hero-title {
    margin-top: 28px; font-size: clamp(38px, 5.4vw, 64px); font-weight: 800;
    line-height: 1.2; letter-spacing: 2px; color: var(--ink);
}
.hero-title .grad {
    background: linear-gradient(92deg, #4338ca 10%, #6366f1 45%, #a855f7 95%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .stroke { color: transparent; -webkit-text-stroke: 1.5px rgba(15,23,20,.72); }
.hero-sub { margin-top: 20px; color: var(--ink-2); max-width: 540px; font-size: 15.5px; line-height: 1.85; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn.solid { background: #6366f1; border-color: #6366f1; color: #fff; }
.hero-cta .btn.solid:hover { background: #4f46e5; border-color: #4f46e5; transform: translateY(-2px); }
.hero-cta .btn.ghost { border-color: rgba(15,23,20,.3); color: var(--ink); background: rgba(255,255,255,.5); }
.hero-cta .btn.ghost:hover { background: #fff; border-color: var(--ink); transform: translateY(-2px); }
/* 左下：横向数据条 */
.hero-strip {
    margin-top: 42px; display: flex; flex-wrap: wrap; gap: 0;
    border: 1px solid rgba(15,23,20,.1); border-radius: 14px; overflow: hidden;
    background: rgba(255,255,255,.66); backdrop-filter: blur(6px);
}
.hst { flex: 1 1 0; min-width: 120px; padding: 16px 20px; border-right: 1px solid rgba(15,23,20,.08); }
.hst:last-child { border-right: none; }
.hst .k { font-size: 11px; color: var(--ink-3); letter-spacing: 1px; }
.hst .v { font-family: var(--num); font-size: 16.5px; font-weight: 800; margin-top: 5px; }
.hst .v em { font-style: normal; font-size: 11px; font-weight: 700; margin-left: 5px; }
.hst .v em.up { color: var(--up); } .hst .v em.down { color: var(--down); }
/* 右侧：主行情卡 + 迷你卡 */
.hero-board { position: relative; }
.hb-main {
    position: relative; overflow: hidden;
    border: 1px solid rgba(15,23,20,.09); border-radius: 18px;
    background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
    box-shadow: 0 18px 48px -20px rgba(15,23,20,.22);
    padding: 24px 26px 20px;
}
.hb-main::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7, transparent 80%);
}
.hb-head { display: flex; align-items: center; gap: 12px; }
.hb-head .lg { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.hb-head b { font-size: 16px; display: block; }
.hb-head .pr2 { font-size: 11px; color: var(--ink-3); font-family: var(--num); margin-top: 2px; }
.hb-head .badge { margin-left: auto; font-family: var(--num); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.hb-head .badge.up { color: var(--up); background: rgba(22,163,74,.1); }
.hb-head .badge.down { color: var(--down); background: rgba(224,69,58,.1); }
.hb-price-row { margin-top: 18px; display: flex; align-items: baseline; gap: 14px; }
.hb-price-row .p { font-family: var(--num); font-size: 36px; font-weight: 800; letter-spacing: .5px; }
.hb-price-row .pc { font-size: 12px; color: var(--ink-3); }
.hb-chart { margin-top: 8px; }
.hb-chart svg { display: block; width: 100%; height: 92px; }
.hb-meta { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; gap: 26px; }
.hb-meta .k { font-size: 10.5px; color: var(--ink-3); }
.hb-meta .v { font-family: var(--num); font-size: 13px; font-weight: 700; margin-top: 3px; }
.hb-minis { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hb-mini {
    display: block; border: 1px solid rgba(15,23,20,.09); border-radius: 14px;
    background: rgba(255,255,255,.75); backdrop-filter: blur(6px);
    box-shadow: 0 8px 26px -16px rgba(15,23,20,.18);
    padding: 15px 18px 12px; transition: transform .4s var(--ease), border-color .3s;
}
.hb-mini:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.5); }
.hb-mini .t { display: flex; align-items: center; gap: 8px; }
.hb-mini .t .lg { width: 24px; height: 24px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; }
.hb-mini .t b { font-size: 13px; }
.hb-mini .t .c { margin-left: auto; font-family: var(--num); font-size: 11.5px; font-weight: 700; }
.hb-mini .t .c.up { color: var(--up); } .hb-mini .t .c.down { color: var(--down); }
.hb-mini .p { margin-top: 8px; font-family: var(--num); font-size: 17px; font-weight: 800; }
.hb-mini svg { display: block; width: 100%; height: 30px; margin-top: 6px; }
/* 快讯滚动胶囊（悬浮右下） */
.hb-flash {
    position: absolute; left: -46px; top: -26px; bottom: auto; z-index: 3;
    display: flex; align-items: center; gap: 10px; max-width: 330px;
    background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 18px 10px 12px;
    box-shadow: 0 14px 34px -12px rgba(15,23,20,.4);
    animation: heroUp .8s .65s var(--ease) both;
}
.hb-flash .fl-tag { background: #6366f1; color: #fff; font-size: 10px; font-weight: 800; border-radius: 999px; padding: 3px 9px; flex-shrink: 0; letter-spacing: 1px; }
.hb-flash .fl-txt { font-size: 12px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.flash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px; }
.flash-row { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line-2); transition: background .25s, padding-left .3s var(--ease); }
.flash-row:hover { background: #fafafa; padding-left: 12px; }
.flash-row .t { font-size: 11.5px; color: var(--ink-3); font-family: var(--num); display: flex; align-items: center; gap: 8px; }
.flash-row .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.flash-row p { font-size: 13.5px; line-height: 1.65; margin-top: 5px; color: var(--ink); }

.news-grid-home .card-body { min-height: 178px; display: flex; flex-direction: column; }
.news-grid-home h3 { font-size: 16.5px; font-weight: 700; line-height: 1.55; margin: 10px 0 8px; }
.news-grid-home p { font-size: 13px; color: var(--ink-2); flex: 1; }
.news-grid-home .meta { font-size: 12px; color: var(--ink-3); display: flex; gap: 10px; align-items: center; }

.concept-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.concept-pill {
    border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px;
    font-size: 13.5px; display: inline-flex; gap: 10px; align-items: center;
    transition: all .35s var(--ease); background: #fff;
}
.concept-pill:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.concept-pill:hover .num { color: #fff !important; }

.eco-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.eco-orgs { display: flex; flex-direction: column; gap: 16px; }
.org-row { display: flex; align-items: center; gap: 18px; padding: 22px 26px; }
.org-row .org-logo {
    width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; flex-shrink: 0;
    transition: transform .4s var(--ease);
}
.org-row:hover .org-logo { transform: rotate(-6deg) scale(1.05); }
.org-row .org-main { flex: 1; min-width: 0; }
.org-row .org-main b { font-size: 16px; }
.org-row .org-main .org-en { font-size: 11.5px; color: var(--ink-3); letter-spacing: 1px; margin-left: 8px; }
.org-row .org-main p { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 600px;}
.org-row .org-side { text-align: right; flex-shrink: 0; }
.org-row .org-side .v { font-family: var(--num); font-weight: 700; font-size: 15px; }
.org-row .org-side .k { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.eco-people { padding: 0; overflow: hidden; }
.eco-people-head { padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; letter-spacing: 2px; }
.person-row { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--line-2); transition: background .25s, padding-left .3s var(--ease); }
.person-row:last-child { border-bottom: none; }
.person-row:hover { background: #fafafa; padding-left: 30px; }
.person-row .p-avatar {
    width: 38px; height: 38px; border-radius: 50%; color: #fff; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.person-row .p-main {min-width: 0; }
.person-row .p-main b { font-size: 14px; }
.person-row .p-main span { display: block; font-size: 11.5px; color: var(--ink-3); }
.person-row .tag { flex-shrink: 0;  flex: 1; }
.skull{
    color: #dc2626;
}
.frown{
    color: #ef4444;
}
.meh{
    color: #d97706;
}
.smile{
    color: #16a34a;
}
.grin{
    color:  #15803d;
}
@media (max-width: 1160px) {
    .org-row .org-main p {max-width: 520px;}
}
@media (max-width: 1080px) {
    .org-row .org-main p {max-width: 480px;}
}
@media (max-width: 1024px) {
    .flash-grid { grid-template-columns: 1fr; }
    .eco-grid { grid-template-columns: 1fr; }
    .org-row { flex-wrap: wrap; gap: 12px; padding: 18px 20px; }
    .org-row .org-main { flex: 1 1 calc(100% - 60px); }
    .org-row .org-main p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 100%;}
    .org-row .org-side { text-align: left; margin-left: 58px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 60px 0; }
    .hero-word { display: none; }
    .hero-board { max-width: 560px; }
    .hb-flash { left: 14px; }
}
@media (max-width: 860px) {
    .person-row { padding: 12px 20px; }
    .person-row:hover { padding-left: 24px; }
    .person-row .tag { padding: 1px 8px; }
    .hero-inner { padding: 48px 0 0; }
    .hero-word { top: 24px; letter-spacing: 4px; }
    .hero-kicker { letter-spacing: 1.5px; font-size: 10.5px; padding: 6px 12px; white-space: nowrap; }
    .hero-title { letter-spacing: 1px; font-size: clamp(30px, 9vw, 40px); }
    .hero-title .stroke { -webkit-text-stroke-width: 1.2px; }
    .hero-sub { max-width: none; }
    .hero-strip {
        margin-top: 32px;
    }
    .hst {
        min-width: 50%;
        padding: 13px 16px;
        border-bottom: 1px solid rgba(15, 23, 20, .08);
    }
    .hb-flash {
        position: static;
        max-width: none;
        margin-top: 14px;
        border-radius: 14px;
    }
    .hst:nth-child(2n) {
        border-right: none;
    }
    .hst:nth-child(3), .hst:nth-child(4) {
        border-bottom: none;
    }
    .hst:nth-child(3), .hst:nth-child(4) {
        border-bottom: none;
    }
}
@media (max-width: 860px) {
    .hero-marquee-word { display: none; }
    .hero {
        padding: 0px 10px 35px;
    }
}
