:root {
  color-scheme: dark;
  --ink: #061527;
  --paper: #f8fcff;
  --pro: #00a982;
  --pro-deep: #037a70;
  --con: #11a8dc;
  --con-deep: #1269bd;
  --orange: #ff8a00;
  --muted: #93a9bd;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #061527;
  color: #fff;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.wall-page { overflow: hidden; background: #b8edf8; }
.wall {
  --wall-background: url("/static/assets/default-wall-background.webp");
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: #075c94;
  background-color: #b8edf8;
  background-image: linear-gradient(rgba(219, 250, 255, .08), rgba(219, 250, 255, .08)), var(--wall-background);
  background-position: center;
  background-size: cover;
}
.wall::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(229, 252, 255, .26), transparent 24%, transparent 76%, rgba(229, 252, 255, .26));
  pointer-events: none;
}
.wall-layout {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(160px, 13.5vw) minmax(640px, 1fr) minmax(160px, 13.5vw);
  align-items: center;
  gap: clamp(20px, 2.8vw, 56px);
  padding: clamp(34px, 4.6vh, 54px) clamp(28px, 5.3vw, 102px) clamp(56px, 6.4vh, 78px);
}
.vote-column {
  height: min(82vh, 820px);
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.vote-column h2 {
  margin: 0 0 8px;
  color: #075c94;
  font-size: clamp(22px, 1.65vw, 32px);
  line-height: 1.15;
  font-weight: 800;
}
.wall-qr {
  width: clamp(126px, 9vw, 174px);
  aspect-ratio: 1;
  padding: 6px;
  background: #fff;
  border: 2px solid rgba(4, 84, 127, .22);
  box-shadow: 0 8px 22px rgba(5, 96, 139, .16);
}
.wall-qr img { display: block; width: 100%; height: 100%; }
.scan-copy {
  margin: 8px 0 0;
  color: #0872aa;
  white-space: nowrap;
  font-size: clamp(15px, 1.15vw, 23px);
  font-weight: 650;
}
.bar-value {
  margin: 14px 0 5px;
  color: #075c94;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bar-value strong { font-size: clamp(29px, 2.25vw, 44px); }
.bar-value span { margin-left: 3px; font-size: clamp(18px, 1.2vw, 24px); }
.vote-bar-track {
  width: clamp(72px, 5.4vw, 104px);
  height: clamp(290px, 39vh, 430px);
  position: relative;
  overflow: hidden;
  background: transparent;
}
.vote-bar-fill {
  --bar-height: 0%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bar-height);
  max-height: 100%;
  min-height: 0;
  border-radius: 3px 3px 0 0;
  transition: height 1.35s cubic-bezier(.22, 1, .36, 1);
}
.vote-bar-fill.pro { background: #079b72; }
.vote-bar-fill.con { background: #188bd2; }
.bar-side-label {
  margin-top: 8px;
  font-size: clamp(18px, 1.35vw, 27px);
  font-weight: 900;
}
.bar-side-label.pro { color: #067c5d; }
.bar-side-label.con { color: #0876bb; }
.debate-board {
  height: min(70vh, 700px);
  min-height: 540px;
  position: relative;
  overflow: hidden;
  color: #0a1117;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 50px rgba(22, 128, 162, .18);
}
.question {
  position: relative;
  z-index: 3;
  padding: clamp(24px, 3vh, 38px) clamp(34px, 4vw, 76px) 14px;
  text-align: center;
}
.debate-kicker {
  margin: 0 0 8px;
  color: #080b0d;
  font-size: clamp(25px, 2vw, 40px);
  line-height: 1.12;
  font-weight: 900;
}
.question h1 {
  max-width: 1040px;
  margin: auto;
  font-size: clamp(25px, 2.15vw, 42px);
  line-height: 1.48;
  font-weight: 900;
}
.stance-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(96px, 9vw, 176px);
  padding: clamp(30px, 4vh, 46px) clamp(58px, 5.5vw, 104px) 140px;
}
.stance-panel {
  min-width: 0;
  min-height: clamp(245px, 33vh, 330px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 24px 34px;
  border: 2px solid;
  border-radius: 22px 22px 0 0;
  text-align: center;
  background: rgba(255,255,255,.44);
}
.stance-pro { border-color: rgba(0, 143, 126, .48); color: #008a7b; }
.stance-con { border-color: rgba(11, 157, 195, .46); color: #0793b5; }
.stance-label {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  transform: translateY(-50%);
  min-height: 58px;
  padding: 10px 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(24px, 2vw, 40px);
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(5, 91, 111, .15);
}
.stance-pro .stance-label { background: #078e80; }
.stance-con .stance-label { background: #10a3c5; }
.stance-answer { font-size: clamp(40px, 3.2vw, 62px); line-height: 1.12; }
.stance-panel p {
  margin: 25px 0 0;
  font-size: clamp(20px, 1.65vw, 32px);
  line-height: 1.45;
  font-weight: 850;
}
.vs {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%) rotate(-5deg);
  width: clamp(110px, 9vw, 170px);
  aspect-ratio: 1;
  border: 8px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ff8a00;
  box-shadow: 0 16px 34px rgba(255, 138, 0, .31);
  font-size: clamp(43px, 4vw, 75px);
  font-style: italic;
  font-weight: 950;
}
.vs::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 120%;
  background: #fff;
  clip-path: polygon(35% 0,100% 0,65% 43%,100% 43%,0 100%,32% 52%,0 52%);
}
.vs span { position: relative; z-index: 1; text-shadow: 0 3px 0 rgba(0,0,0,.1); }
.board-wave {
  position: absolute;
  z-index: 1;
  left: -8%;
  right: -8%;
  bottom: -90px;
  height: 215px;
  border-radius: 50% 50% 0 0;
}
.board-wave-back { bottom: -67px; background: #2fcfad; transform: rotate(1.8deg); }
.board-wave-front { background: #008f91; transform: rotate(-1.2deg); }
.wall-status {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #075c86;
  background: rgba(255,255,255,.76);
  box-shadow: 0 8px 24px rgba(8, 111, 153, .13);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  font-size: 13px;
}
.wall-status strong { color: #043e60; font-size: 15px; }
.status-divider { width: 1px; height: 15px; background: rgba(4, 86, 125, .22); }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c88a;
  box-shadow: 0 0 12px #22c88a;
  animation: pulse 1.7s infinite;
}
.live-dot[data-status="paused"], .live-dot[data-status="closed"] { background: #f1a12d; box-shadow: 0 0 12px #f1a12d; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.72); } }

.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .12em; font-weight: 800; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--pro), var(--con)); box-shadow: 0 8px 28px rgba(11, 191, 213, .28); }
.live-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(6,21,39,.56); color: #cbe8fa; font-size: 14px; backdrop-filter: blur(12px); }
.eyebrow { margin: 0 0 10px; color: #3f718e; font-size: 13px; font-weight: 900; letter-spacing: .28em; }

.vote-page { color: #102d3f; background: #c9f1fa; }
.vote-shell {
  --vote-background: url("/static/assets/vote-background.webp");
  min-height: 100vh;
  position: relative;
  padding: clamp(22px, 4vh, 44px) 18px 44px;
  background-color: #c9f1fa;
  background-image: linear-gradient(rgba(244, 252, 255, .2), rgba(242, 252, 255, .34)), var(--vote-background);
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}
.vote-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(213,247,252,.2));
  pointer-events: none;
}
.phone { width: min(540px, 100%); position: relative; z-index: 1; margin: auto; }
.phone-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.vote-brand { color: #075c86; letter-spacing: 0; text-shadow: 0 2px 8px rgba(255,255,255,.7); }
.vote-brand .brand-mark {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255,255,255,.94);
  border-radius: 50%;
  color: #fff;
  background: #df2d42;
  box-shadow: 0 6px 18px rgba(7, 92, 134, .17);
}
.vote-brand strong, .vote-brand small { display: block; }
.vote-brand strong { font-size: 17px; line-height: 1.1; }
.vote-brand small { margin-top: 3px; font-size: 9px; letter-spacing: .08em; }
.vote-page .live-pill {
  min-height: 36px;
  padding: 8px 13px;
  border-color: rgba(7, 92, 134, .18);
  color: #075c86;
  background: rgba(255,255,255,.8);
  box-shadow: 0 6px 18px rgba(7, 92, 134, .1);
  backdrop-filter: blur(10px);
  font-weight: 750;
}
.phone-card {
  border: 1px solid rgba(7, 92, 134, .12);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 32px);
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 55px rgba(15, 109, 143, .17);
  backdrop-filter: blur(12px);
}
.phone-card .eyebrow { margin-bottom: 12px; color: #078e80; }
.phone-card h1 {
  margin: 0 0 13px;
  color: #0b2637;
  font-size: clamp(24px, 6.5vw, 36px);
  line-height: 1.34;
  letter-spacing: 0;
}
.vote-hint { margin: 0 0 24px; color: #627c8c; font-size: 14px; line-height: 1.65; }
.vote-options { display: grid; gap: 13px; }
.vote-option {
  width: 100%;
  min-height: 92px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 18px;
  color: #173849;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  transition: transform .18s, border-color .18s, box-shadow .18s, background .18s;
}
.vote-option:hover { transform: translateY(-1px); }
.vote-option.pro { background: #edf9f6; border-color: rgba(7, 142, 128, .18); }
.vote-option.con { background: #edf8fc; border-color: rgba(16, 163, 197, .18); }
.vote-option.pro.selected { border-color: #078e80; box-shadow: 0 0 0 3px rgba(7, 142, 128, .1); }
.vote-option.con.selected { border-color: #109fc2; box-shadow: 0 0 0 3px rgba(16, 159, 194, .1); }
.vote-option .letter {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  font-size: 19px;
}
.vote-option.pro .letter { background: #078e80; }
.vote-option.con .letter { background: #109fc2; }
.vote-option strong { display: block; margin-bottom: 5px; color: #123347; font-size: 20px; }
.vote-option small { display: block; color: #617b8a; font-size: 14px; line-height: 1.45; }
.radio { width: 22px; height: 22px; border: 2px solid #9bb1bc; border-radius: 50%; background: #fff; }
.pro.selected .radio { border: 6px solid #078e80; }
.con.selected .radio { border: 6px solid #109fc2; }
.submit {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  color: #fff;
  background: #075c86;
  box-shadow: 0 10px 22px rgba(7, 92, 134, .18);
  font-weight: 900;
  font-size: 17px;
}
.submit:disabled { cursor: not-allowed; opacity: .38; box-shadow: none; }
.undo-vote {
  width: 100%;
  min-height: 48px;
  margin-top: 11px;
  border: 1px solid rgba(7, 92, 134, .24);
  border-radius: 8px;
  padding: 12px 18px;
  color: #075c86;
  background: rgba(255,255,255,.78);
  font-weight: 850;
}
.undo-vote:disabled { cursor: not-allowed; opacity: .45; }
.message { display: none; margin-top: 16px; border-radius: 8px; padding: 14px 16px; line-height: 1.55; }
.message.show { display: block; }
.message.success { color: #08705f; background: #e7f7f2; }
.message.error { color: #a43d3d; background: #fff0f0; }

.admin-shell { min-height: 100vh; padding: 34px 20px 60px; background: #071523; }
.admin-wrap { width: min(980px, 100%); margin: auto; }
.admin-header { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 26px; }
.admin-header h1 { margin: 0; font-size: 34px; }
.admin-header p { margin: 7px 0 0; color: var(--muted); }
.panel { border: 1px solid #20364a; border-radius: 22px; padding: 24px; background: #0b1e30; box-shadow: 0 20px 55px rgba(0,0,0,.22); }
.login-panel { width: min(440px, 100%); margin: 15vh auto 0; }
.panel h2 { margin: 0 0 20px; }
.field { display: grid; gap: 8px; margin-bottom: 17px; }
.field label { color: #b8cbd8; font-size: 14px; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid #29455d; border-radius: 12px; padding: 12px 14px; background: #071523; color: #fff; outline: none; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #30b7dc; box-shadow: 0 0 0 3px rgba(48,183,220,.13); }
.primary, .secondary, .danger { border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 850; }
.primary { color: #061527; background: #56d7f1; }
.secondary { color: #d9eef8; background: #19364d; }
.danger { color: #ffdada; background: #743030; }
.link-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.admin-grid { display: grid; grid-template-columns: 1fr 280px; gap: 22px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.status-card { margin-bottom: 18px; }
.admin-tools { margin-top: 18px; }
.compact-field { margin-bottom: 12px; }
.compact-field input { font-size: 12px; }
.export-button { display: flex; justify-content: center; margin-top: 14px; text-decoration: none; }
.status-value { font-size: 32px; font-weight: 950; }
.mini-score { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mini-score div { padding: 14px; border-radius: 14px; background: #071523; }
.mini-score strong { display: block; margin-top: 5px; font-size: 26px; }
.panel-divider { border: 0; border-top: 1px solid #20364a; margin: 28px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.section-heading h2 { margin-bottom: 0; }
.image-spec { color: #8199aa; font-size: 12px; white-space: nowrap; }
.background-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 17px;
  border: 1px solid #29455d;
  border-radius: 12px;
  background: #071523;
}
.background-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.field input[type="file"] { padding: 9px; color: #9fb5c5; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  color: #d9eef8;
  background: #19364d;
  cursor: pointer;
}
.hidden { display: none !important; }
.toast { min-height: 24px; margin-top: 12px; color: #76f2c4; }

.manual-shell { min-height: 100vh; padding: 34px 20px 60px; color: #fff; background: #071523; }
.manual-header {
  width: min(980px, 100%);
  margin: 0 auto 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.manual-header h1 { margin: 0; font-size: 34px; }
.manual-header p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); }
.manual-summary {
  width: min(980px, 100%);
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 26px;
}
.manual-summary h2 { max-width: 650px; margin-bottom: 0; font-size: 22px; line-height: 1.45; }
.manual-total { min-width: 92px; text-align: center; color: #91aabb; }
.manual-total span, .manual-total strong { display: block; }
.manual-total strong { margin-top: 3px; color: #fff; font-size: 34px; font-variant-numeric: tabular-nums; }
.manual-status { display: flex; align-items: center; gap: 9px; color: #b7cedc; white-space: nowrap; }
.manual-grid { width: min(980px, 100%); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.manual-side { box-shadow: none; }
.manual-side-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.manual-side-head h2 { margin: 0 0 5px; }
.manual-side-head p { margin: 0; color: #91aabb; font-size: 13px; line-height: 1.45; }
.manual-side-head > strong { font-size: 42px; font-variant-numeric: tabular-nums; }
.manual-side-badge { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 950; font-size: 19px; }
.manual-pro .manual-side-badge { background: #078e80; }
.manual-con .manual-side-badge { background: #109fc2; }
.manual-pro .manual-side-head > strong { color: #4fe0c5; }
.manual-con .manual-side-head > strong { color: #5ad3ed; }
.manual-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 24px; }
.manual-presets button {
  min-height: 48px;
  border: 1px solid;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
}
.manual-pro .manual-presets button { border-color: rgba(79,224,197,.35); background: rgba(7,142,128,.13); }
.manual-con .manual-presets button { border-color: rgba(90,211,237,.35); background: rgba(16,159,194,.13); }
.manual-presets button:hover { filter: brightness(1.2); }
.manual-presets button:disabled, .manual-custom-button:disabled { cursor: wait; opacity: .42; }
.manual-custom { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 12px; }
.manual-custom input {
  min-width: 0;
  border: 1px solid #29455d;
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  background: #071523;
  outline: none;
}
.manual-custom input:focus { border-color: #30b7dc; box-shadow: 0 0 0 3px rgba(48,183,220,.13); }
.manual-custom-button { border-radius: 8px; }
.manual-message { display: none; width: min(980px, 100%); margin: 18px auto 0; border-radius: 8px; padding: 14px 16px; }
.manual-message.show { display: block; }
.manual-message.success { color: #76f2c4; background: rgba(53,228,164,.12); }
.manual-message.error { color: #ffb2b2; background: rgba(255,98,98,.12); }

@media (max-width: 1180px) {
  .wall-layout {
    grid-template-columns: minmax(135px, 16vw) minmax(560px, 1fr) minmax(135px, 16vw);
    gap: 18px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .stance-grid { gap: 92px; padding-left: 40px; padding-right: 40px; }
  .stance-panel { padding-left: 15px; padding-right: 15px; }
}

@media (max-width: 980px) {
  .wall-page { overflow: auto; }
  .wall { min-height: 1180px; }
  .wall-layout {
    min-height: 1180px;
    grid-template-areas: "board board" "pro con";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 430px;
    align-items: start;
    gap: 28px;
    padding: 82px 28px 74px;
  }
  .debate-board { grid-area: board; width: 100%; height: 610px; min-height: 0; }
  .vote-column { height: 410px; min-height: 0; }
  .vote-column-pro { grid-area: pro; }
  .vote-column-con { grid-area: con; }
  .wall-qr { width: 112px; }
  .bar-value { margin-top: 18px; }
  .vote-bar-track { height: 240px; }
  .wall-status { position: fixed; }
  .admin-grid { grid-template-columns: 1fr; }
  .manual-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand span:last-child { display: none; }
  .vote-page .vote-brand span:last-child { display: block; }
  .wall { min-height: 1480px; }
  .wall-layout {
    min-height: 1480px;
    grid-template-areas: "board" "pro" "con";
    grid-template-columns: 1fr;
    grid-template-rows: 760px 300px 300px;
    padding: 75px 14px 80px;
  }
  .debate-board { height: 740px; }
  .question { padding-left: 18px; padding-right: 18px; }
  .question h1 { font-size: 22px; }
  .stance-grid { grid-template-columns: 1fr; gap: 60px; padding: 32px 34px 120px; }
  .stance-panel { min-height: 210px; }
  .stance-label { min-height: 46px; font-size: 21px; }
  .stance-answer { font-size: 36px; }
  .stance-panel p { margin-top: 14px; font-size: 18px; }
  .vs { top: 50%; width: 84px; border-width: 5px; font-size: 34px; }
  .vote-column { height: 285px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; }
  .vote-column h2, .scan-copy { grid-column: 1; }
  .wall-qr { grid-column: 1; grid-row: 2 / 4; width: 124px; justify-self: center; }
  .scan-copy { display: none; }
  .bar-value { grid-column: 2; grid-row: 1; margin: 0 0 8px; align-self: end; }
  .vote-bar-track { grid-column: 2; grid-row: 2 / 4; height: 220px; justify-self: center; }
  .wall-status { max-width: calc(100vw - 18px); gap: 7px; overflow: hidden; font-size: 11px; }
  .wall-status .status-divider:last-of-type, .wall-status span:last-child { display: none; }
  .admin-header { align-items: start; flex-direction: column; }
  .section-heading { align-items: start; flex-direction: column; }
  .manual-header { align-items: start; flex-direction: column; }
  .manual-summary { grid-template-columns: 1fr 1fr; }
  .manual-summary > div:first-child { grid-column: 1 / -1; }
  .manual-total { text-align: left; }
  .manual-status { justify-content: end; }
  .manual-side-head { grid-template-columns: auto 1fr; }
  .manual-side-head > strong { grid-column: 1 / -1; }
  .manual-presets { grid-template-columns: 1fr 1fr; }
  .manual-custom { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
