/* ===== 全局 ===== */
:root {
    --primary: #ff6b81;
    --primary2: #ff8e53;
    --grad: linear-gradient(135deg, #ff6b81, #ff8e53);
    --bg: #fff7f8;
    --card: #ffffff;
    --text: #3a3a46;
    --muted: #9a9aa8;
    --border: #f0e3e6;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(255, 107, 129, 0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; }
code { background: #fdeef0; color: #d6336c; padding: 2px 6px; border-radius: 6px; font-size: 13px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.main { padding-bottom: 40px; min-height: calc(100vh - 130px); }

/* ===== 顶栏 ===== */
.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { font-size: 18px; font-weight: 700; color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 7px 13px; border-radius: 10px; color: var(--muted); font-size: 14px;
    transition: all .2s;
}
.nav-link:hover { color: var(--primary); background: #fff0f2; }
.nav-link.active { color: #fff; background: var(--grad); font-weight: 600; }
.nav-link.logout { color: #c0392b; }
.nav-link.logout:hover { background: #fdecea; }

/* ===== 提示消息 ===== */
.notice { padding: 11px 16px; border-radius: 12px; margin: 14px 0; font-size: 14px; }
.notice.success { background: #e8fbf0; color: #0a7d43; border: 1px solid #c5f0d8; }
.notice.error, .notice.err { background: #fdecec; color: #c0392b; border: 1px solid #f7cbcb; }
.notice.ok { background: #e8fbf0; color: #0a7d43; border: 1px solid #c5f0d8; }

/* ===== 首页 Hero ===== */
.hero-card {
    background: var(--grad);
    border-radius: 22px;
    color: #fff;
    padding: 30px 34px;
    margin: 22px 0 8px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 14px 34px rgba(255, 107, 129, .28);
    overflow: hidden;
    position: relative;
}
.hero-card::after {
    content: "♥"; position: absolute; right: -18px; bottom: -46px;
    font-size: 190px; opacity: .10; line-height: 1;
}
.hero-label { font-size: 13px; opacity: .92; letter-spacing: 2px; }
.hero-name { font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.hero-date { font-size: 15px; opacity: .94; }
.hero-today { display: inline-block; margin-top: 10px; background: rgba(255,255,255,.22); padding: 5px 14px; border-radius: 20px; font-weight: 700; font-size: 14px; }
.hero-right { text-align: center; min-width: 130px; }
.hero-num { font-size: 64px; font-weight: 900; line-height: 1; text-shadow: 0 4px 14px rgba(0,0,0,.12); }
.hero-unit { font-size: 14px; opacity: .92; letter-spacing: 2px; margin-top: 2px; }
.hero-card.empty { flex-direction: column; text-align: center; gap: 10px; }
.hero-card.empty .hero-name { font-size: 22px; }

/* ===== 卡片网格 ===== */
.sec-title { font-size: 18px; margin: 26px 0 14px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 14px; }
.sec-head .sec-title { margin: 0; }
.sec-more { font-size: 13px; color: var(--muted); }
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}
.date-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow);
    transition: transform .18s, box-shadow .18s;
}
.date-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(255,107,129,.16); }
.date-card.dim { opacity: .72; }
.date-card.today-card { border-color: #ff6b81; box-shadow: 0 0 0 2px rgba(255,107,129,.25); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.badge { color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.badge.small { font-size: 11px; padding: 2px 8px; }
.days-badge { font-size: 13px; font-weight: 700; color: #ff6b81; background: #fff0f2; padding: 3px 10px; border-radius: 20px; }
.days-badge.today { background: var(--grad); color: #fff; }
.card-name { font-size: 17px; font-weight: 700; }
.card-date { font-size: 13px; color: var(--muted); margin-top: 2px; }
.card-note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.manage-grid .date-card { display: flex; flex-direction: column; }
.manage-grid .card-actions { margin-top: auto; padding-top: 12px; }
.empty-tip { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 34px 0; }

/* ===== 统计条 ===== */
.stat-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px; margin-top: 28px; text-align: center;
}
.stat-item b { display: block; font-size: 24px; color: var(--primary); }
.stat-item span { font-size: 12px; color: var(--muted); }

/* ===== 表单 ===== */
.form-item { margin-bottom: 14px; }
.form-item label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form-item label em { color: var(--primary); font-style: normal; }
.form-item input[type="text"],
.form-item input[type="password"],
.form-item input[type="email"],
.form-item input[type="number"],
.form-item input[type="date"],
.form-item select,
.form-item textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
    font-family: inherit;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 129, .14);
}
.form-item textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check-row { margin-top: 2px; }
.check-label { display: flex !important; align-items: center; gap: 8px; color: var(--text) !important; font-size: 14px !important; cursor: pointer; }
.check-label input { width: 17px; height: 17px; accent-color: var(--primary); }
.check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: #fdf0f2; border-radius: 20px; font-size: 13px; cursor: pointer; border: 1px solid transparent; }
.chip:has(input:checked) { background: #ffe0e5; border-color: #ffb3c0; color: #d6336c; }
.chip input { accent-color: var(--primary); }
.chip input[type="number"] { width: 62px; padding: 3px 6px; border: 1px solid #f0c9d0; border-radius: 8px; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 20px; border: none; border-radius: 12px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all .18s; font-family: inherit; line-height: 1.4;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(255,107,129,.30); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid #ffc4cd; }
.btn-ghost:hover { background: #fff0f2; }
.btn-danger { background: #fff; color: #c0392b; border: 1.5px solid #f3c2bd; }
.btn-danger:hover { background: #fdecea; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 8px; }

/* ===== 登录/安装 ===== */
.page-center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-bg { background: linear-gradient(135deg, #ffdde1 0%, #fff1e6 60%, #ffe8ec 100%); }
.auth-card {
    background: #fff; border-radius: 24px; box-shadow: 0 20px 60px rgba(255,107,129,.22);
    padding: 40px 38px; width: 100%; max-width: 420px; text-align: center;
}
.install-card { max-width: 640px; text-align: left; }
.auth-logo { font-size: 46px; margin-bottom: 6px; }
.auth-card h1 { font-size: 24px; margin-bottom: 4px; }
.auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.install-card h2 { font-size: 15px; color: #d6336c; margin: 20px 0 10px; padding-left: 10px; border-left: 3px solid var(--primary); }
.install-card .form-item { text-align: left; }
.install-card .btn-block { margin-top: 18px; }
.tip { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

.env-list { background: #fdf6f7; border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.env-item { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.env-dot { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; flex-shrink: 0; }
.env-dot.ok { background: #27ae60; }
.env-dot.fail { background: #e74c3c; }
.env-dot.warn { background: #f39c12; }

/* ===== 弹窗 ===== */
.modal-mask {
    position: fixed; inset: 0; background: rgba(50, 30, 40, .45);
    display: flex; align-items: center; justify-content: center; z-index: 100;
    padding: 16px;
}
.modal {
    background: #fff; border-radius: 20px; width: 100%; max-width: 560px;
    max-height: 92vh; overflow-y: auto; padding: 24px 26px;
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-head h3 { font-size: 18px; }
.modal-close { border: none; background: #fdeef0; color: #c0392b; width: 32px; height: 32px; border-radius: 10px; font-size: 20px; cursor: pointer; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

/* ===== 设置页 ===== */
.settings-wrap { max-width: 760px; margin: 0 auto; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-top: 18px; }
.panel h2 { font-size: 16px; margin-bottom: 4px; }
.panel-desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.panel-desc a { color: var(--primary); }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.channel-card {
    border: 1.5px solid var(--border); border-radius: 14px; padding: 16px 12px; text-align: center;
    cursor: pointer; transition: all .2s; position: relative;
}
.channel-card input { position: absolute; opacity: 0; }
.channel-card.on { border-color: var(--primary); background: #fff5f6; box-shadow: 0 0 0 2px rgba(255,107,129,.16); }
.channel-icon { font-size: 28px; }
.channel-name { font-weight: 700; margin-top: 4px; }
.channel-desc { font-size: 12px; color: var(--muted); }
.save-bar { position: sticky; bottom: 16px; text-align: right; margin-top: 18px; }
.cron-box { background: #fdf6f7; border-radius: 12px; padding: 14px 16px; }
.cron-item { margin-bottom: 10px; }
.cron-label { font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.cron-cmd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cron-cmd code { flex: 1; word-break: break-all; background: #fff; border: 1px solid var(--border); }

/* ===== 表格 ===== */
.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.data-table th, .data-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { color: var(--muted); font-weight: 600; background: #fdf8f9; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .msg { color: var(--muted); max-width: 220px; }
.nowrap { white-space: nowrap; }
.status { padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status.ok { background: #e8fbf0; color: #0a7d43; }
.status.fail { background: #fdecec; color: #c0392b; }
.empty-cell { text-align: center; color: var(--muted); padding: 30px !important; }
.filter { display: flex; gap: 6px; }
.chip-link { padding: 6px 14px; border-radius: 20px; font-size: 13px; background: #fff; border: 1px solid var(--border); color: var(--muted); }
.chip-link.on { background: var(--grad); color: #fff; border-color: transparent; }

/* ===== 页脚 ===== */
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 26px 0 30px; }

/* ===== 滚动广告 ===== */
.ad-scroll {
    margin-top: 16px; border-radius: 12px; overflow: hidden;
    background: linear-gradient(135deg, #ff6b81, #ff8e53);
    box-shadow: 0 4px 14px rgba(255, 107, 129, .20);
}
.ad-scroll a { display: block; color: #fff; text-decoration: none; }
.ad-scroll-track {
    display: inline-block; white-space: nowrap; padding: 9px 0;
    animation: adMarquee 28s linear infinite;
    will-change: transform;
}
.ad-scroll:hover .ad-scroll-track { animation-play-state: paused; }
.ad-scroll-text { font-size: 14px; font-weight: 600; letter-spacing: .5px; }
@keyframes adMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.3333%); }
}

/* ===== 弹出广告 ===== */
.ad-popup-mask {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(50, 30, 40, .55);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.ad-popup {
    position: relative; width: 100%; max-width: 420px;
    background: #fff; border-radius: 22px; padding: 34px 28px 30px;
    text-align: center;
    background-image: linear-gradient(180deg, #fff 60%, #fff5f6 100%);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
    animation: adPop 0.3s ease;
}
@keyframes adPop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ad-popup-close {
    position: absolute; top: 12px; right: 12px;
    border: none; background: #fdeef0; color: #c0392b;
    width: 32px; height: 32px; border-radius: 50%; font-size: 18px; cursor: pointer; line-height: 1;
}
.ad-popup-title { font-size: 20px; font-weight: 800; color: #d6336c; margin-bottom: 10px; }
.ad-popup-text { font-size: 14px; color: #6a6a78; line-height: 1.9; margin-bottom: 18px; white-space: pre-wrap; }

/* ===== 设置页：操作提示 & 广告区块 ===== */
.howto { margin-top: 14px; border: 1px dashed #f0c9d0; border-radius: 12px; padding: 0 14px; background: #fffdfd; }
.howto summary { cursor: pointer; font-size: 13px; color: #d6336c; padding: 10px 0; font-weight: 600; }
.howto ul { padding: 0 0 12px 18px; font-size: 13px; color: #6a6a78; line-height: 1.9; }
.ad-block {
    border: 1.5px solid var(--border); border-radius: 14px;
    padding: 14px 16px; margin-bottom: 14px; background: #fffdfd;
}
.ad-block:last-child { margin-bottom: 0; }
.ad-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ad-state { font-size: 12px; padding: 3px 12px; border-radius: 20px; background: #f1f1f4; color: var(--muted); }
.ad-state.on { background: #e8fbf0; color: #0a7d43; }

/* ===== 移动端 ===== */
@media (max-width: 640px) {
    .topbar-inner { height: 52px; }
    .brand { font-size: 16px; }
    .nav-link { padding: 6px 9px; font-size: 13px; }
    .hero-card { padding: 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
    .hero-right { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
    .hero-num { font-size: 42px; }
    .hero-name { font-size: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .stat-bar { grid-template-columns: repeat(2, 1fr); }
    .auth-card { padding: 30px 22px; }
    .modal { padding: 20px 16px; }
    .channel-grid { grid-template-columns: 1fr 1fr; }
    .ad-scroll-text { font-size: 12px; }
}

/* ===== 游客首页 ===== */
.home-hero { text-align: center; padding: 40px 0 28px; }
.home-hero h1 { font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.home-hero p { color: var(--muted); font-size: 15px; }
.home-stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.home-stats span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--text); }
.submit-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin: 18px 0; }
.submit-card h2 { font-size: 20px; margin-bottom: 16px; }
.home-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 30px; }
.hf-item { background: var(--card); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.hf-icon { font-size: 26px; }
.hf-t { font-weight: 600; margin: 6px 0 4px; }
.hf-d { color: var(--muted); font-size: 13px; }

/* ===== 后台管理 ===== */
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.count-badge { background: var(--grad); color: #fff; border-radius: 999px; padding: 1px 10px; font-size: 13px; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-bar select, .filter-bar input[type="text"] { flex: 1; min-width: 140px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { background: #fff1f3; color: #b05368; font-weight: 600; white-space: nowrap; }
.row-disabled td { opacity: .55; }
.cell-title { font-weight: 600; }
.cell-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.cell-text { max-width: 260px; word-break: break-word; color: #555; }
.cell-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.cell-url a { color: var(--primary); font-size: 13px; text-decoration: none; }
.cell-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; background: #fff1f3; color: #c25a72; border-radius: 999px; padding: 1px 9px; font-size: 12px; }
.tag-type { background: #fff3e8; color: #c07a2e; }
.badge { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.badge-on { background: #e6f7ec; color: #1c9a4c; }
.badge-off { background: #f0f0f3; color: #8a8a99; }
.btn-sm { padding: 4px 10px; font-size: 13px; border-radius: 8px; }
.inline-form { display: inline; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pager-link { display: inline-block; min-width: 32px; padding: 4px 8px; text-align: center; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); text-decoration: none; }
.pager-link.active { background: var(--grad); color: #fff; border-color: transparent; }
.media-preview { margin-top: 8px; }
.media-img { max-width: 100%; max-height: 320px; border-radius: 12px; display: block; }
.media-video { width: 100%; max-height: 360px; border-radius: 12px; background: #000; }
.media-thumb { max-width: 90px; max-height: 60px; object-fit: cover; border-radius: 8px; display: block; margin-top: 6px; }
.media-audio-thumb { max-width: 220px; height: 30px; display: block; margin-top: 6px; }

@media (max-width: 640px) {
    .home-features { grid-template-columns: 1fr; }
    .card-head { flex-direction: column; align-items: stretch; }
}

/* ===== v2.1：多选面板 / 实时预览 / 二维码卡片 / 分享详情页 ===== */
.seg.multi { flex-wrap: wrap; }
.media-panel { border: 1px dashed var(--border); border-radius: 12px; padding: 12px 14px; margin-top: 10px; background: #fdfcff; }
.live-preview { margin-top: 10px; padding: 12px; background: #f7f5fb; border-radius: 10px; white-space: pre-wrap; word-break: break-word; }
.live-preview img { max-width: 100%; max-height: 300px; border-radius: 10px; display: block; }
.live-preview audio, .live-preview video { width: 100%; display: block; }
.preview-video { max-height: 320px; border-radius: 10px; background: #000; }

.qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 0; }
.qr-card { width: 300px; border-radius: 20px; padding: 22px 20px; text-align: center;
    background: linear-gradient(160deg, #fff0f4, #ffe3ea 55%, #ffd6e0);
    border: 2px solid #ffd0dc; box-shadow: 0 10px 28px rgba(233, 86, 128, .16); }
.qr-card-head { font-weight: 700; color: #e0557e; font-size: 15px; letter-spacing: 1px; }
.qr-card-title { font-size: 18px; font-weight: 700; color: #4a2530; margin: 10px 0 2px; word-break: break-word; }
.qr-card-meta { font-size: 13px; color: #a8617c; margin-bottom: 10px; }
.qr-code-box { background: #fff; border-radius: 14px; padding: 10px; width: 196px; margin: 0 auto; }
.qr-code-box canvas { display: block; width: 100%; height: auto; }
.qr-card-tip { margin-top: 12px; font-size: 12px; color: #b06a84; }
.qr-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.share-card { border-radius: 20px; padding: 4px; background: linear-gradient(160deg, #fff0f4, #ffd6e0);
    box-shadow: 0 10px 30px rgba(233, 86, 128, .14); max-width: 640px; margin: 0 auto; }
.share-card-inner { background: #fffdfe; border-radius: 17px; padding: 22px 20px; }
.share-head { text-align: center; font-weight: 700; color: #e0557e; letter-spacing: 1px; font-size: 14px; }
.share-title { text-align: center; font-size: 22px; font-weight: 800; color: #3f2230; margin: 10px 0 8px; word-break: break-word; }
.share-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.share-tags .tag { background: #fdf0f4; color: #c0587e; }
.share-text { white-space: pre-wrap; word-break: break-word; line-height: 1.8; color: #4a3340;
    background: #fdf8fa; border-radius: 12px; padding: 14px 16px; margin: 10px 0; }
.share-media { margin: 12px 0; }
.share-media img { width: 100%; border-radius: 14px; max-height: 480px; object-fit: contain; background: #f5f0f2; }
.share-media img.zoom { position: fixed; inset: 0; z-index: 99; margin: auto; max-width: 96vw; max-height: 96vh; object-fit: contain; background: rgba(0,0,0,.9); border-radius: 0; }
.share-media audio, .share-media video { width: 100%; border-radius: 12px; }
.share-video { max-height: 480px; background: #000; }
.autoplay-tip { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap;
    background: #fff7e6; border: 1px solid #ffd591; color: #ad6800; border-radius: 10px; padding: 8px 12px; font-size: 13px; margin: 10px 0; }
.share-foot { text-align: center; color: #b98a9c; font-size: 12px; margin-top: 14px; }

/* ===== 备案信息（首页底部） ===== */
.footer-beian { display: block; margin-top: 6px; font-size: 12px; }
.footer-beian a { color: inherit; text-decoration: none; }
.footer-beian a:hover { text-decoration: underline; }
.footer-beian a + a { margin-left: 14px; }
