@font-face{font-family:Inter;src:local('Inter')}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#23164c;color:#fff8ed;font-family:Inter,'Arial',sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{border:0}button:disabled{cursor:wait;opacity:.55}:focus-visible{outline:3px solid #8ef3f6;outline-offset:6px}img{display:block;max-width:100%}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{letter-spacing:-.04em}p{line-height:1.65}a:hover{color:#b6f5fa}.skip-link{position:absolute;left:20px;top:-80px;padding:15px;background:#160c36;z-index:30}.skip-link:focus{top:10px}.site-header{position:absolute;z-index:5;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:28px 4%;height:88px}.wordmark{font-size:17px;font-weight:750;letter-spacing:.34em}.site-header nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:600}.nav-cta{border:1px solid #ffffff40;padding:11px 18px;border-radius:50px;background:#ffffff08}.nav-cta span{margin-left:9px}.hero{position:relative;overflow:hidden;background:#39318c;min-height:880px;isolation:isolate}.hero-art{position:absolute;z-index:-2;inset:0;background:url('/assets/roseglass.webp') center 61%/auto 90% no-repeat}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#302573 0%,#302573ed 16%,#36257b60 39%,#33227700 63%,#3821714d 92%,#35215c85)}.hero-copy{position:relative;text-align:center;padding:132px 24px 0}.hero-headline{font-size:clamp(44px,5.9vw,86px);line-height:1.09;font-weight:750;letter-spacing:-.045em}.hero-subtitle{font-size:clamp(20px,2.1vw,29px);margin-top:19px;line-height:1.3}.mobile-line{font-size:14px;font-weight:400;letter-spacing:normal;line-height:1.65;color:#e4dcf5;margin-top:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;background:#c3a1ff;color:#261441;font-weight:650;border:1px solid #e7d9ff55;padding:16px 27px;border-radius:40px;transition:transform .2s,background .2s;line-height:1.2}.button:hover{background:#d3bbff;color:#261441;transform:translateY(-2px)}.button-glass{margin-top:25px;background:#bca7f150;color:#fff8ed;border-color:#d5c4ff40;backdrop-filter:blur(15px)}.button-glass:hover{background:#ba9ffb88;color:white}.preview-wrap{height:460px;max-width:1100px;width:100%;margin:0 auto;position:relative}.preview-wrap canvas{display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab}.preview-wrap canvas:active{cursor:grabbing}.preview-status{position:absolute;bottom:9px;left:10px;right:10px;text-align:center;pointer-events:none;font-size:12px;font-weight:500;text-shadow:0 2px 8px #251945;background:#30205260;border-radius:30px;padding:5px 14px;width:max-content;max-width:95%;margin:auto;backdrop-filter:blur(6px)}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 4%;border-top:1px solid #ddcbff45;border-bottom:1px solid #ddcbff45;background:#30246145;backdrop-filter:blur(18px);min-height:85px}.scene-label{display:flex;flex-direction:column;gap:6px;font-size:15px}.scene-label span,.platform-note{font-size:11px;color:#e4d7f6;letter-spacing:.025em}.preview-actions{display:flex;align-items:center;gap:12px}.drag-label{font-size:12px;margin:0 3px}.icon-button{border:1px solid #ddd1fb50;background:transparent;border-radius:50%;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;font-size:21px;flex-shrink:0}.icon-button:hover{background:#bba1f53b}.button-small{font-size:13px;padding:11px 20px}.text-button{background:transparent;font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:10px}.section{padding:100px max(5%,calc((100% - 1240px)/2))}.section-intro{display:flex;justify-content:space-between;gap:50px;align-items:flex-end;margin-bottom:50px}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#bcb1da;margin-bottom:18px;font-weight:600}h2{font-size:clamp(34px,3.8vw,54px);line-height:1.12;font-weight:650}.section-intro>p,.world-intro{max-width:370px}.section-intro p:not(.eyebrow){color:#c8beda;font-size:15px}.gameplay{background:radial-gradient(ellipse at 50% 30%,#3a276c00,#211544 75%)}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:42px}.how-grid article+article{border-left:1px solid #bea0ef25;padding-left:38px}.how-grid h3{font-size:23px;font-weight:600;margin:18px 0 10px}.how-grid p{font-size:14px;color:#bdb1d2;max-width:300px}.mechanic{height:158px;display:flex;position:relative;align-items:center;justify-content:center;perspective:500px}.mini-board{transform:rotateX(50deg) rotateZ(-35deg);width:150px;height:150px;background:repeating-linear-gradient(0deg,transparent 0 28px,#b3a1d445 29px 30px),repeating-linear-gradient(90deg,#684f8c99 0 28px,#b3a1d445 29px 30px);border:5px solid #dbc6cf;box-shadow:-5px 7px 0 #8f769e,0 15px 40px #8e68ce35;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px}.mini-board i{display:block;background:#ac82c4;box-shadow:0 6px 0 #745e9a}.mini-board i:nth-child(3n){background:#7bc9cd;box-shadow:0 6px 0 #539ca9}.mini-board i:nth-child(4n){visibility:hidden}.orbit-ring{position:absolute;width:220px;height:60px;border:2px solid #dac0ff;border-top-color:transparent;border-radius:50%;transform:rotate(-9deg);bottom:8px}.orbit-ring:after{content:'›';position:absolute;right:4px;top:-10px;font-size:35px;transform:rotate(-30deg)}.drop-cube{position:absolute;top:12px;width:40px;height:40px;background:#81e3eb;box-shadow:inset -9px -7px #43b9d1,0 0 25px #60d8ff66;transform:rotate(-8deg) skewY(8deg);z-index:2}.drop-guide{position:absolute;top:50px;height:82px;width:40px;border:1px dashed #b4d8ed;border-top:0;background:linear-gradient(#64ccea20,transparent)}.landing{position:absolute;bottom:9px;width:88px;height:55px;transform:rotateX(55deg) rotateZ(40deg);border:2px solid #8ceafa;background:#765eac77;box-shadow:0 0 25px #60d8ff55}.clear-art{gap:4px;transform:rotate(-12deg)}.clear-art i{width:30px;height:33px;background:#a6eff1;box-shadow:inset -7px -5px #5cc4cf,0 0 28px #6be8ed77;border:1px solid #c5f7ff;transform:skewY(15deg)}.clear-art i:nth-child(2){opacity:.3}.clear-art i:nth-child(3){opacity:.5}.clear-art i:nth-child(4){opacity:.7}.specials-heading{margin-top:70px;border-top:1px solid #bea0ef35;padding-top:32px;display:flex;justify-content:space-between;gap:20px;align-items:center}.specials-heading h3{font-size:23px;font-weight:500}.specials-heading p{font-size:13px;color:#bdb1d2}.specials{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;margin-top:32px}.specials article{display:flex;align-items:center;gap:22px}.specials h4{font-size:18px;font-weight:550;margin-bottom:4px}.specials p{font-size:12px;color:#bdb1d2}.power-cube{width:51px;height:54px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1px solid #fff8;box-shadow:inset -10px -6px #0002,0 0 24px #42e5ff22;border-radius:4px;transform:rotate(-8deg) skewY(8deg);font-size:28px;color:white}.cyan{background:#42bede}.amber{background:#eaa735}.pink{background:#ca62d6}.worlds{background:#37245e;padding-top:90px;padding-bottom:90px}.world-intro p{margin-bottom:22px}.gallery-controls{display:flex;gap:10px}.world-gallery{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#8d70b2 transparent;padding-bottom:20px}.world-card{min-width:calc((100% - 48px)/3);width:calc((100% - 48px)/3);flex-shrink:0;padding:0;text-align:left;border-radius:16px;overflow:hidden;border:1px solid #c9acef40;background:#261a46;scroll-snap-align:start;transition:transform .25s}.world-card:hover{transform:translateY(-4px)}.world-card img{width:100%;height:245px;object-fit:cover}.world-card>span{display:block;padding:24px;position:relative}.world-card strong{display:block;font-size:20px;letter-spacing:-.03em;font-weight:550}.world-card small{display:block;font-size:12px;color:#c2b3d5;margin-top:8px}.world-card b{position:absolute;right:25px;top:26px;font-weight:400;font-size:22px;color:#cbb0f4}.mobile-section{position:relative;isolation:isolate;overflow:hidden;min-height:510px;display:flex;align-items:center;justify-content:center;text-align:center;background:#30225b}.mobile-art{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#241642b5,#24164255,#241642b5),linear-gradient(#24164288,#24164266),url('/assets/astral.webp') center/cover}.mobile-copy{padding:75px 25px}.mobile-copy h2{font-size:clamp(38px,4.5vw,62px);margin-bottom:18px}.mobile-copy>p:not(.eyebrow){color:#e0d8eb}.store-badges{display:flex;justify-content:center;gap:14px;margin-top:30px}.store-badge{display:flex;align-items:center;gap:12px;background:#08060a;border:1px solid #ffffff65;border-radius:11px;padding:12px 20px;text-align:left;min-width:185px}.store-badge img{width:29px;height:32px}.store-badge span{display:flex;flex-direction:column}.store-badge small{font-size:10px;color:#eee;line-height:1.3}.store-badge strong{font-size:22px;font-weight:500;line-height:1.25;letter-spacing:-.025em}.play-logo{display:block!important;width:36px;height:40px;background:url('/assets/google-play.png') -30.7px -26.3px/239px 92.5px no-repeat;flex-shrink:0}.release-note{font-size:11px;margin-top:19px;color:#c1b3d6!important}.faq{display:grid;grid-template-columns:1fr 1.5fr;gap:80px}.faq>div>p:last-child{margin-top:25px;font-size:14px;color:#bdb1d2}.faq a{text-decoration:underline;text-underline-offset:4px}.faq-items{border-top:1px solid #bea0ef35}details{border-bottom:1px solid #bea0ef35;padding:23px 0}summary{font-size:16px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-size:23px;color:#bb9fe5;font-weight:300}details[open] summary:after{content:'−'}details p{color:#bdb1d2;font-size:14px;padding:18px 35px 0 0}.site-footer{border-top:1px solid #bea0ef35;margin:0 5%;padding:45px 0 23px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:25px}.site-footer .wordmark{font-size:14px}.site-footer p{font-size:12px;color:#ae9cc6;margin-top:12px}.site-footer nav{display:flex;align-items:flex-start;gap:24px;font-size:12px}.footer-bottom{width:100%;display:flex;justify-content:space-between;color:#9e8db6;font-size:10px;padding-top:30px;gap:20px}dialog{border:1px solid #c4a9f788;background:#2b194b;color:#fff8ed;border-radius:20px;padding:0;max-width:min(1100px,90vw);max-height:90vh;overflow:auto}dialog::backdrop{background:#0b0528cc;backdrop-filter:blur(8px)}dialog>img{max-height:70vh;object-fit:cover}dialog>div{padding:24px}dialog h2{font-size:29px}dialog p{font-size:13px;margin-top:10px;color:#d8c4ed}.dialog-close{position:absolute;right:15px;top:15px;background:#1b103abf;border:1px solid #fff6;width:40px;height:40px;border-radius:50%;font-size:25px;z-index:1}.legal-page{background:#23164c}.legal-content{max-width:800px;margin:0 auto;padding:60px 25px}.legal-content h1{font-size:48px;margin-bottom:25px}.legal-content h2{font-size:25px;margin-top:35px;margin-bottom:15px}.legal-content p,.legal-content li{color:#d4c6e8;line-height:1.75}.legal-content a{text-decoration:underline}
@media(min-width:1600px){.hero-art{background-size:100% auto}.hero{min-height:950px}.preview-wrap{height:520px}}
@media(max-width:1000px){.site-header{padding:23px 5%}.site-header nav{gap:20px}.nav-cta{display:none}.hero{min-height:820px}.hero-copy{padding-top:125px}.preview-wrap{height:440px}.platform-note{display:none}.section{padding:75px 5%}.section-intro{gap:25px}.section-intro>p,.world-intro{max-width:310px}.how-grid{gap:20px}.how-grid article+article{padding-left:20px}.specials{gap:20px}.specials article{gap:14px}.specials p{font-size:11px}.world-card{min-width:calc((100% - 24px)/2);width:calc((100% - 24px)/2)}.faq{gap:45px}}
@media(max-width:640px){.site-header{height:78px;padding:25px 6%}.wordmark{font-size:12px;letter-spacing:.28em}.site-header nav{gap:18px;font-size:12px}.site-header nav a[href='/support/']{display:none}.hero{min-height:auto}.hero-art{background-size:auto 82%;background-position:52% 90%}.hero-art:after{background:linear-gradient(#302573 0%,#302573ee 22%,#33227755 44%,#33227700 75%,#35215c90)}.hero-copy{padding:113px 22px 0}.hero-headline{font-size:45px;max-width:500px;margin:auto}.hero-subtitle{font-size:19px;margin-top:18px}.mobile-line{font-size:12px;max-width:260px;margin:14px auto 0;line-height:1.6}.button-glass{padding:13px 22px;font-size:13px;margin-top:20px}.preview-wrap{height:350px;margin-top:0}.preview-status{font-size:10px;bottom:6px}.preview-toolbar{padding:16px 18px 20px;display:block;text-align:center}.scene-label{flex-direction:row;justify-content:center;align-items:center;gap:12px;font-size:12px;margin-bottom:15px}.scene-label span{font-size:10px}.preview-actions{justify-content:center;gap:10px}.preview-actions .drag-label{display:none}.button-small{padding:11px 19px}.icon-button{width:32px;height:32px;font-size:18px}.section{padding:65px 6%}.section-intro{display:block;margin-bottom:35px}.section-intro>p,.world-intro{margin-top:23px;max-width:none}.section-intro p:not(.eyebrow){font-size:14px}h2{font-size:37px}.eyebrow{font-size:10px;margin-bottom:15px}.how-grid{grid-template-columns:1fr;gap:30px}.how-grid article{display:grid;grid-template-columns:110px 1fr;column-gap:24px;align-items:center}.how-grid article+article{padding:25px 0 0;border-left:0;border-top:1px solid #bea0ef25}.how-grid h3{font-size:20px;margin:0 0 8px}.how-grid p{font-size:12px;grid-column:2;align-self:start}.mechanic{grid-row:1/3;width:110px;height:120px;transform:scale(.65);transform-origin:center;overflow:visible}.clear-art{transform:scale(.64) rotate(-12deg);width:170px;margin-left:-30px}.mini-board{flex-shrink:0}.orbit-ring{bottom:0}.specials-heading{margin-top:40px;padding-top:28px;display:block}.specials-heading h3{font-size:22px}.specials-heading p{margin-top:10px}.specials{grid-template-columns:1fr;gap:25px;margin-top:26px}.specials article{gap:23px}.specials p{font-size:12px}.power-cube{width:43px;height:45px;font-size:25px}.world-intro{display:flex;align-items:center;gap:25px}.world-intro p{margin-bottom:0}.gallery-controls{flex-shrink:0}.world-gallery{margin-right:-6.8vw;padding-right:6.8vw;gap:16px}.world-card{min-width:86%;width:86%}.world-card img{height:230px}.world-card>span{padding:20px}.world-card strong{font-size:18px}.mobile-section{min-height:500px}.mobile-copy{padding:60px 20px}.mobile-copy h2{font-size:39px}.mobile-copy>p{font-size:14px}.store-badges{gap:10px}.store-badge{min-width:0;padding:12px;gap:9px}.store-badge strong{font-size:19px}.store-badge small{font-size:9px}.store-badge img{width:24px}.play-logo{transform:scale(.85);margin:-3px}.faq{grid-template-columns:1fr;gap:30px}.site-footer{margin:0 6%;padding-top:32px}.site-footer nav{width:100%;gap:20px;font-size:11px}.footer-bottom{font-size:9px;display:block;padding-top:16px}.footer-bottom span{display:block;margin-top:12px}dialog h2{font-size:25px}.legal-content h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
@media(min-width:641px) and (max-height:850px){.hero{min-height:0}.hero-copy{padding-top:108px}.hero-headline{font-size:clamp(44px,5vw,68px)}.hero-subtitle{font-size:23px;margin-top:14px}.mobile-line{font-size:12px;margin-top:9px}.button-glass{padding:12px 25px;font-size:14px;margin-top:17px}.preview-wrap{height:345px}.preview-toolbar{min-height:75px;padding-top:12px;padding-bottom:12px}}
@media(max-width:640px){.world-gallery{margin-right:-6vw;padding-right:6vw}}

/* The cube and landing tile share one isometric footprint and vertical guides. */
.drop-stage {
  position: relative;
  width: 160px;
  height: 150px;
  flex-shrink: 0;
}
.drop-art .drop-cube {
  left: 50%;
  top: 12px;
  width: 60px;
  height: 60px;
  transform: translateX(-50%);
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 0 12px #60d8ff40);
}
.drop-cube i {
  position: absolute;
  inset: 0;
}
.drop-cube .cube-top {
  clip-path: polygon(50% 0, 100% 25%, 50% 50%, 0 25%);
  background: #a7f2f8;
}
.drop-cube .cube-left {
  clip-path: polygon(0 25%, 50% 50%, 50% 100%, 0 75%);
  background: #68d5e4;
}
.drop-cube .cube-right {
  clip-path: polygon(50% 50%, 100% 25%, 100% 75%, 50% 100%);
  background: #36a9c8;
}
.drop-art .drop-guide {
  left: calc(50% - 30px);
  top: 57px;
  width: 60px;
  height: 71px;
  border: 0;
  border-left: 1px dashed #b4d8ed88;
  border-right: 1px dashed #b4d8ed88;
  background: none;
}
.drop-guide::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 15px;
  height: 71px;
  border-left: 1px dashed #b4d8edbb;
}
.drop-art .landing {
  left: 50%;
  bottom: 7px;
  width: 60px;
  height: 30px;
  transform: translateX(-50%);
  border: 0;
  background: #a7f2f8;
  box-shadow: none;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.drop-art .landing::after {
  content: '';
  position: absolute;
  inset: 2px 3px;
  background: #625090;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.block-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 4%;
  background: #30246188;
  backdrop-filter: blur(16px);
  border-top: 1px solid #ddcbff35;
}
.picker-label { font-size: 12px; color: #e7dff4; }
#block-choices { display: flex; gap: 8px; }
#block-choices button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid #ddd1fb35;
  background: #23164c60;
  border-radius: 12px;
  font-size: 12px;
  transition: background .2s, border-color .2s;
}
#block-choices button:hover { background: #c5acf52b; }
#block-choices button[aria-pressed="true"] {
  border-color: #ddd0ff;
  background: #b69bed40;
  box-shadow: 0 0 0 1px #ddd0ff25;
}
.block-symbol { font-size: 22px; line-height: 1; color: #78ddff; }
[data-block="blast"] .block-symbol { color: #ffb06e; }
[data-block="breaker"] .block-symbol { color: #c4a2ff; }
[data-block="spark"] .block-symbol { color: #ffa0da; }
[data-block="filler"] .block-symbol { color: #94f7bb; }
@media(max-width:1000px) {
  .block-picker { flex-direction: column; gap: 10px; }
}
@media(max-width:640px) {
  .block-picker { padding: 13px 14px 15px; }
  .picker-label { font-size: 11px; }
  #block-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; gap: 6px; }
  #block-choices button { flex-direction: column; padding: 10px 3px; font-size: 10px; line-height: 1.3; gap: 8px; border-radius: 10px; }
  #block-choices button span:last-child { min-height: 26px; display: flex; align-items: center; }
  .block-symbol { font-size: 24px; }
}

/* Keep the primary action centred above its feedback and the block choices. */
.preview-wrap { height: auto; }
.preview-wrap canvas { height: 460px; }
.preview-feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 12px 14px;
}
.preview-feedback .button { min-width: 132px; min-height: 44px; }
.preview-feedback .preview-status {
  position: static;
  max-width: 100%;
  margin: 0;
}
.sound-toggle {
  min-height: 36px;
  min-width: 88px;
  padding: 8px 13px;
  border: 1px solid #ddd1fb50;
  border-radius: 24px;
  background: #bba1f51a;
  font-size: 12px;
}
.sound-toggle:hover { background: #bba1f53b; }
.sound-toggle[aria-pressed="false"] { background: transparent; color: #d3c7e6; }
@media(min-width:641px) and (max-height:850px) {
  .preview-wrap canvas { height: 345px; }
}
@media(max-width:640px) {
  .preview-wrap canvas { height: 350px; }
  .preview-feedback { gap: 10px; padding-bottom: 12px; }
  .sound-toggle { min-height: 44px; }
}

.preview-round {
  position: absolute;
  top: 18px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f0e6ff;
  font-size: 11px;
  pointer-events: none;
}
#preview-progress {
  border: 1px solid #e7d9ff50;
  border-radius: 24px;
  padding: 8px 12px;
  background: #30205280;
  backdrop-filter: blur(8px);
  font-weight: 650;
}
.preview-help { font-size: 12px; color: #f7f0ff; text-align: center; background: #30205280; border-radius: 24px; padding: 5px 14px; text-shadow: 0 1px 6px #251945; }
.piece-controls, .movement-controls, .piece-turns { display: flex; align-items: center; gap: 6px; }
.piece-controls { gap: 15px; }
.piece-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #e7d9ff55;
  border-radius: 12px;
  background: #30205285;
  backdrop-filter: blur(8px);
  font-size: 12px;
}
.movement-controls button { font-size: 22px; line-height: 1; }
.piece-controls button:hover { background: #7351b5bb; }
.piece-controls button:active { background: #a385dccc; }
[data-block="normal"] .block-symbol { color: #e0c0ff; }
.preview-actions .text-button { min-height: 44px; }
@media(max-width:640px) {
  .preview-round { left: 16px; top: 12px; gap: 8px; font-size: 10px; }
  .preview-round>span:last-child { display: none; }
  .preview-help { font-size: 11px; max-width: 320px; }
  .piece-controls { gap: 10px; }
  .piece-turns button { padding-left: 10px; padding-right: 10px; }
  #block-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #block-choices button { flex-direction: row; justify-content: center; gap: 8px; padding: 9px 5px; }
  .preview-actions { gap: 6px; flex-wrap: wrap; }
}

body { overflow-x:clip; }

/* Skyrows brand: a bright cloudscape with clear blue lettering and glass controls. */
.site-header { height: 132px; padding: 20px 4%; color: #183b78; }
.brand-logo { display: block; flex: 0 0 auto; width: 246px; }
.brand-logo img { width: 100%; height: auto; }
.site-header a:hover { color: #5932ad; }
.site-header .nav-cta { border-color: #ffffffa8; background: #ffffff65; }
.hero { background: #a5d8fc; color: #183b78; }
.hero-art { background: url('/assets/skyrows-cloudscape.png') center center / cover no-repeat; }
.hero-art:after {
  background: linear-gradient(180deg, #e9f7ff20 0%, #e8f6ff08 26%, #c3a9f52b 40%, #b39beea8 56%, #a084df96 80%, #8e70ce8f 100%);
}
.hero-copy { padding-top: 164px; }
.hero-headline { color: #183b78; text-shadow: 0 2px 18px #ffffff38; }
.hero-subtitle { color: #244780; }
.mobile-line { color: #385784; }
.hero .button { color: #fff; border-color: #ffffff85; background: linear-gradient(115deg, #196ac9, #7554da); box-shadow: 0 7px 22px #415aa42a; }
.hero .button:hover { color: #fff; background: linear-gradient(115deg, #155bb3, #6544ca); }
.hero .button-glass { background: #ffffffb0; color: #254481; border-color: #ffffffe0; box-shadow: 0 5px 24px #5379ad15; }
.hero .button-glass:hover { background: #ffffffe6; color: #5034a1; }
.hero :focus-visible, .site-header :focus-visible { outline-color: #4f39ab; }
.preview-round { color: #284879; }
#preview-progress { color: #254477; background: #ffffffba; border-color: #ffffffe6; }
.hero .preview-help, .hero .preview-status { color: #284879; background: #ffffffb8; text-shadow: none; box-shadow: 0 2px 12px #6176aa0d; }
.piece-controls button { color: #2b467b; background: #ffffffb0; border-color: #ffffffdf; box-shadow: 0 2px 12px #6176aa14; }
.piece-controls button:hover { background: #ffffffea; }
.piece-controls button:active { background: #d9c8fa; }
.block-picker { background: #e5eeff99; border-color: #ffffff8c; }
.picker-label { color: #304b7a; }
#block-choices button { background: #ffffff79; border-color: #ffffffbd; color: #314675; }
#block-choices button:hover { background: #ffffffe0; }
#block-choices button[aria-pressed="true"] { color: #452b87; border-color: #8870ca; background: #e4dafbdf; box-shadow: 0 0 0 1px #a995d52b; }
.block-symbol { color: #087eaa; }
[data-block="normal"] .block-symbol { color: #7450ba; }
[data-block="blast"] .block-symbol { color: #b46b0d; }
[data-block="breaker"] .block-symbol { color: #8253c3; }
[data-block="spark"] .block-symbol { color: #bc389a; }
[data-block="filler"] .block-symbol { color: #197c65; }
.preview-toolbar { color: #f4f6ff; background: #363b769c; border-color: #ffffff40; }
.scene-label span, .platform-note { color: #e1e9ff; }
.preview-toolbar .sound-toggle[aria-pressed="false"] { color: #e1e9ff; }
.preview-toolbar .text-button:hover { color: #b8f1ff; }
@media(min-width:641px) and (max-height:850px) {
  .site-header { height: 116px; padding-top: 12px; padding-bottom: 12px; }
  .brand-logo { width: 224px; }
  .hero-copy { padding-top: 140px; }
}
@media(max-width:640px) {
  .site-header { height: 104px; padding: 16px 5%; gap: 16px; }
  .brand-logo { width: 164px; }
  .site-header nav { gap: 16px; font-size: 12px; }
  .hero-copy { padding-top: 130px; }
  .hero-art { background-image: url('/assets/skyrows-cloudscape-mobile.png'); background-size: cover; background-position: center center; }
  .hero-art:after { background: linear-gradient(180deg, #eff8ff20, #e8f6ff08 25%, #c3a9f538 38%, #b39beea8 51%, #a084df96 78%, #8e70ce8f); }
}
@media(max-width:360px) {
  .site-header { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .brand-logo { width: 142px; }
  .site-header nav { gap: 13px; }
}

/* Pointer interaction should not frame the whole scene; keyboard focus stays visible. */
#preview-board[data-pointer-focus="true"]:focus { outline: none; }

/* Keep the two mobile-store badges together, including on narrow phones. */
.store-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 410px; margin-left: auto; margin-right: auto; }
.store-badge { min-width: 0; color: #fff; justify-content: center; }
.store-badge > span { flex-shrink: 0; }
.store-badge strong, .store-badge small { white-space: nowrap; }
.hero-store-badges { margin-top: 25px; }
@media(max-width:640px) {
  .store-badges { gap: 8px; max-width: 350px; }
  .store-badge { padding: 11px 8px; gap: 7px; }
  .store-badge strong { font-size: clamp(16px, 4.4vw, 19px); }
  .store-badge small { font-size: 8px; }
  .store-badge img { width: 24px; flex-shrink: 0; }
  .store-badge .play-logo { transform: scale(.72); margin: -5px; }
}
