.fx-tiles{--fx-v0:visible;--fx-v1:hidden;--fx-v2:hidden;--fx-v3:hidden;--fx-v4:hidden;--fx-v5:hidden;--fx-v6:hidden;--fx-end:hidden;--fx-halo:0px;--fx-bare:var(--fx-sky-pale);--fx-bubble:var(--fx-paper);display:grid;}
.fx-tiles:has(.fx-tiles-choices > :nth-child(1 of input:checked)){--fx-v0:hidden;--fx-v1:visible;}
.fx-tiles:has(.fx-tiles-choices > :nth-child(2 of input:checked)){--fx-v1:hidden;--fx-v2:visible;}
.fx-tiles:has(.fx-tiles-choices > :nth-child(3 of input:checked)){--fx-v2:hidden;--fx-v3:visible;}
.fx-tiles:has(.fx-tiles-choices > :nth-child(4 of input:checked)){--fx-v3:hidden;--fx-v4:visible;--fx-bare:var(--fx-sun-pale);--fx-bubble:var(--fx-coral-pale);}
.fx-tiles:has(.fx-tiles-choices > :nth-child(5 of input:checked)){--fx-v4:hidden;--fx-v5:visible;--fx-bare:var(--fx-sky-pale);--fx-bubble:var(--fx-paper);}
.fx-tiles:has(.fx-tiles-choices > :nth-child(6 of input:checked)){--fx-v5:hidden;--fx-v6:visible;--fx-end:visible;--fx-halo:5px;--fx-bubble:var(--fx-coral-pale);}
.fx-tiles .fx-tiles-body{display:grid;gap:16px;min-width:0;color:var(--fx-ink);font-size:16px;line-height:1.45;}
.fx-tiles .fx-tiles-body *{box-sizing:border-box;}
.fx-tiles .fx-note ol{margin:0;padding-left:24px;}
.fx-tiles .fx-tiles-goal,.fx-tiles .fx-tiles-help{margin:0;}
.fx-tiles .fx-tiles-controls{min-width:0;margin:0;padding:0;border:0;}
.fx-tiles .fx-tiles-controls legend{max-width:100%;padding:0;margin-bottom:8px;font-weight:800;}
.fx-tiles .fx-tiles-help{margin-bottom:12px;}
.fx-tiles .fx-tiles-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.fx-tiles .fx-tiles-choices input,.fx-tiles .fx-tiles-choices .fx-btn{visibility:hidden;}
.fx-tiles .fx-tiles-choices .fx-btn{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:8px;border:2px solid var(--fx-ink);border-radius:10px;background:var(--fx-paper);color:var(--fx-ink);text-align:center;font-size:16px;cursor:pointer;}
.fx-tiles .fx-tiles-choices input:first-child,.fx-tiles .fx-tiles-choices input:first-child + label,.fx-tiles .fx-tiles-choices input:checked,.fx-tiles .fx-tiles-choices input:checked + label,.fx-tiles .fx-tiles-choices input:checked + label + input,.fx-tiles .fx-tiles-choices input:checked + label + input + label{visibility:visible;}
.fx-tiles .fx-tiles-choices input:checked + label{background:var(--fx-mint);}
.fx-tiles .fx-tiles-choices input:focus-visible + label{outline:3px solid var(--fx-grape);outline-offset:2px;}
.fx-tiles:not(:has(.fx-tiles-choices input:checked)) .fx-tiles-choices label:first-of-type{animation:fx-tiles-pulse 0.7s 4 alternate;}
.fx-tiles .fx-stage{position:relative;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;gap:8px;height:480px;min-width:0;padding:12px;overflow:hidden;color:var(--fx-ink);}
.fx-tiles .fx-stage p{margin:0;}
.fx-tiles .fx-tiles-bubble{padding:8px;border:2px solid var(--fx-ink);border-radius:12px;background:var(--fx-bubble);}
.fx-tiles .fx-tiles-cross{visibility:var(--fx-end);font-weight:800;}
.fx-tiles .fx-tiles-world{position:relative;min-height:0;perspective:700px;}
.fx-tiles .fx-tiles-floor{position:absolute;left:50%;top:48%;width:min(66%,210px);aspect-ratio:1;display:flex;flex-direction:column;border:2px solid var(--fx-ink);transform:translate(-50%,-50%) rotateX(42deg) rotateZ(-14deg);transform-style:preserve-3d;box-shadow:0 0 0 var(--fx-halo) var(--fx-mint);}
.fx-tiles .fx-tiles-row{display:flex;flex:1 1 0;min-height:0;transform-style:preserve-3d;}
.fx-tiles .fx-tiles-cell{position:relative;flex:1 1 0;min-width:0;border:1px solid var(--fx-ink);background:var(--fx-bare);transform-style:preserve-3d;}
.fx-tiles .fx-tiles-tile{position:absolute;inset:0;border:1px solid var(--fx-ink);background:var(--fx-mint);transform:translateZ(80px) scale(0);transition:transform 0.5s;}
.fx-tiles:has(#fx-tiles-row1:checked) .fx-tiles-r1 .fx-tiles-tile,.fx-tiles:has(#fx-tiles-row2:checked) .fx-tiles-r2 .fx-tiles-tile,.fx-tiles:has(#fx-tiles-row3:checked) .fx-tiles-r3 .fx-tiles-tile,.fx-tiles:has(#fx-tiles-row4:checked) .fx-tiles-r4 .fx-tiles-tile,.fx-tiles:has(#fx-tiles-row5:checked) .fx-tiles-r5 .fx-tiles-tile,.fx-tiles:has(#fx-tiles-row6:checked) .fx-tiles-r6 .fx-tiles-tile{transform:translateZ(3px) scale(1);}
.fx-tiles .fx-tiles-front{position:absolute;top:100%;left:0;width:100%;padding-top:8px;text-align:center;font-size:16px;font-weight:800;}
.fx-tiles .fx-tiles-side{position:absolute;right:100%;top:50%;white-space:nowrap;transform:translate(28px,-50%) rotateZ(-90deg);transform-origin:center;font-size:16px;font-weight:800;}
.fx-tiles .fx-tiles-edge{position:absolute;inset:-6px;border:3px dashed var(--fx-coral);visibility:var(--fx-end);transform:translateZ(5px);}
.fx-tiles .fx-tiles-sample{display:flex;align-items:center;gap:10px;}
.fx-tiles .fx-tiles-loose{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;border:2px solid var(--fx-ink);background:var(--fx-mint);font-weight:800;}
.fx-tiles .fx-tiles-key{display:flex;flex-wrap:wrap;gap:8px 16px;}
.fx-tiles .fx-tiles-key span{display:inline-flex;align-items:center;gap:6px;}
.fx-tiles .fx-tiles-key i{display:inline-block;width:16px;height:16px;border:1px solid var(--fx-ink);}
.fx-tiles .fx-tiles-bare{background:var(--fx-bare);}
.fx-tiles .fx-tiles-laid{background:var(--fx-mint);}
.fx-tiles .fx-tiles-perimeter{visibility:var(--fx-end);font-weight:800;text-align:center;}
.fx-tiles .fx-tiles-stack{display:grid;min-width:0;}
.fx-tiles .fx-tiles-state{grid-area:1 / 1;margin:0;}
.fx-tiles .fx-score{font-size:28px;line-height:1.2;}
.fx-tiles .fx-tiles-s0{visibility:var(--fx-v0);}
.fx-tiles .fx-tiles-s1{visibility:var(--fx-v1);}
.fx-tiles .fx-tiles-s2{visibility:var(--fx-v2);}
.fx-tiles .fx-tiles-s3{visibility:var(--fx-v3);}
.fx-tiles .fx-tiles-s4{visibility:var(--fx-v4);}
.fx-tiles .fx-tiles-s5{visibility:var(--fx-v5);}
.fx-tiles .fx-tiles-s6{visibility:var(--fx-v6);}
.fx-tiles:has(.fx-tiles-choices > :nth-child(4 of input:checked)):not(:has(.fx-tiles-choices > :nth-child(5 of input:checked))) .fx-tiles-bubble{animation:fx-tiles-flash 0.55s 4 alternate;}
@keyframes fx-tiles-pulse{from{border-color:var(--fx-ink);}to{border-color:var(--fx-coral);}}
@keyframes fx-tiles-flash{from{background:var(--fx-coral-pale);}to{background:var(--fx-sun);}}
@container (max-width: 480px){.fx-tiles .fx-tiles-choices{grid-template-columns:1fr;}.fx-tiles .fx-stage{height:500px;}}
@media (prefers-reduced-motion: reduce){.fx-tiles .fx-tiles-body *{animation-duration:0s!important;transition:none!important;}}