/* One clearing, one word, a small cast. The letters are the playable artwork. */
body.arcade-v3{background:#cf9bbd;color:#452846;padding:10px}
.arcade-v3 .arcade-shell{background:#fae9dd;border-radius:27px;border:2px solid #ffe5b4;box-shadow:0 12px 35px #55334f38}
.arcade-v3 .hud{background:linear-gradient(#fdf4e8,#efd5dc);color:#51314f;border-bottom:1px solid #b986a0;height:70px}
.arcade-v3 .hud-button{color:#59314f;background:linear-gradient(#fff9ec,#eacbd9);border-color:#bf8f9c;box-shadow:inset 0 2px #fff,0 3px 0 #b77f95}
.arcade-v3 .level-map-button{color:#54304c}
.arcade-v3 .hud #hud-level .hud-level-total{display:inline;font:inherit;color:inherit}
.arcade-v3 .play-top{background:#624166;color:#fff6df;padding:7px 22px;min-height:47px}
.arcade-v3 .level-pill{background:#492e54}
.arcade-v3 .game-footer{background:#624166;color:#fff3e1}
.arcade-v3 .level-layout{display:block;position:relative;isolation:isolate;padding:0;min-height:715px;overflow:hidden;background:#e7cfa8}
.arcade-v3 .stage-wrap{position:absolute;inset:0;margin:0;padding:0;display:block}
.arcade-v3 .stage-plaque{display:none}
.arcade-v3 .level-layout .live-scene,.arcade-v3.long-word .level-layout .live-scene{position:absolute;inset:0;min-height:0;height:100%;border:0;border-radius:0;background-position:center;background-size:cover;overflow:hidden}
.arcade-v3 .level-layout .live-scene:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#ffefd433,#fff4d885 23%,#fff6e1d9 40%,#fff6e1d9 60%,#fff4d885 77%,#ffefd433);z-index:1;pointer-events:none}
.arcade-v3 .level-layout .scene-bubble{top:115px;left:50%;max-width:360px;transform:translateX(-50%);font-size:13px;background:#fff9e9e8;z-index:2;display:none}
.arcade-v3 .level-layout .scene-object{left:5%;top:22%;bottom:auto;width:70px;opacity:.9}
.arcade-v3 .level-layout .scene-object.sky{top:11%;left:5%}
.arcade-v3 .level-layout .scene-cat{left:3%;bottom:210px;width:175px;max-width:22%;z-index:5}
.arcade-v3 .level-layout .scene-friend{right:4%;bottom:218px;width:115px;max-width:18%;z-index:5}
.arcade-v3 .level-layout .scene-memories{bottom:105px;left:3%;right:3%;opacity:.7}
.arcade-v3 .scene-friend:after{color:#54334f;background:#fff7e9;box-shadow:none;border:1px solid #bc8d91}
.arcade-v3 .scene-word,.arcade-v3 .scene-mini-letters,.arcade-v3 .scene-ground{display:none}
.arcade-v3 .rig-board-frame,.arcade-v3 .rig-board-wash{display:none}
.arcade-v3 .rig-scene-frame{border-width:4px;border-radius:15px;box-shadow:inset 0 0 0 1px #fff4cd,0 0 0 1px #a16b70}
.arcade-v3 .rig-beam{opacity:.2!important}
.arcade-v3 .rig-energy{display:none}
.arcade-v3 .level-layout .puzzle-board{position:relative;z-index:6;background:none;border:0;border-radius:0;padding:20px 175px 18px;min-height:715px;display:flex;flex-direction:column;align-items:center;box-shadow:none;pointer-events:none;overflow:visible}
.arcade-v3 .puzzle-board:before,.arcade-v3 .puzzle-board:after{display:none}
.arcade-v3 .puzzle-board button,.arcade-v3 .puzzle-board input{pointer-events:auto}
.arcade-v3 .board-heading{margin:0;gap:12px;justify-content:center}
.arcade-v3 .board-heading h1{color:#54304f;font-size:24px;max-width:none;text-shadow:0 1px #fff8e3}
.arcade-v3 .listen-button{background:linear-gradient(#fffbed,#cbe8d7);color:#286957;border:2px solid #fff9d8;box-shadow:0 3px 0 #6d9c88;min-width:46px;min-height:46px}
.arcade-v3 .challenge-line{color:#644455;min-height:39px;margin:4px 0 0;font-size:12px}
.arcade-v3 .restart-mini{background:#fff9e8;color:#78506a;width:44px;height:44px}
.arcade-v3 .energy-console{background:#f7e9cfe8;color:#624359;border:1px solid #d0aa83;padding:5px 12px;width:270px;min-height:27px;margin:0 0 4px;box-shadow:inset 0 1px #fff;border-radius:18px}
.arcade-v3 .energy-cells i{background:#d4c3c7;border-color:#b696a9;height:7px;box-shadow:none}
.arcade-v3 .energy-cells i.charged{background:#d18a3c;border-color:#bb742b;box-shadow:0 0 5px #ffd473}
.arcade-v3 .word-playground{width:100%;position:relative;display:flex;flex-direction:column;align-items:center;padding:0 8px;isolation:isolate}
.arcade-v3 .word-playground:before{content:'';position:absolute;inset:8% -20px 0;border-radius:48% 53% 40% 45%;background:#fff6e3a8;filter:blur(14px);z-index:-1;pointer-events:none}
.arcade-v3 .toy-rack{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:17px 22px;max-width:100%;width:100%;min-height:138px;padding:12px 0 6px;margin:0;position:relative}
.arcade-v3 .lower-rack{padding-top:7px;min-height:140px}
.arcade-v3 .toy-tile.letter-creature{width:97px;height:117px;border:0;border-radius:25%;padding:0;background:none!important;box-shadow:none!important;animation:none!important;color:#57334e;position:relative;overflow:visible;transform-origin:50% 92%;touch-action:none;isolation:isolate}
.arcade-v3 .toy-tile.letter-creature:not(.used):not(.drag-source):not(.tile-ghost){transform:rotate(var(--creature-turn,0deg))}
.arcade-v3 .glyph-figure{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;overflow:visible;transform-origin:50% 93%;pointer-events:none}
.arcade-v3 .glyph-figure>img{width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block;filter:drop-shadow(0 3px 1px #6c435120);pointer-events:none}
.arcade-v3 .glyph-body{position:absolute;left:-20%;top:-30%;width:140%;height:150%;pointer-events:none}
.arcade-v3 .body-active>img{visibility:hidden}
.arcade-v3 .glyph-type{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:inherit;font-weight:900;color:#57334e;line-height:1}
.arcade-v3 .creature-shadow{position:absolute;left:15%;right:15%;height:8px;bottom:-5px;border-radius:50%;background:#7b534928;filter:blur(3px);z-index:-1;pointer-events:none}
.arcade-v3 .toy-tile.selected .glyph-figure{transform:translateY(-8px) scale(1.14);filter:drop-shadow(0 0 7px #fff5b4)}
.arcade-v3 .toy-tile.selected:after{content:'';position:absolute;left:10%;right:10%;bottom:-10px;height:5px;border-radius:50%;background:#a45f85;box-shadow:0 0 0 3px #fff7df}
.arcade-v3 .toy-tile.letter-creature.used{opacity:0;visibility:hidden}
.arcade-v3 .toy-tile.letter-creature.inviting .glyph-figure{animation:creature-invitation .85s ease-in-out}
.arcade-v3 .toy-tile.letter-creature.wrong .glyph-figure{animation:creature-no .55s ease-out}
.arcade-v3 .toy-tile.letter-creature:hover:not(:disabled):not(.selected) .glyph-figure{transform:translateY(-4px) scale(1.04)}
.arcade-v3 .toy-tile.letter-creature:focus-visible{outline:3px solid #9b4e7b;outline-offset:7px}
.arcade-v3 .tile-ghost.letter-creature{background:none!important;box-shadow:none!important;transform:rotate(var(--ghost-turn,0deg)) scale(1.15);filter:drop-shadow(0 14px 8px #54394038)}
.arcade-v3 .tile-ghost .creature-shadow{display:none}
.arcade-v3 .word-track{width:100%;padding:14px 10px 5px;position:relative;min-height:139px}
.arcade-v3 .slots{margin:0 auto 12px;gap:10px;min-height:91px;max-width:100%;align-items:center}
.arcade-v3 .letter-slot{flex:0 0 74px;min-width:44px;height:88px;padding:6px;background:#fff9e8a8;border:2px dashed #a489a5;box-shadow:none;border-radius:15px;color:#735f78;font-size:56px;position:relative;transition:background .12s,border-color .12s}
.arcade-v3 .slot-outline{color:#75516b}
.arcade-v3 .letter-slot .question{color:#75516b;font-size:30px}
.arcade-v3 .letter-slot.accepting{background:#fffbeddb;border-color:#88647e;box-shadow:0 0 0 3px #fff2d260}
.arcade-v3 .letter-slot.drop-near,.arcade-v3 .letter-slot.hinted,.arcade-v3 .letter-slot.target-help{background:#e5f6dc;border-color:#427d62;box-shadow:0 0 0 4px #a9dab5}
.arcade-v3 .letter-slot.filled{background:transparent;border-color:transparent;box-shadow:none;color:#4b3155}
.arcade-v3 .letter-slot .glyph-figure{inset:-3px 2px 1px}
.arcade-v3 .letter-slot.given{border-style:solid;border-color:#d3b59b;background:#f1e3cf}
.arcade-v3 .letter-slot.arriving .glyph-figure{visibility:hidden}
.arcade-v3 .letter-slot.just-landed .glyph-figure{animation:creature-land .6s cubic-bezier(.2,.7,.2,1)}
.arcade-v3 .word-assembled .glyph-figure{animation:word-friends .85s ease-in-out;animation-delay:calc(var(--col,0)*.065s)}
.arcade-v3 .selection-cue{margin:0;min-height:24px;display:flex;flex-wrap:wrap;justify-content:center;color:#67415d;font-size:12px;font-weight:900;gap:8px}
.arcade-v3 .selection-cue strong{color:#955427}
.arcade-v3 .board-status{color:#60415c;font-size:12px;line-height:1.4;min-height:34px;margin:7px 0 12px;max-width:520px;text-align:center}
.arcade-v3 .crew-dock{display:flex;justify-content:center;gap:15px;padding-top:9px;margin-top:auto;pointer-events:auto;border-top:1px solid #b08a9e60;width:min(500px,100%)}
.arcade-v3 .crew-button{width:74px;min-height:74px;padding:2px 5px 5px;display:flex;border:0;border-radius:25px;background:#fff7e8bd;box-shadow:0 2px 0 #c99d9c;color:#654357;gap:0}
.arcade-v3 .crew-button:hover{background:#fff7e8}
.arcade-v3 .crew-button strong{font-size:11px;color:#5b3651}
.arcade-v3 .crew-button small{font-size:9px;color:#77506a}
.arcade-v3 .crew-portrait{height:40px;width:44px;margin:0}
.arcade-v3 .crew-portrait .art-frame{width:44px}
.arcade-v3 .slots.compact .letter-slot{flex-basis:52px;height:69px;font-size:39px}
.arcade-v3 .slots.very-long .letter-slot{flex-basis:46px;height:61px;font-size:34px}
.arcade-v3 .toy-rack.large-rack{gap:13px 15px;min-height:108px}
.arcade-v3 .toy-rack.large-rack .letter-creature{width:65px;height:85px}
.arcade-v3 .toy-tile.token-word{min-width:86px;min-height:53px;height:auto;padding:9px 15px;border-radius:19px;font-size:18px;border:2px solid #fff7d8;box-shadow:0 4px 0 #a97864;color:#4c344d}
.arcade-v3 .toy-rack .toy-tile.token-word{width:max-content;max-width:100%;font-size:18px;white-space:nowrap}
.arcade-v3 .sentence-slots .letter-slot{flex-basis:auto;min-width:68px;height:55px;font-size:18px;padding:7px 12px}
.arcade-v3 .sentence-slots .glyph-type{font-size:18px}
.arcade-v3 .level-layout .completion{min-height:715px;padding:24px 30px 22px;gap:9px}
.arcade-v3 .completion h2{font-size:19px;color:#64445e}
.arcade-v3 .completion .word-awake-label{color:#805671;font-size:10px}
.arcade-v3 .completion-star,.arcade-v3 .completion-glow{display:none}
.arcade-v3 .completion-word{color:#563052;font-size:52px;margin:0;line-height:1.2;max-width:95%;text-shadow:0 2px #fff4cf}
.arcade-v3 .completion-word.sentence{font-size:27px}
.arcade-v3 .completion p:not(.completion-note){color:#57364f;background:#fff8e7e8;border:1px solid #d9bca4;border-radius:18px;padding:12px 20px;max-width:650px;line-height:1.45;margin-top:auto;font-size:17px}
.arcade-v3 .completion-actions{gap:15px;margin-top:4px;pointer-events:auto}
.arcade-v3 .completion-note{color:#67435e!important;font-size:11px;background:#fff5e0a8;border-radius:12px;padding:3px 9px}
.arcade-v3.story-mode .level-layout .live-scene:before{background:linear-gradient(#fff7e1a6,transparent 30%,transparent 65%,#fff5deba)}
.arcade-v3.story-mode .scene-bubble,.arcade-v3.story-mode .story-caption{display:none}
.arcade-v3.story-mode .level-layout .scene-cat{left:25%;bottom:190px;width:210px;max-width:30%}
.arcade-v3.story-mode .level-layout .scene-friend{right:24%;bottom:195px;width:140px;max-width:24%}
.arcade-v3 .home-world{border-radius:0}
.arcade-v3 .arcade-marquee{background:linear-gradient(#865077,#563c66);border-width:3px;box-shadow:0 5px 0 #a47c73,0 10px 20px #5e3b6140}
.arcade-v3 .edition-badge{background:linear-gradient(#fff4bc,#eac66e)}
@keyframes creature-invitation{0%,100%{transform:translateY(0) scale(1)}25%{transform:translateY(2px) scale(1.08,.9)}56%{transform:translateY(-16px) rotate(-8deg) scale(.94,1.08)}82%{transform:translateY(0) scale(1.06,.94)}}
@keyframes creature-no{0%{transform:scale(1.14)}35%{transform:translate(-10px,4px) rotate(-10deg) scale(.95,1.04)}70%{transform:translate(5px,0) rotate(5deg)}100%{transform:none}}
@keyframes creature-land{0%{transform:scale(1.1,.8) translateY(5px)}45%{transform:scale(.95,1.1) translateY(-5px)}75%{transform:scale(1.03,.97)}100%{transform:none}}
@keyframes word-friends{0%,100%{transform:translateY(0)}28%{transform:translateY(3px) scale(1.06,.92)}60%{transform:translateY(-17px) scale(.95,1.06)}82%{transform:translateY(0) scale(1.03,.97)}}
@media(max-width:1050px){
 .arcade-v3 .level-layout .puzzle-board{padding-inline:100px;min-height:720px}
 .arcade-v3 .level-layout .scene-cat{width:130px;left:2%;bottom:230px}
 .arcade-v3 .level-layout .scene-friend{width:90px;right:2%;bottom:235px}
 .arcade-v3 .toy-tile.letter-creature{width:90px;height:110px}
 .arcade-v3 .toy-rack{gap:14px 18px}
 .arcade-v3 .board-heading h1{font-size:21px}
}
@media(max-width:700px){
 body.arcade-v3{padding:5px}
 .arcade-v3 .hud{height:64px;padding:7px 8px}
 .arcade-v3 .brand img{width:85px}
 .arcade-v3 .play-top{min-height:44px;padding:6px 13px}
 .arcade-v3 .level-layout{min-height:740px}
 .arcade-v3 .level-layout .puzzle-board{padding:14px 15px 15px;min-height:740px}
 .arcade-v3 .board-heading{gap:8px;width:100%;justify-content:center}
 .arcade-v3 .board-heading h1{font-size:18px;max-width:245px}
 .arcade-v3 .listen-button{width:44px;height:44px;min-width:44px;min-height:44px}
 .arcade-v3 .challenge-line{font-size:10px;min-height:34px;margin:0}
 .arcade-v3 .energy-console{width:210px;font-size:9px;min-height:23px;padding:4px 9px}
 .arcade-v3 .level-layout .scene-cat{left:9%;top:95px;bottom:auto;width:97px;max-width:none}
 .arcade-v3 .level-layout .scene-friend{right:10%;top:95px;bottom:auto;width:67px;max-width:none}
 .arcade-v3 .level-layout .scene-object{left:42%;top:150px;width:55px;bottom:auto}
 .arcade-v3 .level-layout .scene-object.sky{left:45%;top:137px;width:45px}
 .arcade-v3 .scene-friend:after{font-size:10px;bottom:-14px;padding:2px 8px}
 .arcade-v3 .level-layout .scene-memories{bottom:92px;height:30px;opacity:.45}
 .arcade-v3 .word-playground{margin-top:110px;padding:0}
 .arcade-v3 .word-playground:before{inset:-8px -3px -7px;filter:blur(9px);border-radius:45% 38% 35% 40%;background:#fff7e8ba}
 .arcade-v3 .toy-rack{min-height:104px;gap:13px 17px;padding:6px 0 4px}
 .arcade-v3 .lower-rack{min-height:108px;padding-top:8px}
 .arcade-v3 .toy-tile.letter-creature{width:71px;height:88px}
 .arcade-v3 .word-track{padding:8px 2px 4px;min-height:111px}
 .arcade-v3 .slots{gap:7px;min-height:70px;margin-bottom:9px}
 .arcade-v3 .letter-slot{flex-basis:58px;height:70px;font-size:44px;border-radius:14px}
 .arcade-v3 .letter-slot .question{font-size:25px}
 .arcade-v3 .selection-cue{font-size:10px;min-height:22px}
 .arcade-v3 .selection-cue strong{font-size:10px}
 .arcade-v3 .board-status{font-size:11px;min-height:31px;margin:6px 0 9px;max-width:320px}
 .arcade-v3 .crew-dock{gap:12px;padding-top:7px}
 .arcade-v3 .crew-button{width:64px;min-height:69px;padding:2px 4px 5px;border-radius:22px}
 .arcade-v3 .crew-portrait{height:34px;width:39px}
 .arcade-v3 .crew-portrait .art-frame{width:39px}
 .arcade-v3 .crew-button strong{font-size:10px}
 .arcade-v3 .crew-button small{font-size:8px}
 .arcade-v3 .toy-rack.large-rack{gap:13px 13px;min-height:91px}
 .arcade-v3 .toy-rack.large-rack .letter-creature{width:55px;height:69px}
 .arcade-v3 .slots.compact .letter-slot,.arcade-v3 .slots.very-long .letter-slot{flex-basis:44px;height:57px;font-size:34px;min-width:44px}
 .arcade-v3 .slots.compact,.arcade-v3 .slots.very-long{gap:5px;min-height:64px}
 .arcade-v3.long-word .word-playground{margin-top:100px}
 .arcade-v3.long-word .level-layout .puzzle-board{min-height:850px}
 .arcade-v3 .toy-tile.token-word{min-width:68px;min-height:46px;font-size:15px;padding:7px 10px}
 .arcade-v3 .toy-rack .toy-tile.token-word{font-size:15px}
 .arcade-v3 .sentence-slots .letter-slot{height:48px;font-size:15px;min-width:54px;flex-basis:auto;padding:6px 9px}
 .arcade-v3 .sentence-slots .glyph-type{font-size:15px}
 .arcade-v3 .level-layout .completion{min-height:740px;padding:18px 16px 18px;gap:7px}
 .arcade-v3 .completion h2{font-size:17px}
 .arcade-v3 .completion-word{font-size:43px}
 .arcade-v3 .completion-word.sentence{font-size:24px}
 .arcade-v3 .completion p:not(.completion-note){font-size:14px;padding:10px 12px;max-width:100%}
 .arcade-v3 .completion-note{font-size:10px;max-width:100%}
 .arcade-v3 .completion-actions{gap:9px}
 .arcade-v3.story-mode .level-layout .scene-cat{left:18%;top:auto;bottom:235px;width:145px;max-width:45%}
 .arcade-v3.story-mode .level-layout .scene-friend{right:15%;top:auto;bottom:240px;width:95px;max-width:28%}
 .arcade-v3 .game-footer{font-size:10px;padding:10px}
}
@media(max-width:350px){
 .arcade-v3 .level-layout .puzzle-board{padding-inline:12px}
 .arcade-v3 .hud{gap:3px;padding-inline:5px}
 .arcade-v3 .hud .brand img{width:70px}
 .arcade-v3 .hud .star-counter{min-width:44px;padding-inline:6px}
 .arcade-v3 .hud #level-map{min-width:44px;align-items:center;justify-content:center}
 .arcade-v3 .hud #hud-level{max-width:none;text-align:center}
 .arcade-v3 .hud #hud-level .hud-level-total{display:none}
 .arcade-v3 .hud .hud-right .hud-button{width:44px;min-width:44px}
 .arcade-v3 .board-heading h1{font-size:15px}
 .arcade-v3 .toy-tile.letter-creature{width:65px;height:82px}
 .arcade-v3 .toy-rack{gap:12px}
 .arcade-v3 .toy-rack.large-rack{gap:11px 10px}
 .arcade-v3 .toy-rack.large-rack .letter-creature{width:51px;height:65px}
 .arcade-v3 .crew-dock{gap:7px}
 .arcade-v3 .crew-button{width:59px}
}
.arcade-v3.calm .glyph-body{display:none}.arcade-v3.calm .body-active>img{visibility:visible}
@media(prefers-reduced-motion:reduce){.arcade-v3 .glyph-body{display:none}.arcade-v3 .body-active>img{visibility:visible}}

/* Readable inherited HUD labels; the former arcade face used light ink. */
body.arcade-v3 .hud #hud-chapter,body.arcade-v3 .hud #hud-level{color:#57334e}
body.arcade-v3 .completion .completion-note{color:#67435e!important}
body.arcade-v3 .rig-energy{display:none!important}
body.arcade-v3 .toy-tile.letter-creature:before{display:none}
body.arcade-v3 .challenge-line>span{display:none}

/* On portrait screens the family stays on the foreground grass. */
@media(max-width:700px){
 .arcade-v3 .level-layout,.arcade-v3 .level-layout .puzzle-board{min-height:650px}
 .arcade-v3 .word-playground{margin-top:28px}
 .arcade-v3 .board-status{margin-top:98px}
 .arcade-v3 .level-layout .scene-cat{left:14%;top:auto;bottom:142px;width:91px}
 .arcade-v3 .level-layout .scene-friend{right:17%;top:auto;bottom:146px;width:65px}
 .arcade-v3 .level-layout .scene-object,.arcade-v3 .level-layout .scene-object.sky{top:115px;left:44%;width:44px;opacity:.45}
 .arcade-v3.long-word .word-playground{margin-top:28px}
 .arcade-v3.long-word .level-layout .scene-cat{width:65px}
 .arcade-v3.long-word .level-layout .scene-friend{width:47px}
 .arcade-v3.story-mode .level-layout .scene-cat{top:auto;bottom:220px;left:18%;width:145px}
 .arcade-v3.story-mode .level-layout .scene-friend{top:auto;bottom:225px;right:15%;width:95px}
 .arcade-v3 .level-layout .completion{min-height:650px}
}

/* Long words keep every target reachable rather than shrinking below44px. */
body.arcade-v3 .slots.compact,body.arcade-v3 .slots.very-long{flex-wrap:wrap;height:auto;row-gap:10px}
body.arcade-v3 .slots.compact .letter-slot,body.arcade-v3 .slots.very-long .letter-slot{flex-shrink:0}

/* A clue opens in the playfield. It remains available when sound is off. */
.arcade-v3 .clue-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:44px;margin:3px auto 5px;padding:7px 14px;border:1px solid #a7838f;border-radius:20px;
 background:#fff7e9;color:#54334f;font-size:.82rem;font-weight:900;box-shadow:0 3px 0 #ac7b90}
.arcade-v3 .clue-toggle .icon{width:20px;height:20px}
.arcade-v3 .clue-toggle[aria-expanded=true]{background:#efe0ed;box-shadow:none}
.arcade-v3 .word-clue{display:flex;align-items:center;gap:12px;max-width:min(410px,100%);
 margin:4px auto 9px;padding:9px 14px;border:1px solid #c29686;border-radius:21px;
 background:#fff5dd;color:#53334d;text-align:start;box-shadow:0 7px 16px #6a3f5530}
.arcade-v3 .word-clue[hidden]{display:none}
.arcade-v3 .clue-picture{display:grid;place-items:center;flex:0 0 52px;min-height:52px}
.arcade-v3 .clue-picture :is(.art-frame,.icon){width:52px}
.arcade-v3 .word-clue strong{font-size:1rem;letter-spacing:.01em;line-height:1.3;overflow-wrap:anywhere}
.arcade-v3 .word-clue p{font-size:.78rem;font-weight:800;line-height:1.4;margin:2px 0 0}
.arcade-v3 .memory-replay-prop{display:grid;place-items:center;width:25px;height:25px}
.arcade-v3 .memory-replay-prop :is(.art-frame,.icon){width:25px}
.arcade-v3 .edition-badge{font-size:clamp(14px,2vw,23px);width:1.95em;min-width:35px}

/* Sparse world light runs in CSS. Canvas wakes for contact and then sleeps. */
.arcade-v3 .word-atmosphere{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.arcade-v3 .word-atmosphere i{position:absolute;left:var(--x);top:var(--y);width:5px;height:5px;
 border-radius:50%;background:#fff5bb;opacity:.35;box-shadow:0 0 9px 2px var(--word-light,#ffe2a4);
 animation:word-lantern-drift calc(5s + var(--i)*.55s) ease-in-out infinite;
 animation-delay:calc(-1s * var(--i))}
.arcade-v3 [data-world=water] .word-atmosphere i{background:#d5ffff}
.arcade-v3 [data-world=night] .word-atmosphere i{border-radius:2px;rotate:45deg;background:#fff0d4}
.arcade-v3 .word-reveal:after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;
 background:linear-gradient(90deg,transparent 8%,#ffeec76b 48%,#fff5d47a 52%,transparent 92%);
 animation:word-sweep .85s ease-out both}
.arcade-v3 .word-assembled .letter-slot::before{content:'';position:absolute;inset:0;border-radius:14px;
 background:#ffe7a8;pointer-events:none;z-index:-1;animation:letter-shine .8s ease-out both;
 animation-delay:calc(var(--word-index,0)*32ms)}
.arcade-v3.calm .word-atmosphere i,.arcade-v3.page-paused .word-atmosphere i{animation-play-state:paused}
.arcade-v3.calm :is(.word-reveal,.word-assembled .letter-slot)::after,
.arcade-v3.calm .word-assembled .letter-slot::before{animation:none;background:none}
@keyframes word-lantern-drift{0%,100%{transform:translate3d(0,9px,0) scale(.6);opacity:.2}48%{transform:translate3d(12px,-22px,0) scale(1.25);opacity:.72}}
@keyframes word-sweep{0%{opacity:0;transform:translateX(-32%)}36%{opacity:1}100%{opacity:0;transform:translateX(32%)}}
@keyframes letter-shine{0%,100%{opacity:0;scale:.87}40%{opacity:.65;scale:1.1}}
@media(prefers-reduced-motion:reduce){
 .arcade-v3 .word-atmosphere i{animation:none}
 .arcade-v3 .word-reveal:after,.arcade-v3 .word-assembled .letter-slot::before{display:none}
}

@font-face{font-family:Amor Arabic;src:url('assets/noto-naskh-arabic.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
.arcade-v3 .language-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;
 padding:12px 14px;background:#f8e9e3;border-bottom:1px solid #e4c6d4}
.arcade-v3 .language-links a{display:flex;align-items:center;justify-content:center;min-height:44px;
 border:1px solid #c9a5b9;border-radius:17px;padding:6px 15px;background:#fff9eb;color:#55364e;
 font-size:14px;font-weight:900;text-decoration:none}
.arcade-v3 .language-links a[aria-current]{background:#604066;color:#fff6e4;border-color:#604066}
.arcade-v3 .language-links a[lang=ar]{font-family:Amor Arabic,serif;font-size:19px;line-height:1.2}
.arcade-v3 .setting-row[hidden]{display:none}
html[lang=ar] .arcade-v3{font-family:Amor Arabic,Nunito,serif}
html[lang=ar] .arcade-v3 :is(.home-title,.title-small,.completion-word,.word-awake-label,.slot-outline,.glyph-type){letter-spacing:0}
html[dir=rtl] .arcade-v3 .flow-icon{transform:scaleX(-1)}
html[dir=rtl] .arcade-v3 .home-title{line-height:1.22}
html[dir=rtl] .arcade-v3 .level-map-button{align-items:center}
html[dir=rtl] .arcade-v3 :is(.slot-outline,.glyph-type){font-weight:700}
html[dir=rtl] .arcade-v3 .token-word .glyph-type{font-size:1.15em}
html[dir=rtl] .arcade-v3 .completion-word.sentence{line-height:1.47}
html[dir=rtl] .arcade-v3 .story-label{letter-spacing:0}
.arcade-v3 .toy-tile.letter-creature:has(.glyph-type){
 background:linear-gradient(150deg,#fff8e1,var(--tile-light) 46%,var(--tile-color))!important;
 border:2px solid #ffedc2;border-radius:28%;box-shadow:0 4px 0 var(--tile-edge),0 8px 11px #78526938!important
}
.arcade-v3 .toy-tile.letter-creature:has(.glyph-type) .glyph-type{color:#42283e;line-height:1.06}
.arcade-v3 .toy-tile.letter-creature.selected .glyph-type{transform:translateY(-4px) scale(1.09)}
@media(max-width:390px){
 .arcade-v3 .language-links{gap:6px;padding-inline:6px}
 .arcade-v3 .language-links a{padding-inline:10px}
 .arcade-v3 .home-title{overflow-wrap:anywhere}
}
.arcade-v3 .joined-word{display:table;margin:0 auto 6px;padding:1px 13px 4px;
 color:#57334e;background:#fff8e5;border:1px solid #c29aa8;border-radius:13px;
 font-size:1.45rem;font-weight:700;line-height:1.2}
.arcade-v3 .joined-word[hidden]{display:none}
html[dir=rtl] .arcade-v3 .hud-right{margin-left:0;margin-right:auto}
html[lang=ar] .arcade-v3 :is(.board-status,.selection-cue,.selection-cue strong,.crew-button strong){font-size:14px}
html[lang=ar] .arcade-v3 .crew-button small{font-size:11px}
html[lang=ar] .arcade-v3 .board-heading h1{line-height:1.35}
html[lang=ar] .arcade-v3 .album-chapter h3{letter-spacing:0}
@media(max-width:390px){
 html[lang=ar] .arcade-v3 :is(.board-status,.selection-cue,.selection-cue strong,.crew-button strong){font-size:12px}
}

html[lang=ar] .arcade-v3 .living-letter-token{font-family:Amor Arabic,Nunito,serif}
/* Localized artwork uses the same characters and composition as the original entrance. */
html[lang=ar] .arcade-v3 .home-world{background-image:url('assets/arcade/hero-ar.webp')}
@media(max-width:700px){
 html[lang=ar] .arcade-v3 .home-world{background-image:url('assets/arcade/hero-ar-mobile.webp')}
 html[lang=de] .arcade-v3 .home-title{font-size:clamp(22px,8.1vw,40px);letter-spacing:-.025em}
}
@media(max-width:390px){
 .arcade-v3 .language-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .arcade-v3 .language-links a{padding-inline:3px;font-size:12px}
 .arcade-v3 .language-links a[lang=ar]{font-size:17px}
}

/* Wildlife lives in the margins so a moving wing never competes with a target. */
.arcade-v3 .habitat{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.arcade-v3 .habitat span{position:absolute;display:block}
.arcade-v3 .habitat img{position:relative;display:block;width:100%;height:auto;user-select:none}
.arcade-v3 .habitat-bird{left:18%;top:14%;width:clamp(27px,4.8vw,61px);opacity:.9}
.arcade-v3 .habitat[data-moving=true] .habitat-bird{
 animation:habitat-flight 16s cubic-bezier(.36,.12,.68,.94) infinite
}
.arcade-v3 .habitat-rabbit{right:15%;top:58%;width:clamp(35px,5.6vw,75px);filter:drop-shadow(0 3px 2px #3e392634)}
.arcade-v3 .habitat-flowers{right:4%;bottom:11%;width:clamp(34px,6vw,83px)}
.arcade-v3 .habitat-owl{right:9%;top:17%;width:clamp(58px,7vw,111px);filter:drop-shadow(2px 5px 3px #273c354f)}
.arcade-v3 .habitat-owl:before{content:'';position:absolute;left:50%;bottom:92%;width:2px;height:32vh;
 background:#88624d;border-inline-end:1px solid #c89f6c;transform:rotate(6deg);transform-origin:50% 100%}
.arcade-v3 [data-habitat=forest] .habitat-flowers{right:7%;bottom:12%}
.arcade-v3 [data-habitat=forest] .habitat-rabbit{right:11%;top:44%;width:clamp(35px,4.5vw,61px)}
.arcade-v3 [data-habitat=picnic] .habitat-rabbit{right:17%;top:63%}
.arcade-v3 [data-habitat=water] .habitat-bird{top:18%;left:15%}
.arcade-v3 [data-habitat=welcome] .habitat-bird{left:16%;top:28%}
.arcade-v3 [data-habitat=welcome] .habitat-flowers{right:3%;bottom:6%}
@keyframes habitat-flight{
 0%,11%{opacity:0;transform:translate3d(-13vw,11px,0) rotate(-3deg)}
 16%{opacity:.87}
 32%{opacity:.87;transform:translate3d(1vw,-12px,0) rotate(-6deg)}
 48%{opacity:0;transform:translate3d(16vw,-45px,0) rotate(-10deg)}
 100%{opacity:0;transform:translate3d(16vw,-45px,0) rotate(-10deg)}
}
@media(max-width:700px){
 .arcade-v3 .habitat-bird{left:8%;top:19%}
 .arcade-v3 .habitat-rabbit,.arcade-v3 [data-habitat=picnic] .habitat-rabbit{right:5%;top:45%}
 .arcade-v3 .habitat-owl{right:3%;top:16%;width:49px}
 .arcade-v3 [data-habitat=forest] .habitat-rabbit{right:4%;top:46%}
 .arcade-v3 .habitat-flowers,.arcade-v3 [data-habitat=forest] .habitat-flowers{right:4%;bottom:14%}
 .arcade-v3 [data-habitat=welcome] .habitat-bird{left:12%;top:32%}
}
@media(prefers-reduced-motion:reduce){
 .arcade-v3 .habitat[data-moving=true] .habitat-bird{animation:none}
}
