/* Lever worlds 5 to 7 (ch-worlds-5-7.js). Every class starts with wa-. */
.wa-stack { display: grid; }
.wa-stack__i { display: grid; gap: 10px; align-content: start; }
.wa-w .am-note { color: rgb(255 255 255 / .88); }
.scene .wa-chip { color: #fff; background: rgb(7 9 16 / .94); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); font-size: 15px; line-height: 1.25; transition: opacity .45s; }
.scene .wa-chip.is-off { opacity: 0; }
.scene:not(.is-active) .wa-chip { transition: none; }
.scene .wa-chip--warm { color: #FFE6C6; box-shadow: inset 0 0 0 1px rgb(255 214 160 / .35); }
.scene .wa-chip--o { color: #FFC08F; box-shadow: inset 0 0 0 1px rgb(255 127 50 / .5); }
.scene .wa-chip--rose { color: #F2C2B6; box-shadow: inset 0 0 0 1px rgb(225 140 120 / .5); }
.scene .wa-chip--bin { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.wa-w .am--full .am-side, .wa-w .am--right .am-side { position: relative; }
.wa-w .am--full .am-side::before, .wa-w .am--right .am-side::before { content: ""; position: absolute; z-index: -1; inset: -14px -16px; border-radius: 10px; background: radial-gradient(120% 120% at 30% 40%, rgb(5 6 10 / .7), rgb(5 6 10 / 0) 75%); pointer-events: none; }
.wa-quote { margin: 0; padding-left: 14px; border-left: 2px solid rgb(225 181 168 / .7); font-size: clamp(16px, 1.32vw, 21px); line-height: 1.45; color: #fff; max-width: 26em; }
.wa-lead { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.wa-lead line { stroke: rgb(255 255 255 / .55); stroke-width: 1; }
@media (max-width: 959px), (max-height: 599px) { .wa-quote { font-size: 15px; line-height: 1.38; padding-left: 10px; } }
@media (max-width: 759px) and (orientation: portrait) { .wa-w .am--full .am-side::before, .wa-w .am--right .am-side::before { inset: -10px -10px; } }

/* compact landscape: title full width, side text in a right column under it, so the wide 3D gets the left side */
@media (max-width: 959px) and (orientation: landscape), (max-height: 599px) and (orientation: landscape) {
  .scene.wa-rc .am--full { grid-template-columns: minmax(0, 1fr) minmax(0, 15em); }
  .wa-rc .am--full .am-t { grid-column: 1 / -1; max-width: 100%; }
  .wa-rc .am--full .am-side { grid-column: 2; grid-row: 2 / 4; max-width: none; }
}

/* compact landscape, layout right: title and side text share a left column, so the tall 3D subject gets the full height on the right */
@media (max-width: 959px) and (orientation: landscape), (max-height: 599px) and (orientation: landscape) {
  .scene.wa-cs .am--right { grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr); grid-template-rows: auto auto minmax(0, 1fr); }
  .wa-cs .am--right .am-t { grid-column: 1; grid-row: 1; max-width: 100%; }
  .wa-cs .am--right .am-side { grid-column: 1; grid-row: 2; max-width: none; }
}
@media (max-height: 439px) and (orientation: landscape) { .wa-cs .am--right .am-t { font-size: 22px; } }
