:root {
  --navy: #123985;
  --navy-deep: #08255f;
  --cyan: #55a6cf;
  --cyan-soft: #dceef7;
  --lavender: #c8bdd9;
  --lavender-soft: #eee9f4;
  --ink: #102347;
  --muted: #64718a;
  --line: rgba(18, 57, 133, 0.14);
  --paper: #ffffff;
  --paper-strong: rgba(255, 255, 255, 0.94);
  --paper-soft: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 70px rgba(19, 52, 104, 0.14);
  --shadow-soft: 0 10px 35px rgba(19, 52, 104, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-display: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  background-color: #eef4fa;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.72) 0,
    rgba(255, 255, 255, 0.72) 7.5vw,
    rgba(218, 230, 244, 0.46) 7.5vw,
    rgba(218, 230, 244, 0.46) 15vw
  );
  isolation: isolate;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
}

body::before {
  background-image: url("assets/campaign-background.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.18) 0%, rgba(240, 246, 251, 0.14) 48%, rgba(239, 245, 250, 0.56) 100%),
    linear-gradient(90deg, rgba(244, 249, 253, 0.18), rgba(244, 249, 253, 0.04) 56%, rgba(244, 249, 253, 0.18));
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(85, 166, 207, 0.8);
  outline-offset: 3px;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 15px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: var(--navy);
  border-radius: 12px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100% - 32px, 1240px);
  min-height: 100vh;
  margin-inline: auto;
  padding: 22px 0 18px;
}

.campaign-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px 12px 10px 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(20, 58, 113, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.wordmark__drivu {
  font-size: 1.7rem;
}

.wordmark__collab {
  color: var(--cyan);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0;
}

.wordmark__tbl {
  display: grid;
  min-width: 45px;
  min-height: 30px;
  place-items: center;
  padding: 4px 7px 3px;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  background: var(--navy);
  border-radius: 8px 8px 8px 2px;
}

.header-actions,
.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.campaign-chip,
.status-pill,
.device-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 7px 11px;
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(220, 238, 247, 0.86);
  border: 1px solid rgba(85, 166, 207, 0.2);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button--quiet {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(18, 57, 133, 0.14);
}

.button--quiet:hover {
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 57, 133, 0.1);
}

.button--primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 25px rgba(18, 57, 133, 0.24);
}

.button--primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 14px 30px rgba(18, 57, 133, 0.3);
}

.button--secondary {
  color: var(--navy);
  background: var(--cyan-soft);
  border-color: rgba(85, 166, 207, 0.28);
}

.button--danger {
  color: #9f2943;
  background: rgba(255, 244, 246, 0.9);
  border-color: rgba(180, 45, 71, 0.2);
}

.button--danger:hover {
  color: #842039;
  background: #ffedf1;
  border-color: rgba(180, 45, 71, 0.32);
  box-shadow: 0 9px 20px rgba(180, 45, 71, 0.13);
}

.button--danger-solid {
  color: #fff;
  background: #ad2944;
  border-color: #ad2944;
  box-shadow: 0 12px 24px rgba(173, 41, 68, 0.22);
}

.button--danger-solid:hover {
  background: #912139;
  border-color: #912139;
  box-shadow: 0 14px 28px rgba(145, 33, 57, 0.27);
}

.button--full {
  width: 100%;
}

.campaign-main {
  padding: 0 0 32px;
}

.hero-intro {
  max-width: 760px;
  margin: 54px auto 34px;
  padding-inline: 20px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 7px 20px rgba(18, 57, 133, 0.08);
}

.eyebrow span {
  color: var(--cyan);
}

.hero-intro h1 {
  max-width: 690px;
  margin: 14px auto 11px;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-intro > p:last-child {
  max-width: 590px;
  margin: 0 auto;
  color: #344867;
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  font-weight: 550;
  text-wrap: balance;
}

.play-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, 0.88fr);
  gap: 22px;
  align-items: start;
}

.surface {
  background: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.wheel-stage,
.configuration-card,
.history-section {
  padding: clamp(20px, 3vw, 32px);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading--centered {
  align-items: center;
}

.section-heading h2,
.dashboard-heading h2,
.owner-login h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 2.2vw, 1.82rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-kicker {
  margin-bottom: 5px;
  color: #66809e;
  font-size: 0.67rem;
}

.status-pill {
  color: #176346;
  background: rgba(223, 246, 235, 0.86);
  border-color: rgba(23, 99, 70, 0.12);
}

.status-pill > span {
  width: 7px;
  height: 7px;
  background: #29a778;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(41, 167, 120, 0.12);
}

.wheel-wrap {
  position: relative;
  width: min(100%, 560px);
  margin: 8px auto 0;
  padding: 13px;
  border-radius: 50%;
  filter: drop-shadow(0 26px 28px rgba(20, 49, 98, 0.16));
}

#wheelCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: transparent;
  border: 0;
  border-radius: 50%;
  outline: 0;
}

.wheel-pointer {
  position: absolute;
  top: -7px;
  left: 50%;
  z-index: 5;
  width: 50px;
  height: 61px;
  padding: 5px;
  background: #fff;
  border-radius: 50% 50% 54% 54%;
  box-shadow: 0 9px 18px rgba(8, 37, 95, 0.22);
  transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.wheel-pointer span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.spin-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: flex;
  width: clamp(92px, 20%, 116px);
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  border: 7px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  outline: 2px solid var(--navy);
  box-shadow: 0 11px 28px rgba(8, 37, 95, 0.3), inset 0 0 0 2px rgba(85, 166, 207, 0.18);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.spin-button:hover {
  background: #f7fbfd;
  box-shadow: 0 15px 33px rgba(8, 37, 95, 0.34), inset 0 0 0 3px rgba(85, 166, 207, 0.2);
  transform: translate(-50%, -50%) scale(1.045);
}

.spin-button:active {
  transform: translate(-50%, -50%) scale(0.98);
}

.spin-button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.spin-button > span {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.spin-button small {
  margin-top: 3px;
  color: #72819b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.spin-guidance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 7px 0 20px;
}

.spin-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
}

.spin-limit-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px 5px 6px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  background: rgba(238, 233, 244, 0.82);
  border: 1px solid rgba(140, 113, 170, 0.16);
  border-radius: 999px;
}

.spin-limit-badge__mark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--navy);
  border-radius: 50%;
}

.spin-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(190px, 0.9fr);
  gap: 13px;
}

.participant-field,
.result-card {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.participant-field > label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.77rem;
  font-weight: 800;
}

.participant-field > label span {
  color: var(--muted);
  font-weight: 600;
}

.input-with-icon,
.pin-field {
  position: relative;
}

.input-with-icon svg,
.pin-field svg {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  color: #7287a5;
  pointer-events: none;
  transform: translateY(-50%);
}

.input-with-icon input,
.pin-field input,
.choice-row input {
  width: 100%;
  min-height: 45px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 57, 133, 0.16);
  border-radius: 11px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-with-icon input,
.pin-field input {
  padding: 10px 12px 10px 41px;
}

.input-with-icon input::placeholder,
.pin-field input::placeholder,
.choice-row input::placeholder {
  color: #98a3b5;
}

.input-with-icon input:focus,
.pin-field input:focus,
.choice-row input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(85, 166, 207, 0.15);
}

.result-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 57, 133, 0.95), rgba(31, 75, 154, 0.92));
  border-color: rgba(18, 57, 133, 0.22);
  box-shadow: 0 10px 24px rgba(18, 57, 133, 0.15);
}

.result-card__label {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.result-card strong {
  overflow: hidden;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.palette-mark {
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.palette-mark i {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--navy);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(18, 57, 133, 0.12);
}

.palette-mark i + i {
  margin-left: -5px;
}

.palette-mark i:nth-child(2) {
  background: var(--cyan);
}

.palette-mark i:nth-child(3) {
  background: var(--lavender);
}

.choice-count-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 14px;
  background: rgba(220, 238, 247, 0.48);
  border: 1px solid rgba(85, 166, 207, 0.16);
  border-radius: var(--radius-md);
}

.choice-count-block label,
.choice-fieldset legend {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.choice-count-block p,
.choice-fieldset legend span {
  display: block;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 550;
}

.stepper {
  display: grid;
  grid-template-columns: 38px 48px 38px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 57, 133, 0.15);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(18, 57, 133, 0.07);
}

.stepper button,
.stepper input {
  min-height: 42px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
}

.stepper button {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
}

.stepper button:hover {
  background: var(--cyan-soft);
}

.stepper input {
  width: 48px;
  color: var(--ink);
  font-weight: 850;
  border-inline: 1px solid rgba(18, 57, 133, 0.12);
  outline: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.choice-fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.choice-fieldset legend {
  width: 100%;
  margin-bottom: 10px;
}

.choice-fields {
  display: grid;
  gap: 8px;
  max-height: 348px;
  padding: 3px 5px 3px 3px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(18, 57, 133, 0.28) transparent;
  scrollbar-width: thin;
}

.choice-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
}

.choice-field.choice-row {
  grid-template-columns: 30px minmax(0, 1fr) 38px;
}

.choice-swatch {
  width: 10px;
  height: 32px;
  background: var(--navy);
  border-radius: 999px;
}

.choice-row:nth-child(3n + 2) .choice-swatch {
  background: var(--cyan);
}

.choice-row:nth-child(3n) .choice-swatch {
  background: var(--lavender);
}

.choice-row input {
  min-height: 43px;
  padding: 9px 12px;
}

.choice-number {
  color: #8d9bb0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: right;
}

.choice-field .choice-number {
  color: #7f8fa7;
  font-size: 0.68rem;
  text-align: center;
}

.choice-remove {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1;
  background: rgba(220, 238, 247, 0.72);
  border: 1px solid rgba(85, 166, 207, 0.17);
  border-radius: 10px;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.choice-remove:hover:not(:disabled) {
  color: #a12645;
  background: #fae9ed;
}

.choice-remove:disabled,
.stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 19px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.toggle-row strong,
.toggle-row small {
  display: block;
}

.toggle-row strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.toggle-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch > span {
  position: relative;
  display: block;
  width: 48px;
  height: 28px;
  background: #c8d0dd;
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(8, 37, 95, 0.15);
  transition: background-color 160ms ease;
}

.switch > span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  content: "";
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(8, 37, 95, 0.22);
  transition: transform 160ms ease;
}

.switch input:checked + span {
  background: var(--navy);
}

.switch input:checked + span::after {
  transform: translateX(20px);
}

.switch input:focus-visible + span {
  outline: 3px solid rgba(85, 166, 207, 0.75);
  outline-offset: 3px;
}

.history-section {
  margin-top: 22px;
  padding-block: 26px;
}

.history-section .section-heading {
  align-items: center;
  margin-bottom: 16px;
}

.device-badge {
  color: #536b86;
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line);
  letter-spacing: 0.02em;
  text-transform: none;
}

.history-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.history-list:empty {
  display: none;
}

.history-list > li {
  min-width: 0;
}

.empty-state {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 86px;
  padding: 18px;
  color: var(--muted);
  text-align: left;
  background: rgba(255, 255, 255, 0.54);
  border: 1px dashed rgba(18, 57, 133, 0.18);
  border-radius: var(--radius-md);
}

.empty-state__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
  background: var(--cyan-soft);
  border-radius: 50%;
}

.empty-state strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.empty-state p {
  margin: 2px 0 0;
  font-size: 0.76rem;
}

.history-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 74px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.history-item__number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 850;
  background: var(--navy);
  border-radius: 11px;
}

.history-marker {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--navy);
  border: 5px solid var(--cyan-soft);
  border-radius: 11px;
}

.history-marker::after {
  width: 7px;
  height: 7px;
  content: "";
  background: #fff;
  border-radius: 50%;
}

.history-item:nth-child(3n + 2) .history-marker {
  background: var(--cyan);
  border-color: #e6f4fa;
}

.history-item:nth-child(3n) .history-marker {
  background: var(--lavender);
  border-color: var(--lavender-soft);
}

.history-copy {
  min-width: 0;
}

.history-item:nth-child(3n + 2) .history-item__number {
  background: var(--cyan);
}

.history-item:nth-child(3n) .history-item__number {
  color: var(--navy-deep);
  background: var(--lavender);
}

.history-item strong,
.history-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-card.is-celebrating {
  animation: result-pop 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes result-pop {
  0% { transform: scale(0.96); }
  55% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

.history-item strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.history-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.campaign-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6px 4px;
  color: #52647c;
  font-size: 0.7rem;
  font-weight: 600;
}

.campaign-footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 690px;
  margin: 0;
}

.campaign-footer p svg {
  flex: 0 0 auto;
  color: var(--navy);
}

.campaign-footer > span {
  color: var(--navy);
  font-weight: 850;
}

.owner-dialog {
  width: min(94vw, 960px);
  max-width: none;
  max-height: min(92vh, 900px);
  padding: 0;
  color: var(--ink);
  background: rgba(250, 252, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: 0 35px 120px rgba(8, 37, 95, 0.34);
  overflow: auto;
  overscroll-behavior: contain;
}

.owner-dialog::backdrop {
  background: rgba(8, 26, 62, 0.54);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.dialog-shell {
  min-height: 100%;
  padding: clamp(20px, 3vw, 32px);
  background:
    radial-gradient(circle at 0 0, rgba(85, 166, 207, 0.14), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(200, 189, 217, 0.18), transparent 32%);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark--dialog {
  transform: scale(0.88);
  transform-origin: left center;
}

.icon-button {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.icon-button:hover {
  background: #fff;
  transform: rotate(4deg);
}

.owner-login {
  width: min(100%, 430px);
  margin: 34px auto 24px;
  text-align: center;
}

.owner-lock {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(145deg, #fff, var(--cyan-soft));
  border: 1px solid rgba(85, 166, 207, 0.22);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-3deg);
}

.owner-login h2 {
  font-size: clamp(1.8rem, 5vw, 2.35rem);
}

.owner-login__intro {
  max-width: 360px;
  margin: 10px auto 23px;
  color: var(--muted);
  font-size: 0.9rem;
}

.owner-form {
  text-align: left;
}

.owner-form > label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.pin-field input {
  min-height: 51px;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.owner-form .button {
  min-height: 50px;
  margin-top: 14px;
}

.form-error {
  margin: 8px 0 0;
  color: #b42d47;
  font-size: 0.75rem;
  font-weight: 700;
}

.owner-status {
  min-height: 18px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 650;
  text-align: center;
}

.owner-status[data-tone="success"] {
  color: #237a59;
}

.owner-status[data-tone="warning"] {
  color: #9a6519;
}

.owner-status[data-tone="error"] {
  color: #b42d47;
}

.security-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 18px 0 0;
  color: #6c7f97;
  font-size: 0.68rem;
  font-weight: 650;
}

.security-note span {
  color: #35a67d;
  font-size: 0.52rem;
}

.owner-dashboard {
  margin-top: 24px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.dashboard-heading > div:first-child > p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  position: relative;
  min-width: 0;
  min-height: 126px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(18, 57, 133, 0.1);
  border-radius: 18px;
}

.stat-card::after {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 86px;
  height: 86px;
  content: "";
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.stat-card--navy {
  color: #fff;
  background: var(--navy);
}

.stat-card--cyan {
  color: var(--navy-deep);
  background: var(--cyan-soft);
}

.stat-card--lavender {
  color: var(--navy-deep);
  background: var(--lavender-soft);
}

.stat-card > span,
.stat-card > strong,
.stat-card > small {
  position: relative;
  z-index: 1;
  display: block;
}

.stat-card > span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.78;
  text-transform: uppercase;
}

.stat-card > strong {
  margin: 5px 0 1px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-card > strong.stat-card__text {
  overflow: hidden;
  font-size: 1.22rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-card > small {
  font-size: 0.67rem;
  opacity: 0.7;
}

.results-panel {
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.results-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.results-panel__heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 850;
}

.results-panel__heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.results-panel__heading > span {
  padding: 5px 9px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--cyan-soft);
  border-radius: 999px;
}

.table-scroll {
  max-height: 360px;
  overflow: auto;
  border: 1px solid rgba(18, 57, 133, 0.1);
  border-radius: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(18, 57, 133, 0.09);
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #60728d;
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  background: #f5f8fb;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: rgba(220, 238, 247, 0.24);
}

.table-empty td {
  padding: 30px 16px;
  color: var(--muted);
  text-align: center;
}

.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 17px;
}

.dashboard-footer p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
}

.dashboard-footer p svg {
  flex: 0 0 auto;
  color: var(--navy);
}

/* Winner moment */
.winner-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  color: #fff;
  background: var(--navy-deep);
  border: 0;
  overflow: hidden;
}

.winner-dialog::backdrop {
  background: rgba(4, 19, 48, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.winner-scene {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100%;
  padding: clamp(76px, 9vh, 110px) 24px 64px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 48%, rgba(85, 166, 207, 0.5) 0, rgba(85, 166, 207, 0.13) 29%, transparent 53%),
    radial-gradient(circle at 18% 18%, rgba(200, 189, 217, 0.24), transparent 26%),
    radial-gradient(circle at 85% 82%, rgba(85, 166, 207, 0.22), transparent 27%),
    linear-gradient(145deg, #071d50 0%, #123985 54%, #0b2b6e 100%);
}

.winner-scene::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("assets/campaign-000.png") no-repeat center 62% / cover;
  opacity: 0.1;
  mix-blend-mode: screen;
}

.winner-scene::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 67%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.winner-close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 6;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(3, 16, 42, 0.2);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 160ms ease, transform 160ms ease;
}

.winner-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(5deg);
}

.winner-content {
  position: relative;
  z-index: 3;
  width: min(100%, 820px);
  text-align: center;
}

.winner-dialog[open] .winner-content {
  animation: winner-rise 620ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.winner-medallion {
  display: grid;
  width: clamp(92px, 12vw, 120px);
  aspect-ratio: 1;
  margin: 0 auto 21px;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(145deg, #fff, #e8f5fa);
  border: 6px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  outline: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 22px 65px rgba(2, 16, 44, 0.35), inset 0 0 0 2px rgba(85, 166, 207, 0.18);
  transform: rotate(-3deg);
}

.winner-medallion svg {
  width: 56%;
  height: 56%;
  stroke-width: 1.65;
}

.winner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.winner-kicker span {
  color: #9ed7ed;
}

.winner-content h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 8vw, 6.7rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-shadow: 0 12px 40px rgba(3, 16, 42, 0.25);
  text-wrap: balance;
}

.winner-message {
  margin: clamp(20px, 4vh, 34px) 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 2.2vw, 1.22rem);
  font-weight: 650;
}

.winner-prize {
  display: block;
  width: min(100%, 650px);
  padding: clamp(16px, 2.8vw, 24px) clamp(20px, 5vw, 44px);
  margin: 0 auto;
  overflow: hidden;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(3, 16, 42, 0.28);
  text-wrap: balance;
}

.winner-privacy {
  max-width: 520px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: 600;
}

.winner-done-button {
  min-width: 190px;
  margin-top: 21px;
  color: var(--navy-deep);
  background: var(--cyan-soft);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 30px rgba(3, 16, 42, 0.2);
}

.winner-done-form {
  margin: 0;
}

.winner-done-button:hover {
  background: #fff;
}

.winner-signoff {
  position: absolute;
  right: 0;
  bottom: max(21px, env(safe-area-inset-bottom));
  left: 0;
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.winner-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.winner-orbit--one {
  width: min(88vw, 980px);
  animation: orbit-turn 26s linear infinite;
}

.winner-orbit--two {
  width: min(112vw, 1260px);
  border-style: dashed;
  border-color: rgba(85, 166, 207, 0.2);
  animation: orbit-turn 38s linear infinite reverse;
}

.confetti-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.confetti-field i {
  position: absolute;
  top: -8%;
  width: 10px;
  height: 22px;
  background: var(--cyan);
  border-radius: 3px;
  animation: confetti-fall 4.8s cubic-bezier(0.18, 0.7, 0.33, 1) infinite;
}

.confetti-field i:nth-child(3n + 1) { background: var(--lavender); }
.confetti-field i:nth-child(3n) { background: #fff; }
.confetti-field i:nth-child(1) { left: 7%; animation-delay: -1.2s; }
.confetti-field i:nth-child(2) { left: 14%; animation-delay: -3.1s; transform: rotate(19deg); }
.confetti-field i:nth-child(3) { left: 23%; animation-delay: -0.4s; }
.confetti-field i:nth-child(4) { left: 32%; animation-delay: -2.3s; transform: rotate(41deg); }
.confetti-field i:nth-child(5) { left: 41%; animation-delay: -3.8s; }
.confetti-field i:nth-child(6) { left: 49%; animation-delay: -1.8s; transform: rotate(25deg); }
.confetti-field i:nth-child(7) { left: 58%; animation-delay: -0.8s; }
.confetti-field i:nth-child(8) { left: 67%; animation-delay: -3.4s; transform: rotate(35deg); }
.confetti-field i:nth-child(9) { left: 75%; animation-delay: -2s; }
.confetti-field i:nth-child(10) { left: 83%; animation-delay: -0.1s; transform: rotate(14deg); }
.confetti-field i:nth-child(11) { left: 90%; animation-delay: -2.7s; }
.confetti-field i:nth-child(12) { left: 96%; animation-delay: -1.5s; transform: rotate(48deg); }

@keyframes winner-rise {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes confetti-fall {
  0% { opacity: 0; transform: translate3d(0, -10vh, 0) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(35px, 112vh, 0) rotate(540deg); }
}

@keyframes orbit-turn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Owner reset confirmation */
.reset-dialog {
  position: fixed;
  inset: 0;
  width: min(92vw, 540px);
  max-width: none;
  max-height: min(92vh, 760px);
  padding: 0;
  color: var(--ink);
  background: rgba(251, 252, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  box-shadow: 0 32px 100px rgba(8, 26, 62, 0.4);
  overflow: auto;
}

.reset-dialog::backdrop {
  background: rgba(8, 26, 62, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reset-dialog__shell {
  padding: clamp(24px, 5vw, 38px);
  background:
    radial-gradient(circle at 100% 0, rgba(200, 189, 217, 0.2), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(85, 166, 207, 0.12), transparent 36%);
}

.reset-dialog__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  color: #9f2943;
  background: #ffedf1;
  border: 1px solid rgba(180, 45, 71, 0.16);
  border-radius: 18px;
  box-shadow: 0 11px 26px rgba(173, 41, 68, 0.12);
}

.reset-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.reset-dialog__shell > p:not(.section-kicker):not(.reset-status) {
  margin: 12px 0 21px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reset-impact {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.reset-impact > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
}

.reset-impact > div + div {
  border-top: 1px solid rgba(18, 57, 133, 0.09);
}

.reset-impact__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #9f2943;
  background: #ffedf1;
  border-radius: 11px;
}

.reset-impact__icon--cyan {
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 900;
  background: var(--cyan-soft);
}

.reset-impact strong,
.reset-impact small {
  display: block;
}

.reset-impact strong {
  color: var(--ink);
  font-size: 0.79rem;
}

.reset-impact small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.reset-status {
  min-height: 20px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.reset-status[data-tone="error"] {
  color: #a52540;
}

.reset-status[data-tone="success"] {
  color: #237a59;
}

.reset-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
  margin-top: 10px;
}

.reset-actions .button {
  min-height: 49px;
}

@media (min-width: 1100px) {
  body::before {
    background-position: right bottom;
    background-size: auto 100%;
  }

  body::after {
    background:
      linear-gradient(90deg, rgba(242, 247, 251, 0.2) 0%, rgba(242, 247, 251, 0.06) 63%, rgba(242, 247, 251, 0.22) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(238, 245, 251, 0.42));
  }
}

@media (max-width: 980px) {
  .play-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .configuration-card {
    width: 100%;
  }

  .choice-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .history-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body::before {
    background-position: center top;
    background-size: auto max(100vh, 1180px);
  }

  body::after {
    background: linear-gradient(180deg, rgba(249, 252, 255, 0.12), rgba(238, 245, 251, 0.64));
  }

  .site-shell {
    width: min(100% - 20px, 600px);
    padding-top: 10px;
  }

  .campaign-header {
    min-height: 62px;
    padding: 8px 8px 8px 15px;
    border-radius: 18px;
  }

  .wordmark__drivu {
    font-size: 1.42rem;
  }

  .wordmark__tbl {
    min-width: 40px;
    min-height: 27px;
    font-size: 0.75rem;
  }

  .campaign-chip {
    display: none;
  }

  .header-actions .button {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.76rem;
  }

  .hero-intro {
    margin: 42px auto 27px;
    padding-inline: 8px;
  }

  .hero-intro h1 {
    margin-top: 12px;
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .surface {
    border-radius: 25px;
  }

  .wheel-stage,
  .configuration-card,
  .history-section {
    padding: 20px 16px;
  }

  .wheel-stage .section-heading {
    padding-inline: 2px;
  }

  .wheel-wrap {
    width: min(100%, 500px);
    padding: 10px;
  }

  #wheelCanvas {
    border-width: 7px;
  }

  .wheel-pointer {
    top: -6px;
    width: 42px;
    height: 52px;
  }

  .spin-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .result-card {
    min-height: 76px;
  }

  .choice-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .history-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .campaign-footer,
  .dashboard-heading,
  .dashboard-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .campaign-footer {
    gap: 9px;
    padding-inline: 5px;
  }

  .owner-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 24px;
  }

  .dialog-shell {
    padding: 18px 16px 20px;
  }

  .owner-login {
    margin-top: 27px;
  }

  .dashboard-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .dashboard-actions .button {
    flex: 1 1 auto;
  }

  .winner-scene {
    padding: 76px 16px 58px;
  }

  .winner-prize {
    border-radius: 20px;
  }

  .reset-dialog {
    width: calc(100vw - 24px);
    border-radius: 22px;
  }

  .stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat-card {
    min-height: 105px;
  }

  .dashboard-footer .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .header-actions .button svg {
    display: none;
  }

  .wordmark {
    gap: 6px;
  }

  .wordmark__collab {
    font-size: 0.95rem;
  }

  .wordmark__drivu {
    font-size: 1.28rem;
  }

  .wordmark__tbl {
    min-width: 36px;
    min-height: 25px;
    padding-inline: 5px;
    font-size: 0.68rem;
  }

  .choice-count-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .stepper {
    width: 100%;
    grid-template-columns: 1fr 56px 1fr;
  }

  .stepper input {
    width: 56px;
  }

  .device-badge {
    padding-inline: 8px;
    font-size: 0.62rem;
  }

  .history-section .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reset-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  .surface,
  .campaign-header,
  .participant-field,
  .choice-row input,
  .history-item {
    border-color: rgba(8, 37, 95, 0.42);
  }
}
