:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #172033;
  background: #edf3f8;
  --color-bg: #edf3f8;
  --color-surface: #ffffff;
  --color-text: #172033;
  --color-muted: #607086;
  --color-primary: #1769aa;
  --color-primary-strong: #0f4e80;
  --color-border: #d7e0ea;
  --color-roblox: #d81f32;
  --color-minecraft: #23863a;
  --color-coin: #f2b705;
  --shadow-shell: 0 24px 60px rgba(30, 45, 70, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(23, 105, 170, 0.08), rgba(35, 134, 58, 0.08)),
    var(--color-bg);
}

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

/* Keep the original button as the layout box; its anchor owns navigation. */
.button-link { display: contents; }
.button-link > .quick-reward-claim { position: relative; z-index: 1; }

button,
.button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

button:hover:not(:disabled),
.button:hover {
  background: #2d7eb9;
  box-shadow: 0 6px 14px rgba(23, 105, 170, 0.16);
  transform: translateY(-1px);
}

button:active:not(:disabled),
.button:active {
  background: var(--color-primary-strong);
  box-shadow: 0 3px 8px rgba(23, 105, 170, 0.14);
  transform: translateY(0);
}

.button-secondary {
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.button-secondary:hover:not(:disabled) {
  border-color: #b9c9d9;
  background: #f4f8fc;
  box-shadow: 0 6px 14px rgba(23, 32, 51, 0.08);
  transform: translateY(-1px);
}

.button-secondary:active:not(:disabled) {
  background: #e8eff6;
  box-shadow: 0 3px 8px rgba(23, 32, 51, 0.07);
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mobile-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: var(--color-surface);
  box-shadow: none;
  padding: 98px 16px 28px;
}




.app-top-nav {
  width: 100%;
  max-width: 430px;
  min-height: 80px;
  background: #131d2e;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  padding: 14px 10px;
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 20;
}

.app-menu-button {
  width: 46px;
  min-height: 46px;
  border-radius: 8px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0;
  position: relative;
}

.app-menu-button:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.app-menu-button span {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;
  display: block;
  left: 10px;
  position: absolute;
}

.app-menu-button span:nth-child(1) {
  top: 13px;
}

.app-menu-button span:nth-child(2) {
  top: 22px;
}

.app-menu-button span:nth-child(3) {
  top: 31px;
}

.app-menu-button::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 3px solid #ffffff;
  border-top: 3px solid #ffffff;
  position: absolute;
  right: 7px;
  top: 18px;
  transform: rotate(45deg);
}

.app-menu-placeholder {
  width: 46px;
  min-height: 46px;
  justify-self: start;
}

.app-brand {
  color: #ffa51f;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1.05rem, 5.6vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  overflow: visible;
  justify-self: center;
  min-width: 0;
  text-align: center;
  text-shadow: 0 2px 0 rgba(94, 50, 0, 0.38);
  white-space: nowrap;
}

.app-coin-pill {
  min-width: 0;
  min-height: 36px;
  border: 2px solid #ffae2d;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  justify-self: end;
  gap: clamp(3px, 1vw, 6px);
  padding: 0 clamp(5px, 2vw, 10px);
}

.app-coin-plus {
  width: clamp(16px, 4.2vw, 18px);
  height: clamp(16px, 4.2vw, 18px);
  border: 2px solid #ffae2d;
  border-radius: 50%;
  color: #ffae2d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.app-coin-pill strong {
  color: #ffffff;
  font-size: clamp(0.78rem, 3.4vw, 0.9rem);
  line-height: 1;
  white-space: nowrap;
}

.app-coin-icon {
  width: clamp(1.4rem, 6vw, 1.7rem);
  height: clamp(1.4rem, 6vw, 1.7rem);
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.app-nav-spacer {
  width: 46px;
  min-height: 46px;
  justify-self: end;
}

.drawer-layer,
.drawer-scrim {
  position: fixed;
  inset: 0;
}

.drawer-layer {
  z-index: 30;
}

.drawer-scrim {
  width: 100%;
  min-height: 100%;
  border-radius: 0;
  background: rgba(19, 29, 46, 0.52);
  padding: 0;
}

.drawer-scrim:hover {
  background: rgba(19, 29, 46, 0.52);
  box-shadow: none;
  transform: none;
}

.side-drawer {
  width: min(360px, calc(100vw - 42px));
  min-height: 100vh;
  background: #131d2e;
  color: #ffffff;
  position: fixed;
  left: max(0px, calc((100vw - 430px) / 2));
  top: 0;
  z-index: 31;
  box-shadow: 18px 0 36px rgba(19, 29, 46, 0.28);
}

.side-drawer__profile {
  min-height: 74px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 6px;
}

.guest-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #f6c8aa 0 20%, transparent 21%),
    linear-gradient(#ffffff 0 100%);
  color: #131d2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.3rem;
  font-weight: 900;
}

.side-drawer__profile div {
  min-width: 0;
}

.side-drawer__profile strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.12;
}

.side-drawer__profile span:not(.guest-avatar) {
  color: #ffa51f;
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.28;
  margin-top: 4px;
}

.drawer-close {
  width: 46px;
  min-height: 46px;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  position: relative;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.drawer-close span {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;
  display: block;
  left: 9px;
  position: absolute;
  top: 22px;
}

.drawer-close span:first-child {
  transform: rotate(45deg);
}

.drawer-close span:last-child {
  transform: rotate(-45deg);
}

.drawer-sign-in {
  width: calc(100% - 160px);
  min-height: 38px;
  border-radius: 999px;
  background: #ffb43b;
  color: #ffffff;
  display: flex;
  margin: 0 0 24px 80px;
  font-size: 0.86rem;
  font-weight: 900;
}

.drawer-sign-in:hover {
  background: #ffc25c;
  box-shadow: 0 6px 14px rgba(255, 180, 59, 0.18);
}

.drawer-notice {
  width: calc(100% - 32px);
  border: 1px solid rgba(255, 180, 59, 0.42);
  border-radius: 8px;
  background: rgba(255, 180, 59, 0.12);
  color: #ffd08a;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  margin: -12px 16px 14px;
  padding: 10px 12px;
}

.drawer-menu {
  display: grid;
}

.drawer-menu__item {
  width: 100%;
  min-height: 46px;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 14px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drawer-menu__item:hover,
.drawer-menu__item--active {
  background: #ffb43b;
  color: #ffffff;
}

.drawer-menu__item:hover {
  background: rgba(255, 180, 59, 0.82);
  box-shadow: none;
}

.drawer-menu__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}

.drawer-menu__icon::before,
.drawer-menu__icon::after {
  content: "";
  position: absolute;
}

.drawer-menu__icon--home::before {
  width: 14px;
  height: 12px;
  background: #ffffff;
  bottom: 0;
}

.drawer-menu__icon--home::after {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background: #ffffff;
  top: 0;
  transform: rotate(45deg);
}

.drawer-menu__icon--rules::before {
  width: 12px;
  height: 14px;
  border: 2px solid #ffffff;
  border-top: 0;
  bottom: 0;
}

.drawer-menu__icon--rules::after {
  width: 8px;
  height: 8px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  top: 0;
  transform: rotate(-45deg);
}

.drawer-menu__icon--history::before {
  width: 15px;
  height: 15px;
  border: 3px solid #ffffff;
  border-left-color: transparent;
  border-radius: 50%;
}

.drawer-menu__icon--history::after {
  width: 7px;
  height: 6px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translate(1px, -1px);
}

.drawer-menu__icon--redeem::before {
  width: 16px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 3px;
  bottom: 1px;
}

.drawer-menu__icon--redeem::after {
  width: 8px;
  height: 8px;
  border: 2px solid #ffffff;
  border-right: 0;
  border-bottom: 0;
  top: 1px;
  transform: rotate(45deg);
}

.drawer-menu__icon--records::before {
  width: 14px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 3px;
}

.drawer-menu__icon--records::after {
  width: 8px;
  height: 2px;
  background: #ffffff;
  box-shadow:
    0 5px 0 #ffffff,
    0 10px 0 #ffffff;
}

.drawer-menu__icon--contact::before {
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 50%;
}

.drawer-menu__icon--contact::after {
  width: 7px;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;
  right: -1px;
  top: 11px;
  transform: rotate(45deg);
}

.drawer-menu__icon--report::before {
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 4px;
}

.drawer-menu__icon--report::after {
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 7px 0 -1px #ffffff;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-header h1,
.page-header p {
  margin: 0;
}

.page-header h1 {
  font-size: 2.05rem;
  line-height: 1.05;
}

.page-header p {
  color: var(--color-muted);
  line-height: 1.5;
}

.eyebrow {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.placeholder-list {
  display: grid;
  gap: 12px;
}





.quick-start-score {
  min-height: 50px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.quick-start-score span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-start-score span img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.quick-start-score strong {
  font-size: 1.15rem;
}

.quick-start-next-note {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  margin: -2px 0 0;
  text-align: center;
}

.info-grid {
  display: grid;
  gap: 12px;
}

.info-grid article {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.info-grid h2 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.info-grid p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.quick-reward-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 24, 40, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 12;
}

.quick-reward-modal {
  position: relative;
  width: min(100%, 390px);
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 220, 84, 0.36) 0 8px, transparent 9px),
    radial-gradient(circle at 84% 36%, rgba(255, 193, 45, 0.42) 0 8px, transparent 9px),
    linear-gradient(180deg, #fff2b8 0 34%, #ffffff 34% 100%);
  color: #071225;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 20px 24px 24px;
  text-align: center;
  box-shadow: 0 24px 52px rgba(4, 10, 22, 0.24);
}

.quick-reward-modal::before {
  content: "";
  width: 112%;
  height: 86px;
  border-radius: 0 0 50% 50%;
  background: #ffffff;
  position: absolute;
  left: -6%;
  top: 118px;
  z-index: 0;
}

.quick-reward-modal::after {
  content: "";
  width: 100%;
  height: 128px;
  background:
    linear-gradient(25deg, transparent 0 44%, #ffcd39 45% 55%, transparent 56% 100%) 21% 18% / 28px 28px no-repeat,
    linear-gradient(-25deg, transparent 0 44%, #ffcd39 45% 55%, transparent 56% 100%) 78% 26% / 34px 34px no-repeat,
    radial-gradient(circle, #ffcd39 0 5px, transparent 6px) 26% 55% / 28px 28px no-repeat,
    radial-gradient(circle, #ffcd39 0 5px, transparent 6px) 74% 63% / 28px 28px no-repeat;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.quick-reward-modal > * {
  position: relative;
  z-index: 1;
}

.quick-reward-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.quick-reward-close span {
  position: absolute;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: #8792a6;
}

.quick-reward-close span:first-child {
  transform: rotate(45deg);
}

.quick-reward-close span:last-child {
  transform: rotate(-45deg);
}

.quick-reward-close:hover {
  background: #ffffff;
}

.quick-reward-close:active {
  background: #f2f5fa;
  transform: scale(0.96);
}

.quick-reward-trophy-image {
  width: 156px;
  height: 156px;
  display: block;
  margin: 0 auto -2px;
  object-fit: contain;
}

.quick-reward-modal h2 {
  color: #061c38;
  font-size: 1.86rem;
  line-height: 1.12;
  margin: 2px 0 0;
}

.quick-reward-copy {
  color: #7f8aa0;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.32;
  margin: 0;
  max-width: 280px;
}

.quick-reward-claim {
  width: min(100%, 282px);
  min-height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd45b, #ffb022);
  color: #071225;
  gap: 14px;
  font-size: 1.18rem;
  font-weight: 900;
  margin-top: 14px;
  box-shadow: 0 8px 0 rgba(236, 149, 14, 0.28);
}

.quick-reward-claim:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffe07c, #ffc044);
  box-shadow: 0 8px 0 rgba(236, 149, 14, 0.28), 0 10px 22px rgba(255, 181, 54, 0.22);
}

.quick-reward-claim:active:not(:disabled) {
  background: linear-gradient(180deg, #ffc84e, #f2a71f);
  box-shadow: 0 3px 0 rgba(236, 149, 14, 0.28);
  transform: translateY(5px);
}

.quick-reward-claim span {
  font-size: 1.25rem;
  line-height: 1;
}

.quick-reward-claim:disabled {
  background: #d9e1ea;
  color: #7c8a9c;
  cursor: default;
}



.quick-start-reward-card {
  width: min(100%, 396px);
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 22px 24px;
  text-align: center;
}

.quick-start-reward-ad-label {
  color: #a9b4c5;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.quick-start-reward-trophy {
  width: 76px;
  height: 76px;
  border-radius: 22px 22px 16px 16px;
  background: linear-gradient(180deg, #ffc85a, #ffad2f);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  position: relative;
  box-shadow: 0 18px 0 -11px #56576a;
}

.quick-start-reward-trophy::before,
.quick-start-reward-trophy::after {
  content: "";
  width: 20px;
  height: 30px;
  border: 8px solid #ff9b43;
  border-radius: 999px;
  position: absolute;
  top: 12px;
}

.quick-start-reward-trophy::before {
  left: -20px;
}

.quick-start-reward-trophy::after {
  right: -20px;
}

.quick-start-reward-card h1 {
  font-size: 1.86rem;
  line-height: 1.25;
  margin: 4px 0 0;
}

.quick-start-reward-card p:not(.quick-start-reward-ad-label) {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.quick-start-reward-lines {
  width: 100%;
  border-radius: 10px;
  background: #fff4d2;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
}

.quick-start-reward-card button {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  background: #ffb536;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
}

.quick-start-reward-card button:hover {
  background: #ffc25c;
  box-shadow: 0 6px 14px rgba(255, 181, 54, 0.18);
}

.coin-bar {
  min-height: 58px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
}

.coin-balance {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.coin-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe48a, var(--color-coin));
  color: #6e4a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(120, 83, 0, 0.2);
}

.coin-label {
  color: var(--color-muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coin-balance strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.1;
}

.coin-redeem-link {
  min-height: 44px;
  border-radius: 8px;
  background: var(--color-text);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 14px;
  font-weight: 800;
}

.game-card-list {
  display: grid;
  gap: 14px;
}

.game-card {
  min-height: 124px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "art copy"
    "art reward";
  gap: 8px 14px;
  align-items: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.game-card--roblox {
  border-color: rgba(216, 31, 50, 0.32);
  box-shadow: inset 6px 0 0 var(--color-roblox);
}

.game-card--roblox::before {
  background:
    linear-gradient(135deg, #d81f32 0 22%, transparent 22% 100%),
    repeating-linear-gradient(45deg, #111827 0 8px, transparent 8px 18px);
}

.game-card--minecraft {
  border-color: rgba(35, 134, 58, 0.32);
  box-shadow: inset 6px 0 0 var(--color-minecraft);
}

.game-card--minecraft::before {
  background:
    linear-gradient(135deg, #23863a 0 28%, transparent 28% 100%),
    repeating-linear-gradient(0deg, #8b5e34 0 10px, #2e8b45 10px 20px);
}

.game-card__art {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-area: art;
  position: relative;
  z-index: 1;
}

.game-card--roblox .game-card__art {
  background: #111827;
}

.game-card--minecraft .game-card__art {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    #23863a;
  background-size: 18px 18px;
}

.game-card__symbol {
  width: 34px;
  height: 34px;
  display: block;
}

.game-card--roblox .game-card__symbol {
  background: #ffffff;
  transform: rotate(15deg);
  position: relative;
}

.game-card--roblox .game-card__symbol::after {
  content: "";
  width: 12px;
  height: 12px;
  background: #111827;
  position: absolute;
  top: 11px;
  left: 11px;
}

.game-card--minecraft .game-card__symbol {
  background:
    linear-gradient(90deg, #7dd56f 0 50%, #4ca84e 50% 100%);
  box-shadow:
    -18px 0 0 #8b5e34,
    18px 0 0 #5f8f3b,
    0 18px 0 #5e3f24,
    0 -18px 0 #a7d86b;
}

.game-card__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-area: copy;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.game-card__copy strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.game-card__copy span {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.game-card__reward {
  min-height: 34px;
  border-radius: 8px;
  background: rgba(242, 183, 5, 0.18);
  color: #6e4a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-area: reward;
  justify-self: start;
  padding: 0 12px;
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  font-weight: 900;
}



.start-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.start-hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.start-hero__topline p {
  margin: 0;
}

.start-hero__topline span {
  min-height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 0.8rem;
  font-weight: 900;
}

.start-hero h1,
.start-hero p {
  margin: 0;
}

.start-hero h1 {
  font-size: 1.9rem;
  line-height: 1.08;
}

.start-hero > p {
  color: var(--color-muted);
  line-height: 1.5;
}

.start-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.start-tab {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  background: #f9fbfd;
  color: var(--color-muted);
  padding: 0 6px;
  font-size: 0.8rem;
  font-weight: 900;
}

.start-tab:hover {
  border-color: var(--color-primary);
  background: #edf5fb;
  color: var(--color-primary);
}

.start-tab--active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}

.start-tab--active:hover {
  background: #2d7eb9;
  color: #ffffff;
}

.entry-fee-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 29, 46, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 24;
}

.entry-fee-modal {
  width: min(100%, 390px);
  border-radius: 8px;
  background: #ffffff;
  color: #080d18;
  display: grid;
  gap: 12px;
  padding: 22px 18px 24px;
  text-align: center;
}

.entry-fee-modal p {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.entry-fee-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 56px;
}

.entry-fee-cancel,
.entry-fee-watch {
  min-height: 32px;
  border-radius: 5px;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.entry-fee-cancel {
  background: #131d2e;
}

.entry-fee-cancel:hover:not(:disabled) {
  background: #263449;
  box-shadow: 0 6px 14px rgba(19, 29, 46, 0.16);
}

.entry-fee-watch {
  background: #ffb43b;
}

.entry-fee-watch:hover:not(:disabled) {
  background: #ffc25c;
  box-shadow: 0 6px 14px rgba(255, 180, 59, 0.18);
}

.redeem-extra-attempt-modal {
  width: min(100%, 360px);
  gap: 10px;
  padding: 28px 18px 22px;
  position: relative;
}

.redeem-extra-attempt-close {
  width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.redeem-extra-attempt-close:hover:not(:disabled) {
  background: rgba(35, 50, 74, 0.08);
  box-shadow: none;
}

.redeem-extra-attempt-modal h2 {
  color: var(--color-text);
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0;
}

.redeem-extra-attempt-modal p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.3;
}

.redeem-extra-attempt-modal .entry-fee-actions {
  grid-template-columns: 1fr;
  padding: 4px 54px 0;
}

.redeem-extra-attempt-modal .entry-fee-watch {
  min-height: 38px;
  font-size: 0.95rem;
}

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

.quiz-unit-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  min-height: 248px;
  overflow: hidden;
}

.quiz-unit-card:focus-visible {
  outline: 3px solid rgba(23, 105, 170, 0.28);
  outline-offset: 3px;
}

.quiz-unit-card__visual {
  height: 88px;
  background: #e8eff6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.quiz-unit-card__visual::before,
.quiz-unit-card__visual::after {
  content: "";
  display: none;
  position: absolute;
  pointer-events: none;
}

.quiz-unit-card--roblox .quiz-unit-card__visual {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 24%, transparent 24%),
    linear-gradient(135deg, #192033, #d81f32);
}

.quiz-unit-card--roblox .quiz-unit-card__visual::before {
  width: 110px;
  height: 110px;
  border: 10px solid rgba(255, 255, 255, 0.2);
  transform: rotate(18deg);
}

.quiz-unit-card--roblox .quiz-unit-card__visual::after {
  width: 58px;
  height: 58px;
  background: #ffffff;
  box-shadow: inset 17px 17px 0 #192033;
  transform: rotate(18deg);
}

.quiz-unit-card--minecraft .quiz-unit-card__visual {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, #23863a, #7fb645 52%, #8b5e34 52%);
  background-size:
    22px 22px,
    22px 22px,
    auto;
}

.quiz-unit-card--minecraft .quiz-unit-card__visual::before {
  width: 128px;
  height: 42px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.quiz-unit-card--minecraft .quiz-unit-card__visual::after {
  width: 62px;
  height: 62px;
  background:
    linear-gradient(90deg, #93d96e 0 50%, #5ead49 50%),
    linear-gradient(#6f4a29 0 50%, transparent 50%);
  box-shadow:
    -44px 22px 0 #6f4a29,
    44px 22px 0 #d9b06d;
}

.quiz-unit-card__visual span {
  width: auto;
  height: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: #172033;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  max-width: calc(100% - 18px);
  position: relative;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
}

.quiz-unit-card__visual img,
.quiz-unit-card__image-slot {
  width: 100%;
  height: 100%;
}

.quiz-unit-card__visual img {
  display: block;
  object-fit: cover;
}

.quiz-unit-card__image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.quiz-unit-card--roblox .quiz-unit-card__image-slot {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 24%, transparent 24%),
    linear-gradient(135deg, #192033, #d81f32);
}

.quiz-unit-card--minecraft .quiz-unit-card__image-slot {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, #23863a, #7fb645 52%, #8b5e34 52%);
  background-size:
    16px 16px,
    16px 16px,
    auto;
}

.quiz-unit-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 11px;
}

.quiz-unit-card__category {
  color: var(--color-primary);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
}

.quiz-unit-card h2 {
  display: -webkit-box;
  font-size: 0.84rem;
  line-height: 1.18;
  margin: 0;
  min-height: 2.36em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.quiz-unit-card__reward {
  color: #111827;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.1;
  margin: 0;
}

.quiz-unit-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.quiz-unit-card__footer > span {
  min-height: 24px;
  border-radius: 8px;
  background: rgba(242, 183, 5, 0.18);
  color: #6e4a00;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 0 6px;
  font-size: 0.6rem;
  font-weight: 900;
  white-space: nowrap;
}

.quiz-unit-card__footer b {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffb536;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  padding: 0;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(242, 183, 5, 0.28);
}

.quiz-unit-card__play span {
  width: 13px;
  height: 15px;
  background: #ffffff;
  clip-path: polygon(18% 6%, 18% 94%, 92% 50%);
  display: block;
  margin-left: 2px;
}

.rule-band {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.rule-band h2 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.rule-band p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.rule-band p + p {
  margin-top: 8px;
}



.playquiz-hero {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.playquiz-hero__image {
  height: 136px;
  background: #e8eff6;
  overflow: hidden;
}

.playquiz-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.playquiz-hero .eyebrow,
.playquiz-hero h1,
.playquiz-hero p {
  margin-left: 14px;
  margin-right: 14px;
}

.playquiz-hero h1 {
  font-size: 1.75rem;
  line-height: 1.08;
  margin-bottom: 0;
  margin-top: 0;
}

.playquiz-hero p:not(.eyebrow) {
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  margin-top: 0;
}

.playquiz-summary {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  display: grid;
  gap: 0;
}

.playquiz-summary div {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.playquiz-summary div + div {
  border-top: 1px solid var(--color-border);
}

.playquiz-summary span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.playquiz-summary strong {
  font-size: 1.04rem;
  line-height: 1.2;
  text-align: right;
}

.playquiz-rules {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.playquiz-rules h2 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.playquiz-rules p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.playquiz-rules p + p {
  margin-top: 8px;
}

.playquiz-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.auth-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.auth-field span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-field input,
.auth-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  color: var(--color-text);
  font: inherit;
  padding: 0 12px;
}

.auth-field select {
  cursor: pointer;
}

.auth-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  color: var(--color-text);
  font: inherit;
  line-height: 1.45;
  padding: 12px;
  resize: vertical;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  border-color: var(--color-primary);
  outline: 3px solid rgba(23, 105, 170, 0.18);
}

.auth-submit {
  width: 100%;
}

.auth-switch {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.auth-switch a {
  color: var(--color-primary);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-info-list {
  display: grid;
  gap: 12px;
}

.menu-info-list article,
.menu-empty-state {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.menu-info-list h2 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.menu-info-list p,
.menu-empty-state p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.menu-empty-state {
  display: grid;
  gap: 8px;
}

.menu-empty-state strong {
  font-size: 1rem;
}



.contest-rules-hero {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 36, 63, 0.96), rgba(23, 105, 170, 0.92) 58%, rgba(35, 134, 58, 0.9)),
    #10243f;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 22px 18px;
  position: relative;
}

.contest-rules-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  position: absolute;
}

.contest-rules-hero > * {
  position: relative;
  z-index: 1;
}

.contest-rules-hero__badge {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff2bc;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 6px 10px;
  text-transform: uppercase;
}

.contest-rules-hero h1 {
  font-size: 2rem;
  line-height: 1.08;
  margin: 0;
}

.contest-rules-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
}

.contest-rules-hero__button {
  align-self: flex-start;
  background: #ffb536;
  color: #172033;
  min-width: 148px;
}

.contest-rules-hero__button:hover {
  background: #ffc45b;
}

.contest-rules-hero__button:active {
  background: #f2a71f;
}

.contest-rules-section-title {
  display: grid;
  gap: 5px;
}

.contest-rules-section-title h2 {
  font-size: 1.26rem;
  line-height: 1.2;
  margin: 0;
}

.contest-rules-steps {
  display: grid;
  gap: 12px;
}

.contest-rules-steps article {
  border: 1px solid rgba(23, 105, 170, 0.16);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px;
}

.contest-rules-steps article > span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff3cf;
  color: #8a5b00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 900;
}

.contest-rules-steps h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 6px;
}

.contest-rules-steps p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.contest-rules-about {
  border: 1px solid rgba(35, 134, 58, 0.22);
  border-radius: 8px;
  background: #f3faf5;
  display: grid;
  gap: 8px;
  padding: 15px;
}

.contest-rules-about h2 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.contest-rules-about p {
  color: #40556a;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.contest-rules-bottom-cta {
  background: #ffb536;
  color: #172033;
}

.contest-rules-bottom-cta:hover {
  background: #ffc45b;
}

.contest-rules-bottom-cta:active {
  background: #f2a71f;
}

.quiz-play-header {
  border: 1px solid rgba(23, 105, 170, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.quiz-play-header h1,
.quiz-play-header p {
  margin: 0;
}

.quiz-play-header h1 {
  font-size: 1.72rem;
  line-height: 1.12;
}

.quiz-play-header p {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.quiz-timer-card,
.task-progress {
  min-height: 50px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.quiz-timer-card {
  display: block;
}

.quiz-timer-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quiz-timer-card__row strong,
.task-progress span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quiz-timer-card__row strong {
  color: var(--color-text);
  font-size: 1.18rem;
  flex: 0 0 auto;
}

.quiz-timer-progress {
  flex: 1 1 auto;
  width: auto;
  height: 10px;
  border-radius: 999px;
  background: #e5edf5;
  overflow: hidden;
}

.quiz-timer-progress span {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #23863a, #f2b705);
  display: block;
  transition:
    background-color 0.18s ease,
    width 0.25s ease;
}

.quiz-timer-card--warning {
  border-color: rgba(216, 31, 50, 0.35);
  background: #fff6f7;
}

.quiz-timer-card--warning .quiz-timer-card__row strong {
  color: #b71a2a;
}

.quiz-timer-card--warning .quiz-timer-progress span {
  background: #d81f32;
}

.task-progress strong {
  font-size: 1.2rem;
}

.quiz-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quiz-score-row div {
  min-height: 58px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 8px;
  text-align: center;
}

.quiz-score-row .quiz-score-row__correct {
  border-color: rgba(35, 134, 58, 0.22);
  background: #ecf8ef;
}

.quiz-score-row .quiz-score-row__wrong {
  border-color: rgba(242, 139, 48, 0.28);
  background: #fff3e7;
}

.quiz-score-row span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quiz-score-row strong {
  font-size: 1.22rem;
  line-height: 1;
}

.quiz-question-status {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 12px;
}

.quiz-question-status p {
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.2;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.quiz-question-status__count {
  width: 62px;
  height: 62px;
  border: 2px solid transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quiz-question-status__count--correct {
  border-color: rgba(35, 134, 58, 0.24);
  background: #ddf5e3;
  color: #155b28;
}

.quiz-question-status__count--wrong {
  border-color: rgba(216, 31, 50, 0.22);
  background: #ffe1e6;
  color: #931526;
}

.quiz-question-status__count strong {
  font-size: 1.55rem;
  line-height: 1;
}

.quiz-score-total {
  border-radius: 8px;
  background: #fff3cf;
  color: #6e4a00;
  font-size: 1.38rem;
  font-weight: 950;
  line-height: 1.2;
  margin: 0;
  padding: 14px 16px;
  text-align: center;
}

.quiz-coins-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quiz-coins-display img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.quiz-coins-display strong {
  font: inherit;
}

.quiz-coins-display--modal {
  color: #ffd45b;
  font-size: 1.55rem;
}

.quiz-coins-display--modal img {
  width: 34px;
  height: 34px;
}

.question-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.question-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.question-card__meta span,
.question-card__meta strong {
  font-size: 0.82rem;
  font-weight: 800;
}

.question-card__meta span {
  color: var(--color-muted);
  text-transform: uppercase;
}

.question-card__meta strong {
  border-radius: 8px;
  background: rgba(242, 183, 5, 0.18);
  color: #6e4a00;
  padding: 7px 10px;
}

.question-card h2 {
  font-size: 1.32rem;
  line-height: 1.25;
  margin: 0;
}

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

.answer-option {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  color: var(--color-text);
  justify-content: flex-start;
  padding: 12px 14px;
  text-align: left;
}

.answer-option:hover:not(:disabled) {
  background: #edf5fb;
}

.answer-option:active:not(:disabled) {
  background: #dcecf8;
  transform: translateY(1px);
}

.answer-option:disabled {
  cursor: default;
  opacity: 1;
}

.answer-option--correct,
.answer-option--correct:hover {
  border-color: #23863a;
  background: #e9f7ed;
  color: #155b28;
}

.answer-option--wrong,
.answer-option--wrong:hover {
  border-color: #d81f32;
  background: #fdecee;
  color: #931526;
}

.answer-feedback {
  border-radius: 8px;
  background: #f4f7fb;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding: 11px 12px;
}

.quick-start-page .page-header {
  text-align: center;
}

.quick-start-page .page-header h1 {
  font-size: clamp(1.55rem, 7vw, 1.85rem);
  line-height: 1.15;
  white-space: nowrap;
}

.quick-start-page .page-header p {
  color: var(--color-text);
  font-size: 1.04rem;
  font-weight: 800;
}

.quick-start-page .quick-start-score {
  border-color: rgba(242, 183, 5, 0.42);
  background: #fff7d6;
}

.quick-start-page .quick-start-score strong {
  color: #7a4d00;
  font-size: 1.38rem;
}

.quick-start-page .question-card h2 {
  font-size: 1.42rem;
}

.quick-start-page .answer-list {
  gap: 12px;
}

.quick-start-page .answer-option {
  min-height: 68px;
  border: 2px solid #1769aa;
  background: #ffffff;
  box-shadow: 0 7px 0 #d4e3f2;
  color: #10223a;
  font-size: 1.08rem;
  font-weight: 900;
}

.quick-start-page .answer-option:hover:not(:disabled) {
  background: #eaf5ff;
}

.quick-start-page .answer-option:active:not(:disabled) {
  background: #ffd34f;
  box-shadow: 0 3px 0 #d8a900;
  transform: translateY(4px);
}

.quick-start-page .answer-option--correct,
.quick-start-page .answer-option--correct:hover {
  border-color: #23863a;
  background: #dff6df;
  box-shadow: 0 7px 0 #a8d8ad;
  color: #155b28;
}

.quick-start-page .answer-option--wrong,
.quick-start-page .answer-option--wrong:hover {
  border-color: #d81f32;
  background: #ffe6ea;
  box-shadow: 0 7px 0 #efbbc2;
  color: #931526;
}

.quiz-finish-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 29, 46, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 24;
}

.quiz-finish-modal {
  width: min(100%, 408px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #131d2e;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 18px 24px;
  text-align: center;
}

.quiz-finish-trophy {
  width: 86px;
  height: 86px;
  border-radius: 26px 26px 18px 18px;
  background: linear-gradient(180deg, #ffc85a, #ffad2f);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  position: relative;
  box-shadow: 0 18px 0 -11px #6f7485;
}

.quiz-finish-trophy::before,
.quiz-finish-trophy::after {
  content: "";
  width: 22px;
  height: 32px;
  border: 8px solid #ff9b43;
  border-radius: 999px;
  position: absolute;
  top: 14px;
}

.quiz-finish-trophy::before {
  left: -18px;
}

.quiz-finish-trophy::after {
  right: -18px;
}

.quiz-finish-modal h2 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
}

.quiz-finish-modal--reward h2 {
  font-size: 1.7rem;
}

.quiz-final-reward-lines {
  display: grid;
  gap: 8px;
  width: 100%;
}

.quiz-final-reward-lines p {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
  padding: 10px 12px;
}



.quiz-final-reward-card {
  width: min(100%, 396px);
  border-radius: 14px;
  background: #ffffff;
  color: #071225;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 18px 22px;
  text-align: center;
}

.quiz-final-reward-card h1 {
  font-size: 1.34rem;
  line-height: 1.2;
  margin: 0;
}

.quiz-final-reward-card .quiz-finish-trophy {
  box-shadow: 0 18px 0 -11px #56576a;
}

.quiz-final-reward-card .quiz-final-reward-lines p {
  background: #fff3cf;
  color: #6e4a00;
}

.quiz-final-reward-card .quiz-finish-continue {
  color: #ffffff;
}

.quiz-finish-continue {
  width: min(100%, 300px);
  background: #ffb43b;
  font-size: 1rem;
  font-weight: 900;
}

.quiz-finish-continue:hover:not(:disabled) {
  background: #ffc25c;
  box-shadow: 0 6px 14px rgba(255, 180, 59, 0.18);
}

.quiz-finish-modal.quick-reward-modal {
  width: min(100%, 390px);
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 220, 84, 0.36) 0 8px, transparent 9px),
    radial-gradient(circle at 84% 36%, rgba(255, 193, 45, 0.42) 0 8px, transparent 9px),
    linear-gradient(180deg, #fff2b8 0 34%, #ffffff 34% 100%);
  color: #071225;
  gap: 12px;
  padding: 20px 24px 24px;
  box-shadow: 0 24px 52px rgba(4, 10, 22, 0.24);
}

.quiz-finish-modal.quick-reward-modal h2 {
  color: #061c38;
  font-size: 1.86rem;
  line-height: 1.12;
  margin: 2px 0 0;
}

.quiz-finish-modal.quick-reward-modal .quick-reward-claim {
  width: min(100%, 282px);
  min-height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd45b, #ffb022);
  color: #071225;
  gap: 14px;
  font-size: 1.18rem;
  margin-top: 14px;
  box-shadow: 0 8px 0 rgba(236, 149, 14, 0.28);
}

.quiz-finish-modal.quick-reward-modal .quick-reward-claim:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffe07c, #ffc044);
  box-shadow: 0 8px 0 rgba(236, 149, 14, 0.28), 0 10px 22px rgba(255, 181, 54, 0.22);
}



.scoreboard-card,
.result-summary {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  display: grid;
  gap: 0;
}

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

.scoreboard-card div {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 10px;
  text-align: center;
}

.scoreboard-card div:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

.scoreboard-card div:nth-child(n + 3) {
  border-top: 1px solid var(--color-border);
}

.scoreboard-card span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scoreboard-card strong {
  font-size: 1.14rem;
}

.result-summary div {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.result-summary div + div {
  border-top: 1px solid var(--color-border);
}

.result-summary span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-summary strong {
  font-size: 1.05rem;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-actions--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.result-actions--three .button,
.result-actions--three .button-secondary {
  padding: 0 8px;
  font-size: 0.9rem;
}

.status-message {
  border-radius: 8px;
  background: #f4f7fb;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding: 11px 12px;
}

.reward-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 32, 51, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}

.reward-modal {
  width: min(100%, 390px);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  text-align: center;
}

.reward-modal h2,
.reward-modal p {
  margin: 0;
}

.reward-modal h2 {
  font-size: 1.55rem;
  line-height: 1.15;
}

.reward-modal p:not(.eyebrow) {
  color: var(--color-muted);
  line-height: 1.5;
}

.reward-modal__coin {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe48a, var(--color-coin));
  color: #6e4a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: inset 0 -5px 0 rgba(120, 83, 0, 0.2);
}

.reward-modal__amount {
  border-radius: 8px;
  background: rgba(242, 183, 5, 0.18);
  color: #6e4a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 1.2rem;
}

.reward-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.redeem-confirm-modal {
  text-align: left;
}

.redeem-confirm-modal h2,
.redeem-confirm-modal .eyebrow {
  text-align: center;
}

.redeem-confirm-list {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: grid;
  margin: 2px 0;
  overflow: hidden;
}

.redeem-confirm-list div {
  min-height: 48px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
}

.redeem-confirm-list div:last-child {
  border-bottom: 0;
}

.redeem-confirm-list dt,
.redeem-confirm-list dd {
  margin: 0;
}

.redeem-confirm-list dt {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.redeem-confirm-list dd {
  color: var(--color-text);
  font-weight: 900;
  text-align: right;
}





.redeem-result-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 18px 18px;
  text-align: center;
}

.redeem-result-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.redeem-result-card--success .redeem-result-icon {
  background: #ddf5e3;
}

.redeem-result-card--success .redeem-result-icon::before {
  width: 28px;
  height: 15px;
  border-left: 7px solid #23863a;
  border-bottom: 7px solid #23863a;
  content: "";
  display: block;
  transform: rotate(-45deg) translate(2px, -3px);
}

.redeem-result-card--failed .redeem-result-icon {
  background: #fff3cf;
}

.redeem-result-card--failed .redeem-result-icon::before,
.redeem-result-card--failed .redeem-result-icon::after {
  border-radius: 999px;
  background: #d98100;
  content: "";
  display: block;
  position: absolute;
}

.redeem-result-card--failed .redeem-result-icon::before {
  width: 8px;
  height: 34px;
  top: 16px;
}

.redeem-result-card--failed .redeem-result-icon::after {
  width: 9px;
  height: 9px;
  bottom: 14px;
}

.redeem-result-card h1 {
  color: var(--color-text);
  font-size: 2.15rem;
  line-height: 1;
  margin: 0 0 4px;
}

.redeem-result-card p {
  color: var(--color-muted);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.redeem-result-card .redeem-request {
  margin-top: 8px;
}



.redeem-card,
.redeem-panel,
.redeem-note {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
}

.redeem-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.redeem-card--visual {
  padding: 12px 16px;
}

.redeem-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.redeem-card__topline span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.redeem-card__topline strong {
  font-size: 1.08rem;
  line-height: 1.2;
  text-align: right;
}

.redeem-details-header h1 {
  font-size: 1.8rem;
  padding-left: 50px;
}

.redeem-details-header {
  margin-bottom: 4px;
  position: relative;
}

.redeem-details-back {
  width: 42px;
  min-height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #ffffff;
  position: absolute;
  left: 0;
  top: -3px;
  padding: 0;
}

.redeem-details-back:hover:not(:disabled) {
  background: #f4f8fc;
}

.redeem-details-back span {
  width: 13px;
  height: 13px;
  border-left: 3px solid var(--color-text);
  border-bottom: 3px solid var(--color-text);
  display: block;
  transform: rotate(45deg) translate(2px, -2px);
}

.redeem-details-prize {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff7df;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.redeem-details-prize span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.redeem-details-prize img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.redeem-details-prize b {
  color: #805800;
  font-size: 1.2rem;
}

.redeem-details-form--simple {
  gap: 10px;
  padding: 12px;
}

.redeem-details-form--simple .auth-field {
  gap: 5px;
}

.redeem-details-form--simple .auth-field input {
  min-height: 44px;
  font-weight: 800;
}

.redeem-details-form--simple .auth-field textarea {
  min-height: 64px;
  resize: none;
}

.redeem-field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.redeem-field-label i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.redeem-details-note {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbfd;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding: 10px 12px;
}

.redeem-rate {
  border-radius: 8px;
  background: #f2f8ef;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
}

.redeem-rate--icons {
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
}

.redeem-rate--icons img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.redeem-rate span,
.redeem-summary span,
.redeem-panel__heading span,
.redeem-custom-field span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.redeem-rate strong {
  color: #176232;
  font-size: 1.05rem;
}

.redeem-rate--icons strong {
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
}

.redeem-rate--icons span {
  color: var(--color-muted);
  font-size: 1.25rem;
  line-height: 1;
}

.redeem-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.redeem-panel__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.redeem-panel__heading h2 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0;
}

.redeem-panel__heading span {
  text-align: right;
}

.redeem-amount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.redeem-amount {
  min-height: 84px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  text-align: left;
}

.redeem-amount:hover {
  border-color: #9ec6e7;
  background: #f2f8ff;
  box-shadow: 0 6px 14px rgba(23, 105, 170, 0.1);
}

.redeem-amount--selected,
.redeem-amount--selected:hover {
  border-color: #1769aa;
  background: #eaf5ff;
  box-shadow: inset 0 0 0 1px #1769aa;
  color: var(--color-text);
}

.redeem-amount strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.12rem;
  line-height: 1.1;
}

.redeem-amount span {
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
}

.redeem-amount strong img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.redeem-amount span img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.redeem-amount--custom {
  grid-column: 1 / -1;
}

.redeem-custom-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.redeem-custom-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font: inherit;
  font-weight: 800;
  padding: 0 12px;
}

.redeem-summary {
  border-radius: 8px;
  background: #fff7df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.redeem-summary span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.redeem-summary span img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.redeem-summary strong {
  color: #805800;
  font-size: 1.05rem;
  text-align: right;
}

.redeem-card p,
.redeem-note p {
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

.redeem-request {
  width: 100%;
}

.redeem-request:disabled {
  background: #aeb9c4;
  cursor: not-allowed;
}

.redeem-character-count {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.redeem-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.redeem-submit-delay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(19, 29, 46, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
}

.redeem-submit-delay span {
  width: 68px;
  height: 68px;
  border: 6px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffb536;
  border-radius: 50%;
  display: block;
  animation: redeem-submit-spin 0.8s linear infinite;
}

@keyframes redeem-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.placeholder-card {
  min-height: 86px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 16px;
}

.placeholder-card span {
  font-weight: 800;
}

.placeholder-card small {
  color: var(--color-muted);
}

.theme-roblox {
  border-left: 6px solid var(--color-roblox);
}

.theme-minecraft {
  border-left: 6px solid var(--color-minecraft);
}

.disclaimer {
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 4px 0 0;
  padding-top: 14px;
}

@media (min-width: 768px) {
  .site-shell {
    align-items: center;
    padding: 48px;
  }


  .mobile-shell {
    min-height: calc(100vh - 96px);
    box-shadow: var(--shadow-shell);
  }
}

/* Coin History Styles */


.coin-history-page .page-header h1 {
  font-size: 2rem;
  line-height: 1.08;
  margin: 0;
}

.coin-history-empty {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 18px;
  text-align: center;
}

.coin-history-empty img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.coin-history-empty strong {
  color: var(--color-text);
  font-size: 1.35rem;
  line-height: 1.1;
}

.coin-history-empty p {
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.coin-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coin-history-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.coin-history-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.coin-history-item__icon--positive {
  background: #fff3cf;
}

.coin-history-item__icon--negative {
  background: #f4f7fb;
}

.coin-history-item__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.coin-history-item__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.coin-history-item__type {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.coin-history-item__date {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-muted);
}

.coin-history-item__amount {
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  min-width: 76px;
  text-align: right;
}

.coin-history-item__amount--positive {
  color: #23863a;
}

.coin-history-item__amount--negative {
  color: #d81f32;
}



.redeem-records-header h1 {
  font-size: 1.86rem;
  line-height: 1.08;
  margin: 0;
  text-align: center;
}

.redeem-records-list {
  display: grid;
  gap: 7px;
  min-height: 0;
}

.redeem-record-card {
  min-height: 76px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
}

.redeem-record-card__number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eef4fb;
  color: #172033;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
}

.redeem-record-card__main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.redeem-record-card__main strong {
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.2rem;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.redeem-record-card__main strong img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.redeem-record-card__main span {
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 900;
}

.redeem-record-card b {
  border-radius: 8px;
  background: #fff3cf;
  color: #6e4a00;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98rem;
  line-height: 1;
  padding: 9px 8px;
  white-space: nowrap;
}

.redeem-record-card b img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
}

.redeem-records-empty {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
}

.redeem-records-empty strong {
  font-size: 1.35rem;
}

.redeem-records-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.redeem-records-pager button {
  min-width: 64px;
  min-height: 36px;
  padding: 0;
}

.redeem-records-pager span {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.redeem-records-home .button {
  width: 100%;
}

/* Toast Notification Styles */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 10000;
  min-width: 280px;
  max-width: 90%;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast--success {
  background: #23863a;
  color: #ffffff;
}

.toast--error {
  background: #d81f32;
  color: #ffffff;
}

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

.toast__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.toast__message {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Field Error Styles */
.field-error {
  display: block;
  color: #c81f2d;
  background: #ffe6e8;
  border: 1px solid #ffb3b8;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 6px 10px;
  margin-top: 6px;
  line-height: 1.4;
}

.mobile-shell > :not(.app-top-nav):not(.drawer-layer) { margin-top: 20px; }
.page-bottom-info { width: 100%; max-width: 430px; height: 120px; flex-shrink: 0; display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 8px; background: #f4f8fc; padding: 8px 14px; margin: 7px 0 28px; text-align: center; }
.page-bottom-info p { width: 100%; color: var(--color-muted); font-size: 12px; font-weight: 400; line-height: 1.5; margin: 0; }

.loading-label { display: inline-flex; align-items: baseline; white-space: nowrap; }
.loading-dots { display: inline-flex; min-width: 0.9em; }
.loading-dots > span { animation: loading-dot 1.2s ease-in-out infinite; }
.loading-dots > span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots > span:nth-child(3) { animation-delay: 0.4s; }
@keyframes loading-dot { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .loading-dots > span { animation: none; opacity: 1; } }

/* ===== Independent body content blocks and lookup-only button markers ===== */
[v-cloak] { display: none !important; }
.quiz-answer, .navigation-target { display: contents; }
body.mobile-shell { margin: 0 auto; }
body.mobile-shell > script { margin: 0; }
@media (min-width:768px) { body.mobile-shell { margin-top:48px; margin-bottom:48px; } }
/* The former shell and its following tip keep their original visual boundaries. */
html { background: linear-gradient(180deg, rgba(23,105,170,.08), rgba(35,134,58,.08)), var(--color-bg); }
body.mobile-shell {
  position: relative;
  min-height: calc(100vh + 155px);
  padding-bottom: 183px;
  background: linear-gradient(to bottom, #fff 0 calc(100% - 155px), transparent calc(100% - 155px));
}
body.mobile-shell > .page-bottom-info {
  position: absolute; left: 0; bottom: 28px;
  width: 100%; max-width: none; margin: 0;
}
@media (min-width:768px) { body.mobile-shell { min-height:calc(100vh + 59px); } }
