/* 兰紫 · 首页。公共入口独立于账号，个性内容按真实状态呈现。 */
:root, :root[data-theme='light'] {
  --paper: #fbfafe; --paper-strong: #fff; --paper-subtle: #f5effc;
  --ink: #27203e; --dim: #6b627e; --faint: #746a84;
  --line: rgba(127, 78, 185, .16); --gold: #8650cd; --gold-deep: #633699;
  --gold-fill: #8650cd; --gold-wash: #f3ecfc;
  --sans: 'Noto Sans SC', system-ui, sans-serif; --serif: 'Noto Serif SC', serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; margin: 0; color: var(--ink); background: #fbfafe; font-family: var(--sans); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.home-main { width: min(1400px, calc(100% - 96px)); margin: 0 auto; padding: 14px 0 20px; }
.home-main a { color: inherit; text-decoration: none; }
.home-main button { font-family: var(--sans); }
.home-main :is(a,button,summary,select):focus-visible { outline: 3px solid #a978e0; outline-offset: 4px; }
.home-hero { min-height: 340px; position: relative; display: flex; align-items: center; isolation: isolate; }
.home-hero-copy { position: relative; z-index: 2; padding: 22px 0 26px 48px; }
.home-hero h1 { margin: 0; color: #261f3c; font: 700 clamp(36px,4.4vw,62px)/1.32 var(--serif); letter-spacing: .07em; }
.home-hero-copy > p { margin: 13px 0 24px; font: 400 clamp(14px,1.45vw,19px)/1.8 var(--serif); letter-spacing: .08em; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.home-primary,.home-secondary { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 25px; border: 1px solid #b895e3; border-radius: 14px; font: 500 16px/1.4 var(--sans); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.home-main .home-primary { color: #fff; border-color: transparent; background: linear-gradient(115deg,#9856cc,#7850d0); box-shadow: 0 5px 14px #8050c013; }
.home-main .home-secondary { color: #694391; background: #ffffff8c; }
.home-primary:hover,.home-secondary:hover { transform: translateY(-2px); box-shadow: 0 7px 20px #8958b81c; }
.home-primary:active,.home-secondary:active { transform: translateY(0) scale(.98); }
.home-hero-art { position: absolute; z-index: -1; inset: 0 -48px 0 30%; overflow: hidden; pointer-events: none; mask-image: linear-gradient(90deg,transparent,#000 20%); }
.home-hero-art img { position:absolute; width:1060px; max-width:none; height:auto; right:-20px; top:50%; transform:translateY(-50%); animation:home-art-float 9s ease-in-out infinite; }
.home-rhythm-strip { min-height:60px; display:flex; align-items:center; gap:16px; padding:10px 19px; border:1px solid var(--line); border-radius:14px; background:#ffffff87; }
.home-rhythm-mark { display:grid; place-items:center; width:40px; height:40px; flex:0 0 40px; border:1px solid #9b69d6; border-radius:50%; color:#9560ce; }
.home-rhythm-mark svg { width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:1.2; stroke-linecap:round; stroke-linejoin:round; }
.home-rhythm-strip h2 { margin:0; flex:0 0 auto; font:600 17px/1.5 var(--serif); letter-spacing:.06em; }
.home-rhythm-strip h2 span { margin-left:9px; color:#8b4bc4; font-weight:500; }
.home-calendar-label { margin:0 0 0 8px; padding-left:22px; border-left:1px solid var(--line); color:#665774; font-size:13px; }
.home-rhythm-hints { display:flex; align-items:center; flex:1; flex-wrap:wrap; gap:20px; margin-left:10px; color:#716382; font-size:13px; line-height:1.8; }
.home-rhythm-hints b { color:#9554ca; font-weight:500; }.home-rhythm-hints .rhythm-caution b { color:#bb528d; }
.home-text-action { min-height:40px; display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:12px; padding:0 8px; border:0; color:#665774; background:transparent; font-size:13px; cursor:pointer; }
.member-entry-section { margin-top:14px; }
.member-entry-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:15px; }
.member-entry-grid a { position:relative; min-width:0; min-height:174px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; padding:17px 9px 15px; border:1px solid var(--line); border-radius:15px; color:var(--ink); background:#ffffff8a; transition:border-color .22s,background .22s,transform .22s,box-shadow .22s; }
.member-entry-grid a:hover,.member-entry-grid a:focus-visible { transform:translateY(-4px); border-color:#bb91e4; background:linear-gradient(145deg,#fff,#f1e9f9); box-shadow:0 9px 25px #6b418f12; }
.member-entry-grid a:active { transform:translateY(-1px); }
.member-entry-icon { display:block; width:100px; height:88px; flex:none; object-fit:contain; transition:transform .25s ease; }
.member-entry-grid a:hover .member-entry-icon,.member-entry-grid a:focus-visible .member-entry-icon { transform:translateY(-2px) scale(1.04); }
.member-entry-copy { display:grid; gap:6px; text-align:center; }.member-entry-copy strong { font:600 clamp(16px,1.65vw,22px)/1.4 var(--serif); letter-spacing:.06em; }.member-entry-copy small { color:var(--dim); font:400 12px/1.6 var(--sans); letter-spacing:.04em; }
.member-entry-grid i { position:absolute; right:13px; top:9px; color:#a77cc9; font-style:normal; opacity:0; transition:opacity .2s; }.member-entry-grid a:hover i,.member-entry-grid a:focus-visible i { opacity:1; }
.home-play-entry { margin-top:14px; }
.home-play-link { min-height:96px; display:flex; align-items:center; gap:18px; padding:18px 24px; border:1px solid #dac6ed; border-radius:15px; background:linear-gradient(110deg,#f2e8fa,#fbf5fc 65%,#f5eafa); transition:border-color .2s,box-shadow .2s; }
.home-play-link:hover { border-color:#b995db; box-shadow:0 6px 20px #8050c012; }
.home-play-mark { width:46px; height:46px; flex:0 0 46px; color:#925ec8; }
.home-play-mark svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.15; stroke-linecap:round; stroke-linejoin:round; }
.home-play-copy { min-width:0; flex:1; display:grid; gap:6px; }
.home-play-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.home-play-heading h2 { margin:0; font:600 21px/1.5 var(--serif); letter-spacing:.035em; }
.home-play-heading small { padding:3px 8px; border:1px solid #dbc4ed; border-radius:99px; color:#8050ad; background:#ffffff70; font-size:10px; line-height:1.4; }
.home-play-description { color:var(--dim); font-size:13px; line-height:1.7; }
.home-play-action { min-height:44px; flex:0 0 auto; display:inline-flex; align-items:center; gap:15px; color:#75479e; font-size:13px; }
.home-play-action i { font-size:20px; font-style:normal; }
@media (max-width:620px) {
  .home-play-entry { margin-top:12px; }
  .home-play-link { min-height:116px; display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:9px 11px; padding:15px; border-radius:13px; }
  .home-play-mark { width:36px; height:40px; }
  .home-play-heading { gap:7px; }
  .home-play-heading h2 { font-size:18px; }
  .home-play-heading small { padding:2px 6px; font-size:9px; }
  .home-play-description { font-size:11px; line-height:1.75; }
  .home-play-action { grid-column:2/-1; justify-self:start; min-height:28px; gap:10px; font-size:12px; }
  .home-play-copy { grid-column:2/-1; }
}
.home-highlights { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; margin-top:14px; }
.home-highlights article { min-width:0; min-height:194px; position:relative; overflow:hidden; padding:21px 27px 18px; border:1px solid var(--line); border-radius:15px; background:#ffffff87; }
.home-highlights h2 { margin:0; font:600 21px/1.5 var(--serif); letter-spacing:.035em; }
.home-highlights p { margin:8px 0 15px; color:var(--dim); font-size:13px; line-height:1.85; }
.home-scene-copy { position:relative; z-index:2; max-width:66%; }.home-scene-copy h2 span { font-size:16px; color:#9f80b6; }
.home-scene-preview,.home-scene-placeholder { position:absolute; right:0; top:0; width:70%; height:100%; object-fit:cover; object-position:50% 65%; mask-image:linear-gradient(90deg,transparent,#000 30%); }
.home-scene-placeholder { background: url('/ink-mountains.webp') right bottom / cover no-repeat; opacity:.7; filter:saturate(.65) brightness(1.1); }
.home-scene-preview:not([hidden]) + .home-scene-placeholder { display:none; }
.home-main .home-small-action { min-height:36px; border-radius:9px; padding:0 16px; font-size:12px; gap:12px; }
.home-scene-caption { position:absolute; bottom:9px; right:12px; padding:2px 7px; border-radius:4px; color:#6c5a80; background:#fff9; font-size:10px; }
.home-reading-card > p { margin:4px 0 12px; }
.home-reading-preview { min-height:83px; display:flex; align-items:center; gap:15px; padding:12px 15px; border:1px solid var(--line); border-radius:13px; background:#faf6ff99; transition:background .2s,border-color .2s; }
.home-reading-preview:hover { border-color:#c0a1df; background:#f6eefa; }
.home-reading-mark { flex:0 0 46px; width:46px; height:46px; display:grid; place-items:center; color:#8c55c6; background:radial-gradient(circle at 30% 20%,#ffe8f4,#e5d0f3); border-radius:50%; font:32px var(--serif); }
.home-reading-preview > span:nth-child(2) { display:grid; min-width:0; gap:5px; }.home-reading-preview strong { font:600 14px/1.6 var(--serif); }.home-reading-preview small { display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; color:var(--dim); font-size:11.5px; line-height:1.8; }.home-reading-preview i { margin-left:auto; color:#a17bbf; font-style:normal; }
.guest-recent { min-height:62px; display:flex; align-items:center; gap:16px; margin-top:14px; padding:10px 18px; border:1px solid var(--line); border-radius:14px; background:#ffffff87; }
.home-recent-icon { width:32px; height:32px; flex:0 0 32px; color:#9663c9; }.home-recent-icon svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; }
.guest-recent > p { margin:0; flex:0 0 auto; padding-right:18px; border-right:1px solid var(--line); color:#695b77; font:14px var(--serif); }
.guest-recent > div { display:flex; min-width:0; flex:1; align-items:center; gap:20px; }.guest-recent h2 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin:0; font:500 14px/1.6 var(--sans); }.guest-recent div > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--faint); font-size:12px; }.guest-recent > a { display:flex; flex:0 0 auto; align-items:center; gap:18px; min-height:40px; padding:0 18px; border:1px solid var(--line); border-radius:9px; font-size:12px; background:#fff9; }.guest-recent i { font-style:normal; }
.home-daily-details { margin-top:16px; border:1px solid var(--line); border-radius:15px; overflow:clip; background:#ffffff73; scroll-margin-top:100px; }
.home-daily-details > summary { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:64px; padding:14px 22px; color:#6e4b8e; cursor:pointer; list-style:none; }.home-daily-details > summary::-webkit-details-marker { display:none; }.home-daily-details > summary > span { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }.home-daily-details > summary b { font:500 15px var(--serif); }.home-daily-details > summary small { color:var(--faint); font-size:12px; }.home-daily-details > summary i { font-style:normal; font-size:22px; transition:transform .2s; }.home-daily-details[open] > summary { border-bottom:1px solid var(--line); }.home-daily-details[open] > summary i { transform:rotate(45deg); }
.home-daily-guest { padding:32px 24px 38px; text-align:center; }.home-daily-guest > span { display:inline-block; color:#ae7ccf; font-size:38px; }.home-daily-guest h2 { margin:4px 0 12px; font:600 25px var(--serif); }.home-daily-guest p { max-width:460px; margin:0 auto 24px; color:var(--dim); font-size:14px; line-height:1.9; }.home-daily-guest > div { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.home-footer { display:flex; justify-content:center; align-items:center; gap:16px; margin:26px 0 0; color:#87768f; font-size:11px; letter-spacing:.1em; }.home-footer span:first-child { font-family:var(--serif); }.home-footer a { text-decoration:underline; text-underline-offset:3px; }
@keyframes home-art-float { 0%,100% { transform:translateY(-50%); } 50% { transform:translateY(calc(-50% - 4px)); } }

.daily-fortune-card { --purple: #6858c7; --deep: #2f296d; --mint: #4a9b88; --blue: #5a7fc0; --rose: #b65e7e; --amber: #b5892c; position: relative; min-height: 430px; overflow: hidden; border: 1px solid rgba(104, 88, 199, .42); border-radius: 30px; background: rgba(255, 255, 255, .88); box-shadow: 0 22px 68px rgba(47, 41, 109, .08); }
.daily-fortune-card::before,.daily-fortune-card::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.daily-fortune-card::before { left: -170px; top: -210px; width: 390px; height: 390px; background: radial-gradient(circle, rgba(104, 88, 199, .13), transparent 68%); }
.daily-fortune-card::after { right: -150px; bottom: -240px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(74, 155, 136, .11), transparent 68%); }
.daily-fortune-ready,.daily-fortune-empty,.daily-fortune-loading { position: relative; z-index: 1; }
.daily-fortune-ready { padding: clamp(28px, 4vw, 48px); }
.daily-fortune-head { display: grid; grid-template-columns: minmax(0,1fr) 210px; grid-template-rows: auto auto; align-items: start; gap: 12px 18px; padding-bottom: 29px; border-bottom: 1px solid var(--line); }
.daily-fortune-heading { min-width: 0; max-width: 940px; }
.daily-fortune-heading > p,.daily-fortune-empty-copy > p { margin: 0; color: var(--deep); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
.daily-fortune-heading > .daily-fortune-quote-label { margin-top: 12px; color: var(--mint); font-size: 11.5px; letter-spacing: 2px; }
.daily-fortune-heading blockquote { max-width: 820px; margin: 7px 0 0; color: var(--deep); font: 600 clamp(23px, 2.7vw, 34px)/1.55 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.daily-fortune-scene { position: relative; grid-column: 2; grid-row: 1 / span 2; min-height: 174px; align-self: stretch; overflow: hidden; border: 1px solid rgba(104,88,199,.13); border-radius: 21px; background: #e9e2d5; box-shadow: 0 13px 28px rgba(47,41,109,.10); }
.daily-fortune-scene::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(180deg,transparent,rgba(22,37,33,.68)); }
.daily-fortune-scene img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 57% 62%; }
.daily-fortune-scene span { position: absolute; z-index: 1; inset: auto 14px 13px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.28); }
.daily-fortune-scene b,.daily-fortune-scene small { display: block; }.daily-fortune-scene b { font: 600 13px/1.35 var(--serif); letter-spacing: .8px; }.daily-fortune-scene small { margin-top: 3px; color: rgba(255,255,255,.86); font-size: 11.5px; letter-spacing: .5px; }
.daily-fortune-share { min-height: 44px; width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 15px; border: 1px solid rgba(74,155,136,.34); border-radius: 999px; color: #fff; background: linear-gradient(135deg,#4a9b88,#397e70); box-shadow: 0 8px 18px rgba(57,126,112,.15); font: 700 12px/1 var(--sans); cursor: pointer; transition: border-color .2s ease,background .2s ease,transform .2s ease; }
.daily-fortune-share:hover,.daily-fortune-share:focus-visible { border-color: rgba(74,155,136,.7); outline: 0; background: linear-gradient(135deg,#55aa96,#397e70); transform: translateY(-1px); }
.daily-fortune-share svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.daily-fortune-share:disabled { opacity: .5; cursor: wait; transform: none; }
.daily-fortune-scene { background: linear-gradient(155deg, #d9e5df, #a5bab1 50%, #536c61); }
.daily-fortune-scene img { position: absolute; inset: 0; }
.daily-scene-note { margin-top: 16px; color: var(--dim); font-size: 12px; line-height: 1.75; }
.daily-scene-note p { margin: 0 0 6px; }
.daily-scene-note details { max-width: 560px; }
.daily-scene-note summary { width: fit-content; min-height: 44px; display: flex; align-items: center; gap: 6px; color: var(--deep); cursor: pointer; }
.daily-scene-note summary::before { content: '+'; }
.daily-scene-note details[open] summary::before { content: '−'; }
.daily-scene-note button,.daily-scene-note a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--deep); background: var(--paper-strong, #fff); font: inherit; cursor: pointer; }
.daily-scene-note :is(summary,button,a):focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.daily-fortune-overview { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(0, 1.65fr); gap: clamp(30px, 5vw, 72px); align-items: center; padding: 36px 0 29px; }
.fortune-overall > p:first-child { margin: 0 0 12px; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.fortune-overall-value { display: flex; align-items: flex-end; gap: 8px; min-height: 104px; }
.fortune-overall-value strong { font: 500 clamp(76px, 8vw, 108px)/.9 var(--serif); letter-spacing: -.07em; }
.fortune-overall-value span { margin-bottom: 9px; color: var(--deep); font-size: 18px; font-weight: 700; }
.fortune-overall > p:nth-of-type(2) { max-width: 430px; margin: 15px 0 0; color: var(--dim); font: 400 14px/1.85 var(--serif); }
.fortune-hints { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.fortune-hints span { padding: 8px 12px; border-radius: 12px; color: var(--deep); background: #eeebfb; font-size: 10px; font-weight: 600; }
.fortune-scores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.fortune-score { --score: 0%; --tone: var(--rose); min-width: 0; display: grid; justify-items: center; gap: 8px; padding: 19px 9px 16px; border: 1px solid color-mix(in srgb, var(--tone) 9%, var(--line)); border-radius: 20px; background: linear-gradient(180deg, color-mix(in srgb, #fff 95%, var(--tone)), color-mix(in srgb, #fff 89%, var(--tone))); }
.fortune-score[data-category='wealth'] { --tone: var(--amber); }.fortune-score[data-category='career'] { --tone: var(--blue); }.fortune-score[data-category='study'] { --tone: var(--mint); }.fortune-score[data-category='social'] { --tone: var(--purple); }
.fortune-score-track { position: relative; width: 14px; height: 105px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--tone) 15%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--tone) 10%, #fff); }
.fortune-score-track i { position: absolute; inset: auto -1px -1px; height: var(--score); border-radius: 999px; background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 65%, white), var(--tone)); transition: height .65s ease; }
.fortune-score strong { font: 600 27px/1.15 var(--serif); }.fortune-score > span { color: var(--dim); font-size: 11px; }
.fortune-guidance { padding: 27px 0 25px; border-top: 1px solid var(--line); }
.fortune-guidance > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.fortune-guidance > header p { margin: 0 0 6px; color: var(--deep); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.fortune-guidance > header h3 { margin: 0; font: 600 clamp(19px, 2vw, 25px)/1.4 var(--serif); }
.fortune-guidance > header > span { max-width: 260px; color: var(--faint); font-size: 9px; line-height: 1.6; text-align: right; }
.fortune-guidance-main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr); gap: 14px; margin-top: 18px; }
.fortune-analysis-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fortune-analysis-copy article,.fortune-advice { padding: 17px 18px; border: 1px solid color-mix(in srgb, var(--purple) 10%, var(--line)); border-radius: 16px; background: rgba(248, 247, 253, .76); }
.fortune-analysis-copy b,.fortune-advice > b { display: block; margin-bottom: 7px; color: var(--deep); font-size: 10px; letter-spacing: .4px; }
.fortune-analysis-copy p { margin: 0; color: var(--dim); font: 400 11px/1.8 var(--serif); }
.fortune-advice { background: linear-gradient(145deg, rgba(238, 235, 251, .88), rgba(241, 248, 246, .76)); }
.fortune-advice ol { display: grid; gap: 6px; margin: 0; padding-left: 17px; color: var(--dim); font-size: 10px; line-height: 1.65; }
.fortune-category-notes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.fortune-category-notes article { position: relative; min-width: 0; padding: 14px 13px 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .64); }
.fortune-category-notes article::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--mint); opacity: .72; }
.fortune-category-notes article[data-band='active']::before { background: var(--purple); }.fortune-category-notes article[data-band='gentle']::before { background: var(--amber); }
.fortune-category-notes b { color: var(--deep); font-size: 10px; }.fortune-category-notes p { margin: 6px 0 0; color: var(--dim); font-size: 9px; line-height: 1.65; }
.fortune-style { padding: 27px 0 25px; border-top: 1px solid var(--line); }
.fortune-style > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.fortune-style > header p { margin: 0 0 6px; color: var(--deep); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.fortune-style > header h3 { margin: 0; font: 600 clamp(19px, 2vw, 25px)/1.4 var(--serif); }
.fortune-style > header > span { max-width: 410px; color: var(--faint); font-size: 9px; line-height: 1.6; text-align: right; }
.fortune-style-context { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 9px; align-items: end; margin: 16px 0 0; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--purple) 10%, var(--line)); border-radius: 15px; background: rgba(248, 247, 253, .68); }
.fortune-style-context legend { padding: 0 6px; color: var(--deep); font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.fortune-style-context label { min-width: 0; display: grid; gap: 5px; }
.fortune-style-context label > span { color: var(--dim); font-size: 10px; font-weight: 600; }
.fortune-style-context select { width: 100%; min-height: 44px; padding: 0 34px 0 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: rgba(255, 255, 255, .9); font: 500 11px/1.2 var(--sans); cursor: pointer; }
.fortune-style-context select:focus-visible { outline: 2px solid color-mix(in srgb, var(--purple) 58%, white); outline-offset: 2px; }
.fortune-style-context > small { max-width: 150px; padding-bottom: 8px; color: var(--faint); font-size: 11.5px; line-height: 1.55; }
.fortune-style-grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 10px; margin-top: 18px; }
.fortune-style-grid > article { min-width: 0; padding: 18px; border: 1px solid color-mix(in srgb, var(--mint) 12%, var(--line)); border-radius: 17px; background: linear-gradient(145deg, rgba(245, 249, 247, .9), rgba(250, 248, 243, .8)); }
.fortune-style-card-head { display: flex; align-items: center; gap: 10px; }
.fortune-style-card-head > span { width: 31px; height: 31px; display: grid; flex: 0 0 31px; place-items: center; border-radius: 10px; color: #fff; background: var(--deep); font: 600 13px/1 var(--serif); }
.fortune-style-card-head b,.fortune-style-card-head small { display: block; }.fortune-style-card-head b { color: var(--deep); font-size: 11px; }.fortune-style-card-head small { margin-top: 3px; color: var(--faint); font-size: 11.5px; letter-spacing: .4px; }
.fortune-style-grid article > p { margin: 13px 0 0; color: var(--dim); font: 400 11px/1.8 var(--serif); }
.fortune-style-grid article > p.fortune-style-detail { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(74, 155, 136, .12); }
.fortune-palette { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.fortune-palette span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid rgba(47, 41, 109, .08); border-radius: 999px; color: var(--dim); background: rgba(255, 255, 255, .72); font-size: 9px; }
.fortune-palette span::before { width: 12px; height: 12px; content: ''; border: 1px solid rgba(47, 41, 109, .13); border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.fortune-evidence { padding-top: 19px; border-top: 1px solid var(--line); }
.fortune-evidence summary { width: max-content; display: flex; align-items: center; gap: 6px; color: var(--deep); font-size: 11px; font-weight: 700; cursor: pointer; list-style: none; }.fortune-evidence summary::-webkit-details-marker { display: none; }.fortune-evidence summary i { font-style: normal; transition: transform .2s; }.fortune-evidence[open] summary i { transform: rotate(90deg); }
.fortune-evidence > div { margin-top: 14px; padding: 15px 18px; border-radius: 15px; background: var(--paper-subtle); }.fortune-evidence ul { display: grid; gap: 6px; margin: 0; padding-left: 19px; color: var(--dim); font-size: 10px; line-height: 1.65; }.fortune-evidence p { margin: 11px 0 0; padding-top: 11px; border-top: 1px solid var(--line); color: var(--faint); font-size: 9px; line-height: 1.65; }
.daily-fortune-empty { min-height: 430px; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 23px; align-items: center; padding: clamp(34px, 5vw, 64px); }
.daily-fortune-empty > b { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #7564d3, #5643bb); box-shadow: 0 11px 24px rgba(104, 88, 199, .22); font: 600 24px/1 var(--serif); }
.daily-fortune-empty-copy h2 { margin: 9px 0 7px; font: 600 clamp(25px, 2.7vw, 36px)/1.35 var(--serif); }.daily-fortune-empty-copy > span { display: block; max-width: 620px; color: var(--dim); font-size: 12px; line-height: 1.75; }
.daily-fortune-empty aside { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.daily-fortune-empty button,.daily-fortune-empty aside a { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid transparent; border-radius: 999px; color: #fff; background: var(--purple); font: 600 11px/1 var(--sans); text-decoration: none; cursor: pointer; }
.daily-fortune-empty button.quiet,.daily-fortune-empty aside a.quiet,.daily-fortune-empty #choosePrimaryLink { color: var(--deep); border-color: var(--line); background: rgba(255, 255, 255, .72); }.daily-fortune-empty button:disabled { opacity: .68; cursor: wait; }
.daily-fortune-loading { min-height: 430px; display: grid; align-content: center; gap: 14px; padding: clamp(34px, 5vw, 64px); }
.daily-fortune-loading > span,.daily-fortune-loading i { display: block; border-radius: 999px; background: linear-gradient(90deg, var(--paper-subtle), rgba(104, 88, 199, .13), var(--paper-subtle)); background-size: 200% 100%; animation: home-shimmer 1.35s linear infinite; }.daily-fortune-loading > span:first-child { width: 140px; height: 12px; }.daily-fortune-loading > span:nth-child(2) { width: 320px; max-width: 75%; height: 31px; }.daily-fortune-loading > div { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 12px; margin-top: 24px; }.daily-fortune-loading i { height: 145px; border-radius: 20px; }
@keyframes home-shimmer { to { background-position: -200% 0; } }

@media (max-width: 980px) { .daily-fortune-overview { grid-template-columns: 1fr; gap: 28px; }.fortune-overall { display: grid; grid-template-columns: 145px minmax(0, 1fr); column-gap: 18px; align-items: center; }.fortune-overall > p:first-child { grid-column: 1/-1; }.fortune-overall-value { grid-row: 2/4; }.fortune-hints { grid-column: 2; }.daily-fortune-empty { grid-template-columns: 60px minmax(0, 1fr); min-height: 360px; }.daily-fortune-empty > b { width: 60px; height: 60px; }.daily-fortune-empty aside { grid-column: 2; justify-content: flex-start; } }
@media (max-width: 980px) { .fortune-guidance-main { grid-template-columns: 1fr; }.fortune-category-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .fortune-style-context { grid-template-columns: repeat(3, minmax(0, 1fr)); }.fortune-style-context > small { max-width: none; grid-column: 1/-1; padding-bottom: 0; }.fortune-style-grid { grid-template-columns: 1fr 1fr; }.fortune-style-color { grid-column: 1/-1; } }
@media (max-width: 620px) { .home-section-head { align-items: flex-start; flex-direction: column; gap: 11px; }.guest-play { padding: 21px 16px; border-radius: 22px; }.guest-recent { align-items: flex-start; flex-direction: column; gap: 15px; padding: 21px; }.daily-fortune-card { min-height: 360px; border-radius: 22px; }.daily-fortune-ready { padding: 21px 17px; }.daily-fortune-head { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; align-items: flex-start; gap: 11px 8px; padding-bottom: 19px; }.daily-fortune-heading { grid-column: 1/-1; }.daily-fortune-heading > p { font-size: 10px; }.daily-fortune-heading > .daily-fortune-quote-label { margin-top: 9px; }.daily-fortune-heading blockquote { margin-top: 5px; font-size: 21px; line-height: 1.55; }.daily-fortune-scene { grid-column: 1/-1; grid-row: 2; min-height: 0; height: 150px; }.daily-fortune-scene img { object-position: 50% 67%; }.daily-fortune-share { grid-column: 1/-1; grid-row: 3; min-height: 44px; width: 100%; }.daily-fortune-overview { padding: 24px 0 20px; }.fortune-overall { grid-template-columns: 108px minmax(0, 1fr); column-gap: 12px; }.fortune-overall-value { min-height: 80px; }.fortune-overall-value strong { font-size: 66px; }.fortune-overall > p:nth-of-type(2) { font-size: 11px; line-height: 1.7; }.fortune-hints { gap: 5px; margin-top: 9px; }.fortune-hints span { padding: 6px 7px; font-size: 8px; }.fortune-scores { gap: 5px; }.fortune-score { padding: 13px 3px 11px; border-radius: 14px; }.fortune-score-track { width: 9px; height: 68px; }.fortune-score strong { font-size: 18px; }.fortune-score > span { font-size: 8px; }.daily-fortune-empty { grid-template-columns: 1fr; min-height: 360px; padding: 28px 21px; text-align: center; }.daily-fortune-empty > b { justify-self: center; }.daily-fortune-empty aside { grid-column: 1; justify-content: center; }.daily-fortune-loading { min-height: 360px; padding: 28px 21px; }.daily-fortune-loading > div { grid-template-columns: repeat(3,1fr); }.daily-fortune-loading i:nth-last-child(-n+3) { display: none; } }
@media (max-width: 620px) { .fortune-guidance { padding: 21px 0 19px; }.fortune-guidance > header { align-items: flex-start; flex-direction: column; gap: 5px; }.fortune-guidance > header > span { text-align: left; }.fortune-guidance-main { margin-top: 13px; }.fortune-analysis-copy { grid-template-columns: 1fr; }.fortune-analysis-copy article,.fortune-advice { padding: 14px; }.fortune-category-notes { grid-template-columns: 1fr; }.fortune-category-notes article { padding: 12px 13px; }.fortune-category-notes p { font-size: 10px; } }
@media (max-width: 620px) { .fortune-style { padding: 21px 0 19px; }.fortune-style > header { align-items: flex-start; flex-direction: column; gap: 5px; }.fortune-style > header > span { text-align: left; }.fortune-style-context { grid-template-columns: 1fr; margin-top: 12px; padding: 12px; }.fortune-style-context > small { grid-column: auto; }.fortune-style-grid { grid-template-columns: 1fr; margin-top: 13px; }.fortune-style-color { grid-column: auto; }.fortune-style-grid > article { padding: 15px 14px; }.fortune-style-grid article > p,.fortune-palette span { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .fortune-score-track i,.daily-fortune-head > a { transition: none; }.daily-fortune-loading > span,.daily-fortune-loading i { animation: none; } }

/* 今日节奏朋友圈海报 */
body.daily-share-open { overflow: hidden; }
.daily-share-dialog { position: fixed; z-index: 180; inset: 0; display: grid; place-items: center; padding: 24px; }
.daily-share-dialog[hidden] { display: none; }
.daily-share-mask { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(29,31,29,.54); backdrop-filter: blur(8px); cursor: default; }
.daily-share-surface { position: relative; width: min(760px,100%); max-height: min(92vh,900px); max-height: min(92dvh,900px); max-height: min(var(--tianji-visual-viewport-92-height,92dvh),900px); display: flex; flex-direction: column; overflow: hidden; padding: 24px; border: 1px solid rgba(169,138,85,.32); border-radius: 25px; background: #fffdf8; box-shadow: 0 30px 90px rgba(29,31,29,.28); }
.daily-share-surface > header { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.daily-share-surface > header p { margin: 0 0 5px; color: var(--gold-deep); font-size: 11.5px; font-weight: 700; letter-spacing: 2px; }
.daily-share-surface > header h2 { margin: 0; font: 600 25px/1.35 var(--serif); }
.daily-share-close { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--dim); background: #fff; font-size: 17px; cursor: pointer; }
.daily-share-status { flex: 0 0 auto; margin: 12px 0 10px; color: var(--dim); font-size: 11.5px; line-height: 1.7; }
.daily-share-preview { min-height: 240px; flex: 1 1 auto; display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #eee9df; }
.daily-share-preview > span { color: var(--dim); font-size: 12px; }
.daily-share-preview img { width: min(100%,405px); height: auto; display: block; border-radius: 12px; box-shadow: 0 14px 40px rgba(31,42,39,.20); -webkit-touch-callout: default; user-select: auto; }
.daily-share-tip { flex: 0 0 auto; margin: 10px 0 0; color: var(--faint); font-size: 11.5px; line-height: 1.65; text-align: center; }
.daily-share-surface > footer { flex: 0 0 auto; display: flex; justify-content: flex-end; gap: 9px; margin-top: 14px; }
.daily-share-surface > footer button { min-height: 44px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; font: 700 12px/1 var(--sans); cursor: pointer; }
.daily-share-surface > footer button:disabled { opacity: .46; cursor: wait; }
.daily-share-secondary { color: var(--deep); background: #fff; }
.daily-share-primary { color: #fff; border-color: #397e70 !important; background: linear-gradient(135deg,#4a9b88,#397e70); }
@media (max-width: 620px) {
  .daily-share-dialog { align-items: end; padding: 0; }
  .daily-share-surface {
    width: 100%;
    max-height: 96vh;
    max-height: 96dvh;
    max-height: calc(var(--tianji-visual-viewport-height, 100dvh) - max(8px, env(safe-area-inset-top, 0px)));
    padding: 20px max(14px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    border-radius: 24px 24px 0 0;
  }
  .daily-share-preview { min-height: 0; padding: 6px; }
  .daily-share-preview img { width: 100%; }
  .daily-share-surface > footer { display: grid; grid-template-columns: 1fr 1fr; }
  .daily-share-surface > footer button { width: 100%; padding: 0 10px; }
  .daily-share-surface > footer [data-daily-share-close] { display: none; }
  .daily-share-primary { grid-column: 1/-1; grid-row: 1; }
}

@media (max-width: 620px) and (max-height: 520px) {
  .daily-share-surface { overflow-y: auto; overscroll-behavior: contain; padding-top: max(12px, env(safe-area-inset-top, 0px)); }
  .daily-share-surface > header h2 { font-size: 21px; }
  .daily-share-status { margin-block: 7px; }
  .daily-share-tip { margin-top: 6px; }
  .daily-share-surface > footer { margin-top: 8px; }
  .daily-share-primary { grid-column: auto; grid-row: auto; }
}



/* 详情保留完整功能，视觉遵循首页的兰紫配色。 */
.home-daily-details .daily-fortune-card { --purple:#8852c8; --deep:#56377d; --mint:#8864b4; --blue:#8676bd; --rose:#c27faa; --amber:#a887ba; border:0; border-radius:0; box-shadow:none; background:transparent; }
.daily-fortune-card::before,.daily-fortune-card::after { display:none; }
.daily-fortune-share { background:linear-gradient(120deg,#9a64cb,#8251bf); border-color:#a479ce; box-shadow:none; }.daily-fortune-share:hover,.daily-fortune-share:focus-visible { background:#8852c8; border-color:#a479ce; }
.daily-fortune-scene { background:linear-gradient(140deg,#f3e8f7,#d8c6e8); }
.fortune-advice,.fortune-style-grid > article { background:#f8f3fb; }
.fortune-analysis-copy p,.fortune-advice ol,.fortune-category-notes p,.fortune-style-grid article > p,.fortune-evidence ul,.fortune-evidence p { font-size:13px; line-height:1.85; }
.fortune-analysis-copy b,.fortune-advice > b,.fortune-category-notes b,.fortune-style-card-head b { font-size:13px; }
.fortune-evidence summary { min-height:44px; font-size:13px; }.fortune-hints span { font-size:12px; }
.fortune-style-context { grid-template-columns:repeat(3,minmax(0,1fr)); }.fortune-style-context select { font-size:14px; }.fortune-style-context label > span { font-size:12px; }
.daily-share-surface { background:#fdfbff; border-color:#dac6ec; }.daily-share-preview { background:#f1e9f7; }.daily-share-primary { background:#8752c8; border-color:#8752c8 !important; }
@media (max-width:1200px) {
  .home-main { width:calc(100% - 48px); }.home-hero-copy { padding-left:20px; }.home-hero-art { right:-24px; }
  .home-rhythm-strip { gap:12px; }.home-calendar-label { margin-left:0; padding-left:15px; }.home-rhythm-hints { gap:8px 16px; margin-left:0; font-size:12px; }
  .home-highlights article { padding:19px; }.home-highlights h2 { font-size:19px; }.home-reading-preview { padding:10px; gap:10px; }
}
@media (max-width:980px) {
  .home-hero { min-height:315px; }.home-hero-copy { padding-left:12px; }.home-hero-art { left:37%; }.home-hero-art img { width:880px; right:-90px; animation:none; }
  .home-rhythm-strip { flex-wrap:wrap; padding:10px 14px; gap:6px 12px; }.home-calendar-label { font-size:12px; }.home-rhythm-hints { order:5; flex:1 1 100%; padding-left:52px; }.home-text-action { margin-left:auto; }
  .member-entry-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }.member-entry-grid a { min-height:154px; }.member-entry-copy strong { font-size:20px; }
  .home-highlights { gap:12px; }.home-highlights article { padding:18px; }.home-highlights h2 { font-size:18px; }.home-reading-mark { width:34px; height:34px; flex-basis:34px; font-size:26px; }
  .guest-recent > div { flex-direction:column; gap:2px; align-items:flex-start; }.guest-recent > p { padding-right:12px; }
}
/* 手机沿用主视觉、今日摘要、六入口和图景的阅读顺序。 */
@media (max-width:620px) {
  body.tianji-orchid { padding-bottom:0; }
  .home-main .home-small-action, .home-main .home-text-action { min-height:44px; }
  .home-main {
    width:calc(100% - 32px);
    padding-top:0;
    padding-bottom:calc(30px + var(--mobile-shell-height,64px) + var(--mobile-task-height,0px) + env(safe-area-inset-bottom,0px));
  }
  .home-hero { min-height:244px; align-items:flex-start; padding-top:0; }
  .home-hero-copy { width:100%; padding:26px 3px 22px; }
  .home-hero h1 { font-size:clamp(29px,8.2vw,35px); line-height:1.42; letter-spacing:.035em; }
  .home-hero-copy > p { max-width:none; font:400 12px/1.8 var(--serif); margin:13px 0 17px; letter-spacing:.015em; }
  .home-hero-actions { gap:10px; }
  .home-primary,.home-secondary { min-height:44px; padding:0 16px; border-radius:12px; font-size:13px; gap:10px; }
  .home-hero-art {
    inset:0 -16px 0 30%;
    mask-image:linear-gradient(90deg,transparent,#000 26%);
    z-index:-1;
  }
  .home-hero-art img { width:520px; right:-98px; top:45%; opacity:.85; }
  .home-hero-art::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,var(--canvas),transparent 32%); }
  .home-rhythm-strip {
    display:grid;
    grid-template-columns:30px minmax(0,1fr) auto;
    gap:0 9px;
    padding:10px 12px 12px;
    border-radius:15px;
    background:linear-gradient(120deg,#fff,#f8f4fc);
  }
  .home-rhythm-mark { width:30px; height:30px; }
  .home-rhythm-mark svg { width:22px; height:22px; }
  .home-rhythm-strip h2 { min-width:0; font-size:14px; letter-spacing:.015em; }
  .home-rhythm-strip h2 span { margin-left:7px; font-size:13px; }
  .home-calendar-label { order:0; grid-column:2/-1; margin:0; border:0; padding:0; font-size:11px; line-height:1.8; }
  .home-rhythm-hints {
    order:0;
    grid-column:2/-1;
    display:grid;
    gap:3px;
    min-width:0;
    margin:4px 0 0;
    padding:0;
    font-size:11px;
    line-height:1.8;
  }
  .home-rhythm-hints > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .home-text-action { grid-column:3; grid-row:1; margin:0; padding:0; gap:4px; font-size:11px; }
  .member-entry-section { margin-top:12px; }
  .member-entry-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
  .member-entry-grid a { min-height:116px; padding:11px 3px 10px; gap:6px; border-radius:15px; background:linear-gradient(145deg,#fff,#faf7fe); }
  .member-entry-icon { width:66px; height:60px; }
  .member-entry-copy { gap:4px; }
  .member-entry-copy strong { font-size:15px; letter-spacing:0; }
  .member-entry-copy small { color:#756985; font-size:10px; line-height:1.65; letter-spacing:0; }
  .member-entry-grid i { display:none; }
  .home-highlights { grid-template-columns:1fr; margin-top:12px; gap:12px; }
  .home-highlights article { min-height:180px; padding:19px; border-radius:16px; }
  .home-highlights h2 { font-size:20px; }
  .home-highlights p { font-size:12px; line-height:1.9; }
  .home-scene-copy { max-width:72%; }
  .home-scene-placeholder { width:86%; opacity:.8; }
  .home-reading-card { min-height:0 !important; }
  .home-reading-preview { padding:12px; gap:10px; }
  .home-reading-mark { width:36px; height:36px; flex-basis:36px; }
  .home-reading-preview strong { font-size:13px; }
  .home-reading-preview small { font-size:12px; }
  .guest-recent { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:8px 10px; padding:13px; }
  .home-recent-icon { width:28px; height:28px; }
  .guest-recent > p { border:0; padding:0; font-size:12px; }
  .guest-recent > div { grid-column:1/3; grid-row:2; }
  .guest-recent h2 { max-width:100%; font-size:13px; }
  .guest-recent div > span { max-width:100%; font-size:11px; }
  .guest-recent > a { grid-column:3; grid-row:1/3; min-height:44px; padding:0 11px; gap:8px; }
  .home-play-link { min-height:94px; grid-template-columns:32px minmax(0,1fr) auto; gap:5px 10px; padding:14px; border-radius:15px; }
  .home-play-mark { width:32px; height:36px; }
  .home-play-copy { grid-column:2; }
  .home-play-heading { gap:5px; }
  .home-play-heading h2 { font-size:17px; }
  .home-play-heading small { font-size:10px; }
  .home-play-description { font-size:11px; }
  .home-play-action { grid-column:3; grid-row:1; min-height:44px; gap:5px; font-size:11px; }
  .home-daily-details { margin-top:12px; scroll-margin-top:78px; }
  .home-daily-details > summary { min-height:68px; padding:14px 16px; }
  .home-daily-details > summary > span { display:grid; gap:5px; }
  .home-daily-details > summary small { font-size:11px; }
  .home-daily-guest { padding:22px 17px 30px; }
  .home-daily-guest h2 { font-size:22px; }
  .home-daily-guest p { font-size:13px; }
  .home-daily-guest > div { gap:10px; }
  .home-footer { gap:12px; font-size:10px; }
  .fortune-style-context { grid-template-columns:1fr; }
  .fortune-style-grid { grid-template-columns:1fr; }
  .fortune-hints span { font-size:11px; }
  .fortune-score > span { font-size:11px; }
  .fortune-category-notes p { font-size:13px; }
  .daily-fortune-empty-copy > span { font-size:13px; }
}
@media (max-width:360px) {
  .home-main { width:calc(100% - 24px); }
  .home-hero-copy { padding-top:23px; }
  .home-hero h1 { font-size:29px; }
  .home-hero-art { right:-12px; left:33%; }
  .home-hero-art img { width:450px; right:-90px; }
  .home-primary,.home-secondary { padding:0 13px; }
  .member-entry-grid { gap:7px; }
  .member-entry-copy strong { font-size:14px; }
  .member-entry-copy small { font-size:10px; letter-spacing:-.05em; }
  .home-rhythm-strip { column-gap:7px; padding-inline:10px; }
  .home-rhythm-strip h2 { font-size:13px; }
  .home-rhythm-strip h2 span { margin-left:5px; font-size:12px; }
  .home-play-action { font-size:0; gap:0; }
  .home-play-action i { font-size:20px; }
}
@media (max-width:620px) and (max-height:700px) {
  .home-hero { min-height:196px; }
  .home-hero-copy { padding-top:13px; padding-bottom:13px; }
  .home-hero h1 { font-size:28px; line-height:1.32; }
  .home-hero-copy > p { margin:9px 0 12px; }
  .home-rhythm-strip { padding-block:7px; }
  .member-entry-grid a { min-height:108px; padding-block:8px; gap:4px; }
  .member-entry-icon { width:58px; height:52px; }
}
@media (prefers-reduced-motion:reduce) { .home-hero-art img { animation:none; }.home-main *, .home-main *::before, .home-main *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }

/* 首页导航与正文的桌面间距；搜索和账号入口由 home-search.css 统一管理。 */
@media (min-width:981px) {
  body.tianji-orchid .home-site-nav-bar { gap:clamp(22px,2.5vw,38px); }
  body.tianji-orchid .home-site-nav-bar .site-nav-panel { flex:0 0 auto; justify-content:flex-start; margin-right:0; }
  body.tianji-orchid .home-site-nav-bar .site-nav-links { gap:7px; justify-content:flex-start; }
  body.tianji-orchid .home-site-nav-bar .site-nav-link { min-height:46px; padding:0 13px; font-size:16px; }
  body.tianji-orchid .home-site-nav-bar .site-nav-link[aria-current='page'] { border-color:transparent; border-radius:0; background:transparent; box-shadow:none; }
}
@media (min-width:981px) and (max-width:1150px) {
  body.tianji-orchid .home-site-nav-bar { gap:20px; }
  body.tianji-orchid .home-site-nav-bar .site-nav-links { gap:2px; }
  body.tianji-orchid .home-site-nav-bar .site-nav-link { font-size:14px; padding-inline:9px; }
}

/* 首页微信与社群入口：原图可打开、保存或长按识别。 */
.home-contact-dialog {
  width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 40px);
  margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--line-strong); border-radius: 22px;
  color: var(--ink); background: var(--paper-solid, #fff); box-shadow: var(--shadow-float);
}
.home-contact-dialog::backdrop { background: var(--backdrop, rgba(43, 38, 61, .32)); }
.home-contact-surface { padding: 24px; }
.home-contact-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.home-contact-head p { margin: 0 0 5px; color: var(--gold-deep); font: 600 11px/1.5 var(--sans); letter-spacing: .08em; }
.home-contact-head h2 { margin: 0; color: var(--ink); font: 600 24px/1.4 var(--serif); }
.home-contact-close {
  flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line);
  border-radius: 12px; color: var(--gold-deep); background: var(--surface-muted); font: 18px/1 var(--sans); cursor: pointer;
}
.home-contact-lead { margin: 14px 0 20px; color: var(--dim); font-size: 13px; line-height: 1.75; }
.home-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.home-contact-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-control); }
.home-contact-card header { margin-bottom: 14px; }
.home-contact-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border-radius: 999px; color: var(--gold-deep); background: var(--gold-wash); font: 600 11px/1.5 var(--sans); }
.home-contact-badge.is-group { color: var(--jade); background: var(--jade-wash); }
.home-contact-card h3 { margin: 9px 0 5px; color: var(--ink); font: 600 18px/1.5 var(--serif); }
.home-contact-card header p { margin: 0; color: var(--dim); font-size: 12px; line-height: 1.7; }
.home-contact-qr { display: block; width: min(100%, 310px); margin: 0 auto; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; -webkit-touch-callout: default; }
.home-contact-qr img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; filter: none !important; mix-blend-mode: normal; }
.home-contact-tip { margin: 10px 0 0; color: var(--dim); font-size: 11px; line-height: 1.6; text-align: center; }
.home-contact-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.home-contact-actions button { min-height: 44px; padding: 0 24px; border: 1px solid var(--primary-end); border-radius: 12px; color: var(--primary-text, #fff); background: linear-gradient(115deg, var(--primary-start), var(--primary-end)); font: 600 13px/1.4 var(--sans); cursor: pointer; }
@media (max-width: 640px) {
  .home-contact-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .home-contact-surface { padding: 18px 14px; }
  .home-contact-head h2 { font-size: 21px; }
  .home-contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-contact-card { padding: 14px; }
}

/* 移动首页：类别浅底配深色图标，兰紫仅承担主操作。 */
@media (max-width:980px) {
  .home-main .home-primary { background:linear-gradient(115deg,#8056bd,#63409e); box-shadow:0 5px 15px #63409e26; }
  .home-main .home-secondary { color:var(--orchid-deep); background:#fff; border-color:#bda5d9; }
  .home-hero h1 { color:#38234f; }
  .home-rhythm-strip { background:#e3f2ec; border-color:#bad9ce; }
  .home-rhythm-mark { color:#267363; border-color:#9dc6b9; background:#f6fcf9; }
  .home-rhythm-strip h2 span,.home-rhythm-hints b { color:#267363; }
  .home-rhythm-hints .rhythm-caution b { color:#a34870; }
  .home-rhythm-strip .home-text-action { color:#256654; }
  .home-calendar-label,.home-rhythm-hints { color:#4f685e; }
  .member-entry-grid .feature-bazi { --entry-color:#68419f; --entry-wash:#eae0f7; --entry-line:#d7c2ed; }
  .member-entry-grid .feature-hehun { --entry-color:#a34870; --entry-wash:#f8e5ee; --entry-line:#eac2d3; }
  .member-entry-grid .feature-yaogua { --entry-color:#8e6328; --entry-wash:#f7edda; --entry-line:#e5d3b1; }
  .member-entry-grid .feature-ziwei { --entry-color:#416da8; --entry-wash:#e7effa; --entry-line:#c5d7ef; }
  .member-entry-grid .feature-dream { --entry-color:#7550b5; --entry-wash:#eee3f8; --entry-line:#d9c7eb; }
  .member-entry-grid .feature-xiangshu { --entry-color:#267363; --entry-wash:#e3f2ec; --entry-line:#bddcd1; }
  .member-entry-grid a { background:var(--entry-wash); border-color:var(--entry-line); box-shadow:0 3px 9px #39234f06; }
  .member-entry-grid a:hover,.member-entry-grid a:focus-visible { background:var(--entry-wash); border-color:var(--entry-color); }
  .member-entry-copy strong { color:var(--entry-color); }
  .member-entry-copy small { color:#665c6e; }
  .home-play-link { background:linear-gradient(115deg,#e5d5f5,#f3e5f1); border-color:#cdb4e2; }
  .home-play-mark,.home-play-action { color:#68419f; }
  .home-play-heading small { color:#68419f; background:#faf5ff; border-color:#cbb4e0; }
  .home-highlights .home-scene-card { background:#edf4ef; border-color:#c6dcd0; }
  .home-highlights .home-reading-card { background:#fff; }
  .home-reading-preview { background:#eae0f7; border-color:#d7c2ed; }
  .home-reading-mark { color:#68419f; background:#dcccf0; }
  .guest-recent { background:#e7effa; border-color:#c5d7ef; }
  .home-recent-icon { color:#416da8; }
  .home-daily-details { background:#fff; }
  .home-daily-details > summary { color:#59358f; background:#eee5f7; }
  .home-daily-details .daily-fortune-card { --purple:#7550b5; --deep:#59358f; --mint:#267363; --blue:#416da8; --rose:#a34870; --amber:#8e6328; }
  .fortune-advice { background:#e3f2ec; }
  .fortune-style-grid > article { background:#f3edf9; }
  .daily-fortune-share { background:var(--orchid); border-color:var(--orchid); }
}
