/* ============================================================
   悦享方舟 · 首页样式 v4.0
   配色变量来自 layouts/app.blade.php 的 :root（--yf-*）
   类名前缀：yf_（首页专用）/ zh_（全局通用）
   ============================================================ */

/* ══════════════ ① 通栏沉浸式 Hero ══════════════ */
.yf_hero {
    position: relative;
    background-color: #EAF2FC;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    padding: 92px 0 132px;
    overflow: hidden;
}
.yf_hero_veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(244, 248, 254, .97) 0%,
        rgba(244, 248, 254, .92) 30%,
        rgba(244, 248, 254, .58) 50%,
        rgba(244, 248, 254, .06) 68%,
        rgba(244, 248, 254, 0) 82%);
    pointer-events: none;
}
.yf_hero_inner { position: relative; z-index: 2; }
.yf_hero_text { max-width: 620px; }

.yf_hero_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--yf-primary);
    letter-spacing: .5px;
    box-shadow: var(--yf-shadow-sm);
    margin-bottom: 22px;
}
.yf_hero_eyebrow i { color: var(--yf-cyan); font-size: 12px; }

.yf_hero_title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.28;
    color: var(--yf-text);
    letter-spacing: 1px;
    margin: 0 0 20px;
}
.yf_hero_title em {
    font-style: normal;
    background: var(--yf-grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.yf_hero_desc {
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--yf-text-body);
    margin: 0 0 28px;
    max-width: 560px;
}

.yf_hero_search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    padding: 7px 7px 7px 22px;
    background: #fff;
    border: 1.5px solid var(--yf-border);
    border-radius: var(--yf-radius-pill);
    box-shadow: var(--yf-shadow);
    transition: all .24s ease;
}
.yf_hero_search:focus-within { border-color: var(--yf-cyan); box-shadow: 0 0 0 5px rgba(22, 162, 224, .12); }
.yf_hero_search > i { color: var(--yf-text-light); font-size: 15px; flex-shrink: 0; }
.yf_hero_search input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: var(--yf-text);
}
.yf_hero_search input::placeholder { color: var(--yf-text-light); }
.yf_hero_search button {
    flex-shrink: 0;
    height: 46px;
    padding: 0 26px;
    border: none;
    border-radius: var(--yf-radius-pill);
    background: var(--yf-grad-cyan);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: box-shadow .22s ease, transform .22s ease;
}
.yf_hero_search button:hover { box-shadow: var(--yf-shadow-cyan); transform: translateY(-1px); }

.yf_hero_tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--yf-text-muted);
}
.yf_hero_tags a {
    padding: 5px 14px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-pill);
    color: var(--yf-text-body);
    transition: all .2s ease;
}
.yf_hero_tags a:hover { color: #fff; background: var(--yf-cyan); border-color: var(--yf-cyan); }

/* ══════════════ ② 服务快捷入口浮卡 ══════════════ */
.yf_quick { position: relative; z-index: 5; margin-top: -76px; }
.yf_quick_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.yf_quick_card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 20px;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-lg);
    box-shadow: var(--yf-shadow);
    transition: all .26s ease;
    position: relative;
    overflow: hidden;
}
.yf_quick_card::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--yf-grad-line);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.yf_quick_card:hover { transform: translateY(-5px); box-shadow: var(--yf-shadow-md); border-color: transparent; }
.yf_quick_card:hover::after { transform: scaleX(1); }
.yf_quick_card > img { width: 56px; height: 56px; flex-shrink: 0; object-fit: contain; }
.yf_quick_body { min-width: 0; flex: 1; }
.yf_quick_body strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--yf-text);
    margin-bottom: 3px;
}
.yf_quick_body span { font-size: 12.5px; color: var(--yf-text-muted); }
.yf_quick_arrow {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--yf-text-light);
    transition: all .26s ease;
}
.yf_quick_card:hover .yf_quick_arrow { color: var(--yf-cyan); transform: translateX(3px); }

/* ══════════════ ③ 平台承诺 + 快讯 ══════════════ */
.yf_pledge { padding: 40px 0 0; }
.yf_pledge_row {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-pill);
    box-shadow: var(--yf-shadow-sm);
}
.yf_pledge_list {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0 26px 0 0;
    border-right: 1px solid var(--yf-border);
    flex-shrink: 0;
}
.yf_pledge_list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--yf-text-body);
    white-space: nowrap;
}
.yf_pledge_list i { color: var(--yf-cyan); font-size: 13px; }

.yf_flash { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.yf_flash_label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--yf-cyan-deep);
    white-space: nowrap;
}
.yf_flash_track { flex: 1; min-width: 0; overflow: hidden; height: 26px; }
.yf_flash_move { display: flex; width: max-content; animation: yfFlash 34s linear infinite; }
.yf_flash_row:hover .yf_flash_move,
.yf_flash:hover .yf_flash_move { animation-play-state: paused; }
.yf_flash_group { display: flex; }
.yf_flash_item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 22px;
    font-size: 13.5px;
    color: var(--yf-text-body);
    white-space: nowrap;
    line-height: 26px;
}
.yf_flash_item span {
    font-size: 11.5px;
    color: var(--yf-cyan-deep);
    background: var(--yf-cyan-soft);
    padding: 2px 8px;
    border-radius: var(--yf-radius-pill);
}
.yf_flash_item:hover { color: var(--yf-primary); }
.yf_flash_more {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--yf-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.yf_flash_more:hover { color: var(--yf-cyan-deep); }
@keyframes yfFlash {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ══════════════ ④ 服务栏目六宫格 ══════════════ */
.yf_col_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.yf_col_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 24px 22px;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
    transition: all .26s ease;
}
.yf_col_card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--yf-shadow-md);
}
.yf_col_img {
    width: 146px;
    height: 146px;
    margin-bottom: 14px;
    transition: transform .3s ease;
}
.yf_col_card:hover .yf_col_img { transform: scale(1.06); }
.yf_col_img img { width: 100%; height: 100%; object-fit: contain; }
.yf_col_card p {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--yf-text-muted);
    margin: 0 0 16px;
    min-height: 48px;
}
.yf_col_link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--yf-primary);
    padding: 8px 20px;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-pill);
    transition: all .22s ease;
}
.yf_col_card:hover .yf_col_link { color: #fff; background: var(--yf-grad-cyan); border-color: transparent; }
.yf_col_link i { font-size: 11px; }

/* ══════════════ 通用小件 ══════════════ */
.yf_chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--yf-cyan-deep);
    background: var(--yf-cyan-soft);
    border-radius: var(--yf-radius-pill);
}
.yf_chip_float {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
}
.yf_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: var(--yf-text-muted);
}
.yf_meta span { display: inline-flex; align-items: center; gap: 5px; }
.yf_meta i { font-size: 11px; opacity: .8; }

.yf_ribbon {
    position: absolute;
    left: 0;
    top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    border-radius: 0 var(--yf-radius-pill) var(--yf-radius-pill) 0;
}
.yf_ribbon_hot { background: linear-gradient(135deg, #F0A32A 0%, #F5761A 100%); }

.yf_rank_no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: var(--yf-text-light);
    flex-shrink: 0;
}
.yf_rank_no_1 { background: linear-gradient(135deg, #F5C24A 0%, #E09314 100%); }
.yf_rank_no_2 { background: linear-gradient(135deg, #B9C6D8 0%, #8FA0B6 100%); }
.yf_rank_no_3 { background: linear-gradient(135deg, #E0A578 0%, #C07E45 100%); }

/* ══════════════ ⑤ 热门推荐 ══════════════ */
.yf_hot_grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 22px;
    align-items: stretch;
}
.yf_hot_lead {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
    overflow: hidden;
    transition: all .28s ease;
}
.yf_hot_lead:hover { transform: translateY(-4px); box-shadow: var(--yf-shadow-md); border-color: transparent; }
.yf_hot_lead_thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--yf-bg-deep);
    overflow: hidden;
}
.yf_hot_lead_thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.yf_hot_lead:hover .yf_hot_lead_thumb img { transform: scale(1.04); }
.yf_hot_lead_thumb > i {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--yf-border-strong);
}
.yf_hot_lead_body { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.yf_hot_lead_body h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--yf-text);
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_hot_lead:hover .yf_hot_lead_body h3 { color: var(--yf-primary); }
.yf_hot_lead_body p {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--yf-text-muted);
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_hot_lead_body .yf_meta { margin-top: auto; padding-top: 6px; }

.yf_hot_side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.yf_hot_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-lg);
    overflow: hidden;
    transition: all .26s ease;
}
.yf_hot_card:hover { transform: translateY(-4px); box-shadow: var(--yf-shadow-md); border-color: transparent; }
.yf_hot_card_thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--yf-bg-deep);
    overflow: hidden;
}
.yf_hot_card_thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.yf_hot_card:hover .yf_hot_card_thumb img { transform: scale(1.05); }
.yf_hot_card_thumb > i {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--yf-border-strong);
}
.yf_hot_card_thumb .yf_rank_no { position: absolute; left: 12px; top: 12px; }
.yf_hot_card_body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.yf_hot_card_body h4 {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--yf-text);
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_hot_card:hover .yf_hot_card_body h4 { color: var(--yf-primary); }
.yf_hot_card_body .yf_meta { margin-top: auto; gap: 12px; }

/* ══════════════ ⑥ 为您推荐 · 横向滑轨 ══════════════ */
.yf_reco_nav { display: flex; gap: 9px; flex-shrink: 0; }
.yf_reco_btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--yf-border-strong);
    background: #fff;
    color: var(--yf-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all .22s ease;
}
.yf_reco_btn:hover { color: #fff; background: var(--yf-cyan); border-color: var(--yf-cyan); }

.yf_reco_track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 18px;
    margin: 0 -4px;
    scrollbar-width: thin;
    scrollbar-color: var(--yf-border-strong) transparent;
    cursor: grab;
}
.yf_reco_track.yf_dragging { cursor: grabbing; scroll-snap-type: none; }
.yf_reco_track::-webkit-scrollbar { height: 6px; }
.yf_reco_track::-webkit-scrollbar-track { background: var(--yf-bg); border-radius: 3px; }
.yf_reco_track::-webkit-scrollbar-thumb { background: var(--yf-border-strong); border-radius: 3px; }
.yf_reco_track::-webkit-scrollbar-thumb:hover { background: var(--yf-cyan); }

.yf_reco_card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-lg);
    overflow: hidden;
    transition: all .26s ease;
}
.yf_reco_card:hover { transform: translateY(-5px); box-shadow: var(--yf-shadow-md); border-color: transparent; }
.yf_reco_thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--yf-bg-deep);
    overflow: hidden;
}
.yf_reco_thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.yf_reco_card:hover .yf_reco_thumb img { transform: scale(1.05); }
.yf_reco_thumb > i {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--yf-border-strong);
}
.yf_reco_body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.yf_reco_body h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--yf-text);
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_reco_card:hover .yf_reco_body h4 { color: var(--yf-primary); }
.yf_reco_body p {
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--yf-text-muted);
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_reco_body .yf_meta { margin-top: auto; }

.yf_reco_more {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 30px 24px;
    background: var(--yf-grad-cta);
    border-color: transparent;
    color: #fff;
}
.yf_reco_more_icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px;
    transition: transform .26s ease;
}
.yf_reco_more:hover .yf_reco_more_icon { transform: translateX(4px); }
.yf_reco_more strong { font-size: 16px; font-weight: 700; color: #fff; }
.yf_reco_more > span:last-child { font-size: 12.5px; color: rgba(226, 238, 252, .8); }

/* ══════════════ ⑦ 三列榜单 ══════════════ */
.yf_rank_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.yf_rank_box {
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
    padding: 22px 24px 12px;
}
.yf_rank_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--yf-border);
}
.yf_rank_head h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 700;
    color: var(--yf-text);
    margin: 0;
}
.yf_rank_head h3 i { color: var(--yf-cyan); font-size: 14px; }
.yf_rank_head a { font-size: 12.5px; color: var(--yf-text-muted); }
.yf_rank_head a:hover { color: var(--yf-cyan-deep); }

.yf_rank_list { list-style: none; margin: 0; padding: 0; }
.yf_rank_list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--yf-border);
}
.yf_rank_list li:last-child { border-bottom: none; }
.yf_rank_list li > a { min-width: 0; flex: 1; }
.yf_rank_list h5 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--yf-text);
    margin: 0 0 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_rank_list li > a:hover h5 { color: var(--yf-primary); }
.yf_rank_list li > a > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--yf-text-muted);
}
.yf_rank_list li > a > span i { font-size: 10.5px; }
.yf_rank_empty { color: var(--yf-text-light); font-size: 13.5px; justify-content: center; padding: 26px 0; }

/* ══════════════ ⑧ 平台介绍 · 右图左文 ══════════════ */
.yf_about_grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.yf_about_title {
    font-size: clamp(23px, 2.8vw, 31px);
    font-weight: 800;
    line-height: 1.45;
    color: var(--yf-text);
    margin: 0 0 20px;
}
.yf_about_text {
    font-size: 14.5px;
    line-height: 2;
    color: var(--yf-text-body);
    margin: 0 0 16px;
}
.yf_about_list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.yf_about_list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    color: var(--yf-text-body);
}
.yf_about_list i {
    flex-shrink: 0;
    width: 20px; height: 20px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--yf-cyan-soft);
    color: var(--yf-cyan-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 9px;
}
.yf_about_note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--yf-bg);
    border-left: 3px solid var(--yf-cyan);
    border-radius: 0 var(--yf-radius) var(--yf-radius) 0;
    font-size: 13px;
    line-height: 1.85;
    color: var(--yf-text-muted);
}
.yf_about_note i { color: var(--yf-cyan-deep); font-size: 15px; margin-top: 3px; flex-shrink: 0; }

.yf_about_visual { position: relative; }
.yf_about_visual > img {
    width: 100%;
    border-radius: var(--yf-radius-xl);
    box-shadow: var(--yf-shadow-lg);
}
.yf_about_float {
    position: absolute;
    left: -30px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 14px 14px;
    background: #fff;
    border-radius: var(--yf-radius-lg);
    box-shadow: var(--yf-shadow-md);
    max-width: 268px;
}
.yf_about_float img { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; }
.yf_about_float strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--yf-text); }
.yf_about_float span { font-size: 12px; color: var(--yf-text-muted); }

/* ══════════════ ⑨ 服务商展示墙 ══════════════ */
.yf_wall_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.yf_wall_card {
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
    padding: 22px 24px 18px;
    transition: all .26s ease;
}
.yf_wall_card:hover { transform: translateY(-4px); box-shadow: var(--yf-shadow-md); border-color: transparent; }
.yf_wall_head { display: flex; align-items: center; gap: 13px; }
.yf_wall_ava {
    width: 50px; height: 50px;
    border-radius: 14px;
    flex-shrink: 0;
    object-fit: cover;
    background: var(--yf-grad-brand);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800;
}
.yf_wall_head_text { min-width: 0; flex: 1; }
.yf_wall_head_text > strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--yf-text);
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yf_wall_verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--yf-text-muted);
}
.yf_wall_verified i { color: var(--yf-green); font-size: 11.5px; }
.yf_wall_arrow { flex-shrink: 0; font-size: 12px; color: var(--yf-text-light); transition: all .26s ease; }
.yf_wall_card:hover .yf_wall_arrow { color: var(--yf-cyan); transform: translateX(3px); }

.yf_wall_desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--yf-text-muted);
    margin: 14px 0 0;
}
.yf_wall_infos {
    list-style: none;
    margin: 14px 0 0;
    padding: 13px 0 0;
    border-top: 1px dashed var(--yf-border);
}
.yf_wall_infos li { margin-bottom: 9px; }
.yf_wall_infos li:last-child { margin-bottom: 0; }
.yf_wall_infos a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--yf-text-body);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yf_wall_infos i { color: var(--yf-cyan); font-size: 11px; flex-shrink: 0; }
.yf_wall_infos a:hover { color: var(--yf-primary); }

/* ══════════════ ⑩ 入驻流程 ══════════════ */
.yf_flow_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
}
.yf_flow_step {
    position: relative;
    text-align: center;
    padding: 30px 22px 26px;
    background: var(--yf-bg);
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
    transition: all .26s ease;
}
.yf_flow_step:hover { background: #fff; box-shadow: var(--yf-shadow-md); border-color: transparent; transform: translateY(-4px); }
.yf_flow_step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -14px; top: 50%;
    width: 6px; height: 6px;
    border-top: 2px solid var(--yf-border-strong);
    border-right: 2px solid var(--yf-border-strong);
    transform: translateY(-50%) rotate(45deg);
}
.yf_flow_no {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    background: var(--yf-grad-line);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: .28;
    margin-bottom: 6px;
}
.yf_flow_step img { width: 64px; height: 64px; margin: 0 auto 14px; object-fit: contain; }
.yf_flow_step h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--yf-text);
    margin: 0 0 10px;
}
.yf_flow_step p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--yf-text-muted);
    margin: 0;
}

/* ══════════════ ⑪ 平台规则问答 ══════════════ */
.yf_faq_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;   /* 展开某一项时不拉高同行其它项 */
    gap: 18px;
}
.yf_faq_item {
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-lg);
    padding: 4px 24px;
    transition: all .24s ease;
}
.yf_faq_item[open] { border-color: var(--yf-cyan); box-shadow: var(--yf-shadow); }
.yf_faq_item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--yf-text);
    cursor: pointer;
    list-style: none;
}
.yf_faq_item summary::-webkit-details-marker { display: none; }
.yf_faq_item summary i {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--yf-cyan-soft);
    color: var(--yf-cyan-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px;
    transition: transform .26s ease;
}
.yf_faq_item[open] summary i { transform: rotate(45deg); }
.yf_faq_item p {
    margin: 0;
    padding: 0 0 20px;
    font-size: 13.5px;
    line-height: 1.95;
    color: var(--yf-text-muted);
    border-top: 1px dashed var(--yf-border);
    padding-top: 16px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
    .yf_quick_grid { grid-template-columns: repeat(2, 1fr); }
    .yf_quick { margin-top: -60px; }
    .yf_about_grid { gap: 40px; }
}
@media (max-width: 1080px) {
    .yf_hero { padding: 76px 0 116px; }
    .yf_hot_grid { grid-template-columns: 1fr; }
    .yf_hot_side { grid-template-columns: repeat(4, 1fr); }
    .yf_rank_grid { grid-template-columns: 1fr; }
    .yf_col_grid { grid-template-columns: repeat(2, 1fr); }
    .yf_wall_grid { grid-template-columns: repeat(2, 1fr); }
    .yf_flow_grid { grid-template-columns: repeat(2, 1fr); }
    .yf_flow_step:nth-child(2)::after { display: none; }
}
@media (max-width: 992px) {
    .yf_hero { padding: 62px 0 104px; background-position: 76% center; }
    .yf_hero_veil {
        background: linear-gradient(100deg,
            rgba(244, 248, 254, .98) 0%,
            rgba(244, 248, 254, .95) 44%,
            rgba(244, 248, 254, .70) 68%,
            rgba(244, 248, 254, .35) 100%);
    }
    .yf_pledge_row { flex-direction: column; align-items: stretch; gap: 14px; border-radius: var(--yf-radius-lg); padding: 16px 20px; }
    .yf_pledge_list { border-right: none; border-bottom: 1px solid var(--yf-border); padding: 0 0 14px; justify-content: space-between; gap: 12px; }
    .yf_about_grid { grid-template-columns: 1fr; gap: 34px; }
    .yf_about_visual { order: -1; }
    .yf_about_float { left: 14px; bottom: 16px; }
}
@media (max-width: 768px) {
    .yf_hero { padding: 46px 0 96px; }
    .yf_hero_title { letter-spacing: .5px; }
    .yf_hero_search { padding: 6px 6px 6px 16px; }
    .yf_hero_search button { padding: 0 16px; }
    .yf_hero_search button span { display: none; }
    .yf_quick { margin-top: -68px; }
    .yf_quick_grid { grid-template-columns: 1fr; gap: 12px; }
    .yf_quick_card { padding: 15px 16px; }
    .yf_quick_card > img { width: 46px; height: 46px; }
    .yf_pledge { padding: 30px 0 0; }
    .yf_pledge_list { flex-wrap: wrap; gap: 10px 16px; }
    .yf_pledge_list li { font-size: 12.5px; }
    .yf_flash_label { display: none; }
    .yf_col_grid { grid-template-columns: 1fr; gap: 14px; }
    .yf_col_card { flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 16px; }
    .yf_col_img { width: 76px; height: 76px; margin: 0; flex-shrink: 0; }
    .yf_col_card p { min-height: 0; margin: 0; }
    .yf_col_link { display: none; }
    .yf_hot_side { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .yf_hot_lead_body { padding: 18px 18px 20px; }
    .yf_hot_lead_body h3 { font-size: 17px; }
    .yf_reco_card { flex: 0 0 262px; }
    .yf_wall_grid { grid-template-columns: 1fr; }
    .yf_flow_grid { grid-template-columns: 1fr; gap: 14px; }
    .yf_flow_step { display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px; text-align: left; align-items: center; padding: 18px; }
    .yf_flow_step::after { display: none !important; }
    .yf_flow_no { grid-column: 2; font-size: 22px; margin: 0; }
    .yf_flow_step img { grid-row: 1 / 4; grid-column: 1; margin: 0; width: 64px; height: 64px; }
    .yf_flow_step h4 { grid-column: 2; margin: 0; }
    .yf_flow_step p { grid-column: 2; }
    .yf_faq_grid { grid-template-columns: 1fr; gap: 12px; }
    .yf_faq_item { padding: 2px 18px; }
    .yf_faq_item summary { font-size: 14.5px; padding: 15px 0; }
}
