/**
 * 网络祭祀频道 · 参考版样式（棕金/墨绿 庄重风格，仅祭祀模块使用）
 * 色板：主棕金 #9d5002 · 按钮棕 #876255 · 墨绿 #0b2412 · 强调橙 #fe6c00 · 线 #e8e8e8 · 浅底 #f9f9f9
 */

/* ============ 频道横幅 ============ */
.mj-banner { position: relative; max-width: 1200px; margin: 16px auto 0; padding: 0 16px; }
.mj-banner img { width: 100%; display: block; border-radius: 10px; }
.mj-banner .mj-banner-cta {
  position: absolute; left: 48px; bottom: 42px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.mj-banner .mj-banner-cta .t { font-size: 30px; color: #fff; font-family: "KaiTi", serif; letter-spacing: 4px; text-shadow: 0 2px 8px rgba(0,0,0,.55); }
.mj-banner .mj-banner-cta .s { font-size: 14px; color: #efe6d8; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.mj-banner .mj-banner-cta a {
  display: inline-block; background: linear-gradient(160deg, #a86a2b, #876255); color: #fff; font-size: 16px;
  padding: 10px 34px; border-radius: 22px; letter-spacing: 2px; box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.mj-banner .mj-banner-cta a:hover { background: linear-gradient(160deg, #9d5002, #6f5140); }

.mj-notice { max-width: 1168px; margin: 12px auto 0; padding: 10px 18px; background: #faf7f1; border: 1px solid #e8e0d2; border-radius: 8px; font-size: 13px; color: #7a6a55; }

/* ============ 双栏布局 ============ */
.mj-page { max-width: 1200px; margin: 22px auto 0; padding: 0 16px; display: flex; gap: 26px; align-items: flex-start; }
.mj-page ul { list-style: none; margin: 0; padding: 0; }
.mj-left { flex: 1; min-width: 0; }
.mj-right { width: 370px; flex-shrink: 0; }

/* ============ 馆列表（左栏）——参考站精确色板 ============ */
.mj-guan-h { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e8e8e8; padding-bottom: 8px; }
.mj-guan-h ul { display: flex; gap: 30px; align-items: center; }
.mj-guan-h ul li { font-size: 20px; font-weight: bold; color: #666; cursor: pointer; position: relative; padding-bottom: 6px; user-select: none; }
.mj-guan-h ul li::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 60px; height: 5px; margin-left: -30px; background: url(/static/common/memorial/ref/1_20.png) center/contain no-repeat; display: none; }
.mj-guan-h ul li.active { color: #9d5002; }
.mj-guan-h ul li.active::after { display: block; }
.mj-guan-h .mj-search { display: flex; }
.mj-guan-h .mj-search input { width: 170px; border: 1px solid #ddd; border-right: 0; border-radius: 6px 0 0 6px; padding: 7px 10px; font-size: 13px; outline: none; }
.mj-guan-h .mj-search button { border: 0; background: #876255; color: #fff; border-radius: 0 6px 6px 0; padding: 0 14px; font-size: 13px; cursor: pointer; }

.mj-guan-b ul { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 26px; }
.mj-guan-b li.mj-hall-card {
  width: calc(50% - 15px); min-width: 300px; height: 240px; box-sizing: border-box;
  background: url(/static/common/memorial/ref/1_0103.jpg) center/cover; padding: 38px 30px 28px 38px; display: flex; border-radius: 4px;
}
.mj-guan-b li.mj-hall-card .ph { width: 100px; flex-shrink: 0; text-align: center; }
.mj-guan-b li.mj-hall-card .ph img { width: 100px; height: 134px; border-radius: 5px; object-fit: cover; }
.mj-guan-b li.mj-hall-card .ph p { color: #9d5002; font-size: 13px; margin-top: 12px; }
.mj-guan-b li.mj-hall-card .info { margin-left: 26px; text-align: left; color: #333; flex: 1; min-width: 0; }
.mj-guan-b li.mj-hall-card .info .nm { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.mj-guan-b li.mj-hall-card .info .nm a { font-size: 20px; color: #9d5002; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-guan-b li.mj-hall-card .info .nm em { font-style: normal; font-size: 16px; color: #333; flex-shrink: 0; }
.mj-guan-b li.mj-hall-card .info .no { color: #333; font-size: 15px; line-height: 34px; }
.mj-guan-b li.mj-hall-card .info .cat { color: #666; font-size: 14px; line-height: 30px; }
.mj-guan-b li.mj-hall-card .info .stat { color: #999; font-size: 13px; line-height: 26px; }
.mj-guan-b li.mj-hall-card .info .stat b { color: #9d5002; font-weight: 600; }
.mj-guan-b li.mj-hall-card .btns { margin-top: 20px; display: flex; gap: 15px; }
.mj-guan-b li.mj-hall-card .btns a {
  display: inline-block; width: 60px; height: 30px; line-height: 30px; text-align: center; color: #fff;
  background: #876255; border-radius: 5px; font-size: 16px;
}
.mj-guan-b li.mj-hall-card .btns a:hover { background: #9d5002; }
.mj-guan-b .mj-empty { width: 100%; text-align: center; color: #999; padding: 60px 0; background: #f9f9f9; border: 1px dashed #e8e8e8; border-radius: 8px; }

.mj-more { margin-top: 26px; height: 62px; line-height: 62px; text-align: center; border: 1px solid #e8e8e8; }
.mj-more:empty { display: none; }
.mj-more a, .mj-more span { color: #999; font-size: 16px; margin: 0 8px; cursor: pointer; }
.mj-more span.cur { color: #9d5002; font-weight: bold; }

/* ============ 祭·文化（左栏文章） ============ */
.mj-corpus { margin-top: 35px; }
.mj-corpus-h { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e8e8e8; padding-bottom: 8px; }
.mj-corpus-h h3 { font-size: 20px; color: #9d5002; font-weight: bold; padding-bottom: 4px; position: relative; }
.mj-corpus-h h3::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 60px; height: 5px; background: url(/static/common/memorial/ref/1_20.png) center/contain no-repeat; }
.mj-corpus-h a { color: #999; font-size: 14px; }
.mj-corpus-b ul { margin-top: 6px; }
.mj-corpus-b li { border-bottom: 1px solid #e8e8e8; padding: 4px 0 12px; }
.mj-corpus-b li h4 { font-weight: normal; font-size: 24px; color: #333; margin: 22px 0 12px; }
.mj-corpus-b li h4 a:hover { color: #9d5002; }
.mj-corpus-b li p { color: #666; line-height: 28px; height: 56px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; }
.mj-corpus-b li .time { display: flex; justify-content: space-between; color: #999; font-size: 12px; margin-top: 8px; }

/* ============ 右栏 ============ */
.mj-right .mj-cta { display: block; }
.mj-right .mj-cta img { width: 100%; display: block; }
.mj-msg { margin-top: 10px; }
.mj-msg-h { display: flex; justify-content: space-between; align-items: center; height: 35px; line-height: 35px; border-bottom: 1px solid #e8e8e8; }
.mj-msg-h h4 { color: #9d5002; font-size: 20px; width: 80px; border-bottom: 2px solid #0b2412; }
.mj-msg-h a { color: #999; font-size: 13px; }
.mj-msg-b { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 5px; margin-top: 10px; margin-bottom: 20px; padding: 0 20px; }
.mj-msg-b li { border-bottom: 1px solid #e8e8e8; padding-top: 20px; }
.mj-msg-b li:last-child { border-bottom: 0; padding-bottom: 16px; }
.mj-msg-b .t { display: flex; gap: 20px; align-items: center; }
.mj-msg-b .t img { width: 60px; height: 60px; border-radius: 50%; }
.mj-msg-b .t .p1 { color: #9d5002; font-size: 14px; line-height: 1.7; }
.mj-msg-b .t .p1 a, .mj-msg-b .t .p1 b { color: #333; font-size: 16px; font-weight: 600; }
.mj-msg-b .t .p1 .who { color: #fe6c00; }
.mj-msg-b .t .p2 { color: #999; font-size: 12px; margin-top: 8px; }
.mj-msg-b .c { text-align: left; line-height: 30px; font-size: 16px; color: #666; padding: 12px 0; }
/* 追思文选 */
.mj-anthology { padding-top: 15px; }
.mj-anthology li { display: flex; justify-content: space-between; align-items: center; line-height: 40px; height: 40px; padding: 0; border-bottom: 0; }
.mj-anthology .gy_l { color: #333; font-size: 14px; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-anthology .gy_l a { color: #333; }
.mj-anthology .gy_l a:hover { color: #9d5002; }
.mj-anthology .gy_r { color: #9d5002; font-size: 12px; }
.mj-right .mj-side-img { width: 100%; border-radius: 8px; display: block; margin-top: 18px; }
.mj-right .mj-my { margin-top: 18px; display: flex; gap: 10px; }
.mj-right .mj-my a { flex: 1; display: block; text-align: center; padding: 11px 0; border-radius: 8px; font-size: 14px; border: 1px solid #d9c8b4; color: #7a5c42; background: #fff; }
.mj-right .mj-my a.main { background: #876255; border-color: #876255; color: #fff; }
.mj-right .mj-my a:hover { opacity: .9; }

/* ============ 祭拜厅深色祭拜风（作用域重定义变量，JS内联var()自动适配；场景渲染不变） ============ */
.mj-hall-dark {
  background: #000; min-height: 100vh; padding-bottom: 44px;
  --brown: #9d5002;
  --brown-dark: #e8b96a;
  --gold: #cfa86a;
  --gold-light: #4a3a24;
  --text: #cbb591;
  --text-light: #8f8070;
  --line: #2c2317;
  --bg: #000;
  --card: #171310;
  --red: #d06a5c;
  --green: #7d9a6a;
}
.mj-hall-dark .hall-hero { padding: 44px 16px 18px; }
.mj-hall-dark .hall-hero .photo { border: 4px solid #b98a45; box-shadow: 0 0 0 1px #3a2f22, 0 10px 34px rgba(0,0,0,.75); background: #171310; }
.mj-hall-dark .hall-hero h1 { color: #efe2cd; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.mj-hall-dark .hall-hero .dates { color: #a89880; }
.mj-hall-dark .hall-hero .dates b { color: #cfa86a; font-weight: 600; }
.mj-hall-dark .hall-hero .epitaph { color: #8f8070; }
.mj-hall-dark .scene-tabs { background: #1c1712; border-color: #3a2f22; }
.mj-hall-dark .scene-tab.on { background: #9d5002; color: #fff; }
.mj-hall-dark .scene-tab:hover:not(.on) { color: #e8b96a; }
.mj-hall-dark .offer-btn { background: #1c1712; border-color: #4a3a24; }
.mj-hall-dark .offer-btn:hover { border-color: #9d5002; box-shadow: 0 6px 16px rgba(157,80,2,.35); }
.mj-hall-dark .bgm-ctrl { background: #1c1712; border-color: #3a2f22; }
.mj-hall-dark .hall-cols .detail-box { background: #171310; border: 1px solid #2c2317; box-shadow: none; }
.mj-hall-dark .detail-box input, .mj-hall-dark .detail-box select, .mj-hall-dark .detail-box textarea { background: #100d0a; border-color: #3a2f22; color: #e8ddd0; }
.mj-hall-dark .btn.main { background: #9d5002; }
.mj-hall-dark .btn.main:hover { background: #b06010; }
.mj-hall-dark .btn.ghost { background: transparent; border-color: #4a3a24; color: #a89880; }

/* ============ 模块专用框架（参考 common.css：灰顶条/logo行/墨绿导航/友链/深灰页脚） ============ */
.mj-body { background: #fff; }
.mj-w { width: 1200px; max-width: 96%; margin: 0 auto; }
.mj-topbar { height: 35px; line-height: 35px; background-color: #f3f3f3; color: #9a9a9a; font-size: 13px; }
.mj-topbar .mj-w { display: flex; justify-content: space-between; align-items: center; }
.mj-topbar .bar-l span { margin-right: 30px; }
.mj-topbar a { color: #9a9a9a; margin-right: 12px; }
.mj-topbar a:hover { color: #9d5002; }
.mj-topbar .bar-r { display: flex; align-items: center; }
.mj-topbar .bar-r a { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 0 12px; }
.mj-topbar .bar-r i { font-style: normal; color: #ddd; }
.mj-topbar .bar-r a img { width: 16px; height: 16px; }
.mj-logorow { width: 1200px; max-width: 96%; height: 115px; margin: 0 auto; display: flex; align-items: center; }
.mj-logo { display: inline-flex; align-items: center; }
.mj-logo img { height: 73px; display: block; }
.mj-hsearch { margin-left: 110px; margin-right: 30px; width: 360px; height: 35px; background-color: #21432B; border: 2px solid #21432B; border-radius: 4px; display: inline-flex; align-items: center; box-sizing: border-box; }
.mj-hsearch input[type=text] { width: 296px; height: 31px; line-height: 31px; background: #fff; padding-left: 8px; box-sizing: border-box; border: 0; outline: none; border-radius: 3px 0 0 3px; font-size: 13px; }
.mj-hsearch button { color: #fff; width: 60px; text-align: center; background: none; border: 0; cursor: pointer; font-size: 14px; }
.mj-cta img { display: block; cursor: pointer; }
.mj-nav { width: 100%; height: 35px; line-height: 35px; background-color: #21432b; }
.mj-nav ul { display: flex; justify-content: center; }
.mj-nav li { width: 120px; margin: 0 30px; text-align: center; }
.mj-nav li.active { background-color: #9d5002; }
.mj-nav li a { color: #fff; font-size: 15px; display: block; }
.mj-nav li a:hover { background-color: #9d5002; }
/* 友情链接条 */
.mj-friend { margin-top: 30px; }
.mj-friend .mj-w { height: 60px; border: 2px solid #e8e8e8; background-color: #f9f9f9; display: flex; align-items: center; padding-left: 10px; box-sizing: border-box; }
.mj-friend h3 { font-size: 15px; color: #333; font-weight: 500; }
.mj-friend a { font-size: 15px; margin: 0 15px; color: #333; }
.mj-friend a:hover { color: #9d5002; }
/* 服务热线/合作 */
.mj-coop { text-align: left; }
.mj-coop .mj-w { min-height: 140px; display: flex; justify-content: space-between; align-items: center; }
.mj-coop h4 { font-size: 18px; margin: 0 0 12px; font-weight: 500; color: #333; }
.mj-coop .l p { color: #666; font-size: 13px; }
.mj-coop .r { display: flex; align-items: center; gap: 10px; }
.mj-coop .r img { width: 56px; }
.mj-coop .rx p { font-size: 15px; color: #333; }
.mj-coop .rx p.hot { color: #005706; font-size: 18px; font-weight: bold; }
/* 深灰页脚 */
.mj-foot { background: #323232; color: #b3b5ba; font-size: 13px; padding: 25px 15px; }
.mj-foot .mj-w { display: flex; justify-content: space-between; align-items: center; min-height: 110px; }
.mj-foot ul { display: block; margin: 0 0 10px; padding: 0; list-style: none; }
.mj-foot ul li { display: inline-block; padding: 0 6px; border-right: 1px solid #555; }
.mj-foot ul li:last-child { border-right: 0; }
.mj-foot a { color: #b3b5ba; }
.mj-foot a:hover { color: #fff; }
.mj-foot .l p { line-height: 24px; margin: 0; }
.mj-foot .r { text-align: center; line-height: 24px; }
.mj-backtop { position: fixed; right: 24px; bottom: 80px; width: 44px; height: 44px; border-radius: 8px; background: #21432b; color: #fff; border: 0; font-size: 18px; display: none; cursor: pointer; z-index: 70; }
.mj-backtop:hover { background: #9d5002; }

/* ============ 祭拜厅·在线祭扫三场景（参考 sh.longjushan.com/mobile/ancestral 系列） ============ */
.mj-hall-dark .lj-hall { position: relative; max-width: 640px; margin: 0 auto; height: calc(100vh - 96px); min-height: 640px; max-height: 900px; background: #000; overflow: hidden; }
@media (min-width: 900px) {
  /* PC端重构：殿堂感径向渐变 + 720舞台金线描边 + 毛玻璃钮组/橱窗 + 双列信息区 */
  .mj-hall-dark { background: radial-gradient(1200px 620px at 50% 0%, #221910, #0b0806 72%); }
  .mj-hall-dark .lj-hall { max-width: 720px; height: calc(100vh - 120px); border-radius: 14px; border: 1px solid #4a3826; box-shadow: 0 26px 70px rgba(0,0,0,.65), inset 0 0 0 1px rgba(201,160,99,.14); }
  .mj-hall-dark .lj-pill { background: rgba(255,255,255,.8); backdrop-filter: blur(6px); height: 36px; border-radius: 18px 0 0 18px; }
  .mj-hall-dark .lj-pill.on, .mj-hall-dark .lj-pill:hover { background: rgba(157,80,2,.95); color: #fff; }
  .mj-hall-dark .lj-hall .lj-showcase { background: rgba(18,12,7,.74); backdrop-filter: blur(8px); border: 1px solid rgba(201,160,99,.35); border-radius: 12px; padding: 12px 14px; }
  .mj-hall-dark .lj-hall .lj-stats { color: #d8c6a4; }
  .mj-hall-dark .lj-hall .lj-stats span { color: #a89577; }
  .mj-hall-dark .lj-hall .lj-stats .dates { color: #a89577; }
  .mj-hall-dark .lj-hall .lj-records { background: rgba(255,255,255,.06); border: 1px solid rgba(201,160,99,.18); }
  .mj-hall-dark .lj-hall .lj-rec { border-bottom-color: rgba(201,160,99,.14); }
  .mj-hall-dark .lj-hall .lj-rec .who .nm { color: #e0cfab; }
  .mj-hall-dark .lj-hall .lj-rec .l2 { color: #a89577; }
  .mj-hall-dark .lj-hall .lj-rec .l3 .gi i { color: #9a876a; }
  .mj-hall-dark .lj-hall .lj-rec.empty { color: #8f8070; }
  .mj-hall-dark .hall-cols { max-width: 752px; margin: 18px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .mj-hall-dark .hall-cols .detail-box { border-color: #3a2f22; border-radius: 12px; box-shadow: none; }
}
.mj-hall-dark .lj-mount { position: absolute; inset: 0; background: #0b0805 center/cover no-repeat; overflow: hidden; }
/* 场景垫底：同图模糊放大铺满画幅（letterbox 不露黑边） */
.mj-hall-dark .lj-mount::before { content: ""; position: absolute; inset: -40px; background: inherit; background-position: center; background-size: cover; filter: blur(26px) brightness(.4) saturate(.92); }
.mj-hall-dark .lj-mount.lj-stang { background-image: url(/static/common/memorial/ref/main-img-h1.jpg); }
.mj-hall-dark .lj-mount.lj-real { background-image: url(/static/common/memorial/ref/main_bg_img01.jpg); }
.mj-hall-dark .lj-mount.lj-cemetery { background-image: url(/static/common/memorial/ref/main_bg.jpg); }
/* 场景=固定390×728设计画布（与满屏手机内容区同比例），JS等比缩放居中 */
.mj-hall-dark .lj-scene { position: absolute; left: 50%; top: 50%; width: 390px; height: 728px; transform: translate(-50%, -50%); transform-origin: center; }
.mj-hall-dark .lj-music { position: absolute; left: 14px; top: 64px; width: 40px; height: 40px; cursor: pointer; z-index: 9; }
.mj-hall-dark .lj-music img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.mj-hall-dark .lj-music.hide { display: none; }
.mj-hall-dark .lj-music.on { animation: ljSpin 1.2s linear infinite; }
@keyframes ljSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.mj-hall-dark .lj-actions { position: absolute; right: 0; top: 52px; z-index: 9; }
.mj-hall-dark .lj-pill { display: flex; align-items: center; justify-content: center; gap: 5px; width: 84px; height: 34px; background: rgba(255,255,255,.6); border-radius: 17px 0 0 17px; margin-bottom: 10px; color: #111; font-size: 12.5px; cursor: pointer; }
.mj-hall-dark .lj-pill img { width: 18px; height: 18px; object-fit: contain; }
.mj-hall-dark .lj-pill span { margin-left: 2px; }
.mj-hall-dark .lj-pill.on, .mj-hall-dark .lj-pill:hover { background: rgba(157,80,2,.9); color: #fff; }

/* 通用碑/供位 */
.mj-hall-dark .lj-tomb { position: absolute; left: 50%; top: 29%; transform: translateX(-50%); width: 200px; z-index: 2; }
.mj-hall-dark .lj-tomb .stone { width: 100%; display: block; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.mj-hall-dark .lj-photo { position: absolute; left: 50%; top: 34%; transform: translateX(-50%); width: 21%; height: 28%; object-fit: cover; background: #111; border: 1px solid rgba(232,185,106,.35); box-sizing: border-box; }
.mj-hall-dark .lj-name { position: absolute; left: 0; right: 0; top: 71.5%; text-align: center; color: #e8b96a; font-family: "KaiTi", serif; font-size: 16px; letter-spacing: 3px; text-shadow: 0 1px 3px #000; }
.mj-hall-dark .lj-name b { font-weight: bold; }
/* 碑心竖排名讳（遗像正下方，自碑座向上生长，随字数缩字号） */
.mj-hall-dark .lj-name.v { top: auto; bottom: 8%; left: 50%; right: auto; transform: translateX(-50%); writing-mode: vertical-rl; text-align: left; max-height: 40%; overflow: hidden; letter-spacing: 2px; line-height: 1.15; white-space: nowrap; }
/* 双人两列竖排：vertical-rl 块流自右向左，第一个 b 即右列（先者） */
.mj-hall-dark .lj-name.v.duo { max-height: 48%; }
.mj-hall-dark .lj-name.v.duo b { display: block; margin-left: 10px; font-weight: bold; }
.mj-hall-dark .lj-offers { position: absolute; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-between; z-index: 3; }
.mj-hall-dark .lj-slot { width: 38px; height: 42px; display: inline-flex; align-items: flex-end; justify-content: center; }
.mj-hall-dark .lj-slot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.mj-hall-dark .lj-offers.r1 { top: 58%; width: 46%; }
.mj-hall-dark .lj-offers.r2 { top: 64%; width: 62%; }
.mj-hall-dark .lj-offers.r3 { top: 70%; width: 80%; }
.mj-hall-dark .lj-tip { position: absolute; left: 50%; transform: translateX(-50%); bottom: 4%; white-space: nowrap; color: #fff; font-size: 12px; background: rgba(0,0,0,.45); padding: 5px 14px; border-radius: 14px; z-index: 4; }

/* 场景1 追思堂（祠堂内景：bg自带供桌，牌位直接坐桌面，供品陈桌面/桌前） */
.mj-hall-dark .lj-stang { background: url(/static/common/memorial/ref/main-img-h1.jpg) center top / 100% 100% no-repeat; }
.mj-hall-dark .lj-tablets { position: absolute; left: 50%; top: 52.2%; transform: translateX(-50%); display: flex; gap: 14px; z-index: 2; }
.mj-hall-dark .lj-tablet { width: 63px; height: 122px; background: url(/static/common/memorial/ref/lingwei_img.png) center / 100% 100% no-repeat; display: flex; align-items: center; justify-content: center; padding-top: 6px; box-sizing: border-box; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.mj-hall-dark .lj-tablet .tname { writing-mode: vertical-rl; color: #f4d9a0; font-family: "KaiTi", serif; font-size: 15px; letter-spacing: 4px; font-weight: bold; max-height: 90px; overflow: hidden; text-shadow: 0 1px 2px rgba(60,20,5,.8); }
.mj-hall-dark .lj-offers.drow { top: 67.5%; width: 56%; z-index: 3; }
.mj-hall-dark .lj-offers.drow2 { top: 75%; width: 74%; z-index: 3; }

/* 场景2 实景墓（广场绿地+花岗岩碑；has-photo=整幅实景照） */
.mj-hall-dark .lj-real { background: url(/static/common/memorial/ref/main_bg_img01.jpg) center top / 100% 100% no-repeat; }
.mj-hall-dark .lj-real .lj-tomb { width: 240px; top: 30%; }
.mj-hall-dark .lj-real .lj-photo { top: 32%; width: 17%; height: 24%; }
.mj-hall-dark .lj-real .lj-name { color: #dcdcdc; }
.mj-hall-dark .lj-real .lj-offers.r1 { top: 58%; }
.mj-hall-dark .lj-real .lj-offers.r2 { top: 64%; }
.mj-hall-dark .lj-real .lj-offers.r3 { top: 70%; }
.mj-hall-dark .lj-real.has-photo { background: #000; }
.mj-hall-dark .lj-realphoto { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 场景3 网络墓地（白玉广场+汉白玉碑） */
.mj-hall-dark .lj-cemetery { background: url(/static/common/memorial/ref/main_bg.jpg) center top / 100% 100% no-repeat; }
.mj-hall-dark .lj-showcase { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.42); border-radius: 9px; padding: 11px; z-index: 8; backdrop-filter: blur(2px); }
.mj-hall-dark .lj-stats { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: #333; }
.mj-hall-dark .lj-stats p { display: flex; align-items: center; gap: 3px; margin: 0; }
.mj-hall-dark .lj-stats p img { width: 17px; height: 17px; object-fit: contain; }
.mj-hall-dark .lj-stats i { font-style: normal; font-weight: bold; color: #9d5002; }
.mj-hall-dark .lj-stats span { color: #555; }
.mj-hall-dark .lj-stats .dates { margin-left: auto; color: #555; font-size: 11.5px; }
.mj-hall-dark .lj-records { margin-top: 9px; background: rgba(255,255,255,.82); border-radius: 5px; padding: 4px 12px; min-height: 56px; max-height: 56px; overflow-y: auto; }
.mj-hall-dark .lj-rec { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed rgba(0,0,0,.08); }
.mj-hall-dark .lj-rec:last-child { border-bottom: 0; }
.mj-hall-dark .lj-rec.empty { justify-content: center; color: #888; font-size: 12px; }
.mj-hall-dark .lj-rec .who { width: 54px; flex-shrink: 0; text-align: center; }
.mj-hall-dark .lj-rec .who .av { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; display: block; margin: 0 auto; }
.mj-hall-dark .lj-rec .who .nm { margin: 3px 0 0; font-size: 11.5px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-hall-dark .lj-rec .rc { flex: 1; min-width: 0; }
.mj-hall-dark .lj-rec .l2 { margin: 0; font-size: 13px; color: #333; }
.mj-hall-dark .lj-rec .l3 { margin: 6px 0 0; display: flex; gap: 12px; }
.mj-hall-dark .lj-rec .l3 .gi { display: flex; flex-direction: row; align-items: center; gap: 4px; }
.mj-hall-dark .lj-rec .l3 .gi img { width: 20px; height: 22px; object-fit: contain; }
.mj-hall-dark .lj-rec .l3 .gi i { font-style: normal; font-size: 11px; color: #777; }

/* 移动端右侧浮动圆钮组（参考式：彩圆图标+白标签胶囊），默认隐藏，<900px显示 */
.lj-fabs { display: none; }

/* 移动端底部标签栏（参考wap底栏：白底图标+文字，场景组|操作组） */
.lj-tabbar { display: none; }
@media (max-width: 899px) {
  .mj-hall-dark .lj-hall { width: 100%; height: calc(100vh - 116px); min-height: 500px; max-height: none; }
  .mj-hall-dark .lj-actions { display: none; }
  /* 右侧浮动圆钮组（参考式：图标PNG本身即彩色圆） */
  .lj-fabs { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; position: absolute; right: 0; top: 56px; z-index: 9; }
  .lj-fab { display: flex; align-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .lj-fab .circ { width: 52px; height: 52px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
  .lj-fab .circ img { width: 52px; height: 52px; object-fit: contain; display: block; }
  .lj-fab span { height: 36px; line-height: 36px; background: rgba(255,255,255,.94); border-radius: 18px 0 0 18px; padding: 0 10px 0 26px; margin-left: -26px; font-size: 13px; color: #333; box-shadow: 0 3px 10px rgba(0,0,0,.16); }
  .lj-fab.on span { color: #9d5002; font-weight: 700; }
  /* 底部功能tab（参考式5项） */
  .lj-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid #e8e2d8; display: flex; align-items: stretch; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 14px rgba(40,30,15,.1); }
  .lj-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 0 6px; font-size: 11px; color: #555; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .lj-tabbar a img { width: 22px; height: 22px; object-fit: contain; }
  .lj-tabbar a.on { color: #9d5002; font-weight: 700; }
  /* 统计条：参考式彩圆图标+数字（无文字标签） */
  .mj-hall-dark .lj-stats { gap: 22px; }
  .mj-hall-dark .lj-stats p { gap: 5px; }
  .mj-hall-dark .lj-stats p img { width: 30px; height: 30px; }
  .mj-hall-dark .lj-stats p i { font-size: 17px; color: #222; }
  .mj-hall-dark .lj-stats p span { display: none; }
  .mj-hall-dark .lj-stats .dates { display: none; }
  .mj-hall-dark .lj-showcase { left: 8px; right: 8px; bottom: 8px; padding: 9px; }
}

/* 场景1b 古代宗祠（匾额+楹联+祖龛牌位墙+烛台供案） */
.mj-hall-dark .lj-plaque { position: absolute; left: 50%; top: 10.2%; transform: translateX(-50%); min-width: 150px; max-width: 64%; height: 36px; padding: 0 18px; box-sizing: border-box; background: linear-gradient(180deg, #5a3a1e, #3a2410); border: 2px solid #8a6a3c; border-radius: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.55), inset 0 0 0 1px rgba(244,217,160,.25); display: flex; align-items: center; justify-content: center; z-index: 3; }
.mj-hall-dark .lj-plaque b { color: #f4d9a0; font-family: "KaiTi", serif; letter-spacing: 4px; text-shadow: 0 1px 3px rgba(0,0,0,.6); white-space: nowrap; }
.mj-hall-dark .lj-couplet { position: absolute; top: 16.5%; width: 26px; height: 148px; background: linear-gradient(180deg, #4a2f16, #2c1a0a); border: 1px solid #8a6a3c; border-radius: 4px; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 6px 12px rgba(0,0,0,.45); }
.mj-hall-dark .lj-couplet.l { left: 7.5%; }
.mj-hall-dark .lj-couplet.r { right: 7.5%; }
.mj-hall-dark .lj-couplet span { writing-mode: vertical-rl; color: #e8cf9e; font-family: "KaiTi", serif; font-size: 12px; letter-spacing: 3px; white-space: nowrap; }
.mj-hall-dark .lj-shrine { position: absolute; left: 50%; top: 21%; transform: translateX(-50%); width: 78%; height: 36%; background: linear-gradient(180deg, #241610, #170e08 70%, #1f130b); border: 1px solid #6b4a26; border-bottom-width: 4px; border-radius: 6px 6px 0 0; box-shadow: inset 0 0 0 3px rgba(201,160,99,.14), 0 10px 24px rgba(0,0,0,.5); z-index: 1; }
.mj-hall-dark .lj-gen { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: flex-end; z-index: 2; }
.mj-hall-dark .lj-gen.r1 { top: 21.5%; }
.mj-hall-dark .lj-gen.r2 { top: 31%; }
.mj-hall-dark .lj-gen.r3 { top: 40.5%; }
.mj-hall-dark .lj-gen .shelf { position: absolute; left: -12px; right: -12px; bottom: -5px; height: 6px; background: linear-gradient(180deg, #7a542c, #3c2812); border-radius: 2px; box-shadow: 0 3px 6px rgba(0,0,0,.45); }
.mj-hall-dark .lj-tablet.sm { width: 44px; height: 64px; padding-top: 3px; }
.mj-hall-dark .lj-tablet.sm .tname { font-size: 10px; letter-spacing: 2px; max-height: 46px; }
.mj-hall-dark .lj-candle { position: absolute; top: 69%; width: 16px; height: 44px; background: linear-gradient(90deg, #8a1f14, #c8362a 45%, #8a1f14); border-radius: 3px 3px 2px 2px; z-index: 3; box-shadow: 0 4px 8px rgba(0,0,0,.4); }
.mj-hall-dark .lj-candle::before { content: ""; position: absolute; left: 50%; top: -10px; transform: translateX(-50%); width: 8px; height: 13px; background: radial-gradient(circle at 50% 72%, #ffe9a8, #f08c1e 58%, rgba(240,140,30,0) 75%); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; animation: ljFlame 1.5s ease-in-out infinite alternate; }
.mj-hall-dark .lj-candle::after { content: ""; position: absolute; left: 50%; top: -2px; transform: translateX(-50%); width: 5px; height: 4px; background: #3a2010; border-radius: 1px; }
.mj-hall-dark .lj-candle.cl { left: 13%; }
.mj-hall-dark .lj-candle.cr { right: 13%; }
/* 宗祠对称构图：匾额/楹联/祖龛/供桌统一以画面中线对齐（不再整体左移） */
.mj-hall-dark .lj-clan .lj-plaque { left: 50%; max-width: 62%; }
.mj-hall-dark .lj-clan .lj-couplet.l { left: 7%; }
.mj-hall-dark .lj-clan .lj-couplet.r { left: auto; right: 7%; }
.mj-hall-dark .lj-clan .lj-shrine { left: 50%; width: 78%; }
.mj-hall-dark .lj-clan .lj-gen { left: 50%; }
/* 宗祠专属供桌（背景为空景祠堂，桌案自绘：桌面+前板+桌腿） */
.mj-hall-dark .lj-altar { position: absolute; left: 50%; top: 66%; transform: translateX(-50%); width: 78%; height: 14%; z-index: 2; }
.mj-hall-dark .lj-altar .a-top { position: absolute; left: -3%; right: -3%; top: 0; height: 15%; background: linear-gradient(180deg, #b07a38, #7a4a1e 62%, #553014); border: 1px solid #4a2a10; border-radius: 5px; box-shadow: 0 5px 12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,220,160,.35); }
.mj-hall-dark .lj-altar .a-front { position: absolute; left: 2%; right: 2%; top: 15%; height: 66%; background: linear-gradient(180deg, #6a3f1b, #402510 72%, #2d1809); border: 1px solid #2a1608; border-radius: 0 0 4px 4px; box-shadow: inset 0 0 0 2px rgba(201,160,99,.14); }
.mj-hall-dark .lj-altar .a-front::after { content: "福"; position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 46px; height: 46px; line-height: 46px; text-align: center; border-radius: 50%; border: 1px solid rgba(232,185,106,.42); background: radial-gradient(circle at 50% 32%, rgba(232,185,106,.2), rgba(0,0,0,0)); color: #e8b96a; font-family: "KaiTi", serif; font-size: 20px; }
.mj-hall-dark .lj-altar .a-leg { position: absolute; bottom: 0; width: 8%; height: 20%; background: linear-gradient(90deg, #331d0c, #6a3f1b 55%, #331d0c); border-radius: 0 0 3px 3px; }
.mj-hall-dark .lj-altar .a-leg.l { left: 9%; }
.mj-hall-dark .lj-altar .a-leg.r { right: 9%; }
/* 宗祠供品落位：后排供桌面、前排落地，烛台立桌面两端 */
.mj-hall-dark .lj-clan .lj-offers.drow { top: 60.3%; width: 60%; z-index: 4; }
.mj-hall-dark .lj-clan .lj-offers.drow2 { top: 81%; width: 74%; z-index: 4; }
.mj-hall-dark .lj-clan .lj-candle { top: 60%; }
.mj-hall-dark .lj-clan .lj-candle.cl { left: 18%; }
.mj-hall-dark .lj-clan .lj-candle.cr { right: 18%; }
/* 宗祠移动端隐藏右侧浮动钮（底部tabbar已有祭拜/祈福/追思，避免遮挡右楹联） */
.mj-hall-dark .lj-hall.is-clan .lj-fabs { display: none; }
@keyframes ljFlame { from { transform: translateX(-50%) scale(1); opacity: .92; } to { transform: translateX(-52%) scale(1.14, 1.06); opacity: 1; } }

/* ============ 祭拜厅·仪式场景（参考ceremony：树林/全幅墓碑/砖地三层 + 9供位三排实体祭品） ============ */

/* 底部固定信息栏（参考floor_wrap） */
.mj-floor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(12,9,6,.94); border-top: 1px solid #2c2317; }
.mj-floor .f-top { display: flex; gap: 14px; padding: 10px 18px 4px; max-width: 1200px; margin: 0 auto; align-items: center; }
.mj-floor .f-top img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; border: 2px solid #b98a45; flex-shrink: 0; }
.mj-floor .f-info { flex: 1; min-width: 0; overflow: hidden; }
.mj-floor .f-info .n { margin: 0; color: #efe2cd; font-family: "KaiTi", serif; font-size: 18px; }
.mj-floor .f-info .n .cat { font-family: inherit; font-size: 12px; color: #8f8070; }
.mj-floor .f-info .d { margin: 2px 0 0; font-size: 12px; color: #8f8070; }
.mj-floor marquee { color: #8f8070; font-size: 12px; }
.mj-hall-dark { padding-bottom: 40px; }

/* 祭拜菜单（参考floor_bot） */
.mj-menu { display: flex; gap: 10px; max-width: 760px; margin: 20px auto 0; padding: 0 16px; }
.mj-menu button { flex: 1; background: #1c1712; border: 1px solid #4a3a24; color: #cbb591; border-radius: 10px; padding: 11px 0; font-size: 14.5px; cursor: pointer; transition: all .15s; }
.mj-menu button:hover { border-color: #9d5002; color: #e8b96a; }

/* 供品面板（参考式：底部白色弹层+实物祭品网格） */
.mj-drawer-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 120; display: none; }
.mj-drawer { position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 430px; max-height: 64vh; background: #fff; border-radius: 16px 16px 0 0; z-index: 125; transform: translateX(-50%) translateY(105%); transition: transform .24s ease; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); overflow-y: auto; box-sizing: border-box; box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.mj-drawer.open { transform: translateX(-50%) translateY(0); }
.mj-drawer .d-head { display: flex; justify-content: space-between; align-items: center; color: #333; font-size: 16px; font-weight: 700; border-bottom: 1px solid #f0ece5; padding-bottom: 10px; }
.mj-drawer .d-head span { color: #999; font-size: 13px; font-weight: 400; cursor: pointer; }
.mj-drawer .d-gifts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; margin-top: 14px; }
.mj-drawer .d-gifts .offer-btn { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 5px; background: #f7f5f1; border: 0; border-radius: 10px; padding: 10px 2px 8px; cursor: pointer; }
.mj-drawer .d-gifts .offer-btn:active { background: #efe9df; }
.mj-drawer .d-gifts .offer-btn .i { display: block; }
.mj-drawer .d-gifts .offer-btn .i img { width: 46px; height: 50px; object-fit: contain; }
.mj-drawer .d-gifts .offer-btn .t { font-size: 12px; color: #444; }
.mj-drawer .d-tip { color: #999; font-size: 12px; margin-top: 12px; line-height: 1.7; }

/* ============ 建馆页（浅灰底白卡，参考 p_create） ============ */
.mj-create-page { background: #f2f2f2; }
.mj-create-page .memorial-create-layout { max-width: 1200px; margin: 20px auto 0; padding: 0 16px; }
.mj-create-page .page-head { background: linear-gradient(180deg, #ece5da, #f2f2f2); }
.mj-create-page .detail-box { border-color: #e3e3e3; box-shadow: 1px 1px 3px rgba(180,160,150,.18); }
.mj-create-page .detail-box h3 { color: #6f5140; }
.mj-create-page .btn.main, .mj-create-page button.btn.main, .mj-create-page .btn.gold { background: #A28274; border-color: #A28274; }
.mj-create-page .btn.main:hover, .mj-create-page .btn.gold:hover { background: #8a6a5c; }
.mj-create-page .mj-create-side h3 { color: #9d5002; }

/* ============ 祭拜厅·顶部导航 / 分享 / 错误态 ============ */
.lj-error { max-width: 480px; margin: 60px auto; padding: 34px 20px; text-align: center; background: #171310; border: 1px solid #2c2317; border-radius: 12px; color: #cbb591; }
.lj-error .ico { display: block; font-size: 46px; margin-bottom: 12px; }
.lj-error p { margin: 0 0 18px; font-size: 14px; color: #a89880; line-height: 1.8; }

.mj-hall-dark .lj-topbar { position: absolute; left: 0; right: 0; top: 0; z-index: 11; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 10px; box-sizing: border-box; background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,0)); }
.mj-hall-dark .lj-topbar .tb-back { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 19px; line-height: 1; }
.mj-hall-dark .lj-topbar .tb-title { flex: 1; min-width: 0; color: #fff; }
.mj-hall-dark .lj-topbar .tb-title b { display: block; font-size: 15px; font-family: "KaiTi", serif; letter-spacing: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.mj-hall-dark .lj-topbar .tb-title span { display: block; font-size: 11px; color: rgba(255,255,255,.72); margin-top: 1px; }
.mj-hall-dark .lj-topbar .tb-share { flex-shrink: 0; height: 30px; padding: 0 14px; border: 0; border-radius: 15px; background: rgba(157,80,2,.92); color: #fff; font-size: 12.5px; cursor: pointer; }
.mj-hall-dark .lj-topbar .tb-share:active { background: rgba(157,80,2,1); }

.mj-hall-dark .lj-share-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 130; display: none; }
.mj-hall-dark .lj-share-mask.open { display: block; }
.mj-hall-dark .lj-share { position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 430px; box-sizing: border-box; background: #fff; border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); z-index: 135; transform: translateX(-50%) translateY(110%); transition: transform .24s ease; }
.mj-hall-dark .lj-share.open { transform: translateX(-50%) translateY(0); }
.mj-hall-dark .lj-share .s-head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: #333; }
.mj-hall-dark .lj-share .s-head span { font-size: 12.5px; color: #999; font-weight: 400; cursor: pointer; }
.mj-hall-dark .lj-share .s-tip { font-size: 12.5px; color: #888; margin: 10px 0 12px; line-height: 1.7; }
.mj-hall-dark .lj-share .s-link { display: flex; gap: 8px; }
.mj-hall-dark .lj-share .s-link input { flex: 1; min-width: 0; border: 1px solid #e2ddd4; border-radius: 8px; padding: 9px 10px; font-size: 12px; color: #555; background: #faf8f4; }
.mj-hall-dark .lj-share .s-link button { flex-shrink: 0; border: 0; border-radius: 8px; background: #876255; color: #fff; font-size: 13px; padding: 0 16px; cursor: pointer; }
.mj-hall-dark .lj-share .s-btns { display: flex; gap: 10px; margin-top: 14px; }
.mj-hall-dark .lj-share .s-btns .native, .mj-hall-dark .lj-share .s-btns .go { flex: 1; text-align: center; border-radius: 9px; padding: 11px 0; font-size: 14px; cursor: pointer; border: 1px solid #d9c8b4; background: #fff; color: #7a5c42; }
.mj-hall-dark .lj-share .s-btns .native { background: #876255; border-color: #876255; color: #fff; }
@media (min-width: 900px) {
  .mj-hall-dark .lj-share { top: 50%; bottom: auto; max-width: 400px; border-radius: 14px; transform: translate(-50%, -40%); opacity: 0; pointer-events: none; }
  .mj-hall-dark .lj-share.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
}
@keyframes ljFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============ 我的纪念馆·列表与管理面板 ============ */
.mj-hall-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; background: #fff; }
.mj-hall-item .h-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mj-hall-item .h-name { font-size: 15px; color: var(--brown-dark); font-weight: 600; }
.mj-hall-item .h-meta { font-size: 11.5px; color: var(--text-light); margin-top: 4px; line-height: 1.7; }
.mj-hall-item .h-st { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 9px; background: #f6efe5; color: #9d5002; margin-left: 6px; }
.mj-hall-item .h-st.ok { background: #eef6ef; color: #3d6b40; }
.mj-hall-item .h-st.no { background: #fbefee; color: #b54a3f; }
.mj-hall-item .h-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mj-hall-item .h-acts .btn { padding: 6px 14px; font-size: 12.5px; border-radius: 6px; }
.mj-mgr { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.mj-mgr.open { display: block; }
.mj-mgr .row { margin-bottom: 10px; }
.mj-mgr .row > label { display: block; font-size: 12px; color: var(--text-light); margin-bottom: 5px; }
.mj-mgr select, .mj-mgr input[type=text], .mj-mgr textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; background: #fff; outline: none; }
.mj-mgr textarea { min-height: 72px; resize: vertical; }
.mj-mgr .up { border: 1px dashed var(--gold-light); border-radius: 8px; padding: 12px; text-align: center; font-size: 12.5px; color: #7a5c42; cursor: pointer; background: #fbf9f5; }
.mj-mgr .up img { max-width: 100%; max-height: 130px; display: block; margin: 0 auto 6px; border-radius: 6px; }
.mj-mgr .save { width: 100%; margin-top: 2px; }
.mj-hall-empty { text-align: center; padding: 26px 10px; color: #999; font-size: 13px; }
.mj-hall-empty .btn { margin-top: 10px; }

/* ============ 追思留言页·馆信息卡 ============ */
.mj-n-hall { display: flex; gap: 12px; align-items: center; background: #faf7f1; border: 1px solid #e8e0d2; border-radius: 10px; margin: 8px 12px; padding: 12px 14px; }
.mj-n-hall img { width: 58px; height: 76px; object-fit: cover; border-radius: 5px; flex-shrink: 0; border: 1px solid #e2d8c8; }
.mj-n-hall .m { flex: 1; min-width: 0; }
.mj-n-hall .m b { font-size: 15.5px; color: #9d5002; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-n-hall .m p { margin: 3px 0 0; font-size: 11.5px; color: #999; }
.mj-n-hall .m .go { display: inline-block; margin-top: 8px; background: #876255; color: #fff; border-radius: 14px; padding: 4px 14px; font-size: 11.5px; }

/* ============ 列表页·祭文化（移动端） ============ */
.mj-m-culture { margin: 12px; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 4px 14px 8px; }
.mj-m-culture h4 { margin: 10px 0 6px; font-size: 15px; color: #9d5002; border-bottom: 2px solid #0b2412; display: inline-block; padding-bottom: 4px; }
.mj-m-culture li { list-style: none; border-bottom: 1px solid #f0f0f0; padding: 9px 0; }
.mj-m-culture li:last-child { border-bottom: 0; }
.mj-m-culture li a { font-size: 13.5px; color: #333; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-m-culture li .t { font-size: 11px; color: #aaa; margin-top: 4px; }
.mj-m-pager span.dis { opacity: .45; pointer-events: none; }

/* ============ 建馆页·提交成功 / 须知 ============ */
.mj-ok-card { display: none; text-align: center; background: #fff; border: 1px solid #e8e0d2; border-radius: 12px; padding: 26px 18px; margin-bottom: 12px; }
.mj-ok-card .ico { font-size: 40px; }
.mj-ok-card h3 { margin: 10px 0 6px; font-size: 16px; color: #6f5140; }
.mj-ok-card p { font-size: 12.5px; color: #888; line-height: 1.9; margin: 0 0 12px; }
.mj-ok-card .no { font-family: monospace; font-size: 14px; color: #9d5002; background: #faf7f1; border-radius: 6px; padding: 6px 10px; display: inline-block; margin-bottom: 14px; }
.mj-ok-card .acts { display: flex; gap: 10px; }
.mj-ok-card .acts a { flex: 1; text-align: center; border-radius: 8px; padding: 10px 0; font-size: 13.5px; border: 1px solid #d9c8b4; color: #7a5c42; }
.mj-ok-card .acts a.main { background: #876255; border-color: #876255; color: #fff; }
.mj-create-note { background: #faf7f1; border: 1px solid #e8e0d2; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; font-size: 12px; color: #7a6a55; line-height: 1.9; }
.mj-create-note b { color: #9d5002; }
