/* Slot machine + picture book ------------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.draw-page { max-width: var(--max); }
.draw-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

.machine-stage {
  display: flex; justify-content: center; padding: 56px 16px 8px; overflow: hidden;
  background: radial-gradient(circle at 50% 28%, #fbf1ee, var(--oat) 72%);
}

/* The machine is sized in em: 1em = 1/38 of its width, so it scales as one piece. */
.slot-machine {
  --machine: min(440px, calc(100vw - 64px));
  --shell: #f3d9d3; --shell-deep: #e4b8b0; --gold: #c9a15a; --gold-light: #efdcaa; --gold-deep: #9a773a; --cream: #fbf6ee; --cell: 5.4em;
  position: relative; width: 38em; font-size: calc(var(--machine) / 38); user-select: none; -webkit-user-select: none;
}

.machine-crown {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 22em; height: 6.6em; margin: 0 0 -1em 5em; padding-top: .8em;
  border: .32em solid var(--gold); border-bottom: 0; border-radius: 11em 11em 1em 1em;
  background: linear-gradient(180deg, #f9e6e1, var(--shell-deep));
  box-shadow: inset 0 .5em .8em rgba(255, 255, 255, .6);
}
.crown-kicker { color: #a0766d; font-size: .8em; letter-spacing: .34em; text-transform: uppercase; }
.machine-crown strong { font-family: var(--serif); font-size: 2.3em; font-style: italic; font-weight: 500; line-height: 1.05; color: var(--ink); }

.machine-body {
  position: relative; z-index: 1; width: 32em; padding: 2.8em 3em 2.2em; border-radius: 5em 5em 2.4em 2.4em;
  background: radial-gradient(120% 90% at 30% 12%, #fcece8, var(--shell) 55%, var(--shell-deep));
  box-shadow: inset 0 .5em 1em rgba(255, 255, 255, .7), inset 0 -1.2em 2em rgba(160, 90, 80, .2), 0 2.4em 3em -1em rgba(110, 60, 50, .28);
}
.machine-body::before, .machine-body::after {
  content: ""; position: absolute; top: 3.4em; bottom: 3.4em; width: .8em;
  background: radial-gradient(circle, var(--gold-light) 0 .2em, var(--gold) .21em .34em, transparent .36em) center top / .8em 1.9em repeat-y;
}
.machine-body::before { left: 1.1em; }
.machine-body::after { right: 1.1em; }

.machine-window {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; padding: .7em; border-radius: 1.8em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  box-shadow: inset 0 .2em .3em rgba(255, 255, 255, .5), 0 .3em .6em rgba(110, 70, 40, .25);
}
.reel {
  position: relative; height: calc(var(--cell) * 3); overflow: hidden; border-radius: 1.1em; background: var(--cream);
  box-shadow: inset 0 .7em 1em rgba(90, 60, 40, .16), inset 0 -.7em 1em rgba(90, 60, 40, .16);
}
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(251, 246, 238, .92), transparent 30%, transparent 70%, rgba(251, 246, 238, .92)); }
.reel-strip { will-change: transform; }
.reel-strip.blur { filter: blur(.1em); }
.reel-cell { display: grid; height: var(--cell); place-items: center; }
.symbol { width: 3.8em; height: 3.8em; }
.reel-cell.rare .symbol { filter: drop-shadow(0 0 .3em rgba(201, 161, 90, .55)); }
.payline { position: absolute; z-index: 2; top: 50%; left: .15em; right: .15em; height: .14em; margin-top: -.07em; background: rgba(201, 161, 90, .75); pointer-events: none; }
.payline::before, .payline::after { content: ""; position: absolute; top: 50%; border: .45em solid transparent; transform: translateY(-50%); }
.payline::before { left: -.2em; border-left-color: var(--gold-deep); }
.payline::after { right: -.2em; border-right-color: var(--gold-deep); }

.machine-bulbs { display: flex; justify-content: center; gap: 1.1em; margin: 1.8em 0 1.5em; }
.machine-bulbs i {
  width: 1.2em; height: 1.2em; border-radius: 50%; opacity: .5; transition: opacity .3s ease, box-shadow .3s ease;
  background: radial-gradient(circle at 35% 35%, #fff8e6, #e8cf93 45%, #b58d4a);
}
[data-state="armed"] .machine-bulbs i, [data-state="printing"] .machine-bulbs i, [data-state="printed"] .machine-bulbs i { opacity: 1; box-shadow: 0 0 .7em .1em rgba(242, 205, 120, .7); }
[data-state="spinning"] .machine-bulbs i { animation: bulb-chase .9s ease-in-out infinite; }
.machine-bulbs i:nth-child(2) { animation-delay: .1s; } .machine-bulbs i:nth-child(3) { animation-delay: .2s; } .machine-bulbs i:nth-child(4) { animation-delay: .3s; }
.machine-bulbs i:nth-child(5) { animation-delay: .4s; } .machine-bulbs i:nth-child(6) { animation-delay: .5s; } .machine-bulbs i:nth-child(7) { animation-delay: .6s; }
.won .machine-bulbs i { animation: bulb-flash .5s ease-in-out 4; }
.won-rare .machine-bulbs i { animation: bulb-flash .28s ease-in-out 10; }
@keyframes bulb-chase { 0%, 100% { opacity: .45; box-shadow: none; } 50% { opacity: 1; box-shadow: 0 0 .9em .2em rgba(242, 205, 120, .9); } }
@keyframes bulb-flash { 50% { opacity: .35; box-shadow: none; } }

.machine-button {
  display: block; width: 5em; height: 5em; margin: 0 auto; padding: 0; border: .45em solid var(--gold); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f9d3cc, #d9877c 72%);
  box-shadow: 0 .45em 0 var(--gold-deep), 0 .9em 1.2em rgba(110, 60, 50, .3); transition: transform .12s ease, box-shadow .12s ease, filter .3s ease;
}
.machine-button:disabled { cursor: default; filter: saturate(.7); }
[data-state="idle"] .machine-button, [data-state="printed"] .machine-button { animation: button-invite 2.4s ease-in-out infinite; }
[data-state="armed"] .machine-button { background: radial-gradient(circle at 35% 30%, #fff0ec, #eea094 72%); }
.machine-button.pressed { animation: button-press .3s ease; }
.machine-button:focus-visible, .lever-knob:focus-visible { outline: .2em solid var(--ink); outline-offset: .3em; }
@keyframes button-invite { 50% { box-shadow: 0 .45em 0 var(--gold-deep), 0 .9em 1.2em rgba(110, 60, 50, .3), 0 0 0 .7em rgba(201, 161, 90, .22); } }
@keyframes button-press { 40% { transform: translateY(.35em); box-shadow: 0 .1em 0 var(--gold-deep), 0 .3em .5em rgba(110, 60, 50, .3); } }
.machine-button-label { display: block; margin-top: .9em; color: #9c6f66; font-size: .75em; letter-spacing: .38em; text-align: center; text-transform: uppercase; }

/* Lever: the knob travels 20em (LEVER_TRAVEL_EM in slot.js) from above the pivot to below it,
   which reads as the handle swinging towards you and down. */
.machine-lever { --pull: 0; --knob-scale: 1; position: absolute; z-index: 0; top: 9em; left: 31em; width: 7em; height: 30em; }
.lever-housing {
  position: absolute; top: 10.5em; left: 0; width: 6em; height: 5em; border-radius: 0 1.6em 1.6em 0;
  background: linear-gradient(90deg, var(--shell-deep), var(--shell)); box-shadow: inset 0 .3em .5em rgba(255, 255, 255, .5), 0 .6em 1em rgba(110, 60, 50, .2);
}
.lever-housing::after { content: ""; position: absolute; top: 1.6em; left: 3.1em; width: 1.8em; height: 1.8em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-light), var(--gold) 60%, var(--gold-deep)); }
.lever-rod {
  position: absolute; left: 3.55em; width: .9em; border-radius: .45em;
  top: min(13em, calc(3em + var(--pull) * 20em));
  height: max(calc(10em - var(--pull) * 20em), calc(var(--pull) * 20em - 10em));
  background: linear-gradient(90deg, #a98444, #f3e2b3 45%, #a98444);
}
.lever-knob {
  position: absolute; left: 2.2em; top: calc(1.2em + var(--pull) * 20em); width: 3.6em; height: 3.6em; padding: 0; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6de, #e7c97f 42%, #a47d3c);
  box-shadow: 0 .5em 1em rgba(110, 70, 40, .35); transform: scale(var(--knob-scale)); cursor: grab; touch-action: none;
}
.machine-lever.grabbed .lever-knob { cursor: grabbing; }
.machine-lever.springing .lever-rod, .machine-lever.springing .lever-knob { transition: top .6s cubic-bezier(.34, 1.56, .64, 1), height .6s cubic-bezier(.34, 1.56, .64, 1), transform .3s ease; }
[data-state="armed"] .lever-knob { animation: knob-glow 1.6s ease-in-out infinite; }
.machine-lever.nudge .lever-knob { animation: knob-nudge .45s ease; }
@keyframes knob-glow { 50% { box-shadow: 0 .5em 1em rgba(110, 70, 40, .35), 0 0 0 .6em rgba(201, 161, 90, .25); } }
@keyframes knob-nudge { 25% { translate: 0 .6em; } 55% { translate: 0 -.2em; } }

.machine-base {
  position: relative; z-index: 2; width: 34em; height: 3.2em; margin: -1em 0 0 -1em; border-radius: 1em 1em 1.4em 1.4em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, #a8843f); box-shadow: 0 1.6em 2em -1em rgba(90, 60, 30, .35);
}
.ticket-slot { position: absolute; bottom: .9em; left: 50%; width: 14em; height: .6em; border-radius: .3em; background: #5b4526; box-shadow: inset 0 .2em .3em rgba(0, 0, 0, .5); transform: translateX(-50%); }

/* The ticket prints downward out of the slot. */
.ticket-chute { position: relative; z-index: 1; width: 14em; height: 22em; margin: -1.3em 0 0 9em; overflow: hidden; }
.ticket {
  --printed: 0;
  display: flex; width: 13em; margin: 0 auto; padding: 1.5em 1em 1.6em; flex-direction: column; align-items: center; gap: .45em;
  border: 0; color: var(--ink); font-size: inherit; text-align: center; cursor: default;
  background: linear-gradient(180deg, #fffdf8, var(--cream));
  transform: translateY(calc((var(--printed) - 1) * 100%)); transition: transform .4s linear;
  -webkit-mask: radial-gradient(circle at .5em 0, transparent .32em, #000 .34em) top left / 1em 51% repeat-x, radial-gradient(circle at .5em 100%, transparent .32em, #000 .34em) bottom left / 1em 51% repeat-x;
  mask: radial-gradient(circle at .5em 0, transparent .32em, #000 .34em) top left / 1em 51% repeat-x, radial-gradient(circle at .5em 100%, transparent .32em, #000 .34em) bottom left / 1em 51% repeat-x;
}
.ticket.ready { cursor: pointer; transition: transform .9s cubic-bezier(.2, .9, .3, 1.25); }
.ticket-head { color: var(--stone); font-size: .6em; letter-spacing: .26em; text-transform: uppercase; }
.ticket-no { font-family: var(--serif); font-size: .9em; }
.ticket-photo {
  position: relative; display: block; width: 9em; aspect-ratio: 1; overflow: hidden; border: .5em solid #fff; box-shadow: 0 .2em .5em rgba(40, 30, 20, .15);
  background: linear-gradient(110deg, #efe6d8 30%, #f8f2e8 50%, #efe6d8 70%) 0 0 / 250% 100%; animation: developing 1.6s linear infinite;
}
.ticket-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(.35em) saturate(.8); transform: scale(1.1); }
.ticket.ready .ticket-photo { animation: none; }
@keyframes developing { to { background-position: -250% 0; } }
.ticket-name { font-family: var(--serif); font-size: 1.55em; font-style: italic; font-weight: 500; line-height: 1.1; }
.ticket-rare { display: none; color: var(--gold-deep); font-size: .62em; letter-spacing: .22em; text-transform: uppercase; }
.ticket.rare { background: linear-gradient(160deg, #fdf6e4, #f0dcad); }
.ticket.rare .ticket-rare { display: block; }
.ticket-cta { margin-top: .3em; color: var(--stone); font-size: .6em; letter-spacing: .26em; text-transform: uppercase; }
.ticket.ready .ticket-cta { color: var(--ink); animation: tap-hint 1.6s ease-in-out infinite; }
@keyframes tap-hint { 50% { opacity: .45; } }
.ticket.void .ticket-photo::after {
  content: "Void"; position: absolute; inset: 30% 8%; display: grid; place-items: center; border: .15em solid #b5524a; color: #b5524a;
  font-family: var(--serif); font-size: 1.6em; letter-spacing: .2em; text-transform: uppercase; transform: rotate(-12deg);
}

/* Win moments */
.won .payline { background: var(--gold); box-shadow: 0 0 .8em rgba(201, 161, 90, .8); }
.won-rare .machine-window::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 214, .75) 50%, transparent 65%) 0 0 / 250% 100%;
  animation: shimmer 1.4s ease-in-out 3;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.suspense .reel:last-child { animation: suspense-glow .5s ease-in-out infinite; }
@keyframes suspense-glow { 50% { box-shadow: inset 0 0 1.2em rgba(201, 161, 90, .6); } }
.machine-sparkles { position: absolute; z-index: 4; top: 17em; left: 16em; pointer-events: none; }
.machine-sparkles i {
  position: absolute; width: 1em; height: 1em; margin: -.5em 0 0 -.5em; background: var(--gold); opacity: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: sparkle 1.5s cubic-bezier(.2, .7, .3, 1) var(--d) forwards;
}
.won-rare .machine-sparkles i { background: #e3bf6a; animation-iteration-count: 2; }
@keyframes sparkle { 0% { opacity: 0; transform: translate(0, 0) scale(.2); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.1) rotate(45deg); } }

/* Steps panel */
.draw-steps h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.draw-intro { margin: 14px 0 0; color: #4a4640; }
.steps { margin: 30px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--stone); transition: color .3s ease; }
.steps li.current, .steps li.done { color: var(--ink); }
.steps li p { margin: 4px 0 0; font-size: .86rem; }
.steps strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.step-no { font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.steps li.done .step-no { color: var(--accent); font-size: 0; }
.steps li.done .step-no::before { content: "✓"; font-size: 1.1rem; font-style: normal; }
.steps li.current strong { border-bottom: 1px solid currentColor; }
.draw-drop { min-height: 88px; margin-top: 12px; }
.draw-status { min-height: 3.2em; margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.2rem; font-style: italic; line-height: 1.4; }
.lineup { margin-top: 18px; }
.lineup-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lineup-heading .option-label { margin: 0 0 12px; }
.lineup-heading .text-button { margin: 0; }
.lineup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.lineup-item { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 3px 6px; border: 1px solid var(--line); background: var(--paper); }
.lineup-item .symbol { width: 34px; height: 34px; }
.lineup-item small { color: var(--stone); font-size: .6rem; line-height: 1.2; text-align: center; }
.lineup-item.found::after { content: "✓"; position: absolute; top: 3px; right: 5px; color: var(--accent); font-size: .66rem; }
.lineup-item.rare { border: 1px dashed #c9a15a; background: #fbf5e7; }
.lineup-secret { display: grid; width: 34px; height: 34px; place-items: center; color: #b58d4a; font-family: var(--serif); font-size: 1.7rem; }

/* Reveal + book dialogs */
.reveal-dialog, .book-dialog { width: min(880px, calc(100% - 32px)); }
.reveal-dialog[open], .book-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 44px; padding: 52px; }
.polaroid { position: relative; margin: 0; padding: 14px 14px 18px; background: var(--paper); box-shadow: 0 22px 44px -22px rgba(40, 30, 20, .5); transform: rotate(-2deg); }
.polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--oat); }
.polaroid figcaption { padding-top: 12px; font-family: var(--serif); font-size: 1.35rem; font-style: italic; text-align: center; }
.polaroid-tape { position: absolute; z-index: 1; top: -12px; left: 50%; width: 92px; height: 24px; background: rgba(234, 182, 173, .7); transform: translateX(-50%) rotate(-4deg); }
.reveal-dialog[open] .polaroid { animation: reveal-in .7s cubic-bezier(.2, .9, .3, 1.2); }
.reveal-dialog.rare .polaroid, .book-dialog.rare .polaroid { background: linear-gradient(145deg, #fdf6e4, #ecd6a2); }
.reveal-dialog.rare .polaroid-tape, .book-dialog.rare .polaroid-tape { background: rgba(201, 161, 90, .55); }
@keyframes reveal-in { from { opacity: 0; transform: rotate(-9deg) scale(.86) translateY(20px); } }
.reveal-copy h2, .book-entry-card h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.reveal-note { margin: 16px 0 0; color: var(--stone); }
.reveal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.reveal-copy > .text-button { margin-top: 20px; }
.book-entry-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-entry-facts dt { color: var(--stone); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.book-entry-facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.3rem; }

/* Picture book */
.book-collections { display: grid; gap: 56px; }
.album {
  display: grid; grid-template-columns: minmax(0, .85fr) 30px minmax(0, 1.15fr); width: min(100%, 1100px); margin: 0 auto; padding: 16px;
  border-radius: 14px; background: linear-gradient(135deg, #71806b, #5f6f5a);
  box-shadow: 0 34px 60px -34px rgba(40, 40, 30, .55), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.album-page { position: relative; min-height: 580px; padding: 44px 36px; background: #fbf8f1; }
.album-left { display: flex; flex-direction: column; align-items: center; border-radius: 8px 0 0 8px; box-shadow: inset -26px 0 30px -26px rgba(60, 50, 30, .3); text-align: center; }
.album-right { border-radius: 0 8px 8px 0; box-shadow: inset 26px 0 30px -26px rgba(60, 50, 30, .3); }
.album-rings {
  background:
    radial-gradient(ellipse 13px 6px at 50% 50%, transparent 4px, #b58d4a 5px, #efdcaa 7px, transparent 8.5px) 50% 24px / 30px 58px repeat-y,
    linear-gradient(90deg, #e6dccb, #f4eee3 50%, #e6dccb);
}
.album-series { margin: 0; color: var(--stone); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.album-title { margin-top: 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); font-style: italic; }
.album-progress { margin: 14px 0 8px; font-size: .86rem; }
.album-bar { display: block; width: min(200px, 80%); height: 3px; overflow: hidden; background: var(--line); }
.album-bar i { display: block; height: 100%; background: #c9a15a; }
.album-rare { width: min(230px, 86%); margin: 36px 0 26px; }
.album-left .text-button { margin-top: auto; }
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
.album-slot {
  position: relative; display: flex; flex-direction: column; padding: 8px 8px 0; border: 0; background: var(--paper); color: var(--ink);
  font: inherit; text-align: center; box-shadow: 0 8px 16px -10px rgba(40, 30, 20, .45); transform: rotate(var(--tilt, 0deg)); transition: transform .3s ease;
}
button.album-slot:hover { transform: rotate(0deg) translateY(-3px); }
.album-photo { position: relative; display: grid; aspect-ratio: 1; place-items: center; overflow: hidden; background: var(--oat); }
.album-photo img { width: 100%; height: 100%; object-fit: cover; }
.album-caption { padding: 8px 2px 10px; font-family: var(--serif); font-size: 1rem; font-style: italic; line-height: 1.2; }
.album-tape { position: absolute; z-index: 1; top: -8px; left: 50%; width: 44px; height: 15px; background: rgba(234, 182, 173, .7); transform: translateX(-50%) rotate(-3deg); }
.album-count { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 1px 7px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: .66rem; }
.album-slot.empty { background: transparent; box-shadow: none; outline: 1.5px dashed #cfc5b4; outline-offset: -1.5px; }
.album-slot.empty .album-photo { background: transparent; }
.album-slot.empty .symbol { width: 58%; height: 58%; opacity: .16; filter: grayscale(1); }
.album-slot.empty b { position: absolute; color: #b3a893; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.album-slot.empty .album-caption { color: #b3a893; font-style: normal; letter-spacing: .1em; }
.album-slot.rare { padding: 10px 10px 0; background: linear-gradient(145deg, #fbf1d9, #e4c98d); box-shadow: 0 0 0 1px #c9a15a, 0 14px 28px -14px rgba(120, 90, 30, .6); }
.album-slot.rare .album-tape { background: rgba(201, 161, 90, .6); }
.album-slot.rare.empty { background: repeating-linear-gradient(45deg, rgba(201, 161, 90, .07) 0 8px, transparent 8px 16px); box-shadow: none; outline-color: #c9a15a; }
.album-slot.rare.empty b, .album-slot.rare.empty .album-caption { color: #b58d4a; }

@media (max-width: 900px) {
  .draw-layout { grid-template-columns: 1fr; }
  .machine-stage { margin: 0 calc(var(--gutter) * -1); padding-top: 40px; }
  .reveal-dialog[open], .book-dialog[open] { grid-template-columns: 1fr; gap: 28px; padding: 60px 24px 30px; }
  .polaroid { width: min(100%, 360px); margin: 0 auto; }
  .album { grid-template-columns: 1fr; padding: 10px; }
  .album-rings { display: none; }
  .album-page { min-height: 0; padding: 32px 20px; }
  .album-left { border-radius: 8px 8px 0 0; box-shadow: none; border-bottom: 1px dashed var(--line); }
  .album-right { border-radius: 0 0 8px 8px; box-shadow: none; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .machine-bulbs i, .machine-button, .lever-knob, .ticket-photo, .ticket-cta, .machine-sparkles i, .won-rare .machine-window::after { animation: none !important; }
}
