/* roulang page: index */
:root {
  --primary:#FF4F7E;
  --primary-deep:#E6396B;
  --accent:#7C5CFF;
  --pink-light:#FFB3C7;
  --dark-bg:#17121C;
  --light-bg:#FFF8FA;
  --card:#FFFFFF;
  --text:#2B2330;
  --muted:#6E6378;
  --radius:24px;
  --shadow:0 8px 24px rgba(255,79,126,.08);
  --shadow-hover:0 16px 40px rgba(255,79,126,.18);
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;
  background:var(--light-bg); color:var(--text); line-height:1.75;
  -webkit-font-smoothing:antialiased; padding-bottom:64px;
}
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button, input, select { font:inherit; color:inherit; }
:focus-visible { outline:2px solid var(--primary); outline-offset:3px; }
.container { width:100%; max-width:1200px; margin:0 auto; padding:0 1.25rem; }
.grad-text { background-image:linear-gradient(115deg,#FF4F7E 0%,#FF7A9E 42%,#8D5BFF 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.btn-primary {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  background-image:linear-gradient(115deg,#FF4F7E,#8D5BFF); color:#fff; border:0; border-radius:999px;
  padding:.75rem 1.8rem; font-weight:700; font-size:.98rem; min-height:44px; cursor:pointer;
  box-shadow:0 8px 24px rgba(255,79,126,.22); transition:transform .25s,box-shadow .25s; white-space:nowrap;
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 16px 40px rgba(255,79,126,.32); }
.btn-primary:active { transform:translateY(0); }
.btn-ghost {
  display:inline-flex; align-items:center; justify-content:center; border-radius:999px;
  border:1px solid rgba(255,79,126,.28); background:#fff; color:var(--primary-deep); font-weight:700;
  padding:.6rem 1.3rem; min-height:40px; transition:background .2s,transform .2s; white-space:nowrap;
}
.btn-ghost:hover { background:rgba(255,79,126,.06); transform:translateY(-2px); }
.site-header {
  position:fixed; top:0; left:0; right:0; z-index:60; height:78px;
  background:rgba(23,18,28,.78); backdrop-filter:blur(18px); border-bottom:1px solid rgba(255,255,255,.06);
  transition:background .3s,border-color .3s;
}
.site-header.is-scrolled { background:rgba(23,18,28,.88); border-bottom-color:rgba(255,183,199,.12); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:78px; gap:18px; }
.brand { display:flex; align-items:center; gap:8px; color:#fff; font-size:1.45rem; font-weight:800; flex:none; }
.desktop-nav { display:flex; gap:4px; }
.nav-link { border-radius:999px; padding:.5rem 1.05rem; font-size:.95rem; font-weight:600; color:rgba(255,255,255,.72); transition:background .2s,color .2s; white-space:nowrap; }
.nav-link:hover { color:#fff; background:rgba(255,255,255,.08); }
.nav-link.active { color:#fff; background-image:linear-gradient(115deg,#FF4F7E 0%,#8D5BFF 100%); box-shadow:0 6px 18px rgba(255,79,126,.22); }
.header-actions { display:flex; align-items:center; gap:16px; }
.status-line { display:inline-flex; align-items:center; gap:8px; color:rgba(255,255,255,.82); font-size:.9rem; font-weight:600; }
.status-dot { width:9px; height:9px; background:#34D399; border-radius:50%; position:relative; }
.status-dot::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:1px solid rgba(52,211,153,.5); animation:pulse 1.8s infinite; }
@keyframes pulse { 0%{transform:scale(.6);opacity:.8;} 80%,100%{transform:scale(1.4);opacity:0;} }
.bell-btn { width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer; }
.bell-badge { position:absolute;top:-4px;right:-3px;min-width:18px;height:18px;border-radius:999px;background:var(--primary-deep);color:#fff;font-size:.7rem;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 5px; }
.burger-btn { display:none; background:transparent; border:1px solid rgba(255,255,255,.2); color:#fff; width:44px;height:44px;border-radius:12px;align-items:center;justify-content:center;cursor:pointer; }
@media (max-width:1023px) {
  .desktop-nav, .header-actions .bell-btn, .header-actions .btn-primary, .status-line { display:none; }
  .burger-btn { display:inline-flex; }
}
.drawer { position:fixed; top:0; right:-100%; width:82vw; max-width:360px; height:100%; background:rgba(23,18,28,.96); backdrop-filter:blur(24px); z-index:80; padding:28px; display:flex; flex-direction:column; transition:right .4s; }
.drawer.open { right:0; }
.drawer-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; }
.drawer-brand { color:#fff; font-size:1.4rem; font-weight:800; display:flex; align-items:center; gap:8px; }
.drawer-close { width:42px; height:42px; border-radius:999px; background:rgba(255,255,255,.1); border:0; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.drawer-nav { display:flex; flex-direction:column; gap:12px; }
.drawer-nav a { color:rgba(255,255,255,.82); font-weight:600; font-size:1.05rem; padding:.85rem 1rem; border-radius:14px; }
.drawer-nav a:hover, .drawer-nav a.active { background:rgba(255,255,255,.08); color:#fff; }
.drawer-bottom { margin-top:auto; }
.drawer-overlay { position:fixed; inset:0; background:rgba(23,18,28,.5); z-index:79; opacity:0; pointer-events:none; transition:opacity .3s; }
.drawer-overlay.show { opacity:1; pointer-events:auto; }

.category-hero { position:relative; padding-top:148px; padding-bottom:74px; background:var(--dark-bg); color:#fff; overflow:hidden; }
.category-bg { position:absolute; inset:0; background-image:url('/assets/images/backpic/back-1.jpg'); background-size:cover; background-position:center 30%; opacity:.24; }
.category-overlay { position:absolute; inset:0; background: radial-gradient(circle at 20% 30%, rgba(255,79,126,.3), transparent 34%), radial-gradient(circle at 90% 80%, rgba(124,92,255,.26), transparent 36%), linear-gradient(to bottom, rgba(23,18,28,.84), rgba(23,18,28,.64) 78%, #FFF8FA 100%); }
.breadcrumb { position:relative; z-index:2; display:flex; gap:8px; color:rgba(255,255,255,.55); font-size:.88rem; font-weight:500; margin-bottom:18px; }
.breadcrumb a:hover { color:#fff; }
.category-hero h1 { position:relative; z-index:2; font-size:clamp(1.8rem,3.2vw,2.7rem); font-weight:800; line-height:1.3; max-width:820px; }
.category-lead { position:relative; z-index:2; color:rgba(255,255,255,.7); font-size:1rem; line-height:1.9; max-width:620px; margin-top:16px; }
.category-search { position:relative; z-index:2; display:flex; gap:12px; max-width:580px; margin-top:30px; }
.category-search input {
  flex:1; height:50px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:#fff;
  padding:0 22px; color:var(--text); font-size:.98rem; outline:none;
}
.category-search button { height:50px; min-width:130px; border-radius:999px; background-image:linear-gradient(115deg,#FF4F7E,#8D5BFF); color:#fff; border:0; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:transform .2s,box-shadow .2s; }
.category-search button:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(255,79,126,.34); }

.content-body { background:var(--light-bg); padding:54px 0 70px; }
.chips-scroll { display:flex; gap:10px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; margin-bottom:26px; }
.chips-scroll::-webkit-scrollbar { display:none; }
.chip {
  flex:none; display:inline-flex; align-items:center; border-radius:999px; height:36px;
  background:#fff; border:1px solid rgba(255,183,199,.45); color:var(--muted); font-weight:600;
  padding:0 22px; font-size:.88rem; cursor:pointer; transition:background .2s,color .2s,border-color .2s;
}
.chip:hover { color:var(--primary-deep); border-color:var(--primary); }
.chip.active { background-image:linear-gradient(115deg,#FF4F7E,#8D5BFF); border-color:transparent; color:#fff; box-shadow:0 8px 20px rgba(255,79,126,.22); }
.sort-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:28px; flex-wrap:wrap; }
.result-total { color:var(--muted); font-size:.9rem; }
.sort-select {
  appearance:none; border:1px solid rgba(255,183,199,.4); background:#fff; border-radius:999px;
  padding:.4rem 2.4rem .4rem 1.4rem; height:40px; font-size:.9rem; color:var(--text); cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23FF4F7E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; outline:none;
}

.video-row {
  display:grid; grid-template-columns:260px 1fr auto; gap:24px; align-items:center;
  background:#fff; border:1px solid rgba(255,183,199,.3); border-radius:24px;
  padding:16px; margin-bottom:24px; box-shadow:0 8px 24px rgba(255,79,126,.06);
  transition:transform .3s,box-shadow .3s,border-color .3s;
}
.video-row:hover { transform:translateY(-4px); box-shadow:0 16px 44px rgba(255,79,126,.16); border-color:rgba(255,79,126,.4); }
.video-row .cover { border-radius:18px; overflow:hidden; position:relative; aspect-ratio:16/9; }
.video-row .cover img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.video-row:hover .cover img { transform:scale(1.05); }
.corner-badge { position:absolute; top:10px; right:10px; z-index:2; background:rgba(23,18,28,.72); backdrop-filter:blur(8px); color:#fff; font-size:.75rem; font-weight:700; border-radius:999px; padding:.2rem .7rem; }
.video-type { display:inline-flex; border-radius:999px; background:rgba(255,79,126,.08); color:var(--primary-deep); font-weight:700; font-size:.75rem; padding:.2rem .8rem; margin-bottom:8px; }
.video-info-title { font-size:1.25rem; font-weight:800; line-height:1.4; transition:color .2s; }
.video-meta { display:flex; align-items:center; gap:14px; color:var(--muted); font-size:.86rem; margin-top:10px; font-feature-settings:"tnum"; }
.video-desc { color:var(--muted); font-size:.93rem; line-height:1.8; margin-top:10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.video-actions { display:flex; flex-direction:column; gap:10px; align-items:center; }
@media (max-width:900px) {
  .video-row { grid-template-columns:170px 1fr; }
  .video-row .cover { aspect-ratio:16/10; }
  .video-actions { grid-column:1 / -1; flex-direction:row; justify-content:flex-end; }
}
@media (max-width:600px) {
  .video-row { grid-template-columns:120px 1fr; padding:10px; gap:14px; }
  .video-actions { flex-direction:row; }
  .video-desc { display:none; }
  .video-info-title { font-size:1.05rem; }
  .video-meta { flex-wrap:wrap; gap:6px 10px; font-size:.78rem; }
}
.section-divider { height:1px; background:linear-gradient(to right,transparent,rgba(255,79,126,.22),transparent); margin:6px 0 40px; }

.rec-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:24px; flex-wrap:wrap; }
.rec-head h2 { font-size:1.5rem; font-weight:800; }
.rec-track { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.mini-card { border-radius:20px; overflow:hidden; background:#fff; border:1px solid rgba(255,183,199,.3); padding:10px; box-shadow:var(--shadow); transition:transform .3s,box-shadow .3s; }
.mini-card:hover { transform:translateY(-6px); box-shadow:0 16px 40px rgba(255,79,126,.16); }
.mini-cover { border-radius:14px; overflow:hidden; aspect-ratio:3/4; position:relative; }
.mini-cover img { width:100%; height:100%; object-fit:cover; }
.mini-cover::after { content:""; position:absolute; inset:0; background:linear-gradient(160deg,rgba(255,79,126,.08),transparent 40%); }
.mini-name { font-weight:700; font-size:.95rem; margin-top:12px; padding:0 6px; }
.mini-tag { color:var(--muted); font-size:.8rem; padding:0 6px 6px; }
@media (max-width:900px){ .rec-track { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .rec-track { grid-template-columns:repeat(2,1fr); gap:12px; } .mini-name { font-size:.85rem; } }

.pagination-row { display:flex; justify-content:center; gap:10px; margin-top:52px; flex-wrap:wrap; align-items:center; }
.pagination-row a { display:inline-flex; align-items:center; justify-content:center; min-width:44px; height:42px; border-radius:999px; background:#fff; border:1px solid rgba(255,183,199,.35); color:var(--text); font-weight:600; font-size:.95rem; padding:0 14px; transition:background .2s,color .2s,.3s; }
.pagination-row a:hover { background:rgba(255,79,126,.08); color:var(--primary-deep); }
.pagination-row a.active { background-image:linear-gradient(115deg,#FF4F7E,#8D5BFF); color:#fff; border:0; box-shadow:0 8px 22px rgba(255,79,126,.28); }
.pagination-row a.disabled { opacity:.4; pointer-events:none; }

.section-light { padding:60px 0; background:var(--light-bg); }
.cta-slim {
  position:relative; border-radius:32px; overflow:hidden; background:var(--dark-bg); color:#fff;
  text-align:center; padding:58px 24px 48px;
}
.cta-slim::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 20%, rgba(255,79,126,.4), transparent 42%), radial-gradient(circle at 85% 80%, rgba(124,92,255,.42), transparent 45%); }
.cta-slim h2 { position:relative; font-size:clamp(1.5rem,3vw,2.1rem); font-weight:800; line-height:1.4; }
.cta-slim p { position:relative; color:rgba(255,255,255,.7); font-size:1rem; margin:16px auto 30px; max-width:600px; line-height:1.9; }
.cta-slim .btn-white { position:relative; display:inline-flex; align-items:center; gap:8px; background:#fff; color:var(--text); border-radius:999px; font-weight:800; min-height:50px; padding:.8rem 2.4rem; transition:transform .25s,box-shadow .25s; }
.cta-slim .btn-white:hover { transform:translateY(-3px); box-shadow:0 18px 44px rgba(255,255,255,.22); }

.site-footer { background:var(--dark-bg); color:rgba(255,255,255,.72); padding-top:72px; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:44px; padding-bottom:48px; }
.footer-brand { display:flex; align-items:center; gap:8px; color:#fff; font-size:1.5rem; font-weight:800; margin-bottom:14px; }
.footer-desc { font-size:.95rem; line-height:1.9; color:rgba(255,255,255,.56); max-width:340px; }
.footer-social { display:flex; gap:10px; margin-top:22px; }
.footer-social a { width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); display:flex;align-items:center;justify-content:center;color:#fff; transition:background .2s,transform .2s; }
.footer-social a:hover { background:rgba(255,79,126,.3); transform:translateY(-2px); }
.footer-col h3 { color:#fff; font-size:1rem; font-weight:700; margin-bottom:18px; }
.footer-links { display:flex; flex-direction:column; gap:10px; font-size:.95rem; }
.footer-links a:hover { color:var(--primary); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding:24px 0; font-size:.8rem; color:rgba(255,255,255,.4); display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }
@media (max-width:767px){ .footer-grid { grid-template-columns:1fr; gap:32px; } .category-search { flex-direction:column; } .category-search button { width:100%; } }

/* roulang page: category1 */
:root {
    --primary: #FF4F7E;
    --primary-deep: #E6396B;
    --accent: #7C5CFF;
    --pink-light: #FFB3C7;
    --dark-bg: #17121C;
    --light-bg: #FFF8FA;
    --card: #FFFFFF;
    --text: #2B2330;
    --muted: #6E6378;
    --radius: 24px;
    --shadow: 0 8px 24px rgba(255,79,126,.08);
    --shadow-hover: 0 16px 40px rgba(255,79,126,.18);
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: var(--light-bg);
    color: var(--text);
    line-height: 1.75;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding-bottom: 68px;
    font-feature-settings: "tnum";
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol, figure { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 6px;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: 1320px; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    background-image: linear-gradient(115deg, #FF4F7E 0%, #FF7A9E 35%, #8D5BFF 100%);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .78rem 1.9rem;
    font-weight: 800;
    font-size: .97rem;
    min-height: 46px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 79, 126, .22);
    transition: transform .25s, box-shadow .25s, opacity .2s;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(255, 79, 126, .32); }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .02);
    color: rgba(255, 255, 255, .86);
    font-weight: 700;
    padding: .65rem 1.4rem;
    min-height: 42px;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
    white-space: nowrap;
    line-height: 1;
}

.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 183, 199, .45); transform: translateY(-2px); }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: 78px;
    background: rgba(23, 18, 28, .78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .35s, border-color .35s;
}

.site-header.is-scrolled {
    background: rgba(23, 18, 28, .92);
    border-bottom-color: rgba(255, 183, 199, .14);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 1.42rem;
    font-weight: 900;
    letter-spacing: .01em;
    flex: none;
}

.desktop-nav {
    display: none;
    gap: 2px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .52rem 1.1rem;
    font-size: .93rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-link.active { color: #fff; background-image: linear-gradient(115deg, #FF4F7E 0%, #8D5BFF 100%); box-shadow: 0 6px 18px rgba(255, 79, 126, .26); }

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.status-line {
    display: none;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    padding: .32rem .75rem;
}

.status-line .sts-text { font-size: .85rem; }

.status-dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: #2ED47A;
    position: relative;
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(46, 212, 122, .35);
    animation: statusPing 2s ease-out infinite;
}

@keyframes statusPing {
    0% { transform: scale(.6); opacity: .85; }
    70%, 100% { transform: scale(1.5); opacity: 0; }
}

.bell-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background .2s, transform .2s;
}

.bell-btn:hover { background: rgba(255, 255, 255, .15); transform: translateY(-1px); }

.bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--primary-deep);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid rgba(23, 18, 28, .9);
}

.burger-btn {
    display: inline-flex;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.burger-btn:hover { background: rgba(255, 255, 255, .1); }

.desktop-nav, 
.header-actions .desktop-cta { display: none; }

@media (min-width: 1024px) {
    .desktop-nav { display: flex; }
    .status-line { display: inline-flex; }
    .header-actions .bell-btn,
    .header-actions .desktop-cta { display: inline-flex; }
    .burger-btn { display: none; }
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82vw;
    max-width: 360px;
    height: 100%;
    background: rgba(23, 18, 28, .97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    z-index: 80;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    transition: right .45s ease;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
}

.drawer.open { right: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.drawer-brand { color: #fff; font-size: 1.35rem; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.drawer-nav { display: flex; flex-direction: column; gap: 10px; }

.drawer-nav a {
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
    font-size: 1.05rem;
    padding: .85rem 1rem;
    border-radius: 14px;
    transition: background .2s;
}

.drawer-nav a:hover, .drawer-nav a.active { background: rgba(255, 255, 255, .09); color: #fff; }
.drawer-bottom { margin-top: auto; }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 18, 28, .55);
    z-index: 79;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.drawer-overlay.show { opacity: 1; pointer-events: auto; }

.category-hero {
    position: relative;
    padding: 150px 0 76px;
    background: var(--dark-bg);
    color: #fff;
    overflow: hidden;
}

.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(23, 18, 28, .96) 20%, rgba(23, 18, 28, .78) 100%),
        url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
}

.category-hero::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    filter: blur(20px);
    background: radial-gradient(circle, rgba(255, 79, 126, .3) 0%, rgba(124, 92, 255, .08) 60%, transparent 100%);
    right: -140px;
    top: -180px;
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 980px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: rgba(255, 255, 255, .58);
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255, 255, 255, .58); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .4; }

.category-hero h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 18px;
    max-width: 860px;
}

.text-gradient {
    background-image: linear-gradient(115deg, #FF7A9E 10%, #B18AFF 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.category-lead {
    color: rgba(255, 255, 255, .72);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 700px;
    margin: 0 0 2rem;
}

.hero-search-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 5px;
    max-width: 590px;
    gap: 8px;
    box-shadow: 0 18px 40px rgba(23, 18, 28, .24);
}

.hero-search-wrap svg { flex: none; color: #b19ac2; margin-left: 12px; }

.hero-search-wrap input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    min-width: 0;
    color: var(--text);
    padding: .55rem .4rem;
    font-size: .96rem;
}

.hero-search-wrap button {
    height: 48px;
    flex: none;
    background-image: linear-gradient(115deg, #FF4F7E 0%, #8D5BFF 100%);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0 1.9rem;
    font-weight: 700;
    font-size: .95rem;
    transition: transform .2s, box-shadow .2s;
}

.hero-search-wrap button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 79, 126, .36); }

.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 32px;
}

.hero-meta-item { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .82); }

.hero-meta-item .icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFB3C7;
}

.hero-meta-item strong { display: block; line-height: 1.45; font-size: .92rem; color: #fff; }
.hero-meta-item span { font-size: .74rem; color: rgba(255, 255, 255, .48); }

.content-body {
    padding: 54px 0 82px;
    overflow: hidden;
}

.result-block { scroll-margin-top: 110px; }

.chips-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 3px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
}

.chips-scroll::-webkit-scrollbar { display: none; }

.chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    height: 38px;
    background: #fff;
    border: 1px solid rgba(255, 183, 199, .5);
    color: var(--muted);
    font-weight: 600;
    padding: 0 1.45rem;
    font-size: .88rem;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.chip:hover { color: var(--primary-deep); border-color: var(--primary); transform: translateY(-1px); }
.chip.active {
    background-image: linear-gradient(115deg, #FF4F7E 0%, #8D5BFF 100%);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(255, 79, 126, .22);
}

.toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.toolbar-lead {
    font-size: .92rem;
    color: var(--muted);
    font-weight: 600;
}

.toolbar-lead b { color: var(--text); font-weight: 800; }

.filter-select {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.filter-select select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 183, 199, .5);
    background: #fff;
    color: var(--text);
    height: 42px;
    padding: 0 2.6rem 0 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 79, 126, .04);
    transition: border-color .2s;
}

.filter-select select:focus { border-color: var(--primary); }

.filter-select svg {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: var(--muted);
}

.cat-list { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 96px; }

.cat-card {
    display: flex;
    background: var(--card);
    border: 1px solid rgba(255, 183, 199, .28);
    border-radius: var(--radius);
    padding: 14px;
    gap: 14px;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    scroll-margin-top: 110px;
    position: relative;
    overflow: hidden;
}

.cat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid transparent;
    background: linear-gradient(140deg, rgba(255, 183, 199, .16), rgba(124, 92, 255, .04), rgba(255, 255, 255, 0)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(255, 79, 126, .14);
    border-color: rgba(255, 79, 126, .28);
}

.cat-cover {
    flex: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: 130px;
    aspect-ratio: 16 / 9;
    background: #f1dce4;
}

.cat-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease, opacity .3s;
}

.cat-card:hover .cat-cover img { transform: scale(1.06); }

.cat-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(23, 18, 28, .18), transparent 66%, rgba(23, 18, 28, .28));
    pointer-events: none;
}

.corner-tag {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 2;
    font-size: .68rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(115deg, rgba(23, 18, 28, .72), rgba(255, 79, 126, .62));
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    letter-spacing: .02em;
}

.corner-tag.is-live {
    background: linear-gradient(115deg, #FF4F7E, #8D5BFF);
}

.corner-tag.is-done {
    background: rgba(23, 18, 28, .7);
    backdrop-filter: blur(4px);
}

.cat-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 2px 4px;
}

.cat-info h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: .01em;
    line-height: 1.5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.meta-spec {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .8rem;
    color: var(--muted);
    font-weight: 600;
}

.meta-spec .spec {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-spec .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pink-light);
    flex: none;
}

.spec .spark-icon { color: var(--primary); }

.cat-brief {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.8;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 98%;
}

.cat-actions {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.btn-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(255, 183, 199, .6);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.btn-mark:hover { color: var(--primary-deep); border-color: var(--primary); background: rgba(255, 79, 126, .04); transform: translateY(-2px); }

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background-image: linear-gradient(115deg, #FF4F7E 0%, #8D5BFF 100%);
    color: #fff;
    border: 0;
    border-radius: 999px;
    min-height: 40px;
    padding: .5rem 1.35rem;
    font-size: .9rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(255, 79, 126, .22);
    transition: transform .2s, box-shadow .2s;
}

.btn-play:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 79, 126, .32); }
.btn-play:active { transform: scale(.97); }

@media (min-width: 768px) {
    .cat-card { padding: 18px; gap: 20px; }
    .cat-cover { width: 240px; aspect-ratio: 16 / 9; }
    .cat-actions { flex-direction: column; align-items: stretch; justify-content: center; width: 96px; }
    .cat-actions .btn-mark { width: 100%; height: 40px; }
    .btn-play { min-height: 44px; }
}

.recommend-wrap {
    margin-top: 4.5rem;
    padding: 2.4rem 0 0;
    border-top: 1px solid rgba(255, 183, 199, .2);
}

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 1.2rem; }

.sec-head h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.4;
    color: var(--text);
}

.sec-head .sec-sub {
    font-size: .9rem;
    color: var(--muted);
    font-weight: 500;
}

.scroll-card-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 768px) {
    .scroll-card-row { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

@media (max-width: 380px) {
    .scroll-card-row { grid-template-columns: 1fr 1fr; gap: 10px; }
}

.rel-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(255, 183, 199, .24);
    padding: 8px 8px 14px;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s;
}

.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.rel-cover {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    position: relative;
    background: #f1dce4;
}

.rel-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }

.rel-card:hover .rel-cover img { transform: scale(1.05); }

.rel-cover .tag {
    position: absolute;
    left: 7px;
    top: 7px;
    background: rgba(23, 18, 28, .62);
    color: #fff;
    font-size: .64rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.rel-name {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin: 10px 4px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rel-meta { margin: 2px 4px 0; font-size: .72rem; color: var(--muted); }

.pagination-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 3.2rem;
}

.pager-item {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(255, 183, 199, .38);
    color: var(--text);
    font-weight: 700;
    font-size: .92rem;
    transition: all .2s;
    padding: 0 8px;
    cursor: pointer;
}

.pager-item:hover { color: var(--primary-deep); border-color: var(--primary); background: rgba(255, 79, 126, .04); }
.pager-item.current { background-image: linear-gradient(115deg, #FF4F7E 0%, #8D5BFF 100%); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(255, 79, 126, .24); cursor: default; }
.pager-item.disabled { opacity: .45; cursor: default; pointer-events: none; }

.cta-zone { padding: 0 0 80px; }

.cta-card {
    background: var(--dark-bg);
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    padding: 4rem 1.5rem;
    text-align: center;
    color: #fff;
    isolation: isolate;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(540px 220px at 15% 0%, rgba(255, 79, 126, .26) 0%, transparent 100%),
        radial-gradient(540px 260px at 85% 100%, rgba(124, 92, 255, .25) 0%, transparent 100%),
        var(--dark-bg);
}

.cta-card h2 {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.5;
    font-weight: 900;
    margin: 0 auto 12px;
    max-width: 760px;
}

.cta-card .cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, .7);
    margin: 0 auto 2rem;
    max-width: 560px;
    line-height: 1.8;
}

.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.cta-tip { font-size: .76rem; color: rgba(255, 255, 255, .4); margin-top: 16px; letter-spacing: .02em; }

.site-footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .72);
    padding: 3.6rem 0 1.6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-bottom: 2.8rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.4fr .8fr 1fr; gap: 3rem; }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.24rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: .8rem;
}

.footer-desc {
    font-size: .9rem;
    line-height: 1.9;
    margin: 0 0 1.4rem;
    color: rgba(255, 255, 255, .55);
    max-width: 360px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .65);
    transition: all .2s;
}

.footer-social a:hover { color: #fff; background: linear-gradient(115deg, #FF4F7E, #8D5BFF); border-color: transparent; transform: translateY(-2px); }

.site-footer h3 {
    color: #fff;
    margin: 0 0 1.1rem;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    width: fit-content;
    color: rgba(255, 255, 255, .6);
    font-size: .88rem;
    transition: color .2s;
}

.footer-links a:hover { color: #FFB3C7; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding-top: 1.5rem;
}

.convert-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: rgba(26, 20, 30, .88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 183, 199, .18);
    color: #fff;
    transition: transform .3s;
    padding-bottom: env(safe-area-inset-bottom);
}

.convert-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: .7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
}

.convert-message {
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    min-width: 0;
}

.convert-message .desc {
    display: block;
    font-size: .73rem;
    color: rgba(255, 255, 255, .5);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.convert-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.convert-bar .btn-primary { min-height: 40px; padding: .6rem 1.3rem; font-size: .9rem; }

.convert-close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, .1);
    border: 0;
    border-radius: 50%;
    color: rgba(255, 255, 255, .7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.convert-close:hover { background: rgba(255, 79, 126, .6); color: #fff; }

@media (max-width: 520px) {
    .convert-inner { padding: .55rem .8rem; }
    .convert-message { font-size: .82rem; }
    .convert-bar .btn-primary { padding: .55rem .95rem; font-size: .84rem; min-height: 38px; }
    .convert-close { display: none; }
}

@media (min-width: 768px) {
    .convert-close { display: inline-flex; }
}

@media (min-width: 1024px) {
    .cat-brief { display: block; }
}
