/* 阿拉丁神灯 · 游戏化 UI
   视觉：夜空紫 + 神灯金 + 魔法青绿；粗描边、立体按钮、宝石稀有度；所有字体有系统字回退 */

:root {
  --fd: "ZCOOL QingKe HuangYou", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --fb: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --fh: "Ma Shan Zheng", "STKaiti", "KaiTi", "Kaiti SC", serif;
  --gold: #ffd860; --gold2: #f5a623; --goldink: #4a1f00;
  --teal: #4fe6da; --ink: #fff7e6; --mute: #b9a6e0; --cream: #ffe9c4; --ol: #1c0b33;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; color: var(--ink); font: 14px/1.5 var(--fb); }
body { background: radial-gradient(120% 80% at 50% 0%, #2b1263, #0b0522 60%, #05020f); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea { font: inherit; }
svg { display: block; overflow: visible; }
img { display: block; max-width: none; -webkit-user-drag: none; user-select: none; }
b { font-weight: 600; }

/* 稀有度色板 */
.r-common { --rc: #34dd8f; --rcl: #c9ffe4; --rcd: #0a4a33; --rcg: rgba(52, 221, 143, .55); }
.r-rare { --rc: #4f9dff; --rcl: #d6e8ff; --rcd: #0f2a6e; --rcg: rgba(79, 157, 255, .55); }
.r-epic { --rc: #b170ff; --rcl: #ecdcff; --rcd: #3a1080; --rcg: rgba(177, 112, 255, .6); }
.r-legend { --rc: #ffb52e; --rcl: #fff1c9; --rcd: #6e3a00; --rcg: rgba(255, 181, 46, .7); }

/* ================= 外壳 ================= */
#game { position: relative; width: min(100vw, 430px); height: 100vh; height: 100dvh; margin: 0 auto; overflow: hidden; overflow: clip; background: #0b0522; isolation: isolate; }
@media (min-width: 520px) {
  #game { height: min(calc(100dvh - 32px), 900px); margin-top: max(16px, calc((100dvh - 900px) / 2)); border-radius: 34px; box-shadow: 0 0 0 10px #140832, 0 0 0 12px #3a1d6e, 0 30px 80px rgba(0, 0, 0, .6); }
}
#stage { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; overflow: hidden; overflow: clip; }
.scene.enter { animation: sceneIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.scene.leave { animation: sceneOut .3s ease both; pointer-events: none; }
@keyframes sceneIn { from { opacity: 0; transform: scale(1.06); filter: brightness(1.7); } }
@keyframes sceneOut { to { opacity: 0; transform: scale(.97); } }
.scene.zoomin { animation: zoomin .6s ease-in forwards; }
@keyframes zoomin { to { transform: scale(2.6) translateY(6%); opacity: 0; filter: brightness(2.2); } }
.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }
#layer { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
#layer > * { pointer-events: auto; }
#notices { position: absolute; top: calc(6px + var(--safe-t)); left: 10px; right: 10px; z-index: 55; pointer-events: none; }
#toasts { position: absolute; left: 0; right: 0; top: 38%; z-index: 56; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }

/* ================= 背景 ================= */
.bg { position: absolute; inset: 0; overflow: hidden; overflow: clip; container-type: size; background: #0b0522; }
.cover { position: absolute; left: 50%; top: 50%; width: max(100cqw, 56.25cqh); aspect-ratio: 9 / 16; transform: translate(-50%, -50%); }
.cover .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.twinkles i { position: absolute; width: calc(12px * var(--s)); height: calc(12px * var(--s)); background: #fff8d8; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .1; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }
.bg-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #090320 0%, #1a0a44 30%, #3b1566 56%, #7d2b78 74%, #2a0f4f 100%); }
.sea-sky { background: linear-gradient(180deg, #090320 0%, #1c0b4a 30%, #3e1a78 46%, #8a3a86 50%, #1a0d4a 52%, #0b0526 100%); }
.bg-top { position: absolute; top: 0; left: 0; width: 100%; height: 52%; }
.bg-bottom { position: absolute; bottom: 0; left: 0; width: 100%; height: 64%; }
.bg-full { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-dim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 3, 24, .55), rgba(8, 3, 24, .78)); }
.tw { fill: #fff; animation: tw 3s ease-in-out infinite; }
.tw.tw1 { animation-duration: 4.3s; }
.tw.tw2 { animation-duration: 2.4s; }
.tw.sp { fill: #fff6d0; }
@keyframes tw { 50% { opacity: .2; } }
.win { fill: #ffcf6b; }
.win.w1 { animation: tw 5s infinite; }
.clouds { animation: drift 40s linear infinite alternate; }
@keyframes drift { to { transform: translateX(-30px); } }
.refl { fill: #ffe9a8; animation: shimmer 2.2s ease-in-out infinite; }
@keyframes shimmer { 50% { opacity: .15; transform: translateX(4px); } }
.wave { fill: none; stroke: #9a86ff; stroke-width: 1.4; opacity: .28; animation: waveMove 6s linear infinite; }
@keyframes waveMove { to { transform: translateX(40px); } }
.flame { animation: flame .16s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes flame { to { transform: scale(1.07, .9) skewX(4deg); } }

/* ================= 标题字 / 丝带 ================= */
.gt { position: relative; display: inline-block; font-family: var(--fd); font-size: 26px; font-weight: 400; line-height: 1.15; letter-spacing: 1px; white-space: nowrap; color: #3a1100; -webkit-text-stroke: 7px #3a1100; paint-order: stroke fill; text-shadow: 0 4px 0 #3a1100, 0 7px 14px rgba(0, 0, 0, .5); }
.gt::after { content: attr(data-t); position: absolute; left: 0; top: 0; color: transparent; -webkit-text-stroke: 0; text-shadow: none; background: linear-gradient(180deg, #fffbe0 0%, #ffe27a 36%, #f7a823 62%, #ffd45a 100%); -webkit-background-clip: text; background-clip: text; }
.gt.md { font-size: 22px; }
.gt.lg { font-size: 30px; }
.gt.xl { font-size: 38px; -webkit-text-stroke-width: 8px; }
.gt.xxl { font-size: 96px; letter-spacing: 6px; -webkit-text-stroke-width: 12px; text-shadow: 0 7px 0 #3a1100, 0 12px 30px rgba(0, 0, 0, .6); }
.ribbon { position: relative; display: inline-block; isolation: isolate; }
.ribbon > span { position: relative; z-index: 1; display: block; padding: 4px 30px 8px; background: linear-gradient(#e0539f, #8e1e66); border: 3px solid var(--ol); border-radius: 8px; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .3), inset 0 -4px 0 rgba(0, 0, 0, .2), 0 6px 14px rgba(0, 0, 0, .45); }
.ribbon::before, .ribbon::after { content: ''; position: absolute; z-index: 0; top: 12px; bottom: -10px; width: 34px; background: linear-gradient(#a3226f, #5e0d40); border: 3px solid var(--ol); }
.ribbon::before { left: -22px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 36% 50%); }
.ribbon::after { right: -22px; clip-path: polygon(0 0, 100% 0, 64% 50%, 100% 100%, 0 100%); }
.ribbon .gt { font-size: 25px; }

/* ================= 按钮 ================= */
.btn { --c1: #ffe887; --c2: #ffc53a; --c3: #f08c12; --edge: #8a3d00; --tx: #4a1f00;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 50px; padding: 0 18px;
  border-radius: 16px; border: 3px solid var(--ol); background: linear-gradient(180deg, var(--c1), var(--c2) 52%, var(--c3));
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .16), inset 0 2px 0 rgba(255, 255, 255, .6), 0 5px 0 var(--edge), 0 9px 16px rgba(0, 0, 0, .4);
  font: 19px/1 var(--fd); color: var(--tx); letter-spacing: .5px; white-space: nowrap; user-select: none; -webkit-user-select: none; touch-action: manipulation; overflow: hidden;
  transition: transform .08s, box-shadow .08s, filter .2s; }
.btn::before { content: ''; position: absolute; left: 8px; right: 8px; top: 3px; height: 40%; border-radius: 12px 12px 18px 18px; background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); pointer-events: none; }
.btn:active:not(:disabled), .btn.holding { transform: translateY(4px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16), inset 0 2px 0 rgba(255, 255, 255, .6), 0 1px 0 var(--edge), 0 3px 8px rgba(0, 0, 0, .4); }
.btn svg { position: relative; width: 20px; height: 20px; flex: none; }
.btn > span, .btn > em { position: relative; }
.btn.teal { --c1: #b5fff6; --c2: #45e3d6; --c3: #13a3a8; --edge: #075056; --tx: #033236; }
.btn.purple { --c1: #e2bcff; --c2: #a565f5; --c3: #6d2bd8; --edge: #34107a; --tx: #fff; text-shadow: 0 2px 0 rgba(40, 8, 90, .6); }
.btn.ghost { --c1: rgba(255, 255, 255, .18); --c2: rgba(255, 255, 255, .1); --c3: rgba(255, 255, 255, .06); --edge: rgba(0, 0, 0, .4); --tx: #f3e8ff; }
.btn.sm { height: 40px; padding: 0 14px; font-size: 16px; border-radius: 13px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .16), inset 0 2px 0 rgba(255, 255, 255, .6), 0 4px 0 var(--edge), 0 7px 12px rgba(0, 0, 0, .35); }
.btn.big { height: 60px; font-size: 22px; border-radius: 18px; }
.btn.block { display: flex; width: 100%; }
.btn.grow { flex: 1; }
.btn:disabled { filter: grayscale(.75) brightness(.8); cursor: default; }
.btn.pulse { animation: btnPulse 1.6s ease-in-out infinite; }
@keyframes btnPulse { 50% { filter: brightness(1.15); transform: scale(1.03); } }
.btn.hold { touch-action: none; }
.btn .hold-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--hp, 0) * 100%); background: linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .6)); }
.proto { font: 10px/1.3 var(--fb); font-style: normal; padding: 0 5px; border-radius: 6px; border: 1.5px solid currentColor; opacity: .75; margin-left: 4px; }
.r-row { display: flex; gap: 10px; margin-top: 14px; }

/* ================= HUD ================= */
.hud { position: absolute; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: calc(8px + var(--safe-t)) 10px 6px; pointer-events: none; background: linear-gradient(180deg, rgba(8, 3, 24, .65), rgba(8, 3, 24, 0)); }
.hud > * { pointer-events: auto; }
.hud-me { display: flex; align-items: center; gap: 7px; }
.hud-ava { position: relative; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #5a2aa0, #2a0f55); border: 3px solid var(--gold); box-shadow: 0 0 0 2.5px var(--ol), 0 4px 10px rgba(0, 0, 0, .4); flex: none; }
.hud-face { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; }
.hud-face img { width: 100%; height: 100%; object-fit: cover; }
.hud-lv { position: absolute; right: -7px; bottom: -5px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; background: linear-gradient(#ff7fb0, #c0185c); border: 2px solid var(--ol); font: 13px/16px var(--fd); color: #fff; text-align: center; }
.hud-info { display: flex; flex-direction: column; gap: 3px; }
.hud-title { font: 14px/1 var(--fd); color: #fff; text-shadow: 0 2px 0 var(--ol); }
.hud-bar { position: relative; width: 86px; height: 14px; border-radius: 8px; background: rgba(10, 4, 30, .85); border: 2px solid var(--ol); overflow: hidden; }
.hud-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#c9fff8, #2fd0c8); transition: width .7s cubic-bezier(.3, 1.4, .5, 1); }
.hud-bar em { position: absolute; inset: 0; font: 10px/10px var(--fd); text-align: center; color: #fff; text-shadow: 0 1px 0 #000, 0 0 3px #000; font-style: normal; }
.hud-res { display: flex; align-items: center; gap: 10px; }
.res { position: relative; display: flex; align-items: center; height: 28px; padding: 0 9px 0 26px; border-radius: 15px; background: rgba(10, 4, 30, .8); border: 2px solid var(--ol); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); font: 16px/1 var(--fd); color: #fff; }
.res .ic { position: absolute; left: -9px; top: 50%; width: 32px; height: 32px; transform: translateY(-50%); display: grid; place-items: center; }
.res .ic img { width: 100%; height: auto; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
#hud-wish .ic { width: 38px; left: -14px; }
.res small { font-size: 11px; opacity: .65; margin-left: 1px; }
.bump { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.22); } }
.hud-btn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 4, 30, .8); border: 2px solid var(--ol); color: var(--gold); flex: none; }
.hud-btn svg { width: 18px; height: 18px; }
.hud-btn.off { color: #7a6a98; }

/* ================= Dock ================= */
.dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: space-around; height: calc(74px + var(--safe-b)); padding: 0 4px var(--safe-b); background: linear-gradient(180deg, #43207a 0, #1f0c42 74px); border-top: 3px solid var(--gold); box-shadow: 0 -3px 0 var(--ol), 0 -12px 30px rgba(0, 0, 0, .5); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1); }
.dock-bump { position: absolute; left: 50%; top: -47px; width: 150px; height: 56px; margin-left: -75px; pointer-events: none; overflow: visible; }
.dock-bump path { fill: none; }
.dock-bump .db-ol { stroke: var(--ol); stroke-width: 9; }
.dock-bump .db-fill { fill: url(#dockFill); }
.dock-bump .db-gold { stroke: var(--gold); stroke-width: 3; }
#game.no-dock .dock { transform: translateY(calc(100% + 40px)); }
.dock a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 74px; padding-bottom: 7px; color: #c7b5ef; }
.dock .di { width: 46px; height: 38px; display: block; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .45)) saturate(.55) brightness(.8); }
.dock .di img { width: 100%; height: 100%; object-fit: contain; }
.dock .dface { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #5a2aa0, #2a0f55); border: 2.5px solid var(--gold); }
.dock .dface img { width: 100%; height: 100%; object-fit: cover; }
.dock .dl { font: 13px/1 var(--fd); margin-top: 4px; text-shadow: 0 2px 0 var(--ol); white-space: nowrap; }
.dock a.on .di { transform: translateY(-6px) scale(1.18); filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .45)) drop-shadow(0 0 10px rgba(255, 210, 100, .7)); }
.dock a.on .dl { color: var(--gold); }
.dock .dock-wish .di { display: grid; place-items: center; position: absolute; left: 50%; top: -26px; z-index: 1; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #fff1a8, #ffc53a 50%, #e07a0c); border: 3px solid var(--ol); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .18), inset 0 3px 0 rgba(255, 255, 255, .6), 0 5px 0 #8a3d00, 0 0 24px rgba(255, 200, 80, .6); filter: none; animation: wishBreath 2.4s ease-in-out infinite; }
.dock .dock-wish .di img { width: 42px; height: 42px; }
.dock .dock-wish .dl { color: var(--gold); }
.dock .dock-wish.on .di { transform: none; }
@keyframes wishBreath { 50% { box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .18), inset 0 3px 0 rgba(255, 255, 255, .6), 0 5px 0 #8a3d00, 0 0 36px rgba(255, 210, 100, .95); } }
.dock .dot { position: absolute; top: 6px; right: 16%; width: 18px; height: 18px; border-radius: 50%; background: #ff3d6e; border: 2px solid var(--ol); display: none; font: 12px/14px var(--fd); color: #fff; text-align: center; font-style: normal; }
.dock a.alert .dot { display: block; animation: bump 1s infinite; }
.dock a.alert .dot::after { content: '!'; }

/* ================= 提示 / 成就横幅 / 奖励 ================= */
.toast { max-width: 84%; padding: 10px 16px; border-radius: 14px; background: rgba(20, 8, 48, .94); border: 2px solid rgba(255, 216, 96, .6); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); font-size: 14px; text-align: center; animation: toastIn .35s cubic-bezier(.3, 1.5, .5, 1); }
.toast b { color: var(--gold); }
.toast.err { border-color: #ff6b8e; }
.toast.out { opacity: 0; transform: translateY(-10px); transition: .35s; }
@keyframes toastIn { from { opacity: 0; transform: scale(.7); } }
.notice { display: flex; align-items: center; gap: 10px; max-width: 380px; margin: 0 auto 8px; padding: 7px 14px 7px 7px; border-radius: 20px; background: linear-gradient(180deg, #4d2590, #2a1252); border: 3px solid var(--gold); box-shadow: 0 0 0 2.5px var(--ol), 0 10px 26px rgba(0, 0, 0, .5); transform: translateY(-160%); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.notice.in { transform: none; }
.nt-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: radial-gradient(circle at 50% 35%, #fff1b8, #f5a623); border: 2.5px solid var(--ol); }
.nt-ic img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.nt-tx b { display: block; font: 16px/1.25 var(--fd); color: var(--gold); font-weight: 400; }
.nt-tx small { display: block; color: #e7dbff; font-size: 12px; line-height: 1.35; }
.flyer { position: fixed; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; z-index: 70; pointer-events: none; }
.flyer img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255, 220, 120, .9)); }
.floattx { position: fixed; z-index: 71; pointer-events: none; font: 28px/1 var(--fd); color: #fff3b0; -webkit-text-stroke: 6px #3a1100; paint-order: stroke fill; text-shadow: 0 3px 0 #3a1100; white-space: nowrap; }
.floattx small { font-size: 16px; }
.flash { position: fixed; inset: 0; z-index: 65; pointer-events: none; opacity: 0; }

/* ================= 弹窗 ================= */
.mw { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.mw.is-sheet { align-items: flex-end; padding: 0; }
.mw-mask { position: absolute; inset: 0; background: rgba(6, 2, 18, .74); opacity: 0; transition: opacity .25s; }
.mw.show .mw-mask { opacity: 1; }
.mw.hide .mw-mask { opacity: 0; }
.mw-rays { position: absolute; left: 50%; top: 40%; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; pointer-events: none; opacity: 0; transition: opacity .5s; background: repeating-conic-gradient(from 0deg, rgba(255, 214, 110, .2) 0 8deg, transparent 8deg 20deg); -webkit-mask: radial-gradient(circle, #000 8%, transparent 52%); mask: radial-gradient(circle, #000 8%, transparent 52%); animation: spin 22s linear infinite; }
.mw.show .mw-rays { opacity: 1; }
.mw-box { position: relative; width: 100%; max-width: 360px; max-height: calc(100% - 24px); overflow-y: auto; padding: 22px 18px 18px; border-radius: 24px; text-align: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 6l3 13 13 3-13 3-3 13-3-13-13-3 13-3z' fill='%23ffffff' fill-opacity='.035'/%3E%3C/svg%3E"), radial-gradient(120% 70% at 50% 0%, #4d2590 0%, #2a1252 55%, #1c0b3a 100%);
  border: 3px solid var(--gold); box-shadow: 0 0 0 3px var(--ol), inset 0 0 0 2px rgba(255, 255, 255, .08), inset 0 2px 14px rgba(255, 255, 255, .12), 0 20px 50px rgba(0, 0, 0, .6);
  transform: scale(.6); opacity: 0; transition: transform .4s cubic-bezier(.3, 1.5, .5, 1), opacity .2s; scrollbar-width: none; }
.mw.show .mw-box { transform: none; opacity: 1; }
.mw.hide .mw-box { transform: scale(.86); opacity: 0; transition: .2s; }
.mw.is-sheet .mw-box { max-width: none; max-height: 88%; border-radius: 26px 26px 0 0; border-bottom: 0; padding-bottom: calc(18px + var(--safe-b)); transform: translateY(100%); opacity: 1; }
.mw.is-sheet.show .mw-box { transform: none; }
.mw.is-sheet.hide .mw-box { transform: translateY(100%); }
.mw-x { position: absolute; right: 10px; top: 10px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#ff7fb0, #c0185c); border: 2.5px solid var(--ol); color: #fff; box-shadow: 0 3px 0 #6e0830; }
.mw-x svg { width: 13px; height: 13px; }
.grab { width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); margin: -8px auto 12px; }
.m-hint { margin: 10px 0 0; font-size: 12px; color: var(--mute); }
/* 无框奖励弹窗：内容直接浮在光芒上 */
.m-gift .mw-box, .m-sealed .mw-box, .m-ring .mw-box, .m-evo .mw-box, .m-oath .mw-box { background: none; border: 0; box-shadow: none; overflow: visible; padding: 8px 4px; }
.m-gift .mw-mask, .m-sealed .mw-mask, .m-ring .mw-mask, .m-evo .mw-mask, .m-oath .mw-mask { background: rgba(6, 2, 18, .9); }
.m-oath .mw-x { top: -4px; right: 0; }

/* ================= 开场 ================= */
.title { position: absolute; inset: 0; z-index: 50; overflow: hidden; cursor: pointer; }
.title .curtain { position: absolute; top: 0; bottom: 0; width: 53%; overflow: hidden; background: #6a0f47; box-shadow: inset 0 -60px 80px rgba(0, 0, 0, .35); transition: transform 1.25s cubic-bezier(.6, 0, .2, 1); }
.title .curtain::before { content: ''; position: absolute; inset: 0; background: url(../assets/img/curtain.webp) center bottom / cover no-repeat; }
.title .curtain.r::before { transform: scaleX(-1); }
.title .curtain.l { left: 0; border-right: 3px solid var(--ol); }
.title .curtain.r { right: 0; border-left: 3px solid var(--ol); }
.title.open .curtain.l { transform: translateX(-104%); }
.title.open .curtain.r { transform: translateX(104%); }
.t-valance { position: absolute; top: -6px; left: -12%; right: -12%; z-index: 2; pointer-events: none; transition: transform .9s .3s ease-in; }
.t-valance img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }
.title.open .t-valance { position: absolute; top: -6px; left: -12%; right: -12%; z-index: 2; pointer-events: none; transition: transform .9s .3s ease-in; }
.t-valance img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }
.t-center { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; padding-bottom: 90px; transition: transform .9s cubic-bezier(.6, 0, .4, 1), opacity .7s; pointer-events: none; }
.title.open .t-center { transform: scale(1.5); opacity: 0; }
.t-logo { text-align: center; }
.t-lamp img { width: 100%; height: auto; }
.t-logo-img { width: min(86vw, 360px); filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(255, 200, 80, .35)); }
.t-genie { width: 150px; margin: 0 auto -18px; animation: float 3s ease-in-out infinite; }
.t-genie img { width: 100%; height: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.t-lamp { width: 210px; margin: 0 auto 4px; filter: drop-shadow(0 0 26px rgba(255, 200, 80, .7)); animation: float 3s ease-in-out infinite; }
.t-sub .gt { font-size: 34px; letter-spacing: 6px; }
.t-main { margin-top: -6px; }
.t-tag { margin-top: 12px; font-size: 14px; color: #ffe9c4; letter-spacing: 3px; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); }
.t-start { position: absolute; z-index: 3; left: 50%; bottom: 14%; transform: translateX(-50%); font: 21px/1 var(--fd); color: #fff6d0; letter-spacing: 4px; text-shadow: 0 2px 0 var(--ol), 0 0 14px rgba(255, 210, 120, .9); animation: blinkTxt 1.5s ease-in-out infinite; white-space: nowrap; }
.t-ver { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(72px + var(--safe-b)); text-align: center; font-size: 11px; color: rgba(255, 255, 255, .55); }
.title.open .t-start, .title.open .t-ver { opacity: 0; transition: .3s; animation: none; }
@keyframes blinkTxt { 50% { opacity: .35; } }

/* ================= 神灯 灯神（通用） ================= */
.genie { position: relative; display: block; animation: gfloat 3.4s ease-in-out infinite; }
.genie .g-img { width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.genie .g-open { display: none; position: absolute; left: 50%; bottom: 0; width: auto; height: 100%; transform: translateX(-50%); }
.genie.has-open.p-open .g-idle { visibility: hidden; }
.genie.has-open.p-open .g-open { display: block; animation: popIn .4s cubic-bezier(.3, 1.6, .5, 1); }
.genie .band { position: absolute; left: 47%; top: 79%; width: 36%; transform: translate(-50%, -50%) rotate(-10deg) scaleY(.7); filter: drop-shadow(0 0 8px rgba(79, 230, 218, .8)); animation: bandGlow 1.6s ease-in-out infinite; }
@keyframes bandGlow { 50% { filter: drop-shadow(0 0 14px rgba(79, 230, 218, 1)); } }
.genie.t0 .band { top: 82%; left: 45%; }
.genie .band img { width: 100%; height: auto; }
.genie .band.gone, .genie.has-open.p-open .band { display: none; }
@keyframes gfloat { 50% { transform: translateY(-6px); } }
@keyframes popIn { from { transform: translateX(-50%) scale(.85); } }
.ghead { display: block; width: 100%; height: 100%; }
.ghead img { width: 100%; height: 100%; object-fit: cover; }
.lamp-glow { position: absolute; left: 50%; top: 55%; width: 300px; height: 220px; margin: -110px 0 0 -150px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 232, 150, .95), rgba(255, 170, 60, .35) 45%, transparent); opacity: calc(.15 + var(--p, 0) * .85); pointer-events: none; transition: opacity .2s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes breath { 50% { transform: scale(1.06); opacity: .85; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= 首页 ================= */
.home { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: calc(60px + var(--safe-t)); padding-bottom: calc(108px + var(--safe-b)); }
.sky-lanterns .sl { position: absolute; bottom: 34%; width: calc(46px * var(--s)); opacity: 0; animation: rise 24s linear infinite; }
.sky-lanterns .sl img { width: 100%; height: auto; filter: drop-shadow(0 0 8px rgba(255, 200, 90, .8)); }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 8% { opacity: .9; } 85% { opacity: .6; } 100% { transform: translate(40px, -60vh); opacity: 0; } }
.ticker { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; width: calc(100% - 24px); height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(10, 4, 30, .6); border: 1.5px solid rgba(255, 216, 96, .35); font-size: 12px; color: var(--cream); flex: none; }
.tk-track { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tk-run { display: inline-flex; gap: 36px; white-space: nowrap; animation: marquee 50s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.altar-fit { position: relative; width: 100%; height: calc(470px * var(--k, 1)); flex: none; margin-top: 2px; }
.altar { position: absolute; left: 50%; top: 0; width: 390px; height: 470px; margin-left: -195px; transform: scale(var(--k, 1)); transform-origin: top center; }
.halo { position: absolute; left: 40px; top: 130px; width: 310px; height: 310px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 90, .3), rgba(255, 140, 60, .08) 50%, transparent 70%); animation: breath 4s ease-in-out infinite; pointer-events: none; }
.genie-pos { position: absolute; left: 67px; top: 0; width: 135px; z-index: 3; transform-origin: 24% 94%; opacity: 0; transform: scale(.05); pointer-events: none; }

.genie-pos.out { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.genie-pos.emerge { animation: emerge .85s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes emerge { 0% { opacity: 0; transform: scale(.05) rotate(-30deg); } 35% { opacity: 1; } 70% { transform: scale(1.1) rotate(4deg); } 100% { opacity: 1; transform: none; } }
.genie-pos.boing, .sc-genie.boing { animation: boing .5s; }
@keyframes boing { 30% { transform: scale(1.08, .92); } 60% { transform: scale(.95, 1.06) translateY(-8px); } }
.lamp-pos { position: absolute; left: 95px; top: 222px; width: 200px; height: 111px; z-index: 2; touch-action: none; cursor: grab; }
.lamp-pos .lamp { position: relative; width: 100%; height: auto; transition: transform .1s; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
.lamp-pos.sleep .lamp-glow { animation: sleepGlow 2.4s ease-in-out infinite; }
@keyframes sleepGlow { 50% { opacity: .5; } }
.rub-ring { position: absolute; left: 50%; top: 50%; width: 232px; height: 232px; margin: -116px 0 0 -116px; transform: rotate(-90deg); opacity: 0; transition: opacity .2s; pointer-events: none; }
.lamp-pos.rubbing .rub-ring { opacity: 1; }
.rr-t { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 6; }
.rr-f { fill: none; stroke: var(--teal); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px var(--teal)); transition: stroke-dashoffset .12s; }
.lamp-bang { display: none; position: absolute; left: 150px; top: -30px; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(#ff7fb0, #e01e63); border: 3px solid var(--ol); font: 24px/28px var(--fd); color: #fff; text-align: center; animation: bang 1s ease-in-out infinite; }
.lamp-pos.gift .lamp-bang { display: block; }
.lamp-pos.gift .lamp { animation: giftShake 2.2s ease-in-out infinite; }
.lamp-pos.gift .lamp-glow { opacity: .85; animation: breath 1.4s ease-in-out infinite; }
.lamp-pos.nudge .lamp { animation: nudge .6s; }
@keyframes bang { 50% { transform: translateY(-6px) scale(1.1); } }
@keyframes giftShake { 0%, 70%, 100% { transform: none; } 75% { transform: rotate(-6deg); } 80% { transform: rotate(5deg); } 85% { transform: rotate(-4deg); } 90% { transform: rotate(3deg); } }
@keyframes nudge { 25% { transform: scale(1.12) rotate(-6deg); } 50% { transform: scale(1.12) rotate(6deg); } }
.cushion-pos { position: absolute; left: 85px; top: 304px; width: 220px; z-index: 1; }
.altar .ground { position: absolute; left: 60px; top: 420px; width: 270px; height: 44px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 2, 30, .7), transparent); }
.cushion-pos img { width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.sockets { position: absolute; left: 98px; top: 362px; z-index: 2; width: 194px; display: flex; justify-content: space-between; }
.socket { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sk-gem { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1a0a33, #0d0520); border: 4px solid; border-color: #ffe9a0 #c27a12 #8a4a06 #ffd860; box-shadow: 0 0 0 2px var(--ol), inset 0 4px 8px rgba(0, 0, 0, .6); transition: transform .15s; }
.socket:active .sk-gem { transform: scale(.92); }
.sk-gem b { font: 28px/1 var(--fd); color: rgba(255, 255, 255, .28); font-weight: 400; }
.sk-gem .item-art { width: 84%; }
.sk-gem .ia-glow { display: none; }
.s-sealed .sk-gem { background: radial-gradient(circle at 35% 30%, #f4e8ff, #b170ff 40%, #541ca8); box-shadow: 0 0 0 2px var(--ol), 0 0 16px rgba(177, 112, 255, .85); }
.s-claimed .sk-gem { background: radial-gradient(circle at 35% 30%, #e6fffb, #3fe3d6 40%, #0d7f86); box-shadow: 0 0 0 2px var(--ol), 0 0 16px rgba(63, 227, 214, .85); }
.s-sent .sk-gem { background: radial-gradient(circle at 35% 30%, #fff6d6, #ffc23d 40%, #b05e00); box-shadow: 0 0 0 2px var(--ol), 0 0 20px rgba(255, 194, 61, .95); animation: breath 1.2s infinite; }
.sk-who { position: absolute; right: -9px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--ol); font-size: 13px; }
.sk-lbl { font: 12px/1 var(--fd); color: var(--cream); text-shadow: 0 2px 0 var(--ol); }
.s-sent .sk-lbl { color: var(--gold); }
.rub-hint { position: absolute; left: 0; right: 0; top: 236px; z-index: 4; display: flex; justify-content: center; pointer-events: none; opacity: 0; transition: opacity .3s; }
.rub-hint.show { opacity: 1; }
.rub-hint.show.dim { opacity: 0; }
.rub-hint .hand { width: 54px; animation: rubHand 1.5s ease-in-out infinite; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
@keyframes rubHand { 0%, 100% { transform: translate(-50px, 0) rotate(-12deg); } 50% { transform: translate(50px, -6px) rotate(12deg); } }
.tut { position: absolute; left: 16px; right: 16px; bottom: calc(118px + var(--safe-b)); z-index: 3; display: none; flex-direction: column; align-items: center; gap: 4px; padding: 14px 16px 12px; border-radius: 18px; background: rgba(12, 4, 32, .78); border: 2px dashed rgba(255, 216, 96, .55); text-align: center; animation: tutIn .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.tut.show { display: flex; }
.tut i { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 2px 12px; border-radius: 10px; background: linear-gradient(#c9fff8, #2fd0c8); border: 2px solid var(--ol); color: var(--ol); font: 13px/1.2 var(--fd); font-style: normal; }
.tut b { font: 21px/1.2 var(--fd); font-weight: 400; color: #fff6d0; text-shadow: 0 2px 0 var(--ol), 0 0 12px rgba(255, 200, 100, .7); }
.tut small { font-size: 12px; color: var(--mute); }
@keyframes tutIn { from { opacity: 0; transform: translateY(20px); } }
.dlg { position: relative; z-index: 3; width: calc(100% - 20px); margin-top: auto; margin-bottom: 8px; min-height: 132px; padding: 12px 14px 12px 84px; border-radius: 20px; background: linear-gradient(180deg, rgba(62, 28, 116, .96), rgba(30, 12, 64, .96)); border: 3px solid var(--gold); box-shadow: 0 0 0 3px var(--ol), 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(30px) scale(.96); transition: .45s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none; text-align: left; }
.dlg.show { opacity: 1; transform: none; pointer-events: auto; }
.dlg-face { position: absolute; left: 10px; top: -20px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #5a2aa0, #2a0f55); border: 3px solid var(--gold); box-shadow: 0 0 0 2.5px var(--ol); }
.dlg-face img { width: 100%; height: 100%; object-fit: cover; }
.dlg-name { position: absolute; left: 12px; top: 48px; width: 60px; text-align: center; font: 14px/20px var(--fd); color: var(--ol); background: linear-gradient(#c9fff8, #2fd0c8); border: 2px solid var(--ol); border-radius: 10px; }
.dlg-text { min-height: 46px; font-size: 14.5px; line-height: 1.55; color: #fff; cursor: pointer; }
.dlg-text b { color: var(--gold); }
.dlg-text.typing::after { content: '▍'; color: var(--teal); animation: blinkTxt .8s infinite; }
.dlg-acts { display: flex; gap: 8px; margin-top: 10px; }
.dlg-acts .btn { flex: 1; }
.shoot { position: absolute; z-index: 1; width: 130px; height: 3px; padding: 20px; margin: -20px; box-sizing: content-box; border-radius: 2px; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)) content-box; filter: drop-shadow(0 0 4px #fff); animation: shoot 2.2s ease-out forwards; }
@keyframes shoot { 0% { opacity: 0; transform: rotate(-28deg) translateX(0); } 12% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(-28deg) translateX(-340px); } }

/* ================= 愿望卡 ================= */
.wcard { position: relative; display: flex; flex-direction: column; align-items: center; width: 150px; padding: 4px 0 8px; color: #fff; text-align: center; }
.wc-frame { position: relative; width: 100%; aspect-ratio: 3 / 3.5; display: grid; place-items: center; overflow: hidden; border-radius: 50% 50% 14px 14px / 32% 32% 14px 14px; background: radial-gradient(circle at 50% 40%, var(--rcl) 0%, var(--rc) 30%, var(--rcd) 74%, #120624 100%); border: 4px solid var(--gold); box-shadow: 0 0 0 3px var(--ol), inset 0 0 0 3px rgba(255, 255, 255, .25), inset 0 -24px 30px rgba(0, 0, 0, .35), 0 0 22px var(--rcg), 0 8px 18px rgba(0, 0, 0, .5); }
.wc-frame::before { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 42%, rgba(255, 255, 255, .12) 0 10deg, transparent 10deg 24deg); animation: spin 30s linear infinite; }
.wc-tip { position: absolute; top: -8px; left: 50%; z-index: 2; width: 20px; height: 20px; margin-left: -10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: radial-gradient(circle at 35% 30%, #fff, var(--rc) 45%, var(--rcd)); border: 3px solid var(--ol); box-shadow: 0 0 10px var(--rcg); }
.wc-art { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; }
.item-art { position: relative; display: grid; place-items: center; width: 72%; aspect-ratio: 1; }
.ia-glow { position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 66%); animation: breath 3s ease-in-out infinite; }
.ia-em { position: relative; font-size: 54px; line-height: 1; }
.ia-img { position: relative; width: 92%; height: auto; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .4)); }
.wc-rar { position: absolute; left: 50%; bottom: 7px; z-index: 2; transform: translateX(-50%); padding: 1px 10px 2px; border-radius: 10px; background: var(--rc); border: 2px solid var(--ol); font: 12px/1.3 var(--fd); color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); white-space: nowrap; }
.wc-kind { position: absolute; left: 50%; top: 18px; z-index: 2; transform: translateX(-50%); padding: 1px 8px; border-radius: 9px; background: rgba(12, 4, 30, .7); font-size: 11px; white-space: nowrap; }
.wc-name { margin-top: 8px; max-width: 100%; font: 15px/1.25 var(--fd); color: #fff; text-shadow: 0 2px 0 var(--ol); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wc-price { margin-top: 3px; font: 17px/1 var(--fd); color: var(--gold); text-shadow: 0 2px 0 var(--ol); }
.wc-stamp { position: absolute; right: -8px; top: 24%; z-index: 3; transform: rotate(12deg); padding: 3px 7px; border: 2.5px solid currentColor; border-radius: 8px; background: rgba(20, 8, 40, .88); font: 13px/1 var(--fd); white-space: nowrap; }
.st-sealed { color: #dcbcff; }
.st-claimed { color: var(--teal); }
.st-sent { color: var(--gold); }
.st-fulfilled { color: #ffd0e4; }
.wcard.sz-s { width: 100%; padding-top: 6px; }
.wcard.sz-s .ia-em { font-size: 34px; }
.wcard.sz-s .ia-img { width: 96%; }
.wcard.sz-s .wc-frame { border-width: 3px; }
.wcard.sz-s .wc-name { font-size: 13px; margin-top: 6px; }
.wcard.sz-s .wc-price { font-size: 14px; }
.wcard.sz-s .wc-rar { font-size: 10px; padding: 0 6px; bottom: 5px; }
.wcard.sz-s .wc-stamp { font-size: 11px; padding: 2px 5px; right: -6px; }
.wcard.sz-s .wc-tip { width: 16px; height: 16px; margin-left: -8px; top: -5px; }
.wcard.sz-l { width: 196px; }
.wcard.sz-l .ia-em { font-size: 76px; }
.wcard.sz-l .wc-name { font-size: 18px; }
.wcard.sz-l .wc-price { font-size: 20px; }
.wcard.sz-l .wc-rar { font-size: 14px; padding: 2px 12px; bottom: 9px; }
.reveal { animation: reveal .85s cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes reveal { 0% { opacity: 0; transform: perspective(600px) rotateY(90deg) scale(.6); filter: brightness(3); } 60% { opacity: 1; transform: perspective(600px) rotateY(-10deg) scale(1.05); } 100% { transform: none; filter: none; } }

/* 头像 */
.ava { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #fff, #e8dcff); border: 2.5px solid var(--ol); box-shadow: 0 0 0 2px var(--gold); }
.ava i { font-style: normal; font-size: 22px; line-height: 1; }
.ava.me { background: radial-gradient(circle at 50% 35%, #5a2aa0, #2a0f55); }
.ava.me img { width: 100%; height: 100%; object-fit: cover; }
.ava.xs { width: 20px; height: 20px; border-width: 1.5px; box-shadow: none; }
.ava.xs i { font-size: 12px; }

/* 任务条 */
.quest { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border-radius: 16px; background: linear-gradient(180deg, rgba(74, 34, 135, .92), rgba(42, 18, 80, .92)); border: 2px solid rgba(255, 216, 96, .35); text-align: left; transition: transform .1s; }
.quest:active { transform: scale(.98); }
.q-art { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 14px; background: radial-gradient(circle at 50% 40%, var(--rcl), var(--rc) 40%, var(--rcd)); border: 2.5px solid var(--ol); box-shadow: 0 0 0 2px var(--gold); }
.q-art .item-art { width: 100%; }
.q-art .ia-em { font-size: 30px; }
.q-art .ia-img { width: 100%; }
.q-art .ia-glow { display: none; }
.q-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.q-body b { font: 15px/1.2 var(--fd); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-body small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; }
.q-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.q-tags i { font-style: normal; font-size: 11px; padding: 0 6px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.q-tags .t-rar { background: var(--rc); color: #fff; }
.st-sealed .t-st { color: #dcbcff; }
.st-claimed .t-st { color: var(--teal); }
.st-sent .t-st { color: var(--gold); }
.q-rw { flex: none; text-align: center; font: 19px/1 var(--fd); color: var(--gold); }
.q-rw small { display: block; font-size: 11px; color: var(--mute); margin-top: 2px; }

/* ================= 许愿仪式 ================= */
.ritual-bg .bg-sky { background: radial-gradient(120% 60% at 50% 72%, #42186e, #12062e 60%, #07021a); }
.ritual-circle { position: absolute; left: 50%; top: 60%; width: 540px; height: 540px; margin: -270px 0 0 -270px; opacity: .32; animation: spin 70s linear infinite; }
.ritual-circle svg { width: 100%; height: 100%; }
.runering circle { fill: none; stroke: var(--teal); stroke-width: 1.6; }
.runering .rr-star { fill: none; stroke: var(--teal); stroke-width: 1; opacity: .5; }
.runering .rune path { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ritual, .detail { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: calc(56px + var(--safe-t)); }
.topbar { display: flex; align-items: center; gap: 10px; padding: 6px 12px; flex: none; }
.rbtn { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(#5a2aa0, #2e1260); border: 2.5px solid var(--ol); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 3px 0 #170635; color: var(--gold); }
.rbtn:active { transform: translateY(2px); }
.rbtn svg { width: 20px; height: 20px; }
.steps { flex: 1; display: flex; justify-content: center; gap: 10px; }
.steps i { width: 16px; height: 16px; transform: rotate(45deg); border-radius: 4px; background: #1a0a33; border: 2.5px solid #6b4aa0; }
.steps i.on { background: radial-gradient(circle at 35% 30%, #fff, var(--gold) 40%, #b15b08); border-color: var(--ol); }
.steps i.cur { background: radial-gradient(circle at 35% 30%, #fff, var(--teal) 40%, #0d7f86); border-color: var(--ol); box-shadow: 0 0 12px var(--teal); }
.rleft { font: 13px/1 var(--fd); color: var(--cream); flex: none; }
.r-scroll { flex: 1; overflow-y: auto; padding: 4px 16px calc(24px + var(--safe-b)); scrollbar-width: none; }
.r-title { text-align: center; margin: 4px 0 14px; }
.r-title p { margin: 6px 0 0; font-size: 13px; color: var(--mute); }
.tarots { display: flex; justify-content: center; gap: 10px; margin-top: 10px; perspective: 800px; }
.tarot { position: relative; flex: 1; max-width: 118px; aspect-ratio: .6; padding: 5px; border-radius: 60px 60px 14px 14px / 46px 46px 14px 14px; background: linear-gradient(#fff1a8, #f29e1d 60%, #b15b08); border: 3px solid var(--ol); box-shadow: 0 6px 0 #6b2f00, 0 14px 24px rgba(0, 0, 0, .5); animation: dealIn .6s cubic-bezier(.3, 1.4, .5, 1) both; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .3s; }
.tr-in { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; padding: 8px 4px 10px; overflow: hidden; border-radius: 54px 54px 10px 10px / 40px 40px 10px 10px; background: radial-gradient(circle at 50% 34%, #8a4ae6, #2a1060 72%); border: 2px solid var(--ol); }
.k-trip .tr-in { background: radial-gradient(circle at 50% 34%, #22c7bf, #0b3a5a 72%); }
.k-cave .tr-in { background: radial-gradient(circle at 50% 34%, #e04a8a, #4a0d33 72%); }
.tr-in::before { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 36%, rgba(255, 255, 255, .1) 0 9deg, transparent 9deg 22deg); animation: spin 26s linear infinite; }
.tr-art { position: relative; flex: 1; display: grid; place-items: center; width: 100%; }
.tr-art img { width: 92%; height: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); animation: float 3s ease-in-out infinite; }
.tarot b { position: relative; font: 19px/1.1 var(--fd); font-weight: 400; color: #fff; text-shadow: 0 2px 0 var(--ol); }
.tarot small { position: relative; margin-top: 4px; font-size: 11px; line-height: 1.35; color: #eadcff; }
.tr-tag { position: absolute; top: -10px; right: -8px; z-index: 2; padding: 3px 8px; border-radius: 10px; background: linear-gradient(#c9fff8, #2fd0c8); border: 2px solid var(--ol); font: 12px/1 var(--fd); font-style: normal; color: var(--ol); transform: rotate(8deg); }
.tarot:active { transform: translateY(4px); }
.tarot.picked { z-index: 2; transform: translateY(-16px) scale(1.12) rotateY(360deg); box-shadow: 0 0 34px rgba(255, 210, 100, .95), 0 6px 0 #6b2f00; transition: transform .55s, box-shadow .3s; }
.tarot.fade { opacity: 0; transform: translateY(40px) scale(.85); }
@keyframes dealIn { from { opacity: 0; transform: translateY(70px) rotate(-10deg) scale(.8); } }
.genie-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 12px; border-radius: 16px; background: rgba(10, 4, 30, .65); border: 1.5px solid rgba(255, 216, 96, .3); font-size: 13px; color: #e8dcff; text-align: left; }
.genie-note .ghead { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #5a2aa0, #2a0f55); border: 2px solid var(--gold); }
.genie-note p { margin: 0; }
.genie-note b { color: var(--gold); }
.mirror { display: flex; justify-content: center; margin: 2px 0 14px; }
.mirror.nope { animation: nope .4s; }
@keyframes nope { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.mirror-frame { position: relative; width: 236px; }
.mirror-img { width: 100%; height: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .55)); }
.mirror-glass { position: absolute; left: 21%; top: 24%; width: 58%; height: 58%; overflow: hidden; border-radius: 50% 50% 42% 42% / 24% 24% 14% 14%; }
.mirror-swirl { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(79, 230, 218, .8), transparent, rgba(194, 120, 255, .8), transparent); filter: blur(14px); opacity: 0; mix-blend-mode: screen; transition: opacity .3s; }
.mirror.casting .mirror-swirl { opacity: 1; animation: spin .7s linear infinite; }
.mirror textarea { position: absolute; left: 6%; right: 6%; top: 18%; bottom: 8%; width: 88%; padding: 8px 6px; border: 0; border-radius: 14px; background: rgba(10, 4, 30, .35); color: #fff; font-size: 13px; line-height: 1.45; text-align: center; resize: none; outline: none; text-shadow: 0 1px 3px #000; }
.mirror textarea::placeholder { color: #e6dbff; opacity: .9; }
.mirror textarea:focus { background: rgba(10, 4, 30, .55); }
.spells { text-align: center; font-size: 12px; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.chip { padding: 7px 12px; border-radius: 14px; background: linear-gradient(#fbefcf, #e2c07c); border: 2px solid var(--ol); color: #5a3410; font: 15px/1 var(--fd); box-shadow: 0 3px 0 #7a4a1a; }
.chip:active { transform: translateY(2px); box-shadow: 0 1px 0 #7a4a1a; }
.appraise { margin-top: 18px; padding: 18px 14px 14px; border-radius: 22px; background: rgba(10, 4, 30, .65); border: 2px solid rgba(255, 216, 96, .35); }
.ap-card { display: flex; justify-content: center; }
.ap-form { display: grid; gap: 8px; margin: 14px 0; text-align: left; }
.ap-form label { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: linear-gradient(#fff3d2, #ecd29a); border: 2px solid var(--ol); color: #5a3410; }
.ap-form label span { flex: none; font: 15px/1 var(--fd); }
.ap-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: #3a1405; font-size: 15px; font-weight: 600; outline: none; }
.ap-form p { margin: 2px 0 0; font-size: 12px; color: var(--mute); }
.parch { margin: 4px 0 16px; }
.parch-rod, .ct-rod, .ds-rod { position: relative; z-index: 2; display: block; height: 18px; border-radius: 9px; background: linear-gradient(#f0c57a, #a0611e); border: 3px solid var(--ol); }
.parch-rod::before, .parch-rod::after, .ct-rod::before, .ct-rod::after { content: ''; position: absolute; top: -6px; width: 14px; height: 24px; border-radius: 6px; background: linear-gradient(#ffe887, #b15b08); border: 3px solid var(--ol); }
.parch-rod::before, .ct-rod::before { left: -12px; }
.parch-rod::after, .ct-rod::after { right: -12px; }
.parch-body { margin: -4px 6px; padding: 16px 14px 10px; background: linear-gradient(90deg, #e2c27f, #fbefcf 10%, #fbefcf 90%, #e2c27f); color: #4a2a0c; transform-origin: top; animation: unroll .7s cubic-bezier(.3, 1.2, .5, 1) both; }
@keyframes unroll { from { transform: scaleY(0); opacity: 0; } }
.parch.rollup .parch-body { animation: rollup .4s ease-in forwards; }
@keyframes rollup { to { transform: scaleY(0); opacity: 0; } }
.parch-item { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1.5px dashed rgba(90, 52, 16, .35); text-align: left; }
.item-art.sm { width: 48px; flex: none; }
.item-art.sm .ia-em { font-size: 30px; }
.item-art.sm .ia-img { width: 100%; }
.item-art.sm .ia-glow { display: none; }
.parch-item b { display: block; font: 16px/1.25 var(--fd); font-weight: 400; }
.parch-item small { font-size: 12px; color: #8a5a2a; }
.parch textarea { width: 100%; min-height: 108px; margin-top: 10px; border: 0; background: transparent; resize: none; outline: none; font: 21px/1.5 var(--fh); color: #3a1405; }
.parch textarea::placeholder { color: rgba(90, 52, 16, .5); font-size: 18px; }
.parch-cnt { text-align: right; font-size: 11px; color: #8a5a2a; }
.opt { margin-bottom: 14px; text-align: left; }
.opt > span { display: block; margin-bottom: 8px; font: 16px/1 var(--fd); color: var(--cream); text-shadow: 0 2px 0 var(--ol); }
.tokens { display: flex; flex-wrap: wrap; gap: 8px; }
.tok { padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .18); font-size: 13px; color: #e8dcff; transition: .15s; }
.tok.on { background: linear-gradient(#c9fff8, #2fd0c8); color: var(--ol); border-color: var(--ol); box-shadow: 0 3px 0 #075056; font-weight: 600; }
.seal-arena { position: relative; height: 390px; margin-top: 2px; }
.drag-scroll { position: absolute; left: 50%; top: 6px; z-index: 4; width: 172px; margin-left: -86px; touch-action: none; cursor: grab; animation: float 2.6s ease-in-out infinite; }
.drag-scroll img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.drag-scroll.dragging { animation: none; cursor: grabbing; }
.drag-scroll.dragging img { filter: drop-shadow(0 0 18px rgba(255, 220, 120, .95)); }
.ds-tag { display: block; margin-top: 2px; text-align: center; font: 14px/1 var(--fd); color: var(--cream); text-shadow: 0 2px 0 var(--ol); }
.seal-path { position: absolute; left: 50%; top: 104px; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateX(-50%); }
.seal-path i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); opacity: .25; animation: pathDot 1.2s infinite; }
.seal-path i:nth-child(2) { animation-delay: .15s; }
.seal-path i:nth-child(3) { animation-delay: .3s; }
.seal-path i:nth-child(4) { animation-delay: .45s; }
@keyframes pathDot { 30% { opacity: 1; transform: scale(1.4); box-shadow: 0 0 10px var(--gold); } }
.seal-lamp { position: absolute; left: 50%; bottom: 112px; z-index: 2; width: 200px; margin-left: -100px; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.seal-lamp .lamp { position: relative; width: 100%; height: auto; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
.seal-lamp .lamp-glow { opacity: calc(.3 + var(--p, 0) * .7); }
.seal-lamp.hungry { transform: scale(1.12); }
.seal-lamp.hungry .lamp-glow { opacity: 1; }
.seal-lamp.gulp .lamp { animation: gulp .5s; }
@keyframes gulp { 30% { transform: scale(1.18, .86); } 60% { transform: scale(.94, 1.08); } }
.seal-cushion { position: absolute; left: 50%; bottom: 0; width: 230px; margin-left: -115px; }
.seal-cushion img { width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.r-hint { margin: 6px 0 10px; text-align: center; color: var(--cream); font-size: 14px; }
.r-hint b { color: var(--gold); }
.rise-lantern { position: fixed; z-index: 62; width: 60px; pointer-events: none; filter: drop-shadow(0 0 14px rgba(255, 200, 90, .9)); }
.rise-lantern img { width: 100%; height: auto; }

/* ================= 愿望之海 ================= */
.sea { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: calc(58px + var(--safe-t)); padding-bottom: calc(104px + var(--safe-b)); }
.sea-top { flex: none; text-align: center; }
.sea-sub { margin: 10px 0 8px; font-size: 13px; color: var(--cream); text-shadow: 0 2px 4px #000; }
.sea-sub b { font: 17px var(--fd); color: var(--gold); }
.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 16px; background: rgba(10, 4, 30, .7); border: 2px solid var(--ol); }
.tab { padding: 6px 10px; border-radius: 12px; font: 14px/1 var(--fd); color: #c9b8f0; white-space: nowrap; }
.tab.on { background: linear-gradient(#ffe887, #f29e1d); color: var(--goldink); box-shadow: 0 2px 0 #8a3d00; }
.lanterns { position: relative; flex: 1; }
.lan { position: absolute; width: calc(60px * var(--s)); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.lan-bob { position: relative; display: block; width: 100%; animation: bob var(--d) ease-in-out var(--dl) infinite; }
.lan-bob img.fanous { width: 100%; height: auto; filter: drop-shadow(0 0 14px var(--glass, #ffd76b)); }
.lan-bob .lan-art { position: absolute; left: 50%; top: 54%; width: 50%; transform: translate(-50%, -50%); }
.lan-bob .lan-art .ia-glow { display: none; }
.lan-bob .lan-art .ia-img { width: 100%; filter: drop-shadow(0 0 6px rgba(255, 240, 200, .9)); }
.lan-em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); font-size: calc(28px * var(--s)); line-height: 1; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
.lan-refl { width: 70%; height: calc(14px * var(--s)); margin-top: 4px; border-radius: 50%; background: radial-gradient(closest-side, var(--glass), transparent); opacity: .5; filter: blur(2px); }
.lan-lb { margin-top: 2px; padding: 1px 8px; border-radius: 10px; background: rgba(10, 4, 30, .72); font-size: 11px; color: var(--cream); white-space: nowrap; }
.lan-lock { position: absolute; top: -6px; right: -20px; padding: 2px 6px; border-radius: 8px; background: var(--teal); border: 2px solid var(--ol); color: var(--ol); font: 11px/1.1 var(--fd); transform: rotate(10deg); white-space: nowrap; }
.lan.st-claimed .lan-bob img.fanous { filter: saturate(.4) brightness(.75); }
.lan.caught { z-index: 5; animation: caught .52s ease-in forwards; }
@keyframes caught { to { transform: translate(-50%, -80%) scale(1.9); opacity: 0; } }
.lan.hooked .lan-bob { animation: hooked .65s ease-in-out; }
@keyframes hooked { 30% { transform: translateY(-16px) rotate(-10deg); } 60% { transform: translateY(-8px) rotate(10deg); } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(2deg); } }
.sea-empty { position: absolute; top: 40%; width: 100%; text-align: center; color: var(--mute); }
.sea-bottom { flex: none; display: flex; gap: 10px; padding: 0 16px 14px; }
.questm .qm-card, .sm-card, .tm-card, .giftm-card, .dr-card { display: flex; justify-content: center; }
.qm-card { margin: 6px 0 10px; }
.qm-owner { display: flex; align-items: center; gap: 10px; text-align: left; }
.qm-owner small, .d-owner small, .dr-to small, .giftm-from small { display: block; font-size: 12px; color: var(--mute); }
.qm-story { margin: 10px 0; padding: 12px 14px; border-radius: 14px; background: linear-gradient(#fff3d2, #ecd29a); border: 2px solid var(--ol); color: #3a1405; font: 18px/1.5 var(--fh); text-align: left; }
.qm-reward { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--mute); }
.qm-reward b { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 12px; background: rgba(255, 216, 96, .14); color: var(--gold); font: 14px/1 var(--fd); font-weight: 400; }
.qm-reward img { width: 18px; height: 18px; object-fit: contain; }
.m-board .mw-box { text-align: left; }
.bm-k { text-align: center; }
.bm-sub { margin: 10px 0 12px; text-align: center; font-size: 12px; color: var(--mute); }

/* ================= 详情 ================= */
.d-status { flex: 1; text-align: center; font: 18px/1 var(--fd); text-shadow: 0 2px 0 var(--ol); }
.d-scroll { flex: 1; overflow-y: auto; padding: 8px 16px 16px; scrollbar-width: none; }
.d-card { display: flex; justify-content: center; margin: 12px 0 8px; }
.d-timer { margin: 0 0 10px; text-align: center; font-size: 13px; color: var(--cream); }
.d-timer b { font: 19px var(--fd); color: var(--teal); letter-spacing: 1px; font-weight: 400; }
.d-owner { display: flex; align-items: center; gap: 10px; text-align: left; }
.d-story { margin: 14px 0; }
.d-story p { margin: -3px 8px; padding: 14px 16px; background: linear-gradient(90deg, #e2c27f, #fbefcf 10%, #fbefcf 90%, #e2c27f); color: #3a1405; font: 20px/1.55 var(--fh); text-align: left; }
.journey { margin: 14px 0 8px; padding: 12px 14px; border-radius: 18px; background: rgba(10, 4, 30, .65); border: 2px solid rgba(255, 216, 96, .3); }
.jn { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; opacity: .45; text-align: left; }
.jn + .jn::before { content: ''; position: absolute; left: 22px; top: -11px; height: 18px; border-left: 3px dotted rgba(255, 255, 255, .3); }
.jn.done, .jn.cur { opacity: 1; }
.jn.done + .jn::before { border-left: 3px solid var(--gold); }
.jn-ic { width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; padding: 7px; border-radius: 50%; background: #1a0a33; border: 3px solid #4a3470; }
.jn-ic img { width: 100%; height: 100%; object-fit: contain; }
.jn.done .jn-ic { background: radial-gradient(circle at 50% 35%, #5a2aa0, #2a0f55); border-color: var(--gold); box-shadow: 0 0 12px rgba(255, 210, 100, .45); }
.jn.cur .jn-ic { border-color: var(--teal); box-shadow: 0 0 14px var(--teal); animation: breath 1.4s infinite; }
.jn-tx b { display: block; font: 16px/1.25 var(--fd); font-weight: 400; }
.jn-tx small { font-size: 12px; color: var(--mute); }
.d-note { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: 12px; line-height: 1.6; color: var(--mute); text-align: left; }
.d-actions { flex: none; display: flex; gap: 10px; padding: 10px 16px calc(14px + var(--safe-b)); background: linear-gradient(180deg, rgba(20, 8, 48, 0), rgba(20, 8, 48, .96) 30%); }
.d-empty { margin-top: 30vh; text-align: center; color: var(--mute); }
.d-empty .btn { margin-top: 16px; }

/* ================= 宝藏洞穴 ================= */
.cave-door .door-open { opacity: 0; transition: opacity 1.1s .25s; }
.cave-door.opening .door-open { opacity: 1; }
.door-runes-pos { position: absolute; left: 50%; top: 62.4%; width: 38.6%; transform: translate(-50%, -50%); filter: drop-shadow(0 0 calc(var(--hp, 0) * 16px) rgba(79, 230, 218, .95)); transition: opacity .4s; }
.door-runes-pos svg { width: 100%; height: auto; }
.cave-door.opening .door-runes-pos { opacity: 0; }
.door-runes circle, .door-runes .rr-star { stroke: rgba(79, 230, 218, calc(var(--hp, 0) * .8)); }
.door-runes .rune path { stroke: rgba(201, 255, 248, .18); stroke-width: 2.2; transition: stroke .2s; }
.door-runes .rune.lit path { stroke: #c9fff8; }
.cave-gate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(64px + var(--safe-t)) 18px calc(116px + var(--safe-b)); }
.cg-top { text-align: center; }
.cg-top p { margin: 10px 0 0; font-size: 13px; color: var(--cream); text-shadow: 0 2px 4px #000; }
.cg-tip { margin: 10px 0 0; text-align: center; font-size: 12px; color: #d8c8f5; text-shadow: 0 1px 3px #000; }
.cave-in { position: absolute; inset: 0; overflow-y: auto; padding: calc(62px + var(--safe-t)) 14px calc(96px + var(--safe-b)); scrollbar-width: none; }
.ci-top { margin-bottom: 18px; text-align: center; }
.ci-top p { margin: 10px 0 0; font-size: 12px; color: var(--cream); text-shadow: 0 1px 3px #000; }
.treasures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.treasure { position: relative; display: flex; flex-direction: column; align-items: center; padding: 12px 10px 12px; border-radius: 20px; background: linear-gradient(180deg, rgba(58, 26, 90, .94), rgba(28, 10, 44, .96)); border: 3px solid var(--rc); box-shadow: 0 0 0 2.5px var(--ol), 0 0 18px var(--rcg), 0 8px 16px rgba(0, 0, 0, .5); animation: dealIn .55s cubic-bezier(.3, 1.4, .5, 1) both; }
.treasure:active { transform: scale(.97); }
.tr-show { position: relative; width: 100%; height: 92px; display: grid; place-items: center; }
.tr-show .item-art { position: relative; z-index: 1; width: 78px; }
.tr-show .ia-em { font-size: 46px; animation: float 3s ease-in-out infinite; }
.tr-pile { position: absolute; left: 50%; bottom: 2px; width: 108px; height: 24px; margin-left: -54px; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #fff3b0, #f2a321 50%, #8a4a06); border: 2px solid var(--ol); }
.treasure b { margin-top: 8px; min-height: 38px; font: 15px/1.25 var(--fd); font-weight: 400; text-align: center; }
.tr-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.tr-meta i { font-style: normal; font-size: 11px; padding: 0 6px; border-radius: 8px; background: var(--rc); color: #fff; }
.tr-meta em { font: 18px/1 var(--fd); font-style: normal; color: var(--gold); }
.tr-direct { position: absolute; top: -10px; right: 10px; z-index: 2; padding: 3px 8px; border-radius: 10px; background: linear-gradient(#c9fff8, #2fd0c8); border: 2px solid var(--ol); color: var(--ol); font: 12px/1 var(--fd); }
.tm-shop { margin: 6px 0 0; font-size: 12px; color: var(--mute); }
.tm-why { margin: 12px 0 14px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 13px; line-height: 1.6; text-align: left; color: #e8dcff; }
.tm-why b { display: block; margin-bottom: 4px; font: 15px var(--fd); font-weight: 400; color: var(--teal); }

/* ================= 灯神殿 ================= */
.hall { position: absolute; inset: 0; overflow-y: auto; padding: calc(58px + var(--safe-t)) 14px calc(96px + var(--safe-b)); scrollbar-width: none; }
.showcase { position: relative; height: 236px; display: flex; justify-content: center; }
.sc-genie { position: relative; z-index: 1; width: 128px; margin-left: -10px; cursor: pointer; }

.sc-dais { position: absolute; left: 50%; bottom: 6px; width: 190px; height: 36px; margin-left: -95px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 220, 140, .55), rgba(255, 180, 80, .15) 60%, transparent); }
.plate { position: relative; z-index: 2; margin-top: -4px; padding: 14px 14px 12px; border-radius: 20px; background: linear-gradient(180deg, rgba(62, 28, 116, .95), rgba(30, 12, 64, .95)); border: 3px solid var(--gold); box-shadow: 0 0 0 3px var(--ol); text-align: center; }
.pl-name { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pl-lv { padding: 3px 8px; border-radius: 10px; background: linear-gradient(#c9fff8, #2fd0c8); border: 2px solid var(--ol); color: var(--ol); font: 13px/1 var(--fd); white-space: nowrap; }
.xpbar { position: relative; height: 20px; margin: 10px 0 4px; overflow: hidden; border-radius: 10px; background: #12062a; border: 2.5px solid var(--ol); }
.xpbar i { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px), linear-gradient(#c9fff8, #2fd0c8); background-size: 17px 17px, 100% 100%; animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 17px 0, 0 0; } }
.xpbar em { position: absolute; inset: 0; font: 12px/15px var(--fd); color: #fff; font-style: normal; text-shadow: 0 1px 0 #000, 0 0 3px #000; }
.pl-next { margin: 4px 0 6px; font-size: 12px; color: var(--mute); }
.pl-next b { color: var(--gold); }
.evo-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; font: 12px/1.4 var(--fd); color: #6b5a8a; }
.evo-line span.on { color: var(--gold); }
.evo-line i { font-style: normal; opacity: .5; }
.ring-slots { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed rgba(255, 255, 255, .12); }
.ring-slots i, .ringm-slots i { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 50%; background: #12062a; border: 2.5px solid #4a3470; }
.ring-slots i img, .ringm-slots i img { width: 100%; height: 100%; object-fit: contain; opacity: .22; filter: grayscale(1); }
.ring-slots i.on, .ringm-slots i.on { border-color: var(--gold); box-shadow: 0 0 12px rgba(255, 210, 100, .6); }
.ring-slots i.on img, .ringm-slots i.on img { opacity: 1; filter: none; }
.ring-slots span { margin-left: 6px; text-align: left; font: 15px/1.25 var(--fd); }
.ring-slots span b { color: var(--gold); font-weight: 400; }
.ring-slots span small { display: block; font: 11px/1.35 var(--fb); color: var(--mute); }
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.stats4 div { padding: 10px 4px; border-radius: 14px; background: rgba(10, 4, 30, .72); border: 2px solid rgba(255, 216, 96, .25); text-align: center; }
.stats4 b { display: block; font: 22px/1 var(--fd); font-weight: 400; color: var(--gold); }
.stats4 span { font-size: 11px; color: var(--mute); }
.htabs { display: flex; gap: 2px; overflow-x: auto; padding: 3px; border-radius: 16px; background: rgba(10, 4, 30, .78); border: 2px solid var(--ol); scrollbar-width: none; }
.htab { flex: 1; padding: 8px 6px; border-radius: 12px; font: 14px/1 var(--fd); color: #c9b8f0; white-space: nowrap; }
.htab.on { background: linear-gradient(#ffe887, #f29e1d); color: var(--goldink); box-shadow: 0 2px 0 #8a3d00; }
.hpanel { margin-top: 12px; }
.dex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; padding-top: 10px; }
.dex-add { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 3 / 3.5; margin-top: 6px; border-radius: 50% 50% 14px 14px / 32% 32% 14px 14px; border: 3px dashed rgba(255, 216, 96, .5); color: var(--gold); }
.dex-add b { font: 36px/1 var(--fd); font-weight: 400; }
.dex-add span { font: 13px var(--fd); }
.free-bar { display: block; width: 100%; margin-bottom: 12px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(90deg, rgba(79, 230, 218, .28), rgba(79, 230, 218, .08)); border: 2px solid var(--teal); font-size: 13px; color: #d9fffa; text-align: left; }
.free-bar b { display: block; font: 15px var(--fd); font-weight: 400; color: var(--teal); }
.oath-slots { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 14px var(--fd); color: var(--cream); }
.oath-slots i { width: 14px; height: 14px; transform: rotate(45deg); border-radius: 3px; background: #1a0a33; border: 2px solid #6b4aa0; }
.oath-slots i.on { background: var(--teal); border-color: var(--ol); }
.medals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.medal { display: flex; flex-direction: column; align-items: center; padding: 12px 8px; border-radius: 16px; background: rgba(10, 4, 30, .72); border: 2px solid rgba(255, 255, 255, .1); text-align: center; opacity: .5; filter: grayscale(1); }
.medal.on { opacity: 1; filter: none; border-color: var(--gold); box-shadow: 0 0 14px rgba(255, 210, 100, .3); }
.md-ic { width: 56px; height: 56px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff1b8, #f5a623 60%, #b15b08); border: 3px solid var(--ol); box-shadow: 0 4px 0 #6b2f00; }
.md-ic .badge-img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.medal b { font: 15px/1.2 var(--fd); font-weight: 400; }
.medal small { margin-top: 2px; font-size: 11px; color: var(--mute); }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding-top: 32px; }
.pd { display: flex; flex-direction: column; align-items: center; width: 31%; }
.pd-ava { position: relative; }
.pd-ava .ava { width: 52px; height: 52px; }
.pd-ava .ava i { font-size: 28px; }
.pd.p1 .pd-ava .ava { width: 64px; height: 64px; }
.crown { position: absolute; top: -26px; left: 50%; transform: translateX(-50%) rotate(-8deg); font-style: normal; font-size: 26px; }
.pd b { margin-top: 6px; font: 15px/1.2 var(--fd); font-weight: 400; }
.pd.me b { color: var(--teal); }
.pd small { font-size: 11px; color: var(--mute); }
.pd-col { width: 100%; margin-top: 8px; display: grid; place-items: center; border-radius: 12px 12px 0 0; border: 3px solid var(--ol); border-bottom: 0; font: 30px/1 var(--fd); color: #fff; text-shadow: 0 2px 0 var(--ol); }
.p1 .pd-col { height: 88px; background: linear-gradient(#ffe887, #f29e1d); }
.p2 .pd-col { height: 64px; background: linear-gradient(#e6ecff, #9aa8d8); }
.p3 .pd-col { height: 50px; background: linear-gradient(#ffc69a, #c46a2e); }
.rank-list { padding: 4px 10px; border-radius: 0 0 16px 16px; background: rgba(10, 4, 30, .72); border: 2px solid rgba(255, 216, 96, .25); }
.rk { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.rk:last-child { border: 0; }
.rk-n { width: 22px; text-align: center; font: 16px var(--fd); color: var(--mute); }
.rk b { flex: 1; font-weight: 500; }
.rk.me b { color: var(--teal); }
.rk em { font: 18px var(--fd); font-style: normal; color: var(--gold); }
.h-tip { margin: 12px 0; text-align: center; font-size: 12px; color: var(--mute); }
.h-empty { padding: 24px 0; text-align: center; color: var(--mute); }
.h-empty .btn { margin-top: 12px; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; padding: 12px 14px; border-radius: 16px; background: rgba(10, 4, 30, .72); border: 2px solid rgba(255, 255, 255, .08); text-align: left; }
.setting b { display: block; }
.setting small { font-size: 12px; color: var(--mute); }
.switch { position: relative; width: 54px; height: 30px; flex: none; border-radius: 15px; background: #2a1a44; border: 2.5px solid var(--ol); }
.switch i { position: absolute; left: 2px; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: linear-gradient(#fff, #cfc2e6); transition: .25s cubic-bezier(.3, 1.5, .5, 1); }
.switch.on { background: linear-gradient(#c9fff8, #2fd0c8); }
.switch.on i { left: 26px; }
.confirm p { margin: 10px 0 4px; color: #e8dcff; font-size: 14px; }

/* ================= 动作弹窗 ================= */
/* 立约 */
.contract { position: relative; margin: 8px 6px 16px; --hp: 0; }
.ct-body { position: relative; margin: -4px 8px; padding: 18px 18px 24px; background: linear-gradient(90deg, #e2c27f, #fbefcf 10%, #fbefcf 90%, #e2c27f); color: #3a1405; font: 15px/1.7 var(--fb); text-align: left; }
.ct-body h3 { margin: 0 0 8px; font: 28px/1 var(--fh); font-weight: 400; letter-spacing: 6px; text-align: center; color: #7a1f0c; }
.ct-body p { margin: 0 0 6px; }
.ct-body b { color: #8a1a3a; }
.ct-rule { font-size: 12px; color: #7a5a3a; }
.ct-sign { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.ct-sign span { font-size: 12px; color: #7a5a3a; }
.ct-sign em { padding: 0 12px 2px; border-bottom: 1.5px solid rgba(58, 20, 5, .4); font: 28px/1 var(--fh); font-style: normal; }
.ct-mark { position: absolute; right: 12px; bottom: 12px; width: 92px; opacity: 0; transform: scale(1.8) rotate(-30deg); }
.ct-mark img { width: 100%; height: auto; }
.contract.marked .ct-mark { opacity: .93; transform: rotate(-12deg); transition: transform .18s cubic-bezier(.5, 0, .7, 1.6), opacity .1s; }
.ct-target { position: absolute; right: 16px; bottom: 16px; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; border: 2.5px dashed rgba(160, 30, 60, .45); color: rgba(160, 30, 60, .6); font: 15px var(--fh); transition: opacity .2s; }
.contract.marked .ct-target { opacity: 0; }
.stamper { position: absolute; right: 34px; bottom: 44px; z-index: 3; width: 48px; pointer-events: none; opacity: min(1, calc(var(--hp) * 6)); transform: translateY(calc(-30px - var(--hp) * 46px)) rotate(calc(var(--hp) * -10deg)); transition: transform .1s, opacity .15s; }
.stamper-img { width: 100%; height: auto; filter: drop-shadow(0 calc(var(--hp) * 16px) calc(var(--hp) * 20px) rgba(255, 90, 120, .6)); }
.contract.slam .stamper { opacity: 1; transform: translateY(8px) scale(1, .9); transition: transform .14s cubic-bezier(.6, 0, 1, 1); }
.contract.marked .stamper { transform: translateY(-100px) rotate(10deg); opacity: 0; transition: transform .5s .2s, opacity .4s .3s; }
.m-oath .btn.hold { margin-top: 4px; }
/* 签收 */
.rubm p { margin: 8px 0 0; font-size: 14px; color: #e8dcff; }
.rubm-lamp { position: relative; width: 220px; margin: 34px auto 12px; touch-action: none; cursor: grab; transition: transform .1s; }
.rubm-lamp .lamp { position: relative; width: 100%; height: auto; }
.meter { height: 14px; margin: 6px 22px 4px; overflow: hidden; border-radius: 8px; background: #12062a; border: 2.5px solid var(--ol); }
.meter i { display: block; width: 0; height: 100%; background: linear-gradient(#c9fff8, #2fd0c8); }
.giftm-stage { position: relative; height: 300px; display: grid; place-items: center; }
.giftm-box { width: 176px; cursor: pointer; --crack: 0; animation: giftIdle 1.6s ease-in-out infinite; }
.giftm-box img { width: 100%; height: auto; filter: drop-shadow(0 0 calc(var(--crack) * 28px) rgba(255, 232, 150, .95)) drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.giftm-box.hit { animation: giftHit .32s; }
@keyframes giftIdle { 50% { transform: translateY(-6px) rotate(-2deg); } }
@keyframes giftHit { 30% { transform: scale(1.18, .82); } 60% { transform: scale(.92, 1.1) translateY(-14px); } }
.opened .giftm-box { animation: giftGone .6s forwards; }
.opened .giftm-box @keyframes giftGone { 40% { opacity: 1; transform: scale(1.1); } to { opacity: 0; transform: scale(.4) translateY(60px); } }
.giftm-card { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.3) translateY(40px); pointer-events: none; }
.opened .giftm-card { opacity: 1; transform: none; transition: transform .65s .15s cubic-bezier(.3, 1.5, .5, 1), opacity .3s .15s; }
.giftm-taps { display: flex; justify-content: center; gap: 10px; }
.giftm-taps i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 2px solid var(--ol); }
.giftm-taps i.on { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.opened .giftm-taps { display: none; }
.giftm-hint { margin: 10px 0; font: 21px/1 var(--fd); color: #fff6d0; text-shadow: 0 2px 0 var(--ol); }
.giftm-from { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; padding: 10px 12px; border-radius: 16px; background: rgba(20, 8, 48, .88); border: 2px solid rgba(255, 216, 96, .4); text-align: left; font-size: 13px; }
.giftm-from q { display: block; margin-top: 2px; font: 17px/1.4 var(--fh); color: var(--gold); }
.giftm-from[hidden], #sign[hidden] { display: none; }
.sm-card { margin: 8px 0; }
.sm-d, .ringm-d, .evo-d { margin: 8px 0; font-size: 14px; color: var(--cream); text-shadow: 0 2px 4px #000; }
/* 释放灯神 */
.freem-d { margin: 8px 0 0; font-size: 14px; color: #e8dcff; }
.freem-d b { color: var(--teal); }
.freem-stage { position: relative; height: 236px; display: flex; justify-content: center; --hp: 0; }
.freem-genie { position: relative; width: 118px; transition: transform 1.1s cubic-bezier(.5, 0, .2, 1), opacity 1s; }

.freem-stage .band { filter: drop-shadow(0 0 calc(var(--hp) * 10px) #fff) brightness(calc(1 + var(--hp) * 1.2)); }
.freem-who { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); padding: 3px 10px; border-radius: 12px; background: rgba(20, 8, 48, .88); border: 2px solid var(--teal); font-size: 13px; white-space: nowrap; }
.freem-stage.away .freem-genie { transform: translate(40px, -460px) rotate(-20deg) scale(.6); opacity: 0; }
.freem-tip { margin: 8px 0 10px; font-size: 12px; color: var(--mute); }
.freem-tip b { color: var(--gold); }
.parch-input { width: 100%; margin-bottom: 12px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--ol); background: linear-gradient(#fff3d2, #ecd29a); color: #3a1405; font: 19px var(--fh); text-align: center; outline: none; }
/* 自由之戒 */
.ringm-d q { display: block; margin-top: 6px; font: 19px var(--fh); color: var(--gold); }
.ringm-stage { position: relative; height: 230px; display: flex; justify-content: center; }
.ringm-genie { width: 114px; }

.ringm-ring { position: absolute; left: 70%; top: 6%; width: 84px; margin-left: -42px; opacity: 0; transform: scale(.2); }
.ringm-ring img { width: 100%; height: auto; filter: drop-shadow(0 0 16px rgba(255, 220, 120, .95)); }
.ringm-ring.go { opacity: 1; transform: rotate(-12deg); transition: .6s cubic-bezier(.3, 1.6, .5, 1); animation: float 2.4s ease-in-out .6s infinite; }
.ringm-slots { display: flex; justify-content: center; gap: 10px; margin: 8px 0; }
.ringm-slots i { width: 46px; height: 46px; }
.ringm-slots i.new { border-color: var(--teal); box-shadow: 0 0 14px var(--teal); animation: breath 1s infinite; }
.ringm-slots i.new img { opacity: 1; filter: none; }
.ringm-tip { margin: 6px 0 14px; font-size: 13px; color: #e8dcff; }
.ringm-tip b { color: var(--teal); }
/* 进化 */
.evo-stage { position: relative; height: 260px; display: flex; justify-content: center; }
.evo-old, .evo-new { position: absolute; width: 124px; transition: .5s; }

.evo-old .g-img { filter: brightness(0) drop-shadow(0 0 14px #fff); }
.evo-old .band { display: none; }
.evo-new { opacity: 0; transform: scale(.4); }
.evo-stage.go .evo-old { opacity: 0; transform: scale(1.5); }
.evo-stage.go .evo-new { opacity: 1; transform: none; transition: .7s .1s cubic-bezier(.3, 1.6, .5, 1); }
/* 直连下单 */
.dr-sub { margin: 6px 0 10px; font-size: 13px; color: var(--mute); }
.dr-card { margin-bottom: 10px; }
.dr-to { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); text-align: left; font-size: 13px; }
.dr-verify { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; margin: 12px 0; font-size: 13px; color: #e8dcff; }
.dr-rune { width: 40px; height: 40px; opacity: .45; }
.dr-rune svg { width: 100%; height: 100%; }
.dr-verify.spin .dr-rune { opacity: 1; animation: spin 1.1s linear infinite; }
.dr-verify.ok .dr-rune { opacity: 1; filter: drop-shadow(0 0 8px var(--teal)); }
.dr-verify.ok b { color: var(--teal); }
.carpet-fly { position: absolute; left: 0; top: 0; z-index: 45; width: 170px; pointer-events: none; }
.carpet-fly .carpet { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); }
.cf-gift { width: 66px; margin: 0 auto -26px; }
.cf-gift img { width: 100%; height: auto; }
/* 传灯 */
.sh-head p { margin: 6px 0 14px; font-size: 13px; color: var(--mute); }
.share-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sopt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .12); }
.sopt b { font: 15px var(--fd); font-weight: 400; }
.sopt small { font-size: 11px; color: var(--mute); }
.so-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid var(--ol); color: #fff; }
.so-ic svg { width: 22px; height: 22px; }
.so-ic.v { background: linear-gradient(#ff7fb0, #c0185c); }
.so-ic.l { background: linear-gradient(#9cc3ff, #3a6fd8); }
.sh-sub { margin: 16px 0 8px; text-align: left; font: 15px var(--fd); color: var(--cream); }
.friends { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.fr { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.fr .ava { width: 50px; height: 50px; }
.fr .ava i { font-size: 28px; }
.fr .ck { position: absolute; top: -2px; right: 6px; display: none; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); border: 2px solid var(--ol); color: var(--ol); }
.fr .ck svg { width: 100%; height: 100%; }
.fr.on .ck { display: block; }
.fr.on .ava { box-shadow: 0 0 0 3px var(--teal); }
/* 模拟的抖音原生页（白底） */
.mw.light .mw-box { background: #f5f5f7; color: #161823; border: 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .4); padding: 14px 14px calc(14px + var(--safe-b)); text-align: left; }
.mw.light .mw-x { background: rgba(0, 0, 0, .45); border: 0; box-shadow: none; }
.mw.light .grab { background: #ccc; }
.proto-banner { margin: 0 40px 10px 0; padding: 6px 10px; border-radius: 8px; background: #fff6d6; color: #8a6d00; font-size: 11px; }
.dy-pic { height: 200px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(#fff, #eef0f5); font-size: 96px; }
.dy-pic .item-art { width: 190px; }
.dy-pic .ia-glow { display: none; }
.dy-price { margin-top: 10px; font-size: 28px; font-weight: 700; color: #fe2c55; }
.dy-price small { font-size: 16px; }
.dy-price em { margin-left: 8px; font-size: 12px; font-style: normal; font-weight: 400; color: #999; }
.dy-title { margin-top: 2px; font-size: 16px; font-weight: 600; }
.dy-shop { margin-top: 4px; font-size: 12px; color: #888; }
.dy-bar { display: flex; gap: 10px; margin-top: 16px; }
.dy-btn { flex: 1; height: 46px; border-radius: 23px; background: #fe2c55; color: #fff; font-size: 16px; font-weight: 600; }
.dy-btn.ghost { background: #fff; color: #161823; border: 1px solid #ddd; }
.dy-btn.block { display: block; width: 100%; margin-top: 12px; }
.dy-gift { margin-top: 14px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #eee; }
.dy-to { font-size: 15px; }
.dy-to b { color: #fe2c55; }
.dy-to small { margin-left: 6px; font-size: 12px; color: #999; }
.dy-input { width: 100%; margin: 10px 0 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid #e5e5e5; background: #fafafa; font-size: 14px; }
.dy-note { font-size: 12px; color: #999; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
