
* { -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
body { font-family: "Work Sans", sans-serif; background: #f7f5f0; }
.hexagram-spin { animation: spin 60s linear infinite; }
.hexagram-pulse { animation: pulseGlow 2s ease-in-out infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulseGlow { 0%,100% { opacity: 1; box-shadow: 0 0 30px rgba(198, 184, 150, 0.2); } 50% { opacity: 0.85; box-shadow: 0 0 50px rgba(198, 184, 150, 0.35); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.bg-texture {
    background-color: #f5f2ec;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='xuan'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23xuan)' opacity='0.045'/%3E%3C/svg%3E");
}
.activation-step { display: none; }
.activation-step.active { display: block; }
.flow-step-indicator { flex: 1; height: 3px; border-radius: 9999px; background: rgba(124,118,107,0.18); }
.flow-step-indicator.active { background: #C6B896; }
.gender-option { border: 1px solid rgba(124,118,107,0.25); background: rgba(255,255,255,0.7); }
.gender-option.active { border-color: #C6B896; background: rgba(198,184,150,0.14); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120%); background: rgba(45,42,38,0.92); color: #fff; font-size: 15px; padding: 9px 14px; border-radius: 9999px; z-index: 260; opacity: 0; transition: all .25s ease; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.archive-paper {
    background: linear-gradient(165deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
    border: 1px solid rgba(198,184,150,0.22);
    box-shadow: 0 8px 24px rgba(45,42,38,0.06), inset 0 1px 0 rgba(255,255,255,0.75);
}
/* v109 全站走查：surface-container-low 原为冷灰 #F4F3F1（我的页表单/入口卡/激活码），
   统一为暖纸，与 archive-paper 同温度 */
.bg-surface-container-low { background-color: rgb(250 247 240) !important; }
.archive-title {
    letter-spacing: .24em;
    color: rgba(45,42,38,0.8);
}
.media-frame {
    border: 1px solid rgba(198,184,150,0.26);
    box-shadow: 0 12px 30px rgba(45,42,38,0.12);
    overflow: hidden;
    border-radius: 14px;
    background: #eceae5;
}
.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,0.38), rgba(0,0,0,0.1));
}
.mode-chip {
    border: 1px solid rgba(58,54,50,0.1);
    color: rgba(58,54,50,0.4);
    background: rgba(245,242,236,0.7);
    transition: border-color .3s, color .3s, background .3s, box-shadow .3s;
}
.mode-chip.active {
    border-color: rgba(58,54,50,0.22);
    color: rgba(58,54,50,0.88);
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 8px rgba(58, 54, 50, 0.06);
}
.mode-chip.pop { animation: chipPop .2s ease; }
@keyframes chipPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.015); }
    100% { transform: scale(1); }
}

/* —— 首页禅堂氛围：顶部丁达尔柔光 —— */
#pageHome::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -12%;
    width: 140%;
    height: 62%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse 58% 100% at 50% 0%,
        rgba(255, 253, 244, 0.85), rgba(255, 250, 236, 0.22) 56%, transparent 78%);
    pointer-events: none;
    z-index: 0;
}
/* 悬镜后曼陀罗底纹：金线极淡，大于悬镜，如墙上壁画，慢转 */
.mandala-layer {
    position: absolute;
    inset: -26%;
    pointer-events: none;
    opacity: 0.85;
}
.mandala-layer svg {
    width: 100%;
    height: 100%;
    animation: mandalaSpin 180s linear infinite;
}
@keyframes mandalaSpin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .mandala-layer svg { animation: none; }
}
/* 今日宜忌：历纸卡片 */
.yiji-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: 0.95rem 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(198, 184, 150, 0.3);
    border-radius: 8px;
    position: relative;
}
.yiji-card::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(198, 184, 150, 0.16);
    border-radius: 5px;
    pointer-events: none;
}
/* 经典切换器：经典名下划金线 */
.classic-switch {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.22em;
    color: rgba(138, 118, 72, 0.9);
    padding: 0.35rem 0.9rem 0.45rem;
    border-bottom: 1px solid rgba(198, 184, 150, 0.45);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.classic-switch:active { transform: scale(0.97); }
.cs-arrow { font-size: 13.5px; margin-left: 0.5em; opacity: 0.7; }
/* 节律标签：五音与人生节律的对应提示 */
.rhythm-label {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: rgba(138, 118, 72, 0.9);
}
.next-track {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: rgba(160, 48, 40, 0.72);
    padding: 1px 4px;
    transition: color 0.3s ease;
}
.next-track:hover { color: #a03028; }
.next-track:active { transform: scale(0.94); }
/* 经典抽屉项 */
.classic-item {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(198, 184, 150, 0.22);
    border-left: 2px solid transparent;
    text-align: left;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.classic-item:active { transform: scale(0.99); }
.classic-item.cur {
    border-left-color: #a03028;
    background: rgba(198, 184, 150, 0.12);
}
.ci-name {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: rgba(45, 42, 38, 0.82);
}
.ci-sub { font-size: 14px; color: rgba(45, 42, 38, 0.4); letter-spacing: 0.05em; }
.tab-nav-item { color: rgba(58,54,50,0.36); }
.tab-nav-item.active {
    color: rgba(58,54,50,0.82);
    background: rgba(58, 54, 50, 0.07);
}
#divinationBackdrop { opacity: 0; transition: opacity 0.28s ease; pointer-events: none; }
#divinationBackdrop.is-open { opacity: 1; pointer-events: auto; }
#divinationSheet { transform: translateY(105%); transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1); will-change: transform; }
#divinationSheet.is-open { transform: translateY(0); }
.mine-sheet { border-radius: 16px; }
.mine-pillar-cell {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(198,184,150,0.22);
    border-radius: 10px;
    padding: 8px 4px 10px;
    text-align: center;
}
.mine-pillar-label { font-size: 13px; letter-spacing: 0.22em; color: rgba(45,42,38,0.36); margin-bottom: 5px; }
.mine-pillar-stem { font-family: "Noto Serif SC", serif; font-size: 1.05rem; font-weight: 600; color: rgba(45,42,38,0.9); line-height: 1.15; }
.mine-pillar-branch { font-family: "Noto Serif SC", serif; font-size: 0.9rem; color: rgba(45,42,38,0.72); margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(198,184,150,0.16); line-height: 1.15; }
.mine-rhythm-ring-wrap {
    position: relative;
    width: 4.1rem; height: 4.1rem;
    flex-shrink: 0;
    --mine-rhythm-pct: 0;
}
.mine-rhythm-ring-track {
    position: absolute; inset: 0; border-radius: 9999px;
    border: 1.5px solid rgba(198,184,150,0.28);
}
.mine-rhythm-ring-progress {
    position: absolute; inset: 0; border-radius: 9999px;
    background: conic-gradient(from -90deg, rgba(168,152,114,0.88) 0turn, rgba(168,152,114,0.88) calc(var(--mine-rhythm-pct, 0) * 0.01turn), rgba(198,184,150,0.12) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
    mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
    pointer-events: none;
}
.mine-rhythm-ring-inner {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.mine-hairline { height: 1px; background: linear-gradient(90deg, transparent, rgba(198,184,150,0.35) 15%, rgba(198,184,150,0.35) 85%, transparent); margin: 0; border: 0; }
.mine-muted { color: rgba(45,42,38,0.52); }
.mine-pub-banner { font-size: 14px; line-height: 1.5; color: rgba(120,83,30,0.88); background: rgba(254,243,199,0.45); border: 1px solid rgba(180,130,60,0.15); border-radius: 10px; padding: 8px 12px; }
/* v27 #6 横幅 CTA 对齐 */
.mine-pub-banner .mz-tool-btn { margin-left: 8px; }
.mine-more > summary {
    list-style: none; font-size: 15px; letter-spacing: 0.12em; color: rgba(45,42,38,0.42);
    cursor: pointer; padding: 6px 0; user-select: none;
}
.mine-more > summary::-webkit-details-marker { display: none; }

/* —— 视觉层级：减少杂乱、统一卡片与留白 —— */
.home-ambient {
    position: absolute;
    inset: -12%;
    border-radius: 50%;
    background: radial-gradient(ellipse 70% 60% at 50% 46%, rgba(58, 54, 50, 0.06), rgba(58, 54, 50, 0.025) 52%, transparent 72%);
    pointer-events: none;
}
.home-ambient-ring {
    position: absolute;
    inset: 5%;
    border-radius: 50%;
    border: 1px solid rgba(58, 54, 50, 0.08);
    box-shadow: inset 0 0 0 1px rgba(245,242,236,0.55);
    pointer-events: none;
}
#hexagramSvg { filter: contrast(106%) saturate(88%); }
/* v89 六爻卦画：纸墨实线，动爻朱砂 */
.hexg-fig { display: flex; flex-direction: column; gap: 9px; align-items: center; padding: 10px 0 14px; }
.hexg-yao { display: flex; align-items: center; gap: 8px; width: 168px; }
.hexg-seg { height: 8px; border-radius: 4px; background: rgba(45, 42, 38, 0.88); flex: 1; min-width: 0; }
.hexg-gap { background: transparent; flex: 0 0 18px; }
/* v94 动爻旁标记（老阳○ 老阴✕），线保持墨色 */
.hexg-mark { flex: 0 0 14px; width: 14px; text-align: center; font-size: 11px; line-height: 8px; height: 8px; color: #B03A2E; font-family: "LXGW WenKai", "Noto Serif SC", serif; }
.hexg-sm .hexg-mark { flex-basis: 9px; width: 9px; font-size: 8px; }
/* v91 之卦小图 */
.hexg-sm .hexg-fig, .hexg-sm.hexg-fig { padding: 2px 0; gap: 5px; align-items: center; }
.hexg-sm .hexg-yao { width: 84px; gap: 5px; }
.hexg-sm .hexg-seg { height: 5px; }
.hexg-sm .hexg-gap { flex-basis: 10px; }
.hexg-sm .hexg-dot { width: 5px; height: 5px; flex-basis: 5px; }
.home-breath {
    animation: zenBreath 6.8s ease-in-out infinite;
    transform-origin: center;
}
@keyframes zenBreath {
    0%, 100% { transform: scale(0.985); opacity: 0.92; }
    50% { transform: scale(1.015); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .home-breath { animation: none; }
}
.home-score-label {
    font-family: "Noto Serif SC", serif;
    font-size: 14px;
    letter-spacing: 0.28em;
    color: rgba(58, 54, 50, 0.42);
    margin-bottom: 0.25rem;
}
.home-flow-tip {
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.06em;
    color: rgba(58, 54, 50, 0.38);
    margin-top: 0.5rem;
}
.home-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 1.35rem;
    border-radius: 9999px;
    background: rgba(58, 54, 50, 0.82);
    color: #f5f2ec;
    font-family: "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.16em;
    border: none;
    box-shadow: 0 3px 14px rgba(58, 54, 50, 0.1);
    transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.25s;
}
.home-cta-primary:active { transform: scale(0.98); }
.home-cta-label {
    font-family: "Noto Serif SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", serif;
}
.progress-shell {
    height: 2px;
    border-radius: 9999px;
    background: rgba(58, 54, 50, 0.08);
    overflow: hidden;
    margin: 0 1.5rem 0;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}
.sheet-surface {
    background: linear-gradient(180deg, #f8f6f2 0%, #f0ebe3 100%);
}
.sheet-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 184, 150, 0.18);
    border-radius: 1rem;
    padding: 1rem 1.05rem;
    box-shadow: 0 2px 16px rgba(45, 42, 38, 0.04);
}
.sheet-card-muted {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(198, 184, 150, 0.12);
}
.sheet-h {
    font-family: "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.28em;
    color: rgba(168, 152, 114, 0.95);
    margin-bottom: 0.65rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(198, 184, 150, 0.14);
}
.sheet-prose {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(45, 42, 38, 0.82);
}
.sheet-prose-sm {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(45, 42, 38, 0.68);
}
.sheet-label {
    font-size: 14px;
    letter-spacing: 0.12em;
    color: rgba(45, 42, 38, 0.38);
    margin-bottom: 0.2rem;
}
.sheet-kv-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(198, 184, 150, 0.1);
}
.sheet-kv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.sheet-kv-k {
    flex: 0 0 auto;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: rgba(45, 42, 38, 0.4);
    min-width: 4.5rem;
}
.sheet-kv-v {
    flex: 1 1 8rem;
    font-family: "Noto Serif SC", serif;
    font-size: 14px;
    color: rgba(45, 42, 38, 0.88);
}
.trj-tech-details > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: rgba(45, 42, 38, 0.35);
    padding: 0.15rem 0;
}
.trj-tech-details > summary::-webkit-details-marker { display: none; }
.trj-tech-details[open] > summary { margin-bottom: 0.35rem; }
.intro-section-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(198, 184, 150, 0.14);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
}
.mine-form-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(198, 184, 150, 0.16);
    border-radius: 1rem;
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 2px 12px rgba(45, 42, 38, 0.03);
}
/* 动爻与静爻区分（避免仅靠 pulse 与静爻同色看不清） */
.hex-yao-seg {
    height: 6px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(58,54,50,0.08);
}
.hex-yao-rest {
    background: linear-gradient(180deg, rgba(120,112,100,0.72), rgba(110,102,90,0.65));
}
.hex-yao-move {
    height: 7px;
    background: linear-gradient(180deg, #3a3632, #2d2a26);
    box-shadow: 0 0 0 1px rgba(245,242,236,0.45), 0 0 8px rgba(58,54,50,0.2);
    animation: hexYaoPulse 3.6s ease-in-out infinite;
}
@keyframes hexYaoPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.88; }
}

/* —— 心经诵经唱片：逐字呈现 —— */
#sutraLineWrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity .3s ease;
    pointer-events: none;
}
#sutraLine {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: .14rem .36rem;
    padding: 1rem 0.7rem;
    max-width: 9.4rem;
    min-height: 5.5rem;
}
.sutra-char {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 20px;
    color: rgba(58, 54, 50, 0.40);
    line-height: 1.55;
    transition: transform .32s cubic-bezier(.34, 1.45, .5, 1), color .3s ease, text-shadow .3s ease;
}
.sutra-char.current {
    color: #a03028;
    transform: scale(1.5);
    text-shadow: 0 0 16px rgba(198, 184, 150, 0.7);
}

/* —— 长按蓄力（蓄）：光环内收、盘面下沉、字淡出 —— */
#discContainer {
    transition: transform .35s cubic-bezier(.32, .72, 0, 1);
    touch-action: pan-x pan-y;
}
#discContainer.disc-charging {
    transform: scale(0.93);
}
#discContainer.disc-charging #sutraLineWrap {
    opacity: 0;
}
.charge-core {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, rgba(198, 184, 150, 0.38), transparent 62%);
}
.charge-halo {
    position: absolute;
    inset: -9px;
    border-radius: 9999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
    background: conic-gradient(from 0deg,
        rgba(198, 184, 150, 0) 0deg, rgba(198, 184, 150, 0.55) 42deg, rgba(198, 184, 150, 0) 84deg,
        rgba(198, 184, 150, 0) 172deg, rgba(168, 152, 114, 0.45) 214deg, rgba(198, 184, 150, 0) 258deg);
    -webkit-mask: radial-gradient(farthest-side, transparent 65%, #000 67%);
    mask: radial-gradient(farthest-side, transparent 65%, #000 67%);
}
#discContainer.disc-charging .charge-halo {
    opacity: 1;
    animation: chargeSpin 1.15s linear infinite;
}
#discContainer.disc-charging .charge-core {
    opacity: 1;
    animation: chargePulse 1.15s ease-in-out infinite;
}
@keyframes chargeSpin {
    to { transform: rotate(360deg); }
}
@keyframes chargePulse {
    0%, 100% { transform: scale(0.82); opacity: 0.45; }
    50% { transform: scale(1.06); opacity: 0.95; }
}
/* 蓄满：签筒将启，盘面微震 */
#discContainer.charge-full {
    animation: discShake 0.09s linear infinite;
}
@keyframes discShake {
    0% { transform: scale(0.93) translate(0, 0); }
    25% { transform: scale(0.93) translate(0.6px, -0.4px); }
    50% { transform: scale(0.93) translate(-0.5px, 0.5px); }
    75% { transform: scale(0.93) translate(0.4px, 0.4px); }
    100% { transform: scale(0.93) translate(0, 0); }
}
.charge-hint {
    position: absolute;
    left: 50%;
    bottom: -2.7rem;
    transform: translateX(-50%);
    font-family: "Noto Serif SC", serif;
    font-size: 14px;
    letter-spacing: 0.3em;
    color: rgba(138, 118, 72, 0);
    white-space: nowrap;
    transition: color 0.3s ease;
    pointer-events: none;
    z-index: 11;
}
#discContainer.disc-charging .charge-hint {
    color: rgba(138, 118, 72, 0.88);
}
/* 发：松开签出，盘面回弹绽放 */
#discContainer.disc-burst {
    animation: discBurst 0.62s cubic-bezier(0.34, 1.56, 0.5, 1);
}
@keyframes discBurst {
    0% { transform: scale(0.93); }
    55% { transform: scale(1.045); }
    100% { transform: scale(1); }
}
/* v65 月轮化筒：蓄满松手——月轮微沉并暗下去，签筒自月中升起，仪式暗场里同一只筒接住 */
#discContainer.disc-morph {
    transform: scale(0.9);
    transition: transform 0.55s cubic-bezier(0.3, 0.9, 0.35, 1);
}
/* 化筒期间经文保持隐去（松手已撤 disc-charging，需接力隐藏） */
#discContainer.disc-morph #sutraLineWrap { opacity: 0; }
.morph-veil {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: radial-gradient(circle at 50% 46%, rgba(38, 30, 22, 0.62), rgba(38, 30, 22, 0.28) 72%, rgba(38, 30, 22, 0.12));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 11;
}
#discContainer.disc-morph .morph-veil { opacity: 1; }
.morph-tube {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 132px;
    height: 210px;
    transform: translate(-50%, -50%) scale(0.24) translateY(30px);
    opacity: 0;
    pointer-events: none;
    z-index: 12;
    transition: transform 0.58s cubic-bezier(0.3, 0.9, 0.35, 1), opacity 0.4s ease;
    filter: drop-shadow(0 0 18px rgba(224, 206, 158, 0.35));
}
#discContainer.disc-morph .morph-tube {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.62) translateY(-6px);
}

/* —— 诵经进度环：播放时唱片外圈点亮，随诵经进度推进 —— */
.sutra-progress-ring {
    position: absolute;
    inset: -15px;
    border-radius: 9999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: conic-gradient(from -90deg, rgba(168, 152, 114, 0.9) calc(var(--sutra-pct, 0) * 1%), rgba(198, 184, 150, 0.14) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent 71%, #000 72%);
    mask: radial-gradient(farthest-side, transparent 71%, #000 72%);
}
#discContainer.is-playing .sutra-progress-ring {
    opacity: 1;
}
.sutra-playing-dot {
    position: absolute;
    top: -19px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 9999px;
    background: #a89872;
    box-shadow: 0 0 8px rgba(168, 152, 114, 0.8);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
#discContainer.is-playing .sutra-playing-dot {
    opacity: 1;
    animation: sutraDotPulse 2.2s ease-in-out infinite;
}
@keyframes sutraDotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

/* —— 观音灵签卡 —— */
/* 注意：HTML 初始带 .hidden(display:none)，此处不可写 display，否则 ID 优先级会压过 .hidden 导致遮罩常驻拦截点击 */
#lotBackdrop:not(.hidden) {
    display: flex;
}
#lotBackdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
    /* v105 暖暮遮罩：供灯色温，边缘渐深（替代原冷灰平涂） */
    background: radial-gradient(135% 105% at 50% 32%, rgba(84, 64, 44, 0.52), rgba(32, 25, 19, 0.74));
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#lotBackdrop.is-open {
    opacity: 1;
}
/* v105 供灯光晕：签卡背后一团暖意，开卡时缓缓亮起 */
#lotBackdrop::before {
    content: '';
    position: absolute;
    left: 50%; top: 42%;
    width: 135vw; height: 135vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(219, 181, 122, 0.2), rgba(219, 181, 122, 0.05) 45%, transparent 62%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.9s ease 0.15s;
}
#lotBackdrop.is-open::before { opacity: 1; }
.lot-card {
    position: relative; /* v105 浮于光晕之上 */
    z-index: 1;
    width: 100%;
    max-width: 22rem;
    max-height: 82vh;
    overflow-y: auto;
    background: linear-gradient(168deg, #fffdf8, #f6f1e6);
    border: 1px solid rgba(198, 184, 150, 0.38);
    border-radius: 1.1rem;
    box-shadow: 0 24px 64px rgba(20, 14, 10, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 1.5rem 1.4rem 1.2rem;
    transform-origin: center 42%;
    transform: translateY(8px) scale(0.94);
    opacity: 0;
    outline: none; /* 对话框 focus() 不渲染浏览器默认焦点框（同 #askRitual 修复） */
    transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.3, 1), opacity 0.4s ease;
}
#lotBackdrop.is-open .lot-card {
    transform: none;
    opacity: 1;
}
.lot-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}
.lot-seal {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(138, 118, 72, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: radial-gradient(circle at 50% 40%, rgba(198, 184, 150, 0.2), transparent 72%);
}
.lot-seal-num {
    font-family: "Noto Serif SC", serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8a7648;
}
.lot-seal-lv {
    font-size: 13px;
    letter-spacing: 0.14em;
    margin-top: 2px;
}
.lot-lv-up { color: #8a7648; }
.lot-lv-mid { color: #7c766b; }
.lot-lv-down { color: #9a5b4c; }
.lot-title {
    font-family: "Noto Serif SC", serif;
    font-size: 1.05rem;
    color: #2D2A26;
    letter-spacing: 0.1em;
}
.lot-level {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: rgba(45, 42, 38, 0.45);
    margin-top: 0.3rem;
}
.lot-poem {
    font-family: "Noto Serif SC", serif;
    font-size: 0.95rem;
    line-height: 2.15;
    color: rgba(45, 42, 38, 0.86);
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-top: 1px solid rgba(198, 184, 150, 0.28);
    border-bottom: 1px solid rgba(198, 184, 150, 0.28);
    margin-bottom: 0.9rem;
}
.lot-reveal-line {
    opacity: 0;
    transform: translateY(6px);
    animation: lotLineIn 0.5s ease forwards;
}
@keyframes lotLineIn {
    to { opacity: 1; transform: none; }
}
.lot-jie {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(45, 42, 38, 0.62);
}
/* 偈语：四字短语签条 */
.lot-jisong {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 0.85rem;
}
.lot-jisong span {
    display: inline-block;
    border: 1px solid rgba(138, 118, 72, 0.4);
    border-radius: 5px;
    font-size: 15px;
    font-family: "Noto Serif SC", serif;
    color: rgba(138, 118, 72, 0.9);
    padding: 1px 9px;
    letter-spacing: 0.08em;
}
/* 典故：签引一行的来龙去脉 */
.lot-story {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(45, 42, 38, 0.72);
    border-left: 2px solid rgba(160, 48, 40, 0.45);
    padding: 2px 0 2px 10px;
    margin-bottom: 0.85rem;
}
.lot-story b {
    font-family: "Noto Serif SC", serif;
    color: rgba(160, 48, 40, 0.85);
    font-weight: 600;
}
/* 仙机精选分项 */
.lot-xian {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-top: 0.9rem;
}
.lot-xian:empty {
    display: none;
}
/* 应期 */
.lot-when {
    margin-top: 0.9rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(198, 184, 150, 0.35);
    font-size: 14.5px;
    letter-spacing: 0.06em;
    line-height: 1.8;
    color: rgba(45, 42, 38, 0.48);
    text-align: center;
}
.lot-when b {
    color: rgba(138, 118, 72, 0.9);
    font-weight: 500;
}
.lot-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-top: 0.9rem;
}
.lot-cat {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(198, 184, 150, 0.2);
    border-radius: 0.6rem;
    padding: 0.5rem 0.6rem;
}
.lot-cat-k {
    font-size: 13.5px;
    letter-spacing: 0.22em;
    color: rgba(168, 152, 114, 0.95);
    margin-bottom: 0.25rem;
}
.lot-cat-v {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(45, 42, 38, 0.72);
}
.lot-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.1rem;
}
.lot-btn {
    flex: 1;
    padding: 0.65rem 0;
    border-radius: 0.7rem;
    font-family: "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.14em;
}
.lot-btn-primary {
    background: rgba(58, 54, 50, 0.85);
    color: #f5f2ec;
}
.lot-btn-ghost {
    border: 1px solid rgba(124, 118, 107, 0.3);
    color: rgba(45, 42, 38, 0.65);
}

/* ===== 雅化层 v3：纸感 · 悬镜 · 签纸 ===== */

/* —— 纸面基底：纸色 + 经文水印 + 四角暗角 —— */
body {
    background-color: #f7f4ed;
    font-family: "Noto Serif SC", "Songti SC", serif;
}
body::before {
    content: "观自在菩萨 · 行深般若波罗蜜多时 · 照见五蕴皆空";
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.9em;
    color: rgba(45, 42, 38, 0.028);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(58, 54, 50, 0.06) 100%);
    pointer-events: none;
    z-index: 1;
}

/* —— 悬镜：宣纸月轮，暖白圆底 —— */
.ink-well {
    position: absolute;
    inset: 1.2%;
    border-radius: 9999px;
    background: radial-gradient(circle at 50% 38%, #fdfaf3 0%, #f6f1e4 56%, #ece3d0 100%);
    border: 1px solid rgba(198, 184, 150, 0.42);
    box-shadow: 0 22px 55px rgba(58, 54, 50, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -14px 34px rgba(198, 184, 150, 0.22);
    pointer-events: none;
}
/* 月相阴影层：覆于月面之上、刻度之下，evenodd 扣出亮部 */
.moon-phase {
    position: absolute;
    inset: 1.2%;
    border-radius: 9999px;
    overflow: hidden;
    pointer-events: none;
}
.moon-phase svg {
    width: 100%;
    height: 100%;
    display: block;
}
.disc-ticks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.disc-ticks svg {
    width: 100%;
    height: 100%;
    display: block;
}
.home-ambient {
    background: radial-gradient(circle at 50% 45%, rgba(214, 201, 154, 0.3), transparent 60%);
}
.home-ambient-ring {
    opacity: 0.9;
}

/* —— 盘面宣纸化：墨字浮上，当前字朱砂 —— */
#discContainer {
    background: radial-gradient(circle at 50% 38%, #fbf7ee, #f1ebdc 80%);
    border-color: rgba(198, 184, 150, 0.42);
    box-shadow: 0 12px 32px rgba(58, 54, 50, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.88), inset 0 -12px 26px rgba(198, 184, 150, 0.18);
}
.sutra-char {
    color: rgba(45, 42, 38, 0.32);
}
.sutra-char.current {
    color: #a03028;
    transform: scale(1.5) translateY(-1px);
    text-shadow: 0 0 18px rgba(198, 184, 150, 0.8), 0 1px 2px rgba(160, 48, 40, 0.25);
    transition-duration: 0.6s;
}
/* 写经留痕：诵过的字留淡朱砂余温 */
.sutra-char.done {
    color: rgba(160, 48, 40, 0.30);
    text-shadow: 0 0 10px rgba(198, 184, 150, 0.35);
    transition-duration: 0.8s;
}
#discContainer.is-playing .sutra-progress-ring {
    filter: drop-shadow(0 0 5px rgba(168, 152, 114, 0.4));
}
#spinRing {
    border-color: rgba(198, 184, 150, 0.35);
}
.sutra-playing-dot {
    background: #a89872;
    box-shadow: 0 0 9px rgba(168, 152, 114, 0.9);
}
.charge-hint {
    color: rgba(138, 118, 72, 0);
}
#discContainer.disc-charging .charge-hint {
    color: rgba(236, 223, 178, 0.92);
}

/* —— 签纸：竹纸直角 + 顶部朱砂线 —— */
.lot-card {
    background: linear-gradient(172deg, #fbf8f1, #f3edde);
    border: 1px solid rgba(160, 48, 40, 0.1);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(45, 42, 38, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    position: relative;
    padding-top: 1.7rem;
}
.lot-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(160, 48, 40, 0.55), transparent);
}

/* —— 竖排签诗（右起一列一句，文楷）—— */
.lot-poem {
    writing-mode: vertical-rl;
    margin: 0 auto 1rem;
    padding: 0.6rem 0;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 17px;
    line-height: 2.15;
    letter-spacing: 0.16em;
    color: rgba(31, 28, 25, 0.88);
    border: none;
}
.lot-poem .lot-reveal-line {
    display: block;
}

/* —— 墨晕揭示：慢、匀、有余韵 —— */
.lot-reveal-line {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(4px);
    animation: lotInkIn 1s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
}
@keyframes lotInkIn {
    to { opacity: 1; filter: blur(0); transform: none; }
}

/* —— 方形朱印 —— */
.lot-seal {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 4px;
    border: none;
    background: linear-gradient(160deg, #a93528, #8e271c);
    box-shadow: inset 0 0 8px rgba(80, 12, 8, 0.55), 0 3px 10px rgba(160, 48, 40, 0.28);
    color: #f6efe4;
}
.lot-seal-num {
    writing-mode: vertical-rl;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    color: #f6efe4;
}
.lot-seal-lv { display: none; }
/* 盖章：朱印自上方落纸，留一分手盖的斜度 */
@keyframes sealStamp {
    0% { transform: scale(1.9) rotate(-10deg); opacity: 0; }
    55% { transform: scale(0.92) rotate(-3.5deg); opacity: 1; }
    75% { transform: scale(1.05) rotate(-4.5deg); }
    100% { transform: scale(1) rotate(-4deg); opacity: 1; }
}
.lot-seal.stamp {
    animation: sealStamp 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) 0.35s both;
}
.lot-lv-up { color: #8a7648; }
.lot-lv-mid { color: #7c766b; }
.lot-lv-down { color: #a03028; }

/* —— 全文雅化细节 —— */
.lot-title {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-weight: 600;
}
.lot-jisong span {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    border-color: rgba(138, 118, 72, 0.45);
}
.lot-story {
    border-left-color: rgba(160, 48, 40, 0.5);
}
.lot-story b {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
}
.lot-cat-k {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
}
#lotSpeakBtn, .lot-btn {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
}

/* —— 问事：五问行式（v46 大幅优化，hairline 经折风） —— */
.ask-scen {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 1.1rem 0.4rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(45, 42, 38, 0.10);
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease;
}
.ask-scen:first-child { border-top: 1px solid rgba(45, 42, 38, 0.10); }
.ask-scen-k {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 17px;
    color: rgba(45, 42, 38, 0.88);
    letter-spacing: 0.2em;
    min-width: 4.5em;
    transition: color 0.25s ease;
}
.ask-scen-d {
    flex: 1;
    font-size: 15px;
    color: rgba(45, 42, 38, 0.64);
    letter-spacing: 0.05em;
    line-height: 1.7;
    transition: color 0.25s ease;
}
/* 选中圆印：未选为淡墨圈，选中落朱砂 */
.ask-scen-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(45, 42, 38, 0.22);
    background: transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ask-scen.sel {
    background: linear-gradient(90deg, rgba(151, 74, 62, 0.07), transparent 62%);
}
.ask-scen.sel .ask-scen-k { color: #974A3E; }
.ask-scen.sel .ask-scen-d { color: rgba(45, 42, 38, 0.66); }
.ask-scen.sel .ask-scen-dot {
    background: #974A3E;
    border-color: #974A3E;
    box-shadow: 0 0 0 3px rgba(151, 74, 62, 0.15);
}
/* 进行中事项区隔标 + 所问输入 */
.ask-sec-label {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px;
    letter-spacing: 0.4em;
    color: rgba(45, 42, 38, 0.4);
    text-align: center;
    margin-bottom: 0.4rem;
}
#askQInput {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(45, 42, 38, 0.12);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: #2D2A26;
    outline: none;
    transition: border-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}
#askQInput:focus { border-color: rgba(151, 74, 62, 0.45); }
#askQInput::placeholder { color: rgba(123, 116, 105, 0.55); letter-spacing: 0.1em; }
/* 求签 CTA 呼吸（选中态） */
@keyframes ask-cta-breathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(151, 74, 62, 0.0); }
    50% { box-shadow: 0 6px 22px rgba(151, 74, 62, 0.32); }
}
#askDrawBtn.armed { animation: ask-cta-breathe 2.8s ease-in-out infinite; }

/* —— v47 大事问：问事页 Matter 系统（正在经历 / ¥99 行式入口 / 建档 composer）—— */
/* v52：正在经历从「两行线框文字」升级为宣纸卡片，与签筒中心形成层次 */
.ask-current {
    width: 100%; max-width: 380px; margin: 1.7rem auto 0;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(198, 184, 150, 0.38);
    border-radius: 16px;
    padding: 0.85rem 1rem 1.05rem;
    box-shadow: 0 2px 14px rgba(45, 42, 38, 0.05), inset 0 1px 0 rgba(255, 253, 248, 0.8);
}
.ask-current-q {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px; color: #2D2A26; text-align: center;
    letter-spacing: 0.06em; line-height: 1.7;
}
.ask-current-meta { text-align: center; font-size: 14px; color: rgba(45, 42, 38, 0.45); letter-spacing: 0.18em; margin-top: 4px; }
.ask-current-link { display: block; margin: 10px auto 0; text-align: center; font-size: 15px; letter-spacing: 0.22em; color: #974A3E; text-decoration: none; }
.ask-dsw-entry {
    width: 100%; max-width: 380px; margin: 1.6rem auto 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 0.2rem; cursor: pointer; touch-action: manipulation;
    background: none; border: none; border-bottom: 1px solid rgba(45, 42, 38, 0.08);
}
.ask-dsw-entry:active { opacity: 0.7; }
.ask-dsw-l { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.ask-dsw-t { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px; letter-spacing: 0.24em; color: #2D2A26; }
.ask-dsw-d { font-size: 14px; letter-spacing: 0.12em; color: rgba(45, 42, 38, 0.5); }
.ask-dsw-p { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px; color: #974A3E; letter-spacing: 0.1em; }
.ask-dsw-box { width: 100%; max-width: 380px; margin: 0.8rem auto 0; }
.ask-dsw-box textarea {
    width: 100%; min-height: 76px; background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(45, 42, 38, 0.12); border-radius: 12px;
    padding: 0.8rem 1rem; font-size: 16px; letter-spacing: 0.05em; color: #2D2A26;
    outline: none; resize: none; font-family: "LXGW WenKai", "Noto Serif SC", serif;
    -webkit-tap-highlight-color: transparent;
}
.ask-dsw-box textarea:focus { border-color: rgba(151, 74, 62, 0.45); }
.ask-dsw-actions { display: flex; gap: 10px; margin-top: 10px; align-items: center; }
.ask-dsw-go {
    flex: 1; padding: 0.85rem 0; border-radius: 12px; border: none;
    background: #974A3E; color: #f5f2ec; font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px; letter-spacing: 0.3em; cursor: pointer; touch-action: manipulation;
}
.ask-dsw-go:disabled { opacity: 0.6; }
.ask-dsw-cancel { padding: 0.85rem 0.6rem; background: none; border: none; color: rgba(45, 42, 38, 0.45); font-size: 15px; letter-spacing: 0.2em; cursor: pointer; }
/* v99 主按钮随内容布局：签筒下方、页面流内，不再固定于导航上方；v103 精修质感 */
#askDrawBtn {
    display: block; width: 100%; max-width: 340px; margin: 1.6rem auto 0; padding: 1.02rem 0;
    border: none; border-radius: 999px;
    background: linear-gradient(135deg, #a5503f 0%, #8f453a 100%);
    color: #FCFAF5;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14.5px; letter-spacing: 0.38em; text-indent: 0.38em;
    cursor: pointer; touch-action: manipulation;
    box-shadow: 0 10px 26px rgba(151, 74, 62, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
#askDrawBtn:active { transform: scale(0.98); }
/* v49 渐进展开：选中后问项收束为一行，原位展开所问 */
#askScenGrid.collapsed { display: none; }
.ask-selection {
    width: 100%; max-width: 340px; margin: 1.6rem auto 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 0.2rem; border-top: 1px solid rgba(45, 42, 38, 0.1);
    border-bottom: 1px solid rgba(45, 42, 38, 0.1);
}
.ask-selection-main { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px; color: #2D2A26; }
.ask-selection-main b { color: #974A3E; font-weight: 500; margin-left: 0.45rem; }
.ask-selection-change {
    min-width: 52px; min-height: 44px; border: 0; background: transparent; color: #974A3E;
    font-size: 15px; letter-spacing: 0.12em; cursor: pointer;
}
.ask-qpanel {
    width: 100%; max-width: 340px; margin: 1.1rem auto 0;
    text-align: center;
    animation: askQpIn 0.32s ease both;
}
@keyframes askQpIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ask-qp-label {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px; letter-spacing: 0.08em; color: rgba(45, 42, 38, 0.82);
    margin-bottom: 0.7rem;
    text-align: left;
}
.ask-qpanel #askQInput { border-radius: 12px; text-align: left; min-height: 48px; font-size: 16px; }
.ask-qp-eg {
    margin-top: 0.55rem; font-size: 15px; letter-spacing: 0.02em;
    color: rgba(45, 42, 38, 0.58); text-align: left;
}
.ask-qmeta { display:flex; justify-content:space-between; gap:1rem; margin-top:0.55rem; font-size: 15px; color:rgba(45,42,38,.62); }
.ask-one-note { max-width:340px; margin:1rem auto 0; text-align:center; font-size: 15px; color:rgba(45,42,38,.62); line-height:1.6; }
/* —— v52 问事页仪式中心：观音签筒（与首页月轮同一套纸/墨/朱砂语言）—— */
.ask-oracle-wrap { margin: 2.1rem auto 0; text-align: center; animation: zenBreath 6.8s ease-in-out infinite; transform-origin: center 46%; }
.ask-oracle {
    position: relative; width: 192px; height: 192px; margin: 0 auto;
    border-radius: 9999px;
    cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent; outline: none;
    transition: transform 0.14s ease;
}
.ask-oracle:active { transform: scale(0.95); }
.ask-oracle:focus-visible { box-shadow: 0 0 0 2.5px rgba(151,74,62,0.42); }
/* v99 去圆盘：宣纸肌理与金色光环随底座一并撤下，签筒直接落在纸色空间里 */
.ask-oracle::before { content: none; }
/* 轻落地阴影：签筒之下一小片影，替原浮起圆盘 */
.ask-oracle::after {
    content: ''; position: absolute; left: 50%; bottom: 30px; width: 92px; height: 13px;
    transform: translateX(-50%); border-radius: 50%; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(45, 42, 38, 0.10), transparent 70%);
}
.ao-halo { display: none; }
/* 签枝：七枝竹签自筒口散开，高低略有参差（v99 去机械对称） */
.ao-sticks { position: absolute; left: 50%; bottom: 108px; width: 0; height: 0; transform-origin: 0 26px; animation: aoSway 5.2s ease-in-out infinite; z-index: 1; }
.ao-sticks i {
    position: absolute; bottom: 0; left: -2.5px; width: 5px; height: 52px; border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #e9dbb2, #c7ad76);
    box-shadow: inset -1px 0 1px rgba(90, 60, 30, 0.35);
    transform-origin: 50% 100%;
}
.ao-sticks i:nth-child(1) { transform: rotate(-26deg); height: 38px; }
.ao-sticks i:nth-child(2) { transform: rotate(-17deg); height: 45px; }
.ao-sticks i:nth-child(3) { transform: rotate(-8.5deg); height: 49px; }
.ao-sticks i:nth-child(4) { transform: rotate(0deg); height: 54px; }
.ao-sticks i:nth-child(5) { transform: rotate(8.5deg); height: 50px; }
.ao-sticks i:nth-child(6) { transform: rotate(17deg); height: 44px; }
.ao-sticks i:nth-child(7) { transform: rotate(26deg); height: 40px; }
.ao-sticks i.ao-red {
    height: 58px;
    background: linear-gradient(180deg, #974A3E 0%, #974A3E 7px, #e9dbb2 7px, #c7ad76 100%);
}
@keyframes aoSway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
/* 签筒：竹木筒身 + 深邃筒口 + 朱砂箍线（v64 与仪式筒同一骨相） */
.ao-tube {
    position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%);
    width: 64px; height: 66px; border-radius: 9px 9px 14px 14px; z-index: 2;
    background:
        repeating-linear-gradient(90deg, rgba(74, 60, 36, 0.05) 0 2px, rgba(0, 0, 0, 0) 2px 7px),
        linear-gradient(150deg, #DCCDA8 0%, #C7B48B 45%, #AD9B72 100%);
    box-shadow:
        inset 0 2px 3px rgba(255, 250, 238, 0.55),
        inset 0 -4px 6px rgba(74, 60, 36, 0.26),
        0 3px 6px rgba(45, 42, 38, 0.12);
}
/* 深邃筒口：与仪式筒同一块「看不见底」的暗，签枝没入其中 */
.ao-mouth {
    position: absolute; top: 3px; left: 50%; transform: translateX(-50%);
    width: 52px; height: 15px; border-radius: 50%;
    background: radial-gradient(ellipse at 50% 42%, #17110b 0%, #2c2014 78%);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.55), 0 0.5px 0 rgba(255, 250, 238, 0.4);
}
.ao-band { position: absolute; top: 22px; left: 0; right: 0; height: 2.5px; background: rgba(151, 74, 62, 0.42); box-shadow: 0 0.5px 0 rgba(255, 250, 238, 0.35); }
/* v65 筒口微光：深邃筒口深处一点暖光，随盘面 6.8s 呼吸同频明灭——筒是活的 */
.ao-mouth::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 58%;
    width: 26px;
    height: 7px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(216, 178, 110, 0.28) 0%, rgba(216, 178, 110, 0) 70%);
    animation: mouthBreath 6.8s ease-in-out infinite;
}
@keyframes mouthBreath { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.85; } }
/* v99 朱砂小印「签」：融入筒身右缘，像钤在竹筒上，不再悬浮角标 */
.ao-seal {
    position: absolute; right: calc(50% - 42px); bottom: 60px; width: 21px; height: 21px;
    background: #974A3E; border-radius: 2px; transform: rotate(-3deg);
    display: grid; place-items: center;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-weight: 700; font-size: 15px; color: #FCFAF5;
    box-shadow: inset 0 0 0 0.5px rgba(252, 250, 245, 0.28), inset 0 -1px 1px rgba(80, 12, 8, 0.30);
}
.ask-oracle-hint { margin-top: 0.9rem; font-size: 15px; letter-spacing: 0.34em; text-indent: 0.34em; color: rgba(138, 118, 72, 0.72); }
/* v64 一筒到底：页筒摇响后放大渐隐，仪式暗场里「同一只筒」接住 */
.ask-oracle-wrap.ao-leaving {
    animation: none;
    transition: transform 0.42s ease, opacity 0.42s ease;
    transform: scale(1.12) translateY(-6px);
    opacity: 0;
}
/* 轻触：筒身签枝一齐摇响半秒 */
.ask-oracle.ao-shaking .ao-tube, .ask-oracle.ao-shaking .ao-sticks { animation: aoRattle 0.085s linear infinite; }
@keyframes aoRattle {
    0% { margin-left: 0; } 25% { margin-left: 1.6px; } 50% { margin-left: -1.4px; } 75% { margin-left: 1px; } 100% { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ask-oracle-wrap, .ao-halo, .ao-sticks { animation: none; }
    .ao-mouth::after { animation: none; }
    .ask-oracle.ao-shaking .ao-tube, .ask-oracle.ao-shaking .ao-sticks { animation: none; }
}
/* —— v66 问事页布局（v99 修订）：头在上，器物+说明+主按钮为一组整体居中 —— */
.ask-main { padding-top: 0; min-height: 100%; }
.ask-head { padding-top: 1.4rem; }
.ask-body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ask-stage { display: block; padding: 0.6rem 0; }
.ask-stage .ask-oracle-wrap { margin-top: 0; flex: none; }
/* v49 上次问的事：第二循环（继续问 / 已有变化 / 已结束） */
.ask-follow { margin-top: 4px; }
.ask-follow-q {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px; color: #2D2A26; text-align: center; letter-spacing: 0.05em; line-height: 1.7;
}
.ask-follow-how { text-align: center; font-size: 15px; color: rgba(45, 42, 38, 0.45); letter-spacing: 0.2em; margin-top: 3px; }
/* v66 三动作文字链：收紧间距、不折行 */
.ask-follow-acts { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.ask-follow-acts button {
    background: none; border: none; padding: 6px 4px;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px; letter-spacing: 0.06em;
    color: rgba(45, 42, 38, 0.62); cursor: pointer; touch-action: manipulation;
    border-bottom: 1px solid rgba(198, 184, 150, 0.45);
    white-space: nowrap;
}
/* v66 研判报告：整宽朱砂描边主按钮，从文字链里独立出来（付费转化点） */
.ask-follow-report {
    display: block; width: 100%; margin-top: 12px; padding: 0.62rem 0 0.56rem;
    border: 1px solid rgba(151, 74, 62, 0.45); border-radius: 999px;
    background: rgba(151, 74, 62, 0.06); color: #974A3E;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px; letter-spacing: 0.2em; text-indent: 0.2em;
    cursor: pointer; touch-action: manipulation;
}
.ask-follow-report:active { background: rgba(151, 74, 62, 0.13); }
.ask-follow-acts button.af-primary { color: #974A3E; border-bottom-color: rgba(151, 74, 62, 0.5); }
.ask-follow-acts button:active { opacity: 0.65; }
/* v99 一行切换 · 三法平级 */
.ask-head-sub { text-align: center; font-size: 13px; letter-spacing: 0.14em; color: rgba(45, 42, 38, 0.42); margin-top: 6px; }
.ask-switch {
    display: flex; justify-content: center; gap: 2px; align-self: center;
    margin: 1.2rem auto 0; padding: 3px;
    border-radius: 999px; border: 1px solid rgba(198, 184, 150, 0.35);
    background: rgba(255, 253, 248, 0.72);
}
.ask-switch button {
    border: none; background: none; padding: 6px 20px; border-radius: 999px;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px; letter-spacing: 0.15em; text-indent: 0.15em;
    color: rgba(45, 42, 38, 0.5); cursor: pointer; touch-action: manipulation;
    -webkit-tap-highlight-color: transparent; transition: background 0.18s ease, color 0.18s ease;
}
.ask-switch button.on { background: #974A3E; color: #FCFAF5; }
.ask-pane { display: none; }
.ask-pane.on { display: block; animation: askPaneIn 0.3s ease both; }
@keyframes askPaneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ask-pane-note { text-align: center; font-size: 12.5px; letter-spacing: 0.08em; color: rgba(45, 42, 38, 0.45); margin-top: 0.4rem; }
/* —— v101 三法统一内嵌结果面板：纸卡语言与签卡一致，排盘/卦相 + 初步解读 + 深入付费 —— */
.ask-body.has-result { justify-content: flex-start; }
.ask-result { width: 100%; margin-top: 0.5rem; animation: askPaneIn 0.35s ease both; }
.ar-card {
    width: 100%;
    background: linear-gradient(168deg, #fffdf8, #f6f1e6);
    border: 1px solid rgba(198, 184, 150, 0.38);
    border-radius: 1rem;
    box-shadow: 0 14px 40px rgba(45, 42, 38, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 1.05rem 1.1rem 1rem;
}
.ar-head { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.8rem; }
.ar-tag {
    flex: none; padding: 3px 10px; border-radius: 999px; margin-top: 3px;
    background: rgba(151, 74, 62, 0.09); box-shadow: inset 0 0 0 0.8px rgba(151, 74, 62, 0.4);
    font-size: 11px; letter-spacing: 0.14em; color: #974A3E; white-space: nowrap;
}
.ar-head-t { min-width: 0; flex: 1; }
.ar-title {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 17.5px; letter-spacing: 0.06em; color: #2D2A26; line-height: 1.5;
}
.ar-sub { font-size: 11.5px; letter-spacing: 0.05em; color: rgba(45, 42, 38, 0.42); margin-top: 3px; }
.ar-body { min-width: 0; }
.ar-reading {
    margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed rgba(198, 184, 150, 0.5);
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 13.5px; line-height: 1.95; letter-spacing: 0.04em; color: rgba(45, 42, 38, 0.78);
}
.ar-acts { margin-top: 0.95rem; }
.ar-primary {
    display: block; width: 100%; padding: 12.5px 0; border: none; border-radius: 12px;
    background: #a03028; color: #fdfbf6;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14.5px;
    letter-spacing: 0.16em; text-indent: 0.16em; cursor: pointer; touch-action: manipulation;
    -webkit-tap-highlight-color: transparent; transition: opacity 0.14s ease;
}
.ar-primary:active { opacity: 0.75; }
.ar-acts2 { display: flex; justify-content: center; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.ar-ghost {
    background: none; border: none; padding: 5px 4px;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 13.5px; letter-spacing: 0.08em;
    color: rgba(45, 42, 38, 0.55); cursor: pointer; touch-action: manipulation;
    border-bottom: 1px solid rgba(198, 184, 150, 0.45);
    -webkit-tap-highlight-color: transparent;
}
.ar-ghost:active { opacity: 0.6; }
.ar-note { margin-top: 10px; text-align: center; font-size: 11.5px; letter-spacing: 0.07em; color: rgba(45, 42, 38, 0.38); line-height: 1.7; }
/* 求签：签号 + 等级 + 签诗 */
.ar-lot { text-align: center; padding: 0.15rem 0 0.05rem; }
.ar-lot-head { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.ar-lot-num { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 23px; color: #2D2A26; letter-spacing: 0.08em; }
.ar-lot-lv { font-size: 12px; letter-spacing: 0.12em; }
.ar-lot-sign { margin-top: 7px; font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px; color: rgba(45, 42, 38, 0.8); letter-spacing: 0.12em; }
.ar-lot-poem { margin-top: 10px; }
.ar-lot-poem p {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14.5px; line-height: 2.05; letter-spacing: 0.08em; color: #2D2A26;
}
/* 六爻：卦画与卦名并排，之卦横条 */
.ar-hex { display: flex; gap: 1.1rem; align-items: center; justify-content: center; }
.ar-hex .cast-hex-name { max-width: 11rem; }
.ar-changed {
    display: flex; align-items: center; gap: 0.8rem; margin-top: 0.85rem;
    padding: 0.55rem 0.85rem; border-radius: 10px; background: rgba(198, 184, 150, 0.14);
}
/* 奇门：局信息 + 紧凑九宫（复用 qpan 类，容器内略收紧） */
.ar-qm-meta { font-size: 12px; line-height: 1.85; letter-spacing: 0.03em; color: rgba(45, 42, 38, 0.62); margin-bottom: 0.6rem; }
.ar-qm-meta b { color: #2D2A26; font-weight: 600; }
.ar-body .qpan-grid { margin-top: 0.1rem; }
.ar-body .qpan-cell { padding: 6px 6px; cursor: default; }
.ar-body .qpan-cell .god { font-size: 11px; }
.ar-body .qpan-cell .star { font-size: 12.5px; }
.ar-body .qpan-cell .door { font-size: 14px; }
.ar-body .qpan-cell .r3 { font-size: 13px; margin-top: 3px; }
.ar-qm-loading { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 1.6rem 0 1.4rem; }
.ar-qm-loading p { font-size: 12.5px; letter-spacing: 0.14em; color: rgba(45, 42, 38, 0.45); }
/* —— v103 问事页氛围：头部饰线、暖光月晕、所问一句 —— */
.ask-main { position: relative; }
.ask-main::before {
    content: ''; position: absolute; left: 50%; top: 47%;
    width: min(96vw, 440px); height: min(96vw, 440px);
    transform: translate(-50%, -50%);
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle at center,
        rgba(198, 184, 150, 0.17) 0%,
        rgba(198, 184, 150, 0.07) 52%,
        transparent 72%);
}
.ask-head { position: relative; }
.ask-orn { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.ask-orn i { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, rgba(138, 118, 72, 0.5)); }
.ask-orn i:last-child { transform: scaleX(-1); }
.ask-orn b { width: 5px; height: 5px; transform: rotate(45deg); background: rgba(151, 74, 62, 0.55); }
.ask-qline { position: relative; width: 100%; max-width: 340px; margin: 1.15rem auto 0; }
.ask-qline .aq-tag {
    position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 13px;
    letter-spacing: 0.1em; color: rgba(151, 74, 62, 0.65); pointer-events: none;
}
.ask-qline input {
    width: 100%; border: none; border-bottom: 1px solid rgba(198, 184, 150, 0.55);
    background: none; outline: none; text-align: center;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 16px; letter-spacing: 0.08em; color: #2D2A26;
    padding: 0.6rem 1.5rem 0.65rem; caret-color: #974A3E;
    -webkit-tap-highlight-color: transparent;
}
.ask-qline input::placeholder { color: rgba(45, 42, 38, 0.28); letter-spacing: 0.06em; }
.ask-qline input:focus { border-bottom-color: rgba(151, 74, 62, 0.55); }
/* —— v104 结果分段浮现：头/盘/解读/操作/注脚依次升起 —— */
@keyframes arRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#askResult:not(.hidden) .ar-card > * { animation: arRise 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
#askResult:not(.hidden) .ar-card > *:nth-child(2) { animation-delay: 0.04s; }
#askResult:not(.hidden) .ar-card > *:nth-child(3) { animation-delay: 0.12s; }
#askResult:not(.hidden) .ar-card > *:nth-child(4) { animation-delay: 0.2s; }
#askResult:not(.hidden) .ar-card > *:nth-child(5) { animation-delay: 0.28s; }
/* v104 数字格聚焦：金边加深 + 暖光，报数时知道落在哪一格 */
.cn-slot { transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.cn-slot:focus-within {
    border-color: rgba(138, 118, 72, 0.75);
    box-shadow: 0 8px 22px rgba(45, 42, 38, 0.1), 0 0 0 3px rgba(198, 184, 150, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
/* —— v102 报数起卦：三个数字格 —— */
.cast-nums { display: flex; justify-content: center; gap: 14px; }
.cn-slot {
    width: 74px; height: 92px; border-radius: 14px;
    background: linear-gradient(168deg, #fffdf8, #f6f1e6);
    border: 1px solid rgba(198, 184, 150, 0.45);
    box-shadow: 0 8px 22px rgba(45, 42, 38, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex; align-items: center; justify-content: center;
}
.cn-slot input {
    width: 100%; border: none; background: none; outline: none; text-align: center;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 30px; color: #2D2A26;
    caret-color: #974A3E; -webkit-tap-highlight-color: transparent;
}
.cn-slot input::placeholder { color: rgba(45, 42, 38, 0.16); }
.cast-nums.shaking .cn-slot { animation: cnShake 0.13s linear infinite; }
@keyframes cnShake {
    0% { transform: translateY(0) rotate(0); }
    25% { transform: translateY(-3px) rotate(-1.6deg); }
    75% { transform: translateY(2px) rotate(1.6deg); }
    100% { transform: translateY(0) rotate(0); }
}
.cast-shake {
    display: block; margin: 15px auto 0; padding: 6px 4px;
    background: none; border: none; cursor: pointer; touch-action: manipulation;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px; letter-spacing: 0.1em;
    color: rgba(45, 42, 38, 0.55); border-bottom: 1px solid rgba(198, 184, 150, 0.5);
    -webkit-tap-highlight-color: transparent;
}
.cast-shake:active { opacity: 0.6; }
/* —— v102 卦画：六行横爻自上而下，右标爻位，动爻朱点；之卦并列小图 —— */
.ar-hex2 { display: flex; justify-content: center; align-items: flex-start; gap: 1.5rem; padding: 0.35rem 0 0.15rem; }
.ah-col { display: flex; flex-direction: column; align-items: center; }
.ah-fig { display: flex; flex-direction: column; gap: 12px; }
.ah-yao { display: flex; align-items: center; gap: 7px; height: 7px; }
.ah-bar-wrap { width: 92px; height: 7px; display: flex; }
.ah-bar { display: block; height: 7px; border-radius: 3.5px; background: #2D2A26; }
.ah-bar.full { width: 92px; }
.ah-bar.half { width: 37px; }
.ah-bar-wrap.ah-yin { justify-content: space-between; background: none; }
.ah-pos { width: 28px; font-size: 11px; letter-spacing: 0.04em; color: rgba(45, 42, 38, 0.38); }
.ah-dot { width: 6px; height: 6px; border-radius: 50%; background: #a03028; flex: none; visibility: hidden; }
.ah-yao.move .ah-dot { visibility: visible; }
.ah-yao.move .ah-pos { color: #a03028; }
.ah-cap { margin-top: 14px; text-align: center; max-width: 9rem; }
.ah-cap b { display: block; font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 16px; color: #2D2A26; letter-spacing: 0.12em; }
.ah-cap span { display: block; font-size: 11px; color: rgba(45, 42, 38, 0.45); margin-top: 3px; line-height: 1.6; }
.ah-col.changed .ah-fig { gap: 12.5px; }
/* —— v113 纳甲六爻专业盘：月日条 + 竖排六爻（六神/六亲/爻线/世应/动变/伏神） —— */
.ar-najia { padding: 0.2rem 0 0.1rem; }
.nj-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 7px 10px;
    border: 1px solid rgba(198, 184, 150, 0.35); border-radius: 8px; background: rgba(255, 253, 248, 0.6); }
.nj-head b { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px; color: #2D2A26; letter-spacing: 0.08em; }
.nj-head span { font-size: 11.5px; letter-spacing: 0.05em; color: rgba(45, 42, 38, 0.55); }
.nj-head .nj-kong { color: #974A3E; }
.nj-head .nj-zhi { color: #974A3E; font-weight: 500; }
/* 头部迷你卦画 */
.nj-mini { display: inline-flex; flex-direction: column; gap: 2.5px; margin-right: 2px; transform: translateY(1px); }
.nj-mini u { display: flex; width: 24px; height: 4px; text-decoration: none; justify-content: center; gap: 5px; }
.nj-mini u i { display: block; height: 4px; border-radius: 2px; background: #2D2A26; }
.nj-mini u.my i { width: 24px; }
.nj-mini u.mn i { width: 9px; }
.nj-mini u.mm i { background: #a03028; }
/* 六神列带爻位小字 */
.nj-shen i { display: block; font-style: normal; font-size: 9px; color: rgba(45, 42, 38, 0.32); letter-spacing: 0.1em; }
.nj-rows { margin-top: 8px; border: 1px solid rgba(198, 184, 150, 0.3); border-radius: 8px; overflow: hidden; }
.nj-yao { display: flex; align-items: center; gap: 7px; padding: 5.5px 8px;
    border-bottom: 1px solid rgba(198, 184, 150, 0.22); background: rgba(255, 253, 248, 0.4); }
.nj-yao:last-child { border-bottom: none; }
.nj-yao.ys { background: rgba(151, 74, 62, 0.055); box-shadow: inset 2.2px 0 0 #974A3E; }
.nj-shen { width: 30px; flex: none; font-size: 10.5px; letter-spacing: 0.02em; color: rgba(45, 42, 38, 0.5); }
.nj-qin { width: 30px; flex: none; font-size: 12px; color: #2D2A26; font-family: "LXGW WenKai", "Noto Serif SC", serif; }
.nj-qin.void { color: rgba(45, 42, 38, 0.4); }
.nj-gz { width: 46px; flex: none; font-size: 12.5px; font-weight: 600; color: #2D2A26; }
.nj-gz i { font-style: normal; font-weight: 400; font-size: 10px; color: rgba(45, 42, 38, 0.45); margin-left: 2px; }
.nj-state { width: 58px; flex: none; font-size: 9.5px; line-height: 1.5; color: rgba(138, 118, 72, 0.9); }
.nj-line { width: 74px; flex: none; height: 12px; display: flex; align-items: center; justify-content: center; }
.nj-line i { display: block; height: 6px; border-radius: 3px; background: #2D2A26; }
.nj-line.yang i { width: 68px; }
.nj-line.yin i { width: 26px; }
.nj-line.yin i + i { margin-left: 16px; }
.nj-yao.mv .nj-line i { background: #a03028; }
.nj-tags { width: 44px; flex: none; display: flex; gap: 3px; align-items: center; }
.nj-tags em { font-style: normal; font-size: 10px; padding: 0 3px; border-radius: 2px; letter-spacing: 0; }
.nj-tags .t-shi { color: #fff; background: #974A3E; }
.nj-tags .t-ying { color: #974A3E; box-shadow: inset 0 0 0 0.8px #974A3E; }
.nj-tags .t-dong { color: #a03028; font-weight: 700; }
.nj-tags .t-ys { color: #fff; background: rgba(138, 118, 72, 0.85); }
.nj-bian { padding: 2px 10px 4px; font-size: 10.5px; color: rgba(45, 42, 38, 0.55); text-align: right; line-height: 1.5;
    background: rgba(255, 253, 248, 0.4); border-bottom: 1px solid rgba(198, 184, 150, 0.22); }
.nj-bian b { color: #2D2A26; font-weight: 500; }
.nj-bian .trend { color: #974A3E; }
.nj-fu { padding: 2px 8px 4px 40px; font-size: 10px; color: rgba(138, 118, 72, 0.95);
    background: rgba(198, 184, 150, 0.1); border-bottom: 1px solid rgba(198, 184, 150, 0.22); }
.nj-fu b { font-weight: 500; color: rgba(45, 42, 38, 0.65); }
.ah-col.changed .ah-bar-wrap { width: 62px; }
.ah-col.changed .ah-bar.full { width: 62px; }
.ah-col.changed .ah-bar.half { width: 24px; }
.ah-col.changed .ah-bar { background: rgba(45, 42, 38, 0.55); }
.ah-col.changed .ah-yao.move .ah-bar { background: #a03028; }
/* v99 六爻器物：三枚铜钱，天圆地方 */
.ask-coins { position: relative; width: 192px; height: 150px; margin: 0 auto; animation: zenBreath 6.8s ease-in-out infinite; transform-origin: center 60%; }
.ask-coins i {
    position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; border-radius: 50%;
    background:
        radial-gradient(circle at 34% 30%, rgba(255, 250, 238, 0.35), rgba(255, 250, 238, 0) 46%),
        linear-gradient(160deg, #D9C9A0 0%, #C0AC7E 55%, #A9936A 100%);
    box-shadow:
        inset 0 -3px 5px rgba(74, 60, 36, 0.28),
        inset 0 1px 2px rgba(255, 250, 238, 0.4),
        0 3px 6px rgba(45, 42, 38, 0.12);
}
.ask-coins i::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: rgba(245, 242, 236, 0.95);
    box-shadow: inset 0 1px 2px rgba(74, 60, 36, 0.4);
}
.ask-coins i::after {
    content: ''; position: absolute; left: 50%; bottom: -8px; width: 52px; height: 9px;
    transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(45, 42, 38, 0.10), transparent 70%);
}
.ask-coins i:nth-child(1) { transform: translate(-86%, -58%) rotate(-14deg); }
.ask-coins i:nth-child(2) { transform: translate(-50%, -44%) rotate(3deg); }
.ask-coins i:nth-child(3) { transform: translate(-14%, -58%) rotate(15deg); }
/* v99 奇门器物：迷你九宫（v103 洛书数位） */
.ask-qmgrid {
    display: grid; grid-template-columns: repeat(3, 38px); grid-auto-rows: 38px; gap: 4px;
    width: max-content; margin: 12px auto 10px; padding: 9px; border-radius: 13px;
    background: rgba(255, 253, 248, 0.6); border: 1px solid rgba(198, 184, 150, 0.35);
    box-shadow: 0 3px 10px rgba(45, 42, 38, 0.05);
    animation: zenBreath 6.8s ease-in-out infinite; transform-origin: center 60%;
}
.ask-qmgrid i {
    border-radius: 7px; background: rgba(198, 184, 150, 0.16);
    box-shadow: inset 0 0 0 0.5px rgba(198, 184, 150, 0.3);
    display: grid; place-items: center;
}
.ask-qmgrid i::before {
    content: attr(data-n); font-style: normal;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 13px;
    color: rgba(138, 118, 72, 0.6);
}
.ask-qmgrid i.c { background: rgba(151, 74, 62, 0.10); box-shadow: inset 0 0 0 0.5px rgba(151, 74, 62, 0.35); }
.ask-qmgrid i.c::before { color: #974A3E; }
/* v89 奇门起局结果：复用签卡奇门决策的排版语言 */
.qimen-ask-result { margin-top: 0.8rem; max-height: 42vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.qimen-ask-result:not(.hidden) { display: block; }
/* v93 奇门排盘轻动画 */
.qimen-spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(151, 74, 62, 0.2); border-top-color: rgba(151, 74, 62, 0.85); animation: qmSpin 0.8s linear infinite; margin: 12px auto; }
@keyframes qmSpin { to { transform: rotate(360deg); } }
/* ========== v100 奇门排盘页：纸白墨字细线，九宫为主 ========== */
/* 预编译 Tailwind 无 z-[58]/bg-surface\/92 等任意类，页框样式在此显式定义 */
#qimenPanPage { z-index: 60; }
#qimenPanPage > header {
    position: sticky; top: 0; z-index: 10;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(245, 242, 236, 0.92);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(198, 184, 150, 0.12);
}
#qimenPanPage > main { padding-left: 1rem; padding-right: 1rem; padding-bottom: 3rem; }
#qimenPanPage .qpan-h-title { font-family: var(--font-func); letter-spacing: 0.25em; font-size: 15px; color: #2D2A26; }
#qimenPanPage .qpan-h-back { width: 1.5rem; text-align: left; color: rgba(45,42,38,0.55); font-size: 20px; line-height: 1; cursor: pointer; background: none; border: none; }
#qimenPanPage .qpan-h-now { color: #974A3E; font-size: 13px; letter-spacing: 0.1em; cursor: pointer; background: none; border: none; font-family: var(--font-func); }
/* v99 兜底：ask-main 的 pb-28 在静态 CSS 中不存在，显式补底部留白 */
.ask-main { padding-bottom: 7rem; }
.qpan-time { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 1.1rem; padding: 0 0.25rem; }
.qpan-time-t { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 19px; letter-spacing: 0.06em; color: #2D2A26; }
.qpan-time-s { font-size: 11px; letter-spacing: 0.08em; color: rgba(45, 42, 38, 0.42); margin-top: 3px; }
.qpan-time-edit {
    border: none; background: none; padding: 4px 2px; cursor: pointer; touch-action: manipulation;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 13px; letter-spacing: 0.12em;
    color: #974A3E; border-bottom: 1px solid rgba(151, 74, 62, 0.4);
}
.qpan-editbox { display: flex; gap: 8px; align-items: center; margin-top: 0.7rem; padding: 0 0.25rem; }
.qpan-editbox input {
    flex: 1; min-width: 0; padding: 0.5rem 0.6rem; border-radius: 8px;
    border: 1px solid rgba(198, 184, 150, 0.5); background: rgba(255, 253, 248, 0.85);
    font-size: 14px; color: #2D2A26; outline: none;
}
.qpan-editbox button {
    flex: none; padding: 0.5rem 0.9rem; border: none; border-radius: 8px;
    background: #974A3E; color: #FCFAF5; font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 13px; letter-spacing: 0.15em; cursor: pointer; touch-action: manipulation;
}
.qpan-meta {
    margin-top: 0.9rem; padding: 0.6rem 0.8rem; border-radius: 9px;
    border: 1px solid rgba(198, 184, 150, 0.32); background: rgba(255, 253, 248, 0.62);
    font-size: 12px; line-height: 1.9; letter-spacing: 0.05em; color: rgba(45, 42, 38, 0.72);
}
.qpan-meta b { font-weight: 500; color: #2D2A26; }
.qpan-meta .qm-zhu { color: #974A3E; }
/* 九宫：洛书位序 4 9 2 / 3 5 7 / 8 1 6，细线分宫，无圆角无投影 */
.qpan-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin-top: 0.9rem; border: 1.2px solid rgba(45, 42, 38, 0.55);
    background: rgba(255, 253, 248, 0.78);
    position: relative;
}
.qpan-grid.loading::before {
    content: '排 盘 中 …'; position: absolute; inset: 0; z-index: 3;
    display: grid; place-items: center;
    background: rgba(245, 242, 236, 0.55);
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px; letter-spacing: 0.3em;
    color: rgba(45, 42, 38, 0.6);
}
.qpan-cell {
    position: relative; min-width: 0; padding: 6px 6px 5px;
    border-right: 0.8px solid rgba(45, 42, 38, 0.3); border-bottom: 0.8px solid rgba(45, 42, 38, 0.3);
    font-family: "LXGW WenKai", "Noto Serif SC", serif; color: #2D2A26;
    cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.qpan-cell:nth-child(3n) { border-right: none; }
.qpan-cell:nth-child(n+7) { border-bottom: none; }
.qpan-cell.sel { background: rgba(151, 74, 62, 0.055); box-shadow: inset 0 0 0 1.5px rgba(151, 74, 62, 0.55); }
.qpan-cell .r1 { display: flex; justify-content: space-between; align-items: baseline; }
.qpan-cell .pname { font-size: 10.5px; letter-spacing: 0.05em; color: rgba(45, 42, 38, 0.5); }
.qpan-cell .god { font-size: 12px; letter-spacing: 0.02em; color: rgba(45, 42, 38, 0.82); }
.qpan-cell .r2 { display: flex; justify-content: space-between; align-items: baseline; margin-top: 3px; }
.qpan-cell .star { font-size: 13.5px; font-weight: 500; }
.qpan-cell .door { font-size: 15px; font-weight: 500; }
.qpan-cell .door.ji { color: #7a3b32; }
.qpan-cell .door.xiong { color: #2D2A26; }
.qpan-cell .r3 { display: flex; align-items: baseline; gap: 3px; margin-top: 4px; font-size: 14.5px; }
.qpan-cell .r3 .tg { font-weight: 600; }
.qpan-cell .r3 .lab { font-size: 9px; color: rgba(45, 42, 38, 0.42); letter-spacing: 0; }
.qpan-cell .r3 .cs { margin-left: auto; font-size: 10px; color: rgba(138, 118, 72, 0.85); }
.qpan-cell .marks { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; min-height: 0; }
.qpan-cell .mk {
    font-size: 9.5px; line-height: 1.5; padding: 0 3.5px; border-radius: 2px;
    color: #974A3E; background: rgba(151, 74, 62, 0.09);
    box-shadow: inset 0 0 0 0.6px rgba(151, 74, 62, 0.4);
}
.qpan-cell .mk.fu { color: rgba(45, 42, 38, 0.72); background: rgba(198, 184, 150, 0.22); box-shadow: inset 0 0 0 0.6px rgba(138, 118, 72, 0.5); }
/* 禽寄：天禽随值符转轮落宫的金色标记 */
.qpan-cell .mk.qin { color: rgba(138, 118, 72, 0.95); background: rgba(198, 184, 150, 0.16); box-shadow: inset 0 0 0 0.6px rgba(198, 184, 150, 0.7); }
/* 中宫：无门星神，仅干与寄宫说明 */
.qpan-cell.zhong .r2 { justify-content: center; }
.qpan-cell .jikun { font-size: 10px; color: rgba(45, 42, 38, 0.45); letter-spacing: 0.05em; }
.qpan-cell .jikun b { color: rgba(138, 118, 72, 0.9); font-weight: 600; }
/* 紧凑盘：藏神、长生与标签字 */
.qpan-grid.dense .god, .qpan-grid.dense .cs, .qpan-grid.dense .jikun { display: none; }
.qpan-grid.dense .star { font-size: 12px; }
.qpan-grid.dense .door { font-size: 13px; }
.qpan-grid.dense .r3 { font-size: 12.5px; margin-top: 3px; }
/* 标记关闭：隐藏状态标记 */
.qpan-grid.nomarks .marks { display: none; }
/* 时辰切换 */
.qpan-nav { display: flex; justify-content: center; gap: 6px; margin-top: 0.9rem; }
.qpan-nav button {
    padding: 0.5rem 0.95rem; border-radius: 999px; cursor: pointer; touch-action: manipulation;
    border: 1px solid rgba(198, 184, 150, 0.45); background: rgba(255, 253, 248, 0.75);
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 13px; letter-spacing: 0.1em;
    color: rgba(45, 42, 38, 0.7);
}
.qpan-nav button:active { background: rgba(151, 74, 62, 0.1); }
/* 点宫详情 */
.qpan-detail {
    margin-top: 0.9rem; padding: 0.7rem 0.85rem; border-radius: 9px;
    border: 1px solid rgba(198, 184, 150, 0.32); background: rgba(255, 253, 248, 0.62);
}
.qpan-detail .d-t { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px; letter-spacing: 0.08em; color: #2D2A26; }
.qpan-detail .d-t b { color: #974A3E; font-weight: 500; }
.qpan-detail .d-rows { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.qpan-detail .d-row { display: flex; justify-content: space-between; font-size: 12.5px; line-height: 1.8; }
.qpan-detail .d-row span { color: rgba(45, 42, 38, 0.45); letter-spacing: 0.06em; }
.qpan-detail .d-row b { font-weight: 500; color: #2D2A26; font-family: "LXGW WenKai", "Noto Serif SC", serif; }
.qpan-detail .d-marks { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
/* v112 用神定位：事项条 + 用神宫高亮 + 免费克应 */
.qpan-ys { display: flex; gap: 6px; overflow-x: auto; margin-top: 0.75rem; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.qpan-ys::-webkit-scrollbar { display: none; }
.qpan-ys button {
    flex: 0 0 auto; padding: 4px 12px; border-radius: 999px; cursor: pointer; touch-action: manipulation;
    border: 1px solid rgba(198, 184, 150, 0.45); background: rgba(255, 253, 248, 0.6);
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 12.5px; letter-spacing: 0.08em;
    color: rgba(45, 42, 38, 0.62);
}
.qpan-ys button.on {
    color: #974A3E; border-color: rgba(151, 74, 62, 0.55); background: rgba(151, 74, 62, 0.08);
}
.qpan-ys-note {
    margin: 6px 2px 0; font-size: 12px; line-height: 1.75; letter-spacing: 0.04em;
    color: rgba(45, 42, 38, 0.6);
}
.qpan-ys-note b { color: #974A3E; font-weight: 500; font-family: "LXGW WenKai", "Noto Serif SC", serif; }
.qpan-grid .qpan-cell.ys { box-shadow: inset 0 0 0 1.6px rgba(151, 74, 62, 0.55); background: rgba(151, 74, 62, 0.045); }
.qpan-detail .d-ke {
    margin-top: 7px; padding: 6px 9px; border-radius: 6px; font-size: 12.5px; line-height: 1.8;
    letter-spacing: 0.04em; color: #2D2A26; background: rgba(198, 184, 150, 0.16);
    border-left: 2.5px solid rgba(138, 118, 72, 0.6);
}
.qpan-detail .d-ke b { color: #974A3E; font-weight: 500; }
/* 显示设置与脚注 */
.qpan-opts { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 1.1rem; }
.qpan-opts-label { font-size: 11px; letter-spacing: 0.12em; color: rgba(45, 42, 38, 0.4); }
.qpan-opts button {
    padding: 4px 12px; border-radius: 999px; cursor: pointer; touch-action: manipulation;
    border: 1px solid rgba(198, 184, 150, 0.45); background: rgba(255, 253, 248, 0.6);
    font-size: 12px; letter-spacing: 0.08em; color: rgba(45, 42, 38, 0.6);
}
.qpan-opts button.on { border-color: rgba(151, 74, 62, 0.55); color: #974A3E; background: rgba(151, 74, 62, 0.07); }
.qpan-foot { margin-top: 1.2rem; text-align: center; font-size: 10.5px; line-height: 2; letter-spacing: 0.06em; color: rgba(45, 42, 38, 0.35); }
/* v93 付费深解主 CTA（六爻/奇门同语言：全宽朱砂实色，签卡付费点同款） */
.cast-paid-cta {
    display: block; width: 100%; margin: 10px 0 2px; padding: 13px 0;
    border: none; border-radius: 12px; background: #a03028; color: #fdfbf6;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px;
    letter-spacing: 0.18em; text-indent: 0.18em; cursor: pointer; touch-action: manipulation;
    -webkit-tap-highlight-color: transparent; transition: opacity 0.14s ease;
}
.cast-paid-cta:active { opacity: 0.75; }
/* v99 筹备中：未上线功能降为弱文字行，不做强购买按钮 */
.cast-paid-pending {
    margin: 12px 0 0; text-align: center;
    font-size: 12px; letter-spacing: 0.1em; color: rgba(45, 42, 38, 0.38);
}
/* v93 六爻起卦仪式暗场：与求签仪式同语言 */
#castRitual {
    position: fixed; inset: 0; z-index: 140;
    align-items: center; justify-content: center;
    /* v106 暖暮统一：基底与签卡遮罩同一琥珀棕家族，中心一团供灯暖意；
       暗室仍是全场最暗的一刻，但不再是冷灰黑 */
    background:
        radial-gradient(circle at 50% 44%, rgba(222, 184, 124, 0.15), rgba(222, 184, 124, 0.05) 40%, transparent 62%),
        radial-gradient(ellipse 90% 55% at 50% 28%, rgba(120, 92, 56, 0.42), rgba(0, 0, 0, 0) 70%),
        linear-gradient(180deg, #2a2117 0%, #1e1710 58%, #150f09 100%);
    opacity: 0; transition: opacity 0.45s ease; outline: none;
}
#castRitual:not(.hidden) { display: flex; }
#castRitual.is-open { opacity: 1; }
/* 三枚铜钱：圆钱方孔，摇卦时翻转跃动 */
.cast-coins { display: flex; gap: 16px; justify-content: center; margin: 2.4rem 0 1.2rem; }
.cc {
    width: 46px; height: 46px; border-radius: 50%; position: relative;
    background: radial-gradient(circle at 34% 30%, #dcc079, #a8842f 72%);
    box-shadow: inset 0 0 0 3px rgba(122, 90, 28, 0.55), inset 0 2px 5px rgba(255, 240, 200, 0.5), 0 5px 12px rgba(0, 0, 0, 0.4);
}
.cc::after {
    content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 12px; height: 12px; border-radius: 2px; background: #241d12;
    box-shadow: 0 0 0 2px rgba(122, 90, 28, 0.4);
}
.cast-coins.is-tossing .cc { animation: castToss 0.52s ease-in-out infinite; }
.cast-coins.is-tossing .c2 { animation-delay: 0.09s; }
.cast-coins.is-tossing .c3 { animation-delay: 0.18s; }
@keyframes castToss {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(180deg); }
}
/* 卦线自下而上逐爻亮起 */
.cast-build { min-height: 160px; display: flex; align-items: center; justify-content: center; }
.cast-build .hexg-yao { opacity: 0; transform: scaleX(0.15); transition: opacity 0.3s ease, transform 0.4s ease; }
.cast-build .hexg-yao.on { opacity: 1; transform: scaleX(1); }
/* 卦成结果卡内排版 */
.cast-hex-main { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 4px 0 12px; }
.cast-hex-name { min-width: 0; }
.ch-z { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 19px; color: #2D2A26; letter-spacing: 0.08em; }
.ch-mean { margin-top: 4px; font-size: 12px; line-height: 1.7; color: rgba(45, 42, 38, 0.6); max-width: 160px; }
.ch-interp { margin-top: 3px; font-size: 11px; letter-spacing: 0.06em; color: rgba(160, 48, 40, 0.78); }
.cast-changed {
    align-items: center; gap: 12px; padding: 8px 12px; margin: 0 0 10px;
    background: rgba(160, 48, 40, 0.045); border: 1px solid rgba(160, 48, 40, 0.14); border-radius: 12px;
}
.ch-cname { font-size: 12.5px; color: rgba(45, 42, 38, 0.78); margin-top: 2px; }
.cast-reading { padding: 2px 2px 0; }
.cast-reading-txt { margin-top: 4px; font-size: 12.5px; line-height: 1.85; letter-spacing: 0.03em; color: rgba(45, 42, 38, 0.72); }
/* v49 大事问底部抽屉（¥99 退出求签前主路径，签后场景唤起） */
.dsw-sheet {
    position: fixed; inset: 0; z-index: 118;
    background: rgba(45, 42, 38, 0.3);
    display: flex; align-items: flex-end; justify-content: center;
}
.dsw-sheet.hidden { display: none; }
.dsw-panel {
    width: 100%; max-width: 448px;
    background: #FBF9F4; border-radius: 18px 18px 0 0;
    padding: 0.7rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 32px rgba(45, 42, 38, 0.14);
    animation: dswUp 0.3s ease both;
}
@keyframes dswUp { from { transform: translateY(30px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.dsw-title {
    text-align: center; font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px; letter-spacing: 0.3em; text-indent: 0.3em; color: #2D2A26; margin-top: 0.5rem;
}
.dsw-sub { text-align: center; font-size: 14.5px; letter-spacing: 0.1em; color: rgba(45, 42, 38, 0.5); margin: 0.4rem 0 0.9rem; }
.dsw-panel textarea {
    width: 100%; min-height: 84px; background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(45, 42, 38, 0.12); border-radius: 12px;
    padding: 0.8rem 1rem; font-size: 16px; letter-spacing: 0.05em; color: #2D2A26;
    outline: none; resize: none; font-family: "LXGW WenKai", "Noto Serif SC", serif;
    -webkit-tap-highlight-color: transparent;
}
.dsw-panel textarea:focus { border-color: rgba(151, 74, 62, 0.45); }
/* ===== App Shell P1 · ReportViewer：统一报告阅读器（¥99 奇门 / ¥9.9 解签书 / 年命书 同容器） ===== */
.rpt-viewer {
    position: fixed; inset: 0; z-index: 130;
    background: #FAF7F2;
    display: flex; flex-direction: column;
}
.rpt-viewer.hidden { display: none; }
.rpt-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 1rem 0.7rem;
    border-bottom: 1px solid rgba(198, 184, 150, 0.35);
    background: #FBF9F4; flex: none;
}
.rpt-close {
    background: none; border: none; padding: 0.3rem 0.2rem;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px; letter-spacing: 0.08em;
    color: #974A3E; cursor: pointer; touch-action: manipulation;
}
.rpt-close:active { opacity: 0.6; }
.rpt-title {
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px;
    letter-spacing: 0.28em; text-indent: 0.28em; color: #2D2A26; margin: 0;
    max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rpt-head-sp { width: 4.2rem; flex: none; }
.rpt-frame { flex: 1; width: 100%; border: none; background: #FAF7F2; }
.rpt-gate {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.9rem; padding: 2rem 1.6rem; text-align: center;
}
.rpt-gate.hidden { display: none; }
.rpt-gate p {
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px;
    letter-spacing: 0.1em; color: rgba(45, 42, 38, 0.72); line-height: 1.9; margin: 0;
}
.rpt-gate .rpt-gate-cta {
    margin-top: 0.4rem; padding: 0.75rem 2.2rem; border-radius: 999px; border: none;
    background: #2D2A26; color: #F5F2EC; font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px; letter-spacing: 0.18em; text-indent: 0.18em; cursor: pointer;
}
.rpt-loading {
    flex: 1; display: flex; align-items: center; justify-content: center;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px;
    letter-spacing: 0.3em; text-indent: 0.3em; color: rgba(45, 42, 38, 0.45);
}
.rpt-loading.hidden { display: none; }
/* v49 仪式跳过提示：前 2.5s 不可跳过，之后浮出「轻触见签」 */
.ritual-skip-pill {
    position: fixed; bottom: calc(3.2rem + env(safe-area-inset-bottom, 0px)); left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.3rem; border-radius: 999px;
    border: 1px solid rgba(198, 184, 150, 0.5);
    background: rgba(45, 42, 38, 0.35); backdrop-filter: blur(4px);
    color: rgba(245, 242, 236, 0.85);
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px; letter-spacing: 0.32em; text-indent: 0.32em;
    animation: askQpIn 0.4s ease both;
    pointer-events: auto;
}
.ritual-progress {
    position: fixed; left: 50%; bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%); width: 100%; text-align: center;
    color: rgba(245, 240, 226, 0.5); font-size: 14px; letter-spacing: 0.12em;
}

@media (prefers-reduced-motion: reduce) {
    #askDrawBtn.armed, .ritual-breath, .ritual-tube.is-shaking { animation: none !important; }
    #askRitual, .ritual-stick { transition-duration: 0.01ms !important; }
}
/* v49 进行中签线：紧凑行（并入「正在经历」区，不再单独成卡） */
.ask-mrow {
    display: flex; width: 100%; align-items: baseline; justify-content: space-between;
    padding: 0.55rem 0.2rem; border: none; background: none;
    border-top: 1px dashed rgba(198, 184, 150, 0.25);
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.ask-mrow:active { opacity: 0.7; }
.ask-mrow .am-q { font-size: 15px; color: rgba(45, 42, 38, 0.78); letter-spacing: 0.05em; }
.ask-mrow .am-d { font-size: 14.5px; color: rgba(45, 42, 38, 0.4); letter-spacing: 0.08em; }
/* v49 签卡 CTA 收敛：一主（¥9.9 朱砂）一次（分享描边），大事问降为文字行 */
.lot-btn-ghost {
    border: 1px solid rgba(45, 42, 38, 0.18); background: none; color: rgba(45, 42, 38, 0.66);
    border-radius: 999px; padding: 0.8rem 0;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px; letter-spacing: 0.28em; text-indent: 0.28em;
    cursor: pointer; touch-action: manipulation;
}
.lot-btn-ghost:active { background: rgba(45, 42, 38, 0.05); }
.lot-dsw-line {
    margin-top: 12px; text-align: center;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px;
    color: rgba(45, 42, 38, 0.55); letter-spacing: 0.04em; line-height: 1.8;
}
.lot-dsw-link {
    background: none; border: none; padding: 0 2px;
    color: #974A3E; font-size: 15px; letter-spacing: 0.06em;
    font-family: inherit; cursor: pointer; text-decoration: underline;
    text-underline-offset: 3px; text-decoration-color: rgba(151, 74, 62, 0.4);
    touch-action: manipulation;
}

/* —— 择吉：月历 —— */
.cal-nav {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 9999px;
    border: 1px solid rgba(198, 184, 150, 0.35);
    background: rgba(255, 255, 255, 0.5);
    color: rgba(45, 42, 38, 0.6);
    font-size: 18px;
    line-height: 1;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.cal-nav:active { transform: scale(0.94); }
.cal-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14.5px;
    letter-spacing: 0.1em;
    color: rgba(45, 42, 38, 0.38);
    margin-bottom: 4px;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
/* v67 首屏完整月历：格子纵向收紧，6 行一屏装下 */
.cal-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 0 5px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.4);
    transition: border-color 0.3s ease, background 0.3s ease;
}
.cal-cell:active { transform: scale(0.96); }
.cal-pad { background: transparent; pointer-events: none; }
.cal-num {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    line-height: 1.15;
    color: rgba(45, 42, 38, 0.82);
}
.cal-gz {
    font-size: 13px;
    letter-spacing: 0.05em;
    color: rgba(45, 42, 38, 0.34);
    margin-top: 2px;
}
.cal-mark {
    margin-top: 3px;
    height: 6px;
    font-size: 13px;
    line-height: 6px;
}
.cal-mark.good {
    width: 5px;
    height: 5px;
    border-radius: 9999px;
    background: #a03028;
}
.cal-mark.bad {
    color: rgba(45, 42, 38, 0.3);
}
.cal-cell.today { border-color: rgba(160, 48, 40, 0.55); box-shadow: inset 0 0 0 1px rgba(160, 48, 40, 0.35); background: rgba(200, 162, 74, 0.1); }
.cal-cell.today .cal-num { color: #8a7648; }
.cal-cell.sel {
    border-color: rgba(160, 48, 40, 0.75);
    background: rgba(160, 48, 40, 0.05);
}
.cal-cell.sel .cal-num { color: #a03028; }
/* 选中日落迷你朱印角 */
.cal-cell.sel::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 5px;
    height: 5px;
    background: #a03028;
}
.cal-detail-card {
    margin-top: 1.7rem;
    padding: 1.1rem 1.2rem 1.25rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(198, 184, 150, 0.25);
    border-left: 2px solid #a03028;
    border-radius: 6px;
}
.cal-hairline {
    height: 1px;
    background: rgba(198, 184, 150, 0.28);
    margin: 0.85rem 0 0.2rem;
}
.cal-dt-label {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.35em;
    color: #8a7648;
    margin-top: 0.7rem;
}
.cal-dt-label.cal-ji { color: rgba(45, 42, 38, 0.4); }
.cal-dt-items {
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.06em;
    color: rgba(45, 42, 38, 0.68);
    margin-top: 0.35rem;
}
/* v108 宜忌主次：宜=暖黑文楷（这件事可以办），忌=朱砂浅（缓一缓）；标题加半档 */
#calDetailYi { font-family: "LXGW WenKai", "Noto Serif SC", serif; color: rgba(45, 42, 38, 0.85); }
#calDetailJi { font-family: "LXGW WenKai", "Noto Serif SC", serif; color: rgba(160, 48, 40, 0.72); }
#calDetailTitle { font-size: 16.5px; color: rgba(45, 42, 38, 0.9); }

/* —— v12 老黄历：节气标签、时辰吉凶、择吉条 —— */
.cal-jc {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 13.5px;
    letter-spacing: 0.08em;
    color: rgba(45, 42, 38, 0.36);
    margin-top: 2px;
}
.cal-tag {
    height: 13px;
    line-height: 13px;
    font-size: 12px;
    letter-spacing: 0.06em;
    margin-top: 2px;
    color: rgba(58, 84, 74, 0.85); /* 节气：黛青 */
}
.cal-tag.moon { color: rgba(138, 118, 72, 0.9); } /* 朔望弦：古金 */
/* v81 图例：红点/墨叉首次有了解释（v80 假设「自解释」不成立） */
.cal-legend {
    display: flex; justify-content: flex-end; align-items: center; gap: 6px;
    margin: 0 2px 6px;
    font-size: 10px; letter-spacing: 0.14em;
    color: rgba(45, 42, 38, 0.38);
}
.cal-legend .cl-dot { width: 5px; height: 5px; border-radius: 9999px; background: #a03028; flex: 0 0 5px; }
.cal-legend .cl-x { margin-left: 8px; font-size: 11px; line-height: 1; color: rgba(45, 42, 38, 0.3); }
.cal-cell.pick-top { box-shadow: inset 0 0 0 1px rgba(160, 48, 40, 0.55); }
.cal-cell.pick-top .cal-jc { color: rgba(160, 48, 40, 0.75); }
.cal-cell.chong-me::before {
    content: '冲';
    position: absolute;
    top: 2px;
    left: 3px;
    font-size: 12.5px;
    line-height: 1;
    color: rgba(45, 42, 38, 0.32);
}
.cal-cell.chong-me .cal-num { opacity: 0.55; }
/* 择吉条 */
.cal-pick-bar {
    margin-top: 0.8rem;
    padding: 0 0.1rem;
}
/* v54 所事横滑 chips：一行收束（原两列经折格 420px → 46px），与签卡择事同语言 */
.cal-acts {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.cal-acts::-webkit-scrollbar { display: none; }
.cal-act {
    flex: 0 0 auto;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid rgba(45, 42, 38, 0.14);
    background: rgba(255, 255, 255, 0.45);
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.12em;
    color: rgba(45, 42, 38, 0.72);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cal-act:active { transform: scale(0.96); }
.cal-act.active {
    background: #974A3E;
    border-color: #974A3E;
    color: #F8ECDD;
    box-shadow: 0 2px 9px rgba(151, 74, 62, 0.28);
}
/* v54「与我」折叠行：默认一行摘要，点开展 12 生肖 */
.cal-zrow { margin-top: 0.35rem; }
.cal-ztoggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0.3rem 0.2rem;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.14em;
    color: rgba(45, 42, 38, 0.52);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.cal-ztoggle:active { opacity: 0.7; }
.cal-zarrow { font-size: 13.5px; transition: transform 0.25s ease; }
.cal-ztoggle.open .cal-zarrow { transform: rotate(180deg); }
.cal-zwrap { padding: 0.5rem 0.2rem 0.2rem; animation: askQpIn 0.28s ease both; }
.cal-znote { font-size: 14.5px; color: rgba(45, 42, 38, 0.38); letter-spacing: 0.08em; margin-top: 0.6rem; line-height: 1.6; }
.cal-zchip {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(58, 54, 50, 0.1);
    background: rgba(245, 242, 236, 0.7);
    color: rgba(58, 54, 50, 0.5);
    font-size: 14px;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    transition: border-color .3s, color .3s, background .3s;
}
.cal-zchip.active {
    border-color: rgba(138, 118, 72, 0.6);
    color: #8a7648;
    background: rgba(255, 255, 255, 0.9);
}
/* 吉日榜 */
.cal-pick-result { border-left: 2px solid #8a7648; }
.cal-pick-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(198, 184, 150, 0.22);
}
.cal-pick-row:last-child { border-bottom: none; }
.cal-pick-rank {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    color: #a03028;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}
.cal-pick-date {
    font-size: 15px;
    letter-spacing: 0.06em;
    color: rgba(45, 42, 38, 0.78);
    flex-shrink: 0;
}
.cal-pick-why {
    font-size: 14px;
    letter-spacing: 0.04em;
    color: rgba(45, 42, 38, 0.42);
    flex: 1;
    text-align: right;
}
/* 详情卡：历书行 */
.cal-dt-sub {
    font-size: 15px;
    letter-spacing: 0.06em;
    color: rgba(45, 42, 38, 0.6);
    margin-top: 0.55rem;
    line-height: 1.7;
}
.cal-dt-sub.cal-pz { color: rgba(45, 42, 38, 0.45); font-size: 14.5px; }
.cal-dt-sub.cal-chong-me { color: #a03028; }
.cal-sha-row {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin-top: 0.55rem;
}
.cal-dt-label-inline { margin-top: 0; flex-shrink: 0; width: 2.6rem; }
.cal-sha {
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 1.7;
}
.cal-sha.good { color: rgba(58, 84, 74, 0.85); }
.cal-sha.bad { color: rgba(45, 42, 38, 0.5); }
/* 时辰吉凶 */
.cal-hours {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: 0.5rem;
}
.cal-hour {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 0 3px;
    border-radius: 4px;
    background: rgba(245, 242, 236, 0.6);
    border: 1px solid transparent;
}
.cal-hour .ch-z {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    color: rgba(45, 42, 38, 0.75);
}
.cal-hour .ch-t { font-size: 12.5px; letter-spacing: 0; color: rgba(45, 42, 38, 0.3); margin-top: 1px; }
.cal-hour.good { border-color: rgba(160, 48, 40, 0.28); }
.cal-hour.good .ch-z { color: #a03028; }
.cal-hour.bad .ch-z { color: rgba(45, 42, 38, 0.35); }
.cal-hour.now { background: rgba(160, 48, 40, 0.07); box-shadow: inset 0 0 0 1px rgba(160, 48, 40, 0.45); }

/* —— v13 我的页：命造盘 · 五行条 · 修行档案 —— */
.mine-pillar-cell.mz { padding: 6px 0 8px; }
.mz-ss {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: rgba(45, 42, 38, 0.36);
    height: 12px;
    line-height: 12px;
}
.mz-day { background: rgba(160, 48, 40, 0.045); border-radius: 6px; }
.mz-day .mz-ss { color: #a03028; }
.mz-day .mine-pillar-stem, .mz-day .mine-pillar-branch { color: #a03028; }
/* 五行分布 */
.wx-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 2.5px 0;
}
.wx-label {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px;
    color: rgba(45, 42, 38, 0.5);
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}
.wx-track {
    flex: 1;
    height: 3px;
    background: rgba(198, 184, 150, 0.22);
    border-radius: 2px;
    overflow: hidden;
}
.wx-fill {
    display: block;
    height: 100%;
    background: rgba(45, 42, 38, 0.34);
    border-radius: 2px;
    min-width: 0;
    transition: width .6s ease;
}
.wx-label.wx-day { color: #a03028; }
.wx-fill.wx-day { background: #a03028; }
.wx-n {
    font-size: 13.5px;
    color: rgba(45, 42, 38, 0.35);
    width: 0.8rem;
    text-align: right;
    flex-shrink: 0;
}
/* 修行档案行 */
.mine-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.25rem;
    border-bottom: 1px dashed rgba(198, 184, 150, 0.22);
}
.mine-row:last-of-type { border-bottom: none; }
.mine-row-label {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.14em;
    color: rgba(45, 42, 38, 0.72);
}
.mine-row-val {
    font-size: 14.5px;
    letter-spacing: 0.05em;
    color: rgba(45, 42, 38, 0.42);
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}
button.mine-row:active { background: rgba(198, 184, 150, 0.12); border-radius: 4px; }
/* v48 我的时间线：正在经历事项行（问句可截断） */
.mine-fate-q {
    flex: 1 1 auto; min-width: 0; text-align: left;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* v110 问过的：三法标签（签=朱砂，爻=金，奇=墨） */
.asklog-tag {
    display: inline-block; font-style: normal; font-size: 10.5px; line-height: 1.5;
    letter-spacing: 0.08em; padding: 0 7px; border-radius: 999px;
    margin-right: 7px; vertical-align: 1.5px; flex: none;
}
.asklog-tag.lot { background: rgba(151, 74, 62, 0.12); color: #974A3E; box-shadow: inset 0 0 0 0.8px rgba(151, 74, 62, 0.35); }
.asklog-tag.cast { background: rgba(138, 118, 72, 0.14); color: #8a7648; box-shadow: inset 0 0 0 0.8px rgba(138, 118, 72, 0.4); }
.asklog-tag.qimen { background: rgba(45, 42, 38, 0.08); color: rgba(45, 42, 38, 0.6); box-shadow: inset 0 0 0 0.8px rgba(45, 42, 38, 0.28); }
/* 诵经进度 */
.mine-chant-track {
    height: 2px;
    background: rgba(198, 184, 150, 0.22);
    border-radius: 2px;
    overflow: hidden;
    margin: 0.15rem 0.25rem 0.5rem;
}
.mine-chant-fill {
    display: block;
    height: 100%;
    width: 0;
    background: #a03028;
    opacity: 0.75;
    border-radius: 2px;
    transition: width .5s ease;
}

/* —— 我的事：签卡横幅 / 事项列表 / 签线时间线 —— */
.lot-matter {
    margin-top: 0.85rem;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #8a7648;
    text-align: center;
}
.matter-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(198, 184, 150, 0.22);
    border-left: 2px solid #a03028;
    text-align: left;
    transition: background 0.3s ease;
}
.matter-item:active { transform: scale(0.99); }
.matter-k {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.22em;
    color: rgba(45, 42, 38, 0.82);
    min-width: 4.5em;
}
.matter-meta {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(45, 42, 38, 0.45);
    letter-spacing: 0.05em;
}
.matter-draw {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(198, 184, 150, 0.22);
    text-align: left;
    transition: border-color 0.3s ease;
}
.matter-draw:active { transform: scale(0.99); }
.md-n {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.12em;
    color: #8a7648;
    min-width: 3.4em;
}
.md-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.md-body b { font-size: 15px; color: rgba(45, 42, 38, 0.75); font-weight: 600; letter-spacing: 0.04em; }
.md-body i {
    font-style: normal;
    font-size: 14px;
    color: rgba(45, 42, 38, 0.4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.md-d { font-size: 13.5px; color: rgba(45, 42, 38, 0.35); letter-spacing: 0.05em; }

/* —— 签卡内的问事断语块 —— */
.lot-scen {
    margin-top: 0.9rem;
    padding: 0.8rem 0.9rem;
    background: rgba(198, 184, 150, 0.1);
    border: 1px solid rgba(198, 184, 150, 0.25);
    border-radius: 6px;
}
.lot-scen-t {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.3em;
    color: #a03028;
    margin-bottom: 0.5rem;
}
.lot-scen-v {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(45, 42, 38, 0.72);
    margin-top: 0.65rem;
}
.lot-scen-v.is-collapsed { display: none; }
.lot-scen-why {
    display: block; margin: 0.65rem auto 0; min-height: 36px; padding: 0 0.6rem;
    border: 0; background: transparent; color: rgba(138, 118, 72, 0.95);
    font-size: 15px; letter-spacing: 0.12em; cursor: pointer;
}
.lot-health-note {
    margin-top: 0.65rem; padding-top: 0.6rem; border-top: 1px solid rgba(151, 74, 62, 0.16);
    font-size: 15px; line-height: 1.7; color: rgba(90, 54, 48, 0.8);
}
.lot-scen-yj {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.6rem;
    padding-top: 0.55rem;
    border-top: 1px dashed rgba(198, 184, 150, 0.3);
}
.lot-scen-yj span {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(45, 42, 38, 0.55);
    padding-left: 2.2em;
    text-indent: -2.2em;
}
.lot-scen-yj b {
    display: inline-block;
    width: 1.6em;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-weight: 600;
}
.lot-scen-yi b { color: #8a7648; }
.lot-scen-ji b { color: #a03028; }
/* v51 先求后择：签卡上的事项选择 chips（解签时择事） */
.lot-scen-pick { margin-top: 0.85rem; }
.lot-scen-pick-label {
    text-align: center; font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px; letter-spacing: 0.32em; text-indent: 0.32em; color: rgba(45, 42, 38, 0.42);
    margin-bottom: 0.45rem;
}
.lot-scen-chips {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem;
}
.lot-scen-chip {
    border: 1px solid rgba(198, 184, 150, 0.55); background: transparent;
    border-radius: 999px; padding: 0.28rem 0.78rem;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px;
    letter-spacing: 0.12em; color: rgba(45, 42, 38, 0.68);
    cursor: pointer; touch-action: manipulation; transition: all 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}
.lot-scen-chip.on {
    background: #974A3E; border-color: #974A3E; color: #F8ECDD;
}
.lot-scen-chip:active { transform: scale(0.96); }
.lot-scen-hint {
    margin-top: 0.55rem; text-align: center; font-size: 14.5px;
    letter-spacing: 0.08em; color: rgba(45, 42, 38, 0.45); line-height: 1.7;
}
/* v49 一句行动建议：三层答案的收束句 */
.lot-scen-act {
    margin-top: 0.65rem;
    padding: 0.5rem 0.7rem;
    background: rgba(151, 74, 62, 0.07);
    border-left: 2px solid rgba(151, 74, 62, 0.55);
    border-radius: 0 4px 4px 0;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(45, 42, 38, 0.85);
    letter-spacing: 0.03em;
}
.lot-scen-act b { color: #974A3E; font-weight: 600; margin-right: 0.3em; }

/* —— 奇门决策卡 —— */
.lot-qimen {
    margin-top: 0.9rem;
    padding: 0.8rem 0.9rem;
    background: rgba(151, 74, 62, 0.05);
    border: 1px solid rgba(151, 74, 62, 0.22);
    border-radius: 6px;
}
.lot-qimen-t {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.3em;
    color: #974A3E;
    margin-bottom: 0.5rem;
}
.lot-qimen-verdict {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.lot-qimen-dir {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.lot-qimen-dir.go { color: #5a7247; }
.lot-qimen-dir.wait { color: #8a7648; }
.lot-qimen-dir.conditional { color: #974A3E; }
.lot-qimen-dir.no { color: #7a3b32; }
.lot-qimen-dir.abstain { color: rgba(45, 42, 38, 0.45); }
.lot-qimen-label {
    font-size: 14.5px;
    color: rgba(45, 42, 38, 0.55);
    letter-spacing: 0.1em;
}
.lot-qimen-palace {
    font-size: 15px;
    color: rgba(45, 42, 38, 0.6);
    margin-bottom: 0.45rem;
}
.lot-qimen-palace b {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    color: #383A35;
    font-weight: 600;
}
.lot-qimen-reason {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(45, 42, 38, 0.65);
    margin-bottom: 0.5rem;
}
.lot-qimen-actions {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(151, 74, 62, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.lot-qimen-actions span {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(45, 42, 38, 0.55);
}

/* ================================================================
   v15 精致层：禅堂光影 · 笺纸 · 墨钮（同级后写，覆盖旧值）
   ================================================================ */

/* —— 背景：顶部受光、四缘微收的宣纸色（覆盖行内渐变）—— */
#pageHome {
    background:
        radial-gradient(ellipse 130% 62% at 50% -12%, rgba(255, 253, 243, 0.95), rgba(255, 250, 236, 0) 62%),
        radial-gradient(ellipse 90% 46% at 50% 108%, rgba(222, 212, 192, 0.5), rgba(222, 212, 192, 0) 70%),
        linear-gradient(180deg, #ece7dd 0%, #f2ede3 32%, #f5f1e7 62%, #ede7d9 100%) !important;
}
/* —— 纸纤维颗粒：复用全局宣纸噪声，叠在内容之下 —— */
#pageHome::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='xuan'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23xuan)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
/* —— 丁达尔光柱：提暖、收窄，如天窗漏光 —— */
#pageHome::before {
    background: radial-gradient(ellipse 46% 100% at 50% 0%,
        rgba(255, 253, 242, 0.95), rgba(255, 249, 232, 0.3) 52%, transparent 76%);
}

/* —— 顶部题名：收小、留白、金色副题 —— */
#pageHome header h1 {
    font-size: 14px;
    letter-spacing: 0.6em;
    text-indent: 0.6em;
    color: rgba(58, 54, 50, 0.78);
}
#pageHome header p {
    font-size: 13px;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    color: rgba(138, 118, 72, 0.6);
    margin-top: 5px;
}
#pageHome header button { opacity: 0.55; }

/* —— 悬镜：呼吸更轻更长 —— */
.home-breath { animation: zenBreathV2 9s ease-in-out infinite; }
@keyframes zenBreathV2 {
    0%, 100% { transform: scale(0.994); }
    50% { transform: scale(1.006); }
}

/* —— 月砚：凹面光影 + 沿口 hairline 双环 —— */
.ink-well {
    background: radial-gradient(circle at 50% 34%, #fefcf6 0%, #f7f2e4 46%, #eee4d0 80%, #e6dac2 100%);
    border-color: rgba(198, 184, 150, 0.55);
    box-shadow:
        0 28px 64px rgba(58, 54, 50, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -20px 44px rgba(198, 184, 150, 0.28),
        inset 0 12px 26px rgba(255, 255, 255, 0.55);
}
.ink-well::after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 9999px;
    border: 1px solid rgba(198, 184, 150, 0.26);
    pointer-events: none;
}

/* —— 曼陀罗：线已加粗提显（buildMandala），这里保持转速 —— */
.mandala-layer { opacity: 1; }

/* —— 字盘：月面宣纸 + 轻影 —— */
#discContainer {
    background: radial-gradient(circle at 50% 34%, #fdfaf2 0%, #f4eddc 82%);
    border-color: rgba(198, 184, 150, 0.4);
    box-shadow:
        0 10px 28px rgba(58, 54, 50, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -10px 22px rgba(198, 184, 150, 0.18);
}
#sutraLine .sutra-char { font-size: 21px; }
#sutraLine .sutra-char.current {
    transform: scale(1.42);
    text-shadow: 0 0 26px rgba(216, 199, 148, 0.85), 0 0 8px rgba(160, 48, 40, 0.18);
}

/* —— 宜忌笺：透明笺纸、双层金线、朱砂「宜」 —— */
.yiji-card {
    background: linear-gradient(180deg, rgba(253, 250, 240, 0.55), rgba(250, 245, 232, 0.36));
    border-color: rgba(198, 184, 150, 0.5);
    border-radius: 3px;
    padding: 0.85rem 1rem 0.95rem;
    box-shadow: 0 10px 26px rgba(58, 54, 50, 0.05);
}
.yiji-card::after {
    inset: 3px;
    border-color: rgba(198, 184, 150, 0.24);
    border-radius: 2px;
}
.home-score-label {
    font-size: 13.5px;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    color: rgba(138, 118, 72, 0.85);
}
#stateDisplay { color: rgba(58, 54, 50, 0.75); }
.yj-k { font-style: normal; font-family: "LXGW WenKai", "Noto Serif SC", serif; }
.yj-k.k-yi { color: #a03028; }
.yj-k.k-ji { color: rgba(45, 42, 38, 0.6); }
.yj-sep { font-style: normal; color: rgba(198, 184, 150, 0.9); padding: 0 0.5em; }
#yiJiSub { font-size: 13.5px; letter-spacing: 0.3em; color: rgba(58, 54, 50, 0.38); }

/* —— 模式墨钮：仅首页，透明无框，选中以朱砂点 anchored —— */
#pageHome .mode-chip {
    background: transparent;
    border-color: transparent;
    color: rgba(58, 54, 50, 0.42);
    letter-spacing: 0.24em;
    font-size: 15px;
    padding-top: 0.5rem;
    padding-bottom: 0.6rem;
}
#pageHome .mode-chip.active {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(58, 54, 50, 0.88);
    position: relative;
}
#pageHome .mode-chip.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 3px;
    transform: translateX(-50%);
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #a03028;
    opacity: 0.85;
}

/* —— 经典行：去下划线，金 chevron，字距呼吸 —— */
.classic-switch {
    border-bottom: none;
    padding: 0.4rem 0.6rem;
    font-size: 15px;
    letter-spacing: 0.3em;
    color: rgba(58, 54, 50, 0.62);
}
.classic-switch:hover { color: rgba(58, 54, 50, 0.85); }
.cs-arrow { color: rgba(198, 184, 150, 0.95); opacity: 1; margin-left: 0.6em; }

/* —— 节律行与换曲 —— */
.rhythm-label { color: rgba(58, 54, 50, 0.55); font-size: 14.5px; letter-spacing: 0.22em; }
.next-track { color: rgba(160, 48, 40, 0.62); font-size: 14.5px; }

/* —— 提示行：更小、更淡，退成耳语 —— */
#pageHome .home-hint {
    font-size: 13px;
    letter-spacing: 0.3em;
    color: rgba(58, 54, 50, 0.32);
    margin-top: 10px;
}

/* —— 底部进度：细如发丝，融进纸色 —— */
.progress-shell { background: rgba(58, 54, 50, 0.07); opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
    .home-breath { animation: none; }
}

/* ================================================================
   求签仪式：暗室一炷香（静心 → 摇签 → 显签）
   ================================================================ */
#askRitual {
    position: fixed;
    inset: 0;
    z-index: 140;
    align-items: center;
    justify-content: center;
    /* v106 暖暮统一：基底与签卡遮罩同一琥珀棕家族，中心一团供灯暖意；
       暗室仍是全场最暗的一刻，但不再是冷灰黑 */
    background:
        radial-gradient(circle at 50% 44%, rgba(222, 184, 124, 0.15), rgba(222, 184, 124, 0.05) 40%, transparent 62%),
        radial-gradient(ellipse 90% 55% at 50% 28%, rgba(120, 92, 56, 0.42), rgba(0, 0, 0, 0) 70%),
        linear-gradient(180deg, #2a2117 0%, #1e1710 58%, #150f09 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
    outline: none; /* 全屏浮层 focus() 时不得渲染浏览器默认焦点线（Android Chrome 曾出现全高蓝线） */
}
#askRitual:not(.hidden) { display: flex; }
#askRitual.is-open { opacity: 1; }
/* v41b 仪式取消返回：暗场左上角低调 ✕，44px 热区 */
.ritual-cancel {
    position: absolute;
    top: max(0.9rem, env(safe-area-inset-top));
    left: 1rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 15px;
    line-height: 1;
    color: rgba(246, 241, 230, 0.5);
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
}
.ritual-cancel:active { color: rgba(246, 241, 230, 0.92); }
.ritual-stage {
    position: relative;
    width: 100%;
    max-width: 20rem;
    padding: 2rem;
    text-align: center;
}
/* v64 仪式暗场：顶部一柱天光，暗室有了「神龛」的纵深 */
.ritual-stage::before {
    content: '';
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 340px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(224, 206, 158, 0.14) 0%, rgba(224, 206, 158, 0.05) 46%, rgba(224, 206, 158, 0) 100%);
    filter: blur(2px);
}
/* v64 浮尘：光柱里六点微尘缓缓上浮明灭 */
.ritual-dust { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ritual-dust i {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(224, 206, 158, 0.55);
    opacity: 0;
    animation: dustFloat 7s ease-in-out infinite;
}
.ritual-dust i:nth-child(1) { left: 22%; top: 38%; animation-delay: 0s; }
.ritual-dust i:nth-child(2) { left: 68%; top: 30%; animation-delay: 1.4s; }
.ritual-dust i:nth-child(3) { left: 40%; top: 56%; animation-delay: 2.6s; }
.ritual-dust i:nth-child(4) { left: 78%; top: 52%; animation-delay: 3.5s; }
.ritual-dust i:nth-child(5) { left: 30%; top: 70%; animation-delay: 4.6s; }
.ritual-dust i:nth-child(6) { left: 58%; top: 44%; animation-delay: 5.6s; }
@keyframes dustFloat {
    0%, 100% { transform: translateY(6px); opacity: 0; }
    30% { opacity: 0.7; }
    55% { transform: translateY(-10px); opacity: 0.35; }
    80% { opacity: 0.5; }
}
.ritual-kicker {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    color: rgba(216, 199, 148, 0.75);
    margin-bottom: 3.2rem;
}
.ritual-phase {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ritual-line {
    margin-top: 1.1rem;
    font-size: 15px;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
    color: rgba(245, 240, 226, 0.5);
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
}
.ritual-skip {
    margin-top: 3.6rem;
    font-size: 13.5px;
    letter-spacing: 0.22em;
    color: rgba(245, 240, 226, 0.26);
}

/* 静心：呼吸环（吸四拍胀起 → 停四拍安住，一轮 8.4s）*/
.ritual-breath {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ritualBreath 8.4s ease-in-out infinite;
    position: relative;
}
.ritual-breath::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(216, 199, 148, 0.4);
    box-shadow: 0 0 60px rgba(216, 199, 148, 0.12), inset 0 0 40px rgba(216, 199, 148, 0.08);
}
@keyframes ritualBreath {
    0% { transform: scale(0.93); }
    46% { transform: scale(1.08); }
    96%, 100% { transform: scale(1.08); }
}
/* 呼吸提示语：吸气 / 停息 换字淡出 */
.ritual-breath-cue {
    margin-top: 2.3rem;
    font-size: 15px;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    color: rgba(228, 210, 162, 0.92);
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    transition: opacity 0.38s ease;
}
.ritual-breath-cue.swap { opacity: 0; }
.ritual-breath-core {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(224, 206, 158, 0.95);
    box-shadow: 0 0 26px rgba(224, 206, 158, 0.85);
}
/* v65 暗室一炷香：静心阶段，一柱线香火头明灭、青烟袅袅（随静心相位一并隐去） */
.ritual-incense {
    position: absolute;
    right: 5%;
    top: 36%;
    width: 24px;
    height: 130px;
    pointer-events: none;
}
.ri-stick {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 52px;
    margin-left: -1px;
    border-radius: 1px;
    background: linear-gradient(180deg, #6b4a2e, #3d2817);
}
.ri-ember {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: #e86a3a;
    box-shadow: 0 0 8px 2px rgba(232, 106, 58, 0.55);
    animation: emberBreath 3.2s ease-in-out infinite;
}
@keyframes emberBreath {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 6px 1px rgba(232, 106, 58, 0.38); }
    50% { opacity: 1; box-shadow: 0 0 11px 3px rgba(232, 106, 58, 0.66); }
}
.ri-smoke {
    position: absolute;
    bottom: 56px;
    left: 50%;
    width: 5px;
    height: 46px;
    margin-left: -2.5px;
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(224, 206, 158, 0) 0%, rgba(224, 206, 158, 0.16) 45%, rgba(224, 206, 158, 0) 100%);
    filter: blur(2.5px);
    opacity: 0;
    animation: smokeRise 4.8s ease-in-out infinite;
}
.ri-smoke.s2 { animation-delay: 1.6s; }
.ri-smoke.s3 { animation-delay: 3.2s; }
@keyframes smokeRise {
    0% { transform: translateY(6px) skewX(0deg) scaleY(0.55); opacity: 0; }
    25% { opacity: 0.75; }
    60% { transform: translateY(-16px) skewX(-4deg) scaleY(1); opacity: 0.4; }
    100% { transform: translateY(-34px) skewX(3deg) scaleY(1.25); opacity: 0; }
}


/* 摇签：签筒 */
.ritual-tube {
    position: relative;
    width: 132px;
    height: 210px;
    margin-top: 10px;
    transform-origin: 50% 92%;
}
.ritual-tube.is-shaking { animation: tubeShake 0.15s ease-in-out infinite; }
@keyframes tubeShake {
    0% { transform: rotate(-4.5deg) translateY(0); }
    25% { transform: rotate(2deg) translateY(-5px); }
    50% { transform: rotate(4.5deg) translateY(0); }
    75% { transform: rotate(-2deg) translateY(-4px); }
    100% { transform: rotate(-4.5deg) translateY(0); }
}
.ritual-sticks {
    position: absolute;
    bottom: 118px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    z-index: 1;
}
.ritual-sticks i {
    position: absolute;
    bottom: 0;
    width: 8px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #e9dbb2, #c7ad76);
    box-shadow: inset -1px 0 1px rgba(90, 60, 30, 0.35);
    transform-origin: 50% 100%;
}
.ritual-sticks i:nth-child(1) { left: 4px; height: 92px; transform: rotate(-15deg); }
.ritual-sticks i:nth-child(2) { left: 20px; height: 110px; transform: rotate(-8deg); }
.ritual-sticks i:nth-child(3) { left: 38px; height: 100px; transform: rotate(-3deg); }
.ritual-sticks i:nth-child(4) { left: 56px; height: 118px; }
.ritual-sticks i:nth-child(5) { left: 74px; height: 100px; transform: rotate(4deg); }
.ritual-sticks i:nth-child(6) { left: 92px; height: 110px; transform: rotate(9deg); }
.ritual-sticks i:nth-child(7) { left: 108px; height: 92px; transform: rotate(15deg); }
.ritual-tube-mouth {
    position: absolute;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 108px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 42%, #17110b 0%, #2c2014 78%);
    z-index: 2;
}
.ritual-tube-body {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px 12px 20px 20px;
    z-index: 3;
    background: linear-gradient(90deg, #553722, #875c33 30%, #a97e4c 50%, #875c33 70%, #553722);
    box-shadow: inset 0 2px 3px rgba(255, 235, 200, 0.25), inset 0 -14px 22px rgba(40, 24, 10, 0.55), 0 18px 40px rgba(0, 0, 0, 0.5);
}
.ritual-tube-band {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    height: 36px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #a63a30, #8c2a22 60%, #7c241d);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 220, 200, 0.25);
    color: #f6e8cf;
    font-size: 14px;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
}
/* v64 摇签时签枝攒动：筒摇签响，枝梢各自轻颤（translate 独立于 rotate，不互相覆盖） */
.ritual-tube.is-shaking .ritual-sticks i { animation: stickJolt 0.3s ease-in-out infinite alternate; }
.ritual-tube.is-shaking .ritual-sticks i:nth-child(1) { animation-delay: 0.02s; }
.ritual-tube.is-shaking .ritual-sticks i:nth-child(2) { animation-delay: 0.06s; }
.ritual-tube.is-shaking .ritual-sticks i:nth-child(3) { animation-delay: 0.1s; }
.ritual-tube.is-shaking .ritual-sticks i:nth-child(4) { animation-delay: 0.04s; }
.ritual-tube.is-shaking .ritual-sticks i:nth-child(5) { animation-delay: 0.08s; }
.ritual-tube.is-shaking .ritual-sticks i:nth-child(6) { animation-delay: 0.12s; }
.ritual-tube.is-shaking .ritual-sticks i:nth-child(7) { animation-delay: 0.05s; }
@keyframes stickJolt { from { translate: 0 0; } to { translate: 0 -4px; } }

/* 显签：签竿自虚空中升起显影 */
.ritual-stick {
    position: relative;
    width: 38px;
    height: 230px;
    margin: 0 auto;
    border-radius: 12px 12px 8px 8px;
    background: linear-gradient(90deg, #c8a468, #ecd9a8 42%, #dcc084 70%, #b98f52);
    box-shadow: 0 0 0 1px rgba(120, 84, 40, 0.35), 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 90px rgba(216, 199, 148, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(80px);
    filter: blur(10px);
    opacity: 0;
    transition: transform 0.95s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.95s ease, opacity 0.6s ease;
}
.ritual-stick.is-risen {
    transform: translateY(-8px);
    filter: blur(0);
    opacity: 1;
}
/* v64 显签金光：签起时一环金光荡开 */
.ritual-stick.is-risen::after {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 18px;
    pointer-events: none;
    border: 1.5px solid rgba(224, 206, 158, 0.85);
    box-shadow: 0 0 24px rgba(224, 206, 158, 0.45);
    animation: riseGlow 1.15s ease-out 0.25s both;
}
@keyframes riseGlow {
    from { opacity: 0.9; transform: scale(0.92); }
    to { opacity: 0; transform: scale(1.16); }
}
/* v65 显签背光：签定之后，一团暖光自签后晕开并留住 */
.ritual-stick::before {
    content: '';
    position: absolute;
    inset: -46px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 50%, rgba(224, 206, 158, 0.22) 0%, rgba(224, 206, 158, 0) 65%);
    opacity: 0;
    transition: opacity 1.2s ease 0.3s;
}
.ritual-stick.is-risen::before { opacity: 1; }
.ritual-stick span {
    writing-mode: vertical-rl;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 22px;
    letter-spacing: 0.35em;
    color: #5a3416;
}

/* —— 分享签文：朱砂主钮 —— */
.lot-actions { flex-wrap: wrap; }
.lot-btn { flex: 1 1 38%; }
.lot-btn-cinnabar {
    background: linear-gradient(160deg, #a63a30, #8c2a22);
    color: #f8ecd9;
    box-shadow: 0 4px 14px rgba(160, 48, 40, 0.28);
}
.lot-btn-cinnabar:active { transform: scale(0.97); }
.lot-btn-ghost { padding: 0.55rem 0; }

/* v34 付费解签主 CTA：全宽实色朱砂，签卡第一转化点 */
.lot-pay-btn {
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.85rem 1rem 0.8rem;
    border-radius: 10px;
    background: #9C4A3C;
    color: #F8ECDD;
    box-shadow:
        0 6px 18px rgba(156, 74, 60, 0.30),
        inset 0 1px 0 rgba(255, 240, 220, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.lot-pay-btn:active { transform: scale(0.98); }
.lot-pay-main { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px; letter-spacing: 0.18em; }
.lot-pay-sub { font-size: 14px; letter-spacing: 0.14em; color: rgba(248, 236, 221, 0.72); }

/* —— v53 签诗回主区：裱线装帧，竖排墨晕逐行揭示 —— */
.lot-card > .lot-poem {
    border-top: 1px solid rgba(198, 184, 150, 0.32);
    border-bottom: 1px solid rgba(198, 184, 150, 0.32);
    padding: 0.75rem 0;
    margin: 0.15rem auto 1rem;
    max-height: 12rem;
    font-size: 15.5px;
}
/* —— v105 出签节奏：抬头 → 印落 → 朱线亮 → 诗行墨晕 → 择事/断语/行动依次浮起 —— */
@keyframes lotRise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
#lotBackdrop.is-open .lot-head { animation: lotRise 0.4s ease 0.08s both; }
#lotBackdrop.is-open .lot-x { animation: lotRise 0.4s ease 0.22s both; }
#lotBackdrop.is-open .lot-card::before { animation: lotTopLine 1s ease 0.3s both; transform-origin: center; }
#lotBackdrop.is-open .lot-scen-pick { animation: lotRise 0.45s ease 1.05s both; }
#lotBackdrop.is-open .lot-scen { animation: lotRise 0.45s ease 1.17s both; }
#lotBackdrop.is-open .lot-matter { animation: lotRise 0.45s ease 1.23s both; }
#lotBackdrop.is-open .lot-actions { animation: lotRise 0.45s ease 1.29s both; }
#lotBackdrop.is-open .lot-pay-btn { animation: lotRise 0.45s ease 1.35s both; }
#lotBackdrop.is-open .lot-quiet-row { animation: lotRise 0.45s ease 1.41s both; }
@keyframes lotTopLine { from { opacity: 0; transform: scaleX(0.25); } to { opacity: 1; transform: scaleX(1); } }
/* v105 事项 chips 逐枚亮出（仅开卡时一次，切换 chip 不重播） */
.lot-scen-chip.rise { animation: lotRise 0.4s ease both; }
/* v55 送签：上签时分享/送签并排，送给 Ta 带一点朱砂边 */
.lot-actions.two .lot-btn { flex: 1 1 38%; }
.lot-gift-btn { border-color: rgba(151, 74, 62, 0.4) !important; color: #974A3E !important; }
/* v55 收签卡（好友深链落地） */
.gift-backdrop {
    position: fixed; inset: 0; z-index: 160;
    background: rgba(45, 42, 38, 0.42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}
.gift-backdrop.hidden { display: none; }
.gift-card { max-width: 22rem; opacity: 1 !important; transform: none !important; }
.gift-from {
    text-align: center; font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px; letter-spacing: 0.2em; color: #974A3E; margin-bottom: 0.9rem;
}
.gift-head { justify-content: center; margin-bottom: 0.6rem; }
.gift-poem { border-top: 1px solid rgba(198, 184, 150, 0.32); border-bottom: 1px solid rgba(198, 184, 150, 0.32); padding: 0.7rem 0; margin: 0.2rem auto 0.8rem; max-height: 12rem; font-size: 15.5px; }
.gift-jie { text-align: center; font-size: 15px; letter-spacing: 0.06em; color: rgba(45, 42, 38, 0.68); line-height: 1.8; margin-bottom: 0.4rem; }
.gift-cta { margin-top: 0.6rem; }
.gift-later {
    display: block; margin: 0.7rem auto 0; background: none; border: none;
    font-size: 14px; letter-spacing: 0.24em; color: rgba(45, 42, 38, 0.42);
    cursor: pointer; touch-action: manipulation;
}
.gift-later:active { opacity: 0.65; }
@media (prefers-reduced-motion: reduce) {
    #lotBackdrop.is-open .lot-head, #lotBackdrop.is-open .lot-x,
    #lotBackdrop.is-open .lot-scen-pick, #lotBackdrop.is-open .lot-scen, #lotBackdrop.is-open .lot-matter,
    #lotBackdrop.is-open .lot-actions, #lotBackdrop.is-open .lot-pay-btn, #lotBackdrop.is-open .lot-quiet-row,
    #lotBackdrop.is-open .lot-card::before { animation: none; }
}

/* v36 签卡信息分层：右上收起、详参折叠、单主按钮行 */
.lot-x {
    position: absolute;
    top: 0.65rem;
    right: 0.8rem;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 9999px;
    color: rgba(45, 42, 38, 0.45);
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, background 0.25s ease;
    z-index: 2;
}
.lot-x:active { background: rgba(45, 42, 38, 0.06); }
.lot-actions .lot-btn { flex: 1 1 100%; }
.lot-more-btn {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.6rem 0 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.3em;
    color: rgba(138, 118, 72, 0.9);
    transition: color 0.25s ease;
}
.lot-more-btn:active { color: #8c2a22; }
.lot-more-arrow { display: inline-block; transition: transform 0.3s ease; font-size: 14px; }
.lot-more-btn.open .lot-more-arrow { transform: rotate(180deg); }
.lot-more { display: none; }
.lot-more.open { display: block; animation: lotMoreIn 0.35s ease; }
@keyframes lotMoreIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}
.lot-pay-main {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
}
.lot-pay-sub {
    font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
    font-size: 14.5px;
    letter-spacing: 0.08em;
    color: rgba(248, 236, 221, 0.72);
}

/* v34 分享预览层付费引导钮 */
#lotShareView .lsv-pay {
    margin-top: 0.9rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    background: rgba(156, 74, 60, 0.12);
    border: 1px solid rgba(156, 74, 60, 0.42);
    color: #9C4A3C;
    font-size: 14px;
    letter-spacing: 0.1em;
    font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
    transition: background 0.2s ease, transform 0.15s ease;
}
#lotShareView .lsv-pay:active { transform: scale(0.97); background: rgba(156, 74, 60, 0.2); }

/* ================================================================
   v16 四页统一：光影纸纹层（问事 · 我的事 · 择吉 · 我）
   ================================================================ */
#pageAsk, #pageMatter, #pageCalendar, #pageMine {
    background:
        radial-gradient(ellipse 130% 46% at 50% -10%, rgba(255, 253, 243, 0.9), rgba(255, 250, 236, 0) 60%),
        radial-gradient(ellipse 90% 34% at 50% 108%, rgba(222, 212, 192, 0.45), rgba(222, 212, 192, 0) 72%),
        linear-gradient(180deg, #eee9df 0%, #f3eee4 34%, #f5f1e7 66%, #eee8da 100%);
}
/* 纸纤维颗粒：与首页同一张宣纸 */
#pageAsk::after, #pageMatter::after, #pageCalendar::after, #pageMine::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='xuan'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23xuan)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
/* 顶部丁达尔漏光 */
#pageAsk::before, #pageMatter::before, #pageCalendar::before, #pageMine::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -12%;
    width: 140%;
    height: 48%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse 50% 100% at 50% 0%,
        rgba(255, 253, 242, 0.8), rgba(255, 249, 232, 0.22) 55%, transparent 78%);
    pointer-events: none;
    z-index: 0;
}
/* 页头融进暖纸色：去冷灰，hairline 收金 */
#pageAsk > header, #pageMatter > header, #pageCalendar > header, #pageMine > header {
    background: rgba(244, 239, 227, 0.9);
    border-bottom-color: rgba(198, 184, 150, 0.28);
}

/* ================================================================
   v17 移动端体验：触控目标 · 安全区 · 手势
   ================================================================ */
/* 交互元素：取消双击缩放延迟、禁系统长按菜单；保留双指缩放 */
button, a, input, select, .ask-scen, .matter-item, .matter-draw, .cal-cell,
.cal-nav, .cal-zchip, .cal-chip, .classic-item, .mode-chip, .mine-row,
#discContainer, .lot-btn, .next-track, .classic-switch, .yiji-card {
    touch-action: manipulation;
    -webkit-touch-callout: none;
}
/* 防 iOS 横屏自动放大文字 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* 触控目标 ≥40px：模式墨钮 */
#pageHome .mode-chip { padding-top: 0.72rem; padding-bottom: 0.78rem; }
/* 经典行 */
.classic-switch { padding: 0.72rem 1rem; }
/* 换一曲：从小字链改为可点块 */
.next-track { display: inline-block; padding: 0.58rem 0.75rem; }
/* 择吉：月导航 44px 圆钮 */
.cal-nav { width: 2.75rem; height: 2.75rem; }
/* 生肖钮 34px（12 生肖横排不挤） */
.cal-zchip { width: 2.15rem; height: 2.15rem; font-size: 15px; }
/* 择吉·所事 chip */
.cal-chip { padding: 0.62rem 0.95rem; }
/* 底部 tab 按压缩放反馈 */
.tab-nav-item:active { transform: scale(0.93); }
.tab-nav-item { transition: transform 0.12s ease, color 0.3s ease, background 0.3s ease; }
/* 滚动容器：防链式橡皮筋、惯性滚动 */
#pageAsk, #pageMatter, #pageCalendar, #pageMine, .lot-card, #pageHome main {
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}
/* 悬镜：长按抽签不弹系统复制菜单 */
#discContainer {
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
}
/* 页头避让刘海（viewport-fit=cover 生效后 env 有值） */
#pageHome header { padding-top: calc(1.25rem + env(safe-area-inset-top, 0px)); }
#pageAsk > header, #pageMatter > header, #pageCalendar > header, #pageMine > header {
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
}
/* 暗室仪式沉浸满屏（含刘海区），仅提示行避开底部 home 条 */
.ritual-stage { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
/* 签卡底部操作区避开 home 条 */
.lot-card { padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); }

/* 矮屏（≤700px）首页纵向自适应：悬镜缩到 254，各处间距收紧 */
@media (max-height: 700px) {
    #pageHome .home-breath { width: min(100%, 246px); }
    #pageHome header { padding-top: calc(0.8rem + env(safe-area-inset-top, 0px)); }
    #pageHome .yiji-card { margin-top: 0.8rem; padding-top: 0.6rem; padding-bottom: 0.7rem; }
    #pageHome .yiji-card + div { margin-top: 0.55rem; }
    #pageHome .yiji-card + div + div { margin-top: 0.75rem; }
    #pageHome .home-hint { margin-top: 6px; }
    #pageHome main { padding-bottom: 6.5rem; }
}
/* 超矮屏（≤600px）再收一档 */
@media (max-height: 600px) {
    #pageHome .home-breath { width: min(100%, 220px); }
    #pageHome .yiji-card { margin-top: 0.5rem; }
    #pageHome .yiji-card + div { margin-top: 0.4rem; }
    #pageHome .yiji-card + div + div { margin-top: 0.5rem; }
}

/* —— 中秋送签预告条（v43 广告引流承接）—— */
.gift-teaser {
    position: fixed;
    top: calc(0.6rem + env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: min(92vw, 26rem);
    padding: 0.55rem 0.7rem 0.55rem 0.8rem;
    background: rgba(248, 244, 233, 0.97);
    border: 1px solid rgba(198, 184, 150, 0.85);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(26, 22, 18, 0.18);
    animation: giftTeaserIn 0.4s ease both;
}
@keyframes giftTeaserIn {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
.gift-teaser.hidden { display: none; }
.gift-teaser-dot {
    flex: none;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #a63a2b;
    box-shadow: 0 0 0 3px rgba(166, 58, 43, 0.15);
}
.gift-teaser-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    color: rgba(45, 42, 38, 0.82);
}
.gift-teaser-text em {
    font-style: normal;
    color: #a63a2b;
}
.gift-teaser-close {
    flex: none;
    width: 1.5rem; height: 1.5rem;
    border: none;
    background: transparent;
    color: rgba(45, 42, 38, 0.4);
    font-size: 14px;
    line-height: 1;
}

/* —— v62 审计第一波修复（小屏可达 / 抽屉关闭 / 底部安全区 / 预告条时机）—— */
/* P0-1 矮屏（≤700px）主区自上而下排布并完整可滚：justify-center 在内容溢出时会把首尾裁出可视区（iPhone SE 配乐/简报不可达） */
@media (max-height: 700px) {
    #pageHome > main { justify-content: flex-start; }
    #pageHome > main > * { flex-shrink: 0; }
}
/* P0-2 抽屉顶部 44×44 关闭钮；底部预留底栏与安全区高度（打开时 JS 隐藏主导航防触控截获） */
#briefDrawer .bd-top-close {
    position: absolute; top: 6px; right: 10px;
    width: 44px; height: 44px; padding: 0; border: none; background: transparent;
    color: rgba(45, 42, 38, 0.55); font-size: 15px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; touch-action: manipulation;
}
#briefDrawer { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
/* P1-10 全局底部安全区：底栏吃 home 条，各主页末端统一避让 */
#mainTabBar { padding-bottom: env(safe-area-inset-bottom, 0px); }
#pageHome > main, #pageCalendar > main, #pageMine > main, #pageMatter > main {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)) !important;
}
/* P1-4 预告条关闭热区 44×44（负 margin 保持原视觉位置） */
.gift-teaser-close { width: 44px; height: 44px; flex-basis: 44px; margin: -10px -8px -10px 0; }

/* —— v63 移动端字号与对比度规范（2026-10-05 用户拍板版）——
   底线：caption 12 / label 13 / 辅助正文 14 / 正文 15-16；功能文字改系统黑体；
   普通文字不透明度 ≥ .68，非激活导航 ≥ .6；13px 以下不再使用 0.2em+ 大字距。 */
:root {
    --text-caption: 12px;
    --text-label: 13px;
    --text-body-sm: 14px;
    --text-body: 16px;
    --font-func: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
/* ① Tailwind 小字号类整体抬升（v69 二轮：免责 9→13 / 标签 10→13 / 辅助 11→14 / 正文 12→14.5 / 13→15） */
[class*="text-[9px]"] { font-size: 13px !important; letter-spacing: 0.06em !important; }
[class*="text-[10px]"] { font-size: 13px !important; letter-spacing: 0.06em !important; }
[class*="text-[11px]"] { font-size: 14px !important; letter-spacing: 0.05em !important; }
[class*="text-[12px]"] { font-size: 14.5px !important; letter-spacing: 0.05em !important; }
[class*="text-[13px]"] { font-size: 15px !important; letter-spacing: 0.04em !important; }
/* ② 底栏：系统黑体 12.5px + 非激活 60%（原 10px / 细文楷 / 36%，视觉上接近 8-9px） */
#mainTabBar .tab-nav-item span { font-size: 14px !important; letter-spacing: 0.1em !important; font-family: var(--font-func); }
.tab-nav-item { color: rgba(58, 54, 50, 0.6); }
.tab-nav-item.active { color: rgba(58, 54, 50, 0.88); }
/* ③ 提示与标签：13px 起、字距收紧、对比度提到可读区间 */
.play-hint { font-size: 15px; letter-spacing: 0.12em; }
.tb-label { font-size: 15px; letter-spacing: 0.14em; color: rgba(45, 42, 38, 0.58); }
.today-brief .tb-main { font-size: 14px; color: rgba(45, 42, 38, 0.72); }
.ask-sec-label { font-size: 15px; letter-spacing: 0.2em; color: rgba(45, 42, 38, 0.58); }
.ask-one-note { font-size: 15px; color: rgba(45, 42, 38, 0.68); }
.ask-current-meta { font-size: 15px; letter-spacing: 0.08em; color: rgba(45, 42, 38, 0.62); }
.ask-follow-how { font-size: 15px; letter-spacing: 0.06em; color: rgba(45, 42, 38, 0.62); }
.home-hint { font-size: 15px; letter-spacing: 0.15em; color: rgba(58, 54, 50, 0.5); }
.am-q { font-size: 14px; }
.am-d { font-size: 15px; color: rgba(45, 42, 38, 0.55); }
.bp-row { font-size: 14px; }
.bp-k { color: rgba(58, 54, 50, 0.55); }
.bd-title { font-size: 15px; }
/* ④ 按钮：14-16px；功能按钮改系统黑体（仪式位「诚心求签」保留文楷） */
.ask-follow-acts button { font-size: 14px; font-family: var(--font-func); }
.bd-ask { font-size: 14.5px; letter-spacing: 0.15em; }
.bd-close { font-size: 15px; }
.lot-btn { font-size: 14.5px; font-family: var(--font-func); }
#askDrawBtn { font-size: 15px; }
.rpt-gate-cta { font-size: 15px; }
/* ⑤ 功能文字改系统黑体：导航/提示/说明/列表/抽屉内容；文楷宋体保留给标题、经名、签诗与仪式文案 */
.tb-label, .today-brief .tb-main, .ask-sec-label, .ask-one-note, .ask-current-meta,
.ask-follow-how, .am-q, .am-d, .bp-row, .bd-ask, .bd-close, .home-hint,
.ask-current-link, .rpt-gate-cta, .play-hint {
    font-family: var(--font-func);
}
/* ⑥ 免责与极次要注：字号升到 13px 后颜色提到 55% 保证可读 */
p[class*="text-[9px]"] { color: rgba(45, 42, 38, 0.55) !important; }
/* ⑦ v69 对比度底线：普通文字不再低于 ~50%（WCAG 移动端 4.5:1 方向） */
[class*="text-[#2D2A26]/30"] { color: rgba(45, 42, 38, 0.5) !important; }
[class*="text-[#2D2A26]/35"] { color: rgba(45, 42, 38, 0.55) !important; }
[class*="text-[#2D2A26]/40"] { color: rgba(45, 42, 38, 0.6) !important; }
[class*="text-[#3a3632]/38"] { color: rgba(58, 54, 50, 0.58) !important; }
/* ⑧ v69 触控热区：文字型小按钮补到 44px 标准 */
button[class*="text-[10px]"], button[class*="text-[11px]"], button[class*="text-[12px]"] {
    min-height: 44px; padding-top: 8px; padding-bottom: 8px;
}

/* —— v97 大字模式（2026-10-16）：「我」→ 字号 标准/偏大/特大 ——
   zoom 对固定像素字号整体等比放大（页面、导航、触控热区一起变大），
   iOS Safari / Chrome 均支持；不支持的浏览器保持标准字号，不影响功能。 */
html[data-fs="lg"] { zoom: 1.15; }
html[data-fs="xl"] { zoom: 1.3; }
/* 字号切换控件：胶囊分段，朱砂选中态 */
.fs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fs-name { font-size: 15px; letter-spacing: 0.14em; color: rgba(45,42,38,0.58); font-family: var(--font-func); }
.fs-seg { display: inline-flex; border: 1px solid rgba(198,184,150,0.45); border-radius: 9999px; overflow: hidden; background: rgba(255,255,255,0.55); }
.fs-seg button { padding: 8px 15px; font-size: 14px; font-family: var(--font-func); letter-spacing: 0.06em; color: rgba(58,54,50,0.6); min-height: 40px; touch-action: manipulation; }
.fs-seg button.active { background: rgba(158,43,37,0.10); color: rgba(158,43,37,0.95); font-weight: 600; }

/* ================================================================
   v71 视觉质感 + 呼吸感（2026-10-06）
   ================================================================ */
/* ① 页签切换：淡入 + 轻上浮，硬切变软切 */
#pageHome:not(.hidden), #archivePage:not(.hidden), #pageAsk:not(.hidden),
#pageCalendar:not(.hidden), #pageMine:not(.hidden) { animation: v71PageIn .26s ease both; }
@keyframes v71PageIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
/* ② 全局触控反馈：点下去有回应（已自定义 :active 的元素优先级更高，不受影响） */
button, [role="button"], .tab-nav-item { transition: transform .12s ease, opacity .12s ease; }
button:active, [role="button"]:active, .tab-nav-item:active { transform: scale(.97); opacity: .86; }
/* ③ 签筒器物感抛光：圆柱体感（两侧压暗、中央受光）、木纹加深、筒口更深、落地影 */
.ao-tube {
    background:
        repeating-linear-gradient(90deg, rgba(74, 60, 36, 0.09) 0 1.5px, rgba(0, 0, 0, 0) 1.5px 5px, rgba(255, 250, 238, 0.06) 5px 6px, rgba(0, 0, 0, 0) 6px 9px),
        linear-gradient(90deg, rgba(74, 60, 36, 0.30) 0%, rgba(0, 0, 0, 0) 18%, rgba(255, 252, 240, 0.22) 42%, rgba(255, 252, 240, 0.10) 58%, rgba(0, 0, 0, 0) 80%, rgba(74, 60, 36, 0.36) 100%),
        linear-gradient(150deg, #E2D3AE 0%, #C7B48B 45%, #A08D63 100%);
    box-shadow:
        inset 0 2px 3px rgba(255, 250, 238, 0.6),
        inset 0 -5px 7px rgba(74, 60, 36, 0.32),
        inset 2px 0 4px rgba(74, 60, 36, 0.18),
        inset -2px 0 4px rgba(74, 60, 36, 0.22),
        0 4px 8px rgba(45, 42, 38, 0.16);
}
.ao-tube::after {
    content: ''; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
    width: 78px; height: 10px; border-radius: 50%; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(45, 42, 38, 0.20), transparent 70%);
}
.ao-mouth {
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.7), inset 0 4px 7px rgba(0, 0, 0, 0.5), 0 0.5px 0 rgba(255, 250, 238, 0.45);
}
/* ④ 签卡盖章：卡落定后，圆印从略大按下归位，像真盖了一印 */
#lotBackdrop.is-open .lot-seal { animation: v71Stamp .48s cubic-bezier(.2, 1.35, .4, 1) .45s both; }
@keyframes v71Stamp {
    0% { opacity: 0; transform: scale(1.5) rotate(-8deg); }
    60% { opacity: 1; transform: scale(0.95) rotate(1.2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}
/* ⑤ 朱砂纪律：红只留给动作与印——使用说明里的静态章节标题降为墨色 */
h3[class*="text-tertiary"] { color: rgba(45, 42, 38, 0.72) !important; }
/* ⑥ 呼吸感：行间、段距、诗行整体放松 */
.mine-row { padding: 0.95rem 0.25rem; }
section.mb-10 { margin-bottom: 3.2rem; }
.lot-poem { line-height: 2.3; }
/* v99 哑光竹木（压过 v73 抛光）：去高光、去重影，筒身收敛为哑质 */
.ao-tube {
    background:
        repeating-linear-gradient(90deg, rgba(74, 60, 36, 0.06) 0 2px, rgba(0, 0, 0, 0) 2px 7px),
        linear-gradient(90deg, rgba(74, 60, 36, 0.20) 0%, rgba(0, 0, 0, 0) 20%, rgba(255, 252, 240, 0.10) 45%, rgba(255, 252, 240, 0) 60%, rgba(0, 0, 0, 0) 82%, rgba(74, 60, 36, 0.24) 100%),
        linear-gradient(155deg, #D8CAA6 0%, #C2B088 52%, #AB9870 100%);
    box-shadow:
        inset 0 1px 2px rgba(255, 250, 238, 0.35),
        inset 0 -3px 5px rgba(74, 60, 36, 0.22),
        0 2px 5px rgba(45, 42, 38, 0.10);
}
.ao-tube::after {
    background: radial-gradient(ellipse at center, rgba(45, 42, 38, 0.12), transparent 70%);
}
.ask-oracle-wrap { margin-top: 0; }
.ask-one-note { line-height: 1.9; }
@media (prefers-reduced-motion: reduce) {
    #pageHome:not(.hidden), #archivePage:not(.hidden), #pageAsk:not(.hidden),
    #pageCalendar:not(.hidden), #pageMine:not(.hidden),
    #lotBackdrop.is-open .lot-seal { animation: none; }
}
/* ⑦ v73 页面级防横向拖动：任何内容超宽都不再带整页跑偏（所事 chips 行内部横滑不受影响） */
#pageHome, #archivePage, #pageAsk, #pageCalendar, #pageMine, #pageMatter { overflow-x: hidden; overflow-x: clip; }
/* ⑧ v73 所事行：右缘渐隐示意可滑 + chip 内距微收，一屏露出更多 */
.cal-acts {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 30px), transparent 100%);
    padding-right: 26px;
}
.cal-act { padding: 7px 13px; }

/* ================================================================
   v74 签卡放大（2026-10-06 批注：卡小看不清）
   ================================================================ */
#lotBackdrop { padding: 0.9rem; }
.lot-card { max-width: 25.5rem; max-height: 88vh; padding: 1.8rem 1.35rem 1.3rem; }
.lot-title { font-size: 1.3rem; letter-spacing: 0.08em; }
.lot-level { font-size: 15px; letter-spacing: 0.16em; }
.lot-petitioner { font-size: 15px; letter-spacing: 0.14em; }
.lot-seal { width: 3.4rem; height: 3.4rem; }
.lot-seal-num { font-size: 17px; }
.lot-poem { font-size: 20px; line-height: 2.05; letter-spacing: 0.14em; padding: 0.9rem 0; }
.lot-scen-pick-label { font-size: 15px; }
.lot-scen-chip { font-size: 16px; padding: 0.34rem 0.9rem; }
.lot-jie { font-size: 16px; }
/* 更高优先级覆盖 v53 卡内签诗的 15.5px 与 12rem 限高 */
.lot-card > .lot-poem { font-size: 20px; line-height: 2.05; letter-spacing: 0.14em; padding: 0.9rem 0; max-height: 15rem; }

/* ================================================================
   v76 聆听设置折叠（2026-10-06 批注：首页这些收进去）
   ================================================================ */
.play-misc-toggle {
    display: flex; align-items: center; justify-content: center; gap: 0.55em;
    margin: 0.4rem auto 0.1rem; padding: 0.5rem 1rem;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-func); font-size: 13.5px; letter-spacing: 0.12em;
    color: rgba(45, 42, 38, 0.52); -webkit-tap-highlight-color: transparent;
}
.play-misc-toggle .pmt-val { color: rgba(45, 42, 38, 0.8); }
.play-misc-toggle .pmt-arrow { display: inline-block; transition: transform .18s ease; }
.play-misc-toggle .pmt-arrow.open { transform: rotate(90deg); }

/* ================================================================
   v18 签卡分享预览层：iOS/微信无 Web Share 时预览 + 长按保存
   ================================================================ */
#lotShareView {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(1.2rem + env(safe-area-inset-top, 0px)) 1.2rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 22, 18, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#lotShareView.hidden { display: none; }
#lotShareView .lsv-frame {
    position: relative;
    max-width: min(82vw, 340px);
    max-height: 66vh;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(198, 184, 150, 0.35);
    animation: lsvIn 0.32s ease both;
}
@keyframes lsvIn {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to { opacity: 1; transform: none; }
}
#lotShareView .lsv-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 66vh;
    object-fit: contain;
    /* 关键：img 必须允许系统长按呼出保存菜单，不加 touch-callout:none */
    -webkit-user-select: auto;
    user-select: auto;
    -webkit-touch-callout: default;
}
#lotShareView .lsv-hint {
    margin-top: 0.9rem;
    font-size: 15px;
    letter-spacing: 0.12em;
    color: rgba(245, 240, 228, 0.85);
    text-align: center;
    line-height: 1.7;
}
#lotShareView .lsv-hint em {
    font-style: normal;
    color: #C6B896;
}
#lotShareView .lsv-actions {
    margin-top: 0.9rem;
    display: flex;
    gap: 0.7rem;
}
#lotShareView .lsv-btn {
    min-width: 7.2rem;
    padding: 0.68rem 1.1rem;
    border-radius: 9999px;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-align: center;
}
#lotShareView .lsv-btn-save {
    background: #a03028;
    color: #f8f4e9;
    box-shadow: 0 4px 14px rgba(160, 48, 40, 0.4);
}
#lotShareView .lsv-btn-save:active { transform: scale(0.96); }
#lotShareView .lsv-btn-close {
    background: rgba(245, 240, 228, 0.12);
    color: rgba(245, 240, 228, 0.9);
    border: 1px solid rgba(198, 184, 150, 0.3);
}
@media (prefers-reduced-motion: reduce) {
    #lotShareView .lsv-frame { animation: none; }
}

/* ================================================================
   v19 命造详盘：编辑入口 · 四柱藏干纳音 · 大运流年干支作用
   ================================================================ */
.mz-tool-btn {
    padding: 0.3rem 0.7rem;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: #a03028;
    background: rgba(160, 48, 40, 0.06);
    border: 1px solid rgba(160, 48, 40, 0.22);
    border-radius: 9999px;
    touch-action: manipulation;
    -webkit-touch-callout: none;
}
.mz-tool-btn:active { transform: scale(0.94); }
#chartBackdrop {
    position: fixed;
    inset: 0;
    z-index: 145;
    background: rgba(26, 22, 18, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
#chartBackdrop.hidden { display: none; }
@media (min-width: 640px) {
    #chartBackdrop { align-items: center; }
}
.chart-sheet {
    width: 100%;
    max-width: 28rem;
    max-height: 88vh;
    background: linear-gradient(180deg, #f8f4e9 0%, #f4efe2 100%);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 48px rgba(26, 22, 18, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chartIn 0.3s ease both;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 640px) {
    .chart-sheet { border-radius: 18px; }
}
@keyframes chartIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .chart-sheet { animation: none; }
}
.chart-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.1rem 0.75rem;
    border-bottom: 1px solid rgba(198, 184, 150, 0.25);
}
.chart-close {
    width: 2rem; height: 2rem;
    border-radius: 9999px;
    background: rgba(45, 42, 38, 0.06);
    color: rgba(45, 42, 38, 0.6);
    font-size: 14px;
    touch-action: manipulation;
    -webkit-touch-callout: none;
}
.chart-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding: 0.9rem 1.1rem 1.4rem;
}
.chart-sec-label {
    font-size: 14px;
    letter-spacing: 0.24em;
    color: rgba(45, 42, 38, 0.42);
    margin: 0.9rem 0 0.6rem;
}
.chart-sec-label:first-child { margin-top: 0; }
.chart-hint { letter-spacing: 0.06em; color: rgba(45, 42, 38, 0.32); font-size: 13.5px; margin-left: 0.4rem; }
.chart-pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}
.chart-pillar {
    background: rgba(255, 252, 244, 0.72);
    border: 1px solid rgba(198, 184, 150, 0.3);
    border-radius: 10px;
    padding: 0.55rem 0.2rem 0.5rem;
    text-align: center;
}
.chart-pillar .cp-tag {
    font-size: 13.5px; letter-spacing: 0.1em;
    color: rgba(138, 118, 72, 0.9);
    min-height: 1.1em;
}
.chart-pillar .cp-label { font-size: 13.5px; color: rgba(45,42,38,0.4); margin: 0.1rem 0 0.25rem; letter-spacing: 0.2em; }
.chart-pillar .cp-gan { font-size: 21px; line-height: 1.15; color: #2D2A26; font-family: "Noto Serif SC", serif; }
.chart-pillar .cp-branch { font-size: 21px; line-height: 1.15; color: #2D2A26; font-family: "Noto Serif SC", serif; }
.chart-pillar.cp-day .cp-gan, .chart-pillar.cp-day .cp-branch { color: #a03028; }
.chart-pillar .cp-cang {
    margin-top: 0.35rem; padding-top: 0.35rem;
    border-top: 1px dashed rgba(198, 184, 150, 0.35);
    font-size: 13.5px; line-height: 1.5; color: rgba(45,42,38,0.62);
}
.chart-pillar .cp-cang b { font-weight: normal; color: rgba(138, 118, 72, 0.9); }
.chart-pillar .cp-nayin { font-size: 13px; color: rgba(45,42,38,0.38); margin-top: 0.25rem; letter-spacing: 0.08em; }

/* —— v37 命造专业层样式 —— */
.chart-verdict {
    display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center;
    background: rgba(160, 48, 40, 0.055);
    border: 1px solid rgba(160, 48, 40, 0.22);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.2rem;
}
.chart-verdict .cv-main {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 14px; color: #2D2A26; letter-spacing: 0.08em;
}
.chart-verdict .cv-badge {
    font-size: 13.5px; letter-spacing: 0.14em;
    padding: 0.14rem 0.45rem;
    border-radius: 9999px;
    border: 1px solid rgba(138, 118, 72, 0.5);
    color: #8a7648;
    background: rgba(255, 252, 244, 0.6);
}
.chart-verdict .cv-badge.cv-key {
    border-color: rgba(160, 48, 40, 0.55);
    color: #a03028;
    background: rgba(160, 48, 40, 0.06);
}
.chart-verdict .cv-badge.cv-ws { opacity: 0.55; border-style: dashed; }

/* v40 做功定级·行运策略卡（天人接读法区，引擎原话） */
.chart-trj-strategy {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.6rem;
    border: 1px solid rgba(198, 184, 150, 0.3);
    border-radius: 9px;
    background: rgba(255, 252, 244, 0.6);
}
.cts-line { font-size: 14px; line-height: 1.7; color: rgba(45,42,38,0.72); }
.cts-line b { color: #a03028; font-weight: 600; letter-spacing: 0.08em; }
.cts-safe {
    margin-top: 0.3rem; font-size: 13.5px; line-height: 1.6;
    color: #a03028;
    background: rgba(160, 48, 40, 0.05);
    border: 1px dashed rgba(160, 48, 40, 0.25);
    border-radius: 7px;
    padding: 0.35rem 0.5rem;
}
.chart-pillar .cp-xingyun {
    font-size: 13px; color: rgba(45,42,38,0.45); margin-top: 0.2rem; letter-spacing: 0.06em;
}
.chart-pillar .cp-kong {
    font-size: 13px; color: rgba(160, 48, 40, 0.72); margin-top: 0.1rem; letter-spacing: 0.08em;
}
.chart-wx-power { display: flex; flex-direction: column; gap: 0.3rem; }
.chart-wx-power .cwp-row { display: flex; align-items: center; gap: 0.55rem; }
.chart-wx-power .cwp-label {
    font-size: 15px; width: 1.2rem; text-align: center;
    font-family: "Noto Serif SC", serif; color: #2D2A26;
}
.chart-wx-power .cwp-track {
    flex: 1; height: 6px; border-radius: 9999px;
    background: rgba(198, 184, 150, 0.22);
    overflow: hidden;
}
.chart-wx-power .cwp-fill {
    display: block; height: 100%; border-radius: 9999px;
    background: rgba(138, 118, 72, 0.75);
}
.chart-wx-power .cwp-row.cwp-day .cwp-fill { background: #a03028; }
.chart-wx-power .cwp-row.cwp-day .cwp-label { color: #a03028; }
.chart-wx-power .cwp-n { font-size: 13.5px; color: rgba(45,42,38,0.5); width: 2.2rem; letter-spacing: 0.02em; }
.chart-geju { display: flex; flex-direction: column; gap: 0.35rem; }
.chart-geju .cg-row { display: flex; gap: 0.6rem; font-size: 15px; line-height: 1.7; }
.chart-geju .cg-k {
    flex: 0 0 auto; width: 3.2rem; text-align: right;
    font-size: 13.5px; letter-spacing: 0.18em; color: rgba(138, 118, 72, 0.9);
    padding-top: 0.15rem;
}
.chart-geju .cg-v { color: rgba(45,42,38,0.82); }
.chart-shensha { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chart-shensha .ss-chip {
    font-size: 14px; letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    background: rgba(255, 252, 244, 0.72);
    border: 1px solid rgba(198, 184, 150, 0.4);
    color: rgba(45,42,38,0.75);
}
.chart-shensha .ss-chip b { font-weight: normal; color: #a03028; margin-left: 0.15rem; }
.chart-shensha .ss-none { font-size: 14px; color: rgba(45,42,38,0.42); }
/* 天人接主链：做功 → 财根 → 层次 → 大运阶段 → 流年应期 */
.chart-trj-chain { display: flex; flex-direction: column; }
.chart-trj-chain .trj-step { display: flex; gap: 0.6rem; position: relative; padding: 0.35rem 0 0.35rem 0.1rem; }
.chart-trj-chain .trj-step::before {
    content: ""; position: absolute; left: 2.05rem; top: 1.5rem; bottom: -0.2rem;
    width: 1px; background: rgba(198, 184, 150, 0.45);
}
.chart-trj-chain .trj-step:last-child::before { display: none; }
.chart-trj-chain .trj-dot {
    flex: 0 0 auto; width: 4rem; text-align: center;
    font-size: 13.5px; letter-spacing: 0.14em; color: #f7e9d8;
    background: #9C4A3C; border-radius: 6px; padding: 0.22rem 0;
    height: fit-content; margin-top: 0.1rem;
}
.chart-trj-chain .trj-v { font-size: 15px; line-height: 1.7; color: rgba(45,42,38,0.82); padding-top: 0.15rem; }
/* Life Code 五元 */
.chart-wuyuan {
    margin-top: 0.6rem;
    display: grid; grid-template-columns: 1fr; gap: 0.3rem;
    background: rgba(138, 118, 72, 0.06);
    border: 1px dashed rgba(138, 118, 72, 0.4);
    border-radius: 10px; padding: 0.6rem 0.7rem;
}
.chart-wuyuan .wy-row { display: flex; gap: 0.55rem; font-size: 14.5px; line-height: 1.7; }
.chart-wuyuan .wy-k {
    flex: 0 0 auto; width: 2rem; text-align: center;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    color: #8a7648; font-size: 15px; padding-top: 0.05rem;
}
.chart-wuyuan .wy-v { color: rgba(45,42,38,0.78); }
.chart-note {
    margin-top: 0.7rem; font-size: 14px; line-height: 1.7;
    color: rgba(45,42,38,0.5);
    background: rgba(160, 48, 40, 0.05);
    border: 1px dashed rgba(160, 48, 40, 0.25);
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
}
.chart-dayun-row {
    display: flex; gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.3rem;
}
.chart-dayun-chip {
    flex: 0 0 auto;
    min-width: 4.1rem;
    text-align: center;
    padding: 0.5rem 0.55rem 0.45rem;
    border-radius: 10px;
    background: rgba(255, 252, 244, 0.72);
    border: 1px solid rgba(198, 184, 150, 0.3);
    touch-action: manipulation;
    -webkit-touch-callout: none;
}
.chart-dayun-chip .cd-gz { font-size: 15px; font-family: "Noto Serif SC", serif; color: #2D2A26; }
.chart-dayun-chip .cd-ss { font-size: 13px; color: rgba(138, 118, 72, 0.9); margin-top: 0.1rem; letter-spacing: 0.08em; }
.chart-dayun-chip .cd-yr { font-size: 13px; color: rgba(45,42,38,0.42); margin-top: 0.15rem; letter-spacing: 0.04em; }
.chart-dayun-chip.cd-cur {
    border-color: rgba(160, 48, 40, 0.55);
    background: rgba(160, 48, 40, 0.07);
}
.chart-dayun-chip.cd-cur .cd-gz { color: #a03028; }
.chart-dayun-chip.cd-sel {
    box-shadow: 0 0 0 1.5px rgba(138, 118, 72, 0.6);
}
.chart-liunian-list { display: flex; flex-direction: column; gap: 0.35rem; }
.chart-ln-row {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 0.65rem;
    border-radius: 9px;
    background: rgba(255, 252, 244, 0.6);
    border: 1px solid rgba(198, 184, 150, 0.22);
}
.chart-ln-row.cln-cur {
    border-color: rgba(160, 48, 40, 0.4);
    background: rgba(160, 48, 40, 0.05);
}
.chart-ln-year { font-size: 14px; color: rgba(45,42,38,0.45); width: 2.3rem; flex: none; }
.chart-ln-gz { font-size: 14px; font-family: "Noto Serif SC", serif; color: #2D2A26; width: 2.4rem; flex: none; }
.chart-ln-ss { font-size: 13.5px; color: rgba(138, 118, 72, 0.95); width: 1.9rem; flex: none; letter-spacing: 0.05em; }
.chart-ln-acts { flex: 1; display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: flex-end; }
.chart-act {
    font-size: 13px; letter-spacing: 0.06em;
    padding: 0.12rem 0.4rem;
    border-radius: 9999px;
    border: 1px solid rgba(198, 184, 150, 0.45);
    color: rgba(45,42,38,0.6);
    white-space: nowrap;
}
.chart-act.a-chong { color: #a03028; border-color: rgba(160, 48, 40, 0.5); background: rgba(160, 48, 40, 0.06); }
.chart-act.a-he { color: #5a6e3a; border-color: rgba(110, 130, 70, 0.45); background: rgba(110, 130, 70, 0.06); }

/* ================================================================
   v38 干支作用：六层时间轴（命局/大运/流年/流月/流日/流时）
   数据一律出自引擎 /api/v74/gz-interactions，前端只渲染
   ================================================================ */
.chart-gzi-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.45rem; }
.chart-gzi-chip {
    font-size: 13.5px; letter-spacing: 0.08em;
    padding: 0.22rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(198, 184, 150, 0.4);
    color: rgba(45,42,38,0.55);
    background: rgba(255, 252, 244, 0.5);
    cursor: pointer;
}
.chart-gzi-chip i { font-style: normal; margin-left: 0.25rem; opacity: 0.55; font-size: 13px; }
.chart-gzi-chip.gz-sel {
    border-color: rgba(160, 48, 40, 0.55);
    color: #a03028;
    background: rgba(160, 48, 40, 0.06);
}
.chart-gzi-list { display: flex; flex-direction: column; gap: 0.3rem; }
.chart-gzi-row {
    display: flex; align-items: baseline; gap: 0.45rem;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    background: rgba(255, 252, 244, 0.6);
    border: 1px solid rgba(198, 184, 150, 0.22);
}
.gz-rel {
    flex: none; font-size: 13.5px; letter-spacing: 0.04em;
    padding: 0.1rem 0.32rem; border-radius: 5px;
    border: 1px solid; line-height: 1.5; white-space: nowrap;
}
.gz-rel.r-danger { color: #a03028; border-color: rgba(160, 48, 40, 0.5); background: rgba(160, 48, 40, 0.06); }
.gz-rel.r-he { color: #5a6e3a; border-color: rgba(110, 130, 70, 0.45); background: rgba(110, 130, 70, 0.06); }
.gz-rel.r-mu { color: #8a6d3b; border-color: rgba(138, 109, 59, 0.5); background: rgba(138, 109, 59, 0.07); }
.gz-rel.r-neutral { color: rgba(45,42,38,0.55); border-color: rgba(198, 184, 150, 0.45); }
.gz-pair { flex: none; font-size: 14px; color: rgba(45,42,38,0.78); white-space: nowrap; font-family: "Noto Serif SC", serif; }
.gz-note { font-size: 13.5px; color: rgba(45,42,38,0.42); line-height: 1.55; }
.chart-gzi-empty {
    font-size: 13.5px; color: rgba(45,42,38,0.4);
    padding: 0.6rem 0.7rem;
    border: 1px dashed rgba(198, 184, 150, 0.4);
    border-radius: 8px; line-height: 1.6;
}
.chart-ln-row { cursor: pointer; }
.chart-ln-row.cln-drill {
    border-color: rgba(160, 48, 40, 0.55);
    background: rgba(160, 48, 40, 0.07);
}
.chart-legend { margin-top: 0.6rem; font-size: 13px; color: rgba(45,42,38,0.35); line-height: 1.6; }

/* ================================================================
   v20 择吉·此日与我：日干支对命造的十神与冲合刑害
   ================================================================ */
.cal-me-block { margin-top: 0.35rem; }
.cal-me-block .cal-hairline:first-child { margin-top: 0.55rem; }
.cal-me-acts { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }
.cal-me-tip {
    margin-top: 0.5rem; font-size: 14px; line-height: 1.7;
    color: rgba(160, 48, 40, 0.75);
    background: rgba(160, 48, 40, 0.045);
    border: 1px dashed rgba(160, 48, 40, 0.22);
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
}
.cal-me-tip:empty { display: none; }
.cal-me-none { font-size: 14px; color: rgba(45,42,38,0.4); }

/* ================================================================
   v39 择吉引擎层：天人接上下文条 · 月历引擎徽标 · 择时与我
   ================================================================ */
.cal-trj-ctx {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem;
    margin: 0.8rem auto 0; padding: 0.5rem 0.65rem;
    max-width: 22rem;
    background: rgba(255, 252, 244, 0.65);
    border: 1px solid rgba(198, 184, 150, 0.28);
    border-radius: 10px;
}
.cal-trj-ctx .cv-main { font-size: 14px; color: #2D2A26; font-family: "Noto Serif SC", serif; }
.cal-trj-ctx .cv-badge {
    font-size: 13px; letter-spacing: 0.04em;
    padding: 0.1rem 0.34rem; border-radius: 9999px;
    border: 1px solid rgba(198, 184, 150, 0.45);
    color: rgba(45,42,38,0.6); white-space: nowrap;
}
/* v78 今日节律一行：并入择吉页（原「我的」页节律卡的精华浓缩） */
.cal-rhythm-line {
    margin: 0.55rem auto 0; max-width: 22rem;
    font-size: 13px; letter-spacing: 0.05em; line-height: 1.7;
    text-align: center; color: rgba(45,42,38,0.62);
    font-family: "Noto Serif SC", "Songti SC", serif;
}
.cal-rhythm-line .cr-score { color: #8A7648; font-weight: 600; }
.cal-rhythm-line .cr-warn { color: #a03028; }
.cal-trj-ctx .cv-badge.cv-key { color: #a03028; border-color: rgba(160, 48, 40, 0.5); background: rgba(160, 48, 40, 0.06); }
.cal-trj-ctx .cv-badge.cv-ws { opacity: 0.55; border-style: dashed; }
.cal-trj-ctx .ctc-dy { font-size: 13.5px; color: rgba(138, 118, 72, 0.95); letter-spacing: 0.05em; margin-left: 0.15rem; }
/* 择吉总纲：安危方向 + 行运策略 */
.cal-trj-ctx .ctc-line { flex-basis: 100%; display: flex; align-items: flex-start; gap: 0.4rem; margin-top: 0.3rem; }
.ctc-dir {
    flex: none; font-size: 13.5px; letter-spacing: 0.1em;
    width: 1.15rem; height: 1.15rem; line-height: 1.15rem; text-align: center;
    border-radius: 9999px; border: 1px solid;
}
.ctc-dir-shou { color: #a03028; border-color: rgba(160, 48, 40, 0.55); background: rgba(160, 48, 40, 0.07); }
.ctc-dir-jin { color: #5a6e3a; border-color: rgba(110, 130, 70, 0.5); background: rgba(110, 130, 70, 0.07); }
.ctc-note { font-size: 13.5px; line-height: 1.6; color: rgba(45,42,38,0.55); }

/* 月历格内引擎徽标（cal-gzmark 行） */
.cal-gzmark {
    display: flex; justify-content: center; gap: 2px;
    min-height: 10px; margin-top: 1px;
}
.cal-gzmark .gzm {
    font-style: normal; font-size: 12.5px; line-height: 1.4;
    padding: 0 2px; border-radius: 3px; white-space: nowrap;
}
.gzm.c { color: #a03028; background: rgba(160, 48, 40, 0.12); }
.gzm.h { color: #5a6e3a; background: rgba(110, 130, 70, 0.12); }
.gzm.m { color: #8a6d3b; background: rgba(138, 109, 59, 0.13); }
.gzm.j { color: rgba(45,42,38,0.55); background: rgba(45,42,38,0.07); }
.gzm.n { color: rgba(45,42,38,0.3); background: transparent; }
/* v97 命造模式下月历防溢出：格与轨道允许收缩，徽标收敛换行 */
.cal-grid { min-width: 0; }
.cal-cell { min-width: 0; width: 100%; }
.cal-cell > span { max-width: 100%; }
.cal-gzmark { flex-wrap: wrap; padding: 0 1px; }
.cal-gzmark .gzm { font-size: 9.5px; line-height: 1.3; padding: 0 1.5px; letter-spacing: 0; }
.cal-jc { font-size: 12.5px; }
/* v98 长按徽标全量 tooltip */
#gzTip {
    position: fixed; z-index: 90; max-width: 220px;
    padding: 8px 10px 9px; border-radius: 10px;
    background: rgba(38, 32, 26, 0.94);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    opacity: 0; pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
#gzTip.on { opacity: 1; transform: translateY(0); }
#gzTip::after {
    content: ''; position: absolute; left: 50%; bottom: -4px;
    width: 9px; height: 9px; background: rgba(38, 32, 26, 0.94);
    transform: translateX(-50%) rotate(45deg); border-radius: 2px;
}
#gzTip .gz-tip-date { font-size: 10px; letter-spacing: 0.12em; color: rgba(248, 236, 221, 0.55); margin-bottom: 5px; }
#gzTip .gz-tip-body { display: flex; flex-wrap: wrap; gap: 4px; }
#gzTip .gzm { font-size: 11.5px; line-height: 1.4; padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
#gzTip .gzm.c { color: #f0b9b3; background: rgba(160, 48, 40, 0.38); }
#gzTip .gzm.h { color: #cfe0ae; background: rgba(110, 130, 70, 0.32); }
#gzTip .gzm.m { color: #e6cf9e; background: rgba(138, 109, 59, 0.35); }
#gzTip .gzm.j { color: rgba(255, 255, 255, 0.78); background: rgba(255, 255, 255, 0.12); }
#gzTip .gzm.n { color: rgba(248, 236, 221, 0.5); background: transparent; }
/* +N 折叠徽标略提神；长按防选中/放大镜 */
.cal-gzmark .gzm.n { color: rgba(138, 118, 72, 0.8); background: rgba(198, 184, 150, 0.16); }
.cal-cell { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* 此日与我：引擎条目 */
.cal-gz-items { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.45rem; }
.cal-gz-items .chart-gzi-row { padding: 0.32rem 0.45rem; }
.cal-gz-head { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }

/* 择时·与我：十二时辰行 */
.cal-gzh-row {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.32rem 0.5rem;
    border-radius: 7px;
    border: 1px solid rgba(198, 184, 150, 0.18);
    background: rgba(255, 252, 244, 0.5);
}
.cal-gzh-row.gzh-good { border-color: rgba(110, 130, 70, 0.4); background: rgba(110, 130, 70, 0.05); }
.cal-gzh-row.gzh-bad { border-color: rgba(160, 48, 40, 0.42); background: rgba(160, 48, 40, 0.045); }
.cal-gzh-row.gzh-now { box-shadow: inset 2px 0 0 #a03028; }
.gzh-z { flex: none; width: 1.1rem; font-size: 15px; color: #2D2A26; font-family: "Noto Serif SC", serif; text-align: center; }
.gzh-gz { flex: none; width: 2rem; font-size: 14px; color: rgba(45,42,38,0.75); font-family: "Noto Serif SC", serif; }
.gzh-range { flex: none; font-size: 13px; color: rgba(45,42,38,0.35); width: 3.4rem; }
.gzh-dots { flex: 1; display: flex; flex-wrap: wrap; gap: 2px; justify-content: flex-end; }
.gzh-dots .gzm { font-size: 12.5px; padding: 0 3px; border-radius: 3px; }

/* ================================================================
   v20b 月历与我微标：冲日支淡朱晕 · 合日支淡青晕
   （用 background-image 叠加，不覆盖 sel/today 的底色与边框）
   ================================================================ */
.cal-cell.me-clash {
    background-image: radial-gradient(circle at 50% 40%, rgba(160, 48, 40, 0.13), rgba(160, 48, 40, 0.045) 58%, transparent 75%);
}
.cal-cell.me-he {
    background-image: radial-gradient(circle at 50% 40%, rgba(96, 120, 66, 0.14), rgba(96, 120, 66, 0.05) 58%, transparent 75%);
}

/* ================================================================
   v21 生辰阴阳历切换：农历编码表换算 · 闰月
   ================================================================ */
.mz-cal-row { display: flex; align-items: center; gap: 0.7rem; margin: -0.2rem 0 0.7rem; }
.mz-cal-toggle {
    display: flex;
    background: rgba(45, 42, 38, 0.05);
    border-radius: 9999px;
    padding: 2px;
}
.mz-cal-opt {
    padding: 0.3rem 1rem;
    font-size: 15px;
    letter-spacing: 0.12em;
    border-radius: 9999px;
    color: rgba(45, 42, 38, 0.52);
    touch-action: manipulation;
    -webkit-touch-callout: none;
}
.mz-cal-opt.active {
    background: #fdfaf3;
    color: #a03028;
    box-shadow: 0 1px 4px rgba(45, 42, 38, 0.14);
}
.mz-leap { font-size: 15px; color: rgba(45, 42, 38, 0.6); display: flex; align-items: center; gap: 0.3rem; }
.mz-leap input { accent-color: #a03028; width: 0.85rem; height: 0.85rem; }
.mz-cal-hint { font-size: 13.5px; color: rgba(45, 42, 38, 0.38); margin: -0.3rem 0 0.75rem; line-height: 1.6; }

/* v22 命造摘要可点切换（农历生辰） */
.mz-birth-btn {
    cursor: pointer;
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
    margin: 0 auto;
    transition: background-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.mz-birth-btn:active { background: rgba(160, 48, 40, 0.06); }
/* v22 月历生日标 */
.cal-tag.bday {
    background: #a03028;
    color: #fdfaf3;
    border-radius: 9999px;
    padding: 0 0.5em;
    letter-spacing: 0.08em;
}

/* ================================================================
   v23 设计评审精修（文人案头 · 呼吸感与字体角色）
   ================================================================ */
:root {
    --font-display: "LXGW WenKai", "Noto Serif SC", serif;      /* 仪式性主标题 */
    --font-calligraphy: "Ma Shan Zheng", "LXGW WenKai", serif;  /* 书法大字 */
    --font-body: "LXGW WenKai", "Songti SC", serif;             /* 正文 */
    --font-num: "Cormorant Garamond", "LXGW WenKai", serif;     /* 数字 · 时辰 · 分数 */
    --ease-quiet: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-breath: cubic-bezier(0.45, 0, 0.15, 1);
    --d-slow: 480ms;
    --d-med: 320ms;
}
/* ① 字体角色归一（评审所指 Noto Serif CTA 为旧版残留，本构建正文已统一文楷） */
/* 品牌主标题：马善政毛笔体，一档品牌感 */
#pageHome header h1.font-headline {
    font-family: var(--font-calligraphy);
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
}
/* ② 底导航：金线分界 + 激活态朱砂横线，去背景填色 */
#mainTabBar { border-top: 1px solid rgba(184, 153, 104, 0.22); }
.tab-nav-item {
    position: relative;
    background: transparent;
    transition: transform 0.12s ease, color var(--d-med) var(--ease-quiet);
}
.tab-nav-item.active {
    background: transparent;
    color: #8c2620;
}
.tab-nav-item.active::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: #a03028;
    opacity: 0.9;
}
/* ③ 诵经：当前字落墨点 */
.sutra-char.current { position: relative; }
.sutra-char.current::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(42, 38, 32, 0.6);
}
/* ④ 签诗偈语：印章边小笺 */
.lot-jisong span {
    font-size: 15px;
    letter-spacing: 0.12em;
    border: 1px solid rgba(138, 118, 72, 0.35);
    color: #6b5a30;
    background: rgba(255, 248, 232, 0.6);
    padding: 2px 10px;
    border-radius: 2px;
}
/* ⑤ 节奏：卡片与墨钮放慢半拍 */
.lot-card, .lot-actions button { transition-duration: var(--d-slow); }
.mode-chip { transition-duration: var(--d-med); }

/* v24 今日一言：月轮右侧竖排题款，如古画落款。
   逐字堆叠实现竖排（外层 overflow 滚动容器会使 writing-mode 布局失效，故不用） */
.daily-line-wrap {
    position: absolute;
    right: -0.35rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}
#dailyLine {
    display: inline-block;
    width: 1.15em;
    max-width: 1.15em;
    min-width: 0;
    line-height: 1.62;
    word-break: break-all;
    text-align: center;
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(45, 42, 38, 0.42);
    user-select: none;
}

/* v25 今日三功课：朱砂小方印勾记 */
.dt-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.6rem 0.2rem;
    text-align: left;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.dt-row + .dt-row { border-top: 1px dashed rgba(138, 118, 72, 0.18); }
.dt-box {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(160, 48, 40, 0.45);
    border-radius: 3px;
    position: relative;
    transition: background-color var(--d-med) var(--ease-quiet);
}
.dt-row.on .dt-box { background: #a03028; border-color: #a03028; }
.dt-row.on .dt-box::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fdfaf3;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(42deg);
}
.dt-text {
    font-size: 15px;
    letter-spacing: 0.08em;
    color: rgba(45, 42, 38, 0.72);
    transition: color var(--d-med) var(--ease-quiet);
}
.dt-row.on .dt-text { color: rgba(45, 42, 38, 0.32); }

/* ================================================================
   v26 首页大幅提升（评审 P0+P1）
   ================================================================ */
/* ① 顶部时间锚点：今日干支·节气 ／ 时辰·刻 */
.home-header-top {
    position: absolute;
    top: 0.6rem;
    left: 1.25rem;
    right: 1.25rem;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-num);
    font-size: 14px;
    letter-spacing: 0.16em;
    color: rgba(58, 54, 50, 0.45);
    pointer-events: none;
}
/* ② 今日四件事：卦 · 宜 · 忌 · 节律 */
.today-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin-top: 1.1rem;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(184, 153, 104, 0.18);
    border-bottom: 1px solid rgba(184, 153, 104, 0.18);
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.4), rgba(255, 250, 240, 0.1));
}
.ts-cell { text-align: center; padding: 0.25rem 0; position: relative; }
.ts-cell + .ts-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(184, 153, 104, 0.22);
}
.ts-k { font-size: 13px; letter-spacing: 0.28em; color: rgba(58, 54, 50, 0.4); margin-bottom: 3px; }
.ts-v {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    color: rgba(42, 38, 32, 0.85);
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}
.ts-v-num { font-family: var(--font-num); font-size: 17px; font-weight: 600; line-height: 1.35; }
.ts-cell-yi .ts-v { color: #6e5a32; }
.ts-cell-ji .ts-v { color: #8c2620; }
/* ③ 模式印章化：案头三枚圆印 */
#pageHome .mode-chip.mode-seal {
    flex: none;
    width: 3.05rem;
    height: 3.05rem;
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.72);
    border: 1px solid rgba(184, 153, 104, 0.3);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 0;
    letter-spacing: 0;
}
#pageHome .mode-chip.mode-seal .ms-name {
    font-family: var(--font-calligraphy);
    font-size: 15px;
    line-height: 1;
    color: rgba(58, 54, 50, 0.55);
}
#pageHome .mode-chip.mode-seal .ms-sub {
    font-size: 12.5px;
    letter-spacing: 0.2em;
    color: rgba(58, 54, 50, 0.38);
}
#pageHome .mode-chip.mode-seal.active {
    background: linear-gradient(160deg, #a93528, #8e271c);
    border-color: #8e271c;
    box-shadow:
        inset 0 0 12px rgba(80, 12, 8, 0.45),
        inset 0 0 0 0.5px rgba(255, 240, 220, 0.25),
        0 4px 16px rgba(140, 38, 32, 0.28);
    transform: scale(1.05);
    color: transparent;
}
#pageHome .mode-chip.mode-seal.active::after { content: none; }
#pageHome .mode-chip.mode-seal.active .ms-name { color: rgba(255, 240, 220, 0.94); }
#pageHome .mode-chip.mode-seal.active .ms-sub { color: rgba(255, 240, 220, 0.72); }
/* ④ 蓄力可读性：进度环 + 中央「蓄」字 */
.charge-arc {
    position: absolute;
    inset: 6px;
    border-radius: 9999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: conic-gradient(from -90deg, rgba(160, 48, 40, 0.55) calc(var(--charge, 0) * 1%), rgba(198, 184, 150, 0.12) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 64%);
            mask: radial-gradient(farthest-side, transparent 62%, #000 64%);
}
#discContainer.disc-charging .charge-arc { opacity: 1; }
.charge-glyph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-calligraphy);
    font-size: 30px;
    color: rgba(140, 38, 32, 0.88);
    text-shadow: 0 0 18px rgba(198, 184, 150, 0.5);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--d-slow) var(--ease-quiet), transform var(--d-slow) var(--ease-quiet);
    pointer-events: none;
}
#discContainer.disc-charging .charge-glyph { opacity: 1; transform: scale(1); }
/* ⑤ 粒子香：如香灰缓升 */
.disc-incense {
    position: absolute;
    inset: 0;
    pointer-events: none;
    -webkit-mask: radial-gradient(circle, transparent 30%, #000 34%);
            mask: radial-gradient(circle, transparent 30%, #000 34%);
}
.incense-pill {
    position: absolute;
    bottom: 16%;
    left: var(--x, 50%);
    width: 1.5px;
    height: 1.5px;
    border-radius: 50%;
    background: rgba(184, 153, 104, 0.7);
    box-shadow: 0 0 6px rgba(184, 153, 104, 0.5);
    animation: incenseRise 8s linear infinite;
    animation-delay: var(--d, 0s);
    opacity: 0;
}
@keyframes incenseRise {
    0%   { transform: translate(-50%, 0) scale(1); opacity: 0; }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { transform: translate(-50%, -170px) scale(0.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .incense-pill { animation: none; opacity: 0.35; }
    .charge-glyph { transition: none; }
}
/* v27 #3 全局轻播放条：非首页 tab 播放时显示 */
#globalPlayBar { position: fixed; left: 0; right: 0; bottom: 4.6rem; z-index: 65; }
#globalPlayBar .gpb-inner { max-width: 28rem; margin: 0 auto; display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1rem; background: rgba(250,249,247,0.94); border: 1px solid rgba(138,118,72,0.14); border-radius: 9999px; box-shadow: 0 6px 20px rgba(45,42,38,0.08); backdrop-filter: blur(8px); }
#globalPlayBar .gpb-track { flex: 1; min-width: 0; font-size: 15px; color: rgba(45,42,38,0.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#globalPlayBar .gpb-btn { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: rgba(160,48,40,0.92); color: #fdfaf3; }
/* ========== v28 月窗播放器：素月 + 整句经文 ========== */
/* 月轮本体：宋瓷受光面，光从左上方 35°，无双线/无渐变罩/无重投影 */
#discContainer.moon-window {
    background:
        radial-gradient(ellipse 120% 100% at 30% 25%,
            #FCFAF5 0%,
            #F8F4EC 60%,
            #F2EBDB 90%,
            #EEE6D2 100%);
    border: 0;
    box-shadow:
        inset 0  1.5px 0 rgba(255, 253, 248, 0.95),
        inset 0 -1.5px 0 rgba(56, 58, 53, 0.13),
        inset 0  0  0  0.5px rgba(56, 58, 53, 0.22);
}
/* 经文：整句呈现，宋体实色，淡入淡出换句 */
#sutraLine {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 24px;
    color: #383A35;
    letter-spacing: 0.01em;
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
    padding: 0 1.2rem;
    max-width: 100%;
    transition: opacity 0.6s ease;
}
/* 播放中：经文短暂显朱砂再回墨 */
#discContainer.is-playing #sutraLine {
    color: #974A3E;
}
/* 蓄力：经文淡出（保留 charge-core/halo 动画） */
#discContainer.disc-charging #sutraLineWrap {
    opacity: 0;
}
/* 删除的旧装饰（防御性置空） */
#discContainer .sutra-progress-ring,
#discContainer .sutra-playing-dot,
#discContainer .charge-arc,
#discContainer .charge-glyph,
#discContainer .disc-incense,
#discContainer #spinRing,
.mandala-layer,
.ink-well,
.moon-phase,
.disc-ticks,
.home-ambient,
.home-ambient-ring {
    display: none !important;
}
/* 朱砂方印「密」：经典标题右侧，歪 2°，印泥感 */
.disc-stamp {
    width: 17px; height: 17px;
    background: #974A3E;
    border-radius: 1px;
    display: inline-grid;
    place-items: center;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-weight: 700;
    font-size: 14.5px;
    color: #FCFAF5;
    letter-spacing: 0;
    flex-shrink: 0;
    transform: rotate(-2deg);
    box-shadow:
        inset 0 0 0 0.5px rgba(252, 250, 245, 0.28),
        inset 0 -1px 1px rgba(80, 12, 8, 0.30),
        0 0 6px rgba(151, 74, 62, 0.10);
    vertical-align: middle;
    margin-left: 4px;
    transition: transform var(--d-slow) var(--ease-quiet);
}
/* 蓄力时朱印放大脉冲 */
#discContainer.disc-charging ~ .classic-switch .disc-stamp,
#discContainer.disc-charging .disc-stamp {
    transform: rotate(-2deg) scale(1.15);
}
/* 进度细线：月轮下方，idle 只显轨道 */
.sutra-progress-line {
    width: 100%;
    max-width: 280px;
    margin: 20px auto 0;
}
.sutra-progress-track {
    width: 100%;
    height: 1px;
    background: rgba(56, 58, 53, 0.16);
    position: relative;
}
.sutra-progress-fill {
    position: absolute;
    left: 0;
    top: -0.25px;
    bottom: -0.25px;
    height: 1.5px;
    background: #974A3E;
    width: 0%;
    transition: width 0.3s linear;
}
.sutra-progress-times {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    font-family: var(--font-num);
    font-size: 15px;
    letter-spacing: 0.06em;
    color: rgba(56, 58, 53, 0.55);
    font-feature-settings: "tnum";
}
/* v29 月窗纸纹：feTurbulence 宣纸肌理，极细只在细看时出现 */
#discContainer.moon-window::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='mw'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.22 0 0 0 0 0.21 0 0 0 0 0.18 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23mw)'/%3E%3C/svg%3E");
    background-size: 240px 240px;
    opacity: 0.3;
    pointer-events: none;
}
/* v29 月窗浮影：极淡的圆盘投影，让月轮从纸面浮起 */
#discContainer.moon-window::after {
    content: '';
    position: absolute;
    inset: -4%;
    border-radius: inherit;
    background: radial-gradient(ellipse 65% 55% at 50% 62%, rgba(45, 42, 38, 0.05), transparent 70%);
    z-index: -1;
    pointer-events: none;
}
/* v29 朱印墨印：印泥晕 + 盖印压力不均 */
.disc-stamp {
    box-shadow:
        inset 0 0 0 0.5px rgba(252, 250, 245, 0.28),
        inset 0 -1px 1px rgba(80, 12, 8, 0.30),
        0 0 6px rgba(151, 74, 62, 0.10),
        0 0 14px rgba(151, 74, 62, 0.06);
}
/* v29 经文微浮雕：几乎不可见的下沿影，增加纸面印刷感 */
#sutraLine {
    text-shadow: 0 0.5px 0 rgba(255, 253, 248, 0.5);
}
/* v29 蓄力时月轮下沉感 */
#discContainer.disc-charging.moon-window {
    box-shadow:
        inset 0  1.5px 0 rgba(255, 253, 248, 0.95),
        inset 0 -1.5px 0 rgba(56, 58, 53, 0.13),
        inset 0  0  0  0.5px rgba(56, 58, 53, 0.22),
        0 2px 8px rgba(45, 42, 38, 0.04);
}
/* v29 播放中月轮内透光：素月从内亮起 */
#discContainer.is-playing.moon-window {
    background:
        radial-gradient(ellipse 120% 100% at 30% 25%,
            #FDFCFA 0%,
            #FAF8F4 45%,
            #F5F1E8 75%,
            #EDE6D5 100%);
    box-shadow:
        inset 0  1.5px 0 rgba(255, 253, 248, 0.95),
        inset 0 -1.5px 0 rgba(56, 58, 53, 0.13),
        inset 0  0  0  0.5px rgba(56, 58, 53, 0.22),
        inset 0 0 32px rgba(252, 250, 245, 0.55);
}
/* v29 播放中经文显朱砂 */
#discContainer.is-playing #sutraLine {
    color: #974A3E;
}
/* ========== v31 首页美学提升：锚点 · 降噪 · 光 ========== */
/* ① 月窗：受光对比增强 + 极淡外投影，让素月浮出纸面成为第一锚点 */
#discContainer.moon-window {
    background:
        radial-gradient(ellipse 130% 105% at 28% 22%,
            #FDFCF9 0%,
            #F9F5EC 42%,
            #F1E9D5 78%,
            #E9DFC5 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 253, 248, 0.95),
        inset 0 -2px 0 rgba(56, 58, 53, 0.15),
        inset 0 0 0 0.5px rgba(56, 58, 53, 0.24),
        0 10px 26px rgba(45, 42, 38, 0.07),
        0 2px 5px rgba(45, 42, 38, 0.035);
}
/* 晨光光环：月窗外层极淡的环形亮晕，如窗纸透进来的光 */
#discContainer.moon-window::after {
    inset: -9%;
    background:
        radial-gradient(ellipse 62% 52% at 50% 64%, rgba(45, 42, 38, 0.055), transparent 70%),
        radial-gradient(ellipse 88% 80% at 42% 36%, rgba(255, 252, 242, 0.5), transparent 68%);
}
/* ② 播放中：瓷后暖光透出 + 经文柔光晕 */
#discContainer.is-playing.moon-window {
    background:
        radial-gradient(ellipse 130% 105% at 28% 22%,
            #FEFDFB 0%,
            #FBF8F1 40%,
            #F4EDDB 75%,
            #ECE2CA 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 253, 248, 0.95),
        inset 0 -2px 0 rgba(56, 58, 53, 0.15),
        inset 0 0 0 0.5px rgba(56, 58, 53, 0.24),
        inset 0 0 46px rgba(255, 244, 218, 0.9),
        0 10px 26px rgba(45, 42, 38, 0.07);
}
#discContainer.is-playing #sutraLine {
    text-shadow:
        0 0.5px 0 rgba(255, 253, 248, 0.5),
        0 0 20px rgba(151, 74, 62, 0.20);
}
/* ③ 顶部降噪：时间锚点与信息钮退成远山大雾 */
.home-header-top { color: rgba(58, 54, 50, 0.32); font-size: 13.5px; letter-spacing: 0.2em; }
#pageHome header > button:last-child { opacity: 0.42; }
/* ④ 节律条：框线减淡，退为隐约的界 */
.today-strip {
    border-top-color: rgba(184, 153, 104, 0.12);
    border-bottom-color: rgba(184, 153, 104, 0.12);
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.30), rgba(255, 250, 240, 0.04));
}
.ts-cell + .ts-cell::before { background: rgba(184, 153, 104, 0.13); }
.ts-k { color: rgba(58, 54, 50, 0.32); }
.ts-v { color: rgba(42, 38, 32, 0.78); }
.ts-cell-yi .ts-v { color: #7a683c; }
.ts-cell-ji .ts-v { color: #8c2620; }
/* ⑤ 宜忌卡：双线收淡，贴回纸面 */
#pageHome .yiji-card {
    background: rgba(255, 253, 248, 0.42);
    border-color: rgba(198, 184, 150, 0.22);
}
#pageHome .yiji-card::after { border-color: rgba(198, 184, 150, 0.11); }
#pageHome .home-score-label { color: rgba(58, 54, 50, 0.38); }
/* ⑥ 三圆印：非激活贴纸面；激活改实色朱砂（收掉渐变） */
#pageHome .mode-chip.mode-seal {
    background: rgba(252, 250, 245, 0.58);
    border-color: rgba(184, 153, 104, 0.24);
    box-shadow: 0 1px 3px rgba(45, 42, 38, 0.04);
}
#pageHome .mode-chip.mode-seal .ms-name { color: rgba(58, 54, 50, 0.48); }
#pageHome .mode-chip.mode-seal .ms-sub { color: rgba(58, 54, 50, 0.34); }
#pageHome .mode-chip.mode-seal.active {
    background: #9C4A3C;
    border-color: #8e3f32;
    box-shadow:
        inset 0 0 10px rgba(80, 12, 8, 0.38),
        inset 0 0 0 0.5px rgba(255, 240, 220, 0.22),
        0 3px 12px rgba(140, 38, 32, 0.22);
}
/* ⑦ 密印微放大：全页唯一实心朱砂焦点 */
#pageHome .disc-stamp { width: 19px; height: 19px; font-size: 15px; }
/* ⑧ 进度细线与时间减淡 */
#pageHome .sutra-progress-track { background: rgba(56, 58, 53, 0.13); }
#pageHome .sutra-progress-times { color: rgba(56, 58, 53, 0.45); }
/* ========== v32 质感批次：斜光 · 釉面 · 印泥 · 纸骨 ========== */
/* ① 丁达尔斜光束：正顶散光改为左上天窗一道有方向的光，扫向月窗 */
#pageHome::before {
    left: 6%;
    top: -16%;
    width: 130%;
    height: 70%;
    transform: rotate(13deg) skewX(-5deg);
    transform-origin: 28% 0%;
    background:
        linear-gradient(103deg,
            transparent 36%,
            rgba(255, 252, 240, 0.48) 46%,
            rgba(255, 248, 228, 0.74) 51%,
            rgba(255, 252, 240, 0.48) 56%,
            transparent 66%);
    filter: blur(7px);
}
/* ② 瓷面月牙高光：月窗左上一层釉面 specular */
#discContainer.moon-window {
    background:
        radial-gradient(ellipse 36% 24% at 31% 21%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 68%),
        radial-gradient(ellipse 130% 105% at 28% 22%,
            #FDFCF9 0%,
            #F9F5EC 42%,
            #F1E9D5 78%,
            #E9DFC5 100%);
}
#discContainer.is-playing.moon-window {
    background:
        radial-gradient(ellipse 36% 24% at 31% 21%, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0) 68%),
        radial-gradient(ellipse 130% 105% at 28% 22%,
            #FEFDFB 0%,
            #FBF8F1 40%,
            #F4EDDB 75%,
            #ECE2CA 100%);
}
/* ③ 纸骨双层纹：粗纤维托底 + 细颗粒覆面 */
#pageHome::after {
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='fb'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.11' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23fb)' opacity='0.045'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='fx'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23fx)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.6;
}
/* ④ 印泥：密印与激活圆印边缘做印章糙边 */
#pageHome .disc-stamp,
#pageHome .mode-chip.mode-seal.active {
    filter: url(#inkRough);
}
/* ⑤ 按压反馈：圆印像按进纸面 */
#pageHome .mode-chip.mode-seal {
    transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
}
#pageHome .mode-chip.mode-seal:active {
    transform: scale(0.93);
}
/* ⑥ 标题轻浮雕：铅印般的印刷质感 */
#pageHome header h1 {
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55),
        0 -1px 1px rgba(56, 58, 53, 0.05);
}
/* ========== v33 整体重排：月窗负责静观 · 文字负责表达 · 按钮负责操作 ========== */
/* ① 月窗素白化：接近均匀素白，只留极轻层次——月窗是空间，不是器物 */
#discContainer.moon-window {
    background:
        radial-gradient(ellipse 120% 105% at 30% 24%,
            #FDFCFA 0%,
            #FAF7F0 55%,
            #F5F0E4 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 253, 248, 0.8),
        inset 0 0 0 0.5px rgba(56, 58, 53, 0.18),
        0 6px 18px rgba(45, 42, 38, 0.045);
}
/* 圆内纸纹再减弱 */
#discContainer.moon-window::before { opacity: 0.14; }
/* 浮影也收：月窗不像从纸面浮起的盘 */
#discContainer.moon-window::after {
    background:
        radial-gradient(ellipse 62% 52% at 50% 66%, rgba(45, 42, 38, 0.035), transparent 70%);
}
/* ② 播放中只留经文朱砂，去暖光与字晕 */
#discContainer.is-playing.moon-window {
    background:
        radial-gradient(ellipse 120% 105% at 30% 24%,
            #FDFCFA 0%,
            #FAF7F0 55%,
            #F5F0E4 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 253, 248, 0.8),
        inset 0 0 0 0.5px rgba(56, 58, 53, 0.18),
        0 6px 18px rgba(45, 42, 38, 0.045);
}
#discContainer.is-playing #sutraLine {
    color: #974A3E;
    text-shadow: none;
}
/* ③ 明确播放按钮：墨实底 pill，播放中变朱砂 */
#playBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 46px;
    border-radius: 999px;
    background: #3A3632;
    color: #F7F4EE;
    font-size: 15px;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
    font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
    box-shadow:
        0 4px 14px rgba(45, 42, 38, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
#playBtn:active { transform: scale(0.97); }
#playBtn .pb-icon {
    width: 0;
    height: 0;
    border-left: 9px solid currentColor;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    text-indent: 0;
}
#playBtn.playing {
    background: #974A3E;
    box-shadow:
        0 4px 14px rgba(151, 74, 62, 0.26),
        inset 0 1px 0 rgba(255, 240, 220, 0.2);
}
#playBtn.playing .pb-icon {
    width: 10px;
    height: 12px;
    border: 0;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
}
/* ④ 模式：完整文字，系统黑体，选中墨实底 */
.mode-row {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-top: 1.5rem;
}
.mode-item {
    flex: 1;
    padding: 11px 0;
    border-radius: 8px;
    border: 1px solid rgba(184, 153, 104, 0.28);
    background: rgba(252, 250, 245, 0.6);
    color: rgba(58, 54, 50, 0.66);
    font-size: 14px;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
    box-shadow: 0 1px 3px rgba(45, 42, 38, 0.04);
    transition: transform 0.15s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.mode-item:active { transform: scale(0.96); }
.mode-item.active {
    background: #3A3632;
    border-color: #3A3632;
    color: #F7F4EE;
    box-shadow: 0 3px 10px rgba(45, 42, 38, 0.18);
}
/* ⑤ 今日简报：hairline 行式入口（v46c，与问事/择吉同一语言） */
.today-brief {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-top: 1.6rem;
    padding: 0.85rem 0.35rem 0.1rem;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(45, 42, 38, 0.10);
    border-radius: 0;
    color: rgba(45, 42, 38, 0.45);
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-align: left;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}
.today-brief:active { transform: none; }
.today-brief .tb-label {
    flex: 0 0 auto;
    font-size: 15px;
    letter-spacing: 0.14em;
    color: rgba(45, 42, 38, 0.58);
}
.today-brief .tb-main {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(45, 42, 38, 0.72);
    letter-spacing: 0.04em;
}
.today-brief .tb-arrow {
    flex: 0 0 auto;
    color: rgba(45, 42, 38, 0.32);
    font-size: 14px;
}
/* v48 首页「正在经历」：一窗清音下的 Matter 呈现（默认隐藏，有事才现） */
.home-matter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    max-width: 320px;
    margin-top: 0.9rem;
    padding: 0.7rem 0.35rem 0.15rem;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(198, 184, 150, 0.22);
    border-radius: 0;
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.home-matter:active { opacity: 0.72; }
.home-matter .hm-label {
    font-size: 13.5px;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
    color: rgba(45, 42, 38, 0.38);
}
.home-matter .hm-q {
    font-size: 15px;
    color: rgba(45, 42, 38, 0.78);
    letter-spacing: 0.04em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-matter .hm-line {
    font-size: 14px;
    letter-spacing: 0.08em;
    color: rgba(151, 74, 62, 0.75);
}
.brief-panel {
    width: 100%;
    max-width: 320px;
    margin-top: 0.5rem;
    padding: 6px 16px 10px;
    border-radius: 10px;
    border: 1px solid rgba(184, 153, 104, 0.16);
    background: rgba(255, 253, 248, 0.34);
}
.bp-row {
    display: flex;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(184, 153, 104, 0.14);
    font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
    font-size: 14px;
}
.bp-row:last-child { border-bottom: 0; }
.bp-k {
    flex: 0 0 3.2em;
    color: rgba(58, 54, 50, 0.55);
    letter-spacing: 0.14em;
}
.bp-v { color: rgba(42, 38, 32, 0.82); letter-spacing: 0.04em; }
.bp-v.bp-yi { color: #6e5a32; }
.bp-v.bp-ji { color: #8c2620; }
/* ⑥ 诵读进度标签 */
.sutra-progress-head {
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.34em;
    text-indent: 0.34em;
    color: rgba(58, 54, 50, 0.45);
    font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
    margin-bottom: 4px;
}
/* ⑥b 首屏节奏：压缩主视觉外围与区间距，一屏放下 */
#pageHome main .home-breath { width: min(100%, 288px); }
#pageHome .mode-row { margin-top: 1.25rem; }
#pageHome .today-brief { margin-top: 1.25rem; }
#pageHome main { padding-bottom: 6.5rem; }
/* v88 中屏（≤870px，主流手机 812–852）首页纵向再收一档：悬镜缩到 236、新元素间距收紧，
   保证「心事速问」不被底部播放条盖住、不滚动即可达。须置于 ⑥b 之后（同特异性后来者居上） */
@media (max-height: 870px) {
    #pageHome main .home-breath { width: min(100%, 224px); }
    #pageHome #discContainer { width: 13rem; height: 13rem; }
    #pageHome .home-prose { margin-top: 6px; }
    .home-rhythm { margin-top: 8px; }
    .home-needs { margin-top: 8px; }
    .play-dock { padding-top: 4px; padding-bottom: 4px; }
}
/* ⑦ 全局播放条：加关闭钮 */
.gpb-close {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    color: rgba(58, 54, 50, 0.4);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.gpb-close:hover { background: rgba(58, 54, 50, 0.06); color: rgba(58, 54, 50, 0.65); }
/* ⑧ 文字层级：副题 / 时间信息 / 操作提示全部提级提对比 */
#pageHome header p {
    font-size: 15px;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    color: rgba(58, 54, 50, 0.45);
}
.home-header-top { font-size: 14.5px; letter-spacing: 0.14em; color: rgba(58, 54, 50, 0.42); }
#pageHome .home-hint { font-size: 15px; color: rgba(58, 54, 50, 0.5); letter-spacing: 0.15em; margin-top: 0.4rem; }
#pageHome .sutra-progress-times { font-size: 15px; }
#pageHome .rhythm-label { font-size: 15px; }
#pageHome .next-track { font-size: 15px; }
/* v83 首页今日节律：时辰吉凶带 + 引擎宜忌 + 当下宜听；
   v87 收纳为一张节律卡；v92 视觉与交互精修：纸面渐变、时辰 chip 呼吸高亮、
   宜忌药丸标签、配饰真实色点、宜听圆形播放键与播中状态 */
.home-rhythm { width: 100%; max-width: 344px; margin: 18px auto 0; }
.hr-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(250, 246, 238, 0.88));
    border: 1px solid rgba(198, 184, 150, 0.42);
    border-radius: 20px;
    padding: 12px 12px 6px;
    box-shadow: 0 4px 18px rgba(45, 42, 38, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.hr-hours { display: flex; gap: 5px; overflow-x: auto; padding: 10px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hr-hours::-webkit-scrollbar { display: none; }
.hr-h {
    position: relative; flex: 0 0 auto; width: 42px; padding: 6px 0 7px;
    border-radius: 11px; background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(198, 184, 150, 0.24);
    display: flex; flex-direction: column; align-items: center; gap: 1px;
    cursor: pointer; touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.hr-h:active { transform: scale(0.93); }
.hr-h .z { font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 14px; color: rgba(45, 42, 38, 0.78); line-height: 1.15; }
.hr-h .r { font-size: 9px; color: rgba(45, 42, 38, 0.34); font-feature-settings: "tnum"; }
.hr-h .m { margin-top: 2px; font-size: 8px; line-height: 7px; height: 7px; }
.hr-h.good .m { color: #a03028; }
.hr-h.bad .m { color: rgba(45, 42, 38, 0.28); }
.hr-h.now { border-color: rgba(160, 48, 40, 0.6); background: rgba(160, 48, 40, 0.055); }
.hr-h.now .z { color: #a03028; }
.hr-h.now::before {
    content: "现在"; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    font-size: 8px; line-height: 1; letter-spacing: 0.1em; color: #fdfbf6;
    background: #a03028; border-radius: 999px; padding: 2px 5px 2px 6px;
}
@keyframes hrNowPulse {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(160, 48, 40, 0.2), 0 0 0 0 rgba(160, 48, 40, 0.14); }
    50% { box-shadow: inset 0 0 0 1px rgba(160, 48, 40, 0.3), 0 0 0 5px rgba(160, 48, 40, 0.045); }
}
.hr-h.now { animation: hrNowPulse 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hr-h.now { animation: none; } }
/* 引擎信息区：发丝线分隔，左对齐行式 */
.hr-info { border-top: 1px solid rgba(198, 184, 150, 0.24); margin-top: 2px; padding: 8px 2px 2px; display: flex; flex-direction: column; gap: 5px; }
.hr-yiji { margin: 0; font-size: 11px; letter-spacing: 0.04em; color: rgba(45, 42, 38, 0.55); line-height: 1.6; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.hr-yiji b { font-weight: 500; }
.hr-yiji .yi { color: rgba(47, 88, 68, 0.95); background: rgba(88, 130, 105, 0.1); padding: 0 8px; border-radius: 999px; border: 1px solid rgba(88, 130, 105, 0.16); }
.hr-yiji .ji { color: #a03028; background: rgba(160, 48, 40, 0.07); padding: 0 8px; border-radius: 999px; border: 1px solid rgba(160, 48, 40, 0.18); }
/* v92 奇门行：遁局标签 chip 化 */
.hr-qimen { margin-top: 0; }
.hr-yiji .qm-tag {
    display: inline-block; font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 10px;
    letter-spacing: 0.14em; color: rgba(151, 74, 62, 0.92);
    border: 1px solid rgba(151, 74, 62, 0.3); background: rgba(151, 74, 62, 0.06);
    border-radius: 6px; padding: 0 6px; line-height: 16px;
}
.hr-qimen .qm-dun { color: rgba(138, 118, 72, 0.95); }
/* v92 身宜行：配饰真实色点 */
.wear-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 1px -1px 3px; border: 1px solid rgba(45, 42, 38, 0.18); }
/* v92 宜听动作：左文右圆键，播中圆键朱砂实心 */
.hr-nowplay {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; margin-top: 8px; padding: 10px 6px 10px;
    border-top: 1px solid rgba(198, 184, 150, 0.24);
    background: none; border-left: none; border-right: none; border-bottom: none; border-radius: 0;
    text-align: left; cursor: pointer; touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.14s ease;
}
.hr-nowplay:active { opacity: 0.65; transform: none; }
.hrn-texts { display: block; min-width: 0; }
.hrn-kicker { display: block; font-size: 10px; letter-spacing: 0.32em; text-indent: 0.32em; color: rgba(138, 118, 72, 0.9); }
.hrn-main { display: block; margin-top: 4px; font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 15px; color: #2D2A26; letter-spacing: 0.04em; }
.hrn-sub { display: block; margin-top: 3px; font-size: 11px; color: rgba(45, 42, 38, 0.45); letter-spacing: 0.08em; }
.hrn-play {
    flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(160, 48, 40, 0.5); color: #a03028;
    background: rgba(160, 48, 40, 0.06);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.16s ease, background 0.2s ease, color 0.2s ease;
}
.hrn-icon-play { width: 15px; height: 15px; margin-left: 1.5px; }
.hrn-icon-pause { width: 14px; height: 14px; }
.hr-nowplay:active .hrn-play { transform: scale(0.9); }
.hr-nowplay.playing .hrn-play { background: #a03028; border-color: #a03028; color: #fdfbf6; }

/* ===== v95 首页「一轮月 · 一段经 · 一个动作」 =====
   底部常驻播放条让位于月轮下唯一播放键（非首页 tab 由全局轻播放条承接） */
#pageHome .play-dock { display: none; }
#pageHome > main { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px)); }
.home-listen { display: flex; flex-direction: column; align-items: center; margin-top: 20px; }
.hl-title {
    background: none; border: none; cursor: pointer; touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 16.5px; letter-spacing: 0.06em;
    color: #343831; padding: 6px 12px;
    display: inline-flex; align-items: center; gap: 6px;
}
.hl-title:active { opacity: 0.6; }
.hl-title .hl-arrow { font-size: 11px; color: #95564B; }
#heroPlayKey {
    margin-top: 16px; width: 64px; height: 64px; border-radius: 50%;
    border: 1px solid rgba(149, 86, 75, 0.5); color: #95564B; background: rgba(149, 86, 75, 0.06);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: transform 0.16s ease, background 0.2s ease, color 0.2s ease;
}
#heroPlayKey .hl-circle { display: flex; align-items: center; justify-content: center; }
#heroPlayKey .pk-icon-play { width: 23px; height: 23px; margin-left: 2px; }
#heroPlayKey .pk-icon-pause { width: 20px; height: 20px; }
#heroPlayKey:active { transform: scale(0.92); }
#heroPlayKey.playing { background: #95564B; border-color: #95564B; color: #fdfbf6; }
.hl-misc {
    margin-top: 14px; background: none; border: none; cursor: pointer;
    font-size: 12.5px; letter-spacing: 0.1em; color: #74766E; padding: 8px 12px;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.hl-misc:active { opacity: 0.6; }
/* 今日节律一行摘要：淡金渐变线为界，点进择吉（v107：气口圆点 + 主次分段） */
.home-rhythm-line {
    width: 100%; max-width: 344px; margin: 38px auto 0;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 13px 2px 0; border: none; border-top: 1px solid #E3DED3;
    border-image: linear-gradient(90deg, transparent, #d8cdb4 30%, #d8cdb4 70%, transparent) 1;
    border-radius: 0;
    background: none; cursor: pointer; text-align: left;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.home-rhythm-line:active { opacity: 0.6; }
/* v107 气口圆点：当前时辰的吉凶色，一行灰字里的视觉锚点 */
.hrl-dot {
    flex: none; width: 7px; height: 7px; border-radius: 50%;
    background: #b9b2a4; box-shadow: 0 0 0 3px rgba(185, 178, 164, 0.18);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hrl-dot.good { background: #c8a24a; box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.2), 0 0 10px rgba(200, 162, 74, 0.45); }
.hrl-dot.calm { background: #b9b2a4; box-shadow: 0 0 0 3px rgba(185, 178, 164, 0.18); }
.home-rhythm-line .hrl-txt { flex: 1; min-width: 0; font-size: 13px; line-height: 1.7; letter-spacing: 0.03em; color: #74766E; }
/* v107 主段：当下时辰那半句，文楷暖黑，从灰字里站出来 */
.home-rhythm-line .hrl-now {
    font-family: "LXGW WenKai", "Noto Serif SC", serif;
    font-size: 13.5px; letter-spacing: 0.05em; color: rgba(45, 42, 38, 0.82);
}
.home-rhythm-line .hrl-arrow { color: #95564B; font-size: 15px; flex: 0 0 auto; }
.home-ask-link {
    margin: 16px 0 8px; background: none; border: none; cursor: pointer;
    font-size: 13px; letter-spacing: 0.14em; color: #95564B; padding: 8px 12px;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.home-ask-link:active { opacity: 0.6; }
/* v95 引擎今日一句：收进聆听中心之后，间距重排 */
.home-prose { margin: 16px auto 0; max-width: 320px; text-align: center; font-family: "LXGW WenKai", "Noto Serif SC", serif; font-size: 13.5px; line-height: 1.8; letter-spacing: 0.05em; color: rgba(52, 56, 49, 0.6); }
.home-prose:empty { display: none; margin-top: 0; }
/* v88 心事速问：女性受众三大刚需直达（问感情/问事业/求安睡） */
.home-needs { display: flex; gap: 8px; width: 100%; max-width: 344px; margin: 14px auto 0; }
.hn-chip {
    flex: 1; padding: 10px 4px 9px; border-radius: 12px;
    background: rgba(255, 253, 248, 0.82); border: 1px solid rgba(198, 184, 150, 0.38);
    box-shadow: 0 2px 10px rgba(45, 42, 38, 0.04);
    text-align: center; cursor: pointer; touch-action: manipulation;
    -webkit-tap-highlight-color: transparent; transition: opacity 0.14s ease; font-family: inherit;
}
.hn-chip:active { opacity: 0.6; }
.hn-chip b { display: block; font-family: "LXGW WenKai", "Noto Serif SC", serif; font-weight: 500; font-size: 15px; letter-spacing: 0.12em; text-indent: 0.12em; color: #2D2A26; }
.hn-chip span { display: block; margin-top: 3px; font-size: 11px; letter-spacing: 0.04em; color: rgba(45, 42, 38, 0.45); }
/* v88 底部播放条：经典/氛围设置/播放同属一条，贴 tab 栏上方常驻 */
.play-dock {
    position: fixed; left: 0; right: 0; z-index: 65;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    max-width: 448px; margin: 0 auto;
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: rgba(251, 249, 244, 0.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(198, 184, 150, 0.3);
    box-shadow: 0 -4px 16px rgba(45, 42, 38, 0.05);
}
.play-dock .classic-switch {
    flex: 1 1 auto; min-width: 0;
    display: flex; align-items: baseline; justify-content: flex-start;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    padding: 0.4rem 0.4rem; letter-spacing: 0.08em; text-align: left;
}
.play-dock .classic-switch #classicName { overflow: hidden; text-overflow: ellipsis; }
.play-dock .play-misc-toggle { margin: 0; padding: 0.4rem 0.5rem; flex: 0 0 auto; }
.play-dock .pmt-label { display: none; } /* dock 内只露「专注·水音 ›」摘要 */

/* ============ v41 首页重构：一个完整的聆听器物与阅读空间 ============ */
/* 月窗：收投影、降暖黄、播放只沉稳朱砂不加光晕 */
#pageHome .home-hero { margin-top: 0.5rem; }
#pageHome .moon-window {
    box-shadow:
        0 0 0 1px rgba(214, 208, 198, 0.6),
        0 6px 18px rgba(45, 42, 38, 0.10),
        inset 0 0 32px rgba(255, 253, 248, 0.5),
        inset 0 -12px 24px rgba(187, 176, 160, 0.14);
}
#pageHome .moon-window::after { opacity: 0.5; }
#pageHome .moon-window.is-playing {
    box-shadow:
        0 0 0 1px rgba(151, 74, 62, 0.22),
        0 6px 18px rgba(45, 42, 38, 0.10),
        inset 0 0 32px rgba(255, 253, 248, 0.5),
        inset 0 -12px 24px rgba(187, 176, 160, 0.14);
}
#pageHome #sutraLine {
    font-size: 24px;
    line-height: 1.9;
    text-shadow: none;
}
#pageHome #sutraLine.is-playing { text-shadow: none; }

/* 内容与控制：经典名 + 小播放键一体（32-36 视觉 / 48 点击，素白底墨图标极淡边界无外投影） */
.play-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}
#pageHome .classic-switch {
    font-size: 17px;
    color: #383A35;
}
#playKey {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.pk-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #FDFCFA;
    border: 0.5px solid rgba(56, 58, 53, 0.22);
    color: #3A3632;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.pk-circle svg { width: 15px; height: 15px; display: block; }
.pk-circle svg.hidden { display: none; }
.pk-icon-pause { width: 13px !important; height: 13px !important; }
#playKey.playing .pk-circle {
    color: #974A3E;
    border-color: rgba(151, 74, 62, 0.45);
}
#playKey:active .pk-circle { background: #F5F1EA; }
.play-hint {
    margin-top: 10px;
    min-height: 16px;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    color: #7B7469;
    font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
}

/* 一条进度：时间 · 轨 · 时间 */
.sutra-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin-top: 12px;
}
.sutra-progress-row > span {
    flex: 0 0 auto;
    width: 38px;
    font-size: 14.5px;
    letter-spacing: 0.06em;
    color: #7B7469;
    font-variant-numeric: tabular-nums;
}
.sutra-progress-row > span:last-child { text-align: right; }
.sutra-progress-row .sutra-progress-track {
    flex: 1 1 auto;
    height: 2px;
    background: rgba(56, 58, 53, 0.10);
    border-radius: 999px;
    overflow: hidden;
}
.sutra-progress-row .sutra-progress-fill {
    height: 100%;
    width: 0%;
    background: #974A3E;
    border-radius: 999px;
    transition: width 0.3s linear;
}

/* 聆听配置：文字式三氛围（无卡片无投影不缩放） */
#pageHome .mode-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
}
#pageHome .mode-bar .mode-item {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 12px 16px;
    margin: 0;
    min-height: 44px;
    font-size: 14px;
    letter-spacing: 0.12em;
    color: #68635B;
    position: relative;
}
#pageHome .mode-bar .mode-item.active {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #383A35;
}
#pageHome .mode-bar .mode-item.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #3A3632;
}
#pageHome .mode-bar .mode-item.pop { animation: none; }

/* 配乐：单一文字入口 */
.music-entry {
    margin-top: 12px;
    font-size: 15px;
    letter-spacing: 0.08em;
    color: #68635B;
    background: transparent;
    border: 0;
    padding: 8px 12px;
    min-height: 40px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    -webkit-tap-highlight-color: transparent;
}
.music-entry:active { color: #383A35; }
.music-entry .me-arrow { color: #7B7469; font-size: 14px; }

/* 今日简报：hairline 行式入口（v46c），上下文化问事移入抽屉 */
#pageHome .today-brief { margin-top: 24px; }

/* 简报底部抽屉：阅读面板 */
.bd-grip {
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: rgba(56, 58, 53, 0.16);
    margin: 4px auto 12px;
}
.bd-title {
    font-size: 15px;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    text-align: center;
    color: #7B7469;
    margin-bottom: 14px;
}
#briefDrawer .bp-row { padding: 10px 2px; }
#briefDrawer .bp-k { flex: 0 0 3.6em; letter-spacing: 0.14em; white-space: nowrap; }
.bd-ask {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 13px 0;
    font-size: 14.5px;
    letter-spacing: 0.15em;
    text-indent: 0.15em;
    color: #8a7648;
    background: transparent;
    border: 0;
    border-top: 0.5px solid rgba(56, 58, 53, 0.10);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.bd-ask:active { color: #8c2a22; }
.bd-close {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 12px 0 2px;
    font-size: 15px;
    letter-spacing: 0.15em;
    color: #7B7469;
    background: transparent;
    border: 0;
    cursor: pointer;
}

/* 桌面端：月 280-320px、标题 18-20px、内容宽 400-440px、底部导航暖色统一 */
@media (min-width: 768px) {
    #pageHome main { max-width: 440px; }
    /* 与 v36 `#pageHome main .home-breath`（111）同特异度靠后取胜；月窗再禁 flex 收缩防椭圆 */
    #pageHome main .home-breath { width: 320px; }
    #pageHome #discContainer { width: 20rem; height: 20rem; flex: 0 0 auto; }
    #pageHome .classic-switch { font-size: 19px; }
    #pageHome #sutraLine { font-size: 26px; }
    .play-core { margin-top: 26px; }
    .sutra-progress-row { max-width: 340px; }
    #mainTabBar {
        background: rgba(239, 236, 230, 0.92);
        border-top: 0.5px solid rgba(151, 74, 62, 0.14);
    }
}

/* ============ v42 求签带名 + 我的用户卡 ============ */
.lot-petitioner {
    margin-top: 3px;
    font-size: 14px;
    letter-spacing: 0.18em;
    color: rgba(138, 118, 72, 0.95);
    font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
}
.lot-ask-line { margin-top: 2px; }
/* v44 签卡立名/记所问：就地可编辑（contenteditable） */
.lot-petitioner .fill {
    display: inline-block;
    min-width: 5em;
    padding: 1px 3px;
    border-bottom: 0.5px solid transparent;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(90, 82, 72, 0.95);
    outline: none;
    cursor: text;
    -webkit-tap-highlight-color: transparent;
}
.lot-petitioner .fill:empty::before {
    content: attr(data-ph);
    color: rgba(138, 118, 72, 0.5);
    font-weight: 400;
    letter-spacing: 0.08em;
}
.lot-petitioner .fill:focus { border-bottom-color: rgba(138, 118, 72, 0.5); }
/* NFC 天命徽章：回到现有聆听页，由用户主动起播，不覆盖选曲 */
.destiny-entry-main { justify-content: flex-start !important; }
.destiny-bgm-welcome {
    width: min(100%, 330px); margin: 8px auto 14px; padding: 15px 16px; flex: 0 0 auto;
    border: 1px solid rgba(178,151,101,.34); border-radius: 16px;
    background: linear-gradient(135deg,rgba(255,253,248,.96),rgba(231,237,223,.74));
    box-shadow: 0 12px 28px rgba(45,42,38,.06); text-align: left;
}
.destiny-bgm-welcome small { display: block; color: #8A7648; font-size: 10px; letter-spacing: .12em; }
.destiny-bgm-welcome strong { display: block; margin-top: 6px; color: #2D2A26; font: 500 16px "Songti SC",serif; letter-spacing: .04em; }
.destiny-bgm-welcome p { margin: 7px 0 0; color: rgba(45,42,38,.62); font-size: 11px; line-height: 1.7; }
.destiny-bgm-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; }
.destiny-bgm-actions button { min-height: 44px; padding: 0 14px; border-radius: 9px; font-size: 12px; touch-action: manipulation; }
.destiny-bgm-play { background: #2D2A26; color: #F8F6EF; }
.destiny-bgm-mine { color: #974A3E; border: 1px solid rgba(151,74,62,.22); }
/* 天命身份：沿用暖纸 / 朱砂 / 金线，不新增第五 Tab */
.mine-badge-card {
    display: flex; align-items: center; gap: 16px; margin: 0 0 18px;
    padding: 18px; border: 1px solid rgba(178, 151, 101, .30); border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,253,248,.98), rgba(231,237,223,.78));
    box-shadow: 0 14px 34px rgba(45,42,38,.06);
}
.mine-badge-visual { position: relative; width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%; overflow: hidden; }
.mine-badge-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mine-badge-fallback { display: grid; place-items: center; width: 100%; height: 100%; border: 1px solid rgba(178,151,101,.45); border-radius: 50%; color: #974A3E; font: 38px "Songti SC",serif; background: #f7f1e4; }
.mine-badge-main { min-width: 0; flex: 1; }
.mine-badge-kicker { margin: 0 0 5px; color: #8A7648; font-size: 12px; letter-spacing: .08em; }
.mine-badge-title { margin: 0; color: #2D2A26; font: 500 17px "Songti SC",serif; letter-spacing: .03em; white-space: nowrap; }
.mine-badge-meta { margin: 7px 0 0; color: rgba(45,42,38,.62); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.mine-badge-actions { display: flex; gap: 20px; margin-top: 7px; }
.mine-badge-actions a { min-height: 44px; display: inline-flex; align-items: center; color: #974A3E; font-size: 13px; text-decoration: none; touch-action: manipulation; }
.mine-badge-claim { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 17px; border: 1px solid rgba(178,151,101,.28); border-radius: 18px; background: linear-gradient(135deg,rgba(255,253,248,.96),rgba(239,232,215,.68)); color: #2D2A26; text-decoration: none; box-shadow: 0 12px 30px rgba(45,42,38,.05); }
.mine-badge-claim-mark { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: rgba(151,74,62,.09); color: #974A3E; font: 23px "Songti SC",serif; }
.mine-badge-claim > span:nth-child(2) { flex: 1; min-width: 0; }
.mine-badge-claim strong { display: block; font: 500 16px "Songti SC",serif; letter-spacing: .04em; }
.mine-badge-claim small { display: block; margin-top: 6px; color: rgba(45,42,38,.58); font-size: 12px; line-height: 1.6; }
#pageMine > main { width: 100%; max-width: 480px; padding-left: 20px; padding-right: 20px; }
#pageMine .mine-user-card { border: 1px solid rgba(178,151,101,.18); box-shadow: 0 10px 28px rgba(45,42,38,.045); }
#pageMine .muc-name-input { width: 7em; font-size: 17px; }
#pageMine .muc-sub { font-size: 14px; line-height: 1.6; }
#pageMine .muc-bracelet { font-size: 13px; line-height: 1.6; }
#pageMine .mine-sheet { border: 1px solid rgba(198,184,150,.18); box-shadow: 0 10px 28px rgba(45,42,38,.035); }
@media (max-width: 360px) {
    .mine-badge-card { gap: 12px; padding: 14px; }
    .mine-badge-visual { width: 76px; height: 76px; flex-basis: 76px; }
    .mine-badge-title { font-size: 16px; }
}
.mine-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: #FBF9F4;
    border: 0.5px solid rgba(56, 58, 53, 0.10);
    box-shadow: 0 2px 10px rgba(45, 42, 38, 0.04);
}
.muc-seal {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(151, 74, 62, 0.10);
    color: #974A3E;
    font-size: 19px;
    font-family: ui-serif, "Songti SC", "Noto Serif SC", serif;
}
.muc-main { flex: 1; min-width: 0; }
.muc-name-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}
.muc-name-input {
    width: 9em;
    max-width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 0.5px solid transparent;
    padding: 2px 0;
    font-size: 16px;
    letter-spacing: 0.12em;
    color: #383A35;
    font-family: ui-serif, "Songti SC", "Noto Serif SC", serif;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.muc-name-input:focus { border-bottom-color: rgba(138, 118, 72, 0.5); }
.muc-name-input::placeholder { color: rgba(123, 116, 105, 0.55); font-size: 14px; letter-spacing: 0.08em; }
.muc-pen { font-size: 15px; color: #7B7469; }
/* v82 立名入口显性化：未立名时整行变成朱砂描边胶囊 +「立名」标签，不再只靠占位符暗示 */
.muc-name-cta { display: none; font-size: 13px; letter-spacing: 0.28em; text-indent: 0.28em; color: #974A3E; white-space: nowrap; }
.muc-name-row.is-empty {
    padding: 6px 14px;
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid rgba(151, 74, 62, 0.42);
    border-radius: 999px;
    gap: 8px;
    cursor: text;
}
.muc-name-row.is-empty .muc-name-input { width: 6.5em; color: #974A3E; }
.muc-name-row.is-empty .muc-name-input::placeholder { color: rgba(151, 74, 62, 0.58); letter-spacing: 0.14em; }
.muc-name-row.is-empty .muc-pen { display: none; }
.muc-name-row.is-empty .muc-name-cta { display: inline; }
.muc-sub { font-size: 15px; color: #68635B; margin-top: 4px; letter-spacing: 0.04em; }
.muc-bracelet { font-size: 14px; color: #7B7469; margin-top: 3px; letter-spacing: 0.06em; }
/* v45 补档引导条：朱砂一点 + 墨字，安静不吵 */
.muc-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: -2px 0 14px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(151, 74, 62, 0.07);
    border: 1px solid rgba(151, 74, 62, 0.16);
    font-size: 15px;
    letter-spacing: 0.06em;
    color: #974A3E;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease;
}
.muc-hint:active { background: rgba(151, 74, 62, 0.13); }
.muc-hint-dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #974A3E;
    opacity: 0.75;
}
.muc-hint-text { flex: 1 1 auto; }
.muc-hint-arrow { flex: 0 0 auto; font-size: 14px; opacity: 0.6; }
.muc-edit {
    flex: 0 0 auto;
    font-size: 15px;
    letter-spacing: 0.14em;
    color: #8a7648;
    padding: 8px 10px;
    min-height: 40px;
    min-width: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.muc-edit:active { color: #8c2a22; }

/* ===== v111 「我的」页优化：今日概览 · 信物 · 设置与数据 ===== */

/* 今日概览：把散在四张卡里的今日事实收拢成一屏可读的四格。
   读数用衬线数字，与页面其余部分的克制排版一致；无数据显示「—」而非 0。 */
.mine-overview {
    margin: 0 0 18px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(178, 151, 101, .22);
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(255, 253, 248, .96), rgba(240, 234, 219, .62));
    box-shadow: 0 10px 28px rgba(45, 42, 38, .04);
}
.mine-overview-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
}
.mine-overview-title {
    color: rgba(45, 42, 38, .78); font-size: 13px; letter-spacing: .22em;
    font-family: ui-serif, "Songti SC", "Noto Serif SC", serif;
}
.mine-overview-date { color: rgba(45, 42, 38, .42); font-size: 11px; letter-spacing: .06em; }
.mine-overview-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px; text-align: center;
}
.mine-overview-cell {
    min-width: 0; padding: 9px 2px 8px;
    border-radius: 10px; background: rgba(255, 255, 255, .42);
}
.mine-overview-cell strong {
    display: block; color: #2D2A26; font-size: 20px; line-height: 1.2;
    font-family: ui-serif, "Songti SC", "Noto Serif SC", serif;
    font-weight: 500; overflow-wrap: anywhere;
}
.mine-overview-cell.is-empty strong { color: rgba(45, 42, 38, .28); }
.mine-overview-cell span {
    display: block; margin-top: 5px; color: rgba(45, 42, 38, .48);
    font-size: 10px; letter-spacing: .04em;
}
.mine-overview-note {
    margin: 12px 0 0; padding-top: 11px;
    border-top: 1px solid rgba(198, 184, 150, .22);
    color: rgba(45, 42, 38, .55); font-size: 11.5px; line-height: 1.7;
}

/* 我的信物：把原本两块平级扁平按钮收成一张卡，两行之间是「绑定」与「挑选」的前后关系 */
.mine-relic {
    margin: 0 0 24px; padding: 15px 15px 6px;
    border: 1px solid rgba(198, 184, 150, .18);
    border-radius: 16px; background: #FBF9F4;
    box-shadow: 0 10px 28px rgba(45, 42, 38, .035);
}
.mine-relic-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 4px;
}
.mine-relic-title {
    color: rgba(45, 42, 38, .75); font-size: 13px; letter-spacing: .22em;
    font-family: ui-serif, "Songti SC", "Noto Serif SC", serif;
}
.mine-relic-more {
    min-height: 40px; padding: 8px 2px; background: transparent; border: 0;
    color: #8a7648; font-size: 12px; letter-spacing: .1em; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.mine-relic-row {
    display: flex; align-items: center; gap: 13px; width: 100%;
    padding: 13px 2px; border-top: 1px solid rgba(198, 184, 150, .16);
    background: transparent; border-left: 0; border-right: 0; border-bottom: 0;
    text-align: left; text-decoration: none; color: inherit;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.mine-relic-icon { flex: 0 0 auto; display: grid; place-items: center; }
.mine-relic-main { flex: 1; min-width: 0; }
.mine-relic-main strong {
    display: block; color: rgba(45, 42, 38, .85); font-size: 14px;
    letter-spacing: .12em; font-family: ui-serif, "Songti SC", "Noto Serif SC", serif;
}
.mine-relic-main small {
    display: block; margin-top: 5px; color: rgba(45, 42, 38, .45);
    font-size: 11.5px; line-height: 1.6; letter-spacing: .04em;
}
.mine-relic-arrow { flex: 0 0 auto; color: rgba(45, 42, 38, .3); }

/* 设置与数据 */
.mine-settings {
    margin: 28px 0 0; padding: 16px 16px 14px;
    border: 1px solid rgba(198, 184, 150, .18);
    border-radius: 16px; background: #FBF9F4;
    box-shadow: 0 10px 28px rgba(45, 42, 38, .035);
}
.mine-settings .fs-row {
    margin-top: 2px; gap: 10px; flex-wrap: nowrap;
}
.mine-settings .fs-name { flex: 0 0 auto; white-space: nowrap; letter-spacing: .1em; }
.mine-settings .fs-seg { flex: 1 1 auto; min-width: 0; justify-content: space-between; }
.mine-settings .fs-seg button {
    flex: 1 1 0; min-width: 0; padding: 8px 6px; white-space: nowrap;
    text-align: center; letter-spacing: .02em;
}
.mine-data-note { margin: 14px 0 0; }
.mine-data-note p {
    margin: 0; padding: 11px 12px; border-radius: 10px;
    background: rgba(151, 74, 62, .05); border: 1px solid rgba(151, 74, 62, .12);
    color: rgba(45, 42, 38, .58); font-size: 11.5px; line-height: 1.75;
}
.mine-data-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mine-data-btn {
    display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
    min-height: 56px; padding: 11px 13px; border-radius: 12px;
    background: rgba(255, 255, 255, .6); border: 1px solid rgba(198, 184, 150, .3);
    cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent;
}
.mine-data-btn span {
    color: rgba(45, 42, 38, .85); font-size: 13.5px; letter-spacing: .04em;
    white-space: nowrap; overflow-wrap: normal; word-break: keep-all;
}
.mine-data-btn small {
    color: rgba(45, 42, 38, .42); font-size: 10.5px; line-height: 1.5;
    letter-spacing: 0; overflow-wrap: anywhere;
}
.mine-data-btn:active { background: rgba(255, 255, 255, .9); }
.mine-data-btn-danger span { color: #974A3E; }
.mine-data-btn-danger { border-color: rgba(151, 74, 62, .3); }
.mine-data-btn.is-armed {
    background: rgba(151, 74, 62, .10);
    border-color: rgba(151, 74, 62, .55);
}
.mine-data-btn.is-armed span { color: #8c2a22; font-weight: 600; }
.mine-data-foot {
    margin: 11px 0 0; color: rgba(45, 42, 38, .38);
    font-size: 10.5px; line-height: 1.6; text-align: center;
}

@media (max-width: 360px) {
    .mine-overview { padding: 14px 12px 12px; }
    .mine-overview-cell strong { font-size: 17px; }
    .mine-overview-cell span { font-size: 9px; }
    .mine-data-actions { grid-template-columns: 1fr; }
}
/* v81 首页标题：官网同款字标（FATE 无衬线宽距 + 365 金色衬线）+ 人生通关密码主标题 */
.f365-wordmark { margin: 0; font-size: 13px; letter-spacing: 0.24em; color: #2D2A26;
    font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", system-ui, sans-serif; }
.f365-wordmark .wm-fate { font-weight: 600; }
.f365-wordmark .wm-365 { margin-left: 0.35em; font-family: Georgia, "Times New Roman", serif;
    font-weight: 400; letter-spacing: 0.1em; color: #8A7648; }
.f365-title { margin: 6px 0 0; font-size: 23px; font-weight: 500; letter-spacing: 0.26em; text-indent: 0.26em;
    color: #2D2A26; font-family: "LXGW WenKai", "Noto Serif SC", "Songti SC", serif; }
/* v82 页头品牌统一：FATE 365 小字标压在页名上方（问事/择吉/我的） */
.pg-brand { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pg-wordmark { margin: 0; font-size: 9px; letter-spacing: 0.26em; line-height: 1;
    color: rgba(45,42,38,0.42); font-weight: 600;
    font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", system-ui, sans-serif; }
.pg-wordmark .wm-365 { margin-left: 0.35em; font-family: Georgia, "Times New Roman", serif;
    font-weight: 400; letter-spacing: 0.08em; color: #8A7648; }
/* v83 品牌升级：官方字标图（fate 墨 + 365 朱砂）替换文字字标，三处页头统一 */
.f365-wordmark-img { display: block; height: 16px; width: auto; margin: 0 auto; }
.pg-wordmark-img { display: block; height: 11px; width: auto; margin: 0 auto; opacity: 0.92; }
/* v79 全局修复：.hidden 必须永远生效。v68 静态化后部分组件 display 规则排在工具类之后，
   同级优先级下「后定义者赢」导致 hidden 失效（聆听设置收起无效即此因）。全文件无 inline display 与 hidden 混用，!important 安全。 */
.hidden { display: none !important; }
.ask-switch button { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
.ask-bazi-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; margin: 12px 0; }
.ask-bazi-form label { font-size: 12px; color: #6b6257; min-width: 0; }
.ask-bazi-form input, .ask-bazi-form select { display: block; box-sizing: border-box; width: 100%; min-width: 0; margin-top: 6px; padding: 10px 6px; border: 1px solid #d9ceba; border-radius: 8px; background: #fffdf8; color: #2d2a26; font-size: 16px; }
.ask-bazi-result { margin-top: 16px; font-size: 13px; color: #6b6257; }
.ask-bazi-pillars { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 12px 0; text-align: center; }
.ask-bazi-pillars div { padding: 12px 2px; border: 1px solid #d9ceba; border-radius: 8px; }
.ask-bazi-pillars strong { display: block; font-size: 24px; color: #974a3e; margin-top: 8px; }

/* 命造详盘：固定分区导航，独立滚动，清晰区分排盘与参考 */
#chartBackdrop .chart-sheet { max-width: 760px; height: 90dvh; max-height: 94dvh; background: #f8f5ed; }
#chartBackdrop .chart-head { padding: 18px 20px 14px; flex-shrink: 0; }
#chartBirthLine { font-size: 13px; line-height: 1.6; color: #6e6558; }
.chart-tabs { display: flex; gap: 6px; padding: 8px 16px 12px; border-bottom: 1px solid #ded6c6; flex-shrink: 0; }
.chart-tabs button { flex: 1; padding: 11px 4px; border-radius: 9px; color: #716757; font-size: 14px; }
.chart-tabs button.active { background: #974a3e; color: #fffaf3; }
#chartBackdrop .chart-scroll { min-height: 0; flex: 1; padding: 18px 18px 28px; }
#chartBackdrop .chart-sec-label { color: #544938; font-size: 14px; letter-spacing: .12em; margin-top: 20px; }
#chartBackdrop .chart-hint, #chartBackdrop .chart-legend { color: #786e60; font-size: 12px; line-height: 1.8; }
#chartBackdrop .chart-pillar { padding: 16px 3px; background: #fffdf8; }
#chartBackdrop .cp-day { background: #f6e9df; border-color: #bf8b72; }
#chartBackdrop .cp-gan, #chartBackdrop .cp-branch { font-size: 30px; line-height: 1.5; }
#chartBackdrop .cp-label, #chartBackdrop .cp-cang, #chartBackdrop .cp-nayin { color: #746858; }
.chart-explain, .chart-basis { margin-top: 18px; padding: 16px; background: #eee9de; border-radius: 12px; font-size: 13px; line-height: 1.9; color: #625748; }
.chart-basis summary { cursor: pointer; color: #453e34; }
#chartBackdrop .chart-dayun-row { gap: 8px; padding: 4px 0 12px; scrollbar-width: thin; }
#chartBackdrop .chart-dayun-chip { min-width: 100px; padding: 14px 10px; }
#chartBackdrop .cd-sel { background: #974a3e; border-color: #974a3e; }
#chartBackdrop .cd-sel * { color: #fff9ee; }
#chartBackdrop .chart-ln-row { display: grid; grid-template-columns: 46px 42px 34px minmax(0,1fr); gap: 6px; padding: 13px 10px; background: #fffdf8; align-items: center; }
#chartBackdrop .chart-ln-year { color: #736654; }
#chartBackdrop .chart-ln-acts { min-width: 0; display: flex; flex-wrap: wrap; gap: 4px; }
#chartBackdrop .chart-act { font-style: normal; font-size: 11px; margin: 0; }
#chartBackdrop .cln-cur { border-color: #b58169; background: #f6ebe1; }
.chart-footer { padding: 12px 18px; border-top: 1px solid #ded6c6; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.chart-footer span { color: #786b5c; font-size: 12px; }
.chart-footer button, .chart-inline-action { color: #974a3e; font-size: 14px; min-height: 38px; }
.chart-open-detail { width: 100%; margin-top: 14px; padding: 14px 8px; background: #974a3e; color: #fffaf3; border-radius: 10px; font-size: 14px; }
@media (max-width: 380px) { #chartBackdrop .chart-scroll { padding: 14px 10px 24px; } #chartBackdrop .chart-ln-row { gap: 4px; padding: 12px 6px; } }

#chartBackdrop .chart-head h3 { margin: 0; font-size: 18px; color: #372f26; }
#chartBackdrop .chart-head p { margin: 6px 0 0; }
#chartBackdrop .chart-tabs button { border: 0; background: #ede7db; font-family: inherit; }
#chartBackdrop .chart-tabs button.active { background: #974a3e; }
#chartBackdrop .chart-footer button { border: 1px solid #d5b49e; border-radius: 8px; background: #fffaf2; font-family: inherit; }
#chartBackdrop .chart-close { border: 0; flex-shrink: 0; }
#chartBackdrop .chart-dayun-chip { font-family: inherit; }
#chartBackdrop .chart-explain p { margin: 8px 0 0; }
#chartBackdrop .chart-verdict { margin-top: 0; }
#chartBackdrop .chart-ln-acts .chart-act { color: #70634f; }
#chartBackdrop .chart-act.a-he { color: #576734; }
#chartBackdrop .chart-act.a-chong { color: #a14634; }
#chartBackdrop button:focus-visible, #chartBackdrop [tabindex]:focus-visible { outline: 2px solid #974a3e; outline-offset: 2px; }

.ask-examples { display:flex; flex-wrap:wrap; gap:6px; padding:8px 0; color:#776b5c; font-size:12px; }
.ask-examples span { width:100%; }
.ask-examples button { border:1px solid #ded4c4; border-radius:8px; padding:7px 9px; background:#fffdf8; color:#726451; font-size:12px; text-align:left; }
.ask-annual-card { display:block; padding:16px; border:1px solid #d8c5aa; border-radius:12px; margin:20px 0 8px; background:#f2eade; color:#44392f; text-decoration:none; }
.ask-annual-card span { color:#974a3e; font-size:12px; letter-spacing:.1em; }
.ask-annual-card b { display:block; margin:5px 0; font-size:16px; font-weight:500; }
.ask-annual-card small { display:block; color:#786958; font-size:12px; }
.ask-annual-card em { display:block; font-style:normal; font-size:13px; color:#974a3e; margin-top:12px; }
#askDrawBtn:disabled { opacity:.6; cursor:wait; }

/* —— v106 问事页大幅优化：全宽四格切换 + 所问纸卡 + 收紧器物区 —— */
/* 所问纸卡 */
.ask-head-card {
    width: 100%;
    background: linear-gradient(168deg, rgba(255,253,248,.92), rgba(246,241,230,.94));
    border: 1px solid rgba(198,184,150,.38);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(45,42,38,.07), inset 0 1px 0 rgba(255,255,255,.85);
    padding: 18px 16px 12px;
    margin-top: .9rem;
}
.ask-head-card .ask-head { padding-top: 0; }
.ask-head-card .ask-qline { margin-top: .95rem; }
.ask-head-card .ask-examples { padding-bottom: 2px; }
/* 四法切换：全宽四等分格，替代居中胶囊 */
.ask-switch {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    width: 100%; max-width: 100%; padding: 0;
    border-radius: 13px; overflow: hidden;
    border-color: rgba(198,184,150,.42);
    background: rgba(255,253,248,.85);
}
.ask-switch button {
    padding: 11px 0; border-radius: 0;
    font-size: 14px; letter-spacing: .12em; text-indent: .12em;
    border-right: 1px solid rgba(198,184,150,.24);
}
.ask-switch button:last-child { border-right: none; }
.ask-switch button.on { background: #974A3E; color: #FCFAF5; }
/* 器物区收紧：说明紧跟器物，减少空场 */
.ask-stage { padding: .35rem 0 .1rem; }
.ask-pane-note { margin-top: .55rem; }
@media (max-width: 480px) {
  .ask-head-card { padding: 15px 13px 10px; margin-top: .6rem; border-radius: 15px; }
  .ask-head-card .ask-head p:first-child { font-size: 19px; }
  .ask-switch button { font-size: 12.5px; letter-spacing: .04em; text-indent: .04em; padding: 10px 0; }
  .ask-switch { margin-top: .6rem; }
}
@media (max-width: 480px) and (max-height: 740px) {
  .ask-head-card { margin-top: .4rem; padding: 12px 12px 8px; }
  .ask-head-card .ask-orn { display: none; }
}
/* —— v105 问事页小屏/大字加固：四法切换防溢出、示例收横滑、首屏可达主按钮 —— */
.ask-switch { flex-wrap: wrap; row-gap: 4px; max-width: 100%; }
.ask-examples { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; align-items: center; padding: 6px 0 4px; }
.ask-examples::-webkit-scrollbar { display: none; }
.ask-examples span { width: auto; flex: none; font-size: 11px; letter-spacing: .12em; color: rgba(45,42,38,.38); }
.ask-examples button { flex: none; white-space: nowrap; border-radius: 999px; padding: 7px 12px; }
@media (max-width: 480px) {
  .ask-head { padding-top: .8rem; }
  .ask-qline { margin-top: .75rem; }
  .ask-switch { margin-top: .7rem; }
  .ask-switch button { padding: 7px 13px; font-size: 13px; letter-spacing: .06em; text-indent: .06em; }
  .ask-stage { padding: .1rem 0; }
  .ask-oracle { zoom: .86; }
  .ask-annual-card { margin: 14px 0 8px; padding: 13px 14px; }
  .ask-annual-card b { font-size: 15px; }
}
@media (max-width: 480px) and (max-height: 740px) {
  /* 矮屏再紧凑一档：签筒缩小、 ornament 收边，保证一屏看到主按钮 */
  .ask-oracle { zoom: .74; }
  .ask-orn { margin-top: 9px; }
  .ask-head-sub { margin-top: 4px; }
  #askDrawBtn { margin-top: .2rem; }
}
/* —— v107 问法降为安静辅助行：无框无底色，选中仅朱砂字+下划线 —— */
.ask-switch {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 2px; width: auto; max-width: 100%; margin: .55rem auto 0; padding: 0;
    border: none; border-radius: 0; overflow: visible;
    background: none;
}
.ask-switch .ask-switch-cap {
    font-size: 10.5px; letter-spacing: .2em; color: rgba(45,42,38,.32);
    margin-right: 8px; font-family: "LXGW WenKai", "Noto Serif SC", serif;
}
.ask-switch i { font-style: normal; color: rgba(45,42,38,.18); font-size: 12px; }
.ask-switch button {
    padding: 8px 10px; border-radius: 0; border-right: none;
    background: none; font-size: 13px; letter-spacing: .1em; text-indent: .1em;
    color: rgba(45,42,38,.42);
    border-bottom: 1px solid transparent;
}
.ask-switch button.on {
    background: none; color: #974A3E;
    border-bottom-color: rgba(151,74,62,.55);
}
@media (max-width: 480px) {
  .ask-switch button { font-size: 12.5px; padding: 8px 8px; }
  .ask-switch .ask-switch-cap { margin-right: 4px; }
}
/* v108 蓄力求签：长按签筒下沉蓄光，签枝摇速加快；满蓄松手落签，短按回弹 */
.ask-oracle { touch-action: none; }
.ask-oracle.ao-charging {
    transform: scale(.93);
    box-shadow: 0 0 0 10px rgba(151, 74, 62, .07), 0 0 44px rgba(151, 74, 62, .24);
    border-radius: 50%;
    transition: transform .18s ease, box-shadow .8s linear;
}
.ask-oracle.ao-charging .ao-sticks { animation-duration: .8s; }
/* v109 签诗墨晕浮现：诗行由虚墨一笔笔晕开（仅结果卡展开时一次） */
@keyframes inkIn { from { opacity: 0; filter: blur(5px); transform: translateY(3px); } to { opacity: 1; filter: blur(0); transform: none; } }
#askResult:not(.hidden) .ar-lot-poem p {
    opacity: 0;
    animation: inkIn .85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
#askResult:not(.hidden) .ar-lot-poem p:nth-child(1) { animation-delay: .18s; }
#askResult:not(.hidden) .ar-lot-poem p:nth-child(2) { animation-delay: .34s; }
#askResult:not(.hidden) .ar-lot-poem p:nth-child(3) { animation-delay: .5s; }
#askResult:not(.hidden) .ar-lot-poem p:nth-child(4) { animation-delay: .66s; }
/* v110 签卡行动项收敛：分享/送签并排半行，详参与大事问合并为一行安静文字链 */
.lot-actions .lot-btn { flex: 1 1 42%; }
.lot-actions .lot-btn:only-child { flex: 1 1 100%; }
.lot-quiet-row {
    display: flex; align-items: center; justify-content: center; gap: 0.55rem;
    margin-top: 0.4rem; padding: 0.3rem 0 0.15rem;
    font-size: 13px; color: rgba(45, 42, 38, 0.4);
}
.lot-quiet-row > i { font-style: normal; color: rgba(45, 42, 38, 0.2); }
.lot-quiet-row .lot-more-btn {
    width: auto; margin-top: 0; padding: 0.2rem 0.1rem;
    display: inline-flex; gap: 0.3rem;
    font-size: 13px; letter-spacing: 0.18em;
    color: rgba(138, 118, 72, 0.78);
}
.lot-quiet-dsw { color: rgba(45, 42, 38, 0.4); }
/* v111 结果卡柔和入场：纸卡向上浮起 + 淡入，与签卡 lotRise 同节奏 */
@keyframes arCardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
#askResult:not(.hidden) .ar-card { animation: arCardIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
@media (prefers-reduced-motion: reduce) {
    #askResult:not(.hidden) .ar-card { animation: none; }
}
/* v112 canvas 竹签筒：器物层（竹丝纹理/竹节/圆柱光），视差容器与筒口呼吸光 */
.ao-tilt { position: relative; width: 192px; height: 192px; margin: 0 auto; will-change: transform; }
#aoCanvas { display: block; width: 192px; height: 192px; animation: aoSway 5.2s ease-in-out infinite; transform-origin: 50% 82%; }
.ask-oracle.ao-charging #aoCanvas { animation-duration: 0.8s; filter: brightness(1.07) saturate(1.04); transition: filter 0.3s ease; }
.ask-oracle.ao-shaking #aoCanvas { animation: aoRattle 0.085s linear infinite; }
.ao-mouth-glow {
    position: absolute; left: 50%; bottom: 99px; width: 26px; height: 7px;
    transform: translateX(-50%); border-radius: 50%; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(216, 178, 110, 0.30) 0%, rgba(216, 178, 110, 0) 70%);
    animation: mouthBreath 6.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    #aoCanvas, .ao-mouth-glow { animation: none; }
    .ask-oracle.ao-charging #aoCanvas { filter: none; }
}
/* v115 所问纸卡轻整：删 ornament、收紧节奏、示例并入同行自然换行 */
.ask-head-card { padding: 15px 16px 10px; }
.ask-head-card .ask-head p:first-child { font-size: 19px; letter-spacing: .1em; }
.ask-head-sub { font-size: 12px; letter-spacing: .1em; margin-top: 5px; color: rgba(45, 42, 38, .4); }
.ask-head-card .ask-qline { margin-top: .65rem; }
.ask-qline input { font-size: 15.5px; padding: .5rem 1.5rem .55rem; }
.ask-examples { flex-wrap: wrap; overflow: visible; padding: 9px 0 2px; row-gap: 6px; align-items: baseline; }
.ask-examples span { width: auto; flex: none; font-size: 11px; letter-spacing: .12em; color: rgba(45, 42, 38, .36); }
.ask-examples button { flex: none; white-space: normal; font-size: 12px; padding: 6px 11px; background: rgba(255, 253, 248, .65); color: rgba(114, 100, 81, .85); }
/* v117 所问行内示例：占位语轮换 + 行尾「换一例」直接填入，不再独占一行 */
.ask-qline input { padding-right: 4rem; }
/* v117b 输入/聚焦时收起「问」标签，避免长文本与标签重叠 */
.ask-qline .aq-tag { transition: opacity .22s ease; }
.ask-qline.aq-live .aq-tag { opacity: 0; }
.ask-qline .aq-fill {
    position: absolute; right: 2px; bottom: 7px;
    background: none; border: none; border-radius: 0; padding: 2px 0;
    font-family: inherit; font-size: 11px; letter-spacing: .1em;
    color: rgba(45, 42, 38, .32); cursor: pointer;
    border-bottom: 1px solid rgba(198, 184, 150, .45);
    -webkit-tap-highlight-color: transparent;
}
.ask-qline .aq-fill:active { color: rgba(151, 74, 62, .6); }

/* ================================================================
   v119 字体与视觉精修
   ================================================================ */
/* ① Tailwind .font-serif 默认为 ui-serif 系统栈（各平台回落不一致），
      统一收编到 Noto Serif SC 品牌正文栈 */
body .font-serif, .font-serif { font-family: "Noto Serif SC", "Songti SC", serif; }
/* ② 「我的」立名输入同款收编，去掉 ui-serif */
.muc-name-input { font-family: "Noto Serif SC", "Songti SC", serif; }
/* ③ 立名胶囊：占位语此前被「立名」压住末字。
      根因：默认特大字体整页放大后主列只有 ~128px，放不下 输入(74px)+立名(48px)+内边距(28px)。
      解法：行撑满主列、输入弹性伸展（不设最小宽）；印章/胶囊内边距/立名字距同步收敛；
            「更正」减 padding。合计让出 ~40px。 */
.muc-name-row { display: flex; width: 100%; }
.muc-name-row.is-empty .muc-name-input { flex: 1 1 auto; width: auto; min-width: 0; }
.muc-name-row.is-empty { padding: 5px 10px; }
.muc-name-row.is-empty .muc-name-input::placeholder { letter-spacing: 0.06em; font-size: 13px; }
.muc-name-cta { font-size: 12px; letter-spacing: 0.12em; text-indent: 0.12em; }
.muc-seal { width: 40px; height: 40px; flex-basis: 40px; font-size: 17px; }
.muc-edit { padding: 8px 6px; min-width: 40px; }
.mine-user-card { gap: 10px; }
/* 印章字体同款收编 */
.muc-seal { font-family: "Noto Serif SC", "Songti SC", serif; }
/* ④ 首页「人生通关密码」字距收敛（0.3em 过散，聚一点更精神） */
#pageHome header h1.font-headline { letter-spacing: 0.24em; text-indent: 0.24em; }
/* ⑤ 行内「换一例」11px → 12px（大字体偏好，仍弱于正文） */
.ask-qline .aq-fill { font-size: 12px; }

