.wheel-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

.wheel-hero h1 {
  font-size: 36px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.wheel-hero .sub {
  color: var(--dim);
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.5;
}

.age-gate {
  border: 1px solid rgba(212, 137, 58, 0.45);
  background: rgba(212, 137, 58, 0.08);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.age-gate p {
  margin: 0 0 12px;
  color: var(--ink);
}

.wheel-visual {
  display: flex;
  justify-content: center;
  margin: 12px 0 20px;
}

.wheel-disk {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    conic-gradient(
      #1f2937 0 80%,
      #6b7280 80% 89%,
      #4b5563 89% 93.5%,
      #0891b2 93.5% 96%,
      #0e7490 96% 97.2%,
      #b45309 97.2% 98.4%,
      #92400e 98.4% 99.2%,
      #7c3aed 99.2% 99.7%,
      #5b21b6 99.7% 100%
    );
  border: 3px solid rgba(243, 235, 225, 0.2);
  box-shadow: inset 0 0 0 8px #0a0908;
  transition: transform 0.2s ease;
}

.wheel-visual.spinning .wheel-disk {
  animation: wheel-spin 1.1s cubic-bezier(0.15, 0.8, 0.2, 1);
}

@keyframes wheel-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(720deg); }
}

.wheel-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.wheel-panel textarea {
  width: 100%;
  min-height: 110px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: 15px/1.5 Georgia, "Times New Roman", serif;
  resize: vertical;
}

.share-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
  font-size: 13px;
  color: var(--dim);
  cursor: pointer;
}

.seed-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  font-size: 13px;
  color: var(--dim);
}

.seed-field input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: var(--ink);
}

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

.meta {
  color: var(--dim);
  font-size: 13px;
}

.meta a {
  color: var(--accent2);
}

.result {
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  position: relative;
}

.luck-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(201, 168, 106, 0.55);
  color: #c9a86a;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.luck-status {
  margin: 8px 0 0;
  color: #c9a86a;
  font-size: 13px;
}

.odds-doc-link {
  color: var(--accent2);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.result-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 8px;
}

.result h2 {
  margin: 0 0 10px;
  font-family: Georgia, serif;
  font-size: 26px;
}

.narrative {
  font-family: Georgia, serif;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
}

.seed-echo,
.meta-line {
  color: var(--dim);
  font-size: 12px;
  margin-top: 12px;
}

.rarity-loss {
  border-color: rgba(107, 114, 128, 0.55);
}

.rarity-jackpot,
.rarity-pity {
  border-color: rgba(245, 158, 11, 0.55);
}

.rarity-epic {
  border-color: rgba(124, 58, 237, 0.45);
}

.rarity-rare {
  border-color: rgba(180, 83, 9, 0.45);
}

.wheel-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.wheel-cols h3 {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--dim);
}

.plain-list li {
  margin-bottom: 8px;
}

.rarity {
  display: inline-block;
  min-width: 4.5rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.foot-note {
  margin-top: 28px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.5;
}

.fairness {
  font-size: 11px;
  color: var(--dim);
  font-family: ui-monospace, Menlo, monospace;
  margin: 8px 0 12px;
  word-break: break-all;
}

.ghost-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
