/* ==========================================================================
   摄影作品集 · 前台主样式（基于 Bootstrap 5.3）
   PC 优先 + 移动端自适应
   ========================================================================== */

:root {
    --brand: #1a1a1f;
    --brand-soft: #2a2a33;
    --accent: #c8a45c;
    --accent-dark: #a8863f;
    --price: #e4572e;
    --bg: #f6f7f8;
    --card: #ffffff;
    --line: #e9eaec;
    --muted: #8b8f96;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(16, 18, 22, .06);
    --shadow-md: 0 6px 22px rgba(16, 18, 22, .10);
}

body {
    background: var(--bg);
    color: var(--brand);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    padding-top: 62px; /* 让位给固定导航 */
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--accent-dark); }

/* ---------------------------------------------------------------- 导航条 */
.navbar-front {
    background: var(--brand);
    min-height: 62px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}

.navbar-front .brand-logo {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

.navbar-front .brand-logo .logo-mark {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800;
}

.navbar-front .brand-logo img { height: 34px; width: auto; }

.navbar-front .nav-link {
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    padding: .55rem .95rem !important;
    position: relative;
    white-space: nowrap;
}

.navbar-front .nav-link:hover,
.navbar-front .nav-link.active { color: #fff; }

.navbar-front .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 2px;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.navbar-front .dropdown-menu {
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: .4rem;
    min-width: 190px;
}

.navbar-front .dropdown-item {
    border-radius: 6px;
    padding: .5rem .75rem;
    font-size: 14px;
}

.navbar-front .dropdown-item:hover {
    background: rgba(200, 164, 92, .12);
    color: var(--accent-dark);
}

.navbar-front .dropdown-item .bi { width: 18px; color: var(--accent-dark); }

.navbar-toggler { border-color: rgba(255, 255, 255, .25); }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 导航右侧：积分 + 用户 */
.nav-points {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .7rem;
    border: 1px solid rgba(200, 164, 92, .35);
    border-radius: 100px;
    white-space: nowrap;
}

.nav-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .25);
}

/* ---------------------------------------------------------------- 通用 */
.section { padding: 34px 0; }
.section-white { background: #fff; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 18px;
}

.section-head .st-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .55rem;
    letter-spacing: .02em;
}

.section-head .st-title::before {
    content: "";
    width: 4px; height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.section-head .st-sub {
    color: var(--muted);
    font-size: 13px;
    margin: .25rem 0 0;
}

.more-link {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s;
}

.more-link:hover { color: var(--accent-dark); }

.page-banner {
    background: var(--brand);
    color: #fff;
    padding: 30px 0;
    margin-bottom: 0;
}

.page-banner h1 { font-size: 24px; font-weight: 700; margin: 0; }
.page-banner .desc { color: rgba(255, 255, 255, .6); font-size: 13px; margin-top: .4rem; }

.breadcrumb-mini { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: .5rem; }
.breadcrumb-mini a { color: rgba(255, 255, 255, .7); }

/* ---------------------------------------------------------------- 作品卡片 */
.card-grid { margin-bottom: -18px; } /* 抵消 col 底部间距 */

.work-card {
    display: block;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    color: inherit;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.work-card .wc-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eceef1;
}

.work-card .wc-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.work-card:hover .wc-cover img { transform: scale(1.06); }

.work-card .wc-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: .04em;
}

.work-card .wc-badge.dark { background: rgba(26, 26, 31, .78); }

.work-card .wc-body { padding: 10px 12px 12px; }

/* 分类行：· 原创 · 雨诺 */
.work-card .wc-cat {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 4px;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 模特徽章 + 期数标题行 */
.work-card .wc-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    min-width: 0;
}

.work-card .wc-model {
    flex-shrink: 0;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

.work-card .wc-issue {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 底部：时间 + 价格 */
.work-card .wc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: 12px;
    color: var(--muted);
}

.work-card .wc-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.work-card .wc-price { color: var(--price); font-weight: 700; font-size: 13px; white-space: nowrap; }
.work-card .wc-price .unit { font-size: 11px; font-weight: 400; }
.work-card .wc-price.soon { color: var(--muted); font-weight: 400; font-size: 12px; }

/* 粉丝福利卡片仍在用的标题/元信息样式 */
.work-card .wc-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-card .wc-meta {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

/* 视频卡片：横版比例 */
.work-card.video .wc-cover { aspect-ratio: 16 / 10; }
.work-card.video .wc-play {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 34px;
    background: rgba(0, 0, 0, .18);
    opacity: 0;
    transition: opacity .25s;
}
.work-card.video:hover .wc-play { opacity: 1; }

/* ---------------------------------------------------------------- 模特卡片 */
.model-card {
    display: block;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    color: inherit;
    height: 100%;
}

.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }

.model-card .mc-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #eceef1; }
.model-card .mc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.model-card:hover .mc-cover img { transform: scale(1.06); }
.model-card .mc-body { padding: 12px; }
.model-card .mc-name { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.model-card .mc-stat { font-size: 12px; color: var(--muted); }

.pill {
    display: inline-block;
    padding: 1px 9px;
    border-radius: 100px;
    font-size: 11px;
    line-height: 18px;
    background: rgba(200, 164, 92, .14);
    color: var(--accent-dark);
    border: 1px solid rgba(200, 164, 92, .3);
}

.pill-gray { background: #f1f2f4; color: var(--muted); border-color: var(--line); }
.pill-green { background: rgba(25, 135, 84, .1); color: #198754; border-color: rgba(25, 135, 84, .25); }
.pill-red { background: rgba(228, 87, 46, .1); color: var(--price); border-color: rgba(228, 87, 46, .25); }
.pill-orange { background: rgba(214, 138, 20, .12); color: #b57512; border-color: rgba(214, 138, 20, .28); }

/* ---------------------------------------------------------------- 首页 Banner */
.hero-carousel .carousel-item > a { display: block; }
.hero-carousel .hero-img {
    width: 100%;
    aspect-ratio: 16 / 6;
    object-fit: cover;
    background: #ddd;
}
@media (max-width: 767.98px) {
    .hero-carousel .hero-img { aspect-ratio: 16 / 9; }
}
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 26px; height: 3px; border-radius: 2px; border: 0;
    background-color: rgba(255, 255, 255, .55);
}
.hero-carousel .carousel-indicators .active { background-color: var(--accent); }

/* ---------------------------------------------------------------- 福利卡 */
.benefit-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-card .bc-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eceef1; }
.benefit-card .bc-cover img { width: 100%; height: 100%; object-fit: cover; }
.benefit-card .bc-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.benefit-card .bc-title {
    font-size: 14px; font-weight: 600; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.benefit-card .bc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }

/* ---------------------------------------------------------------- 按钮 */
.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.btn-brand:hover { background: #000; border-color: #000; color: #fff; }

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn-outline-brand { color: var(--brand); border-color: #d5d7dc; }
.btn-outline-brand:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------------------------------------------------------------- 区块容器 */
.panel {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
}

.panel-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.stat-box {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.stat-box .sb-icon {
    width: 44px; height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    background: rgba(200, 164, 92, .14);
    color: var(--accent-dark);
}

.stat-box .sb-value { font-size: 21px; font-weight: 700; line-height: 1.2; }
.stat-box .sb-label { font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- 表格 */
.table-front thead th {
    background: #fafafb;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
    border-bottom-color: var(--line);
    white-space: nowrap;
}
.table-front td { vertical-align: middle; border-bottom-color: var(--line); font-size: 13px; }
.table-front .thumb { width: 52px; height: 68px; object-fit: cover; border-radius: 6px; }

/* ---------------------------------------------------------------- 个人中心侧栏 */
.member-aside {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    position: sticky;
    top: 82px;
}

.member-aside .ma-user { text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.member-aside .ma-avatar {
    width: 62px; height: 62px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--line); margin-bottom: .6rem;
}
.member-aside .ma-name { font-weight: 600; font-size: 15px; }
.member-aside .ma-points { color: var(--price); font-weight: 700; font-size: 18px; margin-top: .4rem; }
.member-aside .ma-points small { color: var(--muted); font-weight: 400; font-size: 12px; }

.member-nav { list-style: none; padding: 12px 0 0; margin: 0; }
.member-nav a {
    display: flex; align-items: center; gap: .6rem;
    padding: .58rem .75rem;
    border-radius: 7px;
    font-size: 14px;
    color: #4b5058;
    transition: background .18s, color .18s;
}
.member-nav a .bi { color: var(--muted); font-size: 15px; }
.member-nav a:hover { background: #f7f8f9; color: var(--brand); }
.member-nav a.active { background: rgba(200, 164, 92, .13); color: var(--accent-dark); font-weight: 600; }
.member-nav a.active .bi { color: var(--accent-dark); }

/* 移动端个人中心导航横向滚动 */
@media (max-width: 991.98px) {
    .member-aside { position: static; margin-bottom: 18px; }
    .member-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .35rem; padding-top: 12px; }
    .member-nav li { flex: 0 0 auto; }
    .member-nav a { white-space: nowrap; padding: .45rem .8rem; background: #f7f8f9; }
}

/* ---------------------------------------------------------------- 空状态 */
.empty-state { text-align: center; padding: 54px 20px; color: var(--muted); }
.empty-state .bi { font-size: 44px; color: #ced2d8; display: block; margin-bottom: .8rem; }

/* ---------------------------------------------------------------- 页脚 */
.footer-front {
    background: var(--brand);
    color: rgba(255, 255, 255, .62);
    padding: 40px 0 0;
    margin-top: 40px;
    font-size: 13px;
}

.footer-front h6 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: .04em;
}

.footer-front a { color: rgba(255, 255, 255, .62); }
.footer-front a:hover { color: var(--accent); }
.footer-front ul { list-style: none; padding: 0; margin: 0; }
.footer-front ul li { margin-bottom: 9px; }
.footer-front .f-logo {
    font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .08em;
    display: flex; align-items: center; gap: .5rem;
}
.footer-front .f-logo .logo-mark {
    width: 34px; height: 34px; border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800; color: #fff;
}
.footer-front .f-qr { width: 104px; height: 104px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.footer-front .f-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 26px;
    padding: 16px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .42);
}

/* ---------------------------------------------------------------- 认证页 */
.auth-wrap {
    min-height: calc(100vh - 62px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(135deg, #1a1a1f 0%, #2a2a33 55%, #3a3226 100%);
}

/* 登录/注册页：深色区域紧贴深色 footer，去掉 footer 上方的浅色缝隙 */
.page-auth .footer-front { margin-top: 0; }

.auth-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
    padding: 34px 30px;
    width: 100%;
    max-width: 420px;
}

.auth-card .auth-title { font-size: 21px; font-weight: 700; margin: 0 0 .35rem; }
.auth-card .auth-sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.auth-card .form-label { font-size: 13px; font-weight: 600; color: #494f57; }
.auth-card .form-control { padding: .6rem .8rem; font-size: 14px; }
.auth-card .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 .18rem rgba(200, 164, 92, .18); }
.auth-logo {
    width: 50px; height: 50px; border-radius: 12px; margin-bottom: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px; font-weight: 800;
}

/* ---------------------------------------------------------------- 保险间距工具 */
.ratio-portrait { aspect-ratio: 3 / 4; }
.text-price { color: var(--price); font-weight: 700; }
.text-accent { color: var(--accent-dark); }
.bg-soft { background: var(--bg); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

@media (max-width: 767.98px) {
    body { font-size: 13.5px; }
    .section { padding: 24px 0; }
    .section-head .st-title { font-size: 18px; }
    .panel { padding: 16px; }
    .page-banner { padding: 22px 0; }
    .page-banner h1 { font-size: 19px; }
}

/* ---------------------------------------------------- 作品详情图集 */
.gallery-stage {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #eceef1;
    aspect-ratio: 3 / 4;
    max-height: 640px;
}

.gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 86px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: #eceef1;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--accent); }

@media (max-width: 575.98px) {
    .gallery-thumb { flex-basis: 58px; width: 58px; height: 74px; }
}

/* ---------------------------------------------------- 作品详情：平铺图集 */
.work-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #eceef1;
    margin-bottom: 12px;
}

/* ---------------------------------------------------- 常见问题手风琴 */
.faq .accordion-item {
    border: 0;
    border-bottom: 1px dashed var(--line);
    background: transparent;
}

.faq .accordion-item:last-child { border-bottom: 0; }

.faq .accordion-button {
    background: transparent;
    box-shadow: none;
    padding: 14px 6px;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    gap: 10px;
}

.faq .accordion-button:not(.collapsed) { color: var(--accent); background: transparent; box-shadow: none; }

.faq .accordion-button:focus { box-shadow: none; }

.faq .accordion-button::after { margin-left: auto; }

.faq .accordion-body {
    padding: 0 6px 14px 38px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.faq-q-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #e8590c;
    color: #e8590c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ---------------------------------------------------- 版权提示条 */
.copyright-bar {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f4f5f7;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------------------------------------------------- 上一篇 / 下一篇 */
.pager-nav {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.pager-item {
    flex: 1 1 0;
    max-width: 48%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease;
}

.pager-item:hover { border-color: var(--accent); transform: translateY(-2px); }

.pager-item.disabled { opacity: .45; cursor: not-allowed; }

.pager-item .pager-label { font-size: 12px; color: var(--muted); }
.pager-item .pager-title { font-size: 14px; font-weight: 600; }

@media (max-width: 575.98px) {
    .pager-nav { flex-direction: column; gap: 10px; }
    .pager-item, .pager-item { max-width: 100%; }
}

/* ---------------------------------------------------- 作品详情：信息头 */
.work-head .wh-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.work-head .wh-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 5px 9px;
    border-radius: 4px;
}

.work-head .wh-bar {
    border-left: 4px solid var(--accent);
    background: #f7f8fa;
    padding: 13px 16px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.7;
    border-radius: 0 6px 6px 0;
}

.work-head .wh-bar:last-child { margin-bottom: 0; }

/* ---------------------------------------------------- 模特标签筛选栏 */
.tag-bar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.tag-bar .tag-label {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 14px;
    padding: 5px 0;
}

.tag-bar .tag-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 6px;
}

.tag-bar .tag-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    color: inherit;
    background: #f5f6f8;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.tag-bar .tag-pill:hover { color: var(--accent); background: #f0ede6; }

.tag-bar .tag-pill.active {
    background: var(--accent);
    color: #fff;
}

.tag-bar .tag-pill.active:hover { color: #fff; }
