/* ============================================================
 * 灰流丽 · 本命小站 —— 全站公共样式
 * 继承自原版 site.css，新增：导航高亮 / 首页卡片 / 页脚 / 页面布局
 * ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --blue:#3e8fd6; --pink:#d4244b; }

body {
  font-family: "PingFang SC","Microsoft YaHei",sans-serif;
  background: radial-gradient(125% 85% at 50% 0%, #fdfeff 0%, #eaf2fb 45%, #d9e7f6 100%);
  color: #2e3a4e; min-height:100vh; overflow-x:hidden;
}
#stars { position:fixed; inset:0; pointer-events:none; z-index:0; }
#fx { position:fixed; inset:0; pointer-events:none; z-index:9999; }

/* ===== 顶部导航 ===== */
.nav-bar { position:fixed; top:0; left:0; right:0; z-index:9998;
  display:flex; gap:4px; flex-wrap:wrap; align-items:center; justify-content:center;
  padding:8px 10px; background:rgba(255,255,255,.92); backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(110,145,195,.25); }
.nav-bar a { color:#4a5872; text-decoration:none; font-size:13px;
  padding:6px 12px; border-radius:20px; transition:.2s; white-space:nowrap; }
.nav-bar a:hover { background:rgba(62,143,214,.15); color:#22304a; }
.nav-bar a.active { background:linear-gradient(90deg,#ff7a92,#d4244b); color:#fff; font-weight:700; }
.nav-music { margin-left:6px; background:#e9f0f9; color:#c9921e; border:none;
  border-radius:20px; padding:6px 12px; font-size:13px; cursor:pointer; transition:.15s; }
.nav-music:hover { background:#d8e4f2; }
body { padding-top:52px; }

/* ===== 页面通用布局 ===== */
.page { position:relative; z-index:1; min-height:calc(100vh - 52px);
  display:flex; flex-direction:column; align-items:center; padding:26px 14px 40px; }
.bar { width:100%; max-width:560px; display:flex; justify-content:space-between;
  align-items:center; margin-bottom:14px; gap:10px; flex-wrap:wrap; }
.bar button, .bar a.bar-btn { background:#e9f0f9; color:#43506a; border:none; border-radius:20px;
  padding:8px 16px; font-size:14px; cursor:pointer; transition:.15s; text-decoration:none; }
.bar button:hover, .bar a.bar-btn:hover { background:#d8e4f2; }
.bar .mh { color:#22304a; font-size:17px; font-weight:700; }

/* ===== 门面（首页） ===== */
#landing { position:relative; z-index:1; min-height:calc(100vh - 52px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:40px 18px; }
.brand { font-size:64px; font-weight:800; letter-spacing:6px;
  background:linear-gradient(90deg,#e8355e,#3e8fd6); -webkit-background-clip:text;
  background-clip:text; color:transparent; text-shadow:0 4px 30px rgba(62,143,214,.2); }
.domain { font-size:15px; color:#6a7a92; margin-top:6px; letter-spacing:2px; }
.tagline { font-size:16px; color:#3c4a60; margin-top:22px; line-height:1.9; max-width:520px; }
.btns { margin-top:34px; display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.btn { padding:14px 30px; font-size:16px; border-radius:30px; cursor:pointer;
  border:none; transition:.18s; font-weight:600; }
.btn.primary { background:linear-gradient(90deg,#ff7a92,#d4244b); color:#fff;
  box-shadow:0 8px 24px rgba(212,36,75,.28); }
.btn.ghost { background:transparent; color:var(--blue); border:1px solid #3e8fd6; }
.btn:hover { transform:translateY(-2px); filter:brightness(1.08); }

/* 首页入口卡片 */
.home-cards { margin-top:38px; display:grid; gap:14px; width:100%;
  max-width:640px; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); }
.home-card { display:block; text-align:left; text-decoration:none;
  background:#ffffff; border:1px solid #c9d8ea; border-radius:16px; padding:16px 18px;
  transition:transform .18s, box-shadow .18s, border-color .18s; }
.home-card:hover { transform:translateY(-4px); box-shadow:0 10px 26px rgba(50,80,130,.18);
  border-color:#3a7fc8; }
.home-card .hc-icon { font-size:26px; }
.home-card .hc-title { color:#22304a; font-size:16px; font-weight:700; margin-top:8px; }
.home-card .hc-desc { color:#5d6f88; font-size:12px; line-height:1.7; margin-top:6px; }

/* ===== 图鉴画廊 ===== */
.stage { width:100%; max-width:560px; background:#ffffff; border-radius:18px;
  overflow:hidden; box-shadow:0 18px 50px rgba(50,80,130,.2); }
.imgwrap { position:relative; background:#f0f5fb; }
.imgwrap img { width:100%; display:block; max-height:58vh; object-fit:contain; }
.badge { position:absolute; top:14px; left:14px; background:rgba(192,0,0,.85);
  color:#fff; font-size:12px; padding:4px 10px; border-radius:20px; letter-spacing:1px; }
.caption { padding:18px 22px 8px; }
.caption h2 { font-size:21px; color:#22304a; }
.caption .sub { font-size:13px; color:var(--blue); margin-top:4px; }
.caption .text { font-size:15px; line-height:1.8; color:#3c4a60; margin-top:12px; }
.push { margin-top:14px; display:inline-block; padding:8px 20px; border:1px solid #f3d7df;
  border-radius:22px; background:#fbe9ee; color:#ff7a92; font-size:14px; cursor:pointer; transition:.15s; }
.push.on { background:var(--pink); color:#fff; border-color:var(--pink); }
.push:hover { filter:brightness(1.12); }
.pushed { font-size:12px; color:#5d6f88; margin:10px 0 0; }
.nav-row { display:flex; gap:12px; padding:14px 22px 6px; }
.nav-row button { flex:1; max-width:200px; padding:12px 0; font-size:15px; border:none;
  border-radius:10px; cursor:pointer; background:#3e8fd6; color:#fff; transition:.15s; }
.nav-row button:hover:not(:disabled) { background:#3a7fc8; }
.nav-row button:disabled { background:#3a4250; color:#8b99ae; cursor:not-allowed; }
.dots { display:flex; gap:7px; justify-content:center; flex-wrap:wrap; margin-top:14px; }
.dot { width:9px; height:9px; border-radius:50%; background:#46505f; transition:.2s; }
.dot.on { background:var(--blue); transform:scale(1.25); }
.counter { font-size:13px; color:#6a7a92; margin-top:8px; }
.hint2 { font-size:12px; color:#8b99ae; margin-top:20px; text-align:center; }

/* ===== 留言墙 / 讨论区 ===== */
.wall { width:100%; max-width:560px; margin-top:26px; background:#ffffff;
  border:1px solid #c9d8ea; border-radius:16px; padding:18px 20px; }
.wall h3 { color:#22304a; font-size:17px; margin-bottom:4px; }
.wall .tip { font-size:12px; color:#7e8ca2; margin-bottom:12px; }
.wall ul { list-style:none; max-height:200px; overflow-y:auto; }
.wall li { background:#f7fafd; border-radius:10px; padding:9px 12px; margin-bottom:8px; }
.wall .gb-text { color:#33415c; font-size:14px; display:block; word-break:break-word; }
.wall .gb-time { color:#8b99ae; font-size:11px; }
.wall .gb-empty { background:transparent; color:#8b99ae; text-align:center; }
.wall-input { display:flex; gap:8px; margin-top:10px; }
.wall-input input { flex:1; padding:10px 12px; border-radius:10px; border:1px solid #c9d8ea;
  background:#f7fafd; color:#2e3a4e; font-size:14px; }
.wall-input input.name { flex:0 0 92px; }
.wall-input button { padding:10px 18px; border:none; border-radius:10px;
  background:linear-gradient(90deg,#3e8fd6,#3e8fd6); color:#fff; font-weight:700; cursor:pointer; }
.wall-list { width:100%; max-width:560px; }
.wall-list ul { list-style:none; }
.wall-list li { background:#f7fafd; border-radius:10px; padding:9px 12px; margin-bottom:8px; }

/* ===== 通用面板 / 输入行 ===== */
.mailbox-wrap, .admin-wrap { width:100%; max-width:560px; }
.mh { color:#22304a; font-size:17px; font-weight:700; }
.panel { background:#ffffff; border:1px solid #c9d8ea; border-radius:16px; padding:18px 20px; margin-top:14px; width:100%; max-width:560px; }
.panel h3 { color:#22304a; font-size:16px; margin-bottom:10px; }
.panel .tip { font-size:12px; color:#7e8ca2; margin-bottom:12px; line-height:1.7; }
.mail-row { display:flex; gap:8px; margin-top:10px; }
.mail-row input { flex:1; padding:10px 12px; border-radius:10px; border:1px solid #c9d8ea;
  background:#f7fafd; color:#2e3a4e; font-size:14px; font-family:inherit; }
.mail-row input.name { flex:0 0 110px; }
.mail-row button { padding:10px 18px; border:none; border-radius:10px;
  background:linear-gradient(90deg,#ff7a92,#d4244b); color:#fff; font-weight:700; cursor:pointer; }
.mbox-id { font-size:12px; color:#6a7a92; margin-top:10px; line-height:1.7; word-break:break-all; }
.mbox-id b { color:var(--blue); }
.btn-copy { margin-top:10px; padding:8px 16px; border:none; border-radius:10px;
  background:#3e8fd6; color:#fff; cursor:pointer; }
.chat { list-style:none; max-height:320px; overflow-y:auto; margin-top:6px; padding:0; }
.chat li { padding:9px 12px; margin-bottom:8px; border-radius:10px; max-width:85%; word-break:break-word; }
.chat .from-user { background:#e9f0f9; color:#33415c; margin-right:auto; }
.chat .from-owner { background:#fbe9ee; color:#8f3352; margin-left:auto; text-align:right; }
.chat .who { font-size:11px; color:#5d6f88; display:block; margin-bottom:3px; }
.chat .tm { font-size:10px; color:#8b99ae; display:block; margin-top:3px; }
.adm-item { background:#f7fafd; border-radius:10px; padding:10px 12px; margin-bottom:8px; cursor:pointer; }
.adm-item:hover { background:#1a2230; }
.adm-item .an { color:#22304a; font-size:14px; }
.adm-item .al { color:#6a7a92; font-size:12px; margin-top:3px; word-break:break-word; }
.admin-key { font-size:13px; color:#c9921e; margin-top:8px; }
.adm-tabs { display:flex; gap:8px; margin-bottom:12px; }
.adm-tabs button { flex:1; padding:10px 0; border:none; border-radius:10px; cursor:pointer;
  background:#e9f0f9; color:#43506a; font-size:14px; font-weight:600; transition:.15s; }
.adm-tabs button.on { background:linear-gradient(90deg,#ff7a92,#d4244b); color:#fff; }
.gb-del { margin-top:8px; padding:6px 14px; border:none; border-radius:8px;
  background:#fbe9ee; color:#ff7a92; font-size:13px; cursor:pointer; }
.gb-del:hover { filter:brightness(1.2); }


/* ===== 动漫墙 ===== */
.anime-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:14px; max-width:760px; margin:14px auto; width:100%; }
.anime-card { display:block; text-decoration:none; color:inherit; background:#ffffff; border:1px solid #c9d8ea; border-radius:14px; overflow:hidden; cursor:pointer; transition:transform .18s,box-shadow .18s; }
.anime-card:hover { transform:translateY(-4px); box-shadow:0 8px 22px rgba(50,80,130,.16); }
.anime-card img { width:100%; aspect-ratio:3/4; object-fit:cover; display:block; background:#ffffff; }
.anime-card .ac-title { padding:8px 10px; font-size:13px; color:#2e3a4e; line-height:1.4; }
.anime-card .ac-stars { padding:0 10px 10px; font-size:12px; letter-spacing:1px; }
.stars { position:relative; display:inline-block; color:#c3d2e4; letter-spacing:2px; }
.stars::after { content:'★★★★★'; position:absolute; left:0; top:0; width:var(--r); overflow:hidden; white-space:nowrap; color:#c9921e; }
.anime-empty { text-align:center; color:#8b99ae; margin:40px 0; }
.anime-detail { max-width:760px; margin:14px auto; width:100%; display:flex; gap:16px; flex-wrap:wrap; }
.ad-cover { width:200px; max-width:42%; border-radius:14px; object-fit:cover; background:#ffffff; align-self:flex-start; }
.ad-body { flex:1; min-width:200px; }
.ad-rating { font-size:22px; color:#c9921e; letter-spacing:3px; margin-bottom:10px; }
.ad-review { color:#3c4a60; font-size:14px; line-height:1.95; white-space:pre-wrap; }
.anime-discuss { max-width:760px; margin:18px auto 40px; width:100%; }
.anime-discuss h3 { color:#2e3a4e; font-size:16px; }
.anime-discuss .tip { color:#8b99ae; font-size:12px; margin:4px 0 10px; }
.anime-discuss ul { list-style:none; }
.cmt { background:#ffffff; border:1px solid #c9d8ea; border-radius:12px; padding:10px 12px; margin-bottom:10px; }
.cmt .cn { color:#2c6fb0; font-size:13px; margin-bottom:4px; }
.cmt .ct { color:#3c4a60; font-size:14px; line-height:1.7; white-space:pre-wrap; }
.cmt .cmeta { color:#5b6470; font-size:11px; margin-top:4px; }
.cmt .cmeta button { margin-left:8px; }

/* ===== 学物流的那些年 ===== */
.log-head { width:100%; max-width:860px; margin-top:10px; }
.log-sub { font-size:13px; color:#6a7a92; line-height:1.8; }
.log-stat { display:flex; align-items:center; gap:12px; margin-top:12px; }
.log-progress { flex:1; height:10px; border-radius:6px; background:#ffffff; border:1px solid #c9d8ea; overflow:hidden; }
.log-progress-fill { height:100%; width:0; border-radius:6px; background:linear-gradient(90deg,#3e8fd6,#4aa8ff); transition:width .35s; }
.log-count { font-size:13px; color:var(--blue); white-space:nowrap; font-weight:700; }
.log-reset { background:transparent; border:1px solid #b9cbdf; color:#5d6f88; font-size:12px;
  border-radius:16px; padding:5px 14px; cursor:pointer; transition:.15s; white-space:nowrap; }
.log-reset:hover { border-color:var(--pink); color:var(--pink); }
.log-search { width:100%; margin-top:14px; background:#ffffff; border:1px solid #c9d8ea;
  border-radius:22px; padding:11px 18px; font-size:14px; color:#2e3a4e; outline:none; transition:.2s; }
.log-search:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(58,127,200,.18); }
.log-search::placeholder { color:#8b99ae; }
.log-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.log-tab { background:#ffffff; border:1px solid #c9d8ea; color:#566580; font-size:13px;
  border-radius:20px; padding:6px 14px; cursor:pointer; transition:.15s; white-space:nowrap; }
.log-tab:hover { border-color:#3a7fc8; color:#22304a; }
.log-tab.on { background:linear-gradient(90deg,#ff7a92,#d4244b); border-color:transparent; color:#fff; font-weight:700; }

.log-module { width:100%; max-width:860px; margin-top:28px; }
.lm-head { display:flex; align-items:center; gap:12px; padding-bottom:10px; border-bottom:1px solid rgba(110,145,195,.25); }
.lm-icon { font-size:26px; }
.lm-head h3 { color:#22304a; font-size:19px; }
.lm-desc { font-size:12px; color:#7e8ca2; margin-top:2px; }
.lm-num { margin-left:auto; font-size:12px; color:#8b99ae; white-space:nowrap; }
.log-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; margin-top:14px; }
.log-card { display:flex; flex-direction:column; text-decoration:none; color:inherit; background:#ffffff; border:1px solid #c9d8ea; border-radius:14px; padding:16px 16px 12px;
  transition:border-color .2s, box-shadow .2s, transform .18s; }
.log-card:hover { transform:translateY(-4px); box-shadow:0 8px 22px rgba(50,80,130,.16); border-color:#3a7fc8; }
.log-card.done { border-color:rgba(58,127,200,.45); background:linear-gradient(180deg,#eaf4ff,#f7fbff); }
.lc-top { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.lc-term { color:#22304a; font-size:16px; font-weight:700; }
.lc-tag { font-size:11px; border-radius:10px; padding:2px 8px; font-weight:700; }
.lc-tag.hot { background:rgba(212,36,75,.18); color:#ff7a92; border:1px solid rgba(212,36,75,.4); }
.lc-tag.must { background:rgba(201,146,30,.12); color:#9a6d10; border:1px solid rgba(201,146,30,.35); }
.lc-tag.good { background:rgba(58,127,200,.1); color:#2c6fb0; border:1px solid rgba(58,127,200,.3); }
.lc-tag.know { background:rgba(58,127,200,.08); color:#5d6f88; border:1px solid rgba(110,145,195,.3); }
.lc-def { font-size:13px; line-height:1.85; color:#3c4a60; margin-top:10px; }
.lc-formula { margin-top:10px; background:#ffffff; border:1px dashed #3a5a7a; border-radius:10px;
  padding:10px 12px; text-align:center; font-family:Consolas,"Courier New",monospace;
  font-size:14px; color:#2c6fb0; letter-spacing:.5px; }
.lc-points { list-style:none; margin-top:10px; }
.lc-points li { font-size:12.5px; line-height:1.75; color:#5d6f88; padding-left:14px; position:relative; margin-top:5px; }
.lc-points li::before { content:"◆"; position:absolute; left:0; color:var(--pink); font-size:9px; top:4px; }
.lc-learn { margin-top:auto; align-self:flex-end; background:transparent; border:1px solid #b9cbdf;
  color:#5d6f88; font-size:12px; border-radius:16px; padding:5px 14px; cursor:pointer; transition:.15s; }
.lc-learn:hover { border-color:var(--blue); color:var(--blue); }
.lc-learn.on { background:linear-gradient(90deg,#ff7a92,#d4244b); border-color:transparent; color:#fff; font-weight:700; }
.lc-marks { display:flex; align-items:center; gap:8px; margin-top:10px; flex-wrap:wrap; }
.lc-mark { font-size:11px; color:#5d6f88; background:rgba(58,127,200,.08); border:1px solid rgba(110,145,195,.3); border-radius:10px; padding:2px 8px; }
.lc-mark.demo { color:#c9921e; border-color:rgba(201,146,30,.28); }
.lc-go { margin-left:auto; font-size:12px; color:var(--blue); }
.log-card:hover .lc-go { text-decoration:underline; }
.log-empty { width:100%; max-width:860px; text-align:center; color:#8b99ae; font-size:14px; padding:40px 0; }
.log-foot { width:100%; max-width:860px; text-align:center; font-size:12px; color:#8b99ae; margin-top:34px; }

/* ===== 知识点详情页 ===== */
.ld-wrap { width:100%; max-width:860px; }
.ld-head { background:#ffffff; border:1px solid #c9d8ea; border-radius:16px; padding:22px 24px; }
.ld-tags { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.ld-mod { font-size:12px; color:#2c6fb0; background:rgba(58,127,200,.1); border:1px solid rgba(58,127,200,.3); border-radius:12px; padding:3px 12px; }
.ld-tag { font-size:12px; color:#9a6d10; background:rgba(201,146,30,.12); border:1px solid rgba(201,146,30,.32); border-radius:12px; padding:3px 12px; }
.ld-tag.demo { color:#1b7a4a; border-color:rgba(47,158,95,.35); background:rgba(47,158,95,.1); }
.ld-def { font-size:15px; line-height:1.9; color:#33415c; margin-top:14px; }
.lc-formula.big { font-size:17px; padding:14px; margin-top:14px; }
.ld-actions { display:flex; align-items:center; gap:12px; margin-top:16px; }
.ld-learn { background:transparent; border:1px solid #b9cbdf; color:#5d6f88; font-size:13px; border-radius:20px; padding:8px 20px; cursor:pointer; transition:.15s; }
.ld-learn:hover { border-color:var(--blue); color:var(--blue); }
.ld-learn.on { background:linear-gradient(90deg,#ff7a92,#d4244b); border-color:transparent; color:#fff; font-weight:700; }
.ld-learn-hint { font-size:12px; color:#8b99ae; }
.ld-points { background:#f2f7fc; border:1px solid #c9d8ea; border-radius:14px; padding:16px 20px; margin-top:16px; }
.ld-points h4, .ld-tips h4, .ld-demo h4, .ld-sec h4 { color:#22304a; font-size:15px; margin-bottom:8px; }
.ld-points ul, .ld-tips ul { list-style:none; }
.ld-points li { font-size:13.5px; line-height:1.8; color:#3c4a60; padding-left:16px; position:relative; margin-top:5px; }
.ld-points li::before { content:"⚡"; position:absolute; left:0; font-size:10px; top:3px; }
.ld-intro { font-size:14.5px; line-height:2; color:#33415c; margin-top:22px; padding:14px 18px; border-left:3px solid var(--blue); background:rgba(58,127,200,.07); border-radius:0 12px 12px 0; }
.ld-sec { margin-top:20px; }
.ld-sec h4 { color:var(--blue); }
.ld-sec h4::before { content:"▸ "; }
.ld-sec p { font-size:14px; line-height:2; color:#3c4a60; margin-top:6px; }
.ld-tips { background:rgba(201,146,30,.08); border:1px solid rgba(201,146,30,.3); border-radius:14px; padding:16px 20px; margin-top:22px; }
.ld-tips li { font-size:13.5px; line-height:1.85; color:#6b5424; padding-left:16px; position:relative; margin-top:5px; }
.ld-tips li::before { content:"📌"; position:absolute; left:0; font-size:10px; top:3px; }
.ld-demo { margin-top:26px; }
.demo-box { background:#ffffff; border:1px solid #c9d8ea; border-radius:16px; padding:18px; margin-top:10px; }
.demo-cap { font-size:13px; color:#6a7a92; line-height:1.7; margin-bottom:14px; }
.demo-panel { display:flex; gap:18px; flex-wrap:wrap; }
.demo-panel.v { flex-direction:column; gap:10px; max-width:340px; }
.demo-panel label { font-size:12.5px; color:#5d6f88; display:flex; align-items:center; gap:8px; flex:1; min-width:200px; }
.demo-panel.v label { justify-content:space-between; }
.demo-panel input[type=range] { flex:1; accent-color:#3e8fd6; min-width:90px; }
.demo-panel .dv { color:var(--blue); font-weight:700; font-family:Consolas,monospace; min-width:44px; text-align:right; }
.demo-panel input[type=number], .demo-panel select { background:#ffffff; border:1px solid #b9cbdf; border-radius:8px; color:#2e3a4e; padding:6px 10px; font-size:13px; width:90px; }
.demo-row { display:flex; gap:10px; margin-top:8px; }
.demo-input { flex:1; background:#ffffff; border:1px solid #b9cbdf; border-radius:10px; color:#2e3a4e; padding:9px 14px; font-size:14px; font-family:Consolas,monospace; letter-spacing:1px; outline:none; }
.demo-input:focus { border-color:var(--blue); }
.demo-readout { font-size:13.5px; line-height:1.9; color:#3c4a60; background:#ffffff; border-radius:10px; padding:12px 16px; margin-top:14px; }
.demo-readout b.hl { color:#c9921e; }
.demo-readout .dim { color:#7e8ca2; font-size:12.5px; margin-top:4px; }
.demo-note { font-size:12.5px; color:#5d6f88; line-height:1.8; margin-top:8px; }
.demo-ctrl { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:14px; }
.demo-btn { background:#e9f0f9; border:1px solid #b9cbdf; color:#2e3a4e; font-size:13px; border-radius:20px; padding:8px 18px; cursor:pointer; transition:.15s; }
.demo-btn:hover { background:#3a7fc8; border-color:#3a7fc8; color:#fff; }
.demo-btn.ghost { background:transparent; color:#5d6f88; }
.demo-btn.ghost:hover { background:#e9f0f9; color:#22304a; }
.demo-btn.mini { font-size:12px; padding:6px 12px; border-radius:14px; }
.demo-btn.mini.on { background:linear-gradient(90deg,#ff7a92,#d4244b); border-color:transparent; color:#fff; font-weight:700; }
.demo-slider { font-size:12.5px; color:#5d6f88; display:flex; align-items:center; gap:8px; }
.demo-slider input { accent-color:#3e8fd6; }
.demo-svg { background:#f2f6fb; border-radius:12px; padding:10px; margin-top:14px; }
.demo-ice { background:#f2f6fb; border-radius:12px; padding:10px; margin-top:14px; max-width:420px; }
.demo-ice text { pointer-events:none; }
.demo-err { color:#ff7a92; font-size:13px; }
.ld-related { width:100%; max-width:860px; margin-top:30px; }
.ld-related h4 { color:#22304a; font-size:15px; margin-bottom:10px; }
.ld-rel-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px; }
.ld-rel-card { display:flex; justify-content:space-between; align-items:center; background:#ffffff; border:1px solid #c9d8ea; border-radius:10px; padding:11px 14px; text-decoration:none; transition:.15s; }
.ld-rel-card:hover { border-color:#3a7fc8; transform:translateY(-2px); }
.ld-rel-name { color:#3c4a60; font-size:13px; }
.ld-rel-demo { font-size:13px; }
.ld-missing { text-align:center; padding:60px 0; color:#5d6f88; font-size:15px; }
.ld-missing .demo-btn { margin-top:16px; display:inline-block; text-decoration:none; }

/* ===== 一些碎碎念（视频墙） ===== */
.mo-sub { max-width:860px; margin:2px auto 16px; width:100%; text-align:center;
  color:#5d6f88; font-size:13px; }
.mo-grid { max-width:860px; margin:0 auto; width:100%;
  display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; }
.mo-card { display:block; text-decoration:none; color:inherit; background:#ffffff;
  border:1px solid #c9d8ea; border-radius:14px; overflow:hidden; cursor:pointer;
  transition:transform .18s,box-shadow .18s; }
.mo-card:hover { transform:translateY(-4px); box-shadow:0 8px 22px rgba(50,80,130,.16); border-color:#3a7fc8; }
.mo-thumb { position:relative; aspect-ratio:16/9; background:#e8f0f9; overflow:hidden; }
.mo-cover { width:100%; height:100%; object-fit:cover; display:block; }
.mo-cover-ph { display:flex; align-items:center; justify-content:center; }
.mo-cover-ph span { font-size:38px; opacity:.85; filter:drop-shadow(0 2px 6px rgba(50,80,130,.16)); }
.mo-play { position:absolute; inset:0; margin:auto; width:46px; height:46px; border-radius:50%;
  background:rgba(13,19,25,.72); border:1.5px solid rgba(255,255,255,.85); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:17px; padding-left:3px;
  opacity:0; transition:opacity .18s,transform .18s; transform:scale(.85); }
.mo-card:hover .mo-play { opacity:1; transform:scale(1); }
.mo-dur { position:absolute; right:8px; bottom:8px; background:rgba(13,19,25,.82); color:#f2f6fb;
  font-size:11.5px; padding:2px 7px; border-radius:5px; letter-spacing:.5px; }
.mo-info { padding:10px 12px 12px; }
.mo-title { font-size:14px; color:#2e3a4e; line-height:1.45;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mo-meta { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:7px; }
.mo-date { font-size:12px; color:#8b99ae; }
.mo-tag { font-size:11px; color:#3e8fd6; background:rgba(58,127,200,.14);
  border:1px solid rgba(58,127,200,.35); border-radius:20px; padding:1px 9px; }
.mo-empty { text-align:center; padding:70px 20px; color:#5d6f88; font-size:15px; }
.mo-empty p { margin:6px 0; }
.mo-empty .dim { color:#8b99ae; font-size:13px; }

/* ===== 碎碎念播放页 ===== */
.mo-detail { max-width:760px; margin:14px auto 0; width:100%; }
.mo-player { width:100%; aspect-ratio:16/9; background:#000; border-radius:14px;
  border:1px solid #c9d8ea; display:block; }
.mo-embed { position:relative; width:100%; aspect-ratio:16/9; border-radius:14px;
  overflow:hidden; border:1px solid #c9d8ea; background:#000; }
.mo-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.mo-player-err { padding:44px 20px; text-align:center; color:#ff7a92; font-size:14px;
  background:#ffffff; border:1px dashed #b9cbdf; border-radius:14px; }
.mo-detail-info { margin-top:16px; }
.mo-detail-title { color:#22304a; font-size:19px; line-height:1.5; }
.mo-detail-meta { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:10px 0 12px;
  color:#8b99ae; font-size:12.5px; }
.mo-detail-desc { color:#3c4a60; font-size:14px; line-height:1.9; white-space:pre-wrap; }
.mo-related { max-width:860px; margin:34px auto 0; width:100%; }
.mo-related h4 { color:#22304a; font-size:15px; margin-bottom:10px; }
.mo-rel-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:10px; }
.mo-rel-card { display:flex; align-items:center; gap:10px; background:#ffffff;
  border:1px solid #c9d8ea; border-radius:10px; padding:8px 10px; text-decoration:none; transition:.15s; }
.mo-rel-card:hover { border-color:#3a7fc8; transform:translateY(-2px); }
.mo-rel-thumb { flex:none; width:64px; height:36px; border-radius:6px; overflow:hidden; background:#e8f0f9; }
.mo-rel-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.mo-rel-ph { display:flex; align-items:center; justify-content:center; width:100%; height:100%; font-size:16px; }
.mo-rel-name { color:#3c4a60; font-size:12.5px; line-height:1.4;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mo-missing { text-align:center; padding:60px 0; color:#5d6f88; font-size:15px; }
.mo-missing .demo-btn { margin-top:16px; display:inline-block; text-decoration:none; }

/* ===== 圣诞装饰层（全站自动注入） ===== */
#xmasDecor { pointer-events:none; }
/* 顶部彩灯串：一条微微下垂的灯绳 + 四色灯泡逐个闪烁 */
.xmas-garland { position:fixed; top:0; left:0; right:0; height:16px; z-index:10001;
  display:flex; justify-content:space-around; align-items:flex-start;
  padding:0 2% 0; overflow:hidden; }
.xmas-garland::before { content:''; position:absolute; top:0; left:0; right:0; height:7px;
  background:linear-gradient(180deg,#2f7d4f,#1f5e39);
  border-radius:0 0 50% 50% / 0 0 100% 100%;
  box-shadow:0 1px 2px rgba(31,94,57,.35); }
.xmas-bulb { position:relative; top:5px; width:7px; height:9px; border-radius:0 0 6px 6px;
  background:currentColor; box-shadow:0 0 7px 2px currentColor;
  animation:xmasBlink 1.6s ease-in-out infinite; }
.xmas-bulb::before { content:''; position:absolute; top:-4px; left:2px; width:3px; height:5px;
  background:#275c3c; border-radius:2px; }
.xmas-bulb.r { color:#ef3b4f; } .xmas-bulb.g { color:#37c46b; }
.xmas-bulb.y { color:#ffca3a; } .xmas-bulb.b { color:#4aa8ff; }
@keyframes xmasBlink { 0%,100%{opacity:1; filter:brightness(1.1);} 50%{opacity:.32; filter:brightness(.7);} }
/* 节日祝福语：首页品牌下方，红绿金渐变 */
.xmas-greeting { position:relative; z-index:1; margin-top:14px; font-size:15px; font-weight:700;
  letter-spacing:2px; background:linear-gradient(90deg,#1f8a4c,#d4244b 55%,#c9921e);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:xmasGlow 2.8s ease-in-out infinite; }
@keyframes xmasGlow { 0%,100%{opacity:.85;} 50%{opacity:1; filter:drop-shadow(0 0 6px rgba(212,36,75,.25));} }
/* 品牌圣诞帽 */
.xmas-hat { position:absolute; top:-20px; right:-6px; width:58px; height:28px;
  transform:rotate(12deg); pointer-events:none; }
.brand, .load-brand { position:relative; display:inline-block; }
.xmas-hat-body { position:absolute; left:8px; top:0; width:38px; height:19px;
  background:linear-gradient(135deg,#f04a5e,#c8102e); border-radius:48% 52% 20% 22% / 90% 88% 30% 30%;
  transform:skewX(-12deg); box-shadow:inset -4px -3px 6px rgba(0,0,0,.12); }
.xmas-hat-brim { position:absolute; left:3px; top:17px; width:50px; height:8px;
  background:#fff; border-radius:50%; box-shadow:0 1px 3px rgba(0,0,0,.12); }
.xmas-hat-pom { position:absolute; right:0; top:-3px; width:13px; height:13px;
  background:radial-gradient(circle at 35% 30%,#fff,#e6edf5); border-radius:50%;
  box-shadow:0 1px 3px rgba(0,0,0,.15); }
/* 右下角小圣诞树（可点击） */
.xmas-tree { position:fixed; right:16px; bottom:16px; z-index:9000; width:62px; height:78px;
  border:none; background:none; padding:0; cursor:pointer; pointer-events:auto;
  filter:drop-shadow(0 4px 6px rgba(31,94,57,.28)); transition:transform .2s; }
.xmas-tree:hover { transform:translateY(-3px) scale(1.05); }
.xt-tier { position:absolute; left:50%; transform:translateX(-50%);
  width:0; height:0; border-left:solid transparent; border-right:solid transparent;
  border-bottom:solid #248a52; filter:drop-shadow(0 1px 0 rgba(255,255,255,.2)); }
.xt-t1 { top:12px; border-left-width:22px; border-right-width:22px; border-bottom-width:30px; }
.xt-t2 { top:28px; border-left-width:28px; border-right-width:28px; border-bottom-width:30px; border-bottom-color:#1f7a48; }
.xt-t3 { top:45px; border-left-width:34px; border-right-width:34px; border-bottom-width:28px; border-bottom-color:#1a6b3e; }
.xt-trunk { position:absolute; left:50%; bottom:2px; transform:translateX(-50%);
  width:9px; height:12px; background:#8a5a34; border-radius:2px; }
.xt-star { position:absolute; top:-2px; left:50%; transform:translateX(-50%);
  font-size:19px; color:#ffca3a; text-shadow:0 0 8px #ffca3a; animation:xtTwinkle 1.8s ease-in-out infinite; }
@keyframes xtTwinkle { 0%,100%{opacity:1; transform:translateX(-50%) scale(1);} 50%{opacity:.55; transform:translateX(-50%) scale(.8);} }
.xt-bauble { position:absolute; width:6px; height:6px; border-radius:50%; box-shadow:0 0 5px currentColor; }
.xt-b1 { top:30px; left:22px; color:#ef3b4f; background:currentColor; }
.xt-b2 { top:44px; right:20px; color:#ffca3a; background:currentColor; }
.xt-b3 { top:56px; left:24px; color:#4aa8ff; background:currentColor; }
.xmas-tree.xt-shake { animation:xtShake .5s ease-in-out; }
@keyframes xtShake { 0%,100%{transform:rotate(0);} 25%{transform:rotate(-9deg);} 75%{transform:rotate(9deg);} }
@media(max-width:600px){
  .xmas-garland .xmas-bulb:nth-child(n+19) { display:none; }
  .xmas-tree { right:10px; bottom:10px; transform:scale(.8); transform-origin:bottom right; }
  .xmas-greeting { font-size:13px; letter-spacing:1px; }
  .xmas-hat { transform:rotate(12deg) scale(.85); transform-origin:top right; top:-16px; right:-2px; }
}

/* ===== 页脚 ===== */
.site-foot { position:relative; z-index:1; text-align:center; font-size:12px;
  color:#8b99ae; padding:18px 10px 22px; }

@media(max-width:480px){
  .brand { font-size:44px; letter-spacing:3px; }
  .nav-bar { gap:2px; padding:6px 6px; }
  .nav-bar a { font-size:12px; padding:5px 9px; }
  .anime-grid { grid-template-columns:repeat(auto-fill,minmax(118px,1fr)); }
  .ad-cover { width:140px; }
  .mo-grid { grid-template-columns:1fr; }
  .mo-rel-grid { grid-template-columns:1fr; }
  .mem-grid { gap:7px; }
}

/* ===== 404 页：效果发动被无效 ===== */
.nfx { justify-content:center; min-height:calc(100vh - 52px); }
.nfx-card { position:relative; width:250px; height:352px; border-radius:16px;
  background:linear-gradient(160deg,#dbe8f6,#eef4fb); border:2px solid #9dbfe4;
  box-shadow:0 18px 50px rgba(0,0,0,.55); display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; padding:22px;
  animation:nfxReveal .6s cubic-bezier(.2,.7,.3,1.3) both, nfxShake .4s .55s ease-in-out; }
@keyframes nfxReveal {
  0% { transform:scale(.6) rotate(-12deg); opacity:0; }
  100% { transform:scale(1) rotate(0); opacity:1; }
}
@keyframes nfxShake {
  0%,100% { transform:translate(0,0) rotate(0); }
  25% { transform:translate(-6px,2px) rotate(-1.5deg); }
  50% { transform:translate(5px,-2px) rotate(1.5deg); }
  75% { transform:translate(-3px,1px) rotate(-.8deg); }
}
.nfx-eye { font-size:52px; line-height:1; filter:drop-shadow(0 0 16px rgba(212,36,75,.4)); }
.nfx-title { margin-top:14px; font-size:15px; font-weight:800; letter-spacing:3px;
  background:linear-gradient(90deg,#ffb6c4,#3e8fd6); -webkit-background-clip:text;
  background-clip:text; color:transparent; }
.nfx-effect { margin-top:8px; font-size:11px; color:#5d6f88; line-height:1.7; }
.nfx-stamp { position:absolute; top:50%; left:50%; width:120px; height:120px;
  transform:translate(-50%,-50%) rotate(-18deg) scale(2.6); opacity:0;
  border:4px solid #d4244b; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:44px; font-weight:900; letter-spacing:6px; color:#d4244b;
  text-shadow:0 0 14px rgba(212,36,75,.6); box-shadow:0 0 24px rgba(212,36,75,.35),
    inset 0 0 18px rgba(212,36,75,.25);
  animation:nfxStamp .45s .7s cubic-bezier(.2,.8,.3,1.4) forwards; }
@keyframes nfxStamp {
  0% { transform:translate(-50%,-50%) rotate(-18deg) scale(2.6); opacity:0; }
  70% { transform:translate(-50%,-50%) rotate(-18deg) scale(.92); opacity:1; }
  100% { transform:translate(-50%,-50%) rotate(-18deg) scale(1); opacity:.96; }
}
.nfx-msg { margin-top:30px; text-align:center; font-size:17px; font-weight:700; letter-spacing:2px;
  color:#22304a; animation:nfxUp .5s 1s both; }
.nfx-msg small { display:block; margin-top:8px; font-size:12px; font-weight:400; letter-spacing:1px; color:#8b99ae; }
@keyframes nfxUp { from{opacity:0; transform:translateY(12px)} to{opacity:1; transform:translateY(0)} }
.nfx-btns { margin-top:26px; display:flex; gap:14px; flex-wrap:wrap; justify-content:center;
  animation:nfxUp .5s 1.2s both; }

/* ===== 404 页：效果发动被无效 ===== */
.e404-wrap { width:100%; max-width:560px; margin-top:8px; text-align:center; }
.e404-card { position:relative; background:#ffffff; border:1px solid #c9d8ea;
  border-radius:18px; padding:56px 26px 36px; overflow:hidden;
  box-shadow:0 18px 50px rgba(50,80,130,.2); }
.e404-card::before { content:''; position:absolute; inset:0;
  background:radial-gradient(60% 45% at 50% 0%, rgba(212,36,75,.14), transparent 70%);
  pointer-events:none; }
.e404-code { font-size:78px; font-weight:800; letter-spacing:8px; line-height:1;
  background:linear-gradient(90deg,#ffb6c4,#3e8fd6); -webkit-background-clip:text;
  background-clip:text; color:transparent; }
.e404-head { font-size:19px; color:#22304a; font-weight:700; margin-top:14px; letter-spacing:2px; }
.e404-sub { font-size:14px; color:#6a7a92; line-height:1.9; margin-top:14px; }
.e404-sub b { color:var(--blue); font-weight:600; }
.e404-chain { display:inline-block; margin-top:16px; font-size:12px; color:#ff7a92;
  background:#fbe9ee; border:1px solid #f3d7df; border-radius:20px; padding:4px 14px; letter-spacing:1px; }
.e404-stamp { position:absolute; top:24px; right:14px; transform:rotate(-14deg);
  color:#d4244b; border:3px double #d4244b; border-radius:8px;
  padding:3px 12px; font-size:15px; font-weight:800; letter-spacing:4px;
  text-shadow:0 0 12px rgba(212,36,75,.5); box-shadow:inset 0 0 14px rgba(212,36,75,.22);
  animation:stampIn .5s cubic-bezier(.2,1.6,.4,1) both, stampWobble 3.4s ease-in-out .6s infinite; }
@keyframes stampIn { 0% { transform:rotate(-14deg) scale(2.6); opacity:0; }
  60% { opacity:1; } 100% { transform:rotate(-14deg) scale(1); opacity:.92; } }
@keyframes stampWobble { 0%,100% { transform:rotate(-14deg); } 50% { transform:rotate(-10.5deg); } }
.e404-btns { margin-top:26px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
@media(max-width:480px){
  .e404-code { font-size:56px; letter-spacing:5px; }
  .e404-head { font-size:16px; }
  .e404-stamp { font-size:13px; top:18px; right:8px; }
}

/* ===== 加载页（入口过场） ===== */
.load-page { justify-content:center; text-align:center; }
.load-brand { font-size:56px; font-weight:800; letter-spacing:6px;
  background:linear-gradient(90deg,#ffb6c4,#3e8fd6); -webkit-background-clip:text;
  background-clip:text; color:transparent; text-shadow:0 4px 30px rgba(62,143,214,.22); }
.load-domain { font-size:14px; color:#6a7a92; margin-top:6px; letter-spacing:3px; }
.load-main { font-size:17px; color:#3c4a60; margin-top:34px; letter-spacing:2px; }
.load-main .dots::after { content:'…'; animation:dots 1.2s steps(4,end) infinite; }
@keyframes dots { 0%{content:''} 25%{content:'.'} 50%{content:'..'} 75%{content:'…'} 100%{content:'…'} }
.load-bar { width:240px; max-width:70vw; height:6px; margin:22px auto 0;
  background:#ffffff; border:1px solid #c9d8ea; border-radius:99px; overflow:hidden; }
.load-bar i { display:block; height:100%; width:38%; border-radius:99px;
  background:linear-gradient(90deg,#3e8fd6,#ff7a92);
  animation:loadSlide 1.15s ease-in-out infinite; }
@keyframes loadSlide { 0% { transform:translateX(-110%); } 100% { transform:translateX(290%); } }
.load-flavor { font-size:13px; color:#5d6f88; margin-top:16px; min-height:20px;
  transition:opacity .3s; letter-spacing:1px; }
.load-skip { font-size:12px; color:#8b99ae; margin-top:22px; letter-spacing:1px; }
.load-skip a { color:var(--blue); text-decoration:none; border-bottom:1px dashed #3e8fd6; }
.load-skip a:hover { color:#22304a; }
@media(max-width:480px){
  .load-brand { font-size:42px; letter-spacing:3px; }
  .load-main { font-size:15px; }
}
