:root {
  --navy-950: #061b34;
  --navy-900: #0b294d;
  --navy-800: #193e6d;
  --blue-600: #2e6fc9;
  --blue-500: #49b4e6;
  --blue-100: #e9f7fd;
  --green-700: #087843;
  --green-600: #0a8b4f;
  --green-500: #10a660;
  --green-100: #d8f7e5;
  --ink: #121f42;
  --muted: #61707f;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --danger: #b3261e;
  --shadow-lg: 0 28px 80px rgba(4, 21, 43, 0.32);
  --shadow-md: 0 16px 40px rgba(4, 28, 55, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--navy-950);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--navy-950);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #83d8ff;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: #000;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.landing-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 70% 18%, rgba(73, 180, 230, 0.19), transparent 31%),
    linear-gradient(135deg, #061b34 0%, #0c315a 48%, #102d55 100%);
}

.hero__photo,
.hero__overlay {
  position: absolute;
  inset: 0 0 0 auto;
  width: 53%;
  z-index: -2;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% center;
}

.hero__overlay {
  z-index: -1;
  width: 100%;
  background:
    linear-gradient(90deg, #061b34 0%, rgba(6, 27, 52, 0.98) 35%, rgba(6, 27, 52, 0.54) 71%, rgba(6, 27, 52, 0.23) 100%),
    linear-gradient(0deg, rgba(6, 19, 40, 0.74) 0%, transparent 46%);
}

.hero__inner {
  width: min(1380px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 0 30px;
  display: flex;
  flex-direction: column;
}

.brand-header {
  display: flex;
  align-items: center;
  min-height: 60px;
}

.brand-header img {
  width: min(260px, 58vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 7px 20px rgba(0, 0, 0, 0.2));
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 5vw, 84px);
  padding-top: 16px;
}

.hero__copy {
  max-width: 710px;
}

.eyebrow,
.wheel-eyebrow,
.admin-kicker,
.action-card__kicker {
  margin: 0 0 10px;
  color: #7edaff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4.55vw, 60px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 640px;
  margin: 18px 0 21px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.5;
  text-wrap: balance;
}

.action-card {
  max-width: 560px;
  padding: clamp(20px, 2vw, 25px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.action-card__heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.action-card__check {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--green-500), var(--green-700));
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 9px 20px rgba(10, 139, 79, 0.25);
}

.action-card__kicker {
  margin-bottom: 2px;
  color: var(--blue-600);
  font-size: 11px;
}

.action-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 2.1vw, 31px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.action-card__copy {
  margin: 12px 0;
  color: #536276;
  font-size: 15px;
  line-height: 1.55;
}

.primary-cta,
.spin-button,
.admin-primary,
.admin-secondary {
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
}

.primary-cta {
  width: 100%;
  min-height: 60px;
  padding: 13px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: linear-gradient(180deg, #10a660, #087843);
  box-shadow: 0 12px 24px rgba(8, 120, 67, 0.25);
  font-size: 23px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.primary-cta span:last-child {
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  transition: transform 160ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible,
.spin-button:hover,
.spin-button:focus-visible,
.admin-primary:hover,
.admin-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(8, 120, 67, 0.31);
}

.primary-cta:hover span:last-child,
.primary-cta:focus-visible span:last-child {
  transform: translateX(4px);
}

.external-note {
  margin: 10px 2px 0;
  color: #657184;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.site-footer {
  padding: 35px max(24px, calc((100% - 1000px) / 2)) 32px;
  color: rgba(255, 255, 255, 0.74);
  background: #102d55;
  text-align: center;
}

.site-footer__logo {
  width: 210px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
}

.site-footer p {
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.6;
}

.footer-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-links a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Resource wheel */
.wheel-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.wheel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 11, 25, 0.82);
  backdrop-filter: blur(3px);
  animation: modal-fade 260ms ease both;
}

.wheel-dialog {
  --wheel-size: min(42vh, 350px);
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px 27px 25px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 8%, rgba(73, 180, 230, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(25, 62, 109, 0.46), rgba(16, 45, 85, 0.68)),
    url("images/wheel-money-background.png") center / cover no-repeat;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: modal-enter 320ms cubic-bezier(0.2, 0.78, 0.25, 1) both;
}

.wheel-dialog::before,
.wheel-dialog::after {
  position: absolute;
  content: "$";
  color: rgba(255, 255, 255, 0.09);
  font-size: 88px;
  font-weight: 900;
  transform: rotate(-18deg);
  pointer-events: none;
}

.wheel-dialog::before {
  top: 40px;
  left: 17px;
}

.wheel-dialog::after {
  right: 14px;
  bottom: 100px;
  transform: rotate(15deg);
}

.wheel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #0b294d;
  background: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25);
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
}

.wheel-close:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.wheel-logo {
  width: min(235px, 65%);
  height: auto;
  margin: 0 auto 8px;
  display: block;
}

.wheel-eyebrow {
  margin: 0 0 4px;
  color: #8fe7ff;
  font-size: 10px;
}

.wheel-dialog h2 {
  margin: 0;
  font-size: clamp(24px, 4.6vw, 34px);
  letter-spacing: -0.025em;
}

.wheel-description {
  margin: 7px auto 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.45;
}

.wheel-stage {
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  margin: 10px auto 13px;
}

.wheel-pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 4;
  width: 52px;
  height: 64px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  filter: drop-shadow(0 6px 5px rgba(0, 0, 0, 0.3));
  transform: translateX(-50%);
}

.wheel-pointer::before {
  position: absolute;
  top: 7px;
  left: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  content: "";
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(180deg, #16ad68 0%, #07834b 100%);
  clip-path: polygon(0 0, 100% 0, 100% 69%, 50% 100%, 0 69%);
}

.wheel-pointer::after {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 5px;
  height: 22px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
}

.wheel {
  position: absolute;
  inset: 0;
  border: 12px solid #439973;
  border-radius: 50%;
  background: conic-gradient(
    from -60deg,
    #cceee0 0 60deg,
    #f8fbff 60deg 120deg,
    #cceee0 120deg 180deg,
    #f8fbff 180deg 240deg,
    #cceee0 240deg 300deg,
    #f8fbff 300deg 360deg
  );
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5), 0 16px 34px rgba(0, 0, 0, 0.3);
  transform: rotate(0deg);
  will-change: transform;
}

.wheel.is-spinning {
  transform: rotate(1410deg);
  transition: transform 3s cubic-bezier(0.12, 0.72, 0.14, 1);
}

.wheel.is-complete {
  background: conic-gradient(
    from -60deg,
    #cceee0 0 60deg,
    #ffd25c 60deg 120deg,
    #cceee0 120deg 180deg,
    #f8fbff 180deg 240deg,
    #cceee0 240deg 300deg,
    #f8fbff 300deg 360deg
  );
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.68), 0 0 30px rgba(255, 196, 48, 0.52), 0 16px 34px rgba(0, 0, 0, 0.3);
}

.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #102d55;
  font-size: clamp(9px, 1.9vh, 13px);
  line-height: 1.05;
  text-align: center;
  transform: translate(0, -50%) rotate(var(--angle)) translateX(16px);
  transform-origin: left center;
}

.wheel-label b {
  width: 100%;
  display: block;
  transform: rotate(calc(var(--angle) * -1));
}

.wheel.is-spinning .wheel-label b {
  transform: rotate(calc(var(--angle) * -1 - 1410deg));
  transition: transform 3s cubic-bezier(0.12, 0.72, 0.14, 1);
}

.wheel.is-complete .wheel-label:nth-of-type(2) b {
  padding: 5px 4px;
  border-radius: 8px;
  color: #5e3b00;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 3px 12px rgba(126, 76, 0, 0.2);
  font-weight: 900;
}

.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20%;
  height: 20%;
  border: 7px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: #439973;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
}

.wheel-result {
  min-height: 22px;
  margin: 0 0 10px;
  color: #a3edc5;
  font-size: 15px;
  font-weight: 750;
}

.wheel-result.is-ready {
  color: #fff;
  font-size: 18px;
}

.spin-button {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 58px;
  padding: 12px 20px;
  color: #fff;
  background: linear-gradient(180deg, #17c978, #0a8b4f);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  font-size: clamp(20px, 5vw, 27px);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.spin-button:not(:disabled) {
  animation: spin-button-breathe 1.8s ease-in-out infinite;
}

.spin-button:disabled {
  cursor: wait;
  opacity: 0.8;
  transform: none;
  animation: none;
}

.wheel-note {
  margin: 11px auto 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 10px;
  line-height: 1.4;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(22px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spin-button-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24), 0 0 0 0 rgba(23, 201, 120, 0.28);
  }
  50% {
    transform: scale(1.022);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(23, 201, 120, 0);
  }
}

/* Admin */
.admin-page {
  min-height: 100vh;
  padding: 40px 20px 70px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 2%, rgba(73, 180, 230, 0.22), transparent 28%),
    linear-gradient(145deg, #e8f7fd, #f5f8fc 48%, #edf4fb);
}

.admin-shell {
  width: min(940px, 100%);
  margin: 0 auto;
}

.admin-brand {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.admin-brand img {
  width: 235px;
  height: auto;
}

.admin-brand p,
.admin-brand h1 {
  margin: 0;
}

.admin-brand p {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-brand h1 {
  margin-top: 3px;
  font-size: clamp(25px, 4vw, 39px);
  letter-spacing: -0.035em;
}

.admin-card,
.admin-warning,
.admin-panel__topbar {
  border: 1px solid rgba(25, 62, 109, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.admin-card {
  padding: clamp(23px, 4vw, 38px);
}

.admin-login {
  width: min(520px, 100%);
  margin: 0 auto;
}

.admin-card__heading,
.admin-panel__topbar {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-card__heading {
  margin-bottom: 25px;
}

.admin-step {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(46, 111, 201, 0.2);
}

.admin-kicker {
  margin: 0 0 3px;
  color: var(--blue-600);
  font-size: 10px;
}

.admin-card h2,
.admin-card h3,
.admin-panel h2,
.admin-warning h3 {
  margin: 0;
  letter-spacing: -0.025em;
}

.admin-card h2,
.admin-panel h2 {
  font-size: 27px;
}

.admin-card h3,
.admin-warning h3 {
  font-size: 22px;
}

.admin-card label {
  margin: 16px 0 7px;
  display: block;
  color: #24324b;
  font-size: 14px;
  font-weight: 800;
}

.admin-card input,
.admin-card textarea {
  width: 100%;
  border: 1px solid #b5c5d6;
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.admin-card input {
  min-height: 50px;
  padding: 11px 14px;
}

.admin-card textarea {
  min-height: 120px;
  padding: 13px 14px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
}

.admin-card input:focus,
.admin-card textarea:focus {
  border-color: var(--blue-600);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(73, 180, 230, 0.18);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 72px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  color: var(--blue-600);
  background: var(--blue-100);
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-50%);
}

.admin-primary,
.admin-secondary {
  min-height: 47px;
  padding: 11px 18px;
}

.admin-primary {
  color: #fff;
  background: linear-gradient(180deg, #10a660, #087843);
  box-shadow: 0 10px 20px rgba(8, 120, 67, 0.18);
}

.admin-login .admin-primary {
  width: 100%;
  margin-top: 22px;
}

.admin-secondary {
  border: 1px solid #b5c5d6;
  color: var(--navy-800);
  background: #fff;
}

.admin-secondary:hover,
.admin-secondary:focus-visible {
  border-color: var(--blue-600);
  background: var(--blue-100);
}

.admin-secondary--compact {
  min-height: 42px;
  padding: 9px 15px;
}

.admin-primary:disabled,
.admin-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.admin-message {
  min-height: 21px;
  margin: 13px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-message.is-success {
  color: var(--green-700);
}

.security-caption,
.field-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.security-caption {
  margin: 16px 0 0;
  padding-top: 15px;
  border-top: 1px solid #e0e8f0;
}

.field-help {
  margin: 5px 0 3px;
}

.admin-panel {
  display: grid;
  gap: 20px;
}

.admin-panel__topbar {
  justify-content: space-between;
  padding: 20px 24px;
}

.config-form,
.output-card {
  box-shadow: 0 12px 30px rgba(4, 28, 55, 0.11);
}

.admin-actions {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.config-form .admin-actions .admin-primary {
  margin-left: auto;
}

.output-card .admin-actions {
  margin-top: 12px;
}

.admin-warning {
  padding: 22px 25px;
  border-color: rgba(179, 38, 30, 0.18);
  background: #fffaf9;
  box-shadow: none;
}

.admin-warning h3 {
  color: #8f1d17;
  font-size: 18px;
}

.admin-warning p {
  margin: 8px 0 0;
  color: #6d4a47;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 1050px) {
  .hero__inner {
    width: min(calc(100% - 44px), 920px);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr);
    gap: 30px;
  }

}

@media (max-width: 780px) {
  .hero {
    min-height: auto;
  }

  .hero__photo {
    width: 100%;
    opacity: 0.52;
  }

  .hero__photo img {
    object-position: 51% center;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(6, 27, 52, 0.45) 0%, rgba(6, 27, 52, 0.86) 38%, #061b34 83%),
      linear-gradient(90deg, rgba(6, 27, 52, 0.62), rgba(6, 27, 52, 0.28));
  }

  .hero__inner {
    width: min(calc(100% - 32px), 620px);
    min-height: 0;
    padding: 20px 0 36px;
  }

  .brand-header {
    justify-content: center;
    min-height: 55px;
  }

  .brand-header img {
    width: 235px;
  }

  .hero__grid {
    display: block;
    padding-top: clamp(150px, 27vh, 220px);
  }

  .hero__copy {
    margin: 0 auto;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(32px, 7.6vw, 44px);
    line-height: 1;
  }

  .hero__subtitle {
    margin: 15px auto 19px;
    font-size: 16px;
  }

  .action-card {
    max-width: 540px;
    margin: 0 auto;
    text-align: left;
  }

  .site-footer {
    padding: 30px 22px;
  }

  .wheel-dialog {
    --wheel-size: min(39vh, 330px, calc(100vw - 78px));
    padding: 22px 20px 21px;
  }

  .admin-page {
    padding: 25px 14px 50px;
  }

  .admin-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .admin-brand img {
    width: 210px;
  }
}

@media (max-width: 480px) {
  .hero__grid {
    padding-top: 125px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(30px, 8.3vw, 36px);
    line-height: 0.98;
  }

  .action-card {
    padding: 18px 16px;
    border-radius: 21px;
  }

  .action-card__heading {
    gap: 10px;
  }

  .action-card__check {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .action-card h2 {
    font-size: 20px;
    line-height: 1.08;
  }

  .primary-cta {
    min-height: 56px;
    margin-top: -5px;
    font-size: 20px;
  }

  .wheel-modal {
    padding: 8px;
  }

  .wheel-dialog {
    --wheel-size: min(37vh, calc(100vw - 72px));
    max-height: calc(100vh - 16px);
    padding: 18px 16px 17px;
    border-radius: 20px;
  }

  .wheel-logo {
    width: 190px;
  }

  .wheel-dialog h2 {
    font-size: 24px;
  }

  .wheel-description {
    font-size: 11px;
  }

  .wheel-stage {
    margin-top: 8px;
  }

  .wheel {
    border-width: 9px;
  }

  .wheel-pointer {
    top: -16px;
    width: 43px;
    height: 54px;
  }

  .wheel-pointer::before {
    top: 6px;
    left: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 12px 12px 15px 15px;
  }

  .wheel-pointer::after {
    top: 12px;
    width: 4px;
    height: 18px;
  }

  .wheel-label {
    font-size: 9px;
  }

  .spin-button {
    min-height: 52px;
    font-size: 19px;
  }

  .wheel-note {
    font-size: 9px;
  }

  .admin-card {
    padding: 22px 17px;
  }

  .admin-panel__topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions,
  .admin-actions button {
    width: 100%;
  }

  .config-form .admin-actions .admin-primary {
    margin-left: 0;
  }
}

@media (max-height: 720px) and (min-width: 700px) {
  .wheel-dialog {
    --wheel-size: 255px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .wheel-logo {
    width: 190px;
  }

  .wheel-description {
    margin-bottom: 4px;
  }

  .wheel-stage {
    margin-top: 5px;
    margin-bottom: 7px;
  }

  .spin-button {
    min-height: 50px;
    font-size: 22px;
  }
}

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

  .spin-button:not(:disabled) {
    animation: none !important;
  }

}
