:root {
  --ink: #20201f;
  --muted: #77746f;
  --line: #e9e4da;
  --paper: #fffdf9;
  --cream: #fbf8f2;
  --purple: #7258ce;
  --purple-dark: #5f45b8;
  --purple-pale: #eee9fb;
  --yellow: #f4c85a;
  --green: #78b09b;
  --coral: #e88977;
  --shadow: 0 18px 50px rgba(61, 49, 33, 0.08);
  --radius: 28px;
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 82px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(223, 217, 205, 0.8);
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--purple);
  box-shadow: 0 8px 18px rgba(114, 88, 206, 0.25);
}

.brand-mark svg {
  width: 29px;
  height: 29px;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand small {
  color: #89847d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #65615b;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--purple);
}

.nav-settings,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
}

.nav-settings {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
}

.nav-settings:hover {
  border-color: #cfc4ef;
  color: var(--purple);
  background: white;
}

.nav-settings svg,
.text-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

main,
footer {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 600px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 64px 34px 76px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  letter-spacing: 0.12em;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--purple);
}

.hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(44px, 5.1vw, 68px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.045em;
}

.hero h1 span {
  position: relative;
  z-index: 0;
  color: var(--purple);
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 4px;
  left: -3px;
  height: 13px;
  border-radius: 50%;
  background: #e4dbf9;
  content: "";
  transform: rotate(-2deg);
}

.hero-description {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: white;
  background: var(--purple);
  box-shadow: 0 12px 24px rgba(114, 88, 206, 0.22);
}

.button-primary:hover {
  background: var(--purple-dark);
  box-shadow: 0 14px 28px rgba(114, 88, 206, 0.3);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.button-ghost:hover {
  border-color: #d6ccef;
  background: white;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 440px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(114, 88, 206, 0.12);
  border-radius: 50%;
}

.orbit-one {
  top: 3%;
  left: 6%;
  width: 440px;
  height: 440px;
}

.orbit-two {
  top: 14%;
  left: 17%;
  width: 330px;
  height: 330px;
}

.ticket {
  position: absolute;
  width: 230px;
  height: 330px;
  border-radius: 18px;
}

.ticket::before,
.ticket::after,
.mystery-ticket::before,
.mystery-ticket::after,
.reveal-ticket::before,
.reveal-ticket::after {
  position: absolute;
  z-index: 3;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cream);
  content: "";
}

.ticket::before {
  top: 70%;
  left: -10px;
}

.ticket::after {
  top: 70%;
  right: -10px;
}

.ticket-back {
  top: 66px;
  left: 94px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: white;
  background: #e7b859;
  box-shadow: var(--shadow);
  transform: rotate(-12deg);
}

.ticket-back span {
  font-size: 30px;
  font-weight: 900;
  line-height: 0.9;
  opacity: 0.6;
}

.ticket-front {
  z-index: 2;
  top: 42px;
  left: 205px;
  padding: 22px 22px 26px;
  color: white;
  background: var(--purple);
  box-shadow: 0 30px 60px rgba(66, 47, 129, 0.25);
  transform: rotate(7deg);
}

.ticket-front::before {
  top: 70%;
  left: -10px;
}

.ticket-front::after {
  top: 70%;
  right: -10px;
}

.ticket-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.ticket-gift {
  display: grid;
  width: 70px;
  height: 70px;
  margin-top: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.ticket-gift svg {
  width: 41px;
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.ticket-front > strong {
  display: block;
  margin-top: 19px;
  font-size: 31px;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.ticket-front > p {
  margin: 10px 0 0;
  font-size: 8px;
  opacity: 0.7;
}

.ticket-stamp {
  position: absolute;
  right: 18px;
  bottom: 15px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-11deg);
}

.spark {
  position: absolute;
  color: var(--purple);
}

.spark-one {
  top: 28px;
  left: 77px;
  font-size: 26px;
}

.spark-two {
  right: 38px;
  bottom: 61px;
  color: #e1af47;
  font-size: 22px;
}

.spark-three {
  right: 29px;
  top: 128px;
  color: var(--coral);
  font-size: 55px;
}

.stats-strip {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 118px;
  margin-top: -32px;
  grid-template-columns: 1.35fr 1fr 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow);
}

.stats-strip > div {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 15px;
  padding: 0 38px;
  border-right: 1px solid var(--line);
}

.stats-strip > div:last-child {
  border-right: 0;
}

.stat-icon {
  display: grid;
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.stat-icon-purple {
  color: var(--purple);
  background: var(--purple-pale);
}

.stat-icon-yellow {
  color: #ae7d13;
  background: #fff3cf;
}

.stat-icon-green {
  color: #4f8b75;
  background: #e3f2ec;
}

.stats-strip p {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}

.stats-strip small {
  color: #89857f;
  font-size: 11px;
}

.stats-strip strong {
  font-size: 18px;
  font-weight: 800;
}

.stats-strip em {
  color: #aaa59d;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.section {
  padding: 116px 0 14px;
}

.section-heading h2 {
  margin: 9px 0 11px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 37px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-heading > p,
.section-heading > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.centered-heading {
  text-align: center;
}

.draw-card {
  display: grid;
  min-height: 510px;
  margin-top: 48px;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.draw-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 64px;
}

.available-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #517d6c;
  background: #e9f5ef;
  font-size: 10px;
  font-weight: 700;
}

.available-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #63a58b;
  box-shadow: 0 0 0 4px rgba(99, 165, 139, 0.12);
}

.available-pill.is-empty {
  color: #9c4f43;
  background: #fae9e5;
}

.available-pill.is-empty i {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(232, 137, 119, 0.12);
}

.draw-card-copy h3 {
  margin: 18px 0 12px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.draw-card-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.draw-count-fieldset {
  min-width: 0;
  margin: 29px 0 22px;
  padding: 0;
  border: 0;
}

.draw-count-fieldset legend {
  margin-bottom: 9px;
  color: #69655f;
  font-size: 11px;
  font-weight: 700;
}

.segmented-control {
  display: grid;
  width: 100%;
  padding: 4px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f7f4ed;
}

.segmented-control button {
  min-height: 39px;
  border: 0;
  border-radius: 9px;
  color: #8a857e;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.segmented-control button.is-active {
  color: var(--purple);
  background: white;
  box-shadow: 0 3px 12px rgba(40, 34, 25, 0.08);
}

.segmented-control button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.draw-button {
  display: grid;
  min-height: 72px;
  align-items: center;
  padding: 10px 16px;
  grid-template-columns: 44px 1fr 34px;
  border: 0;
  border-radius: 17px;
  color: white;
  background: var(--purple);
  box-shadow: 0 14px 25px rgba(114, 88, 206, 0.24);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.draw-button:hover:not(:disabled) {
  box-shadow: 0 17px 30px rgba(114, 88, 206, 0.31);
  transform: translateY(-2px);
}

.draw-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.3);
  opacity: 0.48;
}

.draw-button-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
}

.draw-button-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.draw-button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 5px;
}

.draw-button strong {
  font-size: 14px;
}

.draw-button small {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.68;
}

.draw-button-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 17px;
}

.draw-card-art {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: #efeaf8;
}

.draw-card-art::before {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(114, 88, 206, 0.13);
  border-radius: 50%;
  content: "";
}

.draw-card-art::after {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(114, 88, 206, 0.13);
  border-radius: 50%;
  content: "";
}

.mystery-ticket {
  position: relative;
  z-index: 3;
  display: flex;
  width: 245px;
  height: 342px;
  flex-direction: column;
  align-items: center;
  padding: 20px 22px;
  border: 9px solid white;
  border-radius: 21px;
  color: white;
  background: var(--purple);
  box-shadow: 0 28px 55px rgba(67, 49, 132, 0.22);
  transform: rotate(-2.5deg);
}

.mystery-ticket::before,
.mystery-ticket::after {
  top: 72%;
  width: 22px;
  height: 22px;
  background: white;
}

.mystery-ticket::before {
  left: -19px;
}

.mystery-ticket::after {
  right: -19px;
}

.mystery-ticket-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.mystery-mark {
  display: grid;
  width: 116px;
  height: 116px;
  margin-top: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-family: Georgia, serif;
  font-size: 77px;
  line-height: 1;
}

.mystery-ticket > strong {
  margin-top: 20px;
  font-size: 19px;
  letter-spacing: 0.08em;
}

.mystery-ticket > small {
  margin-top: 6px;
  font-size: 9px;
  opacity: 0.6;
}

.mini-ticket {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 144px;
  height: 210px;
  place-items: center;
  border: 7px solid white;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-family: Georgia, serif;
  font-size: 70px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(80, 61, 42, 0.13);
}

.mini-ticket-left {
  left: 44px;
  bottom: 50px;
  background: #e7b65e;
  transform: rotate(-17deg);
}

.mini-ticket-right {
  top: 47px;
  right: 34px;
  background: #80a996;
  transform: rotate(15deg);
}

.art-star,
.art-dot {
  position: absolute;
  z-index: 4;
}

.art-star-one {
  top: 58px;
  left: 91px;
  color: var(--coral);
  font-size: 28px;
}

.art-star-two {
  right: 76px;
  bottom: 68px;
  color: var(--purple);
  font-size: 25px;
}

.art-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.art-dot-one {
  top: 135px;
  left: 57px;
  background: var(--yellow);
}

.art-dot-two {
  right: 57px;
  bottom: 150px;
  background: var(--green);
}

.pool-section,
.history-section {
  padding-top: 128px;
}

.heading-with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.text-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #6d6861;
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.text-button:hover:not(:disabled) {
  border-color: #cfc4ef;
  color: var(--purple);
}

.text-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.pool-progress-wrap {
  margin-top: 44px;
}

.pool-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #817c75;
  font-size: 11px;
}

.pool-progress-label strong {
  color: var(--purple);
}

.pool-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe6de;
}

.pool-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), #a58ee8);
  transition: width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.prize-grid {
  display: grid;
  margin-top: 27px;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.prize-card {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  padding: 24px 25px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 9px 28px rgba(62, 49, 29, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.prize-card:hover {
  box-shadow: 0 15px 34px rgba(62, 49, 29, 0.075);
  transform: translateY(-4px);
}

.prize-card.is-empty {
  opacity: 0.58;
}

.prize-card::after {
  position: absolute;
  right: -37px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  border: 1px solid var(--rank-pale);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 24px color-mix(in srgb, var(--rank-pale) 45%, transparent);
}

.prize-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rank-badge {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: var(--rank-color);
  background: var(--rank-pale);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 800;
}

.prize-card-count {
  color: #9a958e;
  font-size: 11px;
}

.prize-card-count strong {
  color: var(--rank-color);
  font-size: 18px;
}

.prize-card h3 {
  position: relative;
  z-index: 1;
  margin: 26px 0 7px;
  font-size: 17px;
  line-height: 1.35;
}

.prize-card p {
  position: relative;
  z-index: 1;
  max-width: 82%;
  margin: 0;
  color: #938e86;
  font-size: 11px;
  line-height: 1.6;
}

.prize-stock {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--rank-color);
  font-size: 9px;
  font-weight: 700;
}

.prize-stock span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.last-prize-card {
  border-color: #ead5a3;
  background: linear-gradient(145deg, #fffdf8 0%, #fff6dc 100%);
}

.last-prize-card::before {
  position: absolute;
  z-index: 0;
  top: 18px;
  right: 20px;
  color: rgba(178, 122, 31, 0.12);
  content: "★";
  font-size: 74px;
  line-height: 1;
  transform: rotate(12deg);
}

.last-prize-card .rank-badge {
  width: 68px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.last-prize-label {
  position: relative;
  z-index: 1;
  color: #ae812f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.last-prize-card.is-unlocked {
  border-color: #d7ae55;
  box-shadow: 0 14px 36px rgba(185, 129, 33, 0.16);
}

.last-prize-card.is-unlocked .rank-badge {
  color: white;
  background: #b27a1f;
}

.history-section {
  padding-bottom: 120px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 40px;
}

.history-empty {
  display: flex;
  min-height: 175px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border: 1px dashed #dcd5c9;
  border-radius: 22px;
  color: #9d978e;
  background: rgba(255, 253, 249, 0.5);
}

.history-empty svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #b9b1a6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.history-empty p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 12px;
}

.history-empty strong {
  color: #777168;
  font-size: 14px;
}

.history-item {
  display: grid;
  min-height: 78px;
  align-items: center;
  padding: 13px 20px;
  grid-template-columns: 160px 1fr auto;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
}

.history-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #a39d94;
  font-size: 10px;
}

.history-time strong {
  color: #615c55;
  font-size: 12px;
}

.history-prizes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.history-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 7px;
  border-radius: 999px;
  color: #625e58;
  background: #f5f2ec;
  font-size: 10px;
  font-weight: 600;
}

.history-chip b {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--rank-color);
  background: var(--rank-pale);
  font-family: Georgia, serif;
  font-size: 12px;
}

.history-chip-last b {
  width: 37px;
  border-radius: 9px;
  font-size: 9px;
}

.history-amount {
  color: #aaa49a;
  font-size: 10px;
}

footer {
  display: flex;
  min-height: 125px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 11px;
}

.small-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: none;
}

.small-mark svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.footer-mark p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.footer-mark strong {
  font-size: 13px;
}

.footer-mark small,
.footer-note {
  color: #9e9890;
  font-size: 9px;
}

.footer-note span {
  margin: 0 5px;
}

.mobile-nav {
  display: none;
}

.modal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: rgba(27, 24, 22, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease, display 0.25s allow-discrete;
  backdrop-filter: blur(6px);
}

.modal[open] {
  display: grid;
  opacity: 1;
  place-items: center;
}

.modal::backdrop {
  background: transparent;
}

.modal-panel {
  display: flex;
  width: min(740px, 100%);
  max-height: min(800px, calc(100vh - 48px));
  flex-direction: column;
  overflow: hidden;
  border-radius: 27px;
  background: var(--paper);
  box-shadow: 0 35px 90px rgba(20, 17, 14, 0.24);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s ease;
}

.modal[open] .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 34px 23px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 7px 0 5px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 27px;
}

.modal-header > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #857f77;
  background: white;
  cursor: pointer;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.icon-button:hover {
  border-color: #cec2ee;
  color: var(--purple);
}

.settings-scroll {
  overflow-y: auto;
  padding: 24px 34px 30px;
  overscroll-behavior: contain;
}

.general-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.general-settings label,
.prize-setting-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.general-settings label > span,
.prize-setting-main label {
  color: #77716a;
  font-size: 10px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  border: 1px solid #e2ddd4;
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: #a694dc;
  box-shadow: 0 0 0 3px rgba(114, 88, 206, 0.1);
}

.settings-note {
  display: flex;
  gap: 11px;
  margin: 18px 0 25px;
  padding: 13px 15px;
  border-radius: 12px;
  color: #6d6250;
  background: #f6f0e3;
}

.settings-note svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #9c8252;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.settings-note p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.settings-note strong {
  font-size: 10px;
}

.settings-note span {
  color: #93866e;
  font-size: 9px;
  line-height: 1.5;
}

.prize-settings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #6d6760;
  font-size: 10px;
  font-weight: 700;
}

.prize-settings-heading small {
  color: #aaa39a;
  font-size: 9px;
  font-weight: 500;
}

.prize-settings-heading small.is-warning {
  color: #c66569;
  font-weight: 700;
}

.prize-settings-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.prize-setting-row {
  display: grid;
  align-items: center;
  padding: 11px;
  grid-template-columns: 42px 1fr 92px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcfaf6;
}

.prize-setting-rank {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--rank-color);
  background: var(--rank-pale);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 800;
}

.last-prize-setting {
  display: grid;
  align-items: center;
  margin-top: 13px;
  padding: 12px;
  grid-template-columns: 62px 1fr 105px;
  gap: 12px;
  border: 1px solid #ead5a3;
  border-radius: 14px;
  background: linear-gradient(145deg, #fffdf8, #fff5d8);
}

.last-prize-setting .prize-setting-rank {
  width: 62px;
  font-size: 14px;
}

.last-prize-rule {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.last-prize-rule strong {
  color: #a8711b;
  font-size: 10px;
}

.last-prize-rule span {
  color: #a69a84;
  font-size: 8px;
}

.quantity-wrap {
  display: grid;
  grid-template-columns: 26px 1fr 26px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e2ddd4;
  border-radius: 10px;
  background: white;
}

.quantity-wrap button {
  height: 38px;
  padding: 0;
  border: 0;
  color: #817a72;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
}

.quantity-wrap button:hover {
  color: var(--purple);
  background: #f5f1fd;
}

.quantity-wrap input {
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  -moz-appearance: textfield;
}

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

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 34px;
  border-top: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.72);
}

.modal-actions .button {
  min-height: 43px;
}

.draw-modal-panel {
  position: relative;
  width: min(760px, 100%);
  min-height: 600px;
  max-height: calc(100vh - 48px);
  justify-content: center;
  overflow-y: auto;
  padding: 42px;
  background: #f9f5ee;
  scrollbar-width: none;
}

.draw-modal-panel::-webkit-scrollbar {
  display: none;
}

.draw-modal-close {
  position: absolute;
  z-index: 10;
  top: 22px;
  right: 22px;
}

.draw-stage,
.result-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.draw-stage-copy h2,
.result-stage h2 {
  margin: 9px 0 7px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 31px;
}

.draw-stage-copy > p:last-child,
.result-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.reveal-ticket {
  position: relative;
  display: flex;
  width: min(460px, 90%);
  min-height: 225px;
  margin-top: 38px;
  padding: 0;
  overflow: visible;
  border: 9px solid white;
  border-radius: 18px;
  color: white;
  background: var(--purple);
  box-shadow: 0 24px 54px rgba(75, 55, 146, 0.24);
  cursor: pointer;
  transform: rotate(-2deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reveal-ticket:hover {
  box-shadow: 0 29px 62px rgba(75, 55, 146, 0.32);
  transform: rotate(0) translateY(-5px);
}

.reveal-ticket::before,
.reveal-ticket::after {
  top: calc(50% - 10px);
  background: white;
}

.reveal-ticket::before {
  left: -19px;
}

.reveal-ticket::after {
  right: -19px;
}

.reveal-ticket-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 20px 28px;
}

.reveal-ticket-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.38);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.reveal-ticket-meta i,
.reveal-ticket-stub i {
  font-style: normal;
}

.reveal-question {
  font-family: Georgia, serif;
  font-size: 74px;
  line-height: 1.12;
}

.reveal-ticket-main strong {
  font-size: 14px;
  letter-spacing: 0.11em;
}

.reveal-ticket-main small {
  margin-top: 4px;
  font-size: 8px;
  opacity: 0.62;
}

.reveal-ticket-stub {
  display: flex;
  width: 75px;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-left: 1px dashed rgba(255, 255, 255, 0.45);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.reveal-ticket-stub i {
  writing-mode: vertical-rl;
}

.reveal-ticket-stub b {
  font-size: 22px;
}

.reveal-ticket.is-opening {
  pointer-events: none;
  animation: ticket-open 0.75s cubic-bezier(0.22, 0.9, 0.32, 1) forwards;
}

@keyframes ticket-open {
  0% { transform: rotate(-2deg) scale(1); opacity: 1; }
  34% { transform: rotate(3deg) scale(1.05); }
  68% { transform: rotate(-1deg) scale(0.96); opacity: 1; }
  100% { transform: rotate(0) scale(1.2); opacity: 0; }
}

.reveal-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 0;
  color: #9a948b;
  font-size: 9px;
}

.reveal-hint span {
  color: var(--purple);
  font-size: 15px;
}

.result-stage[hidden],
.draw-stage[hidden] {
  display: none;
}

.result-stage {
  position: relative;
  padding: 5px 0;
}

.results-grid {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 29px;
}

.result-card {
  position: relative;
  display: flex;
  width: min(210px, calc(50% - 6px));
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--rank-pale);
  border-radius: 20px;
  background: white;
  box-shadow: 0 13px 30px rgba(56, 44, 30, 0.08);
  animation: result-pop 0.5s cubic-bezier(0.2, 0.9, 0.2, 1.2) backwards;
}

.result-card::before {
  position: absolute;
  top: -45px;
  right: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--rank-pale);
  content: "";
  opacity: 0.6;
}

@keyframes result-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.result-rank {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border-radius: 17px;
  color: var(--rank-color);
  background: var(--rank-pale);
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 800;
}

.result-card h3 {
  margin: 13px 0 4px;
  font-size: 14px;
}

.result-card p {
  margin: 0;
  color: #9a948b;
  font-size: 9px;
}

.last-result-card {
  border-color: #e4c67e;
  background: linear-gradient(145deg, #fffefb, #fff3cc);
  box-shadow: 0 16px 36px rgba(178, 122, 31, 0.15);
}

.last-result-card .result-rank {
  width: 78px;
  color: white;
  background: #b27a1f;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.result-celebration {
  position: absolute;
  z-index: -1;
  inset: -70px -40px auto;
  height: 220px;
  pointer-events: none;
}

.confetti {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  background: var(--confetti-color);
  opacity: 0;
  animation: confetti-burst 1.2s ease-out var(--delay) forwards;
  transform: translate(-50%, -50%) rotate(var(--rotate));
}

@keyframes confetti-burst {
  0% { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(0.3); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--rotate)) scale(1); }
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 17px;
  border-radius: 12px;
  color: white;
  background: #2d2a27;
  box-shadow: 0 15px 35px rgba(30, 25, 21, 0.22);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(114, 88, 206, 0.26);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 28px;
  }

  main,
  footer {
    width: min(100% - 48px, 840px);
  }

  .hero {
    min-height: 560px;
    padding-inline: 10px;
  }

  .hero-visual {
    transform: scale(0.83) translateX(-35px);
    transform-origin: center;
  }

  .stats-strip > div {
    padding-inline: 22px;
  }

  .draw-card {
    grid-template-columns: 1fr 0.9fr;
  }

  .draw-card-copy {
    padding: 48px 38px;
  }

  .mini-ticket-left {
    left: 12px;
  }

  .mini-ticket-right {
    right: 5px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: 74px;
  }

  .site-header {
    height: 67px;
    padding: 0 18px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .brand-mark svg {
    width: 26px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 6px;
  }

  .desktop-nav {
    display: none;
  }

  main,
  footer {
    width: calc(100% - 28px);
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 53px 6px 10px;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 52px);
    line-height: 1.22;
  }

  .hero h1 span::after {
    height: 10px;
  }

  .hero-description {
    max-width: 100%;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.75;
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    min-width: 0;
    margin-top: 27px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-visual {
    width: 365px;
    min-height: 365px;
    margin-top: 19px;
    transform: scale(0.78) translateX(-16px);
    transform-origin: top center;
  }

  .orbit-one {
    left: -15px;
  }

  .orbit-two {
    left: 40px;
  }

  .ticket-back {
    left: 42px;
  }

  .ticket-front {
    left: 150px;
  }

  .stats-strip {
    min-height: 0;
    margin-top: -45px;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
  }

  .stats-strip > div {
    min-width: 0;
    min-height: 85px;
    gap: 10px;
    padding: 13px 14px;
  }

  .stats-strip > div:first-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-strip > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .stat-icon {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .stats-strip small {
    font-size: 9px;
  }

  .stats-strip strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section {
    padding-top: 88px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .section-heading > p,
  .section-heading > div > p:last-child {
    font-size: 12px;
  }

  .draw-card {
    display: flex;
    margin-top: 34px;
    flex-direction: column-reverse;
    border-radius: 23px;
  }

  .draw-card-copy {
    padding: 33px 24px 29px;
  }

  .draw-card-copy h3 {
    font-size: 31px;
  }

  .draw-card-art {
    min-height: 340px;
  }

  .draw-card-art::before {
    width: 310px;
    height: 310px;
  }

  .draw-card-art::after {
    width: 225px;
    height: 225px;
  }

  .mystery-ticket {
    width: 187px;
    height: 265px;
    padding: 13px 16px;
    border-width: 7px;
  }

  .mystery-mark {
    width: 91px;
    height: 91px;
    margin-top: 22px;
    font-size: 57px;
  }

  .mystery-ticket > strong {
    margin-top: 14px;
    font-size: 15px;
  }

  .mini-ticket {
    width: 108px;
    height: 164px;
    border-width: 5px;
  }

  .mini-ticket-left {
    left: 22px;
    bottom: 32px;
  }

  .mini-ticket-right {
    top: 35px;
    right: 18px;
  }

  .art-star-one {
    top: 41px;
    left: 57px;
  }

  .art-star-two {
    right: 51px;
    bottom: 43px;
  }

  .heading-with-action {
    align-items: flex-start;
  }

  .heading-with-action > .text-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding-inline: 11px;
    font-size: 10px;
  }

  .prize-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .prize-card {
    min-height: 190px;
    padding: 17px 16px;
    border-radius: 18px;
  }

  .last-prize-card {
    min-height: 176px;
    grid-column: 1 / -1;
  }

  .rank-badge {
    width: 41px;
    height: 41px;
    border-radius: 13px;
    font-size: 20px;
  }

  .prize-card-count strong {
    font-size: 15px;
  }

  .prize-card h3 {
    margin-top: 21px;
    font-size: 14px;
  }

  .prize-card p {
    font-size: 9px;
  }

  .prize-stock {
    right: 15px;
    bottom: 15px;
  }

  .history-heading {
    display: block;
  }

  .history-heading > .text-button {
    margin-top: 17px;
  }

  .history-item {
    padding: 15px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .history-time {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .history-amount {
    align-self: center;
  }

  footer {
    min-height: 130px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 25;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: calc(66px + env(safe-area-inset-bottom));
    padding: 7px 18px env(safe-area-inset-bottom);
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.94);
    box-shadow: 0 -9px 25px rgba(61, 49, 33, 0.06);
    backdrop-filter: blur(18px);
  }

  .mobile-nav a,
  .mobile-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    border: 0;
    color: #8a857e;
    background: transparent;
    font-size: 9px;
  }

  .mobile-nav svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .mobile-nav a.is-active {
    color: var(--purple);
  }

  .modal {
    padding: 0;
    align-items: end;
  }

  .modal[open] {
    place-items: end center;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 25px 25px 0 0;
    transform: translateY(40px);
  }

  .modal-header {
    padding: 25px 20px 18px;
  }

  .modal-header h2 {
    font-size: 23px;
  }

  .settings-scroll {
    padding: 19px 20px 24px;
  }

  .general-settings {
    grid-template-columns: 1fr;
  }

  .prize-setting-row {
    grid-template-columns: 40px 1fr 84px;
    gap: 9px;
    padding: 9px;
  }

  .prize-setting-rank {
    width: 40px;
    height: 40px;
  }

  .last-prize-setting {
    grid-template-columns: 54px 1fr;
    gap: 9px;
    padding: 10px;
  }

  .last-prize-setting .prize-setting-rank {
    width: 54px;
  }

  .last-prize-rule {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .modal-actions {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  }

  .modal-actions .button {
    flex: 1;
    padding-inline: 10px;
    font-size: 11px;
  }

  .draw-modal-panel {
    min-height: min(680px, calc(100vh - 24px));
    justify-content: center;
    padding: 58px 19px 28px;
  }

  .draw-stage-copy h2,
  .result-stage h2 {
    font-size: 26px;
  }

  .reveal-ticket {
    width: 94%;
    min-height: 190px;
    margin-top: 32px;
    border-width: 7px;
  }

  .reveal-question {
    font-size: 58px;
  }

  .reveal-ticket-main {
    padding: 17px 16px;
  }

  .reveal-ticket-stub {
    width: 55px;
  }

  .results-grid {
    max-height: 355px;
    overflow-y: auto;
    padding: 3px;
  }

  .result-card {
    min-height: 145px;
    padding: 14px 9px;
  }

  .result-actions {
    width: 100%;
  }

  .result-actions .button {
    flex: 1;
    padding-inline: 12px;
    font-size: 11px;
  }

  .toast {
    right: 50%;
    bottom: calc(79px + env(safe-area-inset-bottom));
    transform: translate(50%, 12px);
    text-align: center;
  }

  .toast.is-visible {
    transform: translate(50%, 0);
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    transform: scale(0.71) translateX(-20px);
  }

  .heading-with-action > .text-button {
    width: 40px;
    padding: 0;
    font-size: 0;
  }

  .heading-with-action > .text-button svg {
    width: 18px;
    height: 18px;
  }

  .prize-setting-row {
    grid-template-columns: 36px 1fr 78px;
  }

  .prize-setting-rank {
    width: 36px;
    height: 36px;
  }
}

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

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