:root {
  --pink: #ff3fa4;
  --hot: #ff2d6f;
  --teal: #3ff7e1;
  --cyan: #00e5ff;
  --purple: #8a2be2;
  --deep: #0a0216;
  --gold: #ffd34d;
  --cream: #fff6ea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: #f3e9ff;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><text y='22' font-size='22'>🔮</text></svg>") 6 6, auto;
}
a, button, summary, .orb { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><text y='22' font-size='22'>✨</text></svg>") 6 6, pointer; }

#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- taskbar ---------- */
.taskbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 4px 8px;
  background: linear-gradient(#7d6bd8, #4b3aa8);
  border-bottom: 2px solid #c9c0ff;
  font-family: "VT323", monospace; font-size: 20px; color: #fff;
}
.tb-clock, .tb-pill {
  background: #2a1f6e; border: 2px inset #9f95ff; padding: 0 10px; border-radius: 3px;
}
.tb-pill b { color: var(--gold); font-weight: normal; }
.tb-blink { color: #7dff9a; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: #000; color: var(--gold);
  border-block: 3px double var(--pink);
  font-family: "VT323", monospace; font-size: 22px;
}
.marquee-track { display: inline-block; padding: 4px 0; animation: scroll 40s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 640px; padding: 24px 16px 40px;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(255,63,164,.45), transparent 55%),
    radial-gradient(ellipse at 30% 30%, rgba(80,120,255,.35), transparent 50%),
    radial-gradient(ellipse at 75% 70%, rgba(150,40,200,.4), transparent 50%);
}
.brand { position: absolute; top: 18px; left: 24px; text-align: left; z-index: 3; }
.brand-the { font-family: "Cinzel", serif; font-size: 13px; letter-spacing: 2px; color: #fff; }
.brand-main {
  font-family: "Cinzel", serif; font-weight: 700; font-size: 46px; line-height: 1; color: #fff;
  text-shadow: 0 0 8px #fff, 0 0 20px #ffd9a8, 0 0 40px #ff9d5c;
}
.column { position: absolute; bottom: 0; width: 80px; height: 400px; z-index: 1; filter: drop-shadow(0 0 12px rgba(63,247,225,.5)); }
.col-left { left: 2%; }
.col-right { right: 2%; }

.hero-art { position: relative; max-width: 760px; margin: 70px auto 0; z-index: 2; }
.sparkle-ring { width: min(420px, 90vw); height: auto; display: block; margin: 0 auto; animation: float 5s ease-in-out infinite; }
.sparkle-ring .rays line { animation: twinkle 2.4s ease-in-out infinite; }
.meteor { filter: drop-shadow(0 0 14px #ff9ef0); }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes twinkle { 50% { opacity: .15; } }

.hero-title { margin: -230px 0 0; position: relative; font-weight: normal; pointer-events: none; }
.hero-small, .hero-big, .hero-tag { display: block; }
.hero-small {
  font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(26px, 5vw, 52px); letter-spacing: 6px; color: #fff;
  text-shadow: 0 0 10px #ff9ef0, 2px 2px 0 #000;
}
.hero-big {
  font-family: "Cinzel", serif; font-weight: 900; font-size: clamp(64px, 15vw, 168px); line-height: .95; color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 24px var(--pink), 0 0 60px var(--hot), 4px 6px 0 #2a0030;
}
.hero-tag {
  margin-top: 14px; font-family: Arial Black, Arial, sans-serif; font-weight: 900;
  font-size: clamp(11px, 2vw, 18px); letter-spacing: .35em; color: #fff; text-shadow: 2px 2px 0 #000;
}

/* starburst */
.starburst {
  position: absolute; top: 200px; left: 3%; z-index: 4;
  width: 230px; height: 200px; padding: 34px 26px 0 34px;
  background: #e1061d; color: #fff; text-decoration: none; text-align: left;
  clip-path: polygon(0 8%, 12% 0, 22% 10%, 38% 2%, 50% 12%, 66% 0, 74% 12%, 92% 4%, 88% 22%, 100% 32%, 88% 44%, 100% 58%, 86% 66%, 96% 84%, 76% 82%, 70% 100%, 56% 88%, 42% 100%, 32% 86%, 14% 96%, 14% 78%, 0 70%, 8% 54%, 0 40%, 10% 28%);
  transform: rotate(-8deg); animation: pulse 1.4s ease-in-out infinite;
  font-family: Arial, sans-serif;
}
.sb-new { display: block; font-family: "Times New Roman", serif; font-size: 30px; color: var(--gold); text-shadow: 2px 2px 0 #600; }
.sb-main { display: block; font-weight: 900; font-size: 20px; line-height: 1.1; }
.sb-sub { display: block; font-size: 12px; margin-top: 6px; font-weight: bold; }
@keyframes pulse { 50% { transform: rotate(-8deg) scale(1.07); } }

/* ---------- orb nav ---------- */
.orbs {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px;
  padding: 30px 16px 50px; max-width: 1000px; margin: 0 auto;
}
.orb {
  --c1: #fff36b; --c2: #e0b000; --c3: #6d4b00;
  position: relative; width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; text-decoration: none;
  background: radial-gradient(circle at 32% 28%, #fff 0 6%, var(--c1) 18%, var(--c2) 55%, var(--c3) 100%);
  box-shadow: inset -10px -14px 24px rgba(0,0,0,.45), 0 8px 24px rgba(0,0,0,.6), 0 0 22px var(--c2);
  transition: transform .2s;
  animation: bob 4s ease-in-out infinite;
}
.orb:nth-child(2) { animation-delay: -1s; }
.orb:nth-child(3) { animation-delay: -2s; }
.orb:nth-child(4) { animation-delay: -.5s; }
.orb:nth-child(5) { animation-delay: -3s; }
.orb:hover { transform: scale(1.12) rotate(-6deg); }
@keyframes bob { 50% { translate: 0 -8px; } }
.orb::after { content: ""; position: absolute; top: 10%; left: 22%; width: 40%; height: 24%; border-radius: 50%; background: linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,0)); transform: rotate(-20deg); }
.orb span {
  position: relative; z-index: 1;
  font-family: "Bungee Shade", Impact, sans-serif; font-size: 18px; line-height: 1.05; color: #c4001a;
  text-shadow: 1px 1px 0 #fff; transform: rotate(-10deg);
}
.orb-purple { --c1: #9a6bff; --c2: #3e1a7a; --c3: #0d0420; }
.orb-purple span { color: #fff; text-shadow: 2px 2px 0 #000; font-family: "Cinzel Decorative", serif; }
.orb-blue { --c1: #8fb1ff; --c2: #3a3fd8; --c3: #0b0d4a; background-image: radial-gradient(circle at 32% 28%, #fff 0 6%, var(--c1) 18%, var(--c2) 55%, var(--c3) 100%), repeating-radial-gradient(circle at 60% 60%, transparent 0 6px, rgba(0,0,0,.15) 6px 8px); }
.orb-blue span { color: #3aff6a; font-family: "Creepster", cursive; font-size: 28px; text-shadow: 2px 2px 0 #000; }
.orb-green { --c1: #d9ff6b; --c2: #5fae12; --c3: #1f4a00; }
.orb-big { width: 170px; height: 170px; }
.orb-big span { color: #e1061d; font-family: "Cinzel Decorative", serif; font-size: 22px; }
.orb-big em { font-style: normal; font-size: 18px; }
.orb-red { --c1: #c9e2ff; --c2: #4d7bd1; --c3: #12254d; }
.orb-red span { color: #fff; font-family: "Times New Roman", serif; font-size: 26px; text-shadow: 2px 2px 0 #12254d; transform: none; }
.orb-red::before { content: ""; position: absolute; inset: -14px -34px; border-radius: 50%; border: 6px solid var(--gold); transform: rotate(-18deg); border-top-color: transparent; filter: drop-shadow(0 0 6px var(--gold)); }
.orb-small { width: 70px; height: 70px; --c1: #7ab4ff; --c2: #224bb5; --c3: #0a1440; }
.orb-q span { font-family: Georgia, serif; font-size: 36px; color: var(--gold); transform: none; text-shadow: 2px 2px 0 #000; }
.orb-q small { position: absolute; top: 100%; margin-top: 6px; color: #fff; font: bold 12px Arial, sans-serif; white-space: nowrap; }

/* ---------- panels ---------- */
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.panel {
  margin: 0 auto 48px; padding: 28px;
  background: rgba(14, 4, 30, .78);
  border: 3px ridge #c77dff; border-radius: 4px;
  box-shadow: 0 0 30px rgba(199,125,255,.35);
}
.glow-head {
  font-family: "Cinzel Decorative", serif; font-size: clamp(24px, 4vw, 36px); margin: 0 0 12px; line-height: 1.15;
  color: #fff; text-shadow: 0 0 10px var(--pink), 0 0 24px var(--purple);
}
.vapor-head {
  font-family: "Monoton", cursive; font-weight: normal; font-size: clamp(30px, 6vw, 58px); margin: 0 0 20px; text-align: center;
  background: linear-gradient(#3ff7e1, #ff71ce 60%, #b967ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(3px 3px 0 #2a0040);
}
.vapor-head span { font-family: sans-serif; font-size: .45em; vertical-align: middle; color: var(--teal); -webkit-text-fill-color: var(--teal); }

.intro { display: flex; gap: 28px; align-items: center; }
.intro-figure { flex: 0 0 180px; }
.intro-figure svg { width: 100%; filter: drop-shadow(0 0 20px #8a2be2); }
.eye { animation: eyes 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes eyes { 0%, 90%, 100% { transform: scale(1); } 95% { transform: scale(1, .1); } }
.rainbow {
  font-weight: bold; background: linear-gradient(90deg, #f00, #f80, #ff0, #0f0, #0ff, #00f, #f0f, #f00); background-size: 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: rainbow 3s linear infinite;
}
@keyframes rainbow { to { background-position: 200%; } }
.whisper { font-style: italic; color: var(--teal); font-size: 22px; }

/* origin */
.origin { background: linear-gradient(180deg, rgba(40,10,80,.85), rgba(255,113,206,.25)); }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.barn-scene { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 3px solid var(--teal); background: linear-gradient(#1b0640, #6a1b8a 55%, #ff71ce 70%); }
.vapor-sun {
  position: absolute; left: 50%; top: 22%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(#ffe66d, #ff6ad5 70%);
  --m: linear-gradient(#000 0 55%, transparent 55% 60%, #000 60% 68%, transparent 68% 72%, #000 72% 80%, transparent 80% 83%, #000 83%);
  -webkit-mask: var(--m); mask: var(--m);
}
.vapor-grid {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 36%;
  background: #12002a;
  background-image: linear-gradient(var(--pink) 2px, transparent 2px), linear-gradient(90deg, var(--pink) 2px, transparent 2px);
  background-size: 40px 30px; transform: perspective(200px) rotateX(55deg); transform-origin: top; animation: gridmove 1.5s linear infinite;
}
@keyframes gridmove { to { background-position: 0 30px; } }
.barn { position: absolute; left: 50%; bottom: 14%; width: 38%; transform: translateX(-50%); z-index: 2; }
.meteor-fall { position: absolute; left: 110%; top: -20%; z-index: 6; margin: -14px 0 0 -14px; animation: fall 5s ease-in infinite; }
.meteor-fall span {
  display: block; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(#fff, #ffd34d 40%, #ff5a00);
  box-shadow: 0 0 20px #ffd34d, 30px -30px 30px 6px rgba(255,140,0,.6), 60px -60px 40px 2px rgba(255,80,0,.3);
}
@keyframes fall {
  0% { left: 110%; top: -20%; opacity: 1; }
  30% { left: 52%; top: 50%; opacity: 1; }
  31%, 100% { left: 52%; top: 50%; opacity: 0; }
}
.impact { position: absolute; left: 52%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; z-index: 4; pointer-events: none; background: radial-gradient(#fff, #ffd34d 40%, #ff5a00 70%, transparent 72%); opacity: 0; animation: impact 5s ease-out infinite; }
@keyframes impact { 0%, 29% { transform: scale(0); opacity: 0; } 31% { transform: scale(4); opacity: 1; } 42% { transform: scale(14); opacity: 0; } 100% { opacity: 0; } }
.flash { position: absolute; inset: 0; background: #b6ff8a; opacity: 0; z-index: 4; animation: flash 5s infinite; pointer-events: none; mix-blend-mode: screen; }
@keyframes flash { 0%, 49% { opacity: 0; } 51% { opacity: .9; } 54% { opacity: .2; } 56% { opacity: .8; } 68%, 100% { opacity: 0; } }
.big-year { font-family: "Cinzel", serif; font-weight: 900; font-size: 30px; margin: 0; color: var(--gold); }
.big-year span { font-size: 70px; text-shadow: 0 0 20px #ff9d5c; }
.flashy { color: #fff; text-shadow: 0 0 6px #fff, 0 0 16px var(--teal); }
.syll { font-family: "Cinzel Decorative", serif; color: var(--teal); }
.fine { font-size: 14px; opacity: .75; }

/* mind link window */
.mindlink { background: none; border: 0; box-shadow: none; padding: 0; }
.win { background: #c0c0c0; color: #000; border: 2px outset #fff; box-shadow: 4px 4px 0 #000, 0 0 40px rgba(63,247,225,.35); }
.win-title {
  display: flex; justify-content: space-between; align-items: center; padding: 3px 6px;
  background: linear-gradient(90deg, #000080, #d14dff); color: #fff; font: bold 15px Tahoma, Arial, sans-serif;
}
.win-btns i { display: inline-grid; place-items: center; width: 20px; height: 18px; margin-left: 3px; background: #c0c0c0; color: #000; border: 2px outset #fff; font-style: normal; font-size: 13px; line-height: 1; }
.win-body { padding: 18px; background: #000; margin: 4px; border: 2px inset #fff; }
.vt { font-family: "VT323", monospace; font-size: 22px; color: #7dff9a; margin: 0 0 6px; }
.ok { color: var(--gold); }
#mindForm, .gb-form { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
#mindForm input, .gb-form input {
  flex: 1 1 220px; padding: 10px; font-family: "VT323", monospace; font-size: 22px;
  background: #0b0b0b; color: var(--teal); border: 2px inset #666; outline: none;
}
.prediction { min-height: 60px; margin-top: 16px; font-family: "VT323", monospace; font-size: 24px; color: #ff9ef0; }
.prediction .proven { display: block; margin-top: 8px; font-family: "Creepster", cursive; font-size: 34px; color: var(--gold); text-shadow: 0 0 10px #f00; animation: shake .4s infinite; }
@keyframes shake { 25% { transform: translate(2px, -1px) rotate(.5deg); } 75% { transform: translate(-2px, 1px) rotate(-.5deg); } }

.glossy {
  padding: 10px 22px; border: 2px solid #fff; border-radius: 30px;
  background: linear-gradient(#ff9ef0 0 45%, #ff3fa4 55%, #a0006a);
  color: #fff; font: 900 18px "Arial Black", Arial, sans-serif; letter-spacing: 1px; text-shadow: 1px 1px 0 #600;
  box-shadow: 0 4px 0 #5a003a, 0 0 16px var(--pink);
}
.glossy:hover { filter: brightness(1.2) saturate(1.3); }
.glossy:active { transform: translateY(3px); box-shadow: 0 1px 0 #5a003a; }

/* powers poster */
.powers { background: linear-gradient(#1a0e05, #0b0603); border: 2px solid #b8863b; box-shadow: 0 0 40px rgba(184,134,59,.35); color: #f1dfb8; }
.poster-head { text-align: center; font-family: "Cinzel", serif; color: #f6e2b3; text-shadow: 0 2px 6px #000; }
.poster-head p { margin: 0; }
.ph-small { font-size: clamp(16px, 2.6vw, 26px); font-weight: 700; color: #e8b64c; }
.ph-mid { font-size: clamp(16px, 2.4vw, 22px); background: #000; display: inline-block; padding: 2px 14px; border-block: 1px solid #b8863b; }
.ph-big { font-size: clamp(42px, 9vw, 92px); font-weight: 900; line-height: 1; background: linear-gradient(#fff6d6, #e8b64c 60%, #8a5a14); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 3px 4px #000); }
.power-grid { display: grid; grid-template-columns: repeat(6, 1fr); margin: 28px 0 18px; border-top: 1px solid #b8863b; }
.power { padding: 14px 8px; text-align: center; border-right: 1px solid #5a4020; }
.power:last-child { border-right: 0; }
.p-ico { font-size: 34px; filter: sepia(1) saturate(3) hue-rotate(-10deg) drop-shadow(0 0 6px #e8b64c); }
.power h3 { font-family: "Cinzel", serif; font-size: 13px; color: #e8b64c; margin: 6px 0; letter-spacing: 1px; }
.power p { font-size: 13px; line-height: 1.35; margin: 0; }
.poster-quote { text-align: center; font-family: "Cinzel", serif; font-size: 17px; color: #f6e2b3; border-top: 1px solid #b8863b; padding-top: 16px; margin: 0; }
.poster-quote span { color: #e8b64c; font-weight: 700; letter-spacing: 1px; }

/* horror page */
.horror {
  margin: 0 auto 48px; padding: 28px 22px; text-align: center; image-rendering: pixelated;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.25) 0 2px, transparent 2px 6px),
    linear-gradient(#3b1a52, #2a0f3a 55%, #5a2d6e);
  border: 6px solid #111; outline: 3px solid #6b3a8a;
}
.drip { font-family: "Creepster", cursive; font-weight: normal; font-size: clamp(38px, 8vw, 78px); margin: 0; color: #ff2a2a; text-shadow: 3px 3px 0 #2244ff, 0 6px 0 #000; letter-spacing: 2px; }
.skull-row { display: flex; justify-content: center; align-items: center; gap: 40px; margin: 10px 0; }
.skull { width: 150px; filter: drop-shadow(0 0 16px rgba(255,255,255,.25)); animation: float 4s ease-in-out infinite; }
.skull-eye { animation: blink 1.6s steps(2) infinite; }
.torch { width: 22px; height: 70px; position: relative; background: linear-gradient(#6a4a1a, #3a2508); border-radius: 3px; margin-top: 60px; }
.torch::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 34px; height: 54px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 80%, #fff 0 10%, #ffd34d 30%, #ff6a00 60%, transparent 70%);
  border-radius: 50% 50% 40% 40%; animation: flicker .15s infinite alternate;
}
@keyframes flicker { to { transform: translateX(-50%) scale(1.08, .92); opacity: .85; } }
.horror-sub { font-family: Arial, sans-serif; font-weight: bold; color: var(--gold); margin: 6px 0; }
.horror-big { font-family: "Creepster", cursive; font-weight: normal; font-size: clamp(30px, 6vw, 54px); margin: 0 0 18px; color: #c9b8e8; text-shadow: 3px 3px 0 #222, -1px -1px 0 #fff; }
.prophecy-list { text-align: left; max-width: 760px; margin: 0 auto; padding-left: 0; list-style: none; }
.prophecy-list li { margin-bottom: 16px; padding: 10px 14px; background: rgba(0,0,0,.35); border-left: 4px solid var(--gold); font-family: Verdana, sans-serif; font-size: 15px; }
.prophecy-list b { display: block; font-family: "Cinzel", serif; font-size: 20px; color: var(--gold); }
.drip-inline { font-family: "Creepster", cursive; color: #ff2a2a; font-size: 1.2em; }
.tremble { font-family: "Creepster", cursive; font-size: clamp(20px, 3vw, 28px); color: #ff5a5a; animation: shake .25s infinite; margin: 24px 0 0; }

/* CN-style portal */
.portal { margin: 0 auto 48px; background: linear-gradient(#cfd9e6, #9fb1c8); border-radius: 10px; padding: 0 14px 14px; color: #111; font-family: "Comic Neue", Arial, sans-serif; box-shadow: 0 0 0 4px #000, 0 0 40px rgba(63,247,225,.3); }
.tabs { display: flex; gap: 6px; padding-top: 10px; flex-wrap: wrap; }
.tab { padding: 6px 20px 4px; color: #fff; font: 26px/1 "Bangers", "Arial Black", sans-serif; letter-spacing: 2px; border: 0; border-radius: 10px 10px 0 0; transform: skewX(-8deg) translateY(6px); text-shadow: 2px 2px 0 #000; opacity: .8; transition: transform .15s, opacity .15s; }
.tab:hover { opacity: 1; }
.tab[aria-selected="true"] { opacity: 1; transform: skewX(-8deg) translateY(0) scale(1.08); box-shadow: 0 -4px 0 #fff inset; }
.t-blue { background: linear-gradient(#5aa2ff, #1e5bbf); }
.t-red { background: linear-gradient(#ff6060, #c81717); }
.t-teal { background: linear-gradient(#69e5d5, #1d968a); }
.t-gold { background: linear-gradient(#ffcf5a, #d48a00); }
.portal-grid { display: grid; grid-template-columns: 1fr 220px; gap: 14px; background: #f3f6fa; padding: 14px; border-radius: 0 6px 6px 6px; }
.banner { background: linear-gradient(135deg, #2a0a0a, #8a2a10 50%, #2a0a0a); color: #fff; text-align: center; padding: 30px 12px; border: 3px solid #333; }
.banner-k { font-family: "Bangers", "Cinzel", serif; font-size: clamp(30px, 5.5vw, 52px); letter-spacing: 3px; margin: 0; text-shadow: 3px 3px 0 #000, 0 0 14px #ff8a00; }
.banner-s { font-family: "Cinzel", serif; font-size: 13px; letter-spacing: 1px; margin: 6px 0 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.tile { aspect-ratio: 16/10; display: grid; place-items: center; font: 900 20px/1 "Arial Black", Arial, sans-serif; text-align: center; border: 3px solid #333; }
.tile-1 { background: linear-gradient(#39d36a, #0f6a2a); color: #fff; text-shadow: 2px 2px 0 #000; }
.tile-2 { background: radial-gradient(#5ae0ff, #0a4fa0); }
.tile-2 span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: #0a4fa0; font-size: 40px; }
.tile-3 { background: #fff; color: #e1061d; font-family: "Bangers", sans-serif; font-size: 30px; letter-spacing: 2px; text-shadow: 2px 2px 0 #000; }
.orb-ask { text-align: center; }
.orb-answer { font-family: "Comic Neue", "Comic Sans MS", cursive; font-weight: 700; font-size: 19px; min-height: 2em; }
.ads { display: flex; flex-direction: column; gap: 12px; }
.ad { position: relative; padding: 18px 10px 12px; text-align: center; border: 4px solid #555; font-weight: 900; }
.ad small { position: absolute; top: 2px; left: 4px; font-size: 10px; }
.ad p { margin: 4px 0; }
.ad-1 { background: linear-gradient(#1e3cff, #0a1a80); color: #fff; }
.ad-big { font-size: 26px; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 #000; }
.ad-sub { font-size: 11px; font-weight: normal; }
.ad-enter { display: inline-block; margin-top: 6px; padding: 4px 10px; background: var(--gold); color: #000; font-size: 22px; text-decoration: none; border: 2px outset #fff; animation: blink 1s steps(2) infinite; }
.ad-2 { background: #ffb100; color: #300; font-size: 13px; }
.ad-2 .ad-big2 { font-family: "Cinzel", serif; font-size: 26px; color: #900; }

/* order */
.order {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,45,111,.55), transparent 60%),
    rgba(14,4,30,.85);
}
.spell-head { font-family: "Cinzel", serif; font-weight: 400; margin: 0; color: #fff; line-height: 1; }
.spell-head span { display: block; font-size: clamp(22px, 4vw, 42px); letter-spacing: .5em; font-weight: 700; }
.spell-head { font-size: clamp(54px, 12vw, 130px); text-shadow: 0 0 6px #fff, 0 0 30px var(--hot), 4px 6px 0 #300; }
.spell-sub { font: 900 clamp(10px, 1.7vw, 15px) "Arial Black", Arial, sans-serif; letter-spacing: .2em; margin: 14px 0 28px; }
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.price { position: relative; padding: 24px 20px; background: rgba(0,0,0,.55); border: 2px solid #ff9ef0; border-radius: 10px; text-align: left; }
.price h3 { font-family: "Cinzel", serif; text-align: center; margin: 0; letter-spacing: 3px; }
.amt { font-family: "Cinzel", serif; font-weight: 900; font-size: 56px; text-align: center; margin: 4px 0; color: var(--gold); text-shadow: 0 0 14px #ff9d5c; }
.amt s { font-size: 26px; color: #aaa; }
.save { text-align: center; font: 900 14px Arial, sans-serif; color: #7dff9a; margin: 0; }
.price ul { padding-left: 20px; }
.price li::marker { content: "✦ "; color: var(--pink); }
.price .glossy { display: block; margin: 10px auto 0; }
.price-hot { border: 3px solid var(--gold); box-shadow: 0 0 30px rgba(255,211,77,.5); }
.ribbon { position: absolute; top: -16px; right: -10px; background: #e1061d; color: #fff; font: 900 15px Arial, sans-serif; padding: 4px 12px; transform: rotate(6deg); border: 2px solid #fff; }
.countdown { text-align: center; font-family: "VT323", monospace; font-size: 22px; color: #ff6a6a; margin: 6px 0 0; }
.countdown b { color: #fff; }

/* faq */
.faq details { margin-bottom: 10px; background: rgba(255,255,255,.05); border: 1px solid #6b3a8a; padding: 10px 14px; }
.faq summary { font-family: "Cinzel", serif; font-weight: 700; color: var(--teal); }
.faq p { margin: 8px 0 0; }

/* guestbook */
.gb-entry { background: #fff8d6; color: #222; padding: 10px 14px; margin-bottom: 10px; border: 2px dashed #b38600; font-family: "Comic Sans MS", "Comic Sans", cursive; }
.gb-entry i { font-size: 13px; color: #777; margin-left: 6px; }
.gb-entry p { margin: 4px 0; }
.gb-note { font-size: 13px; color: #a0006a; }

/* footer */
.footer { text-align: center; padding: 30px 16px 60px; border-top: 3px double var(--pink); background: rgba(0,0,0,.6); }
.sign-off { font-family: "Cinzel Decorative", serif; font-size: clamp(20px, 3.4vw, 30px); margin: 0; color: #fff; text-shadow: 0 0 12px var(--pink); }
.sign-price { font-style: italic; color: var(--gold); margin: 6px 0 20px; }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.badge { display: inline-block; width: 110px; padding: 4px; font: 11px/1.2 Arial, sans-serif; border: 2px outset #ccc; }
.badge b { font-size: 13px; }
.b-net { background: #003a8c; color: #fff; }
.b-uc { background: repeating-linear-gradient(45deg, #ffd400 0 8px, #000 8px 16px); color: #fff; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; font-weight: bold; }
.b-cnt { background: #000; color: #7dff9a; font-family: "VT323", monospace; font-size: 14px; }
.b-cnt b { font-size: 18px; letter-spacing: 2px; }
.b-psi { background: linear-gradient(#ff9ef0, #8a2be2); color: #fff; }
.footer a { color: var(--teal); }

/* dialog */
.dialog-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.5); }
.dialog-wrap[hidden] { display: none; }
.dialog { width: min(420px, 100%); }
.dialog .win-body { background: #c0c0c0; border: 0; color: #000; font-family: Tahoma, Arial, sans-serif; font-size: 15px; }
.dlg-btns { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.win-btn { min-width: 80px; padding: 4px 10px; background: #c0c0c0; border: 2px outset #fff; font: 14px Tahoma, Arial, sans-serif; }
.win-btn:active { border-style: inset; }
.dlg-x { cursor: pointer; }

/* sparkle trail */
.trail { position: fixed; pointer-events: none; z-index: 200; font-size: 14px; animation: trail 0.9s ease-out forwards; }
@keyframes trail { to { transform: translateY(30px) scale(.2); opacity: 0; } }

/* ---------- responsive ---------- */
/* ===== v2 additions ===== */
.watching {
  position: relative; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 8px 12px; background: radial-gradient(ellipse at center, #3a0000, #000 70%);
  border-bottom: 2px solid #ff2a2a; text-align: center;
}
.watching[hidden] { display: none; }
.w-text { font-family: "Creepster", cursive; font-size: clamp(22px, 4.5vw, 40px); letter-spacing: 2px; color: #ff2a2a; text-shadow: 0 0 10px #f00, 2px 2px 0 #000; animation: creep 3s ease-in-out infinite; }
.w-text b { color: #fff; font-weight: normal; text-shadow: 0 0 12px #f00, 0 0 24px #f00; }
@keyframes creep { 0%, 100% { opacity: 1; } 50% { opacity: .75; letter-spacing: 3px; } }
.w-eye { flex: 0 0 auto; width: 44px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #000 0 22%, #ff2a2a 24% 40%, #fff 42%); box-shadow: 0 0 12px #f00; animation: look 4s ease-in-out infinite; }
@keyframes look { 0%, 100% { background-position: 0 0; } 30% { background-position: -6px 0; } 60% { background-position: 6px 0; } 92% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.tb-pill.evil { background: #600; border-color: #f33; color: #fff; }
.tb-pill.evil b { color: #ff2a2a; text-shadow: 0 0 6px #f00; }

/* barn on fire + bolt */
.fire { position: absolute; left: 50%; bottom: 30%; width: 34%; height: 34%; transform: translateX(-50%); z-index: 3; pointer-events: none; }
.fire i {
  position: absolute; bottom: 0; width: 24%; height: 70%; border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 85%, #fff6 0 8%, #ffe14d 22%, #ff7a00 50%, #e1061d 72%, transparent 76%);
  mix-blend-mode: screen; transform-origin: 50% 100%; animation: burn .6s ease-in-out infinite alternate;
}
.fire i:nth-child(1) { left: -4%; height: 55%; animation-delay: -.1s; }
.fire i:nth-child(2) { left: 12%; height: 85%; animation-delay: -.3s; }
.fire i:nth-child(3) { left: 30%; height: 110%; animation-delay: -.2s; }
.fire i:nth-child(4) { left: 46%; height: 95%; animation-delay: -.5s; }
.fire i:nth-child(5) { left: 62%; height: 75%; animation-delay: -.15s; }
.fire i:nth-child(6) { left: 78%; height: 60%; animation-delay: -.4s; }
.fire i:nth-child(7) { left: 36%; height: 130%; width: 30%; animation-delay: -.25s; }
@keyframes burn { from { transform: scale(1, 1) skewX(-4deg); } to { transform: scale(.85, 1.15) skewX(5deg); } }
.smoke { position: absolute; left: 50%; bottom: 60%; z-index: 2; }
.smoke i { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: rgba(40,20,50,.55); filter: blur(6px); animation: smoke 3s linear infinite; }
.smoke i:nth-child(2) { animation-delay: -1s; left: -20px; }
.smoke i:nth-child(3) { animation-delay: -2s; left: 16px; }
@keyframes smoke { from { transform: translateY(0) scale(.6); opacity: .9; } to { transform: translate(30px, -120px) scale(2.2); opacity: 0; } }
.big-bolt { position: absolute; left: 50%; top: -4%; width: 30%; height: 84%; transform: translateX(-50%); z-index: 5; opacity: 0; filter: drop-shadow(0 0 10px #d6ffb0) drop-shadow(0 0 30px #39ff14); animation: bolt 5s infinite; pointer-events: none; }
@keyframes bolt { 0%, 49% { opacity: 0; } 51% { opacity: 1; } 65% { opacity: .9; } 88%, 100% { opacity: 0; } }
.afraid {
  font-family: "Chewy", "Comic Neue", cursive; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; margin: 18px 0 0;
  color: #ffd1f5; opacity: .6; animation: jitter .12s steps(2) infinite;
}
@keyframes jitter { 0% { transform: translate(0, 0); } 50% { transform: translate(.4px, -.3px); } 100% { transform: translate(-.3px, .4px); } }

.faint { display: block; margin-top: 8px; font-size: 9px; color: #fff; opacity: .1; letter-spacing: .5px; }
.boom { font-family: "Bangers", sans-serif; font-size: 1.6em; color: #ff8a00; text-shadow: 2px 2px 0 #000; }
.eldritch { font-family: Georgia, serif; }
.eldritch b { color: #7dff9a; letter-spacing: 1px; }
.rlyeh { display: block; margin-top: 8px; font-family: "Creepster", cursive; font-size: 20px; color: #7dff9a; letter-spacing: 1px; animation: jitter .2s steps(2) infinite; }

/* horoscope */
.horoscope { margin: 0 auto 48px; padding: 26px 20px; text-align: center; background: repeating-conic-gradient(from 0deg at 50% 50%, #ffe14d 0 10deg, #ffb100 10deg 20deg); border: 6px dashed #e1061d; color: #000; transform: rotate(-1deg); }
.hs-label { margin: 0 0 10px; font: 700 clamp(14px, 2.2vw, 20px) "Comic Neue", "Comic Sans MS", cursive; letter-spacing: 2px; background: #000; color: #ffe14d; display: inline-block; padding: 2px 12px; }
.hs-text { margin: 0; font-family: "Bangers", Impact, sans-serif; font-weight: 700; font-size: clamp(38px, 7.5vw, 92px); line-height: 1; letter-spacing: 1px; color: #fff; -webkit-text-stroke: 2px #000; text-shadow: 4px 4px 0 #e1061d, 8px 8px 0 #000; }
.hs-text span { display: block; margin-top: 10px; color: #7ff7ff; text-shadow: 4px 4px 0 #3a0f8a, 8px 8px 0 #000; animation: shake .5s infinite; }

/* portal extras */
.portal-top { display: flex; align-items: center; gap: 14px; padding-top: 12px; flex-wrap: wrap; }
.portal-logo { background: #000; color: #fff; font: 22px/0.9 "Bangers", sans-serif; letter-spacing: 1px; padding: 6px 8px; border: 3px solid #fff; outline: 3px solid #000; }
.portal-now { font: 22px "Bangers", sans-serif; letter-spacing: 1px; color: #e1061d; text-shadow: 1px 1px 0 #fff; transform: rotate(-2deg); }
.tab-panel[hidden] { display: none; }
.banner-past { background: linear-gradient(135deg, #0a2a5a, #3a6fd8 50%, #0a2a5a); }
.banner-present { background: linear-gradient(135deg, #0a3a36, #1d968a 50%, #0a3a36); }
.banner-shop { background: linear-gradient(135deg, #5a3a00, #d48a00 50%, #5a3a00); }
.toon-btn {
  padding: 8px 20px; border: 3px solid #000; border-radius: 14px; background: linear-gradient(#ffe14d, #ff9d00);
  font: 22px "Bangers", "Arial Black", sans-serif; letter-spacing: 1.5px; color: #000; box-shadow: 4px 4px 0 #000; transition: transform .1s;
}
.toon-btn:hover { transform: rotate(-2deg) scale(1.05); }
.toon-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; }
.tv-row { display: grid; grid-template-columns: 1fr 220px; gap: 12px; margin-top: 12px; align-items: stretch; }
.tv { background: #111; border: 10px solid #555; border-radius: 22px; padding: 16px; color: #7dff9a; text-align: center; box-shadow: inset 0 0 30px #000; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.tv-title { margin: 0; font: 26px "Bangers", sans-serif; letter-spacing: 2px; color: #ffe14d; }
.tv-out { margin: 0; font-family: "VT323", monospace; font-size: 24px; min-height: 3em; }
.baby-frame { margin: 0; padding: 10px; background: linear-gradient(135deg, #fff, #cfe8ff); border: 4px ridge #d4af37; text-align: center; }
.wizbaby { width: 100%; height: 200px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); animation: float 3s ease-in-out infinite; }
.baby-frame figcaption { font: 20px/1 "Bangers", sans-serif; letter-spacing: 1px; color: #3a0f8a; }
.baby-frame small { font-family: "Comic Neue", sans-serif; font-size: 13px; color: #666; }
.loader { position: relative; height: 34px; margin: 16px 0 8px; background: #fff; border: 3px solid #000; box-shadow: 4px 4px 0 #000; overflow: hidden; }
.loader-bar { height: 100%; width: 34%; background: repeating-linear-gradient(45deg, #1d968a 0 14px, #69e5d5 14px 28px); animation: stripes 1s linear infinite; transition: width .4s; background-size: 40px 40px; }
@keyframes stripes { to { background-position: 40px 0; } }
.loader span { position: absolute; inset: 0; display: grid; place-items: center; font: 22px "Bangers", sans-serif; letter-spacing: 1px; }
.present-msg { text-align: center; font-weight: 700; font-size: 19px; min-height: 1.6em; }
.center { text-align: center; }
.dance-floor { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 12px; background: repeating-conic-gradient(#ff3fa4 0 25%, #3ff7e1 0 50%) 0 0 / 40px 40px; border: 3px solid #000; }
.dance-gif { position: relative; flex: 0 0 160px; height: 190px; background: #000; border: 3px solid #fff; image-rendering: pixelated; overflow: hidden; }
.dancebaby { width: 100%; height: 170px; animation: dance 1.2s steps(1) infinite; transform-origin: 50% 90%; }
@keyframes dance {
  0% { transform: rotate(-12deg) translateY(0); } 16% { transform: rotate(10deg) translateY(-12px) scaleX(-1); }
  33% { transform: rotate(-6deg) translateY(0) scaleX(-1); } 50% { transform: rotate(14deg) translateY(-8px); }
  66% { transform: rotate(-14deg) translateY(-14px) scale(1.05); } 83% { transform: rotate(4deg) translateY(0) scaleX(-1); }
}
.rune-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 10px; }
.rune-row img { width: 56px; height: 56px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 8px #f00); animation: blink 2.4s steps(2) infinite; }
.rune-row img:nth-child(2n) { animation-delay: -1.2s; }
.m-rune { image-rendering: pixelated; filter: drop-shadow(0 0 10px #f00); }
.real-gif { background: #000; }
.real-gif img { display: block; width: 100%; height: 170px; object-fit: cover; }
.gif-tag { position: absolute; left: 0; right: 0; bottom: 0; background: #000; color: #0f0; font: 13px "VT323", monospace; text-align: center; }
.dance-cap { margin: 0; padding: 10px; background: #fff; border: 3px solid #000; font-weight: 700; font-size: 18px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; background: #fff; border: 3px solid #000; box-shadow: 4px 4px 0 #000; text-align: center; }
.item-ico { font-size: 40px; }
.item b { font: 22px "Bangers", sans-serif; letter-spacing: 1px; color: #3a0f8a; }
.item small { font-size: 14px; flex: 1; }
.item .toon-btn { font-size: 18px; padding: 4px 12px; }
.ad-3 { background: linear-gradient(#ff3fa4, #8a2be2); color: #fff; font: 700 16px/1.3 "Comic Neue", sans-serif; }
.ad-3 b { font-family: "Bangers", sans-serif; font-size: 22px; letter-spacing: 1px; color: #ffe14d; }

/* margins + popups */
.margins { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
main, .hero, .orbs, .footer { position: relative; z-index: 1; }
.m-art { position: absolute; filter: drop-shadow(0 0 10px rgba(255,211,77,.5)); animation: float 6s ease-in-out infinite; }
.m-art.spin { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.m-art .flames path, .flames path { fill: #ffb100; }
.m-pop { position: absolute; pointer-events: auto; }
.mini-win { width: 100%; background: #c0c0c0; color: #000; border: 2px outset #fff; box-shadow: 3px 3px 0 #000; font: 14px/1.3 Tahoma, Arial, sans-serif; }
.mini-win .win-title { font-size: 12px; padding: 2px 4px; }
.mini-win .win-btns i { width: 16px; height: 14px; font-size: 11px; }
.mini-body { padding: 10px; text-align: center; }
.mini-body p { margin: 0 0 6px; font-weight: bold; }
.mini-body .hot { color: #e1061d; font-size: 16px; }
.mini-burst { display: grid; place-items: center; aspect-ratio: 1.1; padding: 22%; text-align: center; background: #e1061d; color: #fff; font: 900 15px/1.1 Arial, sans-serif; clip-path: polygon(0 8%, 12% 0, 22% 10%, 38% 2%, 50% 12%, 66% 0, 74% 12%, 92% 4%, 88% 22%, 100% 32%, 88% 44%, 100% 58%, 86% 66%, 96% 84%, 76% 82%, 70% 100%, 56% 88%, 42% 100%, 32% 86%, 14% 96%, 14% 78%, 0 70%, 8% 54%, 0 40%, 10% 28%); animation: pulse 1.6s ease-in-out infinite; }
.mini-burst.gold { background: #ffd34d; color: #600; }
.mini-burst.blue { background: #1e3cff; color: #ffe14d; }
.popup-layer { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: min(300px, calc(100vw - 32px)); }
.popup-layer .mini-win { animation: popin .25s ease-out; margin-top: 10px; }
.popup-layer .mini-win .x { cursor: pointer; }
.popup-layer .three-min { box-shadow: 0 0 0 4px #e1061d, 6px 6px 0 #000; }
.popup-layer .three-min .hot { font-size: 18px; animation: blink 1s steps(2) infinite; }
@keyframes popin { from { transform: scale(.4); opacity: 0; } }

.rc-ov { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; overflow: hidden; cursor: pointer;
  background: radial-gradient(circle at 50% 40%, rgba(255,215,0,.55), rgba(60,20,0,.92) 70%); animation: popin .4s ease-out; }
.rc-card { position: relative; z-index: 2; max-width: 560px; padding: 26px 22px; text-align: center; color: #2a1400;
  background: linear-gradient(#fff8d6, #ffd34d); border: 6px double #8a5a14; border-radius: 14px; box-shadow: 0 0 60px #ffd34d, 0 0 0 4px #fff; }
.rc-card h2 { margin: 0; font: 900 clamp(56px, 14vw, 110px)/1 "Cinzel", serif; color: #8a5a14; text-shadow: 0 0 20px #fff, 3px 3px 0 #fff; }
.rc-card h3 { margin: 6px 0 14px; font: 26px "Bangers", sans-serif; letter-spacing: 2px; color: #e1061d; }
.rc-card p { margin: 0 0 10px; font: 700 18px/1.35 "Comic Neue", sans-serif; }
.rc-card small { display: block; margin-top: 10px; font-family: "Cinzel", serif; color: #8a5a14; }
.rc-ov i { position: absolute; top: -40px; z-index: 1; color: #fff6a8; font-style: normal; text-shadow: 0 0 10px #ffd34d; animation: rc-fall 3.5s linear infinite; }
@keyframes rc-fall { to { transform: translateY(110vh) rotate(360deg); } }

body.rc-gold .hero-big, body.rc-gold .spell-head { text-shadow: 0 0 6px #fff, 0 0 24px #ffd34d, 0 0 60px #ff9d00, 4px 6px 0 #3a2000; }
body.rc-gold .hero { background: radial-gradient(ellipse at 50% 55%, rgba(255,211,77,.5), transparent 60%); }
body.rc-gold .w-text { color: #ffd34d; text-shadow: 0 0 10px #ff9d00, 2px 2px 0 #000; }
body.rc-gold .watching { background: radial-gradient(ellipse at center, #4a3000, #000 70%); border-color: #ffd34d; }
body.rc-gold .tb-pill b { color: #ffd34d; }
body.rc-gold .panel { border-color: #ffd34d; box-shadow: 0 0 30px rgba(255,211,77,.4); }
.gb-supreme { background: linear-gradient(#fff6c2, #ffd34d); border-color: #8a5a14; }

/* gems */
.gem { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; margin-left: 8px; touch-action: none; user-select: none; -webkit-user-select: none; animation: gem-pulse 2.2s ease-in-out infinite; }
.win-btns .gem { width: 16px; height: 16px; margin: 0 6px 0 0; }
.gem-r { --g: #ff2a2a; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #ff7a7a 20%, #e1061d 55%, #4a0000 100%); }
.gem-b { --g: #2a7bff; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #8ab8ff 20%, #1e4fe1 55%, #000a4a 100%); }
.gem { box-shadow: 0 0 10px var(--g), 0 0 22px var(--g); }
@keyframes gem-pulse { 50% { box-shadow: 0 0 16px var(--g), 0 0 36px var(--g); } }
.gem.dragging { position: fixed; z-index: 400; width: 40px; height: 40px; margin: 0; animation: none; box-shadow: 0 0 20px var(--g), 0 0 50px var(--g), 0 0 90px var(--g); pointer-events: none; }
.gem-slot { display: inline-block; width: 22px; height: 22px; margin-left: 8px; vertical-align: middle; }
.win-btns .gem-slot { width: 16px; height: 16px; margin: 0 6px 0 0; }

.hp-dark { position: fixed; inset: 0; z-index: 390; background: radial-gradient(circle at var(--x) var(--y), rgba(30,0,40,.6), rgba(0,0,0,.92) 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hp-dark.on { opacity: 1; }
.hp-text { position: fixed; left: 50%; top: 22%; z-index: 395; transform: translate(-50%, -50%) scale(.6); opacity: 0; text-align: center; color: #fff; pointer-events: none; transition: transform 1.2s cubic-bezier(.2,.8,.2,1), opacity .5s; white-space: nowrap; }
.hp-text.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.hp-text b { display: block; font: 900 clamp(60px, 14vw, 150px)/1 serif; letter-spacing: .05em; text-shadow: 0 0 20px #b04dff, 0 0 60px #7a00ff, 0 0 4px #fff; }
.hp-text small { display: block; margin-top: 8px; font: 700 clamp(12px, 2.4vw, 20px) "Cinzel", serif; letter-spacing: .5em; color: #e6c8ff; }
.hp-flash { position: fixed; inset: 0; z-index: 398; background: #fff; pointer-events: none; animation: hp-flash .9s ease-out forwards; }
@keyframes hp-flash { 0% { opacity: 1; } 15% { opacity: 1; background: #f4e0ff; } 100% { opacity: 0; } }
.hp-ring { position: fixed; z-index: 397; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 6px solid #c77dff; box-shadow: 0 0 30px #a000ff, inset 0 0 30px #a000ff; pointer-events: none; animation: hp-ring 1s ease-out forwards; }
@keyframes hp-ring { to { transform: scale(var(--s, 60)); opacity: 0; border-width: 1px; } }
.hp-bit { position: fixed; z-index: 396; width: var(--w, 8px); height: var(--w, 8px); margin: calc(var(--w, 8px) / -2) 0 0 calc(var(--w, 8px) / -2); border-radius: 2px; background: var(--c, #c77dff); box-shadow: 0 0 10px var(--c, #c77dff); pointer-events: none; animation: hp-bit var(--t, .8s) cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes hp-bit { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r, 360deg)) scale(0); opacity: 0; } }
.hp-shake { animation: hp-shake .5s linear; }
@keyframes hp-shake { 10%, 50%, 90% { transform: translate(-8px, 4px); } 30%, 70% { transform: translate(8px, -5px); } }

.purple {
  position: fixed; z-index: 380; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; touch-action: none; cursor: grab;
  background: radial-gradient(circle at 50% 50%, #fff 0 10%, #f0d0ff 18%, #b04dff 38%, #5a00b0 62%, rgba(40,0,80,.0) 72%),
              conic-gradient(from 0deg, #ff2a6a, #7a00ff, #2a7bff, #b04dff, #ff2a6a);
  box-shadow: 0 0 30px #b04dff, 0 0 80px #7a00ff, 0 0 140px rgba(160,0,255,.6);
  animation: purple-spin 1.4s linear infinite, purple-throb .5s ease-in-out infinite alternate;
}
.purple.grab { cursor: grabbing; }
.purple::before, .purple::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 3px solid rgba(220,170,255,.7); border-left-color: transparent; border-right-color: transparent; animation: purple-spin .8s linear infinite reverse; }
.purple::after { inset: -28px; border-width: 2px; border-top-color: transparent; animation-duration: 2.2s; }
@keyframes purple-spin { to { transform: rotate(360deg); } }
@keyframes purple-throb { to { box-shadow: 0 0 40px #d08cff, 0 0 110px #7a00ff, 0 0 180px rgba(160,0,255,.7); } }
.purple-hint { position: fixed; z-index: 381; transform: translate(-50%, 70px); font: 22px "Bangers", sans-serif; letter-spacing: 2px; color: #e6c8ff; text-shadow: 0 0 10px #7a00ff, 2px 2px 0 #000; pointer-events: none; animation: blink 1s steps(2) infinite; }
.erased { animation: erase .45s cubic-bezier(.5,0,.9,.4) forwards !important; pointer-events: none !important; }
@keyframes erase { 0% { filter: brightness(3) hue-rotate(90deg); } 100% { transform: scale(0) rotate(25deg); opacity: 0; filter: brightness(6) blur(6px); visibility: hidden; } }
.gone { visibility: hidden !important; }

@media (max-width: 860px) {
  .power-grid { grid-template-columns: repeat(3, 1fr); }
  .power:nth-child(3) { border-right: 0; }
  .portal-grid { grid-template-columns: 1fr; }
  .ads { flex-direction: row; flex-wrap: wrap; }
  .ad { flex: 1 1 200px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .hero { min-height: 0; padding-top: 16px; }
  .brand { position: static; text-align: center; }
  .brand-main { font-size: 38px; }
  .column { width: 44px; height: 220px; opacity: .55; }
  .col-left { left: -6px; } .col-right { right: -6px; }
  .hero-art { margin-top: 10px; }
  .hero-title { margin-top: -170px; }
  .starburst { position: relative; top: auto; left: auto; display: block; margin: 20px auto 0; width: 210px; height: 180px; padding: 30px 22px 0 30px; }
  .sb-main { font-size: 18px; }
  .orbs { gap: 14px; }
  .orb { width: 96px; height: 96px; }
  .orb span { font-size: 15px; }
  .orb-big { width: 130px; height: 130px; }
  .orb-big span { font-size: 18px; } .orb-big em { font-size: 15px; }
  .orb-red span { font-size: 21px; }
  .orb-red::before { inset: -10px -20px; border-width: 4px; }
  .orb-small { width: 64px; height: 64px; }
  .panel { padding: 18px; }
  .intro { flex-direction: column; text-align: center; }
  .intro-figure { flex-basis: auto; width: 140px; }
  .origin-grid, .price-cards { grid-template-columns: 1fr; }
  .power-grid { grid-template-columns: repeat(2, 1fr); }
  .power { border-bottom: 1px solid #5a4020; }
  .power:nth-child(odd) { border-right: 1px solid #5a4020; }
  .power:nth-child(even) { border-right: 0; }
  .skull-row { gap: 20px; }
  .skull { width: 110px; }
  .tiles { grid-template-columns: 1fr 1fr 1fr; }
  .tile { font-size: 14px; }
  .tile-2 span { width: 40px; height: 40px; font-size: 26px; }
  .tile-3 { font-size: 18px; }
  .tv-row { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .dance-floor { flex-direction: column; }
  .w-eye { width: 30px; height: 15px; }
  .tab { font-size: 20px; padding: 6px 12px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
