:root {
  --xuan: #1a1410;          /* 玄底 */
  --xuan-card: #2c2418;     /* 卡片 */
  --xuan-surface: #3d3428;  /* 表面 */
  --gold: #c9a96e;          /* 金 */
  --gold-soft: rgba(201,169,110,.5);
  --gold-dark: #a8894e;     /* 暗金 */
  --vermillion: #c43d3d;    /* 朱砂 */
  --vermillion-d: #a83232;
  --vermillion-light: #d65d5d;
  --paper-dark: #d4c5a9;    /* 深底上的文字 */
  --paper: #f5f0e8;         /* 更亮文字 */
  --paper-warm: #ede4d4;    /* 暖纸卡片底 */
  --ink: #2c2c2c;           /* 暖卡上的深字 */
  --ink-light: #5a5a5a;
  --ink-muted: #b0a898;     /* 深底次级文字 */
  --line: rgba(201,169,110,.20);
  --line-2: rgba(201,169,110,.30);
  --display: "STKaiti", "KaiTi", "楷体", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --serif: "STKaiti", "KaiTi", "楷体", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  /* 暖纸签牌/牌位色板（祈福牌、金榜、吉日签共用） */
  --paper-tag-hi: #efe3c8;   /* 暖纸亮 */
  --paper-tag-lo: #e2d3b0;   /* 暖纸暗 */
  --ink-warm: #4a3a26;       /* 纸上正文 */
  --ink-warm-2: #8a7355;     /* 纸上次级 */
  --vermillion-deep: #8b2500; /* 深枣红（挂绳/榜题） */
  --paper-on-seal: #f5efdf;  /* 印章上的纸白 */
}

/* 标题渐变描金（对照站观感） */
.hero-title, .page-head h1, .page-head .ph-title {
  background: linear-gradient(180deg, #f3d9a0 0%, #c9a96e 45%, #a8894e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--paper-dark);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background: var(--xuan);
  padding-bottom: 76px;
  min-height: 100vh;
}

/* ====== 固定背景层 ====== */
.bg-layers { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.bg-grad { position: fixed; inset: 0; z-index: -3;
  background: linear-gradient(180deg, var(--xuan), var(--xuan-card) 55%, var(--xuan)); }
.bg-texture { position: fixed; inset: 0; z-index: -2; opacity: .5;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(201,169,110,.10), transparent 40%),
    radial-gradient(circle at 82% 78%, rgba(196,61,61,.06), transparent 45%),
    repeating-linear-gradient(45deg, rgba(201,169,110,.02) 0 2px, transparent 2px 6px); }
.bg-topglow { position: fixed; top: 0; left: 0; right: 0; height: 130px; z-index: -2;
  background: linear-gradient(180deg, rgba(201,169,110,.15), transparent); }

/* 飘升香火粒子 */
.embers { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ember { position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); opacity: 0; filter: blur(.4px) drop-shadow(0 0 5px rgba(201,169,110,.7));
  animation: emberRise linear infinite; }
@keyframes emberRise {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  12% { opacity: .55; }
  85% { opacity: .35; }
  100% { transform: translateY(-92vh) translateX(24px) scale(.4); opacity: 0; }
}

/* ====== 顶部 header ====== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 56px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  background: linear-gradient(180deg, rgba(26, 20, 16, .5), rgba(26, 20, 16, .32));
  /* border-bottom removed */
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .07);
}
.brand { font-family: var(--display); font-size: 24px; font-weight: 400; color: var(--gold);
  letter-spacing: 3px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.topnav { display: none; gap: 18px; }
.topnav a { font-size: 14px; color: var(--paper-dark); cursor: pointer; transition: color .15s; text-decoration: none; white-space: nowrap; }
.topnav a:hover, .topnav a.on { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--paper-dark); cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover, .icon-btn.on { color: var(--gold); border-color: var(--gold-soft); background: rgba(201,169,110,.1); }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2);
  border-radius: 20px; padding: 6px 14px; font-size: 13px; color: var(--gold); background: transparent; cursor: pointer; font-family: var(--body); }
.pill-btn[hidden] { display: none; }
.pill-btn:hover { background: rgba(201,169,110,.1); }

@media (min-width: 880px) { .topnav { display: flex; } }

main { max-width: 1100px; margin: 0 auto; padding: 56px 16px 24px; }
.page { display: none; animation: fadeUp .45s ease; }
.page.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 功能页页头 */
.page-head { text-align: center; padding: 30px 0 8px; }
.page-head h1, .page-head .ph-title { font-family: var(--display); font-size: 34px; letter-spacing: 6px; color: var(--gold); font-weight: 400; }
.page-head .sub { color: rgba(212,197,169,.7); margin-top: 8px; font-size: 14.5px; letter-spacing: 1px; }

.section-title { font-family: var(--display); font-size: 19px; color: var(--gold); margin: 28px 0 14px;
  padding-left: 12px; border-left: 3px solid var(--gold-soft); letter-spacing: 2px; font-weight: 400; }
.section-title.center { text-align: center; border-left: none; padding-left: 0; font-size: 28px; letter-spacing: 6px; }

/* ====== 首页 Hero ====== */
.home-hero { min-height: calc(100vh - 120px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 22px; padding: 20px 8px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2);
  background: rgba(201,169,110,.1); color: var(--gold); border-radius: 20px; padding: 6px 16px; font-size: 13px;
  box-shadow: 0 0 24px rgba(201,169,110,.15); }
.hero-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-title { font-family: var(--display); font-size: 52px; letter-spacing: 14px; color: var(--gold); text-indent: 14px; font-weight: 400;
  text-shadow: 0 0 30px rgba(201,169,110,.25); }
.hero-tagline { max-width: 420px; color: rgba(212,197,169,.85); font-size: 16px; line-height: 2.1; letter-spacing: 1px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-vermillion { min-width: 180px; padding: 13px 26px; border: none; border-radius: 10px; cursor: pointer;
  background: var(--vermillion); color: #fff; font-family: var(--body); font-size: 16px; letter-spacing: 2px;
  box-shadow: 0 6px 24px rgba(196,61,61,.3); transition: all .2s; }
.btn-vermillion:hover { background: var(--vermillion-d); transform: translateY(-2px); }
.btn-ghost { min-width: 160px; padding: 13px 24px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--gold); font-family: var(--body); font-size: 16px; letter-spacing: 2px; transition: all .2s; }
.btn-ghost:hover { background: rgba(201,169,110,.1); transform: translateY(-2px); }
.hero-sub { font-size: 14px; color: rgba(212,197,169,.65); }
.hero-symbol { font-size: 40px; color: var(--gold); opacity: .75; }

/* ====== 九大善门卡片 ====== */
.gate-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .gate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .gate-grid { grid-template-columns: repeat(3, 1fr); } }
.gate-card { border: 1px solid var(--line); background: rgba(44, 36, 24, .55);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .06);
  border-radius: 12px; padding: 22px; cursor: pointer; transition: all .25s; height: 100%;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.gate-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.gate-card .g-top { display: flex; align-items: center; justify-content: space-between; }
.gate-card .g-ic { font-size: 26px; color: var(--gold); }
.gate-card .g-tag { border: 1px solid var(--line-2); border-radius: 20px; padding: 2px 10px; font-size: 11px; color: rgba(201,169,110,.85); }
.gate-card .g-tag.new { background: var(--vermillion); border-color: var(--vermillion); color: #fff; }
.gate-card .g-nm { font-family: var(--display); font-size: 24px; color: var(--paper-dark); letter-spacing: 1px; }
.gate-card .g-desc { font-size: 14.5px; color: rgba(212,197,169,.78); line-height: 1.7; }
.gate-card.soon { opacity: .55; cursor: default; }
.gate-card.soon:hover { transform: none; border-color: var(--line); }

/* ====== 内容板块（深卡） ====== */
.panel { border: 1px solid var(--line); background: rgba(44,36,24,.95); backdrop-filter: blur(4px);
  border-radius: 12px; padding: 26px; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.panel-badge { display: inline-flex; align-items: center; border: 1px solid var(--line-2);
  background: linear-gradient(90deg, rgba(201,169,110,.12), rgba(196,61,61,.08)); border-radius: 20px;
  padding: 5px 14px; font-size: 12px; color: var(--gold); margin-bottom: 14px; }
.panel h2 { font-family: var(--display); font-size: 26px; color: var(--gold); letter-spacing: 4px; font-weight: 400; margin-bottom: 16px; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 880px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-cell { border: 1px solid var(--line); background: rgba(61,52,40,.4); border-radius: 10px; padding: 16px; text-align: left; }
.why-cell .wt { font-family: var(--display); font-size: 18px; color: var(--gold); margin-bottom: 6px; }
.why-cell .wd { font-size: 13.5px; color: rgba(212,197,169,.8); line-height: 1.7; }
.classics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
@media (min-width: 880px) { .classics { grid-template-columns: repeat(6, 1fr); } }
.classics span { border: 1px solid var(--line); background: rgba(61,52,40,.7); border-radius: 10px;
  padding: 11px 4px; text-align: center; font-size: 14px; color: var(--paper-dark); }

/* 暖纸对比卡（每日运势 / 在线上香） */
.warm-card { background: var(--paper-warm); color: var(--ink); border-left: 4px solid var(--gold-soft);
  border-right: 4px solid var(--gold-soft); border-radius: 14px; padding: 26px 30px; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.warm-card .wc-label { font-size: 13px; color: var(--ink-light); letter-spacing: 1px; }
.warm-card h2 { font-family: var(--display); font-size: 28px; color: var(--ink); letter-spacing: 4px; margin: 6px 0 10px; font-weight: 400; }
.warm-card p { font-size: 15px; color: var(--ink); line-height: 1.9; max-width: 460px; }
.warm-card .wc-icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(196,61,61,.3);
  background: rgba(196,61,61,.1); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 8px; }

.zen-quote { font-family: var(--display); text-align: center; color: rgba(212,197,169,.7); font-size: 17px;
  line-height: 2.2; margin: 40px 0 12px; letter-spacing: 2px; }
.zen-quote.small { font-size: 15px; margin: 24px 0; }

.pb-section { padding-bottom: 12px; }

/* ====== 表单 ====== */
.form { border: 1px solid var(--line); background: rgba(44,36,24,.95); backdrop-filter: blur(4px);
  border-radius: 12px; padding: 22px; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.row { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.form label { flex: 1; min-width: 84px; font-size: 14px; color: rgba(212,197,169,.8); display: flex; flex-direction: column; gap: 6px; }
.field-label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: rgba(212,197,169,.8); }
.form select, .text-in, .textarea-in { padding: 11px; border: 1px solid var(--line-2); border-radius: 10px;
  background: rgba(26,20,16,.6); font-size: 15px; color: var(--paper); font-family: var(--body); transition: border-color .15s; }
.form select option { background: var(--xuan-card); color: var(--paper); }
.form select:focus, .text-in:focus, .textarea-in:focus { outline: none; border-color: var(--gold); }
.textarea-in { width: 100%; min-height: 110px; resize: vertical; line-height: 1.7; }
.text-in::placeholder, .textarea-in::placeholder { color: rgba(212,197,169,.4); }
.char-count { text-align: right; font-size: 12px; color: rgba(212,197,169,.5); margin: 6px 2px 12px; }
.form button[type="submit"], #lq-btn, #ly-btn, #qm-btn, #qf-btn {
  width: 100%; padding: 14px; border: none; border-radius: 10px; color: #fff; font-size: 17px; letter-spacing: 4px;
  cursor: pointer; font-family: var(--body); transition: all .2s; background: var(--vermillion); box-shadow: 0 6px 20px rgba(196,61,61,.28); }
.form button[type="submit"]:hover { background: var(--vermillion-d); }
.form button:disabled { opacity: .5; cursor: not-allowed; }

/* ====== 师父卡片 ====== */
.masters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.master-card { border: 1px solid var(--line); background: rgba(44,36,24,.95); border-radius: 12px; padding: 16px 12px; cursor: pointer; transition: all .2s; text-align: center; }
.master-card:hover { transform: translateY(-3px); border-color: var(--gold-soft); }
.master-card.selected { border-color: var(--gold); background: rgba(201,169,110,.12); }
.master-card .avatar { width: 54px; height: 54px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--gold); background: radial-gradient(circle at 50% 38%, rgba(201,169,110,.18), rgba(201,169,110,.04)); border: 1px solid rgba(201,169,110,.38); }
.master-card .avatar .svg-ic { width: 32px; height: 32px; }
.master-card .m-name { font-family: var(--display); font-size: 18px; margin-top: 6px; color: var(--paper); }
.master-card .m-title { font-size: 12px; color: var(--gold); margin: 2px 0 6px; }
.master-card .m-tag { font-size: 13px; color: var(--vermillion); }
.master-card .m-desc { font-size: 12.5px; color: rgba(212,197,169,.7); margin-top: 8px; line-height: 1.6; }

/* ====== 八字命盘 ====== */
.result { margin-top: 24px; }
.hidden { display: none; }
.board-meta { color: rgba(212,197,169,.8); font-size: 14px; margin-bottom: 12px; }
.pillars { width: 100%; border-collapse: collapse; background: rgba(44,36,24,.95); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.pillars th, .pillars td { padding: 10px 6px; text-align: center; border: 1px solid var(--line); font-size: 14px; color: var(--paper-dark); }
.pillars thead th { background: rgba(61,52,40,.7); color: var(--gold); }
.pillars td.ganzhi { font-family: var(--display); font-size: 22px; color: var(--vermillion); letter-spacing: 2px; }
.row-label { background: rgba(61,52,40,.5); color: var(--gold); }
.wuxing { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; justify-content: center; }
.wx-item { padding: 6px 14px; border-radius: 20px; font-size: 14px; border: 1px solid var(--line); background: rgba(44,36,24,.95); }
.wx-木 { color: #7fb069; } .wx-火 { color: #e0644f; } .wx-土 { color: #d9a441; } .wx-金 { color: #e3c66b; } .wx-水 { color: #5fa8d3; }
.dayun { margin-top: 14px; font-size: 13px; color: rgba(212,197,169,.75); text-align: center; line-height: 2; }
.dayun .du { display: inline-block; padding: 3px 10px; margin: 3px; border: 1px solid var(--line); border-radius: 8px; background: rgba(44,36,24,.95); }

/* ====== 解读框 ====== */
.reading-box { margin-top: 24px; }
.reading { border: 1px solid var(--line); background: rgba(44,36,24,.95); border-radius: 12px; padding: 22px;
  min-height: 80px; white-space: pre-wrap; font-size: 15.5px; line-height: 1.95; color: var(--paper-dark); }
.reading .cursor { display: inline-block; width: 8px; background: var(--gold); animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.reading .err { color: #e0644f; margin-top: 8px; }

/* ====== 黄历 ====== */
.hl-datebar { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hl-nav { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(44,36,24,.95); color: var(--paper-dark); cursor: pointer; font-family: var(--body); font-size: 14px; }
.hl-nav:hover { color: var(--gold); border-color: var(--gold-soft); }
.hl-today { color: var(--vermillion); }
.hl-date { padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(26,20,16,.6); font-family: var(--body); font-size: 15px; color: var(--paper); }
.huangli { display: grid; gap: 16px; }
.hl-top { background: linear-gradient(135deg, var(--vermillion-d), var(--vermillion)); color: #fff; border-radius: 14px; padding: 22px; text-align: center; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.hl-top .hl-solar { font-size: 15px; opacity: .9; }
.hl-top .hl-big { font-family: var(--display); font-size: 42px; letter-spacing: 4px; margin: 6px 0; }
.hl-top .hl-lunar { font-size: 17px; }
.hl-top .hl-gz { font-size: 14px; opacity: .92; margin-top: 8px; letter-spacing: 1px; }
.hl-top .hl-jieqi { display: inline-block; margin-top: 8px; padding: 2px 12px; background: rgba(255,255,255,.2); border-radius: 14px; font-size: 13px; }
.hl-yiji { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hl-yiji .col { border: 1px solid var(--line); background: rgba(44,36,24,.95); border-radius: 12px; padding: 18px; }
.hl-yiji .col h3 { font-family: var(--display); font-size: 28px; text-align: center; margin-bottom: 10px; }
.hl-yiji .col.yi h3 { color: #7fb069; }
.hl-yiji .col.ji h3 { color: #e0644f; }
.hl-yiji .col .items { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.hl-yiji .col .items span { padding: 3px 9px; border-radius: 8px; font-size: 13px; background: rgba(61,52,40,.6); border: 1px solid var(--line); color: var(--paper-dark); }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.hl-cell { border: 1px solid var(--line); background: rgba(44,36,24,.95); border-radius: 12px; padding: 12px 14px; }
.hl-cell .k { font-size: 12px; color: var(--gold); }
.hl-cell .v { font-size: 15px; margin-top: 3px; color: var(--paper-dark); }

/* ====== 灵签 ====== */
.lq-tube-wrap { display: flex; justify-content: center; margin: 22px 0; }
.lq-tube { width: 110px; height: 130px; border-radius: 16px; background: linear-gradient(135deg, var(--vermillion), var(--vermillion-d)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 56px; box-shadow: 0 8px 28px rgba(0,0,0,.4); transform-origin: bottom center; }
.lq-tube.shaking { animation: shake .45s ease-in-out infinite; }
@keyframes shake { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.lq-result { margin-top: 24px; }
.lq-card { border: 2px solid var(--gold-soft); background: rgba(44,36,24,.95); border-radius: 14px; padding: 26px 20px; text-align: center; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.lq-card .lq-no { font-size: 15px; color: rgba(212,197,169,.75); }
.lq-card .lq-level { display: inline-block; margin: 8px 0; padding: 4px 18px; border-radius: 16px; font-family: var(--display); font-size: 20px; color: #fff; letter-spacing: 2px; }
.lv-上上, .lv-上吉 { background: var(--vermillion); }
.lv-中吉, .lv-中平 { background: var(--gold); color: var(--xuan); }
.lv-下下 { background: var(--xuan-surface); }
.lq-card .lq-poem { font-family: var(--display); font-size: 21px; line-height: 2.2; color: var(--gold); margin: 14px 0; letter-spacing: 2px; }
.lq-card .lq-jie { font-size: 14.5px; color: rgba(212,197,169,.8); line-height: 1.8; border-top: 1px dashed var(--line-2); padding-top: 14px; }
.lq-explain-btn { display: block; width: 100%; margin-top: 16px; padding: 12px; border: 1px solid var(--gold-soft); border-radius: 12px; background: rgba(44,36,24,.95); color: var(--gold); font-size: 16px; cursor: pointer; font-family: var(--body); }
.lq-explain-btn:hover { background: rgba(201,169,110,.1); }

/* ====== 六爻 ====== */
.ly-coins { display: flex; gap: 18px; justify-content: center; margin: 22px 0; font-size: 40px; }
.ly-coins span { display: inline-block; transition: transform .2s; }
.ly-coins.tossing span { animation: toss .4s ease-in-out infinite; }
.ly-coins.tossing span:nth-child(2) { animation-delay: .08s; }
.ly-coins.tossing span:nth-child(3) { animation-delay: .16s; }
@keyframes toss { 0%,100% { transform: translateY(0) rotateY(0); } 50% { transform: translateY(-18px) rotateY(180deg); } }
.ly-result { margin-top: 24px; }
.ly-gua { border: 2px solid var(--gold-soft); background: rgba(44,36,24,.95); border-radius: 14px; padding: 24px; text-align: center; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.ly-gua .gua-name { font-family: var(--display); font-size: 26px; color: var(--gold); letter-spacing: 2px; }
.ly-gua .gua-sub { font-size: 13px; color: rgba(212,197,169,.75); margin: 6px 0 16px; }
.ly-lines { display: inline-flex; flex-direction: column-reverse; gap: 9px; }
.ly-line { display: flex; align-items: center; gap: 12px; justify-content: center; }
.ly-line .yao { display: flex; gap: 8px; }
.ly-line .yao i { display: block; width: 34px; height: 11px; background: var(--paper-dark); border-radius: 2px; }
.ly-line.yin .yao i { width: 14px; }
.ly-line .mark { font-size: 12px; color: var(--vermillion); width: 24px; text-align: left; }
.ly-line .pos { font-size: 12px; color: rgba(212,197,169,.5); width: 30px; text-align: right; }

/* ====== 禅坐 ====== */
.cz-stage { display: flex; justify-content: center; margin: 30px 0 24px; }
.cz-ring { width: 220px; height: 220px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--paper); text-align: center;
  background: radial-gradient(circle at 50% 40%, var(--xuan-surface), var(--xuan)); border: 1px solid var(--gold-soft);
  box-shadow: 0 0 40px rgba(201,169,110,.2); transition: transform 4s ease-in-out; }
.cz-ring.inhale { transform: scale(1.12); }
.cz-ring.exhale { transform: scale(.92); }
.cz-breath { font-family: var(--display); font-size: 22px; letter-spacing: 3px; color: var(--gold); }
.cz-timer { font-size: 34px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.cz-durations { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.cz-dur { padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(44,36,24,.95); color: var(--paper-dark); cursor: pointer; font-family: var(--body); font-size: 14px; }
.cz-dur.selected { background: var(--gold); color: var(--xuan); border-color: var(--gold); }
.cz-actions { display: flex; gap: 12px; justify-content: center; }
.cz-bell, .cz-toggle { padding: 12px 24px; border-radius: 24px; cursor: pointer; font-family: var(--body); font-size: 16px; letter-spacing: 1px; }
.cz-bell { border: 1px solid var(--gold-soft); background: rgba(44,36,24,.95); color: var(--gold); }
.cz-toggle { border: none; background: var(--vermillion); color: #fff; }

/* ====== 祈福 ====== */
/* 统计条 */
.qf-statbar { display: flex; justify-content: center; gap: 32px; margin: 18px 0 10px; }
.qf-stat-item { text-align: center; }
.qf-stat-n { display: block; font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--gold); }
.qf-stat-l { font-size: 13px; color: rgba(212,197,169,.7); }

/* 走马灯 */
.qf-marquee { overflow: hidden; white-space: nowrap; margin: 10px 0 20px; padding: 8px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qf-marquee-track { display: inline-block; animation: marqueeScroll 30s linear infinite; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.qf-marquee-item { display: inline; font-size: 13px; color: rgba(212,197,169,.7); padding: 0 18px; }
.qf-marquee-item .mq-name { color: var(--gold); }
.qf-marquee-item .mq-dot { color: var(--vermillion); margin: 0 4px; }

/* 分区标签 */
.qf-section-label { font-family: var(--display); font-size: 16px; color: var(--gold); margin: 18px 0 10px; letter-spacing: 1px; }

/* 关系选择 */
.qf-relations { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.qf-rel { padding: 8px 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(44,36,24,.95);
  color: var(--paper-dark); cursor: pointer; font-size: 14px; transition: all .2s; font-family: var(--body); }
.qf-rel:hover { border-color: var(--gold-soft); color: var(--gold); }
.qf-rel.selected { border-color: var(--gold); background: rgba(201,169,110,.15); color: var(--gold); }

/* 灯型卡片 */
.qf-lamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.qf-lamp-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center;
  cursor: pointer; background: rgba(44,36,24,.95); transition: all .2s; }
.qf-lamp-card:hover { transform: translateY(-2px); border-color: var(--gold-soft); }
.qf-lamp-card.selected { border-color: var(--gold); background: rgba(201,169,110,.12); }
.qf-lamp-card .lamp-icon { font-size: 28px; margin-bottom: 4px; }
.qf-lamp-card .lamp-name { font-family: var(--display); font-size: 15px; color: var(--paper); margin-bottom: 4px; }
.qf-lamp-card .lamp-desc { font-size: 11.5px; color: rgba(212,197,169,.6); line-height: 1.5; }

/* 供奉时长 */
.qf-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 4px; }
.qf-tier { border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; text-align: center;
  cursor: pointer; background: rgba(44,36,24,.95); transition: all .15s; }
.qf-tier.selected { border-color: var(--vermillion); background: rgba(196,61,61,.1); }
.qf-tier .tt { font-size: 13px; color: var(--paper-dark); }
.qf-tier .tp { font-size: 18px; font-weight: 700; color: var(--gold); margin-top: 2px; }
.qf-tier .td { font-size: 10.5px; color: rgba(212,197,169,.5); }

/* 灯墙说明 */
.qf-wall-note { font-size: 12px; color: rgba(212,197,169,.5); text-align: center; margin-bottom: 14px; }

/* 功德灯墙 */
.qf-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.qf-lamp { position: relative; background: linear-gradient(180deg, #2a221a, #15100b); color: #ffe9b0;
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px 14px; text-align: center;
  overflow: hidden; animation: lampIn .5s ease; }
@keyframes lampIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
.qf-lamp .lamp-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(201,169,110,.15);
  border: 1px solid var(--gold-soft); display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin: 0 auto 8px; }
.qf-lamp .flame { font-size: 22px; animation: flicker 1.6s ease-in-out infinite; filter: drop-shadow(0 0 8px #ffae42); }
@keyframes flicker { 0%,100% { transform: translateY(0) scale(1); opacity: 1; } 50% { transform: translateY(-2px) scale(1.08); opacity: .85; } }
.qf-lamp .qf-by { font-size: 12px; color: #ffd27f; margin-bottom: 4px; font-weight: 600; }
.qf-lamp .qf-for { font-size: 11px; color: #c9a978; line-height: 1.4; }
.qf-lamp .qf-lamp-type { font-size: 10px; color: rgba(201,169,110,.5); margin-top: 6px; }
.qf-empty { grid-column: 1/-1; text-align: center; color: rgba(212,197,169,.6); padding: 30px; }

/* ====== 看手相 ====== */
.sx-upload { display: block; cursor: pointer; margin-bottom: 14px; }
.sx-placeholder { border: 2px dashed var(--gold-soft); border-radius: 14px; padding: 34px 16px; text-align: center; color: rgba(212,197,169,.75); background: rgba(201,169,110,.05); transition: background .2s; }
.sx-upload:hover .sx-placeholder { background: rgba(201,169,110,.12); }
.sx-placeholder .sx-ic { font-size: 44px; }
.sx-placeholder .sx-hint { font-size: 12px; color: rgba(212,197,169,.5); margin-top: 6px; }
.sx-preview { width: 100%; max-height: 340px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); background: rgba(26,20,16,.6); }

/* ====== 付费墙 / 打赏 / 支付 ====== */
.paywall { margin-top: 16px; border: 1px solid var(--gold-soft); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(61,52,40,.5), rgba(44,36,24,.95)); }
.paywall .pw-fade { height: 54px; margin-top: -54px; position: relative; background: linear-gradient(180deg, rgba(44,36,24,0), rgba(44,36,24,.95)); }
.paywall .pw-body { padding: 20px; text-align: center; }
.paywall .pw-lock { font-size: 28px; }
.paywall .pw-title { font-family: var(--display); font-size: 18px; color: var(--gold); margin: 6px 0 2px; letter-spacing: 1px; }
.paywall .pw-sub { font-size: 13px; color: rgba(212,197,169,.8); margin-bottom: 6px; }
.paywall .pw-list { font-size: 12.5px; color: rgba(212,197,169,.8); margin: 8px auto 14px; max-width: 340px; text-align: left; }
.paywall .pw-list li { margin: 3px 0; list-style: none; padding-left: 18px; position: relative; }
.paywall .pw-list li::before { content: "✦"; color: var(--gold); position: absolute; left: 0; }
.paywall .pw-unlock { width: 100%; max-width: 340px; padding: 13px; border: none; border-radius: 10px; cursor: pointer; background: var(--vermillion); color: #fff; font-family: var(--body); font-size: 17px; letter-spacing: 2px; }
.paywall .pw-unlock .pw-old { text-decoration: line-through; opacity: .6; font-size: 13px; margin-left: 8px; }
.paywall .pw-note { font-size: 11px; color: rgba(212,197,169,.5); margin-top: 8px; }
.reward { margin-top: 14px; text-align: center; }
.reward .rw-q { font-size: 13px; color: rgba(212,197,169,.8); margin-bottom: 8px; }
.reward .rw-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.reward .rw-btn { padding: 7px 16px; border: 1px solid var(--gold-soft); border-radius: 18px; background: rgba(44,36,24,.95); color: var(--gold); cursor: pointer; font-family: var(--body); font-size: 14px; }
.reward .rw-btn:hover { background: rgba(201,169,110,.1); }
.reward .rw-done { color: var(--gold); font-size: 14px; }
.pay-mask { position: fixed; inset: 0; background: rgba(10,7,4,.55); z-index: 60; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pay-mask.show { display: flex; }
.pay-card { background: var(--paper-warm); color: var(--ink); border-radius: 18px; width: 100%; max-width: 330px; padding: 24px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: lampIn .25s ease; }
.pay-card .pay-title { font-family: var(--display); font-size: 18px; color: var(--ink); }
.pay-card .pay-desc { font-size: 13px; color: var(--ink-light); margin: 6px 0 14px; }
.pay-card .pay-amount { font-size: 38px; font-weight: 700; color: var(--vermillion); margin-bottom: 4px; }
.pay-card .pay-qr { width: 160px; height: 160px; margin: 12px auto; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; box-sizing: border-box; }
.pay-card .pay-qr svg { width: 100%; height: 100%; display: block; }
.pay-card .pay-qr span { color: #888; font-size: 12px; }
.pay-card .pay-status { font-size: 12px; color: var(--gold); margin: 4px 0 2px; min-height: 16px; }
/* —— 支付方式选择 —— */
.pay-provider { display: none; gap: 8px; margin: 10px 0; }
.pay-provider .pay-provider-btn {
  flex: 1; padding: 10px 0; border: 1.5px solid var(--line-2); border-radius: 8px;
  background: transparent; color: var(--paper-dark); font-size: 14px; cursor: pointer; font-family: var(--body); transition: .15s;
}
.pay-provider .pay-provider-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,.08); }
.pay-provider .pay-provider-btn:first-child.active { border-color: #07a838; color: #07a838; background: rgba(7,168,56,.08); }
.pay-provider .pay-provider-btn:last-child.active { border-color: #1677ff; color: #1677ff; background: rgba(22,119,255,.08); }
.pay-card .pay-mock { font-size: 11px; color: var(--ink-light); margin: 6px 0 12px; }
.pay-card .pay-go { width: 100%; padding: 12px; border: none; border-radius: 10px; background: linear-gradient(135deg,#09b83e,#07a838); color: #fff; font-size: 16px; cursor: pointer; font-family: var(--body); }
.pay-card .pay-cancel { width: 100%; padding: 10px; margin-top: 8px; border: none; background: none; color: var(--ink-light); cursor: pointer; font-family: var(--body); font-size: 13px; }

/* ====== 首页·每日修行 ====== */
.daily-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 6px; }
.daily-card { background: var(--paper-warm); color: var(--ink); border-radius: 14px; padding: 16px; border-left: 4px solid var(--gold-soft); }
.daily-card .dc-h { font-size: 13px; color: var(--ink-light); display: flex; justify-content: space-between; }
.daily-streak { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--vermillion); text-align: center; margin: 6px 0; }
.daily-streak small { font-size: 13px; color: var(--ink-light); font-weight: 400; }
.daily-sub { font-size: 12px; color: var(--ink-light); text-align: center; }
.daily-sign { text-align: center; }
.daily-sign .ds-poem { font-family: var(--display); font-size: 15px; color: var(--vermillion); line-height: 1.7; margin: 4px 0; }
.daily-sign .ds-btn { font-size: 12px; color: var(--ink-light); cursor: pointer; }
.daily-sign .ds-lv { display: inline-block; padding: 1px 10px; border-radius: 10px; color: #fff; font-size: 12px; }

.disclaimer { text-align: center; color: rgba(212,197,169,.5); font-size: 11.5px; line-height: 1.7; padding: 26px 20px 10px; max-width: 560px; margin: 0 auto; }
.footer-links { margin-top: 10px; }
.footer-links a { color: var(--gold); text-decoration: none; margin: 0 2px; }
.footer-icp { margin-top: 6px; font-size: 10.5px; color: rgba(212,197,169,.35); }

/* 上香烟雾 */
.incense-smoke { position: absolute; left: 50%; top: 60px; width: 6px; height: 0; pointer-events: none; }
.smoke-p { position: absolute; bottom: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(120,100,70,.35); animation: smoke 2.8s ease-out forwards; }
@keyframes smoke {
  0% { transform: translate(-50%, 0) scale(.5); opacity: .6; }
  100% { transform: translate(-50%, -130px) scale(2.4); opacity: 0; }
}

/* ====== 分享裂变 ====== */
.share-merit-card { display: grid; grid-template-columns: 1.35fr auto auto; align-items: center; gap: 18px;
  border: 1px solid var(--gold-soft); border-radius: 18px; padding: 22px; background: linear-gradient(135deg, rgba(201,169,110,.12), rgba(196,61,61,.08));
  box-shadow: 0 10px 32px rgba(0,0,0,.22); }
.share-merit-copy h2 { font-family: var(--display); color: var(--gold); font-size: 24px; letter-spacing: 2px; font-weight: 400; margin: 4px 0 6px; }
.share-merit-copy p { color: rgba(212,197,169,.76); font-size: 14px; line-height: 1.8; }
.share-stat { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-stat.inline { min-width: 240px; }
.share-stat .ss { min-width: 74px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: rgba(26,20,16,.35); text-align: center; }
.share-stat .ss .n { font-family: var(--display); font-size: 22px; color: var(--gold); font-weight: 700; }
.share-stat .ss .l { font-size: 11px; color: rgba(212,197,169,.65); }
@media (max-width: 760px) { .share-merit-card { grid-template-columns: 1fr; text-align: center; } .share-stat.inline { min-width: 0; } }
/* 浮动分享按钮 */
.share-fab { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold-soft); cursor: pointer;
  background: linear-gradient(135deg, rgba(201,169,110,.3), rgba(196,61,61,.2)); color: var(--gold);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0,0,0,.4), 0 0 18px rgba(201,169,110,.2); transition: all .2s; }
.share-fab svg { width: 22px; height: 22px; }
.share-fab:hover { transform: translateY(-2px) scale(1.05); background: linear-gradient(135deg, rgba(201,169,110,.45), rgba(196,61,61,.3)); }
@media (min-width: 880px) { .share-fab { bottom: 24px; right: 24px; width: 56px; height: 56px; } }

/* 分享卡片封面 */
.share-card .share-cover { background: linear-gradient(180deg, var(--xuan), var(--xuan-card)); border: 1px solid var(--gold-soft);
  border-radius: 14px; padding: 22px 16px; margin-bottom: 14px; text-align: center; }
.share-card .sc-lotus { font-size: 38px; }
.share-card .sc-title { font-family: var(--display); font-size: 30px; color: var(--gold); letter-spacing: 6px; margin: 4px 0; text-shadow: 0 0 20px rgba(201,169,110,.3); }
.share-card .sc-line { font-size: 13px; color: var(--paper-dark); letter-spacing: 2px; }
.share-link { font-size: 12px; color: var(--ink-light); word-break: break-all; background: rgba(0,0,0,.06);
  border-radius: 8px; padding: 8px 10px; margin-bottom: 14px; }
.share-channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.share-ch { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px;
  border: 1px solid rgba(0,0,0,.1); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; font-family: var(--body); font-size: 12px; }
.share-ch span { font-size: 22px; }
.share-ch:hover { border-color: var(--vermillion); }

/* 解读区分享按钮 */
.share-result { margin-top: 12px; text-align: center; }
.share-result .sr-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 22px; border: 1px solid var(--gold-soft);
  border-radius: 22px; background: rgba(201,169,110,.08); color: var(--gold); cursor: pointer; font-family: var(--body); font-size: 14px; }
.share-result .sr-btn:hover { background: rgba(201,169,110,.16); }

/* 付费墙·免费次数 */
.paywall .pw-free { display: block; width: 100%; max-width: 340px; margin: 10px auto 0; padding: 11px; cursor: pointer;
  border: 1px solid var(--gold); border-radius: 10px; background: transparent; color: var(--gold); font-family: var(--body); font-size: 15px; }
.paywall .pw-free:hover { background: rgba(201,169,110,.1); }

/* 轻提示 toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); z-index: 70;
  background: rgba(26, 20, 16, .55); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--gold-soft); color: var(--gold); padding: 11px 20px; border-radius: 24px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s;
  box-shadow: 0 8px 30px rgba(0,0,0,.5), inset 0 1px 0 rgba(255, 246, 220, .1); max-width: 86%; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ====== 我的 ====== */
.wode-stat { display: flex; gap: 12px; justify-content: center; margin-bottom: 8px; flex-wrap: wrap; }
.wode-stat .ws { border: 1px solid var(--line); background: rgba(44,36,24,.95); border-radius: 12px; padding: 14px 22px; text-align: center; }
.wode-stat .ws .n { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--gold); }
.wode-stat .ws .l { font-size: 12px; color: rgba(212,197,169,.7); }
.wode-list { display: grid; gap: 12px; }
.wode-item { border: 1px solid var(--line); background: rgba(44,36,24,.95); border-radius: 12px; padding: 14px 16px; }
.wode-item .wi-head { display: flex; justify-content: space-between; align-items: center; }
.wode-item .wi-type { font-size: 13px; color: var(--xuan); background: var(--gold); padding: 2px 10px; border-radius: 10px; }
.wode-item .wi-time { font-size: 12px; color: rgba(212,197,169,.5); }
.wode-item .wi-body { font-size: 14px; color: rgba(212,197,169,.8); margin-top: 8px; line-height: 1.7; }
.wode-empty { text-align: center; color: rgba(212,197,169,.6); padding: 40px; }

/* ====== 底部导航 ====== */
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around;
  background: linear-gradient(180deg, rgba(26, 20, 16, .48), rgba(26, 20, 16, .62));
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-top: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 246, 220, .06); padding: 6px 0 8px; }
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: rgba(212,197,169,.55); cursor: pointer; flex: 1; user-select: none; transition: color .15s, transform .12s; }
.bottomnav a:active { transform: scale(.92); }
.bottomnav a .bn-ic { font-size: 20px; }
.bottomnav a.active { color: var(--gold); }
@media (min-width: 880px) { .bottomnav { display: none; } body { padding-bottom: 24px; } }

@media (max-width: 600px) {
  .masters { grid-template-columns: 1fr; }
  .hl-yiji { grid-template-columns: 1fr; }
  .qf-types { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 40px; letter-spacing: 10px; }
  .daily-box { grid-template-columns: 1fr; }
}

/* ====== 订单号找回 ====== */
.recover-box { background: var(--paper-warm); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; margin-bottom: 28px; }
.recover-tip { font-size: 13px; color: var(--ink-light); line-height: 1.7; margin-bottom: 12px; }
.recover-form { display: flex; gap: 8px; }
.recover-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; font-family: var(--body); }
.recover-form input:focus { outline: none; border-color: var(--gold); }
.recover-form .btn-vermillion { white-space: nowrap; padding: 10px 18px; }
.recover-result { margin-top: 14px; }
.recover-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; }
.recover-card .rc-row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; border-bottom: 1px dashed var(--line); color: var(--ink); gap: 12px; }
.recover-card .rc-row:last-child { border-bottom: none; }
.recover-card .rc-row .k { color: var(--ink-light); white-space: nowrap; }
.recover-card .rc-row .v { text-align: right; word-break: break-all; }
.recover-card .rc-paid { color: #2e7d32; font-weight: 600; }
.recover-card .rc-pending { color: var(--vermillion); font-weight: 600; }
.recover-empty { text-align: center; color: var(--ink-light); padding: 16px; font-size: 14px; }

/* ====== 祈福卡 ====== */
.card-mask { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.66); padding: 20px; }
.card-mask.show { display: flex; }
.card-box { width: 100%; max-width: 360px; text-align: center; }
.card-box canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.5); display: block; }
.card-actions { display: flex; gap: 10px; margin-top: 14px; }
.card-actions button { flex: 1; padding: 12px; border-radius: 10px; font-size: 15px; cursor: pointer; border: none; font-family: var(--body); }
.card-save { background: var(--gold); color: #2c2c2c; }
.card-share { background: var(--vermillion); color: #fff; }
.card-close { display: block; margin: 12px auto 0; color: rgba(255,255,255,.7); background: none; border: none; cursor: pointer; font-size: 13px; }

/* 祈福供奉成功结果卡 */
.qf-result {
  margin: 18px 0 6px;
  padding: 22px 18px;
  border: 1px solid var(--gold-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(201,169,110,.14), rgba(201,169,110,.05));
  text-align: center;
  animation: qfResultIn .4s ease;
}
@keyframes qfResultIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qf-result-flame { font-size: 40px; line-height: 1; filter: drop-shadow(0 0 10px rgba(201,169,110,.6)); }
.qf-result-title { font-family: var(--display); font-size: 24px; color: var(--gold); letter-spacing: 3px; margin: 10px 0 8px; }
.qf-result-line { font-size: 14px; color: var(--paper-dark); }
.qf-result-wish { font-size: 15px; color: var(--paper); margin: 10px 0; font-style: italic; }
.qf-result-tier { display: inline-block; margin-top: 6px; padding: 3px 12px; font-size: 12px; color: var(--gold);
  border: 1px solid var(--gold-soft); border-radius: 20px; }
.qf-result-order { font-size: 11px; color: var(--ink-light); margin-top: 10px; letter-spacing: .5px; }
.qf-result-btn { margin-top: 14px; padding: 8px 22px; font-family: var(--body); font-size: 14px; letter-spacing: 1px;
  color: var(--gold); background: transparent; border: 1px solid var(--gold-soft); border-radius: 22px; cursor: pointer; transition: all .2s; }
.qf-result-btn:hover { background: rgba(201,169,110,.12); border-color: var(--gold); }

/* ============ 原创 SVG 资产样式 ============ */
.svg-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
/* 品牌 logo 徽章 */
.brand-logo { width: 30px; height: 30px; display: inline-flex; color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(201,160,94,.4)); }
.brand-logo .svg-logo { width: 100%; height: 100%; }
.brand-name { font-family: var(--display); }
/* 顶部圆钮里的图标 */
.icon-btn .svg-ic { width: 17px; height: 17px; }
/* 底部导航图标 */
.bottomnav a .bn-ic { display: inline-flex; }
.bottomnav a .bn-ic .svg-ic { width: 22px; height: 22px; }
/* 九大善门卡片图标 */
.gate-card .g-ic { display: inline-flex; }
.gate-card .g-ic .svg-ic { width: 26px; height: 26px; }
/* 供灯（选择卡 / 灯墙 / 结果卡） */
.svg-lamp { display: block; width: 100%; height: 100%; }
.qf-lamp-card .lamp-icon { width: 60px; height: 78px; margin: 0 auto 6px; }
.qf-lamp .lamp-avatar { width: 100px !important; height: 126px !important; border-radius: 0 !important;
  background: none !important; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; }
.qf-result-flame { width: 84px; height: 108px; margin: 0 auto; }
/* 首页在线上香：青铜香炉舞台 */
.incense-card { padding-top: 18px; }
.censer-stage { width: 200px; max-width: 64%; margin: 4px auto 10px;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.45)); }
.censer-stage .svg-censer { width: 100%; height: auto; display: block; }

/* —— 会员账号绑定 / 找回 —— */
.wode-account { margin: 14px 0 4px; padding: 16px; border-radius: 14px; background: rgba(201,169,110,.07); border: 1px solid var(--line-2); }
.wode-account .acct-title { font-family: var(--display); font-size: 16px; color: var(--gold); margin-bottom: 4px; }
.wode-account .acct-tip { font-size: 12px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 10px; }
.wode-account .acct-form { display: flex; gap: 8px; }
.wode-account .acct-form .text-in { flex: 1; }
.wode-account .btn-gold { padding: 0 18px; border: none; border-radius: 10px; cursor: pointer; white-space: nowrap;
  background: linear-gradient(135deg, var(--gold2, #d8b878), var(--gold)); color: #2a2118; font-weight: 600; }
.wode-account .btn-gold:hover { filter: brightness(1.08); }
.wode-account .acct-recover { margin-top: 10px; font-size: 12px; color: var(--ink-muted); }
.wode-account .acct-recover a { color: var(--gold); cursor: pointer; }
.wode-account .acct-row { display: flex; justify-content: space-between; align-items: center; }
.wode-account .acct-label { font-size: 13px; color: var(--ink-muted); }
.wode-account .acct-phone { font-family: var(--display); font-size: 18px; color: var(--gold); letter-spacing: 1px; }

/* ================= 善缘堂 ================= */
.sy-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.sy-tab {
  flex: 1; padding: 9px 0; background: var(--xuan-card); color: var(--paper-dark);
  border: 1px solid var(--line); border-radius: 8px; font-family: var(--serif);
  font-size: 15px; cursor: pointer;
}
.sy-tab.active { background: var(--vermillion); border-color: var(--vermillion); color: #fff; }
.sy-panel { display: none; }
.sy-panel.active { display: block; }

.sy-wish-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.sy-wish-form input, .sy-wish-form textarea {
  background: var(--xuan-card); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 10px 12px; color: var(--paper); font-family: var(--body); font-size: 14px; resize: none;
}
.sy-wish-form input::placeholder, .sy-wish-form textarea::placeholder { color: var(--ink-muted); }

.sy-guide {
  background: var(--xuan-card); border: 1px solid var(--gold-soft); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 14px; color: var(--gold); font-size: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}

.sy-list { display: flex; flex-direction: column; gap: 12px; }
.sy-card { background: var(--xuan-card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.sy-card-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.sy-name { color: var(--gold); font-family: var(--serif); font-size: 14px; margin-right: 8px; }
.sy-date { color: var(--ink-muted); font-size: 12px; }
.sy-text { color: var(--paper-dark); font-size: 14px; margin-bottom: 10px; word-break: break-all; }
.sy-actions { display: flex; gap: 10px; }
.sy-actions button {
  background: none; border: 1px solid var(--line-2); border-radius: 16px;
  color: var(--paper-dark); font-size: 13px; padding: 4px 14px; cursor: pointer;
}
.sy-actions button:active { border-color: var(--vermillion); color: var(--vermillion-light); }

.sy-comments { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.sy-cmt { font-size: 13px; color: var(--paper-dark); margin-bottom: 6px; }
.sy-cmt-empty, .sy-cmt-loading { font-size: 13px; color: var(--ink-muted); margin-bottom: 8px; }
.sy-cmt-form { display: flex; gap: 8px; margin-top: 8px; }
.sy-cmt-form input {
  flex: 1; background: var(--xuan); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 7px 10px; color: var(--paper); font-size: 13px;
}
.sy-cmt-form button { padding: 7px 16px; font-size: 13px; }

.sy-more { display: block; width: 100%; margin-top: 14px; }

/* —— 心愿池 · 祈福牌墙 —— */
.sy-rack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-top: 14px; }
.sy-ema {
  position: relative; background: linear-gradient(175deg, var(--paper-tag-hi), var(--paper-tag-lo)); border-radius: 6px;
  padding: 30px 12px 12px; color: var(--ink-warm); box-shadow: 0 4px 10px rgba(0, 0, 0, .45);
  cursor: pointer; font-family: var(--serif);
}
/* 挂绳 */
.sy-ema::before {
  content: ''; position: absolute; top: -12px; left: 50%; width: 54px; height: 26px;
  margin-left: -27px; border: 1.5px solid var(--vermillion-deep); border-bottom: none; border-radius: 6px 6px 0 0;
}
/* 红结 */
.sy-ema::after {
  content: ''; position: absolute; top: 12px; left: 50%; width: 9px; height: 9px;
  margin-left: -4.5px; background: var(--vermillion-d); border-radius: 50%; box-shadow: 0 0 0 2px var(--paper-tag-hi);
}
.sy-ema:nth-child(odd) { transform: rotate(-1.6deg); }
.sy-ema:nth-child(even) { transform: rotate(1.3deg); margin-top: 10px; }
.sy-ema-wish { font-size: 14.5px; line-height: 1.55; margin-bottom: 8px; word-break: break-all; }
.sy-ema-meta { font-size: 11px; color: var(--ink-warm-2); font-family: var(--body); margin-bottom: 8px; }
.sy-ema-acts { display: flex; gap: 8px; justify-content: flex-end; }
.sy-seal-cmt {
  border-color: #6b5a3e; color: #6b5a3e; background: rgba(107, 90, 62, .08);
  transform: rotate(2deg);
}
.sy-seal-cmt:active { transform: rotate(2deg) scale(1.35); }
.sy-seal {
  border: 1.5px solid var(--vermillion-d); color: var(--vermillion-d); background: rgba(168, 50, 50, .06);
  border-radius: 4px; padding: 2px 6px; font-size: 11px; cursor: pointer;
  transform: rotate(-4deg); transition: transform .12s; user-select: none;
  font-family: var(--body); white-space: nowrap; flex-shrink: 0;
}
.sy-seal.stamped { background: var(--vermillion-d); color: var(--paper-on-seal); }
.sy-seal:active { transform: rotate(-4deg) scale(1.35); }
.sy-detail {
  background: var(--xuan-card); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 16px 14px; color: var(--paper-dark); margin: 14px 0 4px;
}
.sy-detail-wish { font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--paper); margin-bottom: 8px; }
.sy-detail-meta { font-size: 12px; color: var(--ink-muted); margin-bottom: 10px; }
.sy-detail .sy-comments { margin-top: 0; border-top: none; padding-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .sy-seal { transition: none; }
  .sy-ema { transform: none; }
}

/* —— 功德灯 · 灯龛墙 —— */
.sy-shrine-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.sy-shrine {
  position: relative; text-align: center; padding: 18px 10px 12px; cursor: pointer;
  --sy-glow: .16;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 170, 60, var(--sy-glow)), transparent 62%),
    linear-gradient(180deg, #33251a, #241a12);
  border: 1px solid rgba(201, 169, 110, .35); border-radius: 44px 44px 8px 8px;
  animation: sy-rise .5s ease-out backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.sy-shrine:nth-child(even) { margin-top: 12px; }
@keyframes sy-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.sy-shrine-lamp {
  width: 56px; margin: 0 auto 6px;
  filter: drop-shadow(0 0 calc(6px + var(--sy-glow) * 24px) rgba(255, 170, 60, calc(var(--sy-glow) * 2)));
}
.sy-shrine-lamp svg {
  width: 56px; height: 56px; display: block;
  transform-origin: 50% 85%;
  animation: sy-sway 3.4s ease-in-out infinite;
}
.sy-shrine:nth-child(even) .sy-shrine-lamp svg { animation-duration: 4.1s; animation-delay: -1.7s; }
.sy-shrine:nth-child(3n) .sy-shrine-lamp svg { animation-duration: 3.7s; animation-delay: -0.9s; }
@keyframes sy-sway {
  0%, 100% { transform: rotate(-1.4deg); }
  50% { transform: rotate(1.4deg); }
}
.sy-shrine-lamp.burst svg { animation: sy-flare .6s ease-out; }
@keyframes sy-flare {
  30% { transform: scale(1.25) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.sy-shrine-tier { font-size: 11px; color: var(--gold); letter-spacing: 2px; margin-bottom: 4px; font-family: var(--serif); }
.sy-shrine-wish { font-size: 13.5px; color: var(--paper); font-family: var(--serif); line-height: 1.5; margin-bottom: 4px; word-break: break-all; }
.sy-shrine-by { font-size: 11px; color: var(--ink-muted); margin-bottom: 8px; }
.sy-shrine .sy-ema-acts { justify-content: center; }
.sy-shrine .sy-seal { background: rgba(168, 50, 50, .16); }
.sy-shrine .sy-seal.stamped { background: var(--vermillion-d); }
.sy-shrine .sy-seal-cmt { border-color: var(--gold); color: var(--gold); background: rgba(201, 169, 110, .10); }
/* 空龛邀请位 */
.sy-shrine-cta { border-style: dashed; animation: sy-rise .5s ease-out backwards, sy-invite 2.6s ease-in-out infinite 1s; }
.sy-shrine-cta .sy-shrine-lamp { filter: grayscale(.75) opacity(.45); }
.sy-shrine-cta .sy-shrine-lamp svg { animation: none; }
.sy-shrine-cta .sy-shrine-wish { color: var(--gold); }
@keyframes sy-invite {
  0%, 100% { border-color: rgba(201, 169, 110, .3); }
  50% { border-color: rgba(232, 165, 74, .8); }
}

/* —— 功德榜 · 金榜卷轴 —— */
.sy-scroll { max-width: 420px; margin: 0 auto; }
.sy-scroll-roller {
  height: 16px; border-radius: 8px; position: relative; z-index: 2;
  background: linear-gradient(180deg, #7a5230, #4a2f1a 55%, #6b4a2b);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}
.sy-scroll-roller::before, .sy-scroll-roller::after {
  content: ''; position: absolute; top: 2px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d8b878, #8a6a3a);
}
.sy-scroll-roller::before { left: -5px; }
.sy-scroll-roller::after { right: -5px; }
.sy-scroll-body {
  margin: 0 10px; padding: 18px 16px 16px; position: relative;
  background: linear-gradient(90deg, #e3d2a4 0%, #f2e6c2 12%, #f6ecd0 50%, #f2e6c2 88%, #e3d2a4 100%);
  box-shadow: inset 0 0 40px rgba(160, 120, 50, .18);
  border-left: 1px solid rgba(107, 74, 43, .4); border-right: 1px solid rgba(107, 74, 43, .4);
}
.sy-scroll-body::before {
  content: ''; position: absolute; inset: 8px; pointer-events: none;
  border: 2px solid rgba(168, 50, 50, .55); outline: 1px solid rgba(168, 50, 50, .25); outline-offset: 3px;
}
.sy-scroll-body.unfurl { animation: sy-unfurl .9s ease-out; }
@keyframes sy-unfurl {
  from { clip-path: inset(0 0 94% 0); }
  to { clip-path: inset(0 0 0 0); }
}
.sy-scroll-title {
  text-align: center; font-family: var(--serif); font-size: 22px; letter-spacing: 10px;
  color: var(--vermillion-deep); margin-bottom: 12px; position: relative; text-indent: 10px;
}
.sy-scroll-stamp {
  position: absolute; right: 2px; top: -2px; font-style: normal; font-size: 9px; letter-spacing: 1px;
  color: var(--paper-on-seal); background: var(--vermillion-d); border-radius: 3px; padding: 3px 4px; width: 2.5em;
  line-height: 1.25; transform: rotate(6deg); text-indent: 0; opacity: .88;
}
.sy-rank-list { list-style: none; margin: 0 6px; }
.sy-rank-list li {
  display: flex; align-items: baseline; gap: 8px; padding: 9px 4px;
  border-bottom: 1px dashed rgba(107, 74, 43, .35);
  font-family: var(--serif); color: var(--ink-warm);
}
.sy-rank-no { font-size: 12px; color: var(--ink-warm-2); flex-shrink: 0; width: 52px; }
.sy-rank-title {
  font-style: normal; font-size: 11px; color: var(--paper-on-seal); background: var(--vermillion-d);
  border-radius: 3px; padding: 1px 5px; flex-shrink: 0; transform: rotate(-3deg);
}
.sy-rank-name { font-size: 15px; letter-spacing: 1px; }
.sy-rank-top .sy-rank-name { font-size: 17px; color: var(--vermillion-deep); }
.sy-rank-merit { margin-left: auto; font-size: 12px; color: var(--ink-warm-2); font-family: var(--body); }
.sy-rank-list .sy-cmt-empty { color: var(--ink-warm-2); border-bottom: none; }
.sy-rank-mine {
  margin: 14px 6px 0; padding: 12px 10px 4px; border-top: 2px solid rgba(168, 50, 50, .45);
  color: var(--ink-warm); font-size: 13px;
}
.sy-mine-line { font-family: var(--serif); margin-bottom: 4px; }
.sy-mine-line b { color: var(--vermillion-deep); }
.sy-mine-gap { font-size: 12px; color: var(--ink-warm-2); margin-bottom: 10px; }
.sy-mine-gap b { color: var(--vermillion-d); }
.sy-mine-acts { display: flex; gap: 10px; }
.sy-mine-acts button { font-size: 13px; padding: 7px 16px; }
.sy-mine-acts .btn-ghost { color: #6b4a2b; border-color: rgba(107, 74, 43, .5); }
/* —— 心愿池 · 水面 —— */
.sy-pond {
  position: relative; height: 72px; margin-top: 18px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #1d2a26 0%, #15201c 70%, #101915 100%);
  border: 1px solid rgba(201, 169, 110, .22);
  box-shadow: inset 0 6px 18px rgba(0, 0, 0, .45);
}
.sy-pond-waves {
  position: absolute; inset: 0; width: 200%; height: 100%;
  animation: sy-pond-drift 14s linear infinite;
}
@keyframes sy-pond-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}
.sy-ripple {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, .5);
  animation: sy-ripple 5s ease-out infinite;
  opacity: 0;
}
.sy-ripple-1 { left: 22%; top: 40%; }
.sy-ripple-2 { left: 62%; top: 55%; animation-delay: 1.8s; }
.sy-ripple-3 { left: 82%; top: 30%; animation-delay: 3.4s; }
@keyframes sy-ripple {
  0% { transform: scale(.3); opacity: .8; }
  60% { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}
.sy-pond-lotus {
  position: absolute; left: 10px; bottom: 8px; width: 30px; height: 30px;
  color: rgba(232, 165, 74, .8);
  animation: sy-lotus-bob 4.5s ease-in-out infinite;
}
.sy-pond-lotus svg { width: 30px; height: 30px; }
@keyframes sy-lotus-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}
.sy-pond-motto {
  position: absolute; right: 12px; bottom: 10px;
  font-family: var(--serif); font-size: 11px; letter-spacing: 3px;
  color: rgba(201, 169, 110, .55); writing-mode: horizontal-tb;
}
/* 许愿入池的大涟漪 */
.sy-pond.splash::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px;
  margin: -8px 0 0 -8px; border-radius: 50%;
  border: 2px solid rgba(232, 165, 74, .85);
  animation: sy-splash 1s ease-out forwards;
}
@keyframes sy-splash {
  0% { transform: scale(.3); opacity: 1; }
  100% { transform: scale(9); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sy-scroll-body.unfurl { animation: none; }
  .sy-shrine, .sy-shrine-cta { animation: none; }
  .sy-shrine-lamp svg { animation: none; }
  .sy-pond-waves, .sy-ripple, .sy-pond-lotus { animation: none; }
  .sy-ripple { opacity: .3; }
}

/* ================= 琉璃质感（Liquid Glass）================= */
/* 交互元素：玻璃底 + 顶部高光 + 按压回弹 */
.sy-tab {
  background: rgba(44, 36, 24, .5);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .07);
  transition: transform .12s, background .15s;
}
.sy-tab:active { transform: scale(.96); }
.sy-tab.active {
  background: rgba(196, 61, 61, .72);
  backdrop-filter: blur(10px) saturate(1.6); -webkit-backdrop-filter: blur(10px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.icon-btn, .pill-btn {
  background: rgba(44, 36, 24, .45);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .07);
  transition: transform .12s, background .15s, border-color .15s, color .15s;
}
.icon-btn:active, .pill-btn:active { transform: scale(.94); }
.gate-card { transition: transform .18s, border-color .18s, box-shadow .18s; }
.gate-card:active { transform: scale(.98); }

/* 不支持 backdrop-filter 时回退到近实底色，保证可读性 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: linear-gradient(180deg, rgba(26, 20, 16, .95), rgba(26, 20, 16, .88)); }
  .bottomnav { background: rgba(26, 20, 16, .96); }
  .toast { background: rgba(26, 20, 16, .96); }
  .gate-card { background: rgba(44, 36, 24, .95); }
  .sy-tab { background: var(--xuan-card); }
  .sy-tab.active { background: var(--vermillion); }
  .icon-btn, .pill-btn { background: rgba(44, 36, 24, .9); }
}

/* AI 披露尾注 */
.ai-note { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-muted); text-align: center; }

/* —— 黄历页 · 吉日速查签牌 —— */
.jr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .jr-grid { grid-template-columns: repeat(4, 1fr); } }
.jr-chip {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: linear-gradient(175deg, var(--paper-tag-hi), var(--paper-tag-lo)); color: var(--ink-warm);
  border-radius: 8px; text-decoration: none; font-family: var(--serif);
  font-size: 15px; letter-spacing: 1px; box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
  transition: transform .15s, box-shadow .15s;
}
.jr-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.jr-chip:active { transform: scale(.97); }
.jr-chip i {
  font-style: normal; width: 26px; height: 26px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--vermillion-d); color: var(--paper-on-seal); border-radius: 4px; font-size: 14px;
  transform: rotate(-4deg); font-family: var(--serif);
}
.jr-all { display: inline-block; margin-top: 14px; color: var(--gold); text-decoration: none; font-size: 14px; letter-spacing: 1px; }
.jr-all:hover { color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .jr-chip { transition: none; } }

