/* 喵领域 · 演示站样式 */
* { box-sizing: border-box; }

:root {
  --bg: #0b0c11;
  --bg2: #0f1119;
  --panel: #151824;
  --panel2: #1b1f2e;
  --line: #242a3c;
  --txt: #e9ebf3;
  --dim: #9096ac;
  --dim2: #6c7290;
  --acc: #ff6651;
  --acc2: #7c5cff;
  --gold: #ffc65c;
  --r: 14px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--txt);
  background:
    radial-gradient(900px 520px at 10% -12%, rgba(255, 102, 81, .16), transparent 62%),
    radial-gradient(820px 520px at 92% -4%, rgba(124, 92, 255, .14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.wrap { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.boot { padding: 120px 0; text-align: center; color: var(--dim2); }

/* ======================= header ======================= */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 12, 17, .84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 20px; height: 64px; }

.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  box-shadow: 0 6px 18px rgba(255, 102, 81, .38);
}
.logo .lt { display: flex; flex-direction: column; line-height: 1.2; }
.logo .lt b { font-size: 16px; letter-spacing: .5px; }
.logo .lt em { font-size: 11px; color: var(--dim2); font-style: normal; }

.nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; }
.nh {
  position: relative; padding: 8px 12px; border-radius: 9px;
  color: #c3c8d8; font-size: 14px; white-space: nowrap; transition: .15s;
}
.nh:hover { background: var(--panel); color: #fff; }
.nh.on { color: var(--acc); }
.nh i { font-style: normal; font-size: 10px; margin-left: 3px; color: var(--dim2); }

.drop { position: relative; }
.dmenu {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 184px; padding: 8px;
  border-radius: 12px; background: var(--panel2); border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .55);
  display: none; flex-direction: column; gap: 2px;
}
.drop:hover .dmenu { display: flex; }
.dmenu a { padding: 8px 10px; border-radius: 8px; color: #c3c8d8; font-size: 13px; }
.dmenu a:hover { background: rgba(255, 102, 81, .12); color: #fff; }

.sbox {
  display: flex; align-items: center; flex: 0 1 250px; height: 36px;
  border-radius: 10px; background: var(--panel); border: 1px solid var(--line); overflow: hidden;
}
.sbox input {
  flex: 1; min-width: 0; height: 100%; padding: 0 12px;
  background: transparent; border: 0; outline: 0; color: var(--txt); font-size: 13px;
}
.sbox input::placeholder { color: var(--dim2); }
.sbox button {
  height: 100%; padding: 0 14px; border: 0; cursor: pointer;
  background: rgba(255, 102, 81, .16); color: var(--acc); font-size: 13px; font-weight: 600;
}
.sbox button:hover { background: rgba(255, 102, 81, .28); }

.acct { display: flex; gap: 8px; flex: 0 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px; border: 0; border-radius: 10px;
  font-size: 13px; font-weight: 600; color: #fff; cursor: pointer; white-space: nowrap;
  background: linear-gradient(135deg, var(--acc), #ff8a5c);
  box-shadow: 0 6px 16px rgba(255, 102, 81, .3);
  transition: .16s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: var(--panel); border: 1px solid var(--line); color: #dfe3ef; box-shadow: none; }
.btn.ghost:hover { border-color: #3a4258; background: var(--panel2); }
.btn.gold { background: linear-gradient(135deg, #ffd27a, #ff9f43); color: #2b1a00; box-shadow: 0 6px 16px rgba(255, 198, 92, .26); }
.btn.lg { height: 44px; padding: 0 22px; font-size: 14px; border-radius: 12px; }
.btn.block { display: flex; width: 100%; }
.btn.sm { height: 30px; padding: 0 12px; font-size: 12px; border-radius: 8px; }

.mobnav { display: none; gap: 4px; overflow-x: auto; padding: 0 0 10px; }
.mobnav a { padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 12.5px; color: #c3c8d8; white-space: nowrap; }
.mobnav a.on { color: var(--acc); border-color: rgba(255, 102, 81, .45); }

/* ======================= layout ======================= */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px;
  align-items: start; padding: 26px 0 60px;
}
.col-main { min-width: 0; }
.col-side { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.panel h3.ph { margin: 0 0 12px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.panel h3.ph::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(var(--acc), var(--acc2)); }

.rank { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; counter-reset: r; }
.rank li a { display: flex; align-items: center; gap: 9px; padding: 7px 4px; border-radius: 8px; font-size: 12.5px; }
.rank li a:hover { background: var(--panel2); }
.rank b {
  flex: 0 0 18px; height: 18px; display: grid; place-items: center; border-radius: 5px;
  font-size: 11px; color: var(--dim2); background: var(--panel2);
}
.rank b.top { color: #2b1a00; background: linear-gradient(135deg, #ffd27a, #ff9f43); }
.rank span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cbd0e0; }
.rank em { flex: 0 0 auto; font-style: normal; font-size: 11px; color: var(--dim2); }

.grp + .grp { margin-top: 12px; }
.grp h4 { margin: 0 0 7px; font-size: 12px; color: var(--dim2); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a {
  padding: 4px 9px; border-radius: 7px; font-size: 12px;
  background: var(--panel2); border: 1px solid var(--line); color: #b9bfd2;
}
.tags a:hover { color: #fff; border-color: rgba(255, 102, 81, .45); }

.vipcard { background: linear-gradient(150deg, #241531, #171a29 60%, #141726); border-color: #33224a; }
.vipcard h3 { margin: 0 0 6px; font-size: 15px; }
.vipcard p { margin: 0 0 12px; color: var(--dim); font-size: 12.5px; }

.kvs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.kvs li { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); }
.kvs b { color: #e9ebf3; font-family: ui-monospace, "SF Mono", Consolas, monospace; }

/* ======================= hero ======================= */
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px;
  padding: 26px; margin-bottom: 26px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #1a1024 0%, #141726 55%, #101320 100%);
  border: 1px solid #2a2140;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -150px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 102, 81, .38), transparent 70%);
  filter: blur(8px); pointer-events: none;
}
.hero-txt { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.hero .k {
  align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 12px;
  color: #ffa3c4; background: rgba(255, 102, 81, .14); border: 1px solid rgba(255, 102, 81, .32);
}
.hero h1 { margin: 0; font-size: 30px; line-height: 1.28; letter-spacing: .5px; }
.hero p { margin: 0; color: var(--dim); font-size: 13px; }
.hero-acts { display: flex; gap: 10px; margin-top: 4px; }

.hero-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hcard { border-radius: 12px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: .18s; }
.hcard:hover { transform: translateY(-4px); border-color: rgba(255, 102, 81, .45); }
.hcard .cover { aspect-ratio: 3 / 4; }
.hcard h4 {
  margin: 0; padding: 8px 10px; font-size: 12px; font-weight: 500; color: #c9cede;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ======================= cover / cards ======================= */
.cover {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: linear-gradient(150deg, #241a33, #2a2137 55%, #1b1726);
}
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cover.noimg::after {
  content: "喵领域"; position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255, 255, 255, .13); font-size: 17px; font-weight: 700; letter-spacing: 3px;
}
.tile.noimg { background: linear-gradient(150deg, #241a33, #1b1726); }

.bdg {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .6px;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px);
}
.bdg.vip { color: #ffd36e; border: 1px solid rgba(255, 198, 92, .45); }
.bdg.hot { color: #ff9bcf; border: 1px solid rgba(255, 102, 81, .45); }

.cnt {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  padding: 2px 7px; border-radius: 6px;
  background: rgba(6, 7, 11, .72); color: #cfd4e4; font-size: 11px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}

/* 资源流：对齐原站 .excerpt-c5 —— 一行 5 个、纯图片无卡片框 */
.grid { display: flex; flex-wrap: wrap; margin-right: -2%; }

.card { display: block; width: 18%; margin-right: 2%; margin-bottom: 2.5%; }
.card .thumbnail {
  position: relative; display: block; overflow: hidden; margin-bottom: 10px;
  border-radius: 3px; background: linear-gradient(150deg, #241a33, #1b1726);
}
.card .thumbnail.noimg { aspect-ratio: 3 / 4; }
.card .thumbnail.noimg::after {
  content: "喵领域"; position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255, 255, 255, .13); font-size: 15px; font-weight: 700; letter-spacing: 3px;
}
.card .thumb { width: 100%; display: block; transition: transform .35s ease; }
.card:hover .thumb { transform: scale(1.03); }
.card h2 {
  margin: 0 0 8px; height: 42px; overflow: hidden;
  font-size: 15px; line-height: 1.4; font-weight: 500; color: #dfe3ef;
}
.card:hover h2 { color: var(--acc); }
.card footer { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim2); }
.card footer time { font-style: normal; }
.card footer time.hot { color: var(--acc); font-weight: 700; }
.card footer time.pin { color: var(--acc); font-weight: 700; }
.card footer time.vipmark { color: var(--gold); font-weight: 700; }
.card footer em {
  margin-left: auto; font-style: normal; font-size: 11.5px; color: #565d78;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
.thumb-video { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.thumb-video b {
  width: 34px; height: 34px; border-radius: 4px; display: grid; place-items: center;
  font-size: 13px; color: #fff; background: rgba(0, 0, 0, .5);
}

/* ======================= section head / chips ======================= */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: 18px; letter-spacing: .3px; }
.sec-head h2 small { font-weight: 400; font-size: 12px; color: var(--dim2); margin-left: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px;
  background: var(--panel); border: 1px solid var(--line); color: #b9bfd2; transition: .15s;
}
.chip:hover { color: #fff; }
.chip.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--acc), var(--acc2)); }

/* ======================= pager ======================= */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 30px 0 6px; }
.pg {
  min-width: 36px; height: 34px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; font-size: 13px; color: #b9bfd2;
  background: var(--panel); border: 1px solid var(--line);
}
.pg:hover { color: #fff; border-color: #3a4258; }
.pg.num { padding: 0 10px; }
.pg.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--acc), var(--acc2)); }
.pg.dis { color: var(--dim2); cursor: default; opacity: .6; }
.jump { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.jump input {
  width: 74px; height: 34px; padding: 0 10px; border-radius: 9px;
  background: var(--panel); border: 1px solid var(--line); color: var(--txt); font-size: 13px; outline: 0;
}
.jump input:focus { border-color: rgba(255, 102, 81, .55); }
.jump button {
  height: 34px; padding: 0 12px; border-radius: 9px; cursor: pointer; font-size: 13px;
  background: var(--panel); border: 1px solid var(--line); color: #b9bfd2;
}
.jump button:hover { color: #fff; }

/* ======================= breadcrumb / detail ======================= */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0 0; color: var(--dim2); font-size: 12.5px; }
.crumb a:hover { color: var(--acc); }
.crumb span { color: #3a4056; }

.dhead h1 { margin: 10px 0 14px; font-size: 24px; line-height: 1.35; letter-spacing: .3px; }

/* 详情页：一张封面大图 + 会员提示（仿原站） */
.dcover { max-width: 1000px; margin: 2px 0 16px; border-radius: 2px; overflow: hidden; background: var(--panel); }
.dcover img { width: 100%; display: block; }
.dcover.noimg { aspect-ratio: 2 / 3; background: linear-gradient(150deg, #241a33, #1b1726); }
.gate {
  max-width: 1000px; padding: 13px 16px; border-radius: 8px; font-size: 13.5px; line-height: 1.7; color: var(--dim);
  background: rgba(255, 102, 81, .06); border: 1px dashed rgba(255, 102, 81, .38);
}
.gate a { color: var(--acc); font-weight: 600; }
.gate a:hover { text-decoration: underline; }
.gate.ok { color: #9fe0bb; background: rgba(95, 211, 141, .08); border: 1px solid rgba(95, 211, 141, .35); }
.link-btn { background: none; border: 0; padding: 0; margin: 0 2px; color: var(--acc); font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* 登录后的网盘交付 */
.delivery { max-width: 1000px; padding: 16px 18px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.delivery h3 { margin: 0 0 4px; font-size: 15px; }
.dtitle { margin-bottom: 12px; font-size: 12.5px; color: var(--dim2); }
.dlinks { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dlinks li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  font-size: 13.5px; background: var(--panel2); border: 1px solid var(--line);
}
.dlinks a { color: var(--acc); font-weight: 600; }
.dlinks a:hover { text-decoration: underline; }
.dlinks .pwd { margin-left: auto; font-size: 12px; color: var(--dim); }
.dlinks li.off { color: var(--dim2); }
.dlinks li.off i { font-style: normal; color: #b9bfd2; }
.dlinks li.off span { margin-left: auto; font-size: 12px; }
.dnote { margin: 6px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--dim); }
.dnote b { color: #fff; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mchip { padding: 5px 11px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); font-size: 12px; color: #a9b0c4; }
.mchip b { color: #fff; font-weight: 600; }
.mchip.vip { color: #ffd36e; border-color: rgba(255, 198, 92, .4); background: rgba(255, 198, 92, .07); }

.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 14px; }
.tile { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--panel2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.locked img { filter: blur(14px) brightness(.5); transform: scale(1.1); }
.lockmask {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(10, 10, 16, .22); cursor: pointer;
}
.lockmask .lk {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; color: #ffd6e5;
  background: rgba(12, 13, 19, .74); border: 1px solid rgba(255, 102, 81, .45);
  backdrop-filter: blur(4px);
}
.gal-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; color: var(--dim); font-size: 12.5px; }

.rbox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 26px 0; }
.rbox h3 { margin: 0 0 14px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.rbox h3::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(var(--acc), var(--acc2)); }
.rbox dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.rbox dl > div { display: flex; gap: 10px; font-size: 13px; align-items: baseline; }
.rbox dt { flex: 0 0 76px; color: var(--dim2); }
.rbox dd { margin: 0; color: #d7dbe8; word-break: break-all; }
.rbox dd.blur { filter: blur(5px); user-select: none; }
.rbox .dl { margin-top: 18px; display: flex; gap: 10px; }

.vsec { margin: 26px 0; }
.vsec h3 { margin: 0 0 14px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.vsec h3::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(var(--acc), var(--acc2)); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.vcard {
  position: relative; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
}
.vcard .vthumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1b1526, #121420); }
.vcard .vthumb img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 26px; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .8);
}
.vcard h4 { margin: 0; padding: 9px 11px; font-size: 12.5px; font-weight: 500; color: #cdd2e2; }
.vcard:hover { border-color: rgba(255, 102, 81, .45); }
.vcard video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
.vlock {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer;
  color: #ffd6e5; font-size: 12px; background: rgba(10, 10, 16, .45);
}

/* ======================= vip ======================= */
.pagehead { padding: 32px 0 6px; text-align: center; }
.pagehead h1 { margin: 0 0 8px; font-size: 28px; }
.pagehead p { margin: 0; color: var(--dim); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 30px; }
.plan {
  position: relative; padding: 22px 18px; border-radius: var(--r); text-align: center;
  background: var(--panel); border: 1px solid var(--line); transition: .18s;
}
.plan:hover { transform: translateY(-4px); border-color: #3a4258; }
.plan.rec { border-color: rgba(255, 198, 92, .55); background: linear-gradient(160deg, #241a33, #171a29); box-shadow: 0 14px 40px rgba(255, 198, 92, .1); }
.plan .ptag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap;
  background: linear-gradient(135deg, #ffd27a, #ff9f43); color: #2b1a00;
}
.plan h3 { margin: 0 0 10px; font-size: 15px; color: #dfe3ef; }
.plan .price { font-size: 32px; font-weight: 700; color: #fff; line-height: 1; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--dim); margin-right: 2px; }
.plan .orig { margin: 6px 0 0; font-size: 12px; color: var(--dim2); text-decoration: line-through; }
.plan .desc { margin: 10px 0 16px; font-size: 12.5px; color: var(--dim); min-height: 2.6em; }

.bene { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; margin-bottom: 26px; overflow: hidden; }
.bene table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bene th, .bene td { padding: 12px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.bene th { color: var(--dim2); font-weight: 500; font-size: 12px; }
.bene th:first-child, .bene td:first-child { width: 46%; }
.bene tr:last-child td { border-bottom: 0; }
.bene td { color: #cfd4e4; }
.bene .yes { color: #5fd38d; }
.bene .no { color: var(--dim2); }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-size: 13.5px; color: #dfe3ef; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--acc); margin-bottom: 8px; }
.faq p { margin: 0; font-size: 12.5px; color: var(--dim); line-height: 1.75; }

/* ======================= user ======================= */
.ucard {
  display: flex; align-items: center; gap: 16px; padding: 20px; margin-bottom: 16px;
  border-radius: var(--r); background: linear-gradient(135deg, #1a1024, #141726);
  border: 1px solid #2a2140;
}
.uava {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 20px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
}
.uinfo { flex: 1; min-width: 0; }
.uinfo h3 { margin: 0 0 4px; font-size: 17px; }
.uinfo p { margin: 0; font-size: 12.5px; color: var(--dim); }
.ustat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.ustat div { padding: 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.ustat b { display: block; font-size: 20px; font-family: ui-monospace, Consolas, monospace; }
.ustat span { font-size: 12px; color: var(--dim2); }

.list { display: flex; flex-direction: column; gap: 2px; }
.lrow { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-radius: 9px; font-size: 13px; }
.lrow:hover { background: var(--panel2); }
.lrow span.t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cfd4e4; }
.lrow em { font-style: normal; font-size: 12px; color: var(--dim2); }

.empty { padding: 70px 0; text-align: center; color: var(--dim2); font-size: 13.5px; }
.empty a { color: var(--acc); margin-left: 6px; }

/* ======================= modal / toast ======================= */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(4, 5, 9, .72); backdrop-filter: blur(6px);
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal-box {
  width: min(390px, calc(100vw - 40px)); padding: 26px; border-radius: 16px;
  background: var(--panel2); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
}
.modal-box h3 { margin: 0 0 6px; font-size: 18px; }
.modal-box .hint { margin: 0 0 18px; font-size: 12px; color: var(--dim2); line-height: 1.7; }
.field { margin-bottom: 12px; }
.field input {
  width: 100%; height: 42px; padding: 0 13px; border-radius: 10px; font-size: 13.5px;
  background: var(--bg2); border: 1px solid var(--line); color: var(--txt); outline: 0;
}
.field input:focus { border-color: rgba(255, 102, 81, .55); }
.modal-acts { display: flex; gap: 10px; margin-top: 18px; }
.modal-acts .btn { flex: 1; }

#toast {
  position: fixed; left: 50%; bottom: 42px; z-index: 300;
  transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  max-width: 82vw; padding: 11px 18px; border-radius: 10px; text-align: center;
  font-size: 13px; color: #e9ebf3;
  background: rgba(28, 31, 44, .97); border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
  transition: .22s ease;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ======================= footer ======================= */
.ft { border-top: 1px solid var(--line); padding: 26px 0 40px; text-align: center; color: var(--dim2); font-size: 12.5px; }
.ft p { margin: 0 0 6px; }
.ft a { color: var(--dim); margin: 0 8px; }
.ft a:hover { color: var(--acc); }

/* 封面左下角：热门 + 模特名 */
.tags-lb {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  display: flex; align-items: center; gap: 4px; max-width: calc(100% - 16px);
}
.mtag {
  padding: 2px 7px; border-radius: 5px; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 11px; color: #fff;
  background: rgba(6, 7, 11, .66); backdrop-filter: blur(4px);
}
.hottag {
  flex: 0 0 auto; padding: 2px 7px; border-radius: 5px;
  font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, #ff6651, #ff8a5c);
}
/* 模特库 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.filters.sub { margin-top: -4px; }
.filters .chip em { font-style: normal; opacity: .55; margin-left: 5px; font-size: 11px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; margin-bottom: 46px; }
.mcard {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 14px 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line);
  transition: .18s;
}
.mcard:hover { transform: translateY(-3px); border-color: rgba(255, 102, 81, .5); }
.mava { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, #241a33, #1b1726); }
.mava img { width: 100%; height: 100%; object-fit: cover; }
.mcard b { font-size: 13px; font-weight: 500; color: #e3e6f0; }
.mcard span { font-size: 11.5px; color: var(--dim2); }

/* 分类页顶部的模特名字条 */
.names { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.names-head { font-size: 12.5px; color: var(--dim2); margin-bottom: 10px; }
.names-head b { color: var(--acc); font-weight: 600; }
.names-body { display: flex; flex-wrap: wrap; gap: 6px; max-height: 148px; overflow: hidden; }
.names.open .names-body { max-height: none; }
.names-body a {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 4px 10px; border-radius: 7px; font-size: 12.5px;
  background: var(--panel2); border: 1px solid var(--line); color: #b9bfd2;
}
.names-body a:hover { color: #fff; border-color: rgba(255, 102, 81, .5); }
.names-body em { font-style: normal; font-size: 11px; color: var(--dim2); }
.names-more {
  display: block; width: 100%; margin-top: 10px; padding: 7px 0; cursor: pointer;
  border: 1px dashed var(--line); border-radius: 8px; background: transparent;
  color: var(--dim); font-size: 12.5px;
}
.names-more:hover { color: #fff; border-color: rgba(255, 102, 81, .45); }

/* ======================= responsive ======================= */
@media (max-width: 1120px) {
  .layout { grid-template-columns: 1fr; }
  .col-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .col-side .panel:first-child { grid-column: 1 / -1; }
  .hero { grid-template-columns: 1fr; }
  .card { width: 23%; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 28px); }
  .acct .btn.ghost { display: none; }
  .sbox { flex: 1 1 120px; }
  .logo .lt em { display: none; }
  .mobnav { display: flex; }
  .hdr-in { height: 58px; gap: 12px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .rbox dl { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 22px; }
  .hero-cards { display: none; }
  .ustat { grid-template-columns: 1fr 1fr; }
  .card { width: 31.3333%; }
  .card h2 { font-size: 14px; height: 39px; }
}
@media (max-width: 620px) {
  .grid { margin-right: -4%; }
  .card { width: 46%; margin-right: 4%; margin-bottom: 4%; }
  .card h2 { font-size: 12.5px; height: 35px; margin-bottom: 6px; }
  .card footer { font-size: 10.5px; }
  .thumb-video b { width: 28px; height: 28px; font-size: 11px; }
  .col-side { grid-template-columns: 1fr; }
  .nav { display: none; }
  .plans { grid-template-columns: 1fr; }
  .bene th:first-child, .bene td:first-child { width: 40%; }
  .dhead h1 { font-size: 19px; }
  .pager .pg { min-width: 32px; height: 32px; padding: 0 9px; font-size: 12.5px; }
  .jump { display: none; }
}
