*{box-sizing:border-box}body{margin:0;font-family:system-ui,sans-serif;color:#f6f2dd;background:#0b202b}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}#gameFrame{max-width:920px;margin:auto}#hero p{line-height:1.6}.scene-canvas{position:relative;width:100%;height:100%;direction:ltr}body:not([data-screen=main]){position:fixed;inset:0;overflow:hidden;overscroll-behavior:none}html:has(body:not([data-screen=main])){overflow:hidden;overscroll-behavior:none}body:not([data-screen=main]) #gameFrame{position:static;transform:none;margin:0;width:100%;max-width:none;height:auto}#generalReserve{position:fixed;bottom:env(safe-area-inset-bottom,0px);left:50%;transform:translate(-50%);width:min(100%,920px);height:56px;pointer-events:none}#battleContent{display:grid;grid-template-rows:minmax(0,1fr) 104px 48px;gap:6px;overflow:hidden}#arena{position:relative;min-height:0;overflow:hidden;touch-action:none;background:#172934;outline-offset:-3px}#arena canvas{width:100%;height:100%;display:block;touch-action:none}.actor-labels{position:absolute;inset:0;pointer-events:none}.actor-tag{position:absolute;transform:translate(-50%,-100%);color:#fff;background:#243846ed;border:1px solid #9dafa4;border-radius:3px;font-size:12px;font-weight:800;line-height:1.2;padding:2px 4px;white-space:nowrap;text-shadow:0 1px 2px #000}.actor-tag.hero{background:#bf6131;border-color:#ffd487}.actor-tag.enemy{background:#294568}.actor-tag.item{font-size:10px;background:#5e4e26}#side{display:grid;grid-template-rows:24px 38px 20px 22px;min-width:0;overflow:hidden}#objective,#feedback{font-size:12px;line-height:1.4;margin:0;padding:2px 4px;overflow:auto}#objective{color:#ffdf89}#feedback{color:#f3ede0}#legend{font-size:11px;white-space:nowrap;overflow:auto;text-align:center}.motion{font-size:11px;display:flex;justify-content:center;gap:5px;align-items:center}.tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tools button{min-width:0}#modal{position:absolute;inset:0;z-index:10;background:#071824dd;display:grid;place-items:center;padding:12px}.modal-card{max-width:520px;width:100%;max-height:100%;overflow:auto;padding:20px;background:#193944;border:2px solid #d4ad57;text-align:center}#modalActions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}#modalActions button{min-width:96px}#modalText{line-height:1.6}.facts{display:grid;grid-template-columns:1fr 1fr}.cell-access{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.cell-access:focus{width:auto;height:auto;clip-path:none;z-index:5;left:4px;top:4px;background:#153842;color:#fff}html[dir=rtl] #side,html[dir=rtl] #modal,html[dir=rtl] #mainGuide{direction:rtl}@media(min-aspect-ratio:1.45){#battleContent{grid-template-columns:minmax(0,1fr) 230px;grid-template-rows:minmax(0,1fr) 48px}#arena{grid-row:1/3}#side{grid-column:2;grid-row:1;grid-template-rows:40px minmax(32px,1fr) 30px 26px}.tools{grid-column:2;grid-row:2}.tools button{font-size:12px}#objective,#feedback{font-size:13px}}.board-section{position:absolute;top:3px;transform:translate(-50%);font-size:11px;color:#ffdf89;background:#17333c;padding:2px 5px}.scene-canvas{transform-origin:top left;margin-left:0;margin-right:auto}html body[data-wp-game-id=animal-crownfall] #battleInfo [data-t=moveTarget]{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.05!important}#battleContent{position:relative;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 48px 56px 48px 48px}#arena{grid-column:1;grid-row:1}#mapControls{grid-column:1;grid-row:2;min-width:0;min-height:0}#side{grid-column:1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:26px 14px 14px;align-content:center;gap:1px 0;min-width:0;overflow:hidden}#objective{display:block;min-width:0;max-height:26px;text-align:center;font-size:11px;line-height:12px;white-space:normal;overflow:auto;color:#ffdf89}#calculation{display:none}#feedback{direction:ltr;unicode-bidi:plaintext;min-width:0;max-height:14px;font-size:11px;line-height:14px;padding:0 4px;text-align:center;white-space:nowrap;overflow:auto}#legend{min-width:0;font-size:10px;line-height:12px;white-space:nowrap;overflow:auto;text-align:center}#legend:empty{display:none}.latch-tag{position:absolute;z-index:3;display:grid;place-items:center;width:calc(18px * var(--wp-battle-canvas-inverse-scale,1));height:calc(18px * var(--wp-battle-canvas-inverse-scale,1));border:2px solid #fff;border-radius:3px;background:#122433;color:#fff;font:bold calc(12px * var(--wp-battle-canvas-inverse-scale,1))/1 system-ui;box-shadow:0 1px 3px #000;pointer-events:none}.spike-tag{position:absolute;z-index:3;display:grid;place-items:center;width:calc(36px * var(--wp-battle-canvas-inverse-scale,1));height:calc(18px * var(--wp-battle-canvas-inverse-scale,1));border:2px solid #fff;border-radius:3px;background:#492820;color:#fff;font:bold calc(12px * var(--wp-battle-canvas-inverse-scale,1))/1 system-ui;box-shadow:0 1px 3px #000;pointer-events:none}body[data-crown-latch-practice=true] #battleContent{grid-template-rows:minmax(0,1fr) 48px 110px 48px 48px}body[data-crown-latch-practice=true] #side{grid-template-rows:68px 20px 20px}body[data-crown-latch-practice=true] #objective{max-height:68px;font-size:calc(14px * var(--wp-battle-canvas-inverse-scale,1));line-height:calc(16px * var(--wp-battle-canvas-inverse-scale,1))}body[data-crown-latch-practice=true] #feedback{max-height:18px;font-size:13px;line-height:18px}body[data-crown-latch-practice=true] #legend{font-size:12px;line-height:16px}.tools{grid-column:1;grid-row:5}#choice{grid-column:1/-1;grid-row:4;justify-self:end;display:grid;grid-template-columns:1fr 1fr;gap:6px;width:min(420px,100%);height:48px;background:transparent;z-index:2}#choice button{font-size:12px;min-width:0;padding:6px 12px}#battle .wp-frame-popover .motion{display:flex;justify-content:space-between;font-size:12px;min-height:40px;gap:10px}.impact-cue{position:absolute;z-index:4;pointer-events:none;transform:translate(-50%,-130%);border:1px solid #ffe3a0;border-radius:6px;background:#243642ed;color:#ffe09a;font-size:12px;font-weight:800;padding:5px 8px;white-space:nowrap}.impact-cue[data-kind=pickup]{color:#a0ffce;border-color:#a0ffce}.impact-cue[data-kind=fail]{color:#ff9cb4;border-color:#ff9cb4}@media(min-aspect-ratio:1.45){#battleContent{grid-template-columns:minmax(0,1fr) 180px;grid-template-rows:minmax(0,1fr) 94px 56px 48px 48px;gap:5px}#arena{grid-column:1;grid-row:1/5}#mapControls{grid-column:2;grid-row:2}#side{grid-column:2;grid-row:3;height:56px;align-self:end;grid-template-rows:26px 14px 14px}.tools{grid-column:1/3;grid-row:5}.tools button{white-space:nowrap}#choice{grid-column:2;grid-row:4;justify-self:stretch;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}#choice button{font-size:10px;padding:4px 6px}#objective{font-size:10px;line-height:12px}#legend{font-size:9px}#feedback{font-size:10px}}@media(min-aspect-ratio:1.45){html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="59"] #battleContent:has(#choice[hidden]){grid-template-rows:minmax(0,1fr) 94px 132px 0 48px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="59"] #side{height:132px;grid-template-rows:68px 32px 32px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="59"] #objective{max-height:68px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="59"] #battleContent:has(#choice:not([hidden])){grid-template-rows:minmax(0,1fr) 94px 128px 0 48px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="59"] #battleContent:has(#choice:not([hidden])) #side{height:128px;grid-template-rows:64px 32px 32px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="59"] #battleContent:has(#choice:not([hidden])) #objective{max-height:64px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="60"] #battleContent:has(#choice[hidden]){grid-template-rows:minmax(0,1fr) 94px 144px 0 48px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="60"] #side{height:144px;grid-template-rows:80px 32px 32px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="60"] #objective{max-height:80px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="60"] #battleContent:has(#choice:not([hidden])){grid-template-rows:minmax(0,1fr) 94px 140px 0 48px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="60"] #battleContent:has(#choice:not([hidden])) #side{height:140px;grid-template-rows:76px 32px 32px}html[lang=ar] body[data-crown-latch-practice=true][data-crown-stage="60"] #battleContent:has(#choice:not([hidden])) #objective{max-height:76px}}@media(min-aspect-ratio:1.45){body[data-crown-latch-practice=true] #battleContent{grid-template-columns:minmax(0,1fr) 180px;grid-template-rows:minmax(0,1fr) 94px 60px 48px 48px}body[data-crown-latch-practice=true] #battleContent:has(#choice[hidden]){grid-template-rows:minmax(0,1fr) 94px 106px 0 48px}body[data-crown-latch-practice=true] #side{height:106px;grid-template-rows:70px 18px 18px}body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) #side{height:60px;grid-template-rows:26px 18px 16px}body[data-crown-latch-practice=true] #objective{max-height:70px}body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) #objective{max-height:26px}}.map-nav{display:grid;grid-template-columns:repeat(6,48px);gap:8px;justify-content:space-between;width:100%;height:100%;direction:ltr}.map-nav button{width:48px;height:48px;padding:0;border:1px solid #aec9bb;border-radius:14px;background:#173944ed;color:#ffe7a7;font-size:20px;line-height:46px;touch-action:manipulation}.map-nav button:disabled{opacity:.28;pointer-events:none}.map-nav button[hidden]{display:block!important;visibility:hidden;pointer-events:none}@media(min-aspect-ratio:1.45){.map-nav{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:6px}.map-nav button{width:44px;height:44px;line-height:42px}}.map-nav button[aria-pressed=true]{border-color:#ffdf85;background:#365856}.map-floor{position:absolute;top:4px;left:4px;max-width:calc(50% - 26px);color:#ffdf89;background:#173944dd;padding:3px 5px;font-size:10px;line-height:16px;pointer-events:none;white-space:nowrap;z-index:4}#arena[aria-busy=true] canvas{cursor:progress}#arena[aria-busy=true]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#edb74e;pointer-events:none;z-index:6}.cell-access:not(:focus){width:0;height:0;padding:0;border:0;min-width:0;min-height:0}#modal[data-kind=result] #modalActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#modal[data-kind=result] .modal-card{height:280px;display:grid;grid-template-rows:48px minmax(0,1fr) 32px 48px;gap:8px}#modal[data-kind=result] h2{margin:0;align-self:center;font-size:24px}#modal[data-kind=result] #modalText{margin:0;overflow:auto;font-size:14px;line-height:1.5}#modal[data-kind=result] #badges{margin:0;align-self:center;font-size:12px}#modalActions button{min-width:0;min-height:48px}#stage{--wp-stage-scrim:linear-gradient(#102331a8,#102331ce);--wp-stage-art:url(../../assets/lobby-thumbs/w480/assets__animal-crownfall__cover.webp);background:linear-gradient(#102331db,#102331e8),var(--wp-stage-art) center/cover}#loadingPanel{position:absolute;inset:0;z-index:20}body[data-wp-game-id=animal-crownfall] .wp-tutorial-button{width:44px;height:44px;top:80px;right:max(12px,calc((100vw - 920px)/2 + 12px));opacity:1}body[data-wp-game-id=animal-crownfall] .wp-tutorial-close{width:48px;height:48px;min-width:48px;min-height:48px;flex-shrink:0}.wp-tutorial-backdrop[data-game-id=animal-crownfall]{z-index:200}body[data-screen=battle] .wp-tutorial-button{top:70px}body[data-wp-game-id=animal-crownfall]:has(.wp-shell-settings-popover:not([hidden])) .wp-tutorial-button{display:none}body[data-screen=stage] .wp-tutorial-button{display:none}#mainGuide p,#mainGuide ol,#mainGuide ul,#mainGuide dl{max-width:72ch}#mainGuide .crown-gameplay-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0}#mainGuide .crown-gameplay-tags li{padding:6px 10px;border:1px solid #778896;border-radius:8px}#mainGuide .crown-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:640px}#mainGuide .crown-related-card{display:flex;flex-direction:column;gap:8px;min-width:0;color:inherit;text-decoration:none;border:1px solid #778896;border-radius:12px;padding:10px}#mainGuide .crown-related-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:6px}#mainGuide .crown-related-card span{overflow-wrap:anywhere;line-height:1.5}#mainGuide .crown-related-card:focus-visible{outline:3px solid #edb74e;outline-offset:3px}#start[aria-busy=true]{position:relative}#start[aria-busy=true]:after{content:"";position:absolute;inset-inline-end:16px;top:50%;width:14px;height:14px;margin-top:-7px;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:crownfall-start-pending .7s linear infinite}@keyframes crownfall-start-pending{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){#start[aria-busy=true]:after{animation:none;border-inline-end-color:transparent}}@media(min-width:700px)and (max-height:430px)and (orientation:landscape){body[data-wp-game-id=animal-crownfall] .wp-standard-main-composition{padding-top:12px!important}}.wp-tutorial-backdrop[data-game-id=animal-crownfall]{grid-template-columns:minmax(0,1fr);overflow:auto;overscroll-behavior:contain}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-card{max-width:100%;overscroll-behavior:contain}@media(min-width:700px)and (max-height:560px)and (orientation:landscape){.wp-tutorial-backdrop[data-game-id=animal-crownfall]{padding:calc(8px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left))}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-card{width:min(96vw,760px);max-height:calc(100svh - 16px);padding:10px;gap:8px;border-radius:16px;overflow:hidden;grid-template-rows:auto minmax(0,1fr) auto}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-head{align-items:center}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-head strong{font-size:clamp(1rem,2.8vw,1.35rem)}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-step{min-height:0;grid-template-columns:32px minmax(0,1fr);gap:7px;padding:8px}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-icon{width:32px;height:32px;border-radius:10px;font-size:1.1rem}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-copy{gap:2px}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-copy b{font-size:.82rem}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-copy span{font-size:.72rem;line-height:1.2}.wp-tutorial-backdrop[data-game-id=animal-crownfall] .wp-tutorial-action{min-height:46px}}.actor-tag.item.phase-rune,.actor-tag.enemy.phase-shield{font-size:14px;line-height:1.15}.actor-tag.item.phase-rune.stage49{background:#664317;border-color:#ffe183;color:#fff8d6}.actor-tag.enemy.phase-shield.stage49{background:#294568;border-color:#ffe183;color:#fff8d6}body[data-crown-latch-practice=true] #side{grid-template-rows:60px 16px 34px}body[data-crown-latch-practice=true] #objective{max-height:60px}body[data-crown-latch-practice=true] #feedback{max-height:16px;line-height:16px}body[data-crown-latch-practice=true] #legend{white-space:normal;overflow-wrap:anywhere;overflow:hidden}@media(max-aspect-ratio:1.4499){body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])){grid-template-rows:minmax(0,1fr) 48px 110px calc(46px * var(--wp-battle-canvas-inverse-scale,1)) calc(46px * var(--wp-battle-canvas-inverse-scale,1))}body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) #choice{height:100%}@layer wp-frame-contract{body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) #choice button,body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) .tools button{height:100%!important;min-height:calc(46px * var(--wp-battle-canvas-inverse-scale,1))!important;max-height:none!important}}}@media(min-aspect-ratio:1.45){body[data-crown-latch-practice=true] #battleContent:has(#choice[hidden]){grid-template-rows:minmax(0,1fr) 94px 124px 0 48px}body[data-crown-latch-practice=true] #side{height:124px;grid-template-rows:60px 32px 32px}body[data-crown-latch-practice=true] #feedback{max-height:32px;line-height:16px;white-space:normal;overflow-wrap:anywhere;overflow:hidden}body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])){grid-template-rows:minmax(0,1fr) 94px 120px 0 48px}body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) #side{height:120px;grid-template-rows:56px 32px 32px}body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) #objective{max-height:56px}body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) #choice{grid-column:2;grid-row:5}body[data-crown-latch-practice=true] #battleContent:has(#choice:not([hidden])) .tools{grid-column:1;grid-row:5}}@media(max-aspect-ratio:1.4499){body[data-crown-latch-practice=true][data-crown-stage="60"] #battleContent{grid-template-rows:minmax(0,1fr) 48px 134px 48px 48px}body[data-crown-latch-practice=true][data-crown-stage="60"] #side{grid-template-rows:84px 16px 34px}body[data-crown-latch-practice=true][data-crown-stage="60"] #objective{max-height:84px}body[data-crown-latch-practice=true][data-crown-stage="60"] #battleContent:has(#choice:not([hidden])){grid-template-rows:minmax(0,1fr) 48px 134px calc(46px * var(--wp-battle-canvas-inverse-scale,1)) calc(46px * var(--wp-battle-canvas-inverse-scale,1))}}
