.memory-game-shell{ position:fixed; z-index:9000; top:76px; right:18px; box-sizing:border-box; width:313px; height:313px; margin:0; padding:30px 22px 22px; overflow:hidden; isolation:isolate; border:1px solid rgba(192,157,224,.82); border-radius:50%; background:radial-gradient(circle at 28% 20%,rgba(255,255,255,.98),rgba(241,226,255,.92) 28%,rgba(205,229,255,.92) 67%,rgba(157,112,211,.93)); box-shadow:0 18px 50px rgba(72,43,96,.28),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -18px 34px rgba(81,43,119,.13); transition:width .35s ease,height .35s ease,top .35s ease,right .35s ease,border-radius .35s ease,padding .35s ease,transform .25s ease,box-shadow .25s ease; }
.memory-game-shell::before{ content:""; position:absolute; inset:7px; z-index:-1; border:1px solid rgba(255,255,255,.64); border-radius:inherit; box-shadow:inset 0 0 26px rgba(255,255,255,.42); pointer-events:none; }
.memory-game-shell:hover{ box-shadow:0 22px 60px rgba(72,43,96,.34),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -18px 34px rgba(81,43,119,.13); }
.memory-game-shell.is-expanded{ top:12px; right:12px; width:min(760px,calc(100vw - 24px)); height:min(900px,calc(100vh - 24px)); max-width:calc(100vw - 24px); max-height:calc(100vh - 24px); padding:30px; border-radius:36px; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.memory-game-shell.is-minimized{ width:80px; height:80px; padding:0; border-radius:50%; overflow:visible; }
.memory-game-content{ height:auto; min-height:100%; display:flex; flex-direction:column; }
.memory-game-shell.is-minimized .memory-game-content{ display:none; }
.memory-game-launcher{ display:none; width:100%; height:100%; border:0; border-radius:50%; background:transparent; color:#fff; font-size:1.75rem; cursor:pointer; filter:drop-shadow(0 3px 7px rgba(66,35,91,.38)); }
.memory-game-launcher:hover{ transform:scale(1.07) rotate(-5deg); }
.memory-game-shell.is-minimized .memory-game-launcher{ display:grid; place-items:center; }
.memory-game-toolbar{ position:absolute; z-index:4; top:112px; right:38px; display:flex; flex-direction:column; gap:5px; }
.memory-game-shell.is-expanded .memory-game-toolbar{ top:12px; right:16px; flex-direction:row; }
.memory-game-tool{ display:grid; place-items:center; width:25px; height:25px; padding:0; border:1px solid rgba(112,73,139,.24); border-radius:50%; background:rgba(255,255,255,.72); color:#58386f; font:800 12px/1 Arial,sans-serif; cursor:pointer; box-shadow:0 4px 10px rgba(75,45,96,.1); }
.memory-game-tool:hover{ transform:translateY(-1px); }
.memory-game-heading{ text-align:center; margin:0 0 4px; padding:0 45px 0 8px; }
.memory-game-heading h2{ margin:0; font-size:15px; line-height:1.1; }
.memory-game-heading p{ display:none; margin:5px auto 0; max-width:440px; color:#675775; line-height:1.45; }
.memory-game-shell.is-expanded .memory-game-heading{ margin:5px 0 12px; padding:0 72px; }
.memory-game-shell.is-expanded .memory-game-heading h2{ font-size:1.65rem; }
.memory-game-shell.is-expanded .memory-game-heading p{ display:block; }
.memory-game-controls{ display:flex; align-items:center; justify-content:center; gap:6px; flex-wrap:wrap; margin:0 0 7px; }
.memory-game-stats{ display:flex; justify-content:center; gap:4px; }
.memory-game-pill{ min-width:50px; padding:4px 6px; border:1px solid rgba(138,95,170,.2); border-radius:999px; background:rgba(255,255,255,.62); color:#654778; text-align:center; font-size:9px; font-weight:800; }
.memory-game-pill strong{ display:block; color:#432d52; font-size:10px; }
.memory-game-shell.is-expanded .memory-game-controls{ justify-content:space-between; gap:10px; margin-bottom:15px; }
.memory-game-shell.is-expanded .memory-game-stats{ gap:8px; }
.memory-game-shell.is-expanded .memory-game-pill{ min-width:92px; padding:8px 11px; font-size:.78rem; }
.memory-game-shell.is-expanded .memory-game-pill strong{ display:inline; font-size:inherit; }
.memory-game-reset{ border:1px solid #c9a9dd; border-radius:999px; background:linear-gradient(145deg,#fff,#eee1fa); color:#53366a; padding:5px 8px; font:inherit; font-size:9px; font-weight:900; cursor:pointer; box-shadow:0 5px 12px rgba(79,48,99,.1); }
.memory-game-shell.is-expanded .memory-game-reset{ padding:10px 15px; font-size:.9rem; }
.memory-board{ width:173px; height:173px; flex:0 0 auto; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:4px; perspective:1000px; }
.memory-game-shell.is-expanded .memory-board{ position:relative; z-index:2; width:min(100%,520px); height:auto; aspect-ratio:1; flex:0 0 auto; gap:12px; }
.memory-tile{ position:relative; width:100%; aspect-ratio:1; padding:0; border:0; border-radius:50%; background:transparent; cursor:pointer; contain:layout paint; transition:transform .16s ease,filter .16s ease; -webkit-tap-highlight-color:transparent; }
.memory-tile:hover:not(:disabled){ filter:brightness(1.07); }
.memory-tile:focus-visible{ outline:3px solid #8b5eaa; outline-offset:2px; }
.memory-tile.is-flipped,.memory-tile.is-matched{ transform:none; }
.memory-tile.is-matched{ cursor:default; animation:memory-match .7s ease both; }
.memory-tile-face{ position:absolute; inset:0; display:grid; place-items:center; border-radius:50%; backface-visibility:visible; -webkit-backface-visibility:visible; overflow:hidden; transition:opacity .16s ease,transform .2s cubic-bezier(.2,.75,.2,1); will-change:opacity,transform; }
.memory-tile-face::before{ content:""; position:absolute; inset:8%; border-radius:50%; border:1px solid rgba(255,255,255,.72); box-shadow:inset 0 0 12px rgba(255,255,255,.56); pointer-events:none; }
.memory-tile-cover{ opacity:1; transform:scale(1) rotateY(0deg); background:radial-gradient(circle at 32% 24%,#fff 0 8%,rgba(255,255,255,.75) 9% 18%,transparent 19%),conic-gradient(from 20deg,#c8a7ed,#eef7ff,#b9dce8,#e5c8ff,#c8a7ed); border:1px solid rgba(129,89,160,.35); box-shadow:0 5px 12px rgba(76,44,102,.17),inset -6px -7px 13px rgba(94,54,129,.15),inset 5px 6px 10px rgba(255,255,255,.72); color:#fff; text-shadow:0 2px 7px rgba(69,35,93,.42); }
.memory-tile-cover span{ position:relative; z-index:1; font-size:17px; filter:drop-shadow(0 2px 3px rgba(85,51,112,.32)); }
.memory-tile-symbol{ opacity:0; transform:scale(.72) rotateY(90deg); background:radial-gradient(circle at 30% 24%,rgba(255,255,255,.95),transparent 16%),linear-gradient(145deg,#fff8df,#f1e5ff 48%,#d8f3ff); border:1px solid rgba(129,89,160,.32); box-shadow:0 6px 14px rgba(76,44,102,.16),inset -6px -7px 13px rgba(104,69,138,.12),inset 5px 6px 10px rgba(255,255,255,.78); color:#432d52; }
.memory-tile-symbol span{ position:relative; z-index:1; font-size:19px; filter:drop-shadow(0 2px 4px rgba(74,42,97,.2)); }
.memory-tile.is-flipped .memory-tile-cover,.memory-tile.is-matched .memory-tile-cover{ opacity:0; transform:scale(.72) rotateY(-90deg); pointer-events:none; }
.memory-tile.is-flipped .memory-tile-symbol,.memory-tile.is-matched .memory-tile-symbol{ opacity:1; transform:scale(1) rotateY(0deg); }
.memory-game-shell.is-expanded .memory-tile-cover span,.memory-game-shell.is-expanded .memory-tile-symbol span{ font-size:clamp(1.65rem,5vw,2.7rem); }
.memory-tile.is-matched .memory-tile-symbol{ border-color:rgba(214,170,61,.72); box-shadow:0 0 0 2px rgba(255,225,128,.28),0 7px 20px rgba(105,69,133,.18),inset 0 0 18px rgba(255,242,177,.55); }
.memory-game-message{ min-height:14px; margin:5px 12px 0; text-align:center; color:#674879; font-size:9px; font-weight:800; line-height:1.2; }
.memory-game-shell.is-expanded .memory-game-message{ min-height:28px; margin:15px 0 0; font-size:1rem; line-height:1.4; }
.memory-game-message.is-win{ color:#5a3b77; animation:memory-win .65s ease both; }
.memory-name-entry,.memory-leaderboard{ display:none; width:min(100%,520px); margin:16px auto 0; }
.memory-game-shell.is-expanded .memory-name-entry:not([hidden]),.memory-game-shell.is-expanded .memory-leaderboard{ display:block; }
.memory-name-entry{ padding:14px; border:1px solid rgba(205,165,66,.55); border-radius:18px; background:linear-gradient(135deg,rgba(255,247,210,.94),rgba(242,228,255,.94)); text-align:center; box-shadow:0 10px 25px rgba(75,45,96,.1); }
.memory-name-entry strong{ display:block; color:#5d3f72; font-size:1rem; }
.memory-name-entry p{ margin:5px 0 11px; color:#6d5a77; font-size:.86rem; }
.memory-name-form{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.memory-name-form input{ flex:1 1 190px; min-width:0; border:1px solid #cbb2dc; border-radius:999px; background:#fff; color:#3e294c; padding:9px 12px; font:inherit; }
.memory-name-form button{ border:1px solid #c5a2d9; border-radius:999px; background:#fff; color:#523568; padding:9px 12px; font:inherit; font-weight:900; cursor:pointer; }
.memory-name-form button[type="submit"]{ background:linear-gradient(145deg,#76508f,#533268); border-color:#533268; color:#fff; }
.memory-name-status{ display:block; min-height:1.2em; margin-top:8px; color:#6b4c78; font-weight:800; }
.memory-leaderboard{ padding:14px 16px; border:1px solid rgba(142,99,174,.22); border-radius:18px; background:rgba(255,255,255,.64); }
.memory-leaderboard-heading{ display:flex; justify-content:space-between; gap:10px; align-items:end; margin-bottom:9px; }
.memory-leaderboard-heading strong{ color:#51356a; }
.memory-leaderboard-heading small{ color:#776680; text-align:right; }
.memory-leaderboard ol{ display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.memory-leaderboard li{ display:grid; grid-template-columns:30px minmax(0,1fr) auto; align-items:center; gap:8px; min-height:36px; padding:7px 9px; border-radius:12px; background:rgba(255,255,255,.72); }
.memory-leaderboard li strong{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#432d52; }
.memory-leaderboard li small{ color:#75637f; font-weight:800; white-space:nowrap; }
.memory-leaderboard-empty{ display:block; padding:8px; text-align:center; color:#776680; }
.memory-game-shell.is-celebrating{ animation:memory-shell-celebrate 1.8s ease both; }
.memory-win-particle{ position:fixed; z-index:10050; left:0; top:0; pointer-events:none; font-size:var(--particle-size,18px); transform:translate(-50%,-50%); animation:memory-particle-burst 1.45s cubic-bezier(.12,.72,.2,1) forwards; filter:drop-shadow(0 0 7px rgba(255,255,255,.9)); }
@keyframes memory-match{ 0% { transform:scale(1); } 45% { transform:scale(1.1); } 100% { transform:scale(1); } }
@keyframes memory-win{ from { opacity:0; transform:translateY(7px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes memory-shell-celebrate{ 0%,100% { filter:none; } 22% { transform:scale(1.035); box-shadow:0 0 22px rgba(255,255,255,.95),0 0 55px rgba(204,145,255,.9),0 0 95px rgba(109,216,255,.7); } 55% { transform:scale(.99); box-shadow:0 0 30px rgba(255,236,144,.95),0 0 70px rgba(220,157,255,.9),0 0 110px rgba(126,225,255,.76); } }
@keyframes memory-particle-burst{ 0% { opacity:0; transform:translate(-50%,-50%) scale(.35) rotate(0deg); } 12% { opacity:1; } 100% { opacity:0; transform:translate(calc(-50% + var(--burst-x)),calc(-50% + var(--burst-y))) scale(1.1) rotate(var(--burst-rotate)); } }
html[data-theme="dark"] .memory-game-shell{ background:radial-gradient(circle at 28% 20%,rgba(255,255,255,.2),rgba(72,49,86,.97) 30%,rgba(43,61,75,.97) 68%,rgba(41,25,53,.98)); border-color:#775b8a; box-shadow:0 20px 58px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.16),inset 0 -18px 34px rgba(0,0,0,.22); }
html[data-theme="dark"] .memory-game-heading p,html[data-theme="dark"] .memory-game-message{ color:#d2c2da; }
html[data-theme="dark"] .memory-game-pill,html[data-theme="dark"] .memory-game-tool{ background:rgba(27,21,33,.74); border-color:#6a5278; color:#ddd0e4; }
html[data-theme="dark"] .memory-game-pill strong{ color:#fff; }
html[data-theme="dark"] .memory-game-reset{ background:linear-gradient(145deg,#382b43,#241c2b); border-color:#765889; color:#f4eaf8; }
html[data-theme="dark"] .memory-name-entry{ background:linear-gradient(135deg,rgba(73,58,28,.96),rgba(48,34,58,.96)); border-color:#806e3d; }
html[data-theme="dark"] .memory-name-entry strong,html[data-theme="dark"] .memory-leaderboard-heading strong,html[data-theme="dark"] .memory-leaderboard li strong{ color:#f5edf9; }
html[data-theme="dark"] .memory-name-entry p,html[data-theme="dark"] .memory-name-status,html[data-theme="dark"] .memory-leaderboard-heading small,html[data-theme="dark"] .memory-leaderboard li small,html[data-theme="dark"] .memory-leaderboard-empty{ color:#d2c2da; }
html[data-theme="dark"] .memory-name-form input,html[data-theme="dark"] .memory-name-form button,html[data-theme="dark"] .memory-leaderboard,html[data-theme="dark"] .memory-leaderboard li{ background:rgba(27,21,33,.78); border-color:#6a5278; color:#f4edf8; }
html[data-theme="dark"] .memory-tile-cover{ background:radial-gradient(circle at 32% 24%,rgba(255,255,255,.9) 0 7%,rgba(255,255,255,.25) 8% 17%,transparent 18%),conic-gradient(from 20deg,#69477d,#476377,#624776,#395865,#69477d); border-color:#816593; }
html[data-theme="dark"] .memory-tile-symbol{ background:radial-gradient(circle at 30% 24%,rgba(255,255,255,.2),transparent 16%),linear-gradient(145deg,#493653,#342a40 48%,#2b424d); border-color:#745d81; color:#fff; }
@media(max-width:700px){.memory-game-shell{top:68px;right:10px;transform:scale(.9);transform-origin:top right}
.memory-game-shell.is-expanded{top:8px;right:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);transform:none;padding:18px 14px}
.memory-game-shell.is-minimized{transform:none}
.memory-game-shell.is-expanded .memory-game-heading{padding:0 66px 0 8px}
.memory-game-shell.is-expanded .memory-game-heading h2{font-size:1.35rem}
.memory-game-shell.is-expanded .memory-game-stats{display:grid;grid-template-columns:repeat(3,1fr);width:100%}
.memory-game-shell.is-expanded .memory-game-pill{min-width:0}
.memory-game-shell.is-expanded .memory-game-controls{display:block}
.memory-game-shell.is-expanded .memory-game-reset{width:100%;margin-top:9px}
.memory-game-shell.is-expanded .memory-board{width:min(100%,440px);gap:8px}
.memory-game-shell.is-expanded .memory-game-message{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.memory-game-shell,.memory-tile,.memory-game-reset,.memory-game-tool{transition:none}
.memory-tile.is-matched,.memory-game-message.is-win,.memory-game-shell.is-celebrating,.memory-win-particle{animation:none}}
.fishing-game-shell{position:fixed;z-index:8995;top:166px;right:18px;box-sizing:border-box;width:80px;height:80px;margin:0;padding:0;overflow:visible;isolation:isolate;border:1px solid rgba(192,157,224,.82);border-radius:50%;background:radial-gradient(circle at 28% 20%,rgba(255,255,255,.98),rgba(241,226,255,.94) 30%,rgba(205,229,255,.93) 67%,rgba(157,112,211,.94));box-shadow:0 10px 22px rgba(72,43,96,.12),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -10px 18px rgba(81,43,119,.1);transition:width .35s ease,height .35s ease,top .35s ease,right .35s ease,border-radius .35s ease,padding .35s ease,box-shadow .25s ease}
.fishing-game-shell::before{content:"";position:absolute;inset:7px;z-index:-1;border:1px solid rgba(255,255,255,.64);border-radius:inherit;box-shadow:inset 0 0 22px rgba(255,255,255,.42);pointer-events:none}
.fishing-game-shell.is-expanded{z-index:9150;top:12px;right:12px;width:min(820px,calc(100vw - 24px));height:min(790px,calc(100dvh - 24px));padding:25px;border:2px solid rgba(190,145,230,.78);border-radius:32px;overflow:auto;background:linear-gradient(145deg,#3b2058 0%,#684083 46%,#45245f 100%);box-shadow:0 24px 75px rgba(51,24,73,.48),0 0 34px rgba(171,105,220,.2),inset 0 1px 0 rgba(255,255,255,.16)}
.fishing-game-launcher{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;font-size:1.75rem;cursor:pointer;text-shadow:0 1px 0 rgba(68,37,91,.22);filter:drop-shadow(0 3px 7px rgba(66,35,91,.38))}
.fishing-game-launcher:hover,.fishing-game-shell.is-expanded .fishing-game-heading .fishing-rod{animation:fishingRodWiggle .65s ease-in-out infinite alternate}
@keyframes fishingRodWiggle{from{transform:rotate(-7deg) translateY(0)}to{transform:rotate(8deg) translateY(-2px)}}
.fishing-game-content{display:none}
.fishing-game-shell.is-expanded .fishing-game-launcher{display:none}
.fishing-game-shell.is-expanded .fishing-game-content{display:block}
.fishing-game-toolbar{display:flex;justify-content:flex-end;gap:6px}
.fishing-game-tool{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.48);border-radius:50%;background:rgba(6,57,78,.45);color:#fff;cursor:pointer}
.fishing-game-heading{text-align:center;color:#fff7ff;text-shadow:0 2px 10px rgba(247,222,255,.34)}
.fishing-game-heading h2{margin:2px 0 5px;color:#fffaff;text-shadow:0 1px 0 rgba(255,255,255,.22),0 0 12px rgba(232,198,255,.28)}
.fishing-rod{display:inline-block;margin-right:5px}
.fishing-sea{position:relative;overflow:hidden;height:410px;border:1px solid rgba(223,250,255,.42);border-radius:28px;background:linear-gradient(180deg,rgba(165,235,245,.74) 0 11%,rgba(29,145,180,.8) 12% 42%,rgba(10,81,126,.95) 43% 100%);box-shadow:inset 0 24px 45px rgba(255,255,255,.12),inset 0 -30px 55px rgba(0,28,65,.26)}
.fishing-surface{position:absolute;left:0;right:0;top:48px;height:12px;background:repeating-radial-gradient(ellipse at center,rgba(255,255,255,.68) 0 2px,transparent 3px 22px);animation:fishingWave 5s linear infinite}
.fishing-fairy{position:absolute;top:5px;left:50%;transform:translateX(-50%);font-size:42px;z-index:5;filter:drop-shadow(0 5px 8px rgba(0,0,0,.18))}
.fishing-line{position:absolute;top:43px;left:50%;width:2px;height:210px;background:rgba(240,250,255,.82);transform-origin:top;animation:fishingLineSway 3s ease-in-out infinite}
.fishing-fish{position:absolute;font-size:28px;animation:fishingSwim 9s linear infinite}
.fishing-fish.f2{top:185px;animation-duration:12s;animation-delay:-5s}
.fishing-fish.f3{top:260px;animation-duration:15s;animation-delay:-9s}
.fishing-fish.f4{top:325px;animation-duration:11s;animation-delay:-2s}
.fishing-bubbles{position:absolute;inset:70px 0 0;pointer-events:none;background-image:radial-gradient(circle,rgba(230,251,255,.7) 0 2px,transparent 3px),radial-gradient(circle,rgba(230,251,255,.45) 0 3px,transparent 4px);background-size:80px 110px,130px 170px;animation:fishingBubbles 9s linear infinite}
.fishing-chest-water{position:absolute;font-size:32px;filter:drop-shadow(0 4px 7px rgba(0,0,0,.25));animation:fishingChestBob 2.8s ease-in-out infinite}
.fishing-chest-water.c1{left:17%;top:160px}
.fishing-chest-water.c2{right:18%;top:230px;animation-delay:-1s}
.fishing-chest-water.c3{left:45%;top:315px;animation-delay:-1.8s}
.fishing-chest-water.is-hooked{animation:fishingChestHook .9s cubic-bezier(.2,.8,.2,1) forwards}
.fishing-chest-water.is-line-caught{animation:none!important;z-index:12;will-change:transform,opacity}
.fishing-game-shell.is-reeling .fishing-fairy-rig{animation-play-state:paused}
.fishing-game-shell.is-reeling .fishing-fairy{animation-play-state:paused}
.fishing-game-shell.is-reeling .fishing-line{animation-play-state:paused;opacity:.98;visibility:visible;box-shadow:0 0 4px rgba(255,255,255,.72),0 0 8px rgba(160,225,255,.35)}
.fishing-catches{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px auto 9px;max-width:430px}
.fishing-catch{display:grid;place-items:center;min-height:84px;border:1px solid rgba(255,255,255,.45);border-radius:18px;background:rgba(4,59,86,.58);font-size:40px;color:#fff;box-shadow:inset 0 0 20px rgba(255,255,255,.07)}
.fishing-catch.is-caught{animation:fishingChestLand .65s ease both}
.fishing-catch.is-revealing{animation:fishingChestReveal 1.35s ease-in-out infinite}
.fishing-catch.is-win{box-shadow:0 0 20px rgba(255,245,145,.9),0 0 46px rgba(255,212,75,.65),inset 0 0 25px rgba(255,246,185,.18)}
.fishing-status{text-align:center;min-height:24px;color:#eaffff;font-weight:900;text-shadow:0 2px 8px rgba(0,30,50,.45)}
.fishing-cast-button{--fish-ready:0;display:flex;align-items:center;justify-content:center;gap:8px;position:relative;isolation:isolate;margin:12px auto 0;min-width:175px;padding:12px 18px;border:1px solid rgba(118,255,164,calc(.35 + var(--fish-ready)*.6));border-radius:999px;background:linear-gradient(145deg,rgba(32,122,68,calc(.55 + var(--fish-ready)*.4)),rgba(11,93,47,.96));color:#effff4;font-size:1rem;font-weight:950;cursor:pointer;box-shadow:0 0 calc(7px + var(--fish-ready)*18px) rgba(71,240,125,calc(.1 + var(--fish-ready)*.65)),0 0 calc(12px + var(--fish-ready)*42px) rgba(38,211,99,calc(.05 + var(--fish-ready)*.35));transition:filter .45s ease,box-shadow .45s ease,border-color .45s ease,transform .2s ease}
.fishing-cast-button:before{content:"";position:absolute;inset:-7px;z-index:-1;border:1px solid rgba(107,255,153,calc(var(--fish-ready)*.75));border-radius:inherit;opacity:var(--fish-ready)}
.fishing-cast-button.is-ready{animation:fishingCastBeacon 1.7s ease-in-out infinite}
.fishing-cast-button:disabled{cursor:not-allowed;filter:saturate(.55) brightness(.8)}
.fishing-cooldown{text-align:center;margin-top:7px;color:#d9f7ff;font-size:.79rem;font-weight:800}
.fishing-result{min-height:30px;margin:9px auto 0;text-align:center;color:#fff8bc;font-weight:950}
.fishing-idle-prompt{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:22px;background:rgba(2,33,50,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.fishing-idle-prompt[hidden]{display:none}
.fishing-idle-card{width:min(420px,92%);padding:24px;border:1px solid rgba(255,255,255,.6);border-radius:24px;background:linear-gradient(180deg,rgba(8,83,111,.97),rgba(3,50,78,.98));color:#fff;text-align:center;box-shadow:0 18px 60px rgba(0,20,36,.5),0 0 35px rgba(122,231,255,.22)}
.fishing-idle-card h3{margin:0 0 8px;font-size:1.35rem}
.fishing-idle-card p{margin:0 0 18px;color:#dff9ff;line-height:1.5}
.fishing-celestial-snap{transition:none!important}
.fishing-game-shell.is-idle-paused .fishing-sea *{animation-play-state:paused!important}
.fishing-game-shell.is-idle-paused .fishing-sky,.fishing-game-shell.is-idle-paused .fishing-lagoon{filter:saturate(.9) brightness(.94)}
.fishing-game-shell.is-expanded .fishing-game-heading,.fishing-game-shell.is-expanded .fishing-status,.fishing-game-shell.is-expanded .fishing-cooldown,.fishing-game-shell.is-expanded .fishing-result{position:relative;z-index:6}
@keyframes fishingWave{to{background-position:120px 0}}
@keyframes fishingLineSway{0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(2deg)}}
@keyframes fishingSwim{from{left:-12%}to{left:108%}}
@keyframes fishingBubbles{from{background-position:0 150px,20px 220px}to{background-position:0 -150px,20px -220px}}
@keyframes fishingChestBob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(2deg)}}
@keyframes fishingChestHook{0%{opacity:1;transform:translateY(0) scale(1)}60%{opacity:1;transform:translateY(-130px) scale(1.1)}100%{opacity:0;transform:translateY(-220px) scale(.7)}}
@keyframes fishingChestLand{0%{transform:translateY(-35px) scale(.8);opacity:.2}70%{transform:translateY(5px) scale(1.05)}100%{transform:none;opacity:1}}
@keyframes fishingChestReveal{0%,100%{opacity:.45;transform:scale(.94);filter:brightness(.8)}50%{opacity:1;transform:scale(1.08);filter:brightness(1.5) drop-shadow(0 0 14px #fff1a8)}}
@keyframes fishingCastBeacon{0%,100%{transform:translateY(0);box-shadow:0 0 14px rgba(85,255,143,.72),0 0 34px rgba(47,218,107,.43)}50%{transform:translateY(-1px) scale(1.02);box-shadow:0 0 23px rgba(157,255,190,1),0 0 62px rgba(47,218,107,.72)}}
.fishing-game-shell.is-minimized{background:radial-gradient(circle at 28% 20%,rgba(255,255,255,.98),rgba(241,226,255,.94) 30%,rgba(205,229,255,.93) 67%,rgba(157,112,211,.94));border-color:rgba(192,157,224,.82);box-shadow:0 10px 22px rgba(72,43,96,.12),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -10px 18px rgba(81,43,119,.1)}
.fishing-game-heading{position:relative;z-index:8}
.fishing-game-heading p{margin:0 0 12px;color:#f7e8ff;font-weight:850;text-shadow:0 0 7px rgba(246,226,255,.95),0 0 16px rgba(203,144,255,.72),0 0 28px rgba(170,92,235,.42)}
.fishing-sea{background:linear-gradient(180deg,#79c8ee 0 12%,#8fd5ef 13% 28%,#68c8cf 29% 47%,#3aa5b4 48% 70%,#1e7897 71% 100%);box-shadow:inset 0 22px 44px rgba(255,255,255,.14),inset 0 -34px 58px rgba(4,57,91,.24)}
.fishing-sky{position:absolute;left:0;right:0;top:0;height:142px;z-index:1;overflow:hidden;background:linear-gradient(180deg,rgba(70,163,226,.98) 0%,rgba(104,190,235,.97) 50%,rgba(158,217,239,.82) 78%,rgba(185,225,235,.48) 100%);pointer-events:none;transition:background 2.2s ease,filter 2.2s ease}
.fishing-sky-glow{position:absolute;inset:0;background:radial-gradient(circle at 50% -10%,rgba(255,240,177,.18),transparent 42%);opacity:.9;transition:opacity 2s ease}
.fishing-stars{position:absolute;inset:0;opacity:0;background-image:radial-gradient(circle at 12% 22%,rgba(255,255,255,.95) 0 1.4px,transparent 1.8px),radial-gradient(circle at 22% 12%,rgba(255,255,255,.75) 0 1.1px,transparent 1.5px),radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 1.3px,transparent 1.7px),radial-gradient(circle at 46% 10%,rgba(255,255,255,.72) 0 1px,transparent 1.4px),radial-gradient(circle at 58% 24%,rgba(255,255,255,.88) 0 1.4px,transparent 1.8px),radial-gradient(circle at 68% 16%,rgba(255,255,255,.78) 0 1.1px,transparent 1.5px),radial-gradient(circle at 76% 34%,rgba(255,255,255,.92) 0 1.2px,transparent 1.6px),radial-gradient(circle at 88% 14%,rgba(255,255,255,.8) 0 1.3px,transparent 1.7px);animation:fishingStarTwinkle 5.8s ease-in-out infinite;transition:opacity 1.8s ease}
.fishing-sun,.fishing-moon{position:absolute;z-index:1;font-size:38px;line-height:1;pointer-events:none;transition:left 5.2s linear,top 5.2s linear,opacity 2s ease,filter 2s ease}
.fishing-sun{left:82%;top:14px;filter:drop-shadow(0 0 12px rgba(255,240,148,.7));opacity:.92}
.fishing-moon{left:14%;top:22px;opacity:0;filter:drop-shadow(0 0 12px rgba(205,230,255,.68))}
.fishing-shooting-stars{position:absolute;inset:0;opacity:0;transition:opacity 1.6s ease}
.fishing-shooting-star{position:absolute;display:block;width:112px;height:2px;border-radius:999px;background:linear-gradient(90deg,rgba(177,231,255,0),rgba(205,239,255,.34) 54%,rgba(255,255,255,.96) 94%);box-shadow:0 0 10px rgba(177,231,255,.62);opacity:0;transform-origin:right center;transform:rotate(23deg);animation:fishingShootingStar 17s linear infinite}
.fishing-shooting-star:after{content:"";position:absolute;right:-2px;top:-2px;width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.98);box-shadow:0 0 12px rgba(198,236,255,.9),0 0 22px rgba(157,218,255,.48)}
.fishing-shooting-star.s1{left:-118px;top:14px;animation-delay:2s}
.fishing-shooting-star.s2{left:34%;top:-32px;animation-delay:9s}
.fishing-weather-rain{position:absolute;inset:0;opacity:0;background-image:linear-gradient(180deg,rgba(215,241,255,.75),rgba(215,241,255,0) 70%);background-size:2px 18px;background-repeat:repeat;background-position:0 0;transform:skewX(-14deg);animation:fishingRainFall 0.8s linear infinite;transition:opacity .9s ease}
.fishing-weather-flash{position:absolute;inset:0;opacity:0;background:radial-gradient(circle at 52% 18%,rgba(255,255,255,.46),transparent 36%);transition:opacity .4s ease}
.fishing-weather-flash:before{content:"⚡";position:absolute;right:18%;top:12px;font-size:42px;line-height:1;opacity:0;filter:drop-shadow(0 0 10px rgba(255,255,255,.95)) drop-shadow(0 0 18px rgba(164,226,255,.82));transform:rotate(10deg) scale(.8)}
.fishing-cloud{position:absolute;z-index:2;left:-170px;width:92px;height:24px;border-radius:999px;background:rgba(255,255,255,.78);box-shadow:0 4px 12px rgba(49,111,150,.09);opacity:.82;animation:fishingCloudDrift 58s linear infinite;will-change:transform}
.fishing-cloud:before,.fishing-cloud:after{content:"";position:absolute;border-radius:50%;background:inherit}
.fishing-cloud:before{width:38px;height:38px;left:18px;bottom:4px}
.fishing-cloud:after{width:50px;height:50px;right:12px;bottom:1px}
.fishing-cloud.c1{top:24px;animation-duration:62s;animation-delay:-9s;transform:scale(.82)}
.fishing-cloud.c2{top:62px;animation-duration:83s;animation-delay:-47s;opacity:.6;transform:scale(.58)}
.fishing-cloud.c3{top:12px;animation-duration:106s;animation-delay:-75s;opacity:.52;transform:scale(.46)}
.fishing-sea.is-night .fishing-sky{background:linear-gradient(180deg,rgba(22,46,104,.98) 0%,rgba(29,62,125,.97) 44%,rgba(69,100,160,.84) 76%,rgba(104,128,178,.54) 100%);filter:saturate(.9)}
.fishing-sea.is-night .fishing-sky-glow{opacity:.28}
.fishing-sea.is-night .fishing-stars,.fishing-sea.is-night .fishing-shooting-stars{opacity:1}
.fishing-sea.is-night .fishing-sun{opacity:0}
.fishing-sea.is-night .fishing-moon{opacity:.96}
.fishing-sea.weather-cloudy .fishing-cloud,.fishing-sea.weather-rain .fishing-cloud,.fishing-sea.weather-storm .fishing-cloud{opacity:.9}
.fishing-sea.weather-breezy .fishing-cloud{animation-duration:40s}
.fishing-sea.weather-rain .fishing-weather-rain{opacity:.28}
.fishing-sea.weather-storm .fishing-weather-rain{opacity:.44}
.fishing-sea.weather-storm .fishing-weather-flash{animation:fishingStormFlash 7s ease-in-out infinite}
.fishing-sea.weather-storm .fishing-weather-flash:before{animation:fishingLightningBolt 7s ease-in-out infinite}
.fishing-sea.weather-cloudy .fishing-sky,.fishing-sea.weather-rain .fishing-sky{filter:brightness(.92)}
.fishing-sea.weather-storm .fishing-sky{filter:brightness(.72) saturate(.82)}
.fishing-sea.weather-storm .fishing-surface{top:-2px;height:24px;opacity:1;animation:fishingWave 8s linear infinite,fishingStormWavePulse 1.7s ease-in-out infinite}
.fishing-sea.weather-storm .fishing-foam{top:10px;height:12px;opacity:.94;animation:fishingFoamStorm 3s linear infinite}
.fishing-sea.weather-storm .fishing-lagoon{box-shadow:inset 0 18px 32px rgba(255,255,255,.14),inset 0 -40px 70px rgba(3,42,76,.36)}
@keyframes fishingCloudDrift{from{left:-170px}to{left:calc(100% + 180px)}}
@keyframes fishingStarTwinkle{0%,100%{opacity:.5}50%{opacity:1}}
@keyframes fishingShootingStar{0%,74%{opacity:0;transform:translate3d(0,0,0) rotate(23deg) scale(.92)}77%{opacity:0}80%{opacity:.94;transform:translate3d(0,0,0) rotate(23deg) scale(1)}91%{opacity:.96;transform:translate3d(260px,110px,0) rotate(23deg) scale(1)}100%{opacity:0;transform:translate3d(360px,152px,0) rotate(23deg) scale(.98)}}
@keyframes fishingRainFall{from{background-position:0 -24px}to{background-position:-10px 24px}}
@keyframes fishingStormFlash{0%,89%,100%{opacity:0}90%{opacity:.18}91%{opacity:.55}92%{opacity:.14}93%{opacity:.42}94%{opacity:0}}
@keyframes fishingLightningBolt{0%,89%,100%{opacity:0;transform:translateY(-6px) scale(.7) rotate(10deg)}90%{opacity:.35}91%{opacity:1;transform:translateY(0) scale(1) rotate(10deg)}92%{opacity:.18}93%{opacity:.82}94%{opacity:0}}
@keyframes fishingStormWavePulse{0%,100%{transform:translateY(0) scaleY(1)}50%{transform:translateY(1px) scaleY(1.18)}}
@keyframes fishingFoamStorm{from{background-position:0 0}to{background-position:40px 0}}
.fishing-birds{position:absolute;left:0;right:0;top:8px;height:86px;z-index:4;overflow:hidden;pointer-events:none}
.fishing-bird{position:absolute;left:-16%;display:block;line-height:1;opacity:0;filter:drop-shadow(0 1px 2px rgba(18,82,90,.15));transform:scaleX(-1);animation:fishingBirdFly 96s linear infinite}
.fishing-bird.b1{top:14px;font-size:19px;animation-duration:96s;animation-delay:12s}
.fishing-bird.b2{top:34px;font-size:22px;animation-duration:138s;animation-delay:58s}
.fishing-lagoon{position:absolute;left:0;right:0;top:112px;bottom:0;z-index:1;overflow:hidden;background:linear-gradient(180deg,rgba(105,202,204,.94) 0 9%,rgba(66,174,184,.96) 10% 28%,rgba(34,139,158,.97) 29% 55%,rgba(16,94,128,.99) 56% 100%);box-shadow:inset 0 13px 28px rgba(255,255,255,.1),inset 0 -34px 58px rgba(4,54,88,.26)}
.fishing-surface{position:absolute;left:-2%;right:-2%;top:0;height:18px;z-index:3;background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,0) 62%),radial-gradient(ellipse at center,rgba(255,255,255,.6) 0 2px,rgba(230,255,252,.4) 3px,transparent 4px) 0 0/72px 14px repeat-x;animation:fishingWave 18s linear infinite;will-change:background-position;opacity:.94}
.fishing-foam{position:absolute;left:0;right:0;top:8px;height:8px;z-index:3;background:radial-gradient(circle at 10px 4px,rgba(255,255,255,.56) 0 2px,transparent 3px) 0 0/26px 8px repeat-x;opacity:.76;pointer-events:none}
.fishing-island{position:absolute;left:50%;top:52px;z-index:5;width:min(390px,66%);height:98px;transform:translateX(-50%);pointer-events:none}
.fishing-island:before{content:"";position:absolute;left:0;right:0;bottom:6px;height:52px;border-radius:54% 46% 48% 52%/66% 58% 42% 34%;background:radial-gradient(ellipse at 50% 18%,#fff4c7 0 32%,#f4d98d 57%,#d8ab58 100%);border:1px solid rgba(177,125,48,.24);box-shadow:0 10px 18px rgba(30,119,120,.15),inset 0 9px 16px rgba(255,255,255,.3)}
.fishing-island-tree{position:absolute;left:18%;bottom:30px;z-index:2;font-size:74px;line-height:1;filter:drop-shadow(0 5px 5px rgba(56,92,54,.22))}
.fishing-island-veg{position:absolute;z-index:3;line-height:1;filter:drop-shadow(0 2px 3px rgba(58,91,47,.18))}
.fishing-island-veg.v1{left:46%;bottom:31px;font-size:33px}
.fishing-island-veg.v2{left:60%;bottom:28px;font-size:25px}
.fishing-island-veg.v3{left:71%;bottom:33px;font-size:28px}
.fishing-island-rock{position:absolute;right:12%;bottom:23px;z-index:2;font-size:32px;filter:drop-shadow(0 3px 4px rgba(62,67,62,.25))}
.fishing-fairy-rig{position:absolute;top:66px;left:6%;width:54px;height:272px;z-index:8;pointer-events:none;animation:fishingFairyPatrol 13s ease-in-out infinite alternate;will-change:left,transform}
.fishing-fairy{--fishing-fairy-face:1;position:absolute;top:0;left:0;transform:none;font-size:42px;filter:drop-shadow(0 5px 8px rgba(0,0,0,.18));animation:fishingFairyBob 2.8s ease-in-out infinite}
.fishing-fairy-rig.is-facing-left .fishing-fairy{--fishing-fairy-face:-1}
.fishing-line{display:block;opacity:0;visibility:hidden;position:absolute;top:31px;left:37px;width:2px;height:220px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(230,248,255,.72));transform-origin:top center;animation:fishingLineSway 3s ease-in-out infinite;transition:left .22s ease,opacity .2s ease;box-shadow:0 0 3px rgba(255,255,255,.48),0 0 8px rgba(156,222,255,.22)}
.fishing-fairy-rig.is-facing-left .fishing-line{left:15px;animation-name:fishingLineSwayLeft}
.fishing-game-shell.is-cast .fishing-line{opacity:.92;visibility:visible}
.fishing-bubbles{position:absolute;inset:24px 0 78px;opacity:.34;background-image:radial-gradient(circle,rgba(230,251,255,.72) 0 2px,transparent 3px);background-size:150px 190px;animation:fishingBubbles 16s linear infinite}
.fishing-fauna{position:absolute;inset:24px 0 10px;z-index:2;pointer-events:none;overflow:hidden}
.fishing-fauna-actor{position:absolute;left:0;top:0;will-change:transform;filter:drop-shadow(0 4px 5px rgba(0,32,65,.18))}
.fishing-fauna-glyph{display:block;line-height:1;will-change:transform}
.fishing-fauna-actor.fish{font-size:27px}
.fishing-fauna-actor.glowfish{font-size:26px;z-index:4;filter:drop-shadow(0 0 8px rgba(128,246,255,.95)) drop-shadow(0 0 18px rgba(90,210,255,.72))}
.fishing-fauna-actor.squid{font-size:31px}
.fishing-fauna-actor.giant-squid{font-size:58px;z-index:4;opacity:.94;filter:drop-shadow(0 0 10px rgba(22,54,88,.45))}
.fishing-fauna-actor.giant-squid-glow{font-size:62px;z-index:4;opacity:.98;filter:drop-shadow(0 0 12px rgba(149,240,255,.95)) drop-shadow(0 0 26px rgba(92,210,255,.75))}
.fishing-fauna-actor.turtle{font-size:31px}
.fishing-fauna-actor.crab{font-size:28px;z-index:5}
.fishing-fauna-actor.boat{font-size:34px;z-index:10;filter:drop-shadow(0 4px 5px rgba(0,30,50,.24))}
.fishing-fauna-actor.whale{font-size:42px;z-index:3;opacity:.88}
.fishing-fauna-actor.octopus{font-size:35px;z-index:4}
.fishing-chest-water{z-index:4;display:none}
.fishing-game-shell.show-water-chests .fishing-chest-water{display:block}
.fishing-chest-water.c1{left:16%;top:48px}
.fishing-chest-water.c2{right:17%;top:116px;animation-delay:-1s}
.fishing-chest-water.c3{left:45%;top:198px;animation-delay:-1.8s}
.fishing-sand{position:absolute;left:0;right:0;bottom:0;height:58px;z-index:6;background:linear-gradient(180deg,rgba(249,231,177,.92),rgba(221,187,119,.96));border-top:2px solid rgba(255,241,195,.72);box-shadow:inset 0 12px 24px rgba(255,245,207,.16),0 -10px 20px rgba(13,70,93,.12)}
.fishing-sand:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 36%,rgba(255,255,255,.18) 0 2px,transparent 3px),radial-gradient(circle at 54% 64%,rgba(91,59,28,.15) 0 2px,transparent 3px),radial-gradient(circle at 82% 32%,rgba(255,255,255,.12) 0 1px,transparent 2px);background-size:72px 48px,90px 60px,64px 52px}
.fishing-shell{position:absolute;z-index:2;filter:drop-shadow(0 2px 3px rgba(76,44,22,.18))}
.fishing-shell.s1{left:12%;bottom:8px}
.fishing-shell.s2{left:52%;bottom:12px}
.fishing-shell.s3{right:13%;bottom:7px}
.fishing-sand-life{position:absolute;z-index:3;line-height:1;filter:drop-shadow(0 2px 3px rgba(70,52,31,.16))}
.fishing-sand-life.l1{left:4%;bottom:7px;font-size:24px}
.fishing-sand-life.l2{left:24%;bottom:5px;font-size:29px}
.fishing-sand-life.l3{left:37%;bottom:8px;font-size:23px}
.fishing-sand-life.l4{left:66%;bottom:6px;font-size:27px}
.fishing-sand-life.l5{right:4%;bottom:9px;font-size:24px}
.fishing-sand-life.l6{right:25%;bottom:5px;font-size:22px}
.fishing-season-decor{position:absolute;inset:0;z-index:7;pointer-events:none;overflow:hidden;contain:layout paint style}
.fishing-season-prop{position:absolute;left:var(--fish-season-x);top:var(--fish-season-y);font-style:normal;line-height:1;font-size:var(--fish-season-size);opacity:var(--fish-season-opacity);text-shadow:0 0 6px rgba(255,255,255,.42),0 0 13px rgba(190,119,255,.26);animation:fishingSeasonalWander var(--fish-season-duration) ease-in-out var(--fish-season-delay) infinite alternate}
html.cc-seasonal-paused .fishing-season-prop{animation-play-state:paused!important}
body[data-season="spring_easter"] .fishing-sea{background:linear-gradient(180deg,#c9efff 0 12%,#98e0ee 13% 31%,#68cfd2 32% 55%,#2f98ad 56% 100%)}
body[data-season="spring_easter"] .fishing-island:before{background:radial-gradient(ellipse at 50% 18%,#fff5c9 0 28%,#b8e79e 52%,#72ba72 100%)}
body[data-season="spring_easter"] .fishing-island-tree{font-size:0}
body[data-season="spring_easter"] .fishing-island-tree:after{content:"🌳";font-size:74px}
body[data-season="christmas"] .fishing-sea{background:linear-gradient(180deg,#d9eeff 0 13%,#8ebee0 14% 35%,#568dbb 36% 62%,#2a5f8d 63% 100%)}
body[data-season="christmas"] .fishing-island:before{background:linear-gradient(180deg,#fff,#e8f3ff 56%,#c6def1)}
body[data-season="christmas"] .fishing-island-tree{font-size:0}
body[data-season="christmas"] .fishing-island-tree:after{content:"🎄";font-size:70px}
body[data-season="christmas"] .fishing-season-prop{text-shadow:0 0 7px rgba(255,255,255,.72),0 0 15px rgba(255,232,145,.5)}
body[data-season="halloween"] .fishing-sea{background:linear-gradient(180deg,#39483f 0 12%,#256c69 13% 36%,#164f55 37% 64%,#092f3a 65% 100%)}
body[data-season="halloween"] .fishing-island:before{background:radial-gradient(ellipse at 50% 18%,#8c7a61 0 28%,#51473a 58%,#2d2a27 100%)}
body[data-season="halloween"] .fishing-island-tree{font-size:0}
body[data-season="halloween"] .fishing-island-tree:after{content:"🌲";font-size:72px;filter:grayscale(1) brightness(.55)}
body[data-season="halloween"] .fishing-fauna-actor{filter:drop-shadow(0 0 8px rgba(105,255,125,.92)) drop-shadow(0 0 20px rgba(76,255,112,.55))!important}
body[data-season="halloween"] .fishing-fauna-glyph{filter:saturate(1.35) hue-rotate(38deg)}
body[data-season="halloween"] .fishing-bubbles{filter:drop-shadow(0 0 8px rgba(95,255,121,.42))}
body[data-season="celebration"] .fishing-sea{background:linear-gradient(180deg,#b9dcff 0 12%,#83bedc 13% 35%,#4f9bb5 36% 62%,#246982 63% 100%)}
body[data-season="celebration"] .fishing-season-prop{text-shadow:0 0 7px rgba(255,255,255,.62),0 0 16px rgba(255,225,112,.56)}
@keyframes fishingSeasonalWander{0%{transform:translate3d(0,0,0) rotate(-4deg);opacity:.2}50%{transform:translate3d(var(--fish-season-dx),0,0) rotate(4deg);opacity:var(--fish-season-opacity)}100%{transform:translate3d(0,var(--fish-season-dy),0) rotate(-2deg);opacity:.22}}
@keyframes fishingLineSwayLeft{0%,100%{transform:rotate(1.5deg)}50%{transform:rotate(-2deg)}}
@keyframes fishingBirdFly{0%,72%{left:-16%;opacity:0;transform:scaleX(-1) translateY(2px) rotate(0)}73%{left:-16%;opacity:.9;transform:scaleX(-1) translateY(2px) rotate(0)}80%{opacity:.9;transform:scaleX(-1) translateY(-5px) rotate(2deg)}88%{opacity:.9;transform:scaleX(-1) translateY(2px) rotate(-2deg)}96%{opacity:.9;transform:scaleX(-1) translateY(-4px) rotate(1deg)}100%{left:108%;opacity:0;transform:scaleX(-1) translateY(3px) rotate(0)}}
@keyframes fishingFairyPatrol{0%{left:6%;transform:translateY(1px)}38%{transform:translateY(-4px)}100%{left:86%;transform:translateX(-54px) translateY(2px)}}
@keyframes fishingFairyBob{0%,100%{transform:translateY(0) scaleX(var(--fishing-fairy-face,1)) rotate(-2deg)}50%{transform:translateY(-5px) scaleX(var(--fishing-fairy-face,1)) rotate(2deg)}}
@keyframes fishingWave{from{background-position:0 0}to{background-position:120px 0}}
@media(max-width:700px){.fishing-game-shell{top:158px;right:10px}
.fishing-game-shell.is-expanded{top:8px;right:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);padding:16px}
.fishing-sea{height:360px}}
@media(prefers-reduced-motion:reduce){.fishing-game-launcher,.fishing-rod,.fishing-fairy-rig,.fishing-fairy,.fishing-fauna-actor,.fishing-bubbles,.fishing-line,.fishing-chest-water,.fishing-catch,.fishing-cast-button,.fishing-bird,.fishing-cloud,.fishing-season-prop{animation:none!important}}
.memory-game-shell.is-minimized,.fishing-game-shell.is-minimized,.crossword-game-shell:not(.is-expanded){box-shadow:0 10px 22px rgba(72,43,96,.12),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -10px 18px rgba(81,43,119,.1)}
.crossword-game-shell{ position:fixed; z-index:8990; top:166px; right:18px; box-sizing:border-box; width:80px; height:80px; margin:0; padding:0; overflow:visible; isolation:isolate; border:1px solid rgba(192,157,224,.82); border-radius:50%; background:radial-gradient(circle at 28% 20%,rgba(255,255,255,.98),rgba(241,226,255,.94) 30%,rgba(205,229,255,.93) 67%,rgba(157,112,211,.94)); box-shadow:0 16px 42px rgba(72,43,96,.28),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -14px 26px rgba(81,43,119,.13); transition:width .35s ease,height .35s ease,top .35s ease,right .35s ease,border-radius .35s ease,padding .35s ease,box-shadow .25s ease; }
.crossword-game-shell::before{ content:""; position:absolute; inset:7px; z-index:-1; border:1px solid rgba(255,255,255,.64); border-radius:inherit; box-shadow:inset 0 0 22px rgba(255,255,255,.42); pointer-events:none; }
.crossword-game-shell.is-expanded{ z-index:9200; top:12px; right:12px; width:min(1296px,calc(100vw - 24px)); height:min(1180px,calc(100dvh - 24px)); max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); padding:32px; overflow-x:hidden; overflow-y:auto; border-radius:34px; border-color:rgba(185,145,221,.72); background:radial-gradient(circle at 12% 8%,rgba(255,255,255,.96),transparent 22rem),radial-gradient(circle at 88% 14%,rgba(188,229,255,.66),transparent 28rem),linear-gradient(145deg,rgba(250,246,255,.99),rgba(232,220,250,.98) 48%,rgba(205,229,247,.98)); box-shadow:0 24px 80px rgba(64,42,91,.36),0 0 42px rgba(181,111,255,.16),inset 0 1px 0 rgba(255,255,255,.92); }
.crossword-game-shell.is-fullscreen{ z-index:10020; top:0 !important; right:0 !important; left:0 !important; width:100vw !important; height:100dvh !important; max-width:none !important; max-height:none !important; padding:clamp(18px,2.4vw,36px); border-radius:0; overflow:auto; }
.crossword-game-launcher{ display:grid; place-items:center; width:100%; height:100%; padding:0; border:0; border-radius:50%; background:transparent; color:#fff; font-size:1.75rem; cursor:pointer; text-shadow:0 1px 0 rgba(68,37,91,.22); filter:drop-shadow(0 3px 7px rgba(66,35,91,.38)); }
.crossword-game-launcher:hover{ transform:scale(1.07) rotate(-5deg); }
.crossword-game-content{ display:none; min-height:100%; }
.crossword-game-shell.is-expanded .crossword-game-launcher{ display:none; }
.crossword-game-shell.is-expanded .crossword-game-content{ display:block; }
.crossword-game-toolbar{ position:absolute; z-index:5; top:13px; right:16px; display:flex; gap:7px; }
.crossword-game-tool{ display:grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid rgba(126,86,158,.28); border-radius:50%; background:rgba(255,255,255,.8); color:#5c3d73; font:800 14px/1 Arial,sans-serif; cursor:pointer; box-shadow:0 5px 13px rgba(72,42,96,.13); }
.crossword-game-tool:hover{ transform:translateY(-1px); background:#fff; box-shadow:0 7px 18px rgba(84,51,113,.19); }
.crossword-game-heading{ margin:3px 112px 15px 4px; }
.crossword-game-heading h2{ margin:0; color:#4e3264; font-size:1.9rem; text-shadow:0 1px 0 rgba(255,255,255,.7); }
.crossword-game-heading p{ margin:7px 0 0; color:#685779; font-size:1.05rem; line-height:1.5; }
.crossword-game-controls{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:15px; }
.crossword-game-stats{ display:flex; gap:8px; flex-wrap:wrap; }
.crossword-game-pill{ min-width:110px; padding:10px 14px; border:1px solid rgba(130,91,158,.2); border-radius:999px; background:rgba(255,255,255,.7); color:#6a5378; text-align:center; font-size:.9rem; font-weight:800; box-shadow:inset 0 1px 0 rgba(255,255,255,.75); }
.crossword-game-pill strong{ color:#432b56; }
.crossword-game-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.crossword-game-button{ border:1px solid #c4a6d9; border-radius:999px; background:linear-gradient(145deg,#fff,#eadcff); color:#513568; padding:12px 17px; font:inherit; font-size:1.02rem; font-weight:900; cursor:pointer; box-shadow:0 5px 13px rgba(84,49,111,.12); }
.crossword-game-button:hover{ transform:translateY(-1px); box-shadow:0 8px 18px rgba(84,49,111,.17); }
.crossword-game-button:disabled{ opacity:.58; cursor:not-allowed; transform:none; box-shadow:0 5px 13px rgba(84,49,111,.08); }
.crossword-game-button.primary{ background:linear-gradient(145deg,#8b5eaa,#5e3d79); border-color:#5e3d79; color:#fff; box-shadow:0 6px 18px rgba(94,61,121,.28); }
.crossword-start-panel{ display:grid; place-items:center; gap:14px; width:min(100%,806px); min-height:250px; margin:0 auto 18px; padding:34px 24px; border:1px solid rgba(157,118,191,.28); border-radius:26px; background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(238,228,252,.82) 58%,rgba(224,241,255,.8)); box-shadow:0 18px 42px rgba(86,54,115,.12),inset 0 1px 0 rgba(255,255,255,.88); text-align:center; }
.crossword-start-panel[hidden]{ display:none !important; }
.crossword-game-shell.is-fullscreen .crossword-start-panel{ width:min(100%,900px); min-height:280px; }
.crossword-start-panel strong{ color:#4f3166; font-size:1.28rem; }
.crossword-start-panel p{ margin:0; max-width:620px; color:#685478; line-height:1.55; }
.crossword-start-leaderboard{ width:min(100%,620px); margin:4px auto 2px; padding:14px 16px; border:1px solid rgba(142,99,174,.22); border-radius:18px; background:rgba(255,255,255,.56); box-shadow:inset 0 1px 0 rgba(255,255,255,.72); text-align:left; }
.crossword-start-leaderboard-heading{ display:flex; justify-content:space-between; gap:10px; align-items:end; margin-bottom:9px; }
.crossword-start-leaderboard-heading strong{ color:#51345e; font-size:1rem; }
.crossword-start-leaderboard-heading small{ color:#78657f; text-align:right; font-size:.75rem; }
.crossword-start-leaderboard ol{ display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.crossword-start-leaderboard li{ display:grid; grid-template-columns:30px minmax(0,1fr) auto; align-items:center; gap:8px; min-height:36px; padding:7px 9px; border-radius:12px; background:rgba(255,255,255,.72); }
.crossword-start-leaderboard li strong{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#432b50; font-size:.92rem; }
.crossword-start-leaderboard li small{ color:#735f7c; font-weight:800; white-space:nowrap; }
.crossword-start-button{ position:relative; isolation:isolate; overflow:hidden; min-width:min(100%,380px); padding:23px 40px; border:1px solid rgba(113,73,146,.78); border-radius:999px; background:linear-gradient(135deg,#b174f4 0%,#895bd6 40%,#6652c7 68%,#4e78da 100%); color:#fff; font:900 1.35rem/1 Arial,sans-serif; letter-spacing:.035em; text-shadow:0 1px 0 rgba(58,31,92,.35); cursor:pointer; box-shadow:0 0 0 1px rgba(255,255,255,.22) inset,0 0 20px rgba(154,113,234,.48),0 0 42px rgba(119,191,255,.3),0 16px 30px rgba(76,48,112,.26); animation:crossword-start-lighthouse 2.2s ease-in-out infinite; }
.crossword-start-button::before{ content:""; position:absolute; z-index:-1; inset:-40% -20%; background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.24) 46%,rgba(255,255,255,.07) 54%,transparent 70%); transform:translateX(-48%); animation:crossword-start-shimmer 2.8s ease-in-out infinite; pointer-events:none; }
.crossword-start-button::after{ content:"✦"; position:absolute; top:9px; right:20px; color:rgba(255,255,255,.86); font-size:.9rem; filter:drop-shadow(0 0 7px rgba(255,255,255,.8)); pointer-events:none; }
.crossword-start-button:hover{ transform:translateY(-2px) scale(1.015); box-shadow:0 0 0 1px rgba(255,255,255,.3) inset,0 0 24px rgba(170,123,255,.6),0 0 52px rgba(130,204,255,.34),0 20px 34px rgba(76,48,112,.3); }
.crossword-start-button:disabled{ opacity:.66; cursor:wait; transform:none; }
.crossword-start-button:focus-visible{ outline:3px solid rgba(122,205,255,.9); outline-offset:4px; }
.crossword-game-shell.is-round-gated .crossword-game-controls,.crossword-game-shell.is-round-gated .crossword-game-layout,.crossword-game-shell.is-round-gated .crossword-game-message,.crossword-game-shell.is-round-gated .crossword-leaderboard{ display:none !important; }
@keyframes crossword-start-lighthouse{ 0%,100%{ box-shadow:0 0 0 1px rgba(255,255,255,.22) inset,0 0 18px rgba(154,113,234,.42),0 0 40px rgba(119,191,255,.24),0 16px 30px rgba(76,48,112,.24); } 50%{ box-shadow:0 0 0 1px rgba(255,255,255,.32) inset,0 0 28px rgba(174,132,255,.72),0 0 62px rgba(130,204,255,.44),0 20px 34px rgba(76,48,112,.3); } }
@keyframes crossword-start-shimmer{ 0%,32%{ transform:translateX(-58%); opacity:.28; } 55%{ opacity:.72; } 78%,100%{ transform:translateX(58%); opacity:.2; } }
.crossword-game-layout{ display:grid; grid-template-columns:minmax(0,806px) minmax(320px,1fr); gap:24px; align-items:start; justify-content:center; }
.crossword-game-shell.is-fullscreen .crossword-game-layout{ grid-template-columns:minmax(0,900px) minmax(340px,520px); }
.crossword-board-wrap{ min-width:0; padding:8px; border:1px solid rgba(159,121,190,.26); border-radius:20px; background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(229,218,248,.52)); box-shadow:inset 0 1px 0 rgba(255,255,255,.8); }
.crossword-board{ display:grid; grid-template-columns:repeat(var(--cw-cols),minmax(0,1fr)); grid-template-rows:repeat(var(--cw-rows),minmax(0,1fr)); width:min(100%,806px); aspect-ratio:var(--cw-cols)/var(--cw-rows); margin:0 auto; overflow:hidden; border:3px solid #4a3560; border-radius:12px; background:#4a3560; box-shadow:0 12px 32px rgba(64,43,84,.22),0 0 24px rgba(181,111,255,.08); }
.crossword-game-shell.is-fullscreen .crossword-board{ width:min(100%,900px); }
.crossword-block{ background:linear-gradient(145deg,#3e2c52,#523a69); }
.crossword-cell{ position:relative; min-width:0; min-height:0; border:1px solid rgba(73,52,94,.36); background:#fbf9ff; }
.crossword-cell.is-active-word{ background:#e9dcff; }
.crossword-cell.is-current{ background:#dff5ff; box-shadow:inset 0 0 0 3px #8054a2,inset 0 0 14px rgba(123,193,230,.28); z-index:2; }
.crossword-cell.is-wrong{ background:#ffdadd; animation:crossword-shake .28s ease; }
.crossword-cell-number{ position:absolute; z-index:2; top:2px; left:3px; color:#63477a; font-size:clamp(8px,1.2vw,13px); font-weight:900; pointer-events:none; }
.crossword-cell input{ width:100%; height:100%; min-width:0; padding:0; border:0; outline:0; background:transparent; color:#2f2040; text-align:center; text-transform:uppercase; font:900 clamp(18px,3.3vw,34px)/1 Arial,sans-serif; text-shadow:0 1px 0 #fff; caret-color:#8054a2; }
.crossword-clues{ display:grid; gap:18px; max-height:806px; overflow:auto; padding-right:6px; scrollbar-color:#a987c1 transparent; }
.crossword-clue-group{ padding:17px; border:1px solid rgba(127,88,157,.22); border-radius:18px; background:rgba(255,255,255,.62); box-shadow:0 10px 28px rgba(72,43,96,.07),inset 0 1px 0 rgba(255,255,255,.8); }
.crossword-clue-group h3{ margin:0 0 11px; color:#4d3261; font-size:1.16rem; }
.crossword-clue-list{ display:grid; gap:9px; margin:0; padding:0; list-style:none; }
.crossword-clue{ width:100%; padding:11px 12px; border:1px solid transparent; border-radius:12px; background:rgba(250,247,255,.5); color:#45354f; text-align:left; font:inherit; font-size:1.04rem; line-height:1.42; font-weight:700; cursor:pointer; }
.crossword-clue:hover{ background:#f3ebff; color:#30203d; border-color:#d7bfeb; }
.crossword-clue.is-active{ background:linear-gradient(135deg,#e7d5ff,#d9efff); color:#271735; border-color:#b993da; box-shadow:inset 0 0 0 1px rgba(126,81,158,.18),0 4px 12px rgba(85,49,111,.12); }
.crossword-clue strong{ display:inline-block; width:34px; color:#724c91; font-size:1.05em; }
.crossword-clue.is-active strong{ color:#56356f; }
.crossword-game-message{ min-height:28px; margin:15px 0 0; color:#685478; text-align:center; font-weight:800; }
.crossword-game-message.is-win{ color:#3b7a59; animation:crossword-win .45s ease both; }
.crossword-name-entry,.crossword-leaderboard{ display:block; width:min(100%,806px); margin:16px auto 0; }
.crossword-game-shell.is-fullscreen .crossword-name-entry,.crossword-game-shell.is-fullscreen .crossword-leaderboard{ width:min(100%,900px); }
.crossword-name-entry[hidden]{ display:none; }
.crossword-name-entry{ padding:14px; border:1px solid rgba(171,134,198,.5); border-radius:18px; background:linear-gradient(135deg,rgba(253,248,255,.96),rgba(226,242,255,.96)); text-align:center; box-shadow:0 10px 25px rgba(75,45,96,.1); }
.crossword-name-entry strong{ display:block; color:#563a6c; font-size:1rem; }
.crossword-name-entry p{ margin:5px 0 11px; color:#6d5a77; font-size:.86rem; }
.crossword-name-form{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.crossword-name-form input{ flex:1 1 190px; min-width:0; border:1px solid #cbb2dc; border-radius:999px; background:#fff; color:#3e294c; padding:9px 12px; font:inherit; }
.crossword-name-form button{ border:1px solid #c5a2d9; border-radius:999px; background:#fff; color:#523568; padding:9px 12px; font:inherit; font-weight:900; cursor:pointer; }
.crossword-name-form button[type="submit"]{ background:linear-gradient(145deg,#76508f,#533268); border-color:#533268; color:#fff; }
.crossword-name-status{ display:block; min-height:1.2em; margin-top:8px; color:#6b4c78; font-weight:800; }
.crossword-leaderboard{ padding:14px 16px; border:1px solid rgba(142,99,174,.22); border-radius:18px; background:rgba(255,255,255,.6); }
.crossword-leaderboard-heading{ display:flex; justify-content:space-between; gap:10px; align-items:end; margin-bottom:9px; }
.crossword-leaderboard-heading strong{ color:#51345e; }
.crossword-leaderboard-heading small{ color:#78657f; text-align:right; }
.crossword-leaderboard ol{ display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.crossword-leaderboard li{ display:grid; grid-template-columns:30px minmax(0,1fr) auto; align-items:center; gap:8px; min-height:36px; padding:7px 9px; border-radius:12px; background:rgba(255,255,255,.72); }
.crossword-leaderboard li strong{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#432b50; }
.crossword-leaderboard li small{ color:#735f7c; font-weight:800; white-space:nowrap; }
.crossword-leaderboard-empty{ display:block; padding:8px; text-align:center; color:#76637d; }
.crossword-win-particle{ position:fixed; z-index:10050; left:0; top:0; pointer-events:none; font-size:var(--particle-size,18px); transform:translate(-50%,-50%); animation:crossword-particle-burst 1.45s cubic-bezier(.12,.72,.2,1) forwards; filter:drop-shadow(0 0 7px rgba(255,255,255,.9)); }
@keyframes crossword-shake{ 0%,100%{transform:none} 30%{transform:translateX(-2px)} 70%{transform:translateX(2px)} }
@keyframes crossword-win{ from{opacity:0;transform:translateY(7px) scale(.98)} to{opacity:1;transform:none} }
@keyframes crossword-particle-burst{ 0%{opacity:0;transform:translate(-50%,-50%) scale(.35) rotate(0deg)} 12%{opacity:1} 100%{opacity:0;transform:translate(calc(-50% + var(--burst-x)),calc(-50% + var(--burst-y))) scale(1.1) rotate(var(--burst-rotate))} }
html[data-theme="dark"] .crossword-game-shell{ background:radial-gradient(circle at 28% 20%,rgba(255,255,255,.18),rgba(73,49,88,.98) 31%,rgba(44,62,78,.98) 67%,rgba(41,25,54,.99)); border-color:#775b8a; box-shadow:0 18px 48px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.15),inset 0 -14px 26px rgba(0,0,0,.2); }
html[data-theme="dark"] .crossword-start-panel{ background:linear-gradient(145deg,rgba(55,39,69,.96),rgba(47,36,60,.96) 55%,rgba(31,52,71,.96)); border-color:#6d5581; box-shadow:0 18px 42px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08); }
html[data-theme="dark"] .crossword-start-panel strong{ color:#f2ddff; }
html[data-theme="dark"] .crossword-start-panel p{ color:#d8cbe0; }
html[data-theme="dark"] .crossword-start-leaderboard,html[data-theme="dark"] .crossword-start-leaderboard li{ background:rgba(29,23,35,.78); border-color:#665176; }
html[data-theme="dark"] .crossword-start-leaderboard-heading strong,html[data-theme="dark"] .crossword-start-leaderboard li strong{ color:#f6ebff; }
html[data-theme="dark"] .crossword-start-leaderboard-heading small,html[data-theme="dark"] .crossword-start-leaderboard li small{ color:#d8cbe0; }
html[data-theme="dark"] .crossword-game-shell.is-expanded{ background:radial-gradient(circle at 10% 8%,rgba(119,79,145,.3),transparent 28rem),radial-gradient(circle at 88% 12%,rgba(65,126,156,.25),transparent 30rem),linear-gradient(145deg,rgba(38,29,46,.99),rgba(29,30,42,.99) 50%,rgba(25,38,49,.99)); border-color:#745d85; color:#f6effa; }
html[data-theme="dark"] .crossword-game-heading h2,html[data-theme="dark"] .crossword-clue-group h3,html[data-theme="dark"] .crossword-leaderboard-heading strong,html[data-theme="dark"] .crossword-name-entry strong{ color:#f6ebff; }
html[data-theme="dark"] .crossword-game-heading p,html[data-theme="dark"] .crossword-game-message,html[data-theme="dark"] .crossword-clue,html[data-theme="dark"] .crossword-leaderboard-heading small,html[data-theme="dark"] .crossword-leaderboard li small,html[data-theme="dark"] .crossword-name-entry p,html[data-theme="dark"] .crossword-name-status{ color:#d8cbe0; }
html[data-theme="dark"] .crossword-game-pill,html[data-theme="dark"] .crossword-game-tool,html[data-theme="dark"] .crossword-clue-group,html[data-theme="dark"] .crossword-leaderboard,html[data-theme="dark"] .crossword-leaderboard li,html[data-theme="dark"] .crossword-name-entry{ background:rgba(29,23,35,.8); border-color:#665176; }
html[data-theme="dark"] .crossword-game-pill strong,html[data-theme="dark"] .crossword-leaderboard li strong{ color:#fff; }
html[data-theme="dark"] .crossword-board-wrap{ background:linear-gradient(145deg,rgba(72,53,84,.54),rgba(40,55,70,.46)); border-color:#624d71; }
html[data-theme="dark"] .crossword-board{ border-color:#251d30; background:#251d30; }
html[data-theme="dark"] .crossword-block{ background:linear-gradient(145deg,#201827,#30233c); }
html[data-theme="dark"] .crossword-cell{ background:#eee8f4; border-color:#604e6c; }
html[data-theme="dark"] .crossword-cell.is-active-word{ background:#d7c5eb; }
html[data-theme="dark"] .crossword-cell.is-current{ background:#ccebf4; box-shadow:inset 0 0 0 3px #795099,inset 0 0 14px rgba(85,184,220,.34); }
html[data-theme="dark"] .crossword-cell input{ color:#241a2d; }
html[data-theme="dark"] .crossword-clue{ background:rgba(255,255,255,.025); }
html[data-theme="dark"] .crossword-clue:hover{ background:#463654; color:#fff; border-color:#755d87; }
html[data-theme="dark"] .crossword-clue.is-active{ background:linear-gradient(135deg,#65477d,#365b70); color:#fff; border-color:#8a6ca1; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 5px 16px rgba(0,0,0,.2); }
html[data-theme="dark"] .crossword-clue strong,html[data-theme="dark"] .crossword-clue.is-active strong{ color:#f1d9ff; }
@media(max-width:1050px) and (min-width:701px){.crossword-game-layout,.crossword-game-shell.is-fullscreen .crossword-game-layout{grid-template-columns:1fr}
.crossword-board,.crossword-game-shell.is-fullscreen .crossword-board{width:min(100%,806px)}
.crossword-clues{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}
.crossword-clue-group{min-width:0}}
@media(max-width:700px){.crossword-start-leaderboard li{grid-template-columns:28px minmax(0,1fr)}
.crossword-start-leaderboard li small{grid-column:2;white-space:normal}
.crossword-game-shell{top:158px;right:10px}
.crossword-game-shell.is-expanded{top:8px;right:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:18px 13px}
.crossword-game-shell.is-fullscreen{padding:16px 10px}
.crossword-game-heading{margin-right:108px}
.crossword-game-heading h2{font-size:1.35rem}
.crossword-game-layout,.crossword-game-shell.is-fullscreen .crossword-game-layout{grid-template-columns:1fr}
.crossword-clues{max-height:none}
.crossword-board,.crossword-game-shell.is-fullscreen .crossword-board{width:min(100%,520px)}
.crossword-game-controls{display:block}
.crossword-game-actions{margin-top:9px}
.crossword-game-button{flex:1}
.crossword-leaderboard li{grid-template-columns:28px minmax(0,1fr)}
.crossword-leaderboard li small{grid-column:2;white-space:normal}}
.fishing-weather-rain,.fishing-weather-flash{display:none!important;opacity:0!important;animation:none!important}
.fishing-bubbles{position:absolute;inset:24px 0 78px;z-index:3;pointer-events:none;overflow:hidden;background:none!important;background-image:none!important;animation:none!important;opacity:1!important}
.fishing-bubble{position:absolute;bottom:-14px;display:block;border:1px solid rgba(235,253,255,.78);border-radius:50%;background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.9),rgba(211,246,255,.2) 42%,rgba(176,231,246,.08) 68%,transparent 72%);box-shadow:inset 0 0 3px rgba(255,255,255,.7),0 0 5px rgba(166,229,246,.2);will-change:transform,opacity}
.spellbound-forest{position:relative;height:300px;overflow:hidden;border-radius:24px;border:1px solid #7c9d64;background:radial-gradient(ellipse at 50% 12%,#426e71,transparent 50%),linear-gradient(#12292f,#203e32 60%,#192f20);isolation:isolate;box-shadow:inset 0 0 40px #081813}.forest-moon{position:absolute;top:8px;right:22%;color:#e7e6bc;font:70px Georgia;text-shadow:0 0 24px #c2eac3}.forest-tree{position:absolute;font-size:110px;line-height:1;filter:drop-shadow(0 12px 7px #071912);z-index:2}.tree-1{left:-20px;top:50px}.tree-2{left:16%;top:12px;font-size:130px;opacity:.6}.tree-3{left:43%;top:8px;font-size:115px;opacity:.6}.tree-4{right:-15px;top:42px;font-size:150px}.tree-5{left:4%;bottom:-26px;font-size:150px;z-index:5}.tree-6{right:3%;bottom:-28px;font-size:130px;z-index:5}.forest-path{position:absolute;left:12%;right:12%;bottom:26px;height:70px;border-radius:50%;background:radial-gradient(ellipse,#74906a90,#57613c50,transparent 72%);transform:rotate(-8deg)}.forest-mist{position:absolute;inset:20% 0;background:radial-gradient(ellipse,#adc2b519,transparent 65%);filter:blur(16px)}.forest-wizard{position:absolute;z-index:4;left:40%;bottom:65px;font-size:70px;line-height:1;filter:drop-shadow(0 0 12px #b08cd750)}.wizard-spell{position:absolute;left:55px;top:4px;font-size:35px;opacity:.25}.forest-box{position:absolute;z-index:3;font-size:30px;bottom:62px;filter:drop-shadow(0 0 9px #dca959);opacity:.55}.box-1{left:22%}.box-2{left:51%;bottom:95px}.box-3{right:17%}.forest-fireflies{position:absolute;inset:38% 0 auto;text-align:center;color:#c7f399;font-size:29px;letter-spacing:40px;text-shadow:0 0 15px #b2f577}.sb-game-shell.is-casting .forest-wizard{animation:forestPatrol 12s ease-in-out infinite!important}.sb-game-shell.is-casting .wizard-spell{animation:forestCast 2.4s ease-in-out infinite!important}.sb-game-shell.is-casting .forest-fireflies{animation:forestGlow 3s ease-in-out infinite!important}.sb-game-shell.is-minimized .forest-wizard,.sb-game-shell.is-minimized .wizard-spell,.sb-game-shell.is-minimized .forest-fireflies{animation-play-state:paused!important}@keyframes forestPatrol{0%,100%{transform:translateX(-95px)}45%,55%{transform:translateX(95px)}}@keyframes forestCast{0%,100%{opacity:.2;transform:scale(.7)}45%{opacity:1;transform:scale(1.3);filter:drop-shadow(0 0 12px #d9a8ff)}}@keyframes forestGlow{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.sb-game-shell .forest-wizard,.sb-game-shell .wizard-spell,.sb-game-shell .forest-fireflies{animation:none!important}}@media(max-width:640px){.spellbound-forest{height:245px}.forest-wizard{font-size:58px}.forest-tree{font-size:95px}}

.sb-game-shell .forest-wizard,.sb-game-shell.is-casting .forest-wizard{animation:none!important;transition:none;left:0}.wizard-person{display:block;transform-origin:center bottom}.wizard-person img{display:block;width:88px;height:100px;object-fit:contain;filter:drop-shadow(0 5px 5px #071813)}.wizard-spell{transform-origin:left center}.sb-game-shell.is-casting .forest-box{animation:forestBoxPulse 2.8s ease-in-out infinite!important}.box-2{animation-delay:-.8s!important}.box-3{animation-delay:-1.6s!important}.sb-game-shell .forest-mist{animation:forestMistDrift 14s ease-in-out infinite alternate!important}.sb-game-shell .forest-fireflies{animation:forestGlow 3s ease-in-out infinite!important}.sb-game-shell .forest-tree{transform-origin:bottom center;animation:forestTreeSway 8s ease-in-out infinite alternate!important}.sb-game-shell.is-minimized .spellbound-forest *,body.sb-hidden .spellbound-forest *{animation-play-state:paused!important}@keyframes forestTreeSway{to{transform:rotate(2deg)}}@keyframes forestMistDrift{to{transform:translateX(28px);opacity:.45}}@keyframes forestBoxPulse{50%{opacity:1;filter:drop-shadow(0 0 18px #ffe5a2)}}@media(prefers-reduced-motion:reduce){.sb-game-shell .spellbound-forest *{animation:none!important}} .forest-wizard.is-facing-left .wizard-person{transform:scaleX(-1)}.forest-wizard.is-facing-left .wizard-spell{left:-15px}.spellbound-forest.has-wizard-art .wizard-spell{top:26px}

.sb-spinner-panel{text-align:center}.sb-spinner-stage{position:relative;width:260px;height:260px;margin:28px auto}.sb-spinner-pointer{position:absolute;z-index:2;left:calc(50% - 13px);top:-19px;color:#ffe4a0;font-size:32px;filter:drop-shadow(0 2px 3px #51375c)}.sb-spinner-wheel{position:relative;width:260px;height:260px;border:8px solid #c7a75c;border-radius:50%;background:conic-gradient(from -22.5deg,#654293 0deg 45deg,#365f82 45deg 90deg,#41654c 90deg 135deg,#8a6578 135deg 180deg,#654293 180deg 225deg,#365f82 225deg 270deg,#41654c 270deg 315deg,#8a6578 315deg 360deg);box-shadow:0 0 32px #b995df55,inset 0 0 25px #1b162c88;transition:transform 4s cubic-bezier(.12,.7,.08,1)}.spin-icon{position:absolute;left:calc(50% - 18px);top:calc(50% - 18px);width:36px;height:36px;font-size:29px;line-height:36px}.spinner-center{position:absolute;inset:calc(50% - 28px);width:56px;height:56px;border-radius:50%;background:#e9c979;color:#5e3768;display:grid;place-items:center;font-size:30px;box-shadow:0 0 15px #c7a75c}.sb-spinner-panel #daily-spin-result{font-weight:bold;font-size:18px}.sb-spinner-panel small{opacity:.75}@media(prefers-reduced-motion:reduce){.sb-spinner-wheel{transition:none}} 
.spin-icon-0{transform:rotate(0deg) translateY(-88px) rotate(0deg)}
.spin-icon-1{transform:rotate(45deg) translateY(-88px) rotate(-45deg)}
.spin-icon-2{transform:rotate(90deg) translateY(-88px) rotate(-90deg)}
.spin-icon-3{transform:rotate(135deg) translateY(-88px) rotate(-135deg)}
.spin-icon-4{transform:rotate(180deg) translateY(-88px) rotate(-180deg)}
.spin-icon-5{transform:rotate(225deg) translateY(-88px) rotate(-225deg)}
.spin-icon-6{transform:rotate(270deg) translateY(-88px) rotate(-270deg)}
.spin-icon-7{transform:rotate(315deg) translateY(-88px) rotate(-315deg)}
.forest-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.65;pointer-events:none}.forest-moon{z-index:1}body.sb-private-body .hero-copy{min-width:0}
body.sb-private-body .hero-actions{flex:0 1 605px;min-width:0;align-self:stretch;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.sb-private-body .hero-ritual{min-width:0;position:relative;overflow:visible;--awake:.08;--pulse-color:rgba(255,255,255,.6);align-self:stretch;display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto auto auto auto;column-gap:13px;row-gap:2px;align-content:center;padding:14px 16px;border:1px solid rgba(228,199,255,.34);border-radius:20px;background:linear-gradient(145deg,rgba(104,62,145,.42),rgba(26,17,45,.72));box-shadow:inset 0 0 28px rgba(218,177,255,.07),0 12px 32px rgba(0,0,0,.18);transition:background .3s ease,border-color .3s ease,box-shadow .3s ease,filter .3s ease,opacity .3s ease,transform .3s ease}
body.sb-private-body .hero-ritual>*{position:relative;z-index:1}
body.sb-private-body .hero-ritual:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle at 18% 15%,rgba(255,255,255,.22),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.12),transparent 55%);opacity:calc(.08 + var(--awake)*.58);transition:opacity .35s ease,transform .35s ease,filter .35s ease}
body.sb-private-body .hero-ritual:after{content:"";position:absolute;inset:-10px;border-radius:30px;pointer-events:none;opacity:0;box-shadow:0 0 0 0 rgba(255,255,255,0),0 0 18px 2px rgba(255,255,255,0);transition:opacity .3s ease}
body.sb-private-body .hero-spinner{background:radial-gradient(circle at 15% 20%,rgba(255,219,113,.08),transparent 34%),linear-gradient(145deg,rgba(73,50,98,.44),rgba(24,18,36,.82));border-color:rgba(177,152,203,.28)}
body.sb-private-body .hero-ritual.is-cooldown{opacity:calc(.74 + var(--awake)*.24);filter:saturate(calc(.62 + var(--awake)*.48)) brightness(calc(.86 + var(--awake)*.16));border-color:rgba(171,148,197,.24);box-shadow:inset 0 0 18px rgba(218,177,255,.04),0 10px 24px rgba(0,0,0,.13),0 0 calc(8px + var(--awake)*20px) rgba(235,225,255,.12)}
body.sb-private-body .hero-ritual.is-cooldown:before{transform:scale(calc(.985 + var(--awake)*.02))}
body.sb-private-body .hero-ritual.is-cooldown .ritual-icon{filter:saturate(calc(.64 + var(--awake)*.36)) brightness(calc(.9 + var(--awake)*.12));box-shadow:0 0 calc(8px + var(--awake)*14px) rgba(214,165,255,.2)}
body.sb-private-body .hero-ritual.is-cooldown .ritual-label,body.sb-private-body .hero-ritual.is-cooldown small{opacity:calc(.74 + var(--awake)*.26)}
body.sb-private-body .hero-ritual.is-ready{opacity:1;filter:none;--awake:1;animation:heroReadyBreathe 2.9s ease-in-out infinite}
body.sb-private-body .hero-ritual.is-ready:before{opacity:.78;animation:heroReadyAura 2.6s ease-in-out infinite}
body.sb-private-body .hero-ritual.is-ready:after{opacity:1;animation:heroReadyBeacon 1.85s ease-in-out infinite}
body.sb-private-body .hero-spinner.is-ready{--pulse-color:rgba(255,210,90,.92);background:radial-gradient(circle at 18% 18%,rgba(255,232,140,.34),transparent 34%),linear-gradient(145deg,rgba(118,78,22,.5),rgba(63,35,8,.9) 28%,rgba(120,70,14,.82) 68%,rgba(42,25,7,.95));border-color:rgba(255,222,129,.78);box-shadow:inset 0 0 34px rgba(255,231,154,.18),0 0 18px rgba(255,209,92,.4),0 0 46px rgba(255,176,58,.28),0 0 82px rgba(255,206,96,.2),0 16px 36px rgba(0,0,0,.22)}
body.sb-private-body .hero-spinner.is-ready .ritual-icon{background:linear-gradient(145deg,#fff1b7,#eeab42);box-shadow:0 0 22px rgba(255,214,92,.62)}
body.sb-private-body .hero-spinner.is-ready .spinner-reel{background:rgba(255,241,188,.12);border-color:rgba(255,220,129,.46);box-shadow:inset 0 0 18px rgba(255,232,141,.16),0 0 14px rgba(255,192,66,.12)}
body.sb-private-body .hero-ritual:not(.hero-spinner).is-ready{--pulse-color:rgba(255,255,255,.95);background:radial-gradient(circle at 18% 18%,rgba(255,255,255,.18),transparent 34%),linear-gradient(145deg,rgba(120,99,153,.5),rgba(40,31,67,.84));border-color:rgba(244,242,255,.78);box-shadow:inset 0 0 32px rgba(255,255,255,.16),0 0 18px rgba(255,255,255,.32),0 0 46px rgba(212,230,255,.22),0 0 82px rgba(232,238,255,.18),0 16px 36px rgba(0,0,0,.22)}
body.sb-private-body .hero-ritual:not(.hero-spinner).is-ready .ritual-icon{background:linear-gradient(145deg,#ffffff,#d7d0ff);box-shadow:0 0 22px rgba(255,255,255,.82)}
@keyframes heroReadyBreathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1px) scale(1.012)}}
@keyframes heroReadyAura{0%,100%{transform:scale(1);filter:blur(0);opacity:.66}50%{transform:scale(1.06);filter:blur(2px);opacity:.96}}
@keyframes heroReadyBeacon{0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,0),0 0 24px 6px var(--pulse-color),0 0 54px 18px var(--pulse-color)}45%{box-shadow:0 0 0 12px rgba(255,255,255,0),0 0 42px 14px var(--pulse-color),0 0 86px 28px var(--pulse-color)}70%{box-shadow:0 0 0 18px rgba(255,255,255,0),0 0 52px 18px var(--pulse-color),0 0 110px 38px var(--pulse-color)}}
body.sb-private-body .spinner-reels{grid-column:1/3;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:9px 0 5px;transition:filter .3s ease,opacity .3s ease}
body.sb-private-body .hero-spinner.is-cooldown .spinner-reels{filter:saturate(.6) brightness(.85);opacity:.86}
body.sb-private-body .spinner-reel{display:grid;place-items:center;min-height:46px;border:1px solid rgba(244,213,141,.28);border-radius:13px;background:rgba(255,255,255,.06);font-size:25px;box-shadow:inset 0 0 15px rgba(244,213,141,.05);transition:transform .18s ease,filter .18s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease}
body.sb-private-body .spinner-reel.is-spinning{animation:spinnerReelPulse .18s ease-in-out infinite alternate}
body.sb-private-body .spinner-result{grid-column:1/3;min-height:1.25em;margin-top:4px;color:var(--gold);font-size:.78rem;font-weight:900;text-align:center}
body.sb-private-body .spinner-spin{grid-column:1/3;justify-self:center;position:relative;top:-8px;left:-28px;width:auto;min-width:132px;max-width:80%;margin-right:0;font:inherit;cursor:pointer}
body.sb-private-body .spinner-spin:disabled{opacity:.62;cursor:wait}
body.sb-private-body .hero-spinner[hidden]{display:none!important}
@keyframes spinnerReelPulse{from{transform:translateY(-1px) scale(.97);filter:brightness(.9)}to{transform:translateY(1px) scale(1.04);filter:brightness(1.2)}}
html[data-theme="light"] body.sb-private-body .hero-ritual{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(239,225,249,.82));box-shadow:inset 0 0 24px rgba(129,78,163,.07),0 12px 28px rgba(80,54,94,.1)}
html[data-theme="light"] body.sb-private-body .hero-spinner{background:radial-gradient(circle at 12% 14%,rgba(244,213,141,.1),transparent 36%),linear-gradient(145deg,rgba(249,245,251,.95),rgba(234,225,240,.86))}
body.sb-private-body .ritual-icon{grid-row:1/4;align-self:center;display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:linear-gradient(145deg,#f7eaff,#a86bd3);font-size:27px;box-shadow:0 0 19px rgba(214,165,255,.32);transition:background .3s ease,box-shadow .3s ease,filter .3s ease}
body.sb-private-body .ritual-label{color:var(--gold);font-size:.7rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
body.sb-private-body .ritual-countdown{margin-top:0;color:var(--lav);font:700 clamp(21px,2.35vw,32px)/1 Georgia,serif;white-space:nowrap;transition:font-size .25s ease,opacity .25s ease,color .25s ease}
body.sb-private-body .hero-spinner .ritual-icon{grid-row:1;align-self:center;width:46px;height:46px;border-radius:15px;font-size:24px}
body.sb-private-body .hero-spinner .ritual-label{grid-column:2;grid-row:1;align-self:center;min-width:0}
body.sb-private-body .hero-spinner .ritual-countdown{grid-column:1/3;grid-row:2;width:100%;min-width:0;font-size:clamp(20px,2vw,27px);line-height:1.05;letter-spacing:-.025em;text-align:center;white-space:normal;overflow-wrap:anywhere}
body.sb-private-body .hero-spinner.is-cooldown .ritual-countdown{font-size:clamp(17px,1.65vw,21px);opacity:.8}
body.sb-private-body .hero-spinner>small{grid-column:1/3;grid-row:3;min-width:0;text-align:center}
body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-icon{grid-row:1;align-self:center;width:46px;height:46px;border-radius:15px;font-size:24px}
body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-label{align-self:end}
body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-countdown{grid-column:1/3;grid-row:2;width:100%;font-size:clamp(20px,2vw,27px);letter-spacing:-.035em;text-align:center;font-variant-numeric:tabular-nums}
body.sb-private-body .hero-ritual:not(.hero-spinner)>small{grid-column:1/3;grid-row:3;text-align:center}
body.sb-private-body .hero-ritual small{margin-top:3px;color:var(--muted);font-size:.8rem;line-height:1.3;transition:opacity .25s ease,color .25s ease}
body.sb-private-body .ritual-teleport{grid-column:2;position:relative;isolation:isolate;display:none;align-items:center;justify-content:center;gap:8px;min-height:40px;margin-top:10px;padding:9px 14px;border:1px solid rgba(255,247,181,.95);border-radius:999px;background:linear-gradient(135deg,#fff9bd 0%,#ffd762 42%,#ffad4d 72%,#ff8544 100%);color:#3c2100;text-decoration:none;font-size:.84rem;font-weight:950;letter-spacing:.025em;text-shadow:0 1px 0 rgba(255,255,255,.55);box-shadow:0 0 12px rgba(255,232,115,.88),0 0 30px rgba(255,188,65,.72),0 0 58px rgba(255,142,70,.46),inset 0 1px 0 rgba(255,255,255,.9);overflow:visible;transform-origin:center;animation:revivalBeaconPulse 1.75s ease-in-out infinite}
body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-teleport{grid-column:1/3;justify-self:center;border:1px solid rgba(255,255,255,.96);background:linear-gradient(135deg,#ffffff 0%,#f6f2ff 38%,#e4dcff 70%,#d3c7ff 100%);color:#35234e;text-shadow:0 1px 0 rgba(255,255,255,.82);box-shadow:0 0 12px rgba(255,255,255,.88),0 0 30px rgba(226,220,255,.76),0 0 58px rgba(203,212,255,.48),inset 0 1px 0 rgba(255,255,255,.98);animation:revivalBeaconPulseHoly 1.75s ease-in-out infinite}
body.sb-private-body .ritual-teleport.is-visible{display:inline-flex}
body.sb-private-body .ritual-teleport:before,body.sb-private-body .ritual-teleport:after{content:"";position:absolute;z-index:-1;inset:-7px;border:1px solid rgba(255,226,115,.75);border-radius:inherit;pointer-events:none;animation:revivalBeaconRing 2.4s ease-out infinite}
body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-teleport:before,body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-teleport:after{border-color:rgba(255,255,255,.78)}
body.sb-private-body .ritual-teleport:after{animation-delay:1.2s}
body.sb-private-body .ritual-teleport:hover{transform:translateY(-2px) scale(1.035);filter:saturate(1.08) brightness(1.05)}
body.sb-private-body .ritual-teleport:focus-visible{outline:3px solid rgba(255,248,190,.95);outline-offset:5px}
body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-teleport:focus-visible{outline-color:rgba(255,255,255,.95)}
body.sb-private-body .ritual-beacon-light{font-size:1.05rem;filter:drop-shadow(0 0 7px #fff4a6)}
body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-beacon-light{filter:drop-shadow(0 0 7px #ffffff)}
html[data-theme="light"] body.sb-private-body .ritual-teleport{box-shadow:0 0 11px rgba(255,199,58,.65),0 0 28px rgba(255,164,54,.44),0 10px 24px rgba(111,70,21,.17),inset 0 1px 0 rgba(255,255,255,.95)}
html[data-theme="light"] body.sb-private-body .hero-ritual:not(.hero-spinner) .ritual-teleport{box-shadow:0 0 11px rgba(210,214,255,.62),0 0 28px rgba(202,210,255,.44),0 10px 24px rgba(90,86,128,.16),inset 0 1px 0 rgba(255,255,255,.98)}
@media(max-width:900px){body.sb-private-body .hero-actions{width:100%;flex-basis:auto}}
@media(max-width:560px){body.sb-private-body .hero-actions{grid-template-columns:1fr}}
@media(max-width:760px){body.sb-private-body .hero-ritual{width:100%}}
@media(prefers-reduced-motion:reduce){body.sb-private-body .ritual-teleport,body.sb-private-body .ritual-teleport:before,body.sb-private-body .ritual-teleport:after,body.sb-private-body .spinner-reel.is-spinning{animation:none}}

/* Spellbound adapters: keep the My Legacy game components and header rhythm. */
.sb-game-shell[hidden],.sb-game-content[hidden],[hidden]{display:none!important}
.sb-game-shell.is-minimized .sb-game-content{display:none!important}
.sb-game-shell.is-expanded .sb-game-launcher{display:none}
.sb-game-shell.is-maximized{top:0!important;right:0!important;left:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border-radius:0!important}
.sb-game-shell[data-game=memory].is-minimized{top:76px}
.sb-game-shell[data-game=fishing].is-minimized{top:166px}
.sb-game-shell[data-game=crossword].is-minimized{top:256px}
.sb-private-body .sb-game-shell{font-family:Arial,sans-serif;line-height:normal}
.sb-game-shell h2{font-family:Arial,sans-serif;letter-spacing:normal}
.sb-game-shell button:disabled{cursor:default}
.sb-game-shell .memory-tile:disabled{opacity:1}
.sb-game-shell .forest-wizard{bottom:60px}
.sb-game-shell.is-idle-paused .spellbound-forest *{animation-play-state:paused!important}
.sb-game-shell .forest-box{transition:visibility .2s,opacity .3s}
body.sb-private-body .sb-sanctuary-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,290px);gap:24px;align-items:center;text-align:left}
body.sb-private-body .sb-sanctuary-hero .hero-copy{min-width:0}
body.sb-private-body .sb-sanctuary-hero .hero-actions{display:block;width:100%;min-width:0;align-self:center}
body.sb-private-body .hero-spinner{width:100%;box-sizing:border-box;--gold:#f4d58d;--lav:#e2cbff;--muted:#d8cae8}
body.sb-private-body .spinner-spin{position:static;top:auto;left:auto;grid-column:1/3;margin:8px 0 0;min-width:132px;display:inline-flex}
body.sb-private-body .hero-spinner .ritual-icon{grid-column:1;grid-row:1;width:46px;height:46px;border-radius:15px}
body.sb-private-body .hero-spinner .ritual-label{grid-column:2;grid-row:1;align-self:center}
body.sb-private-body .hero-spinner .ritual-countdown{grid-column:1/3;grid-row:2}
body.sb-private-body .hero-spinner>small{grid-column:1/3;grid-row:3}
body.sb-private-body .hero-spinner .spinner-reels{grid-row:4}
body.sb-private-body .hero-spinner .spinner-result{grid-row:5}
body.sb-private-body .hero-spinner .spinner-spin{grid-row:6}
body.sb-private-body .hero-spinner.is-cooldown .spinner-spin{animation:none;box-shadow:none;opacity:.6}
body.sb-private-body .hero-spinner.is-cooldown .spinner-spin:before,body.sb-private-body .hero-spinner.is-cooldown .spinner-spin:after{animation:none;display:none}
html[data-theme=light] body.sb-private-body .hero-spinner{--gold:#735425;--lav:#5b3971;--muted:#675775}
@media(max-width:760px){body.sb-private-body .sb-sanctuary-hero{grid-template-columns:1fr}body.sb-private-body .sb-sanctuary-hero .hero-actions{width:min(100%,340px);justify-self:center}}
@media(max-width:640px){.sb-game-shell[data-game=memory].is-minimized{top:90px}.sb-game-shell[data-game=fishing].is-minimized{top:160px}.sb-game-shell[data-game=crossword].is-minimized{top:230px}}

.player-level-progress{--level-power:.01;position:relative;overflow:hidden;margin:14px 0 4px;padding:14px 17px;border:1px solid rgba(205,157,255,.38);border-radius:19px;background:radial-gradient(circle at calc(8% + var(--level-power)*72%) 0,rgba(224,181,255,.19),transparent 36%),linear-gradient(145deg,rgba(50,28,77,.86),rgba(24,16,40,.88));box-shadow:0 13px 38px rgba(0,0,0,.28),0 0 calc(10px + var(--level-power)*28px) rgba(179,104,255,.18)}.player-level-progress:before{content:"";position:absolute;inset:-100% -20%;pointer-events:none;background:conic-gradient(from 180deg,transparent,rgba(245,218,255,.08),transparent 26%);animation:ccLevelSweep var(--level-duration,4s) linear infinite}.player-level-progress-head,.player-level-progress-meta{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.player-level-progress-head strong{color:#fff4ff;font-size:.94rem}.player-level-progress-head span,.player-level-progress-meta{color:#d9cbe6;font-size:.76rem}.player-level-track{position:relative;z-index:1;height:12px;margin:10px 0 8px;overflow:hidden;border:1px solid rgba(232,204,255,.22);border-radius:999px;background:rgba(7,4,14,.72);box-shadow:inset 0 2px 7px rgba(0,0,0,.48)}.player-level-fill{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:linear-gradient(90deg,#8f4dce,#d685ff 56%,#fff1a8);box-shadow:0 0 12px rgba(218,139,255,.72),0 0 24px rgba(244,216,137,.24);transition:width .75s cubic-bezier(.2,.8,.2,1)}.player-level-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.72) 46%,transparent 66%);animation:ccLevelBarShimmer var(--level-duration,4s) ease-in-out infinite}.legacy-level-orb{--level-power:.01;--level-duration:4s;position:relative!important;display:grid!important;place-items:center!important;align-content:center!important;min-width:82px!important;width:82px!important;height:82px!important;padding:7px!important;border-radius:24px!important;line-height:1!important;isolation:isolate;animation:ccLevelPulse var(--level-duration) ease-in-out infinite!important}.legacy-level-orb:after{content:"";position:absolute;inset:-7px;border:1px solid rgba(218,168,255,calc(.2 + var(--level-power)*.5));border-radius:29px;opacity:calc(.25 + var(--level-power)*.7);animation:ccLevelRing var(--level-duration) ease-out infinite}.legacy-level-orb span{font-size:.58rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#e8d8f4}.legacy-level-orb strong{font:900 1.72rem/1 Georgia,serif;color:#fff5ff;text-shadow:0 0 calc(5px + var(--level-power)*17px) rgba(233,190,255,.95)}.legacy-heading{grid-template-columns:92px minmax(0,1fr) auto!important;column-gap:20px!important;align-items:start!important;overflow:visible!important}.legacy-title{min-width:0;padding-top:4px}.legacy-copy{display:block!important;max-width:100%;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.6!important;padding-right:4px}@keyframes ccLevelPulse{50%{transform:translateY(-2px) scale(calc(1.01 + var(--level-power)*.07));filter:brightness(calc(1.03 + var(--level-power)*.35))}}@keyframes ccLevelRing{0%{transform:scale(.9);opacity:0}35%{opacity:calc(.18 + var(--level-power)*.72)}100%{transform:scale(calc(1.03 + var(--level-power)*.18));opacity:0}}@keyframes ccLevelSweep{to{transform:rotate(360deg)}}@keyframes ccLevelBarShimmer{0%,25%{transform:translateX(-110%)}70%,100%{transform:translateX(110%)}}html[data-theme="light"] .player-level-progress{background:linear-gradient(145deg,rgba(255,252,255,.96),rgba(240,226,249,.94));border-color:rgba(112,64,152,.26)}html[data-theme="light"] .player-level-progress-head strong{color:#442851}html[data-theme="light"] .player-level-progress-head span,html[data-theme="light"] .player-level-progress-meta{color:#725f7c}@media(max-width:1100px){.legacy-heading{grid-template-columns:92px minmax(0,1fr)!important;column-gap:18px!important}.legacy-badge-stack{grid-column:2!important;justify-self:start!important}}@media(max-width:620px){.player-level-progress{padding:13px}.legacy-heading{grid-template-columns:82px minmax(0,1fr)!important;column-gap:15px!important}.legacy-title{padding-top:2px}.legacy-level-orb{min-width:70px!important;width:70px!important;height:70px!important}.legacy-level-orb strong{font-size:1.45rem}}@media(prefers-reduced-motion:reduce){.player-level-progress:before,.player-level-fill:after,.legacy-level-orb,.legacy-level-orb:after{animation:none!important}}

.player-level-progress{padding:16px 18px 15px;border:1px solid transparent;background:linear-gradient(145deg,rgba(45,25,69,.96),rgba(22,20,48,.97) 58%,rgba(19,44,49,.94)) padding-box,linear-gradient(105deg,rgba(218,176,255,.72),rgba(118,206,255,.52) 46%,rgba(255,224,137,.7)) border-box;box-shadow:0 15px 40px rgba(0,0,0,.3),0 0 var(--level-panel-glow,12px) rgba(179,104,255,.2),inset 0 1px rgba(255,255,255,.08)}
.player-level-progress:before{content:none!important;display:none!important;animation:none!important}
.player-level-progress:after{content:none!important;display:none!important}
.player-level-fireflies{position:absolute;inset:0;z-index:1;overflow:hidden;border-radius:inherit;pointer-events:none}.player-level-fireflies i{--fly-size:3px;--fly-x:4px;--fly-y:-5px;position:absolute;display:block;width:var(--fly-size);height:var(--fly-size);border-radius:50%;background:#fff3a7;box-shadow:0 0 5px #fff6bc,0 0 11px rgba(187,255,165,.92),0 0 17px rgba(207,158,255,.48);opacity:.18;animation:ccXpFirefly 4.8s ease-in-out infinite}.player-level-fireflies i:nth-child(1){left:6%;top:24%;--fly-size:3px;--fly-x:7px;--fly-y:6px;animation-delay:-.6s}.player-level-fireflies i:nth-child(2){left:18%;top:72%;--fly-size:2px;--fly-x:-5px;--fly-y:-8px;animation-delay:-3.2s;animation-duration:5.9s}.player-level-fireflies i:nth-child(3){left:31%;top:17%;--fly-size:4px;--fly-x:5px;--fly-y:8px;animation-delay:-1.8s;animation-duration:6.4s}.player-level-fireflies i:nth-child(4){left:43%;top:79%;--fly-size:3px;--fly-x:-7px;--fly-y:-7px;animation-delay:-4.1s;animation-duration:5.4s}.player-level-fireflies i:nth-child(5){left:55%;top:30%;--fly-size:2px;--fly-x:8px;--fly-y:-5px;animation-delay:-2.7s;animation-duration:6.8s}.player-level-fireflies i:nth-child(6){left:66%;top:69%;--fly-size:4px;--fly-x:-4px;--fly-y:7px;animation-delay:-.9s;animation-duration:5.7s}.player-level-fireflies i:nth-child(7){left:77%;top:18%;--fly-size:3px;--fly-x:6px;--fly-y:8px;animation-delay:-3.8s;animation-duration:6.2s}.player-level-fireflies i:nth-child(8){left:87%;top:74%;--fly-size:2px;--fly-x:-8px;--fly-y:-6px;animation-delay:-1.5s;animation-duration:5.2s}.player-level-fireflies i:nth-child(9){left:95%;top:37%;--fly-size:3px;--fly-x:-6px;--fly-y:7px;animation-delay:-4.6s;animation-duration:6.6s}
.player-level-progress-head strong{display:inline-flex;align-items:center;gap:6px;color:#fff8ff;font-size:.91rem;letter-spacing:.015em}.player-level-progress-head>span{display:inline-flex;align-items:center;min-height:27px;padding:5px 10px;border:1px solid rgba(218,190,244,.2);border-radius:999px;background:rgba(8,8,24,.34);color:#e1d7ec;font-weight:850;box-shadow:inset 0 1px rgba(255,255,255,.06)}
.player-level-track{height:17px;margin:13px 0 10px;border-color:rgba(231,211,250,.3);background:linear-gradient(180deg,rgba(5,7,20,.88),rgba(15,11,29,.82));box-shadow:inset 0 3px 8px rgba(0,0,0,.62),0 1px rgba(255,255,255,.07)}
.player-level-track:before{content:none;display:none}
.player-level-fill{background:linear-gradient(90deg,#7f54d9 0%,#af72e9 33%,#57c7c6 68%,#ffe08a 100%);box-shadow:0 0 calc(9px + var(--level-power)*12px) rgba(184,122,240,.62),0 0 calc(15px + var(--level-power)*17px) rgba(92,213,199,.27);transition:width .75s cubic-bezier(.2,.8,.2,1)}
.player-level-fill:before{content:"";position:absolute;right:1px;top:50%;z-index:2;width:9px;height:9px;border:1px solid rgba(255,255,255,.82);border-radius:3px;background:#fff1a3;box-shadow:0 0 7px #fff,0 0 calc(8px + var(--level-power)*10px) rgba(255,221,112,.92);transform:translateY(-50%) rotate(45deg);animation:ccXpGemPulse 2.2s ease-in-out infinite}
.player-level-fill:after{content:"";position:absolute;top:0;bottom:0;left:-52%;width:46%;border-radius:999px;background:linear-gradient(108deg,transparent 0%,rgba(255,255,255,.12) 22%,rgba(255,250,218,.9) 48%,rgba(205,255,249,.28) 68%,transparent 100%);filter:blur(.35px);pointer-events:none;animation:ccXpLightSweep 3.4s ease-in-out infinite!important}
.player-level-progress-meta{align-items:center;color:#dcd0e6}.player-level-progress-meta>strong{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border:1px solid rgba(255,222,138,.26);border-radius:999px;background:rgba(255,220,124,.08);color:#ffe8aa;font-size:.72rem;letter-spacing:.025em}
.crown-change-popup.level-up{--crown-rgb:194,139,255;background:radial-gradient(circle at 8% 12%,rgba(255,225,126,.19),transparent 28%),radial-gradient(circle at 82% 5%,rgba(var(--crown-rgb),.2),transparent 36%),rgba(20,13,31,.98);border-color:rgba(224,184,255,.82);box-shadow:0 16px 56px rgba(0,0,0,.48),0 0 30px rgba(var(--crown-rgb),.38),0 0 52px rgba(255,219,115,.13)}.crown-change-popup.level-up .crown-change-icon{background:linear-gradient(145deg,rgba(210,161,255,.25),rgba(255,224,125,.16));animation:ccLevelPopupStar 2.2s ease-in-out infinite}.crown-change-popup.level-up .crown-change-copy strong{color:#fff6c9;font-size:1.04rem}.crown-change-popup.level-up .crown-change-copy p{color:#eadff0}.crown-change-popup.level-up:after{content:"✦  ✧";position:absolute;right:42px;top:8px;color:rgba(255,230,151,.76);font-size:9px;letter-spacing:.25em;text-shadow:0 0 8px rgba(255,224,131,.9);pointer-events:none}html[data-theme="light"] .crown-change-popup.level-up .crown-change-copy strong{color:#4a2b57}html[data-theme="light"] .crown-change-popup.level-up .crown-change-copy p{color:#695571}
@keyframes ccXpFirefly{0%,100%{opacity:.12;transform:translate(0,0) scale(.72);filter:brightness(.8)}24%{opacity:.9}52%{opacity:.34;transform:translate(var(--fly-x),var(--fly-y)) scale(1.12);filter:brightness(1.35)}76%{opacity:1}}@keyframes ccXpLightSweep{0%,16%{left:-52%;opacity:0}25%{opacity:.88}68%{opacity:.78}82%,100%{left:108%;opacity:0}}@keyframes ccXpGemPulse{0%,100%{opacity:.76;filter:brightness(.92);scale:.88}50%{opacity:1;filter:brightness(1.3);scale:1.08}}
@keyframes ccLevelPopupStar{0%,100%{transform:scale(.94);filter:drop-shadow(0 0 7px rgba(var(--crown-rgb),.72))}50%{transform:scale(1.08);filter:drop-shadow(0 0 14px rgba(var(--crown-rgb),1))}}
html[data-theme="light"] .player-level-progress{background:linear-gradient(145deg,rgba(255,253,255,.98),rgba(242,232,250,.97) 60%,rgba(228,246,242,.96)) padding-box,linear-gradient(105deg,rgba(139,78,187,.52),rgba(70,156,187,.42),rgba(203,154,39,.52)) border-box;box-shadow:0 13px 32px rgba(72,43,86,.13),0 0 var(--level-panel-glow,12px) rgba(137,79,177,.13)}html[data-theme="light"] .player-level-progress-head>span{background:rgba(255,255,255,.68);color:#604d6a;border-color:rgba(109,74,130,.18)}html[data-theme="light"] .player-level-track{background:linear-gradient(180deg,#d9cee2,#ebe4ef);border-color:rgba(85,55,105,.24)}html[data-theme="light"] .player-level-progress-meta{color:#65556e}html[data-theme="light"] .player-level-progress-meta>strong{background:rgba(180,125,24,.08);color:#76530f;border-color:rgba(167,116,24,.24)}
@media(max-width:620px){.player-level-progress{padding:14px}.player-level-progress-head{align-items:flex-start}.player-level-progress-head>span{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.player-level-fireflies i,.player-level-fill:before,.player-level-fill:after,.crown-change-popup.level-up .crown-change-icon{animation:none!important;opacity:.45}.player-level-fill:before,.player-level-fill:after{opacity:.65}}

.sb-private-body .player-level-progress{width:100%;box-sizing:border-box;font-family:Arial,sans-serif}.sb-private-body .hero-copy .player-level-progress strong{color:inherit}.sb-private-body .player-level-fill{width:0}.sb-private-body .player-level-fireflies i{animation:none!important}body.sb-hidden .player-level-track:after{animation-play-state:paused}

/* RC2.4.1 memory feedback: immediate visual selection while server validates. */
body.sb-private-body .memory-game-shell .memory-tile.is-pending{outline:2px solid #cc9bff!important;outline-offset:2px;filter:brightness(1.13);}
body.sb-private-body .memory-game-shell .memory-tile.is-pending .memory-tile-symbol span{color:#f7dfff;letter-spacing:.06em;font-weight:900;animation:sbMemoryVerifying .7s ease-in-out infinite alternate;}
@keyframes sbMemoryVerifying{from{opacity:.42;transform:scale(.84)}to{opacity:1;transform:scale(1.08)}}
@media(prefers-reduced-motion:reduce){body.sb-private-body .memory-game-shell .memory-tile.is-pending .memory-tile-symbol span{animation:none!important}}

/* RC2.3 Forest sky: phases are anchored to a shared clock, not page-load time. */
body.sb-private-body .spellbound-forest{isolation:isolate;overflow:hidden;--sb-forest-cycle:2700s;}
body.sb-private-body .spellbound-forest .sb-forest-sky{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:linear-gradient(180deg,#88bfe1,#bce8ec 50%,#e6cfbc);animation:sbForestDayNight var(--sb-forest-cycle) linear infinite;animation-delay:var(--sb-forest-clock,-1s);}
body.sb-private-body .spellbound-forest .sb-forest-sky::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 80% 25%,#c6e8f34a,transparent 40%),linear-gradient(180deg,#070b2a,#1b214c 70%,#416b78);opacity:0;animation:sbForestNightCover var(--sb-forest-cycle) ease-in-out infinite;animation-delay:var(--sb-forest-clock,-1s);}
body.sb-private-body .spellbound-forest .sb-forest-stars{position:absolute;inset:0;pointer-events:none;z-index:1;background-image:radial-gradient(circle,#fff 1px,transparent 2px),radial-gradient(circle,#ffefc8 1.3px,transparent 2px),radial-gradient(circle,#cadfff 1px,transparent 2px);background-size:47px 59px,89px 73px,111px 97px;background-position:4px 2px,22px 31px,56px 12px;opacity:0;animation:sbForestNightStars var(--sb-forest-cycle) linear infinite;animation-delay:var(--sb-forest-clock,-1s);}
body.sb-private-body .spellbound-forest .sb-forest-sun,body.sb-private-body .spellbound-forest .sb-forest-moon{position:absolute;top:16%;z-index:2;pointer-events:none;will-change:transform,opacity;text-shadow:0 0 18px #ffe6b1;font-size:clamp(26px,5vw,42px);}
body.sb-private-body .spellbound-forest .sb-forest-sun{left:0;animation:sbForestSunOrbit var(--sb-forest-cycle) linear infinite;animation-delay:var(--sb-forest-clock,-1s);}
body.sb-private-body .spellbound-forest .sb-forest-moon{left:0;animation:sbForestMoonOrbit var(--sb-forest-cycle) linear infinite;animation-delay:var(--sb-forest-clock,-1s);}
body.sb-private-body .spellbound-forest .forest-moon{display:none!important;}
body.sb-private-body .spellbound-forest .sb-forest-shooting-star{position:absolute;left:0;top:0;z-index:3;opacity:0;pointer-events:none;color:#fffcf1;text-shadow:0 0 10px white,0 0 25px #a9c9ff;animation:sbForestShootingStar 97s linear infinite;animation-delay:var(--sb-forest-star-clock,-1s);}
body.sb-private-body .spellbound-forest .sb-forest-bat,body.sb-private-body .spellbound-forest .sb-forest-ghost{position:absolute;z-index:4;pointer-events:none;filter:drop-shadow(0 0 10px #9b8fc2);opacity:.85;}
body.sb-private-body .spellbound-forest .sb-forest-bat{font-size:clamp(20px,4vw,35px);animation:sbForestBatFlight 104s linear infinite;animation-delay:var(--sb-forest-creature-clock,-1s);}
body.sb-private-body .spellbound-forest .sb-forest-bat.bat-1{top:8%;left:4%;}
body.sb-private-body .spellbound-forest .sb-forest-bat.bat-2{top:28%;left:72%;animation-duration:131s;animation-delay:var(--sb-forest-bat2-clock,-2s);}
body.sb-private-body .spellbound-forest .sb-forest-ghost{right:15%;top:36%;font-size:32px;animation:sbForestGhostDrift 83s linear infinite;animation-delay:var(--sb-forest-ghost-clock,-2s);}
body.sb-private-body .spellbound-forest :is(.forest-mist,.forest-spirit,.forest-path,.forest-tree,.forest-wizard,.forest-box){z-index:5;}
body.sb-private-body .spellbound-forest .forest-background{z-index:1;opacity:.26!important;}
@keyframes sbForestDayNight{0%,42%,100%{background-color:#93cce9}55%,91%{background-color:#151836}}
@keyframes sbForestNightCover{0%,42%,100%{opacity:0}56%,87%{opacity:.91}96%{opacity:.12}}
@keyframes sbForestNightStars{0%,43%,100%{opacity:0}54%,88%{opacity:.95}97%{opacity:.08}}
@keyframes sbForestSunOrbit{0%{opacity:0;transform:translate(2%,48px)}6%{opacity:1}40%{opacity:1;transform:translate(700%,-25px)}46%,100%{opacity:0;transform:translate(800%,65px)}}
@keyframes sbForestMoonOrbit{0%,49%{opacity:0;transform:translate(2%,65px)}55%{opacity:1}89%{opacity:1;transform:translate(730%,-22px)}97%,100%{opacity:0;transform:translate(800%,70px)}}
@keyframes sbForestShootingStar{0%,13%,17%,100%{opacity:0;transform:translate(280px,-40px) rotate(-17deg)}14%{opacity:1;transform:translate(180px,33px) rotate(-17deg)}15.5%{opacity:0;transform:translate(55px,93px) rotate(-17deg)}}
@keyframes sbForestBatFlight{0%,100%{opacity:0;transform:translate(-90px,35px) scale(.8)}8%,35%{opacity:.85}48%{opacity:.3;transform:translate(210px,12px) scale(1.06)}60%,98%{opacity:0;transform:translate(270px,-60px) scale(.85)}}
@keyframes sbForestGhostDrift{0%,100%{opacity:0;transform:translate(0,32px)}14%,76%{opacity:.75}55%{transform:translate(-65px,-25px)}86%{opacity:0;transform:translate(-90px,30px)}}
@media(prefers-reduced-motion:reduce){body.sb-private-body .spellbound-forest :is(.sb-forest-sky,.sb-forest-sky::before,.sb-forest-stars,.sb-forest-sun,.sb-forest-moon,.sb-forest-shooting-star,.sb-forest-bat,.sb-forest-ghost){animation:none!important;}body.sb-private-body .spellbound-forest :is(.sb-forest-bat,.sb-forest-ghost,.sb-forest-shooting-star){display:none!important;}}

/* The Forest keeps a stationary ground line under every tree, regardless of sky phase. */
body.sb-private-body .spellbound-forest::after{content:'';position:absolute;left:-5%;right:-5%;bottom:-35px;height:124px;z-index:2;pointer-events:none;border-radius:50% 50% 0 0;background:radial-gradient(ellipse at 50% 18%,#3b6d49a9,#153b33c0 69%,#0b261fdd 96%);}
body.sb-private-body .spellbound-forest .forest-tree{top:auto!important;transform-origin:center bottom!important;}
body.sb-private-body .spellbound-forest .tree-1{bottom:43px!important;}
body.sb-private-body .spellbound-forest .tree-2{bottom:60px!important;}
body.sb-private-body .spellbound-forest .tree-3{bottom:60px!important;}
body.sb-private-body .spellbound-forest .tree-4{bottom:37px!important;}
body.sb-private-body .spellbound-forest .tree-5{bottom:-24px!important;}
body.sb-private-body .spellbound-forest .tree-6{bottom:-24px!important;}
@media(max-width:640px){body.sb-private-body .spellbound-forest .tree-1,body.sb-private-body .spellbound-forest .tree-4{bottom:39px!important;}body.sb-private-body .spellbound-forest .tree-2,body.sb-private-body .spellbound-forest .tree-3{bottom:57px!important;}}

/* Spellbound 2026-11-11: game clarity and enchanted forest, no game outcome modifications. */
body.sb-private-body .memory-game-shell.is-expanded .memory-game-heading{padding:0 100px 0 30px!important;margin:0 0 10px!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-controls{margin-bottom:10px!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-message{display:flex!important;align-items:center;justify-content:center;width:min(100%,540px);min-height:48px;padding:10px 18px;margin:6px auto 20px!important;border:1px solid #bfa4dd75;border-radius:15px;background:linear-gradient(140deg,#b685ff1c,#eddfec11);font-size:.98rem!important;line-height:1.5!important;font-weight:750;text-align:center;box-shadow:inset 0 1px #ffffff36}
body.sb-private-body .memory-game-shell.is-expanded .memory-board{margin:0 auto 18px!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{margin:24px auto 10px!important;padding:16px 18px;border:1px solid #d4b9e877;border-radius:19px;background:radial-gradient(circle at 10% 0%,#f2ddff26,transparent 55%),#ffffff0d}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading small{max-width:29ch;text-align:right}
body.sb-private-body .memory-tile.is-matched .memory-tile-symbol{animation:sbCrystalMatchGlow 1.3s ease-out 1!important}
@keyframes sbCrystalMatchGlow{0%{filter:brightness(1.55);box-shadow:0 0 32px #ffd878aa}100%{filter:brightness(1);box-shadow:0 0 0 2px #ffe18047}}
body.sb-private-body .crossword-game-shell .crossword-start-leaderboard{display:none!important}
body.sb-private-body .crossword-game-shell.is-round-gated .crossword-leaderboard{display:block!important}
body.sb-private-body .crossword-game-shell .crossword-leaderboard{padding:17px 19px;border:1px solid #c29add8c;border-radius:20px;background:radial-gradient(circle at 0% 0%,#f6dfba24,transparent 54%),linear-gradient(140deg,#a888e61b,#ffffff0d);box-shadow:0 9px 26px #39224a16}
body.sb-private-body .crossword-game-shell .crossword-leaderboard-heading{align-items:center;flex-wrap:wrap;gap:8px 20px}
body.sb-private-body .crossword-game-shell .crossword-leaderboard-heading small{max-width:33ch;text-align:right}
body.sb-private-body .crossword-game-shell .crossword-leaderboard li:first-child{border:1px solid #e9c16b88;background:linear-gradient(125deg,#ffe6a42b,#fff2d112);box-shadow:0 0 14px #fad48130}
body.sb-private-body .crossword-game-shell .sb-quill-intro{font-size:.85rem;line-height:1.45;max-width:460px;margin:4px auto 0!important}
body.sb-private-body .crossword-game-shell .crossword-start-panel{min-height:200px;padding:24px 18px;gap:10px}
body.sb-private-body .crossword-game-shell .crossword-clue.is-active{box-shadow:0 0 0 1px #dbb0e8a8,0 0 14px #b378f34d}
body.sb-private-body .fishing-game-shell.is-expanded{background:radial-gradient(ellipse at 45% -5%,#6d3b8f,#352047 56%,#201934)!important}
body.sb-private-body .fishing-game-content>h2,body.sb-private-body .fishing-game-content>p{text-align:center}
body.sb-private-body .fishing-game-content>p{max-width:560px;margin:8px auto 17px;color:#eadcf4;line-height:1.5}
body.sb-private-body .spellbound-forest{background:radial-gradient(ellipse at 48% 6%,#68547b50,transparent 53%),linear-gradient(165deg,#0c1223 0%,#24334a 50%,#132a25 100%)!important;border-color:#9e84ba9c!important;box-shadow:inset 0 0 60px #090f1ceb,0 0 20px #ac83cd35!important}
body.sb-private-body .spellbound-forest::before{content:'';position:absolute;z-index:1;inset:0;pointer-events:none;background:radial-gradient(ellipse at 62% 18%,#e1d3ff25,transparent 28%),radial-gradient(ellipse at 40% 78%,#5ad7ac13,transparent 40%)}
body.sb-private-body .spellbound-forest .forest-moon{text-shadow:0 0 18px #f1e6cecc,0 0 36px #b6c1ff8c}
body.sb-private-body .spellbound-forest .forest-mist{opacity:.7;animation:sbForestHauntingMist 11s ease-in-out infinite alternate!important}
body.sb-private-body .spellbound-forest .forest-spirit{position:absolute;z-index:2;pointer-events:none;color:#ded0ff;text-shadow:0 0 17px #c0a3fa;font-size:25px;opacity:.28;animation:sbForestSpiritFloat 6s ease-in-out infinite alternate!important}
body.sb-private-body .spellbound-forest .forest-spirit.spirit-1{top:20%;left:35%}
body.sb-private-body .spellbound-forest .forest-spirit.spirit-2{top:35%;right:27%;animation-delay:-2s!important}
body.sb-private-body .spellbound-forest .forest-box{z-index:6;display:grid;place-items:center;min-width:58px;min-height:61px;font-size:39px!important;opacity:1!important;filter:drop-shadow(0 0 15px #ceadffaf) drop-shadow(0 0 5px #ffffff80)!important;animation:sbForestRelicFloat 3.6s ease-in-out infinite!important;transition:opacity .28s ease,visibility .28s ease!important}
body.sb-private-body .spellbound-forest .forest-box.box-2{animation-delay:-1.1s!important}
body.sb-private-body .spellbound-forest .forest-box.box-3{animation-delay:-2.1s!important}
body.sb-private-body .spellbound-forest .forest-box::before{content:'';position:absolute;z-index:-1;width:55px;height:50px;border-radius:50%;background:radial-gradient(circle,#b685ff7d,#be9ffb17 55%,transparent 74%);box-shadow:0 0 20px #b19df861}
body.sb-private-body .spellbound-forest .forest-artifact-symbol{position:relative;z-index:1;text-shadow:0 0 10px #ffeec8a6}
body.sb-private-body .spellbound-forest .forest-artifact-sparkles{position:absolute;top:-15px;right:0;color:#fff0a4;font-size:22px;text-shadow:0 0 12px #ffdd76;animation:sbForestArtifactTwinkle 2.1s ease-in-out infinite!important}
body.sb-private-body .spellbound-forest .forest-box.box-2 .forest-artifact-sparkles{animation-delay:-.7s!important}
body.sb-private-body .spellbound-forest .forest-box.box-3 .forest-artifact-sparkles{animation-delay:-1.3s!important}
body.sb-private-body .spellbound-forest .forest-wizard{z-index:8;filter:drop-shadow(0 0 17px #bf8ce478)}
body.sb-private-body .spellbound-forest .forest-wizard .wizard-person{filter:drop-shadow(0 0 var(--witch-glow-size,5px) #e2b5ff)}
body.sb-private-body .forest-inventory-caption{text-align:center;margin:13px auto 0;color:#f5e5ff}
body.sb-private-body .forest-inventory-caption strong{display:block;font:750 1.05rem/1.4 Georgia,serif;letter-spacing:.02em}
body.sb-private-body .forest-inventory-caption small{display:block;margin-top:2px;color:#dcc7e8;font-size:.75rem}
body.sb-private-body .fishing-catches{max-width:400px;gap:11px;margin:9px auto 10px}
body.sb-private-body .fishing-catch{position:relative;min-height:69px;border:1px solid #a68cd28c;border-radius:15px;background:radial-gradient(circle at 50% 30%,#74589462,#1b263bea);box-shadow:inset 0 0 18px #aaa1ea25,0 0 15px #bd9afa23;font-size:34px;transition:box-shadow .22s ease}
body.sb-private-body .fishing-catch.is-caught{border-color:#e1bb93bf;box-shadow:0 0 17px #c19dff7d,inset 0 0 16px #dbb7ff35;animation:sbRelicArrives .6s ease both!important}
body.sb-private-body .fishing-catch.is-teleported{animation:sbRelicArrives .9s cubic-bezier(.2,.8,.3,1) both!important;box-shadow:0 0 29px #e5c1ffb3,inset 0 0 23px #e2bbff79}
body.sb-private-body .fishing-catch.is-revealing{animation:sbArtifactReveal .75s ease-in-out infinite!important}
body.sb-private-body .fishing-catch.is-win{border-color:#ffe38dcc;box-shadow:0 0 27px #ffe4a38b,inset 0 0 19px #ffe4a356}
body.sb-private-body .sb-forest-teleport{position:fixed;z-index:9998;pointer-events:none;transform:translate(-50%,-50%);font-size:42px;filter:drop-shadow(0 0 12px #fff2d6) drop-shadow(0 0 24px #c6a5ff);animation:sbForestTeleport 1s cubic-bezier(.23,.75,.28,1) both!important}
@keyframes sbForestHauntingMist{from{transform:translateX(-8px) scale(1);opacity:.42}to{transform:translateX(15px) scale(1.09);opacity:.8}}
@keyframes sbForestSpiritFloat{from{transform:translate(0,7px);opacity:.13}to{transform:translate(12px,-15px);opacity:.45}}
@keyframes sbForestRelicFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-11px) rotate(4deg)}}
@keyframes sbForestArtifactTwinkle{0%,100%{opacity:.2;transform:scale(.7)}50%{opacity:1;transform:scale(1.3)}}
@keyframes sbRelicArrives{from{opacity:.5;transform:scale(.76)}to{opacity:1;transform:scale(1)}}
@keyframes sbArtifactReveal{0%,100%{filter:brightness(1);transform:scale(1)}50%{filter:brightness(1.9);transform:scale(1.1)}}
@keyframes sbForestTeleport{0%{opacity:1;transform:translate(-50%,-50%) scale(1.25) rotate(-18deg)}55%{opacity:1;transform:translate(calc(-50% + var(--travel-mid-x)),calc(-50% + var(--travel-mid-y) - 75px)) scale(1.5) rotate(15deg)}100%{opacity:0;transform:translate(calc(-50% + var(--travel-x)),calc(-50% + var(--travel-y))) scale(.55) rotate(45deg)}}
@media(max-width:700px){body.sb-private-body .memory-game-shell.is-expanded .memory-game-heading{padding:0 80px 0 8px!important}body.sb-private-body .memory-game-shell.is-expanded .memory-game-message{font-size:.84rem!important;padding:9px 11px}body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading small,body.sb-private-body .crossword-game-shell .crossword-leaderboard-heading small{text-align:left;max-width:100%}body.sb-private-body .spellbound-forest{height:265px}body.sb-private-body .spellbound-forest .forest-box{font-size:31px!important;min-width:42px}}
@media(prefers-reduced-motion:reduce){body.sb-private-body .memory-tile.is-matched .memory-tile-symbol,body.sb-private-body .spellbound-forest .forest-mist,body.sb-private-body .spellbound-forest .forest-spirit,body.sb-private-body .spellbound-forest .forest-box,body.sb-private-body .spellbound-forest .forest-artifact-sparkles,body.sb-private-body .fishing-catch.is-caught,body.sb-private-body .fishing-catch.is-teleported,body.sb-private-body .fishing-catch.is-revealing,body.sb-private-body .sb-forest-teleport{animation:none!important;transform:none!important}}

/* RC2.1 Sanctuary Memory responsive containment: game elements remain within their scrollable shell. */
body.sb-private-body .memory-game-shell.is-expanded{overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-content{height:auto!important;min-height:0!important;min-width:0!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-board{box-sizing:border-box!important;width:min(100%,380px,max(180px,calc(100dvh - 360px)))!important;max-width:100%!important;height:auto!important;aspect-ratio:1!important;flex:0 0 auto!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;gap:clamp(4px,1vw,9px)!important;margin:0 auto 12px!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-tile{min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;aspect-ratio:1!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{flex:0 0 auto!important;}
@media(max-height:700px){body.sb-private-body .memory-game-shell.is-expanded .memory-board{width:min(100%,310px,max(160px,calc(100dvh - 310px)))!important;}}

/* RC2.3 polished magical games: all content stays inside scrollable fixed game windows. */
body.sb-private-body .memory-game-shell.is-expanded{height:min(960px,calc(100dvh - 18px))!important;max-height:calc(100dvh - 18px)!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable;overscroll-behavior:contain;border-radius:28px!important;background:radial-gradient(circle at 11% 3%,#cf99f356,transparent 33%),radial-gradient(circle at 95% 90%,#8bd8db26,transparent 33%),linear-gradient(155deg,#f8f2ff,#e9edff)!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-content{display:block!important;height:auto!important;min-height:0!important;min-width:0!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-board{width:min(100%,min(420px,calc(100dvh - 335px)))!important;max-width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:1!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;gap:clamp(4px,1vw,10px)!important;margin:12px auto 14px!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-tile{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;aspect-ratio:1!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-message{max-width:min(100%,580px);margin:6px auto 12px!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{position:relative!important;display:block!important;width:min(100%,560px)!important;max-width:100%!important;min-width:0!important;min-height:0!important;margin:18px auto 16px!important;padding:16px!important;overflow:visible!important;clear:both!important;background:linear-gradient(135deg,#fcf5ff,#ebfaff)!important;border:1px solid #caa5e1!important;box-shadow:0 7px 25px #79539b25!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;min-width:0!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading strong,body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading small{display:block!important;max-width:100%!important;min-width:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard ol{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:100%!important;min-width:0!important;padding:0!important;gap:8px!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:2px 8px!important;align-items:center!important;min-width:0!important;width:100%!important;padding:9px 10px!important;background:#ffffffd9!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li>span:first-child{grid-row:1/3!important;align-self:center!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li strong{grid-column:2!important;min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;white-space:normal!important;color:#53346c!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li small{grid-column:2!important;min-width:0!important;white-space:normal!important;font-size:.76rem!important;color:#746180!important;}
body.sb-private-body .crossword-game-shell.is-expanded{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:28px!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-content,body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-layout{min-width:0!important;max-width:100%!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-heading{min-width:0!important;max-width:calc(100% - 75px)!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard{position:relative!important;max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important;clear:both!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard li{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard-heading{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard-heading small{max-width:100%!important;text-align:left!important;white-space:normal!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-heading h2,body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-heading h2{text-shadow:0 1px 0 #fff9,0 0 19px #c07ae656!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li:first-child,body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard li:first-child{border:1px solid #ddb65c9c!important;box-shadow:0 0 13px #f1d58c43!important;}
html[data-theme=dark] body.sb-private-body .memory-game-shell.is-expanded{background:radial-gradient(circle at 10% 0%,#8357ad46,transparent 35%),linear-gradient(155deg,#2b2138,#1a2b3a)!important;}
html[data-theme=dark] body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{background:linear-gradient(145deg,#372543,#1c3341)!important;border-color:#9a74b6!important;}
html[data-theme=dark] body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li{background:#3b2b4c!important;}
html[data-theme=dark] body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li strong{color:#f1dfff!important;}
html[data-theme=dark] body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li small{color:#d7c6e7!important;}
@media(max-width:700px){body.sb-private-body .memory-game-shell.is-expanded,body.sb-private-body .crossword-game-shell.is-expanded{top:6px!important;right:6px!important;left:6px!important;width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important;padding:17px 12px!important;border-radius:19px!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-board{width:min(100%,320px,calc(100dvh - 330px))!important;min-width:140px!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{padding:12px!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-heading{max-width:calc(100% - 72px)!important;}
}
@media(max-height:600px){body.sb-private-body .memory-game-shell.is-expanded .memory-board{width:min(100%,240px)!important;}}
/* Enchanted Forest: show sealed magical orbs, never future result symbols. */
body.sb-private-body .spellbound-forest .forest-box{isolation:isolate!important;display:grid!important;place-items:center!important;width:65px!important;height:68px!important;min-width:0!important;min-height:0!important;border-radius:50%!important;border:1px solid #f4dfff66!important;background:radial-gradient(circle at 30% 22%,#fffaffb5,#b7b3ff9a 15%,#774cb9cc 43%,#2a155a 70%,#1c1548 100%)!important;box-shadow:inset -7px -9px 14px #0a0925a1,inset 6px 6px 13px #f9e8ff70,0 0 16px #ca93ff83,0 0 35px #8ab1ff36!important;opacity:1!important;filter:none!important;animation:sbSealedOrbFloat 3.4s ease-in-out infinite!important;}
body.sb-private-body .spellbound-forest .forest-box::before{content:'✧'!important;z-index:3!important;position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;background:none!important;width:auto!important;height:auto!important;box-shadow:none!important;font-size:30px!important;color:#fff1a8!important;text-shadow:0 0 14px #e3bdff,0 0 6px #ffe1a3!important;}
body.sb-private-body .spellbound-forest .forest-box .forest-artifact-symbol{font-size:30px!important;opacity:.65!important;filter:drop-shadow(0 0 8px #f4c3ff)!important;}
body.sb-private-body .spellbound-forest .forest-box .forest-artifact-sparkles{font-size:15px!important;right:-9px!important;top:-12px!important;}
body.sb-private-body .spellbound-forest .forest-box.is-collected{opacity:0!important;pointer-events:none!important;}
body.sb-private-body .fishing-catch.is-sealed{border-color:#d4aff0!important;background:radial-gradient(circle at 50% 30%,#9875d09a,#2c204fbf)!important;box-shadow:inset 0 0 18px #d2abf870,0 0 15px #ba83f383!important;text-shadow:0 0 14px #efdcff!important;}
body.sb-private-body .fishing-catch.is-burst{animation:sbMagicOrbBurst .75s ease-out both!important;border-color:#ffdf85!important;box-shadow:0 0 16px #ffe6a4,0 0 33px #c59affbf,inset 0 0 15px #fff9cd!important;}
body.sb-private-body .sb-forest-sealed-orb{display:grid!important;place-items:center!important;border-radius:50%!important;font-size:31px!important;filter:drop-shadow(0 0 18px #d4a2ff)!important;}
@keyframes sbSealedOrbFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-10px) scale(1.045)}}
@keyframes sbMagicOrbBurst{0%{transform:scale(.75) rotate(-11deg);opacity:.48}35%{transform:scale(1.25) rotate(7deg);opacity:1}70%{transform:scale(.91) rotate(-3deg)}100%{transform:scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){body.sb-private-body .spellbound-forest .forest-box,body.sb-private-body .fishing-catch.is-burst{animation:none!important;transform:none!important;}}
/* RC2.3 Forest visual makeover. Scoped only to the expanded Sanctuary forest window. */
body.sb-private-body .fishing-game-shell.is-expanded{
  box-sizing:border-box!important;
  max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 24px)!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  scrollbar-gutter:stable;overscroll-behavior:contain;
  border:2px solid #c79dec!important;border-radius:30px!important;
  background:radial-gradient(ellipse at 11% 0%,#a967d54d,transparent 32%),
             radial-gradient(ellipse at 98% 71%,#57c9c030,transparent 43%),
             linear-gradient(145deg,#261536 2%,#322249 51%,#182d3f 100%)!important;
  box-shadow:0 25px 78px #150c2e88,0 0 32px #b88af34f,inset 0 1px 0 #ffffff35!important;
  color:#f8eaff!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-game-content{position:relative!important;z-index:1;min-width:0!important;max-width:100%!important;overflow:visible!important;}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-game-content>h2{
  font:800 clamp(1.35rem,2.7vw,2.15rem)/1.2 Georgia,serif!important;
  letter-spacing:.025em;color:#ffebbc!important;
  text-shadow:0 2px 15px #f5bf884a,0 0 24px #c48af866!important;
  margin:3px auto 9px!important;padding:0 76px 0 18px!important;
  max-width:100%!important;overflow-wrap:anywhere;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-game-content>p{
  max-width:600px!important;margin:0 auto 17px!important;
  color:#ebdff5!important;font-size:.94rem!important;line-height:1.55!important;
  text-align:center!important;text-wrap:pretty;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-game-toolbar{
  position:relative;z-index:10;min-height:32px;margin:0 0 5px;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-game-tool{
  border:1px solid #ead7ff80!important;background:#ffffff19!important;
  color:#fff0ff!important;box-shadow:0 2px 9px #130b3150;
  backdrop-filter:blur(4px);
}
body.sb-private-body .fishing-game-shell.is-expanded .spellbound-forest{
  position:relative;max-width:100%;box-sizing:border-box;
  border:2px solid #e6c5f1ae!important;border-radius:26px!important;
  background:radial-gradient(circle at 60% 13%,#b8a6eb2a,transparent 35%),
             linear-gradient(160deg,#0c1428,#1b3443 65%,#1c2c29)!important;
  box-shadow:0 0 0 5px #d7b8f013,0 0 26px #c9a5ed35,
             inset 0 0 60px #030817d4,inset 0 1px 0 #fcecff4f!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .forest-inventory-caption{
  max-width:450px;margin:15px auto 8px!important;padding:10px 15px 8px!important;
  border-radius:20px 20px 7px 7px;
  background:linear-gradient(145deg,#6e46913d,#558d9b1f)!important;
  border:1px solid #cfb2e64f!important;
  text-align:center!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .forest-inventory-caption strong{color:#ffe6b4!important;text-shadow:0 0 15px #e6b9833d;font:750 1.04rem/1.3 Georgia,serif!important;}
body.sb-private-body .fishing-game-shell.is-expanded .forest-inventory-caption small{color:#e4d4ee!important;line-height:1.5!important;}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-catches{
  max-width:450px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(7px,1.5vw,13px)!important;margin:10px auto 12px!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-catch{
  min-width:0!important;min-height:clamp(60px,9vw,81px)!important;
  border:1px solid #c9a8e7a8!important;border-radius:17px!important;
  background:radial-gradient(circle at 49% 20%,#b495e650,transparent 51%),linear-gradient(150deg,#3c2956,#1d2f42)!important;
  box-shadow:inset 0 1px 0 #ffffff3a,inset 0 -13px 21px #101629a1,0 5px 19px #100c2f70!important;
  color:#f7ecff!important;overflow:hidden;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-status,
body.sb-private-body .fishing-game-shell.is-expanded .fishing-cooldown,
body.sb-private-body .fishing-game-shell.is-expanded .fishing-result{
  box-sizing:border-box;max-width:580px;min-width:0;
  margin:10px auto!important;overflow-wrap:anywhere;
  text-align:center!important;line-height:1.55!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-status{
  color:#eadeff!important;text-shadow:0 1px 12px #bba0ed7a!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-result:not(:empty){
  padding:13px 17px!important;border-radius:16px!important;
  background:linear-gradient(145deg,#57416d85,#4a6f7157)!important;
  border:1px solid #f7dea4ab!important;
  box-shadow:0 0 18px #edca9452!important;color:#ffe6a9!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-cast-button{
  min-width:min(220px,100%)!important;max-width:100%!important;
  padding:13px 19px!important;margin:13px auto 8px!important;
  background:linear-gradient(120deg,#56336f,#8855af 51%,#466e81)!important;
  border:1px solid #dfc3ffa8!important;color:#fff3ce!important;
  box-shadow:0 0 17px #ab83d76b,inset 0 1px 0 #fff8!important;
  text-shadow:0 1px 3px #201631!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-cast-button.is-ready{
  background:linear-gradient(115deg,#56376f,#9564bd 50%,#3d9a87)!important;
  border-color:#f6dc9fdc!important;
  box-shadow:0 0 22px #d3aaf8a6,0 0 28px #a2e6d453,inset 0 1px 0 #fffb!important;
}
body.sb-private-body .fishing-game-shell.is-expanded .fishing-cast-button:disabled{
  opacity:.82!important;filter:saturate(.7)!important;
}
@media(max-width:700px){
 body.sb-private-body .fishing-game-shell.is-expanded{
  top:6px!important;right:6px!important;left:6px!important;
  width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;
  height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important;
  padding:16px 11px!important;border-radius:19px!important;
 }
 body.sb-private-body .fishing-game-shell.is-expanded .fishing-game-content>h2{
  font-size:1.4rem!important;padding:0 5px!important;margin-top:3px!important;
 }
 body.sb-private-body .fishing-game-shell.is-expanded .fishing-game-content>p{font-size:.85rem!important;padding:0 5px!important;margin-bottom:12px!important;}
 body.sb-private-body .fishing-game-shell.is-expanded .spellbound-forest{height:220px!important;border-radius:18px!important;}
 body.sb-private-body .fishing-game-shell.is-expanded .forest-inventory-caption{padding:9px 10px!important;}
 body.sb-private-body .fishing-game-shell.is-expanded .fishing-catch{min-height:60px!important;}
}
@media(prefers-reduced-motion:reduce){
 body.sb-private-body .fishing-game-shell.is-expanded .fishing-cast-button.is-ready{animation:none!important;}
}

/* Forest Rescue: one clock, continuous scenery, grounded solid trees. */
body.sb-private-body .spellbound-forest{--sb-forest-night:0;}
body.sb-private-body .spellbound-forest .sb-forest-sky,body.sb-private-body .spellbound-forest .sb-forest-sky::before,body.sb-private-body .spellbound-forest .sb-forest-stars,body.sb-private-body .spellbound-forest .sb-forest-sun,body.sb-private-body .spellbound-forest .sb-forest-moon{animation:none!important;}
body.sb-private-body .spellbound-forest .sb-forest-sky::before{opacity:var(--sb-forest-night)!important;transition:opacity 5s linear!important;}
body.sb-private-body .spellbound-forest .sb-forest-stars{opacity:var(--sb-forest-night)!important;transition:opacity 5s linear!important;}
body.sb-private-body .spellbound-forest .sb-forest-sun,body.sb-private-body .spellbound-forest .sb-forest-moon{left:6%;top:29%;transition:left 5.05s linear,top 5.05s linear,opacity 1.8s ease;will-change:auto;opacity:0;z-index:3;}
body.sb-private-body .spellbound-forest .sb-forest-cloud{position:absolute;width:clamp(74px,22%,180px);height:26px;border-radius:100px;z-index:2;pointer-events:none;background:radial-gradient(ellipse at 50% 85%,#ffffffbe 0%,#eaf1f9aa 50%,transparent 80%);filter:blur(6px) drop-shadow(0 0 9px #bed6f770);opacity:.74;left:-34%;}
body.sb-private-body .spellbound-forest .sb-forest-cloud::before{content:'';position:absolute;left:22%;right:22%;top:-21px;height:39px;border-radius:100%;background:radial-gradient(ellipse,#fffd 10%,#e0ecf7aa 60%,transparent 83%);}
body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-one{top:12%;animation:sbCloudCross 185s linear infinite;animation-delay:var(--sb-cloud-clock-1,0s)}
body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-two{top:25%;opacity:.46;scale:.68;animation:sbCloudCross 241s linear infinite reverse;animation-delay:var(--sb-cloud-clock-2,0s)}
body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-three{top:34%;opacity:.40;scale:1.15;animation:sbCloudCross 307s linear infinite;animation-delay:var(--sb-cloud-clock-3,0s)}
@keyframes sbCloudCross{0%{left:-35%}100%{left:120%}}
body.sb-private-body .spellbound-forest .sb-forest-bat.bat-1{left:-15%;top:9%;animation:sbBatFullSky 104s linear infinite!important;animation-delay:var(--sb-forest-creature-clock,0s)!important;}
body.sb-private-body .spellbound-forest .sb-forest-bat.bat-2{left:-19%;top:23%;animation:sbBatFullSky2 131s linear infinite!important;animation-delay:var(--sb-forest-bat2-clock,0s)!important;}
body.sb-private-body .spellbound-forest .sb-forest-ghost{left:-15%;right:auto;top:30%;animation:sbGhostFullSky 83s ease-in-out infinite!important;animation-delay:var(--sb-forest-ghost-clock,0s)!important;}
@keyframes sbBatFullSky{0%,100%{opacity:0;left:-15%;transform:translateY(28px) scale(.72)}10%{opacity:.84}25%{transform:translateY(-12px) scale(.9)}45%{transform:translateY(34px) scale(1.1)}63%{transform:translateY(-25px) scale(.83)}83%{opacity:.77}95%{opacity:0;left:114%;transform:translateY(0) scale(.64)}}
@keyframes sbBatFullSky2{0%,100%{opacity:0;left:112%;transform:translateY(15px) scale(.62)}8%{opacity:.74}40%{transform:translateY(-18px) scale(.9)}70%{transform:translateY(30px) scale(.75)}88%{opacity:.81}97%{left:-19%;opacity:0;transform:translateY(-26px) scale(.7)}}
@keyframes sbGhostFullSky{0%,100%{left:107%;opacity:0;transform:translateY(15px) scale(.65)}16%{opacity:.47}41%{transform:translateY(-30px) scale(.88)}65%{transform:translateY(35px) scale(1.07)}81%{opacity:.60}92%{opacity:0;left:-15%;transform:translateY(-15px) scale(.7)}}
body.sb-private-body .spellbound-forest .forest-background{opacity:1!important;}
body.sb-private-body .spellbound-forest .forest-tree{opacity:1!important;filter:drop-shadow(0 6px 6px #071d1980)!important;transform-origin:center bottom!important;}
body.sb-private-body .spellbound-forest .tree-1{bottom:42px!important}
body.sb-private-body .spellbound-forest .tree-2{bottom:57px!important}
body.sb-private-body .spellbound-forest .tree-3{bottom:57px!important}
body.sb-private-body .spellbound-forest .tree-4{bottom:39px!important}
body.sb-private-body .spellbound-forest .tree-5,body.sb-private-body .spellbound-forest .tree-6{bottom:0px!important}
/* Sealed crystalline relics replace silly opaque emoji bubbles, revealing the real server symbols afterward. */
body.sb-private-body .spellbound-forest .forest-box{width:48px;height:58px;font-size:0!important;filter:drop-shadow(0 0 15px #b6a3ff)!important;opacity:1!important;}
body.sb-private-body .spellbound-forest .forest-box::before{content:'';position:absolute;inset:0;border-radius:8px 8px 15px 15px;clip-path:polygon(50% 0,87% 22%,94% 69%,50% 100%,6% 69%,13% 22%);background:linear-gradient(128deg,#fdf5ff 0%,#bc9beb 25%,#755bb1 49%,#cdf7f5 55%,#b185d6 79%,#fff3bd 100%);box-shadow:inset 0 0 13px #8f54ca;animation:sbForestCrystal 5s ease-in-out infinite;}
body.sb-private-body .spellbound-forest .forest-box .forest-artifact-symbol{position:absolute;z-index:2;left:50%;top:48%;transform:translate(-50%,-50%);font-size:24px!important;color:#fffdf0!important;opacity:1!important;text-shadow:0 0 8px #fff,0 0 16px #ffdb86!important;}
body.sb-private-body .spellbound-forest .forest-box .forest-artifact-sparkles{position:absolute;z-index:2;opacity:1!important;color:#fff4ba!important;text-shadow:0 0 12px #ffe8c1;animation:sbForestCrystalSparkle 2.2s ease-in-out infinite;}
body.sb-private-body .fishing-catch.is-sealed{border:2px solid #d8bcff!important;background:radial-gradient(circle at 34% 20%,#fff5d9,#8e70c9 51%,#21133a 95%)!important;color:#fff2cc!important;text-shadow:0 0 15px #fffbe3,0 0 26px #e4d1ff!important;}
@keyframes sbForestCrystal{0%,100%{filter:brightness(.96) drop-shadow(0 0 9px #ab80ed)}50%{filter:brightness(1.33) drop-shadow(0 0 23px #ead8ff)}}
@keyframes sbForestCrystalSparkle{0%,100%{opacity:.3;transform:scale(.55)}50%{opacity:1;transform:scale(1.22)}}
@media(prefers-reduced-motion:reduce){body.sb-private-body .spellbound-forest .sb-forest-cloud,body.sb-private-body .spellbound-forest .sb-forest-bat,body.sb-private-body .spellbound-forest .sb-forest-ghost,body.sb-private-body .spellbound-forest .forest-box::before,body.sb-private-body .spellbound-forest .forest-box .forest-artifact-sparkles{animation:none!important;transition:none!important}body.sb-private-body .spellbound-forest .sb-forest-cloud{display:none!important}}

/* RC2.3 final visual corrections: no leader text crushed into one grid column. */
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li.memory-leaderboard-empty,
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard li.crossword-leaderboard-empty{
 display:flex!important;align-items:center!important;justify-content:center!important;grid-template-columns:none!important;
 grid-column:1/-1!important;min-height:55px!important;width:100%!important;max-width:100%!important;
 padding:12px!important;box-sizing:border-box!important;white-space:normal!important;word-break:normal!important;
 overflow-wrap:normal!important;text-align:center!important;color:#ffecd2!important;
 background:linear-gradient(105deg,#3a2854,#3b274f 50%,#283349)!important;
 border:1px solid #cba5e88c!important;box-shadow:inset 0 0 20px #ad74d126!important;
}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li:not(.memory-leaderboard-empty),
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard li:not(.crossword-leaderboard-empty){
 width:100%!important;box-sizing:border-box;max-width:100%!important;overflow-wrap:anywhere;
}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard li:not(.crossword-leaderboard-empty){
 grid-template-columns:30px minmax(0,1fr)!important;min-width:0;background:#392b4cec!important;
}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard li strong,
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard li small{color:#fff0f7!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li strong,
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li small{color:#352340!important}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-content,
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-content{position:relative;isolation:isolate;overflow:hidden}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-content{
 background:radial-gradient(circle at 10% 15%,#d599eb34,transparent 45%),radial-gradient(circle at 95% 85%,#7ea8ff29,transparent 50%),linear-gradient(160deg,#382344,#191f3a 85%)!important;
 box-shadow:inset 0 0 31px #e5beff24,0 0 0 1px #ebc5ff62,0 12px 34px #100c2a85!important;
}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-content:before,
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-content:before{
 content:'✧    ⋆    ✦    ✧';position:absolute;right:6%;top:4%;font-size:20px;letter-spacing:13px;
 color:#fce9be88;text-shadow:0 0 17px #ffe9cc,0 0 30px #c58bf1;pointer-events:none;
 animation:sbPuzzleShine 8s ease-in-out infinite;z-index:0;
}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-content>* ,
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-content>*{position:relative;z-index:1}
body.sb-private-body .memory-game-shell .memory-leaderboard,
body.sb-private-body .crossword-game-shell .crossword-leaderboard{box-sizing:border-box;min-width:0;max-width:100%;overflow:hidden;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard,
body.sb-private-body .crossword-game-shell.is-expanded .crossword-leaderboard{
 border:1px solid #cf9be89c!important;border-radius:18px!important;
 background:radial-gradient(ellipse at 12% 12%,#73518d77,transparent 58%),linear-gradient(133deg,#2a203d,#27304e)!important;
 box-shadow:inset 0 1px 16px #e1bafa13,0 0 19px #c697f333!important;
 color:#fff7fb!important;
}
body.sb-private-body .crossword-game-shell .crossword-start-panel{
 background:radial-gradient(ellipse at 24% 4%,#b27af038,transparent 70%),linear-gradient(135deg,#3b2451,#202f4b)!important;
 border:1px solid #dcacfd87!important;box-shadow:inset 0 1px 20px #f6dcff16,0 0 20px #bc93e833!important;
}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-heading h2,
body.sb-private-body .memory-game-shell.is-expanded .memory-game-heading h2{
 color:#fff0f3!important;text-shadow:0 0 13px #d9a9f6ad,0 0 27px #a59bec6b!important;
}
@keyframes sbPuzzleShine{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:.82;transform:translateY(-9px)}}
/* ATM now feels like an enchanted vault. Light and dark text remain readable. */
body.sb-private-body .sb-dual-rituals>#sb-atm-card{
 border:1px solid #d9b8fbac!important;
 box-shadow:inset 0 0 0 1px #fff6c520,0 0 23px #d89df82b,0 12px 27px #170d2d69!important;
}
body.sb-private-body .sb-dual-rituals>#sb-atm-card .sb-atm-label{
 font-weight:900!important;letter-spacing:.055em!important;
}
body.sb-private-body .sb-dual-rituals>#sb-atm-card .sb-atm-countdown{
 text-shadow:0 0 16px #e9bff38c!important;
}
html[data-theme=light] body.sb-private-body .sb-dual-rituals>#sb-atm-card .sb-atm-countdown,
html[data-theme=light] body.sb-private-body .sb-dual-rituals>#sb-atm-card .sb-atm-label{
 color:#39264e!important;text-shadow:none!important;
}
html[data-theme=light] body.sb-private-body .sb-dual-rituals>#daily-spinner-card :is(.spinner-reels,.spinner-reel,.spinner-result,.spinner-spin),
html[data-theme=light] body.sb-private-body .sb-dual-rituals>#sb-atm-card :is(.sb-atm-cta,.sb-atm-detail){
 color:#39254c!important;
}
html[data-theme=dark] body.sb-private-body .sb-dual-rituals>#daily-spinner-card :is(.spinner-result,.ritual-countdown,.ritual-label),
html[data-theme=dark] body.sb-private-body .sb-dual-rituals>#sb-atm-card :is(.sb-atm-detail,.sb-atm-countdown,.sb-atm-label){
 color:#fff1f7!important;
}
@media (prefers-reduced-motion:reduce){body.sb-private-body .memory-game-shell.is-expanded .memory-game-content:before,body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-content:before{animation:none!important}}

/* Selective safe-motion exemption from legacy global animation suppression. */
body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-one{animation:sbCloudCross 185s linear infinite!important;animation-delay:var(--sb-cloud-clock-1,0s)!important}
body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-two{animation:sbCloudCross 241s linear infinite reverse!important;animation-delay:var(--sb-cloud-clock-2,0s)!important}
body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-three{animation:sbCloudCross 307s linear infinite!important;animation-delay:var(--sb-cloud-clock-3,0s)!important}
body.sb-private-body .spellbound-forest .forest-box .forest-artifact-sparkles{animation:sbForestCrystalSparkle 2.2s ease-in-out infinite!important}
@media(prefers-reduced-motion:reduce){
 body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-one,body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-two,body.sb-private-body .spellbound-forest .sb-forest-cloud.cloud-three,body.sb-private-body .spellbound-forest .forest-box .forest-artifact-sparkles{animation:none!important}
}
/* SPELLBOUND RC2.3 visual rescue. Presentation only, no game or financial state writes. */
/* Safeguard game panels and keep Crystal Keepers in its own scrolling panel. */
body.sb-private-body .memory-game-shell.is-expanded{z-index:10400!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;max-height:calc(100dvh - 18px)!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;overscroll-behavior:contain;}
body.sb-private-body .memory-game-shell.is-expanded .memory-game-content{display:flex!important;flex:0 0 auto!important;width:100%!important;min-width:0!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;box-sizing:border-box!important;flex:0 0 auto!important;align-self:stretch!important;width:min(100%,600px)!important;max-width:100%!important;height:auto!important;min-height:115px!important;overflow:visible!important;margin:20px auto 26px!important;padding:18px!important;border-radius:22px!important;border:1px solid #e6b4ffbb!important;background:radial-gradient(circle at 16% 0%,#fff3d632,transparent 40%),linear-gradient(135deg,#332549,#1e2847)!important;box-shadow:inset 0 1px 0 #ffffff40,0 12px 28px #180e3770,0 0 22px #a67de526!important;color:#fff1fa!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;min-width:0!important;position:relative!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading strong{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;color:#ffdd9e!important;text-shadow:0 0 13px #c9a2ffb0!important;font:800 clamp(1.04rem,2vw,1.23rem)/1.35 Georgia,serif!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading small{display:block!important;max-width:none!important;width:100%!important;color:#e8def8!important;line-height:1.48!important;text-align:left!important;white-space:normal!important;overflow-wrap:break-word!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard ol{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;padding:0!important;margin:12px 0 0!important;min-width:0!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li{box-sizing:border-box!important;grid-template-columns:28px minmax(0,1fr) auto!important;width:100%!important;min-width:0!important;padding:10px!important;background:#fff8ffed!important;color:#342546!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li :is(strong,small){color:#362746!important;min-width:0!important;}
body.sb-private-body .memory-game-shell.is-expanded .memory-board{flex:0 0 auto!important;}
/* Forest uses one absolute synchronized solar phase. Only ONE celestial body may render. */
body.sb-private-body .spellbound-forest{position:relative!important;isolation:isolate!important;height:clamp(310px,37vw,415px)!important;overflow:hidden!important;border:2px solid #a37cce!important;border-radius:27px!important;background:#102935!important;box-shadow:inset 0 -35px 60px #082619b8,inset 0 0 55px #9eddf012,0 15px 36px #150b2d91!important;}
body.sb-private-body .spellbound-forest .sb-forest-sky{position:absolute!important;inset:0!important;background:linear-gradient(180deg,#6197c7 0%,#afd7cd 52%,#b8bd86 100%)!important;animation:none!important;}
body.sb-private-body .spellbound-forest .sb-forest-sky::before{background:linear-gradient(180deg,#09142f 0%,#1c2953 55%,#284354 100%)!important;opacity:var(--sb-forest-night,0)!important;animation:none!important;transition:opacity 4s linear!important;}
body.sb-private-body .spellbound-forest .sb-forest-stars{opacity:var(--sb-forest-night,0)!important;animation:none!important;transition:opacity 4s linear!important;}
body.sb-private-body .spellbound-forest :is(.sb-forest-sun,.sb-forest-moon){position:absolute!important;left:var(--sb-celestial-x,9%)!important;top:var(--sb-celestial-y,19%)!important;transform:none!important;z-index:3!important;pointer-events:none!important;animation:none!important;transition:top 1.05s linear,left 1.05s linear!important;font-size:clamp(34px,4.6vw,54px)!important;line-height:1!important;}
body.sb-private-body .spellbound-forest :is(.sb-forest-sun,.sb-forest-moon):not([data-sb-visible="true"]){display:none!important;visibility:hidden!important;opacity:0!important;}
body.sb-private-body .spellbound-forest :is(.sb-forest-sun,.sb-forest-moon)[data-sb-visible="true"]{display:block!important;visibility:visible!important;opacity:1!important;}
body.sb-private-body .spellbound-forest .sb-forest-sun{text-shadow:0 0 18px #fff7b7,0 0 40px #f9c570!important;filter:drop-shadow(0 0 16px #ffe0a0);}
body.sb-private-body .spellbound-forest .sb-forest-moon{text-shadow:0 0 15px #fff,0 0 32px #d6e3ff!important;filter:drop-shadow(0 0 13px #c8d9ff);}
/* Solid tree silhouettes, no half transparent emoji sprites. Trunks physically meet the ground. */
body.sb-private-body .spellbound-forest .forest-tree{position:absolute!important;top:auto!important;z-index:5!important;width:clamp(42px,9vw,100px)!important;height:clamp(152px,23vw,226px)!important;font-size:0!important;line-height:0!important;color:transparent!important;opacity:1!important;filter:drop-shadow(3px 8px 6px #061b18bf)!important;animation:none!important;transform:none!important;overflow:visible!important;}
body.sb-private-body .spellbound-forest .forest-tree::before{content:'';position:absolute;left:12%;right:12%;top:0;bottom:14px;clip-path:polygon(50% 0,68% 23%,59% 23%,83% 52%,69% 51%,100% 81%,82% 83%,50% 96%,16% 83%,0 81%,32% 51%,20% 52%,42% 23%,34% 23%);background:linear-gradient(108deg,#061e26 0%,#164a44 39%,#29654e 65%,#092a2b 100%);box-shadow:inset 0 0 12px #4caa8b2a;}
body.sb-private-body .spellbound-forest .forest-tree::after{content:'';position:absolute;left:46%;bottom:0;width:9%;height:48px;border-radius:3px;background:#183324;z-index:-1;}
body.sb-private-body .spellbound-forest .tree-1{left:-13px!important;bottom:40px!important;}
body.sb-private-body .spellbound-forest .tree-2{left:12%!important;bottom:46px!important;transform:scale(.79)!important;transform-origin:bottom center!important;}
body.sb-private-body .spellbound-forest .tree-3{left:36%!important;bottom:52px!important;transform:scale(.74)!important;transform-origin:bottom center!important;}
body.sb-private-body .spellbound-forest .tree-4{right:-12px!important;left:auto!important;bottom:39px!important;transform:scale(1.08)!important;transform-origin:bottom center!important;}
body.sb-private-body .spellbound-forest .tree-5{left:2%!important;bottom:-6px!important;transform:scale(1.18)!important;transform-origin:bottom center!important;z-index:8!important;}
body.sb-private-body .spellbound-forest .tree-6{right:2%!important;left:auto!important;bottom:-7px!important;transform:scale(1.12)!important;transform-origin:bottom center!important;z-index:8!important;}
body.sb-private-body .spellbound-forest::after{z-index:4!important;background:radial-gradient(ellipse at 49% 4%,#4c8653 0%,#1a493b 49%,#102e28 90%)!important;}
body.sb-private-body .spellbound-forest .forest-path{z-index:5!important;opacity:.87!important;}
body.sb-private-body .spellbound-forest .forest-background{opacity:.16!important;}
/* Three large collectible faceted crystals on stone plinths, no translucent orbs. */
body.sb-private-body .spellbound-forest .forest-box{position:absolute!important;display:block!important;box-sizing:border-box!important;width:clamp(42px,7.2vw,66px)!important;height:clamp(57px,9vw,83px)!important;min-width:0!important;min-height:0!important;opacity:1!important;overflow:visible!important;font-size:0!important;line-height:0!important;filter:drop-shadow(0 7px 8px #130a25ab)!important;animation:none!important;transition:opacity .25s ease,visibility .25s ease!important;z-index:9!important;}
body.sb-private-body .spellbound-forest .forest-box::before{content:''!important;display:block!important;position:absolute!important;inset:0 5px 18px!important;width:auto!important;height:auto!important;clip-path:polygon(50% 0%,80% 22%,92% 63%,50% 100%,8% 63%,20% 22%)!important;border-radius:0!important;background:linear-gradient(113deg,#fff3fa 0%,#ae97ff 20%,#5c55b6 48%,#aaf1f1 56%,#7d68ce 78%,#fff4be 100%)!important;box-shadow:none!important;animation:none!important;z-index:2!important;}
body.sb-private-body .spellbound-forest .forest-box::after{content:''!important;display:block!important;position:absolute!important;bottom:0;left:-3px;right:-3px;height:19px;border:2px solid #aa9477;border-radius:5px;background:linear-gradient(180deg,#c6bda4 0%,#746d6e 52%,#312f45 100%);box-shadow:0 5px 10px #0008,0 0 17px #b2a3ff6b;z-index:1!important;}
body.sb-private-body .spellbound-forest .forest-artifact-symbol{position:absolute!important;left:50%!important;top:36%!important;transform:translate(-50%,-50%)!important;z-index:3!important;font-size:23px!important;color:#fff6e3!important;text-shadow:0 0 9px #fff,0 0 18px #d7baff!important;opacity:1!important;}
body.sb-private-body .spellbound-forest .forest-artifact-sparkles{font-size:19px!important;position:absolute!important;right:-11px!important;top:-15px!important;z-index:4!important;color:#ffecc2!important;animation:sbForestCrystalSparkle 3.2s ease-in-out infinite!important;}
body.sb-private-body .spellbound-forest .box-1{left:24%!important;bottom:58px!important;}
body.sb-private-body .spellbound-forest .box-2{left:51%!important;bottom:82px!important;}
body.sb-private-body .spellbound-forest .box-3{right:17%!important;bottom:60px!important;}
body.sb-private-body .spellbound-forest .forest-box.is-collected{opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
body.sb-private-body .fishing-game-shell.is-expanded .forest-inventory-caption{border:1px solid #d7b5ff8c!important;border-radius:18px!important;background:linear-gradient(120deg,#291e48e8,#1d304be6)!important;box-shadow:0 9px 20px #110c2a66!important;}
body.sb-private-body .forest-inventory-caption :is(strong,small){color:#fff3e6!important;}
/* Crossword is an enchanted manuscript, not plain form controls. */
body.sb-private-body .crossword-game-shell.is-expanded{border:2px solid #d6b8f3!important;border-radius:26px!important;background:radial-gradient(circle at 8% 8%,#e8c7ff73,transparent 30%),radial-gradient(circle at 95% 88%,#a5e6ed69,transparent 32%),linear-gradient(145deg,#fff5ea,#eae0fa 55%,#d6e7f0)!important;box-shadow:inset 0 1px #fff,0 18px 70px #26114377,0 0 34px #a78ad052!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-content{position:relative;isolation:isolate;overflow:visible!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-content::before{content:'✧   ✦   ✧   ✦';position:absolute;top:70px;left:8%;right:8%;text-align:center;font-size:24px;letter-spacing:14px;color:#b189ce96;pointer-events:none;z-index:-1;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-game-heading h2{color:#523b70!important;text-shadow:0 0 16px #e6b4ff;font-family:Georgia,serif!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-board{border:4px solid #55436f!important;border-radius:16px!important;box-shadow:0 12px 34px #66448354,0 0 22px #b68ce96e!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-cell{background:linear-gradient(145deg,#fffdf7,#f2eaf9)!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-cell.is-current{background:#cbeeff!important;box-shadow:inset 0 0 0 2px #8b55be,0 0 12px #c293ef88!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-cell.is-active-word{background:#e9d7f9!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-clue-group{position:relative;border:1px solid #ac8ccd8f!important;border-radius:18px!important;background:linear-gradient(145deg,#fffdf9f5,#f0e6fce9)!important;box-shadow:inset 0 1px #fff,0 9px 22px #553e7850!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-clue-group h3{font:800 1.15rem/1.3 Georgia,serif!important;color:#5b3975!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-clue{border:1px solid #a880cd46!important;background:#fffdfa99!important;color:#433156!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-clue.is-active{border-color:#9463cf!important;background:linear-gradient(125deg,#e2cbff,#cfebfc)!important;box-shadow:0 0 13px #ba8ddf77!important;}
body.sb-private-body .crossword-game-shell.is-expanded .crossword-clue:hover{border-color:#a280bf!important;background:#f3ebff!important;}
/* Profile: gem halo, ornate framing, legible stats. */
body.sb-private-body .sb-caster-profile{position:relative!important;isolation:isolate!important;overflow:hidden!important;border:1px solid #d8aefaaf!important;border-radius:24px!important;background:radial-gradient(ellipse at 8% 4%,#be84f838,transparent 44%),radial-gradient(ellipse at 97% 95%,#80cdda30,transparent 43%),linear-gradient(135deg,#352443,#191c34)!important;box-shadow:inset 0 1px #ffe7ff40,0 14px 40px #130b2a75,0 0 26px #b788ff2d!important;}
body.sb-private-body .sb-caster-profile::before{content:'';position:absolute;inset:9px;border:1px solid #e3c9ff45;border-radius:17px;pointer-events:none;z-index:0;}
body.sb-private-body .sb-caster-profile::after{content:'✦    ✧    ✦';position:absolute;right:24px;top:14px;font-size:16px;letter-spacing:11px;color:#f8d7a6a9;pointer-events:none;}
body.sb-private-body .sb-caster-profile .sb-profile-crest{filter:drop-shadow(0 0 17px #e9bcff)!important;}
body.sb-private-body .sb-caster-profile :is(h2,h3,.sb-profile-name){color:#fff0c9!important;text-shadow:0 0 17px #dba8ff8c!important;}
body.sb-private-body .sb-caster-profile :is(p,small,.sb-stat-label,.sb-profile-username){color:#eee0f9!important;}
/* Enchanted ATM vault: dial, frame, sapphire aura and treasure seam. */
body.sb-private-body .sb-dual-rituals>#sb-atm-card{position:relative!important;isolation:isolate!important;overflow:hidden!important;border:2px solid #e1b77ca6!important;border-radius:23px!important;background:radial-gradient(circle at 94% 5%,#cbacff38,transparent 35%),radial-gradient(circle at 5% 100%,#8be5e032,transparent 35%),linear-gradient(138deg,#30203f,#17283b 75%)!important;box-shadow:inset 0 0 0 3px #efd5a51c,inset 0 1px #fff4c44d,0 16px 36px #100d2c8b,0 0 23px #bc8de540!important;}
body.sb-private-body .sb-dual-rituals>#sb-atm-card::before{content:'';position:absolute;inset:9px;border:1px solid #edca9763;border-radius:15px;pointer-events:none;z-index:0;}
body.sb-private-body .sb-dual-rituals>#sb-atm-card::after{content:'✦    ✧    ✦';position:absolute;right:12px;top:5px;font-size:11px;letter-spacing:6px;color:#d9b8ff9c;pointer-events:none;z-index:0;}
body.sb-private-body .sb-dual-rituals>#sb-atm-card .sb-atm-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid #f8dbafaa;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fffffff0,#b589dc8a 31%,#4b3774 75%);box-shadow:0 0 16px #f5db9c8c,inset 0 1px #fffae3;font-size:25px;filter:drop-shadow(0 0 8px #dcc0ff)!important;}
body.sb-private-body .sb-dual-rituals>#sb-atm-card .sb-atm-label{font:900 .88rem/1.3 Georgia,serif!important;letter-spacing:.065em!important;}
body.sb-private-body #sb-atm-card .sb8-money-bill{opacity:.13!important;}
/* Robust theme-specific text colors, covering every descendant rather than a few labels. */
html[data-theme="dark"] body.sb-private-body .sb-dual-rituals> :is(#sb-atm-card,#daily-spinner-card){color:#fff3fb!important;}
html[data-theme="dark"] body.sb-private-body .sb-dual-rituals> :is(#sb-atm-card,#daily-spinner-card) :is(h1,h2,h3,h4,p,small,label,strong,span,.sb-atm-detail,.sb-atm-countdown,.sb-atm-label,.ritual-label,.ritual-countdown,.spinner-result,.spinner-reel,.spinner-reels,.spinner-note,.sb-atm-cta){color:#fff3fb!important;}
html[data-theme="light"] body.sb-private-body .sb-dual-rituals> :is(#sb-atm-card,#daily-spinner-card){color:#39244f!important;background:linear-gradient(140deg,#fff8fa,#e9dcfa 65%,#d7edf5)!important;border-color:#ac80bc!important;box-shadow:0 10px 24px #694b8c3a,inset 0 1px #fff!important;}
html[data-theme="light"] body.sb-private-body .sb-dual-rituals> :is(#sb-atm-card,#daily-spinner-card) :is(h1,h2,h3,h4,p,small,label,strong,span,.sb-atm-detail,.sb-atm-countdown,.sb-atm-label,.ritual-label,.ritual-countdown,.spinner-result,.spinner-reel,.spinner-reels,.spinner-note,.sb-atm-cta){color:#39244f!important;text-shadow:none!important;}
html[data-theme="light"] body.sb-private-body .sb-dual-rituals>#sb-atm-card .sb-atm-icon{background:radial-gradient(circle at 35% 27%,#fff9df,#c0a0e2 38%,#6d4c94 100%)!important;color:#fff9e9!important;}
html[data-theme="light"] body.sb-private-body .sb-caster-profile{background:radial-gradient(circle at 8% 7%,#c7a3ee7c,transparent 40%),linear-gradient(140deg,#fffafa,#efe7f9)!important;border-color:#b793d5!important;}
html[data-theme="light"] body.sb-private-body .sb-caster-profile :is(h2,h3,.sb-profile-name){color:#4c2c61!important;text-shadow:none!important;}
html[data-theme="light"] body.sb-private-body .sb-caster-profile :is(p,small,.sb-stat-label,.sb-profile-username){color:#624877!important;}
html[data-theme="light"] body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{background:linear-gradient(140deg,#faf3ff,#e7e9fc)!important;border-color:#b38bda!important;color:#453053!important;}
html[data-theme="light"] body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard-heading :is(strong,small){color:#543b65!important;text-shadow:none!important;}
/* Small screens should retain the same grid and fully scrollable game cards. */
@media(max-width:640px){body.sb-private-body .memory-game-shell.is-expanded{width:calc(100vw - 12px)!important;right:6px!important;top:6px!important;padding:clamp(14px,3vw,22px)!important;}body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard{margin-bottom:22px!important;padding:12px!important;}body.sb-private-body .memory-game-shell.is-expanded .memory-leaderboard li{grid-template-columns:22px minmax(0,1fr)!important;}body.sb-private-body .spellbound-forest{height:330px!important;}body.sb-private-body .spellbound-forest .tree-3{left:42%!important;}body.sb-private-body .crossword-game-shell.is-expanded{padding:18px 13px!important;}}
@media(prefers-reduced-motion:reduce){body.sb-private-body .spellbound-forest .forest-artifact-sparkles,body.sb-private-body .sb-caster-profile .sb-profile-crest{animation:none!important}body.sb-private-body .spellbound-forest :is(.sb-forest-sky,.sb-forest-stars,.sb-forest-sun,.sb-forest-moon){transition: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}}
