/* Goblin Falls: the machine (a three.js canvas) beside its controls; one column on a phone */
#falls .shopcard { max-width: 940px; width: min(940px, calc(100vw - 32px)); }
.flbody { display: flex; gap: 18px; align-items: flex-start; margin-top: 12px; text-align: left; }
.flscreen { position: relative; flex: 1 1 auto; min-width: 0; aspect-ratio: 4 / 4.2; max-height: 72vh; border: 3px solid var(--wk-ink, #0a0612); border-radius: 8px; overflow: hidden; background: #06080e; }
.flscreen canvas { display: block; width: 100%; height: 100%; touch-action: manipulation; cursor: pointer; }
.flload { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-dim); font-family: var(--f-ui); }
.flpop { position: absolute; transform: translate(-50%, 0); pointer-events: none; white-space: nowrap; font-family: var(--f-ui); font-weight: 800; font-size: 20px; color: var(--wk-potion, #7aff2a); text-shadow: 2px 2px 0 #0a0612; animation: flrise 1.3s ease-out forwards; }
.flpop.big { color: var(--wk-magenta, #ff3ac0); font-size: 22px; }
@keyframes flrise { to { transform: translate(-50%, -70px); opacity: 0; } }
.flside { width: 270px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.flside .gob.big { margin-top: 0; min-height: 56px; }
.flside .chip { min-height: 44px; }
.flowed { margin: 0; font-family: var(--f-ui); font-size: 14px; color: var(--ink-dim); }
.flprizes, .fllog { display: grid; gap: 3px; font-family: var(--f-ui); font-size: 14px; background: rgba(0, 0, 0, 0.3); border: 2px solid var(--wk-ink, #0a0612); border-radius: 8px; padding: 8px 10px; }
.flprizes div { display: flex; justify-content: space-between; gap: 8px; }
.flprizes span, .fllog span { color: var(--ink-dim); }
.fllog { max-height: 120px; overflow-y: auto; }
.fllog span.win { color: var(--wk-potion, #7aff2a); }
.fllog span.prize { color: var(--wk-magenta, #ff3ac0); }
@media (max-width: 720px) {
  .flbody { flex-direction: column; align-items: stretch; }
  .flside { width: auto; }
  .flscreen { aspect-ratio: 3 / 3.9; max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .flpop { animation-duration: 0.01s; } }
