/* The Eliminator's Gambit — single stylesheet, mobile-first. */

:root {
  --bg: #0b0c10;
  --panel: #12141b;
  --panel2: #171a22;
  --text: #e9e9ee;
  --muted: #a7a9b4;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --danger: #ff4d6d;
  --ok: #39d98a;
  --glass: rgba(0, 0, 0, 0.55);
  --radius: 16px;
  --card-pad: 14px;
  --game-top-h: 190px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
.hidden { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 35%),
    linear-gradient(225deg, rgba(57, 217, 138, 0.05), transparent 40%),
    radial-gradient(1200px 900px at 50% 0%, rgba(255, 255, 255, 0.04), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body.modalOpen { overflow: hidden; }
body.busy { cursor: progress; }

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));
}
body.modeGame .page { max-width: 1920px; }
body.modeGame .header { display: none; }

/* ---------- header ---------- */
.header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.title { font-size: 24px; font-weight: 750; letter-spacing: 0.2px; }
.subtitle { font-size: 13px; color: var(--muted); margin-top: 4px; }
.headerMeta { display: flex; align-items: center; gap: 8px; }
.chip {
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(57, 217, 138, 0.45); color: var(--ok); background: rgba(57, 217, 138, 0.08);
}

/* ---------- primitives ---------- */
.main { display: flex; flex-direction: column; gap: 14px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-pad);
}
.narrow { max-width: 460px; margin: 0 auto; width: 100%; }
.centerText { text-align: center; }
.rowBetween { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.select, .btn, .input {
  font: inherit;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}
.input, .select { width: 100%; min-width: 0; }
.input:focus, .select:focus, .btn:focus-visible { outline: 2px solid rgba(57, 217, 138, 0.6); outline-offset: 1px; }
.input.upper { text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }

.btn { cursor: pointer; font-weight: 650; white-space: nowrap; transition: background 120ms, border-color 120ms; }
.btn:hover:not(:disabled) { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); }
.btn.secondary { background: transparent; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.big { padding: 16px 14px; border-radius: var(--radius); font-size: 16px; }
.btn.small { padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.btn.success { background: rgba(57, 217, 138, 0.18); border-color: rgba(57, 217, 138, 0.55); color: var(--ok); }
.btn.success:hover:not(:disabled) { background: rgba(57, 217, 138, 0.26); border-color: rgba(57, 217, 138, 0.75); }
.btn.danger { background: rgba(255, 77, 109, 0.12); border-color: rgba(255, 77, 109, 0.5); color: var(--danger); }
.btn.glass { background: var(--glass); border-color: rgba(255, 255, 255, 0.16); }
.iconBtn { padding-left: 10px !important; padding-right: 10px !important; }

.form { display: flex; flex-direction: column; gap: 12px; }
.formRow { display: flex; flex-direction: column; gap: 6px; }
.formActions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.label, .mutedSmall, .hint { color: var(--muted); font-size: 12px; }
.hint { line-height: 1.4; }
.status { font-size: 13px; min-height: 1em; white-space: pre-line; }
.status.error { color: var(--danger); }
.status.ok { color: var(--ok); }
.status.muted { color: var(--muted); }

/* ---------- menu ---------- */
.menuGrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .menuGrid { grid-template-columns: 1fr 1fr; } }
#menuResumeHint:not(:empty) { margin-top: 10px; }
.rules summary { cursor: pointer; font-weight: 700; }
.rules ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.6; }
.rules b { color: var(--text); }

/* ---------- setup ---------- */
.teamInputs { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .teamInputs { grid-template-columns: 1fr 1fr; } }
.roundPickList { display: flex; flex-direction: column; gap: 8px; }
.roundPickRow {
  display: grid; grid-template-columns: 22px 1fr 36px; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); cursor: pointer;
}
.roundPickRow:hover, .roundPickRow.picked { border-color: var(--border-strong); }
.roundPickRow input { accent-color: var(--ok); width: 18px; height: 18px; }
.roundPickName { font-weight: 600; overflow-wrap: anywhere; }
.roundPickOrder {
  text-align: center; font-size: 12px; font-weight: 800; color: var(--muted);
  border: 1px solid var(--border); border-radius: 10px; padding: 6px 0; min-height: 28px;
}
.roundPickOrder.active { color: var(--ok); border-color: rgba(57, 217, 138, 0.45); background: rgba(57, 217, 138, 0.1); }

/* ---------- game ---------- */
.gameLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "t1 t2" "head head" "body body";
  gap: 12px;
}
#team1Box { grid-area: t1; }
#team2Box { grid-area: t2; }
.gameHeaderCard { grid-area: head; }
#roundMedia, #itemsList { grid-area: body; min-height: 0; }

.sideTeam {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--muted);
  transition: background 200ms, border-color 200ms, color 200ms;
}
.sideTeam.active { color: var(--ok); border-color: rgba(57, 217, 138, 0.55); background: rgba(57, 217, 138, 0.1); }
.teamName { font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.teamScore { margin-top: 6px; font-size: 26px; font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; }

.gameHeaderCard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; min-height: 150px; padding-top: 52px; padding-bottom: 52px;
}
.roundImageFrame { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.roundImageFrame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gameHeaderCard > :not(.roundImageFrame) { position: relative; z-index: 1; }
.gameCorner { position: absolute !important; top: 12px; }
.gameCorner.left { left: 12px; display: flex; gap: 8px; }
.gameCorner.right { right: 12px; }
.gameCorner .btn.success { background: rgba(8, 36, 22, 0.9); }
.showAllBtn { position: absolute !important; right: 12px; bottom: 12px; }

.pill {
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  max-width: 100%;
}
#roundCounter { font-size: 12px; color: var(--muted); font-weight: 650; }
.prompt { font-size: 18px; font-weight: 750; }
.roundStatus { font-size: 14px; font-weight: 900; }
.roundStatus.win { color: var(--ok); }
.roundStatus.tie { color: #ffc65c; }

/* answers list */
.answersGrid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 10px 14px;
  counter-reset: answer;
  align-content: start;
}
@media (min-width: 900px) { .answersGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.item {
  counter-increment: answer;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 12px 12px 44px; position: relative; min-height: 56px;
  transition: background 120ms, border-color 120ms, opacity 200ms;
}
.item::before {
  content: counter(answer); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-weight: 800; font-size: 13px;
}
.item.clickable { cursor: pointer; }
.item.clickable:hover, .item.clickable:focus-visible { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); outline: none; }
.itemMain { flex: 1 1 auto; min-width: 0; }
.itemTitle { font-size: 18px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.itemMeta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.itemRight { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.itemBy { color: var(--muted); font-size: 13px; font-weight: 650; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item.isEliminated .itemTitle { opacity: 0.55; text-decoration: line-through; }
.item.losingPick { border-color: rgba(255, 77, 109, 0.55); background: rgba(255, 77, 109, 0.1); }
.item.losingPick .itemTitle { color: var(--danger); opacity: 1; }

/* carousel */
.carouselFrame { display: flex; align-items: center; gap: 10px; --visible: 2; }
.carouselViewport { flex: 1; overflow: hidden; border-radius: 18px; touch-action: pan-y; }
.carouselTrack { display: flex; column-gap: 12px; transition: transform 220ms ease; will-change: transform; }
.carouselItem {
  flex: 0 0 calc((100% - 12px * (var(--visible) - 1)) / var(--visible));
  aspect-ratio: 3 / 4;
  position: relative; overflow: hidden; border-radius: 18px; cursor: pointer;
  background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--border);
  transition: opacity 200ms, filter 200ms;
}
.carouselItem img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.carouselCaption, .carouselSecret {
  position: absolute; left: 0; right: 0; padding: 10px 12px;
  background: rgba(0, 0, 0, 0.72); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}
.carouselCaption { top: 0; font-size: 17px; font-weight: 800; line-height: 1.2; }
.carouselSecret { bottom: 0; font-size: 14px; color: var(--muted); }
.carouselItem.isEliminated { opacity: 0.35; filter: grayscale(1); }
.carouselItem.losingPick { opacity: 1; filter: none; box-shadow: inset 0 0 0 4px rgba(255, 77, 109, 0.75); }
.carouselItem:focus-visible { outline: 2px solid var(--ok); outline-offset: -2px; }
.carouselBtn {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(57, 217, 138, 0.16); border: 1px solid rgba(57, 217, 138, 0.6); color: var(--ok);
}
.carouselBtn::before {
  content: ""; width: 12px; height: 12px; border: solid currentColor; border-width: 0 3px 3px 0; display: block;
}
.carouselBtn.prev::before { transform: translateX(2px) rotate(135deg); }
.carouselBtn.next::before { transform: translateX(-2px) rotate(-45deg); }

@media (max-width: 560px) {
  .carouselBtn { display: none; }
  .carouselFrame { --visible: 1.6; }
}

/* wide screens: teams on the sides, media fills the viewport */
@media (min-width: 980px) {
  #screenGame .gameLayout {
    grid-template-columns: 240px minmax(320px, 1fr) 240px;
    grid-template-rows: var(--game-top-h) 1fr;
    grid-template-areas: "t1 head t2" "body body body";
    gap: 16px;
    min-height: calc(100dvh - 40px);
  }
  .teamName { font-size: 22px; }
  .teamScore { font-size: 32px; }
  .gameHeaderCard { min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .carouselFrame { --visible: 3; height: 100%; }
  .carouselViewport, .carouselTrack { height: 100%; }
  .carouselItem { aspect-ratio: auto; height: 100%; }
  #roundMedia { height: calc(100dvh - var(--game-top-h) - 72px); min-height: 360px; }
}
@media (min-width: 1400px) { .carouselFrame { --visible: 5; } }

/* show-everything overlay */
.showAllOverlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; padding: 18px 18px 26px;
}
.showAllGrid {
  flex: 1; min-height: 0; overflow: auto; width: 100%; max-width: 1920px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; align-content: start;
}
.showAllItem {
  margin: 0; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--border);
}
.showAllItem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showAllItem figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; text-align: center;
  font-weight: 800; font-size: 14px; background: rgba(0, 0, 0, 0.72);
}
.showAllItem.isEliminated { opacity: 0.3; filter: grayscale(1); }
.showAllItem.losingPick { opacity: 1; filter: none; box-shadow: inset 0 0 0 4px rgba(255, 77, 109, 0.75); }
.showAllClose { margin: 16px auto 0; width: 180px; }

/* ---------- editor ---------- */
.editor { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
@media (min-width: 980px) {
  .page:has(#screenEditor:not(.hidden)) { max-width: 1280px; }
  .editor { grid-template-columns: 300px 1fr; }
  .editorList { position: sticky; top: 16px; max-height: calc(100dvh - 32px); }
}
.editorList { display: flex; flex-direction: column; gap: 10px; }
.editorTitle { font-weight: 750; }
.templatesList { display: flex; flex-direction: column; gap: 8px; overflow: auto; min-height: 60px; }
.tplRow {
  text-align: left; font: inherit; color: inherit; width: 100%;
  border: 1px solid var(--border); border-radius: 14px; padding: 10px; cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
}
.tplRow:hover { border-color: var(--border-strong); }
.tplRow.active { background: rgba(57, 217, 138, 0.08); border-color: rgba(57, 217, 138, 0.45); }
.tplRowName { font-weight: 650; overflow-wrap: anywhere; }
.tplRowMeta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.editorFooter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--border); }
.editorFooter #editorBack { margin-left: auto; }

.itemsHeader { margin-top: 6px; }
.tplItems { display: flex; flex-direction: column; gap: 8px; }
.tplItemRow {
  display: grid; gap: 8px; align-items: center;
  grid-template-columns: 22px 1fr auto;
  grid-template-areas: "num title media" "num second second";
}
.tplItemRow:not(.kind-rated) { grid-template-areas: "num title media" "num second target"; grid-template-columns: 22px 1fr auto; }
.tplItemRow .rowNum { grid-area: num; color: var(--muted); font-size: 12px; font-weight: 800; text-align: right; }
.tplItemRow > .input:nth-of-type(1) { grid-area: title; }
.tplItemRow > .input:nth-of-type(2) { grid-area: second; }
.tplItemRow .targetPick { grid-area: target; justify-self: center; }
.tplItemRow .imagePickerInner { grid-area: media; }
@media (min-width: 720px) {
  .tplItemRow.kind-rated { grid-template-columns: 22px 1fr 120px auto; grid-template-areas: "num title second media"; }
  .tplItemRow:not(.kind-rated) { grid-template-columns: 22px 1fr 1fr 36px auto; grid-template-areas: "num title second target media"; }
}
.targetPick { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; cursor: pointer; }
.targetPick input { accent-color: var(--danger); width: 20px; height: 20px; cursor: pointer; }

.imagePickerInner { display: flex; align-items: center; gap: 8px; }
.imagePickerInner.loading { opacity: 0.5; pointer-events: none; }
.imagePickerInner .thumb {
  width: 120px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 20px;
}
.imagePickerInner.compact .thumb { width: 64px; }
.imagePickerInner.compact .btn:not(.iconBtn) { display: none; }
.imagePickerInner .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.formActions.sticky {
  position: sticky; bottom: 0; z-index: 2;
  margin: 6px calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad));
  padding: 12px var(--card-pad); border-top: 1px solid var(--border);
  background: var(--panel2); border-radius: 0 0 var(--radius) var(--radius);
}

/* ---------- dialog ---------- */
.modal {
  position: fixed; inset: 0; z-index: 20000;
  display: flex; align-items: center; justify-content: center; padding: 22px;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
}
.modalCard {
  width: 100%; max-width: 520px; max-height: calc(100dvh - 44px); overflow: auto;
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--border); border-radius: 18px; padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.modalCard.wide { max-width: 860px; }
.modalTitle { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.modalText { margin-top: 10px; color: var(--muted); line-height: 1.45; white-space: pre-line; font-size: 16px; }
.modalText:empty { display: none; }
.modalImage { margin-top: 12px; border-radius: 14px; overflow: hidden; background: #000; }
.modalImage img { display: block; width: 100%; max-height: 65dvh; object-fit: contain; }
.modalActions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 16px; }

.finalScores { display: grid; gap: 8px; }
.finalScores > div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); color: var(--text);
}
.finalScores > div.lead { border-color: rgba(57, 217, 138, 0.55); background: rgba(57, 217, 138, 0.08); }
.finalScores b { font-size: 22px; font-variant-numeric: tabular-nums; }

/* ---------- effects ---------- */
.sideTeam { position: relative; }
.sideTeam.active { animation: activePulse 1.8s ease-in-out infinite; }
@keyframes activePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57, 217, 138, 0); }
  50% { box-shadow: 0 0 0 6px rgba(57, 217, 138, 0.18); }
}
.sideTeam.scored .teamScore { animation: scoreBump 0.6s ease; }
@keyframes scoreBump { 30% { transform: scale(1.35); } }

.teamTimer {
  margin-top: 6px; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums;
  padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(57, 217, 138, 0.45); color: var(--ok);
}
.teamTimer.low { color: #ffc65c; border-color: rgba(255, 198, 92, 0.6); animation: timerBlink 1s steps(2) infinite; }
.teamTimer.timeUp { color: var(--danger); border-color: rgba(255, 77, 109, 0.6); }
@keyframes timerBlink { 50% { opacity: 0.45; } }

.floatPoints {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, 0);
  font-size: 30px; font-weight: 900; pointer-events: none; z-index: 5;
  animation: floatUp 1.2s ease-out forwards; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.floatPoints.pos { color: var(--ok); }
.floatPoints.neg { color: var(--danger); }
@keyframes floatUp {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(0.6); }
  20% { opacity: 1; transform: translate(-50%, 0) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -60px) scale(1); }
}

.popOut { animation: popOut 0.5s ease; }
@keyframes popOut { 0% { transform: scale(1); } 35% { transform: scale(0.94); } 70% { transform: scale(1.03); } 100% { transform: scale(1); } }
.explode { animation: explode 0.8s ease; }
@keyframes explode {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.9); }
  25% { transform: scale(1.06); }
  100% { transform: scale(1); box-shadow: 0 0 0 26px rgba(255, 77, 109, 0); }
}
.restored { animation: restored 0.8s ease; }
@keyframes restored { 0% { box-shadow: 0 0 0 3px rgba(92, 200, 255, 0.9); } 100% { box-shadow: 0 0 0 3px rgba(92, 200, 255, 0); } }
.popIn { animation: popIn 0.5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes popIn { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

body.shake .page { animation: shake 0.5s linear; }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(5px); }
  30%, 50%, 70% { transform: translateX(-9px); }
  40%, 60% { transform: translateX(9px); }
}
.fxFlash { position: fixed; inset: 0; pointer-events: none; z-index: 15000; background: rgba(255, 77, 109, 0.35); opacity: 0; }
.fxFlash.on { animation: redFlash 0.6s ease-out; }
@keyframes redFlash { 0% { opacity: 1; } 100% { opacity: 0; } }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 30000; overflow: hidden; }
.confetti i {
  position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px;
  animation-name: confettiFall; animation-timing-function: cubic-bezier(.25, .6, .5, 1); animation-fill-mode: forwards;
}
@keyframes confettiFall {
  to { transform: translate(var(--drift), 105vh) rotate(var(--spin)); opacity: 0.9; }
}

#gameSound { font-size: 15px; line-height: 1; }
#gameSound.off { opacity: 0.55; text-decoration: line-through; }
.gameCorner.right { display: flex; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 560px) {
  .formActions.sticky { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .formActions.sticky .btn { padding: 8px 12px; font-size: 14px; }
}
