:root {
  color-scheme: dark;
  --night: #17120e;
  --panel: #211a14;
  --panel-raised: #2c2118;
  --brown: #49301c;
  --gold: #d6a74b;
  --gold-light: #f0cc79;
  --text: #fff1d3;
  --muted: #c8b79a;
  --line: #59432a;
  --focus: #f0cc79;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--night);
  color: var(--text);
}

button,
a,
summary,
input,
select,
label {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--gold-light);
}

a:active {
  color: var(--gold);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button,
input {
  font: inherit;
}

button {
  min-height: 46px;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--night);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}

.topnav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--gold-light);
}

.topnav a:active {
  color: var(--gold);
}

summary:hover {
  color: var(--gold-light);
}

summary:active {
  color: var(--gold);
}

.admin-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 96px;
}

@media (max-width: 600px) {
  .tab-panel {
    padding: 16px;
  }

  .admin-tab {
    min-height: 46px;
    padding-inline: 14px;
  }
}

.page-heading,
.section-heading,
.dialog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  text-wrap: balance;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.admin-page .eyebrow {
  color: var(--muted);
}

.heading-note,
.section-note,
.intro-copy,
.field-hint,
.empty-copy {
  color: var(--muted);
  line-height: 1.55;
}

.heading-note {
  max-width: 360px;
  margin-bottom: 4px;
  text-align: right;
}

.content-section {
  margin-top: 54px;
  scroll-margin-top: 28px;
}

.admin-tabs {
  display: flex;
  gap: 6px;
  margin-top: 30px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  min-height: 48px;
  flex: 0 0 auto;
  padding: 0 20px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 650;
}

.admin-tab:hover:not([aria-selected="true"]) {
  background: var(--panel);
  color: var(--text);
}

.admin-tab[aria-selected="true"] {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: inset 0 2px var(--gold);
  color: var(--gold-light);
}

.tab-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--panel);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel .content-section {
  margin-top: 0;
}

.tab-panel .settings-section {
  padding: 0;
  border: 0;
  background: transparent;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.pagination[hidden] {
  display: none;
}

.pagination .button {
  min-height: 40px;
  padding-inline: 14px;
}

@media (max-width: 600px) {
  .pagination {
    justify-content: center;
  }
}

.section-heading {
  margin-bottom: 22px;
}

.section-note {
  max-width: 420px;
  margin: 0;
  text-align: right;
  font-size: 14px;
}

.settings-section {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.settings-section .section-heading {
  margin-bottom: 22px;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(210px, 1fr) minmax(240px, 1.2fr) auto auto;
  align-items: start;
  gap: 18px;
}

@media (max-width: 800px) {
  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-grid > .check-field,
  .settings-grid > .settings-save {
    align-self: end;
  }
}

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

.field-block,
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field-block label,
.form-stack label {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.field-block input,
.field-block select,
.form-stack input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--night);
  color: var(--text);
}

.field-block input:hover,
.field-block select:hover,
.form-stack input:hover {
  border-color: var(--gold);
}

.field-hint {
  font-size: 12px;
}

.mode-hint {
  display: block;
  padding: 10px 11px;
  border-left: 2px solid var(--gold);
  background: var(--panel-raised);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.field-hint[data-invalid="true"] {
  color: #ff9b83;
}

.check-field {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.check-field input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--gold);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

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

.button:active:not(:disabled) {
  transform: translateY(1px);
}

.button:disabled {
  opacity: 0.55;
}

.button-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night);
}

.button-gold:hover:not(:disabled) {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.button-outline {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold-light);
}

.button-outline:hover:not(:disabled) {
  background: var(--panel-raised);
}

.button-quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.button-quiet:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--text);
}

.settings-save {
  white-space: nowrap;
}

.notice {
  margin: 20px 0 0;
  padding: 13px 16px;
  border: 1px solid var(--gold);
  background: var(--panel);
  color: var(--text);
  line-height: 1.5;
}

.notice[data-kind="success"] {
  border-style: solid;
}

.notice[data-kind="error"] {
  border-style: dashed;
}

.empty-state {
  padding: 26px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.empty-state h3 {
  color: var(--text);
}

.empty-state p {
  margin-bottom: 0;
}

.prize-list {
  display: grid;
  gap: 10px;
}

.prize-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(90px, 0.7fr)) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.prize-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.prize-state {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.prize-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.prize-metric span:first-child {
  color: var(--muted);
  font-size: 12px;
}

.prize-metric strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.prize-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.add-prize {
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.add-prize summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 700;
}

.add-prize[open] summary {
  border-bottom: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 18px;
}

.field-wide {
  grid-column: 1 / -1;
}

.integration-guide {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.integration-guide > p {
  max-width: 740px;
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.endpoint-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.endpoint-details div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
}

.endpoint-details dt {
  color: var(--muted);
}

.endpoint-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

code {
  color: var(--gold-light);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.integration-guide .allowed-hosts {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.integration-guide .webhook-contract {
  margin-top: 14px;
  font-size: 13px;
}

.inline-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 18px;
}

.inline-form .field-block {
  width: min(420px, 100%);
}

.test-launch-tools {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 24px;
}

.test-launch-tools .field-block {
  width: min(420px, 100%);
}

.test-launch-tools > p {
  max-width: 470px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.issued-key {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 20px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--gold);
  background: var(--panel);
}

.issued-key h3,
.issued-key p {
  margin-bottom: 4px;
}

.issued-key p {
  color: var(--muted);
  font-size: 13px;
}

.issued-key code {
  grid-column: 1;
  overflow-wrap: anywhere;
}

.issued-key button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.launch-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 20px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--gold);
  background: var(--panel);
}

.launch-result h3,
.launch-result p {
  margin-bottom: 4px;
}

.launch-result p {
  color: var(--muted);
  font-size: 13px;
}

.launch-result code {
  grid-column: 1;
  overflow-wrap: anywhere;
}

.launch-result button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.integration-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.integration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.integration-row p {
  margin: 0;
  overflow-wrap: anywhere;
}

.integration-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.status-label {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.status-label[data-status="delivered"],
.status-label[data-status="active"] {
  border-color: var(--gold);
  color: var(--gold-light);
}

.status-label[data-status="failed"],
.status-label[data-status="revoked"] {
  border-style: dashed;
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.identifier-cell {
  max-width: 190px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

th {
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

td {
  font-size: 14px;
}

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

td:last-child .button {
  min-height: 40px;
}

.login-panel {
  width: min(440px, 100%);
  margin: 7vh auto 0;
  padding: clamp(22px, 5vw, 36px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-footer {
  width: 100%;
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.admin-footer {
  margin-top: 0;
}

.wheel-footer nav {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.login-panel h1 {
  margin-bottom: 14px;
}

.intro-copy {
  margin-bottom: 26px;
}

.form-stack .button {
  width: 100%;
  margin-top: 8px;
}

.edit-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(90vh, 760px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--gold);
  background: var(--night);
  color: var(--text);
}

.edit-dialog::backdrop {
  background: rgb(0 0 0 / 78%);
}

.dialog-heading {
  align-items: flex-start;
}

.dialog-heading h2 {
  font-size: 25px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.wheel-page {
  min-height: 100svh;
  display: flex;
  background: radial-gradient(ellipse at 80% 42%, rgb(150 60 255 / 42%) 0%, transparent 70%), linear-gradient(160deg, #1b0f40 0%, #2a1562 50%, #371a7c 100%);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
}

.wheel-main {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
}

.wheel-layout {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 580px);
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4.4vw, 56px);
}

.wheel-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.wheel-kicker {
  margin: 0;
  color: #ffc93c;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .22em;
}

.wheel-info h1 {
  margin: -12px 0 0;
  color: #fff;
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: .98;
  text-wrap: balance;
}

.wheel-copy {
  max-width: 42ch;
  margin: -12px 0 0;
  color: #d3c4f5;
  font-size: 16px;
  line-height: 1.6;
}

.wheel-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 12px;
}

.wheel-stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgb(190 140 255 / 30%);
  border-radius: 14px;
  background: rgb(64 30 128 / 60%);
}

.wheel-stat span {
  color: #d8c7ff;
  font-size: 12px;
  letter-spacing: .12em;
}

.wheel-stat strong {
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-size: 36px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.wheel-stat-prize strong {
  color: #ffc93c;
  font-size: clamp(22px, 3vw, 36px);
}

.wheel-message {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid #ffc93c;
  border-radius: 14px;
  background: rgb(36 16 84 / 75%);
  box-shadow: 0 0 24px rgb(255 201 60 / 18%);
}

.wheel-status {
  margin: 0;
  color: #d3c4f5;
  font-size: 15px;
  line-height: 1.5;
}

.wheel-status[data-kind="error"] {
  color: #ffe7a1;
}

.spin-result {
  min-height: 0;
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.spin-result:not(:empty)::before {
  content: "TEBRİKLER";
  display: block;
  margin-bottom: 2px;
  color: #ffc93c;
  font-size: 13px;
  letter-spacing: .12em;
}

.prize-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgb(190 140 255 / 22%);
  border-radius: 14px;
  background: rgb(64 30 128 / 45%);
}

.prize-panel h2 {
  margin: 0;
  color: #d8c7ff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
}

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

.prize-legend li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
  color: #f1eaff;
  font-size: 14px;
}

.prize-legend li::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 3px;
  background: var(--prize-color, #8b35e8);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 10%);
}

.wheel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.spin-button {
  width: max-content;
  min-height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe27a 0%, #ffc93c 60%, #e9a51f 100%);
  box-shadow: 0 8px 24px rgb(255 201 60 / 30%);
  color: #3a1480;
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: .08em;
}

.spin-button:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffec9e, #ffd34c 60%, #f4b62d);
  transform: translateY(-1px);
}

.spin-button:active:not(:disabled) {
  transform: translateY(2px);
}

.spin-button:disabled {
  background: linear-gradient(#cbb976, #9b7e3a);
  color: #36214f;
}

.button-outline.retry-button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #e1d3fb;
  font-size: 13px;
  text-decoration: underline;
}

.wheel-stage {
  width: min(100%, 580px);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.wheel-stage::before {
  content: "";
  width: 82%;
  aspect-ratio: 1;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(190 80 255 / 55%), rgb(120 60 255 / 30%) 58%, transparent 72%);
  filter: blur(16px);
}

.wheel-frame {
  width: min(100%, 580px);
  aspect-ratio: 1;
  position: relative;
  overflow: visible;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #ff8ae8, #fff, #8fdcff, #b77bff, #ff8ae8);
  box-shadow: 0 0 60px 8px rgb(190 80 255 / 55%), 0 0 140px 20px rgb(120 60 255 / 35%), inset 0 0 0 3px rgb(255 255 255 / 55%);
}

.wheel-inset {
  position: absolute;
  inset: 2.2%;
  z-index: 1;
  border-radius: 50%;
  background: #2a1068;
  box-shadow: inset 0 0 24px rgb(0 0 0 / 60%);
}

.wheel-svg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
}

#wheel-rotor {
  transform-origin: 200px 200px;
  transition: transform 5.2s cubic-bezier(0.12, 0.62, 0.1, 1);
}

.wheel-segment {
  stroke: rgb(235 215 255 / 50%);
  stroke-width: 1.4;
}

.wheel-segment-label {
  fill: #fff;
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-size: 14px;
  font-weight: 750;
  paint-order: stroke;
  stroke: rgb(30 11 82 / 40%);
  stroke-width: 1px;
  stroke-linejoin: round;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.wheel-hub {
  fill: #ffc93c;
  stroke: #fff1b8;
  stroke-width: 3;
}

.wheel-hub-inset {
  fill: url(#wheel-hub-gradient);
  stroke: #fff1b8;
  stroke-width: 1;
}

.wheel-rim-lights {
  fill: none;
  stroke: #ffd65c;
  stroke-width: 8;
  stroke-dasharray: 1 49;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgb(255 201 60 / 85%));
  pointer-events: none;
}

.wheel-pointer {
  fill: #ed2637;
  stroke: #76101b;
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgb(255 201 60 / 70%)) drop-shadow(0 4px 6px rgb(0 0 0 / 50%));
}

.wheel-center-button {
  width: 22%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: absolute;
  top: 39%;
  left: 39%;
  z-index: 4;
  padding: 0;
  border: 4px solid #fff1b8;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff0a8 0%, #ffc93c 58%, #e49a18 100%);
  box-shadow: 0 0 28px rgb(255 201 60 / 60%), 0 6px 18px rgb(0 0 0 / 50%);
  color: #5a1fc0;
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(12px, 2.7vw, 20px);
  font-weight: 750;
  letter-spacing: .06em;
}

.wheel-center-button:hover:not(:disabled) {
  filter: brightness(1.08);
}

.wheel-center-button:disabled {
  filter: saturate(.65);
  cursor: not-allowed;
}

@media (max-width: 1200px) {
  .wheel-main {
    align-items: flex-start;
    padding: 24px 20px 40px;
  }

  .wheel-layout {
    grid-template-columns: minmax(0, 580px);
    gap: 26px;
    margin: 0 auto;
  }

  .wheel-stage {
    order: -1;
    justify-self: center;
  }

  .wheel-frame {
    width: min(88vw, 70svh, 580px);
  }

  .wheel-info h1 {
    font-size: clamp(42px, 10vw, 64px);
  }
}

@media (max-width: 480px) {
  .wheel-main {
    padding-inline: 16px;
  }

  .wheel-info {
    gap: 18px;
  }

  .wheel-stats {
    gap: 8px;
  }

  .wheel-stat {
    padding: 12px;
  }

  .prize-legend {
    gap: 9px 6px;
  }

  .prize-legend li {
    font-size: 13px;
  }

  .wheel-center-button {
    border-width: 3px;
    font-size: clamp(11px, 3.6vw, 16px);
  }
}
@media (max-width: 600px) {
  .test-launch-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .test-launch-tools .field-block {
    width: 100%;
  }

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

  .launch-result button {
    grid-column: 1;
    grid-row: auto;
  }

  .integration-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .integration-row .prize-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
