/* ================= 今天读什么 · 双卡 ================= */
.sf-fb {
    position: relative;
    margin-bottom: 20px;
}
.sf-fb-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 10px;
}
.sf-fb-pills {
    display: inline-flex;
    gap: 4px;
    font-weight: 800;
    line-height: 1;
}
.sf-fb-pills i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-style: normal;
    font-size: 12px;
    color: #fff;
}
.sf-fb-pills .c1 { background: #1d4ed8; }
.sf-fb-pills .c2 { background: #c4892a; }
.sf-fb-pills .c3 { background: #149154; }
.sf-fb-pills .c4 { background: #0e7490; }
.sf-fb-pills .c5 { background: #b45309; }
.sf-fb-brand {
    display: inline-block;
    flex: 0 0 auto;
    width: 86px;
    height: 22px;
    background: url("../images/foreverblog-logo-light.png") right center / contain no-repeat;
    opacity: 0.38;
    filter: blur(0.7px);
}
[data-theme="dark"] .sf-fb-brand {
    background-image: url("../images/foreverblog-logo-dark.png");
}
.sf-fb-tile {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    min-width: 0;
    margin-top: 10px;
    padding: 14px 14px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-even);
    box-shadow: var(--shadow-1);
    color: inherit;
    text-decoration: none;
    transition: transform .28s ease;
}
.sf-fb-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .28s ease;
}
.sf-fb-tile.is-a::after { box-shadow: 0 10px 22px rgba(29, 78, 216, 0.14); }
.sf-fb-tile.is-b::after { box-shadow: 0 10px 22px rgba(7, 193, 96, 0.16); }
.sf-fb-tile.is-b,
.sf-fb-tile:last-child { padding-right: 46px; }
.sf-fb-tile.is-a {
    background: linear-gradient(165deg, #e1e7ef, #fff 70%);
}
.sf-fb-tile.is-b {
    background: linear-gradient(165deg, #e5f8ee, #fff 70%);
}
.sf-fb-tile,
.sf-fb-tile:hover { color: inherit; text-decoration: none; }
.sf-fb-tile:hover { transform: translateY(-3px); }
.sf-fb-tile:hover::after { opacity: 1; }
.sf-fb-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(51, 51, 51, 0.12);
    background: #fff;
    grid-row: 1 / span 2;
}
.sf-fb-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-fb-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #1d4ed8;
}
.sf-fb-vt { min-width: 0; display: block; }
.sf-fb-title {
    display: block;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--dark);
    overflow-wrap: anywhere;
    word-break: break-word;
}
.sf-fb-author {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--gray);
}
.sf-fb-go {
    position: absolute;
    right: 10px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: inherit;
    text-decoration: none;
}
.sf-fb-go:hover { text-decoration: none; }
.sf-fb-go .go-ico { width: 28px; height: 28px; display: block; transition: transform .25s ease; }
.sf-fb-go:hover .go-ico { transform: scale(1.08); }
.sf-fb-go::after {
    content: attr(data-tip);
    position: absolute;
    right: 0;
    bottom: calc(100% + 6px);
    z-index: 3;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--dark);
    color: var(--bg-even);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease;
}
.sf-fb-go:hover::after,
.sf-fb-go:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}
[data-theme="dark"] .sf-fb-tile.is-a {
    background: linear-gradient(165deg, #1c2c44, #202020 72%);
}
[data-theme="dark"] .sf-fb-tile.is-b {
    background: linear-gradient(165deg, #f3fff9, #202020 72%);
}
[data-theme="dark"] .sf-fb-logo { border-color: rgba(224, 224, 224, 0.16); }
[data-theme="dark"] .sf-fb-logo-fallback { color: #9ec1ff; }
