:root {
  --g: #f2c86f;
  --bg: #070714;
  --p: #111024;
  --m: #bbb5ca;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #fff7e6;
  font: 15px Arial;
  background: radial-gradient(
    circle at 70% -10%,
    #39174e,
    #111024 38%,
    #070714 75%
  );
  min-height: 100vh;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.lux-icon {
  width: 1.35em;
  height: 1.35em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  filter: drop-shadow(0 3px 5px #0008);
}
h1,
h2,
h3,
.eyebrow,
.gold,
.brand {
  font-family: Georgia, serif;
}
h1 {
  font-size: clamp(32px, 4vw, 58px);
  margin: 8px 0 16px;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--g);
}
p {
  line-height: 1.55;
}
.eyebrow {
  color: var(--g);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: bold;
}
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 74px 74px;
}
.topbar {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid #725124;
  background: #080716ef;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--g);
  background: none;
  border: 0;
}
.brand span {
  display: grid;
  place-items: center;
  border: 1px solid #c99c45;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 23px;
}
.brand > span,
.crown,
.mini-crest {
  color: transparent;
  border: 0;
  background: url("assets/respect-society-logo.png") center / contain no-repeat;
  font-size: 0;
}
.brand > span {
  width: 50px;
  height: 50px;
  border-radius: 0;
  filter: drop-shadow(0 4px 9px #0009);
}
.wallet {
  display: flex;
  gap: 9px;
  align-items: center;
}
.wallet > span {
  padding: 9px 12px;
  background: #171126;
  border: 1px solid #4d3b5c;
  border-radius: 18px;
  color: var(--g);
  font-weight: bold;
}
.wallet button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--g);
  background: #27143c;
}
.layout {
  position: relative;
  display: grid;
  grid-template-columns: 95px 1fr;
  max-width: 1500px;
  margin: auto;
}
.layout nav {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  padding: 20px 9px;
  border-right: 1px solid #4c3923;
  background: #090817aa;
  z-index: 2;
}
.layout nav button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #958da5;
  border-radius: 12px;
  padding: 12px 3px;
  margin: 3px 0;
}
.layout nav i {
  display: block;
  color: #cba55d;
  font-style: normal;
  font-size: 20px;
}
.layout nav span {
  font-size: 10px;
  text-transform: uppercase;
}
.layout nav .active {
  background: #3b1856;
  color: #fff;
  box-shadow: inset 3px 0 var(--g);
}
.content {
  padding: 32px;
  max-width: 1220px;
  width: 100%;
  margin: auto;
}
.gold {
  color: #231303;
  background: linear-gradient(#ffeba9, #e4ad3d 45%, #a86d15);
  border: 1px solid #fff0a7;
  border-radius: 8px;
  padding: 13px 23px;
  font-weight: bold;
}
.gold:disabled {
  filter: grayscale(0.7);
  opacity: 0.65;
}
.wide {
  width: 100%;
}
.hero {
  min-height: 330px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #111124, #28153b);
  border: 1px solid #8b642c;
  border-radius: 22px;
}
.hero-seal {
  width: 250px;
  height: 250px;
  border: 2px solid var(--g);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(#5c287d, #110c22 67%);
}
.hero-seal span {
  font-size: 70px;
}
.hero-seal b {
  color: var(--g);
  font-size: 23px;
}
.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 36px;
}
.quick button,
.level {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 14px;
  color: #fff;
  background: var(--p);
  border: 1px solid #5e4630;
  border-radius: 14px;
  padding: 18px;
}
.quick i {
  font-size: 30px;
  color: var(--g);
  font-style: normal;
}
.quick div {
  flex: 1;
}
.quick b,
.quick small,
.level b,
.level small {
  display: block;
}
.quick small,
.level small {
  color: var(--m);
  margin-top: 5px;
}
.quick strong,
.level strong {
  font-size: 25px;
  color: var(--g);
}
.section-title,
.daily-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.current {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px;
  border: 1px solid #6b4b29;
  border-radius: 16px;
  background: #100e20;
}
.chapter-art {
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #3c1a51;
  border: 1px solid var(--g);
  border-radius: 13px;
}
.chapter-art span {
  font-size: 50px;
  color: var(--g);
}
.progress,
.game-progress {
  height: 8px;
  background: #29233a;
  border-radius: 10px;
  overflow: hidden;
}
.progress i,
.game-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #98621a, #ffe28a);
}
.daily-strip {
  margin-top: 18px;
  padding: 18px 24px;
  border: 1px solid #513866;
  border-radius: 14px;
  background: #181024;
}
.daily-strip > div {
  display: flex;
  gap: 18px;
  align-items: center;
}
.daily-strip i {
  font: 60px Georgia;
  color: var(--g);
  height: 40px;
}
.daily-strip button,
.arena-card button,
.profile-card button,
.explain.try button,
.more {
  color: #f3d994;
  background: #1c122b;
  border: 1px solid #936c2e;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: bold;
}
.pagehead {
  padding: 20px 0 28px;
  border-bottom: 1px solid #4f3d28;
  margin-bottom: 25px;
}
.pagehead > p:last-child {
  color: var(--m);
}
.back {
  border: 0;
  background: transparent;
  color: var(--g);
  font-weight: bold;
}
.overall {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.chapter-card {
  color: #fff;
  text-align: left;
  min-height: 210px;
  padding: 20px;
  background: #12101f;
  border: 1px solid #76552d;
  border-radius: 14px;
  position: relative;
}
.chapter-card .number {
  position: absolute;
  right: 13px;
  top: 10px;
  font: 30px Georgia;
  color: #6f5b78;
}
.chapter-card > i {
  font-style: normal;
  font-size: 38px;
  color: var(--g);
}
.chapter-card h3 {
  color: #f3d99c;
}
.chapter-card p,
.chapter-card small {
  color: #a9a2b5;
  font-size: 11px;
}
.locked {
  filter: saturate(0.45);
  opacity: 0.55;
}
.level-path {
  max-width: 840px;
  margin: auto;
  display: grid;
  gap: 12px;
}
.level {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  width: 100%;
  padding: 14px 20px;
}
.level > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--g);
  background: #3d1b59;
  color: var(--g);
}
.level.done {
  border-color: #28785f;
}
.level.done > span {
  background: #12674f;
  color: #fff;
}
.game {
  max-width: 900px;
  margin: auto;
}
.game-meta {
  display: flex;
  justify-content: space-between;
  color: var(--g);
  margin-bottom: 13px;
}
.scene {
  text-align: center;
  margin-top: 22px;
  padding: 38px;
  background: #100d1e;
  border: 1px solid #78562e;
  border-radius: 20px;
}
.scene-icon {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  font-size: 55px;
  background: #4f2a64;
  border: 2px solid var(--g);
}
.scene h1 {
  font-size: clamp(24px, 3vw, 36px);
}
.scene h2 {
  font-size: 18px;
  color: #d8c9a3;
}
.answers {
  display: grid;
  gap: 11px;
  text-align: left;
  max-width: 720px;
  margin: auto;
}
.answers button {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  color: #fff;
  background: #161326;
  border: 1px solid #554568;
  border-radius: 10px;
}
.answers button span {
  flex: 0 0 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #a98039;
  border-radius: 50%;
  color: var(--g);
}
.answers .correct {
  background: #103c30;
  border-color: #42c793;
}
.answers .wrong {
  background: #40151e;
  border-color: #d05a6c;
}
.explain {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
}
.explain.good {
  background: #0d3229;
  border: 1px solid #31866d;
}
.explain.try {
  background: #341823;
  border: 1px solid #8f4151;
}
.mastery-grid,
.arena-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.master-card {
  display: flex;
  gap: 17px;
  align-items: center;
  text-align: left;
  color: #fff;
  padding: 22px;
  background: var(--p);
  border: 1px solid #674b2c;
  border-radius: 15px;
}
.master-card > i {
  font-size: 42px;
}
.master-card b,
.master-card span,
.master-card small {
  display: block;
}
.master-card b {
  color: #efd497;
}
.master-card small {
  color: #988fa3;
}
.more {
  display: block;
  margin: 25px auto;
}
.daily-card {
  text-align: center;
  max-width: 760px;
  margin: auto;
  padding: 42px;
  background: #21112e;
  border: 1px solid var(--g);
  border-radius: 20px;
}
.daily-card .sun {
  font-size: 65px;
  color: var(--g);
}
.centre {
  text-align: center;
  margin-top: 36px;
}
.streak {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.streak div {
  text-align: center;
  padding: 14px 5px;
  border: 1px solid #57452e;
  border-radius: 10px;
  background: var(--p);
}
.streak span,
.streak b,
.streak small {
  display: block;
}
.streak .done {
  background: #173328;
  border-color: #3c896c;
}
.arena-grid {
  grid-template-columns: repeat(3, 1fr);
}
.arena-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--p);
  border: 1px solid #70502b;
  border-radius: 15px;
}
.arena-card > i {
  font-size: 50px;
}
.arena-card input {
  width: 100%;
  margin: 10px 0;
  padding: 13px;
  text-align: center;
  color: #fff;
  background: #080713;
  border: 1px solid #765630;
  border-radius: 8px;
}
.rank {
  display: block;
  color: var(--g);
  margin: 20px;
}
.profile-card {
  max-width: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.profile-card > div {
  padding: 22px;
  background: var(--p);
  border: 1px solid #5a432b;
  border-radius: 12px;
}
.profile-card span,
.profile-card b {
  display: block;
}
.profile-card b {
  font-size: 24px;
  color: var(--g);
}
.loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.royal-crest {
  width: min(82vw, 430px);
  padding: 50px 20px;
  border: 3px double var(--g);
  background: #291138;
}
.crown {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  filter: drop-shadow(0 14px 24px #0009);
}
.royal-crest h1 {
  color: var(--g);
}
.loadbar {
  width: min(70vw, 360px);
  height: 10px;
  margin-top: 35px;
  border: 1px solid #b1853a;
  padding: 2px;
}
.loadbar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8d5913, #ffe28d);
  animation: load 1.35s forwards;
}
@keyframes load {
  from {
    width: 5%;
  }
  to {
    width: 100%;
  }
}
.setup {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(440px, 600px);
  gap: 5vw;
  align-items: center;
  max-width: 1250px;
  margin: auto;
  padding: 40px;
}
.welcome {
  padding: 40px;
}
.mini-crest {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 0;
  filter: drop-shadow(0 10px 18px #0009);
}
.panel {
  background: #120e20ee;
  border: 1px solid #9a7135;
  border-radius: 20px;
  padding: 34px;
}
.form label {
  display: block;
  color: #d6c18e;
  font-weight: bold;
  margin: 18px 0 9px;
}
.ages,
.avatars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.age,
.avatar {
  min-height: 44px;
  color: #fff;
  background: #171024;
  border: 1px solid #5d4768;
  border-radius: 9px;
}
.age.active,
.avatar.active {
  border-color: var(--g);
  background: #522071;
}
.avatar {
  font-size: 25px;
}
.form input {
  width: 100%;
  padding: 14px;
  color: #fff;
  background: #090816;
  border: 1px solid #70522d;
  border-radius: 8px;
}
.form small {
  display: block;
  text-align: center;
  color: #8e8797;
  margin-top: 12px;
}
.error {
  color: #ff9baa;
  min-height: 18px;
}
#toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 30px);
  opacity: 0;
  padding: 14px 20px;
  border: 1px solid var(--g);
  border-radius: 10px;
  background: #171024;
  transition: 0.25s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.scene-picture {
  width: min(100%, 260px);
  aspect-ratio: 6 / 5;
  margin: 0 auto 25px;
  border: 3px solid #d5a64c;
  border-radius: 18px;
  background-image: url("assets/inclusive-scenarios.webp");
  background-size: 300% 400%;
  box-shadow:
    0 18px 45px #0009,
    inset 0 0 0 4px #160d24;
}
.scene-1 {
  background-position: 0 0;
}
.scene-2 {
  background-position: 50% 0;
}
.scene-3 {
  background-position: 100% 0;
}
.scene-4 {
  background-position: 0 33.333%;
}
.scene-5 {
  background-position: 50% 33.333%;
}
.scene-6 {
  background-position: 100% 33.333%;
}
.scene-7 {
  background-position: 0 66.666%;
}
.scene-8 {
  background-position: 50% 66.666%;
}
.scene-9 {
  background-position: 100% 66.666%;
}
.scene-10 {
  background-position: 0 100%;
}
.scene-11 {
  background-position: 50% 100%;
}
.scene-12 {
  background-position: 100% 100%;
}
.answers button.selected {
  border-color: var(--g);
  background: linear-gradient(90deg, #3d1a58, #21142f);
  box-shadow: 0 0 0 2px #f2c86f55;
}
.answers button.removed {
  opacity: 0.38;
  filter: grayscale(1);
}
.support-tools {
  max-width: 720px;
  margin: 18px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.support-tools button {
  display: grid;
  grid-template-columns: 42px 1fr;
  text-align: left;
  align-items: center;
  padding: 11px;
  color: #f8e7bd;
  background: linear-gradient(145deg, #261437, #100d1d);
  border: 1px solid #85622f;
  border-radius: 11px;
}
.support-tools i {
  grid-row: 1/3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--g);
  border-radius: 50%;
  color: var(--g);
  font: 700 20px Georgia;
}
.support-tools b {
  font-family: Georgia, serif;
}
.support-tools small {
  color: #b9ad96;
}
.support-tools button:disabled {
  opacity: 0.48;
}
.hint-box {
  max-width: 720px;
  margin: 12px auto;
  padding: 15px 18px;
  text-align: left;
  background: linear-gradient(90deg, #38204a, #191124);
  border: 1px solid #9d7435;
  border-radius: 10px;
}
.hint-box b {
  color: var(--g);
  font-family: Georgia, serif;
}
.hint-box p {
  margin: 5px 0;
}
.confirm {
  display: block;
  margin: 18px auto;
}
.avatars .avatar {
  height: 58px;
  border: 1px solid #85622f;
  background: radial-gradient(circle, #4a2361, #120e20);
  font-size: 31px;
  color: var(--g);
  box-shadow: inset 0 0 0 2px #0c0915;
}
.avatars .avatar.active {
  border: 2px solid #ffe499;
  box-shadow:
    0 0 20px #dba94d66,
    inset 0 0 0 2px #2b123b;
}
.profile-card {
  padding: 24px;
  border: 1px solid #a17735;
  border-radius: 20px;
  background: radial-gradient(circle at top, #35164a, #0d0b18 68%);
  box-shadow: 0 25px 65px #0009;
}
.profile-card > div {
  background: linear-gradient(145deg, #1d142b, #0b0a15);
  border-color: #846231;
}
.listen {
  color: var(--g);
  background: #21142f;
  border: 1px solid #8d6935;
  border-radius: 8px;
  padding: 7px 11px;
  font-weight: bold;
}
.profile-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  margin-bottom: 16px;
  border: 1px solid #a17735;
  border-radius: 20px;
  background: radial-gradient(circle at 15%, #4d2165, #110d20 60%);
  overflow: hidden;
}
.profile-medallion {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 3px double #ffe39a;
  border-radius: 50%;
  font-size: 64px;
  color: var(--g);
  background: radial-gradient(#6a3282, #1a1028);
  box-shadow: 0 0 35px #d6a34755;
}
.profile-rank {
  position: absolute;
  right: 28px;
  font-size: 85px;
  color: #d9aa4b22;
}
.badge-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.badge-row div {
  padding: 16px;
  text-align: center;
  border: 1px solid #47394e;
  border-radius: 12px;
  background: #0d0b18;
  opacity: 0.42;
}
.badge-row div.earned {
  opacity: 1;
  border-color: #977039;
  background: linear-gradient(145deg, #2b1839, #121020);
}
.badge-row i {
  display: block;
  color: var(--g);
  font-size: 31px;
  font-style: normal;
}
.badge-row b {
  font-family: Georgia, serif;
  color: #efd7a1;
}
.owned-kit {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid #956d32;
  border-radius: 14px;
  background: #191125;
}
.owned-kit span {
  font: 700 11px Georgia;
  color: var(--g);
  letter-spacing: 2px;
}
.owned-kit b {
  font-size: 24px;
}
.owned-kit small {
  color: var(--m);
}
.boutique-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.boutique-grid button {
  position: relative;
  padding: 26px;
  text-align: left;
  color: #fff;
  background: linear-gradient(145deg, #1c1429, #0b0a16);
  border: 1px solid #72552f;
  border-radius: 16px;
}
.boutique-grid button:hover {
  border-color: var(--g);
  transform: translateY(-2px);
}
.boutique-grid i {
  font-style: normal;
  font-size: 44px;
  color: var(--g);
}
.boutique-grid h2 {
  color: #f3d99d;
}
.boutique-grid b {
  color: var(--g);
  font-size: 20px;
}
.boutique-grid .featured {
  background: radial-gradient(circle at top right, #52216a, #130e20 65%);
  border-color: #c79542;
}
.boutique-grid .featured > .best-value {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 8px;
  border-radius: 10px;
  background: #a97522;
  color: #fff4cf;
  font-size: 9px;
  font-weight: bold;
}
.large-text {
  font-size: 19px;
}
.large-text .answers button {
  font-size: 18px;
  line-height: 1.5;
}
.game-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.game-type {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 15px;
  align-items: center;
  text-align: left;
  padding: 22px;
  color: #fff;
  background: linear-gradient(145deg, #1b1429, #0c0b18);
  border: 1px solid #76552d;
  border-radius: 15px;
}
.game-type:hover {
  border-color: var(--g);
  transform: translateY(-2px);
}
.game-type > i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--g);
  border-radius: 50%;
  font-style: normal;
  font-size: 28px;
  color: var(--g);
  background: #3b1950;
}
.game-type h2 {
  margin: 0;
  color: #f3d99c;
  font-size: 19px;
}
.game-type p {
  margin: 5px 0;
  color: var(--m);
}
.game-type span {
  color: var(--g);
  font-size: 12px;
}
.game-type strong {
  font-size: 28px;
  color: var(--g);
}
.portrait {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-image: url("assets/luxury-profile-portraits.webp");
  background-size: 400% 300%;
  background-position: var(--portrait-position);
  box-shadow:
    inset 0 0 0 2px #ffe8a5,
    0 8px 24px #0009;
}
.portrait-dropdown {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid #8e6933;
  border-radius: 16px;
  background: linear-gradient(145deg, #21152f, #0c0a16);
}
.profile-portrait-dropdown {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  text-align: left;
}
.profile-portrait-dropdown > div:nth-child(2) {
  display: grid;
  align-content: center;
  gap: 5px;
}
.profile-portrait-dropdown > div:nth-child(2) span {
  color: var(--g);
  font-size: 10px;
  letter-spacing: 2px;
}
.profile-portrait-dropdown > div:nth-child(2) b {
  color: #fff0c2;
  font:
    700 20px Georgia,
    serif;
}
.profile-portrait-dropdown select {
  grid-column: 1 / -1;
}
.portrait-dropdown select {
  flex: 1;
  padding: 14px;
  color: #fff1c7;
  border: 1px solid #a47a38;
  border-radius: 10px;
  background: #171020;
  font:
    700 15px Georgia,
    serif;
}
.portrait-menu-button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  color: #ffe9af;
  border: 1px solid #a77b39;
  border-radius: 10px;
  background: linear-gradient(145deg, #351b48, #170e21);
  font:
    700 13px Georgia,
    serif;
  letter-spacing: 1px;
}
.portrait-menu-button span {
  color: var(--g);
  font-size: 20px;
}
.portrait-image-menu {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  padding: 12px;
  border: 1px solid #a77b39;
  border-radius: 14px;
  background: #0d0916;
  box-shadow: 0 22px 50px #000c;
}
.portrait-image-menu[hidden] {
  display: none;
}
.portrait-option {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 116px;
  padding: 8px 5px;
  color: #ead5a5;
  border: 1px solid #5f492d;
  border-radius: 11px;
  background: #171020;
}
.portrait-option .portrait {
  width: 70px;
  height: 70px;
}
.portrait-option b {
  font:
    600 10px Georgia,
    serif;
}
.portrait-option.active {
  border-color: #ffe28b;
  background: #351947;
  box-shadow: 0 0 16px #e3b95844;
}
.curriculum-scene {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: auto;
}
.scene-chapter-1 {
  background-image: url("assets/curriculum/scene-00.webp");
}
.scene-chapter-2 {
  background-image: url("assets/curriculum/scene-01.webp");
}
.scene-chapter-3 {
  background-image: url("assets/curriculum/scene-02.webp");
}
.scene-chapter-4 {
  background-image: url("assets/curriculum/scene-03.webp");
}
.scene-chapter-5 {
  background-image: url("assets/curriculum/scene-04.webp");
}
.scene-chapter-6 {
  background-image: url("assets/curriculum/scene-05.webp");
}
.scene-chapter-7 {
  background-image: url("assets/curriculum/scene-06.webp");
}
.scene-chapter-8 {
  background-image: url("assets/curriculum/scene-07.webp");
}
.scene-chapter-9 {
  background-image: url("assets/curriculum/scene-08.webp");
}
.scene-chapter-10 {
  background-image: url("assets/curriculum/scene-09.webp");
}
.scene-chapter-11 {
  background-image: url("assets/curriculum/scene-10.webp");
}
.scene-chapter-12 {
  background-image: url("assets/curriculum/scene-11.webp");
}
.scene-chapter-13 {
  background-image: url("assets/curriculum/scene-12.webp");
}
.scene-chapter-14 {
  background-image: url("assets/curriculum/scene-13.webp");
}
.scene-chapter-15 {
  background-image: url("assets/curriculum/scene-14.webp");
}
.scene-chapter-16 {
  background-image: url("assets/curriculum/scene-15.webp");
}
.scene-chapter-17 {
  background-image: url("assets/curriculum/scene-16.webp");
}
.scene-chapter-18 {
  background-image: url("assets/curriculum/scene-17.webp");
}
.scene-chapter-19 {
  background-image: url("assets/curriculum/scene-18.webp");
}
.scene-chapter-20 {
  background-image: url("assets/curriculum/scene-19.webp");
}
.compact-head {
  padding: 8px 0 18px;
  margin-bottom: 20px;
}
.compact-head h1 {
  font-size: clamp(29px, 3vw, 45px);
  margin-bottom: 2px;
}
.visual-chapters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.visual-chapter {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-height: 248px;
  padding: 9px;
  overflow: hidden;
  background: linear-gradient(150deg, #21142e, #0d0b17 68%);
  box-shadow:
    inset 0 1px #fff1b01f,
    0 12px 30px #0003;
}
.chapter-thumb,
.master-thumb {
  display: block;
  width: min(100%, 240px);
  justify-self: center;
  aspect-ratio: 6 / 5;
  border: 1px solid #bd9149;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px #09071399;
}
.visual-chapter .chapter-thumb {
  height: auto;
}
.visual-chapter .number {
  top: 17px;
  right: 17px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #241126;
  border: 1px solid #fff0ad;
  border-radius: 50%;
  background: linear-gradient(#ffe89a, #b87920);
  font:
    700 14px Georgia,
    serif;
  box-shadow: 0 4px 12px #0009;
}
.visual-chapter div {
  padding: 0 7px 7px;
}
.visual-chapter h3 {
  margin: 2px 26px 7px 0;
  font-size: 16px;
  line-height: 1.15;
}
.visual-chapter small {
  color: #d5bd87;
  letter-spacing: 1px;
}
.visual-chapter > strong,
.visual-master > strong {
  position: absolute;
  right: 15px;
  bottom: 14px;
  color: var(--g);
  font:
    28px Georgia,
    serif;
}
.visual-mastery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.visual-master {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 130px;
  padding: 9px;
  gap: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #21142f, #0d0b17 72%);
  box-shadow:
    inset 0 1px #fff1b01f,
    0 12px 30px #0003;
}
.master-thumb {
  height: auto;
}
.visual-master div {
  min-width: 0;
}
.visual-master b {
  margin: 6px 22px 10px 0;
  font:
    700 15px/1.15 Georgia,
    serif;
}
.visual-master small {
  margin-top: 10px;
  color: #c7b585;
  font-size: 9px;
  letter-spacing: 1px;
}
.game-gems {
  display: flex !important;
  flex-wrap: wrap;
  gap: 5px;
}
.game-gems i {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: #2c152d;
  border: 1px solid #ffe9a4;
  border-radius: 50%;
  background: linear-gradient(#ffe698, #b97920);
  font:
    700 10px Georgia,
    serif;
  box-shadow: 0 3px 8px #0008;
}
.game-gems .locked-gem {
  color: #ffe29a;
  border-color: #9a7137;
  background: radial-gradient(#4b245d, #1a0d24);
}
.game-gems .locked-gem .lux-icon {
  width: 13px;
  height: 13px;
}
.mastery-locked {
  border-color: #b08643;
  background: linear-gradient(145deg, #2a1736, #0c0a16);
  box-shadow: inset 0 0 28px #d5a64b12;
}
.mastery-locked .game-thumb {
  filter: saturate(0.72) brightness(0.72);
}
.mastery-locked strong .lux-icon {
  width: 28px;
  height: 28px;
  color: #ffe195;
}
.daily-question {
  max-width: 900px;
  margin: auto;
}
.portrait.tiny {
  width: 38px;
  height: 38px;
}
.portrait.large {
  width: 108px;
  height: 108px;
}
.portrait.hero-portrait {
  width: 104px;
  height: 104px;
  margin-bottom: 8px;
}
.portrait-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.portrait-choice {
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 10px 5px;
  color: #ead7ae;
  background: linear-gradient(145deg, #21152f, #0c0a16);
  border: 1px solid #72552f;
  border-radius: 14px;
}
.portrait-choice b {
  font:
    600 11px Georgia,
    serif;
}
.portrait-choice.active {
  border: 2px solid #ffe499;
  box-shadow: 0 0 18px #dba94d55;
}
.portrait-button {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.coin-pill {
  padding: 9px 14px !important;
  color: #ffe39a !important;
  background: linear-gradient(145deg, #382143, #160e20) !important;
  border: 1px solid #9f7838 !important;
  border-radius: 18px !important;
  font-weight: 800;
}
.text-link {
  color: var(--g);
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
}
.ad-stage {
  min-height: 70vh;
  display: grid;
  place-items: center;
}
.ad-card {
  width: min(560px, 100%);
  padding: 54px 34px;
  text-align: center;
  border: 1px solid #bc8d40;
  border-radius: 24px;
  background: radial-gradient(circle at top, #54276d, #130e20 62%);
  box-shadow:
    0 30px 90px #000b,
    inset 0 0 40px #d5a64b14;
}
.ad-card > i {
  display: block;
  color: var(--g);
  font: normal 76px Georgia;
}
.ad-label {
  color: #a99d88;
  font-size: 9px;
  letter-spacing: 3px;
}
.ad-progress {
  height: 7px;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #090713;
}
.ad-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #9c6b1e, #ffe48e);
  animation: load 3s linear forwards;
}
.treasury-balance {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #a67b37;
  border-radius: 18px;
  background: radial-gradient(circle at left, #4a205e, #110d1e 60%);
}
.treasury-balance > i {
  font-style: normal;
  font-size: 54px;
  color: var(--g);
}
.treasury-balance div {
  flex: 1;
  display: grid;
  gap: 4px;
}
.treasury-balance span {
  color: var(--g);
  font-size: 10px;
  letter-spacing: 2px;
}
.treasury-balance b {
  font: 700 24px Georgia;
  color: #fff1c5;
}
.treasury-balance button,
.legal-card button {
  padding: 12px 16px;
  color: #ffe8ac;
  border: 1px solid #916b34;
  border-radius: 10px;
  background: #21132e;
}
.shop-title {
  color: #f1d69c;
  font-family: Georgia, serif;
}
.legal-card {
  max-width: 780px;
  padding: 30px;
  border: 1px solid #8e6933;
  border-radius: 18px;
  background: #151020;
  line-height: 1.75;
}
.legal-card button {
  margin: 10px 8px 0 0;
}
.profile-medallion {
  padding: 3px;
  overflow: hidden;
}
.wallet .lux-icon,
.coin-pill .lux-icon,
.game-meta .lux-icon {
  width: 18px;
  height: 18px;
  color: #ffe498;
}
.layout nav .lux-icon {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto 4px;
  color: #d9ad5b;
}
.support-tools .lux-icon {
  grid-row: 1/3;
  width: 36px;
  height: 36px;
  padding: 7px;
  color: #ffe28b;
  border: 1px solid #c99a43;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #6a347e, #251130 70%);
  box-shadow:
    inset 0 0 9px #ffe39425,
    0 5px 12px #0008;
}
.hint-box .lux-icon,
.explain .lux-icon {
  width: 21px;
  height: 21px;
  color: var(--g);
}
.daily-card .sun .lux-icon {
  width: 58px;
  height: 58px;
}
.visual-daily {
  max-width: 900px;
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 14px;
  text-align: left;
}
.daily-picture,
.arena-picture,
.shop-picture {
  width: 100%;
  aspect-ratio: 6 / 5;
  border: 1px solid #c99a43;
  border-radius: 12px;
  box-shadow: 0 15px 35px #0008;
}
.daily-picture,
.arena-picture {
  max-width: 260px;
  justify-self: center;
}
.visual-daily > div:last-child {
  padding: 18px;
}
.streak .lux-icon {
  width: 22px;
  height: 22px;
  margin: 0 auto 5px;
  color: var(--g);
}
.visual-arena .arena-card {
  position: relative;
  padding: 10px 10px 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #21142f, #0c0a17);
  box-shadow: 0 18px 40px #0005;
}
.arena-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: -29px auto 10px;
  position: relative;
  color: #ffe49a;
  border: 2px solid #d7a94e;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #703680, #24112f 72%);
  box-shadow: 0 8px 18px #000b;
}
.arena-icon .lux-icon {
  width: 31px;
  height: 31px;
}
.visual-arena h2 {
  margin: 8px 0;
}
.visual-arena p {
  margin: 5px 0 13px;
  color: var(--m);
}
.visual-boutique button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 9px 9px 18px;
  overflow: hidden;
}
.visual-boutique {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.shop-picture {
  grid-column: 1 / -1;
  display: block;
  margin-bottom: 7px;
  max-width: 240px;
  justify-self: center;
}
.visual-boutique > button > .lux-icon {
  grid-column: 2;
  grid-row: 2 / 4;
  width: 42px;
  height: 42px;
  padding: 8px;
  color: #ffe396;
  border: 1px solid #c49442;
  border-radius: 50%;
  background: #321641;
}
.visual-boutique h2,
.visual-boutique p,
.visual-boutique b {
  grid-column: 1;
  margin: 3px 8px;
}
.visual-boutique b .lux-icon,
.treasury-balance button .lux-icon,
.profile-card button .lux-icon {
  width: 19px;
  height: 19px;
}
.boutique-grid .featured > .best-value {
  position: absolute;
  z-index: 2;
  right: 17px;
  top: 17px;
  padding: 5px 8px;
  border-radius: 10px;
  background: #a97522;
  color: #fff4cf;
  font-size: 9px;
  font-weight: bold;
}
.treasury-balance > .lux-icon {
  width: 54px;
  height: 54px;
  color: #ffe397;
}
.ad-free-card {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 12px;
  margin-bottom: 24px;
  border: 1px solid #b98b40;
  border-radius: 18px;
  background: radial-gradient(circle at 20%, #4e245f, #110d1e 62%);
  box-shadow: 0 18px 42px #0005;
}
.ad-free-art {
  width: 170px;
  aspect-ratio: 6 / 5;
  border: 1px solid #d3a650;
  border-radius: 12px;
}
.ad-free-card h2,
.ad-free-card p {
  margin: 5px 0;
}
.ad-free-card div > .lux-icon {
  float: left;
  width: 36px;
  height: 36px;
  margin: 4px 13px 16px 0;
  color: #ffe39a;
}
.coin-gate:not(.done) {
  border-color: #a77b37;
  opacity: 0.86;
}
.coin-gate:not(.done) > span {
  color: #ffe29a;
  background: radial-gradient(#613076, #24112f);
}
.coin-gate > span .lux-icon {
  width: 24px;
  height: 24px;
}
.profile-rank .lux-icon {
  width: 90px;
  height: 90px;
}
.badge-row .lux-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  color: #ffe193;
}
.hero-seal .lux-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 12px;
  color: #ffe191;
}
.quick > button > .lux-icon {
  width: 42px;
  height: 42px;
  padding: 8px;
  color: #ffe196;
  border: 1px solid #bd8d3e;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #613076, #25122f 72%);
}
.chapter-art {
  position: relative;
  justify-content: flex-end;
  background-color: #3c1a51;
  box-shadow: inset 0 0 0 2px #08061277;
}
.chapter-art b {
  width: 100%;
  padding: 8px;
  text-align: center;
  color: #ffe8a7;
  border-radius: 0 0 11px 11px;
  background: #100a19d9;
  font:
    700 11px Georgia,
    serif;
  letter-spacing: 1px;
}
.visual-game-type {
  grid-template-columns: 92px 1fr auto;
  padding: 9px;
}
.game-thumb {
  display: block;
  width: 92px;
  aspect-ratio: 6 / 5;
  border: 1px solid #b9893e;
  border-radius: 10px;
}
.ad-card > .lux-icon {
  width: 76px;
  height: 76px;
  color: #ffe195;
}
.daily-strip > div > .lux-icon {
  width: 42px;
  height: 42px;
  color: #ffe195;
}
@media (max-width: 900px) {
  .visual-boutique {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chapter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visual-mastery {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick {
    grid-template-columns: 1fr;
  }
  .hero-seal {
    display: none;
  }
  .current {
    grid-template-columns: 130px 1fr;
  }
  .current > button {
    grid-column: 1/-1;
  }
  .arena-grid {
    grid-template-columns: 1fr;
  }
  .setup {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .welcome {
    padding: 10px;
  }
}
@media (max-width: 620px) {
  .visual-boutique {
    grid-template-columns: 1fr;
  }
  .visual-daily {
    grid-template-columns: 1fr;
  }
  .ad-free-card {
    grid-template-columns: 95px 1fr;
    gap: 12px;
  }
  .ad-free-art {
    width: 95px;
  }
  .ad-free-card > button {
    grid-column: 1 / -1;
  }
  .brand > span {
    width: 42px;
    height: 42px;
  }
  .portrait-image-menu {
    grid-template-columns: repeat(2, 1fr);
  }
  .portrait-picker {
    grid-template-columns: repeat(2, 1fr);
  }
  .treasury-balance {
    align-items: stretch;
    flex-direction: column;
  }
  .game-type-grid {
    grid-template-columns: 1fr;
  }
  .boutique-grid {
    grid-template-columns: 1fr;
  }
  .profile-hero {
    padding: 20px;
  }
  .profile-medallion {
    width: 82px;
    height: 82px;
    font-size: 44px;
  }
  .badge-row {
    grid-template-columns: 1fr;
  }
  .support-tools {
    grid-template-columns: 1fr;
  }
  .topbar {
    height: 64px;
    padding: 0 12px;
  }
  .brand b {
    font-size: 11px;
  }
  .wallet > span:nth-child(2) {
    display: none;
  }
  .layout {
    display: block;
  }
  .layout nav {
    position: fixed;
    z-index: 10;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    display: flex;
    padding: 5px;
    border-top: 1px solid #5b4327;
    background: #090817f5;
  }
  .layout nav button {
    margin: 0;
  }
  .layout nav span {
    font-size: 8px;
  }
  .content {
    padding: 18px 14px 90px;
  }
  .hero {
    padding: 28px 22px;
  }
  .current {
    grid-template-columns: 90px 1fr;
  }
  .chapter-grid {
    gap: 8px;
  }
  .chapter-card {
    min-height: 190px;
    padding: 15px;
  }
  .visual-chapter {
    grid-template-rows: auto 1fr;
    min-height: 210px;
    padding: 7px;
  }
  .visual-chapter .chapter-thumb {
    height: auto;
  }
  .visual-chapter h3 {
    font-size: 14px;
  }
  .visual-mastery {
    grid-template-columns: 1fr;
  }
  .visual-master {
    grid-template-columns: 105px 1fr;
    min-height: 120px;
  }
  .master-thumb {
    height: auto;
  }
  .scene {
    padding: 24px 13px;
  }
  .scene-icon {
    width: 90px;
    height: 90px;
  }
  .game-meta span {
    display: none;
  }
  .mastery-grid {
    grid-template-columns: 1fr;
  }
  .streak {
    grid-template-columns: repeat(4, 1fr);
  }
  .profile-card {
    grid-template-columns: 1fr;
  }
}

.online-wait,
.online-result {
  max-width: 720px;
  min-height: 62vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 36px;
  border: 1px solid #7b5a31;
  border-radius: 22px;
  background: linear-gradient(180deg, #18102a, #0b0917);
}
.online-wait .arena-icon,
.online-result .arena-icon {
  width: 76px;
  height: 76px;
}
.online-pulse {
  width: 54px;
  height: 54px;
  border: 4px solid #664a28;
  border-top-color: #f0c86a;
  border-radius: 50%;
  animation: onlineSpin 0.9s linear infinite;
}
@keyframes onlineSpin { to { transform: rotate(360deg); } }
.room-code-label { margin: 4px 0 -8px; color: #bca46f; letter-spacing: .18em; font-size: 12px; }
.room-code { font-family: Georgia, serif; font-size: clamp(34px, 8vw, 58px); letter-spacing: .13em; color: #f5d377; }
.result-scores { width: min(100%, 520px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result-scores > div { padding: 18px; border: 1px solid #70522d; border-radius: 14px; background: #0c0a18; }
.result-scores span { display:block; color:#b9b0c1; }
.result-scores b { display:block; margin-top:6px; font-size:30px; color:#f5d377; }
.leaderboard-card { overflow-x:auto; border:1px solid #70522d; border-radius:16px; background:#0d0a18; }
.leaderboard-card table { width:100%; border-collapse:collapse; min-width:520px; }
.leaderboard-card th,
.leaderboard-card td { padding:14px 12px; text-align:left; border-bottom:1px solid #2d2338; }
.leaderboard-card th { color:#e5c36e; font-size:12px; letter-spacing:.12em; }
.leaderboard-card td { color:#eeeaf3; }

@media (max-width: 620px) {
  .setup {
    min-height: 100svh;
    width: 100%;
    max-width: 100%;
    padding: max(10px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom));
    gap: 10px;
    align-content: start;
  }
  .setup .welcome {
    padding: 4px 6px 2px;
  }
  .setup .welcome .mini-crest {
    width: 54px;
    height: 54px;
  }
  .setup .welcome .eyebrow {
    margin: 4px 0;
    font-size: 10px;
  }
  .setup .welcome h1 {
    margin: 4px 0 6px;
    font-size: clamp(30px, 9vw, 44px);
    line-height: .98;
  }
  .setup .welcome > p:last-child {
    margin: 4px 0 8px;
    font-size: 14px;
  }
  .setup .panel.form {
    width: 100%;
    max-width: 100%;
    padding: 18px 14px;
    border-radius: 16px;
    overflow: hidden;
  }
  .setup .panel.form h2 {
    margin: 5px 0 8px;
    font-size: 27px;
  }
  .setup .form label {
    margin: 10px 0 6px;
  }
  .setup .ages {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .setup .age {
    min-width: 0;
    min-height: 42px;
    padding: 6px 2px;
  }
  .setup .portrait-dropdown {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
  }
  .setup .portrait-dropdown .portrait.large {
    width: 68px;
    height: 68px;
  }
  .setup .portrait-dropdown select,
  .setup .portrait-menu-button {
    min-width: 0;
    max-width: 100%;
  }
  .setup .form input {
    box-sizing: border-box;
  }
  .online-wait,
  .online-result {
    min-height: 55vh;
    padding: 24px 16px;
  }
}

@media (max-width: 390px) {
  .setup .ages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .setup .welcome h1 { font-size: 29px; }
}


/* Legal and support pages */
.legal-subtitle {
  max-width: 720px;
  color: #cfc5da;
}
.legal-document {
  max-width: 900px;
}
.legal-document h2,
.support-card h2 {
  margin: 28px 0 8px;
  color: #f2d28e;
  font: 700 22px Georgia, serif;
}
.legal-document p,
.support-card p {
  color: #ddd6e5;
}
.legal-intro,
.support-guidance,
.support-accessibility {
  padding: 18px 20px;
  border: 1px solid #76552c;
  border-radius: 14px;
  background: linear-gradient(145deg, #24122f, #120d1d);
}
.legal-intro b {
  display: block;
  margin-bottom: 4px;
  color: #ffe6a6;
  font: 700 20px Georgia, serif;
}
.legal-footer {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #4b385c;
}
.support-card {
  max-width: 820px;
}
.support-form {
  display: grid;
  gap: 9px;
  margin: 24px 0;
}
.support-form > label:not(.support-confirm) {
  margin-top: 9px;
  color: #f1d69c;
  font-weight: 700;
}
.support-form > label span {
  color: #978ca3;
  font-weight: 400;
  font-size: 12px;
}
.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 15px;
  color: #fff8e9;
  border: 1px solid #76552c;
  border-radius: 10px;
  outline: none;
  background: #0c0914;
  font: inherit;
}
.support-form textarea {
  min-height: 150px;
  resize: vertical;
}
.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: #e1b75e;
  box-shadow: 0 0 0 3px #e1b75e22;
}
.support-confirm {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 14px 0 4px;
  color: #ddd6e5;
  cursor: pointer;
}
.support-confirm input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  accent-color: #d8ad58;
}
.support-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.form-note {
  margin: 6px 0 0;
  color: #aca2b7 !important;
  font-size: 13px;
  line-height: 1.55;
}
.form-note .text-link {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: #f0c96f;
  text-decoration: underline;
}
.support-accessibility {
  margin: 24px 0;
}
.support-accessibility h2 {
  margin-top: 0;
}
.support-success {
  margin: 10vh auto 0;
  text-align: center;
}
.support-success .success-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  place-items: center;
  color: #140b1b;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe99c, #b67a19);
  font-size: 38px;
  font-weight: 900;
}
@media (max-width: 640px) {
  .legal-card {
    padding: 20px 16px;
  }
  .legal-document h2,
  .support-card h2 {
    font-size: 19px;
  }
  .legal-footer button,
  .support-card > button {
    width: 100%;
    margin-right: 0;
  }
}

.coin-pack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:14px 0 24px}.coin-pack-grid button{min-height:160px;padding:18px;border:1px solid rgba(216,176,85,.45);border-radius:22px;background:linear-gradient(180deg,rgba(66,27,78,.9),rgba(17,14,32,.98));color:#fff;text-align:left}.coin-pack-grid button svg{width:30px;height:30px;color:#e7bf65}.coin-pack-grid h2{margin:12px 0 5px;font-size:1.15rem}.coin-pack-grid p{margin:0 0 12px;color:#d8d1df;font-size:.9rem}.coin-pack-grid b{color:#f4cc73;font-size:1.05rem}.coin-pack-grid .featured{grid-column:span 2;background:linear-gradient(135deg,rgba(104,42,109,.96),rgba(32,20,55,.98))}@media(max-width:520px){.coin-pack-grid{grid-template-columns:1fr 1fr}.coin-pack-grid .featured{grid-column:1/-1}.coin-pack-grid button{min-height:145px;padding:14px}}

.online-note{max-width:34rem;margin:.65rem auto 1rem;opacity:.78;font-size:.9rem;line-height:1.4}
