/* ═══════════════ 首页：今天 / 玩法 / 我 ═══════════════
   三个入口（.tabbar）：手机上在底部，只在这三屏显示，进了玩法就收起来（左上角的返回回到进来的那一屏）；
   电脑上（1024px 以上）挪到顶栏中间，每一屏都在
   · 今天：只有一屏，375×812、1280×800、1440×900 都不用滚
   · 玩法：四类分区 + 搜索；每个入口一张小画（js/ui/game-art.js），动效在下面「入口画面」
   · 我：一团光（js/ui/light.js）+ 一行字 + 每一层 + 会过期的东西 + 卡册 */

/* ── 三个入口 ── */
.tabbar {
  position: fixed; z-index: 45; left: 50%; bottom: calc(var(--safe-b) + 12px); transform: translateX(-50%);
  display: none; gap: 4px; padding: 5px; border-radius: 99px;
  background: rgba(14, 11, 28, 0.78); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
:is(body[data-screen='today'], body[data-screen='games'], body[data-screen='me']) .tabbar { display: flex; }
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 88px; height: 54px; border-radius: 99px;
  color: var(--ink-3); font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; transition: color 0.2s, background 0.25s, transform 0.2s var(--ease);
}
.tab svg { width: 22px; height: 22px; transition: transform 0.35s var(--ease); }
.tab:hover { color: var(--ink-2); }
.tab:active { transform: scale(0.94); }
.tab.is-on { color: var(--ink); background: rgba(255, 255, 255, 0.09); }
.tab.is-on svg { color: var(--lime); filter: drop-shadow(0 0 6px rgba(212, 255, 58, 0.55)); transform: translateY(-1px); }
/* 电脑上（1024px 以上）：三个入口挪到顶栏中间，一排图标 + 文字，每一屏都在（进了玩法也在）
   在玩法里时，你进来的那个入口只淡淡地亮着 */
@media (min-width: 1024px) {
  .tabbar { display: flex; top: calc(var(--safe-t) + 7px); bottom: auto; gap: 2px; padding: 4px; }
  .tab { flex-direction: row; gap: 7px; width: auto; height: 38px; padding: 0 16px 0 13px; font-size: 12.5px; letter-spacing: 0.03em; }
  .tab svg { width: 17px; height: 17px; }
  .tab.is-on svg { transform: none; }
  body:not([data-screen='today'], [data-screen='games'], [data-screen='me']) .tab.is-on { background: transparent; color: var(--ink-2); }
  body:not([data-screen='today'], [data-screen='games'], [data-screen='me']) .tab.is-on svg { filter: none; }
  .screen-today, .screen-games, .screen-me { padding-bottom: calc(var(--safe-b) + 40px); }
}

.screen-today, .screen-games, .screen-me { flex-direction: column; align-items: center; padding: calc(var(--safe-t) + 68px) 16px calc(var(--safe-b) + 92px); }
:is(body[data-screen='today'], body[data-screen='games'], body[data-screen='me']) .topbar { background: linear-gradient(180deg, rgba(6, 5, 11, 0.9) 0%, rgba(6, 5, 11, 0.6) 60%, rgba(6, 5, 11, 0) 100%); }

/* 共用的小卡片和眉标 */
.dy-hero, .dy-moon, .dy-signal, .dy-ask {
  border-radius: 24px; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.dy-k, .me-k { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-3); }

/* ═══════ 今天 ═══════ */
.dy-inner { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.dy-side { display: flex; flex-direction: column; gap: 10px; }
.dy-date { margin: 0; text-align: center; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-2); }
.dy-hero { position: relative; padding: 16px 18px 18px; overflow: hidden; isolation: isolate; text-align: center; }

/* 今日数字：一圈 1~9 的刻点，亮的那一颗是今天 */
.dy-day { --c1: var(--violet); --c2: var(--cyan); display: flex; flex-direction: column; align-items: center; }
.dy-day::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 46%; width: 340px; height: 340px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 38%, transparent), color-mix(in srgb, var(--c2) 14%, transparent) 45%, transparent 70%); pointer-events: none; animation: dy-breathe 7s ease-in-out infinite; }
@keyframes dy-breathe { 50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); } }
.dy-dial { --rad: 60px; position: relative; display: grid; place-items: center; width: 140px; height: 140px; margin: 4px 0 0; }
.dy-dial::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); }
.dy-dial i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); transform: rotate(calc(var(--i) * 40deg)) translateY(calc(var(--rad) * -1)); }
.dy-dial i.on { width: 11px; height: 11px; margin: -5.5px; background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c2) 45%, transparent), 0 0 16px var(--c2); }
.dy-num {
  font-family: var(--f-display); font-weight: 900; font-size: 82px; line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(165deg, #fff 20%, var(--c1) 62%, var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--c1) 55%, transparent));
}
.dy-word { margin-top: 2px; font-family: var(--f-display); font-weight: 900; font-size: 22px; line-height: 1.2; }
.dy-line { margin: 4px 0 0; max-width: 380px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* 还没有生日：首屏就是生日 */
.dy-bday { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dy-bday-h { margin: 2px 0 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(23px, 6.4vw, 32px); line-height: 1.15; letter-spacing: -0.01em; }
.dy-bday-p { margin: 0 0 4px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.dy-bday .date-input { width: 100%; max-width: 380px; }
.dy-bday .date-input input { height: 58px; font-size: 22px; }
.dy-bday .field-hint { margin: 0; font-size: 12.5px; }
.dy-bday .btn-holo { width: 100%; max-width: 380px; min-height: 56px; margin-top: 4px; }

/* 月相 + 此刻的信号 */
.dy-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.dy-moon { display: flex; align-items: center; gap: 12px; padding: 14px; min-width: 0; }
.dy-moon-svg { flex: none; width: 54px; height: 54px; overflow: visible; }
.dy-moon-svg .halo { fill: rgba(255, 240, 210, 0.07); }
.dy-moon-svg .dark { fill: #141120; stroke: rgba(255, 255, 255, 0.14); stroke-width: 0.4; }
.dy-moon-svg .lit { fill: #f5edd9; filter: drop-shadow(0 0 3px rgba(255, 240, 200, 0.7)); }
.dy-moon-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.dy-moon-t strong { margin-top: 2px; font-size: 15px; font-weight: 800; }
.dy-moon-t small { font-size: 12.5px; color: var(--ink-2); }
.dy-moon-t em { display: none; margin-top: 4px; font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.dy-signal { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 14px; text-align: left; transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.3s; }
.dy-signal:hover { transform: translateY(-2px); border-color: rgba(255, 209, 245, 0.4); }
.dy-signal:active { transform: scale(0.97); }
.dy-sig { font-family: var(--f-mono); font-weight: 800; font-size: 28px; line-height: 1.15; letter-spacing: 0.04em; color: #ffd1f5; }
.dy-signal small { font-size: 12.5px; color: var(--ink-2); }
.dy-signal.is-live { border-color: rgba(255, 122, 224, 0.65); background: radial-gradient(130% 130% at 0% 0%, rgba(255, 79, 216, 0.28), transparent 62%), var(--glass); box-shadow: 0 0 34px -10px rgba(255, 122, 224, 0.8); }
.dy-signal.is-live .dy-k { color: #ffd1f5; }
.dy-signal.is-live .dy-sig { color: #fff; text-shadow: 0 0 14px #ff7ae0; }
.dy-live-dot { width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #ff7ae0; box-shadow: 0 0 8px #ff7ae0; animation: blink 2s ease-in-out infinite; }

/* 一键是 / 否 */
.dy-ask { padding: 14px; }
.dy-ask-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; margin-bottom: 8px; }
.dy-own-btn { flex: none; min-height: 32px; padding: 0 12px; margin-right: -4px; border-radius: 99px; border: 1px dashed rgba(212, 255, 58, 0.45); color: var(--lime); font-weight: 700; font-size: 13px; transition: background 0.2s, transform 0.2s var(--ease); }
.dy-own-btn:hover { background: rgba(212, 255, 58, 0.08); }
.dy-own-btn:active { transform: scale(0.95); }
.dy-ask-lock { margin: -2px 0 0; font-size: 13.5px; color: var(--ink-3); }
.dy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dy-chip {
  min-height: 44px; padding: 0 15px; border-radius: 99px; text-align: left;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; line-height: 1.25;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}
.dy-chip:hover { border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.1); }
.dy-chip:active { transform: scale(0.96); }
/* 手机上三个问题排成两列（第三个占满一行）：长问题折成两行，也不会一个问题占一行把「今天」撑出一屏 */
@media (max-width: 560px) {
  .dy-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .dy-chip { padding: 6px 12px; border-radius: 18px; text-align: center; font-size: 13.5px; text-wrap: balance; }
  .dy-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.dy-own { display: flex; gap: 8px; }
.dy-own input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); outline: none; font-size: 16px; }
.dy-own input:focus { border-color: rgba(212, 255, 58, 0.6); box-shadow: 0 0 24px -8px var(--lime); }
.dy-own-go { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--holo); background-size: 300% 100%; animation: holo 5s linear infinite; color: #07060c; font-weight: 900; font-size: 20px; }
.dy-ans { text-align: center; }
.dy-q { margin: 0; font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.dy-orb { position: relative; width: 52px; height: 52px; margin: 12px auto 6px; }
.dy-orb i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--lime); animation: spin 1.3s linear infinite; }
.dy-orb i:nth-child(2) { inset: 8px; border-top-color: var(--pink); animation-duration: 1.7s; animation-direction: reverse; }
.dy-orb i:nth-child(3) { inset: 17px; border: 0; background: radial-gradient(circle, #fff, rgba(255, 255, 255, 0) 70%); animation: dy-breathe-dot 1.5s ease-in-out infinite; }
@keyframes dy-breathe-dot { 50% { transform: scale(0.7); opacity: 0.6; } }
.dy-wait { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.dy-ans-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.dy-big { flex: none; display: block; font-family: var(--f-display); font-weight: 900; font-size: 60px; line-height: 1; letter-spacing: -0.02em; }
.dy-ans-side { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; text-align: left; }
.dy-ans.is-yes .dy-big { color: var(--lime); text-shadow: 0 0 34px rgba(212, 255, 58, 0.55); }
.dy-ans.is-no .dy-big { color: #ff4f8b; text-shadow: 0 0 34px rgba(255, 79, 139, 0.5); }
.dy-ans-line { margin: 0; font-size: 15px; font-weight: 700; }
.dy-same { margin: 0; font-size: 12px; color: var(--ink-3); }
.dy-ans-acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; margin-top: 8px; }
.dy-again { display: inline-flex; align-items: center; min-height: 36px; padding: 0 2px; color: var(--ink-2); font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.dy-again:hover { color: var(--ink); }
.dy-care-h { display: block; margin-top: 2px; font-size: 16px; font-weight: 800; line-height: 1.35; }
.dy-care-p { margin: 4px auto 0; max-width: 400px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

@media (min-width: 900px) {
  .screen-today { justify-content: center; }
  .dy-inner { max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'date date' 'hero side'; gap: 16px; }
  .dy-date { grid-area: date; }
  .dy-hero { grid-area: hero; display: flex; align-items: center; justify-content: center; padding: 30px; }
  .dy-side { grid-area: side; gap: 16px; }
  .dy-ask { flex: 1; padding: 18px; }
  .dy-dial { --rad: 98px; width: 226px; height: 226px; }
  .dy-num { font-size: 128px; }
  .dy-word { font-size: 26px; }
  .dy-moon-t em { display: block; }
  .dy-day::before { width: 460px; height: 460px; }
}
@media (max-width: 380px) {
  .dy-row { grid-template-columns: 1fr 1fr; }
  .dy-moon { flex-direction: column; align-items: flex-start; gap: 6px; }
  .dy-moon-svg { width: 34px; height: 34px; }
  .dy-sig { font-size: 24px; }
}

/* ═══════ 玩法 ═══════ */
.gm-inner { width: 100%; max-width: 1000px; }
.gm-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 6px; }
.gm-title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 8vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.gm-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color 0.2s, box-shadow 0.2s; }
.gm-search:focus-within { border-color: rgba(255, 255, 255, 0.45); box-shadow: 0 0 30px -12px var(--cyan); }
.gm-search svg { flex: none; width: 18px; height: 18px; color: var(--ink-3); }
.gm-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 16px; }
.gm-search input::placeholder { color: var(--ink-3); }
.gm-search input::-webkit-search-cancel-button { filter: invert(1) opacity(0.5); }
.gm-group { margin-top: 24px; }
.gm-group-h h2 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 18px; letter-spacing: 0.01em; }
.gm-group-h p { margin: 2px 0 10px; font-size: 13px; color: var(--ink-3); }
.gm-tiles { display: grid; grid-template-columns: 1fr; gap: 10px; }
.gtile {
  --p1: var(--violet); --p2: var(--cyan); --p3: var(--pink);
  position: relative; display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 22px; text-align: left; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, color-mix(in srgb, var(--p1) 12%, rgba(18, 15, 34, 0.62)), rgba(13, 11, 24, 0.55) 62%);
  border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.gtile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--p2) 45%, var(--line)); box-shadow: 0 22px 44px -26px color-mix(in srgb, var(--p1) 85%, transparent); }
.gtile:active { transform: scale(0.98); }
.gtile:focus-visible { outline: 2px solid var(--p2); outline-offset: 2px; }
.gt-art { display: block; width: 116px; aspect-ratio: 4 / 3; border-radius: 15px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3); }
.gt-art .ga { display: block; width: 100%; height: 100%; }
.gt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gt-body strong { display: flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 900; line-height: 1.25; }
.gt-played { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 10px; background: rgba(212, 255, 58, 0.14); color: var(--lime); }
.gt-body small { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.gt-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 5px; font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.gt-meta i { margin-right: 5px; font-style: normal; }
.gt-time { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--lime); }
.gt-soon { position: absolute; top: 10px; right: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-3); }
.gtile.is-soon .gt-art { filter: saturate(0.5) brightness(0.7); }
.gm-empty { margin: 36px 0 0; text-align: center; color: var(--ink-3); }
@media (min-width: 760px) {
  .gm-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .gm-search { width: 340px; }
  .gm-tiles { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
  .gtile { grid-template-columns: 1fr; align-items: start; padding: 12px 12px 16px; }
  .gt-art { width: 100%; border-radius: 16px; }
  .gt-body { padding: 0 4px; }
}

/* ── 入口画面（js/ui/game-art.js）── */
.ga text { pointer-events: none; }
.ga .t-num { font: 900 18px var(--f-display); }
.ga .t-let { font: 700 16px var(--f-mono); }
.ga .t-dg { font: 800 15px var(--f-mono); }
.ga .t-op { font: 700 12px var(--f-mono); }
.ga .t-tiny { font: 700 8px var(--f-mono); letter-spacing: 0.06em; }
.ga .t-x { font: 900 20px var(--f-display); }
.ga .t-serif { font: 600 6.5px 'Didot', 'Bodoni 72', 'Bodoni MT', 'Playfair Display', Georgia, serif; letter-spacing: 0.1em; }
.ga .t-rune { font: 16px serif; }
.ga .t-pole { font: 900 9px var(--f-display); }
.ga g, .ga path, .ga circle { transform-box: view-box; }
/* 灵数：悬停时数字一格格跳上来，Σ 的光慢慢呼吸 */
.ga-aura-code .cell .dg { transition: transform 0.4s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.gtile:hover .ga-aura-code .cell .dg { transform: translateY(-4px); }
.ga-aura-code .sum-glow { animation: ga-glow 3.2s ease-in-out infinite; }
.ga-aura-code .marker { transition: transform 0.8s var(--ease); }
.gtile:hover .ga-aura-code .marker { transform: translateX(48px); }
.ga-aura-code.is-pair .wave { transition: transform 0.7s var(--ease); }
.gtile:hover .ga-aura-code.is-pair .wave.a { transform: translateX(8px); }
.gtile:hover .ga-aura-code.is-pair .wave.b { transform: translateX(-8px); }
@keyframes ga-glow { 50% { opacity: 0.12; } }
/* 塔罗：烛光轻轻摇，悬停时牌扇开 */
.ga-tarot .tc { transform-origin: 80px 108px; transition: transform 0.5s var(--ease); }
.gtile:hover .ga-tarot .tc.l { transform: rotate(-7deg); }
.gtile:hover .ga-tarot .tc.r { transform: rotate(7deg); }
.gtile:hover .ga-tarot .tc.m { transform: translateY(-4px); }
.ga-tarot .candle { animation: ga-candle 4.6s ease-in-out infinite; }
.ga-tarot .sun { transform-origin: 80px 60px; animation: spin 40s linear infinite; }
@keyframes ga-candle { 50% { opacity: 0.7; } }
/* 答案之书：符文慢慢亮，悬停时书微微掀开 */
.ga-answer-book .rune { animation: ga-rune 5s ease-in-out infinite; }
.ga-answer-book .book { transform-origin: 46px 60px; transition: transform 0.5s var(--ease); }
.gtile:hover .ga-answer-book .book { transform: scaleX(0.95) skewY(-2deg); }
@keyframes ga-rune { 50% { opacity: 0.65; } }
/* 天使数字：冒号一秒闪一下，光环浮着，悬停时翅膀张开 */
.ga-angel-numbers .segs .off { fill: rgba(255, 209, 245, 0.07); }
.ga-angel-numbers .colon { animation: ga-colon 2s steps(1, end) infinite; }
.ga-angel-numbers .halo { animation: ga-halo 5s ease-in-out infinite; }
.ga-angel-numbers .wing { transition: transform 0.6s var(--ease); }
.ga-angel-numbers .wing.l { transform-origin: 30px 70px; }
.ga-angel-numbers .wing.r { transform-origin: 130px 70px; }
.gtile:hover .ga-angel-numbers .wing.l { transform: rotate(-10deg); }
.gtile:hover .ga-angel-numbers .wing.r { transform: rotate(10deg); }
@keyframes ga-colon { 50% { opacity: 0.25; } }
@keyframes ga-halo { 50% { transform: translateY(-2.5px); } }
/* 16 型人格：磁针停在自己的角度，悬停时甩到另一边再弹回 */
.ga-types .needle { transform: rotate(var(--rot, 0deg)); transition: transform 0.9s cubic-bezier(0.2, 1.6, 0.4, 1); }
.gtile:hover .ga-types .needle { transform: rotate(calc(var(--rot, 0deg) * -1)); }
.ga-types .field { animation: ga-field 6s ease-in-out infinite; }
@keyframes ga-field { 50% { opacity: 0.5; } }
/* Aura 颜色：前面那张照片平时是半显影的暗棕，悬停时显影出颜色、轻轻抬起；暗房的红灯慢慢呼吸 */
.ga-aura-color .photo { transform-origin: 80px 58px; transform: rotate(-5deg); transition: transform 0.6s var(--ease); }
.gtile:hover .ga-aura-color .photo { transform: rotate(-2deg) translateY(-3px); }
.ga-aura-color .sepia { opacity: 0.55; transition: opacity 1.4s var(--ease); }
.gtile:hover .ga-aura-color .sepia { opacity: 0; }
.ga-aura-color .clouds { transform-origin: 80px 50px; animation: ga-clouds 9s ease-in-out infinite; }
.ga-aura-color .safe { animation: ga-safe 4s ease-in-out infinite; }
/* 月下花：悬停时花张开、月光变亮、月亮鼓起来一点 */
.ga-bloom .pt { transform: scale(0.82) rotate(-12deg); transition: transform 0.9s var(--ease); }
.gtile:hover .ga-bloom .pt, .gtile:focus-visible .ga-bloom .pt { transform: scale(1.08) rotate(0deg); }
.ga-bloom .beam { opacity: 0.6; transition: opacity 0.9s var(--ease); }
.gtile:hover .ga-bloom .beam { opacity: 1; }
.ga-bloom .moon { transition: transform 0.9s var(--ease); }
.gtile:hover .ga-bloom .moon { transform: translate(118px, 26px) scale(1.08); }
.ga-bloom .flower { animation: ga-sway 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes ga-sway { 50% { rotate: 4deg; } }
@keyframes ga-clouds { 50% { transform: rotate(8deg) scale(1.06); } }
@keyframes ga-safe { 50% { opacity: 0.55; } }
/* 星座三巨头：悬停时滑块推过去，齿轮带着太阳、月亮的指针和地平线一起转 */
.ga-astro :is(.sh, .mh, .hz) { transform-origin: 80px 54px; transition: transform 1.1s var(--ease); }
.ga-astro .car { transition: transform 1.1s var(--ease); }
.gtile:hover .ga-astro .sh, .gtile:focus-visible .ga-astro .sh { transform: rotate(-40deg); }
.gtile:hover .ga-astro .mh, .gtile:focus-visible .ga-astro .mh { transform: rotate(-160deg); }
.gtile:hover .ga-astro .hz, .gtile:focus-visible .ga-astro .hz { transform: rotate(90deg); }
.gtile:hover .ga-astro .car, .gtile:focus-visible .ga-astro .car { transform: translateX(46px); }
/* 朋友猜你：光在呼吸；悬停时轨道转一下、光亮起来、朋友的小星闪一下 */
.ga-guess .glow { animation: ga-glow 4.4s ease-in-out infinite; }
.ga-guess .orbit { transform-origin: 80px 60px; transition: transform 0.9s var(--ease); }
.gtile:hover .ga-guess .orbit, .gtile:focus-visible .ga-guess .orbit { transform: rotate(-14deg); }
.ga-guess .core { transform-origin: 80px 60px; transition: transform 0.6s var(--ease), filter 0.6s; }
.gtile:hover .ga-guess .core { transform: scale(1.18); filter: drop-shadow(0 0 8px #ff7ae0); }
.ga-guess .fstar { transform-box: fill-box; transform-origin: center; transition: transform 0.5s var(--ease); }
.gtile:hover .ga-guess .fstar { transform: scale(1.5) rotate(45deg); }
/* 群像：悬停时每条波形往中间收、和弦亮起来，音符一个个跳一下 */
.ga-crew .w { transform-origin: 80px 62px; transition: transform 0.8s var(--ease), stroke-opacity 0.6s; }
.gtile:hover .ga-crew .w, .gtile:focus-visible .ga-crew .w { transform: scaleY(0.55); stroke-opacity: 0.3; }
.ga-crew .sum { transition: filter 0.6s; animation: ga-glow 3.6s ease-in-out infinite; }
.gtile:hover .ga-crew .sum { filter: drop-shadow(0 0 4px #d4ff3a); }
.ga-crew .note { transition: transform 0.45s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.gtile:hover .ga-crew .note { transform: translateY(-5px); }
@media (prefers-reduced-motion: reduce) { .ga-crew .w, .ga-crew .note, .ga-crew .sum { transition: none; animation: none; } }

/* ═══════ 我 ═══════ */
/* 手机上一列，按重要程度从上往下；电脑上（1024+）两列，见文件里「我 · 电脑」那一段 */
.me-inner { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.me-side, .me-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* 封面：光在名字和那一行字的背后（能晒的以文字为主角，光只做背景），名字压在光的下半圈 */
.me-cover { --orb: min(74vw, 290px); position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: calc(var(--orb) * 0.66); }
/* 名字压在光上：后面垫一层很淡的暗晕，光再满也读得清 */
.me-head::before { content: ''; position: absolute; inset: -18px -12%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 5, 11, 0.62), rgba(6, 5, 11, 0.25) 60%, transparent); pointer-events: none; }
.me-cover > :not(.me-light) { position: relative; z-index: 1; }
.me-shop { position: absolute !important; top: 0; right: 0; z-index: 2 !important; }
.me-shop-foil { width: 14px; height: 19px; border-radius: 3px; background: var(--holo); background-size: 300% 100%; border: 1px solid rgba(255, 255, 255, 0.6); transform: rotate(-10deg); animation: foil-slide 6s linear infinite; }
.me-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.me-k { text-shadow: 0 1px 12px rgba(6, 5, 11, 0.9); }
.me-name { margin: 2px 0 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(28px, 7vw, 40px); line-height: 1.12; letter-spacing: -0.01em; overflow-wrap: anywhere; text-shadow: 0 2px 22px rgba(6, 5, 11, 0.9), 0 0 3px rgba(6, 5, 11, 0.7); }
.me-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin: 2px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); }
.me-pp { min-height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(6, 5, 11, 0.45); font-family: var(--f-cn); font-size: 12.5px; font-weight: 700; letter-spacing: 0; color: var(--ink-2); transition: color 0.2s, border-color 0.2s; }
.me-pp:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.4); }
.me-head-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.me-head-acts .btn-holo { min-height: 52px; }
/* 最外一层的光云会画出画布：边缘用一圈圆形渐隐收掉，不露出方形的边 */
.me-light { cursor: pointer; position: absolute; top: 0; left: 50%; z-index: 0; display: block; width: var(--orb); height: var(--orb); margin-left: calc(var(--orb) / -2); touch-action: pan-y; -webkit-mask-image: radial-gradient(closest-side, #000 88%, transparent 100%); mask-image: radial-gradient(closest-side, #000 88%, transparent 100%); }
.me-share { text-align: center; }
.me-line { text-shadow: 0 2px 18px rgba(6, 5, 11, 0.85); }
/* 「新的」那一格：有新东西才出现，一次只亮一样 */
.me-slot { display: flex; justify-content: center; }
.me-slot[hidden] { display: none; }
.me-new { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 18px; border: 1px solid rgba(255, 122, 224, 0.55); background: radial-gradient(120% 160% at 0% 50%, rgba(255, 79, 216, 0.18), transparent 60%), var(--glass); box-shadow: 0 0 30px -14px #ff7ae0; text-align: left; color: inherit; transition: transform 0.2s var(--ease); }
.me-new:active { transform: scale(0.985); }
.me-new > span:not(.me-new-stars) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.me-new strong { font-size: 15px; font-weight: 800; }
.me-new small { font-size: 12.5px; color: var(--ink-2); }
.me-new > b, .me-fr-top > b { font-size: 18px; color: var(--ink-2); }
/* 朋友的小星（「新的」那一格、朋友猜你的摘要、那一页的页头） */
.me-new-stars, .me-fr-stars { flex: none; display: flex; align-items: center; padding-right: 3px; }
.me-new-stars i, .me-fr-stars i, .fp-stars i, .me-fr-row i { --c: #ff7ae0; flex: none; width: 15px; height: 15px; margin-right: -3px; background: radial-gradient(circle, #fff 0 16%, var(--c) 44%, color-mix(in srgb, var(--c) 40%, transparent) 100%); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.me-fr-stars i.is-empty { --c: rgba(255, 255, 255, 0.4); }
/* 朋友猜你的摘要：整块点进去是那一页；电脑上下面直接露出最近 3 条 */
.me-fr { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); text-align: left; color: inherit; transition: border-color 0.2s, transform 0.2s var(--ease); }
.me-fr:hover { border-color: var(--line-2); }
.me-fr:active { transform: scale(0.99); }
.me-fr.is-new { border-color: rgba(255, 122, 224, 0.55); box-shadow: 0 0 26px -12px #ff7ae0; }
.me-fr-top { display: flex; align-items: center; gap: 12px; }
.me-fr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.me-fr-main strong { font-family: var(--f-display); font-weight: 900; font-size: 16px; }
.me-fr-main small { font-size: 12.5px; color: var(--ink-2); }
.me-fr-rows { display: none; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.me-fr-row { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13.5px; color: var(--ink-2); }
.me-fr-row b { flex: none; color: var(--ink); font-weight: 800; }
.me-fr-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 卡册的最近几张：手机一行两张，平板一行四张，电脑两行八张；全部在卡册那一页 */
.me-album .me-h { align-items: center; }
.me-holo { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); font-family: var(--f-cn); font-size: 12.5px; font-weight: 700; color: var(--ink-2); transition: color 0.2s, border-color 0.2s; }
.me-holo::before { content: ''; width: 9px; height: 12px; border-radius: 2px; background: var(--holo); background-size: 300% 100%; animation: foil-slide 6s linear infinite; }
.me-holo:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.4); }
.me-album .me-album-grid { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.me-album .me-album-grid > :nth-child(n + 5) { display: none; }
.me-all { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 12px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--glass); font-size: 14px; font-weight: 800; color: var(--ink); transition: border-color 0.2s; }
.me-all:hover { border-color: rgba(255, 255, 255, 0.4); }
.me-all.is-empty { justify-content: space-between; gap: 14px; margin-top: 0; padding: 14px 16px; border-radius: 18px; border-style: dashed; text-align: left; font-weight: 600; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 560px) {
  .me-album .me-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .me-album .me-album-grid > :nth-child(n + 3) { display: none; }
}
.me-line { margin: 0 auto; max-width: 560px; text-wrap: balance; font-family: var(--f-display); font-weight: 900; font-size: clamp(18px, 4.8vw, 24px); line-height: 1.35; }
.me-part { display: inline-block; }
.me-swap { display: inline; padding: 10px 4px; margin: -10px -4px; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline dotted rgba(255, 255, 255, 0.45); text-decoration-thickness: 2px; text-underline-offset: 0.22em; cursor: pointer; }
.me-swap i { display: inline-block; margin: 0 0.12em 0 0.3em; font-family: var(--f-mono); font-style: normal; font-weight: 700; font-size: 0.8em; vertical-align: 0.04em; color: var(--cyan); transition: transform 0.25s var(--ease), color 0.2s; }
.me-swap:hover i, .me-swap:focus-visible i { color: var(--ink); transform: rotate(180deg); }
.me-swap:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.me-line-note { margin: 6px auto 0; max-width: 420px; font-family: var(--f-cn); font-size: 12px; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }
.me-line.is-empty { font-family: var(--f-cn); font-weight: 700; font-size: 15px; color: var(--ink-2); }
.me-share-btn { margin-top: 2px; font-size: 13px; }
/* 读你的光（core/glow.js）：芯、光身、外晕、你以为的，各一行；左边的小记号是它在光里的位置 */
.me-read { margin: 14px 0 0; scroll-margin-top: calc(var(--safe-t) + 72px); }
.mr-h { margin: 0 4px 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.mr-list { margin: 0; padding: 2px 14px; list-style: none; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.mr { display: grid; grid-template-columns: minmax(104px, 32%) 1fr; gap: 12px; align-items: baseline; padding: 11px 0; }
.mr + .mr { border-top: 1px solid var(--line); }
.mr-k { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.mr-k b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 14px; font-weight: 900; }
.mr-k b::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 50%; box-sizing: border-box; }
.mr.is-seed .mr-k b::before { background: radial-gradient(circle, #fff 0 24%, rgba(255, 255, 255, 0.28) 30%, transparent 72%); }
.mr.is-body .mr-k b::before { background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 72%); }
.mr.is-halo .mr-k b::before { border: 2px solid rgba(255, 255, 255, 0.75); box-shadow: 0 0 6px rgba(255, 255, 255, 0.35); }
.mr.is-self .mr-k b::before { border: 1.5px dashed rgba(255, 255, 255, 0.75); }
.mr-k small { padding-left: 20px; font-family: var(--f-cn); font-size: 11.5px; color: var(--ink-2); }
.mr-v { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.4; }
.mr-v strong { font-size: 15px; font-weight: 800; }
.mr-v em { font-style: normal; font-size: 12px; color: var(--ink-2); }
.me-read .mr-note { margin: 8px 4px 0; color: var(--ink-2); }
.me-layers { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.ml { --c1: var(--violet); --c2: var(--cyan); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.ml.is-claimed { border-color: color-mix(in srgb, var(--c1) 34%, var(--line)); }
.ml-dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--c1) 45%, var(--c2)); box-shadow: 0 0 12px var(--c1); }
.ml.is-ready .ml-dot { background: none; border: 1.5px dashed var(--c1); box-shadow: none; }
.ml.is-locked .ml-dot { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.ml.is-said .ml-dot { background: none; border: 1.5px dotted var(--c1); box-shadow: none; }
.ml-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.ml-main small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-main strong { font-size: 16px; font-weight: 800; }
.ml-main em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.ml-redact { letter-spacing: 0.24em; color: var(--ink-3); }
.ml-claim { min-height: 40px; padding: 0 18px; border-radius: 99px; background: var(--holo); background-size: 300% 100%; animation: holo 5s linear infinite; color: #07060c; font-weight: 900; font-size: 14px; transition: transform 0.2s var(--ease); }
.ml-claim:active { transform: scale(0.95); }
.ml-go { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: border-color 0.2s, color 0.2s; }
.ml-go:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.4); }
.ml-ok { font-size: 12.5px; font-weight: 700; color: var(--lime); white-space: nowrap; }
.me-sec { margin-top: 14px; scroll-margin-top: calc(var(--safe-t) + 72px); }
.me-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 10px; font-family: var(--f-display); font-weight: 900; font-size: 18px; }
.me-h small { font-family: var(--f-cn); font-weight: 600; font-size: 12.5px; color: var(--ink-3); }
.me-sub { margin: -4px 0 0; font-size: 14px; color: var(--ink-2); }
.me-now-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
/* 今天的光（Aura 颜色）：一颗这一色的光点 + 一句话，过了今天就淡掉 */
.me-glow { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line)); background: radial-gradient(120% 160% at 0% 50%, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%), var(--glass); text-align: left; color: inherit; cursor: pointer; }
.me-glow i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--hi) 55%, #fff), var(--c) 60%); box-shadow: 0 0 22px -2px var(--c); }
.me-glow span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.me-glow strong { font-size: 14.5px; }
.me-glow small { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.me-glow em { flex: none; font: 700 10px/1.3 var(--f-mono); font-style: normal; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; max-width: 80px; text-align: right; }
.mf-color { display: inline-flex; align-items: center; gap: 5px; }
.mf-color i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.me-week { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.me-week .fcard { flex: none; width: 104px; padding: 8px; border-radius: 12px; }
.me-week .fcard-big { font-size: 28px; }
.me-week .fcard-title { font-size: 10.5px; }
.me-week .fcard-sub, .me-week .fcard-foot { display: none; }
.me-week .me-note { margin: 0; }
.me-month { padding: 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.me-month strong { font-size: 14.5px; }
.me-nums { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.me-numchip { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 122, 224, 0.12); border: 1px solid rgba(255, 122, 224, 0.4); }
.me-numchip b { font-family: var(--f-mono); font-weight: 800; color: #ffd1f5; }
.me-numchip small { font-size: 11px; color: var(--ink-3); }
.me-note { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); text-wrap: pretty; }
.me-empty { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 104px; padding: 14px; border-radius: 18px; border: 1.5px dashed var(--line-2); text-align: left; transition: border-color 0.2s, background 0.2s; }
.me-empty:hover { border-color: rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.04); }
.me-empty strong { font-size: 14.5px; }
.me-empty small { font-size: 12.5px; color: var(--ink-3); }
.me-foot { margin: 6px 0 0; text-align: center; font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); }
.me-foot a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 520px) {
  .me-now-grid { grid-template-columns: 1fr; }
  .ml { gap: 10px; padding: 11px 10px 11px 12px; }
}
/* 我 · 电脑：两列，左边的封面滚动时一直在，右边是其余的；朋友猜你露出最近 3 条，卡册露出两行 */
@media (min-width: 1024px) {
  .me-inner { max-width: 1120px; display: grid; grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); gap: 0 56px; align-items: start; }
  .me-side { position: sticky; top: calc(var(--safe-t) + 92px); }
  .me-cover { --orb: 340px; }
  .me-main { padding-top: 6px; }
  .me-main > .me-sec:first-of-type, .me-slot + .me-sec { margin-top: 0; }
  .me-fr-rows { display: flex; }
  .me-album .me-album-grid > :nth-child(n + 5) { display: flex; }
  .me-foot { text-align: left; }
}

/* ═══════ 朋友猜你、命运卡册：各自一页（ui/friends-page.js、ui/album.js）═══════ */
.screen-friends, .screen-album { flex-direction: column; align-items: center; padding: calc(var(--safe-t) + 72px) 16px calc(var(--safe-b) + 48px); }
/* .al-inner、.al-title 答案之书的首页（answers.css）也在用，所以挂在 .screen-album 上 */
.fp-inner, .screen-album .al-inner { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.fp-head, .al-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.fp-k, .al-k { margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); }
.fp-title, .screen-album .al-title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 8vw, 44px); line-height: 1.1; }
.fp-sub, .al-sub { margin: 0; max-width: 470px; font-size: 14px; line-height: 1.55; color: var(--ink-2); text-wrap: balance; }
.fp-stars { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.fp-stars:empty { display: none; }
.fp-stars i { width: 20px; height: 20px; margin: 0; }
.fp-body { display: flex; flex-direction: column; gap: 18px; }
.fp-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fp-body.has-guesses .fp-list { order: -1; }
.fp-list .me-h { margin-bottom: 0; }
.fp-list .mf-list { margin-top: 0; }
.fp-lead { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.al-holo { margin: 4px 0 0; }
.al-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.al-filter[hidden] { display: none; }
.al-chip { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.al-chip small { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.al-chip:hover { color: var(--ink); }
.al-chip.is-on { color: var(--ink); border-color: rgba(212, 255, 58, 0.55); background: rgba(212, 255, 58, 0.08); }
.al-inner .album-grid { margin-top: 0; }
@media (min-width: 1024px) {
  .fp-inner { max-width: 1040px; }
  .fp-body.has-guesses { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 36px; align-items: start; }
  .fp-body.has-guesses .fp-list { order: 0; }
  .fp-body.has-guesses .fp-link { position: sticky; top: calc(var(--safe-t) + 92px); }
  .screen-album .al-inner { max-width: 1120px; }
}

/* 卡册空位：用玩法自己的入口画面 */
.fcard-slot-art { display: block; width: 86%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.fcard-slot-art .ga { display: block; width: 100%; height: 100%; }
.fcard-slot:not(.is-live) .fcard-slot-art { filter: grayscale(0.7) brightness(0.65); }

/* 先报生日的小弹窗 */
.bday-card { text-align: center; }
.bday-card h3 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1.2; }
.bday-p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
#bday-slot .date-input { margin: 18px 0 8px; }
#bday-slot .date-input input { height: 60px; font-size: 22px; }
.bday-card .field-hint { margin: 0; }
.bday-card .btn-holo { width: 100%; margin-top: 16px; }

/* ═══════ 朋友猜你 ═══════
   · 今天：日期旁边一颗小星「Maya 猜了你」（还没看过的才亮，不推送）
   · 我：一个链接（7 天、最多 12 人）+ 朋友猜的，和你认领过的层对照
   · 朋友那一边（.screen-guess）：中间一团光，每选一下就往猜的方向变色，选过的标签和字母绕着它 */
.dy-date { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; }
.dy-friend {
  display: inline-flex; align-items: center; gap: 7px; min-height: 24px; margin: -3px 0; padding: 0 11px 0 9px; border-radius: 99px;
  border: 1px solid rgba(255, 122, 224, 0.5); background: rgba(255, 79, 216, 0.14); color: #ffd1f5;
  font-family: var(--f-cn); font-size: 12.5px; font-weight: 800; letter-spacing: 0.01em; transition: background 0.2s, transform 0.2s var(--ease);
}
.dy-friend:hover { background: rgba(255, 79, 216, 0.24); }
.dy-friend:active { transform: scale(0.95); }
.dy-friend i { width: 7px; height: 7px; border-radius: 50%; background: #ff7ae0; box-shadow: 0 0 10px #ff7ae0; animation: blink 2s ease-in-out infinite; }

.mf-make { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.mf-make label, .gs-nick label { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.mf-make label span, .gs-nick label span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.mf-make input, .gs-nick input { height: 50px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); outline: none; font-size: 16px; }
.mf-make input:focus, .gs-nick input:focus { border-color: rgba(255, 122, 224, 0.6); box-shadow: 0 0 24px -8px #ff7ae0; }
.mf-make .btn-holo { min-height: 54px; }
.mf-make .me-note { margin: 0; }
.mf-open { padding: 14px; border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 79, 216, 0.16), transparent 60%), var(--glass); border: 1px solid rgba(255, 122, 224, 0.4); }
.mf-open p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mf-open p b { color: var(--ink); }
.mf-url { width: 100%; height: 40px; margin-top: 10px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); outline: none; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); text-overflow: ellipsis; }
.mf-url:focus { border-color: rgba(255, 122, 224, 0.5); color: var(--ink); }
.mf-acts { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.mf-acts .btn-holo { flex: 1; max-width: 280px; min-height: 48px; padding: 0 22px; }
.mf-acts .btn-holo span { font-size: 15px; line-height: 1.2; }
.mf-list { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.mf-row { --c1: #ff7ae0; --c2: #8b6cff; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.mf-row.is-new { border-color: rgba(255, 122, 224, 0.55); box-shadow: 0 0 26px -12px #ff7ae0; }
.mf-star { width: 16px; height: 16px; background: radial-gradient(circle, #fff 0 16%, var(--c1) 42%, var(--c2) 100%); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 6px var(--c1)); }
.mf-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.mf-main small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-main strong { font-size: 16px; font-weight: 800; }
.mf-main em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.mf-new { font-family: var(--f-mono); font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: #ffd1f5; padding: 4px 9px; border-radius: 99px; background: rgba(255, 79, 216, 0.18); }

.screen-guess { flex-direction: column; align-items: center; justify-content: center; padding: calc(var(--safe-t) + 72px) 16px calc(var(--safe-b) + 32px); }
.gs-inner { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.gs-orb { --c1: #ff7ae0; --c2: #8b6cff; position: relative; display: grid; place-items: center; width: 176px; height: 176px; flex: none; }
.gs-glow { position: absolute; inset: -28%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 42%, transparent), color-mix(in srgb, var(--c2) 18%, transparent) 46%, transparent 70%); transition: background 0.9s; animation: gs-breathe 6s ease-in-out infinite; }
.gs-core { position: relative; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff, var(--c1) 46%, var(--c2)); box-shadow: 0 0 40px var(--c1), 0 0 90px -10px var(--c2); transition: background 0.9s, box-shadow 0.9s; }
.gs-orbit { position: absolute; inset: 0; animation: gs-sway 9s ease-in-out infinite alternate; }
.gs-orbit b {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px;
  font-family: var(--f-display); font-weight: 900; font-size: 16px; color: #fff; text-shadow: 0 0 10px var(--c1);
  transform: rotate(calc(var(--k) / var(--n) * 360deg)) translateY(-80px) rotate(calc(var(--k) / var(--n) * -360deg));
  animation: gs-pop 0.45s var(--ease) both;
}
.gs-orb.is-sealing .gs-core { animation: gs-seal 1.1s ease-in-out infinite; }
@keyframes gs-breathe { 50% { transform: scale(1.06); opacity: 0.8; } }
@keyframes gs-sway { from { rotate: -7deg; } to { rotate: 7deg; } }
@keyframes gs-pop { from { opacity: 0; scale: 0.3; } }
@keyframes gs-seal { 50% { scale: 0.82; } }
.gs-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.gs-k { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-3); }
.gs-h { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 7vw, 36px); line-height: 1.15; overflow-wrap: anywhere; }
.gs-p { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.gs-note { margin: 0; max-width: 420px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.gs-go { width: 100%; max-width: 380px; min-height: 58px; margin-top: 4px; }
.gs-go2 { width: 100%; max-width: 380px; min-height: 48px; }
.gs-q { margin: 0; max-width: 460px; font-family: var(--f-display); font-weight: 900; font-size: clamp(20px, 5.6vw, 26px); line-height: 1.25; overflow-wrap: anywhere; text-wrap: balance; }
.gs-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 8px; width: 100%; margin-top: 4px; }
.gs-or { align-self: center; font-family: var(--f-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.gs-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 132px; padding: 16px 10px; border-radius: 22px;
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}
.gs-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.08); }
.gs-card:active { transform: scale(0.96); }
.gs-card b { font-size: 15px; font-weight: 800; line-height: 1.3; }
.gs-e { font-size: 38px; line-height: 1; }
.gs-pole { font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1; background: var(--holo); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo 6s linear infinite; }
.gs-pair.is-text .gs-card b { font-size: 14.5px; font-weight: 700; }
/* 猜 TA 的颜色：十一颗光点排成网格（手机上四列），每颗下面写名字和一个词 */
.gs-colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 460px; margin-top: 4px; }
@media (min-width: 520px) { .gs-colors { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gs-sw {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 92px; padding: 10px 4px 8px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--line); transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}
.gs-sw:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.gs-sw:active { transform: scale(0.95); }
.gs-sw i { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--hi) 55%, #fff), var(--c) 60%, color-mix(in srgb, var(--c) 55%, #000)); box-shadow: 0 0 16px -2px var(--c); }
.gs-sw b { font-size: 13px; font-weight: 800; line-height: 1.2; }
.gs-sw small { font-size: 10.5px; line-height: 1.2; color: var(--ink-3); }
.gs-dots { display: flex; gap: 6px; }
.gs-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.gs-dots i.on { background: #ffd1f5; box-shadow: 0 0 8px #ff7ae0; }
.gs-dots i.cur { background: none; box-shadow: inset 0 0 0 1.5px #ffd1f5; }
.gs-sum { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 22px; }
.gs-nick { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.gs-nick label { width: 100%; max-width: 380px; }
.gs-nick input { text-align: center; }
@media (max-height: 700px) {
  .gs-orb { width: 132px; height: 132px; }
  .gs-orbit b { transform: rotate(calc(var(--k) / var(--n) * 360deg)) translateY(-60px) rotate(calc(var(--k) / var(--n) * -360deg)); }
  .gs-card { min-height: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  .ga *, .dy-day::before { animation: none !important; transition: none !important; }
  .dy-friend i, .gs-glow, .gs-orbit, .gs-orbit b, .gs-orb.is-sealing .gs-core, .gs-pole { animation: none !important; }
}

/* 朋友的数据跟着账号同步（2026-11-30）：带过来 / 交给新设备 */
.mf-sync { margin: 0 0 10px; padding: 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.mf-sync p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mf-sync p b { color: var(--ink); }
.mf-sync.is-locked { border-color: rgba(79, 247, 255, 0.4); background: radial-gradient(120% 140% at 0% 0%, rgba(79, 247, 255, 0.12), transparent 60%), var(--glass); }
.mf-sync.is-pairing { text-align: center; border-color: rgba(79, 247, 255, 0.55); box-shadow: 0 0 30px -14px var(--cyan); }
.mf-code {
  display: flex; justify-content: center; align-items: center; gap: 14px; margin: 14px 0 4px !important; font-family: var(--f-mono); font-weight: 800;
  font-size: clamp(36px, 11vw, 52px); letter-spacing: 0.14em; color: var(--ink) !important; text-shadow: 0 0 18px rgba(79, 247, 255, 0.6); font-variant-numeric: tabular-nums;
}
.mf-code i { width: 10px; height: 2px; background: var(--ink-3); }
.mf-sync.is-pairing .btn-link { margin-top: 6px; }
.mf-give label { display: flex; flex-direction: column; gap: 6px; }
.mf-give label span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.mf-give input {
  height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.25); outline: none;
  font-family: var(--f-mono); font-size: 24px; letter-spacing: 0.3em; text-align: center; font-variant-numeric: tabular-nums;
}
.mf-give input:focus { border-color: rgba(79, 247, 255, 0.6); box-shadow: 0 0 24px -8px var(--cyan); }
.mf-synced { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 10px; font-size: 12.5px; color: var(--ink-3); }
.mf-synced i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.mf-synced .btn-link { font-size: 12.5px; }

/* ───────── 保住你的光（ui/keep.js）───────── */
.me-keep-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 18px; border: 1px solid rgba(255, 176, 58, 0.4); background: radial-gradient(120% 160% at 0% 50%, rgba(255, 176, 58, 0.14), transparent 60%), var(--glass); text-align: left; color: inherit; cursor: pointer; }
.me-keep-row i { flex: none; width: 12px; height: 12px; margin: 0 4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.me-keep-row span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.me-keep-row strong { font-size: 14.5px; }
.me-keep-row small { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.me-keep-row b { flex: none; color: var(--ink-3); }
.me-keep-row.is-safe { border-color: var(--line); background: var(--glass); }
.me-keep-row.is-safe i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.dy-move { margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }

.keep-card h3 { margin-bottom: 8px; }
.kp-p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.kp-warn { padding: 10px 12px; border-radius: 14px; background: rgba(255, 176, 58, 0.1); border: 1px solid rgba(255, 176, 58, 0.32); color: var(--ink); font-size: 13px; }
.kp-steps { list-style: none; margin: 4px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kp-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.kp-steps li b { color: var(--ink); }
.kp-n { flex: none; font: 800 11px/1 var(--f-mono); color: var(--ink-3); }
.kp-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(79, 247, 255, 0.12); color: var(--cyan); font-weight: 900; }
.kp-ico svg { width: 20px; height: 20px; }
.kp-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.kp-acts .btn-holo, .kp-acts .btn-ghost { min-height: 48px; }
.kp-move { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 14px; padding: 14px; border-radius: 18px; border: 1px dashed var(--line-2); }
.kp-move small { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.kp-move.is-made { border-style: solid; border-color: rgba(79, 247, 255, 0.5); box-shadow: 0 0 28px -14px var(--cyan); }
.kp-move p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.kp-move p b { color: var(--ink); }
.kp-code { display: block; width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.3); font-family: var(--f-mono); font-size: 14px; line-height: 1.45; letter-spacing: 0.02em; color: var(--ink); outline: none; resize: none; overflow: hidden; word-break: break-all; text-align: center; }
.kp-move .kp-acts { margin: 4px 0 0; }
.kp-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); text-wrap: pretty; }
.kp-note .btn-link { font-size: 12.5px; padding: 2px 4px; }
.kp-signed { display: flex; align-items: center; gap: 8px; }
.kp-signed i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.kp-take { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.kp-take label { display: flex; flex-direction: column; gap: 6px; }
.kp-take label span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.kp-take input { height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.25); font-family: var(--f-mono); font-size: 14px; color: var(--ink); outline: none; }
.kp-take input:focus { border-color: rgba(79, 247, 255, 0.6); box-shadow: 0 0 24px -8px var(--cyan); }
.kp-take .btn-holo { min-height: 50px; }
.kp-take .kp-note { margin: 0; }

.keep-chip { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--safe-b) + 84px); transform: translateX(-50%); display: flex; align-items: stretch; width: min(440px, calc(100vw - 32px)); border-radius: 18px; background: rgba(15, 12, 29, 0.92); border: 1px solid rgba(255, 176, 58, 0.45); box-shadow: 0 18px 50px -18px rgba(255, 176, 58, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.keep-chip[hidden] { display: none; }
.keep-chip-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 6px 12px 14px; text-align: left; font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.keep-chip-go i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.keep-chip-go span { flex: 1; min-width: 0; }
.keep-chip-go b { flex: none; color: var(--amber); }
.keep-chip-x { flex: none; width: 44px; font-size: 20px; color: var(--ink-3); }
@media (min-width: 1024px) { .keep-chip { bottom: calc(var(--safe-b) + 28px); } }

/* 朋友猜完：两个一样大的发送键；发完看到自己的生命灵数（2026-11-30） */
.gs-send2 { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
.gs-send2 .gs-go { width: 100%; margin: 0; }
@media (min-width: 560px) { .gs-send2 { grid-template-columns: 1fr 1fr; } .gs-send2 .gs-go span { font-size: 14px; } }
.gs-mine { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; max-width: 380px; margin: 4px auto 10px; padding: 16px 14px 12px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--c1) 45%, var(--line)); background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%), var(--glass); }
.gs-mine-n { font-family: var(--f-display); font-weight: 900; font-size: 56px; line-height: 1; background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c1) 60%, transparent)); }
.gs-mine strong { font-size: 15px; }
.gs-mine small { font-size: 12.5px; color: var(--ink-3); }
.gs-mine .btn-link { margin-top: 4px; font-size: 13px; }
.mf-back { display: inline-block; margin-top: 4px; padding: 2px 0; font-size: 12.5px; color: var(--cyan); }

/* 一天的结尾：明天的预告 / 昨天是哪种日子（ui/today.js）；你的日子（ui/me.js） */
.dy-next { margin-top: 6px; display: flex; justify-content: center; width: 100%; }
.dy-tmr { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 1.2; color: var(--ink-3); }
.dy-tmr b { font-family: var(--f-display); color: var(--ink-2); }
.dy-yest { display: inline-flex; align-items: center; gap: 8px; max-width: 380px; padding: 6px 12px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c2) 45%, var(--line)); background: rgba(255, 255, 255, 0.05); font-size: 12.5px; line-height: 1.3; color: var(--ink-2); text-align: left; }
.dy-yest b { color: var(--c2); }
.dy-yest-pick { width: 100%; max-width: 420px; }
.dy-yest-pick p { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-2); }
.dy-yest-pick p b { color: var(--ink); }
.dy-yest-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dy-ychip { min-height: 38px; padding: 6px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.dy-ychip:hover { border-color: color-mix(in srgb, var(--c2) 55%, var(--line)); }
.dy-yskip { margin-top: 4px; font-size: 12.5px; }
.md-box { padding: 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.md-box > p:first-child { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-2); }
.md-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.md-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c) 50%, var(--line)); background: color-mix(in srgb, var(--c) 14%, transparent); font-weight: 800; font-size: 14px; }
.md-chip small { font: 700 11px/1 var(--f-mono); color: var(--ink-3); }
.md-box .me-note b { color: var(--ink-2); }

/* 月相许愿（ui/moon.js） */
.dy-moon { color: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.dy-moon:hover { border-color: rgba(255, 240, 210, 0.32); }
.dy-wish { margin-top: 3px; font-style: normal; font-size: 11.5px; font-weight: 700; color: rgba(255, 240, 210, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dy-wish.is-ready { color: #fff3d6; text-shadow: 0 0 10px rgba(255, 230, 170, 0.8); }
.dy-moon.is-wish-ready { border-color: rgba(255, 236, 190, 0.55); box-shadow: 0 0 30px -10px rgba(255, 230, 170, 0.7); }
.dy-moon.is-wish-ready .dy-moon-svg .lit { animation: mw-glow 3.2s ease-in-out infinite; }
@keyframes mw-glow { 50% { filter: drop-shadow(0 0 8px rgba(255, 240, 200, 1)); } }
.moon-card { text-align: center; background: radial-gradient(120% 70% at 50% 0%, rgba(255, 236, 190, 0.1), transparent 60%), #0f0c1d; box-shadow: 0 30px 80px -20px rgba(255, 230, 170, 0.35); }
.moon-card .modal-kicker { color: #ffe9b8; }
.moon-card h3 { margin: 6px 0 8px; }
.mw-moon { position: relative; width: 112px; height: 112px; margin: 2px auto 10px; }
.mw-moon svg { width: 100%; height: 100%; overflow: visible; }
.mw-moon .halo { fill: rgba(255, 240, 210, 0.08); }
.mw-moon .dark { fill: #141120; stroke: rgba(255, 255, 255, 0.16); stroke-width: 0.3; }
.mw-moon .lit { fill: #f5edd9; filter: drop-shadow(0 0 4px rgba(255, 240, 200, 0.8)); }
.mw-seal { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; font-style: normal; font-size: 22px; color: #3b2400; background: radial-gradient(circle at 35% 30%, #ffe9b8, #e3a94a 60%, #9a6516); box-shadow: 0 0 0 3px rgba(255, 233, 184, 0.25), 0 6px 22px -4px rgba(227, 169, 74, 0.9); }
.mw-moon.is-sealed .lit { opacity: 0.85; }
.mw-phase { margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-3); }
.mw-phase b { color: var(--ink-2); }
.mw-p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.mw-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.mw-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.mw-acts .btn-holo, .mw-acts .btn-ghost { min-height: 50px; }
.mw-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; text-align: left; }
.mw-chip { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); font-size: 13.5px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.mw-chip span { flex: none; width: 18px; text-align: center; color: #ffe9b8; }
.mw-chip:hover { border-color: rgba(255, 236, 190, 0.4); }
.mw-chip.is-on { border-color: rgba(255, 236, 190, 0.8); background: rgba(255, 236, 190, 0.12); box-shadow: 0 0 20px -8px rgba(255, 230, 170, 0.9); }
.mw-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.mw-form label { display: flex; flex-direction: column; gap: 6px; }
.mw-form label span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.mw-form input { height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.25); font-size: 15px; color: var(--ink); outline: none; }
.mw-form input:focus { border-color: rgba(255, 236, 190, 0.6); }
.mw-form .btn-holo { min-height: 54px; padding: 0 20px; background: linear-gradient(120deg, #ffe9b8, #f5c66b 50%, #ffd9a0); color: #2a1a00; }
.mw-form .btn-holo:disabled { opacity: 0.45; }
.mw-wish { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 22px; }
.mw-wish span { color: #ffe9b8; }
.mw-quote { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: #fff3d6; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .dy-moon.is-wish-ready .dy-moon-svg .lit { animation: none; } }
@media (prefers-reduced-motion: reduce) { .me-shop-foil, .me-holo::before { animation: none; } }
@media (prefers-reduced-motion: reduce) { .me-swap i { transition: none; } .me-swap:hover i, .me-swap:focus-visible i { transform: none; } }

/* 你的 30 天（ui/recap.js） */
.me-recap { margin-top: 12px; width: 100%; }
.me-recap-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); text-align: left; color: inherit; }
.me-recap-btn.is-new { border-color: rgba(212, 255, 58, 0.55); background: radial-gradient(120% 160% at 0% 50%, rgba(212, 255, 58, 0.14), transparent 60%), var(--glass); box-shadow: 0 0 30px -14px var(--lime); }
.me-recap-btn i { flex: none; position: relative; width: 40px; height: 40px; }
.me-recap-btn i b { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); opacity: 0.85; }
.me-recap-btn i b:nth-child(2) { inset: 5px; } .me-recap-btn i b:nth-child(3) { inset: 10px; } .me-recap-btn i b:nth-child(4) { inset: 15px; background: var(--c); }
.me-recap-btn span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.me-recap-btn strong { font-size: 15px; }
.me-recap-btn small { font-size: 12.5px; color: var(--ink-2); }
.me-recap-btn.is-new small { color: var(--lime); }
.me-recap-btn em { font-style: normal; color: var(--ink-3); }
.dy-friend.is-recap i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.recap-modal .recap-card { display: flex; flex-direction: column; max-width: 420px; height: min(760px, calc(100dvh - 32px)); padding: 18px 20px 22px; cursor: pointer; user-select: none; -webkit-user-select: none; background: radial-gradient(90% 60% at 50% 20%, rgba(139, 108, 255, 0.18), transparent 70%), #0b0916; }
#recap-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.rc-bars { display: flex; gap: 4px; margin: 2px 40px 0 0; }
.rc-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.rc-bars i.done { background: rgba(255, 255, 255, 0.7); }
.rc-bars i.on { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.8); }
.rc-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 10px 4px; }
.rc-k { font: 700 11px/1 var(--f-mono); letter-spacing: 0.18em; color: var(--lime); }
.rc-title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(28px, 8vw, 38px); line-height: 1.1; }
.rc-sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 320px; }
.rc-tap { margin: 6px 0 0; font: 700 11px/1 var(--f-mono); letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; }
.rc-orb { position: relative; width: 180px; height: 180px; margin: 12px 0; }
.rc-orb i { position: absolute; inset: calc(var(--i) * 16px); border-radius: 50%; border: 2px solid var(--c); box-shadow: 0 0 24px -4px var(--c), inset 0 0 20px -6px var(--c); animation: rc-breathe 5s ease-in-out calc(var(--i) * -0.8s) infinite; }
@keyframes rc-breathe { 50% { transform: scale(1.04); opacity: 0.8; } }
.rc-item { --c1: #8b6cff; --c2: #4ff7ff; background: radial-gradient(70% 45% at 50% 45%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%); border-radius: 24px; }
.rc-big { font-family: var(--f-display); font-weight: 900; font-size: clamp(72px, 24vw, 112px); line-height: 1; background: linear-gradient(160deg, #fff, var(--c1) 70%, var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--c1) 60%, transparent)); }
.rc-big.is-word { font-size: clamp(36px, 11vw, 52px); }
.rc-label { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 20px; line-height: 1.25; max-width: 320px; }
.rc-private { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }
.rc-end { justify-content: flex-start; padding-top: 20px; }
.rc-list { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.rc-list li { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--glass); border: 1px solid color-mix(in srgb, var(--c) 35%, var(--line)); text-align: left; }
.rc-list b { flex: none; font-family: var(--f-display); font-weight: 900; font-size: 20px; color: var(--c); }
.rc-list span { font-size: 13.5px; color: var(--ink-2); }
.rc-acts { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: auto; padding-top: 14px; }
.rc-acts .btn-holo { min-height: 56px; }
.rc-acts .btn-ghost { min-height: 48px; }
.rc-note { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); }
.rc-light { gap: 14px; }
.rc-lights { display: grid; grid-template-columns: 1fr 16px 1fr; align-items: center; gap: 2px; width: 100%; }
.rc-lights figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rc-lt { position: relative; width: 100%; max-width: 190px; aspect-ratio: 1; }
.rc-lt-c { display: block; width: 100%; height: 100%; }
.rc-lights figcaption { font: 700 10.5px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.rc-lights figure:last-child figcaption { color: var(--ink); }
.rc-arrow { margin-bottom: 18px; font-size: 16px; text-align: center; color: var(--ink-3); font-weight: 400; }
.rc-diff { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.rc-diff li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.rc-diff b { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 900; font-size: 15px; }
.rc-diff b::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 50%; box-sizing: border-box; }
.rc-diff .is-seed b::before { background: radial-gradient(circle, #fff 0 24%, rgba(255, 255, 255, 0.28) 30%, transparent 72%); }
.rc-diff .is-body b::before { background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 72%); }
.rc-diff .is-halo b::before { border: 2px solid rgba(255, 255, 255, 0.75); box-shadow: 0 0 6px rgba(255, 255, 255, 0.35); }
.rc-diff span { font-size: 14px; line-height: 1.45; color: var(--ink); }
.rc-diff strong { font-weight: 700; color: var(--lime); }
.rc-diff small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.rc-diff .rc-w { display: block; font-style: normal; }
@media (prefers-reduced-motion: reduce) { .rc-orb i { animation: none; } }
.dy-friend.is-yest { background: rgba(139, 108, 255, 0.16); border-color: rgba(139, 108, 255, 0.5); }
.dy-friend.is-yest i { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.mw-form .btn-holo span, .kp-acts .btn-holo span, .gs-send2 .btn-holo span { font-size: 15px; line-height: 1.2; }

/* 让朋友猜你 · 发出去（ui/invite.js，2026-11-30）：左边一张 story 卡，右边三步；下面复制链接、分享卡、发进聊天 */
.invite-card { max-width: 460px; }
.iv-body { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: center; margin-top: 14px; }
.iv-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 42%, rgba(255, 111, 224, 0.5), rgba(139, 108, 255, 0.25) 40%, #07060c 72%); border: 1px solid var(--line-2); box-shadow: 0 18px 50px -18px rgba(255, 79, 216, 0.6); }
.iv-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; -webkit-touch-callout: default; }
.iv-frame.is-ready img { opacity: 1; }
.iv-load { position: absolute; left: 50%; top: 44%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff, #ff7ae0 46%, #8b6cff); box-shadow: 0 0 30px #ff7ae0; animation: gs-breathe 1.6s ease-in-out infinite; }
.iv-frame.is-ready .iv-load { display: none; }
.iv-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.iv-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--ink-3); transition: color 0.3s; }
.iv-steps li b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-family: var(--f-mono); font-size: 13px; border: 1px solid var(--line-2); color: var(--ink-3); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.iv-steps li em { font-style: normal; color: #d4ff3a; }
/* 走到哪一步，哪一步亮；走过的打勾色 */
.iv-steps[data-step='1'] li:nth-child(1), .iv-steps[data-step='2'] li:nth-child(-n+2), .iv-steps[data-step='3'] li { color: var(--ink); }
.iv-steps[data-step='1'] li:nth-child(1) b, .iv-steps[data-step='2'] li:nth-child(2) b, .iv-steps[data-step='3'] li:nth-child(3) b { background: #d4ff3a; border-color: #d4ff3a; color: #07060c; box-shadow: 0 0 18px -4px #d4ff3a; }
.iv-steps[data-step='2'] li:nth-child(1) b, .iv-steps[data-step='3'] li:nth-child(-n+2) b { background: rgba(212, 255, 58, 0.14); border-color: rgba(212, 255, 58, 0.5); color: #d4ff3a; }
.iv-url { width: 100%; height: 42px; margin-top: 12px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(212, 255, 58, 0.5); background: rgba(0, 0, 0, 0.3); outline: none; font-family: var(--f-mono); font-size: 12px; color: var(--ink); }
.iv-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.iv-acts .btn-holo, .iv-acts .btn-ghost { min-height: 54px; padding: 0 14px; justify-content: center; }
.iv-acts .btn-holo span { font-size: 15px; }
.iv-acts .btn-holo.is-done { background: #d4ff3a; }
.iv-chat { display: block; margin: 12px auto 0; }
.iv-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; text-align: center; text-wrap: balance; color: var(--ink-3); }
.iv-note .btn-link { font-size: 12.5px; }
@media (max-width: 380px) {
  .iv-body { grid-template-columns: 112px 1fr; gap: 12px; }
  .iv-steps li { font-size: 13.5px; }
  .iv-acts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .iv-load { animation: none; } }

/* 朋友猜你 · 打磨（2026-11-30）：开头说清楚猜完能拿到什么；发完「告诉 TA」 */
.gs-gift { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 0; padding: 7px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: #ffd1f5; background: rgba(255, 79, 216, 0.12); border: 1px solid rgba(255, 122, 224, 0.35); }
.gs-gift i { font-style: normal; color: #d4ff3a; }
.gs-tell { max-width: 380px; }
.gs-tell.is-done { color: #d4ff3a; border-color: rgba(212, 255, 58, 0.45); }
.gs-go3 { margin-top: -2px; }

/* 「我」：光下面的入口（还没开过链接、也没人猜过时）；朋友猜了以后一样一个「去找你的」（2026-11-30） */
.me-invite { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 0 auto; padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 800; color: #ffd1f5; background: rgba(255, 79, 216, 0.1); border: 1px solid rgba(255, 122, 224, 0.4); transition: background 0.2s, transform 0.2s var(--ease); }
.me-invite:hover { background: rgba(255, 79, 216, 0.18); transform: translateY(-1px); }
.me-invite i { width: 12px; height: 12px; background: radial-gradient(circle, #fff 0 16%, #ff7ae0 42%, #8b6cff 100%); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 6px #ff7ae0); }
.mf-check { margin: 10px 0; padding: 14px; border-radius: 18px; background: radial-gradient(120% 140% at 100% 0%, rgba(212, 255, 58, 0.1), transparent 60%), var(--glass); border: 1px solid rgba(212, 255, 58, 0.3); }
.mf-check p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mf-check p b { color: var(--ink); }
.mf-answer { margin: 10px 0; padding: 14px; border-radius: 18px; display: grid; gap: 12px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 79, 216, 0.14), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(79, 247, 255, 0.1), transparent 60%), var(--glass); border: 1px solid rgba(255, 79, 216, 0.3); }
.mf-answer p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mf-answer p b { color: var(--ink); }
.mf-answer .btn-holo { justify-self: start; }
.mf-chks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mf-chk { --c1: #d4ff3a; min-height: 42px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 800; color: var(--ink); background: color-mix(in srgb, var(--c1) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c1) 55%, transparent); transition: background 0.2s, transform 0.2s var(--ease); }
.mf-chk:hover { background: color-mix(in srgb, var(--c1) 22%, transparent); transform: translateY(-1px); }
.mf-chk.is-ready { color: #07060c; background: #d4ff3a; border-color: #d4ff3a; }
.mf-list + .mf-check + .mf-open, .mf-list + .mf-open { margin-top: 10px; }
.mf-inapp { margin: 0; color: #ffd1f5 !important; }
