/* 每日运势：沿用原卡片堆，未抽取时按登录页的模糊背景处理。 */
.fortune-scene{position:relative;height:158px;margin:12px 0 14px;z-index:2}
.fortune-scene .fortune-stack{height:158px;margin:0;transition:filter .45s var(--ease),opacity .45s var(--ease),transform .45s var(--ease)}
.fortune-scene.is-locked .fortune-stack{filter:blur(7px);opacity:.62;transform:scale(1.015);pointer-events:none}
.fortune-gate{position:absolute;inset:0;display:grid;place-items:center;z-index:8;background:rgba(10,10,17,.08)}
.fortune-scene:not(.is-locked) .fortune-gate{display:none}
.fortune-gate button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 17px;border:0;border-radius:12px;background:#1b1d24;color:#fff;font:650 14px 'Plus Jakarta Sans',"Microsoft YaHei",sans-serif;box-shadow:0 12px 25px rgba(21,24,32,.27);cursor:pointer;transition:transform .18s,background .18s}
.fortune-gate button:hover{transform:translateY(-2px);background:#2a2d35}
.fortune-gate button:focus-visible{outline:2px solid #b9f86a;outline-offset:3px}
.fortune-gate button span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#b9f86a;color:#1b1d24;font-size:17px;line-height:1}
.fortune-gate button:disabled{opacity:.75;cursor:wait}
.fortune-stack .pcard{overflow:hidden;will-change:transform;transition:transform .17s cubic-bezier(.2,.75,.2,1),height .17s var(--ease),box-shadow .2s}
.fortune-stack .pcard[data-slot="0"]{transform:translateY(0);height:52px;z-index:1}
.fortune-stack .pcard[data-slot="1"]{transform:translateY(20px);height:52px;z-index:2}
.fortune-stack .pcard[data-slot="2"]{transform:translateY(40px);height:52px;z-index:3}
.fortune-stack .pcard[data-slot="3"]{transform:translateY(64px);height:88px;z-index:4;align-items:flex-start;justify-content:center;flex-direction:column;gap:6px;cursor:pointer}
.fortune-stack .pcard[data-slot="3"]:hover{transform:translateY(62px) scale(1.01);box-shadow:0 20px 40px rgba(0,0,0,.3)}
.fortune-stack .pcard[data-slot="3"]:focus-visible{outline:2px solid #fff;outline-offset:3px}
.fortune-stack.is-extracted .pcard[data-slot="3"]{visibility:hidden}
.fortune-stack .pcard .fortune-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;white-space:nowrap}
.fortune-stack .pcard .fortune-kicker{font-size:14px;opacity:.78;letter-spacing:.3px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}
.fortune-stack .pcard .fortune-name{font-size:17px;font-weight:700;letter-spacing:.2px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.fortune-stack .pcard .fortune-desc{font-size:14px;font-weight:600;line-height:1.35;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.fortune-stack .pcard .fortune-detail{display:none}
.fortune-stack .pcard[data-slot="3"] .no{display:none}
.fortune-stack .pcard[data-slot="3"] .fortune-detail{display:inline;font-size:14px;opacity:.8}
.fortune-stack .pcard:not([data-slot="3"]) .fortune-name,.fortune-stack .pcard:not([data-slot="3"]) .fortune-desc{display:none}
.fortune-stack .pcard .no{font-size:14px}
.fortune-stack .pcard.c4{padding:0 12px;border-radius:16px;flex-direction:row;align-items:center;justify-content:space-between;gap:0}
.fortune-stack .pcard.c4[data-slot="3"]{padding:0 16px;border-radius:20px;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px}
.fortune-stack.is-drawing .pcard{box-shadow:0 18px 36px rgba(0,0,0,.28)}
.fortune-stack.is-drawing .pcard[data-slot="3"]{transform:translateY(64px) scale(1.025)}
.sidehead h3 #fortuneDate{font-size:14px}
.fortune-scrim{position:fixed;inset:0;z-index:80;background:rgba(4,5,10,.6);opacity:0;pointer-events:none;transition:opacity .45s var(--ease);backdrop-filter:blur(5px)}
.fortune-scrim.is-open{opacity:1;pointer-events:auto}
.fortune-expanded{position:fixed;z-index:81;box-sizing:border-box;overflow:hidden;padding:0;border-radius:20px;background:linear-gradient(135deg,rgba(186,172,240,.98),rgba(140,124,214,.97));color:#fff;box-shadow:0 24px 70px rgba(25,16,61,.45);transition:left .65s var(--ease),top .65s var(--ease),width .65s var(--ease),height .65s var(--ease),border-radius .65s var(--ease)}
.fortune-expanded[hidden]{display:none}
.fortune-expanded-inner{height:100%;overflow:auto;padding:28px 30px;scrollbar-width:thin}
.fortune-expanded-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
.fortune-expanded-label{font-size:14px;letter-spacing:1px;font-weight:700;opacity:.85}
.fortune-expanded-close{width:34px;height:34px;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:rgba(255,255,255,.13);color:#fff;font-size:23px;line-height:1;cursor:pointer;opacity:0;pointer-events:none}
.fortune-expanded.is-revealed .fortune-expanded-close{opacity:1;pointer-events:auto}
.fortune-expanded h2{font-size:30px;line-height:1.2;margin:0 0 8px}
.fortune-expanded-summary{font-size:15px;line-height:1.65;margin:0 0 15px;max-width:50ch}
.fortune-expanded-details{opacity:0;transform:translateY(12px);transition:opacity .3s var(--ease),transform .3s var(--ease)}
.fortune-expanded.is-revealed .fortune-expanded-details{opacity:1;transform:none}
.fortune-expanded-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fortune-expanded-item{padding:11px 12px;border:1px solid rgba(255,255,255,.26);border-radius:14px;background:rgba(255,255,255,.11)}
.fortune-expanded-item b{display:block;font-size:14px;margin-bottom:3px}
.fortune-expanded-item span{font-size:14px;line-height:1.45}
.fortune-expanded-lucky{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.fortune-expanded-lucky span{padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.13);font-size:14px}
.fortune-expanded-action{margin:10px 0 0;padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.2);font-size:14px;line-height:1.5}
@media(max-width:560px){.fortune-expanded-inner{padding:22px}.fortune-expanded h2{font-size:25px}.fortune-expanded-grid{grid-template-columns:1fr}}
