/* css/hall.css — 魔法殿堂 */
.hl-root { overflow: visible; }
.hl-stage { position: absolute; left: 180px; top: 0; width: 420px; height: 456px; }
.hl-circle { position: absolute; left: 20px; top: 85px; width: 380px; height: 380px; object-fit: contain; opacity: .85; animation: hlSpin 60s linear infinite, hlGlow 5s ease-in-out infinite; pointer-events: none; }
.hl-ball { position: absolute; left: 50%; top: 38px; transform: translateX(-50%); width: 300px; height: 300px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.hl-ball img { position: absolute; left: 50%; top: 0; height: 300px; width: auto; transform: translateX(-50%); animation: hlFloat 4.4s ease-in-out infinite, hlPulse 3.6s ease-in-out infinite; pointer-events: none; }
.hl-ball.kfocus { box-shadow: 0 0 0 4px var(--gold), 0 0 24px rgba(255, 215, 150, .95); }
.hl-sweep { position: absolute; left: 50%; top: 18px; width: 230px; height: 230px; margin-left: -115px; border-radius: 50%; overflow: hidden; pointer-events: none; animation: hlFloat 4.4s ease-in-out infinite; }
.hl-sweep::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); animation: hlSweep 5s ease-in-out infinite; mix-blend-mode: screen; }
.hl-bubble { position: absolute; left: 50%; top: -2px; transform: translateX(-50%) scale(.6); max-width: 330px; min-width: 180px; padding: 10px 18px; border-radius: 22px; background: rgba(255, 250, 245, .96); border: 2px solid var(--gold); color: var(--plum);
  font-size: 19px; font-weight: 800; text-align: center; line-height: 1.35; opacity: 0; pointer-events: none; z-index: 3; box-shadow: 0 4px 12px rgba(91, 45, 99, .3); }
.hl-bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -8px; border: 8px solid transparent; border-top-color: var(--gold); border-bottom: 0; }
.hl-bubble.show { animation: hlBubble 4.2s both; }
.hl-ribbons { position: absolute; left: 20px; width: 380px; top: 318px; height: 90px; pointer-events: none; }
.hl-rib { position: absolute; width: 30px; transform-origin: 50% 0; transform: translateX(-50%) rotate(var(--r, 0deg)); animation: hlSway 3.2s ease-in-out var(--d, 0s) infinite alternate; filter: drop-shadow(0 2px 3px rgba(91, 45, 99, .35)); }
.hl-rib img { width: 100%; height: auto; display: block; }
.hl-rib.pop { animation: hlRibPop .8s cubic-bezier(.3, 1.8, .5, 1) both, hlSway 3.2s ease-in-out .8s infinite alternate; }
.hl-cap { position: absolute; left: -20px; right: -20px; top: 410px; text-align: center; font-size: 19px; font-weight: 800; color: var(--plum); text-shadow: 0 0 6px #fff, 0 0 10px #fff, 0 0 3px #fff; }
body.night .hl-cap { color: #fff; text-shadow: 0 0 8px #5b2d63, 0 0 3px #5b2d63, 0 1px 0 #5b2d63; }
.hl-plate { position: absolute; left: 2px; top: 0; width: 240px; padding: 8px 14px; border-radius: 22px; background: var(--glass); border: 2px solid rgba(233, 201, 138, .85); backdrop-filter: blur(6px); box-shadow: 0 4px 12px rgba(91, 45, 99, .2); }
.hl-greet { font-size: 19px; font-weight: 900; color: var(--plum); line-height: 1.25; }
.hl-date { font-size: 17px; font-weight: 700; color: var(--ink-soft); margin-top: 2px; }
.hl-moon { font-size: 18px; font-weight: 800; color: var(--plum); margin-top: 2px; }
.hl-msym { font-size: 22px; vertical-align: -2px; }
body.night .hl-greet, body.night .hl-moon { color: #fff3c9; }
body.night .hl-date { color: #e0d0f5; }
.hl-col { position: absolute; right: 2px; top: 22px; width: 244px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.hl-entry { width: 100%; min-height: 80px; flex-direction: column; gap: 2px; padding: 0 6px; }
.hl-et { font-size: 23px; font-weight: 900; }
.hl-es { font-size: 17px; font-weight: 700; opacity: .95; max-width: 100%; text-align: center; line-height: 1.2; }
.hl-streak { align-self: center; padding: 0 20px; cursor: default; }
.hl-in { animation: hlIn .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.hl-ball.hl-in { animation: hlInBall .6s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes hlIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes hlInBall { from { opacity: 0; transform: translateX(-50%) scale(.7); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes hlSpin { to { transform: rotate(360deg); } }
@keyframes hlGlow { 0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 190, 230, .5)); } 50% { filter: drop-shadow(0 0 22px rgba(255, 220, 150, .9)); } }
@keyframes hlFloat { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }
@keyframes hlPulse { 0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 170, 215, .6)); } 50% { filter: drop-shadow(0 0 24px rgba(255, 224, 150, .95)); } }
@keyframes hlSweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes hlSway { from { rotate: -4deg; } to { rotate: 5deg; } }
@keyframes hlRibPop { 0% { opacity: 0; scale: .2; translate: 0 -30px; } 100% { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes hlBubble { 0% { opacity: 0; transform: translateX(-50%) scale(.6); } 8% { opacity: 1; transform: translateX(-50%) scale(1.05); } 12%, 88% { opacity: 1; transform: translateX(-50%) scale(1); } 100% { opacity: 0; transform: translateX(-50%) scale(.95); } }
