/* CA Vending Solutions — "Power On"
   The site is the front of a vending machine at night: a dark cabinet, a light tube
   that flickers on, chunky selection keys that press down, LED-style codes.
   One accent (selection orange), one "ready" green, everything else stays quiet. */

:root {
  color-scheme: dark;
  --bg: #0e0f12;          /* cabinet */
  --panel: #16181d;       /* lit glass */
  --panel-2: #1d2027;
  --key: #262a33;         /* selection key */
  --key-hover: #2d323d;
  --key-edge: #0a0b0e;
  --field: #121418;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f1ec;
  --muted: #9a978f;
  --faint: #6c6a64;
  --light: #fff6e3;       /* the tube */
  --accent: #ff6a2b;
  --accent-hover: #ff7a40;
  --accent-deep: #d94f14;
  --accent-ink: #1a0b03;
  --accent-soft: rgba(255, 106, 43, 0.12);
  --ready: #3ddc84;
  --error: #ff6b5b;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
a:hover { text-decoration-color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 80px); line-height: 0.98; letter-spacing: -0.035em; text-shadow: 0 0 40px rgba(255, 238, 200, 0.12); }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.kicker, .eyebrow { margin: 0 0 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.lede { margin: 22px 0 0; max-width: 580px; color: var(--muted); font-size: clamp(17px, 2vw, 19px); line-height: 1.55; }
.code { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 7px; padding: 5px 8px; }

/* ---------- header: name + "ready" light ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--ready); box-shadow: 0 0 10px var(--ready); animation: ready 2.6s ease-in-out infinite; }
@keyframes ready { 50% { opacity: 0.4; } }
.nav small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.nav-cta { white-space: nowrap; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--accent-ink); background: var(--accent); padding: 9px 16px; border-radius: 11px; box-shadow: 0 3px 0 var(--accent-deep); transition: transform .07s, box-shadow .07s; }
.nav-cta:hover { background: var(--accent-hover); }
.nav-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-deep); }
@media (max-width: 420px) { .brand { font-size: 16px; } .nav-cta { padding: 8px 12px; font-size: 14px; } }

/* ---------- the lit panel (flickers on once per visit) ---------- */
.panel {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 52px 22px 28px;
}
@media (min-width: 760px) { .panel { padding: 80px 56px 52px; } }
.panel::before { /* the light tube */
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--light); box-shadow: 0 0 24px 6px rgba(255, 238, 200, 0.35), 0 0 80px 20px rgba(255, 238, 200, 0.12);
}
.panel::after { /* light washing down the glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 238, 200, 0.09), transparent 60%);
}
.power-on .panel::before { animation: tube 1.6s steps(1) .15s both; }
.power-on .panel::after { animation: wash 1.6s steps(1) .15s both; }
.power-on .lit { animation: lit 1.6s steps(1) .15s both; }
@keyframes tube { 0% { opacity: 0 } 8% { opacity: 1 } 12% { opacity: .1 } 20% { opacity: .9 } 24% { opacity: 0 } 40% { opacity: 1 } 44% { opacity: .3 } 52%, 100% { opacity: 1 } }
@keyframes wash { 0%, 39% { opacity: 0 } 40% { opacity: 1 } 44% { opacity: .3 } 52%, 100% { opacity: 1 } }
@keyframes lit { 0% { opacity: .15 } 8% { opacity: 1 } 12% { opacity: .2 } 20% { opacity: .95 } 24% { opacity: .2 } 40% { opacity: 1 } 44% { opacity: .5 } 52%, 100% { opacity: 1 } }

/* ---------- selection keys (big tactile buttons) ---------- */
.keys { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 640px) { .keys { grid-template-columns: 1fr 1fr; max-width: 780px; } }
.keybtn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding: 0 22px;
  border-radius: 18px; text-decoration: none; color: var(--text); background: var(--key); border: 1px solid var(--line-strong);
  box-shadow: 0 6px 0 var(--key-edge), 0 10px 24px rgba(0, 0, 0, 0.35); transition: transform .07s, box-shadow .07s, background .15s;
}
.keybtn:hover { background: var(--key-hover); }
.keybtn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--key-edge), 0 4px 10px rgba(0, 0, 0, 0.35); }
.keybtn b { display: block; font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
.keybtn span { color: var(--muted); font-size: 14px; }
.keybtn.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); box-shadow: 0 6px 0 var(--accent-deep), 0 12px 28px rgba(255, 106, 43, 0.22); }
.keybtn.primary:hover { background: var(--accent-hover); }
.keybtn.primary:active { box-shadow: 0 1px 0 var(--accent-deep), 0 4px 10px rgba(255, 106, 43, 0.22); }
.keybtn.primary span, .keybtn.primary .code { color: #4a2008; border-color: rgba(0, 0, 0, 0.18); }

.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.strip strong { color: var(--text); font-weight: 600; }
.strip a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding-bottom: 1px; }
.strip a:hover { border-color: var(--accent); }

/* ---------- $0.00 price tags ---------- */
.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 16px; border-bottom: 4px solid var(--key); }
@media (min-width: 760px) { .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price { position: relative; border-radius: 10px; padding: 12px 14px 10px; background: var(--light); color: #1d1a14; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.price small { display: block; font-size: 13px; font-weight: 600; color: #6b6352; }
.price b { display: block; margin-top: 2px; font-family: var(--mono); font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price::after { content: ""; position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .5; }
.shelf-wrap { margin-top: 48px; }
.shelf-wrap .kicker { color: var(--muted); }

/* ---------- landing hero (inside the panel) ---------- */
.hero { display: grid; gap: 32px; align-items: start; grid-template-areas: "copy" "card" "checks"; }
.hero .copy { grid-area: copy; }
.hero .card { grid-area: card; }
.hero .checks { grid-area: checks; }
@media (min-width: 980px) { .hero { grid-template-columns: 1.05fr 0.95fr; grid-template-areas: "copy card" "checks card"; gap: 28px 56px; } .hero h1 { font-size: clamp(40px, 5vw, 62px); } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 3px; color: var(--ready); }
.checks strong { display: block; font-weight: 650; }
.checks span { color: var(--muted); font-size: 16px; }

/* ---------- cards & forms ---------- */
.card { position: relative; background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: 22px; padding: 24px 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
@media (min-width: 720px) { .card { padding: 30px; } }
.panel .card { background: var(--bg); }
.card h2 { font-size: 26px; letter-spacing: -0.02em; }
.card .sub { margin: 6px 0 22px; color: var(--muted); font-size: 15px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 520px) { .grid { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.01em; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--text);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.22); }
select { appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239a978f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select:invalid { color: var(--faint); }
select option { color: #111; }
textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
input[type=datetime-local] { min-height: 50px; color-scheme: dark; }
.invalid { border-color: var(--error) !important; box-shadow: 0 0 0 3px rgba(255, 107, 91, 0.18) !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.error { margin: 14px 0 0; color: var(--error); font-size: 14px; font-weight: 500; }
.error:empty { display: none; }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.fine a { color: var(--muted); }

/* the big orange key */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px;
  border: 0; border-radius: 16px; background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 18px; font-weight: 750;
  letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 0 var(--accent-deep), 0 12px 28px rgba(255, 106, 43, 0.2); transition: transform .07s, box-shadow .07s, background .15s;
}
.cta:hover { background: var(--accent-hover); color: var(--accent-ink); }
.cta:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--accent-deep), 0 4px 10px rgba(255, 106, 43, 0.2); }
.cta:disabled { opacity: .65; cursor: wait; transform: translateY(5px); box-shadow: 0 1px 0 var(--accent-deep); }
.cta.block { width: 100%; margin-top: 22px; }

/* CAPTCHA (Cloudflare Turnstile) only appears when it needs a click */
.captcha { margin-top: 16px; }
.captcha:empty { display: none; }

/* choice keys (radio) */
fieldset.picker { border: 0; padding: 0; margin: 0; min-width: 0; border-radius: 14px; }
fieldset.picker legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.picker .options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picker label { position: relative; display: block; }
.picker input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.picker span {
  display: flex; align-items: center; height: 100%; min-height: 54px; padding: 10px 14px; border-radius: 12px;
  background: var(--key); border: 1px solid var(--line-strong); color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.25;
  box-shadow: 0 4px 0 var(--key-edge); transition: transform .07s, box-shadow .07s, background .15s, border-color .15s;
}
.picker label:hover span { background: var(--key-hover); }
.picker label:active span { transform: translateY(3px); box-shadow: 0 1px 0 var(--key-edge); }
.picker input:checked + span { transform: translateY(3px); box-shadow: 0 1px 0 var(--key-edge), inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.picker input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.picker.invalid { outline: 1.5px solid var(--error); outline-offset: 6px; box-shadow: none !important; }

.check { flex-direction: row; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--accent); cursor: pointer; }

.when .quick { display: flex; gap: 8px; margin-top: 8px; }
.when .quick button { flex: 1; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--key); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 3px 0 var(--key-edge); transition: transform .07s, box-shadow .07s; }
.when .quick button:active, .when .quick button.on { transform: translateY(2px); box-shadow: 0 1px 0 var(--key-edge); }
.when .quick button.on { border-color: var(--accent); background: var(--accent-soft); }

.money { position: relative; display: block; }
.money > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--mono); font-size: 16px; pointer-events: none; }
.money input { padding-left: 30px; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- sections below the panel ---------- */
section.band { padding: 72px 0; }
@media (min-width: 760px) { section.band { padding: 96px 0; } }
section.band + section.band { border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(30px, 4.4vw, 46px); }
.band .intro { margin: 14px 0 40px; max-width: 600px; color: var(--muted); font-size: 18px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.steps li::before { content: "Step " counter(step); display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.steps h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.features { display: grid; gap: 28px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.features > div { padding-top: 18px; border-top: 2px solid var(--key); }
.features h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }

.faq { max-width: 780px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { position: relative; padding: 22px 44px 22px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; transition: transform .2s;
  background: linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); font-size: 16px; max-width: 640px; }

/* service area as a row of machine slots */
.area { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: slot; }
.area li { counter-increment: slot; display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 13px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.area li::before { content: "C" counter(slot); font-family: var(--mono); font-size: 11px; color: var(--faint); }

.closing { text-align: center; }
.closing p { margin: 12px 0 30px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.foot-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.foot-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ready); box-shadow: 0 0 8px var(--ready); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- home ---------- */
.home-form { padding-top: 56px; padding-bottom: 80px; display: grid; gap: 28px; }
@media (min-width: 900px) { .home-form { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; } }
.home-form h2 { font-size: clamp(30px, 4vw, 44px); }
.home-form .intro { margin: 14px 0 0; color: var(--muted); font-size: 18px; max-width: 440px; }

/* ---------- text pages (privacy, thank-you) ---------- */
.doc { max-width: 780px; padding-top: 16px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(36px, 5.5vw, 56px); }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.doc p, .doc li { color: #cfccc4; }
.doc .meta { margin-top: 12px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.doc .lede { color: var(--muted); }
.doc .card { margin-top: 12px; }

/* ---------- machine-side pages (report, request) ---------- */
.narrow { max-width: 680px; padding-top: 8px; padding-bottom: 80px; }
.narrow .panel { padding: 44px 22px 26px; margin-bottom: 18px; }
@media (min-width: 760px) { .narrow .panel { padding: 56px 36px 32px; } }
.narrow h1 { font-size: clamp(36px, 7vw, 54px); }
.narrow .lede { margin-top: 14px; }
.note { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.note strong { color: var(--text); }
.side-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 18px 20px; border-radius: 16px;
  background: var(--key); border: 1px solid var(--line-strong); color: var(--text); text-decoration: none;
  box-shadow: 0 5px 0 var(--key-edge); transition: transform .07s, box-shadow .07s, background .15s;
}
.side-link:hover { background: var(--key-hover); }
.side-link:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--key-edge); }
.side-link strong { display: block; font-weight: 700; }
.side-link span { display: block; color: var(--muted); font-size: 14px; }
.side-links { margin-top: 26px; }

/* ---------- "dispensed" confirmation: drops into the tray ---------- */
.done { text-align: center; }
.done h2 { font-size: 28px; margin-top: 4px; }
.done p { color: var(--muted); margin: 10px auto 0; max-width: 440px; }
.done-icon { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; margin: 4px auto 20px; background: var(--ready); color: #052b14; box-shadow: 0 5px 0 #23a25d; }
.done:not([hidden]) .done-icon, .doc .done-icon { animation: drop .75s cubic-bezier(.3, 1.35, .5, 1) both; }
.done:not([hidden]) .kicker, .doc .dispensed { animation: blink-on 1s steps(1) both; }
@keyframes drop { 0% { transform: translateY(-120px) rotate(-12deg); opacity: 0 } 40% { opacity: 1 } 100% { transform: none } }
@keyframes blink-on { 0% { opacity: 0 } 15% { opacity: 1 } 25% { opacity: .2 } 40%, 100% { opacity: 1 } }
.doc .done-icon { margin: 0 0 22px; }

/* ---------- 404: the out-of-stock machine ---------- */
.oos-panel { display: grid; gap: 44px; align-items: center; margin-bottom: 64px; }
.oos-panel .keys { margin-top: 32px; }
@media (min-width: 940px) { .oos-panel { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } .oos-panel .keys { grid-template-columns: 1fr; max-width: 420px; } }
.oos { position: relative; z-index: 1; width: 100%; max-width: 360px; justify-self: center; padding: 16px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.oos.shaking { animation: shake .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 15% { transform: translateX(-7px) rotate(-1.5deg) } 30% { transform: translateX(6px) rotate(1.2deg) } 45% { transform: translateX(-5px) rotate(-.8deg) } 60% { transform: translateX(4px) rotate(.5deg) } 80% { transform: translateX(-2px) } }
.oos-led { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 10px; background: #050506; font-family: var(--mono); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); text-shadow: 0 0 8px rgba(255, 106, 43, 0.6); }
.oos-led [data-led] { animation: blink 1.1s steps(1) infinite; }
.oos.shaking .oos-led [data-led], .oos.dropped .oos-led [data-led] { animation: none; }
.oos.dropped .oos-led { color: var(--ready); text-shadow: 0 0 8px rgba(61, 220, 132, 0.6); }
.oos-led small { font-size: 11px; color: #5a2a14; text-shadow: none; }
@keyframes blink { 50% { opacity: 0.25 } }
.oos-glass { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 10px; margin-top: 12px; padding: 22px 12px 14px; border-radius: 12px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.oos-slot { position: relative; display: grid; justify-items: center; align-content: end; height: 104px; }
.oos-coil { width: 100%; height: 14px; border-radius: 7px; background: repeating-linear-gradient(115deg, #3a3f4a 0 3px, transparent 3px 9px); border-bottom: 2px solid #2a2e37; }
.oos-tag { margin-top: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--muted); padding: 1px 6px; border-radius: 4px; background: var(--key); }
.oos-slot.is-stuck .oos-tag { color: var(--accent-ink); background: var(--accent); }
.oos-bag { display: grid; place-items: center; width: 62px; height: 76px; border-radius: 6px 6px 8px 8px; text-decoration: none; text-align: center; color: #1a0b03; background: linear-gradient(160deg, #ffb37a, var(--accent) 55%, var(--accent-deep)); box-shadow: inset 0 6px 0 rgba(255, 255, 255, 0.25), inset 0 -6px 0 rgba(0, 0, 0, 0.15); }
.oos-bag b { font-size: 11px; font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.04em; }
.is-stuck .oos-bag { position: absolute; bottom: 42px; width: 54px; height: 66px; transform-origin: 50% 100%; transform: rotate(14deg) translate(8px, 2px); }
.oos.shaking .is-stuck .oos-bag { animation: wobble .45s ease-in-out; }
@keyframes wobble { 30% { transform: rotate(24deg) translate(12px, 4px) } 70% { transform: rotate(6deg) translate(4px, 0) } }
.oos.dropped .is-stuck .oos-bag { animation: fall .5s ease-in both; }
@keyframes fall { to { transform: rotate(70deg) translate(40px, 220px); opacity: 0 } }
.oos-tray { position: relative; display: grid; place-items: center; height: 96px; margin-top: 14px; border-radius: 12px; background: #050506; border: 1px solid var(--line); overflow: hidden; }
.oos-flap { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.oos-prize { position: absolute; width: 96px; height: 58px; visibility: hidden; transform: rotate(-4deg); }
.oos.dropped .oos-prize { visibility: visible; animation: land .7s .35s cubic-bezier(.3, 1.4, .5, 1) both; }
.oos.dropped .oos-prize:hover { filter: brightness(1.08); }
.oos.dropped .oos-flap { visibility: hidden; }
@keyframes land { 0% { transform: translateY(-110px) rotate(-30deg); opacity: 0 } 40% { opacity: 1 } 100% { transform: rotate(-4deg) } }
.oos-shake { display: block; width: 100%; min-height: 54px; margin-top: 14px; border: 1px solid var(--line-strong); border-radius: 14px; font: 700 16px var(--sans); color: var(--text); background: var(--key); box-shadow: 0 5px 0 var(--key-edge); cursor: pointer; transition: transform .07s, box-shadow .07s; }
.oos-shake:hover { background: var(--key-hover); }
.oos-shake:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--key-edge); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
