.skyfall{max-width:1150px;margin:auto}.skyfall-heading,.skyfall-board>header{display:flex;justify-content:space-between;align-items:center;gap:20px}.skyfall-heading h2{font:54px Georgia,serif;color:#f5c76b;margin:12px 0}.skyfall-heading p{color:#a9b4bd;font-style:italic}.skyfall button{padding:12px 18px;border:1px solid #567585;border-radius:9px;background:#132d3d;color:#edf0df;font:14px system-ui;cursor:pointer}.skyfall button:disabled{opacity:.5;cursor:default}.skyfall button:focus-visible{outline:3px solid #f5c76b;outline-offset:3px}.skyfall [hidden]{display:none!important}.skyfall-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #355263;border-radius:13px;background:#0c1e2b;margin:22px 0 15px}.skyfall-stats>span{font:14px system-ui;letter-spacing:2px;color:#9ab6bd;padding:15px}.skyfall-stats strong{display:block;font:20px Georgia;color:#f5d38a;letter-spacing:0;margin-top:8px}.skyfall-field{position:relative;overflow:hidden;border:1px solid #53766c;border-radius:15px;background:#123b3d}.skyfall-field canvas{display:block;width:100%;aspect-ratio:1000/650}.skyfall-field-label{position:absolute;right:20px;top:20px;color:#acd0c0;font:14px system-ui;letter-spacing:2px;pointer-events:none}.skyfall-message{color:#f5c76b;min-height:34px;line-height:1.6}.skyfall-controls{display:flex;justify-content:space-between;gap:18px;align-items:center}.skyfall-actions{display:flex;gap:10px;flex-wrap:wrap}.skyfall-actions [data-sky-launch],.skyfall-actions [data-sky-start]{background:#f5c76b;color:#102735;border-color:#f5c76b;font-weight:700}.skyfall-dpad{display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,44px);gap:5px}.skyfall-dpad button{padding:0;touch-action:none;user-select:none;font-size:23px}.skyfall-dpad button:active{background:#56756b}.skyfall-dpad [data-sky-dir=up]{grid-column:2}.skyfall-dpad [data-sky-dir=left]{grid-column:1;grid-row:2}.skyfall-dpad [data-sky-dir=down]{grid-column:2;grid-row:2}.skyfall-dpad [data-sky-dir=right]{grid-column:3;grid-row:2}.skyfall-help,.skyfall-rules p{font:14px/1.8 system-ui;color:#a9b4bd}.skyfall-rounds{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:25px 0}.skyfall-rounds span{padding:14px;background:#102534;border:1px solid #314d5c;border-radius:10px;color:#a9b4bd;font:14px system-ui;letter-spacing:1px}.skyfall-rounds strong{display:block;font:25px Georgia;color:#f5c76b;margin-top:8px}.skyfall-board,.skyfall-rules{border:1px solid #355263;padding:22px;border-radius:14px;background:#091b26;margin-top:20px}.skyfall-board h3{font:29px Georgia;color:#f5c76b;margin:12px 0}.skyfall-board p,.skyfall-board [data-sky-board]{color:#a9b4bd;line-height:1.6}.skyfall-board table{width:100%;border-collapse:collapse;text-align:left;font:14px system-ui}.skyfall-board th{font-size:14px;color:#9cbdc2}.skyfall-board td,.skyfall-board th{padding:12px 8px;border-bottom:1px solid #355263}.skyfall-board td:last-child,.skyfall-board th:last-child{text-align:right}.skyfall-board .is-you{background:#2b473d;color:#f5d38a}.skyfall-rules summary{cursor:pointer;color:#f5c76b}@media(max-width:650px){.skyfall-heading h2{font-size:40px}.skyfall-stats{grid-template-columns:repeat(2,1fr)}.skyfall-stats>span{padding:10px}.skyfall-stats strong{font-size:17px}.skyfall-controls{align-items:start}.skyfall-actions{flex-direction:column}.skyfall button{padding:12px}.skyfall-dpad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px)}.skyfall-field-label{font-size:14px;right:9px;top:10px}.skyfall-rounds{gap:5px}.skyfall-rounds span{padding:10px 6px;font-size:14px}.skyfall-board{padding:14px}.skyfall-board>header{flex-wrap:wrap}}

/* Keep the landing field and controls within a typical laptop/phone view. */
.skyfall-field{width:min(100%,max(330px,calc((100svh - 350px) * 1.53846)));margin-inline:auto}.skyfall-controls{margin:12px 0}.skyfall canvas:focus-visible{outline:2px solid #f5c76b;outline-offset:-3px}


/* Celestial descent: Haven platforms over Damon's realm. */
.haven-chamber.games-chamber:has(.skyfall){background:linear-gradient(180deg,#100b25a6,#160b1edb),url('/assets/games/skyfall-damon-realm.png') center top/cover fixed no-repeat!important}
.haven-chamber.games-chamber:has(.skyfall) .chamber-inner{width:min(1220px,96vw);border-color:#c8a36d77;background:linear-gradient(135deg,#251934ed,#141426f5);box-shadow:0 18px 65px #0008,inset 0 0 0 4px #1b1228,inset 0 0 0 5px #bf945733}
.skyfall{color:#f3e9df}.skyfall-heading{padding:8px 0}.skyfall-heading .oracle-label{color:#dbc091;letter-spacing:2.5px;font-size:14px}.skyfall-heading h2{font-size:clamp(40px,5vw,60px);font-weight:400;color:#ffe0a6;text-shadow:0 2px 20px #a26edc44}.skyfall-heading p{color:#d5c7e6;font-size:14px;line-height:1.7}
.skyfall button{background:linear-gradient(145deg,#3c2d51,#201c36);color:#f1e6dc;border-color:#b8a0c266;box-shadow:inset 0 1px 0 #eddab322}.skyfall button:not(:disabled):hover{background:#4c3564;border-color:#dbc6ee}.skyfall button:focus-visible,.skyfall summary:focus-visible{outline:3px solid #d4c4ff;outline-offset:4px}.skyfall button:disabled{opacity:.6}
.skyfall-stats{border-color:#bd996c77;border-radius:14px;background:linear-gradient(110deg,#3c294bba,#1a1b31dc);box-shadow:inset 0 1px 0 #e8c88b22}.skyfall-stats>span{color:#ccb7d9;font-size:14px;letter-spacing:1.5px}.skyfall-stats strong{color:#ffe3ad;font-size:22px}
.skyfall-field{border:2px solid #d5ae71;border-radius:20px;background:#231426;box-shadow:0 0 0 4px #1d152a,0 0 0 5px #b38e4b44,0 14px 35px #0005;width:min(100%,max(330px,calc((100svh - 350px) * 1.53846)))}.skyfall-field-label{color:#e6d3af;font:14px system-ui;letter-spacing:1px;top:13px;right:13px;padding:7px 9px;background:#181125d9;border:1px solid #b5945d66;border-radius:20px}
.skyfall-target-key{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:17px 0;font:14px/1.5 system-ui;color:#dac7df}.skyfall-target-key strong{font-size:14px;letter-spacing:1px;font-weight:600;margin-right:3px}.skyfall-target-key span{border:1px solid #d3b68077;border-radius:20px;background:#241f35;padding:5px 10px;color:#f0dfb9}.skyfall-target-key .skyfall-damon-key{border-color:#b7687188;background:#381a30;color:#f4b9bb}
.skyfall-message{color:#efdab2;font-size:14px;line-height:1.8;min-height:30px}.skyfall-actions [data-sky-launch],.skyfall-actions [data-sky-start]{background:linear-gradient(145deg,#ffe9b5,#d1a360);color:#281934;border-color:#f8daa0;min-height:47px;box-shadow:inset 0 1px 0 #fff8,0 4px 12px #0003}.skyfall-actions [data-sky-launch]:not(:disabled):hover,.skyfall-actions [data-sky-start]:not(:disabled):hover{background:linear-gradient(145deg,#fff0d1,#e6bd80)}
.skyfall-dpad{padding:8px;border:1px solid #9b81b355;border-radius:13px;background:#201a31aa;grid-template-columns:repeat(3,46px);grid-template-rows:repeat(2,42px)}.skyfall-dpad button{color:#e9d4fa;border-color:#c1a5d377}.skyfall-dpad button:active{background:#815ca1}.skyfall-controls{align-items:center;gap:14px}.skyfall-help,.skyfall-rules p{color:#c4b6d0;font-size:14px;line-height:1.9}
.skyfall-landing-story{display:flex;align-items:center;gap:15px;padding:17px 20px;margin:18px 0;border:1px solid #c1b47a88;border-radius:15px;background:linear-gradient(110deg,#344c42dd,#231c35e8);text-align:left}.skyfall-story-sigil{display:grid;place-items:center;flex-shrink:0;border:1px solid #e3cd8f;border-radius:50%;height:42px;width:42px;color:#f7df9e;background:#3b3b3c;font:25px Georgia}.skyfall-landing-story strong{font:700 14px/1.7 system-ui;letter-spacing:1.5px;color:#f1d49c}.skyfall-landing-story p{font:italic 18px/1.6 Georgia,serif;color:#f3e7df;margin:5px 0 0}.skyfall-landing-story.is-damon{border-color:#b9717188;background:linear-gradient(110deg,#4e2434e8,#21162ee8)}.skyfall-landing-story.is-damon .skyfall-story-sigil{background:#6b2d40;color:#ffcdad;border-color:#df967f}
.skyfall-rounds span{background:linear-gradient(135deg,#39294399,#1c192dd9);border-color:#a187aa55;border-radius:12px;color:#c5afd4}.skyfall-rounds strong{color:#f7dba3}.skyfall-board,.skyfall-rules{border-color:#a88ab566;background:linear-gradient(135deg,#30223ddc,#161526ee);border-radius:17px}.skyfall-board h3,.skyfall-rules summary{color:#f6dba5}.skyfall-board .oracle-label{color:#ceb1dd;font-size:14px;letter-spacing:2px}.skyfall-board p,.skyfall-board [data-sky-board]{color:#cdbdd7}.skyfall-board td,.skyfall-board th{border-bottom-color:#b799ba33}.skyfall-board th{color:#bfa7d3}.skyfall-board .is-you{background:#59436255;color:#ffe0a1}
@media(max-width:650px){.skyfall-heading{flex-wrap:wrap;gap:7px}.skyfall-heading h2{font-size:42px}.skyfall-heading p{font-size:14px}.skyfall-heading .oracle-label{font-size:14px;letter-spacing:1.8px}.skyfall-heading button{font-size:14px}.skyfall-field{border-radius:14px}.skyfall-field-label{font-size:14px;top:8px;right:7px;letter-spacing:.4px;padding:5px 6px}.skyfall-stats strong{font-size:17px}.skyfall-target-key{gap:5px;margin:12px 0;font-size:14px}.skyfall-target-key strong{width:100%;font-size:14px;margin-bottom:2px}.skyfall-target-key span{padding:4px 8px}.skyfall-actions button{font-size:14px;padding:10px 12px}.skyfall-dpad{grid-template-columns:repeat(3,38px);grid-template-rows:repeat(2,40px);gap:4px;padding:6px}.skyfall-dpad button{padding:0;min-width:0}.skyfall-landing-story{padding:13px 12px;gap:10px}.skyfall-landing-story strong{font-size:14px;letter-spacing:1px}.skyfall-landing-story p{font-size:16px}.skyfall-story-sigil{width:35px;height:35px;font-size:21px}.skyfall-message{font-size:14px}}
/* One-thumb controls; desktop arrows and flight physics stay unchanged. */
.skyfall-touch-control{display:none}.skyfall.is-flying canvas{touch-action:none}.skyfall-thumbpad{position:relative;width:156px;height:156px;border:2px solid #d2b175;border-radius:50%;background:radial-gradient(circle,#624b7d 0 24%,#2c2344 25% 55%,#17192d 56%);box-shadow:inset 0 0 20px #0007,0 0 0 5px #c19edd22;touch-action:none;user-select:none;-webkit-user-select:none}.skyfall-thumbpad[aria-disabled=true]{opacity:.55}.skyfall-thumb-guides{position:absolute;inset:8px;text-align:center;font:700 25px/1.7 Arial,sans-serif;color:#f0dab1;pointer-events:none}.skyfall-thumb-knob{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border:2px solid #ffde9f;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f8e7b9,#bd9860);box-shadow:0 4px 12px #0009;transform:translate(var(--thumb-x,0px),var(--thumb-y,0px));pointer-events:none}.skyfall-touch-control small{font:13px/1.4 Arial,sans-serif;color:#ebddf4;text-align:center;min-height:19px;max-width:180px}.skyfall [data-sky-toggle]{font-size:12px;padding:6px 10px;min-height:36px}
@media(max-width:650px),(pointer:coarse){.skyfall{display:flex;flex-direction:column}.skyfall-heading{order:0;gap:8px}.skyfall-stats{order:1;grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0 12px}.skyfall-stats>span{font-size:10px;letter-spacing:.4px;padding:8px 5px}.skyfall-stats strong{font:700 13px/1.4 Arial,sans-serif;margin-top:4px;overflow-wrap:anywhere}.skyfall-field{order:2;width:100%}.skyfall-controls{order:3;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px}.skyfall-target-key{order:4}.skyfall-landing-story{order:5}.skyfall-message{order:6}.skyfall-help{order:7}.skyfall-rounds{order:8}.skyfall-board{order:9}.skyfall-rules{order:10}.skyfall-touch-control{display:flex;flex-direction:column;align-items:center;gap:9px}.skyfall-dpad{display:none;grid-template-columns:repeat(3,54px);grid-template-rows:repeat(2,54px);gap:5px;padding:6px}.skyfall-dpad button{font-size:27px;min-height:54px;touch-action:none}.skyfall.show-touch-arrows .skyfall-dpad{display:grid}.skyfall.show-touch-arrows .skyfall-thumbpad,.skyfall.show-touch-arrows .skyfall-touch-control small{display:none}.skyfall.show-touch-arrows .skyfall-controls{flex-wrap:wrap}.skyfall.show-touch-arrows .skyfall-touch-control{order:3;flex-basis:100%}.skyfall-actions{flex:1;max-width:160px;gap:8px}.skyfall-actions button{width:100%;min-height:44px;padding:10px;font-size:14px}.skyfall-heading h2{font-size:32px;margin:5px 0}.skyfall-heading p{margin:4px 0;font-style:normal}.skyfall-heading .oracle-label{font-size:11px;letter-spacing:1px}.skyfall-field-label{font-size:10px;top:5px;right:5px;padding:4px 6px}.haven-chamber.games-chamber:has(.skyfall) .chamber-inner>.oracle-label,.haven-chamber.games-chamber:has(.skyfall) .chamber-inner>h2{display:none}.haven-chamber.games-chamber:has(.skyfall) .chamber-inner{padding:14px 12px}.skyfall-help{font-size:13px}}
@media(max-width:360px){.skyfall-thumbpad{width:138px;height:138px}.skyfall-controls{gap:8px}.skyfall-actions{max-width:125px}.skyfall-touch-control small{font-size:12px;max-width:148px}.skyfall-dpad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px)}.skyfall-dpad button{min-height:48px}}
@media(max-width:650px),(pointer:coarse){.skyfall-heading{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.skyfall-heading>div{min-width:0}.skyfall-heading .oracle-label,.skyfall-heading p{display:none}.skyfall-heading h2{font-size:30px;line-height:1.2;margin:0}.skyfall-heading button{font-size:12px;padding:8px 10px}}
