/* Isolated material and game rules adapted from the supplied working reference. */
.lw-space .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.lw-space .icon-button{display:inline-grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #ffffffb0;border-radius:50%;background:linear-gradient(145deg,#fffffff5,#eef0dfb8);box-shadow:inset 0 2px 1px #fff,0 2px 0 #9baa883d,0 6px 12px #3248320a;font-size:24px;transition:transform .16s,box-shadow .16s}
.lw-space .icon-button:active{transform:translateY(2px);box-shadow:inset 0 1px 6px #82967b40}
.lw-space .icon-button svg circle{fill:var(--paper)}
.lw-space .primary{min-height:48px;padding:12px 24px;background:linear-gradient(160deg,color-mix(in srgb,var(--accent),white 13%),var(--accent));border:1px solid #ffffff4d;color:#fffef5;border-radius:30px;box-shadow:inset 0 2px 2px #ffffff36,0 4px 0 color-mix(in srgb,var(--accent),black 20%),0 9px 22px var(--shadow);font-weight:600;font-size:14px;transition:transform .16s,box-shadow .16s}
.lw-space .primary span{margin-left:24px}
.lw-space .primary:hover{transform:translateY(-2px)}
.lw-space .primary:active{transform:translateY(3px);box-shadow:inset 0 2px 4px #16312055,0 1px 0 var(--accent)}
.lw-space .text-button{border:0;background:transparent;padding:13px;font-size:12px;text-decoration:underline;text-underline-offset:5px}
.lw-space .glass{background:radial-gradient(ellipse at 28% 12%,#fffefa 0%,#fffff0ba 10%,#ffffff18 31%,transparent 44%),linear-gradient(150deg,#ffffffad,color-mix(in srgb,var(--gem-color,var(--mint)),transparent 25%) 40%,var(--gem-color,var(--mint)) 77%,#fffdf2c9);border:1px solid #fffbeecc;box-shadow:inset 0 2px 2px #fff9,inset 0 -6px 8px #476b4b20,inset 0 0 0 3px #ffffff36,0 5px 0 #71917040,0 14px 22px #22402b20;transition:transform .18s,box-shadow .18s,filter .18s}
.lw-space .glass:hover{filter:brightness(1.07);transform:translateY(-3px)}
.lw-space .glass:active{transform:translateY(3px) scale(.97);box-shadow:inset 0 2px 8px #52704635,0 1px 0 #71917040,0 4px 10px #22402b15}
.lw-space .focus-gem{--gem-color:var(--mint);width:35px;height:35px;border-radius:40%;display:inline-grid;place-items:center;flex-shrink:0;font-family:Georgia,serif;font-size:26px;line-height:1;color:#385f49;background:radial-gradient(ellipse at 28% 15%,#fff 0%,#fff9 16%,transparent 46%),linear-gradient(140deg,#fffffd,var(--gem-color) 60%,#a1c3a5);box-shadow:inset 0 1px 1px #fff,inset 0 -3px 5px #355e4425,0 3px 0 #537c5f2a,0 5px 8px #243e3012;border:1px solid #ffffffc9}
.lw-space .focus-gem.rose{--gem-color:var(--rose);color:#8d5260;background:radial-gradient(ellipse at 28% 15%,#fff 0%,#fff9 16%,transparent 46%),linear-gradient(140deg,#fff8f4,var(--rose) 60%,#cc989b)}
.lw-space .focus-gem.peach{--gem-color:var(--peach);color:#8c643a}
.lw-space .focus-gem.lilac{--gem-color:var(--lilac);color:#646083}
.lw-space .focus-gem.honey{--gem-color:var(--honey);color:#86611d}
@media(prefers-reduced-motion:reduce){.lw-space .sparkles{display:none}}
.lw-space .focus-list{display:flex;gap:10px;margin:0 0 22px;justify-content:space-between}
.lw-space .focus-chip{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;border:1px solid var(--edge);background:#fffdf188;min-height:58px;border-radius:21px;font-size:12px;flex:1;box-shadow:inset 0 1px 1px #fff,0 3px 8px #23462d04;transition:transform .2s,background .2s}
.lw-space .focus-chip[aria-pressed=true]{background:#fffcf3;box-shadow:inset 0 2px 1px #fff,0 4px 0 #8eaa8d30,0 12px 22px #3e663215;border-color:color-mix(in srgb,var(--accent),transparent 50%)}
.lw-space .focus-chip:hover .focus-gem{transform:rotate(-8deg)}
.lw-space .focus-chip:active{transform:translateY(3px)}
.lw-space .thread-board{position:relative;width:320px;height:320px;max-width:100%;touch-action:none}
.lw-space .thread-board:before{content:"";position:absolute;inset:7%;border:1px solid #fffff08c;border-radius:50%;background:radial-gradient(circle,#fffef38a,#fffdf032 70%);box-shadow:inset 0 1px 30px #fffff082,0 25px 30px -25px #4f76544a}
.lw-space .thread-board svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.lw-space .thread-board line{stroke:#829b69;stroke-width:1.2;stroke-linecap:round;filter:drop-shadow(0 0 1px #fff);transition:stroke .2s}
.lw-space .thread-board.solved line{stroke:#c18d36;stroke-width:1.5}
.lw-space .pearl{--gem-color:#bde5c1;position:absolute;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;font:400 18px Georgia,serif;color:#345b46;z-index:2;touch-action:none;user-select:none}
.lw-space .pearl:nth-of-type(2n){--gem-color:#e9d198}
.lw-space .pearl:nth-of-type(3n){--gem-color:#b6dcd6}
.lw-space .pearl.selected{outline:3px solid #3f7059;outline-offset:5px;transform:translateY(-6px)}
.lw-space .pearl.dragging{pointer-events:none;z-index:8;scale:1.1;box-shadow:0 20px 35px #24433250}
.lw-space .thread-hint{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0;min-height:14px}
.lw-space .phrase-board{width:100%;max-width:490px;display:flex;flex-direction:column;align-items:center;gap:22px}
.lw-space .phrase-slots{width:100%;display:grid;gap:9px;position:relative}
.lw-space .phrase-slots:before{content:"";position:absolute;left:20px;top:0;bottom:0;border-left:1px solid #b1bba38c}
.lw-space .phrase-slot{position:relative;min-height:53px;border-radius:30px;border:1px dashed #7d947b88;background:#fffef24d;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 25px;font-size:15px;line-height:1.2}
.lw-space .phrase-slot.empty{color:#657759}
.lw-space .phrase-slot.empty:before{content:"✧";font-size:21px;opacity:.6}
.lw-space .phrase-slot.filled{--gem-color:#cce4c2;border-style:solid;background:radial-gradient(ellipse at 18% 0,#ffffffe6,transparent 50%),linear-gradient(145deg,#f8fff3,var(--gem-color));box-shadow:inset 0 2px 1px #fff,0 4px 0 #82998040,0 7px 15px #425e3a0f}
.lw-space .phrase-slot.selected{outline:2px solid var(--accent);outline-offset:3px}
.lw-space .phrase-tray{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;min-height:94px;align-content:center;width:100%;padding:5px 0}
.lw-space .phrase-piece{--gem-color:#ecd6b0;min-height:46px;border-radius:28px;padding:12px 20px;line-height:1.3;font-size:14px;max-width:100%;touch-action:none;user-select:none}
.lw-space .phrase-piece:nth-child(2){--gem-color:#cbdcdd}
.lw-space .phrase-piece:nth-child(3){--gem-color:#e4cdd2}
.lw-space .phrase-piece[aria-pressed=true]{opacity:.3;box-shadow:none;transform:scale(.94)}
.lw-space .phrase-piece.moving{z-index:20;position:fixed;pointer-events:none}
.lw-space .word-prompt{font:400 15px/1.4 Georgia,serif;margin:0 0 6px;text-align:center;max-width:400px}
.lw-space .phrase-slots{padding:0 4%}
.lw-space .phrase-slots:before{display:none}
.lw-space .message-trail{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.lw-space .message-trail path{fill:none;stroke:#b5ac7f99;stroke-width:.5;stroke-dasharray:1.3 2;stroke-linecap:round}
.lw-space .phrase-slot{width:fit-content;max-width:100%;border-style:solid}
.lw-space .phrase-slot:nth-of-type(1){justify-self:start}
.lw-space .phrase-slot:nth-of-type(2){justify-self:center}
.lw-space .phrase-slot:nth-of-type(3){justify-self:end}
.lw-space .phrase-slot.empty{width:53px;min-height:53px;padding:0;border-radius:50%;border-color:#fffdf4;background:radial-gradient(ellipse at 28% 15%,#fff,transparent 48%),linear-gradient(140deg,#fffdf0,#d5e5c9);box-shadow:inset 0 2px 1px #fff,inset 0 -4px 6px #709b7828,0 4px 0 #849c7940,0 9px 16px #29432a16}
.lw-space .phrase-slot.empty:before{font-size:28px;opacity:.9;color:#638567}
.lw-space .plate-board{width:100%;display:flex;flex-direction:column;align-items:center;gap:7px}
.lw-space .plate{width:248px;height:248px;border-radius:50%;background:radial-gradient(circle at 49% 44%,#fffffb 0%,#f9f6e9 57%,#e1ded1 59%,#fffef8 65%,#ebe8dc 70%,#a8ac9238 73%);box-shadow:0 18px 22px -12px #25462d50,3px 4px 2px #61745a25;position:relative;border:2px solid #fffef9}
.lw-space .plate:before{content:"";position:absolute;inset:16%;border-radius:50%;background:conic-gradient(from 0deg,#eddcb53b 0 90deg,#e2cfb933 90deg 180deg,#b7d39e38 180deg 360deg);border:1px solid #b5b7a32d}
.lw-space .plate-line{position:absolute;z-index:0;left:50%;top:17%;bottom:17%;border-left:1px solid #bcc0aa77}
.lw-space .plate-line:after{content:"";position:absolute;top:50%;left:0;width:82px;border-top:1px solid #bcc0aa77}
.lw-space .plate-place{position:absolute;width:86px;height:86px;display:grid;place-items:center;font-size:10px;color:#53634b;text-align:center;border:0;background:none;padding:0;border-radius:50%}
.lw-space .plate-place:nth-of-type(1){left:15%;top:16%}
.lw-space .plate-place:nth-of-type(2){left:15%;top:48%}
.lw-space .plate-place:nth-of-type(3){left:51%;top:16%}
.lw-space .plate-place:nth-of-type(4){left:51%;top:48%}
.lw-space .food-art{display:block;width:100%;aspect-ratio:1;background-image:url('/assets/companion/food-atlas.png');background-size:300% 200%;background-repeat:no-repeat;filter:drop-shadow(0 7px 4px #5a4d2830);pointer-events:none}
.lw-space .food-art[data-food=broccoli]{background-position:0 0}
.lw-space .food-art[data-food=pepper]{background-position:50% 0}
.lw-space .food-art[data-food=rice]{background-position:100% 0}
.lw-space .food-art[data-food=quinoa]{background-position:0 100%}
.lw-space .food-art[data-food=chickpeas]{background-position:50% 100%}
.lw-space .food-art[data-food=tofu]{background-position:100% 100%}
.lw-space .food-tray{display:grid;grid-template-columns:repeat(6,1fr);width:100%;max-width:560px;gap:5px}
.lw-space .food-token{padding:0 2px 5px;position:relative;background:none;border:1px solid transparent;border-radius:22px;transition:transform .2s;min-width:0;min-height:80px;touch-action:none;user-select:none}
.lw-space .food-token .food-art{height:auto;width:100%;max-width:86px;margin:auto}
.lw-space .food-token .food-name{font-size:10px;display:block;margin-top:1px}
.lw-space .food-token:hover{transform:translateY(-5px)}
.lw-space .food-token:active{transform:translateY(3px) scale(.93)}
.lw-space .food-token[aria-pressed=true]{background:#fffdf270;border-color:#fffce0;box-shadow:inset 0 1px 3px #fff,0 4px 9px #3d613a10}
.lw-space .food-token[aria-pressed=true]:after{content:"✓";position:absolute;right:2px;top:1px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff;font-size:10px}
.lw-space .food-guidance{font-size:10px;color:var(--muted);margin:2px 0 0;text-align:center}
.lw-space .plate-place .food-art{animation:lw-pop .45s ease-out}
.lw-space .focus-board{width:100%;max-width:430px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px 20px;min-height:284px;align-items:center}
.lw-space .object-token{border:0;background:none;padding:0;position:relative;width:100%;max-width:132px;justify-self:center;aspect-ratio:1}
.lw-space .object-art{width:100%;height:100%;display:block;background-image:url('/assets/companion/glass-tokens.png');background-repeat:no-repeat;background-size:300% 100%;filter:drop-shadow(0 13px 5px #24462726);transition:transform .18s,filter .18s;pointer-events:none}
.lw-space .object-art[data-shape=leaf]{background-position:0 50%}
.lw-space .object-art[data-shape=star]{background-position:50% 50%}
.lw-space .object-art[data-shape=flower]{background-position:100% 50%}
.lw-space .object-token:hover .object-art{transform:translateY(-6px) rotate(-4deg);filter:brightness(1.08) drop-shadow(0 18px 8px #24462726)}
.lw-space .object-token:active .object-art{transform:translateY(5px) scale(.93)}
.lw-space .object-token:before{content:"";position:absolute;left:24%;right:24%;bottom:6%;height:7px;background:#4c684c33;filter:blur(4px);border-radius:50%}
.lw-space .object-token.soft-nudge .object-art{animation:lw-nudge .4s}
.lw-space .focus-dots{display:flex;gap:8px;justify-content:center;margin:8px}
.lw-space .focus-dots i{height:9px;width:9px;border-radius:50%;background:#b8c2a966;border:1px solid #fff}
.lw-space .focus-dots i.on{background:#ae9449;box-shadow:0 0 7px #f7cf6b99}
.lw-space .sparkles{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:9}
.lw-space .sparkles i{position:absolute;width:8px;height:8px;background:#fff3b0;clip-path:polygon(50% 0%,62% 36%,100% 50%,62% 63%,50% 100%,37% 63%,0% 50%,37% 36%);animation:lw-spark 850ms ease-out forwards}
.lw-space .sparkles i:nth-child(2n){background:#ffd68e}
.lw-space .sparkles i:nth-child(3n){background:#fffdf2}
.lw-space .reward-token{width:98px;height:98px;margin:0 auto 10px;background:url('/assets/companion/glass-tokens.png') 50% center/300% 100%;filter:drop-shadow(0 6px 10px #d6a95444)}
.lw-space .reward-token.discovery{background-position:100% center}
.lw-space .reward-credit{font-size:12px;color:#6e5a29;margin-bottom:22px}
.lw-space .reward-actions{display:flex;flex-direction:column;align-items:center;gap:5px}
.lw-space .close-reward{position:absolute;right:14px;top:14px;width:33px;height:33px;font-size:23px}
.lw-space .copy-status{font-size:11px;margin:10px 0 0;color:var(--muted);min-height:13px}
@keyframes lw-float{0%,100%{transform:translateY(2px) rotate(-2deg)}50%{transform:translateY(-10px) rotate(2deg)}}
@keyframes lw-breathe{50%{opacity:.55;transform:scale(1.03)}}
@keyframes lw-joy{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-18px) rotate(-8deg)}70%{transform:translateY(-5px) rotate(7deg)}}
@keyframes lw-spark{from{opacity:1;transform:translate(0,0) scale(.3)}to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(120deg) scale(1.25)}}
@keyframes lw-pop{0%{scale:.65;opacity:.4}65%{scale:1.08}100%{scale:1;opacity:1}}
@keyframes lw-nudge{50%{transform:translateY(-4px) rotate(5deg)}}
@media(max-width:1160px){.lw-space .focus-chip{padding:9px;font-size:11px;gap:6px}
.lw-space .focus-gem{width:31px;height:31px}}
@media(max-width:760px){.lw-space .focus-list{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:16px}
.lw-space .focus-chip{grid-column:span 2;border-radius:18px;flex-direction:column;gap:7px;font-size:10px;padding:10px 2px;min-height:77px;text-align:center}
.lw-space .focus-chip:nth-child(4),.lw-space .focus-chip:nth-child(5){grid-column:span 3;flex-direction:row;min-height:49px;gap:9px;padding:7px}
.lw-space .focus-chip .focus-gem{width:29px;height:29px;font-size:23px}
.lw-space .thread-board{width:280px;height:280px;margin:9px 0}
.lw-space .pearl{width:51px;height:51px;margin:-25.5px 0 0 -25.5px}
.lw-space .phrase-board{gap:16px;max-width:425px}
.lw-space .phrase-slot{font-size:13px;min-height:51px;padding:10px 17px}
.lw-space .phrase-piece{font-size:12px;padding:12px 15px}
.lw-space .phrase-tray{min-height:119px;gap:10px}
.lw-space .plate{width:224px;height:224px}
.lw-space .plate-place{width:78px;height:78px}
.lw-space .plate-line:after{width:73px}
.lw-space .food-tray{grid-template-columns:repeat(6,1fr);gap:1px}
.lw-space .food-token{min-height:70px;border-radius:14px;padding:0 1px 5px}
.lw-space .food-token .food-name{font-size:9px}
.lw-space .food-token[aria-pressed=true]:after{right:1px;top:-3px;width:15px;height:15px}
.lw-space .food-guidance{max-width:250px;font-size:9px}
.lw-space .focus-board{min-height:270px;gap:8px 7px;max-width:360px}
.lw-space .object-token{max-width:112px}
.lw-space .focus-dots{margin:4px}
.lw-space .word-prompt{font-size:13px}}
@media(max-width:360px){.lw-space .focus-chip{font-size:9px}
.lw-space .thread-board{width:250px;height:250px}
.lw-space .pearl{width:47px;height:47px;margin:-23.5px 0 0 -23.5px}
.lw-space .food-tray{grid-template-columns:repeat(3,1fr);max-width:260px;gap:1px 10px}
.lw-space .food-token{min-height:62px}
.lw-space .food-token .food-art{max-width:54px}
.lw-space .plate-board{gap:6px}
.lw-space .plate{width:200px;height:200px}
.lw-space .plate-place{width:69px;height:69px}
.lw-space .plate-line:after{width:65px}
.lw-space .focus-board{gap:9px 2px}
.lw-space .object-token{max-width:93px}
.lw-space .phrase-piece{font-size:11px}
.lw-space .phrase-slot{font-size:12px}}
.lw-space{--ink:#254330;--accent:#365b37;--paper:#f5f6ed;--muted:#536652;--edge:#92a18242;--milk:#fffef3e8;--shadow:#29402b35;--mint:#c5ebc7;--rose:#f0c7c2;--honey:#efd089;--lilac:#d5d2ec;--peach:#f4d4ae;color:var(--ink);font-family:inherit;box-sizing:border-box}
body[data-companion-brand=thequeermirror] .lw-space{--ink:#263238;--accent:#285D63;--paper:#F5F2EB;--muted:#54686a;--edge:#8da4a044;--shadow:#28464c35;--mint:#bce0d6;--rose:#e5bcb4;--honey:#edce8f;--lilac:#cbdae3;--peach:#f0d6b5}
.lw-space *{box-sizing:border-box}.lw-space [hidden]{display:none!important}.lw-space button{font-family:inherit;line-height:1.3;letter-spacing:normal;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.lw-space button:disabled{cursor:default}.lw-space .primary{color:#fffef5}.lw-space button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.lw-space .icon-button{min-height:44px;min-width:44px}.lw-space .pearl,.lw-space .phrase-piece,.lw-space .food-token{touch-action:none}
#companion-world .lw-navigation{display:block;width:min(1120px,calc(100% - 24px));margin:14px auto 8px;position:relative;order:-1}
.lw-navigation .focus-list{margin-bottom:6px}.lw-navigation .lw-glow-link{display:block;margin:0 0 0 auto;font:inherit;font-size:12px;min-height:44px;padding:8px 12px;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;border-radius:18px}.lw-glow-link[aria-pressed=true]{background:var(--play-soft)}
body:not([data-studio-view=arrival]) #companion-world .lw-navigation,#companion-world.daily-playing .lw-navigation{display:none!important}
body[data-studio-view=arrival] #companion-world:not(.daily-playing) .glow-world[data-play-mode=little]{height:auto!important;min-height:640px;max-height:none!important}
.glow-world[data-play-mode=little] .glow-interface{display:none!important}
.glow-world:not([data-play-mode=little]) .lw-interface,body:not([data-studio-view=arrival]) .lw-interface,#companion-world.daily-playing .lw-interface{display:none!important}
.lw-interface{position:relative;z-index:5;min-height:640px;padding-bottom:25px;isolation:isolate}
.lw-interface .world-wash{position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(90deg,#f6f7e7eb 0%,#f6f7e7de 48%,#f6f7e74a 78%,#f6f7e715 100%)}
body[data-companion-brand=thequeermirror] .lw-interface .world-wash{background:linear-gradient(90deg,#f8f5eceb 0%,#f8f5ecde 48%,#f8f5ec38 80%,#f8f5ec10 100%)}
.lw-interface .world-top{position:relative;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:10px}.lw-interface .world-label{font-size:10px;letter-spacing:.08em;background:#fffdf0e6;padding:10px 14px;border-radius:24px}
.lw-interface .progress-pebble{border:1px solid #fff;background:linear-gradient(140deg,#fffef5f0,#edf0d8d9);box-shadow:inset 0 1px 1px #fff,0 3px 0 #637a4d35;border-radius:22px;min-height:44px;padding:8px 13px;font-size:12px}
.lw-interface .game-heading{position:relative;width:70%;text-align:center;margin:9px 0 0;padding:0 20px}.lw-interface .game-heading h2{font:400 38px/1.1 Georgia,serif!important;letter-spacing:-1px;color:var(--ink)!important;margin:0!important}.lw-interface .game-heading>p{font-size:13px;margin:12px 0;color:var(--muted);line-height:1.4;min-height:20px}
.lw-interface .play-area{position:relative;min-height:356px;width:70%;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:4px 24px 10px}
.lw-interface .game-bottom{position:relative;display:flex;align-items:center;justify-content:space-between;width:70%;padding:4px 28px 22px;min-height:64px;gap:16px}.lw-interface .game-bottom>span{font-size:12px;color:var(--muted)}.lw-interface .round-controls{display:flex;gap:8px}
.lw-interface .companion-speech{position:absolute;top:27%;right:3%;width:24%;background:#fffef1ee;padding:13px 16px;border:1px solid #fff;border-radius:20px;box-shadow:0 5px 15px #37544112;text-align:center;font:400 17px/1.3 Georgia,serif}
body[data-studio-view=arrival] #companion-world:not(.daily-playing) .glow-world[data-play-mode=little] .lumen-companion{left:84%!important;top:38%!important;width:260px!important;height:290px!important;z-index:6;pointer-events:auto}
.lw-interface .lw-back{background:#fffef1ed;border-radius:22px;padding:8px 14px;position:absolute;bottom:4px;right:12px;min-height:44px;color:var(--ink);z-index:8;font-size:12px}
.lw-resume{position:absolute;inset:55px 0 0;z-index:12;background:#f5f2ebee;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;backdrop-filter:blur(7px)}.lw-resume>span{font:28px Georgia,serif}.lw-interface .sparkles{z-index:11}
.lw-dialog{border:1px solid #fffaf1;border-radius:28px;background:var(--paper);width:min(430px,calc(100% - 28px));padding:30px 28px 22px;max-height:calc(100dvh - 28px);overflow:auto;box-shadow:0 25px 100px #122d3c55;text-align:center}.lw-dialog::backdrop{background:#1b343c4d;backdrop-filter:blur(8px)}.lw-dialog h2{font:400 31px/1.15 Georgia,serif;margin:8px 0 13px;color:var(--ink)}.lw-dialog .reward-detail{font-size:15px;line-height:1.65;margin:0 0 18px}.lw-dialog .primary,.lw-dialog .text-button{display:block;margin:10px auto;min-height:44px}.lw-dialog .close-reward{top:10px;right:10px}.lw-dialog .lumen-earned-icon{display:block;width:110px;height:110px;margin:0 auto}.lw-dialog .lumen-earned-icon svg{width:100%;height:100%}.lw-dialog strong{display:block}
.lw-paused .lw-space *,.lw-offscreen .lw-space *{animation-play-state:paused!important}
body[data-companion-motion=reduce] .lw-space *,body[data-companion-motion=reduce] .lw-space *:before,body[data-companion-motion=reduce] .lw-space *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
body[data-companion-motion=reduce] .lw-space .sparkles{display:none}.lw-drag-layer{position:fixed;inset:0;z-index:100;pointer-events:none}
@media(max-width:760px){#companion-world .lw-navigation{width:calc(100% - 16px);margin:8px auto 4px}.lw-navigation .focus-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.lw-navigation .focus-chip{grid-column:span 2;flex-direction:column;min-height:77px;padding:9px 3px;font-size:11px}.lw-navigation .focus-chip:nth-child(4),.lw-navigation .focus-chip:nth-child(5){grid-column:span 3;flex-direction:row;min-height:49px;font-size:11px}.lw-navigation .focus-gem{width:29px;height:29px}.lw-interface{min-height:590px;padding-bottom:33px}.lw-interface .world-top{padding:15px 14px}.lw-interface .world-label{font-size:9px;padding:9px 10px}.lw-interface .progress-pebble{font-size:11px;padding:7px 9px}.lw-interface .game-heading{width:100%;text-align:left;padding:18px 100px 0 20px;min-height:119px;margin:0}.lw-interface .game-heading h2{font-size:29px!important;letter-spacing:-.8px}.lw-interface .game-heading>p{font-size:12px;line-height:1.5;margin:12px 0 0;min-height:36px;width:calc(100% + 65px)}.lw-interface .play-area{width:100%;padding:7px 15px 12px;min-height:342px}.lw-interface .game-bottom{width:100%;padding:8px 17px 18px}.lw-interface .game-bottom>span{font-size:11px}.lw-interface .companion-speech{display:none}body[data-studio-view=arrival] #companion-world:not(.daily-playing) .glow-world[data-play-mode=little] .lumen-companion{left:85%!important;top:82px!important;width:90px!important;height:105px!important}.lw-interface .world-wash{background:linear-gradient(180deg,#f6f7e78c,#f6f7e7eb 34%,#f6f7e7eb 80%,#f6f7e7bb)}body[data-companion-brand=thequeermirror] .lw-interface .world-wash{background:linear-gradient(180deg,#f8f5ec8f,#f8f5eceb 34%,#f8f5eceb 80%,#f8f5ecbb)}.lw-space .food-name{font-size:11px!important}.lw-space .food-tray{grid-template-columns:repeat(3,1fr);max-width:320px;gap:3px 10px}.lw-space .food-token{min-height:70px}.lw-space .food-token .food-art{max-width:60px}.lw-space .food-guidance{font-size:11px;max-width:100%}}
@media(max-width:360px){.lw-interface .game-heading{padding-left:16px;padding-right:90px}.lw-interface .game-heading h2{font-size:26px!important}.lw-interface .play-area{padding:6px 8px 12px}.lw-space .thread-board{width:250px;height:250px}.lw-space .pearl{width:47px;height:47px}.lw-space .plate{width:200px;height:200px}.lw-space .plate-place{width:69px;height:69px}.lw-space .phrase-piece{font-size:12px}.lw-space .food-tray{max-width:260px}body[data-studio-view=arrival] #companion-world:not(.daily-playing) .glow-world[data-play-mode=little] .lumen-companion{left:85%!important;width:81px!important;height:92px!important}}
@media(prefers-reduced-motion:reduce){.lw-space *,.lw-space *:before,.lw-space *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.lw-space .sparkles{display:none}}
