/* =========================================================
   云起 YunQi — 中国法定节假日 API 前台主题
   风格基准：Puock 式设计语言（小圆角 + 主色实心 + 毛玻璃吸顶导航）
   命名前缀：yq-（与 default / neon 主题互不兼容、互不影响）
   ========================================================= */

/* ---------- 1. 字体 ---------- */
@font-face { font-family: 'yq-icon'; src: url('/themes/yunqi/static/font/iconfont.woff2') format('woff2'), url('/themes/yunqi/static/font/iconfont.woff') format('woff'), url('/themes/yunqi/static/font/iconfont.ttf') format('truetype'); font-display: swap; }
.layui-icon { font-family: 'yq-icon' !important; font-style: normal; -webkit-font-smoothing: antialiased; }
.layui-icon-down:before { content: "\e61a"; }
.layui-icon-up:before { content: "\e619"; }
.layui-icon-user:before { content: "\e770"; }
.layui-icon-logout:before { content: "\e682"; }
.layui-icon-diamond:before { content: "\e735"; }
.layui-icon-time:before { content: "\e68d"; }
.layui-icon-reply-full:before { content: "\ea19"; }
.layui-icon-prev:before { content: "\e65a"; }
.layui-icon-next:before { content: "\e65b"; }
.layui-icon-windows:before { content: "\e67f"; }
.layui-icon-ios:before { content: "\e680"; }
.layui-icon-android:before { content: "\e684"; }
.layui-icon-vercode:before { content: "\e679"; }
.layui-icon-website:before { content: "\e7ae"; }

/* ---------- 2. 变量（对齐 Puock 色板） ---------- */
:root {
    --yq-primary: #1c60f3;
    --yq-primary-deep: #1352d8;
    --yq-danger: #dc3545;
    --yq-info: #17a2b8;
    --yq-success: #00b74a;
    --yq-warning: #fc651f;
    --yq-secondary: #6c757d;
    --yq-grad: linear-gradient(135deg, #1c60f3, #7b3ff2);
    --yq-grad-soft: linear-gradient(135deg, rgba(28,96,243,.08), transparent 58%);
    --yq-bg: #f3f5f7;
    --yq-bg-grey: #f8f8f9;
    --yq-card: #ffffff;
    --yq-card-2: #f8f8f9;
    --yq-text1: #343a40;
    --yq-text2: #808695;
    --yq-text3: #a5abb8;
    --yq-line: #f3f3f3;
    --yq-line-strong: #e9ecef;
    --yq-radius: 5px;
    --yq-radius-sm: 4px;
    --yq-radius-lg: 10px;
    --yq-shadow: 2px 2px 5px rgb(176 176 176 / 11%);
    --yq-shadow-sw: 0 0 22px -7px rgb(149 148 147 / 44%);
    --yq-shadow-hover: 0 8px 18px rgb(0 0 0 / 12%);
    --yq-shadow-pop: 0 2px 8px rgb(0 0 0 / 15%);
    --yq-topbar-h: 65px;
    --yq-header-bg: rgba(255, 255, 255, 0.15);
    --yq-code-bg: #1a1d20;
    --yq-code-text: #dee2e6;
    --yq-code-bar: #23272b;
}
html[data-mode="dark"] {
    --yq-bg: #212529;
    --yq-bg-grey: #212529;
    --yq-card: #343a40;
    --yq-card-2: #2b3035;
    --yq-text1: #dee2e6;
    --yq-text2: rgba(222, 226, 230, .75);
    --yq-text3: rgba(222, 226, 230, .45);
    --yq-line: #495057;
    --yq-line-strong: #495057;
    --yq-shadow: 0 4px 10px rgb(0 0 0 / 24%);
    --yq-shadow-sw: 0 0 22px -7px rgb(0 0 0 / 55%);
    --yq-shadow-hover: 0 8px 18px rgb(0 0 0 / 40%);
    --yq-header-bg: rgba(34, 34, 34, 0.15);
    --yq-grad-soft: linear-gradient(135deg, rgba(28,96,243,.16), transparent 58%);
}

/* ---------- 3. 基础 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-size: 14px; font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif; background: var(--yq-bg); color: var(--yq-text1); line-height: 1.75; padding-top: var(--yq-topbar-h); transition: background .3s, color .3s; min-height: 100vh; display: flex; flex-direction: column; }
body > .yq-foot { margin-top: auto; }
body.yq-has-microbar { padding-top: calc(var(--yq-topbar-h) + 42px); }
a { color: var(--yq-primary); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { opacity: .8; }
img { max-width: 100%; }
h1, h2, h3, h4, h5 { line-height: 1.5; font-weight: 600; color: var(--yq-text1); }
::selection { background: rgba(28, 96, 243, .25); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-thumb { background: rgba(75, 75, 75, .5); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(75, 75, 75, .75); }
::-webkit-scrollbar-track { background: transparent; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* 阅读进度条 */
.yq-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--yq-primary); z-index: 1001; transition: width .1s linear; }

/* ---------- 4. 顶部导航（Puock 式毛玻璃 + 底部滑条） ---------- */
.yq-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--yq-header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .3s, background .3s; }
.yq-topbar-raised { box-shadow: 0 2px 10px rgb(0 0 0 / 8%); background-color: var(--yq-header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
/* 关闭毛玻璃：完全不透明纯色背景 */
.yq-topbar-solid { background: var(--yq-card) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.yq-topbar-inner { max-width: 1240px; margin: 0 auto; height: var(--yq-topbar-h); padding: 0 15px; display: flex; align-items: center; }
.yq-brand { position: relative; display: flex; align-items: center; flex-shrink: 0; overflow: hidden; }
.yq-brand img { height: 66px; width: auto; }
.yq-brand::after { content: ""; position: absolute; top: -50%; left: -70px; width: 30px; height: 200%; background: linear-gradient(115deg, transparent, rgba(255,255,255,.7), transparent); transform: rotate(-45deg); animation: yq-shine 4s ease-in-out infinite; pointer-events: none; }
/* 关闭扫光 */
html[data-shine="0"] .yq-brand::after { display: none; }
@keyframes yq-shine { 0% { left: -70px; } 60%, 100% { left: 120%; } }
.yq-brand-dark { display: none; }
html[data-mode="dark"] .yq-brand-dark { display: block; }
html[data-mode="dark"] .yq-brand-light { display: none; }
.yq-nav { display: flex; align-items: center; flex: 1; min-width: 0; justify-content: flex-end; }
.yq-nav-link { position: relative; display: inline-block; padding: 0 .5rem; line-height: var(--yq-topbar-h); color: var(--yq-text1); font-size: 16px; transition: color .2s; }
.yq-nav-link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; border-radius: 2px; background: var(--yq-primary); transform: translateX(-50%); transition: width .25s; }
.yq-nav-link:hover { color: var(--yq-primary); opacity: 1; }
.yq-nav-link:hover::after, .yq-nav-link.active::after { width: calc(100% - 1rem); }
.yq-nav-link.active { color: var(--yq-primary); }
.yq-topbar-acts { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 12px; }
.yq-mode-btn { width: 34px; height: 34px; border-radius: var(--yq-radius); border: 1px solid var(--yq-line-strong); background: transparent; color: var(--yq-text2); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.yq-mode-btn:hover { color: var(--yq-primary); border-color: var(--yq-primary); }
.yq-ico-moon { display: none; }
html[data-mode="dark"] .yq-ico-moon { display: block; }
html[data-mode="dark"] .yq-ico-sun { display: none; }
.yq-burger { display: none; width: 34px; height: 34px; border: 1px solid var(--yq-line-strong); border-radius: var(--yq-radius); background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.yq-burger span { width: 16px; height: 2px; border-radius: 2px; background: var(--yq-text2); transition: all .25s; }
.yq-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.yq-burger.open span:nth-child(2) { opacity: 0; }
.yq-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 用户区（Puock 式下拉：radius 6px / shadow 0 0 10px） */
.yq-me { position: relative; margin-left: 6px; }
.yq-me-trigger { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: none; border-radius: 999px; background: var(--yq-bg-grey); transition: all .2s; }
.yq-me-trigger:hover { background: var(--yq-line-strong); }
.yq-me-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.yq-me-name { font-size: 13px; color: var(--yq-text1); max-width: 5em; overflow: hidden; white-space: nowrap; }
.yq-me-caret { color: var(--yq-text3); transition: transform .2s; }
.yq-me.open .yq-me-caret { transform: rotate(180deg); }
.yq-me-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; background: var(--yq-card); border-radius: 6px; box-shadow: 0 0 10px rgb(0 0 0 / 10%); padding: 5px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s; z-index: 1001; }
.yq-me.open .yq-me-panel { opacity: 1; visibility: visible; transform: none; }
.yq-me-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: none; background: none; border-radius: 5px; font-size: 13px; color: var(--yq-text1); text-align: left; }
.yq-me-row:hover { background: var(--yq-primary); color: #fff; opacity: 1; }
.yq-me-out { color: var(--yq-danger); }
.yq-me-out:hover { color: #fff; }

/* 公告条（Puock 式：主色圆形喇叭 + 竖向轮播） */
.yq-microbar { position: fixed; top: var(--yq-topbar-h); left: 0; right: 0; z-index: 999; display: none; align-items: center; gap: 12px; height: 42px; padding: 0 max(15px, calc((100% - 1240px) / 2)); background: var(--yq-card); border-bottom: 1px solid var(--yq-line); box-shadow: var(--yq-shadow); }
.yq-microbar.show { display: flex; }
.yq-microbar-tag { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--yq-primary); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.yq-microbar-track { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: var(--yq-text2); }

/* ---------- 5. 按钮（Puock：radius 5px / hover opacity .8） ---------- */
.yq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 18px; border-radius: var(--yq-radius); border: 1px solid transparent; font-size: 14px; transition: all .3s; line-height: 1.5; }
.yq-btn-solid { color: #fff; background: var(--yq-primary); }
.yq-btn-solid:hover { opacity: .8; color: #fff; }
.yq-btn-ghost { color: var(--yq-secondary); background: transparent; border-color: var(--yq-secondary); }
.yq-btn-ghost:hover { color: #fff; background: var(--yq-secondary); border-color: var(--yq-secondary); opacity: 1; }
.yq-btn-sm { padding: .2rem .8rem; font-size: 13px; }
.yq-btn-disabled { opacity: .55; cursor: not-allowed; }
.yq-chip { display: inline-block; font-size: 11px; color: var(--yq-text2); background: var(--yq-bg-grey); border-radius: 2px; padding: 1px 8px; }

/* ---------- 6. 首页 Hero（Puock 式：大 banner + 右侧侧栏卡） ---------- */
.yq-hero { padding: 30px 0 5px; }
.yq-hero-grid { max-width: 1240px; margin: 0 auto; padding: 0 15px; display: grid; grid-template-columns: 8fr 4fr; gap: 15px; align-items: stretch; }
.yq-hero-banner { position: relative; border-radius: var(--yq-radius); overflow: hidden; box-shadow: var(--yq-shadow); background: var(--yq-card); }
.yq-hero-banner .swiper, .yq-hero-banner .swiper-wrapper, .yq-hero-banner .swiper-slide { height: 100%; }
.yq-hero-banner .swiper-slide { height: 360px; }
.yq-shot { position: relative; height: 100%; }
.yq-shot-media { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yq-shot-media[type="video"], .yq-shot-media video, video.yq-shot-media { object-fit: contain; background: #000; }
.yq-shot-cap { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 3px 16px; border-radius: 3px; background: rgb(0 0 0 / 20%); color: #fff; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px); }
.yq-shot-name { font-size: 14px; font-weight: 600; display: inline; }
.yq-shot-sub { font-size: 12px; opacity: .85; display: inline; margin-left: 8px; }
/* 轮播点点：显示在文字描述上方，间隙 5px（首页原为紧贴重叠，+5px）；灰色圆点、当前页主色，白图上也清晰 */
.yq-hero-banner .swiper .swiper-pagination { bottom: 39px; }
.yq-sub-shots .yq-shot-cap { white-space: normal; text-align: center; height: 66px; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; box-sizing: border-box; }
.yq-sub-shots .yq-shot-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yq-sub-shots .swiper .swiper-pagination { bottom: 119px; }
.yq-hero-banner .swiper-pagination-bullet, .yq-sub-shots .swiper-pagination-bullet { background: rgb(108 117 125 / .65); opacity: 1; transition: all .2s; }
.yq-hero-banner .swiper-pagination-bullet-active, .yq-sub-shots .swiper-pagination-bullet-active { background: var(--yq-primary); width: 16px; border-radius: 3px; }
.yq-hero-banner .swiper-button-next, .yq-hero-banner .swiper-button-prev { opacity: 0; transition: opacity .2s; color: #fff; }
.yq-hero-banner:hover .swiper-button-next, .yq-hero-banner:hover .swiper-button-prev { opacity: .8; }
.yq-hero-banner .swiper-button-next::after, .yq-hero-banner .swiper-button-prev::after { background: rgb(0 0 0 / 9%); }
.yq-hero-side { display: flex; flex-direction: column; gap: 15px; }
.yq-welcome { flex: 1; background: var(--yq-card); border-radius: var(--yq-radius); padding: 24px; box-shadow: var(--yq-shadow); background-image: var(--yq-grad-soft); display: flex; flex-direction: column; justify-content: center; }
.yq-welcome h1 { font-size: 24px; font-weight: 700; position: relative; padding-bottom: 10px; margin-bottom: 12px; }
.yq-welcome h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; border-radius: 5px; background: var(--yq-primary); }
.yq-welcome p { color: var(--yq-text2); font-size: 13px; margin-bottom: 18px; }
.yq-hero-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.yq-meter { display: flex; align-items: baseline; gap: 12px; background: var(--yq-card); border-radius: var(--yq-radius); padding: 14px 20px; box-shadow: var(--yq-shadow); }
.yq-hero-count { font-size: 26px; font-weight: 700; color: var(--yq-primary); font-variant-numeric: tabular-nums; }
.yq-meter-label { font-size: 12px; color: var(--yq-text2); display: flex; flex-direction: column; gap: 3px; }
.yq-scroll-hint { display: none; }

/* ---------- 7. 区块通用（Puock：区块标题 36px×2px 主色短线） ---------- */
.yq-sec { padding: 30px 0 10px; }
.yq-tint { background: transparent; }
.yq-shell { max-width: 1240px; margin: 0 auto; padding: 30px 15px 0; }
.yq-sec > .yq-shell, .yq-doc-sec > .yq-shell, .yq-hero > .yq-shell { padding-top: 0; }
.yq-sec-h { font-size: 20px; text-align: left; position: relative; padding-bottom: 10px; margin-bottom: 15px; }
.yq-sec-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; border-radius: 5px; background: var(--yq-primary); }
.yq-sec-p { color: var(--yq-text2); margin-bottom: 15px; font-size: 13px; text-align: left; }

/* ---------- 8. 卡片瓷片（Puock：radius 4-5px / hover 上浮） ---------- */
.yq-tileset { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 15px; }
.yq-stat-tile, .yq-trait { background: var(--yq-card); border-radius: var(--yq-radius); padding: 20px; transition: all .3s; position: relative; overflow: hidden; box-shadow: var(--yq-shadow); }
.yq-stat-tile:hover, .yq-trait:hover { transform: translateY(-2px); box-shadow: var(--yq-shadow-hover); }
.yq-stat-tile-h, .yq-trait h3 { font-size: 15px; font-weight: 600; }
.yq-stat-tile-n { font-size: 28px; font-weight: 700; color: var(--yq-primary); margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.yq-stat-tile-l { font-size: 13px; color: var(--yq-text2); }
.yq-stat-tile-u { margin-top: 10px; font-size: 11px; color: var(--yq-text3); }
.yq-trait p { margin-top: 6px; font-size: 13px; color: var(--yq-text2); }
.yq-trait { background-image: var(--yq-grad-soft); }

/* 赞助呼吁卡 */
.yq-appeal { display: flex; gap: 18px; background: var(--yq-card); border-radius: var(--yq-radius); padding: 20px; box-shadow: var(--yq-shadow); max-width: 1240px; margin: 0 auto; }
.yq-appeal-badge { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--yq-radius); background: var(--yq-grad-soft); border: 1px solid var(--yq-line); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.yq-appeal-text { flex: 1; min-width: 0; font-size: 13px; color: var(--yq-text2); }
.yq-appeal-text ul, .yq-appeal-text li { margin: 3px 0; }
.yq-appeal-acts { margin-top: 14px; }

/* 代码示例（Puock：工具条 #1a1d20 / MAC 点 / radius 4-5px） */
.yq-codeframe { background: var(--yq-code-bg); border-radius: var(--yq-radius); overflow: hidden; box-shadow: var(--yq-shadow-sw); }
.yq-codeframe-bar { display: flex; gap: 7px; padding: 8px 12px; background: var(--yq-code-bar); }
.yq-codeframe-bar i { width: 11px; height: 11px; border-radius: 50%; }
.yq-codeframe-bar i:nth-child(1) { background: #fc625d; }
.yq-codeframe-bar i:nth-child(2) { background: #fdbc40; }
.yq-codeframe-bar i:nth-child(3) { background: #35cd4b; }
.yq-codeframe pre { padding: 12px 16px; overflow-x: auto; color: var(--yq-code-text); font-family: Consolas, Monaco, "Courier New", monospace; font-size: 13px; line-height: 1.75; tab-size: 4; word-break: break-all; }

/* ---------- 9. 文档页 ---------- */
.yq-doc-sec { padding: 30px 0; }
.yq-site-main { padding-top: 30px; }
.yq-page-full { min-height: calc(100vh - 220px); }
.yq-page-padtop { padding-top: 30px; }
.yq-note { background: var(--yq-card); border-radius: var(--yq-radius); padding: 15px 20px; margin-bottom: 15px; box-shadow: var(--yq-shadow); position: relative; }
.yq-note h2 { font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; position: relative; padding-bottom: 8px; border-bottom: 1px solid var(--yq-line); }
.yq-note h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 2px; border-radius: 5px; background: var(--yq-primary); }
.yq-h-accent { color: var(--yq-primary); }
.yq-note ul { padding-left: 20px; color: var(--yq-text2); font-size: 13px; }
.yq-note li { margin: 4px 0; }
.yq-note code { background: var(--yq-bg); border-radius: var(--yq-radius-sm); padding: 0 6px; font-family: Consolas, Monaco, monospace; font-size: 13px; color: var(--yq-primary); box-shadow: 0 1px 1px rgb(0 0 0 / 12.5%); }
.yq-note-sponsor { max-width: 1240px; }
.yq-note-sponsor p { color: var(--yq-text2); font-size: 13px; margin-bottom: 15px; }
.yq-doc-api { margin-bottom: 15px; }
.yq-api-block { background: var(--yq-card); border-radius: var(--yq-radius); padding: 15px 20px; box-shadow: var(--yq-shadow); }
.yq-api-h { font-size: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--yq-line); margin-bottom: 12px; position: relative; }
.yq-api-h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 2px; border-radius: 5px; background: var(--yq-primary); }
.yq-api-block ul { padding-left: 20px; color: var(--yq-text2); font-size: 13px; }
.yq-api-block pre { background: var(--yq-code-bg); color: var(--yq-code-text); border-radius: var(--yq-radius); padding: 10px 14px; overflow-x: auto; margin: 10px 0; font-size: 13px; font-family: Consolas, Monaco, monospace; line-height: 1.75; word-break: break-all; }
.yq-api-block code { background: var(--yq-bg); border-radius: var(--yq-radius-sm); padding: 0 6px; font-family: Consolas, Monaco, monospace; font-size: 13px; color: var(--yq-primary); box-shadow: 0 1px 1px rgb(0 0 0 / 12.5%); word-break: break-all; }
.yq-api-block pre code { background: none; box-shadow: none; padding: 0; color: inherit; }
.yq-api-block table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
.yq-api-block table th, .yq-api-block table td { border: 1px solid var(--yq-line-strong); padding: 8px 12px; text-align: left; }
.yq-api-block table th { background: var(--yq-bg-grey); }

/* 表格 */
.yq-tablewrap { overflow-x: auto; }
.yq-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--yq-card); border-radius: var(--yq-radius); overflow: hidden; box-shadow: var(--yq-shadow); font-size: 13px; }
.yq-table th { background: var(--yq-bg-grey); color: var(--yq-text1); font-weight: 600; padding: 10px 14px; text-align: left; white-space: nowrap; }
.yq-table td { padding: 10px 14px; border-top: 1px solid var(--yq-line); color: var(--yq-text2); }
.yq-table tbody tr { transition: background .15s; }
.yq-table tbody tr:hover { background: var(--yq-bg-grey); }
.yq-history-link { margin-top: 10px; text-align: center; }
.yq-history-link a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; border: 1px solid var(--yq-secondary); border-radius: var(--yq-radius); background: transparent; color: var(--yq-secondary); font-size: 14px; transition: all .3s; }
.yq-history-link a:hover { color: #fff; background: var(--yq-secondary); border-color: var(--yq-secondary); opacity: 1; }

/* 面包屑 */
.yq-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--yq-text3); margin-bottom: 15px; }
.yq-crumb a { color: var(--yq-text2); }
.yq-crumb a:hover { color: var(--yq-primary); opacity: 1; }

/* ---------- 10. 工单 ---------- */
/* 服务端渲染的工单节点（类名由后端固定，样式归主题管） */
.yq-ticket-list .ticket-item { background: var(--yq-card); border-radius: var(--yq-radius); padding: 15px; margin-bottom: 15px; box-shadow: var(--yq-shadow); transition: box-shadow .2s; }
.yq-ticket-list .ticket-item:hover { box-shadow: var(--yq-shadow-hover); }
.yq-ticket-list .ticket-item-all { display: flex; flex-direction: column; gap: 8px; }
.yq-ticket-list .ticket-header-wrapper { display: flex; align-items: center; gap: 12px; }
.yq-ticket-list .ticket-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.yq-ticket-list .ticket-meta-wrapper { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yq-ticket-list .ticket-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.yq-ticket-list .ticket-name { font-weight: 600; font-size: 14px; color: var(--yq-text1); }
.yq-ticket-list .ticket-type { font-size: 12px; color: var(--yq-primary); background: rgba(28, 96, 243, .1); border-radius: 2px; padding: 2px 8px; display: inline-flex; align-items: center; gap: 3px; }
.yq-ticket-list .ticket-type-admin { color: #fff; background: var(--yq-warning); }
.yq-ticket-list .ticket-type-pending { color: var(--yq-secondary); background: var(--yq-bg-grey); }
.yq-ticket-list .ticket-time { font-size: 12px; color: var(--yq-text3); display: flex; align-items: center; gap: 10px; }
.yq-ticket-list .ticket-content { font-size: 14px; color: var(--yq-text1); word-break: break-word; padding-left: 52px; white-space: pre-wrap; }
.yq-ticket-list .ticket-comment-os { padding-left: 52px; font-size: 12px; color: var(--yq-text3); display: flex; gap: 14px; align-items: center; }
.yq-ticket-list .ticket-10 { display: inline-flex; align-items: center; }
.yq-ticket-list .ticket-children .ticket-item { background: var(--yq-card-2); }
.yq-ticket-list .ticket-comment-os .layui-btn { margin-left: auto; }
/* layui 兜底按钮（服务端分页 / 回复按钮使用） */
.layui-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; font-size: 12px; border-radius: 2px; border: none; background: var(--yq-bg-grey); color: var(--yq-text2); transition: all .3s; }
.layui-btn:hover { background: var(--yq-primary); color: #fff; opacity: 1; }
.layui-btn-disabled { opacity: .55; background: var(--yq-bg-grey); color: var(--yq-text3); }
.yq-ticket-pager { margin-top: 20px; }
.yq-ticket-pager a, .yq-ticket-pager span { margin: 0 3px; }
.yq-ticket-pager .layui-btn { min-width: 30px; justify-content: center; }

/* 工单表单 */
.yq-ticket-form { margin-bottom: 8px; }
/* 表单在顶部（发布新工单）时隐藏取消按钮；回复模式下由 JS 移动表单并显示 */
.yq-ticket-form .yq-ticket-form-cancel { display: none; }
.yq-ticket-box .yq-ticket-textwrap { position: relative; }
.yq-ticket-textarea { width: 100%; min-height: 120px; resize: vertical; border: 1px solid var(--yq-bg-grey); border-radius: 2px; background: var(--yq-bg-grey); color: var(--yq-text1); padding: 12px 14px; font-size: 14px; outline: none; transition: border-color .2s; }
.yq-ticket-textarea:focus { border-color: var(--yq-primary); }
.yq-ticket-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.yq-ticket-input, .yq-ticket-select { padding: 8px 12px; border: 1px solid var(--yq-bg-grey); border-radius: 2px; background: var(--yq-bg-grey); color: var(--yq-text1); font-size: 13px; outline: none; transition: border-color .2s; }
.yq-ticket-input:focus, .yq-ticket-select:focus { border-color: var(--yq-primary); }
.yq-ticket-who { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; background: var(--yq-bg-grey); border-radius: 999px; }
.yq-ticket-who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.yq-ticket-who-name { font-size: 13px; font-weight: 600; }
.yq-ticket-who-mail { font-size: 12px; color: var(--yq-text3); }
.yq-ticket-send { margin-left: auto; }
.yq-divider { height: 1px; margin: 20px 0; background: var(--yq-line); }

/* ---------- 11. 订阅 ---------- */
/* 订阅页：订阅配置 55%、服务说明 40%（字面百分比，剩余为列间距） */
.yq-sub-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.yq-sub-grid > .yq-sub-card { width: 55%; flex-shrink: 0; }
.yq-sub-grid > .yq-sub-shots { width: 40%; flex-shrink: 0; }
.yq-field { margin-bottom: 14px; }
.yq-field label { display: block; font-size: 13px; font-weight: 600; color: var(--yq-text2); margin-bottom: 6px; }
.yq-field input, .yq-field select { width: 100%; padding: 10px 12px; border: 1px solid var(--yq-bg-grey); border-radius: 2px; background: var(--yq-bg-grey); color: var(--yq-text1); font-size: 14px; outline: none; transition: border-color .2s; }
.yq-field input:focus, .yq-field select:focus { border-color: var(--yq-primary); }
.yq-sub-acts { display: flex; gap: 10px; margin-top: 18px; }
.yq-callout { background: var(--yq-grad-soft); border: 1px solid rgba(28, 96, 243, .25); border-radius: var(--yq-radius); padding: 10px 14px; font-size: 13px; color: var(--yq-text1); }
.yq-sub-card h3 { font-size: 15px; margin: 12px 0 8px; position: relative; padding-bottom: 6px; }
.yq-sub-card h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; border-radius: 5px; background: var(--yq-primary); }
.yq-sub-card ul { padding-left: 18px; color: var(--yq-text2); font-size: 13px; }
.yq-sub-shots { margin-top: 14px; border-radius: var(--yq-radius); overflow: hidden; box-shadow: var(--yq-shadow); }
.yq-sub-shots .swiper { padding-bottom: 36px; }
.yq-sub-shots .yq-shot-media { height: 260px; object-fit: contain; background: var(--yq-card); }

/* 邮箱验证码弹窗 */
#yq-mailcheck { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .53); backdrop-filter: blur(2px); }
.yq-mailcheck { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(92vw, 380px); background: var(--yq-card); border-radius: var(--yq-radius-lg); box-shadow: var(--yq-shadow-pop); padding: 24px 24px 18px; animation: yq-pop-in .22s ease; }
@keyframes yq-pop-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.yq-mailcheck-x { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: none; border-radius: var(--yq-radius-sm); background: var(--yq-bg-grey); color: var(--yq-text2); font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.yq-mailcheck-x:hover { color: var(--yq-danger); }
.yq-mailcheck-t { font-size: 16px; font-weight: 700; text-align: center; }
.yq-mailcheck-status { text-align: center; font-size: 13px; color: var(--yq-text2); margin: 10px 0; min-height: 20px; }
.yq-mailcheck-mail { color: var(--yq-primary); font-weight: 600; }
.yq-mailcheck-input { width: 100%; padding: 11px 12px; border: 1px solid var(--yq-bg-grey); border-radius: 2px; background: var(--yq-bg-grey); color: var(--yq-text1); font-size: 15px; letter-spacing: 3px; text-align: center; outline: none; transition: border-color .2s; }
.yq-mailcheck-input:focus { border-color: var(--yq-primary); }
.yq-mailcheck-acts { display: flex; gap: 10px; margin-top: 14px; }
.yq-mailcheck-acts .yq-btn { flex: 1; }
.yq-mailcheck-resend-row { text-align: center; margin-top: 10px; }
.yq-mailcheck-resend { background: none; border: none; color: var(--yq-primary); font-size: 13px; }
.yq-mailcheck-resend:disabled { color: var(--yq-text3); cursor: not-allowed; }
.yq-mailcheck-tip { text-align: center; font-size: 11px; color: var(--yq-text3); margin-top: 8px; }

/* ---------- 12. 取消订阅查询 ---------- */
.yq-unfinder { max-width: 640px; margin: 0 auto; }
.yq-unfinder-p { color: var(--yq-text2); font-size: 13px; margin-bottom: 15px; }
.yq-unfinder-label { display: block; font-size: 13px; font-weight: 600; color: var(--yq-text2); margin-bottom: 6px; }
.yq-unfinder-input { width: 100%; padding: 10px 12px; border: 1px solid var(--yq-bg-grey); border-radius: 2px; background: var(--yq-bg-grey); color: var(--yq-text1); font-size: 14px; outline: none; transition: border-color .2s; }
.yq-unfinder-input:focus { border-color: var(--yq-primary); }
.yq-unfinder-acts { margin-top: 14px; }
.yq-unfinder-result { display: none; max-width: 640px; margin: 0 auto; }
.yq-unfinder-found-url { background: var(--yq-bg-grey); border-radius: var(--yq-radius); padding: 10px 14px; font-size: 13px; color: var(--yq-text2); word-break: break-all; margin-bottom: 12px; }

/* 取消订阅结果 */
.yq-unsub-card { max-width: 640px; margin: 40px auto; text-align: center; }

/* ---------- 13. 产品 ---------- */
.yq-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.yq-cat { padding: 5px 14px; border-radius: 2px; background: var(--yq-bg-grey); color: var(--yq-text2); font-size: 13px; transition: all .3s; }
.yq-cat:hover { color: var(--yq-primary); opacity: 1; background: var(--yq-bg-grey); }
.yq-cat.on { color: #fff; background: var(--yq-primary); }
.yq-goods { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.yq-good { display: block; background: var(--yq-card); border-radius: var(--yq-radius); overflow: hidden; transition: all .3s; color: var(--yq-text1); box-shadow: var(--yq-shadow); }
.yq-good:hover { transform: translateY(-2px); box-shadow: var(--yq-shadow-hover); opacity: 1; color: var(--yq-text1); }
.yq-good-media { position: relative; height: 190px; background: var(--yq-bg-grey); overflow: hidden; }
.yq-good-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yq-good-free { position: absolute; top: 6px; left: 6px; z-index: 2; font-size: 12px; color: #fff; background: var(--yq-warning); border-radius: 2px; padding: 2px 8px; opacity: .8; transition: opacity .2s; }
.yq-good:hover .yq-good-free { opacity: 1; }
.yq-good-slides { position: relative; width: 100%; height: 100%; }
.yq-good-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.yq-good:hover .yq-good-slide.on { transform: scale(1.08); }
.yq-good-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.yq-good-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); transition: all .2s; }
.yq-good-dot.on { background: #fff; width: 14px; border-radius: 2px; }
.yq-good-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--yq-text3); font-size: 13px; }
.yq-good-body { padding: 12px 15px 15px; }
.yq-good-name { font-size: 15px; font-weight: 600; color: var(--yq-text1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yq-good-cat { font-size: 12px; color: var(--yq-text3); margin: 3px 0 8px; }
.yq-good-price { font-size: 16px; font-weight: 700; color: var(--yq-warning); }
.yq-good-cta { margin-top: 10px; }
.yq-good-cta span { display: inline-block; width: 100%; text-align: center; padding: 6px 0; border-radius: var(--yq-radius); background: var(--yq-bg-grey); font-size: 13px; color: var(--yq-text2); transition: all .3s; }
.yq-good:hover .yq-good-cta span { background: var(--yq-primary); color: #fff; }
.yq-goods-none { text-align: center; padding: 60px 20px; color: var(--yq-text2); }
.yq-goods-none p:first-child { font-size: 40px; margin-bottom: 12px; }
.yq-goods-none p:last-child { font-size: 15px; }

/* 商品详情 */
.yq-good-detail { display: grid; grid-template-columns: 6fr 5fr; gap: 20px; background: var(--yq-card); border-radius: var(--yq-radius); padding: 15px; box-shadow: var(--yq-shadow); }
.yq-good-detail-stage { border-radius: var(--yq-radius); overflow: hidden; background: var(--yq-bg-grey); }
.yq-good-detail-stage img { width: 100%; height: 420px; object-fit: cover; display: block; }
.yq-good-detail-stage-empty { display: flex; align-items: center; justify-content: center; min-height: 420px; color: var(--yq-text2); }
.yq-good-detail-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.yq-good-detail-thumb { flex-shrink: 0; width: 70px; height: 70px; border-radius: var(--yq-radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color .2s; }
.yq-good-detail-thumb.on { border-color: var(--yq-primary); }
.yq-good-detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yq-good-detail-name { font-size: 20px; }
.yq-good-detail-meta { margin: 8px 0 14px; }
.yq-good-detail-cat { font-size: 12px; color: var(--yq-primary); background: rgba(28, 96, 243, .1); border-radius: 2px; padding: 3px 10px; }
.yq-good-detail-price { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; background: var(--yq-bg-grey); border-radius: var(--yq-radius); }
.yq-good-detail-price-label { font-size: 13px; color: var(--yq-text2); }
.yq-good-detail-price-value { font-size: 24px; font-weight: 700; color: var(--yq-warning); }
.yq-good-detail-buy { margin-top: 16px; }
.yq-wxqr { position: relative; display: inline-block; }
.yq-wxqr-mask { display: none; position: fixed; inset: 0; z-index: 1500; background: rgba(0,0,0,.85); }
.yq-wxqr-mask.show { display: block; }
.yq-wxqr-pop { display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); z-index: 1501; background: transparent; text-align: center; }
.yq-wxqr-pop.show { display: block; }
.yq-wxqr-pop-arrow { position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 14px; height: 14px; background: var(--yq-card); }
.yq-wxqr-pop-img { display: block; width: 240px; height: 240px; object-fit: contain; background: #fff; border-radius: var(--yq-radius-sm); }
.yq-wxqr-pop-text { margin-top: 10px; color: #fff; font-size: 13px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.yq-good-detail-desc { margin-top: 15px; background: var(--yq-card); border-radius: var(--yq-radius); padding: 15px 20px; box-shadow: var(--yq-shadow); }
.yq-good-detail-desc-h { font-size: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--yq-line); margin-bottom: 12px; position: relative; }
.yq-good-detail-desc-h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 2px; border-radius: 5px; background: var(--yq-primary); }
.yq-good-detail-desc-body { font-size: 14px; color: var(--yq-text2); }
.yq-good-detail-desc-body img { border-radius: var(--yq-radius-sm); margin: 10px 0; cursor: zoom-in; max-width: 100%; }
.yq-good-related { margin-top: 20px; }

/* 图片查看器 */
.yq-imgviewer { display: none; position: fixed; inset: 0; z-index: 3000; }
.yq-imgviewer.show { display: block; }
.yq-imgviewer-mask { position: absolute; inset: 0; background: rgba(0,0,0,.88); }
.yq-imgviewer-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: grab; }
.yq-imgviewer-stage.grabbing { cursor: grabbing; }
.yq-imgviewer-img { max-width: calc(100vw - 80px); max-height: calc(100vh - 120px); transition: transform .15s; user-select: none; }
.yq-imgviewer-tools { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; background: rgba(26, 29, 32, .92); border-radius: var(--yq-radius-lg); padding: 8px 14px; }
.yq-imgviewer-btn { width: 30px; height: 30px; border: none; border-radius: var(--yq-radius-sm); background: rgba(255,255,255,.12); color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.yq-imgviewer-btn:hover { background: rgba(255,255,255,.25); }
.yq-imgviewer-btn:disabled { opacity: .35; cursor: not-allowed; }
.yq-imgviewer-scale { color: #fff; font-size: 12px; min-width: 44px; text-align: center; }
.yq-imgviewer-counter { color: rgba(255,255,255,.7); font-size: 12px; min-width: 36px; text-align: center; }
.yq-imgviewer-x { background: var(--yq-danger); }

/* ---------- 14. 赞助面板（弹层 + about 页共用） ---------- */
.yq-give { background: var(--yq-bg-grey); border-radius: var(--yq-radius); padding: 15px; }
.yq-give-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.yq-give-tab { padding: 5px 14px; border-radius: 2px; border: none; background: var(--yq-card); color: var(--yq-text2); font-size: 13px; transition: all .3s; box-shadow: var(--yq-shadow); }
.yq-give-tab.on { color: #fff; background: var(--yq-primary); }
.yq-give-amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.yq-give-amt { padding: 5px 14px; border-radius: 2px; border: 1px solid var(--yq-line-strong); background: var(--yq-card); color: var(--yq-text1); font-size: 13px; transition: all .3s; }
.yq-give-amt.on { color: #fff; background: var(--yq-primary); border-color: var(--yq-primary); }
.yq-give-figure { text-align: center; }
.yq-give-qr { width: 220px; height: 220px; object-fit: contain; border-radius: var(--yq-radius-sm); background: #fff; padding: 8px; }
.yq-give-note { margin-top: 8px; font-size: 14px; color: var(--yq-text2); display: flex; justify-content: center; gap: 10px; align-items: baseline; }
.yq-give-money { color: var(--yq-warning); font-size: 15px; }
.yq-give-desc { margin-top: 4px; font-size: 12px; color: var(--yq-text3); }
.yq-give-empty { text-align: center; }
.yq-offline { text-align: center; padding: 24px 10px; }
.yq-offline-dot { font-size: 32px; }
.yq-offline-t { font-weight: 600; margin-top: 8px; }
.yq-offline-d { font-size: 13px; color: var(--yq-text2); margin-top: 4px; }

/* ---------- 15. 悬浮工具 / 弹层 / 提示 ---------- */
.yq-floatkit { position: fixed; right: 18px; bottom: 96px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.yq-fab { width: 40px; height: 40px; border-radius: var(--yq-radius); border: none; background: var(--yq-card); color: var(--yq-text2); display: flex; align-items: center; justify-content: center; box-shadow: var(--yq-shadow); transition: all .3s; }
.yq-fab:hover { color: #fff; background: var(--yq-primary); transform: none; opacity: 1; }
.yq-jump { position: fixed; right: 18px; z-index: 900; width: 40px; height: 40px; border-radius: var(--yq-radius); border: none; background: var(--yq-card); color: var(--yq-text2); display: flex; align-items: center; justify-content: center; box-shadow: var(--yq-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; }
.yq-jump.show { opacity: 1; visibility: visible; transform: none; }
.yq-jump:hover { color: var(--yq-primary); }
/* 竖向一列：floatkit(96~286) → 去底(296~336) → 回顶(346~386) → 目录球(396~436) */
.yq-jump-top { bottom: 346px; }
.yq-jump-bottom { bottom: 296px; }

.yq-veil { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .53); backdrop-filter: blur(2px); }
.yq-veil-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(92vw, 560px); max-height: 86vh; overflow: auto; background: var(--yq-card); border-radius: var(--yq-radius-lg); box-shadow: var(--yq-shadow-pop); padding: 24px; animation: yq-pop-in .22s ease; }
.yq-veil-title { font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.yq-veil-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: none; border-radius: var(--yq-radius-sm); background: var(--yq-bg-grey); color: var(--yq-text2); display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 2; }
.yq-veil-close:hover { color: var(--yq-danger); }
.yq-photo-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.yq-photo-stage img { max-width: calc(100vw - 60px); max-height: calc(100vh - 60px); cursor: zoom-out; border-radius: var(--yq-radius); }
.yq-photo-close { top: 18px; right: 18px; background: rgba(255,255,255,.15); color: #fff; }

/* Toast（Puock 8 色系） */
.yq-toast-box { position: fixed; right: 20px; bottom: 24px; z-index: 4000; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.yq-toast-item { padding: 10px 16px; border-radius: var(--yq-radius); background: var(--yq-secondary); color: #fff; font-size: 13px; box-shadow: var(--yq-shadow-pop); opacity: 0; transform: translateX(20px); transition: all .3s; max-width: 320px; }
.yq-toast-item.show { opacity: 1; transform: none; }
.yq-toast-item.fade-out { opacity: 0; transform: translateY(8px); }
.yq-toast-success { background: var(--yq-success); }
.yq-toast-error { background: var(--yq-danger); }
.yq-toast-warning { background: var(--yq-warning); }
.yq-toast-info { background: var(--yq-primary); }

/* 悬浮提示气泡（data-tips） */
.yq-tipshow { position: fixed; z-index: 5000; background: #212529; color: #fff; font-size: 12px; padding: 5px 10px; border-radius: var(--yq-radius-sm); pointer-events: none; white-space: nowrap; box-shadow: var(--yq-shadow-pop); }
.yq-tipshow::after { content: ""; position: absolute; width: 0; height: 0; border: 5px solid transparent; }
.yq-tipshow[data-dir="1"]::after { bottom: -10px; left: 50%; transform: translateX(-50%); border-top-color: #212529; }
.yq-tipshow[data-dir="2"]::after { left: -10px; top: 50%; transform: translateY(-50%); border-right-color: #212529; }
.yq-tipshow[data-dir="3"]::after { top: -10px; left: 50%; transform: translateX(-50%); border-bottom-color: #212529; }
.yq-tipshow[data-dir="4"]::after { right: -10px; top: 50%; transform: translateY(-50%); border-left-color: #212529; }

/* ---------- 16. 自动目录（Puock 式悬浮球：面板 radius 10 10 0 10） ---------- */
.yq-toc-ball { position: fixed; right: 18px; bottom: 396px; z-index: 899; display: none; flex-direction: column; align-items: flex-end; }
.yq-toc-toggle { width: 40px; height: 40px; border: none; border-radius: var(--yq-radius); background: var(--yq-primary); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; box-shadow: var(--yq-shadow); transition: all .2s; }
.yq-toc-toggle:hover { opacity: .8; }
.yq-toc { position: relative; width: 260px; max-height: 400px; overflow: auto; background: var(--yq-card); border-radius: 10px 10px 0 10px; box-shadow: var(--yq-shadow-pop); padding: 12px; margin-bottom: 10px; opacity: 0; visibility: hidden; transform: translateX(-20px) scale(.9); transform-origin: bottom right; transition: all .25s; }
.yq-toc.open { opacity: 1; visibility: visible; transform: none; }
.yq-toc-title { font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--yq-text1); position: sticky; top: -12px; background: var(--yq-card); padding-bottom: 6px; z-index: 1; }
.yq-toc-list { list-style: none; }
.yq-toc-list li { margin: 1px 0; }
.yq-toc-list a { display: block; font-size: 12px; color: var(--yq-text2); padding: 4px 5px; border-radius: var(--yq-radius-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all .15s; }
.yq-toc-list a:hover { color: var(--yq-primary); opacity: 1; background: var(--yq-bg-grey); padding-left: 8px; }
.yq-toc-list li.active > a { color: var(--yq-primary); background: var(--yq-bg-grey); font-weight: 600; padding-left: 8px; }
.yq-toc-l2 { padding-left: 0; }
.yq-toc-l3 { padding-left: 12px; }
.yq-toc-l4 { padding-left: 24px; }
.yq-toc-l5 { padding-left: 36px; }
@media (min-width: 1200px) { .yq-toc-ball { display: flex; } }

/* ---------- 16b. 页脚（吸底 + 版权居中） ---------- */
.yq-foot { margin-top: auto; padding: 28px 15px 32px; }
.yq-foot-line { max-width: 1240px; margin: 0 auto 14px; height: 1px; background: var(--yq-line); }
.yq-foot-text { text-align: center; font-size: 12px; color: var(--yq-text3); }

/* ---------- 16c. 全局 Loading 遮罩（分享/点赞/提交 等异步操作通用） ---------- */
.yq-loading { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .2s; }
.yq-loading.show { opacity: 1; visibility: visible; }
.yq-loading-spin { width: 50px; height: 50px; }
.yq-loading-text { margin-top: 14px; font-size: 14px; color: #fff; }

/* ---------- 17. 响应式（Puock 断点体系） ---------- */
@media (max-width: 1024px) {
    .yq-hero-grid { grid-template-columns: 1fr; }
    .yq-hero-banner .swiper-slide { height: 280px; }
    .yq-sub-grid { flex-direction: column; }
    .yq-sub-grid > .yq-sub-card, .yq-sub-grid > .yq-sub-shots { width: 100%; }
    .yq-good-detail { grid-template-columns: 1fr; }
    .yq-toc-ball { display: none !important; }
}
@media (max-width: 860px) {
    .yq-burger { display: flex; }
    /* 抽屉后顶栏按钮靠右（nav 脱离文档流，需自行推到右侧） */
    .yq-topbar-acts { margin-left: auto; }
    /* Puock 式右侧抽屉 */
    .yq-nav { position: fixed; top: 0; right: -300px; width: 300px; max-width: 80vw; height: 100vh; flex-direction: column; align-items: stretch; background: var(--yq-card); padding: 70px 15px 20px; display: block; overflow-y: auto; transition: right .3s; box-shadow: -2px 0 10px rgba(0,0,0,.1); z-index: 1002; }
    .yq-nav.open { right: 0; }
    .yq-nav-link { padding: 0; line-height: 46px; display: block; border-bottom: 1px solid var(--yq-line); }
    .yq-nav-link::after { display: none; }
    .yq-me-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; }
    .yq-me { width: 100%; margin: 10px 0 0; }
    .yq-me-trigger { width: 100%; justify-content: flex-start; }
    .yq-veil-bg { display: none; }
    body.yq-nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.53); backdrop-filter: blur(2px); z-index: 1001; }
    /* topbar 自身是 z-index:1000 的层叠上下文，其内的抽屉(1002)无法盖过 body 层的遮罩(1001)，需整体抬升 */
    body.yq-nav-open .yq-topbar { z-index: 1002; }
    .yq-topbar-acts { position: relative; z-index: 1003; }
    /* 手机端隐藏右侧悬浮工具组与回顶/去底按钮（长接口地址易撑破页面，且这些功能手机上不适用） */
    .yq-floatkit, .yq-jump, .yq-toc-ball { display: none !important; }
    .yq-hero-banner .swiper-slide { height: 230px; }
    .yq-sec { padding: 20px 0 5px; }
    .yq-shot-media { height: 100%; }
    .yq-sub-shots .yq-shot-media { height: 200px; }
    .yq-ticket-list .ticket-content, .yq-ticket-list .ticket-comment-os { padding-left: 0; }
    .yq-floatkit { right: 12px; bottom: 90px; }
    .yq-fab, .yq-jump { width: 36px; height: 36px; }
    .yq-jump { right: 12px; }
    .yq-jump-top { bottom: 320px; }
    .yq-jump-bottom { bottom: 274px; }
    .yq-mobile-only { display: none; }
}
@media (max-width: 600px) {
    .yq-hero-banner .swiper-slide { height: 180px; }
    .yq-welcome h1 { font-size: 20px; }
    .yq-meter { padding: 12px 16px; }
    .yq-hero-count { font-size: 22px; }
}
@media (max-width: 560px) {
    .yq-shell { padding: 0 12px; }
    .yq-topbar-inner { padding: 0 12px; }
    .yq-note { padding: 12px 14px; }
    .yq-good-detail { padding: 12px; }
    .yq-good-detail-stage img { height: 240px; }
    .yq-ticket-row .yq-ticket-send { margin-left: 0; }
}
