.sb-help-page{--help-gold:#b28c45;--help-violet:#8663aa;scroll-behavior:smooth}
.sb-help-page .sb-help-hero{position:relative;text-align:center;overflow:hidden;padding:54px 28px 42px;min-height:370px;box-sizing:border-box;border:1px solid #d8bd884d}
.sb-help-back{position:relative;display:inline-block;margin-bottom:32px;color:#f8e7bc!important;font-size:.8rem;text-decoration:none;border-bottom:1px solid #e5d7aa44;padding-bottom:5px}
.sb-help-page .sb-help-hero .eyebrow{display:block;color:#f2d49b;letter-spacing:.18em}
.sb-help-crest{display:flex;align-items:center;justify-content:center;gap:22px;font-size:3.2rem;line-height:1.3;margin:12px 0 10px;filter:drop-shadow(0 0 18px #d9b9ff66)}
.sb-help-crest>span{font-size:1.7rem;color:#f5dba4}
.sb-help-page .sb-help-hero h1{font-family:Georgia,serif;font-size:clamp(2rem,5vw,3.7rem);margin:12px 0;color:#fff6e4;line-height:1.15}
.sb-help-page .sb-help-hero>p{font-size:1.05rem;line-height:1.8;color:#eee4f6;max-width:650px;margin:16px auto}
.sb-help-hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:25px}
.sb-help-page .sb-help-hero-actions .button,.sb-help-page .sb-help-inline-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid #d9b979;background:linear-gradient(130deg,#f3db9c,#d8b875);color:#3e284f;font-weight:800;text-decoration:none;min-height:44px;padding:11px 18px;box-sizing:border-box;border-radius:12px;box-shadow:inset 0 1px 0 #fff6db99,0 4px 15px #24132b18}
.sb-help-page .sb-help-hero-actions .sb-help-secondary{background:#39234785;border-color:#d9c1f780;color:#f7edff;box-shadow:inset 0 1px 0 #fff2}
.sb-help-page .sb-help-hero .sb-help-welcome-note{font-size:.78rem;color:#d8c7e5;margin-bottom:0}
.sb-help-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:22px 0 30px}
.sb-help-nav a{border:1px solid var(--line,#dbcee5);padding:8px 13px;border-radius:999px;font-size:.78rem;font-weight:700;text-decoration:none;background:var(--panel,#fff9);color:var(--text,#4d365d)}
.sb-help-nav a:hover{border-color:var(--help-violet);color:var(--lav,#8663aa)}
.sb-help-page :is(a,summary):focus-visible{outline:3px solid #b790d8;outline-offset:4px}
.sb-help-page .sb-help-intro{display:flex;align-items:center;gap:24px;padding:26px 30px;border-color:#cbb08366;background:linear-gradient(130deg,#be98da10,#e8d19b16)}
.sb-help-intro>span{font-size:3rem;flex-shrink:0}.sb-help-page .sb-help-intro h2{font:700 1.45rem/1.35 Georgia,serif;margin:0 0 9px}.sb-help-page .sb-help-intro p{margin:0;line-height:1.8}
.sb-help-page .sb-help-section{position:relative;margin:26px 0;padding:32px;border:1px solid var(--line,#d9cde4);border-radius:22px;scroll-margin-top:24px;overflow:hidden}
.sb-help-section-title{margin-bottom:24px}.sb-help-section-title>.eyebrow{font-size:.68rem;letter-spacing:.12em;color:var(--lav,#8663aa)}
.sb-help-page .sb-help-section h2{font:700 clamp(1.45rem,3vw,2rem)/1.3 Georgia,serif;margin:8px 0 12px}
.sb-help-page .sb-help-section p{line-height:1.8}.sb-help-section-title>p{max-width:800px;color:var(--muted,#7e6a89);margin-bottom:0}
.sb-help-steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;padding:0;margin:0}
.sb-help-steps>li{position:relative;padding:22px 17px 17px;border:1px solid #b58bc342;border-radius:15px;background:linear-gradient(155deg,#b18fd70d,#d4b36f0b);min-width:0}
.sb-help-step-number{position:absolute;right:12px;top:10px;font:700 1rem Georgia,serif;color:#b394c16b}.sb-help-step-icon{display:block;font-size:1.8rem;margin-bottom:14px}
.sb-help-page .sb-help-steps h3{font:700 1rem/1.4 Georgia,serif;margin:0 0 9px}.sb-help-page .sb-help-steps p{font-size:.82rem;margin:0;color:var(--muted,#7e6a89)}
.sb-help-note{display:flex;align-items:flex-start;gap:14px;padding:19px 20px;margin:22px 0 0;border:1px solid #d7b97670;border-radius:14px;background:linear-gradient(120deg,#dfc17b14,#b38fcb09)}
.sb-help-note>span{color:var(--help-gold);font-size:1.4rem;flex-shrink:0}.sb-help-page .sb-help-note p{font-size:.87rem;margin:0}
.sb-help-equipment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sb-help-equipment-card{margin:0;min-width:0;border:1px solid var(--line,#dacde3);border-radius:18px;overflow:hidden;background:linear-gradient(150deg,#baa4cf0d,#d8ba7c0b)}
.sb-help-equipment-art{position:relative;height:215px;display:grid;place-items:center;background:radial-gradient(ellipse,#c7a4ea33,transparent 70%),linear-gradient(160deg,#b58bd50b,#e1c58c1a);border-bottom:1px solid var(--line,#dacde3);padding:18px 22px 40px;box-sizing:border-box}
.sb-help-equipment-art::before{content:'';position:absolute;width:130px;height:130px;border:1px dashed #bba1cf7a;border-radius:50%;pointer-events:none}
.sb-help-equipment-art>img,.sb-help-equipment-art>svg{position:relative;max-width:100%;height:148px;object-fit:contain;filter:drop-shadow(0 6px 12px #684b7e25)}
.sb-help-art-tag{position:absolute;bottom:12px;left:14px;right:14px;text-align:center;font-size:.72rem;font-weight:800;letter-spacing:.04em;color:var(--lav,#8663aa)}
.sb-help-equipment-card figcaption{padding:19px 20px}.sb-help-page .sb-help-equipment-card h3{font:700 1.1rem/1.3 Georgia,serif;margin:0 0 9px}.sb-help-page .sb-help-equipment-card p{font-size:.83rem;color:var(--muted,#7e6a89);margin:0}
.sb-help-hud-diagram{position:relative;width:190px;max-width:100%;padding:13px;box-sizing:border-box;border:2px solid #bb9bd3;border-radius:13px;background:linear-gradient(150deg,#58416f,#2d203e);color:#f5eaff;box-shadow:0 8px 20px #64408125;text-align:center}
.sb-help-hud-diagram>span{display:block;font-size:.55rem;letter-spacing:.14em;color:#dfc79a}.sb-help-hud-diagram>strong{display:block;margin:10px 8px;padding:9px;border:1px solid #e6cd91;border-radius:9px;background:linear-gradient(140deg,#ead49b,#b79a62);color:#3e284f;font-size:.76rem;letter-spacing:.08em}.sb-help-hud-diagram>div{display:flex;justify-content:space-around;font-size:1rem}.sb-help-hud-diagram small{display:block;font-size:.43rem;line-height:1.6}
.sb-help-cast-flow{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin-top:24px;padding:20px 12px;border-radius:15px;background:#b790d80b;border:1px solid #b78ec62e}
.sb-help-cast-flow>span{text-align:center}.sb-help-cast-flow b{display:block;color:var(--lav,#8663aa);font-size:.78rem;letter-spacing:.08em}.sb-help-cast-flow small{display:block;font-size:.7rem;margin-top:6px;color:var(--muted,#7e6a89)}.sb-help-cast-flow>i{font-style:normal;color:var(--help-gold);font-size:1.3rem}
.sb-help-core-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}.sb-help-core{border:1px solid var(--help-core,#b58bd5);border-radius:15px;padding:20px 12px;text-align:center;background:linear-gradient(150deg,#fff0,#b58bd50a);min-width:0}.sb-help-core-gem{font-size:2.5rem;line-height:1;color:var(--help-core);text-shadow:0 0 15px color-mix(in srgb,var(--help-core),transparent 65%)}
.sb-help-page .sb-help-core h3{font:700 1rem Georgia,serif;margin:13px 0}.sb-help-core>strong{font-size:.8rem}.sb-help-page .sb-help-core p{font-size:.76rem;margin:10px 0 4px}.sb-help-core small{font-size:.67rem;line-height:1.5;display:block;color:var(--muted,#7e6a89)}
.sb-help-page .sb-help-small{font-size:.78rem;color:var(--muted,#7e6a89);margin:18px 0 0}
.sb-help-location-guide{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:28px;align-items:center}
.sb-help-location-example{margin:0;padding:17px;border:1px solid #af8ac8;border-radius:18px;background:linear-gradient(145deg,#f8f0ff,#e4cef5);color:#452a58;box-shadow:0 6px 20px #9b70b722}
.sb-help-example-art{height:138px;display:grid;place-items:center;border:1px solid #c6a8dc;border-radius:12px;background:radial-gradient(ellipse,#fff6dc77,transparent 70%)}.sb-help-example-art>img,.sb-help-example-art>svg{height:120px;max-width:100%;object-fit:contain}
.sb-help-example-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:17px 0}.sb-help-example-heading>strong{font:700 1rem Georgia,serif}.sb-help-example-heading>span{background:#fbefce;border:1px solid #b99a64;padding:6px 9px;border-radius:999px;font-size:.8rem;white-space:nowrap;font-weight:800}
.sb-help-location-example b,.sb-help-callouts>li>span{display:inline-grid;place-items:center;width:21px;height:21px;border:1px solid #9573ae;border-radius:50%;background:#71528e;color:white;font:700 .7rem/1 system-ui,sans-serif;margin-right:5px}
.sb-help-example-essence{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.68rem}.sb-help-example-essence>span{font-weight:800;white-space:nowrap}.sb-help-example-bar{height:6px;border-radius:5px;background:#a07cb24d;margin-top:9px;overflow:hidden}.sb-help-example-bar i{display:block;width:78%;height:100%;background:linear-gradient(90deg,#ac79cf,#d5b4eb)}
.sb-help-example-tp{display:flex;justify-content:center;align-items:center;gap:4px;border:1px solid #9875ae;border-radius:10px;padding:9px;margin:17px 0 10px;background:linear-gradient(130deg,#a87bc2,#674781);color:white;font-size:.78rem;font-weight:800}.sb-help-location-example figcaption{font-size:.6rem;text-align:center;color:#776086}
.sb-help-callouts{list-style:none;padding:0;margin:0;display:grid;gap:22px}.sb-help-callouts>li{display:flex;align-items:flex-start;gap:12px}.sb-help-callouts>li>span{flex-shrink:0;width:28px;height:28px;margin:0;font-size:.8rem}.sb-help-page .sb-help-callouts h3{font:700 1.08rem Georgia,serif;margin:2px 0 8px}.sb-help-page .sb-help-callouts p{font-size:.85rem;margin:0;color:var(--muted,#7e6a89)}
.sb-help-event-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:25px}.sb-help-event-legend>div{display:grid;align-content:center;text-align:center;gap:9px;min-height:95px;padding:12px 9px;border:1px solid var(--line,#dacde3);border-radius:12px;box-sizing:border-box}.sb-help-event-legend strong{font-size:1.1rem;color:var(--lav,#8663aa)}.sb-help-event-legend span{font-size:.67rem;line-height:1.5;color:var(--muted,#7e6a89)}.sb-help-event-legend>.sb-help-event-nine{background:linear-gradient(135deg,#353166,#244c73);border-color:#b9d4ff}.sb-help-event-legend>.sb-help-event-ten{background:linear-gradient(135deg,#66271c,#a24a20);border-color:#ffe29a}.sb-help-event-nine strong,.sb-help-event-nine span{color:#e9f7ff}.sb-help-event-ten strong,.sb-help-event-ten span{color:#fff0b7}
.sb-help-page .sb-help-inline-button{font-size:.8rem;margin-top:21px}
.sb-help-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sb-help-feature{padding:23px;border:1px solid var(--line,#dacde3);border-radius:16px;background:linear-gradient(140deg,#a57dc30b,#dfc1840a)}.sb-help-feature>span{font-size:2rem;display:block;margin-bottom:14px}.sb-help-page .sb-help-feature h3{font:700 1.2rem Georgia,serif;margin:0 0 12px}.sb-help-page .sb-help-feature p,.sb-help-feature li{font-size:.85rem;line-height:1.8}.sb-help-feature p:last-child{margin-bottom:0}.sb-help-feature ul{padding-left:19px;margin:0}.sb-help-feature li+li{margin-top:8px}.sb-help-money{border-color:#94b59277;background:linear-gradient(145deg,#7fc8a210,#e2d7a10d)}
.sb-help-faq{border-top:1px solid var(--line,#dacde3)}.sb-help-faq details{border-bottom:1px solid var(--line,#dacde3);padding:0}.sb-help-faq summary{cursor:pointer;padding:19px 6px;font-weight:700;font-size:.9rem;line-height:1.5}.sb-help-faq details[open] summary{color:var(--lav,#8663aa)}.sb-help-page .sb-help-faq details>p{font-size:.86rem;margin:0;padding:0 23px 20px;color:var(--muted,#7e6a89)}
.sb-help-farewell{text-align:center;padding:35px 20px 45px;margin-bottom:20px}.sb-help-farewell>span{font-size:2rem;color:var(--help-gold)}.sb-help-farewell h2{font:700 2rem/1.3 Georgia,serif;margin:15px 0}.sb-help-farewell>p{line-height:1.8;color:var(--muted,#7e6a89)}
@media(max-width:760px){.sb-help-equipment{grid-template-columns:1fr}.sb-help-equipment-card{display:grid;grid-template-columns:minmax(130px,35%) minmax(0,1fr)}.sb-help-equipment-art{height:100%;min-height:200px;border-bottom:0;border-right:1px solid var(--line,#dacde3);padding-left:12px;padding-right:12px}.sb-help-hud-diagram{padding:9px}.sb-help-two-col{grid-template-columns:1fr}.sb-help-location-guide{gap:20px}.sb-help-event-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.sb-help-page .sb-help-hero{padding:28px 18px 32px;min-height:0}.sb-help-back{margin-bottom:23px}.sb-help-page .sb-help-hero>p{font-size:.93rem}.sb-help-page .sb-help-section{padding:22px 18px;border-radius:17px}.sb-help-page .sb-help-intro{padding:22px 18px;gap:15px;align-items:flex-start}.sb-help-intro>span{font-size:2rem}.sb-help-page .sb-help-intro h2{font-size:1.2rem}.sb-help-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sb-help-steps>li{padding:19px 12px 15px}.sb-help-steps>li:last-child{grid-column:1/-1}.sb-help-location-guide{grid-template-columns:1fr}.sb-help-location-example{max-width:280px;width:100%;justify-self:center;box-sizing:border-box}.sb-help-equipment-card{grid-template-columns:1fr}.sb-help-equipment-art{min-height:0;height:200px;border-right:0;border-bottom:1px solid var(--line,#dacde3)}.sb-help-note{padding:16px 14px;gap:10px}.sb-help-cast-flow{gap:9px}.sb-help-cast-flow small{max-width:80px;font-size:.6rem}.sb-help-cast-flow b{font-size:.68rem}.sb-help-nav{gap:6px}.sb-help-nav a{font-size:.7rem;padding:7px 10px}.sb-help-feature{padding:20px}.sb-help-core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-help-hero-actions>.button{width:100%;font-size:.83rem}.sb-help-callouts{gap:20px}}
@media(prefers-reduced-motion:reduce){.sb-help-page{scroll-behavior:auto}}

html[data-theme] body.sb-public-body .sb-help-page .sb-help-hero{background-image:linear-gradient(100deg,rgba(12,9,29,.76),rgba(24,13,43,.47)),url('/assets/help-hero.svg')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;min-height:390px}
body.sb-public-body .sb-help-page .sb-help-hero :is(h1,p,.eyebrow){text-shadow:0 3px 16px rgba(6,4,26,.85)}
/* The guide's core gems MUST glow in their true gameplay colours. */
.sb-help-core.sb-help-core-rootbound{--help-core:#bb80ff!important}
.sb-help-core.sb-help-core-moonwood{--help-core:#59b2ff!important}
.sb-help-core.sb-help-core-runebound{--help-core:#47e6a1!important}
.sb-help-core.sb-help-core-astral{--help-core:#ffaf59!important}
.sb-help-core{border:1px solid color-mix(in srgb,var(--help-core),transparent 30%)!important;box-shadow:0 0 15px color-mix(in srgb,var(--help-core),transparent 64%),inset 0 0 23px color-mix(in srgb,var(--help-core),transparent 90%)!important;}
.sb-help-core .sb-help-core-gem{display:grid!important;place-items:center;margin:3px auto 15px!important;width:76px;height:76px;border-radius:24px!important;background:radial-gradient(circle at 35% 25%,#ffffffac 0%,color-mix(in srgb,var(--help-core),white 24%) 20%,var(--help-core) 60%,color-mix(in srgb,var(--help-core),black 25%) 88%)!important;color:#fff8fb!important;font-size:49px!important;text-shadow:0 0 10px #fff,0 0 27px var(--help-core)!important;filter:drop-shadow(0 0 11px var(--help-core))!important;box-shadow:0 0 16px var(--help-core),0 0 35px color-mix(in srgb,var(--help-core),transparent 38%),inset 0 0 14px #fff7!important;animation:sbCoreGuideGlow 3.6s ease-in-out infinite;}
.sb-help-core h3{color:var(--help-core)!important;text-shadow:0 0 9px var(--help-core),0 0 20px color-mix(in srgb,var(--help-core),transparent 50%)!important}
@keyframes sbCoreGuideGlow{0%,100%{transform:scale(.96);box-shadow:0 0 15px var(--help-core),0 0 27px color-mix(in srgb,var(--help-core),transparent 35%)}50%{transform:scale(1.045);box-shadow:0 0 25px var(--help-core),0 0 50px color-mix(in srgb,var(--help-core),transparent 16%)}}
@media(prefers-reduced-motion:reduce){.sb-help-core .sb-help-core-gem{animation:none!important}}

/* Public Help core colours gently pulse while reduced-motion stays static. */
body.sb-public-body .sb-help-core .sb-help-core-gem{animation:sbCoreGuideGlow 3.6s ease-in-out infinite!important}
@media(prefers-reduced-motion:reduce){body.sb-public-body .sb-help-core .sb-help-core-gem{animation:none!important}}
/* SPELLBOUND RC2.3 core guide glow rescue. Rootbound purple, Moonwood blue,
   Sylvan green (runebound ID), Astral Heart amber. Force visual effects to
   remain distinct across light and dark colour schemes. */
.sb-help-page .sb-help-core{position:relative!important;isolation:isolate!important;overflow:hidden!important;--help-core:#be89ef;border:2px solid var(--help-core)!important;border-radius:22px!important;background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--help-core) 29%,transparent),transparent 72%),linear-gradient(155deg,#291d43,#151b33)!important;box-shadow:inset 0 0 22px color-mix(in srgb,var(--help-core) 19%,transparent),0 0 23px color-mix(in srgb,var(--help-core) 49%,transparent)!important;}
.sb-help-page .sb-help-core.sb-help-core-rootbound{--help-core:#c38cff!important;}
.sb-help-page .sb-help-core.sb-help-core-moonwood{--help-core:#64c7ff!important;}
.sb-help-page .sb-help-core:is(.sb-help-core-runebound,.sb-help-core-sylvan){--help-core:#7aec9c!important;}
.sb-help-page .sb-help-core:is(.sb-help-core-astral,.sb-help-core-astral-heart){--help-core:#ffc078!important;}
.sb-help-page .sb-help-core::before{content:'';position:absolute;inset:-18px 17% 55%;border-radius:50%;background:var(--help-core);opacity:.17;filter:blur(19px);pointer-events:none;}
.sb-help-page .sb-help-core .sb-help-core-gem{position:relative;display:block;font-size:3.35rem!important;line-height:1.15;color:var(--help-core)!important;text-shadow:0 0 11px var(--help-core),0 0 27px var(--help-core),0 0 48px color-mix(in srgb,var(--help-core) 60%,transparent)!important;filter:drop-shadow(0 0 11px var(--help-core));animation:sbGuideCoreGlow 3.6s ease-in-out infinite!important;}
.sb-help-page .sb-help-core :is(h3,strong){color:#fff6e7!important;text-shadow:0 0 7px color-mix(in srgb,var(--help-core) 65%,transparent)!important;}
.sb-help-page .sb-help-core p{color:#e6dfee!important;}
.sb-help-page .sb-help-equipment-card:first-child .sb-help-art-tag{font-weight:800;}
@keyframes sbGuideCoreGlow{0%,100%{filter:drop-shadow(0 0 5px var(--help-core));transform:scale(1)}50%{filter:drop-shadow(0 0 20px var(--help-core));transform:scale(1.065)}}
@media(prefers-reduced-motion:reduce){.sb-help-page .sb-help-core .sb-help-core-gem{animation:none!important}}
/* Spellbound RC2.3 Visual Rescue Follow Up, presentation only */
/* Supplied equipment: cores, potions, crafting, then Archive. */
body.sb-private-body .sb-broom-closet-inside{display:flex;flex-direction:column;gap:17px;min-width:0}
body.sb-private-body .sb-broom-closet-inside > :is(.sb-inventory-grid,.sb-potion-grid,.sb-crafting-essence,.sb-wand-staff-archive){min-width:0}
body.sb-private-body .sb-wand-staff-archive{order:40;margin:23px 0 0;padding-top:20px;border-top:1px solid rgba(218,182,255,.3)}
body.sb-private-body .sb-wand-artifact.is-equipped{position:relative;isolation:isolate;border:2px solid #f4d58c!important;box-shadow:0 0 0 3px rgba(224,187,120,.15),0 0 25px rgba(202,153,255,.28),inset 0 0 27px rgba(237,187,117,.1)!important;overflow:visible!important}
body.sb-private-body .sb-wand-artifact.is-equipped::after{content:'';position:absolute;inset:6px;border:1px dashed rgba(245,219,145,.55);border-radius:inherit;pointer-events:none;z-index:1}
body.sb-private-body .sb-wand-artifact.is-equipped .sb-equipped-ribbon{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:999px;border:1px solid #ffe6a5;color:#2f2346;background:linear-gradient(115deg,#fff6ca,#f0c578);font-weight:800;font-size:.78rem;box-shadow:0 2px 13px rgba(244,206,126,.3);position:relative;z-index:2;margin:6px 0 9px}
/* Toast particles glimmer along the outside edges, never cover notification text. */
#spellbound-notifications{position:fixed!important;left:clamp(10px,2vw,25px)!important;top:clamp(12px,2.5vw,25px)!important;right:auto!important;bottom:auto!important;z-index:100000!important;max-width:min(410px,calc(100vw - 24px))!important;pointer-events:none}
#spellbound-notifications .sb-toast{pointer-events:auto;position:relative;isolation:isolate;overflow:visible!important}
#spellbound-notifications .sb-toast::before,#spellbound-notifications .sb-toast::after{content:'✦  ·   ✧   ·   ✦';position:absolute;inset:auto auto auto 7%;top:-13px;z-index:2;pointer-events:none;font-size:11px;letter-spacing:6px;color:#ffecaf;opacity:.66;text-shadow:0 0 5px #ffedb1,0 0 11px #e1baff;animation:sbNeatTwinkle 4s ease-in-out infinite}
#spellbound-notifications .sb-toast::after{left:auto;right:-13px;top:23%;font-size:9px;letter-spacing:3px;writing-mode:vertical-rl;animation-delay:-1.6s}
@keyframes sbNeatTwinkle{0%,100%{opacity:.3;filter:brightness(.85);transform:translateY(1px)}50%{opacity:.94;filter:brightness(1.12);transform:translateY(-2px)}}
/* Celestial field: non-repeating stars at individually selected uneven heights. */
body.sb-private-body .spellbound-forest .sb-forest-stars{background-image:radial-gradient(circle at 7% 14%,#fff 0 1px,transparent 2px),radial-gradient(circle at 21% 39%,#ffedba 0 1.2px,transparent 2.7px),radial-gradient(circle at 43% 9%,#e4e0ff 0 1.3px,transparent 2.6px),radial-gradient(circle at 67% 32%,#fff 0 1px,transparent 2.5px),radial-gradient(circle at 90% 11%,#d7e9ff 0 1.5px,transparent 3px),radial-gradient(circle at 12% 64%,#d5f6ff 0 .9px,transparent 2px),radial-gradient(circle at 35% 54%,#ffe2c2 0 1px,transparent 2px),radial-gradient(circle at 79% 60%,#fff 0 1.2px,transparent 2.5px),radial-gradient(circle at 57% 73%,#ffe7ff 0 1px,transparent 2.2px),radial-gradient(circle at 96% 43%,#ddc7ff 0 1px,transparent 2.1px)!important;background-size:100% 100%!important;background-repeat:no-repeat!important;z-index:2!important}
body.sb-private-body .spellbound-forest .sb-forest-stars::before,body.sb-private-body .spellbound-forest .sb-forest-stars::after{content:'✧';position:absolute;top:16%;left:28%;font-size:12px;color:#ffdfaf;opacity:.7;text-shadow:0 0 11px #fff;animation:sbForestGlint 6.3s ease-in-out infinite}
body.sb-private-body .spellbound-forest .sb-forest-stars::after{top:43%;left:83%;font-size:9px;color:#b6eaff;animation-delay:-2.8s}
@keyframes sbForestGlint{0%,100%{opacity:.18;transform:scale(.75)}50%{opacity:.9;transform:scale(1.2)}}
body.sb-private-body .spellbound-forest .sb-forest-shooting-star{top:16%;left:-18%;z-index:4;animation:sbNewShootingStar 27s ease-in-out infinite!important;opacity:0;pointer-events:none}
@keyframes sbNewShootingStar{0%,12%,35%,100%{opacity:0;transform:translate(0,-22px) rotate(-17deg)}16%{opacity:.95;transform:translate(38vw,35px) rotate(-17deg)}24%{opacity:0;transform:translate(73vw,110px) rotate(-17deg)}}
body.sb-private-body .spellbound-forest .forest-wizard{z-index:12!important;isolation:isolate!important;pointer-events:none}
body.sb-private-body .spellbound-forest .forest-box{z-index:7!important}
body.sb-private-body .spellbound-forest .forest-path{z-index:3!important}
/* The ATM gets a real decorative layer, not merely a changed background. */
body.sb-private-body #sb-atm-card{position:relative!important;isolation:isolate!important;border:2px solid #e4c78a!important;border-radius:23px!important;background:radial-gradient(ellipse at 55% 120%,rgba(114,247,223,.22),transparent 55%),radial-gradient(ellipse at 70% -20%,rgba(207,148,255,.36),transparent 55%),linear-gradient(145deg,#261936,#142d40 68%,#1a2434)!important;box-shadow:inset 0 0 0 4px rgba(253,215,139,.075),inset 0 0 28px rgba(211,169,255,.16),0 14px 34px rgba(32,18,48,.42),0 0 24px rgba(210,165,247,.28)!important;overflow:hidden!important}
body.sb-private-body #sb-atm-card>.sb-atm-enchantment{position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;overflow:hidden;border-radius:inherit}
body.sb-private-body #sb-atm-card>.sb-atm-enchantment .sb-atm-arcane-ring{position:absolute;top:50%;right:7%;width:80px;height:80px;border-radius:50%;transform:translateY(-50%);border:2px solid rgba(245,214,149,.65);box-shadow:0 0 12px rgba(218,181,246,.64),inset 0 0 15px rgba(125,233,234,.33);animation:sbArcaneDial 16s linear infinite}
body.sb-private-body #sb-atm-card>.sb-atm-enchantment .sb-atm-arcane-ring::before{content:'✧  ✦  ✧  ✦';position:absolute;inset:7px;border:1px dotted rgba(239,216,164,.7);border-radius:50%;display:grid;place-items:center;font-size:9px;line-height:1.8;text-align:center;color:#ffe6ab}
body.sb-private-body #sb-atm-card>.sb-atm-enchantment .sb-atm-orbit{position:absolute;left:var(--x);top:var(--y);font-size:var(--size,13px);color:#ffe8a4;text-shadow:0 0 9px #d3bdff;opacity:.75;animation:sbATMEmber 5s ease-in-out infinite;animation-delay:var(--delay)}
body.sb-private-body #sb-atm-card>:not(.sb-atm-enchantment){position:relative;z-index:2}
@keyframes sbATMEmber{0%,100%{opacity:.18;transform:translateY(3px) scale(.78)}50%{opacity:1;transform:translateY(-9px) scale(1.16)}}
@keyframes sbArcaneDial{0%{rotate:0deg}100%{rotate:360deg}}
html[data-theme="light"] body.sb-private-body #sb-atm-card{background:radial-gradient(ellipse at 90% 20%,rgba(197,137,231,.32),transparent 46%),linear-gradient(135deg,#fff8f1,#e4e0f9,#d5edf1)!important;box-shadow:0 12px 28px #7956a036,inset 0 0 0 4px #ffffff79!important}
html[data-theme="light"] body.sb-private-body #sb-atm-card>.sb-atm-enchantment .sb-atm-arcane-ring{border-color:#9063aa;box-shadow:0 0 15px #a879bc5f}
/* Crystal Keepers is its own full-width card BELOW the matching grid. */
body.sb-private-body .memory-game-shell.is-expanded{box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;min-width:0!important;max-height:calc(100dvh - 16px)!important;background:radial-gradient(ellipse at 85% 0%,#603c8259,transparent 50%),linear-gradient(152deg,#221e39,#1d2d46)!important;border:2px solid #8f73bc!important;border-radius:25px!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-content{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;width:100%!important;min-width:0!important;flex-wrap:nowrap!important;overflow:visible!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{position:relative!important;inset:auto!important;float:none!important;display:block!important;clear:both!important;align-self:center!important;width:min(100%,720px)!important;max-width:100%!important;margin:24px auto 32px!important;padding:22px!important;min-height:125px!important;flex:0 0 auto!important;box-sizing:border-box!important;z-index:1!important;overflow:hidden!important;border:2px solid rgba(225,195,255,.72)!important;border-radius:22px!important;background:radial-gradient(ellipse at 14% 0%,rgba(243,207,130,.18),transparent 50%),linear-gradient(140deg,#37304d,#233049)!important;box-shadow:inset 0 1px rgba(255,255,255,.24),0 14px 30px #120e2c7a,0 0 20px #b196ee30!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard::before{content:'✧  ✦  ✧';position:absolute;right:18px;top:10px;font-size:12px;letter-spacing:5px;color:#e6ca9b;opacity:.65;animation:sbNeatTwinkle 5s ease-in-out infinite;pointer-events:none}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading{display:block!important;max-width:100%!important;position:relative;z-index:1}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading :is(strong,small){display:block!important;white-space:normal!important;overflow-wrap:break-word!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li{grid-template-columns:30px minmax(0,1fr) auto!important;box-sizing:border-box;min-width:0}
html[data-theme="light"] body.sb-private-body .memory-game-shell.is-expanded{background:linear-gradient(140deg,#f7f0ff,#e5e5f3)!important}
html[data-theme="light"] body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{background:linear-gradient(140deg,#faf3ff,#e7e6fa)!important;border-color:#aa81bd!important}
/* Crossword: calm enchanted library tones, not a blown-out white sheet. */
body.sb-private-body .crossword-game-shell.is-expanded{background:radial-gradient(ellipse at 70% 0%,rgba(184,141,234,.22),transparent 54%),linear-gradient(145deg,#282139,#222c45 75%)!important;border:2px solid #b59bd0!important;box-shadow:0 18px 50px #160d3194,inset 0 0 0 4px #ebd9ff10!important}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-content{background:transparent!important;color:#f1e6ff!important}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-heading h2{color:#ffe2a1!important;text-shadow:0 0 12px #d2aaff55!important}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-clue-group{background:linear-gradient(150deg,#e9d9c7,#d9c9dc)!important;border:1px solid #caa3d5!important;box-shadow:inset 0 0 0 2px #ffffff5c,0 7px 22px #140b2345!important}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-clue-group h3{color:#432c57!important}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-clue{background:#f6eee6d9!important;color:#392b44!important}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-cell:not(.is-block){background:#f6eee6!important;color:#332344!important}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-board{box-shadow:0 0 0 2px #f3dda35c,0 0 25px #c0a0ef5f!important}
html[data-theme="light"] body.sb-private-body .crossword-game-shell.is-expanded{background:linear-gradient(145deg,#eae1f4,#e1e8f0)!important}
/* Level prestige: a distinct visual tier at level 100. */
body.sb-private-body .sb-caster-profile{border:2px solid rgba(200,167,239,.58)!important;background:radial-gradient(ellipse at 85% 5%,#cba1f038,transparent 45%),radial-gradient(ellipse at 0% 90%,#80e9d723,transparent 42%),linear-gradient(138deg,#2a203c,#20273e)!important;box-shadow:inset 0 0 0 4px #ffffff10,0 15px 35px #110d3070,0 0 20px #b99bec2e!important}
body.sb-private-body .sb-caster-profile .sb-profile-crest{filter:drop-shadow(0 0 14px rgba(225,199,255,.76))!important}
body.sb-private-body .sb-caster-profile .sb-profile-heading{position:relative;z-index:2}
body.sb-private-body .sb-caster-profile[data-sb-grandmaster="true"]{border:2px solid #ffdc92!important;background:radial-gradient(circle at 85% 4%,#ffe29a3f,transparent 42%),radial-gradient(circle at 3% 90%,#bca2fa43,transparent 40%),linear-gradient(140deg,#3c2945,#212e48)!important;box-shadow:inset 0 0 0 4px #ffe4a719,0 0 38px #e8b76978,0 18px 38px #170b3388!important}
body.sb-private-body .sb-caster-profile[data-sb-grandmaster="true"] .sb-profile-crest{filter:drop-shadow(0 0 19px #ffdfa8)!important}
body.sb-private-body .sb-caster-profile .sb-grandmaster-ribbon{display:none}
body.sb-private-body .sb-caster-profile[data-sb-grandmaster="true"] .sb-grandmaster-ribbon{display:inline-block;margin-top:8px;padding:6px 12px;border:1px solid #ffe2a4;background:linear-gradient(100deg,#f7dc9c,#f6ecca);color:#412c40;font-size:.78rem;font-weight:800;letter-spacing:.07em;border-radius:999px;box-shadow:0 0 16px #f9d69c77}
html[data-theme="light"] body.sb-private-body .sb-caster-profile{background:radial-gradient(circle at 12% 8%,#d9b9f277,transparent 50%),linear-gradient(140deg,#fffafa,#f0e7f7)!important;color:#4c2d59!important}
/* Help guide gems: crisp diamonds with a restrained halo, no glowing square. */
.sb-help-page .sb-help-core{overflow:visible!important;background:linear-gradient(155deg,#291d43,#151b33)!important;box-shadow:0 6px 20px #140a2c73,inset 0 0 8px color-mix(in srgb,var(--help-core) 8%,transparent)!important}
.sb-help-page .sb-help-core::before{display:none!important}
.sb-help-page .sb-help-core .sb-help-core-gem{display:inline-block!important;position:relative;isolation:isolate;color:var(--help-core)!important;font-size:3.15rem!important;line-height:1.15!important;text-shadow:0 0 5px color-mix(in srgb,var(--help-core) 38%,transparent)!important;filter:none!important;box-shadow:none!important;background:none!important;animation:sbGemBreathe 5.4s ease-in-out infinite!important}
@keyframes sbGemBreathe{0%,100%{opacity:.94;text-shadow:0 0 3px color-mix(in srgb,var(--help-core) 20%,transparent);transform:scale(1)}50%{opacity:1;text-shadow:0 0 8px color-mix(in srgb,var(--help-core) 50%,transparent);transform:scale(1.035)}}
/* Community Champions Hall: prestige display, not a generic details box. */
body.sb-public-body .sb-champions-hall{position:relative;isolation:isolate;overflow:hidden;border:2px solid rgba(237,198,118,.82)!important;border-radius:24px!important;background:radial-gradient(ellipse at 91% 0%,#edbf6b3f,transparent 40%),radial-gradient(ellipse at 4% 90%,#b8a2f43a,transparent 42%),linear-gradient(145deg,#2c263e,#21293b)!important;box-shadow:inset 0 0 0 4px #f6de9d18,0 0 28px #e9bf7d3d,0 16px 35px #160d2861!important;padding:18px!important}
body.sb-public-body .sb-champions-hall::before{content:'✦   ✧   ✦';position:absolute;right:22px;top:18px;color:#e9c48e;font-size:13px;letter-spacing:9px;pointer-events:none;animation:sbNeatTwinkle 4.5s ease-in-out infinite}
body.sb-public-body .sb-champions-hall summary{color:#ffe3a4!important;font:800 clamp(1.15rem,2vw,1.45rem)/1.4 Georgia,serif!important;letter-spacing:.025em;padding:10px 6px!important;list-style-position:inside}
body.sb-public-body .sb-champions-hall-body{margin:12px 0 0;border-top:1px solid #e9d09f66;padding:18px 2px 6px!important;max-width:100%;overflow-x:hidden}
body.sb-public-body .sb-champions-hall .sb-winner-month{border-radius:17px;border:1px solid #f1d59c55;background:linear-gradient(135deg,#f1d69b16,#c59eff10);box-shadow:0 4px 15px #180d2b40}
@media(max-width:600px){body.sb-private-body #sb-atm-card>.sb-atm-enchantment .sb-atm-arcane-ring{right:3%;width:57px;height:57px;opacity:.55}body.sb-private-body .memory-game-shell.is-expanded .memory-game-content{padding:0!important}body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{padding:13px!important}body.sb-private-body .sb-wand-artifact.is-equipped .sb-equipped-ribbon{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){#spellbound-notifications .sb-toast::before,#spellbound-notifications .sb-toast::after,body.sb-private-body #sb-atm-card .sb-atm-enchantment *,body.sb-private-body .spellbound-forest .sb-forest-stars::before,body.sb-private-body .spellbound-forest .sb-forest-stars::after,body.sb-public-body .sb-champions-hall::before,.sb-help-page .sb-help-core .sb-help-core-gem{animation:none!important}}
