
/* Original source: styles.css; SHA256 d04216401f70d15020e6ecccec372aef2311ad295cbfd53fc72c50ee6f192b9d */
:root {
  color-scheme: light;
  --ink: #243044;
  --paper: #fffaf0;
  --sky: #89d8ff;
  --grass: #8bd96f;
  --leaf: #46ad62;
  --path: #ffd889;
  --water: #62c7f0;
  --pink: #ff7a90;
  --blue: #45b7ff;
  --green: #64cf6a;
  --gold: #f7b938;
  --plum: #6654c8;
  --panel: rgba(255, 250, 240, 0.98);
  --shadow: rgba(41, 58, 83, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #050812;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
}

.game-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: max(540px, 100dvh);
  background:
    linear-gradient(180deg, #98e4ff 0%, #b7edff 36%, #aee77a 36%, #92d869 100%);
}

#gpuGame,
#game {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#gpuGame {
  z-index: 0;
  pointer-events: none;
}

#game {
  z-index: 1;
  touch-action: none;
}

.screen {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(137, 216, 255, 0.45), rgba(255, 250, 240, 0.18)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 38px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.screen--active {
  opacity: 1;
  pointer-events: auto;
}

.login-card {
  position: relative;
  width: min(660px, calc(100vw - 36px));
  padding: clamp(20px, 4vw, 36px);
  border: 3px solid rgba(36, 48, 68, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(255, 244, 218, 0.94)),
    radial-gradient(circle at 20% 20%, rgba(255, 122, 144, 0.22), transparent 17rem),
    radial-gradient(circle at 84% 22%, rgba(69, 183, 255, 0.24), transparent 16rem);
  box-shadow: 0 22px 70px var(--shadow);
  text-align: center;
}

.login-card::before,
.login-card::after {
  content: "";
  position: absolute;
  top: -22px;
  width: 92px;
  height: 44px;
  border-radius: 50% 50% 12px 12px;
  background: var(--paper);
  box-shadow:
    26px 0 0 var(--paper),
    52px 8px 0 rgba(255, 250, 240, 0.82);
}

.login-card::before {
  left: 34px;
}

.login-card::after {
  right: 82px;
  transform: scale(0.75);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #26324a;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(255, 216, 137, 0.9);
}

.subtitle {
  margin: 12px auto 0;
  max-width: 36rem;
  color: rgba(36, 48, 68, 0.78);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.45;
}

.profile-form {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 20px;
}

.save-panel {
  width: min(100%, 590px);
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(122, 215, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(5, 8, 15, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.save-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--hud-text, #fffaf0);
}

.save-panel-head strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.save-panel-head span {
  color: rgba(232, 244, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
}

.save-slot-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.save-slot-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 92px;
  gap: 2px 9px;
  padding: 10px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  color: var(--hud-text, #fffaf0);
  text-align: left;
  background:
    radial-gradient(circle at 18% 12%, rgba(247, 215, 103, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(20, 33, 55, 0.92), rgba(6, 10, 19, 0.92));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.save-slot-card.is-selected {
  border-color: rgba(247, 215, 103, 0.72);
  box-shadow:
    0 0 22px rgba(247, 215, 103, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.save-slot-card.has-save {
  background:
    radial-gradient(circle at 16% 15%, rgba(122, 215, 255, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(23, 45, 70, 0.95), rgba(8, 13, 24, 0.94));
}

.save-slot-index,
.save-slot-card em,
.save-slot-card small {
  color: rgba(232, 244, 255, 0.72);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.15;
}

.save-slot-index {
  grid-column: 1 / -1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.save-slot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 36% 28%, #fff, transparent 18%),
    linear-gradient(145deg, #ff2f9f, #7b3cff);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.26), 0 0 16px rgba(122, 215, 255, 0.24);
}

.save-slot-avatar--sprout { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #21e85c, #138a42); }
.save-slot-avatar--bubble { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #00c8ff, #00d6b0); }
.save-slot-avatar--moon { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #ffd000, #7b3cff); }
.save-slot-avatar--comet { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #ff6a00, #ff2f9f); }
.save-slot-avatar--tinker { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #b6ff00, #45b7ff); }
.save-slot-avatar--skate { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #00d6b0, #7b3cff); }
.save-slot-avatar--glitch { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #e040ff, #101827); }
.save-slot-avatar--plush { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #ff3d7f, #ffd000); }
.save-slot-avatar--nova { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #fffaf0, #7b3cff); }
.save-slot-avatar--dragon { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #64cf6a, #ff8f3d); }
.save-slot-avatar--spiderling { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #e040ff, #7b3cff); }
.save-slot-avatar--otter { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #00c8ff, #8d552e); }
.save-slot-avatar--owl { background: radial-gradient(circle at 36% 28%, #fff, transparent 18%), linear-gradient(145deg, #ffd000, #6654c8); }

.save-slot-card strong,
.save-slot-card em,
.save-slot-card small {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.menu-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.field {
  display: grid;
  gap: 7px;
  width: min(360px, 100%);
  text-align: left;
}

.field span {
  padding-left: 2px;
  color: rgba(36, 48, 68, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 48px;
  border: 2px solid rgba(36, 48, 68, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  outline: none;
}

.field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(69, 183, 255, 0.2);
}

.chooser,
.swatches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.avatar-choice {
  min-height: 40px;
  min-width: 72px;
  padding: 0 10px;
  border: 2px solid rgba(36, 48, 68, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.avatar-choice.is-selected {
  border-color: var(--plum);
  background: #efeaff;
}

.swatch {
  width: 38px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 2px rgba(36, 48, 68, 0.14);
}

.swatch.is-selected {
  box-shadow: 0 0 0 4px rgba(102, 84, 200, 0.4);
}

.primary-button {
  min-width: 190px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  color: #2a2107;
  background: linear-gradient(180deg, #ffe571, var(--gold));
  box-shadow: 0 5px 0 #b67618, 0 18px 34px rgba(79, 65, 30, 0.24);
  font-weight: 950;
  text-transform: uppercase;
}

.secondary-button {
  min-width: 150px;
  min-height: 50px;
  border: 2px solid rgba(36, 48, 68, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 5px 0 rgba(36, 48, 68, 0.14);
  font-weight: 950;
  text-transform: uppercase;
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible,
.avatar-choice:focus-visible,
.swatch:focus-visible,
.ability-button:focus-visible,
.icon-button:focus-visible {
  outline: 3px solid rgba(102, 84, 200, 0.35);
  outline-offset: 2px;
}

.server-hint {
  min-height: 20px;
  margin: 0;
  color: #a44b4b;
  font-size: 0.84rem;
  font-weight: 800;
}

.server-hint.is-ok {
  color: #33744c;
}

.hud {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.hud--active {
  opacity: 1;
}

.topbar,
.profile-panel,
.quest-panel,
.roster-panel,
.battle-panel,
.ability-bar,
.chat-panel,
.zoom-panel,
.toast,
.sale-reminder {
  pointer-events: auto;
}

.topbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 9px 12px;
  border: 2px solid rgba(36, 48, 68, 0.16);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px var(--shadow);
  backdrop-filter: blur(8px) saturate(1.15);
}

.brand,
.profile-card,
.stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand strong {
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-gem {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(255, 250, 240, 0.75);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #e7fff0;
  color: #2f7049;
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.build-pill {
  background: #f4f0ff;
  color: var(--plum);
}

.profile-panel,
.quest-panel,
.roster-panel,
.battle-panel {
  position: absolute;
  border: 2px solid rgba(36, 48, 68, 0.16);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px var(--shadow);
  backdrop-filter: blur(8px) saturate(1.15);
}

.profile-panel {
  left: 14px;
  bottom: 92px;
  width: min(310px, calc(100vw - 28px));
  padding: 12px;
}

.profile-card canvas {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(36, 48, 68, 0.1);
  border-radius: 8px;
  background: #eafaff;
}

.profile-card div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.profile-card strong {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.profile-card span {
  color: rgba(36, 48, 68, 0.66);
  font-size: 0.84rem;
  font-weight: 850;
}

.xp-track {
  position: relative;
  height: 25px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(36, 48, 68, 0.1);
}

.xp-track span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 9px;
  transform: translateY(-50%);
  color: #253048;
  font-size: 0.72rem;
  font-weight: 950;
}

.xp-track b {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--blue), var(--plum));
  transition: width 120ms ease;
}

.hp-track {
  height: 20px;
  margin-top: 7px;
}

.hp-track b {
  background: linear-gradient(90deg, #ff7a90, #f7b938);
}

.mp-track {
  height: 20px;
  margin-top: 7px;
}

.mp-track b {
  background: linear-gradient(90deg, #45b7ff, #6654c8);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.stat-grid span {
  display: grid;
  place-items: center;
  min-height: 24px;
  border-radius: 7px;
  background: rgba(36, 48, 68, 0.08);
  color: rgba(36, 48, 68, 0.78);
  font-size: 0.68rem;
  font-weight: 950;
}

.stat-row {
  justify-content: space-between;
  margin-top: 10px;
  color: rgba(36, 48, 68, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
}

.equipped-gear-tray {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.equipped-gear-badge {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  min-height: 42px;
  border: 1px solid rgba(122, 215, 255, 0.28);
  border-radius: 8px;
  color: #d9edff;
  font-size: 0.74rem;
  font-weight: 950;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 45%),
    rgba(8, 13, 24, 0.86);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.equipped-gear-badge:not(.is-empty)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.2);
}

.equipped-gear-badge.is-empty {
  opacity: 0.68;
}

.quest-panel {
  left: 50%;
  bottom: 108px;
  width: min(460px, calc(100vw - 680px));
  min-width: 260px;
  transform: translateX(-50%);
  padding: 12px 14px;
  text-align: center;
}

.battle-panel {
  left: 14px;
  top: 74px;
  width: min(310px, calc(100vw - 28px));
  padding: 12px;
}

.battle-panel strong,
.battle-panel span {
  display: block;
}

.battle-panel span {
  margin-top: 4px;
  color: rgba(36, 48, 68, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.32;
}

.target-track {
  position: relative;
  height: 12px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 48, 68, 0.12);
}

.target-track b {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a90, #f7b938);
  transition: width 120ms ease;
}

.quest-panel strong {
  display: block;
  margin-bottom: 4px;
}

.quest-panel span {
  display: block;
  color: rgba(36, 48, 68, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: normal;
  white-space: nowrap;
}

.quest-panel .hint-button {
  min-width: 96px;
  margin-top: 9px;
  border-color: rgba(102, 84, 200, 0.2);
  background: #f7f3ff;
  color: var(--plum);
}

.quest-panel .hint-button.is-solution-ready {
  border-color: rgba(47, 112, 73, 0.24);
  background: #e7fff0;
  color: #2f7049;
}

.panel-label {
  margin: 0 0 5px;
  color: var(--plum);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roster-panel {
  right: 14px;
  top: 74px;
  width: 220px;
  max-height: calc(100vh - 170px);
  padding: 12px;
  overflow: hidden;
}

#roster {
  display: grid;
  gap: 7px;
}

.roster-friend {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.8rem;
  font-weight: 900;
}

.roster-dot {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(36, 48, 68, 0.12);
}

.chat-panel {
  position: absolute;
  right: 14px;
  bottom: 92px;
  display: grid;
  gap: 8px;
  width: min(330px, calc(100vw - 28px));
  padding: 12px;
  border: 2px solid rgba(36, 48, 68, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 12px 34px var(--shadow);
  backdrop-filter: blur(8px) saturate(1.15);
}

.chat-panel.is-collapsed .chat-messages,
.chat-panel.is-collapsed .chat-form {
  display: none;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-button {
  min-height: 30px;
  border: 2px solid rgba(36, 48, 68, 0.12);
  border-radius: 7px;
  padding: 0 9px;
  color: var(--ink);
  background: #fff;
  font-size: 0.76rem;
  font-weight: 950;
}

.chat-messages {
  display: grid;
  gap: 6px;
  max-height: 150px;
  overflow: auto;
  padding-right: 4px;
}

.chat-line {
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-line strong {
  color: var(--plum);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.chat-line.is-mine {
  background: #e9fbff;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.chat-form input {
  min-width: 0;
  min-height: 36px;
  border: 2px solid rgba(36, 48, 68, 0.14);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
}

.chat-form button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: var(--plum);
  font-weight: 950;
}

.zoom-panel {
  position: absolute;
  left: 50%;
  top: 74px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(360px, calc(100vw - 470px));
  min-width: 230px;
  padding: 9px;
  border: 2px solid rgba(36, 48, 68, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 12px 34px var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(8px) saturate(1.15);
}

.zoom-panel input {
  min-width: 0;
  flex: 1;
}

.ability-bar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1240px, calc(100vw - 28px));
  transform: translateX(-50%);
}

.ability-button {
  display: grid;
  justify-items: center;
  gap: 3px;
  width: 86px;
  min-height: 72px;
  border: 2px solid rgba(36, 48, 68, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 10px 22px rgba(41, 58, 83, 0.24);
  font-weight: 950;
  touch-action: manipulation;
}

.ability-button span {
  font-size: 1.7rem;
  line-height: 1;
}

.ability-button b {
  font-size: 0.76rem;
}

.ability-button:active {
  transform: translateY(2px) scale(0.98);
}

.ability-button--super {
  color: #fffaf0;
  background: linear-gradient(180deg, #6654c8, #243044);
}

.toast {
  position: absolute;
  top: 132px;
  left: 50%;
  width: min(480px, calc(100vw - 40px));
  padding: 11px 14px;
  border: 2px solid rgba(36, 48, 68, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 12px 34px var(--shadow);
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  transition: opacity 150ms ease, transform 150ms ease;
}

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

.world-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(36, 48, 68, 0.38);
  pointer-events: auto;
}

.world-map-card {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  border: 2px solid rgba(36, 48, 68, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 24px 90px rgba(36, 48, 68, 0.38);
}

#worldMapCanvas {
  width: 100%;
  max-height: min(68vh, 720px);
  border: 2px solid rgba(36, 48, 68, 0.14);
  border-radius: 8px;
  background: #dff7ff;
}

.world-map-details {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 850;
}

.world-map-details strong,
.world-map-details span {
  display: block;
}

.world-map-details span {
  color: rgba(36, 48, 68, 0.72);
}

.gear-dialog,
.shop-dialog {
  width: min(460px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 90px rgba(36, 48, 68, 0.38);
}

.gear-dialog::backdrop,
.shop-dialog::backdrop {
  background: rgba(36, 48, 68, 0.34);
}

.gear-dialog form,
.shop-dialog form {
  padding: 16px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(36, 48, 68, 0.08);
}

.dialog-head strong {
  font-size: 1.2rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(36, 48, 68, 0.08);
  font-size: 1.5rem;
  line-height: 1;
}

.gear-list {
  display: grid;
  gap: 9px;
  padding-top: 13px;
}

.gear-loadout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.slot-card {
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 68px;
  padding: 9px;
  border-radius: 8px;
  background: #fff;
  border: 2px solid rgba(36, 48, 68, 0.08);
}

.slot-card span,
.slot-card em {
  color: rgba(36, 48, 68, 0.64);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.slot-card strong {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.gear-unequip {
  justify-self: start;
  min-height: 28px;
  border: 1px solid rgba(122, 215, 255, 0.24);
  border-radius: 7px;
  padding: 0 9px;
  color: var(--hud-text, #f4f7ff);
  background: rgba(7, 12, 22, 0.58);
  font-size: 0.68rem;
  font-weight: 950;
}

.combo-panel {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 2px solid rgba(102, 84, 200, 0.18);
  border-radius: 8px;
  background: #f4f0ff;
}

.combo-panel span {
  color: rgba(36, 48, 68, 0.7);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
}

.gear-section-title {
  margin-top: 4px;
  color: var(--plum);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gear-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 2px 0 4px;
}

.gear-tab {
  min-height: 32px;
  border: 1px solid rgba(122, 215, 255, 0.22);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--hud-text, #f4f7ff);
  background: rgba(8, 13, 24, 0.72);
  font-size: 0.72rem;
  font-weight: 950;
}

.gear-tab.is-active {
  border-color: rgba(247, 215, 103, 0.62);
  color: #07121f;
  background: linear-gradient(180deg, #fff7b6, #f7d767);
}

.gear-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px;
  border: 2px solid rgba(36, 48, 68, 0.08);
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}

.gear-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  font-weight: 950;
}

.gear-icon.gear-icon--asset {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.28), 0 8px 18px rgba(6, 12, 25, 0.28);
  color: transparent;
  overflow: hidden;
  text-indent: -9999px;
}

.gear-item strong,
.gear-item span {
  display: block;
  min-width: 0;
  overflow-wrap: normal;
  white-space: nowrap;
}

.gear-item span {
  color: rgba(36, 48, 68, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
}

.gear-item button {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  padding: 0 10px;
  color: #fff;
  background: var(--plum);
  font-size: 0.78rem;
  font-weight: 950;
}

.gear-item.is-locked {
  opacity: 0.58;
}

.gear-item.is-equipped {
  border-color: rgba(100, 207, 106, 0.45);
  background: #edfff1;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin-top: 9px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff2bd;
  color: #74551a;
  font-size: 0.76rem;
  font-weight: 950;
}

.ability-button--shop {
  background: #fff2bd;
}

.shop-dialog {
  width: min(720px, calc(100vw - 32px));
}

.settings-dialog,
.admin-dialog {
  width: min(640px, calc(100vw - 32px));
}

.hint-dialog {
  width: min(560px, calc(100vw - 32px));
}

.shop-note {
  margin: 12px 0;
  color: rgba(36, 48, 68, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
}

.parent-gate {
  width: min(320px, 100%);
  margin-bottom: 12px;
}

.shop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: min(58vh, 560px);
  overflow: auto;
  padding-right: 4px;
}

.settings-list {
  display: grid;
  gap: 10px;
  max-height: min(58vh, 560px);
  overflow: auto;
  padding-top: 8px;
  padding-right: 4px;
}

.setting-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.setting-action-row .secondary-button {
  flex: 1 1 190px;
  min-width: 0;
}

.danger-button {
  border-color: rgba(255, 122, 144, 0.34);
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(114, 39, 60, 0.88), rgba(55, 16, 31, 0.94));
}

.hint-list {
  display: grid;
  gap: 10px;
  max-height: min(62vh, 590px);
  overflow: auto;
  padding-right: 4px;
}

.hint-summary,
.hint-card,
.solution-purchase {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 2px solid rgba(36, 48, 68, 0.08);
  border-radius: 8px;
  background: #fff;
}

.hint-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: #eafaff;
}

.hint-summary strong,
.hint-summary span {
  min-width: 0;
}

.hint-summary span,
.hint-card p,
.solution-purchase p,
.hint-notice {
  margin: 0;
  color: rgba(36, 48, 68, 0.7);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.38;
}

.hint-notice {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff2bd;
  color: #5a4a16;
}

.solution-card {
  border-color: rgba(47, 112, 73, 0.22);
  background: #edfff1;
}

.solution-purchase {
  border-color: rgba(102, 84, 200, 0.18);
  background: #f7f3ff;
}

.solution-provider-row button {
  min-width: 82px;
}

.primary-wide {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--plum);
  font-size: 0.88rem;
  font-weight: 950;
}

.setting-row,
.admin-status,
.admin-command {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 2px solid rgba(36, 48, 68, 0.08);
  border-radius: 8px;
  background: #fff;
}

.setting-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.setting-row span,
.admin-status,
.admin-command {
  min-width: 0;
}

.setting-row strong,
.setting-row em,
.admin-status strong,
.admin-status span,
.admin-command strong,
.admin-command span {
  display: block;
}

.setting-row em,
.admin-status span,
.admin-command span,
.admin-result {
  color: rgba(36, 48, 68, 0.68);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.setting-row input {
  width: 24px;
  height: 24px;
  accent-color: var(--plum);
}

.setting-row--wide {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
}

.setting-select,
.setting-slider-wrap {
  width: 100%;
}

.setting-select {
  min-height: 42px;
  border: 1px solid rgba(122, 215, 255, 0.26);
  border-radius: 8px;
  color: var(--hud-text, #f4f7ff);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(7, 12, 22, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-weight: 850;
  padding: 0 12px;
}

.setting-select option,
.setting-select optgroup {
  color: #111827;
  background: #f8fbff;
}

.setting-slider-wrap {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 54px;
  align-items: center;
  gap: 10px;
}

.setting-row input[type="range"] {
  width: 100%;
  height: 6px;
  accent-color: var(--hud-gold, #f7d767);
}

.setting-value {
  color: var(--hud-gold, #f7d767);
  font-size: 0.82rem;
  text-align: right;
}

.admin-open-button {
  justify-self: start;
}

.admin-command {
  width: 100%;
  border-color: rgba(102, 84, 200, 0.18);
  color: var(--ink);
  text-align: left;
}

.admin-settings-panel {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 8, 15, 0.26);
}

.admin-setting-row {
  min-width: 0;
}

.admin-setting-row strong,
.admin-setting-row em,
.quest-panel strong,
.quest-panel span,
.battle-panel strong,
.battle-panel span,
.world-map-details strong,
.world-map-details span {
  overflow-wrap: normal;
  white-space: nowrap;
}

.admin-command:hover {
  border-color: rgba(102, 84, 200, 0.42);
  background: #f7f3ff;
}

.admin-result {
  padding: 10px 12px;
  border-radius: 8px;
  background: #e7fff0;
  color: #2f7049;
}

.admin-dialog {
  width: min(1240px, calc(100vw - 28px));
}

.admin-dialog form {
  color: var(--hud-text, #f8fbff);
  background:
    radial-gradient(circle at 12% 0%, rgba(122, 215, 255, 0.12), transparent 34%),
    radial-gradient(circle at 86% 6%, rgba(247, 215, 103, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(12, 19, 34, 0.98), rgba(4, 7, 14, 0.98));
}

.admin-dialog .settings-list {
  max-height: min(72vh, 780px);
  padding: 10px 6px 2px 0;
}

.admin-dialog .shop-note {
  color: var(--hud-muted, rgba(231, 238, 255, 0.72));
}

.admin-status--studio {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-color: rgba(247, 215, 103, 0.22);
  background:
    linear-gradient(135deg, rgba(247, 215, 103, 0.1), transparent 38%),
    rgba(7, 12, 22, 0.86);
}

.admin-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  overflow-x: auto;
  padding: 2px 0 6px;
}

.admin-tabs button,
.admin-section-list button,
.admin-record-list button,
.admin-hierarchy-col button {
  min-width: 0;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  color: var(--hud-text, #f8fbff);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(8, 13, 24, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-weight: 950;
}

.admin-tabs button {
  min-height: 34px;
  padding: 0 13px;
  white-space: nowrap;
}

.admin-tabs button.is-active,
.admin-section-list button.is-active,
.admin-record-list button.is-active,
.admin-hierarchy-col button.is-active {
  border-color: rgba(247, 215, 103, 0.48);
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 215, 103, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(45, 38, 80, 0.92), rgba(8, 13, 24, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 22px rgba(247, 215, 103, 0.08);
}

.admin-overview-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(122, 215, 255, 0.1), transparent 36%),
    rgba(5, 9, 17, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.admin-overview-panel strong {
  display: block;
  color: var(--hud-text, #f8fbff);
  font-size: 0.98rem;
}

.admin-overview-panel span {
  color: var(--hud-muted, rgba(231, 238, 255, 0.76));
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-overview-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-overview-chips button {
  min-height: 34px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--hud-text, #f8fbff);
  background: rgba(8, 13, 24, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-weight: 950;
}

.admin-overview-chips button span {
  margin-left: 5px;
  color: var(--hud-gold, #f7d767);
}

.admin-overview-chips button.is-active {
  border-color: rgba(247, 215, 103, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 215, 103, 0.18), transparent 62%),
    rgba(24, 20, 48, 0.9);
}

.admin-studio-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.68fr) minmax(290px, 0.9fr) minmax(560px, 1.9fr);
  gap: 12px;
  min-height: min(50vh, 560px);
  overflow-x: auto;
  padding-bottom: 2px;
}

.admin-section-list,
.admin-record-list,
.admin-editor,
.admin-hierarchy,
.admin-quick-panel {
  border: 1px solid rgba(122, 215, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 32%),
    rgba(5, 9, 17, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 34px rgba(0, 0, 0, 0.2);
}

.admin-section-list,
.admin-record-list {
  display: grid;
  align-content: start;
  gap: 7px;
  max-height: 560px;
  overflow: auto;
  padding: 8px;
}

.admin-section-list button,
.admin-record-list button,
.admin-hierarchy-col button {
  display: grid;
  gap: 3px;
  min-height: 54px;
  padding: 10px 12px;
  text-align: left;
}

.admin-section-list strong,
.admin-record-list strong,
.admin-hierarchy-col strong,
.admin-editor strong,
.admin-hierarchy-selected strong {
  min-width: 0;
  overflow: visible;
  overflow-wrap: normal;
  white-space: nowrap;
}

.admin-section-list span,
.admin-record-list span,
.admin-editor span,
.admin-editor-note,
.admin-hierarchy p,
.admin-hierarchy-col span,
.admin-hierarchy-selected span {
  color: var(--hud-muted, rgba(231, 238, 255, 0.72));
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.admin-record-head,
.admin-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-record-head {
  position: sticky;
  top: -8px;
  z-index: 1;
  margin: -8px -8px 0;
  padding: 10px 8px;
  background: rgba(5, 9, 17, 0.94);
  border-bottom: 1px solid rgba(122, 215, 255, 0.12);
}

.admin-record-search {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--hud-text, #f8fbff);
  background: rgba(5, 8, 15, 0.72);
  font-weight: 850;
}

.admin-record-search::placeholder {
  color: rgba(231, 238, 255, 0.48);
}

.admin-asset-tools {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(122, 215, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(122, 215, 255, 0.08), transparent 38%),
    rgba(5, 8, 15, 0.66);
}

.admin-asset-preview {
  display: grid;
  place-items: center;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(247, 215, 103, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.08);
}

.admin-asset-preview img {
  max-width: 100%;
  max-height: 118px;
  object-fit: contain;
}

.admin-asset-preview audio {
  width: 100%;
}

.admin-asset-meta,
.admin-upload-panel {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-asset-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-asset-actions button {
  flex: 1 1 110px;
}

.admin-upload-panel {
  grid-column: 1 / -1;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.2fr) auto;
  align-items: center;
}

.admin-upload-panel input[type="text"],
.admin-upload-panel input[type="file"] {
  min-width: 0;
  min-height: 40px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--hud-text, #f8fbff);
  background: rgba(5, 8, 15, 0.72);
  font-weight: 850;
}

.admin-editor {
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto auto;
  gap: 10px;
  padding: 10px;
  min-width: 0;
}

.admin-editor--asset {
  grid-template-rows: auto auto minmax(360px, 1fr) auto auto;
}

.admin-json-editor {
  width: 100%;
  min-height: 360px;
  resize: vertical;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: #f8fbff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(2, 5, 11, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.82rem;
  line-height: 1.42;
}

.admin-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-editor-actions button {
  flex: 1 1 150px;
}

.admin-editor-note {
  margin: 0;
}

.admin-hierarchy {
  display: grid;
  gap: 9px;
  padding: 10px;
}

.admin-hierarchy p {
  margin: 0;
}

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

.admin-hierarchy-col {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 150px;
  padding: 8px;
  border: 1px solid rgba(122, 215, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.46);
}

.admin-hierarchy-col > strong {
  color: var(--hud-gold, #f7d767);
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-hierarchy-selected {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(247, 215, 103, 0.18);
  border-radius: 8px;
  background: rgba(247, 215, 103, 0.07);
}

.admin-completeness {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(100, 207, 106, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(100, 207, 106, 0.08), transparent 40%),
    rgba(5, 9, 17, 0.52);
}

.admin-completeness > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-completeness div span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(122, 215, 255, 0.16);
  border-radius: 999px;
  padding: 0 8px;
  color: #d8e5ff;
  background: rgba(5, 8, 15, 0.58);
  font-size: 0.7rem;
  font-weight: 950;
}

.admin-completeness div span.is-ready {
  border-color: rgba(100, 207, 106, 0.28);
  color: #d8ffe2;
}

.admin-completeness div span.is-missing {
  border-color: rgba(255, 122, 144, 0.32);
  color: #ffd8de;
}

.admin-empty {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(122, 215, 255, 0.14);
  border-radius: 8px;
  color: var(--hud-text, #f8fbff);
  background: rgba(5, 9, 17, 0.62);
}

.admin-empty--compact {
  padding: 10px;
}

.admin-quick-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.admin-quick-panel .gear-section-title {
  grid-column: 1 / -1;
}

.objective-meter {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(122, 215, 255, 0.18);
}

.objective-meter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.objective-meter-summary strong {
  color: #fff8c8;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.objective-meter-summary span {
  color: rgba(244, 247, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: right;
}

.objective-meter-summary.is-complete strong {
  color: #7dffb1;
  text-shadow: 0 0 14px rgba(95, 224, 164, 0.56);
}

.objective-meter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.objective-meter-chips span {
  min-height: 22px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 214, 105, 0.24);
  border-radius: 7px;
  color: #fff3b0;
  background: rgba(255, 214, 105, 0.11);
  font-size: 0.68rem;
  font-weight: 950;
  white-space: nowrap;
}

.objective-meter-chips span.is-done {
  border-color: rgba(95, 224, 164, 0.34);
  color: #baffe0;
  background: rgba(95, 224, 164, 0.12);
}

.admin-map-visualizer,
.admin-map-flow {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(122, 215, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(9, 14, 26, 0.94), rgba(18, 28, 47, 0.9)),
    radial-gradient(circle at top left, rgba(122, 215, 255, 0.16), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 40px rgba(0, 0, 0, 0.22);
}

.admin-map-editor-head,
.admin-map-flow-head,
.admin-map-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-map-editor-head div,
.admin-map-flow-head div {
  display: grid;
  gap: 3px;
}

.admin-map-editor-head strong,
.admin-map-flow-head strong,
.admin-map-inspector > strong {
  color: var(--hud-text, #f4f7ff);
  font-size: 1rem;
}

.admin-map-editor-head span,
.admin-map-flow-head span,
.admin-map-actions span,
.admin-map-inspector > span {
  color: var(--hud-muted, rgba(218, 229, 244, 0.7));
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-map-editor-head select,
.admin-map-inspector select {
  min-height: 38px;
  border: 1px solid rgba(122, 215, 255, 0.28);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--hud-text, #f4f7ff);
  background: rgba(5, 9, 17, 0.86);
  font-weight: 900;
}

.admin-map-toolbar,
.admin-terrain-palette,
.admin-object-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-map-toolbar button,
.admin-terrain-palette button,
.admin-object-palette button,
.admin-map-flow-col button {
  min-height: 34px;
  border: 1px solid rgba(122, 215, 255, 0.2);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--hud-text, #f4f7ff);
  background: rgba(6, 11, 22, 0.72);
  font-weight: 950;
}

.admin-map-toolbar button.is-active,
.admin-terrain-palette button.is-active,
.admin-map-flow-col button.is-active {
  border-color: rgba(255, 214, 105, 0.64);
  box-shadow: 0 0 0 1px rgba(255, 214, 105, 0.28), 0 0 18px rgba(255, 214, 105, 0.18);
}

.admin-terrain-palette button,
.admin-object-palette button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.admin-terrain-palette b,
.admin-object-palette b {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #081020;
  background: var(--terrain, var(--object, #f7d767));
  font-size: 0.72rem;
}

.admin-object-palette b {
  border-radius: 50%;
}

.admin-map-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
  align-items: stretch;
}

.admin-map-canvas-wrap {
  min-width: 0;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: #07101f;
}

.admin-map-canvas {
  display: block;
  width: 100%;
  height: min(52vh, 620px);
  cursor: crosshair;
}

.admin-map-inspector {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(122, 215, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.72);
}

.admin-map-stat-grid {
  display: grid;
  gap: 7px;
}

.admin-map-stat-grid span,
.admin-map-selected,
.admin-map-field {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--hud-muted, rgba(218, 229, 244, 0.7));
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  font-weight: 850;
}

.admin-map-stat-grid b,
.admin-map-selected strong,
.admin-map-field span {
  color: var(--hud-text, #f4f7ff);
}

.admin-map-flow-cols {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr) minmax(220px, 0.8fr);
  gap: 10px;
}

.admin-map-flow-col {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 180px;
  padding: 10px;
  border: 1px solid rgba(122, 215, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.58);
}

.admin-map-flow-col > strong {
  color: var(--hud-gold, #f7d767);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.admin-map-flow-col button {
  display: grid;
  justify-items: start;
  text-align: left;
}

.admin-map-flow-col button span {
  color: var(--hud-text, #f4f7ff);
}

.admin-map-flow-col button em {
  color: var(--hud-muted, rgba(218, 229, 244, 0.7));
  font-size: 0.68rem;
  font-style: normal;
}

.admin-world-drop {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 12px;
  border: 1px dashed rgba(255, 214, 105, 0.42);
  border-radius: 8px;
  color: var(--hud-text, #f4f7ff);
  background: radial-gradient(circle at center, rgba(255, 214, 105, 0.12), rgba(5, 9, 17, 0.58));
}

.admin-world-drop span {
  color: var(--hud-muted, rgba(218, 229, 244, 0.7));
  font-size: 0.74rem;
}

.shop-item {
  display: grid;
  gap: 8px;
  min-height: 172px;
  padding: 12px;
  border: 2px solid rgba(36, 48, 68, 0.08);
  border-radius: 8px;
  background: #fff;
}

.shop-item strong {
  display: block;
  font-size: 1rem;
}

.shop-item p {
  margin: 0;
  color: rgba(36, 48, 68, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.shop-price {
  color: var(--plum);
  font-weight: 950;
}

.provider-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.provider-row button {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  padding: 0 8px;
  color: #fff;
  background: var(--plum);
  font-size: 0.72rem;
  font-weight: 950;
}

.provider-row button:nth-child(2) {
  background: #1b74e4;
}

.provider-row button:nth-child(3) {
  background: #2f7049;
}

.provider-row button:nth-child(4) {
  background: #f7931a;
}

.provider-row button:nth-child(5) {
  background: #1f9a8a;
}

.shop-item.is-owned {
  background: #edfff1;
}

.shop-item.is-owned .provider-row button {
  background: #7a8798;
}

/* Premium MMORPG HUD layer */
:root {
  --hud-void: rgba(5, 8, 15, 0.82);
  --hud-glass: rgba(12, 18, 31, 0.78);
  --hud-glass-strong: rgba(16, 23, 38, 0.9);
  --hud-metal: rgba(169, 188, 214, 0.22);
  --hud-line: rgba(163, 221, 255, 0.38);
  --hud-line-hot: rgba(255, 214, 105, 0.58);
  --hud-text: #f4f7ff;
  --hud-muted: rgba(218, 229, 244, 0.7);
  --hud-gold: #f7d767;
  --hud-cyan: #7ad7ff;
  --hud-ruby: #ff5f73;
  --hud-emerald: #5fe0a4;
  --hud-violet: #b88cff;
}

.hud-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 52%, transparent 0 34%, rgba(4, 6, 12, 0.16) 68%, rgba(2, 3, 8, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.28), transparent 26%, transparent 72%, rgba(6, 10, 18, 0.32));
  mix-blend-mode: multiply;
}

.topbar,
.profile-panel,
.quest-panel,
.roster-panel,
.battle-panel,
.chat-panel,
.zoom-panel,
.minimap-panel,
.world-map-card,
.gear-dialog form,
.shop-dialog form {
  border: 1px solid var(--hud-line);
  color: var(--hud-text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, var(--hud-glass), rgba(8, 13, 24, 0.88));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px) saturate(1.35);
}

.topbar::after,
.profile-panel::after,
.quest-panel::after,
.battle-panel::after,
.minimap-panel::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hud-line-hot), transparent);
  pointer-events: none;
}

.brand strong,
.dialog-head strong,
.quest-panel strong,
.battle-panel strong {
  color: var(--hud-text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(122, 215, 255, 0.24);
}

.brand-gem {
  background: conic-gradient(from 45deg, var(--hud-cyan), var(--hud-violet), var(--hud-gold), var(--hud-cyan));
  box-shadow:
    0 0 0 2px rgba(247, 215, 103, 0.18),
    0 0 20px rgba(122, 215, 255, 0.44);
}

.pill {
  border: 1px solid rgba(122, 215, 255, 0.22);
  color: var(--hud-text);
  background: linear-gradient(180deg, rgba(54, 75, 106, 0.68), rgba(12, 18, 31, 0.78));
}

.build-pill {
  color: var(--hud-gold);
  background: linear-gradient(180deg, rgba(102, 84, 200, 0.34), rgba(12, 18, 31, 0.8));
}

.profile-panel {
  width: min(336px, calc(100vw - 28px));
  padding: 14px;
}

.profile-card canvas {
  border: 1px solid rgba(122, 215, 255, 0.34);
  background: radial-gradient(circle at 50% 38%, rgba(122, 215, 255, 0.28), rgba(5, 8, 15, 0.92));
  box-shadow: 0 0 24px rgba(122, 215, 255, 0.18);
}

.profile-card span,
.quest-panel span,
.battle-panel span,
.roster-friend,
.chat-line,
.stat-row,
.world-map-details span,
.shop-note {
  color: var(--hud-muted);
}

.xp-track {
  height: 28px;
  border: 1px solid rgba(169, 188, 214, 0.16);
  background: rgba(2, 5, 12, 0.64);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(122, 215, 255, 0.07);
}

.xp-track span {
  color: rgba(244, 247, 255, 0.86);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.xp-track b {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(90deg, var(--hud-cyan), var(--hud-violet));
  box-shadow: 0 0 18px rgba(122, 215, 255, 0.38);
}

.xp-track b::after,
.target-track b::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 32%, rgba(255, 255, 255, 0.34) 48%, transparent 64% 100%);
  animation: hudSheen 2.6s ease-in-out infinite;
}

.hp-track b {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(90deg, #8a1024, var(--hud-ruby), #ffb06b);
  box-shadow: 0 0 20px rgba(255, 95, 115, 0.4);
}

.mp-track b {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(90deg, #1552ad, var(--hud-cyan), #8d7cff);
  box-shadow: 0 0 20px rgba(122, 215, 255, 0.4);
}

.stat-grid span {
  border: 1px solid rgba(122, 215, 255, 0.18);
  color: var(--hud-text);
  background: rgba(2, 5, 12, 0.48);
}

.panel-label {
  color: var(--hud-gold);
  text-shadow: 0 0 14px rgba(247, 215, 103, 0.24);
}

.quest-panel {
  width: min(520px, calc(100vw - 710px));
}

.quest-panel .hint-button,
.mini-button {
  border: 1px solid rgba(122, 215, 255, 0.28);
  color: var(--hud-text);
  background: linear-gradient(180deg, rgba(39, 53, 80, 0.92), rgba(10, 16, 29, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quest-panel .hint-button.is-solution-ready {
  border-color: rgba(95, 224, 164, 0.46);
  color: #dfffee;
  background: linear-gradient(180deg, rgba(35, 108, 80, 0.74), rgba(8, 19, 18, 0.94));
}

.roster-panel {
  top: 318px;
}

.roster-friend,
.chat-line {
  border: 1px solid rgba(122, 215, 255, 0.12);
  background: rgba(4, 8, 17, 0.52);
}

.chat-line.is-mine {
  background: rgba(33, 72, 103, 0.48);
}

.chat-line strong {
  color: var(--hud-cyan);
}

.chat-form input,
.field input {
  border: 1px solid rgba(122, 215, 255, 0.28);
  color: var(--hud-text);
  background: rgba(2, 5, 12, 0.62);
}

.chat-form button,
.primary-wide,
.primary-button {
  background: linear-gradient(180deg, rgba(145, 113, 255, 0.95), rgba(58, 44, 133, 0.98));
  box-shadow: 0 0 20px rgba(184, 140, 255, 0.26);
}

.zoom-panel {
  width: min(410px, calc(100vw - 690px));
}

.minimap-panel {
  position: absolute;
  top: 74px;
  right: 14px;
  width: 248px;
  padding: 12px;
  border-radius: 8px;
  pointer-events: auto;
}

.minimap-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.minimap-head span {
  color: var(--hud-muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: right;
}

#minimapCanvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(122, 215, 255, 0.3);
  border-radius: 50%;
  background: #08101d;
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(122, 215, 255, 0.18);
}

.buff-tray {
  position: absolute;
  left: 14px;
  bottom: 338px;
  display: none !important;
  flex-wrap: wrap;
  gap: 7px;
  width: min(336px, calc(100vw - 28px));
  pointer-events: auto;
}

.buff-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247, 215, 103, 0.26);
  border-radius: 8px;
  color: var(--hud-text);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(24, 35, 57, 0.96), rgba(5, 8, 15, 0.96));
  box-shadow: 0 0 18px rgba(122, 215, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 950;
}

.buff-super,
.buff-combo {
  border-color: rgba(184, 140, 255, 0.48);
  box-shadow: 0 0 18px rgba(184, 140, 255, 0.28);
}

.buff-unicorn {
  border-color: rgba(255, 250, 240, 0.56);
  color: #fffaf0;
}

.buff-danger {
  border-color: rgba(255, 95, 115, 0.6);
  color: #ffd5dc;
  animation: dangerPulse 1.15s ease-in-out infinite;
}

.battle-panel {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.battle-panel.is-acquired {
  transform: translateY(-2px);
  border-color: var(--hud-cyan);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.46),
    0 0 32px rgba(122, 215, 255, 0.26);
}

.battle-panel.is-danger,
body.hud-danger .profile-panel {
  border-color: rgba(255, 95, 115, 0.58);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(255, 95, 115, 0.2);
}

.battle-panel.is-boss {
  border-color: rgba(184, 140, 255, 0.58);
}

.target-track {
  border: 1px solid rgba(255, 95, 115, 0.18);
  background: rgba(2, 5, 12, 0.72);
}

.target-track b {
  background: linear-gradient(90deg, #741323, var(--hud-ruby), var(--hud-gold));
  box-shadow: 0 0 20px rgba(255, 95, 115, 0.35);
}

.combat-feed {
  position: absolute;
  left: 50%;
  top: 152px;
  display: grid;
  gap: 8px;
  width: min(440px, calc(100vw - 420px));
  transform: translateX(-50%);
  pointer-events: none;
}

.combat-event {
  justify-self: center;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(247, 215, 103, 0.25);
  border-radius: 8px;
  color: var(--hud-text);
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.88), rgba(5, 8, 15, 0.68));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  font-size: 0.86rem;
  font-weight: 950;
  text-align: center;
  animation: combatRise 360ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.combat-event.is-fading {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.combat-damage,
.combat-danger,
.combat-knockout {
  border-color: rgba(255, 95, 115, 0.45);
  color: #ffd5dc;
}

.combat-collect,
.combat-treasure,
.combat-puzzle {
  border-color: rgba(247, 215, 103, 0.5);
  color: #fff2bd;
}

.ability-bar {
  padding: 9px;
  border: 1px solid rgba(122, 215, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(122, 215, 255, 0.08), transparent),
    rgba(3, 6, 13, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.ability-button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(169, 188, 214, 0.28);
  color: var(--hud-text);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(32, 45, 70, 0.96), rgba(7, 11, 20, 0.98));
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 120ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ability-button::before {
  content: attr(data-key);
  position: absolute;
  top: 5px;
  left: 6px;
  min-width: 18px;
  padding: 1px 4px;
  border: 1px solid rgba(247, 215, 103, 0.26);
  border-radius: 4px;
  color: var(--hud-gold);
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.55rem;
  font-weight: 950;
}

.ability-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, rgba(2, 5, 12, 0.72), rgba(2, 5, 12, 0.72), transparent 72%);
  opacity: 0;
  pointer-events: none;
}

.ability-button:hover,
.ability-button.has-target {
  border-color: rgba(122, 215, 255, 0.62);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(122, 215, 255, 0.16);
}

.ability-button.is-ready,
.ability-button.is-fired {
  border-color: rgba(247, 215, 103, 0.62);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(247, 215, 103, 0.2);
}

.ability-button.is-cooling::after {
  opacity: 1;
  animation: cooldownSweep var(--ability-cooldown-ms, 820ms) linear forwards;
}

.ability-button span {
  color: var(--hud-cyan);
  text-shadow: 0 0 16px rgba(122, 215, 255, 0.34);
}

.ability-button .ability-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  margin-top: 4px;
  border-radius: 8px;
  font-size: 0;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(122, 215, 255, 0.35));
}

.ability-icon::before,
.ability-icon::after {
  content: "";
  position: absolute;
  inset: 0;
}

.ability-icon--collect::before {
  inset: 4px;
  clip-path: polygon(50% 0, 66% 34%, 100% 50%, 66% 66%, 50% 100%, 34% 66%, 0 50%, 34% 34%);
  background: linear-gradient(135deg, var(--hud-gold), #fff8bd 48%, var(--hud-cyan));
}

.ability-icon--attack::before,
.ability-icon--attack::after {
  left: 15px;
  top: 2px;
  width: 5px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f4f7ff, #7ad7ff 54%, #1e3152);
  transform: rotate(42deg);
}

.ability-icon--attack::after {
  transform: rotate(-42deg);
}

.ability-icon--magic::before {
  inset: 3px;
  border: 2px solid var(--hud-cyan);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 32%, rgba(122, 215, 255, 0.42) 34% 40%, transparent 42%),
    conic-gradient(from 0deg, transparent, rgba(184, 140, 255, 0.72), transparent, rgba(122, 215, 255, 0.72), transparent);
}

.ability-icon--magic::after {
  inset: 11px;
  clip-path: polygon(50% 0, 100% 86%, 0 86%);
  background: var(--hud-cyan);
}

.ability-icon--super::before {
  inset: 2px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fffaf0 0 10%, var(--hud-gold) 11% 24%, transparent 25%),
    conic-gradient(var(--hud-gold), var(--hud-violet), var(--hud-ruby), var(--hud-gold));
}

.ability-icon--super::after {
  inset: 8px;
  border: 2px solid rgba(5, 8, 15, 0.88);
  border-radius: 50%;
}

.ability-icon--solve::before {
  inset: 5px;
  border: 2px solid var(--hud-gold);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--hud-gold) 0 12%, transparent 14%);
}

.ability-icon--solve::after {
  left: 15px;
  top: 19px;
  width: 4px;
  height: 7px;
  border-radius: 4px;
  background: var(--hud-gold);
}

.ability-icon--gear::before {
  inset: 4px;
  clip-path: polygon(50% 0, 62% 18%, 84% 16%, 83% 40%, 100% 50%, 83% 60%, 84% 84%, 62% 82%, 50% 100%, 38% 82%, 16% 84%, 17% 60%, 0 50%, 17% 40%, 16% 16%, 38% 18%);
  background: linear-gradient(135deg, #dce8ff, #7ad7ff 52%, #3d5b8f);
}

.ability-icon--gear::after {
  inset: 12px;
  border-radius: 50%;
  background: #07101d;
}

.ability-icon--market::before,
.ability-icon--shop::before {
  inset: 7px 6px 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hud-gold), #fff2a8 52%, #b6782c);
  box-shadow: 0 8px 0 rgba(247, 215, 103, 0.42);
}

.ability-icon--market::after {
  inset: 6px 12px 17px;
  border-top: 3px solid rgba(5, 8, 15, 0.54);
  border-bottom: 3px solid rgba(5, 8, 15, 0.54);
}

.ability-icon--world::before {
  inset: 3px;
  border: 3px solid var(--hud-cyan);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 44%, rgba(122, 215, 255, 0.55) 46% 54%, transparent 56%),
    linear-gradient(0deg, transparent 44%, rgba(122, 215, 255, 0.55) 46% 54%, transparent 56%);
}

.ability-icon--world::after {
  inset: 13px;
  border-radius: 50%;
  background: var(--hud-gold);
}

.ability-icon--stable::before {
  inset: 5px;
  clip-path: polygon(50% 0, 76% 22%, 84% 56%, 64% 100%, 50% 74%, 36% 100%, 16% 56%, 24% 22%);
  background: linear-gradient(180deg, #fffaf0, #b88cff 58%, #5c4aa8);
}

.ability-icon--stable::after {
  left: 13px;
  top: 0;
  width: 8px;
  height: 18px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--hud-gold);
}

.ability-icon--maps::before {
  inset: 7px 4px 6px;
  clip-path: polygon(0 8%, 32% 0, 68% 8%, 100% 0, 100% 92%, 68% 100%, 32% 92%, 0 100%);
  background:
    linear-gradient(90deg, transparent 31%, rgba(5, 8, 15, 0.48) 32% 35%, transparent 36% 65%, rgba(5, 8, 15, 0.48) 66% 69%, transparent 70%),
    linear-gradient(135deg, #7ad7ff, #f7d767);
}

.ability-icon--chat::before {
  inset: 7px 4px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #dff8ff, #7ad7ff);
}

.ability-icon--chat::after {
  left: 9px;
  bottom: 5px;
  width: 10px;
  height: 10px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: #7ad7ff;
}

.ability-icon--settings::before {
  inset: 5px;
  border: 3px solid var(--hud-cyan);
  border-radius: 50%;
  background: radial-gradient(circle, var(--hud-cyan) 0 18%, transparent 20%);
}

.ability-icon--settings::after {
  left: 15px;
  top: 1px;
  width: 4px;
  height: 32px;
  border-radius: 4px;
  background: var(--hud-cyan);
  box-shadow: 0 0 0 0 var(--hud-cyan);
  transform: rotate(45deg);
}

.ability-icon--shop::after {
  inset: 7px;
  clip-path: polygon(50% 0, 100% 38%, 80% 100%, 20% 100%, 0 38%);
  background: linear-gradient(135deg, #fffaf0, var(--hud-emerald) 54%, #167a64);
}

.ability-button--super span {
  color: var(--hud-gold);
}

.ability-button--super {
  background:
    radial-gradient(circle at 50% 24%, rgba(247, 215, 103, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(80, 54, 151, 0.98), rgba(9, 8, 24, 0.98));
}

.ability-button--shop {
  color: var(--hud-text);
  background:
    radial-gradient(circle at 50% 24%, rgba(95, 224, 164, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(42, 92, 75, 0.94), rgba(7, 14, 17, 0.98));
}

.toast {
  border: 1px solid rgba(247, 215, 103, 0.24);
  color: var(--hud-text);
  background: linear-gradient(180deg, rgba(16, 23, 38, 0.94), rgba(5, 8, 15, 0.9));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(247, 215, 103, 0.12);
}

.shop-item,
.gear-item,
.gear-loadout-card,
.setting-row,
.admin-status,
.admin-command,
.hint-summary,
.hint-card,
.solution-purchase,
.stable-hero,
.race-card {
  border: 1px solid rgba(122, 215, 255, 0.18);
  color: var(--hud-text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 28%),
    rgba(8, 13, 24, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.shop-item p,
.gear-item p,
.hint-card p,
.solution-purchase p,
.setting-row em,
.admin-status span,
.admin-command span,
.hint-summary span {
  color: var(--hud-muted);
}

.gear-dialog {
  color: #f8fbff;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.98), rgba(5, 8, 15, 0.98));
  border: 1px solid rgba(122, 215, 255, 0.22);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 42px rgba(122, 215, 255, 0.1);
}

.gear-dialog form {
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(15, 25, 42, 0.96), rgba(5, 8, 15, 0.96));
}

.gear-dialog .dialog-head {
  border-bottom-color: rgba(122, 215, 255, 0.18);
}

.gear-dialog .dialog-head strong,
.gear-dialog .gear-section-title {
  color: #fff2a8;
  text-shadow: 0 0 18px rgba(247, 215, 103, 0.26);
}

.gear-dialog .slot-card,
.gear-dialog .combo-panel,
.gear-dialog .gear-item,
.gear-dialog .gear-loadout-card {
  border-color: rgba(122, 215, 255, 0.22);
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 28%),
    rgba(8, 13, 24, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.2);
}

.gear-dialog .slot-card strong,
.gear-dialog .combo-panel strong,
.gear-dialog .gear-item strong {
  color: #fffaf0;
  text-shadow: 0 0 12px rgba(255, 250, 240, 0.14);
}

.gear-dialog .slot-card span,
.gear-dialog .slot-card em,
.gear-dialog .combo-panel span,
.gear-dialog .gear-item span,
.gear-dialog .gear-item p {
  color: #c9d8f7;
}

.gear-dialog .gear-tab:not(.is-active) {
  color: #eaf4ff;
  background: rgba(15, 25, 42, 0.94);
}

.gear-dialog .gear-tab.is-active,
.gear-dialog .gear-item button:not(:disabled) {
  color: #07121f;
  background: linear-gradient(180deg, #fff7b6, #f7d767);
  box-shadow: 0 0 18px rgba(247, 215, 103, 0.16);
}

.gear-dialog .gear-item button:disabled {
  color: #d8e5ff;
  background: rgba(36, 48, 68, 0.74);
}

.gear-dialog .gear-item.is-equipped {
  border-color: rgba(95, 224, 164, 0.58);
  background:
    linear-gradient(135deg, rgba(95, 224, 164, 0.2), transparent 38%),
    rgba(9, 31, 27, 0.9);
}

.gear-dialog .gear-item.is-locked {
  opacity: 0.78;
}

.gear-dialog .gear-unequip {
  color: #fffaf0;
  background: rgba(5, 8, 15, 0.78);
}

body.hud-cinematic .roster-panel,
body.hud-cinematic .chat-panel,
body.hud-cinematic .zoom-panel,
body.hud-cinematic .minimap-panel {
  opacity: 0.3;
  transition: opacity 160ms ease;
}

body.hud-cinematic .roster-panel:hover,
body.hud-cinematic .chat-panel:hover,
body.hud-cinematic .zoom-panel:hover,
body.hud-cinematic .minimap-panel:hover {
  opacity: 1;
}

@keyframes hudSheen {
  0% { transform: translateX(-110%); }
  46%, 100% { transform: translateX(110%); }
}

@keyframes cooldownSweep {
  from { transform: rotate(0deg); opacity: 0.92; }
  to { transform: rotate(360deg); opacity: 0; }
}

@keyframes combatRise {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dangerPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 95, 115, 0.16); }
  50% { box-shadow: 0 0 28px rgba(255, 95, 115, 0.42); }
}

.stable-list {
  display: grid;
  gap: 12px;
  max-height: min(60vh, 580px);
  overflow: auto;
  padding-right: 4px;
}

.stable-hero,
.race-result,
.race-card {
  border: 2px solid rgba(36, 48, 68, 0.1);
  border-radius: 8px;
  background: #fff;
}

.stable-hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(135deg, #fffaf0, #e8f8ff 52%, #f5ebff);
}

.stable-unicorn-preview {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: #6654c8;
  background: #fff;
  box-shadow: inset 0 -10px 0 rgba(214, 108, 255, 0.18);
  font-size: 2.4rem;
  font-weight: 950;
}

.stable-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.stable-copy strong {
  font-size: 1.25rem;
}

.stable-copy span,
.stable-copy small,
.race-result span,
.race-card span {
  color: rgba(36, 48, 68, 0.68);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
}

.stable-xp {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 48, 68, 0.14);
}

.stable-xp i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d66cff, #f7b938);
}

.stable-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.stable-actions button,
.race-card button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 8px;
  color: #fff;
  background: #6654c8;
  font-weight: 950;
}

.stable-actions button {
  display: grid;
  gap: 2px;
}

.stable-actions span {
  font-size: 0.7rem;
  opacity: 0.86;
}

.race-result,
.race-card {
  padding: 12px;
}

.race-result {
  display: grid;
  gap: 5px;
  background: #fff7cf;
}

.race-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
  align-items: center;
}

.race-card p {
  margin: 5px 0;
  color: rgba(36, 48, 68, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.race-card.is-locked {
  opacity: 0.68;
}

.race-card.is-locked button {
  background: #7a8798;
}

.codex-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: min(60vh, 620px);
  overflow: auto;
  padding-right: 4px;
}

.codex-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  min-height: 180px;
  padding: 12px;
  border: 2px solid rgba(36, 48, 68, 0.08);
  border-radius: 8px;
  background: #fff;
}

.codex-card canvas {
  width: 92px;
  height: 112px;
  border-radius: 8px;
  background: linear-gradient(180deg, #eafaff, #fffaf0);
}

.codex-card strong {
  display: block;
  font-size: 1.08rem;
}

.codex-card span {
  display: block;
  margin-top: 2px;
  color: var(--plum);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.codex-card p {
  margin: 6px 0 0;
  color: rgba(36, 48, 68, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.codex-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.codex-meta i {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid rgba(102, 84, 200, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.86);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  padding: 0 8px;
}

.codex-card .codex-statline {
  font-size: 0.76rem;
  line-height: 1.32;
}

.codex-section-title {
  grid-column: 1 / -1;
  margin-top: 6px;
  color: var(--hud-gold, #f7d767);
  font-family: Georgia, serif;
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: 0;
}

.codex-card--creature canvas {
  background:
    radial-gradient(circle at 50% 38%, rgba(247, 215, 103, 0.13), transparent 42%),
    radial-gradient(circle at 50% 62%, rgba(122, 215, 255, 0.22), rgba(5, 8, 15, 0.92));
}

.checkout-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: auto;
  padding: 24px;
  background:
    linear-gradient(180deg, #98e4ff, #92d869),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 38px);
}

.checkout-card {
  width: min(620px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 3px solid rgba(36, 48, 68, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 22px 70px var(--shadow);
  text-align: center;
}

.checkout-card h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

.checkout-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--plum);
  font-weight: 950;
  text-decoration: none;
}

/* Senior UI director polish: remove prototype tells and unify the whole shell. */
.screen {
  background:
    radial-gradient(circle at 50% 42%, rgba(122, 215, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 14% 16%, rgba(184, 140, 255, 0.18), transparent 18rem),
    linear-gradient(180deg, #08111f 0%, #121a2c 54%, #0a101b 100%);
}

.login-card {
  border: 1px solid rgba(122, 215, 255, 0.34);
  color: var(--hud-text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(16, 23, 38, 0.94), rgba(5, 8, 15, 0.94));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 50px rgba(122, 215, 255, 0.12);
}

.login-card::before,
.login-card::after {
  display: none;
}

h1 {
  color: var(--hud-text);
  text-shadow:
    0 0 24px rgba(122, 215, 255, 0.3),
    0 3px 0 rgba(5, 8, 15, 0.84);
}

.subtitle,
.server-hint,
.field span {
  color: var(--hud-muted);
}

.avatar-choice,
.secondary-button,
.swatch {
  border: 1px solid rgba(122, 215, 255, 0.22);
  color: var(--hud-text);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(180deg, color-mix(in srgb, var(--swatch) 96%, white 10%), color-mix(in srgb, var(--swatch) 88%, black 10%));
  box-shadow:
    0 0 18px color-mix(in srgb, var(--swatch) 46%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.avatar-choice.is-selected,
.swatch.is-selected {
  border-color: rgba(247, 215, 103, 0.7);
  box-shadow:
    0 0 20px rgba(247, 215, 103, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.topbar {
  min-height: 42px;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.86), rgba(16, 23, 38, 0.64), rgba(5, 8, 15, 0.86));
}

.build-pill {
  min-height: 24px;
  padding: 0 8px;
  border-color: rgba(247, 215, 103, 0.18);
  color: rgba(247, 215, 103, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.zoom-panel {
  opacity: 0.84;
}

.zoom-panel:hover {
  opacity: 1;
}

.world-map-card {
  background:
    radial-gradient(circle at 50% 8%, rgba(122, 215, 255, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(16, 23, 38, 0.96), rgba(5, 8, 15, 0.96));
}

#worldMapCanvas {
  border-color: rgba(122, 215, 255, 0.28);
  background: #07101d;
  box-shadow:
    inset 0 0 34px rgba(0, 0, 0, 0.58),
    0 0 30px rgba(122, 215, 255, 0.12);
}

.world-map-card .shop-note {
  color: #c9d8f7;
}

.world-map-details {
  border: 1px solid rgba(122, 215, 255, 0.2);
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 32%),
    rgba(8, 13, 24, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.world-map-details strong {
  color: #fff2a8;
  text-shadow: 0 0 16px rgba(247, 215, 103, 0.22);
}

.world-map-details span {
  color: #d8e5ff;
}

/* v38 main menu: premium character-select stage with live sprite previews. */
.screen {
  overflow: auto;
  place-items: center;
}

.screen::before,
.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.screen::before {
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.86), rgba(5, 8, 15, 0.28), rgba(5, 8, 15, 0.82)),
    radial-gradient(circle at 52% 42%, rgba(255, 224, 117, 0.18), transparent 18rem),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat;
  filter: saturate(1.28) contrast(1.04);
  opacity: 0.72;
}

.screen::after {
  background:
    radial-gradient(circle at 50% 44%, transparent 0 24rem, rgba(5, 8, 15, 0.48) 39rem),
    linear-gradient(180deg, rgba(8, 17, 31, 0.28), rgba(8, 17, 31, 0.78));
}

.screen > * {
  position: relative;
  z-index: 1;
}

.login-card {
  width: min(1360px, calc(100vw - 34px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: clamp(18px, 2.4vw, 28px);
  border-color: rgba(122, 215, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 26%),
    radial-gradient(circle at 15% 18%, rgba(247, 215, 103, 0.16), transparent 18rem),
    radial-gradient(circle at 84% 22%, rgba(122, 215, 255, 0.18), transparent 20rem),
    linear-gradient(180deg, rgba(12, 18, 33, 0.92), rgba(5, 8, 15, 0.94));
  text-align: left;
}

.menu-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.login-card h1 {
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
}

.profile-form {
  width: 100%;
  justify-items: stretch;
  gap: 14px;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  margin-top: 4px;
}

.menu-showcase,
.menu-panel {
  border: 1px solid rgba(122, 215, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(6, 10, 19, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 48px rgba(0, 0, 0, 0.26);
}

.menu-showcase {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  min-height: 560px;
  overflow: hidden;
}

.menu-hero-stage {
  position: relative;
  min-height: 318px;
  display: grid;
  place-items: end center;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 242, 168, 0.24), transparent 8rem),
    radial-gradient(circle at 50% 68%, rgba(122, 215, 255, 0.18), transparent 11rem),
    linear-gradient(180deg, rgba(34, 63, 74, 0.4), rgba(7, 12, 23, 0.7));
}

.menu-hero-stage::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 26px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(122, 215, 255, 0.32), rgba(5, 8, 15, 0.02) 68%);
}

#menuHeroCanvas {
  position: relative;
  z-index: 1;
  width: min(300px, 96%);
  height: auto;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.38));
}

.menu-hero-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: #f8fbff;
}

.menu-hero-copy strong {
  color: #fff2a8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  line-height: 1.05;
  text-shadow: 0 0 20px rgba(247, 215, 103, 0.22);
}

.menu-hero-copy span,
.menu-hero-copy p {
  margin: 0;
  color: #d8e5ff;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
}

.menu-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 0;
}

.menu-hero-stats div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  background: rgba(9, 16, 29, 0.72);
}

.menu-hero-stats dt,
.chooser-head span {
  color: rgba(216, 229, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-hero-stats dd {
  margin: 2px 0 0;
  color: #fffaf0;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
}

.menu-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.menu-panel .save-panel {
  width: 100%;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%),
    rgba(5, 8, 15, 0.42);
}

.menu-panel .field {
  width: 100%;
}

.chooser-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #fffaf0;
}

.chooser-head strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
}

.chooser {
  display: grid;
  grid-template-columns: repeat(7, minmax(82px, 1fr));
  gap: 9px;
  max-height: none;
  overflow: visible;
  padding: 2px 2px 4px;
}

.avatar-choice {
  --swatch: #ff2f9f;
  display: grid;
  grid-template-rows: 64px auto auto;
  justify-items: center;
  align-content: start;
  min-width: 0;
  min-height: 112px;
  padding: 7px 5px;
  border-radius: 8px;
  text-align: center;
  color: #fffaf0;
  background:
    radial-gradient(circle at 50% 26%, color-mix(in srgb, var(--swatch) 30%, white 10%), transparent 48%),
    linear-gradient(180deg, rgba(20, 33, 55, 0.92), rgba(5, 8, 15, 0.92));
}

.avatar-choice:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 215, 255, 0.48);
}

.avatar-choice.is-selected {
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--swatch) 52%, white 10%), transparent 50%),
    linear-gradient(180deg, rgba(32, 46, 76, 0.95), rgba(7, 12, 23, 0.95));
}

.avatar-choice-preview {
  width: 72px;
  height: 66px;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.34));
}

.avatar-choice-name {
  max-width: 100%;
  overflow: visible;
  color: #fff2a8;
  font-size: clamp(0.58rem, 0.74vw, 0.68rem);
  font-weight: 950;
  text-overflow: clip;
  white-space: nowrap;
}

.avatar-choice-role {
  max-width: 100%;
  overflow: visible;
  color: #c9d8f7;
  font-size: clamp(0.5rem, 0.64vw, 0.58rem);
  font-weight: 850;
  text-overflow: clip;
  white-space: nowrap;
}

.swatches {
  justify-content: flex-start;
}

.menu-actions {
  justify-content: flex-start;
}

@media (max-width: 1020px) {
  .login-card {
    max-height: calc(100vh - 20px);
  }

  .menu-layout {
    grid-template-columns: 1fr;
  }

  .menu-showcase {
    grid-template-columns: minmax(220px, 300px) 1fr;
    grid-template-rows: 1fr;
    min-height: 0;
  }

  .menu-hero-stage {
    min-height: 280px;
  }

  .chooser {
    grid-template-columns: repeat(3, minmax(116px, 1fr));
    max-height: none;
  }
}

@media (max-width: 720px) {
  .screen {
    padding: 10px;
    align-items: start;
  }

  .login-card {
    width: 100%;
    max-height: none;
    padding: 14px;
  }

  .login-card h1 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .menu-showcase {
    grid-template-columns: 1fr;
  }

  .menu-hero-stage {
    min-height: 250px;
  }

  #menuHeroCanvas {
    width: min(240px, 92%);
  }

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

  .chooser {
    grid-template-columns: repeat(2, minmax(118px, 1fr));
  }

  .avatar-choice {
    min-height: 124px;
    grid-template-rows: 72px auto auto;
  }

  .avatar-choice-preview {
    width: 78px;
    height: 74px;
  }

  .menu-actions,
  .swatches {
    justify-content: center;
  }
}

.shop-item.is-owned,
.gear-item.is-equipped,
.race-result,
.hint-notice {
  border-color: rgba(95, 224, 164, 0.32);
  color: var(--hud-text);
  background:
    linear-gradient(135deg, rgba(95, 224, 164, 0.1), transparent 34%),
    rgba(8, 20, 22, 0.82);
}

.stable-hero {
  background:
    radial-gradient(circle at 13% 30%, rgba(255, 250, 240, 0.14), transparent 6rem),
    linear-gradient(135deg, rgba(184, 140, 255, 0.16), rgba(8, 13, 24, 0.86));
}

.race-card.is-locked,
.gear-item.is-locked {
  opacity: 0.54;
  filter: saturate(0.7);
}

.dialog-head .icon-button,
.icon-button {
  border: 1px solid rgba(122, 215, 255, 0.2);
  color: var(--hud-text);
  background: rgba(5, 8, 15, 0.72);
}

.dialog-head .icon-button:hover,
.icon-button:hover {
  border-color: rgba(247, 215, 103, 0.48);
  box-shadow: 0 0 18px rgba(247, 215, 103, 0.14);
}

.stable-hero,
.race-result,
.race-card,
.codex-card {
  border: 1px solid rgba(122, 215, 255, 0.18);
  color: var(--hud-text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 30%),
    rgba(8, 13, 24, 0.78);
}

.stable-copy span,
.stable-copy small,
.race-result span,
.race-card span,
.race-card p,
.codex-card p {
  color: var(--hud-muted);
}

.codex-meta i {
  border-color: rgba(122, 215, 255, 0.18);
  color: var(--hud-text);
  background: rgba(122, 215, 255, 0.09);
}

.codex-card canvas,
.stable-unicorn-preview {
  border: 1px solid rgba(122, 215, 255, 0.2);
  background: radial-gradient(circle at 50% 34%, rgba(122, 215, 255, 0.22), rgba(5, 8, 15, 0.92));
}

@media (max-width: 980px) {
  .roster-panel {
    display: none;
  }

  .minimap-panel {
    top: 74px;
    right: 14px;
    width: 210px;
  }

  .chat-panel {
    right: 14px;
    width: min(300px, calc(100vw - 28px));
  }

  .quest-panel {
    right: 14px;
    left: auto;
    width: min(420px, calc(100vw - 270px));
    transform: none;
  }

  .zoom-panel {
    left: 14px;
    width: min(300px, calc(100vw - 360px));
    transform: none;
  }
}

/* v70 polish: remove older dark splash cast and strengthen parchment text contrast. */
.splash-screen {
  color: var(--gk-soft-white);
  background:
    linear-gradient(180deg, rgba(255, 244, 216, 0.08), rgba(85, 223, 255, 0.14)),
    #473293;
}

.splash-screen::before {
  background:
    linear-gradient(90deg, rgba(30, 23, 68, 0.5), rgba(30, 23, 68, 0.08) 48%, rgba(30, 23, 68, 0.22)),
    linear-gradient(180deg, rgba(255, 244, 216, 0.2), rgba(106, 76, 255, 0.08)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat;
  filter: saturate(1.26) contrast(1.02) brightness(1.28);
}

.splash-screen::after {
  background:
    linear-gradient(90deg, rgba(30, 23, 68, 0.42), rgba(30, 23, 68, 0.02) 52%, rgba(30, 23, 68, 0.22)),
    linear-gradient(180deg, rgba(255, 244, 216, 0.18), transparent 42%, rgba(106, 76, 255, 0.14));
}

.gear-combo-card em,
.gear-combo-card small,
.gear-combo-card p {
  color: rgba(48, 34, 71, 0.76);
}

.gear-combo-card span:not(.rarity-pill) {
  color: var(--gk-moonlit-violet);
}

.admin-dialog {
  background:
    linear-gradient(135deg, rgba(255, 244, 216, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.9), rgba(82, 55, 168, 0.9) 42%, rgba(56, 32, 110, 0.92));
}

.admin-dialog :is(.admin-status, .admin-command, .admin-overview-panel, .admin-section-list, .admin-record-list, .admin-editor, .admin-hierarchy, .admin-quick-panel, .admin-backlog-panel, .admin-pricing-panel, .admin-map-visualizer, .admin-map-flow) {
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.18), transparent 34%),
    rgba(56, 32, 110, 0.42);
}


/* v70: Glowkin Luminous Fantasy Interface System. */
:root {
  color-scheme: light;
  --gk-moonlit-violet: #6a4cff;
  --gk-deep-violet: #38206e;
  --gk-nightberry: #1e1744;
  --gk-crystal-cyan: #55dfff;
  --gk-glowkin-gold: #ffd86b;
  --gk-pepper-pink: #ff6fae;
  --gk-sprite-green: #76f0a1;
  --gk-lantern-orange: #ffb45e;
  --gk-cloud-cream: #fff4d8;
  --gk-soft-white: #fff9ef;
  --gk-ink-plum: #302247;
  --gk-glass: rgba(255, 249, 239, 0.88);
  --gk-glass-violet: rgba(106, 76, 255, 0.24);
  --gk-panel-line: rgba(106, 76, 255, 0.28);
  --gk-panel-line-hot: rgba(255, 216, 107, 0.64);
  --gk-text: #fff9ef;
  --gk-text-dark: #302247;
  --gk-muted: #735f8e;
  --gk-shadow: rgba(42, 24, 88, 0.24);
  --gk-title-font: "Trebuchet MS", "Baloo 2", "Fredoka", "Nunito", system-ui, sans-serif;
  --gk-header-font: "Trebuchet MS", "Nunito", "Quicksand", system-ui, sans-serif;
  --gk-body-font: "Nunito", "Quicksand", "Atkinson Hyperlegible", "Trebuchet MS", system-ui, sans-serif;
  --ink: var(--gk-ink-plum);
  --paper: var(--gk-soft-white);
  --sky: var(--gk-crystal-cyan);
  --pink: var(--gk-pepper-pink);
  --blue: var(--gk-crystal-cyan);
  --green: var(--gk-sprite-green);
  --gold: var(--gk-glowkin-gold);
  --plum: var(--gk-moonlit-violet);
  --hud-text: var(--gk-soft-white);
  --hud-muted: rgba(255, 244, 216, 0.84);
  --hud-line: rgba(255, 244, 216, 0.3);
  --hud-line-hot: rgba(255, 216, 107, 0.72);
  --hud-glass: rgba(56, 32, 110, 0.74);
  --hud-cyan: var(--gk-crystal-cyan);
  --hud-violet: var(--gk-moonlit-violet);
  --hud-gold: var(--gk-glowkin-gold);
}

body {
  color: var(--gk-text-dark);
  background:
    linear-gradient(180deg, #221850 0%, #49328f 40%, #8ee8ff 100%);
  font-family: var(--gk-body-font);
}

button,
input,
select,
textarea {
  font-family: var(--gk-body-font);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 216, 107, 0.82);
  outline-offset: 3px;
}

.game-shell {
  background:
    linear-gradient(180deg, #8fe9ff 0%, #d7fbff 34%, #a4f4a5 78%, #fff4d8 100%);
}

.screen {
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.4), rgba(181, 243, 255, 0.2)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat;
}

.screen::before {
  opacity: 0.38;
  background:
    linear-gradient(135deg, rgba(255, 244, 216, 0.78), transparent 34%),
    linear-gradient(315deg, rgba(85, 223, 255, 0.34), transparent 42%);
}

.eyebrow,
.brand strong,
.login-card h1,
.splash-copy h1,
.dialog-head strong,
.gear-section-title,
.codex-section-title,
.quest-panel strong,
.battle-panel strong,
.world-map-details strong {
  font-family: var(--gk-title-font);
  letter-spacing: 0;
}

.login-card,
.save-panel,
.menu-hero-card,
.menu-character-panel,
.topbar,
.profile-panel,
.quest-panel,
.roster-panel,
.battle-panel,
.chat-panel,
.zoom-panel,
.minimap-panel,
.world-map-card,
.travel-transition__copy,
.death-overlay__copy {
  border: 1px solid rgba(255, 244, 216, 0.56);
  border-radius: 8px;
  color: var(--gk-text);
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.26), transparent 23%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.78), rgba(56, 32, 110, 0.78) 58%, rgba(30, 23, 68, 0.82));
  box-shadow:
    0 18px 44px rgba(48, 34, 71, 0.24),
    0 0 0 1px rgba(85, 223, 255, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(30, 23, 68, 0.34);
  backdrop-filter: blur(13px) saturate(1.24);
}

.login-card,
.save-panel,
.menu-hero-card,
.menu-character-panel {
  color: var(--gk-text-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 244, 216, 0.9) 52%, rgba(255, 216, 107, 0.32)),
    linear-gradient(180deg, rgba(255, 249, 239, 0.94), rgba(252, 235, 255, 0.9));
  border-color: rgba(106, 76, 255, 0.24);
  box-shadow:
    0 24px 70px rgba(48, 34, 71, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.login-card h1,
.splash-copy h1 {
  color: var(--gk-soft-white);
  text-shadow:
    0 3px 0 rgba(48, 34, 71, 0.22),
    0 0 22px rgba(85, 223, 255, 0.44),
    0 0 34px rgba(255, 111, 174, 0.18);
}

.login-card h1 {
  color: var(--gk-moonlit-violet);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 216, 107, 0.32);
}

.splash-screen {
  background:
    linear-gradient(180deg, rgba(30, 23, 68, 0.08), rgba(255, 244, 216, 0.2)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat;
}

.splash-copy {
  text-shadow: 0 3px 20px rgba(48, 34, 71, 0.32);
}

.splash-tagline,
.screen .shop-note {
  color: rgba(48, 34, 71, 0.86);
}

.primary-button,
.secondary-button,
.mini-button,
.ability-button,
.gear-tab,
.provider-row button,
.stable-actions button,
.admin-open-button,
.shop-item button,
.gear-item button,
.avatar-choice,
.save-slot-card,
.swatch {
  border: 1px solid rgba(255, 244, 216, 0.58);
  border-radius: 8px;
  color: var(--gk-text-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 244, 216, 0.1)),
    linear-gradient(135deg, var(--gk-lantern-orange), var(--gk-glowkin-gold));
  box-shadow:
    0 10px 20px rgba(48, 34, 71, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -2px 0 rgba(139, 87, 25, 0.18);
  font-weight: 950;
  letter-spacing: 0;
}

.secondary-button,
.mini-button,
.gear-tab,
.avatar-choice,
.save-slot-card {
  color: var(--gk-soft-white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, rgba(106, 76, 255, 0.92), rgba(56, 32, 110, 0.9));
  border-color: rgba(85, 223, 255, 0.36);
}

.primary-button:hover,
.secondary-button:hover,
.mini-button:hover,
.ability-button:hover,
.gear-tab:hover,
.provider-row button:hover,
.stable-actions button:hover,
.shop-item button:hover,
.gear-item button:hover,
.avatar-choice:hover,
.save-slot-card:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px rgba(48, 34, 71, 0.22),
    0 0 24px rgba(85, 223, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.primary-button:active,
.secondary-button:active,
.mini-button:active,
.ability-button:active {
  transform: translateY(1px) scale(0.99);
}

.avatar-choice.is-selected,
.save-slot-card.is-selected,
.gear-tab.is-active,
.mini-button.is-active {
  border-color: rgba(255, 216, 107, 0.82);
  color: var(--gk-soft-white);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 216, 107, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(255, 111, 174, 0.9), rgba(106, 76, 255, 0.92));
  box-shadow:
    0 0 0 1px rgba(255, 216, 107, 0.34),
    0 0 28px rgba(255, 216, 107, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.topbar {
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.88), rgba(255, 244, 216, 0.78)),
    linear-gradient(135deg, rgba(85, 223, 255, 0.34), rgba(255, 111, 174, 0.2));
  color: var(--gk-text-dark);
  border-color: rgba(106, 76, 255, 0.2);
}

.brand strong,
.pill,
.online-pill {
  color: var(--gk-text-dark);
  text-shadow: none;
}

.brand-gem {
  background: conic-gradient(from 45deg, var(--gk-crystal-cyan), var(--gk-moonlit-violet), var(--gk-glowkin-gold), var(--gk-pepper-pink), var(--gk-crystal-cyan));
  box-shadow:
    0 0 0 2px rgba(255, 249, 239, 0.72),
    0 0 20px rgba(85, 223, 255, 0.42);
}

.pill,
.online-pill,
.build-pill {
  border-color: rgba(106, 76, 255, 0.2);
  background: rgba(255, 249, 239, 0.82);
}

.profile-card strong,
.quest-panel strong,
.battle-panel strong,
.chat-panel strong,
.minimap-panel strong,
.dialog-head strong {
  color: var(--gk-soft-white);
}

.profile-card span,
.quest-panel span,
.battle-panel span,
.chat-panel span,
.shop-note,
.world-map-details span {
  color: rgba(255, 249, 239, 0.86);
}

.profile-panel {
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.82), rgba(56, 32, 110, 0.78));
}

.profile-card canvas,
.avatar-choice-preview,
.save-slot-avatar,
.codex-card canvas {
  border: 2px solid rgba(255, 216, 107, 0.5);
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 249, 239, 0.86), transparent 24%),
    linear-gradient(135deg, rgba(85, 223, 255, 0.28), rgba(255, 111, 174, 0.18));
  box-shadow: 0 0 18px rgba(85, 223, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.xp-track,
.hp-track,
.mp-track,
.stable-xp {
  height: 16px;
  border: 1px solid rgba(255, 249, 239, 0.46);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(30, 23, 68, 0.32), rgba(30, 23, 68, 0.18)),
    rgba(255, 249, 239, 0.3);
  box-shadow: inset 0 1px 3px rgba(30, 23, 68, 0.26);
}

.xp-track b {
  background: linear-gradient(90deg, var(--gk-crystal-cyan), var(--gk-moonlit-violet), var(--gk-glowkin-gold));
  box-shadow: 0 0 18px rgba(85, 223, 255, 0.38);
}

.hp-track b {
  background: linear-gradient(90deg, #ff8098, var(--gk-pepper-pink), var(--gk-lantern-orange));
  box-shadow: 0 0 18px rgba(255, 111, 174, 0.34);
}

.mp-track b {
  background: linear-gradient(90deg, var(--gk-crystal-cyan), var(--gk-moonlit-violet));
  box-shadow: 0 0 18px rgba(85, 223, 255, 0.34);
}

.stat-grid span,
.equipped-gear-badge,
.objective-meter-chips span,
.buff-icon,
.shop-price {
  border: 1px solid rgba(255, 244, 216, 0.38);
  border-radius: 8px;
  color: var(--gk-soft-white);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.12), transparent),
    rgba(30, 23, 68, 0.36);
}

.equipped-gear-badge.is-empty {
  color: rgba(255, 249, 239, 0.72);
}

.quest-panel {
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.93), rgba(255, 244, 216, 0.88)),
    linear-gradient(135deg, rgba(255, 216, 107, 0.18), rgba(255, 111, 174, 0.12));
  color: var(--gk-text-dark);
  border-color: rgba(255, 216, 107, 0.54);
}

.quest-panel strong,
.quest-panel span,
.quest-panel .shop-note,
.quest-panel .objective-meter-summary span {
  color: var(--gk-text-dark);
  text-shadow: none;
}

.quest-panel .eyebrow,
.objective-meter-summary strong {
  color: var(--gk-moonlit-violet);
}

.objective-meter {
  border-top-color: rgba(106, 76, 255, 0.18);
}

.objective-meter-chips span {
  color: var(--gk-text-dark);
  background: rgba(255, 249, 239, 0.72);
  border-color: rgba(106, 76, 255, 0.18);
}

.objective-meter-chips span.is-done {
  color: #245332;
  background: rgba(118, 240, 161, 0.34);
  border-color: rgba(118, 240, 161, 0.5);
}

.battle-panel {
  border-color: rgba(255, 111, 174, 0.32);
}

.battle-panel.is-danger,
.battle-panel.is-boss,
body.hud-danger .profile-panel {
  border-color: rgba(255, 111, 174, 0.66);
  background:
    linear-gradient(135deg, rgba(255, 111, 174, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.86), rgba(56, 32, 110, 0.86));
  box-shadow:
    0 0 0 1px rgba(255, 244, 216, 0.22),
    0 0 34px rgba(255, 111, 174, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.chat-panel {
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(30, 23, 68, 0.76), rgba(56, 32, 110, 0.72));
}

.chat-message,
.chat-form input,
.chat-form button,
.setting-row,
.hint-card,
.hint-summary,
.solution-purchase,
.shop-item,
.gear-item,
.gear-loadout-card,
.gear-combo-card,
.codex-card,
.stable-hero,
.save-slot-row {
  border: 1px solid rgba(106, 76, 255, 0.18);
  border-radius: 8px;
  color: var(--gk-text-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 36%),
    rgba(255, 249, 239, 0.9);
  box-shadow:
    0 10px 24px rgba(48, 34, 71, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.chat-message strong,
.shop-item strong,
.gear-item strong,
.codex-card strong,
.stable-copy strong,
.save-slot-card strong,
.setting-row strong,
.hint-summary strong,
.hint-card strong,
.solution-purchase strong {
  color: var(--gk-ink-plum);
}

.chat-message span,
.shop-item p,
.gear-item span,
.gear-item p,
.codex-card span,
.codex-card p,
.stable-copy span,
.stable-copy small,
.setting-row em,
.hint-card p,
.solution-purchase p,
.save-slot-card span,
.save-slot-card small {
  color: rgba(48, 34, 71, 0.72);
}

.chat-form input,
.field input,
.settings-list input,
.setting-select,
.grownup-gate input,
.admin-dialog input,
.admin-dialog select,
.admin-dialog textarea {
  border: 1px solid rgba(106, 76, 255, 0.22);
  border-radius: 8px;
  color: var(--gk-text-dark);
  background: rgba(255, 249, 239, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.ability-bar {
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 244, 216, 0.46);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.18), transparent 32%),
    rgba(56, 32, 110, 0.56);
  box-shadow:
    0 18px 42px rgba(48, 34, 71, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.ability-button {
  min-width: 86px;
  color: var(--gk-ink-plum);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 244, 216, 0.18)),
    linear-gradient(135deg, var(--gk-lantern-orange), var(--gk-glowkin-gold));
}

.ability-button::before {
  border-color: rgba(255, 249, 239, 0.62);
}

.ability-button.is-ready,
.ability-button.has-target {
  border-color: rgba(85, 223, 255, 0.74);
  box-shadow:
    0 0 0 1px rgba(255, 249, 239, 0.38),
    0 0 24px rgba(85, 223, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.ability-button--super {
  color: var(--gk-soft-white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(135deg, var(--gk-pepper-pink), var(--gk-moonlit-violet), var(--gk-crystal-cyan));
}

.ability-button--shop {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 244, 216, 0.16)),
    linear-gradient(135deg, var(--gk-sprite-green), var(--gk-glowkin-gold));
}

.minimap-panel {
  border-color: rgba(85, 223, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(85, 223, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.74), rgba(30, 23, 68, 0.78));
}

#minimap {
  border: 3px solid rgba(255, 244, 216, 0.76);
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(85, 223, 255, 0.16),
    0 0 32px rgba(85, 223, 255, 0.32),
    inset 0 0 28px rgba(255, 249, 239, 0.16);
}

.world-map-overlay {
  background:
    linear-gradient(180deg, rgba(30, 23, 68, 0.22), rgba(30, 23, 68, 0.38));
  backdrop-filter: blur(4px);
}

.world-map-card,
.gear-dialog form,
.shop-dialog form,
.settings-dialog form,
.hint-dialog form,
.stable-dialog form {
  color: var(--gk-text-dark);
  border-color: rgba(106, 76, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), transparent 32%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(255, 244, 216, 0.93));
  box-shadow:
    0 28px 90px rgba(48, 34, 71, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.dialog-head {
  border-bottom-color: rgba(106, 76, 255, 0.16);
}

.dialog-head strong,
.gear-dialog .dialog-head strong,
.gear-dialog .gear-section-title {
  color: var(--gk-moonlit-violet);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 18px rgba(255, 216, 107, 0.24);
}

.dialog-head .icon-button,
.icon-button {
  color: var(--gk-soft-white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, var(--gk-moonlit-violet), var(--gk-deep-violet));
  border: 1px solid rgba(255, 244, 216, 0.42);
}

.shop-note,
.gear-dialog .slot-card span,
.gear-dialog .slot-card em,
.gear-dialog .combo-panel span,
.gear-dialog .gear-item span,
.gear-dialog .gear-item p {
  color: rgba(48, 34, 71, 0.72);
}

.gear-dialog .slot-card,
.gear-dialog .combo-panel,
.gear-dialog .gear-item,
.gear-dialog .gear-loadout-card,
.gear-power-dashboard > *,
.gear-stat-matrix span,
.gear-combo-card,
.shop-preview-card,
.grownup-gate,
.admin-pricing-card,
.admin-backlog-card {
  color: var(--gk-text-dark);
  border-color: rgba(106, 76, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 34%),
    rgba(255, 249, 239, 0.9);
}

.gear-dialog .slot-card strong,
.gear-dialog .combo-panel strong,
.gear-dialog .gear-item strong,
.gear-power-orb strong,
.gear-stat-matrix b,
.gear-combo-card span,
.shop-preview-card strong,
.grownup-gate p {
  color: var(--gk-ink-plum);
}

.gear-item.is-equipped,
.gear-dialog .gear-item.is-equipped,
.gear-combo-card.is-active,
.grownup-gate.is-verified {
  border-color: rgba(118, 240, 161, 0.52);
  background:
    linear-gradient(135deg, rgba(118, 240, 161, 0.22), rgba(255, 249, 239, 0.9));
}

.gear-item.is-locked,
.gear-dialog .gear-item.is-locked,
.shop-item.is-owned {
  opacity: 0.72;
  filter: saturate(0.86);
}

.shop-price {
  color: var(--gk-ink-plum);
  background:
    linear-gradient(135deg, var(--gk-glowkin-gold), var(--gk-cloud-cream));
}

.provider-row button:nth-child(n) {
  color: var(--gk-ink-plum);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent),
    linear-gradient(135deg, var(--gk-crystal-cyan), var(--gk-cloud-cream));
}

.toast {
  border: 1px solid rgba(255, 244, 216, 0.58);
  border-radius: 8px;
  color: var(--gk-soft-white);
  background:
    linear-gradient(135deg, rgba(255, 216, 107, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.9), rgba(56, 32, 110, 0.9));
  box-shadow:
    0 18px 48px rgba(48, 34, 71, 0.34),
    0 0 26px rgba(255, 216, 107, 0.18);
}

.admin-dialog {
  border-color: rgba(255, 244, 216, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 244, 216, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.88), rgba(56, 32, 110, 0.92) 46%, rgba(30, 23, 68, 0.94));
}

.admin-dialog form {
  color: var(--gk-soft-white);
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 244, 216, 0.04), transparent);
}

.admin-dialog .dialog-head strong,
.admin-status--studio strong,
.admin-overview-panel strong,
.admin-backlog-panel strong,
.admin-pricing-head strong,
.admin-pricing-title strong,
.admin-map-editor-head strong,
.admin-map-flow-head strong,
.admin-map-inspector > strong,
.admin-section-list strong,
.admin-record-list strong,
.admin-hierarchy-col strong,
.admin-editor strong {
  color: var(--gk-soft-white);
}

.admin-dialog .shop-note,
.admin-dialog :is(.admin-status, .admin-command, .admin-overview-panel, .admin-section-list, .admin-record-list, .admin-editor, .admin-hierarchy, .admin-quick-panel, .admin-backlog-panel, .admin-pricing-panel, .admin-map-visualizer, .admin-map-flow) {
  border-color: rgba(255, 244, 216, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.13), transparent 32%),
    rgba(56, 32, 110, 0.5);
}

.admin-tabs {
  border-color: rgba(255, 244, 216, 0.24);
  background: rgba(30, 23, 68, 0.74);
}

.admin-tabs button,
.admin-section-list button,
.admin-record-list button,
.admin-hierarchy-col button,
.admin-map-toolbar button,
.admin-terrain-palette button,
.admin-object-palette button,
.admin-map-flow-col button {
  color: var(--gk-soft-white);
  border-color: rgba(255, 244, 216, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.14), transparent),
    rgba(30, 23, 68, 0.42);
}

.admin-tabs button.is-active,
.admin-section-list button.is-active,
.admin-record-list button.is-active,
.admin-hierarchy-col button.is-active,
.admin-map-toolbar button.is-active,
.admin-terrain-palette button.is-active,
.admin-object-palette button.is-active,
.admin-map-flow-col button.is-active {
  color: var(--gk-ink-plum);
  border-color: rgba(255, 216, 107, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 244, 216, 0.18)),
    linear-gradient(135deg, var(--gk-lantern-orange), var(--gk-glowkin-gold));
}

.admin-overview-chips button span,
.admin-terrain-palette b,
.admin-object-palette b {
  color: var(--gk-ink-plum);
  background: var(--gk-glowkin-gold);
}

.admin-dialog :is(.admin-status--studio span, .admin-result, .admin-command span, .admin-overview-panel span, .admin-editor-note, .admin-section-list span, .admin-record-list span, .admin-hierarchy-col span, .admin-map-editor-head span, .admin-map-flow-head span, .admin-map-actions span, .admin-map-inspector > span, .admin-pricing-note, .admin-backlog-panel span) {
  color: rgba(255, 249, 239, 0.82);
}

.admin-dialog :is(input, select, textarea, .admin-record-search, .admin-json-editor, .admin-map-point-grid input) {
  color: var(--gk-ink-plum);
  background: rgba(255, 249, 239, 0.94);
  border-color: rgba(255, 216, 107, 0.34);
}

.admin-json-editor {
  font-size: 0.9rem;
  line-height: 1.54;
}

.admin-map-canvas-wrap {
  border-color: rgba(255, 244, 216, 0.34);
  background: #fff4d8;
}

.admin-map-material-summary,
.admin-map-field,
.admin-map-selected,
.admin-map-stat-grid span {
  background: rgba(255, 249, 239, 0.14);
  border-color: rgba(255, 244, 216, 0.22);
}

.admin-map-stat-grid b,
.admin-map-selected strong,
.admin-map-field span,
.admin-map-material-summary b {
  color: var(--gk-soft-white);
}

.death-overlay,
.travel-transition {
  background:
    linear-gradient(180deg, rgba(106, 76, 255, 0.22), rgba(255, 244, 216, 0.18)),
    rgba(30, 23, 68, 0.28);
  backdrop-filter: blur(5px);
}

.travel-transition__copy,
.death-overlay__copy {
  color: var(--gk-text-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 32%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(255, 244, 216, 0.93));
  border-color: rgba(255, 216, 107, 0.42);
}

.travel-transition__copy strong,
.death-overlay__copy strong {
  color: var(--gk-moonlit-violet);
}

.travel-transition__copy span,
.death-overlay__copy span {
  color: rgba(48, 34, 71, 0.78);
}

@keyframes glowkinReadyPulse {
  0%, 100% { box-shadow: 0 10px 20px rgba(48, 34, 71, 0.18), 0 0 0 rgba(85, 223, 255, 0); }
  50% { box-shadow: 0 12px 24px rgba(48, 34, 71, 0.2), 0 0 22px rgba(85, 223, 255, 0.26); }
}

.ability-button.is-ready,
.quest-panel .hint-button,
.admin-overview-chips button.is-active {
  animation: glowkinReadyPulse 2.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ability-button.is-ready,
  .quest-panel .hint-button,
  .admin-overview-chips button.is-active,
  .splash-character,
  .splash-landmark {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .ability-button {
    min-width: 76px;
  }

  .profile-panel,
  .quest-panel,
  .chat-panel,
  .battle-panel,
  .minimap-panel {
    font-size: 0.92rem;
  }

  .admin-map-toolbar {
    grid-template-columns: none;
  }
}


/* v69: premium Admin Studio redesign. */
.admin-dialog {
  width: min(1760px, calc(100vw - 24px));
  height: min(980px, calc(100vh - 24px));
  border: 1px solid rgba(142, 221, 255, 0.24);
  border-radius: 8px;
  color: #eef7ff;
  background:
    radial-gradient(circle at 18% -8%, rgba(122, 215, 255, 0.16), transparent 34%),
    radial-gradient(circle at 82% 3%, rgba(255, 214, 105, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(7, 12, 24, 0.98), rgba(10, 17, 32, 0.99) 48%, rgba(3, 7, 15, 0.99));
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.64),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.admin-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 12%, rgba(66, 120, 180, 0.24), transparent 36%),
    rgba(2, 4, 9, 0.78);
  backdrop-filter: blur(8px) saturate(1.2);
}

.admin-dialog form {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 16px;
  height: 100%;
  padding: 20px;
  color: #eef7ff;
  background:
    linear-gradient(90deg, rgba(122, 215, 255, 0.08), transparent 18%, transparent 82%, rgba(214, 108, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 28%);
  overflow: hidden;
}

.admin-dialog .dialog-head {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 64px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(142, 221, 255, 0.18);
}

.admin-dialog .dialog-head strong {
  color: #fffaf0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.35rem, 1.4vw, 1.9rem);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 26px rgba(122, 215, 255, 0.22);
}

.admin-dialog .dialog-head .icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eef7ff;
  background: rgba(10, 18, 34, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-dialog .shop-note {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(142, 221, 255, 0.18);
  border-radius: 8px;
  color: #c9dcf3;
  background:
    linear-gradient(135deg, rgba(122, 215, 255, 0.1), transparent 42%),
    rgba(5, 11, 22, 0.68);
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.5;
}

.admin-dialog .admin-list {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  height: 100%;
  padding: 2px 8px 10px 0;
  overflow: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.admin-dialog .admin-list::-webkit-scrollbar,
.admin-dialog .admin-section-list::-webkit-scrollbar,
.admin-dialog .admin-record-list::-webkit-scrollbar,
.admin-dialog .admin-json-editor::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.admin-dialog .admin-list::-webkit-scrollbar-thumb,
.admin-dialog .admin-section-list::-webkit-scrollbar-thumb,
.admin-dialog .admin-record-list::-webkit-scrollbar-thumb,
.admin-dialog .admin-json-editor::-webkit-scrollbar-thumb {
  border: 2px solid rgba(3, 7, 15, 0.92);
  border-radius: 999px;
  background: rgba(122, 215, 255, 0.34);
}

.admin-dialog :is(strong, span, em, p, b, button, label) {
  letter-spacing: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.admin-dialog :is(button, input, select, textarea) {
  font-family: Inter, system-ui, sans-serif;
}

.admin-dialog :is(.admin-status, .admin-command, .admin-overview-panel, .admin-section-list, .admin-record-list, .admin-editor, .admin-hierarchy, .admin-quick-panel, .admin-backlog-panel, .admin-pricing-panel, .admin-map-visualizer, .admin-map-flow) {
  border: 1px solid rgba(142, 221, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(14, 25, 45, 0.88), rgba(5, 10, 21, 0.86));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.admin-status--studio {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 18px 20px;
  border-color: rgba(255, 214, 105, 0.32);
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 214, 105, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(22, 40, 68, 0.94), rgba(6, 12, 24, 0.94));
}

.admin-status--studio strong {
  color: #fff8c8;
  font-size: 1.14rem;
  font-weight: 950;
}

.admin-status--studio span,
.admin-result,
.admin-command span,
.admin-overview-panel span,
.admin-editor-note {
  color: #b9cce3;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.admin-result {
  padding: 12px 14px;
  border: 1px solid rgba(95, 224, 164, 0.28);
  border-radius: 8px;
  color: #d9ffe9;
  background:
    linear-gradient(135deg, rgba(95, 224, 164, 0.14), transparent 44%),
    rgba(4, 25, 20, 0.72);
}

.admin-tabs {
  position: sticky;
  top: 0;
  z-index: 7;
  display: flex;
  gap: 10px;
  min-height: 56px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(142, 221, 255, 0.14);
  border-radius: 8px;
  background: rgba(4, 9, 19, 0.9);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.admin-tabs button {
  min-height: 40px;
  min-width: 112px;
  border: 1px solid rgba(142, 221, 255, 0.18);
  border-radius: 8px;
  padding: 0 16px;
  color: #d8e9ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
    rgba(12, 22, 39, 0.8);
  font-size: 0.84rem;
  font-weight: 950;
}

.admin-tabs button.is-active {
  border-color: rgba(255, 214, 105, 0.72);
  color: #fff8c8;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 105, 0.24), transparent 62%),
    linear-gradient(180deg, rgba(48, 39, 77, 0.96), rgba(12, 19, 34, 0.94));
  box-shadow:
    0 0 0 1px rgba(255, 214, 105, 0.18),
    0 0 28px rgba(255, 214, 105, 0.14);
}

.admin-overview-panel {
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px;
}

.admin-overview-panel strong,
.admin-backlog-panel strong,
.admin-pricing-head strong,
.admin-pricing-title strong,
.admin-map-editor-head strong,
.admin-map-flow-head strong,
.admin-map-inspector > strong {
  color: #fffaf0;
  font-size: 1rem;
  font-weight: 950;
}

.admin-overview-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 10px;
}

.admin-overview-chips button {
  justify-content: space-between;
  min-height: 46px;
  border: 1px solid rgba(142, 221, 255, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  color: #e8f5ff;
  background: rgba(8, 16, 30, 0.74);
  font-weight: 900;
  text-align: left;
}

.admin-overview-chips button span {
  display: inline-flex;
  min-width: 30px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-radius: 999px;
  color: #06101f;
  background: #ffd669;
  font-size: 0.72rem;
}

.admin-overview-chips button.is-active {
  border-color: rgba(255, 214, 105, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 214, 105, 0.15), rgba(122, 215, 255, 0.07)),
    rgba(15, 24, 42, 0.9);
}

.admin-studio-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.58fr) minmax(320px, 0.82fr) minmax(620px, 1.7fr);
  gap: 16px;
  min-height: 620px;
  overflow: visible;
  padding-bottom: 0;
}

.admin-section-list,
.admin-record-list,
.admin-editor {
  min-width: 0;
  max-height: min(68vh, 720px);
}

.admin-section-list,
.admin-record-list {
  gap: 10px;
  padding: 12px;
  overflow: auto;
}

.admin-section-list button,
.admin-record-list button,
.admin-hierarchy-col button,
.admin-map-flow-col button,
.admin-backlog-card {
  min-width: 0;
}

.admin-section-list button,
.admin-record-list button,
.admin-hierarchy-col button {
  min-height: 62px;
  border: 1px solid rgba(142, 221, 255, 0.15);
  border-radius: 8px;
  padding: 12px;
  color: #eaf6ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(8, 16, 30, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-section-list button:hover,
.admin-record-list button:hover,
.admin-hierarchy-col button:hover,
.admin-overview-chips button:hover,
.admin-map-toolbar button:hover,
.admin-terrain-palette button:hover,
.admin-object-palette button:hover {
  border-color: rgba(142, 221, 255, 0.38);
  background-color: rgba(18, 36, 62, 0.9);
}

.admin-section-list button.is-active,
.admin-record-list button.is-active,
.admin-hierarchy-col button.is-active,
.admin-map-flow-col button.is-active {
  border-color: rgba(255, 214, 105, 0.62);
  color: #fff8c8;
  background:
    radial-gradient(circle at 16px 0%, rgba(255, 214, 105, 0.2), transparent 54%),
    rgba(21, 27, 49, 0.96);
}

.admin-section-list strong,
.admin-record-list strong,
.admin-hierarchy-col strong,
.admin-editor strong {
  color: #f8fbff;
  font-size: 0.92rem;
  font-weight: 950;
}

.admin-section-list span,
.admin-record-list span,
.admin-hierarchy-col span,
.admin-editor span,
.admin-map-flow-col button em {
  color: #a9bfd8;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.38;
}

.admin-record-head,
.admin-editor-head {
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(142, 221, 255, 0.12);
}

.admin-record-head {
  position: sticky;
  top: -12px;
  margin: -12px -12px 2px;
  padding: 14px 12px;
  background:
    linear-gradient(180deg, rgba(8, 16, 30, 0.98), rgba(8, 16, 30, 0.92));
}

.admin-record-search,
.admin-json-editor,
.admin-upload-panel input[type="text"],
.admin-upload-panel input[type="file"],
.admin-pricing-control input,
.admin-pricing-control select,
.admin-map-editor-head select,
.admin-map-inspector select,
.admin-map-point-grid input,
.admin-terrain-palette-head select {
  border: 1px solid rgba(142, 221, 255, 0.22);
  border-radius: 8px;
  color: #f8fbff;
  background: rgba(3, 8, 18, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.admin-record-search {
  min-height: 44px;
  padding: 0 12px;
}

.admin-editor {
  grid-template-rows: auto minmax(470px, 1fr) auto auto;
  gap: 14px;
  padding: 16px;
}

.admin-editor--asset {
  grid-template-rows: auto auto minmax(420px, 1fr) auto auto;
}

.admin-json-editor {
  min-height: 470px;
  padding: 16px;
  color: #f2f8ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(1, 5, 12, 0.94);
  font-size: 0.88rem;
  line-height: 1.52;
}

.admin-editor-actions,
.admin-asset-actions,
.admin-pricing-buttons,
.admin-map-actions {
  gap: 10px;
}

.admin-editor-actions button,
.admin-asset-actions button,
.admin-pricing-buttons button,
.admin-map-actions button {
  min-height: 42px;
}

.admin-asset-tools,
.admin-upload-panel,
.admin-pricing-card,
.admin-map-inspector,
.admin-map-field,
.admin-map-selected,
.admin-map-material-summary,
.admin-completeness {
  border-color: rgba(142, 221, 255, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 34%),
    rgba(5, 12, 24, 0.72);
}

.admin-backlog-panel,
.admin-pricing-panel,
.admin-map-visualizer,
.admin-map-flow,
.admin-hierarchy,
.admin-quick-panel {
  gap: 16px;
  padding: 18px;
}

.admin-backlog-grid,
.admin-pricing-grid {
  gap: 14px;
}

.admin-backlog-card {
  gap: 8px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(142, 221, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 36%),
    rgba(8, 16, 30, 0.72);
}

.admin-backlog-card--high {
  border-color: rgba(255, 122, 144, 0.46);
}

.admin-backlog-card em {
  color: #8edbff;
  font-size: 0.75rem;
}

.admin-pricing-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.5fr);
  overflow: visible;
}

.admin-pricing-card {
  padding: 16px;
}

.admin-pricing-card--wide {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.admin-pricing-control {
  color: #8edbff;
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: none;
}

.admin-pricing-control input,
.admin-pricing-control select {
  min-height: 44px;
  padding: 0 12px;
}

.admin-map-visualizer {
  gap: 16px;
  padding: 18px;
}

.admin-map-editor-head,
.admin-map-flow-head {
  align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(142, 221, 255, 0.12);
}

.admin-map-editor-head span,
.admin-map-flow-head span,
.admin-map-actions span,
.admin-map-inspector > span {
  color: #a9bfd8;
  font-size: 0.8rem;
  line-height: 1.42;
}

.admin-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.admin-map-toolbar > button {
  flex: 0 0 auto;
  min-width: 112px;
}

.admin-map-toolbar button,
.admin-terrain-palette button,
.admin-object-palette button,
.admin-map-flow-col button {
  min-height: 42px;
  border-radius: 8px;
  padding: 9px 12px;
  color: #eaf6ff;
  background: rgba(8, 16, 30, 0.74);
}

.admin-map-toolbar button.is-active,
.admin-terrain-palette button.is-active,
.admin-object-palette button.is-active,
.admin-map-flow-col button.is-active {
  border-color: rgba(255, 214, 105, 0.68);
  color: #fff8c8;
  box-shadow:
    0 0 0 1px rgba(255, 214, 105, 0.18),
    0 0 22px rgba(255, 214, 105, 0.12);
}

.admin-map-zoom,
.admin-map-brush-tools,
.admin-map-overlay-tools,
.admin-map-history-tools {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 46px;
  gap: 8px;
  padding: 6px;
  border-color: rgba(142, 221, 255, 0.14);
  background: rgba(3, 8, 18, 0.62);
}

.admin-map-brush-tools label,
.admin-map-zoom strong {
  white-space: nowrap;
}

.admin-terrain-palette,
.admin-object-palette {
  gap: 12px;
  padding: 14px;
}

.admin-terrain-palette-head {
  gap: 18px;
}

.admin-terrain-palette-head strong {
  color: #fff8c8;
  font-size: 0.9rem;
}

.admin-terrain-palette-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.admin-terrain-palette-grid button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  column-gap: 10px;
  min-height: 58px;
}

.admin-terrain-palette-grid button b {
  grid-row: 1 / 3;
}

.admin-terrain-palette-grid button span,
.admin-terrain-palette-grid button em {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.admin-map-stage {
  grid-template-columns: minmax(680px, 1fr) minmax(340px, 390px);
  gap: 16px;
}

.admin-map-canvas-wrap {
  border-color: rgba(142, 221, 255, 0.2);
  border-radius: 8px;
  background: #050b16;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.admin-map-canvas {
  height: min(64vh, 760px);
}

.admin-map-inspector {
  gap: 12px;
  padding: 14px;
}

.admin-map-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-map-stat-grid span,
.admin-map-selected,
.admin-map-field {
  gap: 6px;
  padding: 10px;
  color: #a9bfd8;
  font-size: 0.78rem;
}

.admin-map-stat-grid b,
.admin-map-selected strong,
.admin-map-field span {
  color: #f8fbff;
}

.admin-map-flow-cols {
  grid-template-columns: minmax(220px, 0.74fr) minmax(300px, 1.12fr) minmax(260px, 0.86fr);
  gap: 14px;
}

.admin-map-flow-col {
  gap: 10px;
  padding: 14px;
}

.admin-map-flow-col > strong,
.admin-map-material-summary > strong,
.admin-hierarchy-col > strong {
  color: #fff8c8;
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: none;
}

.admin-world-drop {
  min-height: 136px;
  border-color: rgba(255, 214, 105, 0.44);
  border-radius: 8px;
}

.admin-quick-panel {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.admin-command {
  min-height: 92px;
  padding: 16px;
  color: #eaf6ff;
}

@media (max-width: 1320px) {
  .admin-studio-grid,
  .admin-map-stage,
  .admin-map-flow-cols,
  .admin-pricing-grid,
  .admin-pricing-card--wide {
    grid-template-columns: 1fr;
  }

  .admin-section-list,
  .admin-record-list,
  .admin-editor {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .admin-dialog {
    width: calc(100vw - 10px);
    height: calc(100vh - 10px);
  }

  .admin-dialog form {
    padding: 12px;
    gap: 12px;
  }

  .admin-overview-panel,
  .admin-map-editor-head,
  .admin-map-flow-head,
  .admin-map-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-map-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-map-canvas {
    height: 420px;
  }
}

@media (max-width: 1080px) {
  .ability-bar {
    gap: 7px;
  }

  .ability-button {
    width: 74px;
  }
}

@media (max-width: 820px) {
  .gear-dialog,
  .shop-dialog {
    position: fixed;
    top: 16px;
    left: 12px;
    width: min(358px, calc(100vw - 24px));
    max-width: min(358px, calc(100vw - 24px));
    max-height: calc(100vh - 32px);
    margin: 0;
  }

  .gear-dialog form,
  .shop-dialog form {
    padding: 14px;
  }

  .admin-dialog .settings-list {
    max-height: calc(100vh - 176px);
  }

  .admin-status--studio,
  .admin-studio-grid,
  .admin-hierarchy-cols,
  .admin-quick-panel {
    grid-template-columns: 1fr;
  }

  .admin-section-list,
  .admin-record-list {
    max-height: 210px;
  }

  .admin-editor {
    grid-template-rows: auto minmax(300px, 1fr) auto auto;
  }

  .admin-json-editor {
    min-height: 300px;
  }

  .dialog-head strong {
    font-size: 1.08rem;
  }

  .shop-note {
    font-size: 0.82rem;
  }

  .codex-list {
    grid-template-columns: 1fr;
    max-height: min(68vh, 620px);
  }

  .codex-card {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 124px;
    gap: 8px;
    padding: 10px;
  }

  .codex-card canvas {
    width: 68px;
    height: 84px;
  }

  .codex-card strong {
    font-size: 0.94rem;
  }

  .codex-card p {
    margin-top: 4px;
    font-size: 0.74rem;
  }
}

@media (max-width: 720px) {
  .game-shell {
    min-height: 600px;
  }

  .save-slot-list {
    grid-template-columns: 1fr;
  }

  .save-panel-head {
    display: grid;
  }

  .topbar {
    min-height: 44px;
    left: 10px;
    right: 10px;
    gap: 8px;
    padding: 8px 10px;
  }

  .brand strong {
    display: none;
  }

  .pill {
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .build-pill {
    display: none;
  }

  .profile-panel,
  .battle-panel {
    display: none;
  }

  .minimap-panel {
    top: 58px;
    right: 10px;
    width: 142px;
    padding: 8px;
  }

  .minimap-head span {
    display: none;
  }

  .buff-tray {
    left: 14px;
    bottom: 278px;
    width: min(260px, calc(100vw - 180px));
  }

  .buff-icon {
    width: 32px;
    height: 32px;
  }

  .combat-feed {
    top: 104px;
    width: min(310px, calc(100vw - 184px));
  }

  .chat-panel,
  .zoom-panel {
    display: none;
  }

  .chat-panel.is-mobile-open {
    display: grid;
    left: 14px;
    right: 14px;
    bottom: 158px;
    width: auto;
    z-index: 7;
  }

  .quest-panel {
    left: 14px;
    right: 14px;
    bottom: 154px;
    width: auto;
    max-width: calc(100vw - 28px);
    min-width: 0;
  }

  .quest-panel span {
    font-size: 0.78rem;
  }

  .ability-bar {
    right: 14px;
    left: 14px;
    width: auto;
    bottom: 14px;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    transform: none;
  }

  .ability-button {
    flex: 1 1 62px;
    width: auto !important;
    min-width: 0;
    max-width: 86px;
    min-height: 64px;
  }

  .ability-button span {
    font-size: 1.35rem;
  }

  .ability-button b {
    font-size: 0.62rem;
  }

  .shop-list {
    grid-template-columns: 1fr;
  }

  .stable-hero,
  .race-card {
    grid-template-columns: 1fr;
  }

  .stable-unicorn-preview {
    width: 72px;
    height: 72px;
  }

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

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }
}

@media (min-width: 981px) {
  .ability-bar {
    bottom: 14px;
    width: min(1320px, calc(100vw - 32px));
    gap: 8px;
    padding: 8px;
    z-index: 6;
  }

  .ability-button {
    width: 78px;
    min-height: 68px;
  }

  .ability-button b {
    font-size: 0.7rem;
  }

  .quest-panel {
    bottom: 116px;
    width: min(520px, calc(100vw - 780px));
    z-index: 5;
  }

  .minimap-panel {
    z-index: 7;
  }

  .roster-panel {
    top: 426px;
    z-index: 5;
    max-height: 176px;
    overflow: auto;
  }

  .chat-panel {
    z-index: 6;
  }
}

/* v53 premium launch screen */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: block;
  overflow: hidden;
  min-height: 100dvh;
  color: #fffaf0;
  isolation: isolate;
  background: #07111f;
  transition: opacity 520ms cubic-bezier(.2, .85, .22, 1), transform 520ms cubic-bezier(.2, .85, .22, 1);
}

.splash-screen::before {
  content: "";
  position: absolute;
  inset: -6%;
  background:
    linear-gradient(90deg, rgba(4, 8, 18, 0.98), rgba(4, 8, 18, 0.7) 34%, rgba(4, 8, 18, 0.2) 68%, rgba(4, 8, 18, 0.56)),
    linear-gradient(180deg, rgba(8, 18, 38, 0.16), rgba(5, 8, 18, 0.9)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat;
  filter: saturate(1.24) contrast(1.08);
  transform: scale(1.03);
  animation: splashMapPan 16s ease-in-out infinite alternate;
  z-index: -3;
}

.splash-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 16, 0.9), rgba(3, 7, 16, 0.38) 48%, rgba(3, 7, 16, 0.72)),
    linear-gradient(180deg, rgba(255, 244, 190, 0.08), transparent 38%, rgba(0, 0, 0, 0.36));
  pointer-events: none;
  z-index: -1;
}

.splash-screen.is-hidden {
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

.splash-copy {
  position: absolute;
  z-index: 4;
  top: 51%;
  left: min(7vw, 96px);
  width: min(670px, calc(100vw - 48px));
  text-align: left;
  text-shadow: 0 7px 28px rgba(0, 0, 0, 0.62);
  transform: translateY(-50%);
}

.splash-copy h1 {
  display: grid;
  gap: 2px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
  color: #fff6cb;
}

.splash-copy h1 span {
  font-size: clamp(2.45rem, 4.5vw, 4.35rem);
}

.splash-copy h1 strong {
  font-size: clamp(3.25rem, 7vw, 6.35rem);
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 10%, #fff1a8 42%, #7be8ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.56));
}

.splash-copy p {
  width: min(560px, 100%);
  margin: 18px 0 30px;
  color: #fff8d8;
  font-size: 1.16rem;
  font-weight: 850;
  line-height: 1.46;
}

.splash-copy .eyebrow {
  display: inline-flex;
  width: auto;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid rgba(153, 225, 255, 0.38);
  border-radius: 8px;
  background: rgba(5, 13, 28, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 34px rgba(0, 0, 0, 0.22);
  color: #bff3ff;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.splash-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.splash-actions .primary-button,
.splash-copy .primary-button.splash-play-button {
  position: relative;
  display: inline-grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-width: 292px;
  min-height: 82px;
  padding: 15px 34px 14px;
  border: 1px solid rgba(255, 249, 202, 0.96);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #fff08a, #ff69b4 50%, #6d65ff);
  color: #140820;
  box-shadow:
    0 24px 58px rgba(255, 92, 168, 0.34),
    0 0 0 6px rgba(255, 232, 116, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.58),
    inset 0 -10px 24px rgba(46, 13, 88, 0.28);
  text-shadow: none;
  transform: translateY(0);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.splash-copy .primary-button.splash-play-button span {
  font-size: 1.22rem;
  font-weight: 1000;
  line-height: 1;
}

.splash-copy .primary-button.splash-play-button small {
  color: rgba(20, 8, 32, 0.76);
  font-size: 0.78rem;
  font-weight: 950;
}

.splash-copy .primary-button.splash-play-button:hover {
  filter: brightness(1.08) saturate(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 30px 70px rgba(255, 92, 168, 0.42),
    0 0 0 7px rgba(255, 232, 116, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.64),
    inset 0 -10px 24px rgba(46, 13, 88, 0.22);
}

.splash-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: none;
}

.splash-scene::before {
  content: "";
  position: absolute;
  left: 28%;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 17, 0.74));
}

.splash-character,
.splash-landmark {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.52));
  user-select: none;
}

.splash-landmark--city {
  right: min(23vw, 330px);
  bottom: 18%;
  width: clamp(190px, 22vw, 360px);
  opacity: 0.74;
  transform: rotate(-2deg);
}

.splash-landmark--portal {
  right: min(4vw, 74px);
  bottom: 26%;
  width: clamp(118px, 13vw, 210px);
  opacity: 0.86;
  animation: splashFloat 5.8s ease-in-out infinite alternate;
}

.splash-character--dragon {
  right: min(7vw, 118px);
  bottom: 12%;
  width: clamp(270px, 31vw, 510px);
  animation: splashFloat 6.4s ease-in-out infinite alternate;
}

.splash-character--star {
  right: min(34vw, 545px);
  bottom: 9%;
  width: clamp(205px, 22vw, 340px);
  animation: splashFloat 5.4s ease-in-out infinite alternate-reverse;
}

.splash-character--spider {
  right: min(22vw, 350px);
  bottom: 4%;
  width: clamp(190px, 20vw, 320px);
  animation: splashFloat 6.8s ease-in-out infinite alternate;
}

.splash-character--unicorn {
  right: min(1vw, 22px);
  bottom: 2%;
  width: clamp(170px, 19vw, 310px);
  animation: splashFloat 5.2s ease-in-out infinite alternate-reverse;
}

@keyframes splashMapPan {
  from { transform: scale(1.03) translate3d(-1.2%, 0, 0); }
  to { transform: scale(1.08) translate3d(1.2%, -1%, 0); }
}

@keyframes splashFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -10px, 0); }
}

@media (max-width: 980px) {
  .splash-copy {
    top: 8%;
    left: 24px;
    right: 24px;
    width: auto;
    text-align: center;
    transform: none;
  }

  .splash-copy .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .splash-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .splash-copy h1 span {
    font-size: 3rem;
  }

  .splash-copy h1 strong {
    font-size: 4.1rem;
  }

  .splash-character--dragon {
    right: 10%;
    bottom: 11%;
    width: 320px;
  }

  .splash-character--star {
    left: 6%;
    right: auto;
    bottom: 7%;
    width: 220px;
  }

  .splash-character--spider {
    right: 34%;
    bottom: 1%;
    width: 210px;
  }

  .splash-character--unicorn,
  .splash-landmark--city {
    display: none;
  }
}

@media (max-width: 560px) {
  .splash-copy {
    top: 7%;
  }

  .splash-copy h1 span {
    font-size: 2.2rem;
  }

  .splash-copy h1 strong {
    font-size: 3rem;
  }

  .splash-copy p {
    font-size: 1rem;
  }

  .splash-copy .primary-button.splash-play-button {
    min-width: min(100%, 288px);
  }

  .splash-character--dragon {
    right: 2%;
    bottom: 11%;
    width: 260px;
  }

  .splash-character--star {
    left: -4%;
    bottom: 8%;
    width: 190px;
  }

  .splash-character--spider {
    right: 22%;
    width: 180px;
  }
}

.travel-transition {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  color: #fffaf0;
  background:
    radial-gradient(circle at 50% 38%, rgba(69,183,255,.28), transparent 28%),
    linear-gradient(180deg, rgba(5,8,18,.92), rgba(19,29,56,.96));
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.travel-transition.is-active {
  opacity: 1;
}

.transition-card,
.travel-transition__copy {
  width: min(760px, calc(100vw - 36px));
  text-align: center;
  padding: 42px 34px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15,28,52,.78), rgba(8,12,26,.92));
  box-shadow: 0 26px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.18);
}

.transition-card strong,
.travel-transition__copy strong {
  display: block;
  margin-bottom: 12px;
  font: 900 clamp(2rem, 4vw, 3.4rem)/1 Georgia, "Times New Roman", serif;
}

.transition-card span,
.travel-transition__copy span {
  display: block;
  color: #dff7ff;
  font-size: 1.08rem;
  line-height: 1.55;
}

.transition-rune,
.travel-transition__art {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 22px;
  background: conic-gradient(#ff2f9f, #ffd000, #21e85c, #00c8ff, #7b3cff, #ff2f9f);
  box-shadow: 0 0 34px rgba(69,183,255,.65);
  animation: runeSpin 3.2s linear infinite;
}

.death-overlay {
  position: fixed;
  inset: 0;
  z-index: 72;
  display: grid;
  place-items: center;
  color: #fffaf0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 216, 79, 0.22), transparent 20%),
    radial-gradient(circle at 42% 42%, rgba(214, 108, 255, 0.22), transparent 27%),
    linear-gradient(180deg, rgba(6, 10, 21, 0.84), rgba(8, 15, 31, 0.92));
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.death-overlay.is-active {
  opacity: 1;
}

.death-overlay__copy {
  width: min(620px, calc(100vw - 36px));
  text-align: center;
  padding: 34px 30px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.1), transparent 35%),
    linear-gradient(180deg, rgba(16, 28, 54, 0.86), rgba(7, 12, 25, 0.94));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.death-overlay__copy strong {
  display: block;
  margin-bottom: 10px;
  color: #fff7b6;
  font: 900 clamp(2rem, 4vw, 3.2rem)/1 Georgia, "Times New Roman", serif;
  text-shadow: 0 0 24px rgba(255, 216, 79, 0.28);
}

.death-overlay__copy span {
  display: block;
  color: #dff7ff;
  font-size: 1rem;
  line-height: 1.5;
}

.death-overlay__burst {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    conic-gradient(from 45deg, #ff2f9f, #ffd000, #21e85c, #00c8ff, #7b3cff, #ff2f9f);
  filter: blur(18px);
  opacity: 0.38;
  animation: sparkleReset 1.4s ease-in-out infinite alternate;
}

@keyframes sparkleReset {
  from { transform: scale(0.82) rotate(0deg); opacity: 0.24; }
  to { transform: scale(1.18) rotate(28deg); opacity: 0.42; }
}

.damage-flash {
  position: fixed;
  inset: 0;
  z-index: 28;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 44%, rgba(255,40,74,.34) 76%, rgba(255,40,74,.62)),
    linear-gradient(180deg, rgba(255,40,74,.14), transparent 48%, rgba(255,40,74,.2));
  transition: opacity 220ms ease;
}

.damage-flash.is-active {
  opacity: 1;
  animation: damagePulse 760ms ease-out both;
}

.hud.is-taking-damage .battle-panel,
.hud.is-taking-damage .target-panel,
.hud.is-taking-damage .ability-bar {
  box-shadow: 0 0 0 1px rgba(255,90,112,.65), 0 0 38px rgba(255,55,82,.28);
}

.save-slot-list {
  display: block;
  overflow-x: auto;
  padding-bottom: 4px;
}

.save-slot-table {
  display: grid;
  gap: 6px;
  margin: 12px 0 16px;
  min-width: 840px;
}

.save-slot-row {
  display: grid;
  grid-template-columns: 66px minmax(170px, .95fr) 96px 106px minmax(210px, 1.2fr) 76px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  padding: 9px 12px;
  border-radius: 8px;
}

.save-slot-row--head {
  min-height: 34px;
  color: #9fdcff;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.save-slot-card.save-slot-row {
  border: 1px solid rgba(159,220,255,.24);
  color: #effaff;
  text-align: left;
  background: linear-gradient(145deg, rgba(13,25,45,.72), rgba(8,13,28,.86));
}

.save-slot-card.save-slot-row.is-selected {
  border-color: rgba(255,216,79,.78);
  box-shadow: 0 0 26px rgba(255,216,79,.16);
}

.save-slot-card.save-slot-row .save-slot-index {
  grid-column: auto;
  align-self: center;
}

.save-slot-hero {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
}

.save-slot-hero .save-slot-avatar {
  grid-row: 1 / 3;
}

.save-slot-hero strong,
.save-slot-row strong {
  color: #fffaf0;
  line-height: 1.05;
}

.save-slot-row > span,
.save-slot-hero strong,
.save-slot-hero em,
.save-slot-row strong,
.save-slot-row em {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.save-slot-hero em,
.save-slot-row em {
  display: block;
  color: #b8d6e8;
  font-style: normal;
  font-size: .78rem;
  line-height: 1.1;
}

.gear-dialog,
.admin-dialog {
  width: min(1560px, calc(100vw - 18px));
  height: min(930px, calc(100vh - 18px));
  max-width: none;
  max-height: none;
}

.gear-dialog form,
.admin-dialog form {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

.admin-dialog form {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.gear-list,
.admin-list {
  min-height: 0;
  overflow: auto;
}

.admin-dialog .settings-list.admin-list {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  max-height: none;
  min-height: 0;
  padding: 12px 10px 4px 0;
  overflow: auto;
  scrollbar-gutter: stable;
}

.gear-power-dashboard {
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(360px, 1.45fr) minmax(260px, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.gear-power-dashboard > * {
  border: 1px solid rgba(159,220,255,.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16,31,58,.84), rgba(7,12,27,.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.gear-power-orb {
  display: grid;
  place-items: center;
  padding: 20px;
}

.gear-power-orb strong {
  font-size: 3.6rem;
  line-height: 1;
  color: #ffd84f;
}

.gear-power-orb span,
.gear-power-orb em {
  color: #9fdcff;
  font-style: normal;
  font-weight: 900;
}

.gear-stat-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
}

.gear-stat-matrix span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  color: #fffaf0;
  background: rgba(255,255,255,.06);
}

.gear-stat-matrix b {
  color: #9fdcff;
  font-size: .72rem;
}

.gear-power-dashboard p {
  margin: 0;
  padding: 18px;
  color: #d9edff;
  line-height: 1.45;
}

.gear-loadout {
  grid-template-columns: repeat(5, minmax(160px, 1fr));
}

.gear-combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gear-combo-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(159,220,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.gear-combo-card.is-active {
  border-color: rgba(255,216,79,.72);
  background: linear-gradient(145deg, rgba(255,216,79,.16), rgba(102,84,200,.18));
}

.gear-combo-card span {
  color: #9fdcff;
  font-weight: 900;
}

.gear-combo-card em,
.gear-combo-card small {
  color: #d9edff;
  font-style: normal;
}

.grownup-gate {
  display: grid;
  grid-template-columns: 1.15fr minmax(220px, .8fr) auto minmax(150px, .55fr) auto;
  gap: 10px;
  align-items: end;
  margin: 10px 0 14px;
  padding: 14px;
  border: 1px solid rgba(159,220,255,.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16,31,58,.86), rgba(8,13,28,.92));
}

.grownup-gate p {
  grid-column: 1 / -1;
  margin: 0;
  color: #d9edff;
  line-height: 1.35;
}

.grownup-gate.is-verified {
  border-color: rgba(33,232,92,.55);
  box-shadow: 0 0 28px rgba(33,232,92,.12);
}

.grownup-gate input {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(159,220,255,.32);
  color: #fffaf0;
  background: rgba(5,10,22,.72);
}

.shop-preview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.shop-preview-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(159,220,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.shop-preview-art {
  display: block;
  height: 88px;
  border-radius: 8px;
  background-color: rgba(69,183,255,.1);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.shop-preview-card strong {
  color: #fffaf0;
}

.shop-preview-card em {
  color: #ffd84f;
  font-style: normal;
  font-weight: 900;
}

.hint-gate-note {
  margin: 6px 0;
  color: #d9edff;
}

.admin-backlog-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid rgba(159,220,255,.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16,31,58,.86), rgba(8,13,28,.92));
}

.admin-backlog-panel strong {
  color: #fffaf0;
}

.admin-backlog-panel span {
  color: #b8d6e8;
}

.admin-backlog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.admin-backlog-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(159,220,255,.18);
  background: rgba(255,255,255,.055);
  cursor: pointer;
}

.admin-backlog-card--high {
  border-color: rgba(255,122,144,.54);
}

.admin-backlog-card em {
  color: #9fdcff;
  font-style: normal;
  word-break: normal;
  white-space: nowrap;
}

.admin-pricing-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid rgba(159,220,255,.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16,31,58,.88), rgba(8,13,28,.94));
}

.admin-pricing-head strong,
.admin-pricing-title strong {
  display: block;
  color: #fffaf0;
}

.admin-pricing-head span,
.admin-pricing-title span,
.admin-pricing-note {
  color: #b8d6e8;
}

.admin-pricing-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(560px, 1.6fr);
  gap: 12px;
  overflow-x: auto;
}

.admin-pricing-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid rgba(159,220,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.admin-pricing-card--wide {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.admin-pricing-card--wide .admin-pricing-title,
.admin-pricing-card--wide .admin-pricing-control:first-of-type,
.admin-pricing-card--wide .admin-pricing-buttons {
  grid-column: 1 / -1;
}

.admin-pricing-control {
  display: grid;
  gap: 5px;
  color: #9fdcff;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-pricing-control input,
.admin-pricing-control select {
  min-height: 40px;
  border: 1px solid rgba(159,220,255,.32);
  border-radius: 8px;
  color: #fffaf0;
  background: rgba(5,10,22,.74);
}

.admin-pricing-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-pricing-buttons button,
.admin-editor-actions button,
.admin-asset-actions button,
.grownup-gate button,
.provider-row button,
.setting-action-row button {
  white-space: nowrap;
}

.admin-pricing-note {
  margin: 0;
  font-size: .84rem;
}

/* v45 text-fit pass: tables/lists scroll horizontally instead of clipping or wrapping labels. */
.quest-panel,
.gear-list,
.admin-list,
.admin-record-list,
.admin-backlog-panel,
.admin-pricing-panel,
.admin-pricing-grid {
  overflow-x: auto;
}

.quest-panel strong,
.quest-panel span,
.battle-panel strong,
.battle-panel span,
.world-map-details strong,
.world-map-details span,
.gear-item strong,
.gear-item span,
.admin-backlog-panel strong,
.admin-backlog-panel span,
.admin-backlog-card em,
.admin-pricing-head strong,
.admin-pricing-head span,
.admin-pricing-title strong,
.admin-pricing-title span,
.admin-pricing-note {
  overflow: visible;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.gear-item,
.admin-record-list button,
.admin-hierarchy-col button,
.admin-backlog-card {
  min-width: min(430px, 100%);
}

/* v57: quest card, pause state, and map editor controls. */
.quest-panel {
  overflow: visible;
  width: min(560px, calc(100vw - 700px));
  max-height: none;
  padding: 12px 14px 13px;
}

.quest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.quest-head .panel-label {
  margin: 0;
}

.quest-toggle-button {
  min-width: 58px;
  min-height: 28px;
  padding-inline: 10px;
}

.quest-body {
  display: grid;
  gap: 8px;
}

.quest-panel strong,
.quest-panel span {
  white-space: normal;
  overflow-wrap: anywhere;
}

.quest-panel strong {
  margin-bottom: 0;
  line-height: 1.08;
}

.quest-panel span {
  line-height: 1.3;
}

/* v91: locked region gate details need room for readable level/BR guidance. */
.world-map-details span {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.32;
}

.quest-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quest-panel.is-collapsed {
  width: 184px;
  min-width: 0;
  padding-block: 10px;
}

.quest-panel.is-collapsed .quest-head {
  margin-bottom: 0;
}

.mini-button.is-active,
.pause-button.is-active {
  border-color: rgba(255, 214, 105, 0.7);
  color: #fff3a4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 18px rgba(255, 214, 105, 0.18);
}

body.is-game-paused .game-shell::after {
  content: "Paused";
  position: absolute;
  left: 50%;
  top: 88px;
  z-index: 8;
  transform: translateX(-50%);
  padding: 8px 16px;
  border: 1px solid rgba(122, 215, 255, 0.42);
  border-radius: 8px;
  color: #e9faff;
  background: rgba(5, 8, 15, 0.72);
  box-shadow: 0 16px 40px rgba(0,0,0,0.34), 0 0 28px rgba(122, 215, 255, 0.16);
  font: 950 0.72rem Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.admin-map-zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(122, 215, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.46);
}

.admin-map-zoom strong {
  min-width: 48px;
  color: var(--hud-text, #f4f7ff);
  font-size: 0.76rem;
  text-align: center;
}

.admin-map-canvas.is-panning,
.admin-map-canvas-wrap:has(.admin-map-canvas.is-panning) {
  cursor: grabbing;
}

.admin-map-canvas--pan {
  cursor: grab;
}

.admin-map-point-field em {
  color: rgba(218, 229, 244, 0.58);
  font-size: 0.68rem;
  font-style: normal;
}

.admin-map-point-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.admin-map-point-grid input {
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(122, 215, 255, 0.28);
  border-radius: 8px;
  padding: 0 8px;
  color: var(--hud-text, #f4f7ff);
  background: rgba(5, 9, 17, 0.88);
  font-weight: 900;
}

.admin-map-toolbar {
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(122, 215, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 28, 48, 0.92), rgba(5, 9, 17, 0.72)),
    radial-gradient(circle at 12% 20%, rgba(122, 215, 255, 0.16), transparent 42%);
}

.admin-map-toolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.admin-map-brush-tools,
.admin-map-overlay-tools,
.admin-map-history-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(122, 215, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.42);
}

.admin-map-brush-tools label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 8px;
  color: rgba(244, 247, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-map-brush-tools input {
  width: 100px;
  accent-color: #ffd669;
}

.admin-map-brush-tools strong {
  min-width: 18px;
  color: #fff2a8;
  text-align: center;
}

.admin-terrain-palette {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(122, 215, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(5, 9, 17, 0.64), rgba(17, 28, 48, 0.7)),
    radial-gradient(circle at top right, rgba(255, 214, 105, 0.1), transparent 45%);
}

.admin-terrain-palette-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-terrain-palette-head strong {
  color: #fff2a8;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.admin-terrain-palette-head span {
  color: rgba(218, 229, 244, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-terrain-palette-head div {
  display: grid;
  gap: 2px;
}

.admin-terrain-palette-head select {
  min-height: 36px;
  border: 1px solid rgba(122, 215, 255, 0.24);
  border-radius: 8px;
  padding: 0 10px;
  color: #f4f7ff;
  background: rgba(5, 9, 17, 0.9);
  font-weight: 900;
}

.admin-terrain-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.admin-terrain-palette-grid button {
  justify-content: start;
  min-height: 52px;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(11, 18, 32, 0.92), rgba(18, 29, 49, 0.76)),
    radial-gradient(circle at 16px 16px, color-mix(in srgb, var(--terrain) 48%, transparent), transparent 42%);
}

.admin-terrain-palette-grid button span,
.admin-object-palette button span {
  color: #f4f7ff;
  white-space: nowrap;
}

.admin-terrain-palette-grid button em {
  display: block;
  color: rgba(218, 229, 244, 0.62);
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-map-stage {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
}

.admin-map-canvas {
  height: min(62vh, 720px);
}

.admin-map-material-summary {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-map-material-summary > strong {
  color: #fff2a8;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-map-material-summary span {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: rgba(218, 229, 244, 0.78);
  font-size: 0.7rem;
  font-weight: 850;
}

.admin-map-material-summary i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--terrain, #58c56b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 0 10px color-mix(in srgb, var(--terrain) 42%, transparent);
}

.admin-map-material-summary b {
  color: #f4f7ff;
}

@keyframes splashDrift {
  from { transform: translate3d(-1%, -1%, 0) scale(1.02); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

@keyframes runeSpin {
  to { transform: rotate(360deg); }
}

@keyframes damagePulse {
  0% { opacity: 0; }
  16% { opacity: 1; }
  100% { opacity: 0; }
}

/* v58: compact top chrome and draggable HUD overlays. */
.topbar {
  right: auto;
  width: max-content;
  max-width: min(620px, calc(100vw - 430px));
  min-height: 38px;
  padding: 7px 10px;
  justify-content: flex-start;
}

.topbar-pills {
  min-width: 0;
}

.pill {
  min-height: 24px;
  padding-inline: 8px;
  font-size: 0.72rem;
}

.online-pill,
#onlinePill {
  max-width: min(320px, 31vw);
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand strong {
  display: inline;
  font-size: 0.82rem;
}

.brand-gem {
  width: 16px;
  height: 16px;
}

.zoom-panel {
  top: 14px;
  right: 14px;
  left: auto;
  display: flex;
  width: min(370px, calc(100vw - 660px));
  min-width: 290px;
  transform: none;
  z-index: 8;
}

.zoom-panel .mini-button {
  min-width: 44px;
}

.hud-drag-handle {
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.is-hud-dragging {
  z-index: 12;
  cursor: grabbing;
  opacity: 0.96;
  outline: 1px solid rgba(122, 215, 255, 0.52);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.52),
    0 0 34px rgba(122, 215, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.is-custom-position {
  will-change: left, top;
}

@media (max-width: 1180px) {
  .topbar {
    max-width: min(560px, calc(100vw - 390px));
  }

  .zoom-panel {
    width: 340px;
    min-width: 260px;
  }
}

@media (max-width: 860px) {
  .topbar {
    max-width: calc(100vw - 28px);
  }

  .zoom-panel {
    top: 60px;
    right: 14px;
    width: min(340px, calc(100vw - 28px));
  }
}

@media (max-width: 980px) {
  .quest-panel {
    left: 14px;
    right: 14px;
    width: auto;
    max-width: calc(100vw - 28px);
    min-width: 0;
    transform: none;
  }

  .quest-panel.is-collapsed {
    width: 184px;
    right: auto;
  }

  .save-slot-row {
    grid-template-columns: 54px 1fr;
  }

  .save-slot-row--head {
    display: none;
  }

  .save-slot-row > span:nth-child(n+3) {
    grid-column: 2;
  }

  .gear-power-dashboard,
  .grownup-gate {
    grid-template-columns: 1fr;
  }

  .gear-loadout {
    grid-template-columns: 1fr;
  }

  .admin-pricing-grid,
  .admin-pricing-card--wide {
    grid-template-columns: 1fr;
  }
}

/* v70.1 final luminous storybook overrides. Keep this at EOF so it wins older theme layers. */
.splash-screen {
  background:
    radial-gradient(circle at 76% 18%, rgba(85, 223, 255, 0.34), transparent 34%),
    radial-gradient(circle at 48% 80%, rgba(255, 111, 174, 0.22), transparent 30%),
    linear-gradient(135deg, #1e1744 0%, #4d36ad 48%, #83e9ff 100%) !important;
}

.splash-screen::before {
  background:
    linear-gradient(90deg, rgba(30, 23, 68, 0.76), rgba(56, 32, 110, 0.42) 38%, rgba(85, 223, 255, 0.1) 72%, rgba(30, 23, 68, 0.26)),
    linear-gradient(180deg, rgba(255, 244, 216, 0.18), rgba(106, 76, 255, 0.16) 46%, rgba(30, 23, 68, 0.28)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat !important;
  filter: saturate(1.42) brightness(1.16) contrast(1.02) !important;
}

.splash-screen::after {
  background:
    radial-gradient(circle at 21% 52%, rgba(255, 216, 107, 0.18), transparent 20%),
    radial-gradient(circle at 68% 46%, rgba(85, 223, 255, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(30, 23, 68, 0.42), rgba(30, 23, 68, 0.03) 54%, rgba(30, 23, 68, 0.22)) !important;
}

.splash-copy {
  text-shadow: 0 8px 22px rgba(30, 23, 68, 0.36), 0 1px 0 rgba(255, 244, 216, 0.35) !important;
}

.gear-combo-card {
  border-color: rgba(106, 76, 255, 0.2) !important;
  background:
    radial-gradient(circle at top right, rgba(85, 223, 255, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.98), rgba(255, 244, 216, 0.94)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 8px 20px rgba(48, 34, 71, 0.08) !important;
}

.gear-combo-card span,
.gear-combo-card p,
.gear-combo-card em,
.gear-combo-card small {
  color: #302247 !important;
}

.gear-combo-card span {
  font-weight: 950 !important;
}

.gear-combo-card em {
  color: #5d4776 !important;
}

.gear-combo-card small {
  color: #6f5c87 !important;
}

.gear-combo-card.is-active {
  border-color: rgba(255, 216, 107, 0.92) !important;
  background:
    radial-gradient(circle at top left, rgba(255, 216, 107, 0.36), transparent 48%),
    linear-gradient(145deg, rgba(255, 252, 239, 1), rgba(255, 232, 185, 0.96)) !important;
}

.admin-dialog {
  background:
    radial-gradient(circle at top left, rgba(85, 223, 255, 0.22), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(255, 111, 174, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(43, 33, 91, 0.98), rgba(30, 23, 68, 0.98) 44%, rgba(69, 51, 145, 0.96)) !important;
  border-color: rgba(255, 216, 107, 0.34) !important;
  box-shadow: 0 26px 72px rgba(22, 14, 50, 0.48), inset 0 1px 0 rgba(255,255,255,.22) !important;
}

.admin-dialog :is(.admin-status, .admin-command, .admin-overview-panel, .admin-section-list, .admin-record-list, .admin-editor, .admin-hierarchy, .admin-quick-panel, .admin-backlog-panel, .admin-pricing-panel, .admin-map-visualizer, .admin-map-flow, .admin-terrain-palette) {
  background:
    radial-gradient(circle at top right, rgba(85, 223, 255, 0.1), transparent 46%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.09), rgba(16, 14, 45, 0.58)) !important;
  border-color: rgba(85, 223, 255, 0.24) !important;
}

.admin-terrain-palette-grid {
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)) !important;
}

.admin-terrain-palette-grid button {
  min-width: 0 !important;
  overflow: hidden !important;
  align-content: center !important;
}

.admin-terrain-palette-grid button span,
.admin-object-palette button span {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.08 !important;
}

.admin-terrain-palette-grid button em {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.05 !important;
}

/* v71: guided gameplay flow coach and clearer level completion pacing. */
.objective-progress {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(106, 76, 255, 0.14);
  border: 1px solid rgba(106, 76, 255, 0.16);
  box-shadow: inset 0 1px 4px rgba(30, 23, 68, 0.14);
}

.objective-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--gk-sprite-green), var(--gk-crystal-cyan), var(--gk-glowkin-gold));
  box-shadow: 0 0 14px rgba(85, 223, 255, 0.42);
  transition: width 420ms cubic-bezier(.2,.85,.18,1);
}

.objective-progress.is-complete i {
  background: linear-gradient(90deg, var(--gk-glowkin-gold), var(--gk-soft-white));
  box-shadow: 0 0 18px rgba(255, 216, 107, 0.6);
}

.objective-meter-chips span.is-active {
  color: var(--gk-soft-white);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.92), rgba(255, 111, 174, 0.74));
  border-color: rgba(255, 216, 107, 0.7);
  box-shadow: 0 0 16px rgba(106, 76, 255, 0.26);
}

.flow-coach {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(106, 76, 255, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 14%, rgba(85, 223, 255, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.82), rgba(255, 244, 216, 0.66));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 12px 24px rgba(56, 32, 110, 0.12);
}

.flow-coach[hidden] {
  display: none;
}

.flow-coach-orb {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 7px;
  border-radius: 8px;
  color: var(--gk-soft-white);
  font: 950 0.8rem var(--gk-body-font);
  text-transform: uppercase;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.62), transparent 36%),
    linear-gradient(145deg, var(--gk-lantern-orange), var(--gk-glowkin-gold));
  border: 1px solid rgba(255, 244, 216, 0.64);
  box-shadow: 0 8px 18px rgba(255, 180, 94, 0.24), inset 0 -2px 8px rgba(106, 76, 255, 0.16);
}

.flow-coach-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.flow-coach-copy b,
.flow-coach-copy span,
.flow-coach-copy em {
  display: block;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: none;
}

.flow-coach-copy b {
  color: var(--gk-nightberry);
  font: 950 0.9rem var(--gk-title-font);
  line-height: 1.05;
}

.flow-coach-copy span {
  color: rgba(48, 34, 71, 0.82);
  font: 850 0.76rem/1.2 var(--gk-body-font);
}

.flow-coach-copy em {
  color: var(--gk-moonlit-violet);
  font-style: normal;
}

.flow-coach--battle,
.flow-coach--boss {
  border-color: rgba(255, 111, 174, 0.3);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 111, 174, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.84), rgba(255, 229, 232, 0.7));
}

.flow-coach--portal {
  border-color: rgba(85, 223, 255, 0.38);
  animation: glowkinReadyPulse 2.5s ease-in-out infinite;
}

.flow-coach--complete {
  border-color: rgba(255, 216, 107, 0.42);
  background:
    radial-gradient(circle at 9% 14%, rgba(255, 216, 107, 0.32), transparent 38%),
    radial-gradient(circle at 90% 10%, rgba(85, 223, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.9), rgba(247, 231, 255, 0.76));
  box-shadow:
    0 18px 34px rgba(48, 34, 71, 0.18),
    0 0 34px rgba(255, 216, 107, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.toast {
  line-height: 1.22;
}

.objective-fireworks {
  position: absolute;
  inset: 0;
  z-index: 36;
  pointer-events: none;
  overflow: hidden;
}

.objective-fireworks-badge {
  position: absolute;
  top: 112px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 44px));
  padding: 14px 24px;
  border: 1px solid rgba(255, 244, 216, 0.72);
  border-radius: 8px;
  color: var(--gk-soft-white, #fff9ef);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.38), transparent 30%),
    linear-gradient(135deg, rgba(255, 216, 107, 0.96), rgba(255, 111, 174, 0.92) 48%, rgba(106, 76, 255, 0.96));
  box-shadow:
    0 18px 46px rgba(56, 32, 110, 0.38),
    0 0 34px rgba(255, 216, 107, 0.42);
  font-family: var(--gk-title-font, "Trebuchet MS", sans-serif);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 950;
  text-align: center;
  text-shadow: 0 2px 8px rgba(30, 23, 68, 0.42);
  animation: objectiveBadgeBloom 1.55s cubic-bezier(0.2, 1.2, 0.22, 1) both;
}

.objective-fireworks i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--spark-color, #ffd86b);
  box-shadow:
    0 0 10px var(--spark-color, #ffd86b),
    0 0 22px rgba(255, 249, 239, 0.72);
  animation: objectiveSparkFly 1.18s ease-out both;
}

.objective-fireworks i::after {
  content: "";
  position: absolute;
  inset: -5px;
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
  background: var(--spark-color, #ffd86b);
}

.quest-panel.is-objective-celebrating,
.objective-meter.is-objective-celebrating {
  animation: objectivePanelFanfare 1.35s ease both;
}

.quest-panel.is-package-complete {
  border-color: rgba(255, 216, 107, 0.5);
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 216, 107, 0.26), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(85, 223, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(255, 244, 216, 0.9));
  box-shadow:
    0 18px 38px rgba(48, 34, 71, 0.2),
    0 0 28px rgba(255, 216, 107, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.objective-meter.is-objective-celebrating .objective-progress i {
  box-shadow:
    0 0 18px rgba(255, 216, 107, 0.76),
    0 0 34px rgba(85, 223, 255, 0.42);
}

@keyframes objectiveBadgeBloom {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-18px) scale(0.82);
    filter: saturate(1.5) brightness(1.25);
  }
  18% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1.08);
  }
  72% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.96);
  }
}

@keyframes objectiveSparkFly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 160px))) scale(0.95) rotate(220deg);
  }
}

@keyframes objectivePanelFanfare {
  0% {
    filter: brightness(1);
    box-shadow: 0 18px 48px rgba(56, 32, 110, 0.24);
  }
  32% {
    filter: brightness(1.12) saturate(1.18);
    box-shadow:
      0 20px 54px rgba(56, 32, 110, 0.34),
      0 0 0 4px rgba(255, 216, 107, 0.28),
      0 0 38px rgba(85, 223, 255, 0.34);
  }
  100% {
    filter: brightness(1);
  }
}

@media (max-width: 980px) {
  .flow-coach {
    gap: 8px;
    padding: 8px;
  }

  .flow-coach-orb {
    min-width: 38px;
    height: 38px;
  }
}

/* Prism Shop overhaul */
.prism-shop-dialog {
  width: min(1380px, calc(100vw - 18px));
  height: min(900px, calc(100vh - 18px));
  max-width: none;
  max-height: none;
}

.prism-shop-dialog form {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
  padding: 18px;
  color: #fff9ef;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 216, 107, 0.22), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(85, 223, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.96) 0, rgba(255, 244, 216, 0.9) 132px, rgba(56, 32, 110, 0.94) 133px, rgba(30, 23, 68, 0.98) 100%);
}

.prism-shop-dialog .dialog-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 216, 107, 0.22);
}

.prism-shop-dialog .dialog-head strong {
  font-family: "Nunito", "Inter", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  color: #6a4cff;
  text-shadow: 0 2px 0 rgba(255, 249, 239, 0.85), 0 0 22px rgba(255, 216, 107, 0.34);
}

.prism-shop-dialog > form > .shop-note {
  color: #4f426a;
  font-size: 0.96rem;
  padding: 10px 12px;
  border: 1px solid rgba(106, 76, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.86);
}

.shop-wallet-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shop-wallet-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(85, 223, 255, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 216, 107, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.11), rgba(85, 223, 255, 0.06)),
    rgba(30, 23, 68, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 28px rgba(30, 23, 68, 0.22);
}

.shop-wallet-card span {
  color: #9fdcff;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.shop-wallet-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff9ef;
  font-size: 1.22rem;
  line-height: 1.05;
}

.shop-wallet-card--credits strong {
  color: #ffd86b;
}

.shop-wallet-card em {
  min-width: 0;
  color: #d9edff;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.prism-shop-dialog .grownup-gate {
  grid-template-columns: minmax(230px, 1.05fr) minmax(210px, .8fr) auto minmax(150px, .58fr) auto;
  margin: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 111, 174, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(56, 32, 110, 0.86), rgba(8, 13, 28, 0.94));
}

.prism-shop-dialog .grownup-gate p {
  color: #fff9ef;
  font-weight: 900;
}

.shop-preview-strip {
  min-height: 0;
}

.prism-shop-dialog .shop-preview-strip {
  display: none;
}

.prism-shop-dialog .shop-preview-card {
  position: relative;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 12px;
  min-height: 112px;
  border-color: color-mix(in srgb, var(--product-accent, #55dfff) 45%, rgba(255,255,255,.2));
  background:
    radial-gradient(circle at 20% 12%, color-mix(in srgb, var(--product-accent, #55dfff) 28%, transparent), transparent 48%),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  cursor: pointer;
}

.prism-shop-dialog .shop-preview-art {
  grid-row: 1 / span 2;
  width: 86px;
  height: 86px;
  background-color: rgba(255, 249, 239, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 0 24px color-mix(in srgb, var(--product-accent, #55dfff) 24%, transparent);
}

.prism-shop-dialog .shop-preview-card strong,
.prism-shop-dialog .shop-preview-card em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.prism-shop-dialog .shop-preview-card strong {
  align-self: end;
  color: #fff9ef;
  font-size: 0.94rem;
  line-height: 1.1;
}

.prism-shop-dialog .shop-preview-card em {
  align-self: start;
  color: #ffd86b;
  font-size: 0.78rem;
}

.prism-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(390px, 1fr));
  align-content: start;
  gap: 12px;
  max-height: none;
  min-height: 0;
  overflow: auto;
  padding: 0 6px 8px 0;
  scrollbar-gutter: stable;
}

.prism-shop-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
  padding: 4px 0 8px;
  background: linear-gradient(180deg, rgba(30, 23, 68, 0.94), rgba(30, 23, 68, 0.76));
  backdrop-filter: blur(10px);
}

.prism-shop-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(85, 223, 255, 0.28);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff9ef;
  background: linear-gradient(135deg, rgba(106, 76, 255, 0.72), rgba(56, 32, 110, 0.84));
  font-weight: 950;
  cursor: pointer;
}

.prism-shop-tabs button.is-active {
  border-color: rgba(255, 216, 107, 0.82);
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 216, 107, 0.32), transparent 60%),
    linear-gradient(135deg, rgba(255, 111, 174, 0.88), rgba(106, 76, 255, 0.9));
  box-shadow: 0 0 24px rgba(255, 216, 107, 0.22);
}

.prism-shop-tabs b {
  min-width: 24px;
  border-radius: 999px;
  padding: 3px 7px;
  color: #302247;
  background: #fff4d8;
  font-size: 0.72rem;
}

.prism-product-card {
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: minmax(132px, auto) auto;
  gap: 12px;
  min-height: 286px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--product-accent, #55dfff) 45%, rgba(255,255,255,.18));
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--product-accent, #55dfff) 22%, transparent), transparent 46%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.13), rgba(255, 249, 239, 0.055)),
    rgba(30, 23, 68, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 16px 36px rgba(12, 8, 28, 0.22);
}

.prism-product-card.is-owned {
  border-color: rgba(118, 240, 161, 0.62);
  background:
    radial-gradient(circle at 0% 0%, rgba(118, 240, 161, 0.22), transparent 48%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.15), rgba(255, 249, 239, 0.06)),
    rgba(30, 23, 68, 0.74);
}

.prism-product-art {
  position: relative;
  min-height: 132px;
  border-radius: 8px;
  background-color: rgba(255, 249, 239, 0.1);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 0 30px color-mix(in srgb, var(--product-accent, #55dfff) 25%, transparent);
}

.prism-product-art span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  border-radius: 999px;
  padding: 5px 8px;
  color: #302247;
  background: rgba(255, 249, 239, 0.92);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: capitalize;
}

.prism-product-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.prism-product-copy strong {
  min-width: 0;
  color: #fff9ef;
  font-size: 1.08rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.prism-product-copy p {
  min-width: 0;
  color: #d9edff;
  font-size: 0.84rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.prism-product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prism-product-chips span {
  border: 1px solid rgba(255, 216, 107, 0.25);
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff4d8;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.prism-product-purchase {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(130px, .34fr) minmax(160px, .44fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 9px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.prism-product-purchase .shop-price {
  color: #ffd86b;
  font-size: 1.02rem;
  line-height: 1.1;
}

.prism-product-purchase small {
  min-width: 0;
  color: #bfe9ff;
  font-weight: 850;
  line-height: 1.2;
}

.prism-product-actions {
  justify-content: flex-end;
  min-width: 0;
}

.shop-provider-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.prism-product-actions button {
  min-height: 34px;
  border-radius: 8px;
  padding: 0 10px;
  white-space: nowrap;
}

.prism-product-actions .shop-credit-button {
  background: linear-gradient(135deg, #76f0a1, #55dfff);
  color: #302247;
}

.prism-product-actions .shop-manage-button {
  background: linear-gradient(135deg, #ffd86b, #ffb45e);
  color: #302247;
}

.prism-product-actions .provider-demo {
  background: linear-gradient(135deg, #6a4cff, #ff6fae);
}

.prism-product-actions .provider-stripe {
  background: linear-gradient(135deg, #635bff, #55dfff);
}

.prism-product-actions .provider-paypal {
  background: linear-gradient(135deg, #1b74e4, #55dfff);
}

.prism-product-actions .provider-wise {
  background: linear-gradient(135deg, #2f7049, #76f0a1);
}

.prism-product-actions .provider-bitcoin {
  background: linear-gradient(135deg, #f7931a, #ffd86b);
  color: #302247;
}

.prism-product-actions button:disabled {
  opacity: 0.44;
  cursor: not-allowed;
  filter: grayscale(0.35);
}

.equipped-gear-badge {
  display: grid;
  place-items: center;
  isolation: isolate;
}

.equipped-gear-badge img {
  position: absolute;
  inset: 4px;
  z-index: 0;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.34));
}

.equipped-gear-slot {
  position: absolute;
  right: 3px;
  bottom: 3px;
  z-index: 2;
  min-width: 16px;
  border-radius: 999px;
  padding: 2px 4px;
  color: #302247;
  background: linear-gradient(135deg, #fff9ef, #ffd86b);
  font-size: 0.55rem;
  font-weight: 950;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.credit-pack-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, .74fr) minmax(0, 1.5fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 216, 107, 0.5);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 216, 107, 0.34), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(85, 223, 255, 0.23), transparent 48%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.92), rgba(30, 23, 68, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 42px rgba(12, 8, 28, 0.28);
}

.credit-pack-intro {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.credit-pack-intro span {
  color: #ffd86b;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.credit-pack-intro strong {
  color: #fff9ef;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.credit-pack-intro p {
  margin: 0;
  color: #dff7ff;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.36;
}

.credit-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(126px, 1fr));
  gap: 10px;
  min-width: 0;
}

.credit-pack-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--product-accent, #55dfff) 52%, rgba(255,255,255,.22));
  border-radius: 8px;
  padding: 9px;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--product-accent, #55dfff) 26%, transparent), transparent 56%),
    rgba(255, 249, 239, 0.09);
}

.credit-pack-main {
  display: grid;
  gap: 2px;
  min-height: 86px;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  color: #302247;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 54%, #ffb45e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.credit-pack-main span {
  font-size: 0.8rem;
  font-weight: 950;
}

.credit-pack-main strong {
  color: #302247;
  font-size: 1.02rem;
  line-height: 1.05;
}

.credit-pack-main em {
  color: #5c4473;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.credit-pack-card .prism-product-actions,
.credit-pack-card .shop-provider-strip {
  justify-content: stretch;
}

.shop-completion-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 216, 107, 0.56);
  border-radius: 8px;
  color: #fff9ef;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 216, 107, 0.32), transparent 36%),
    radial-gradient(circle at 94% 20%, rgba(85, 223, 255, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(72, 44, 142, 0.94), rgba(30, 23, 68, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 36px rgba(12, 8, 28, 0.26);
}

.shop-completion-art {
  display: block;
  width: 104px;
  height: 78px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 2px rgba(255, 249, 239, 0.32), 0 0 24px rgba(255, 216, 107, 0.22);
}

.shop-completion-banner div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shop-completion-banner span,
.shop-completion-banner em {
  color: #ffd86b;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.shop-completion-banner strong {
  color: #fff9ef;
  font: 950 1.18rem/1.08 var(--gk-title-font);
}

.shop-completion-banner p {
  margin: 0;
  color: #e8f7ff;
  font: 850 0.86rem/1.3 var(--gk-body-font);
}

.shop-completion-banner button {
  min-height: 42px;
  border: 1px solid rgba(255, 249, 239, 0.72);
  border-radius: 8px;
  padding: 0 14px;
  color: #302247;
  background: linear-gradient(135deg, #ffb45e, #ffd86b);
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 22px rgba(0, 0, 0, 0.22);
}

.credit-pack-card .prism-product-actions {
  display: grid;
}

.credit-pack-card .shop-provider-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credit-pack-card .prism-product-actions button {
  min-width: 0;
  min-height: 30px;
  padding: 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prism-product-purchase .shop-price,
.shop-item .shop-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 8px;
  padding: 5px 9px;
  color: #302247;
  background: linear-gradient(135deg, #fff9ef, #ffd86b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.shop-item.is-owned,
.prism-product-card.is-owned {
  color: #fff9ef;
}

.shop-item.is-owned strong,
.shop-item.is-owned p,
.shop-item.is-owned small,
.shop-item.is-owned span,
.prism-product-card.is-owned strong,
.prism-product-card.is-owned p,
.prism-product-card.is-owned small {
  color: #fff9ef;
}

.support-dialog {
  width: min(760px, calc(100vw - 28px));
}

.support-dialog form {
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr) auto;
  gap: 12px;
  max-height: min(760px, calc(100vh - 40px));
}

.support-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 280px;
  max-height: min(52vh, 470px);
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(85, 223, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 9, 17, 0.52);
}

.support-message,
.support-empty {
  display: grid;
  gap: 5px;
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.1);
  color: #fff9ef;
}

.support-message--admin {
  justify-self: start;
  border: 1px solid rgba(85, 223, 255, 0.32);
}

.support-message--player {
  justify-self: end;
  border: 1px solid rgba(255, 216, 107, 0.36);
  background: rgba(106, 76, 255, 0.28);
}

.support-message strong,
.support-empty strong {
  color: #ffd86b;
  font-size: 0.82rem;
}

.support-message span,
.support-empty span {
  color: #fff9ef;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
}

.support-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.support-input-row input {
  min-height: 44px;
  border: 1px solid rgba(85, 223, 255, 0.3);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff9ef;
  background: rgba(5, 9, 17, 0.74);
  font-weight: 850;
}

.admin-analytics-panel {
  display: grid;
  gap: 13px;
  padding: 13px;
  border: 1px solid rgba(85, 223, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(85, 223, 255, 0.12), transparent 42%),
    rgba(5, 9, 17, 0.7);
}

.admin-analytics-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-analytics-head strong,
.admin-support-board > strong {
  display: block;
  color: #fff9ef;
  font-size: 1rem;
}

.admin-analytics-head span,
.admin-support-board > span {
  color: rgba(231, 238, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 850;
}

.admin-analytics-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-analytics-stats b {
  display: grid;
  min-width: 78px;
  border: 1px solid rgba(255, 216, 107, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  color: #ffd86b;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.admin-analytics-stats span {
  color: #dff7ff;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.admin-player-table-wrap {
  overflow: auto;
  border: 1px solid rgba(122, 215, 255, 0.16);
  border-radius: 8px;
}

.admin-player-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
  color: #fff9ef;
}

.admin-player-table th,
.admin-player-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-player-table th {
  color: #ffd86b;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.admin-player-table td strong,
.admin-player-table td span {
  display: block;
}

.admin-player-table td span {
  color: rgba(231, 238, 255, 0.66);
  font-size: 0.66rem;
}

.admin-support-board {
  display: grid;
  gap: 9px;
}

.admin-payment-board {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 216, 107, 0.18);
  border-radius: 8px;
  padding: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 216, 107, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.admin-payment-board > strong {
  color: #fff9ef;
  font-size: 1rem;
}

.admin-payment-board > span {
  color: rgba(231, 238, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-payment-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 8px;
  color: #302247;
  background: linear-gradient(135deg, #ffd86b, #fff9ef);
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 950;
}

.admin-payment-status--complete {
  background: linear-gradient(135deg, #76f0a1, #55dfff);
}

.admin-moderation-board {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 111, 174, 0.2);
  border-radius: 10px;
  padding: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 111, 174, 0.13), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(85, 223, 255, 0.12), transparent 42%),
    rgba(30, 23, 68, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-moderation-board > strong {
  color: #fff9ef;
  font-size: 1rem;
}

.admin-moderation-board > span {
  color: rgba(231, 238, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-moderation-grid {
  display: grid;
  gap: 12px;
}

.admin-moderation-grid section {
  display: grid;
  gap: 7px;
}

.admin-moderation-grid h4 {
  margin: 0;
  color: #ffd86b;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-moderation-board .admin-player-table {
  min-width: 860px;
}

.admin-ip-table {
  min-width: 560px !important;
}

.admin-chat-message-cell {
  max-width: 360px;
  color: #fff9ef !important;
  line-height: 1.35;
  white-space: normal;
}

.admin-chat-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 2px 8px;
  background: linear-gradient(135deg, rgba(118, 240, 161, 0.94), rgba(85, 223, 255, 0.9));
  color: #302247;
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-support-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(122, 215, 255, 0.16);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.admin-support-card strong {
  color: #fff9ef;
}

.admin-support-card em {
  color: #ffd86b;
  font-style: normal;
}

.admin-support-card span,
.admin-support-card p {
  margin: 0;
  color: rgba(231, 238, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
}

.admin-support-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.admin-support-reply input {
  min-height: 36px;
  border: 1px solid rgba(85, 223, 255, 0.22);
  border-radius: 8px;
  padding: 0 10px;
  color: #fff9ef;
  background: rgba(5, 9, 17, 0.78);
  font-weight: 850;
}

.shop-empty-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid rgba(85, 223, 255, 0.22);
  border-radius: 8px;
  color: #fff9ef;
  background: rgba(255, 255, 255, 0.07);
}

.shop-empty-card p {
  margin: 0;
  color: #d9edff;
}

@media (max-width: 1100px) {
  .shop-wallet-bar,
  .prism-shop-dialog .shop-preview-strip,
  .prism-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prism-product-purchase {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .prism-product-actions,
  .shop-provider-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .prism-shop-dialog {
    width: calc(100vw - 10px);
    height: calc(100vh - 10px);
  }

  .prism-shop-dialog form {
    grid-template-rows: auto;
    overflow: auto;
  }

  .shop-wallet-bar,
  .prism-shop-dialog .shop-preview-strip,
  .prism-shop-grid,
  .prism-product-card {
    grid-template-columns: 1fr;
  }

  .prism-shop-grid {
    overflow: visible;
    padding-right: 0;
  }

  .prism-shop-dialog .grownup-gate {
    grid-template-columns: 1fr;
  }

  .prism-shop-dialog .shop-preview-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .prism-shop-dialog .shop-preview-art {
    width: 74px;
    height: 74px;
  }
}

/* Demo sale reminder */
.sale-reminder {
  position: absolute;
  left: 50%;
  bottom: 108px;
  z-index: 43;
  display: grid;
  grid-template-columns: 64px minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(760px, calc(100vw - 48px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 244, 216, 0.74);
  border-radius: 8px;
  color: #fff9ef;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 216, 107, 0.36), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(85, 223, 255, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.96), rgba(56, 32, 110, 0.98) 54%, rgba(30, 23, 68, 0.98));
  box-shadow:
    0 22px 60px rgba(30, 23, 68, 0.44),
    0 0 34px rgba(255, 216, 107, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translate(-50%, 18px) scale(0.98);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.sale-reminder[hidden] {
  display: none;
}

.sale-reminder.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.sale-reminder.is-completion {
  border-color: rgba(255, 216, 107, 0.9);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 216, 107, 0.46), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(118, 240, 161, 0.2), transparent 32%),
    radial-gradient(circle at 54% 100%, rgba(255, 111, 174, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.98), rgba(56, 32, 110, 0.98) 46%, rgba(30, 23, 68, 0.98));
  box-shadow:
    0 24px 70px rgba(30, 23, 68, 0.5),
    0 0 42px rgba(255, 216, 107, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.sale-reminder.is-completion .sale-reminder-orb {
  background:
    radial-gradient(circle at 35% 26%, rgba(255,255,255,.94), transparent 18%),
    conic-gradient(from 20deg, #ffd86b, #fff9ef, #55dfff, #ff6fae, #ffd86b);
  box-shadow:
    0 0 0 4px rgba(255, 249, 239, 0.22),
    0 0 32px rgba(255, 216, 107, 0.46);
}

.sale-reminder-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 244, 216, 0.58);
  border-radius: 8px;
  color: #fff9ef;
  background: rgba(30, 23, 68, 0.62);
  font-weight: 950;
}

.sale-reminder-orb {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 26%, rgba(255,255,255,.9), transparent 18%),
    conic-gradient(from 40deg, #55dfff, #6a4cff, #ff6fae, #ffd86b, #76f0a1, #55dfff);
  box-shadow:
    0 0 0 4px rgba(255, 249, 239, 0.18),
    0 0 28px rgba(85, 223, 255, 0.38);
  transform: rotate(45deg);
}

.sale-reminder-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-right: 8px;
}

.sale-reminder-copy b {
  color: #fff9ef;
  font: 950 1rem/1.12 "Nunito", "Inter", sans-serif;
}

.sale-reminder-copy span {
  color: #d9edff;
  font: 850 0.84rem/1.25 "Nunito", "Inter", sans-serif;
}

.sale-reminder-copy em {
  color: #ffd86b;
  font: 950 0.76rem/1.1 "Nunito", "Inter", sans-serif;
  font-style: normal;
  text-transform: uppercase;
}

.sale-reminder-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 138px;
  padding-right: 26px;
}

.sale-reminder-actions button {
  min-height: 38px;
  border: 1px solid rgba(255, 244, 216, 0.68);
  border-radius: 8px;
  padding: 0 12px;
  color: #302247;
  background: linear-gradient(135deg, #ffb45e, #ffd86b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 10px 18px rgba(30,23,68,.22);
  font-weight: 950;
  white-space: nowrap;
}

.sale-reminder-actions button + button {
  color: #fff9ef;
  background: linear-gradient(135deg, rgba(106, 76, 255, 0.82), rgba(56, 32, 110, 0.9));
}

.sale-reminder-actions button:hover,
.sale-reminder-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 216, 107, 0.22), inset 0 1px 0 rgba(255,255,255,.7);
}

@media (max-width: 780px) {
  .sale-reminder {
    grid-template-columns: 44px minmax(0, 1fr);
    bottom: 92px;
    width: min(440px, calc(100vw - 20px));
    padding: 12px;
  }

  .sale-reminder-orb {
    width: 42px;
    height: 42px;
  }

  .sale-reminder-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
    padding-right: 0;
  }

  .sale-reminder-copy {
    padding-right: 28px;
  }
}

@media (max-width: 1180px) {
  .credit-pack-hero,
  .shop-completion-banner,
  .admin-analytics-head {
    grid-template-columns: 1fr;
  }

  .shop-completion-art {
    width: 100%;
    min-height: 110px;
  }

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

@media (max-width: 680px) {
  .credit-pack-grid,
  .credit-pack-card .shop-provider-strip,
  .support-input-row,
  .admin-support-reply {
    grid-template-columns: 1fr;
  }
}

.boss-fight-announcement {
  position: absolute;
  inset: 0;
  z-index: 28;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}

.boss-fight-announcement[hidden] {
  display: none;
}

.boss-fight-announcement__rays {
  position: absolute;
  width: min(980px, 130vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -8deg, rgba(255, 216, 107, 0.42) 0 8deg, rgba(255, 111, 174, 0.2) 8deg 15deg, transparent 15deg 22deg),
    radial-gradient(circle, rgba(255, 249, 239, 0.58), rgba(85, 223, 255, 0.18) 32%, transparent 62%);
  filter: blur(0.2px) saturate(1.3);
  opacity: 0;
}

.boss-fight-announcement__card {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(860px, calc(100vw - 28px));
  padding: clamp(20px, 4vw, 42px);
  border: 4px solid rgba(255, 249, 239, 0.95);
  border-radius: 8px;
  color: #302247;
  text-align: center;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.92), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(85, 223, 255, 0.42), transparent 32%),
    linear-gradient(135deg, #fff4d8 0%, #ffd86b 42%, #ff6fae 74%, #6a4cff 100%);
  box-shadow:
    0 28px 80px rgba(30, 23, 68, 0.5),
    0 0 0 8px rgba(255, 216, 107, 0.24),
    inset 0 2px 0 rgba(255, 255, 255, 0.75);
  transform: translateY(22px) scale(0.72) rotate(-2deg);
  opacity: 0;
}

.boss-fight-announcement__card::before,
.boss-fight-announcement__card::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 74px;
  height: 42px;
  border: 3px solid rgba(48, 34, 71, 0.18);
  border-radius: 8px 8px 18px 18px;
  background:
    radial-gradient(circle at 28% 36%, #fff9ef 0 12%, transparent 13%),
    linear-gradient(135deg, #55dfff, #6a4cff 56%, #ff6fae);
  box-shadow: 0 10px 24px rgba(48, 34, 71, 0.22);
}

.boss-fight-announcement__card::before {
  left: 18px;
  transform: rotate(-19deg);
}

.boss-fight-announcement__card::after {
  right: 18px;
  transform: rotate(19deg);
}

.boss-fight-announcement__tag {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  margin-bottom: 9px;
  padding: 4px 14px;
  border: 2px solid rgba(48, 34, 71, 0.18);
  border-radius: 999px;
  color: #fff9ef;
  background: linear-gradient(135deg, #302247, #6a4cff);
  box-shadow: 0 8px 20px rgba(48, 34, 71, 0.22);
  font-size: clamp(0.78rem, 1.7vw, 1rem);
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.boss-fight-announcement strong {
  display: block;
  max-width: 100%;
  color: #fff9ef;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-size: clamp(2.35rem, 7.8vw, 6.8rem);
  font-weight: 1000;
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow:
    0 5px 0 #302247,
    0 10px 0 rgba(48, 34, 71, 0.32),
    0 0 24px rgba(255, 255, 255, 0.42);
  -webkit-text-stroke: 2px rgba(48, 34, 71, 0.72);
}

.boss-fight-announcement em,
.boss-fight-announcement span:last-child {
  display: block;
  max-width: min(680px, 94%);
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0;
}

.boss-fight-announcement em {
  margin-top: 14px;
  color: #302247;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.52);
}

.boss-fight-announcement span:last-child {
  margin-top: 8px;
  color: rgba(48, 34, 71, 0.82);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
}

.boss-fight-announcement.is-active .boss-fight-announcement__rays {
  animation: bossFightRays 3.75s ease-out both;
}

.boss-fight-announcement.is-active .boss-fight-announcement__card {
  animation: bossFightCard 3.75s cubic-bezier(0.16, 1.1, 0.24, 1) both;
}

@keyframes bossFightRays {
  0% { opacity: 0; transform: scale(0.35) rotate(0deg); }
  12% { opacity: 1; transform: scale(0.92) rotate(12deg); }
  76% { opacity: 0.82; transform: scale(1.04) rotate(42deg); }
  100% { opacity: 0; transform: scale(1.14) rotate(62deg); }
}

@keyframes bossFightCard {
  0% { opacity: 0; transform: translateY(34px) scale(0.62) rotate(-8deg); filter: saturate(1.8) brightness(1.14); }
  10% { opacity: 1; transform: translateY(0) scale(1.1) rotate(3deg); }
  18% { transform: translateY(0) scale(0.98) rotate(-2deg); }
  26% { transform: translateY(0) scale(1.02) rotate(1deg); }
  70% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translateY(-28px) scale(0.92) rotate(1deg); filter: saturate(1.1); }
}

@media (max-width: 680px) {
  .boss-fight-announcement__card {
    padding: 18px 14px 20px;
  }

  .boss-fight-announcement__card::before,
  .boss-fight-announcement__card::after {
    width: 46px;
    height: 30px;
    top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boss-fight-announcement.is-active .boss-fight-announcement__rays,
  .boss-fight-announcement.is-active .boss-fight-announcement__card {
    animation-duration: 2ms;
  }
}

/* v101 cinematic 16:9 splash and loading presentation */
.splash-screen {
  display: grid !important;
  place-items: center !important;
  padding: clamp(14px, 2.3vw, 34px) !important;
  color: #fff9ef !important;
  background:
    radial-gradient(circle at 72% 24%, rgba(85, 223, 255, 0.24), transparent 30%),
    radial-gradient(circle at 24% 74%, rgba(255, 111, 174, 0.18), transparent 30%),
    linear-gradient(180deg, #08091c 0%, #1e1744 52%, #08091c 100%) !important;
}

.splash-screen::before {
  inset: -4% !important;
  background:
    linear-gradient(90deg, rgba(4, 7, 18, 0.78), rgba(4, 7, 18, 0.18) 42%, rgba(4, 7, 18, 0.42)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat !important;
  filter: blur(10px) saturate(1.2) brightness(0.72) !important;
  opacity: 0.9 !important;
  transform: scale(1.05) !important;
  animation: splashCinematicDrift 18s ease-in-out infinite alternate !important;
}

.splash-screen::after {
  background:
    linear-gradient(180deg, #03040d 0 7.8%, transparent 7.8% 92.2%, #03040d 92.2% 100%),
    radial-gradient(circle at 30% 48%, rgba(255, 216, 107, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(3, 4, 13, 0.78), rgba(3, 4, 13, 0.08) 48%, rgba(3, 4, 13, 0.52)) !important;
}

.splash-cinema-frame {
  position: relative;
  z-index: 1;
  width: min(96vw, calc((100dvh - 46px) * 16 / 9));
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 46px);
  overflow: hidden;
  border: 1px solid rgba(255, 249, 239, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(4, 7, 18, 0.58), rgba(4, 7, 18, 0.04) 52%, rgba(4, 7, 18, 0.28)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.48),
    0 0 0 8px rgba(255, 249, 239, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -110px 120px rgba(3, 4, 13, 0.26);
  animation: splashFrameFloat 7.5s ease-in-out infinite alternate;
}

.splash-cinema-frame::before,
.splash-cinema-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.splash-cinema-frame::before {
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.12), transparent 24%),
    radial-gradient(circle at 71% 53%, rgba(85, 223, 255, 0.26), transparent 18%);
  mix-blend-mode: screen;
}

.splash-cinema-frame::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 249, 239, 0.18), rgba(255, 255, 255, 0));
  width: 18%;
  transform: translateX(-160%) skewX(-12deg);
  animation: splashLightSweep 6.8s ease-in-out infinite;
}

.splash-cinema-glow,
.splash-cinema-sparkle {
  position: absolute;
  display: block;
  pointer-events: none;
}

.splash-cinema-glow {
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.42;
}

.splash-cinema-glow--left {
  left: -8%;
  bottom: 8%;
  background: #ff6fae;
}

.splash-cinema-glow--right {
  right: 9%;
  top: 16%;
  background: #55dfff;
}

.splash-cinema-sparkle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd86b;
  box-shadow: 0 0 20px #ffd86b;
  animation: splashSparkleFloat 4.4s ease-in-out infinite alternate;
}

.splash-cinema-sparkle--one { left: 58%; top: 24%; }
.splash-cinema-sparkle--two { left: 78%; top: 42%; animation-delay: 0.9s; }
.splash-cinema-sparkle--three { left: 48%; top: 68%; animation-delay: 1.7s; }

.splash-scene {
  display: none !important;
}

.splash-copy {
  z-index: 4 !important;
  top: 50% !important;
  left: max(28px, calc((100vw - min(96vw, calc((100dvh - 46px) * 16 / 9))) / 2 + 54px)) !important;
  width: min(560px, 42vw) !important;
  transform: translateY(-48%) !important;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.58) !important;
}

.splash-copy .eyebrow {
  border-color: rgba(255, 216, 107, 0.48) !important;
  color: #ffd86b !important;
  background: rgba(8, 9, 28, 0.62) !important;
  backdrop-filter: blur(8px);
}

.splash-copy h1 {
  font-family: var(--gk-title-font), "Nunito", "Inter", sans-serif !important;
  line-height: 0.94 !important;
}

.splash-copy h1 span {
  font-size: clamp(2.15rem, 4vw, 4rem) !important;
}

.splash-copy h1 strong {
  font-size: clamp(3rem, 6vw, 6.1rem) !important;
}

.splash-copy p {
  color: #fff4d8 !important;
  font-size: clamp(1rem, 1.35vw, 1.16rem) !important;
}

.splash-copy .primary-button.splash-play-button {
  min-height: 78px !important;
  border-color: rgba(255, 216, 107, 0.86) !important;
  color: #fff9ef !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 216, 107, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.96), rgba(255, 111, 174, 0.92) 54%, rgba(30, 23, 68, 0.98)) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42) !important;
  box-shadow:
    0 22px 54px rgba(255, 111, 174, 0.28),
    0 0 0 6px rgba(85, 223, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -10px 24px rgba(0, 0, 0, 0.22) !important;
}

.splash-copy .primary-button.splash-play-button span,
.splash-copy .primary-button.splash-play-button small {
  color: #fff9ef !important;
}

.splash-copy .primary-button.splash-play-button small {
  opacity: 0.82;
}

.travel-transition {
  background:
    linear-gradient(180deg, rgba(3, 4, 13, 0.78), rgba(3, 4, 13, 0.86)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat !important;
}

.travel-transition__copy {
  aspect-ratio: 16 / 7;
  display: grid;
  place-items: center;
  align-content: center;
  border-color: rgba(255, 216, 107, 0.42) !important;
  background:
    radial-gradient(circle at 52% 0%, rgba(85, 223, 255, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(30, 23, 68, 0.84), rgba(8, 9, 28, 0.9)) !important;
  color: #fff9ef !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.travel-transition__copy strong,
.travel-transition__copy span {
  color: #fff9ef !important;
}

@keyframes splashCinematicDrift {
  from { transform: scale(1.05) translate3d(-0.6%, 0, 0); }
  to { transform: scale(1.09) translate3d(0.8%, -0.7%, 0); }
}

@keyframes splashFrameFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -8px, 0); }
}

@keyframes splashLightSweep {
  0%, 48% { transform: translateX(-160%) skewX(-12deg); opacity: 0; }
  60% { opacity: 0.72; }
  76%, 100% { transform: translateX(620%) skewX(-12deg); opacity: 0; }
}

@keyframes splashSparkleFloat {
  from { transform: translate3d(0, 0, 0) scale(0.72); opacity: 0.45; }
  to { transform: translate3d(0, -16px, 0) scale(1.08); opacity: 0.94; }
}

@media (max-width: 980px) {
  .splash-copy {
    left: 50% !important;
    top: 47% !important;
    width: min(720px, calc(100vw - 42px)) !important;
    text-align: center !important;
    transform: translate(-50%, -50%) !important;
  }

  .splash-copy .eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 560px) {
  .splash-screen {
    padding: 10px !important;
  }

  .splash-cinema-frame {
    width: 100vw;
    min-height: 100dvh;
    border-radius: 0;
  }

  .splash-screen::after {
    background:
      linear-gradient(180deg, #03040d 0 5.5%, transparent 5.5% 94.5%, #03040d 94.5% 100%),
      linear-gradient(90deg, rgba(3, 4, 13, 0.72), rgba(3, 4, 13, 0.2) 50%, rgba(3, 4, 13, 0.72)) !important;
  }
}

/* v102 Glowkin Luminous Fantasy character select rebuild */
#loginScreen {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 216, 107, 0.18), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(85, 223, 255, 0.2), transparent 30%),
    linear-gradient(145deg, #1e1744 0%, #38206e 48%, #161233 100%);
}

#loginScreen .login-card {
  width: min(1500px, calc(100vw - 34px)) !important;
  max-height: calc(100dvh - 28px) !important;
  overflow: auto !important;
  padding: clamp(16px, 2vw, 26px) !important;
  border: 1px solid rgba(255, 244, 216, 0.54) !important;
  border-radius: 8px !important;
  color: var(--gk-text-dark) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 216, 107, 0.18), transparent 34%),
    radial-gradient(circle at 100% 4%, rgba(85, 223, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.97), rgba(255, 244, 216, 0.94)) !important;
  box-shadow:
    0 30px 90px rgba(6, 4, 24, 0.44),
    0 0 0 8px rgba(255, 249, 239, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

#loginScreen .menu-copy {
  gap: 5px;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
}

#loginScreen .menu-copy .eyebrow {
  margin-bottom: 2px !important;
  border-color: rgba(106, 76, 255, 0.22) !important;
  color: var(--gk-moonlit-violet) !important;
  background: rgba(255, 255, 255, 0.56) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 8px 18px rgba(48,34,71,.08) !important;
}

#gameTitle {
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  color: var(--gk-moonlit-violet) !important;
  font-family: var(--gk-title-font), "Nunito", "Inter", sans-serif !important;
  line-height: 0.92 !important;
  text-align: center !important;
  text-shadow: none !important;
}

#gameTitle span {
  color: var(--gk-pepper-pink);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

#gameTitle strong {
  color: transparent;
  background: linear-gradient(180deg, #6a4cff 0%, #302247 56%, #ff6fae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.4rem, 5.6vw, 5.45rem);
  font-weight: 1000;
  letter-spacing: 0;
  filter: drop-shadow(0 4px 0 rgba(255,255,255,.9)) drop-shadow(0 0 20px rgba(85,223,255,.18));
}

#loginScreen .subtitle {
  max-width: 760px;
  margin: 6px 0 0 !important;
  color: rgba(48, 34, 71, 0.78) !important;
  font: 900 clamp(0.95rem, 1.2vw, 1.08rem)/1.35 var(--gk-body-font) !important;
}

#loginScreen .profile-form {
  margin-top: 14px !important;
  gap: 14px !important;
}

#loginScreen .menu-layout {
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: clamp(14px, 1.8vw, 22px) !important;
}

#loginScreen .menu-showcase,
#loginScreen .menu-panel,
#loginScreen .save-panel,
#loginScreen .color-picker-panel,
#loginScreen .field {
  border: 1px solid rgba(106, 76, 255, 0.18) !important;
  border-radius: 8px !important;
  color: var(--gk-text-dark) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,244,216,.42)),
    rgba(255, 249, 239, 0.68) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 14px 30px rgba(48,34,71,.1) !important;
}

#loginScreen .menu-showcase {
  min-height: 0 !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  align-self: start !important;
  overflow: hidden !important;
}

#loginScreen .menu-hero-stage {
  min-height: 292px !important;
  height: clamp(284px, 33vh, 340px) !important;
  border-radius: 8px 8px 0 0 !important;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 216, 107, 0.34), transparent 20%),
    radial-gradient(circle at 54% 42%, rgba(85, 223, 255, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.18), rgba(255, 249, 239, 0.56)) !important;
}

#loginScreen .menu-hero-stage::before {
  left: 18% !important;
  right: 18% !important;
  bottom: 24px !important;
  height: 36px !important;
  background: radial-gradient(ellipse at center, rgba(106, 76, 255, 0.24), transparent 68%) !important;
}

#loginScreen #menuHeroCanvas {
  width: min(300px, 92%) !important;
  max-height: 318px !important;
  filter: drop-shadow(0 22px 24px rgba(48,34,71,.22));
}

#loginScreen .menu-hero-copy {
  gap: 7px !important;
  padding: 14px 16px 16px !important;
  color: var(--gk-text-dark) !important;
}

#loginScreen .menu-hero-copy strong {
  color: var(--gk-moonlit-violet) !important;
  font: 1000 1.28rem/1.05 var(--gk-title-font), "Nunito", sans-serif !important;
  text-shadow: none !important;
}

#loginScreen .menu-hero-copy span,
#loginScreen .menu-hero-copy p {
  color: rgba(48, 34, 71, 0.74) !important;
  font-size: 0.86rem !important;
}

#loginScreen .menu-hero-stats {
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 2px !important;
}

#loginScreen .menu-hero-stats div {
  padding: 8px 9px !important;
  border-color: rgba(106, 76, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.58) !important;
}

#loginScreen .menu-hero-stats dt,
#loginScreen .chooser-head span,
#loginScreen .save-panel-head span {
  color: rgba(48, 34, 71, 0.66) !important;
}

#loginScreen .menu-hero-stats dd,
#loginScreen .chooser-head strong,
#loginScreen .save-panel-head strong {
  color: var(--gk-ink-plum) !important;
}

#loginScreen .menu-panel {
  display: grid;
  gap: 12px;
  padding: 14px !important;
}

#loginScreen .save-panel {
  padding: 12px !important;
}

#loginScreen .save-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

#loginScreen .save-panel-head strong,
#loginScreen .chooser-head strong {
  font: 1000 1rem/1.1 var(--gk-title-font), "Nunito", sans-serif !important;
}

#loginScreen .save-slot-list {
  display: block !important;
  overflow-x: auto !important;
  padding-bottom: 2px !important;
}

#loginScreen .save-slot-table {
  min-width: 790px !important;
  gap: 7px !important;
  margin: 10px 0 0 !important;
}

#loginScreen .save-slot-row {
  grid-template-columns: 58px minmax(170px, .95fr) 92px 102px minmax(220px, 1.25fr) 82px !important;
  gap: 9px !important;
}

#loginScreen .save-slot-row--head {
  min-height: 32px !important;
  padding: 0 12px !important;
  border: 0 !important;
  color: var(--gk-moonlit-violet) !important;
  background: transparent !important;
  font: 1000 0.72rem/1.1 var(--gk-body-font) !important;
}

#loginScreen .save-slot-card.save-slot-row {
  min-height: 66px !important;
  padding: 9px 12px !important;
  border: 1px solid rgba(106, 76, 255, 0.18) !important;
  color: var(--gk-text-dark) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,244,216,.48)),
    rgba(255, 249, 239, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(48,34,71,.08) !important;
}

#loginScreen .save-slot-card.save-slot-row.is-selected {
  border-color: rgba(255, 216, 107, 0.82) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 216, 107, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,244,216,.74)) !important;
  box-shadow: 0 0 0 3px rgba(255,216,107,.18), 0 12px 24px rgba(48,34,71,.12) !important;
}

#loginScreen .save-slot-index,
#loginScreen .save-slot-cell,
#loginScreen .save-slot-progress,
#loginScreen .save-slot-hero em,
#loginScreen .save-slot-row em {
  color: rgba(48, 34, 71, 0.72) !important;
  font-weight: 900 !important;
}

#loginScreen .save-slot-card strong,
#loginScreen .save-slot-hero strong,
#loginScreen .save-slot-row strong {
  color: var(--gk-ink-plum) !important;
}

#loginScreen .save-slot-avatar {
  border: 0 !important;
  background-color: transparent !important;
  background-size: contain !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
}

#loginScreen .field {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
}

#loginScreen .field span {
  color: var(--gk-moonlit-violet) !important;
  font-weight: 1000 !important;
}

#loginScreen .field input {
  min-height: 42px !important;
  border-color: rgba(106, 76, 255, 0.18) !important;
  color: var(--gk-ink-plum) !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

#loginScreen .chooser-head {
  padding: 0 2px !important;
}

#loginScreen .chooser-head--compact {
  padding: 0 !important;
}

#loginScreen .chooser {
  grid-template-columns: repeat(7, minmax(86px, 1fr)) !important;
  gap: 7px 8px !important;
  padding: 2px 0 0 !important;
}

#loginScreen .avatar-choice {
  position: relative !important;
  min-height: 112px !important;
  grid-template-rows: 68px auto auto !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: var(--gk-text-dark) !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#loginScreen .avatar-choice::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 42px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--swatch) 32%, transparent), transparent 70%);
  opacity: 0.7;
  z-index: -1;
}

#loginScreen .avatar-choice:hover,
#loginScreen .avatar-choice.is-selected {
  transform: translateY(-2px) !important;
  background: transparent !important;
}

#loginScreen .avatar-choice.is-selected::before {
  left: 4%;
  right: 4%;
  top: 36px;
  height: 34px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--swatch) 54%, #fff4d8 18%), transparent 72%);
  opacity: 1;
}

#loginScreen .avatar-choice.is-selected::after {
  content: "Selected";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  min-width: 66px;
  border-radius: 999px;
  padding: 2px 8px;
  color: #302247;
  background: linear-gradient(135deg, #fff9ef, #ffd86b);
  font: 1000 0.58rem/1.1 var(--gk-body-font);
  box-shadow: 0 6px 14px rgba(48,34,71,.16);
}

#loginScreen .avatar-choice-preview {
  width: 78px !important;
  height: 68px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 12px 10px rgba(48, 34, 71, 0.2)) !important;
}

#loginScreen .avatar-choice-name {
  color: var(--gk-ink-plum) !important;
  font-size: 0.66rem !important;
  line-height: 1.05 !important;
  text-shadow: none !important;
}

#loginScreen .avatar-choice-role {
  color: rgba(48, 34, 71, 0.62) !important;
  font-size: 0.56rem !important;
  line-height: 1.05 !important;
}

#loginScreen .color-picker-panel {
  display: grid;
  gap: 9px;
  padding: 10px 12px !important;
}

#loginScreen .swatches {
  justify-content: flex-start !important;
  gap: 9px !important;
}

#loginScreen .swatch {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.95), transparent 20%),
    var(--swatch) !important;
  box-shadow: 0 7px 14px rgba(48,34,71,.16), inset 0 -5px 10px rgba(0,0,0,.12) !important;
}

#loginScreen .swatch.is-selected {
  outline: 3px solid rgba(255, 216, 107, 0.72) !important;
  outline-offset: 2px !important;
  transform: translateY(-1px) scale(1.04);
}

#loginScreen .menu-actions {
  justify-content: flex-start !important;
  gap: 10px !important;
}

#loginScreen .menu-actions .primary-button,
#loginScreen .menu-actions .secondary-button {
  min-height: 46px !important;
  border-radius: 8px !important;
  font-weight: 1000 !important;
}

#loginScreen .menu-actions .primary-button {
  border-color: rgba(255, 216, 107, 0.78) !important;
  color: #fff9ef !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,216,107,.26), transparent 38%),
    linear-gradient(135deg, #6a4cff, #ff6fae 58%, #38206e) !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.34) !important;
}

#loginScreen .menu-actions .secondary-button {
  color: var(--gk-moonlit-violet) !important;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,244,216,.82)) !important;
  border-color: rgba(106, 76, 255, 0.2) !important;
}

#loginScreen .server-hint {
  color: rgba(48, 34, 71, 0.7) !important;
  font-weight: 900 !important;
}

@media (max-width: 1180px) {
  #loginScreen .menu-layout {
    grid-template-columns: 1fr !important;
  }

  #loginScreen .menu-showcase {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
  }

  #loginScreen .menu-hero-stage {
    border-radius: 8px 0 0 8px !important;
  }
}

@media (max-width: 760px) {
  #loginScreen .login-card {
    width: calc(100vw - 18px) !important;
    max-height: none !important;
    padding: 12px !important;
  }

  #gameTitle strong {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  #loginScreen .menu-showcase,
  #loginScreen .field {
    grid-template-columns: 1fr !important;
  }

  #loginScreen .menu-hero-stage {
    border-radius: 8px 8px 0 0 !important;
  }

  #loginScreen .chooser {
    grid-template-columns: repeat(3, minmax(84px, 1fr)) !important;
  }

  #loginScreen .menu-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  #loginScreen .save-slot-table {
    min-width: 680px !important;
  }
}

/* v102.1 make character select fit a 1080p viewport without clipping the chooser/actions */
#loginScreen .login-card {
  padding: clamp(12px, 1.45vw, 20px) !important;
}

#loginScreen .menu-copy {
  gap: 2px;
}

#gameTitle span {
  font-size: clamp(1.05rem, 1.55vw, 1.45rem) !important;
}

#gameTitle strong {
  font-size: clamp(2.35rem, 4.4vw, 4.55rem) !important;
}

#loginScreen .subtitle {
  margin-top: 2px !important;
}

#loginScreen .profile-form {
  margin-top: 10px !important;
}

#loginScreen .menu-layout {
  gap: 14px !important;
}

#loginScreen .menu-hero-stage {
  min-height: 248px !important;
  height: clamp(248px, 27vh, 292px) !important;
}

#loginScreen #menuHeroCanvas {
  width: min(268px, 88%) !important;
}

#loginScreen .menu-hero-copy {
  padding: 12px 14px 14px !important;
}

#loginScreen .menu-hero-copy strong {
  font-size: 1.12rem !important;
}

#loginScreen .menu-hero-copy span,
#loginScreen .menu-hero-copy p {
  font-size: 0.8rem !important;
  line-height: 1.25 !important;
}

#loginScreen .menu-hero-stats div {
  padding: 7px 8px !important;
}

#loginScreen .menu-hero-stats dd {
  font-size: 0.7rem !important;
}

#loginScreen .menu-panel {
  gap: 9px !important;
  padding: 12px !important;
}

#loginScreen .save-panel {
  padding: 10px 12px !important;
}

#loginScreen .save-slot-table {
  gap: 5px !important;
}

#loginScreen .save-slot-row--head {
  min-height: 26px !important;
  font-size: 0.66rem !important;
}

#loginScreen .save-slot-card.save-slot-row {
  min-height: 48px !important;
  padding: 6px 10px !important;
}

#loginScreen .save-slot-row {
  grid-template-columns: 54px minmax(164px, .95fr) 86px 94px minmax(206px, 1.2fr) 76px !important;
}

#loginScreen .save-slot-avatar {
  width: 32px !important;
  height: 32px !important;
}

#loginScreen .save-slot-hero {
  grid-template-columns: 34px 1fr !important;
  column-gap: 8px !important;
}

#loginScreen .save-slot-hero strong,
#loginScreen .save-slot-row strong {
  font-size: 0.84rem !important;
}

#loginScreen .save-slot-index,
#loginScreen .save-slot-cell,
#loginScreen .save-slot-progress,
#loginScreen .save-slot-hero em,
#loginScreen .save-slot-row em {
  font-size: 0.68rem !important;
}

#loginScreen .field,
#loginScreen .color-picker-panel {
  padding: 8px 10px !important;
}

#loginScreen .field input {
  min-height: 38px !important;
}

#loginScreen .chooser {
  gap: 5px 8px !important;
}

#loginScreen .avatar-choice {
  min-height: 88px !important;
  grid-template-rows: 52px auto auto !important;
}

#loginScreen .avatar-choice-preview {
  width: 64px !important;
  height: 54px !important;
}

#loginScreen .avatar-choice::before {
  top: 32px !important;
  height: 18px !important;
}

#loginScreen .avatar-choice.is-selected::before {
  top: 28px !important;
  height: 26px !important;
}

#loginScreen .avatar-choice-name {
  font-size: 0.6rem !important;
}

#loginScreen .avatar-choice-role {
  font-size: 0.5rem !important;
}

#loginScreen .swatch {
  width: 28px !important;
  height: 28px !important;
}

#loginScreen .menu-actions .primary-button,
#loginScreen .menu-actions .secondary-button {
  min-height: 40px !important;
}

/* v102.2 final fit pass */
#loginScreen .login-card {
  padding: 10px 18px !important;
}

#loginScreen .menu-copy .eyebrow {
  min-height: 0 !important;
  padding: 4px 9px !important;
  font-size: 0.66rem !important;
}

#gameTitle span {
  font-size: clamp(0.95rem, 1.25vw, 1.24rem) !important;
}

#gameTitle strong {
  font-size: clamp(2.15rem, 3.65vw, 3.85rem) !important;
}

#loginScreen .subtitle {
  font-size: 0.92rem !important;
}

#loginScreen .profile-form {
  margin-top: 8px !important;
}

#loginScreen .menu-hero-stage {
  min-height: 230px !important;
  height: clamp(230px, 24vh, 262px) !important;
}

#loginScreen #menuHeroCanvas {
  width: min(242px, 86%) !important;
}

#loginScreen .menu-hero-copy {
  padding: 10px 13px 12px !important;
}

#loginScreen .menu-hero-stats div {
  padding: 6px 7px !important;
}

#loginScreen .save-panel {
  padding: 8px 10px !important;
}

#loginScreen .save-slot-row--head {
  min-height: 20px !important;
  font-size: 0.62rem !important;
}

#loginScreen .save-slot-card.save-slot-row {
  min-height: 39px !important;
  padding: 4px 9px !important;
}

#loginScreen .save-slot-table {
  gap: 4px !important;
  margin-top: 6px !important;
}

#loginScreen .save-slot-avatar {
  width: 27px !important;
  height: 27px !important;
}

#loginScreen .save-slot-hero {
  grid-template-columns: 29px 1fr !important;
}

#loginScreen .save-slot-hero strong,
#loginScreen .save-slot-row strong {
  font-size: 0.78rem !important;
}

#loginScreen .save-slot-index,
#loginScreen .save-slot-cell,
#loginScreen .save-slot-progress,
#loginScreen .save-slot-hero em,
#loginScreen .save-slot-row em {
  font-size: 0.62rem !important;
}

#loginScreen .field,
#loginScreen .color-picker-panel {
  padding: 7px 9px !important;
}

#loginScreen .field input {
  min-height: 34px !important;
}

#loginScreen .chooser {
  gap: 3px 8px !important;
}

#loginScreen .avatar-choice {
  min-height: 70px !important;
  grid-template-rows: 43px auto !important;
}

#loginScreen .avatar-choice-preview {
  width: 54px !important;
  height: 45px !important;
}

#loginScreen .avatar-choice-role {
  display: none !important;
}

#loginScreen .avatar-choice::before {
  top: 26px !important;
  height: 15px !important;
}

#loginScreen .avatar-choice.is-selected::before {
  top: 23px !important;
  height: 22px !important;
}

#loginScreen .avatar-choice.is-selected::after {
  bottom: -7px !important;
  padding: 1px 7px !important;
  font-size: 0.52rem !important;
}

#loginScreen .color-picker-panel {
  grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr);
  align-items: center;
}

#loginScreen .color-picker-panel .chooser-head {
  display: grid;
  gap: 2px;
}

#loginScreen .swatch {
  width: 25px !important;
  height: 25px !important;
}

#loginScreen .menu-actions {
  margin-top: -1px !important;
}

#loginScreen .server-hint {
  display: none !important;
}

/* v107 admin moderation + respawn controls */
.admin-dialog .admin-settings-panel {
  gap: 11px !important;
  padding: 14px !important;
  color: #fff9ef !important;
  border-color: rgba(85, 223, 255, 0.28) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(85, 223, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(56, 32, 110, 0.96), rgba(30, 23, 68, 0.98)) !important;
}

.admin-dialog .admin-settings-panel .gear-section-title,
.admin-dialog .admin-settings-panel strong,
.admin-dialog .admin-settings-panel em {
  color: #fff9ef !important;
}

.admin-dialog .admin-settings-panel em {
  opacity: 0.82;
}

.admin-dialog .admin-setting-row,
.admin-dialog .admin-toggle-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(260px, 1.15fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px !important;
  color: #fff9ef !important;
  border: 1px solid rgba(85, 223, 255, 0.22) !important;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.08), transparent 38%),
    rgba(30, 23, 68, 0.78) !important;
}

.admin-dialog .admin-setting-row > span:first-child,
.admin-dialog .admin-toggle-row > span:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-dialog .admin-setting-row strong,
.admin-dialog .admin-toggle-row strong {
  font-size: 0.88rem;
  white-space: normal !important;
}

.admin-dialog .admin-setting-row em,
.admin-dialog .admin-toggle-row em {
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: normal !important;
}

.admin-dialog .setting-slider-wrap {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(82px, auto);
  align-items: center;
  gap: 12px;
}

.admin-dialog .admin-setting-row input[type="range"] {
  height: 8px;
  accent-color: #55dfff !important;
}

.admin-dialog .admin-setting-row .setting-value {
  min-width: 82px;
  padding: 6px 9px;
  border: 1px solid rgba(85, 223, 255, 0.28);
  border-radius: 999px;
  color: #302247 !important;
  background: linear-gradient(135deg, #fff9ef, #bff4ff);
  font-weight: 950;
  text-align: center;
}

.admin-dialog .admin-toggle-row button {
  justify-self: end;
  display: grid;
  min-width: 132px;
  min-height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 249, 239, 0.62);
  border-radius: 999px;
  color: #302247 !important;
  background: linear-gradient(135deg, #76f0a1, #55dfff);
  box-shadow:
    0 10px 24px rgba(85, 223, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.admin-dialog .admin-toggle-row button b,
.admin-dialog .admin-toggle-row button small {
  color: #302247 !important;
  line-height: 1;
}

.admin-dialog .admin-toggle-row button b {
  font-size: 0.9rem;
  font-weight: 950;
}

.admin-dialog .admin-toggle-row button small {
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-dialog .admin-toggle-row.is-off button {
  color: #fff9ef !important;
  border-color: rgba(255, 249, 239, 0.22);
  background: linear-gradient(135deg, rgba(48, 34, 71, 0.92), rgba(30, 23, 68, 0.96));
}

.admin-dialog .admin-toggle-row.is-off button b,
.admin-dialog .admin-toggle-row.is-off button small {
  color: #fff9ef !important;
}

.admin-dialog .admin-player-table {
  min-width: 1280px;
}

.admin-dialog .admin-player-table th {
  color: #fff4d8 !important;
  background: rgba(30, 23, 68, 0.78) !important;
}

.admin-dialog .admin-player-table td {
  color: #fff9ef !important;
}

.admin-dialog .admin-player-table small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 249, 239, 0.72);
  font-size: 0.62rem;
  line-height: 1.15;
}

.admin-dialog .admin-status-pill {
  display: inline-grid;
  place-items: center;
  min-width: 72px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #302247 !important;
  background: linear-gradient(135deg, #76f0a1, #fff9ef);
  font-size: 0.68rem;
  font-weight: 950;
}

.admin-dialog .admin-status-pill.is-banned {
  color: #302247 !important;
  background: linear-gradient(135deg, #ff6fae, #ffd86b);
}

.admin-dialog .mini-button.admin-ban-player {
  min-width: 76px;
  color: #302247 !important;
  border-color: rgba(255, 249, 239, 0.5);
  background: linear-gradient(135deg, #ff6fae, #ffd86b) !important;
  font-weight: 950;
}

.admin-dialog .mini-button.admin-ban-player.is-unban {
  color: #302247 !important;
  background: linear-gradient(135deg, #76f0a1, #55dfff) !important;
}

@media (max-width: 820px) {
  .admin-dialog .admin-setting-row,
  .admin-dialog .admin-toggle-row,
  .admin-dialog .setting-slider-wrap {
    grid-template-columns: 1fr;
  }

  .admin-dialog .admin-toggle-row button {
    justify-self: stretch;
  }
}

/* v109 final Glowkin polish: cinematic atlas splash, readable gold controls, relay test, and stable transition cards. */
.splash-screen {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 216, 107, 0.22), transparent 26%),
    radial-gradient(circle at 76% 24%, rgba(85, 223, 255, 0.24), transparent 30%),
    radial-gradient(circle at 54% 90%, rgba(255, 111, 174, 0.16), transparent 28%),
    linear-gradient(180deg, #08091c 0%, #21104f 48%, #08091c 100%) !important;
}

.splash-screen::before {
  inset: -3% !important;
  background:
    linear-gradient(90deg, rgba(4, 7, 18, 0.84), rgba(4, 7, 18, 0.2) 40%, rgba(4, 7, 18, 0.5)),
    url("assets/png/maps/world/prismworlds-atlas-underlay.png?v=110") center / cover no-repeat !important;
  filter: saturate(1.18) contrast(1.04) brightness(0.8) blur(3px) !important;
  opacity: 0.92 !important;
  transform: scale(1.04) !important;
  animation: splashCinematicDrift 24s ease-in-out infinite alternate !important;
}

.splash-screen::after {
  background:
    linear-gradient(180deg, #03040d 0 8%, transparent 8% 92%, #03040d 92% 100%),
    radial-gradient(circle at 70% 42%, rgba(85, 223, 255, 0.15), transparent 20%),
    linear-gradient(90deg, rgba(3, 4, 13, 0.8), rgba(3, 4, 13, 0.06) 50%, rgba(3, 4, 13, 0.58)) !important;
}

.splash-cinema-frame {
  border-color: rgba(255, 244, 216, 0.44) !important;
  background:
    linear-gradient(90deg, rgba(4, 7, 18, 0.62), rgba(4, 7, 18, 0.04) 50%, rgba(4, 7, 18, 0.3)),
    radial-gradient(circle at 66% 38%, rgba(85, 223, 255, 0.2), transparent 22%),
    url("assets/png/maps/world/prismworlds-atlas-underlay.png?v=110") center / cover no-repeat !important;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.55),
    0 0 0 8px rgba(255, 249, 239, 0.045),
    0 0 60px rgba(85, 223, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -120px 130px rgba(3, 4, 13, 0.34) !important;
}

.splash-copy {
  width: min(620px, 43vw) !important;
}

.splash-copy .eyebrow {
  color: #fff4d8 !important;
  border-color: rgba(255, 216, 107, 0.56) !important;
  background: linear-gradient(135deg, rgba(30, 23, 68, 0.74), rgba(106, 76, 255, 0.48)) !important;
}

.splash-copy h1 span,
.splash-copy h1 strong {
  color: #fff9ef !important;
  text-shadow:
    0 4px 0 rgba(48, 34, 71, 0.34),
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(85, 223, 255, 0.22) !important;
}

.splash-copy h1 strong {
  background: linear-gradient(180deg, #fff9ef 0%, #ffd86b 48%, #ffb45e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.splash-copy .splash-tagline {
  max-width: 560px;
  color: #fff4d8 !important;
  font-weight: 900 !important;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.72) !important;
}

.splash-copy .primary-button.splash-play-button,
.splash-copy .primary-button.splash-play-button:hover {
  color: #fff9ef !important;
  border-color: rgba(255, 244, 216, 0.82) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 249, 239, 0.34), transparent 38%),
    linear-gradient(135deg, #6a4cff 0%, #ff6fae 50%, #302247 100%) !important;
}

.splash-copy .primary-button.splash-play-button span,
.splash-copy .primary-button.splash-play-button small {
  color: #fff9ef !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42) !important;
}

.travel-transition {
  background:
    linear-gradient(180deg, rgba(3, 4, 13, 0.78), rgba(3, 4, 13, 0.88)),
    url("assets/png/maps/world/prismworlds-atlas-underlay.png?v=110") center / cover no-repeat !important;
}

.travel-transition__copy {
  width: min(880px, calc(100vw - 34px)) !important;
  aspect-ratio: 16 / 6.8 !important;
  padding: clamp(24px, 4vw, 52px) !important;
  border-color: rgba(255, 216, 107, 0.58) !important;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 216, 107, 0.24), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(85, 223, 255, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(30, 23, 68, 0.9), rgba(8, 9, 28, 0.94)) !important;
}

.travel-transition__copy strong {
  color: #ffd86b !important;
  font-size: clamp(1.8rem, 4.4vw, 4.4rem) !important;
  text-align: center;
}

.travel-transition__copy span {
  max-width: 720px;
  color: #fff9ef !important;
  font-size: clamp(1rem, 1.55vw, 1.3rem) !important;
  line-height: 1.36 !important;
  text-align: center;
}

.admin-dialog .admin-email-test-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.2fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 216, 107, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 216, 107, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.1), rgba(30, 23, 68, 0.78));
}

.admin-dialog .admin-email-test-copy {
  display: grid;
  gap: 4px;
}

.admin-dialog .admin-email-test-copy strong {
  color: #ffd86b !important;
  font-size: 1rem;
}

.admin-dialog .admin-email-test-copy span {
  color: #fff9ef !important;
  font-weight: 850;
  line-height: 1.32;
}

.admin-dialog .admin-email-test-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, auto);
  gap: 10px;
  align-items: stretch;
}

.admin-dialog .admin-email-test-form input {
  min-height: 48px;
  border: 1px solid rgba(85, 223, 255, 0.34) !important;
  border-radius: 8px !important;
  color: #302247 !important;
  background: linear-gradient(180deg, #fff9ef, #fff4d8) !important;
  font-weight: 900;
}

.admin-dialog .admin-email-test-button {
  min-height: 48px;
  margin: 0 !important;
  color: #302247 !important;
  background: linear-gradient(135deg, #76f0a1, #55dfff) !important;
}

.admin-dialog .admin-email-test-button strong,
.admin-dialog .admin-email-test-button span {
  color: #302247 !important;
}

.settings-dialog .setting-value,
.admin-dialog .admin-setting-row .setting-value,
.trial-badge,
.prism-shop-tabs b,
.prism-product-purchase .shop-price,
.shop-item .shop-price,
.credit-pack-intro span,
.shop-completion-banner button,
.sale-reminder-actions button:first-child {
  color: #302247 !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 58%, #ffb45e) !important;
  text-shadow: none !important;
}

.prism-product-card.is-owned,
.shop-item.is-owned {
  color: #302247 !important;
  border-color: rgba(118, 240, 161, 0.66) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(118, 240, 161, 0.28), transparent 42%),
    linear-gradient(180deg, #fff9ef, #eafff1) !important;
}

.prism-product-card.is-owned strong,
.prism-product-card.is-owned p,
.prism-product-card.is-owned small,
.prism-product-card.is-owned span,
.shop-item.is-owned strong,
.shop-item.is-owned p,
.shop-item.is-owned small,
.shop-item.is-owned span {
  color: #302247 !important;
  text-shadow: none !important;
}

.grownup-gate button,
.provider-row button,
.prism-product-actions button,
.mini-button.admin-ban-player {
  text-shadow: none !important;
}

@media (max-width: 820px) {
  .admin-dialog .admin-email-test-panel,
  .admin-dialog .admin-email-test-form {
    grid-template-columns: 1fr;
  }
}

/* v110 Luminous Storybook polish: bring HUD, Admin Studio, Shop, splash, and transitions back onto one premium Glowkin system. */
:root {
  --gk-card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 244, 216, 0.88) 48%, rgba(245, 224, 255, 0.86));
  --gk-card-bg-deep: radial-gradient(circle at 0% 0%, rgba(85, 223, 255, 0.2), transparent 38%), linear-gradient(145deg, rgba(255, 249, 239, 0.95), rgba(255, 244, 216, 0.9));
  --gk-violet-panel: radial-gradient(circle at 20% 0%, rgba(255, 216, 107, 0.2), transparent 34%), linear-gradient(145deg, rgba(106, 76, 255, 0.9), rgba(56, 32, 110, 0.9));
}

.splash-screen {
  padding: clamp(12px, 2.2vw, 30px) !important;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 111, 174, 0.18), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(85, 223, 255, 0.24), transparent 30%),
    linear-gradient(180deg, #0a0822 0%, #1e1744 52%, #07111f 100%) !important;
}

.splash-screen::before {
  background:
    linear-gradient(90deg, rgba(30, 23, 68, 0.74), rgba(30, 23, 68, 0.1) 48%, rgba(30, 23, 68, 0.2)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat !important;
  filter: blur(8px) saturate(1.18) brightness(0.78) !important;
}

.splash-cinema-frame {
  border-color: rgba(255, 244, 216, 0.64) !important;
  background:
    linear-gradient(90deg, rgba(30, 23, 68, 0.58), rgba(30, 23, 68, 0.06) 46%, rgba(30, 23, 68, 0.18)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=110") center / cover no-repeat !important;
  box-shadow:
    0 34px 110px rgba(7, 8, 32, 0.58),
    0 0 0 9px rgba(255, 249, 239, 0.055),
    0 0 60px rgba(85, 223, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -120px 140px rgba(3, 4, 13, 0.22) !important;
}

.splash-copy {
  padding: 22px 24px !important;
  border: 1px solid rgba(255, 244, 216, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.16), rgba(255, 249, 239, 0.02)),
    rgba(30, 23, 68, 0.26);
  backdrop-filter: blur(5px);
}

.splash-copy .eyebrow {
  color: #fff9ef !important;
  background: linear-gradient(135deg, rgba(106, 76, 255, 0.78), rgba(255, 111, 174, 0.58)) !important;
}

.splash-copy h1 span,
.splash-copy h1 strong {
  text-shadow: 0 4px 0 rgba(48, 34, 71, 0.26), 0 18px 38px rgba(5, 4, 18, 0.58), 0 0 26px rgba(85, 223, 255, 0.2) !important;
}

.splash-copy .primary-button.splash-play-button {
  color: #fff9ef !important;
  border-color: rgba(255, 244, 216, 0.92) !important;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 249, 239, 0.38), transparent 40%),
    linear-gradient(135deg, #6a4cff 0%, #ff6fae 48%, #55dfff 100%) !important;
  box-shadow:
    0 24px 58px rgba(106, 76, 255, 0.28),
    0 0 0 6px rgba(255, 216, 107, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -10px 24px rgba(48, 34, 71, 0.28) !important;
}

.travel-transition {
  background:
    linear-gradient(180deg, rgba(30, 23, 68, 0.42), rgba(7, 8, 32, 0.76)),
    url("assets/png/ui/prismworlds-transition-storybook.png?v=110") center / cover no-repeat !important;
}

.travel-transition__copy {
  color: #302247 !important;
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 216, 107, 0.36), transparent 38%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.92), rgba(255, 244, 216, 0.86)) !important;
  border-color: rgba(255, 216, 107, 0.72) !important;
}

.travel-transition__copy strong {
  color: #6a4cff !important;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.82), 0 0 22px rgba(255, 216, 107, 0.26);
}

.travel-transition__copy span {
  color: #302247 !important;
  font-weight: 900;
}

.topbar,
.profile-panel,
.battle-panel,
.chat-panel,
.minimap-panel,
.zoom-panel,
.ability-bar,
.roster-panel {
  border: 1px solid rgba(106, 76, 255, 0.24) !important;
  color: #302247 !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(85, 223, 255, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.92), rgba(255, 244, 216, 0.82)) !important;
  box-shadow:
    0 18px 48px rgba(48, 34, 71, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.84) !important;
  backdrop-filter: blur(12px) saturate(1.14);
}

.profile-card strong,
.quest-panel strong,
.battle-panel strong,
.chat-panel strong,
.minimap-panel strong,
.roster-panel strong,
.topbar strong,
.profile-card span,
.battle-panel span,
.chat-panel span,
.minimap-panel span,
.roster-panel span {
  color: #302247 !important;
  text-shadow: none !important;
}

.profile-panel .panel-label,
.battle-panel .panel-label,
.quest-panel .panel-label,
.chat-panel .panel-label,
.minimap-panel .panel-label {
  color: #6a4cff !important;
}

.quest-panel {
  color: #302247 !important;
  border: 1px solid rgba(255, 216, 107, 0.58) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 216, 107, 0.24), transparent 36%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.96), rgba(255, 244, 216, 0.9)) !important;
}

.stat-grid span,
.equipped-gear-badge,
.objective-meter-chips span,
.buff-icon {
  color: #302247 !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 244, 216, 0.8)) !important;
  border-color: rgba(106, 76, 255, 0.22) !important;
}

.ability-bar {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 107, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.88), rgba(245, 224, 255, 0.76)) !important;
}

.ability-button {
  border-color: rgba(106, 76, 255, 0.26) !important;
  color: #302247 !important;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(135deg, #fff4d8, #ffd86b 62%, #ffb45e) !important;
}

.ability-button--super {
  color: #fff9ef !important;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.32), transparent 44%),
    linear-gradient(135deg, #ff6fae, #6a4cff 58%, #55dfff) !important;
}

.world-map-card {
  color: #302247 !important;
  border-color: rgba(255, 216, 107, 0.58) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(85, 223, 255, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.97), rgba(255, 244, 216, 0.92)) !important;
}

#worldMapCanvas {
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(255, 249, 239, 0.58), 0 18px 44px rgba(48, 34, 71, 0.2);
}

.world-map-details,
.world-map-details strong,
.world-map-details span {
  color: #302247 !important;
}

.world-map-card .shop-note,
#worldMapSummary {
  color: rgba(48, 34, 71, 0.76) !important;
}

.world-map-details {
  border-color: rgba(106, 76, 255, 0.2) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(85, 223, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.94), rgba(255, 244, 216, 0.86)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 26px rgba(48, 34, 71, 0.12) !important;
}

.admin-dialog {
  color: #302247 !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(85, 223, 255, 0.28), transparent 34%),
    radial-gradient(circle at 86% 5%, rgba(255, 111, 174, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.98), rgba(255, 244, 216, 0.94)) !important;
  border-color: rgba(255, 216, 107, 0.68) !important;
}

.admin-dialog form {
  color: #302247 !important;
  background: transparent !important;
}

.admin-dialog .dialog-head strong,
.admin-status--studio strong,
.admin-overview-panel strong,
.admin-backlog-panel strong,
.admin-pricing-head strong,
.admin-pricing-title strong,
.admin-map-editor-head strong,
.admin-map-flow-head strong,
.admin-map-inspector > strong,
.admin-section-list strong,
.admin-record-list strong,
.admin-hierarchy-col strong,
.admin-editor strong,
.admin-dialog .admin-email-test-copy strong {
  color: #302247 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
}

.admin-dialog .shop-note,
.admin-dialog :is(.admin-status, .admin-command, .admin-overview-panel, .admin-section-list, .admin-record-list, .admin-editor, .admin-hierarchy, .admin-quick-panel, .admin-backlog-panel, .admin-pricing-panel, .admin-map-visualizer, .admin-map-flow, .admin-terrain-palette, .admin-object-palette, .admin-email-test-panel) {
  color: #302247 !important;
  border-color: rgba(106, 76, 255, 0.2) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(85, 223, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 244, 216, 0.78)) !important;
}

.admin-dialog :is(.admin-status--studio span, .admin-result, .admin-command span, .admin-overview-panel span, .admin-editor-note, .admin-section-list span, .admin-record-list span, .admin-hierarchy-col span, .admin-map-editor-head span, .admin-map-flow-head span, .admin-map-actions span, .admin-map-inspector > span, .admin-pricing-note, .admin-backlog-panel span, .admin-email-test-copy span) {
  color: rgba(48, 34, 71, 0.72) !important;
}

.admin-tabs {
  background: rgba(255, 249, 239, 0.78) !important;
  border-color: rgba(106, 76, 255, 0.18) !important;
}

.admin-tabs button,
.admin-section-list button,
.admin-record-list button,
.admin-hierarchy-col button,
.admin-map-toolbar button,
.admin-terrain-palette button,
.admin-object-palette button,
.admin-map-flow-col button {
  color: #302247 !important;
  border-color: rgba(106, 76, 255, 0.18) !important;
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.86), rgba(245, 224, 255, 0.8)) !important;
}

.admin-tabs button.is-active,
.admin-section-list button.is-active,
.admin-record-list button.is-active,
.admin-hierarchy-col button.is-active,
.admin-map-toolbar button.is-active,
.admin-terrain-palette button.is-active,
.admin-object-palette button.is-active,
.admin-map-flow-col button.is-active,
.admin-overview-chips button.is-active {
  color: #302247 !important;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.62), transparent 44%),
    linear-gradient(135deg, #ffd86b, #ffb45e) !important;
}

.admin-dialog :is(input, select, textarea, .admin-record-search, .admin-json-editor, .admin-map-point-grid input) {
  color: #302247 !important;
  background: rgba(255, 249, 239, 0.96) !important;
  border-color: rgba(106, 76, 255, 0.24) !important;
}

.admin-json-editor {
  background: linear-gradient(180deg, #fff9ef, #fff4d8) !important;
}

.prism-shop-dialog {
  width: min(1580px, calc(100vw - 18px)) !important;
  max-width: none !important;
}

.prism-shop-dialog form {
  color: #302247 !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 107, 0.24), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(85, 223, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.98), rgba(255, 244, 216, 0.94)) !important;
}

.prism-shop-dialog .dialog-head strong,
.prism-shop-dialog > form > .shop-note,
.shop-wallet-card span,
.shop-wallet-card strong,
.shop-wallet-card em,
.prism-product-copy strong,
.prism-product-copy p,
.prism-product-chips span,
.prism-product-purchase small,
.credit-pack-intro strong,
.credit-pack-intro p,
.credit-pack-main strong,
.credit-pack-main span,
.credit-pack-main em,
.shop-completion-banner strong,
.shop-completion-banner p,
.shop-completion-banner span,
.shop-completion-banner em {
  color: #302247 !important;
  text-shadow: none !important;
}

.shop-wallet-card,
.prism-product-card,
.credit-pack-hero,
.credit-pack-card,
.shop-completion-banner,
.prism-shop-dialog .grownup-gate {
  color: #302247 !important;
  border-color: rgba(106, 76, 255, 0.2) !important;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--product-accent, #55dfff) 18%, transparent), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 244, 216, 0.82)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 14px 32px rgba(48, 34, 71, 0.12) !important;
}

.prism-shop-dialog .grownup-gate,
.prism-shop-dialog .grownup-gate p,
.prism-shop-dialog .grownup-gate label,
.prism-shop-dialog .grownup-gate label span,
.prism-shop-dialog .grownup-gate .field span {
  color: #302247 !important;
  opacity: 1 !important;
}

.prism-shop-dialog .grownup-gate input {
  color: #302247 !important;
  background: linear-gradient(180deg, #fff9ef, #fff4d8) !important;
  border-color: rgba(106, 76, 255, 0.24) !important;
}

.credit-pack-hero {
  border-color: rgba(255, 216, 107, 0.68) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 107, 0.28), transparent 36%),
    radial-gradient(circle at 96% 0%, rgba(85, 223, 255, 0.18), transparent 38%),
    linear-gradient(145deg, #fff9ef, #fff4d8) !important;
}

.prism-product-art,
.shop-preview-art,
.shop-completion-art {
  background-color: rgba(255, 249, 239, 0.78) !important;
  box-shadow: inset 0 0 0 1px rgba(106, 76, 255, 0.16), 0 0 26px color-mix(in srgb, var(--product-accent, #55dfff) 22%, transparent) !important;
}

.prism-shop-tabs {
  background: rgba(255, 249, 239, 0.9) !important;
  border-radius: 8px;
}

.prism-shop-tabs button {
  color: #302247 !important;
  background: linear-gradient(135deg, rgba(255, 249, 239, 0.92), rgba(245, 224, 255, 0.82)) !important;
}

.prism-shop-tabs button.is-active {
  color: #302247 !important;
  background: linear-gradient(135deg, #ffd86b, #ffb45e) !important;
}

.shop-price,
.prism-product-purchase .shop-price,
.credit-pack-intro span,
.trial-badge,
.setting-value,
.admin-overview-chips button span {
  color: #302247 !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 62%, #ffb45e) !important;
  text-shadow: none !important;
}

.potion-tray {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.potion-button {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 249, 239, 0.44);
  border-radius: 12px;
  color: #fff9ef;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.5), transparent 34%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.86), rgba(30, 23, 68, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 22px rgba(30, 23, 68, 0.28);
  cursor: pointer;
}

.potion-button--hp {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(255, 111, 174, 0.94), rgba(106, 76, 255, 0.92));
}

.potion-button--mp {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(85, 223, 255, 0.9), rgba(106, 76, 255, 0.94));
}

.potion-button:disabled,
.potion-button.is-empty {
  opacity: 0.54;
  filter: saturate(0.78);
  cursor: not-allowed;
}

.potion-button img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(30, 23, 68, 0.3));
}

.potion-button span {
  display: grid;
  gap: 1px;
  min-width: 0;
  color: inherit;
}

.potion-button b,
.potion-button em,
.potion-button small {
  color: #fff9ef !important;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(30, 23, 68, 0.44);
}

.potion-button b {
  font-size: 0.82rem;
  font-weight: 950;
}

.potion-button em {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.potion-button small {
  position: absolute;
  top: 5px;
  right: 7px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #302247 !important;
  background: #fff9ef;
}

.local-shop-dialog {
  width: min(980px, calc(100vw - 32px)) !important;
  color: #302247 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 216, 107, 0.28), transparent 36%),
    radial-gradient(circle at 90% 4%, rgba(85, 223, 255, 0.18), transparent 38%),
    linear-gradient(145deg, #fff9ef, #fff4d8 42%, #f7e7ff) !important;
}

.local-shop-dialog form {
  padding: clamp(18px, 2vw, 28px) !important;
}

.local-shop-dialog .dialog-head strong,
.local-shop-dialog .shop-note {
  color: #302247 !important;
}

.local-shop-scene {
  position: relative;
  height: 126px;
  margin: 14px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(106, 76, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 26% 16%, rgba(255, 216, 107, 0.34), transparent 18%),
    radial-gradient(circle at 72% 18%, rgba(255, 111, 174, 0.2), transparent 20%),
    linear-gradient(180deg, rgba(106, 76, 255, 0.18), rgba(255, 244, 216, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 18px 36px rgba(48, 34, 71, 0.14);
}

.local-shop-scene::before,
.local-shop-scene::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.78);
}

.local-shop-scene::before {
  left: 7%;
  top: 20px;
  width: 70px;
  height: 70px;
  box-shadow: 140px 10px 0 rgba(85, 223, 255, 0.28), 420px 12px 0 rgba(255, 111, 174, 0.2), 620px -4px 0 rgba(255, 216, 107, 0.3);
}

.local-shop-scene::after {
  left: 0;
  right: 0;
  bottom: -30px;
  height: 72px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(135deg, rgba(255, 180, 94, 0.78), rgba(255, 216, 107, 0.82));
}

.local-shop-scene__counter {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 16px;
  z-index: 1;
  height: 38px;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(135deg, #ffb45e, #ffd86b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 8px 18px rgba(48, 34, 71, 0.12);
}

.local-shop-scene__shelves {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 22px;
  height: 52px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 46%, #ff6fae 0 9px, transparent 10px),
    radial-gradient(circle at 36% 44%, #55dfff 0 9px, transparent 10px),
    radial-gradient(circle at 56% 42%, #76f0a1 0 9px, transparent 10px),
    radial-gradient(circle at 76% 44%, #ffd86b 0 9px, transparent 10px),
    rgba(255, 249, 239, 0.68);
  box-shadow: inset 0 -8px 0 rgba(106, 76, 255, 0.15);
}

.local-shop-scene__lantern {
  position: absolute;
  right: 10%;
  top: 18px;
  z-index: 2;
  width: 44px;
  height: 56px;
  border-radius: 18px 18px 22px 22px;
  background: radial-gradient(circle at 50% 40%, #fff9ef, #ffd86b 48%, #ffb45e 76%);
  box-shadow: 0 0 34px rgba(255, 216, 107, 0.58);
}

.local-shop-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.local-shop-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 10px 12px;
  padding: 12px;
  border: 1px solid rgba(106, 76, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 244, 216, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 28px rgba(48, 34, 71, 0.12);
}

.local-shop-card.is-locked {
  opacity: 0.72;
}

.local-shop-art {
  display: grid;
  place-items: center;
  min-height: 82px;
  border-radius: 16px;
  color: #302247;
  font-weight: 950;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--item-accent, #55dfff) 34%, transparent), transparent 72%),
    linear-gradient(135deg, #fff9ef, #f3e8ff);
  box-shadow: inset 0 0 0 1px rgba(106, 76, 255, 0.16);
}

.local-shop-art img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(48, 34, 71, 0.2));
}

.local-shop-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.local-shop-copy strong,
.local-shop-copy p,
.local-shop-chips span,
.local-shop-buy b,
.local-shop-buy span {
  color: #302247 !important;
  text-shadow: none !important;
}

.local-shop-copy p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.local-shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.local-shop-chips span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.82);
  font-size: 0.68rem;
  font-weight: 950;
}

.local-shop-buy {
  grid-column: 1 / -1;
  min-height: 46px;
  border-radius: 14px !important;
}

.dialogue-dialog {
  width: min(1040px, calc(100vw - 30px)) !important;
  color: #302247 !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(85, 223, 255, 0.22), transparent 38%),
    radial-gradient(circle at 92% 0%, rgba(255, 111, 174, 0.18), transparent 36%),
    linear-gradient(145deg, #fff9ef, #fff4d8 46%, #f0e9ff) !important;
}

.dialogue-stage {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 130px;
  gap: 16px;
  align-items: center;
  margin: 18px 0;
}

.dialogue-portrait {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 170px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 249, 239, 0.9), transparent 48%),
    linear-gradient(160deg, rgba(106, 76, 255, 0.24), rgba(85, 223, 255, 0.2));
  box-shadow: inset 0 0 0 1px rgba(106, 76, 255, 0.18), 0 18px 34px rgba(48, 34, 71, 0.12);
}

.dialogue-portrait::before {
  content: "";
  width: 78px;
  height: 96px;
  margin-bottom: 44px;
  border-radius: 45% 45% 38% 38%;
  background:
    radial-gradient(circle at 35% 35%, #fff9ef 0 7px, transparent 8px),
    radial-gradient(circle at 63% 35%, #fff9ef 0 7px, transparent 8px),
    linear-gradient(135deg, #55dfff, #6a4cff 54%, #ff6fae);
  box-shadow: 0 10px 22px rgba(48, 34, 71, 0.18);
}

.dialogue-portrait span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px 8px;
  border-radius: 999px;
  color: #302247 !important;
  background: rgba(255, 249, 239, 0.86);
  font-size: 0.72rem;
  font-weight: 950;
  text-align: center;
}

.dialogue-scroll {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(106, 76, 255, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 244, 216, 0.88)),
    #fff4d8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 20px 40px rgba(48, 34, 71, 0.13);
}

.dialogue-speaker {
  display: inline-grid;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #302247 !important;
  background: linear-gradient(135deg, #ffd86b, #ffb45e);
  font-size: 0.78rem;
  font-weight: 950;
}

.dialogue-scroll p {
  min-height: 78px;
  margin: 0;
  color: #302247 !important;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 850;
  line-height: 1.45;
}

.dialogue-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.arcade-dialog {
  width: min(1080px, calc(100vw - 28px)) !important;
  color: #302247 !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 216, 107, 0.3), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(85, 223, 255, 0.24), transparent 36%),
    linear-gradient(145deg, #fff9ef, #f2e7ff) !important;
}

.arcade-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 240px;
  gap: 16px;
  align-items: start;
}

.arcade-cabinet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
  padding: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.76), transparent 34%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.16), rgba(255, 216, 107, 0.22));
  box-shadow: inset 0 0 0 1px rgba(106, 76, 255, 0.18), 0 14px 26px rgba(48, 34, 71, 0.09);
}

.arcade-cabinet-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(106, 76, 255, 0.2);
  border-radius: 999px;
  color: #302247;
  background: linear-gradient(145deg, rgba(255, 249, 239, 0.92), rgba(242, 231, 255, 0.9));
  font-weight: 950;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.arcade-cabinet-tabs button:hover,
.arcade-cabinet-tabs button.is-selected {
  transform: translateY(-2px);
  color: #fff9ef;
  background: linear-gradient(135deg, #6a4cff, #ff6fae 58%, #ffd86b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 12px 24px rgba(106, 76, 255, 0.24);
}

.arcade-cabinet-tabs button.is-disabled {
  opacity: 0.52;
  filter: grayscale(0.25);
}

.arcade-marquee {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.82), transparent 30%),
    linear-gradient(135deg, #6a4cff, #55dfff 48%, #ff6fae);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 16px 30px rgba(106, 76, 255, 0.2);
}

.arcade-marquee span,
.arcade-marquee strong,
.arcade-marquee em {
  color: #fff9ef !important;
  text-shadow: 0 2px 8px rgba(30, 23, 68, 0.34);
}

.arcade-marquee span {
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.arcade-marquee em {
  font-style: normal;
  font-weight: 850;
}

.arcade-board {
  grid-column: 1;
  grid-row: 2 / span 2;
  display: grid;
  grid-template-columns: repeat(8, minmax(32px, 1fr));
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(106, 76, 255, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.24), rgba(85, 223, 255, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 18px 38px rgba(48, 34, 71, 0.12);
}

.arcade-board--lantern_lanes {
  grid-template-columns: repeat(9, minmax(28px, 1fr));
  gap: 5px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 216, 107, 0.32), transparent 34%),
    linear-gradient(180deg, rgba(85, 223, 255, 0.2), rgba(106, 76, 255, 0.16)),
    linear-gradient(135deg, rgba(255, 244, 216, 0.78), rgba(242, 231, 255, 0.8));
}

.arcade-board--starwhirl_defender {
  display: block;
  min-height: 420px;
  padding: 10px;
}

.starwhirl-canvas {
  display: block;
  width: 100%;
  height: 420px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 2px rgba(255, 249, 239, 0.3), 0 18px 34px rgba(48, 34, 71, 0.14);
  touch-action: none;
}

.arcade-gem {
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 20px 16px 20px 16px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(145deg, var(--gem-a), var(--gem-b));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.54), 0 10px 18px rgba(48, 34, 71, 0.17);
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.arcade-gem:hover,
.arcade-gem.is-selected {
  transform: translateY(-3px) scale(1.06);
  filter: saturate(1.18) brightness(1.06);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), 0 0 0 3px rgba(255, 216, 107, 0.62), 0 16px 26px rgba(106, 76, 255, 0.2);
}

.arcade-gem--moon { --gem-a: #fff4d8; --gem-b: #ffd86b; border-radius: 50% 50% 42% 50%; }
.arcade-gem--heart { --gem-a: #ff9cca; --gem-b: #ff4f9a; border-radius: 44% 44% 58% 58%; }
.arcade-gem--star { --gem-a: #fff9ef; --gem-b: #55dfff; clip-path: polygon(50% 4%, 61% 34%, 94% 34%, 67% 54%, 78% 90%, 50% 68%, 22% 90%, 33% 54%, 6% 34%, 39% 34%); }
.arcade-gem--leaf { --gem-a: #a7ffc0; --gem-b: #32c972; border-radius: 70% 20% 70% 24%; }
.arcade-gem--drop { --gem-a: #9ff3ff; --gem-b: #3a7dff; border-radius: 70% 70% 72% 16%; }
.arcade-gem--pepper { --gem-a: #ffb45e; --gem-b: #ff6fae; border-radius: 60% 38% 70% 36%; }

.lantern-cell {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 15px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(145deg, rgba(255, 244, 216, 0.94), rgba(255, 180, 94, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64), 0 7px 14px rgba(48, 34, 71, 0.1);
  cursor: pointer;
}

.lantern-cell--violet {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.44), transparent 28%),
    linear-gradient(145deg, rgba(242, 231, 255, 0.95), rgba(106, 76, 255, 0.32));
}

.lantern-cell::before {
  position: absolute;
  inset: 18%;
  display: grid;
  place-items: center;
  font-size: clamp(16px, 2.1vw, 28px);
  font-weight: 950;
  color: #302247;
  text-shadow: 0 2px 8px rgba(255, 249, 239, 0.82);
}

.lantern-cell.is-exit::before {
  content: "?";
  color: rgba(48, 34, 71, 0.52);
}

.lantern-cell.is-exit-open {
  box-shadow: inset 0 0 0 2px rgba(255, 216, 107, 0.68), 0 0 22px rgba(85, 223, 255, 0.35);
}

.lantern-cell.is-exit-open::before {
  content: "Portal";
  inset: 23% 8%;
  font-size: clamp(9px, 1.1vw, 14px);
  color: #6a4cff;
}

.lantern-cell.has-charm::before {
  content: "Star";
  inset: 26% 9%;
  color: #ff6fae;
  font-size: clamp(10px, 1.2vw, 15px);
}

.lantern-cell.has-hazard::before {
  content: "Wisp";
  inset: 28% 7%;
  color: #fff9ef;
  background: linear-gradient(135deg, #6a4cff, #1e1744);
  border-radius: 999px;
  font-size: clamp(9px, 1.1vw, 13px);
  box-shadow: 0 0 16px rgba(106, 76, 255, 0.35);
}

.lantern-cell.has-player::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  height: 58%;
  border-radius: 50% 50% 42% 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff9ef 0 17%, transparent 18%),
    linear-gradient(145deg, #55dfff, #ff6fae 65%, #ffd86b);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255, 249, 239, 0.78), 0 0 24px rgba(85, 223, 255, 0.54);
}

.arcade-controls {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.arcade-control {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(106, 76, 255, 0.18);
  border-radius: 999px;
  color: #302247;
  background: linear-gradient(135deg, #fff4d8, #ffd86b);
  font-weight: 950;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 18px rgba(48, 34, 71, 0.1);
}

.arcade-control:hover {
  filter: brightness(1.06) saturate(1.08);
  transform: translateY(-1px);
}

.arcade-side {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  gap: 10px;
}

.arcade-side div {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 18px;
  color: #302247;
  background: rgba(255, 249, 239, 0.84);
  box-shadow: inset 0 0 0 1px rgba(106, 76, 255, 0.14);
}

.arcade-side span,
.arcade-side strong,
.arcade-side .shop-note {
  color: #302247 !important;
}

.arcade-side span {
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.arcade-side strong {
  font-size: 1.35rem;
}

.admin-settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(85, 223, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 249, 239, 0.08);
}

.admin-settings-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 249, 239, 0.18);
  border-radius: 999px;
  color: #fff9ef;
  background: rgba(30, 23, 68, 0.5);
  font-weight: 950;
  cursor: pointer;
}

.admin-settings-tabs button.is-active {
  color: #302247;
  background: linear-gradient(135deg, #55dfff, #ffd86b);
  box-shadow: 0 10px 22px rgba(85, 223, 255, 0.16);
}

.admin-dialog .admin-settings-tabs button {
  white-space: nowrap;
}

/* v113: hidden arcade polish and per-HUD dimming controls. */
.topbar,
.profile-panel,
.battle-panel,
.quest-panel,
.minimap-panel,
.roster-panel,
.chat-panel,
.zoom-panel,
.ability-bar,
.buff-tray,
.combat-feed {
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.is-hud-muted {
  filter: saturate(0.92) brightness(0.96);
}

.is-hud-hidden-by-setting {
  opacity: 0 !important;
  pointer-events: none !important;
}

.hud-visibility-settings {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(106, 76, 255, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 0%, rgba(85, 223, 255, 0.18), transparent 36%),
    radial-gradient(circle at 92% 4%, rgba(255, 111, 174, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.94), rgba(242, 231, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 16px 34px rgba(48, 34, 71, 0.1);
}

.hud-visibility-settings .hud-master-row {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 244, 216, 0.92), rgba(255, 216, 107, 0.22)),
    rgba(255, 249, 239, 0.82);
}

.hud-opacity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hud-opacity-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.78fr) minmax(110px, 1fr) 54px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(106, 76, 255, 0.14);
  border-radius: 16px;
  color: #302247;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.76), transparent 28%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.92), rgba(224, 247, 255, 0.76));
}

.hud-opacity-row span {
  overflow: hidden;
  color: #302247;
  font-size: 0.82rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hud-opacity-row input[type="range"] {
  width: 100%;
  height: 7px;
  accent-color: #6a4cff;
}

.hud-opacity-row .setting-value {
  min-width: 48px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 216, 107, 0.62);
  border-radius: 999px;
  color: #302247 !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b) !important;
  font-size: 0.72rem;
  text-align: center;
}

.arcade-dialog {
  width: min(1180px, calc(100vw - 28px)) !important;
  border: 1px solid rgba(255, 249, 239, 0.62) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 9% 2%, rgba(255, 216, 107, 0.42), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(85, 223, 255, 0.35), transparent 34%),
    radial-gradient(circle at 55% 100%, rgba(255, 111, 174, 0.2), transparent 38%),
    linear-gradient(145deg, #fff9ef, #f2e7ff 52%, #e5fbff) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -10px 28px rgba(106, 76, 255, 0.08),
    0 28px 70px rgba(30, 23, 68, 0.28) !important;
}

.arcade-shell {
  gap: 18px;
  padding: 2px;
}

.arcade-cabinet-tabs {
  border: 1px solid rgba(255, 249, 239, 0.68);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(135deg, rgba(85, 223, 255, 0.26), rgba(255, 216, 107, 0.3) 52%, rgba(255, 111, 174, 0.2));
}

.arcade-cabinet-tabs button.is-locked {
  position: relative;
  color: rgba(48, 34, 71, 0.68);
  background: linear-gradient(145deg, rgba(255, 249, 239, 0.68), rgba(216, 215, 232, 0.74));
}

.arcade-cabinet-tabs button.is-locked::after {
  content: "Hidden";
  display: inline-grid;
  place-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff9ef;
  background: linear-gradient(135deg, #6a4cff, #302247);
  font-size: 0.62rem;
  font-weight: 950;
}

.arcade-marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 239, 0.58);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.72), transparent 24%),
    radial-gradient(circle at 92% 0%, rgba(255, 216, 107, 0.44), transparent 30%),
    linear-gradient(135deg, #38206e, #6a4cff 38%, #55dfff 72%, #ff6fae);
}

.arcade-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 46%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255, 216, 107, 0.34), transparent 24%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.arcade-board {
  position: relative;
  overflow: hidden;
  justify-self: center;
  width: min(100%, 640px);
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 249, 239, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.76), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(255, 216, 107, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(106, 76, 255, 0.28), rgba(85, 223, 255, 0.2) 48%, rgba(255, 111, 174, 0.15)),
    repeating-linear-gradient(45deg, rgba(255, 249, 239, 0.34) 0 10px, rgba(255, 249, 239, 0.12) 10px 20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), inset 0 -18px 38px rgba(106, 76, 255, 0.09), 0 22px 44px rgba(48, 34, 71, 0.16);
}

.arcade-board--lantern_lanes {
  width: min(100%, 590px);
  gap: 6px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 216, 107, 0.38), transparent 34%),
    radial-gradient(circle at 16% 86%, rgba(118, 240, 161, 0.26), transparent 32%),
    linear-gradient(180deg, rgba(85, 223, 255, 0.24), rgba(106, 76, 255, 0.18)),
    repeating-linear-gradient(90deg, rgba(255, 244, 216, 0.52) 0 18px, rgba(242, 231, 255, 0.44) 18px 36px);
}

.arcade-board--starwhirl_defender {
  width: 100%;
  min-height: 440px;
  padding: 12px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 216, 107, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(30, 23, 68, 0.95), rgba(56, 32, 110, 0.9));
}

.starwhirl-canvas {
  height: 440px;
  border: 1px solid rgba(255, 249, 239, 0.5);
  border-radius: 24px;
  box-shadow: inset 0 0 0 2px rgba(255, 249, 239, 0.2), inset 0 0 38px rgba(85, 223, 255, 0.16), 0 22px 48px rgba(48, 34, 71, 0.24);
}

.arcade-gem {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 239, 0.62);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.62),
    inset 0 -10px 18px rgba(48, 34, 71, 0.16),
    0 12px 20px rgba(48, 34, 71, 0.2);
}

.arcade-gem::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 18%;
  width: 24%;
  height: 16%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(-24deg);
}

.arcade-gem--moon {
  box-shadow: inset -9px -6px 0 rgba(255, 180, 94, 0.28), inset 0 3px 0 rgba(255, 255, 255, 0.68), 0 12px 20px rgba(48, 34, 71, 0.2);
}

.arcade-gem--heart {
  clip-path: polygon(50% 92%, 12% 54%, 8% 25%, 28% 10%, 50% 24%, 72% 10%, 92% 25%, 88% 54%);
  border-radius: 22px;
}

.arcade-gem--drop {
  transform: rotate(-9deg);
}

.arcade-gem--drop:hover,
.arcade-gem--drop.is-selected {
  transform: translateY(-3px) scale(1.06) rotate(-9deg);
}

.arcade-gem--flare,
.arcade-gem--wild {
  isolation: isolate;
  color: #302247;
  background:
    radial-gradient(circle at 50% 48%, #fff9ef 0 16%, transparent 17%),
    conic-gradient(from 0.08turn, #ffd86b, #ff6fae, #6a4cff, #55dfff, #ffd86b) !important;
  box-shadow:
    0 0 0 2px rgba(255, 249, 239, 0.82),
    0 0 26px rgba(255, 216, 107, 0.56),
    inset 0 4px 0 rgba(255, 255, 255, 0.62),
    inset 0 -12px 22px rgba(48, 34, 71, 0.2);
}

.arcade-gem--wild {
  background:
    radial-gradient(circle at 50% 52%, #fff9ef 0 13%, transparent 14%),
    conic-gradient(from 0.2turn, #fff9ef, #55dfff, #6a4cff, #ff6fae, #ffd86b, #fff9ef) !important;
  animation: arcadePowerPulse 1.25s ease-in-out infinite;
}

.arcade-gem--flare::before,
.arcade-gem--wild::before {
  content: attr(data-label);
  position: absolute;
  inset: auto 6px 7px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 17px;
  border-radius: 999px;
  color: #302247;
  background: rgba(255, 249, 239, 0.88);
  font-size: 0.58rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: none;
}

@keyframes arcadePowerPulse {
  0%, 100% { filter: saturate(1.05) brightness(1); }
  50% { filter: saturate(1.25) brightness(1.12); }
}

.lantern-cell {
  overflow: hidden;
  border: 1px solid rgba(255, 249, 239, 0.62);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.68), inset 0 -10px 18px rgba(106, 76, 255, 0.06), 0 8px 16px rgba(48, 34, 71, 0.12);
}

.lantern-cell.is-exit::before {
  content: "";
  inset: 26%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 249, 239, 0.8), transparent 28%),
    conic-gradient(from 0.2turn, rgba(106, 76, 255, 0.48), rgba(85, 223, 255, 0.56), rgba(255, 216, 107, 0.48), rgba(106, 76, 255, 0.48));
  opacity: 0.55;
}

.lantern-cell.is-exit-open::before {
  content: "";
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff9ef 0 16%, rgba(85, 223, 255, 0.86) 17% 34%, rgba(106, 76, 255, 0.78) 35% 58%, rgba(255, 216, 107, 0.64) 59% 72%, transparent 73%),
    conic-gradient(from 0.3turn, #55dfff, #6a4cff, #ff6fae, #ffd86b, #55dfff);
}

.lantern-cell.has-charm::before {
  content: "";
  inset: 22%;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 48%, #ff6fae);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 80% 96%, 50% 72%, 20% 96%, 32% 56%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 8px rgba(255, 216, 107, 0.7));
}

.lantern-cell.has-hazard::before {
  content: "";
  inset: 18% 16%;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 36% 34%, #fff9ef 0 8%, transparent 9%),
    radial-gradient(circle at 64% 36%, #fff9ef 0 8%, transparent 9%),
    linear-gradient(145deg, #6a4cff, #1e1744 72%);
  box-shadow: 0 0 18px rgba(106, 76, 255, 0.42);
}

.lantern-cell.has-hazard--puff::before {
  background:
    radial-gradient(circle at 36% 34%, #302247 0 8%, transparent 9%),
    radial-gradient(circle at 64% 36%, #302247 0 8%, transparent 9%),
    linear-gradient(145deg, #ff6fae, #ffd86b);
}

.lantern-cell.has-block::before {
  content: "";
  inset: 17%;
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 249, 239, 0.5), transparent 18%),
    linear-gradient(145deg, #8e78c8, #38206e);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.22), 0 8px 16px rgba(48, 34, 71, 0.22);
}

.lantern-cell.has-key::before {
  content: "";
  inset: 22%;
  background:
    radial-gradient(circle at 72% 28%, #fff9ef 0 8%, transparent 9%),
    linear-gradient(135deg, #ffd86b, #ffb45e);
  clip-path: polygon(0 42%, 54% 42%, 54% 22%, 84% 22%, 84% 42%, 100% 42%, 100% 62%, 84% 62%, 84% 82%, 54% 82%, 54% 62%, 0 62%);
  filter: drop-shadow(0 0 9px rgba(255, 216, 107, 0.72));
}

.lantern-cell.has-shield::before {
  content: "";
  inset: 18% 24%;
  border-radius: 48% 48% 58% 58%;
  background: linear-gradient(145deg, #fff9ef, #55dfff 44%, #6a4cff);
  clip-path: polygon(50% 0, 88% 14%, 80% 70%, 50% 100%, 20% 70%, 12% 14%);
  filter: drop-shadow(0 0 10px rgba(85, 223, 255, 0.68));
}

.lantern-cell.has-boost::before {
  content: "";
  inset: 20%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, #fff9ef 0 14%, transparent 15%),
    conic-gradient(from 0.18turn, #55dfff, #76f0a1, #ffd86b, #ff6fae, #55dfff);
  filter: drop-shadow(0 0 12px rgba(118, 240, 161, 0.6));
}

.arcade-side div {
  border: 1px solid rgba(106, 76, 255, 0.14);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.76), transparent 26%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.95), rgba(224, 247, 255, 0.82));
}

.arcade-control {
  border-color: rgba(255, 249, 239, 0.62);
  color: #302247;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 48%, #ffb45e);
}

@media (max-width: 980px) {
  .splash-copy {
    background: rgba(30, 23, 68, 0.36);
  }

  .prism-shop-grid {
    grid-template-columns: 1fr !important;
  }

  .dialogue-stage,
  .arcade-shell {
    grid-template-columns: 1fr;
  }

  .arcade-board,
  .arcade-side,
  .arcade-controls {
    grid-column: 1;
    grid-row: auto;
  }

  .dialogue-portrait {
    min-height: 92px;
  }

  .dialogue-portrait::before {
    width: 54px;
    height: 64px;
    margin-bottom: 26px;
  }

  .arcade-side {
    grid-template-columns: repeat(3, 1fr);
  }

  .arcade-cabinet-tabs {
    border-radius: 20px;
  }

  .arcade-cabinet-tabs button {
    flex: 1 1 150px;
  }

  .starwhirl-canvas {
    height: 340px;
  }

  .arcade-side button,
  .arcade-side .shop-note {
    grid-column: 1 / -1;
  }

  .hud-opacity-grid {
    grid-template-columns: 1fr;
  }

  .hud-opacity-row {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 1.1fr) 54px;
  }
}

/* v125: Glowkin readability and arcade/payment polish guard */
.gear-dialog form {
  color: #302247 !important;
}

.gear-dialog .dialog-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding-bottom: 8px !important;
}

.gear-dialog .dialog-head strong,
.gear-dialog .gear-section-title,
.gear-dialog .slot-card strong,
.gear-dialog .gear-item strong,
.gear-dialog .combo-panel strong,
.gear-dialog .gear-power-orb strong,
.gear-dialog .gear-stat-matrix b {
  color: #302247 !important;
  text-shadow: none !important;
}

.gear-power-dashboard {
  display: grid !important;
  grid-template-columns: minmax(190px, 0.78fr) minmax(280px, 1.22fr) !important;
  grid-template-areas:
    "orb stats"
    "copy copy" !important;
  gap: 14px !important;
  align-items: stretch !important;
  padding: 16px !important;
  border-radius: 26px !important;
  color: #302247 !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(85, 223, 255, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.95), rgba(255, 244, 216, 0.88)) !important;
}

.gear-power-orb {
  grid-area: orb !important;
  min-height: 132px !important;
  display: grid !important;
  place-items: center !important;
  gap: 5px !important;
  padding: 18px !important;
  border: 1px solid rgba(106, 76, 255, 0.2) !important;
  border-radius: 24px !important;
  color: #302247 !important;
  background:
    radial-gradient(circle at 36% 18%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(135deg, rgba(255, 216, 107, 0.9), rgba(255, 244, 216, 0.86) 54%, rgba(85, 223, 255, 0.24)) !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34), 0 16px 32px rgba(106, 76, 255, 0.14) !important;
}

.gear-power-orb span,
.gear-power-orb em {
  color: #5b4b7a !important;
  text-shadow: none !important;
}

.gear-power-orb strong {
  color: #302247 !important;
  font-size: clamp(3.4rem, 7vw, 5.6rem) !important;
  line-height: 0.85 !important;
  text-shadow: 0 2px 0 rgba(255, 249, 239, 0.72) !important;
}

.gear-stat-matrix {
  grid-area: stats !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(92px, 1fr)) !important;
  gap: 10px !important;
  padding: 12px !important;
  border: 1px solid rgba(106, 76, 255, 0.16) !important;
  border-radius: 24px !important;
  background: rgba(255, 249, 239, 0.52) !important;
}

.gear-stat-matrix span {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
  padding: 12px !important;
  border: 1px solid rgba(106, 76, 255, 0.18) !important;
  border-radius: 18px !important;
  color: #302247 !important;
  background: rgba(255, 255, 255, 0.62) !important;
}

.gear-power-dashboard p {
  grid-area: copy !important;
  margin: 0 !important;
  color: #4b3a74 !important;
  line-height: 1.45 !important;
}

.gear-loadout-tools {
  display: flex !important;
  justify-content: flex-end !important;
  margin: 12px 0 10px !important;
}

.gear-unequip-all,
.gear-unequip {
  color: #302247 !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 60%, #ffb45e) !important;
}

.gear-loadout {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  gap: 12px !important;
}

.gear-dialog :is(.slot-card, .combo-panel, .gear-item, .gear-combo-card) {
  color: #302247 !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 107, 0.18), transparent 28%),
    rgba(255, 249, 239, 0.9) !important;
}

.gear-dialog :is(.slot-card span, .slot-card em, .combo-panel span, .combo-panel em, .combo-panel small, .gear-item span, .gear-item p, .gear-item em) {
  color: #5b4b7a !important;
}

.admin-dialog form {
  color: #fff9ef !important;
  background:
    radial-gradient(circle at 12% 6%, rgba(85, 223, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(30, 23, 68, 0.97), rgba(56, 32, 110, 0.95) 54%, rgba(75, 45, 138, 0.96)) !important;
}

.admin-dialog :is(h1, h2, h3, h4, strong, label, p, span, em, small, b, summary) {
  color: #fff9ef !important;
}

.admin-dialog :is(.shop-note, .admin-status, .admin-command, .admin-overview-panel, .admin-section-list, .admin-record-list, .admin-editor, .admin-hierarchy, .admin-quick-panel, .admin-backlog-panel, .admin-pricing-panel, .admin-map-visualizer, .admin-map-flow, .admin-analytics-panel, .admin-support-board, .admin-moderation-board, .admin-settings-panel, .admin-email-test-panel, .admin-terrain-palette, .admin-object-palette) {
  color: #fff9ef !important;
  border-color: rgba(255, 249, 239, 0.22) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 216, 107, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(30, 23, 68, 0.86), rgba(20, 18, 49, 0.78)) !important;
}

.admin-dialog :is(input, select, textarea, option, .admin-json-editor, .admin-record-search, .admin-map-point-grid input) {
  color: #302247 !important;
  background: #fff9ef !important;
  border-color: rgba(106, 76, 255, 0.32) !important;
}

.admin-dialog :is(button, .primary-button, .secondary-button, .mini-button, .danger-button, .admin-tabs button, .admin-settings-tabs button) {
  color: #302247 !important;
  text-shadow: none !important;
}

.admin-dialog :is(button.is-active, .admin-tabs button.is-active, .admin-settings-tabs button.is-active, .primary-button) {
  color: #302247 !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 60%, #ffb45e) !important;
}

.admin-dialog :is(.admin-result, .admin-editor-note, .admin-pricing-note, .admin-email-test-copy span, .admin-status--studio span, .admin-backlog-panel span, .admin-overview-panel span, .admin-command span) {
  color: #fff4d8 !important;
}

.admin-player-table-wrap {
  border-radius: 18px !important;
  background: rgba(255, 249, 239, 0.9) !important;
}

.admin-player-table,
.admin-player-table :is(th, td) {
  color: #302247 !important;
  background: rgba(255, 249, 239, 0.88) !important;
}

.admin-player-table :is(td span, td strong, td b, th) {
  color: #302247 !important;
}

.admin-dialog .shop-note {
  color: #fff9ef !important;
  background: linear-gradient(135deg, rgba(30, 23, 68, 0.86), rgba(56, 32, 110, 0.78)) !important;
}

.admin-dialog .shop-note :is(strong, span, em, p) {
  color: #fff9ef !important;
}

body .admin-dialog form > .shop-note,
body .admin-dialog form .shop-note {
  color: #fff9ef !important;
}

body .admin-dialog form > .shop-note *,
body .admin-dialog form .shop-note * {
  color: #fff9ef !important;
}

.admin-dialog :is(.admin-command, .admin-overview-chips button, .admin-section-list button, .admin-record-list button, .admin-hierarchy button) {
  color: #fff9ef !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(85, 223, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(48, 56, 72, 0.95), rgba(30, 23, 68, 0.88)) !important;
}

.admin-dialog :is(.admin-command, .admin-overview-chips button, .admin-section-list button, .admin-record-list button, .admin-hierarchy button) :is(strong, span, em, small, b),
.admin-dialog :is(.admin-command, .admin-overview-chips button, .admin-section-list button, .admin-record-list button, .admin-hierarchy button) {
  color: #fff9ef !important;
}

.admin-dialog :is(.admin-overview-chips button.is-active, .admin-section-list button.is-active, .admin-record-list button.is-active, .admin-hierarchy button.is-active) {
  color: #302247 !important;
  background: linear-gradient(135deg, #fff4d8, #ffd86b 56%, #ffb45e) !important;
}

.admin-dialog :is(.admin-overview-chips button.is-active, .admin-section-list button.is-active, .admin-record-list button.is-active, .admin-hierarchy button.is-active) :is(strong, span, em, small, b) {
  color: #302247 !important;
}

.admin-dialog :is(.admin-terrain-palette-grid button, .admin-object-palette button) {
  color: #302247 !important;
  background: rgba(255, 249, 239, 0.88) !important;
}

.admin-dialog :is(.admin-terrain-palette-grid button, .admin-object-palette button) :is(b, span, em) {
  color: #302247 !important;
}

.admin-dialog .admin-overview-panel > div > span {
  color: #5b4b7a !important;
}

.admin-dialog :is(.admin-terrain-palette-head strong, .admin-terrain-palette-head span, .admin-object-palette strong, .admin-object-palette span, .admin-map-actions span, .admin-map-inspector span) {
  color: #fff9ef !important;
}

.arcade-dialog form {
  color: #302247 !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(85, 223, 255, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.98), rgba(255, 244, 216, 0.94)) !important;
}

.arcade-dialog :is(.dialog-head strong, .arcade-marquee h3, .arcade-stat strong, .arcade-side strong, .arcade-status, .arcade-goal, .arcade-reward) {
  color: #302247 !important;
}

.arcade-shell {
  display: grid !important;
  grid-template-columns: minmax(620px, 1fr) minmax(280px, 340px) !important;
  grid-template-areas:
    "marquee side"
    "board side"
    "controls side" !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.arcade-marquee {
  grid-area: marquee !important;
}

.arcade-board {
  grid-area: board !important;
}

.arcade-controls {
  grid-area: controls !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.arcade-side {
  grid-area: side !important;
}

.arcade-board--starwhirl_defender,
.arcade-board--unicorn_derby {
  display: block !important;
  width: 100% !important;
  min-height: 540px !important;
  padding: 14px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 216, 107, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(106, 76, 255, 0.16), rgba(85, 223, 255, 0.12)) !important;
}

.starwhirl-canvas,
.unicorn-derby-canvas {
  display: block !important;
  width: 100% !important;
  height: clamp(500px, 58vh, 680px) !important;
  min-height: 500px !important;
  border-radius: 26px !important;
  touch-action: none !important;
  box-shadow: inset 0 0 0 2px rgba(255, 249, 239, 0.62), 0 18px 44px rgba(30, 23, 68, 0.18) !important;
}

.arcade-control,
.unicorn-derby-go,
.unicorn-derby-cheer {
  min-height: 52px !important;
  color: #302247 !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 58%, #ffb45e) !important;
}

.unicorn-derby-card {
  display: grid !important;
  grid-template-columns: minmax(200px, 1.2fr) minmax(160px, 0.9fr) minmax(160px, 0.9fr) !important;
  gap: 12px !important;
  align-items: end !important;
  color: #302247 !important;
}

.unicorn-derby-boosts {
  grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
  grid-column: 1 / -1 !important;
}

.unicorn-derby-result {
  grid-column: 1 / -1 !important;
  color: #302247 !important;
  background: rgba(255, 249, 239, 0.82) !important;
}

.checkout-shell {
  background:
    linear-gradient(90deg, rgba(30, 23, 68, 0.82), rgba(30, 23, 68, 0.18)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=125") center / cover no-repeat !important;
}

@media (max-width: 1120px) {
  .arcade-shell {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "marquee"
      "board"
      "controls"
      "side" !important;
  }

  .gear-power-dashboard {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "orb"
      "stats"
      "copy" !important;
  }

  .gear-stat-matrix,
  .unicorn-derby-card,
  .unicorn-derby-boosts {
    grid-template-columns: 1fr !important;
  }

  .starwhirl-canvas,
  .unicorn-derby-canvas {
    height: min(62vh, 560px) !important;
  }
}

/* v114: contrast guardrails for mixed light/dark magical UI surfaces. */
:root {
  --gk-readable-dark: #302247;
  --gk-readable-muted: #5d4a78;
  --gk-readable-light: #fff9ef;
}

:is(.shop-dialog, .gear-dialog, .settings-dialog, .hint-dialog, .local-shop-dialog, .support-dialog, .dialogue-dialog, .arcade-dialog, .stable-dialog) form {
  color: var(--gk-readable-dark);
}

:is(.shop-dialog, .gear-dialog, .settings-dialog, .hint-dialog, .local-shop-dialog, .support-dialog, .dialogue-dialog, .arcade-dialog, .stable-dialog)
  :is(p, span, small, em, label, dt, dd, li, td, th, option, .shop-note, .setting-row em, .gear-item span, .gear-item p, .shop-item p, .local-shop-copy p) {
  color: var(--gk-readable-muted);
  text-shadow: none;
}

:is(.shop-dialog, .gear-dialog, .settings-dialog, .hint-dialog, .local-shop-dialog, .support-dialog, .dialogue-dialog, .arcade-dialog, .stable-dialog)
  :is(strong, h1, h2, h3, .dialog-head strong, .gear-section-title, .shop-item strong, .gear-item strong, .local-shop-copy strong, .setting-row strong) {
  color: var(--gk-readable-dark);
  text-shadow: none;
}

:is(.primary-button, .ability-button, .shop-price, .trial-badge, .credit-pack-card, .credit-pack-main, .setting-value, .rarity-pill, .pill, .mini-button.is-light, .objective-meter-chips span) {
  color: var(--gk-readable-dark) !important;
  text-shadow: none !important;
}

:is(.primary-button, .ability-button, .shop-price, .trial-badge, .credit-pack-card, .credit-pack-main, .setting-value, .rarity-pill, .pill) :is(strong, span, small, em) {
  color: var(--gk-readable-dark) !important;
  text-shadow: none !important;
}

:is(.admin-dialog, .chat-panel, .profile-panel, .battle-panel, .minimap-panel, .roster-panel) {
  color: var(--gk-readable-light);
}

.admin-dialog :is(.admin-status, .admin-command, .admin-overview-panel, .admin-section-list, .admin-record-list, .admin-editor, .admin-hierarchy, .admin-quick-panel, .admin-backlog-panel, .admin-pricing-panel, .admin-map-visualizer, .admin-map-flow, .admin-analytics-panel, .admin-support-board, .admin-moderation-board)
  :is(strong, span, p, em, small, label, td, th, button) {
  color: var(--gk-readable-light);
  text-shadow: 0 1px 2px rgba(30, 23, 68, 0.42);
}

.admin-dialog :is(input, select, textarea, option, .admin-json-editor, .admin-record-search) {
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 249, 239, 0.96) !important;
  text-shadow: none !important;
}

.admin-dialog :is(.primary-button, .secondary-button, .mini-button, .danger-button),
:is(.shop-dialog, .gear-dialog, .settings-dialog, .hint-dialog, .local-shop-dialog, .support-dialog, .dialogue-dialog, .arcade-dialog, .stable-dialog)
  :is(.primary-button, .secondary-button, .mini-button, .provider-row button, .shop-credit-button, .shop-manage-button) {
  color: var(--gk-readable-dark) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 244, 216, 0.32)),
    linear-gradient(135deg, #fff9ef, #ffd86b 58%, #ffb45e) !important;
  border-color: rgba(106, 76, 255, 0.22) !important;
  text-shadow: none !important;
}

/* v115: fourth hidden arcade game and admin game-log polish. */
.arcade-board--unicorn_derby {
  width: 100%;
  min-height: 430px;
  padding: 12px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 107, 0.34), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(255, 111, 174, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(85, 223, 255, 0.22), rgba(106, 76, 255, 0.22) 52%, rgba(118, 240, 161, 0.2));
}

.unicorn-derby-canvas {
  width: 100%;
  height: 430px;
  display: block;
  border: 1px solid rgba(255, 249, 239, 0.66);
  border-radius: 24px;
  background: #e5fbff;
  box-shadow:
    inset 0 0 0 2px rgba(255, 249, 239, 0.24),
    inset 0 0 46px rgba(255, 216, 107, 0.22),
    0 24px 54px rgba(48, 34, 71, 0.2);
}

.unicorn-derby-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(150px, 0.8fr) minmax(170px, 0.95fr) auto auto;
  align-items: end;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(106, 76, 255, 0.16);
  border-radius: 22px;
  color: #302247;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.95), rgba(242, 231, 255, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 18px 34px rgba(48, 34, 71, 0.12);
}

.unicorn-derby-card label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #302247;
  font-size: 0.78rem;
  font-weight: 950;
}

.unicorn-derby-card select,
.unicorn-derby-card input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(106, 76, 255, 0.18);
  border-radius: 14px;
  color: #302247;
  background: rgba(255, 249, 239, 0.96);
  font-weight: 900;
}

.unicorn-derby-go,
.unicorn-derby-cheer {
  min-height: 44px;
  white-space: nowrap;
}

.unicorn-derby-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 216, 107, 0.46);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 244, 216, 0.96), rgba(229, 251, 255, 0.84));
}

.unicorn-derby-result strong,
.unicorn-derby-result span,
.unicorn-derby-result li,
.unicorn-derby-result b,
.unicorn-derby-result em {
  color: #302247 !important;
  text-shadow: none !important;
}

.unicorn-derby-result ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 0;
  padding-left: 20px;
}

.unicorn-derby-result li {
  min-width: 0;
  font-weight: 850;
}

.unicorn-derby-boosts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.unicorn-derby-boosts button {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid rgba(106, 76, 255, 0.18);
  border-radius: 16px;
  color: #302247;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(135deg, rgba(255, 249, 239, 0.95), rgba(255, 216, 107, 0.32));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 18px rgba(48, 34, 71, 0.1);
  text-align: left;
}

.unicorn-derby-boosts button.is-active {
  border-color: rgba(255, 111, 174, 0.72);
  background:
    radial-gradient(circle at 22% 6%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(135deg, #ffd86b, #ff6fae 52%, #55dfff);
  transform: translateY(-1px);
}

.unicorn-derby-boosts strong,
.unicorn-derby-boosts span {
  color: #302247 !important;
  text-shadow: none !important;
}

.unicorn-derby-boosts strong {
  font-size: 0.82rem;
}

.unicorn-derby-boosts span {
  font-size: 0.7rem;
  font-weight: 850;
}

.admin-game-log-board {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 249, 239, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(85, 223, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(30, 23, 68, 0.82), rgba(56, 32, 110, 0.74));
}

.admin-game-log-message {
  min-width: 280px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .unicorn-derby-card {
    grid-template-columns: 1fr;
  }

  .unicorn-derby-result ol {
    grid-template-columns: 1fr;
  }

  .unicorn-derby-boosts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unicorn-derby-canvas {
    height: 340px;
  }
}

/* v117: premium graphics polish layer for Glowkin's luminous fantasy look. */
.game-shell {
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 216, 107, 0.24), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(85, 223, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #11183b 0%, #1e1744 26%, #2f7d56 100%);
}

.game-shell::before,
.game-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.game-shell::before {
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 244, 216, 0.16), transparent 22%),
    radial-gradient(circle at 78% 10%, rgba(85, 223, 255, 0.11), transparent 26%),
    linear-gradient(115deg, rgba(255, 111, 174, 0.07), transparent 32%, rgba(118, 240, 161, 0.08) 72%, transparent);
  mix-blend-mode: screen;
}

.game-shell::after {
  background-image:
    radial-gradient(circle, rgba(255, 249, 239, 0.34) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(85, 223, 255, 0.22) 0 1px, transparent 1.8px);
  background-position: 3vw 7vh, 72vw 18vh;
  background-size: 180px 160px, 260px 230px;
  opacity: 0.22;
  animation: glowkinWorldMotes 18s linear infinite;
}

@keyframes glowkinWorldMotes {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-36px, 28px, 0); }
}

#gpuGame,
#game {
  image-rendering: auto;
  filter: saturate(1.08) contrast(1.04);
}

.hud-vignette {
  background:
    radial-gradient(circle at center, transparent 42%, rgba(30, 23, 68, 0.10) 72%, rgba(5, 8, 18, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 216, 107, 0.04), transparent 34%, rgba(85, 223, 255, 0.035));
  mix-blend-mode: multiply;
}

.topbar,
.profile-panel,
.quest-panel,
.roster-panel,
.battle-panel,
.chat-panel,
.zoom-panel,
.sale-reminder,
.toast,
.settings-dialog form,
.shop-dialog form,
.gear-dialog form,
.admin-dialog form,
.arcade-dialog form,
.local-shop-dialog form,
.dialogue-dialog form {
  border: 1px solid rgba(255, 249, 239, 0.24);
  border-radius: 20px;
  color: #fff9ef;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 107, 0.16), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(85, 223, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(38, 28, 83, 0.9), rgba(18, 22, 50, 0.84));
  box-shadow:
    0 22px 58px rgba(5, 8, 18, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(85, 223, 255, 0.08);
  backdrop-filter: blur(14px) saturate(1.35);
}

.brand strong,
.profile-card strong,
.battle-panel strong,
.quest-panel strong,
.panel-label,
.chat-panel strong,
.roster-panel strong,
.zoom-panel,
.toast strong,
.sale-reminder b {
  color: #fff9ef;
  text-shadow: 0 2px 8px rgba(5, 8, 18, 0.55);
}

.profile-card span,
.stat-row,
.battle-panel span,
.quest-panel span,
.chat-panel span,
.roster-panel span,
.sale-reminder span,
.sale-reminder em {
  color: rgba(255, 249, 239, 0.82);
  text-shadow: 0 1px 5px rgba(5, 8, 18, 0.42);
}

.brand-gem {
  border-radius: 7px;
  background:
    radial-gradient(circle at 30% 22%, #fff9ef 0 13%, transparent 14%),
    linear-gradient(135deg, #ff6fae, #ffd86b 48%, #55dfff);
  box-shadow:
    0 0 0 3px rgba(255, 249, 239, 0.58),
    0 0 22px rgba(85, 223, 255, 0.42);
}

.pill,
.build-pill,
.stat-grid span,
.target-track,
.xp-track,
.equipped-gear-badge,
.roster-friend,
.chat-message,
.save-slot-card {
  border: 1px solid rgba(255, 249, 239, 0.16);
  color: #fff9ef;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 28, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(5, 8, 18, 0.18);
}

.profile-card canvas,
.character-preview-card,
.slot-detail-preview canvas,
.arcade-board canvas,
.unicorn-derby-canvas {
  border-color: rgba(255, 249, 239, 0.46);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 249, 239, 0.36), transparent 28%),
    linear-gradient(145deg, rgba(85, 223, 255, 0.22), rgba(106, 76, 255, 0.16));
  box-shadow:
    0 18px 38px rgba(5, 8, 18, 0.22),
    inset 0 0 36px rgba(255, 249, 239, 0.12);
}

.ability-button,
.mini-button,
.icon-button,
.primary-button,
.secondary-button,
.hint-button,
.provider-row button,
.shop-credit-button,
.shop-manage-button {
  border-radius: 16px;
  color: #302247 !important;
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(180deg, #fff9ef 0%, #ffd86b 58%, #ffb45e 100%) !important;
  box-shadow:
    0 8px 0 rgba(138, 97, 50, 0.34),
    0 16px 28px rgba(5, 8, 18, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  text-shadow: none !important;
}

.ability-button:hover,
.mini-button:hover,
.icon-button:hover,
.primary-button:hover,
.secondary-button:hover,
.shop-credit-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.08) brightness(1.04);
}

.ability-button.is-active,
.ability-button:active,
.primary-button:active,
.secondary-button:active {
  transform: translateY(2px);
  box-shadow:
    0 4px 0 rgba(138, 97, 50, 0.34),
    0 10px 18px rgba(5, 8, 18, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.quest-panel {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 216, 107, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.96), rgba(255, 244, 216, 0.9));
  color: #302247;
}

.quest-panel strong,
.quest-panel span,
.quest-panel .panel-label {
  color: #302247;
  text-shadow: none;
}

.xp-track b,
.mp-track b,
.hp-track b {
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.24);
}

.arcade-dialog form,
.arcade-shell,
.arcade-board,
.unicorn-derby-card,
.unicorn-derby-result,
.unicorn-derby-boosts button {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 107, 0.24), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(255, 111, 174, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(255, 249, 239, 0.94), rgba(229, 251, 255, 0.84)) !important;
  color: #302247;
}

.arcade-dialog :is(strong, span, p, em, small, label, button),
.arcade-shell :is(strong, span, p, em, small, label, button),
.unicorn-derby-card :is(strong, span, p, em, small, label, button) {
  color: #302247 !important;
  text-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .game-shell::after {
    animation: none;
  }
}

/* v121 cinematic story screens: real Glowkin characters, unicorns, castles, and portals. */
.splash-screen::before {
  background:
    linear-gradient(90deg, rgba(3, 4, 13, 0.9), rgba(3, 4, 13, 0.18) 42%, rgba(3, 4, 13, 0.36)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=121") center / cover no-repeat !important;
  filter: saturate(1.18) contrast(1.04) brightness(0.96) !important;
}

.splash-cinema-frame {
  background:
    linear-gradient(90deg, rgba(3, 4, 13, 0.5), rgba(3, 4, 13, 0.03) 48%, rgba(3, 4, 13, 0.18)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=121") center / cover no-repeat !important;
  box-shadow:
    0 36px 112px rgba(3, 4, 13, 0.62),
    0 0 0 9px rgba(255, 249, 239, 0.055),
    0 0 72px rgba(85, 223, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -120px 150px rgba(3, 4, 13, 0.26) !important;
}

.splash-copy {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 216, 107, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(30, 23, 68, 0.72), rgba(56, 32, 110, 0.36)) !important;
  border-color: rgba(255, 244, 216, 0.34) !important;
  box-shadow:
    0 22px 58px rgba(3, 4, 13, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.travel-transition {
  --transition-art: url("assets/png/ui/prismworlds-transition-storybook.png?v=121");
  place-items: end center !important;
  padding: clamp(18px, 3vw, 38px) !important;
  background:
    linear-gradient(180deg, rgba(3, 4, 13, 0.18), rgba(3, 4, 13, 0.42) 64%, rgba(3, 4, 13, 0.82)),
    var(--transition-art) center / cover no-repeat !important;
}

.travel-transition::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, #03040d 0 8%, transparent 8% 92%, #03040d 92% 100%),
    radial-gradient(circle at 50% 42%, rgba(85, 223, 255, 0.12), transparent 28%);
}

.travel-transition__copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 38px)) !important;
  min-height: auto !important;
  aspect-ratio: auto !important;
  margin-bottom: clamp(18px, 5vh, 58px) !important;
  padding: clamp(18px, 2.4vw, 30px) clamp(22px, 4vw, 54px) !important;
  border-radius: 8px !important;
  color: #fff9ef !important;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 216, 107, 0.26), transparent 38%),
    linear-gradient(135deg, rgba(30, 23, 68, 0.82), rgba(8, 9, 28, 0.88)) !important;
  border-color: rgba(255, 244, 216, 0.58) !important;
  box-shadow:
    0 26px 80px rgba(3, 4, 13, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(9px) saturate(1.18) !important;
}

.travel-transition__copy strong {
  color: #ffd86b !important;
  font-size: clamp(1.8rem, 3.7vw, 4.2rem) !important;
  text-shadow: 0 4px 0 rgba(48, 34, 71, 0.34), 0 0 28px rgba(85, 223, 255, 0.28) !important;
}

.travel-transition__copy span {
  color: #fff9ef !important;
  max-width: 860px !important;
  text-shadow: 0 3px 20px rgba(3, 4, 13, 0.62) !important;
}

/* v122 AAA splash intro: one full-frame cinematic image, no cards, no cutout collage. */
.splash-screen {
  --splash-cinema-w: min(100vw, 177.7778dvh);
  --splash-cinema-h: min(100dvh, 56.25vw);
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  color: #fff9ef !important;
  background: #03040d !important;
}

.splash-screen::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  background: none !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}

.splash-screen::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(3, 4, 13, 0.98) 0, rgba(3, 4, 13, 0.98) calc((100dvh - var(--splash-cinema-h)) / 2), transparent calc((100dvh - var(--splash-cinema-h)) / 2 + 1px), transparent calc((100dvh + var(--splash-cinema-h)) / 2 - 1px), rgba(3, 4, 13, 0.98) calc((100dvh + var(--splash-cinema-h)) / 2), rgba(3, 4, 13, 0.98) 100%),
    linear-gradient(90deg, rgba(3, 4, 13, 0.98) 0, rgba(3, 4, 13, 0.98) calc((100vw - var(--splash-cinema-w)) / 2), transparent calc((100vw - var(--splash-cinema-w)) / 2 + 1px), transparent calc((100vw + var(--splash-cinema-w)) / 2 - 1px), rgba(3, 4, 13, 0.98) calc((100vw + var(--splash-cinema-w)) / 2), rgba(3, 4, 13, 0.98) 100%),
    radial-gradient(circle at 72% 48%, rgba(85, 223, 255, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(3, 4, 13, 0.62), rgba(3, 4, 13, 0.08) 47%, rgba(3, 4, 13, 0.28)) !important;
}

.splash-cinema-frame {
  position: relative !important;
  z-index: 1 !important;
  width: var(--splash-cinema-w) !important;
  height: var(--splash-cinema-h) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(3, 4, 13, 0.5), rgba(3, 4, 13, 0.02) 46%, rgba(3, 4, 13, 0.16)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=122") center / cover no-repeat !important;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
}

.splash-cinema-frame::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 72% 45%, rgba(85, 223, 255, 0.22), transparent 21%),
    radial-gradient(circle at 82% 74%, rgba(255, 111, 174, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.07), transparent 28%, rgba(3, 4, 13, 0.3));
  mix-blend-mode: screen;
}

.splash-cinema-frame::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  width: auto !important;
  transform: none !important;
  animation: none !important;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(3, 4, 13, 0.42) 100%),
    linear-gradient(180deg, rgba(3, 4, 13, 0.82) 0 8.8%, transparent 8.8% 91.2%, rgba(3, 4, 13, 0.86) 91.2% 100%) !important;
}

.splash-cinema-glow,
.splash-cinema-sparkle {
  display: none !important;
}

.splash-copy {
  z-index: 4 !important;
  top: auto !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(36px, calc((100dvh - var(--splash-cinema-h)) / 2 + clamp(42px, 6.4vh, 86px))) !important;
  width: min(1120px, calc(var(--splash-cinema-w) - 54px)) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  text-shadow:
    0 6px 26px rgba(0, 0, 0, 0.74),
    0 0 34px rgba(85, 223, 255, 0.2) !important;
}

.splash-copy .eyebrow {
  display: block !important;
  width: auto !important;
  margin: 0 auto clamp(8px, 1.2vh, 14px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffd86b !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  font-size: clamp(0.78rem, 1.08vw, 1.08rem) !important;
  font-weight: 1000 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.splash-copy h1 {
  display: grid !important;
  gap: 0 !important;
  margin: 0 auto !important;
  font-family: var(--gk-title-font), "Nunito", "Inter", sans-serif !important;
  line-height: 0.86 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.splash-copy h1 span,
.splash-copy h1 strong {
  display: block !important;
  color: #fff9ef !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.72)) !important;
  text-shadow:
    0 3px 0 rgba(48, 34, 71, 0.42),
    0 0 24px rgba(85, 223, 255, 0.26),
    0 0 48px rgba(255, 111, 174, 0.16) !important;
}

.splash-copy h1 span {
  font-size: clamp(2.1rem, 4.7vw, 5.15rem) !important;
}

.splash-copy h1 strong {
  font-size: clamp(3rem, 7.2vw, 7.55rem) !important;
  color: #ffd86b !important;
}

.splash-copy .splash-tagline,
.splash-copy p.splash-tagline {
  width: min(920px, 100%) !important;
  max-width: none !important;
  margin: clamp(12px, 1.9vh, 20px) auto clamp(18px, 2.8vh, 34px) !important;
  color: #fff4d8 !important;
  font-size: clamp(1rem, 1.45vw, 1.35rem) !important;
  font-weight: 950 !important;
  line-height: 1.32 !important;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.78) !important;
}

.splash-copy .primary-button.splash-play-button,
.splash-copy .primary-button.splash-play-button:hover {
  display: inline-grid !important;
  min-width: clamp(210px, 20vw, 320px) !important;
  min-height: clamp(58px, 6.3vh, 76px) !important;
  padding: 0 clamp(28px, 3vw, 46px) !important;
  border: 2px solid rgba(255, 249, 239, 0.88) !important;
  border-radius: 999px !important;
  color: #fff9ef !important;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 249, 239, 0.55), transparent 38%),
    linear-gradient(135deg, #6a4cff 0%, #ff6fae 48%, #55dfff 100%) !important;
  box-shadow:
    0 18px 50px rgba(3, 4, 13, 0.45),
    0 0 0 7px rgba(255, 216, 107, 0.1),
    0 0 34px rgba(85, 223, 255, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.72),
    inset 0 -10px 22px rgba(48, 34, 71, 0.34) !important;
  text-shadow: 0 3px 14px rgba(3, 4, 13, 0.62) !important;
}

.splash-copy .primary-button.splash-play-button span {
  color: #fff9ef !important;
  font-size: clamp(1.06rem, 1.32vw, 1.34rem) !important;
  font-weight: 1000 !important;
  letter-spacing: 0.08em !important;
}

.splash-copy .primary-button.splash-play-button small {
  display: none !important;
}

@media (max-width: 740px) {
  .splash-copy {
    bottom: max(22px, calc((100dvh - var(--splash-cinema-h)) / 2 + 28px)) !important;
    width: min(96vw, calc(var(--splash-cinema-w) - 28px)) !important;
  }

  .splash-copy .splash-tagline {
    display: none !important;
  }

  .splash-copy .primary-button.splash-play-button {
    min-height: 54px !important;
  }
}

/* v123 stabilization/readability pass: final Glowkin Luminous UI guardrails. */
:root {
  --gk-readable-dark: #302247;
  --gk-readable-muted: rgba(48, 34, 71, 0.76);
  --gk-readable-light: #fff9ef;
  --gk-panel-cream: rgba(255, 249, 239, 0.94);
  --gk-panel-violet: rgba(56, 32, 110, 0.84);
}

.menu-showcase {
  grid-template-rows: minmax(322px, auto) auto !important;
  gap: 18px !important;
  overflow: visible !important;
}

.menu-hero-stage {
  min-height: 344px !important;
  padding-bottom: 10px !important;
  overflow: visible !important;
}

#menuHeroCanvas {
  max-height: 318px !important;
  object-fit: contain !important;
}

.menu-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 8px !important;
  padding-top: 20px !important;
}

.profile-panel {
  color: var(--gk-readable-dark) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(85, 223, 255, 0.28), transparent 32%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(255, 244, 216, 0.91)) !important;
  border-color: rgba(106, 76, 255, 0.28) !important;
}

.profile-panel :is(strong, span, b, em, small, .stat-row span, #coinCount, #weaponName, .panel-label) {
  color: var(--gk-readable-dark) !important;
  text-shadow: none !important;
}

.profile-card {
  min-height: 76px !important;
  overflow: visible !important;
  align-items: center !important;
}

.profile-card canvas {
  width: 66px !important;
  height: 66px !important;
  padding: 3px !important;
  object-fit: contain !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 216, 107, 0.34), transparent 58%),
    rgba(255, 255, 255, 0.64) !important;
}

.stat-grid span,
.stat-row span {
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 255, 255, 0.62) !important;
  border-color: rgba(106, 76, 255, 0.18) !important;
}

.chat-panel {
  color: var(--gk-readable-light) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(85, 223, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(30, 23, 68, 0.88), rgba(56, 32, 110, 0.84)) !important;
  border-color: rgba(255, 249, 239, 0.34) !important;
}

.chat-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 8px !important;
  align-items: center !important;
}

.chat-head .mini-button {
  min-width: 68px !important;
  min-height: 34px !important;
  color: var(--gk-readable-dark) !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b) !important;
}

.chat-line {
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 249, 239, 0.9) !important;
  border-color: rgba(106, 76, 255, 0.18) !important;
}

.chat-line :is(strong, span) {
  color: var(--gk-readable-dark) !important;
  text-shadow: none !important;
}

.chat-form input,
.support-input-row input {
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 249, 239, 0.96) !important;
}

.settings-dialog {
  width: min(860px, calc(100vw - 28px)) !important;
}

.settings-dialog form,
.gear-dialog form,
.shop-dialog form,
.local-shop-dialog form,
.arcade-dialog form,
.support-dialog form,
.dialogue-dialog form {
  color: var(--gk-readable-dark) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(85, 223, 255, 0.22), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(255, 111, 174, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.98), rgba(255, 244, 216, 0.95)) !important;
}

.settings-dialog :is(strong, span, p, em, label, small, button),
.gear-dialog :is(strong, span, p, em, label, small, button),
.shop-dialog :is(strong, span, p, em, label, small, button),
.local-shop-dialog :is(strong, span, p, em, label, small, button),
.arcade-dialog :is(strong, span, p, em, label, small, button) {
  text-shadow: none !important;
}

.settings-dialog :is(.dialog-head strong, .setting-row strong, .game-log-panel strong),
.gear-dialog :is(.dialog-head strong, .gear-section-title, .gear-item strong, .slot-card strong, .combo-panel strong),
.shop-dialog :is(.dialog-head strong, .shop-item strong, .prism-product-title strong) {
  color: var(--gk-readable-dark) !important;
}

.settings-dialog :is(.shop-note, .setting-row em, .game-log-panel span),
.gear-dialog :is(.gear-item span, .gear-item p, .slot-card span, .slot-card em, .combo-panel span),
.shop-dialog :is(.shop-note, .shop-item p, .shop-item span, .provider-row span) {
  color: var(--gk-readable-muted) !important;
}

.setting-row,
.game-log-panel,
.gear-dialog .slot-card,
.gear-dialog .combo-panel,
.gear-dialog .gear-item,
.shop-item,
.grownup-gate,
.unicorn-derby-card,
.unicorn-derby-result {
  color: var(--gk-readable-dark) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 216, 107, 0.22), transparent 28%),
    rgba(255, 255, 255, 0.74) !important;
  border-color: rgba(106, 76, 255, 0.18) !important;
}

.setting-row input[type="range"] {
  accent-color: #6a4cff !important;
}

.gear-loadout-tools {
  display: flex !important;
  justify-content: flex-end !important;
  margin: 6px 0 10px !important;
}

.gear-unequip-all,
.gear-unequip {
  min-height: 38px !important;
  color: var(--gk-readable-light) !important;
  background: linear-gradient(135deg, #6a4cff, #ff6fae) !important;
  border: 1px solid rgba(255, 249, 239, 0.5) !important;
  border-radius: 8px !important;
}

.gear-unequip-all:disabled {
  opacity: 0.5 !important;
}

.prism-shop-dialog .grownup-gate {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.9fr) auto auto !important;
  gap: 12px !important;
  align-items: end !important;
}

.prism-shop-dialog .grownup-gate p {
  margin: 0 !important;
  align-self: center !important;
  font-weight: 950 !important;
}

.prism-shop-dialog .grownup-gate :is(input, button) {
  min-height: 44px !important;
}

.admin-dialog {
  color: var(--gk-readable-dark) !important;
}

.admin-dialog form {
  color: var(--gk-readable-dark) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(85, 223, 255, 0.2), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(255, 111, 174, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.98), rgba(255, 244, 216, 0.94)) !important;
}

.admin-dialog :is(.admin-status, .admin-command, .admin-overview-panel, .admin-section-list, .admin-record-list, .admin-editor, .admin-hierarchy, .admin-quick-panel, .admin-backlog-panel, .admin-pricing-panel, .admin-map-visualizer, .admin-map-flow, .admin-analytics-panel, .admin-support-board, .admin-moderation-board, .admin-email-test-panel, .admin-settings-tabs, .admin-toggle-row, .admin-setting-row) {
  color: var(--gk-readable-dark) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 216, 107, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(106, 76, 255, 0.18) !important;
}

.admin-dialog :is(strong, h2, h3, label, th, td, span, p, em, small, button, .shop-note, .admin-result) {
  color: var(--gk-readable-dark) !important;
  text-shadow: none !important;
}

.admin-dialog :is(input, select, textarea, option, .admin-json-editor, .admin-record-search) {
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 249, 239, 0.98) !important;
  border-color: rgba(106, 76, 255, 0.24) !important;
}

.admin-dialog :is(.primary-button, .secondary-button, .mini-button, .admin-tabs button, .admin-settings-tabs button) {
  color: var(--gk-readable-dark) !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b) !important;
  border-color: rgba(106, 76, 255, 0.22) !important;
}

.admin-dialog :is(.admin-tabs button.is-active, .admin-settings-tabs button.is-active) {
  color: var(--gk-readable-light) !important;
  background: linear-gradient(135deg, #6a4cff, #ff6fae) !important;
}

.game-log-panel {
  display: grid !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid rgba(106, 76, 255, 0.18) !important;
  border-radius: 8px !important;
}

.game-log-head,
.game-log-list {
  display: grid !important;
  gap: 8px !important;
}

.game-log-list article {
  display: grid !important;
  grid-template-columns: 90px 150px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 9px 10px !important;
  border-radius: 8px !important;
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 249, 239, 0.82) !important;
}

.game-log-list :is(b, strong, span) {
  color: var(--gk-readable-dark) !important;
}

.arcade-board--starwhirl_defender,
.arcade-board--unicorn_derby {
  display: grid !important;
  gap: 14px !important;
  align-content: start !important;
  min-height: 460px !important;
}

.starwhirl-canvas,
.unicorn-derby-canvas {
  width: 100% !important;
  height: clamp(360px, 48vh, 560px) !important;
  border-radius: 8px !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 216, 107, 0.22), transparent 28%),
    linear-gradient(180deg, #38206e, #1e1744) !important;
}

.unicorn-derby-card {
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto auto !important;
  gap: 12px !important;
  padding: 14px !important;
  align-items: end !important;
}

.unicorn-derby-card label {
  display: grid !important;
  gap: 5px !important;
}

.unicorn-derby-card :is(select, input) {
  min-height: 44px !important;
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 249, 239, 0.98) !important;
}

.unicorn-derby-boosts {
  grid-column: 1 / -1 !important;
}

@media (max-width: 980px) {
  .prism-shop-dialog .grownup-gate,
  .unicorn-derby-card,
  .game-log-list article {
    grid-template-columns: 1fr !important;
  }
}

/* v124 live checkout, profile HUD, party chat, and arcade layout polish. */
.profile-panel {
  width: min(352px, calc(100vw - 28px)) !important;
}

.profile-card {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  min-height: 86px !important;
}

.profile-card canvas {
  width: 76px !important;
  height: 76px !important;
  padding: 0 !important;
}

.stat-row {
  display: grid !important;
  grid-template-columns: minmax(116px, 0.92fr) minmax(0, 1.28fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
}

#coinCount,
#weaponName {
  display: grid !important;
  align-content: center !important;
  gap: 1px !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 7px 9px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#coinCount b,
#weaponName b,
#coinCount small,
#weaponName small {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: var(--gk-readable-dark) !important;
  text-shadow: none !important;
}

#coinCount b,
#weaponName b {
  font-size: 0.84rem !important;
  line-height: 1.05 !important;
}

#coinCount small,
#weaponName small {
  font-size: 0.66rem !important;
  line-height: 1.1 !important;
  opacity: 0.78 !important;
}

.chat-panel {
  color: var(--gk-readable-dark) !important;
  border-color: rgba(106, 76, 255, 0.24) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(85, 223, 255, 0.24), transparent 32%),
    radial-gradient(circle at 90% 4%, rgba(255, 216, 107, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(255, 244, 216, 0.9)) !important;
}

.chat-panel :is(strong, span, p, label, button) {
  color: var(--gk-readable-dark) !important;
  text-shadow: none !important;
}

.chat-head {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 8px !important;
}

.chat-head .mini-button {
  min-width: 72px !important;
  color: var(--gk-readable-dark) !important;
  background: linear-gradient(135deg, #fff9ef, #ffd86b) !important;
}

.chat-line,
.chat-message {
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(106, 76, 255, 0.18) !important;
}

.chat-form {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
}

.chat-form input {
  min-width: 0 !important;
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 249, 239, 0.98) !important;
}

.prism-shop-dialog .grownup-gate {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.15fr) minmax(190px, 0.9fr) auto minmax(148px, 0.66fr) auto !important;
  gap: 10px !important;
  align-items: end !important;
  color: var(--gk-readable-dark) !important;
}

.prism-shop-dialog .grownup-gate p {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  color: var(--gk-readable-dark) !important;
}

.prism-shop-dialog .grownup-gate .field {
  min-width: 0 !important;
}

.prism-shop-dialog .grownup-gate :is(input, button) {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 46px !important;
}

.shop-provider-unavailable {
  display: block;
  grid-column: 1 / -1;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--gk-readable-dark) !important;
  background: rgba(255, 249, 239, 0.78);
  font-weight: 850;
}

.game-log-panel {
  display: grid !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

.game-log-panel summary {
  cursor: pointer;
  list-style: none;
}

.game-log-panel summary::-webkit-details-marker {
  display: none;
}

.game-log-head {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) !important;
  align-items: center !important;
  padding: 3px 0 !important;
}

.game-log-head::after {
  content: "Expand";
  justify-self: end;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff9ef;
  background: linear-gradient(135deg, #6a4cff, #ff6fae);
  font-size: 0.72rem;
  font-weight: 950;
}

.game-log-panel[open] .game-log-head::after {
  content: "Collapse";
}

.game-log-list {
  max-height: min(42vh, 420px);
  overflow: auto;
  padding-right: 4px;
}

.arcade-shell {
  grid-template-columns: minmax(520px, 1fr) minmax(220px, 260px) !important;
  gap: 18px !important;
}

.arcade-board--starwhirl_defender,
.arcade-board--unicorn_derby {
  display: block !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 12px !important;
}

.starwhirl-canvas,
.unicorn-derby-canvas {
  display: block !important;
  width: 100% !important;
  height: clamp(390px, 50vh, 560px) !important;
  border-radius: 22px !important;
  touch-action: none !important;
}

.unicorn-derby-card {
  grid-template-columns: repeat(3, minmax(150px, 1fr)) repeat(2, minmax(120px, auto)) !important;
  align-items: end !important;
}

.unicorn-derby-boosts {
  grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
}

.checkout-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  color: var(--gk-readable-dark, #302247);
  background:
    radial-gradient(circle at 20% 18%, rgba(85, 223, 255, 0.34), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(255, 111, 174, 0.28), transparent 30%),
    linear-gradient(145deg, #38206e, #6a4cff 48%, #55dfff);
}

.checkout-shell {
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  min-height: min(640px, calc(100vh - 48px));
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  border: 1px solid rgba(255, 249, 239, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(30, 23, 68, 0.82), rgba(30, 23, 68, 0.18)),
    url("assets/png/ui/prismworlds-cinematic-splash.png?v=124") center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 34px 90px rgba(5, 8, 18, 0.42);
}

.checkout-hero {
  position: relative;
  width: min(560px, 100%);
  justify-self: start;
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 249, 239, 0.34);
  border-radius: 24px;
  color: #fff9ef;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 107, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(30, 23, 68, 0.86), rgba(56, 32, 110, 0.76));
  backdrop-filter: blur(12px);
}

.checkout-orb {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff9ef, #55dfff 34%, #6a4cff 70%, #ff6fae);
  box-shadow: 0 0 28px rgba(85, 223, 255, 0.48);
}

.checkout-hero h1 {
  margin: 0;
  color: #fff9ef;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.checkout-hero .subtitle,
.checkout-note {
  margin: 0;
  color: rgba(255, 249, 239, 0.9);
  font-weight: 850;
  line-height: 1.45;
}

.checkout-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkout-status-grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 249, 239, 0.22);
  border-radius: 16px;
  background: rgba(255, 249, 239, 0.12);
}

.checkout-status-grid span {
  color: rgba(255, 249, 239, 0.72);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-status-grid strong {
  color: #fff9ef;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.checkout-actions .primary-button,
.checkout-link {
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #302247 !important;
  text-decoration: none;
  font-weight: 950;
  background: linear-gradient(135deg, #fff9ef, #ffd86b 58%, #ffb45e) !important;
  border: 1px solid rgba(255, 249, 239, 0.52);
}

.checkout-ok .checkout-hero {
  box-shadow: 0 0 48px rgba(118, 240, 161, 0.28);
}

@media (max-width: 980px) {
  .arcade-shell {
    grid-template-columns: 1fr !important;
  }

  .prism-shop-dialog .grownup-gate,
  .unicorn-derby-card,
  .unicorn-derby-boosts,
  .checkout-status-grid,
  .stat-row {
    grid-template-columns: 1fr !important;
  }

  .checkout-shell {
    aspect-ratio: auto;
  }
}

/* v130 painted raster foundation: all cinematic openings use the new imagegen painting. */
.splash-screen::before,
.splash-cinema-frame,
.loading-screen,
.transition-screen {
  background-image: url("assets/startup175/splash.webp?v=175r4") !important;
  background-size: cover !important;
  background-position: center !important;
}

.arcade-board--crystal_memory {
  grid-template-columns: repeat(4, minmax(74px, 1fr)) !important;
  gap: 12px !important;
  padding: 18px !important;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 216, 107, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(56, 32, 110, 0.92), rgba(85, 223, 255, 0.18), rgba(30, 23, 68, 0.96)) !important;
}

.memory-card {
  min-height: 82px;
  border: 2px solid rgba(255, 244, 216, 0.44);
  border-radius: 18px;
  color: #302247;
  font-weight: 950;
  font-size: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 216, 107, 0.46), transparent 34%),
    linear-gradient(145deg, #6a4cff, #ff6fae 62%, #55dfff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 16px 28px rgba(16, 10, 40, 0.32);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.memory-card::before {
  content: "✦";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff9ef;
  font-size: 2rem;
  text-shadow: 0 3px 10px rgba(30, 23, 68, 0.55);
}

.memory-card.is-open,
.memory-card.is-matched {
  background: linear-gradient(145deg, #fff4d8, #ffd86b 45%, #55dfff);
  transform: translateY(-2px) rotateX(6deg);
}

.memory-card.is-open::before,
.memory-card.is-matched::before {
  content: attr(data-symbol);
  color: #302247;
  font-size: 0.95rem;
  text-transform: capitalize;
}

.memory-card.is-matched {
  filter: saturate(1.18) brightness(1.08);
  box-shadow: 0 0 22px rgba(118, 240, 161, 0.42), 0 16px 28px rgba(16, 10, 40, 0.24);
}

.arcade-board--prism_chess {
  grid-template-columns: repeat(8, minmax(42px, 1fr)) !important;
  gap: 4px !important;
  padding: 14px !important;
  background:
    radial-gradient(circle at 45% 30%, rgba(85, 223, 255, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(30, 23, 68, 0.96), rgba(56, 32, 110, 0.94)) !important;
}

.chess-square {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 249, 239, 0.28);
  border-radius: 10px;
  color: #fff9ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3.6vw, 2.2rem);
  line-height: 1;
  display: grid;
  place-items: center;
  text-shadow: 0 3px 10px rgba(30, 23, 68, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.chess-square--cream {
  background: linear-gradient(145deg, rgba(255, 244, 216, 0.9), rgba(255, 216, 107, 0.68));
}

.chess-square--violet {
  background: linear-gradient(145deg, rgba(106, 76, 255, 0.88), rgba(255, 111, 174, 0.42));
}

.chess-square.has-player {
  color: #302247;
}

.chess-square.has-guide {
  color: #fff9ef;
}

.chess-square.is-selected {
  outline: 3px solid #55dfff;
  box-shadow: 0 0 24px rgba(85, 223, 255, 0.52);
}

.chess-square.is-legal {
  outline: 2px dashed #76f0a1;
}

/* v131: stable collapsed quest dock and runtime asset polish guards. */
.quest-panel.is-collapsed {
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  padding: 8px 10px !important;
  border-radius: 999px !important;
}

.quest-panel.is-collapsed .quest-head {
  gap: 8px !important;
  margin: 0 !important;
}

.quest-panel.is-collapsed .panel-label {
  min-width: 54px;
  color: #302247 !important;
  text-align: center;
}

.quest-panel.is-collapsed .quest-toggle-button {
  min-width: 72px;
  color: #fff9ef !important;
  background: linear-gradient(135deg, #6a4cff, #55dfff) !important;
}

.quest-panel.is-hidden {
  display: none !important;
}

.equipped-gear-badge img {
  transform: translateZ(0);
  backface-visibility: hidden;
}

#gpuGame {
  opacity: 1;
  transition: none;
}

/* v132: payment/admin tooling, full-screen pause, and stable HUD gear polish. */
body.is-manual-paused .game-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 65;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 216, 107, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(30, 23, 68, 0.72), rgba(106, 76, 255, 0.34), rgba(85, 223, 255, 0.16));
  backdrop-filter: blur(4px) saturate(1.1);
}

body.is-manual-paused .game-shell::after {
  content: "Paused";
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 66;
  min-width: min(520px, calc(100vw - 44px));
  padding: 28px 34px;
  border-radius: 30px;
  color: #fff9ef;
  text-align: center;
  font-family: "Nunito", "Baloo 2", system-ui, sans-serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 4px 20px rgba(30, 23, 68, 0.58);
  border: 2px solid rgba(255, 244, 216, 0.58);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 216, 107, 0.36), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(85, 223, 255, 0.26), transparent 22%),
    linear-gradient(145deg, rgba(56, 32, 110, 0.94), rgba(106, 76, 255, 0.72), rgba(30, 23, 68, 0.94));
  box-shadow: 0 34px 90px rgba(16, 10, 40, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

body.is-boss-impact .game-shell {
  animation: boss-impact-shake 620ms cubic-bezier(.2,.8,.2,1);
}

@keyframes boss-impact-shake {
  0%, 100% { transform: translate3d(0, 0, 0); filter: none; }
  14% { transform: translate3d(-8px, 3px, 0); filter: saturate(1.22) brightness(1.08); }
  28% { transform: translate3d(7px, -4px, 0); }
  42% { transform: translate3d(-5px, 5px, 0); }
  56% { transform: translate3d(4px, -3px, 0); }
  72% { transform: translate3d(-2px, 2px, 0); }
}

.equipped-gear-tray,
.equipped-gear-badge {
  contain: layout paint;
}

.equipped-gear-badge,
.equipped-gear-badge img {
  animation: none !important;
  transition: opacity 120ms ease, transform 120ms ease, filter 120ms ease !important;
}

.equipped-gear-badge img {
  opacity: 1 !important;
  object-fit: contain !important;
  image-rendering: auto;
}

.admin-tool-panel {
  margin: 18px 0;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(255, 244, 216, 0.32);
  border-radius: 28px;
  color: #fff9ef;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 216, 107, 0.2), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(85, 223, 255, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(30, 23, 68, 0.96), rgba(56, 32, 110, 0.92));
  box-shadow: 0 24px 56px rgba(16, 10, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.admin-tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-tool-head strong {
  display: block;
  color: #fff9ef;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 950;
}

.admin-tool-head span,
.admin-tool-panel label span {
  color: rgba(255, 249, 239, 0.82);
  font-weight: 800;
}

.admin-tool-pill {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: #302247 !important;
  background: linear-gradient(135deg, #fff4d8, #ffd86b);
  box-shadow: 0 8px 20px rgba(255, 216, 107, 0.22);
}

.asset-inspector-grid,
.admin-message-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.asset-generator-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 249, 239, 0.08);
  border: 1px solid rgba(255, 249, 239, 0.18);
}

.admin-tool-panel label {
  display: grid;
  gap: 7px;
}

.admin-tool-panel input,
.admin-tool-panel select,
.admin-tool-panel textarea {
  width: 100%;
  color: #302247;
  background: #fff9ef;
  border: 2px solid rgba(85, 223, 255, 0.46);
  border-radius: 16px;
  padding: 11px 13px;
  font: 850 0.98rem "Nunito", system-ui, sans-serif;
  box-shadow: inset 0 2px 7px rgba(48, 34, 71, 0.08);
}

.asset-generator-wide,
.admin-message-wide,
.admin-message-actions {
  grid-column: 1 / -1;
}

.admin-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.admin-primary-command {
  border: 0;
  border-radius: 18px;
  padding: 13px 16px;
  color: #302247;
  font-weight: 950;
  cursor: pointer;
  background: linear-gradient(135deg, #ffb45e, #ffd86b 58%, #fff4d8);
  box-shadow: 0 14px 28px rgba(255, 180, 94, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.admin-primary-command span,
.admin-command span {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: rgba(48, 34, 71, 0.82);
}

.asset-inspector-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.asset-inspector-chip {
  min-height: 72px;
  text-align: left;
  border: 1px solid rgba(255, 244, 216, 0.28);
  border-radius: 18px;
  color: #fff9ef;
  background: rgba(255, 249, 239, 0.08);
}

.asset-inspector-chip strong,
.asset-inspector-chip span {
  display: block;
  color: inherit;
}

@media (max-width: 780px) {
  .asset-inspector-grid,
  .admin-message-form {
    grid-template-columns: 1fr;
  }
}

/* v133: keep the menu and save choices usable in compact viewports. */
#loginScreen {
  padding: 10px !important;
  overflow-x: hidden;
}

.game-shell {
  height: 100dvh;
  min-height: 100dvh;
}

#loginScreen .server-hint {
  display: block !important;
  margin: 0;
  font-size: 0.78rem;
  text-align: center;
}

.shop-dialog {
  max-height: calc(100dvh - 24px);
  overscroll-behavior: contain;
}

.gear-dialog .gear-power-dashboard > p {
  color: #fff9ef !important;
  background: #302247 !important;
  line-height: 1.5;
}

/* Leave the hero and nearby combat visible while following a quest. */
@media (min-width: 1100px) and (min-height: 620px) {
  .quest-panel:not(.is-custom-position):not(.is-collapsed) {
    left: 50% !important;
    top: 76px !important;
    bottom: auto !important;
    width: 400px !important;
    max-height: 238px;
    transform: translateX(-50%) !important;
    padding: 10px 14px !important;
  }

  .quest-panel:not(.is-collapsed) .quest-body {
    gap: 6px;
  }

  .quest-panel:not(.is-collapsed) #questText,
  .quest-panel:not(.is-collapsed) .flow-coach-copy > span,
  .quest-panel:not(.is-collapsed) .flow-coach-copy > em {
    display: none;
  }

  .quest-panel:not(.is-collapsed) .flow-coach {
    min-height: 0;
    padding: 7px 9px;
  }

  .quest-panel:not(.is-collapsed) .flow-coach-orb {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .quest-panel:not(.is-collapsed) #questTitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  #loginScreen {
    overflow-x: hidden;
    overscroll-behavior: contain;
  }

  #loginScreen .login-card {
    width: calc(100% - 18px) !important;
    min-width: 0 !important;
    padding: 12px !important;
  }

  #loginScreen :is(.profile-form, .menu-layout, .menu-panel, .menu-showcase, .save-panel, .save-slot-list) {
    min-width: 0 !important;
    max-width: 100%;
  }

  #loginScreen .menu-showcase {
    gap: 0 !important;
    grid-template-rows: auto auto !important;
  }

  #loginScreen .menu-hero-stage {
    min-height: 180px !important;
    height: 200px !important;
    overflow: hidden !important;
  }

  #loginScreen #menuHeroCanvas {
    max-height: 200px !important;
    width: 190px !important;
  }

  #loginScreen .menu-panel {
    padding: 9px !important;
  }

  #loginScreen .save-slot-list {
    overflow: visible;
  }

  #loginScreen .save-slot-table {
    min-width: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  #loginScreen .save-slot-row--head {
    display: none !important;
  }

  #loginScreen .save-slot-card.save-slot-row {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px;
    padding: 10px 8px !important;
    text-align: left;
  }

  #loginScreen .save-slot-card.save-slot-row > span {
    grid-column: 1 !important;
  }

  #loginScreen :is(.save-slot-hero, .save-slot-progress, .save-slot-cell) {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  #loginScreen .save-slot-index {
    position: static !important;
    transform: none !important;
    display: block;
    justify-self: start;
  }

  #loginScreen :is(.save-slot-hero, .save-slot-progress) :is(strong, em) {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  #loginScreen .save-slot-cell::before {
    content: attr(data-label) ": ";
    font-weight: 800;
  }

  #loginScreen .chooser {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px 4px !important;
  }

  #loginScreen .avatar-choice {
    min-width: 0;
  }

  #loginScreen .color-picker-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  #loginScreen .swatches {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    gap: 10px;
  }

  #loginScreen .swatch {
    width: 32px !important;
    height: 32px !important;
  }

  #loginScreen .menu-actions :is(.primary-button, .secondary-button) {
    min-height: 44px !important;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  .quest-panel:not(.is-custom-position):not(.is-collapsed) {
    left: 10px !important;
    top: 118px !important;
    right: auto !important;
    bottom: auto !important;
    width: min(240px, calc(100vw - 150px)) !important;
    max-height: 224px;
    overflow-y: auto;
    transform: none !important;
    padding: 9px !important;
  }

  .quest-panel:not(.is-collapsed) #questText,
  .quest-panel:not(.is-collapsed) .flow-coach-copy > span,
  .quest-panel:not(.is-collapsed) .flow-coach-copy > em,
  .quest-panel:not(.is-collapsed) .flow-coach-orb,
  .quest-panel:not(.is-collapsed) #trialBadge {
    display: none;
  }

  .quest-panel:not(.is-collapsed) .quest-body {
    gap: 5px;
  }

  .quest-panel:not(.is-collapsed) #questTitle {
    font-size: 0.76rem;
  }

  .quest-panel:not(.is-collapsed) .flow-coach {
    display: block;
    padding: 6px;
    min-height: 0;
  }

  .quest-panel:not(.is-collapsed) .flow-coach-copy b {
    font-size: 0.72rem;
  }

  .minimap-panel:not(.is-custom-position) {
    top: 118px !important;
    right: 10px !important;
    width: 124px !important;
    padding: 5px !important;
  }

  .minimap-panel:not(.is-custom-position) .minimap-head {
    display: none;
  }

  .minimap-panel:not(.is-custom-position) #minimapCanvas {
    width: 100% !important;
    height: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-boss-impact .game-shell,
  .game-shell::after {
    animation: none !important;
  }
}

@media (max-width: 760px) and (max-height: 720px) and (orientation: portrait) {
  .quest-panel:not(.is-custom-position):not(.is-collapsed) {
    max-height: 136px;
  }

  .quest-panel:not(.is-collapsed) #questTitle,
  .quest-panel:not(.is-collapsed) .objective-meter {
    display: none;
  }
}



















/* V164: the player log uses one opaque reading surface in the existing UI layer. */
@layer prism-ui {
  html body .game-shell #settingsDialog .game-log-panel {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 16px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #49617d !important;
    border-radius: 14px !important;
    background: #101a2b !important;
    color: #f2f5fa !important;
    box-shadow: none !important;
  }

  html body .game-shell #settingsDialog .game-log-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    gap: 5px 14px !important;
    align-items: center !important;
    min-height: 72px;
    padding: 14px 16px !important;
    background: #18273c !important;
    color: #f2f5fa !important;
    cursor: pointer;
    list-style: none;
  }

  html body .game-shell #settingsDialog .game-log-head > strong {
    grid-column: 1;
    font-size: 17px !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    color: #f2f5fa !important;
  }

  html body .game-shell #settingsDialog .game-log-head > span {
    grid-column: 1;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: #c2d0e2 !important;
  }

  html body .game-shell #settingsDialog .game-log-head::after {
    content: "+" !important;
    grid-column: 2;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    justify-self: end !important;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    border: 1px solid #6b85a2;
    border-radius: 8px;
    background: #29435f !important;
    color: #f2f5fa !important;
    font-size: 23px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  html body .game-shell #settingsDialog .game-log-panel[open] .game-log-head::after {
    content: "\2212" !important;
  }

  html body .game-shell #settingsDialog .game-log-panel:not([open]) > .game-log-list {
    display: none !important;
  }

  html body .game-shell #settingsDialog .game-log-list {
    display: grid !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-height: min(48vh, 440px);
    max-height: min(48dvh, 440px);
    padding: 12px !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #829bb7 #101a2b;
    background: #101a2b !important;
    color: #f2f5fa !important;
  }

  html body .game-shell #settingsDialog .game-log-list article {
    display: grid !important;
    grid-template-columns: minmax(110px, .22fr) minmax(130px, .28fr) minmax(0, 1fr) !important;
    gap: 10px 14px !important;
    align-items: start !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #3d5672 !important;
    border-radius: 10px !important;
    background: #18283f !important;
    color: #f2f5fa !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: start !important;
    box-shadow: none !important;
  }

  html body .game-shell #settingsDialog .game-log-list article:nth-child(even) {
    background: #142136 !important;
  }

  html body .game-shell #settingsDialog .game-log-list article > :is(b, strong, span) {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    opacity: 1 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  html body .game-shell #settingsDialog .game-log-list article > b {
    padding-top: 3px;
    color: #b6c9df !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    font-variant-numeric: tabular-nums;
  }

  html body .game-shell #settingsDialog .game-log-list article > strong {
    justify-self: start;
    width: fit-content;
    padding: 3px 8px;
    border: 1px solid #52779a;
    border-radius: 6px;
    background: #233b57 !important;
    color: #c6e4ff !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.55 !important;
  }

  html body .game-shell #settingsDialog .game-log-list article > span {
    color: #f2f5fa !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
  }

  html body .game-shell #settingsDialog :is(.game-log-head, .game-log-list):focus-visible {
    outline: 3px solid #f5cf83 !important;
    outline-offset: -4px !important;
  }

  html body .game-shell #settingsDialog .game-log-panel ::selection {
    background: #c6e4ff;
    color: #101a2b;
  }

  @media (max-width: 760px) {
    html body .game-shell #settingsDialog .game-log-head {
      gap: 5px 10px !important;
      min-height: 68px;
      padding: 12px !important;
    }

    html body .game-shell #settingsDialog .game-log-list {
      padding: 8px !important;
      max-height: min(52dvh, 400px);
    }

    html body .game-shell #settingsDialog .game-log-list article {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) !important;
      gap: 8px 10px !important;
      padding: 11px !important;
    }

    html body .game-shell #settingsDialog .game-log-list article > strong {
      justify-self: end;
    }

    html body .game-shell #settingsDialog .game-log-list article > span {
      grid-column: 1 / -1;
    }
  }

  @media (forced-colors: active) {
    html body .game-shell #settingsDialog :is(.game-log-panel, .game-log-head, .game-log-list, .game-log-list article, .game-log-list article > strong) {
      background: Canvas !important;
      color: CanvasText !important;
      border-color: ButtonText !important;
    }

    html body .game-shell #settingsDialog .game-log-panel :is(strong, b, span) {
      color: CanvasText !important;
    }
  }
}

/* V164: Controls shares the log reading surface, with distinct focus/capture/error states. */
@layer prism-ui {
  html body .game-shell #loginScreen #menuControlsButton,
  html body .game-shell #settingsDialog #settingsControlsButton { min-width:0 !important;min-height:46px !important;padding:11px 16px !important;border:1px solid #7894b1 !important;border-radius:10px !important;background:#29435f !important;color:#f2f5fa !important;-webkit-text-fill-color:currentColor !important;font-size:14px !important;font-weight:700 !important;line-height:1.45 !important;white-space:normal !important;overflow-wrap:anywhere;text-align:center;text-shadow:none !important; }
  html body .game-shell #settingsDialog #settingsControlsButton { display:block;width:100% !important;margin:0 0 14px !important; }
  html body .game-shell #settingsDialog .controls-panel { display:block;grid-column:1 / -1;min-width:0;max-width:100%;margin:0 0 16px !important;padding:0 !important;overflow:hidden;border:1px solid #49617d !important;border-radius:14px !important;background:#101a2b !important;color:#f2f5fa !important;scroll-margin-top:18px; }
  html body .game-shell #settingsDialog .controls-summary { display:flex !important;align-items:center;justify-content:space-between;gap:14px;min-height:60px;margin:0;padding:13px 16px !important;background:#18273c !important;color:#f2f5fa !important;font-size:17px !important;font-weight:750 !important;line-height:1.45 !important;list-style:none;cursor:pointer; }
  html body .game-shell #settingsDialog .controls-summary::-webkit-details-marker { display:none; }
  html body .game-shell #settingsDialog .controls-summary::after { content:"+";display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid #6b85a2;border-radius:8px;background:#29435f;color:#f2f5fa;font-size:23px;font-weight:500; }
  html body .game-shell #settingsDialog .controls-panel[open] .controls-summary::after { content:"\2212"; }
  html body .game-shell #settingsDialog .controls-panel:not([open]) > :not(.controls-summary) { display:none !important; }
  html body .game-shell #settingsDialog .controls-guide { margin:14px 16px;padding:0; }
  html body .game-shell #settingsDialog .controls-guide p { margin:0 0 8px;color:#c2d0e2 !important;font-size:13px !important;font-weight:400 !important;line-height:1.6 !important;overflow-wrap:anywhere; }
  html body .game-shell #settingsDialog .controls-bindings { min-width:0 !important;max-width:100%;margin:16px !important;padding:8px 12px !important;border:1px solid #49617d !important;border-radius:10px !important;background:#142136 !important;color:#f2f5fa !important; }
  html body .game-shell #settingsDialog .controls-bindings legend { max-width:100%;padding:0 6px;color:#c6e4ff !important;font-size:13px !important;font-weight:700 !important;line-height:1.5 !important;white-space:normal;overflow-wrap:anywhere; }
  html body .game-shell #settingsDialog .control-binding-row { display:grid;grid-template-columns:minmax(0,1fr) minmax(84px,112px) minmax(84px,112px);gap:8px 12px;align-items:center;min-width:0;padding:10px 0;border-bottom:1px solid #354c67; }
  html body .game-shell #settingsDialog .control-binding-row:last-child { border-bottom:0; }
  html body .game-shell #settingsDialog .control-binding-row > span { min-width:0;color:#f2f5fa !important;font-size:14px !important;font-weight:600 !important;line-height:1.55 !important;overflow-wrap:anywhere; }
  html body .game-shell #settingsDialog .control-binding-key { width:100%;min-width:0 !important;min-height:46px !important;padding:9px 8px !important;border:1px solid #7894b1 !important;border-bottom-width:3px !important;border-radius:8px !important;background:#233b57 !important;color:#d8ecff !important;-webkit-text-fill-color:currentColor !important;font-size:13px !important;font-weight:700 !important;line-height:1.4 !important;white-space:normal !important;overflow-wrap:anywhere;text-align:center;text-shadow:none !important;box-shadow:none !important;cursor:pointer; }
  html body .game-shell #settingsDialog .control-binding-key.is-capturing { border-color:#ffe0a0 !important;background:#ffe0a0 !important;color:#241c0f !important;outline:2px solid #ffe0a0;outline-offset:2px; }
  html body .game-shell #settingsDialog .controls-status { margin:14px 16px;padding:10px 12px;border:1px solid #52779a;border-radius:8px;background:#14283a;color:#c6e4ff !important;font-size:13px !important;font-weight:400 !important;line-height:1.6 !important;overflow-wrap:anywhere; }
  html body .game-shell #settingsDialog .controls-status.is-error { border-color:#d892a6;border-left-width:4px;background:#41212e;color:#ffd5df !important;font-weight:650 !important; }
  html body .game-shell #settingsDialog .controls-actions { display:flex;flex-wrap:wrap;gap:10px;margin:16px; }
  html body .game-shell #settingsDialog .controls-actions > button { min-width:0;min-height:46px !important;padding:10px 14px !important;border:1px solid #7894b1 !important;border-radius:8px !important;background:#29435f !important;color:#f2f5fa !important;font-size:14px !important;font-weight:650 !important;line-height:1.45 !important;white-space:normal !important;overflow-wrap:anywhere; }
  html body .game-shell #settingsDialog :is(.control-binding-key,.controls-summary,.controls-actions > button):focus-visible,
  html body .game-shell #settingsDialog #settingsControlsButton:focus-visible,
  html body .game-shell #loginScreen #menuControlsButton:focus-visible { outline:3px solid #f5cf83 !important;outline-offset:-4px !important; }
  @media (max-width:480px) {
    html body .game-shell #settingsDialog .controls-guide { margin:12px; }
    html body .game-shell #settingsDialog .controls-bindings { margin:14px 8px !important;padding:8px !important; }
    html body .game-shell #settingsDialog .control-binding-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px; }
    html body .game-shell #settingsDialog .control-binding-row > span { grid-column:1 / -1; }
    html body .game-shell #settingsDialog .controls-status { margin:12px 8px; }
    html body .game-shell #settingsDialog .controls-actions { margin:12px; }
    html body .game-shell #settingsDialog .controls-summary { padding:12px !important; }
  }
  @media (forced-colors:active) {
    html body .game-shell #settingsDialog :is(.controls-panel,.controls-summary,.controls-bindings,.controls-status) { background:Canvas !important;color:CanvasText !important;border-color:ButtonText !important; }
    html body .game-shell #settingsDialog :is(.controls-guide p,.controls-bindings legend,.control-binding-row > span) { color:CanvasText !important; }
    html body .game-shell #settingsDialog :is(.control-binding-key,.controls-actions > button,#settingsControlsButton),
    html body .game-shell #loginScreen #menuControlsButton { background:ButtonFace !important;color:ButtonText !important;border-color:ButtonText !important; }
  }
}

/* V205: view/audio controls live in Settings; gameplay stays clear. */
.settings-session-controls205 {
  display: grid;
  grid-template-columns: minmax(190px, 1.6fr) repeat(2, minmax(100px, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}
.session-control205 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(194, 206, 255, .18);
  border-radius: 14px;
  background: rgba(20, 25, 48, .7);
}
.session-control-label205 { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #f5efd9; }
.session-control-label205 kbd { font: inherit; font-size: .8rem; color: #f3cf86; }
.session-zoom-input205 { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.settings-session-controls205 .mini-button { width: 100%; height: 44px !important; min-height: 44px !important; min-width: 44px; font-size: 1rem; }
.session-zoom-input205 input { width: 100%; min-width: 0; accent-color: #f3c77b; }
@media (max-width: 600px) {
  .settings-session-controls205 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .session-zoom205 { grid-column: 1 / -1; }
}


/* Original source: ui-overhaul.css; SHA256 7d3b26dc7b6ab4b85e279ced45f1413fc5d990ea439bee883a63bc47e8e5125e */
/* Important rules in this layer replace the unlayered legacy theme without specificity escalation. */
@layer prism-ui {
/* PrismWorlds interface, v136. A quiet frame for a colourful world. */
:root {
  --ui-ink: #101322;
  --ui-panel: #1a1e32;
  --ui-raised: #24283e;
  --ui-line: #494860;
  --ui-line-soft: #34364e;
  --ui-paper: #f4eddf;
  --ui-muted: #b8b5c7;
  --ui-gold: #e8be75;
  --ui-mint: #8dcbbb;
  --ui-health: #aa5362;
  --ui-magic: #6769aa;
  --ui-shadow: 0 14px 42px #05071366;
}
html body { color: var(--ui-paper); color-scheme: dark; }
html body button, html body input, html body select, html body textarea { font: inherit; }
html body button { touch-action: manipulation; }
html body :is(button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--ui-gold) !important;
  outline-offset: 3px !important;
}
html body [hidden] { display: none !important; }
html body #splashLanguageMount { position: absolute; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); z-index: 12; }
html body #loginScreen #languageMenuMount { display: flex; justify-content: flex-end; margin-bottom: 14px; }
html body #checkoutLanguageMount { display: flex; justify-content: flex-end; margin-bottom: 14px; }
html body :is(dialog, .world-map-card, .login-card) { scrollbar-color: #69667d #171b2c; scrollbar-width: thin; }

/* Shared menu materials. */
html body .game-shell :where(dialog, .world-map-card) {
  background: linear-gradient(145deg, #25273b, #151a2b 70%) !important;
  border: 1px solid #777087 !important;
  border-radius: 22px !important;
  box-shadow: 0 28px 100px #030511b8, inset 0 1px #ffffff0c !important;
  color: var(--ui-paper) !important;
  padding: 24px !important;
}
html body .game-shell dialog {
  width: min(1060px, calc(100vw - 48px)) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(900px, calc(100dvh - 64px)) !important;
  margin: auto !important;
  overflow: auto !important;
  pointer-events: auto !important;
}
html body .game-shell dialog::backdrop { background: #080b1dcc !important; backdrop-filter: blur(10px); }
html body .game-shell dialog > form { display: block !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; background: transparent !important; border: 0 !important; color: var(--ui-paper) !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
html body .game-shell .dialog-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 0 0 18px !important;
  margin: 0 0 18px !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
  background: transparent !important;
  color: var(--ui-paper) !important;
}
html body .game-shell .dialog-head > strong,
html body .game-shell .dialog-head > div > strong { font-size: 25px !important; letter-spacing: -.5px; color: var(--ui-paper) !important; }
html body .game-shell dialog .dialog-head { position: sticky !important; top: -24px !important; z-index: 5; padding-top: 10px !important; background: #202438 !important; }
html body .game-shell :is(.shop-note, .server-hint, .dialog-head p) { color: var(--ui-muted) !important; line-height: 1.6; }
html body .game-shell dialog > form > .shop-note { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
html body .game-shell .icon-button {
  flex: 0 0 36px !important; width: 36px !important; height: 36px !important;
  min-width: 36px !important; border-radius: 50% !important;
  border: 1px solid var(--ui-line) !important; background: #ffffff08 !important;
  color: var(--ui-paper) !important; box-shadow: none !important; font-size: 18px !important;
}
html body .game-shell :is(.primary-button, .secondary-button, .mini-button) {
  border-radius: 10px !important; box-shadow: none !important;
  text-shadow: none !important; font-weight: 700 !important;
}
html body .game-shell .primary-button {
  background: var(--ui-gold) !important; border: 1px solid #f0d199 !important;
  color: #241f1c !important; min-height: 44px; padding: 12px 20px !important;
}
html body .game-shell .primary-button:hover { background: #f4d396 !important; }
html body .game-shell :is(.secondary-button, .mini-button) {
  background: #303247 !important; border: 1px solid #57536c !important;
  color: var(--ui-paper) !important; padding: 10px 16px !important;
}
html body .game-shell .mini-button { padding: 7px 10px !important; font-size: 11px !important; min-height: 30px !important; }
html body .game-shell :is(.secondary-button, .mini-button):hover { background: #42405a !important; border-color: #92829c !important; }
html body .game-shell button:disabled { opacity: .62 !important; cursor: not-allowed; filter: saturate(.45); }
html body .game-shell :is(input:not([type=range]):not([type=checkbox]):not([type=color]), select, textarea) {
  background: #111728 !important; color: var(--ui-paper) !important;
  border: 1px solid #52506a !important; border-radius: 10px !important;
  min-height: 42px; padding: 10px 12px !important; box-shadow: inset 0 1px 3px #0003 !important;
}
html body .game-shell input::placeholder, html body .game-shell textarea::placeholder { color: #9492a8 !important; }
html body .game-shell option { background: #151b2d !important; color: var(--ui-paper) !important; }
html body .game-shell input[type=range] { accent-color: var(--ui-gold) !important; }
html body .game-shell input[type=checkbox] { accent-color: var(--ui-mint) !important; width: 19px !important; height: 19px !important; }
html body .game-shell :is(.field > span, .chooser-head > strong, .save-panel-head > strong) { color: var(--ui-paper) !important; }
html body .game-shell :is(.field, .chooser-head) { margin-bottom: 14px; }
html body .game-shell :is(.chooser-head > span, .save-panel-head > span) { color: var(--ui-muted) !important; }
html body .game-shell :is(.slot-card, .item-card, .gear-card, .gear-slot, .gear-summary-card,
  .combo-panel, .combo-summary, .gear-loadout-card, .gear-tip-card, .gear-board,
  .shop-card, .map-card, .stable-card, .settings-card, .setting-row, .hint-card,
  .codex-card, .admin-card, .admin-section, .admin-editor-section, .grownup-gate,
  .shop-wallet-bar, .support-message, .stable-hero, .stable-stat, .stable-race-card) {
  background: #22273b !important; border: 1px solid var(--ui-line-soft) !important;
  border-radius: 14px !important; color: var(--ui-paper) !important; box-shadow: none !important;
}
html body .game-shell :is(.gear-item,.shop-item,.local-shop-card,.shop-wallet-card,.shop-preview-card,.hint-summary,.hint-notice,.hud-visibility-settings,.hud-opacity-row,.game-log-panel,.admin-backlog-card,.unicorn-derby-card,.unicorn-derby-result,.stable-xp,.codex-meta) { background: #22273b !important; border-color: var(--ui-line-soft) !important; color: var(--ui-paper) !important; box-shadow: none !important; border-radius: 12px !important; }
html body .game-shell :is(.gear-item.is-equipped,.shop-item.is-owned) { background: #263c40 !important; border-color: #5b7f73 !important; }
html body .game-shell .shop-item.is-owned { opacity: 1 !important; filter: none !important; }
html body .game-shell :is(.gear-item.is-locked,.shop-item.is-locked) { opacity: 1 !important; }
html body .game-shell .gear-item.is-locked > div { opacity: 1; }
html body .game-shell :is(.gear-item,.shop-item:not(.prism-product-card)) { grid-template-columns: 38px minmax(0,1fr) auto !important; min-width: 0 !important; max-width: 100% !important; }
html body .game-shell :is(.gear-item,.shop-item) > div { min-width: 0 !important; overflow-wrap: anywhere; }
html body .game-shell :is(.gear-item,.shop-item) :is(strong,span,p) { white-space: normal !important; overflow-wrap: anywhere; }
html body .game-shell :is(.gear-item,.shop-item,.slot-card,.local-shop-copy) :is(span,em,p,small) { color: var(--ui-muted) !important; }
html body .game-shell .local-shop-copy > strong { color: var(--ui-paper) !important; }
html body .game-shell .local-shop-copy .local-shop-chips > span { color: var(--ui-mint) !important; background: #11192c !important; border: 1px solid #3f5b60 !important; border-radius: 6px; }
html body .game-shell .local-shop-buy { display: flex !important; flex-direction: column !important; align-items: center; justify-content: center; gap: 4px; line-height: 1.35; }
html body .game-shell .local-shop-buy > b { color: #241f1c !important; font-size: 14px; }
html body .game-shell .local-shop-buy > span { color: #4b3d29 !important; font-size: 11px; }
html body .game-shell .local-shop-buy:disabled { opacity: 1 !important; filter: none !important; background: #303448 !important; border-color: #55536d !important; }
html body .game-shell .local-shop-buy:disabled > :is(b,span) { color: var(--ui-muted) !important; }
html body .game-shell .local-shop-card.is-locked { opacity: 1 !important; }
html body .game-shell :is(dialog, .world-map-card) :is(h2, h3, h4, strong, b, label, dt, dd) { color: var(--ui-paper) !important; text-shadow: none !important; }
html body .game-shell :is(dialog, .world-map-card) :is(p, small, em, span, .item-meta, .gear-subtitle, .gear-stat-note) { color: var(--ui-muted) !important; text-shadow: none !important; }
html body .game-shell :is(dialog, .world-map-card) .primary-button { color: #241f1c !important; }
html body .game-shell dialog .primary-button :is(strong,span,b,em) { color: #241f1c !important; }
html body .game-shell .primary-wide { background: var(--ui-gold) !important; color: #241f1c !important; border: 1px solid #f0d199 !important; border-radius: 10px !important; box-shadow: none !important; min-height: 44px !important; padding: 10px 16px !important; font-weight: 700 !important; }
html body .game-shell :is(.tab-button, .gear-tab, .shop-tab, .admin-tab, .arcade-cabinet-tabs > button) {
  background: #151b2d !important; border: 1px solid #43445e !important; border-radius: 9px !important;
  color: var(--ui-muted) !important; box-shadow: none !important; padding: 10px 14px !important;
}
html body .game-shell :is(.tab-button, .gear-tab, .shop-tab, .admin-tab, .arcade-cabinet-tabs > button).is-selected {
  color: var(--ui-paper) !important; background: #41415a !important; border-color: var(--ui-gold) !important;
}
html body .game-shell :is(.prism-shop-tabs button,.shop-filter-button) { background: #151b2d !important; color: var(--ui-muted) !important; border: 1px solid #43445e !important; border-radius: 9px !important; box-shadow: none !important; padding: 10px 14px !important; }
html body .game-shell .prism-shop-tabs button.is-active { background: #41415a !important; color: var(--ui-paper) !important; border-color: var(--ui-gold) !important; }
html body .game-shell .prism-shop-tabs { background: #202438 !important; border: 1px solid #41445c !important; border-radius: 12px !important; padding: 10px !important; }
html body .game-shell .prism-shop-tabs b { background: #111a2c !important; color: var(--ui-muted) !important; border: 0 !important; border-radius: 5px !important; font-size: 10px !important; }
html body .game-shell .shop-wallet-card > span { color: var(--ui-mint) !important; font-size: 9px !important; }
html body .game-shell .grownup-checkout { border: 1px solid #49475f; border-radius: 12px; background: #20263a; margin: 12px 0; }
html body .game-shell .grownup-checkout > summary { cursor: pointer; padding: 12px 16px; color: var(--ui-paper); font-size: 12px; }
html body .game-shell .grownup-checkout > summary > span { margin-left: 12px; color: var(--ui-muted); font-size: 10px; }
html body .game-shell .grownup-checkout .grownup-gate { margin: 0 !important; border: 0 !important; border-top: 1px solid #49475f !important; border-radius: 0 0 12px 12px !important; }
html body .game-shell .grownup-checkout .grownup-gate > .field { margin: 0 !important; width: 100% !important; min-width: 0 !important; }
html body .game-shell .grownup-checkout .grownup-gate :is(input, button) { height: 46px !important; box-sizing: border-box !important; margin: 0 !important; }
html body .game-shell :is(.prism-product-art,.shop-preview-art,.shop-completion-art) { background-color: #182439 !important; box-shadow: none !important; }
html body .game-shell :is(.credit-pack-hero,.shop-completion-banner,.credit-pack-card,.prism-product-card,.shop-empty-card) { background: #20263a !important; border: 1px solid #49475f !important; border-radius: 14px !important; box-shadow: none !important; color: var(--ui-paper) !important; }
html body .game-shell .credit-pack-hero { grid-template-columns: minmax(180px,.6fr) minmax(0,1.4fr) !important; padding: 18px !important; }
html body .game-shell .credit-pack-intro { gap: 10px !important; }
html body .game-shell .credit-pack-intro > span { background: transparent !important; color: var(--ui-mint) !important; border: 0 !important; font-size: 10px !important; }
html body .game-shell .credit-pack-intro > strong { color: var(--ui-paper) !important; font-size: 24px !important; }
html body .game-shell .credit-pack-intro > p { color: var(--ui-muted) !important; font-size: 12px !important; line-height: 1.6 !important; font-weight: 400 !important; }
html body .game-shell .credit-pack-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 9px !important; }
html body .game-shell .credit-pack-card { background: #171f32 !important; padding: 9px !important; }
html body .game-shell .credit-pack-main { background: #30354a !important; border: 1px solid #6a5d73 !important; border-radius: 9px !important; color: var(--ui-paper) !important; box-shadow: none !important; }
html body .game-shell .credit-pack-main > span { color: var(--ui-gold) !important; font-size: 14px !important; }
html body .game-shell .credit-pack-main > strong { color: var(--ui-paper) !important; font-size: 15px !important; }
html body .game-shell .credit-pack-main > em { color: var(--ui-muted) !important; font-size: 9px !important; }
html body .game-shell :is(.provider-row,.shop-provider-strip) button { background: #30384c !important; color: var(--ui-paper) !important; border: 1px solid #566172 !important; border-radius: 8px !important; box-shadow: none !important; min-height: 35px !important; font-size: 11px !important; padding: 7px 10px !important; }
html body .game-shell .prism-product-purchase .shop-price { background: transparent !important; color: var(--ui-gold) !important; border: 0 !important; box-shadow: none !important; padding: 6px 0 !important; font-size: 18px !important; }
html body .game-shell .prism-product-chips > span { background: #11192c !important; color: var(--ui-mint) !important; border: 1px solid #3f5b60 !important; border-radius: 6px !important; font-size: 10px !important; }
html body .game-shell .prism-product-art > span { background: #111a2be8 !important; color: var(--ui-paper) !important; border: 1px solid #6b6176 !important; border-radius: 6px !important; }
html body .game-shell :is(.gear-list, .shop-list, .stable-list, .settings-list, .codex-list, .local-shop-list) { gap: 14px !important; }
html body .game-shell :is(.shop-list,.stable-list,.settings-list,.codex-list,.hint-list,.local-shop-list) { height: auto !important; max-height: none !important; min-height: 0 !important; overflow: visible !important; }
html body .game-shell .gear-list { display: grid !important; grid-template-columns: minmax(0,1fr) !important; grid-auto-rows: max-content !important; align-content: start !important; height: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important; }
html body .game-shell .gear-list > * { flex-shrink: 0 !important; }
html body .game-shell :is(.gear-hero, .gear-showcase, .gear-summary, .shop-preview-strip, .local-shop-scene) {
  border-color: #49465f !important; background-color: #191d31 !important; border-radius: 14px !important;
}
html body .game-shell :is(.gear-note, .gear-dashboard-note, .loadout-note) { background: #151d2d !important; color: #c8c7d5 !important; border-color: #465365 !important; }
html body .game-shell :is(.gear-stat, .gear-pill, .item-badge, .shop-badge, .map-badge) {
  background: #151b2d !important; color: var(--ui-mint) !important; border-color: #3f5b60 !important; box-shadow: none !important;
}

/* Start screen: the selected hero and six real adventure journals. */
html body #loginScreen {
  padding: 32px !important; overflow-y: auto !important;
  background: linear-gradient(90deg, #0d1227c9, #15162c85), var(--login-atlas175, none) center / cover !important;
}
html body #loginScreen .login-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: min(1180px, 100%) !important; max-width: 1180px !important;
  max-height: none !important; height: auto !important; overflow: visible !important;
  background: linear-gradient(120deg, #222338, #141b2c) !important;
  border: 1px solid #777087 !important; border-radius: 24px !important;
  padding: 32px !important; margin: auto !important; box-shadow: 0 24px 100px #030616a6 !important;
}
html body #loginScreen .menu-copy { display: block !important; padding: 0 0 20px !important; text-align: left !important; margin: 0 !important; max-width: none !important; }
html body #loginScreen .menu-copy h1 { display: flex !important; align-items: baseline !important; gap: 16px !important; margin: 0 0 8px !important; text-align: left !important; line-height: 1.1 !important; }
html body #loginScreen h1 span { font-size: 45px !important; color: #f3e9d6 !important; text-shadow: none !important; }
html body #loginScreen h1 strong { font-size: 25px !important; color: var(--ui-gold) !important; text-shadow: none !important; background: none !important; filter: none !important; }
html body #loginScreen .eyebrow { color: var(--ui-mint) !important; font-size: 10px !important; letter-spacing: 2px; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 10px !important; }
html body #loginScreen .subtitle { color: var(--ui-muted) !important; font-size: 13px !important; max-width: none !important; margin: 0 !important; }
html body #loginScreen .menu-layout { display: grid !important; grid-template-columns: 280px minmax(0, 1fr) !important; gap: 30px !important; }
html body #loginScreen .menu-showcase { background: #171b2a !important; border: 1px solid #3b3d56 !important; border-radius: 18px !important; padding: 18px !important; align-self: stretch; }
html body #loginScreen .menu-hero-stage { height: 270px !important; min-height: 0 !important; background: radial-gradient(ellipse, #72768536, #161b2c00 70%) !important; border: 0 !important; box-shadow: none !important; }
html body #loginScreen #menuHeroCanvas { width: 245px !important; height: 270px !important; max-width: 100%; object-fit: contain; }
html body #loginScreen .menu-hero-copy { background: none !important; border: 0 !important; padding: 16px 0 0 !important; }
html body #loginScreen .menu-hero-copy > strong { color: var(--ui-paper) !important; font-size: 23px !important; }
html body #loginScreen .menu-hero-copy > span, html body #loginScreen .menu-hero-copy p { color: var(--ui-muted) !important; }
html body #loginScreen .menu-hero-stats { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; margin-top: 22px !important; }
html body #loginScreen .menu-hero-stats > div { background: #22273b !important; border: 1px solid #343a50 !important; border-radius: 10px !important; padding: 10px 12px !important; }
html body #loginScreen .menu-hero-stats dt { color: #8dcbbb !important; font-size: 10px !important; text-transform: uppercase; letter-spacing: 1px; }
html body #loginScreen .menu-hero-stats dd { color: var(--ui-paper) !important; font-size: 12px !important; margin: 5px 0 0 !important; }
html body #loginScreen .menu-panel { min-width: 0; gap: 8px !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html body #loginScreen :is(.save-panel,.color-picker-panel,.menu-panel)::before,
html body #loginScreen :is(.save-panel,.color-picker-panel,.menu-panel)::after { display: none !important; }
html body #loginScreen .save-panel { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 18px !important; }
html body #loginScreen .save-panel-head { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 12px; }
html body #loginScreen :is(.save-panel-head,.chooser-head) { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
html body #loginScreen .save-slot-list { display: block !important; overflow: visible !important; padding: 0 !important; }
html body #loginScreen .save-slot-table { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; min-width: 0 !important; width: 100% !important; gap: 9px !important; margin: 0 !important; }
html body #loginScreen .save-slot-row--head { display: none !important; }
html body #loginScreen .save-slot-card {
  display: grid !important; grid-template-columns: 1fr !important; align-content: start; gap: 5px !important;
  min-width: 0 !important; min-height: 88px !important; padding: 12px !important; text-align: left !important;
  background: #1b2134 !important; border: 1px solid #3e4058 !important; border-radius: 12px !important;
  color: var(--ui-paper) !important; box-shadow: none !important; transform: none !important;
}
html body #loginScreen .save-slot-card > span { grid-column: 1 !important; min-width: 0; color: var(--ui-muted) !important; }
html body #loginScreen .save-slot-card .save-slot-index { font-size: 10px !important; color: #9c9cb2 !important; text-transform: uppercase; letter-spacing: 1px; }
html body #loginScreen .save-slot-card .save-slot-hero { display: flex !important; align-items: center !important; gap: 7px !important; flex-wrap: wrap; }
html body #loginScreen .save-slot-card .save-slot-hero strong { color: var(--ui-paper) !important; font-size: 12px !important; }
html body #loginScreen .save-slot-card .save-slot-hero em { color: var(--ui-gold) !important; font-size: 10px !important; font-style: normal; }
html body #loginScreen .save-slot-card .save-slot-cell { display: none !important; }
html body #loginScreen .save-slot-card .save-slot-progress { display: block !important; line-height: 1.4 !important; }
html body #loginScreen .save-slot-card .save-slot-progress strong { color: var(--ui-muted) !important; font-size: 10px !important; }
html body #loginScreen .save-slot-card .save-slot-progress em { display: none !important; }
html body #loginScreen .save-slot-card.is-selected { background: #333346 !important; border-color: var(--ui-gold) !important; box-shadow: inset 0 0 0 1px #e8be7540 !important; }
html body #loginScreen .save-slot-card:hover { background: #2a2d44 !important; border-color: #aaa0b5 !important; }
html body #loginScreen .chooser { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; gap: 7px !important; }
html body #loginScreen .field { display: grid !important; grid-template-columns: 1fr !important; gap: 7px !important; background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
html body #loginScreen .field > span { color: var(--ui-muted) !important; font-size: 10px !important; }
html body #loginScreen .field input { background: #111728 !important; border: 1px solid #52506a !important; color: var(--ui-paper) !important; }
html body #loginScreen .avatar-choice { background: #1d2438 !important; border: 1px solid #42445e !important; border-radius: 10px !important; color: #c5c1d1 !important; padding: 9px 3px !important; min-width: 0 !important; min-height: 56px !important; font-size: 10px !important; box-shadow: none !important; }
html body #loginScreen .avatar-choice.is-selected { background: #35364c !important; border-color: var(--ui-gold) !important; color: var(--ui-paper) !important; }
html body #loginScreen .avatar-choice::before, html body #loginScreen .avatar-choice::after { display: none !important; }
html body #loginScreen .avatar-choice-name { color: var(--ui-paper) !important; font-size: 9px !important; text-shadow: none !important; }
html body #loginScreen .color-picker-panel { display: flex !important; align-items: center !important; gap: 18px !important; flex-wrap: wrap; background: none !important; border: 0 !important; padding: 8px 0 !important; box-shadow: none !important; }
html body #loginScreen .color-picker-panel .chooser-head { display: block !important; margin: 0 !important; }
html body #loginScreen .color-picker-panel .chooser-head > span { display: none !important; }
html body #loginScreen .swatches { gap: 9px !important; flex-wrap: wrap; }
html body #loginScreen .swatch { width: 28px !important; height: 28px !important; border: 3px solid #171b2d !important; box-shadow: 0 0 0 1px #56546b !important; }
html body #loginScreen .swatch.is-selected { box-shadow: 0 0 0 2px var(--ui-paper) !important; transform: scale(1.08) !important; }
html body #loginScreen .menu-actions { display: flex !important; gap: 10px !important; flex-wrap: wrap; margin-top: 14px !important; }
html body #loginScreen .menu-actions .primary-button { flex: 1 1 180px !important; }
html body #loginScreen .menu-actions .secondary-button { flex: 0 1 auto !important; }
html body #loginScreen #serverHint { min-height: 18px; margin: 10px 0 0 !important; font-size: 11px !important; }

/* In-world HUD. Only actions occupy the bottom-centre dock. */
html body .hud { --panel-bg: #171d30ee; }
html body .hud .hud-vignette { background: linear-gradient(#0b10252b, transparent 18%, transparent 85%, #0b10252b) !important; }
html body .hud :is(.topbar, .profile-panel, .quest-panel, .roster-panel, .battle-panel, .chat-panel, .zoom-panel, .minimap-panel, .ability-bar, .hud-tools) {
  background: var(--panel-bg) !important; color: var(--ui-paper) !important;
  border: 1px solid #6c6a814d !important; border-radius: 13px !important;
  box-shadow: 0 6px 20px #05081738, inset 0 1px #ffffff08 !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; text-shadow: none !important;
  min-width: 0 !important; min-height: 0 !important; max-width: none !important;
}
html body .hud :is(.topbar,.profile-panel,.quest-panel,.roster-panel,.chat-panel,.zoom-panel,.minimap-panel,.buff-tray):not(.is-custom-position) { transform: none !important; }
html body .hud :is(.topbar, .profile-panel, .quest-panel, .battle-panel, .minimap-panel)::after { display: none !important; }
html body .hud :is(strong, b, .panel-label, .stat-row span, .stat-grid span) { color: var(--ui-paper) !important; text-shadow: none !important; }
html body .hud :is(.quest-body > span, .battle-panel > span, .profile-card span, .roster-meta) { color: var(--ui-muted) !important; text-shadow: none !important; }
html body .hud .panel-label { font-size: 9px !important; text-transform: uppercase; letter-spacing: 1.5px !important; font-weight: 700; }
html body .hud .topbar:not(.is-custom-position) {
  left: 18px !important; top: 15px !important; right: auto !important; bottom: auto !important;
  width: 248px !important; min-height: 34px !important; padding: 5px 11px !important;
  background: #151b2bc4 !important; border-radius: 10px !important;
}
html body .hud .brand { gap: 7px !important; min-width: 0; flex: 1 1 auto; }
html body .hud .brand strong { display: flex !important; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; font-size: 11px !important; line-height: 1 !important; max-width: 145px; white-space: nowrap; }
html body .hud .brand strong small { font-size: 8px !important; font-weight: 600; letter-spacing: .04em; line-height: 1; }
html body .hud .hud-brand-logo185 { display: block; width: 22px; height: 22px; flex: 0 0 auto; object-fit: contain; }
html body .hud .topbar-pills { gap: 6px !important; flex: 0 0 auto; }
html body .hud .admin-console-button { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 5px; min-height: 29px; padding: 5px 8px !important; border: 1px solid #8fc8bd !important; border-radius: 7px !important; background: #24413f !important; color: #eefdf6 !important; font-size: 10px !important; line-height: 1.2; font-weight: 750; cursor: pointer; }
html body .hud .admin-console-button::before { content: ''; flex: 0 0 15px; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20admin%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%203%2011%204v9c0%206-6%2011-11%2014C11%2027%205%2022%205%2016V7Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2013%203%203%207-7M11%2022h10%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%203v4%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") center/contain no-repeat; }
html body .hud .admin-console-button:hover { background-color: #315b55 !important; }
html body .hud .admin-console-button > b { color: inherit !important; font: inherit; }
html body .hud :is(.admin-console-button,.ability-button--admin).needs-admin-sign-in > b::after { content: var(--gl-sign-in-label, 'Sign in'); display: block; margin-top: 2px; color: #b9d3cb; font-size: 8px; font-weight: 500; line-height: 1.1; }
html body .hud .profile-card .admin-role-badge { display: block; margin-top: 3px; color: #a5e5cb !important; font-size: 8px !important; letter-spacing: .5px; text-transform: uppercase; }
html body .hud :is(.admin-console-button, .ability-button--admin, .admin-role-badge)[hidden] { display: none !important; }
html body .hud .ability-icon--admin { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20admin%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%203%2011%204v9c0%206-6%2011-11%2014C11%2027%205%2022%205%2016V7Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2013%203%203%207-7M11%2022h10%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%203v4%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") center/contain no-repeat !important; }
html body .game-shell .admin-account-card { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; padding: 16px; border: 1px solid #638c83; border-radius: 12px; background: #203631; }
html body .game-shell .admin-account-card > strong { color: #b5edd3 !important; }
html body .game-shell .admin-account-card > p { margin: 0; color: #d0dad2; font-size: 12px; line-height: 1.5; }
html body .hud .control-lost-notice { display: none !important; position: absolute; z-index: 12; top: 88px; left: 50%; transform: translateX(-50%); width: min(360px,calc(100vw - 32px)); padding: 12px 16px; border: 1px solid #b3966e; border-radius: 12px; background: #25293ff5; color: var(--ui-paper); font-size: 12px; line-height: 1.5; box-shadow: var(--ui-shadow); pointer-events: none; }
html body.is-control-lost .hud.hud--active .control-lost-notice { display: block !important; }
html body .hud .control-lost-notice strong { display: block; color: var(--ui-gold) !important; font-size: 11px; }
html body .hud .pill { background: none !important; border: 0 !important; padding: 0 !important; font-size: 9px !important; color: #c4b9a6 !important; }
html body .hud .build-pill:not([hidden]) { display: inline-flex !important; color: #a8a2b8 !important; font-size: 8px !important; }
html body .hud #onlinePill::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #d49a7f; }
html body .hud #onlinePill.is-connected::before { background: var(--ui-mint); }
html body .hud .quest-panel:not(.is-custom-position) { top: 60px !important; left: 18px !important; right: auto !important; bottom: auto !important; width: 248px !important; padding: 12px !important; max-height: 252px !important; overflow: auto; }
html body .hud .quest-head { gap: 8px !important; padding: 0 !important; margin-bottom: 7px !important; }
html body .hud .quest-body { display: grid !important; gap: 6px !important; }
html body .hud .quest-head .panel-label { color: var(--ui-gold) !important; margin: 0 !important; }
html body .hud .quest-toggle-button { padding: 3px 7px !important; min-height: 22px !important; font-size: 9px !important; border: 0 !important; background: #ffffff09 !important; }
html body .hud #questTitle { color: var(--ui-paper) !important; font-size: 14px !important; line-height: 1.35; }
html body .hud #questText { color: var(--ui-muted) !important; font-size: 10px !important; line-height: 1.5 !important; margin-top: 5px; }
html body .hud .objective-meter { padding: 8px 0 0 !important; margin-top: 8px !important; border-top: 1px solid #383c50 !important; background: none !important; }
html body .hud :is(.objective-meter-summary, .objective-meter-chip) { color: var(--ui-muted) !important; font-size: 9px !important; background: #111829 !important; border-color: #394053 !important; border-radius: 6px !important; }
html body .hud .objective-meter-summary { background: transparent !important; margin: 0 0 6px !important; padding: 0 !important; }
html body .hud .objective-meter-summary > strong { font-size: 10px !important; color: var(--ui-paper) !important; }
html body .hud .objective-meter-summary > span { font-size: 9px !important; color: var(--ui-muted) !important; }
html body .hud .objective-progress { height: 4px !important; background: #080f20 !important; border: 0 !important; box-shadow: none !important; }
html body .hud .objective-progress > i { background: var(--ui-mint) !important; box-shadow: none !important; }
html body .hud .objective-meter-chips { display: flex !important; flex-wrap: wrap; gap: 4px !important; margin-top: 6px !important; }
html body .hud .objective-meter-chips > span { font-size: 9px !important; line-height: 1.3 !important; color: #c5c1cd !important; padding: 4px 6px !important; background: #ffffff08 !important; border: 1px solid #4b4c61 !important; border-radius: 6px !important; }
html body .hud .objective-meter-chips > .is-done { color: var(--ui-mint) !important; border-color: #4d7669 !important; }
html body .hud .objective-meter-track { background: #0a1121 !important; border-color: #404257 !important; height: 5px !important; }
html body .hud .objective-meter-track > b { background: var(--ui-mint) !important; box-shadow: none !important; }
html body .hud .quest-actions { margin-top: 8px !important; gap: 8px !important; }
html body .hud .trial-badge { color: #aaa5b9 !important; background: none !important; border: 0 !important; font-size: 9px !important; }
html body .hud .flow-coach { background: none !important; border: 0 !important; padding: 7px 0 0 !important; box-shadow: none !important; margin-top: 6px !important; }
html body .hud .flow-coach-orb { display: none !important; }
html body .hud .flow-coach-copy b { color: var(--ui-mint) !important; font-size: 10px !important; }
html body .hud .flow-coach-copy :is(span, em) { font-size: 9px !important; color: #b8b5c7 !important; }
html body .hud .quest-panel.is-collapsed { width: 120px !important; height: auto !important; min-height: 0 !important; padding: 9px !important; }
html body .hud .quest-panel.is-collapsed .quest-head { margin: 0 !important; }
html body .hud .profile-panel:not(.is-custom-position) { left: 18px !important; bottom: 18px !important; right: auto !important; top: auto !important; width: 248px !important; padding: 12px !important; }
html body .hud .profile-panel { display: block !important; }
html body .hud .profile-card { min-height: 0 !important; gap: 10px !important; margin: 0 0 9px !important; }
html body .hud #portrait { width: 42px !important; height: 42px !important; border-radius: 10px !important; border: 1px solid #625b70 !important; background: #2b2d43 !important; }
html body .hud #playerName { display: block !important; font-size: 13px !important; letter-spacing: .2px; }
html body .hud #playerLevel { font-size: 10px !important; margin-top: 4px; }
html body .hud .xp-track { height: 14px !important; border: 0 !important; border-radius: 4px !important; background: #080f20 !important; margin: 5px 0 !important; box-shadow: inset 0 1px 3px #0007 !important; overflow: hidden !important; }
html body .hud .xp-track > b { left: 0 !important; top: 0 !important; height: 100% !important; border-radius: 3px !important; background: #bd995f !important; box-shadow: none !important; opacity: .9; }
html body .hud .xp-track > span { position: absolute !important; left: 6px !important; top: 0 !important; transform: none !important; font-size: 9px !important; line-height: 14px !important; color: #fff7ed !important; z-index: 2; text-shadow: 0 1px 2px #0008 !important; }
html body .hud .xp-track .resource-value { left: auto !important; right: 6px !important; font-variant-numeric: tabular-nums; }
html body .hud .hp-track > b { background: var(--ui-health) !important; }
html body .hud .mp-track > b { background: var(--ui-magic) !important; }
html body .hud #xpTrack { height: 4px !important; margin-bottom: 8px !important; }
html body .hud #xpTrack > span { display: none !important; }
html body .hud .stat-grid { display: none !important; }
html body .hud .stat-row { display: flex !important; align-items: center !important; justify-content: space-between !important; margin: 8px 0 0 !important; gap: 5px !important; font-size: 9px !important; }
html body .hud .stat-row > span { display: block !important; background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; min-height: 0 !important; }
html body .hud .stat-row > span > :is(b,strong) { font-size: 9px !important; font-weight: 600 !important; }
html body .hud .stat-row > span > :is(span,small) { display: none !important; }
html body .hud #coinCount { color: var(--ui-gold) !important; }
html body .hud #weaponName { color: var(--ui-muted) !important; max-width: 135px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
html body .hud .equipped-gear-tray { display: none !important; }
html body .hud .potion-tray { gap: 5px !important; margin: 8px 0 0 !important; }
html body .hud .potion-button { background: #222a3f !important; border-color: #4a4c66 !important; border-radius: 7px !important; min-height: 30px !important; color: var(--ui-paper) !important; box-shadow: none !important; }
html body .hud .potion-button { grid-template-columns: 24px minmax(0,1fr) !important; padding: 4px 7px !important; gap: 6px !important; }
html body .hud .potion-button img { width: 24px !important; height: 24px !important; filter: none !important; }
html body .hud .potion-button > span { display: flex !important; align-items: center !important; gap: 4px !important; }
html body .hud .potion-button b, html body .hud .potion-button em { font-size: 9px !important; color: var(--ui-paper) !important; font-weight: 600 !important; text-shadow: none !important; }
html body .hud .potion-button small { display: none !important; }
html body .hud .buff-tray:not(.is-custom-position) { left: 18px !important; bottom: 231px !important; top: auto !important; right: auto !important; width: 248px !important; }
html body .hud .buff-chip { background: #172335ed !important; border: 1px solid #44605e !important; border-radius: 8px !important; color: var(--ui-mint) !important; box-shadow: none !important; }
html body .hud .minimap-panel:not(.is-custom-position) { right: 18px !important; top: 15px !important; left: auto !important; bottom: auto !important; width: 154px !important; padding: 8px !important; }
html body .hud .minimap-head { margin-bottom: 6px !important; }
html body .hud .minimap-head .panel-label { font-size: 8px !important; letter-spacing: 1px !important; }
html body .hud #minimapMeta { font-size: 8px !important; color: var(--ui-muted) !important; }
html body .hud .map-exploration185 { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 5px 2px 0; color: #c1d4cb; font-size: 9px; line-height: 1.3; }
html body .hud .map-exploration185[hidden] { display: none; }
html body .hud .map-exploration185 > span { color: #c1d4cb !important; font-weight: 600; }
html body .hud .map-exploration185 strong { color: #f2d89a !important; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media(max-width:600px) { html body .hud .map-exploration185 { padding: 3px 0 0; font-size: 8px; gap: 2px; } html body .hud .map-exploration185 strong { font-size: 9px; } }
html body .hud #minimapCanvas { width: 136px !important; height: 136px !important; border: 1px solid #55556b !important; border-radius: 6px !important; }
html body .hud .zoom-panel:not(.is-custom-position) { top: 195px !important; right: 18px !important; bottom: auto !important; left: auto !important; width: 154px !important; display: flex !important; flex-wrap: wrap; justify-content: center; gap: 4px !important; padding: 6px !important; opacity: 1 !important; }
html body .hud #zoomRange { width: 64px !important; flex: 1; }
html body .hud .zoom-panel .mini-button { padding: 3px 6px !important; min-width: 25px !important; min-height: 25px !important; font-size: 9px !important; }
html body .hud .zoom-panel :is(#soundButton, #pauseButton) { flex: 1 1 40%; }
html body .hud .roster-panel:not(.is-custom-position) { right: 18px !important; top: 282px !important; left: auto !important; bottom: auto !important; width: 154px !important; padding: 10px !important; }
html body .hud:not(.has-party) .roster-panel { display: none !important; }
html body .hud .roster-friend { background: #ffffff04 !important; border: 1px solid #45475e !important; color: var(--ui-paper) !important; padding: 8px !important; border-radius: 8px !important; }
html body .hud .roster-friend > span:last-child { color: var(--ui-paper) !important; font-size: 10px !important; line-height: 1.45; }
html body .hud .chat-panel:not(.is-custom-position) { right: 18px !important; bottom: 18px !important; left: auto !important; top: auto !important; width: 262px !important; padding: 10px !important; }
html body .hud .chat-head { gap: 6px !important; margin-bottom: 8px !important; }
html body .hud .chat-head .panel-label { margin-right: auto; font-size: 9px !important; }
html body .hud .chat-head .mini-button { padding: 4px 6px !important; min-height: 24px !important; font-size: 9px !important; }
html body .hud .chat-messages { max-height: 112px !important; height: 112px !important; min-width: 0; grid-template-columns: minmax(0,1fr); grid-auto-rows: max-content; align-content: start; background: none !important; font-size: 10px !important; }
html body .hud :is(.chat-line,.chat-message) { min-width: 0; max-width: 100%; min-height: 0 !important; background: #202b3c !important; border: 1px solid #3e475b !important; border-radius: 7px !important; color: var(--ui-paper) !important; overflow-wrap: anywhere !important; }
html body .hud :is(.chat-line,.chat-message).is-mine { background: #263c40 !important; }
html body .hud :is(.chat-line,.chat-message) > strong { min-width: 0; color: var(--ui-mint) !important; white-space: normal !important; overflow-wrap: anywhere !important; }
html body .hud :is(.chat-line,.chat-message) > span { min-width: 0; color: var(--ui-paper) !important; white-space: pre-wrap !important; overflow-wrap: anywhere !important; }
html body .hud .chat-form { grid-template-columns: minmax(0,1fr) 44px !important; gap: 5px !important; }
html body .hud #chatInput { min-height: 32px !important; padding: 6px 8px !important; font-size: 10px !important; }
html body .hud .chat-form > button { background: #3b4f53 !important; color: #e5f2e9 !important; border: 1px solid #5d7675 !important; border-radius: 8px !important; font-size: 10px !important; box-shadow: none !important; }
html body .hud .chat-panel.is-collapsed { width: 210px !important; padding: 7px 9px !important; }
html body .hud .chat-panel.is-collapsed .chat-head { margin: 0 !important; }
html body .hud .battle-panel:not(.is-custom-position) { top: 84px !important; left: 50% !important; right: auto !important; bottom: auto !important; width: 242px !important; transform: translateX(-50%) !important; padding: 10px 13px !important; }
html body .hud .battle-panel .panel-label { color: #e4aaa0 !important; margin: 0 0 4px !important; }
html body .hud #targetName { font-size: 12px !important; }
html body .hud #targetStats { font-size: 9px !important; margin: 3px 0 7px !important; }
html body .hud .target-track { height: 5px !important; border: 0 !important; background: #09101f !important; }
html body .hud .target-track b { background: #d28580 !important; box-shadow: none !important; }
html body .hud .combat-feed:not(.is-custom-position) { left: 50% !important; bottom: 118px !important; top: auto !important; right: auto !important; width: min(360px, 40vw) !important; transform: translateX(-50%) !important; }
html body .hud .combat-feed > div { background: #111b2bd9 !important; border: 1px solid #415165 !important; border-radius: 8px !important; color: #e6ded2 !important; font-size: 11px !important; }
html body .hud .ability-bar:not(.is-custom-position) {
  left: 50% !important; bottom: 18px !important; top: auto !important; right: auto !important;
  width: auto !important; max-width: none !important; transform: translateX(-50%) !important;
  display: flex !important; gap: 6px !important; padding: 7px !important;
  background: #10182bed !important; border-color: #69657988 !important;
  border-radius: 17px !important; overflow: visible !important;
}
html body .hud .ability-button {
  position: relative; display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: center !important; gap: 5px !important;
  background: linear-gradient(#30364a, #222a3e) !important;
  border: 1px solid #55576f !important; border-radius: 10px !important;
  min-width: 0 !important; width: 66px !important; height: 67px !important;
  min-height: 0 !important; padding: 6px 4px !important; color: var(--ui-paper) !important;
  box-shadow: inset 0 1px #ffffff0a !important; text-shadow: none !important;
  transform: none !important; filter: none !important; overflow: hidden;
}
html body .hud .ability-button:hover { background: #41465d !important; border-color: #b8a0a0 !important; }
html body .hud .ability-button:active { background: #55526a !important; transform: translateY(1px) !important; }
html body .hud .ability-button b { font-size: 10px !important; font-weight: 600 !important; color: #eee7d9 !important; letter-spacing: .2px; z-index: 1; }
html body .hud .ability-button[data-key]::after { top: 4px !important; right: 5px !important; left: auto !important; bottom: auto !important; color: #b3acc0 !important; background: none !important; border: 0 !important; box-shadow: none !important; font-size: 8px !important; padding: 0 !important; min-width: 0 !important; }
html body .hud .ability-button[data-key]::before { top: 4px !important; left: 5px !important; right: auto !important; bottom: auto !important; color: #b3acc0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; font-size: 8px !important; line-height: 1 !important; padding: 0 !important; min-width: 0 !important; width: auto !important; height: auto !important; }
html body .hud .ability-button .ability-icon { width: 29px !important; height: 29px !important; margin: 0 !important; filter: saturate(.65) !important; opacity: .95; }
html body .hud .ability-button--super { background: linear-gradient(#514451, #362c40) !important; border-color: #8d7482 !important; }
html body .hud .ability-button.is-ready { border-color: var(--ui-gold) !important; box-shadow: inset 0 0 14px #e8be751a !important; }
html body .hud .ability-button.is-cooling { opacity: .6 !important; }
html body .hud .ability-button--menu { display: none !important; }
html body .hud .hud-tools {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 3px; padding: 5px; width: auto; pointer-events: auto;
}
html body .hud .hud-tools .ability-button { width: 48px !important; height: 46px !important; border: 0 !important; background: transparent !important; gap: 3px !important; padding: 4px !important; }
html body .hud .hud-tools .ability-button:hover { background: #ffffff12 !important; }
html body .hud .hud-tools .ability-icon { width: 21px !important; height: 21px !important; }
html body .hud .hud-tools .ability-button b { font-size: 8px !important; color: #d6cfc6 !important; }
html body .hud .hud-tools .ability-button::after { display: none !important; }
html body .hud .hud-tools .ability-button::before { display: none !important; }
html body .hud .ability-icon--menu { background: none !important; border: 0 !important; position: relative; }
html body .hud .ability-icon--menu::before { content: ''; position: absolute; width: 19px; height: 2px; top: 7px; left: 5px; background: var(--ui-paper); box-shadow: 0 6px var(--ui-paper), 0 12px var(--ui-paper); }
html body .hud .toast { top: auto !important; bottom: 108px !important; height: auto !important; min-height: 0 !important; width: max-content !important; max-width: min(480px,calc(100vw - 32px)) !important; background: #1c2638f2 !important; color: var(--ui-paper) !important; border: 1px solid #7d7486 !important; border-radius: 12px !important; box-shadow: var(--ui-shadow) !important; padding: 12px 18px !important; font-size: 12px !important; }

html body.is-game-paused .game-shell::after { background: #1d2639 !important; color: var(--ui-paper) !important; border: 1px solid #746b82 !important; border-radius: 10px !important; box-shadow: var(--ui-shadow) !important; }
html body.is-game-paused:not(.is-manual-paused) .game-shell::after { display: none !important; }
html body.is-manual-paused .game-shell::before { background: #080e1dcc !important; backdrop-filter: blur(6px); mix-blend-mode: normal !important; }
/* Pause owns this pseudo-element while visible; do not inherit the world
   motes' inset, animated transform or low opacity. */
html body.is-manual-paused .game-shell::after {
  inset: auto !important; left: 50% !important; top: 50% !important;
  width: max-content !important; height: auto !important;
  min-width: min(230px,calc(100vw - 32px)) !important; max-width: calc(100vw - 32px) !important;
  box-sizing: border-box !important; transform: translate(-50%,-50%) !important;
  animation: none !important; opacity: 1 !important;
  font-size: 36px !important; padding: 24px 36px !important; border-radius: 18px !important;
}
html body.is-manual-paused:has(dialog[open]) .game-shell::before,
html body.is-manual-paused:has(dialog[open]) .game-shell::after,
html body.is-manual-paused:has(#worldMapOverlay:not([hidden])) .game-shell::before,
html body.is-manual-paused:has(#worldMapOverlay:not([hidden])) .game-shell::after { display: none !important; }
html body .hud .sale-reminder { grid-template-columns: 32px minmax(0,1fr) 118px !important; width: min(580px,calc(100vw - 32px)) !important; gap: 12px !important; padding: 16px !important; background: #20273df5 !important; border: 1px solid #75697c !important; color: var(--ui-paper) !important; border-radius: 14px !important; bottom: 110px !important; box-shadow: 0 12px 32px #080c244d !important; }
html body .hud .sale-reminder-orb { width: 24px !important; height: 24px !important; border-radius: 6px !important; background: #8fcaba !important; box-shadow: inset 0 1px #ffffff44 !important; }
html body .hud .sale-reminder-copy { gap: 5px !important; padding: 0 !important; }
html body .hud .sale-reminder-copy b { font: 700 14px/1.3 Inter,sans-serif !important; color: var(--ui-paper) !important; }
html body .hud .sale-reminder-copy span { font: 400 12px/1.45 Inter,sans-serif !important; color: #d0cbd8 !important; }
html body .hud .sale-reminder-copy em { font: 600 10px/1.3 Inter,sans-serif !important; color: var(--ui-mint) !important; text-transform: none !important; }
html body .hud .sale-reminder-actions { gap: 6px !important; min-width: 0 !important; padding: 22px 0 0 !important; }
html body .hud .sale-reminder-actions button { min-height: 34px !important; padding: 7px 10px !important; font: 700 11px/1.2 Inter,sans-serif !important; color: #252333 !important; background: var(--ui-gold) !important; border: 1px solid #e8c68a !important; border-radius: 8px !important; box-shadow: none !important; transform: none !important; }
html body .hud .sale-reminder-actions button + button { background: #34394d !important; border-color: #656078 !important; color: var(--ui-paper) !important; }
html body .hud .sale-reminder-close { width: 28px !important; height: 28px !important; top: 8px !important; right: 8px !important; color: var(--ui-paper) !important; background: #34394d !important; border: 1px solid #656078 !important; border-radius: 8px !important; box-shadow: none !important; }
@media (max-width: 780px) {
  html body .hud .sale-reminder { grid-template-columns: minmax(0,1fr) !important; gap: 10px !important; padding: 14px !important; bottom: 88px !important; }
  html body .hud .sale-reminder-orb { display: none !important; }
  html body .hud .sale-reminder-copy { padding-right: 28px !important; }
  html body .hud .sale-reminder-actions { grid-column: 1 !important; grid-template-columns: 1fr 1fr !important; padding: 0 !important; }
}

/* Atlas and specialist screens. */
html body .game-shell .gear-power-dashboard { background: #1b2236 !important; border: 1px solid #48475e !important; border-radius: 14px !important; box-shadow: none !important; padding: 14px !important; height: auto !important; max-height: none !important; min-height: 0 !important; grid-template-columns: 160px minmax(0,1fr) !important; grid-template-rows: auto auto !important; gap: 10px !important; margin: 0 !important; }
html body .game-shell .gear-power-orb { background: #313448 !important; border: 1px solid #6d5d72 !important; box-shadow: none !important; min-height: 0 !important; height: auto !important; border-radius: 12px !important; padding: 10px !important; }
html body .game-shell .gear-power-orb strong { color: var(--ui-gold) !important; font-size: 34px !important; }
html body .game-shell .gear-power-orb :is(span,em) { color: var(--ui-muted) !important; }
html body .game-shell .gear-stat-matrix > span { background: #111a2c !important; border: 1px solid #3a435a !important; color: var(--ui-paper) !important; border-radius: 8px !important; box-shadow: none !important; }
html body .game-shell .gear-stat-matrix { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; gap: 7px !important; min-height: 0 !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
html body .game-shell .gear-stat-matrix > span { padding: 8px 10px !important; font-size: 12px !important; }
html body .game-shell .gear-stat-matrix b { color: var(--ui-mint) !important; }
html body .game-shell .gear-power-dashboard > p { color: var(--ui-muted) !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; font-size: 11px !important; line-height: 1.6 !important; }
html body .game-shell .gear-loadout { grid-template-columns: repeat(5,minmax(0,1fr)) !important; gap: 9px !important; }
html body .game-shell .gear-loadout .slot-card { padding: 12px !important; min-width: 0 !important; }
html body .game-shell .gear-loadout .slot-card > span { font-size: 8px !important; letter-spacing: 1px; }
html body .game-shell .gear-loadout .slot-card > strong { font-size: 12px !important; }
html body .game-shell .gear-loadout .slot-card > em { font-size: 9px !important; }
html body .game-shell .gear-loadout-tools { margin: 0 !important; }
html body .game-shell .gear-tab.is-active { color: var(--ui-paper) !important; background: #41415a !important; border-color: var(--ui-gold) !important; }
html body .game-shell .gear-section-title { color: var(--ui-mint) !important; font-size: 10px !important; letter-spacing: 1px; margin: 12px 0 0 !important; }
html body .game-shell .gear-combo-card { background: #151c2f !important; border: 1px solid #3f425b !important; color: var(--ui-paper) !important; border-radius: 10px !important; box-shadow: none !important; }
html body .game-shell .gear-combo-card.is-active { background: #253c42 !important; border-color: #668e80 !important; }
html body .game-shell .combo-panel > summary { cursor: pointer; padding: 14px !important; color: var(--ui-paper) !important; font-weight: 700; }
html body .game-shell .save-feedback { padding: 10px 12px !important; border: 1px solid #4d786b !important; border-radius: 9px !important; background: #203a3e !important; color: #c5e8d7 !important; font-size: 12px !important; }
html body .game-shell .save-feedback.is-error { background: #3a2937 !important; border-color: #956d7b !important; color: #f0c4bd !important; }
html body .game-shell .map-requirements { display: block; color: var(--ui-muted) !important; font-size: 11px !important; margin-top: 5px; }
html body #mapList { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
html body #mapList .gear-item { grid-template-columns: 100px minmax(0,1fr) !important; grid-template-rows: auto auto !important; gap: 9px 14px !important; padding: 14px !important; align-items: start !important; min-height: 130px !important; }
html body #mapList .gear-icon { grid-column: 1 !important; grid-row: 1 / 3 !important; width: 100px !important; height: 100px !important; border: 1px solid #777087 !important; border-radius: 10px !important; box-shadow: none !important; background-size: cover !important; }
html body #mapList .gear-item > div { grid-column: 2 !important; grid-row: 1 !important; }
html body #mapList .gear-item > div > strong { font-size: 14px !important; }
html body #mapList .gear-item > div > span { font-size: 10px !important; line-height: 1.5 !important; margin-top: 5px !important; }
html body #mapList .gear-item > button { grid-column: 2 !important; grid-row: 2 !important; justify-self: start !important; align-self: end !important; background: var(--ui-gold) !important; color: #241f1c !important; border: 1px solid #f0d199 !important; border-radius: 8px !important; padding: 7px 14px !important; box-shadow: none !important; font-size: 11px !important; }
html body #mapList .gear-item > button:disabled { background: #2b3145 !important; border-color: #56526b !important; color: var(--ui-muted) !important; opacity: 1 !important; }
html body .game-shell :is(.gear-unequip-all,.gear-unequip) { background: #303247 !important; border: 1px solid #57536c !important; color: var(--ui-paper) !important; border-radius: 8px !important; box-shadow: none !important; }
html body .world-map-overlay { background: #080d1bd9 !important; backdrop-filter: blur(12px); padding: 24px !important; }
html body .world-map-card { display: grid !important; grid-template-columns: minmax(0,1fr) 250px !important; grid-template-rows: auto auto !important; align-content: start !important; align-items: start !important; gap: 0 20px !important; width: min(1180px, 100%) !important; max-height: calc(100dvh - 48px) !important; overflow: auto !important; }
html body .world-map-card > .dialog-head { grid-column: 1 / -1 !important; }
html body .atlas-stage { min-width: 0 !important; width: 100% !important; border: 1px solid #545161 !important; border-radius: 12px !important; overflow: hidden !important; background: #111a2a !important; }
html body .atlas-toolbar { display: flex !important; align-items: center !important; gap: 7px !important; padding: 8px 10px !important; background: #20283b !important; border-bottom: 1px solid #45465b !important; }
html body .atlas-toolbar > button { min-width: 34px !important; min-height: 32px !important; padding: 5px 10px !important; border: 1px solid #5c566d !important; border-radius: 7px !important; background: #303449 !important; color: var(--ui-paper) !important; box-shadow: none !important; font-size: 12px !important; }
html body .atlas-toolbar > output { min-width: 42px; text-align: center; color: var(--ui-muted) !important; font-size: 10px !important; }
html body #atlasFitButton { margin-left: auto; }
html body .atlas-viewport { display: block !important; width: 100% !important; min-width: 0 !important; overflow: auto !important; max-height: min(62dvh,620px) !important; overscroll-behavior: contain; touch-action: pan-x pan-y; scrollbar-color: #756c83 #111a2a; scrollbar-width: thin; }
html body #worldMapCanvas { display: block; width: var(--atlas-canvas-width,100%) !important; max-width: none !important; height: auto !important; aspect-ratio: 1000 / 660; max-height: none !important; object-fit: contain; border-radius: 0 !important; background: #111a2a !important; border: 0 !important; touch-action: pan-x pan-y; }
html body .world-map-details { display: grid !important; grid-template-columns: minmax(0,1fr) !important; align-content: start !important; gap: 22px !important; padding: 16px !important; background: #192135 !important; border: 1px solid #46465c !important; border-radius: 12px !important; color: var(--ui-paper) !important; }
html body .atlas-detail-copy { min-width: 0 !important; max-width: 100% !important; }
html body .atlas-detail-copy > strong { font-size: 21px !important; white-space: normal !important; overflow-wrap: anywhere !important; }
html body .atlas-detail-copy > span { display: block; margin-top: 6px; font-size: 12px !important; color: var(--ui-muted) !important; line-height: 1.5; }
html body .atlas-state { display: inline-flex !important; color: var(--ui-mint) !important; font-size: 10px !important; margin-left: 9px; }
html body .atlas-state.is-locked { color: #d6b28d !important; }
html body .atlas-requirements { color: #c7b4b0 !important; font-size: 11px !important; line-height: 1.5; }
html body .atlas-actions { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 8px !important; align-items: end !important; }
html body .atlas-actions label { display: grid; gap: 6px; font-size: 10px; color: var(--ui-muted) !important; }
html body .atlas-actions select { width: 100%; min-width: 0; font-size: 11px !important; }
html body #atlasTravelButton { min-height: 44px !important; padding: 10px 12px !important; background: var(--ui-gold) !important; color: #241f1c !important; border: 1px solid #f0d199 !important; border-radius: 9px !important; box-shadow: none !important; font-size: 11px !important; font-weight: 700 !important; }
html body #atlasTravelButton:disabled { background: #303349 !important; color: var(--ui-muted) !important; border-color: #5a536a !important; opacity: 1 !important; }
html body #economyList .shop-item { grid-template-columns: minmax(0,1fr) auto !important; gap: 8px 14px !important; padding: 18px !important; }
html body #economyList .shop-item > :is(strong,p) { grid-column: 1 / -1 !important; margin: 0 !important; }
html body #economyList .shop-price { grid-column: 1 !important; align-self: center !important; justify-self: start !important; padding: 6px 0 !important; background: transparent !important; color: var(--ui-gold) !important; border: 0 !important; box-shadow: none !important; font-size: 16px !important; }
html body #economyList .provider-row { grid-column: 2 !important; margin: 0 !important; }
html body .dialogue-stage { background: #1a2235 !important; border-color: #4c4b63 !important; border-radius: 16px !important; }
html body .dialogue-scroll { background: #20283b !important; border-color: #454b62 !important; box-shadow: none !important; }
html body #dialogueText { color: var(--ui-paper) !important; line-height: 1.8 !important; }
html body .dialogue-speaker { color: #241f1c !important; background: var(--ui-gold) !important; }
html body .dialogue-portrait { border-color: #62576f !important; background-color: #1b2033 !important; }
html body .dialogue-portrait.has-dialogue-art::before { width: 100%; height: 124px; border-radius: 0; background: var(--dialogue-art) center / contain no-repeat !important; box-shadow: none; }
html body .dialogue-portrait > span { box-sizing: border-box; min-width: 0; color: #241f1c !important; white-space: normal !important; overflow-wrap: anywhere !important; line-height: 1.3; }
html body .arcade-shell { grid-template-columns: minmax(0,1fr) 180px !important; grid-template-areas: 'marquee side' 'board side' 'controls side' !important; gap: 14px !important; align-items: start !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html body .arcade-cabinet-tabs { background: #20273b !important; border: 1px solid #48465e !important; border-radius: 12px !important; padding: 7px !important; gap: 7px !important; }
html body .arcade-cabinet-tabs > button { font-size: 12px !important; }
html body .arcade-marquee { background: #262c42 !important; border-color: #595168 !important; color: var(--ui-paper) !important; padding: 12px 16px !important; border-radius: 12px !important; }
html body .arcade-marquee::after { display: none !important; }
html body .arcade-marquee > span { color: var(--ui-mint) !important; font-size: 9px !important; }
html body .arcade-marquee > strong { font-size: 15px !important; }
html body .arcade-marquee > em { font-size: 11px !important; }
html body .arcade-board { border: 1px solid #5b546e !important; border-radius: 14px !important; box-shadow: none !important; padding: 10px !important; min-width: 0 !important; min-height: 0 !important; max-width: 100% !important; }
html body .arcade-board:is(.arcade-board--prism_pop,.arcade-board--lantern_lanes,.arcade-board--prism_chess,.arcade-board--crystal_memory) { width: min(100%,max(240px,calc(100dvh - 390px)),600px) !important; height: auto !important; gap: 5px !important; background: #151f33 !important; }
html body .arcade-board:is(.arcade-board--prism_pop,.arcade-board--prism_chess) { grid-template-columns: repeat(8,minmax(0,1fr)) !important; }
html body .arcade-board--lantern_lanes { grid-template-columns: repeat(9,minmax(0,1fr)) !important; }
html body .arcade-board--crystal_memory { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
html body :is(.starwhirl-canvas,.unicorn-derby-canvas) { width: 100% !important; height: auto !important; min-height: 0 !important; max-width: 100% !important; border-radius: 10px !important; box-shadow: none !important; }
html body .game-shell .unicorn-derby-canvas { height: clamp(360px,42vw,450px) !important; }
html body .game-shell .unicorn-derby-boosts > button { background: #202b3c !important; border: 1px solid #55536d !important; color: var(--ui-paper) !important; }
html body .game-shell .unicorn-derby-boosts > button > strong { color: var(--ui-paper) !important; }
html body .game-shell .unicorn-derby-boosts > button > span { color: var(--ui-muted) !important; }
html body .game-shell .unicorn-derby-boosts > button.is-active { background: #4c4353 !important; border-color: var(--ui-gold) !important; }
html body .arcade-side { align-content: start !important; grid-auto-rows: max-content !important; grid-template-columns: minmax(0,1fr) !important; min-width: 0 !important; }
html body .arcade-side > * { min-width: 0 !important; max-width: 100% !important; overflow-wrap: anywhere; }
html body .arcade-side > div { background: #20283b !important; border-color: #454a61 !important; color: var(--ui-paper) !important; }
html body .arcade-side > div { min-height: 60px !important; padding: 12px !important; border-radius: 10px !important; }
html body .arcade-side > div > span { color: var(--ui-muted) !important; font-size: 9px !important; }
html body .arcade-side > button { min-height: 42px !important; height: auto !important; }
html body .game-shell .chess-square { padding: 0 !important; border-radius: 5px !important; box-shadow: inset 0 1px #ffffff22 !important; font-size: clamp(19px,3.3vw,34px) !important; }
html body .game-shell .chess-square--cream { background: #bdb19a !important; border: 1px solid #d2c7b1 !important; }
html body .game-shell .chess-square--violet { background: #59677d !important; border: 1px solid #727e94 !important; }
html body .game-shell .chess-square.has-player { color: #fff8e8 !important; -webkit-text-stroke: .6px #222b40; text-shadow: 0 1px 2px #0a1429 !important; }
html body .game-shell .chess-square.has-guide { color: #161f32 !important; -webkit-text-stroke: .6px #d3c6ae; text-shadow: 0 1px 1px #e1d4bd !important; }
html body .game-shell .chess-square.is-selected { outline: 3px solid var(--ui-gold) !important; outline-offset: -3px; }
html body .game-shell .chess-square.is-legal { outline: 2px dashed #aee6cb !important; outline-offset: -3px; }
html body .game-shell .chess-piece { display: block; width: 88%; height: 88%; max-width: 38px; max-height: 38px; overflow: visible; pointer-events: none; }
html body .game-shell .chess-square.is-last-move { box-shadow: inset 0 0 0 3px #e6c58199 !important; }
html body .game-shell .chess-square.is-in-check { background: #bd7374 !important; box-shadow: inset 0 0 0 3px #ffe4d9 !important; }
html body .game-shell .chess-loading-panel { display: grid; place-items: center; min-height: 260px; padding: 24px; color: var(--ui-paper); font-size: 15px; line-height: 1.5; text-align: center; background: #20283d; border: 1px solid #61566d; border-radius: 12px; }
html body .game-shell .chess-rules-note { flex: 1 1 100%; margin: 2px 0 6px; color: #c8c8d5; font-size: 11px; line-height: 1.5; }
html body .game-shell .chess-promotion-choices { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding: 10px; border: 1px solid #c5a96f; border-radius: 12px; background: #2c3046; }
html body .game-shell .chess-promotion-button { display: flex !important; flex: 1 1 72px; align-items: center; justify-content: center; gap: 5px; min-height: 52px; padding: 7px !important; }
html body .game-shell .chess-promotion-button .chess-piece { flex: 0 0 30px; width: 30px; height: 30px; }
html body .game-shell .memory-card { min-width: 0 !important; min-height: 62px !important; border-radius: 10px !important; background: radial-gradient(circle at 50% 40%,#454e71,#25344d) !important; border: 1px solid #6c738f !important; box-shadow: inset 0 1px #ffffff22 !important; }
html body .game-shell .memory-card::before { color: var(--ui-gold) !important; text-shadow: none !important; }
html body .game-shell .memory-card:is(.is-open,.is-matched) { background: #aacbbd !important; border-color: #d2e3cd !important; transform: none !important; }
html body .game-shell .memory-card.is-matched:disabled { opacity: 1 !important; filter: none !important; cursor: default; }
html body .game-shell .memory-card:is(.is-open,.is-matched)::before { color: #203e42 !important; font-size: clamp(10px,2.3vw,15px) !important; }
html body .game-shell .memory-card.has-portrait { display: grid !important; place-items: center; align-content: center; gap: 2px; padding: 4px !important; }
html body .game-shell .memory-card.has-portrait::before { display: none !important; }
html body .game-shell .memory-card-portrait { width: 46px; height: 46px; max-width: 90%; object-fit: contain; pointer-events: none; }
html body .game-shell .arcade-dialog .memory-card .memory-card-name { display: block; font: 700 10px Inter,sans-serif !important; color: #203e42 !important; line-height: 1.2; text-transform: capitalize; pointer-events: none; }
html body .support-messages { background: #11182b !important; border-color: #46485f !important; border-radius: 12px; }
html body .game-shell :is(.support-message,.support-empty,.admin-result,.admin-status,.save-status,.slot-feedback,.shop-note,.server-hint) { min-width: 0 !important; overflow-wrap: anywhere !important; white-space: normal !important; }
html body .game-shell :is(.support-message,.support-empty) > * { min-width: 0 !important; overflow-wrap: anywhere !important; white-space: pre-wrap !important; }
html body .game-shell .stable-hero { grid-template-columns: 140px minmax(0,1fr) !important; gap: 18px !important; padding: 20px !important; background: radial-gradient(ellipse at 10% 40%,#52666045,transparent 65%),#20273c !important; }
html body .game-shell .stable-unicorn-preview { width: 135px !important; height: 150px !important; border: 0 !important; border-radius: 0 !important; color: transparent !important; font-size: 0 !important; box-shadow: none !important; background: url('assets/png/painted/ui/v134/stable_unicorn.png') center/contain no-repeat !important; }
html body .game-shell .stable-actions { gap: 8px !important; }
html body .game-shell .stable-actions button { background: #303b4b !important; color: var(--ui-paper) !important; border: 1px solid #5e6d76 !important; border-radius: 10px !important; box-shadow: none !important; padding: 10px !important; }
html body .game-shell .stable-actions button:disabled { opacity: .7 !important; }
html body .game-shell .stable-actions button span { color: #c3c2cf !important; font-size: 10px !important; }
html body .game-shell .stable-xp { overflow: hidden !important; height: 6px !important; }
html body .game-shell .stable-xp > b { background: var(--ui-mint) !important; box-shadow: none !important; }
html body .game-shell .stable-xp > i { background: var(--ui-mint) !important; box-shadow: none !important; }
html body .game-shell .stable-copy :is(span,small), html body .game-shell .race-card :is(span,p) { color: var(--ui-muted) !important; }
html body .game-shell :is(.race-card,.race-result) { background: #1b2438 !important; border: 1px solid #40485d !important; border-radius: 12px !important; opacity: 1 !important; }
html body .game-shell .race-card button { background: #3d5559 !important; color: #e6f0e8 !important; border: 1px solid #627e7b !important; border-radius: 9px !important; box-shadow: none !important; }
html body .game-shell .race-card button:disabled { color: var(--ui-muted) !important; background: #2a3047 !important; border-color: #46475e !important; opacity: .8 !important; }
html body .settings-dialog .settings-list { background: none !important; }
html body .settings-dialog .setting-row { padding: 16px !important; }
html body .settings-dialog .setting-row span { color: var(--ui-muted) !important; }
html body .settings-dialog .setting-row em { font-size: 12px !important; font-weight: 400 !important; line-height: 1.45 !important; margin-top: 4px; }
html body .settings-dialog .game-log-head > span { font-size: 12px !important; font-weight: 400 !important; line-height: 1.45 !important; }
html body .game-shell .settings-dialog .setting-value { background: none !important; color: var(--ui-gold) !important; -webkit-text-fill-color: var(--ui-gold) !important; border: 0 !important; box-shadow: none !important; }
html body .settings-dialog .setting-row > .setting-value { justify-self: start !important; padding: 5px 9px !important; border: 1px solid #656078 !important; border-radius: 6px; background: #303448 !important; }
html body .game-shell .admin-dialog { width: min(1420px, calc(100vw - 48px)) !important; }
html body .game-shell #adminList { grid-template-columns: minmax(0,1fr) !important; min-width: 0 !important; max-width: 100% !important; }
html body .game-shell #adminList > * { min-width: 0 !important; max-width: 100% !important; }
html body .game-shell .admin-dialog :is(.admin-toolbar, .admin-section-head, .admin-table-head, .admin-editor-toolbar) { background: #1a2236 !important; border-color: #49465e !important; color: var(--ui-paper) !important; }
html body .game-shell .admin-dialog :is(.admin-status,.admin-overview-panel,.admin-tabs,.admin-section-list,.admin-record-list,.admin-editor,.admin-hierarchy,.admin-quick-panel,.admin-backlog-panel,.admin-pricing-panel,.admin-map-visualizer,.admin-map-flow,.admin-analytics-panel,.admin-support-board,.admin-moderation-board,.admin-settings-panel,.admin-email-test-panel,.admin-terrain-palette,.admin-object-palette,.admin-map-inspector,.admin-hierarchy-col,.admin-hierarchy-selected,.admin-map-selected,.admin-completeness,.admin-map-flow-col,.admin-world-drop) { background: #20273b !important; color: var(--ui-paper) !important; border: 1px solid #45465e !important; border-radius: 12px !important; box-shadow: none !important; }
html body .game-shell .admin-dialog :is(.admin-map-toolbar,.admin-map-brush-tools,.admin-map-zoom,.admin-map-overlay-tools,.admin-map-history-tools,.admin-editor-head,.admin-record-head,.admin-map-flow-head,.admin-terrain-palette-head,.admin-map-editor-head) { background: #151e30 !important; color: var(--ui-paper) !important; border-color: #45465e !important; border-radius: 9px !important; box-shadow: none !important; }
html body .game-shell .admin-dialog button:where(:not(.primary-button):not(.icon-button)) { background: #30364c !important; color: var(--ui-paper) !important; border: 1px solid #55536d !important; border-radius: 8px !important; box-shadow: none !important; font-size: 12px !important; min-height: 36px !important; }
html body .game-shell .admin-dialog button:is(.is-active,.is-selected) { background: #4c4353 !important; border-color: var(--ui-gold) !important; color: var(--ui-paper) !important; }
html body .game-shell .admin-dialog button > span { background: transparent !important; color: var(--ui-muted) !important; box-shadow: none !important; }
html body .game-shell .admin-dialog :is(.admin-map-stat-grid,.admin-overview-chips,.admin-map-material-summary) :is(span,b) { color: var(--ui-muted) !important; background: #172033 !important; border-color: #3e465d !important; box-shadow: none !important; }
html body .game-shell .admin-dialog .admin-command { background: #20273b !important; color: var(--ui-paper) !important; border: 1px solid #45465e !important; border-radius: 12px !important; box-shadow: none !important; }
html body .game-shell .admin-dialog :is(.admin-json-editor,.admin-editor-note) { background: #111a2c !important; color: var(--ui-muted) !important; border-color: #41475f !important; }
html body .game-shell .admin-dialog .admin-tabs { padding: 10px !important; gap: 8px !important; }
html body .game-shell .admin-dialog .admin-record-head { grid-template-columns: minmax(0,1fr) auto !important; }
html body .game-shell .admin-dialog .admin-record-head > strong { grid-column: 1; grid-row: 1; min-width: 0; white-space: normal !important; overflow-wrap: anywhere; }
html body .game-shell .admin-dialog .admin-record-head > span { grid-column: 1 / -1; grid-row: 2; white-space: normal !important; overflow-wrap: anywhere; }
html body .game-shell .admin-dialog .admin-record-head > button { grid-column: 2; grid-row: 1; justify-self: end; white-space: nowrap !important; }
html body .game-shell .admin-dialog :is(.admin-section-list,.admin-record-list) { grid-auto-rows: max-content; align-content: start; }
html body .game-shell .admin-dialog :is(.admin-section-list,.admin-record-list) > button { height: auto !important; min-height: 62px !important; align-content: center; }
html body .game-shell .admin-dialog :is(.admin-section-list,.admin-record-list) > button > :is(strong,span) { white-space: normal !important; overflow-wrap: anywhere; }
html body .game-shell .admin-dialog :is(.admin-pricing-head,.admin-pricing-title,.admin-pricing-note) :is(strong,span),
html body .game-shell .admin-dialog .admin-pricing-note { min-width: 0 !important; white-space: normal !important; overflow-wrap: anywhere !important; }
html body .game-shell .admin-dialog :is(th,td) { background: #1a2236 !important; border-color: #3e435b !important; color: var(--ui-muted) !important; }
html body.checkout-page { background: radial-gradient(ellipse at 20% 10%,#3b344e,#10192c 70%) !important; padding: 32px !important; }
html body .checkout-shell { background: linear-gradient(90deg,#0c1529c9,#0c152940),url('assets/startup175/splash.webp?v=175r4') center/cover !important; color: var(--ui-paper) !important; border: 1px solid #6b607a !important; border-radius: 24px !important; min-height: min(650px,calc(100dvh - 64px)) !important; aspect-ratio: auto !important; padding: 36px !important; }
html body .checkout-hero { background: #1b2239f2 !important; border: 1px solid #777087 !important; border-radius: 18px !important; padding: 30px !important; box-shadow: 0 20px 60px #03091766 !important; }
html body .checkout-hero h1 { font-size: 35px !important; line-height: 1.15 !important; padding-right: 35px; letter-spacing: -.7px; color: var(--ui-paper) !important; }
html body .checkout-hero :is(.subtitle,.checkout-note) { color: var(--ui-muted) !important; font-size: 13px !important; line-height: 1.7 !important; font-weight: 400 !important; }
html body .checkout-hero .eyebrow { color: var(--ui-mint) !important; font-size: 10px !important; letter-spacing: 2px; }
html body .checkout-orb { width: 25px !important; height: 25px !important; top: 32px !important; right: 30px !important; background: radial-gradient(circle at 35% 25%,#e3f3df,#8dcbbb 45%,#4c6b78) !important; box-shadow: 0 0 24px #8dcbbb55 !important; }
html body .checkout-status-grid article { background: #10182c !important; border-color: #45475f !important; border-radius: 10px !important; }
html body .checkout-status-grid article span { color: var(--ui-muted) !important; font-size: 9px !important; }
html body .checkout-status-grid article strong { color: var(--ui-paper) !important; font-size: 13px !important; }
html body .checkout-actions :is(.primary-button,.checkout-link) { background: var(--ui-gold) !important; border: 1px solid #f0d199 !important; border-radius: 10px !important; box-shadow: none !important; color: #241f1c !important; font-size: 12px !important; min-height: 44px !important; }
html body .checkout-actions .checkout-link { background: #303247 !important; border-color: #57536c !important; color: var(--ui-paper) !important; }
html body .checkout-actions button:disabled { opacity: .6 !important; cursor: not-allowed; }
html body .checkout-card { background: #20263a !important; border: 1px solid #5b536c !important; border-radius: 20px !important; box-shadow: var(--ui-shadow) !important; }

@media (max-width: 1150px) and (min-width: 901px) {
  html body .hud .hud-tools .ability-button { width: 41px !important; }
  html body .hud .topbar:not(.is-custom-position), html body .hud .quest-panel:not(.is-custom-position), html body .hud .profile-panel:not(.is-custom-position) { width: 216px !important; }
  html body .hud .chat-panel:not(.is-custom-position) { width: 210px !important; }
  html body .hud .ability-button { width: 59px !important; }
  html body .hud .brand strong { font-size: 9px !important; }
  html body .hud .brand strong small { font-size: 7px !important; }
  html body #loginScreen { padding: 20px !important; }
  html body #loginScreen .login-card { padding: 24px !important; }
  html body #loginScreen .menu-layout { grid-template-columns: 230px minmax(0,1fr) !important; gap: 22px !important; }
}
@media (max-width: 900px) {
  html body .hud .hud-brand-logo185 { width: 20px; height: 20px; }
  html body .hud .brand strong small { font-size: 7px !important; }
  html body .game-shell .admin-dialog :is(.admin-asset-tools,.admin-upload-panel,.asset-inspector-grid) { grid-template-columns: minmax(0,1fr) !important; min-width: 0 !important; max-width: 100% !important; }
  html body .game-shell .admin-dialog :is(.admin-asset-tools,.admin-upload-panel,.asset-inspector-grid,.asset-generator-form) > * { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
  html body .game-shell .admin-dialog .admin-tool-head { flex-direction: column !important; align-items: stretch !important; min-width: 0 !important; }
  html body .game-shell .admin-dialog .admin-tool-head > * { min-width: 0 !important; max-width: 100% !important; white-space: normal !important; overflow-wrap: anywhere; }
  html body .game-shell .admin-dialog .admin-tool-pill { align-self: flex-start; }
  html body .game-shell .admin-dialog .admin-upload-panel input[type=file] { width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
  html body .arcade-shell { grid-template-columns: minmax(0,1fr) !important; grid-template-areas: 'marquee' 'board' 'controls' 'side' !important; }
  html body .arcade-side { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 8px !important; }
  html body .arcade-side > button { grid-column: span 1 !important; padding: 8px !important; font-size: 11px !important; }
  html body .arcade-side > p { grid-column: 1 / -1 !important; }
  html body .game-shell .credit-pack-hero { grid-template-columns: minmax(0,1fr) !important; }
  html body #mapList { grid-template-columns: minmax(0,1fr) !important; }
  html body .game-shell dialog { width: calc(100vw - 24px) !important; max-width: calc(100vw - 24px) !important; max-height: calc(100dvh - 28px) !important; padding: 18px !important; border-radius: 17px !important; }
  html body .game-shell .dialog-head > strong, html body .game-shell .dialog-head > div > strong { font-size: 21px !important; }
  html body #loginScreen { padding: 18px !important; align-items: start !important; }
  html body #loginScreen .login-card { padding: 22px !important; }
  html body #loginScreen .menu-layout { grid-template-columns: 190px minmax(0,1fr) !important; gap: 18px !important; }
  html body #loginScreen .menu-showcase { padding: 12px !important; }
  html body #loginScreen .menu-hero-stage { height: 200px !important; }
  html body #loginScreen #menuHeroCanvas { width: 180px !important; height: 200px !important; }
  html body #loginScreen .chooser { grid-template-columns: repeat(5,minmax(0,1fr)) !important; }
  html body #loginScreen .save-slot-table { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body .hud .topbar:not(.is-custom-position) { top: 10px !important; left: 10px !important; width: 205px !important; }
  html body .hud .quest-panel:not(.is-custom-position) { top: 55px !important; left: 10px !important; width: 205px !important; max-height: 200px !important; }
  html body .hud .quest-panel #questText, html body .hud .flow-coach-copy > span, html body .hud .flow-coach-copy > em { display: none !important; }
  html body .hud .profile-panel:not(.is-custom-position) { left: 10px !important; bottom: 94px !important; width: 205px !important; }
  html body .hud .minimap-panel:not(.is-custom-position) { top: 10px !important; right: 10px !important; width: 120px !important; padding: 6px !important; }
  html body .hud #minimapCanvas { width: 106px !important; height: 106px !important; }
  html body .hud #minimapMeta { display: none !important; }
  html body .hud .zoom-panel:not(.is-custom-position) { top: 153px !important; right: 10px !important; width: 120px !important; }
  html body .hud #zoomRange { width: 36px !important; }
  html body .hud .roster-panel { display: none !important; }
  html body .hud .buff-tray:not(.is-custom-position) { left: 10px !important; bottom: 290px !important; width: 205px !important; }
  html body .hud .battle-panel:not(.is-custom-position) { top: 10px !important; width: 210px !important; }
  html body .hud .chat-panel:not(.is-custom-position) { right: 10px !important; bottom: 94px !important; width: 230px !important; }
  html body .hud .chat-panel.is-collapsed { display: none !important; }
  html body .hud .ability-bar:not(.is-custom-position) { bottom: max(9px, env(safe-area-inset-bottom)) !important; gap: 5px !important; padding: 6px !important; border-radius: 14px !important; }
  html body .hud .ability-button { width: 57px !important; height: 61px !important; }
  html body .hud .ability-button--menu { display: flex !important; }
  html body .hud .hud-tools {
    display: none !important; position: fixed !important; top: auto !important; bottom: 94px !important;
    left: 50% !important; width: min(360px, calc(100vw - 24px)) !important; transform: translateX(-50%) !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 8px !important; padding: 14px !important;
    background: #1c2238fa !important; border: 1px solid #8b7d92 !important; border-radius: 18px !important; z-index: 120;
    box-shadow: 0 20px 100px #020612aa !important;
  }
  html body.is-tools-open .hud .hud-tools { display: grid !important; }
  html body .hud .hud-tools .ability-button { width: 100% !important; height: 65px !important; border: 1px solid #474963 !important; background: #2a3047 !important; }
  html body .hud .hud-tools .ability-button b { font-size: 10px !important; }
  html body .hud .hud-tools .ability-icon { width: 28px !important; height: 28px !important; }
  html body.is-tools-open .hud .ability-button--menu { background: #5a4d4e !important; border-color: var(--ui-gold) !important; }
  html body .hud .combat-feed:not(.is-custom-position) { bottom: 95px !important; width: 45vw !important; }
  html body .hud .toast { bottom: 91px !important; max-width: calc(100vw - 30px) !important; }
  html body .world-map-overlay { padding: 12px !important; }
  html body .world-map-card { grid-template-columns: minmax(0,1fr) !important; grid-template-rows: auto auto auto !important; gap: 14px !important; max-height: calc(100dvh - 24px) !important; padding: 18px !important; }
  html body .world-map-details { grid-template-columns: 1fr !important; gap: 12px !important; }
  html body .atlas-actions { grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-width: 600px) {
  html body .settings-dialog .setting-row--wide { grid-template-columns: minmax(0,1fr) !important; gap: 12px !important; }
  html body .settings-dialog .setting-row > span { min-width: 0 !important; }
  html body .settings-dialog .setting-slider-wrap { grid-template-columns: minmax(0,1fr) 42px !important; }
  html body .settings-dialog .setting-select { max-width: 100% !important; min-width: 0 !important; }
  html body .settings-dialog .game-log-head { grid-template-columns: minmax(0,1fr) !important; gap: 8px !important; }
  html body .settings-dialog .game-log-head::after { justify-self: start !important; color: var(--ui-paper) !important; background: #38394e !important; }
  html body .hud .control-lost-notice { top: 200px; font-size: 11px; }
  html body .game-shell dialog { padding: 14px !important; }
  html body .game-shell .admin-dialog { width: calc(100vw - 24px) !important; }
  html body .game-shell dialog .dialog-head { top: -14px !important; padding-bottom: 14px !important; margin-bottom: 14px !important; }
  html body .game-shell dialog .shop-note { font-size: 12px !important; font-weight: 400 !important; }
  html body .arcade-board:is(.arcade-board--prism_pop,.arcade-board--lantern_lanes,.arcade-board--prism_chess,.arcade-board--crystal_memory) { width: 100% !important; }
  html body .arcade-cabinet-tabs { flex-wrap: nowrap !important; overflow-x: auto !important; border-radius: 10px !important; }
  html body .arcade-cabinet-tabs > button { flex: 0 0 auto !important; min-width: 96px !important; font-size: 11px !important; }
  html body .game-shell .credit-pack-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body.checkout-page { padding: 12px !important; }
  html body .checkout-shell { padding: 12px !important; min-height: calc(100dvh - 24px) !important; border-radius: 18px !important; }
  html body .checkout-hero { padding: 20px !important; }
  html body .checkout-hero h1 { font-size: 26px !important; }
  html body .checkout-orb { top: 22px !important; right: 20px !important; width: 20px !important; height: 20px !important; }
  html body .checkout-status-grid { grid-template-columns: 1fr !important; gap: 6px !important; }
  html body .checkout-status-grid article { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding: 10px !important; }
  html body .checkout-actions { align-items: stretch !important; }
  html body .checkout-actions > * { flex: 1 1 100%; }
  html body .game-shell .gear-power-dashboard { grid-template-columns: 84px minmax(0,1fr) !important; grid-template-areas: 'orb stats' !important; padding: 10px !important; gap: 8px !important; }
  html body .game-shell .gear-power-dashboard > p { display: none !important; }
  html body .game-shell .gear-power-orb { padding: 7px !important; }
  html body .game-shell .gear-power-orb :is(span,em) { font-size: 8px !important; }
  html body .game-shell .gear-power-orb strong { font-size: 29px !important; }
  html body .game-shell .gear-stat-matrix { gap: 5px !important; }
  html body .game-shell .gear-stat-matrix > span { padding: 6px !important; font-size: 9px !important; }
  html body .game-shell .gear-stat-matrix > span > b { font-size: 8px !important; }
  html body .game-shell .shop-wallet-bar { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 6px !important; }
  html body .game-shell .shop-wallet-card { display: flex !important; flex-direction: column; justify-content: flex-start; gap: 5px !important; padding: 9px !important; min-width: 0 !important; }
  html body .game-shell .shop-wallet-card > strong { font-size: 14px !important; }
  html body .game-shell .shop-wallet-card > :is(small,em) { font-size: 9px !important; line-height: 1.35 !important; }
  html body .game-shell .shop-wallet-card--credits > em { display: none !important; }
  html body .game-shell :is(.gear-tabs,.prism-shop-tabs) { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 6px !important; padding: 8px !important; scrollbar-width: thin; scrollbar-color: #706780 #172035; }
  html body .game-shell :is(.gear-tabs,.prism-shop-tabs) > button { flex: 0 0 auto !important; min-width: 84px !important; font-size: 11px !important; padding: 8px 10px !important; }
  html body .game-shell .grownup-checkout > summary { padding: 10px !important; }
  html body .game-shell .grownup-checkout > summary > span { display: block; margin: 4px 0 0 15px; }
  html body .game-shell .gear-loadout { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body .game-shell .admin-dialog :is(.admin-status,.admin-overview-panel,.admin-map-visualizer,.admin-terrain-palette,.admin-map-flow,.admin-hierarchy,.admin-quick-panel,.admin-editor,.admin-record-list,.admin-section-list,.admin-map-inspector,.admin-hierarchy-col,.admin-map-flow-col) { grid-template-columns: minmax(0,1fr) !important; min-width: 0 !important; max-width: 100% !important; padding: 12px !important; overflow-wrap: anywhere; }
  html body .game-shell .admin-dialog :is(.admin-overview-chips,.admin-editor-layout,.admin-hierarchy-grid,.admin-map-layout,.admin-map-stage,.admin-map-stat-grid,.admin-map-point-grid) { grid-template-columns: minmax(0,1fr) !important; min-width: 0 !important; max-width: 100% !important; }
  html body .game-shell .admin-dialog :is(.admin-overview-chips,.admin-section-list) { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; }
  html body .game-shell .admin-dialog .admin-overview-chips > button { height: auto !important; min-height: 54px !important; padding: 8px !important; white-space: normal !important; line-height: 1.4; }
  html body .game-shell .admin-dialog .admin-overview-chips > button > span { margin-left: 4px; }
  html body .game-shell .admin-dialog .admin-section-list { max-height: none !important; }
  html body .game-shell .admin-dialog .admin-record-list { max-height: 360px !important; }
  html body .game-shell .admin-dialog :is(.admin-map-editor-head,.admin-terrain-palette-head,.admin-editor-head) { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  html body .game-shell .admin-dialog :is(.admin-map-brush-tools,.admin-map-overlay-tools,.admin-map-history-tools,.admin-map-actions,.admin-message-actions) { flex-wrap: wrap !important; min-width: 0 !important; max-width: 100% !important; }
  html body .game-shell .admin-dialog :is(.admin-tabs,.admin-settings-tabs) { min-width: 0 !important; max-width: 100% !important; overflow-x: auto !important; }
  html body .game-shell .admin-dialog :is(.admin-tabs,.admin-settings-tabs) > button { flex: 0 0 auto !important; min-width: 80px !important; white-space: nowrap !important; overflow-wrap: normal !important; }
  html body .game-shell .admin-dialog :is(select,input:not([type=checkbox]),textarea) { min-width: 0 !important; max-width: 100% !important; width: 100%; }
  html body .game-shell .admin-dialog canvas { max-width: 100% !important; height: auto !important; }
  html body .game-shell .admin-dialog :is(.admin-player-table-wrap,.admin-map-canvas-wrap) { min-width: 0 !important; max-width: 100% !important; overflow: auto !important; }
  html body .game-shell .admin-dialog button { min-width: 0 !important; overflow-wrap: anywhere; }
  html body #loginScreen { padding: 10px !important; }
  html body #loginScreen .login-card { border-radius: 18px !important; padding: 18px 18px 124px !important; }
  html body #loginScreen .menu-copy { padding-bottom: 16px !important; }
  html body #loginScreen .menu-copy h1 { flex-wrap: wrap; gap: 4px 11px; }
  html body #loginScreen h1 span { font-size: 34px !important; }
  html body #loginScreen h1 strong { font-size: 20px !important; }
  html body #loginScreen .subtitle { font-size: 11px !important; line-height: 1.5 !important; }
  html body #loginScreen .menu-layout { grid-template-columns: 1fr !important; gap: 18px !important; }
  html body #loginScreen .menu-showcase { display: grid !important; grid-template-columns: 100px minmax(0,1fr) !important; gap: 12px !important; align-items: center; padding: 10px !important; }
  html body #loginScreen .menu-hero-stage { width: 100px !important; height: 125px !important; }
  html body #loginScreen #menuHeroCanvas { width: 110px !important; height: 125px !important; }
  html body #loginScreen .menu-hero-copy { padding: 0 !important; }
  html body #loginScreen .menu-hero-copy > strong { font-size: 17px !important; }
  html body #loginScreen .menu-hero-copy > span { font-size: 10px !important; }
  html body #loginScreen .menu-hero-copy p { margin: 5px 0 !important; font-size: 11px !important; }
  html body #loginScreen .menu-hero-stats { display: none !important; }
  html body #loginScreen .save-slot-table { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body #loginScreen .save-slot-card { min-height: 88px !important; padding: 10px !important; }
  html body #loginScreen .save-panel-head { align-items: start !important; }
  html body #loginScreen .save-panel-head > strong { font-size: 12px !important; }
  html body #loginScreen .save-panel-head > span { font-size: 9px !important; }
  html body #loginScreen .chooser { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
  html body #loginScreen .chooser-head { gap: 5px !important; flex-wrap: wrap; }
  html body #loginScreen .chooser-head > strong { font-size: 12px !important; }
  html body #loginScreen .chooser-head > span { font-size: 9px !important; }
  html body #loginScreen .swatches { gap: 8px !important; }
  html body #loginScreen .swatch { width: 23px !important; height: 23px !important; }
  html body #loginScreen .menu-actions { position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; z-index: 20; gap: 7px !important; margin: 0 !important; padding: 10px 18px max(10px,env(safe-area-inset-bottom)) !important; background: #151d31f5 !important; border-top: 1px solid #676078 !important; box-shadow: 0 -8px 28px #080d2066 !important; backdrop-filter: blur(16px); }
  html body #loginScreen .menu-actions > button { font-size: 11px !important; min-height: 40px !important; padding: 10px !important; }
  html body #loginScreen .menu-actions .primary-button { flex: 1 1 100% !important; }
  html body #loginScreen .menu-actions .secondary-button { flex: 1 1 40% !important; }
  html body .hud .topbar:not(.is-custom-position) { left: 8px !important; top: 8px !important; width: 178px !important; padding: 3px 8px !important; min-height: 28px !important; }
  html body .hud .brand strong { font-size: 9px !important; }
  html body .hud .pill { font-size: 8px !important; }
  html body .hud .quest-panel:not(.is-custom-position) { left: 8px !important; top: 47px !important; width: 178px !important; padding: 9px !important; max-height: 165px !important; }
  html body .hud .quest-body { gap: 4px !important; }
  html body .hud .quest-head { margin-bottom: 5px !important; }
  html body .hud .quest-panel .objective-meter-summary { display: flex !important; gap: 5px !important; }
  html body .hud .quest-panel .objective-meter-chips { display: none !important; }
  html body .hud .quest-panel .quest-actions { margin-top: 3px !important; }
  html body .hud .quest-panel .trial-badge { display: none !important; }
  html body .hud #questTitle { display: block !important; font-size: 11px !important; }
  html body .hud .quest-panel .objective-meter { display: block !important; }
  html body .hud .objective-meter { margin-top: 6px !important; padding-top: 6px !important; }
  html body .hud .objective-meter-chip { padding: 3px 4px !important; font-size: 8px !important; }
  html body .hud .flow-coach { display: none !important; }
  html body .hud .quest-actions { margin-top: 6px !important; }
  html body .hud .quest-actions .mini-button { padding: 3px 6px !important; min-height: 24px !important; font-size: 9px !important; }
  html body .hud .trial-badge { font-size: 8px !important; }
  html body .hud .minimap-panel:not(.is-custom-position) { top: 8px !important; right: 8px !important; width: 90px !important; padding: 5px !important; }
  html body .hud .minimap-head { margin-bottom: 4px !important; }
  html body .hud .minimap-head .panel-label { font-size: 7px !important; letter-spacing: .5px !important; }
  html body .hud #minimapCanvas { width: 78px !important; height: 78px !important; }
  html body .hud .zoom-panel:not(.is-custom-position) { top: 119px !important; right: 8px !important; width: 90px !important; padding: 4px !important; gap: 3px !important; }
  html body .hud #zoomRange { display: none !important; }
  html body .hud .zoom-panel .mini-button { min-height: 25px !important; padding: 3px 5px !important; font-size: 8px !important; }
  html body .hud .zoom-panel :is(#zoomInButton,#zoomOutButton) { flex: 1 1 35% !important; }
  html body .hud .profile-panel:not(.is-custom-position) { left: 8px !important; bottom: 87px !important; width: 167px !important; padding: 9px !important; }
  html body .hud .profile-card { gap: 7px !important; margin-bottom: 6px !important; }
  html body .hud #portrait { width: 32px !important; height: 32px !important; border-radius: 7px !important; }
  html body .hud #playerName { font-size: 10px !important; }
  html body .hud #playerLevel { font-size: 8px !important; }
  html body .hud .xp-track { height: 11px !important; margin: 4px 0 !important; }
  html body .hud .xp-track > span { line-height: 11px !important; font-size: 8px !important; }
  html body .hud #xpTrack { height: 3px !important; margin-bottom: 5px !important; }
  html body .hud .stat-row { font-size: 8px !important; margin-top: 6px !important; }
  html body .hud .stat-row > span > :is(b,strong) { font-size: 8px !important; }
  html body .hud #weaponName { max-width: 88px; }
  html body .hud .potion-tray { margin-top: 6px !important; }
  html body .hud .potion-button { min-height: 25px !important; padding: 3px !important; font-size: 8px !important; }
  html body .hud .buff-tray:not(.is-custom-position) { left: 8px !important; bottom: 257px !important; width: 167px !important; }
  html body .hud .battle-panel:not(.is-custom-position) { top: 222px !important; width: 185px !important; padding: 8px !important; }
  html body .hud .battle-panel .panel-label, html body .hud #targetStats { display: none !important; }
  html body .hud #targetName { font-size: 10px !important; margin-bottom: 6px !important; }
  html body .hud .ability-bar:not(.is-custom-position) { width: calc(100vw - 16px) !important; gap: 4px !important; padding: 5px !important; bottom: max(8px, env(safe-area-inset-bottom)) !important; }
  html body .hud .ability-bar > .ability-button { flex: 1 1 0 !important; width: auto !important; height: 58px !important; gap: 4px !important; border-radius: 8px !important; }
  html body .hud .ability-button .ability-icon { width: 26px !important; height: 26px !important; }
  html body .hud .ability-button b { font-size: 8px !important; }
  html body .hud .ability-bar .ability-button::after { display: none !important; }
  html body .hud .ability-bar .ability-button::before { display: none !important; }
  html body .hud .chat-panel:not(.is-custom-position) { bottom: 87px !important; left: 8px !important; right: 8px !important; width: auto !important; z-index: 110; }
  html body .hud .chat-messages { height: 160px !important; max-height: 30dvh !important; }
  html body .hud .hud-tools { bottom: 87px !important; }
  html body .hud .combat-feed:not(.is-custom-position) { left: auto !important; right: 8px !important; bottom: 87px !important; width: 128px !important; transform: none !important; }
  html body .hud .combat-feed > div { font-size: 9px !important; padding: 6px !important; }
  html body .hud .toast { bottom: 86px !important; padding: 9px 13px !important; font-size: 10px !important; }
  html body .world-map-overlay { padding: 8px !important; }
  html body .world-map-card { padding: 14px !important; border-radius: 16px !important; }
  html body #worldMapCanvas { max-height: none !important; }
  html body .atlas-toolbar > button { min-height: 40px !important; min-width: 40px !important; }
  html body .atlas-actions { grid-template-columns: 1fr !important; }
  html body .atlas-detail-copy > strong { font-size: 18px !important; }
  html body .game-shell :is(.shop-list, .gear-list, .codex-list, .stable-list, .local-shop-list) { grid-template-columns: minmax(0,1fr) !important; }
  html body .game-shell :is(.dialogue-stage, .arcade-shell) { grid-template-columns: minmax(0,1fr) !important; }
  html body .dialogue-portrait { width: 70px !important; height: 110px !important; min-height: 110px !important; }
  html body .dialogue-portrait::before { width: 44px; height: 54px; margin-bottom: 40px; }
  html body .dialogue-portrait.has-dialogue-art::before { width: 100%; height: 70px; margin-bottom: 35px; }
  html body .dialogue-portrait > span { left: 4px; right: 4px; bottom: 5px; padding: 4px 3px; font-size: 9px; }
  html body .dialogue-portrait--npc { display: none !important; }
  html body .dialogue-stage { display: grid !important; grid-template-columns: 70px minmax(0,1fr) !important; gap: 10px !important; }
  html body .dialogue-scroll { padding: 12px !important; }
  html body .dialogue-actions { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  html body .dialogue-actions > button { min-width: 0 !important; }
  html body .dialogue-actions #dialogueNextButton { grid-column: 1 / -1; }
  html body .dialogue-actions #dialogueArcadeButton[hidden] + #dialogueSkipButton { grid-column: 1 / -1; }
  html body #dialogueText { font-size: 12px !important; }
  html body .support-input-row { grid-template-columns: minmax(0,1fr) !important; }
  html body .grownup-gate { display: grid !important; grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-height: 560px) and (orientation: landscape) {
  html body .game-shell .arcade-dialog { padding: 14px !important; }
  html body .game-shell .arcade-dialog .dialog-head strong { font-size: 18px !important; }
  html body .game-shell .arcade-dialog .dialog-head { min-height: 38px !important; }
  html body .game-shell .arcade-dialog .dialog-head .icon-button { width: 30px !important; height: 30px !important; }
  html body .arcade-cabinet-tabs { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; padding: 5px !important; gap: 5px !important; margin-bottom: 10px !important; }
  html body .arcade-cabinet-tabs > button { flex: 0 0 auto !important; min-height: 30px !important; padding: 6px 10px !important; font-size: 11px !important; }
  html body .arcade-dialog #arcadeSubtitle { display: none !important; }
  html body .game-shell .arcade-dialog .dialog-head { padding-bottom: 10px !important; margin-bottom: 10px !important; }
  html body .arcade-shell { grid-template-columns: minmax(0,220px) minmax(0,1fr) !important; grid-template-areas: 'board marquee' 'board side' 'controls side' !important; }
  html body .arcade-marquee { padding: 9px 12px !important; }
  html body .arcade-side > div { min-height: 46px !important; padding: 8px !important; }
  html body .arcade-side > button { font-size: 11px !important; padding: 8px !important; }
  html body .game-shell .memory-card { min-height: 48px !important; }
  html body .game-shell .memory-card-portrait { height: 30px; width: 30px; }
  html body .hud .quest-panel:not(.is-custom-position) { width: 190px !important; max-height: 144px !important; }
  html body .hud .quest-panel :is(#questText,.flow-coach,.quest-actions) { display: none !important; }
  html body .hud .profile-panel:not(.is-custom-position) { bottom: 12px !important; width: 190px !important; }
  html body .hud .profile-panel :is(.potion-tray,.stat-row) { display: none !important; }
  html body .hud .minimap-panel:not(.is-custom-position) { width: 100px !important; }
  html body .hud #minimapCanvas { width: 86px !important; height: 86px !important; }
  html body .hud .zoom-panel:not(.is-custom-position) { top: 131px !important; width: 100px !important; }
  html body .hud .chat-panel:not(.is-custom-position) { bottom: 92px !important; }
  html body .hud .ability-bar:not(.is-custom-position) { bottom: 12px !important; }
  html body .hud .battle-panel:not(.is-custom-position) { top: 10px !important; }
  html body .hud .buff-tray { display: none !important; }
}
/* Four worlds, six regions, four scenes: keep the campaign browsable on phones. */
html body .game-shell #mapDialog.campaign-map-dialog { width: min(1120px, calc(100vw - 32px)) !important; max-width: 1120px !important; }
html body .game-shell #mapDialog #mapList { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
html body .game-shell #mapDialog .campaign-browser { --campaign-accent: #d9d7b0; display: grid; gap: 16px; min-width: 0; }
html body .game-shell #mapDialog .campaign-browser-header { padding: 18px 20px; border: 1px solid #536471; border-radius: 14px; background: linear-gradient(120deg, #243447, #243b3d); }
html body .game-shell #mapDialog .campaign-kicker { color: #a5c9c0; font-size: 10px; letter-spacing: .13em; }
html body .game-shell #mapDialog .campaign-browser-header h2 { margin: 7px 0 8px; color: #f4ead9; font-size: 23px; line-height: 1.25; }
html body .game-shell #mapDialog .campaign-browser-header p { margin: 0; color: #c6ccd1; font-size: 12px; line-height: 1.6; }
html body .game-shell #mapDialog .campaign-world-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
html body .game-shell #mapDialog .campaign-world-tabs button { display: flex; flex-direction: column; justify-content: space-between; gap: 7px; min-width: 0; min-height: 106px; padding: 14px !important; text-align: left; background: #202c3c !important; color: #d8dce2 !important; border: 1px solid #536071 !important; border-radius: 11px !important; box-shadow: none !important; }
html body .game-shell #mapDialog .campaign-world-tabs button.is-selected { background: linear-gradient(135deg,#405253,#343c53) !important; border-color: var(--campaign-accent) !important; }
html body .game-shell #mapDialog .campaign-world-tabs button span { color: #a7bdc1 !important; font-size: 9px; letter-spacing: .09em; }
html body .game-shell #mapDialog .campaign-world-tabs button strong { color: #f0e9dc !important; font-size: 13px; line-height: 1.35; }
html body .game-shell #mapDialog .campaign-world-tabs button small { color: #b8c5cc !important; font-size: 10px; }
html body .game-shell #mapDialog .campaign-region-chooser { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 12px; align-items: center; color: #d7d5df; font-size: 12px; }
html body .game-shell #mapDialog .campaign-region-chooser select { width: 100% !important; min-width: 0 !important; min-height: 46px !important; background: #202b3c !important; color: #f3e9da !important; border: 1px solid #60707a !important; border-radius: 9px !important; padding: 10px 12px !important; font-size: 12px !important; }
html body .game-shell #mapDialog .campaign-region-header h3 { margin: 0 0 6px; color: var(--campaign-accent); font-size: 19px; }
html body .game-shell #mapDialog .campaign-region-header p { margin: 0; color: #b9c5ce; font-size: 11px; line-height: 1.6; }
html body .game-shell #mapDialog .campaign-level-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
html body .game-shell #mapDialog .campaign-level-card { display: grid; grid-template-rows: 174px 1fr auto; min-width: 0; overflow: hidden; border: 1px solid #4e5a6b; border-radius: 13px; background: #1a2436; opacity: 1 !important; }
html body .game-shell #mapDialog .campaign-level-card.is-current { border-color: var(--campaign-accent); box-shadow: 0 0 0 1px var(--campaign-accent); }
html body .game-shell #mapDialog .campaign-level-preview { width: 100%; height: 174px; min-width: 0; display: block; object-fit: cover; background: #263344; }
html body .game-shell #mapDialog .campaign-level-card.is-locked .campaign-level-preview { filter: saturate(.6) brightness(.8); }
html body .game-shell #mapDialog .campaign-level-copy { display: grid; align-content: start; gap: 8px; padding: 14px 16px; }
html body .game-shell #mapDialog .campaign-level-copy .campaign-level-state { color: #a6c8c0; font-size: 9px; letter-spacing: .04em; }
html body .game-shell #mapDialog .campaign-level-copy strong { color: #eee6da; font-size: 15px; line-height: 1.4; }
html body .game-shell #mapDialog .campaign-level-copy > span:last-child { color: #b9c5cf; font-size: 11px; line-height: 1.6; }
html body .game-shell #mapDialog .campaign-level-card > button { margin: 0 16px 16px !important; min-height: 42px; padding: 10px 14px !important; background: #48605e !important; color: #fff1d6 !important; border: 1px solid #88a697 !important; border-radius: 8px !important; box-shadow: none !important; font-size: 12px !important; }
html body .game-shell #mapDialog .campaign-level-card > button:disabled { background: #2c3445 !important; border-color: #50596c !important; color: #aab5c5 !important; opacity: 1 !important; }
html body .game-shell #mapDialog .campaign-original-maps { display: grid; gap: 10px; padding: 14px; border: 1px solid #4b536a; border-radius: 12px; }
html body .game-shell #mapDialog .campaign-original-maps > summary { cursor: pointer; padding: 5px 0 12px; color: #d9d2bf; font-size: 13px; }
html body .game-shell #mapDialog .campaign-original-maps .gear-icon { width: 70px; height: 58px; object-fit: cover; border-radius: 8px; }
@media (max-width: 600px) {
  html body .game-shell #mapDialog.campaign-map-dialog { width: calc(100vw - 20px) !important; padding: 15px !important; }
  html body .game-shell #mapDialog .campaign-browser-header { padding: 14px; }
  html body .game-shell #mapDialog .campaign-browser-header h2 { font-size: 20px; }
  html body .game-shell #mapDialog .campaign-world-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html body .game-shell #mapDialog .campaign-world-tabs button { min-height: 96px; padding: 11px !important; }
  html body .game-shell #mapDialog .campaign-region-chooser { grid-template-columns: minmax(0,1fr); gap: 7px; }
  html body .game-shell #mapDialog .campaign-level-grid { grid-template-columns: minmax(0,1fr); }
  html body .game-shell #mapDialog .campaign-level-card { grid-template-rows: 170px 1fr auto; }
  html body .game-shell #mapDialog .campaign-level-preview { height: 170px; }
}
/* Confirmed gameplay discoveries stay readable without covering the whole world. */
html body .game-shell #artefactDialog {
  box-sizing: border-box; width: min(640px, calc(100vw - 24px)) !important; max-width: 640px !important;
  max-height: calc(100dvh - 32px); margin: auto; padding: 24px;
  color: #eaf2f5; background: linear-gradient(145deg, #203544, #14242f);
  border: 1px solid #75928d; border-radius: 22px; overflow: auto;
  box-shadow: 0 24px 90px #07121dcc;
}
dialog.artefact-dialog::backdrop { background: #07131b9c; }
.artefact-heading, .artefact-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.artefact-heading > span { color: #e6c483; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.artefact-heading .icon-button { position: relative; flex: 0 0 42px; width: 42px; height: 42px; }
.artefact-content { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 24px; margin: 14px 0 24px; }
.artefact-art { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(ellipse, #71d4c433, #71d4c400 70%); }
.artefact-art img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 15px #0007); }
.artefact-copy { min-width: 0; }
.artefact-tags { display: flex; flex-wrap: wrap; gap: 6px; color: #b7d3d1; font-size: 11px; text-transform: capitalize; }
.artefact-tags > span { padding: 4px 8px; border: 1px solid #73968a66; border-radius: 20px; }
.artefact-copy h2 { margin: 12px 0 10px; color: #fff1d2; font-size: clamp(23px, 4vw, 30px); line-height: 1.12; overflow-wrap: anywhere; }
.artefact-copy p { margin: 0 0 14px; color: #c5d7dd; font-size: 14px; line-height: 1.5; }
.artefact-copy h3 { margin: 15px 0 8px; color: #8edbcd; font-size: 12px; letter-spacing: .04em; }
.artefact-copy ul { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; color: #ecf0e8; font-size: 13px; }
.artefact-copy .artefact-ability { color: #ffe0a2; font-weight: 700; }
.artefact-footer { padding-top: 16px; border-top: 1px solid #75928d44; }
.artefact-footer > span { color: #adc7c6; font-size: 12px; }
.artefact-footer .primary-button { min-height: 46px; padding: 10px 18px; white-space: normal; }
@media (max-width: 560px) {
  dialog.artefact-dialog { padding: 18px; }
  .artefact-content { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 4px; }
  .artefact-art { width: min(190px, 60vw); margin: 0 auto; }
  .artefact-copy h2 { margin-top: 10px; }
  .artefact-footer { align-items: stretch; flex-direction: column; gap: 10px; }
  .artefact-footer .primary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html body .game-shell *, html body .game-shell *::before, html body .game-shell *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

}

/* Phone splash: fill the viewport instead of a letterboxed cinema frame. */
@layer prism-ui {
  @media (max-width: 600px) {
    html body #splashScreen { --splash-cinema-w: 100vw !important; --splash-cinema-h: 100dvh !important; }
    html body #splashScreen .splash-cinema-frame { aspect-ratio: auto !important; background-size: cover !important; background-position: center !important; }
    html body #splashScreen::after { background: linear-gradient(180deg, #080b1d26, #080b1d00 30%, #080b1d44 60%, #080b1de0) !important; }
    html body #splashScreen .splash-cinema-frame::after { background: radial-gradient(ellipse at center, transparent 40%, #080b1d55) !important; }
  }
}

/* Keep asset editing in document flow and upload controls within their column. */
@layer prism-ui {
  html body .game-shell .admin-dialog .admin-studio-grid { align-items: start !important; }
  html body .game-shell .admin-dialog .admin-editor { height: auto !important; max-height: none !important; overflow: visible !important; }
  html body .game-shell .admin-dialog .admin-upload-panel { grid-template-columns: minmax(0,1fr) !important; min-width: 0 !important; max-width: 100% !important; }
  html body .game-shell .admin-dialog .admin-upload-panel > input { width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
  html body .game-shell .admin-dialog .admin-upload-panel > button { grid-column: 1 / -1; min-width: 0 !important; max-width: 100% !important; }
  @media (min-width: 901px) {
    html body .game-shell .admin-dialog .admin-upload-panel { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  }
}

/* Bound target details and keep dialogue/market labels readable. */
@layer prism-ui {
  html body .game-shell .hud .battle-panel { min-width: 0 !important; }
  html body .game-shell .hud .battle-panel #targetStats { min-width: 0 !important; max-width: 100% !important; white-space: normal !important; overflow-wrap: anywhere !important; }
  @media (min-width: 601px) {
    html body .game-shell .hud .battle-panel #targetStats { display: block !important; }
  }
  html body .game-shell #dialogueSpeaker { color: #241f1c !important; }
  html body .game-shell :is(#dialoguePlayerBadge,#dialogueNpcBadge) { color: #241f1c !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis; }
  html body .game-shell #localShopDialog .local-shop-buy > b { color: #241f1c !important; }
  html body .game-shell #localShopDialog .local-shop-buy > span { color: #4b3d29 !important; }
  html body .game-shell #localShopDialog .local-shop-buy:disabled > :is(b,span) { color: var(--ui-muted) !important; }
}

/* Shop categories stay in normal flow below the sticky dialog title. */
@layer prism-ui {
  html body .game-shell #shopDialog .prism-shop-tabs { position: static !important; }
}
/* V148: a quiet quest strip and passive discoveries keep the world in view. */
@layer prism-ui {
html body .hud .quest-compact {
  position: absolute; z-index: 6; left: 18px; top: 60px; width: 248px;
  height: 49px; min-height: 0; box-sizing: border-box; display: flex;
  align-items: center; gap: 9px; padding: 7px 10px 9px; overflow: hidden;
  border: 1px solid #6c6a8159; border-radius: 9px; background: #171d30e8;
  color: #f4eddf; box-shadow: 0 3px 12px #05081726; text-align: left;
  pointer-events: auto; cursor: pointer; font-family: inherit;
}
html body .hud .quest-compact:hover { background: #252c43f5; border-color: #8dcbbb; }
html body .hud .quest-compact:focus-visible { outline: 2px solid #e8be75; outline-offset: 3px; }
html body .hud .quest-compact-icon {
  flex: 0 0 17px; width: 17px; height: 20px;
  background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20quest%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h16v24l-8-5-8%205Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m16%208%201.4%203%203.4.4-2.5%202.3.7%203.3-3-1.7-3%201.7.7-3.3-2.5-2.3%203.4-.4Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M5%206H3v23M27%206h2v23%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A') center/contain no-repeat;
}
html body .hud .quest-compact-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
html body .hud .quest-compact-heading { display: flex; gap: 8px; justify-content: space-between; font-size: 8px; line-height: 1.2; letter-spacing: .6px; color: #8dcbbb; }
html body .hud #questCompactLabel { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html body .hud #questCompactProgress { flex-shrink: 0; font-variant-numeric: tabular-nums; }
html body .hud #questCompactStep { font-size: 11px !important; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .hud .quest-compact-chevron { flex: 0 0 8px; color: #bdb7ce; font-size: 21px; line-height: 1; transform: rotate(90deg); }
html body .hud .quest-compact[aria-expanded='true'] .quest-compact-chevron { transform: rotate(-90deg); }
html body .hud .quest-compact-track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #080f20; }
html body .hud .quest-compact-track > i { display: block; width: 0; height: 100%; background: #8dcbbb; transition: width 180ms ease; }
html body .hud #questPanel[hidden], html body .hud #questPanel #questBody[hidden], html body .hud #artefactNotice[hidden] { display: none !important; }
html body .hud #questPanel:not(.is-custom-position) {
  top: 117px !important; left: 18px !important; width: 320px !important;
  max-height: min(420px,calc(100dvh - 208px)) !important; padding: 16px !important;
  z-index: 12; overflow: auto !important;
}
html body .hud #questPanel .quest-body { display: grid !important; gap: 8px !important; }
html body .hud #questPanel #questTitle { display: block !important; font-size: 16px !important; }
html body .hud #questPanel #questText { display: block !important; font-size: 12px !important; line-height: 1.55 !important; }
html body .hud #questPanel .flow-coach:not([hidden]) { display: flex !important; }
html body .hud #questPanel .flow-coach-copy > :is(b,span,em) { display: block !important; font-size: 11px !important; line-height: 1.5; }
html body .hud #questPanel .objective-meter-chips { display: flex !important; }
html body .hud #questPanel .quest-actions { display: flex !important; }
html body .hud #questPanel .trial-badge { display: block !important; }
html body .hud #questPanel .quest-toggle-button { min-height: 30px !important; padding: 5px 9px !important; font-size: 11px !important; }
html body .hud .artefact-notice {
  position: absolute; z-index: 7; top: 119px; left: 18px; width: 286px;
  box-sizing: border-box; display: flex; gap: 10px; align-items: center;
  padding: 10px 12px; border: 1px solid #8dcbbb70; border-radius: 10px;
  background: #171d30ed; color: #f4eddf; box-shadow: 0 5px 18px #05081730;
  pointer-events: none !important; animation: artefact-notice-enter 180ms ease-out;
}
html body .hud .artefact-notice > img { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; }
html body .hud .artefact-notice-copy { display: grid; gap: 3px; min-width: 0; }
html body .hud #artefactNoticeMeta { color: #8dcbbb; font-size: 9px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .hud #artefactNoticeName { color: #f4eddf !important; font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .hud #artefactNoticeAbility { color: #c9c5d5; font-size: 11px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
html body .hud:has(#questPanel:not([hidden])) .artefact-notice { visibility: hidden; }
@keyframes artefact-notice-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  html body .hud .quest-compact { left: 8px; top: 47px; width: min(220px,calc(100vw - 116px)); height: 47px; gap: 7px; padding: 6px 8px 8px; }
  html body .hud .quest-compact-icon { flex-basis: 15px; width: 15px; }
  html body .hud #questCompactStep { font-size: 10px !important; }
  html body .hud #questPanel:not(.is-custom-position) { left: 8px !important; top: 102px !important; width: min(320px,calc(100vw - 16px)) !important; max-height: min(420px,calc(100dvh - 188px)) !important; padding: 14px !important; }
  html body .hud .artefact-notice { left: 8px; top: 102px; width: min(270px,calc(100vw - 116px)); padding: 8px; gap: 7px; }
  html body .hud .artefact-notice > img { width: 34px; height: 34px; flex-basis: 34px; }
  html body .hud #artefactNoticeName { font-size: 11px; }
  html body .hud #artefactNoticeAbility { font-size: 10px; }
}
@media (max-height: 500px) and (min-width: 601px) {
  html body .hud .quest-compact { left: 8px; top: 58px; width: 205px; height: 43px; }
  html body .hud #questPanel:not(.is-custom-position) { top: 108px !important; left: 8px !important; max-height: calc(100dvh - 126px) !important; }
  html body .hud .artefact-notice { top: 109px; left: 8px; width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  html body .hud .artefact-notice { animation: none; }
  html body .hud .quest-compact-track > i { transition: none; }
}
}

html body #loginScreen.screen--active { --login-atlas175: url("assets/startup175/menu-atlas.webp?v=175r4"); }

/* V182: battle controls have their own space; passive updates stack above them. */
@layer prism-ui {
  html body .game-shell .mega-dock {
    bottom: var(--hud-mega-bottom182,111px) !important;
    z-index: 6;
  }
  html body .hud .battle-notices {
    position: absolute; left: 50%; right: auto;
    bottom: var(--hud-notices-bottom182,184px);
    transform: translateX(-50%); width: min(420px,calc(100vw - 32px));
    max-height: min(24dvh,210px); display: flex; flex-direction: column;
    gap: 6px; min-height: 0; overflow: hidden; z-index: 5;
    pointer-events: none !important;
  }
  html body .hud .battle-notices * { pointer-events: none !important; }
  html body .hud .battle-notices .combat-feed {
    position: static !important; inset: auto !important; transform: none !important;
    width: 100% !important; min-height: 0; display: flex; flex-direction: column;
    flex: 1 1 auto; gap: 4px; overflow: hidden;
  }
  html body .hud .battle-notices .combat-feed > div {
    flex: 0 0 auto; align-self: center; min-width: 0; max-width: 100%;
    box-sizing: border-box; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden;
  }
  html body .hud .battle-notices .toast {
    position: static !important; inset: auto !important; transform: none !important;
    flex: 0 0 auto; box-sizing: border-box; width: 100% !important;
    max-width: 100% !important; padding: 9px 12px !important;
    overflow: hidden; overflow-wrap: anywhere; line-height: 1.4;
    -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  }
  html body .hud .battle-notices .toast:not(.toast--active) { display: none !important; }
  html body .hud .battle-notices .toast.toast--active { display: -webkit-box !important; }
  @media(max-width:900px) {
    html body .hud .battle-notices {
      left: auto; right: 10px; transform: none; width: 238px;
      bottom: var(--hud-notices-bottom182,166px);
    }
  }
  @media(max-width:600px) {
    html body .hud .battle-notices {
      right: 8px; width: clamp(122px,calc(100vw - 190px),180px);
      bottom: var(--hud-notices-bottom182,154px);
    }
    html body .hud .battle-notices .toast { font-size: 11px !important; padding: 8px !important; }
    html body .hud .battle-notices .combat-feed > div { font-size: 10px !important; }
  }
  @media(max-height:500px) and (min-width:601px) {
    html body .game-shell .hud .mega-dock { left: 50%; right: auto; transform: translateX(-50%); }
    html body .hud .battle-notices { left: 50%; right: auto; transform: translateX(-50%); width: 335px; }
  }
}

/* Recovery stays readable without covering the game or trapping menu focus. */
#connectionNotice176{position:fixed;z-index:1200;top:max(80px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 40px);box-sizing:border-box;padding:12px 20px;border:1px solid #9ebade;border-radius:16px;background:#172740f2;color:#f4f8ff;box-shadow:0 6px 24px #080f2b70;font:600 14px/1.5 system-ui,sans-serif;text-align:center;pointer-events:none}
body.is-control-lost #connectionNotice176{display:none}#splashPlayButton:disabled{opacity:.62;cursor:wait}#bootRetry176{margin-top:4px}

/* V179: a dragged HUD keeps its responsive size, and restored panels fit the
   visible viewport after loading, rotation, browser chrome and font changes. */
@layer prism-ui {
 html body .hud .is-custom-position{box-sizing:border-box!important;max-width:calc(var(--hud-width179,100vw) - 16px)!important;max-height:calc(var(--hud-height179,100dvh) - 16px)!important;overflow:auto}
 html body .hud .profile-panel.is-custom-position{width:248px!important}
 html body .hud .minimap-panel.is-custom-position{width:154px!important;padding:8px!important}
 html body .hud .zoom-panel:not(.is-custom-position){top:var(--hud-map-bottom179,208px)!important}
 @media(max-width:1150px) and (min-width:901px){html body .hud .profile-panel.is-custom-position{width:216px!important}}
 @media(max-width:900px){html body .hud .profile-panel.is-custom-position{width:205px!important}html body .hud .minimap-panel.is-custom-position{width:120px!important;padding:6px!important}html body .hud .zoom-panel:not(.is-custom-position){top:var(--hud-map-bottom179,165px)!important}}
 @media(max-width:600px){html body .hud .profile-panel.is-custom-position{width:167px!important}html body .hud .minimap-panel.is-custom-position{width:90px!important;padding:5px!important}html body .hud .zoom-panel:not(.is-custom-position){top:var(--hud-map-bottom179,119px)!important}}
 @media(max-height:500px) and (min-width:601px){html body .hud .profile-panel.is-custom-position{width:190px!important}html body .hud .minimap-panel.is-custom-position{width:100px!important}html body .hud .zoom-panel:not(.is-custom-position){top:var(--hud-map-bottom179,131px)!important}}
}

/* V183: readable combat state and one reliable row of touch actions. */
@layer prism-ui {
 html body .game-shell .hud .ability-bar .ability-status183 {
   position:absolute;z-index:3;left:4px;top:3px;max-width:calc(100% - 8px);
   min-width:22px;padding:2px 4px;border:1px solid #91a4ba;border-radius:5px;
   background:#0d192ef2!important;color:#f3f6ff!important;font:750 10px/1.2 system-ui,sans-serif!important;
   text-align:center;font-variant-numeric:tabular-nums;pointer-events:none;
 }
 html body .game-shell .hud .ability-status183[hidden] {display:none!important}
 html body .game-shell .hud .ability-status183[data-state='queued'] {color:#ffe2a0!important;border-color:#d1b77d}
 html body .game-shell .hud .ability-status183[data-state='mana'] {color:#c4e5ff!important;border-color:#73a8c7}
 html body .game-shell .hud .ability-bar > .ability-button.is-cooling {opacity:1!important}
 html body .game-shell .hud .ability-bar > .ability-button.is-cooling > :is(.ability-icon,b) {opacity:.55}
 html body .game-shell .hud .battle-panel:not([hidden]) {display:block!important}
 html body .hud .target-health183 {display:grid;gap:4px;min-width:0}
 html body .hud #targetHpReadout183 {font:650 10px/1.2 system-ui,sans-serif!important;color:#eee3d6!important;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
 html body .hud .battle-notices .combat-feed > div:nth-child(n+4) {display:none!important}
 @media(max-width:980px) {
   html body .game-shell .hud .ability-bar:not(.is-custom-position) {flex-wrap:nowrap!important;width:min(381px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important}
   html body .game-shell .hud .ability-bar > .ability-button {flex:1 1 0!important;min-width:44px!important;max-width:none!important;width:auto!important}
 }
 @media(max-width:600px) {
   html body .hud .battle-notices .combat-feed > div:nth-child(n+3) {display:none!important}
 }
 @media(max-height:500px) and (min-width:601px) {
   html body .game-shell .hud .ability-button--menu {display:flex!important}
   html body .game-shell .hud .hud-tools {
     display:none!important;position:fixed!important;top:auto!important;
     bottom:var(--hud-mega-bottom182,92px)!important;left:50%!important;
     width:min(360px,calc(100vw - 24px))!important;transform:translateX(-50%)!important;
     grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;padding:14px!important;
     background:#1c2238fa!important;border:1px solid #8b7d92!important;border-radius:18px!important;z-index:120;
   }
   html body.is-tools-open .game-shell .hud .hud-tools {display:grid!important}
   html body .game-shell .hud .hud-tools .ability-button {width:100%!important;height:65px!important}
   html body .game-shell .hud .battle-panel :is(.panel-label,#targetStats) {display:none!important}
   html body .game-shell .hud .ability-bar > .ability-button {height:56px!important;gap:3px!important}
   html body .hud .profile-panel #portrait {width:32px!important;height:32px!important}
   html body .hud .profile-panel .profile-card {gap:7px!important;margin-bottom:6px!important}
   html body .hud .profile-panel #playerName {font-size:11px!important}
   html body .hud .profile-panel #playerLevel {font-size:9px!important}
 }
 @media(max-height:500px) and (min-height:360px) and (min-width:601px) {
   html body .hud .profile-panel .potion-tray {display:grid!important;margin-top:6px!important}
   html body .hud .profile-panel .potion-button {min-height:44px!important}
 }
 @media(max-height:500px) and (min-width:601px) and (max-width:820px) {
   html body .hud .profile-panel:not(.is-custom-position) {width:167px!important;bottom:var(--hud-mega-bottom182,92px)!important;padding:9px!important}
   html body .hud .profile-panel.is-custom-position {width:167px!important}
   html body .hud .battle-notices {width:calc(100vw - 380px)}
 }
}

/* V184: approved Prism Bloom opening. All artwork keeps its original proportions. */
@layer prism-ui {
html body #splashScreen {
  position: fixed !important; inset: 0 !important; z-index: 300 !important;
  display: grid !important; align-items: center !important; justify-items: center !important;
  width: 100% !important; height: 100dvh !important; min-height: 0 !important;
  overflow: auto !important; isolation: isolate; color-scheme: light;
  background: #f7f7ed !important; color: #183d40 !important;
  padding: max(76px,env(safe-area-inset-top)) max(36px,env(safe-area-inset-right)) max(40px,env(safe-area-inset-bottom)) max(36px,env(safe-area-inset-left)) !important;
  box-sizing: border-box !important; text-align: left !important;
}
html body #splashScreen::before,html body #splashScreen::after { display: none !important; background: none !important; }
html body #splashScreen.is-hidden { opacity: 0 !important; pointer-events: none !important; }
html body #splashScreen .opening-aurora184 {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 88% 12%,#d8edf5 0,transparent 48%),radial-gradient(ellipse at 75% 96%,#ebe1ef 0,transparent 48%),radial-gradient(ellipse at 5% 98%,#dfede3 0,transparent 45%);
}
html body #splashScreen .opening-aurora184::after {
  content: ''; position: absolute; width: 70vw; height: 70vw; border: 1px solid #00594f0f;
  border-radius: 50%; left: 40%; top: -15%; box-shadow: 0 0 0 60px #00594f04,0 0 0 120px #00594f03;
}
html body #splashScreen .opening-layout184 { display: grid; grid-template-columns: minmax(320px,.82fr) minmax(0,1.3fr); align-items: center; gap: clamp(28px,4vw,80px); width: min(1480px,100%); margin: auto; }
html body #splashScreen .splash-copy {
  position: relative !important; inset: auto !important; transform: none !important;
  width: 100% !important; max-width: 520px !important; margin: 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
  text-align: left !important; z-index: 2 !important; color: #183d40 !important;
}
html body #splashScreen #splashTitle {display: flex !important; flex-direction: column; gap: 22px; margin: 0 0 26px !important; padding: 0 !important; line-height: 1.1 !important; text-align: left !important; background: none !important; border: 0 !important; filter: none !important;}
html body #splashScreen .opening-wordmark184 {display: block; width: min(400px,100%); height: auto; object-fit: contain; margin: 0; padding: 0; filter: none; opacity: 1; transform: none;}
html body #splashScreen #splashTitle strong { display: block !important; font-size: clamp(38px,4.1vw,66px) !important; font-weight: 850 !important; letter-spacing: -.055em !important; color: #00594f !important; text-shadow: none !important; background: none !important; -webkit-text-fill-color: #00594f !important; -webkit-text-stroke: 0 !important; filter: none !important; text-transform: none !important; }
html body #splashScreen .splash-copy .eyebrow {display: block !important; width: auto !important; max-width: none !important; margin: 0 0 14px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; color: #704571 !important; font: 750 12px/1.5 system-ui,sans-serif !important; letter-spacing: .12em !important; text-transform: uppercase !important; text-shadow: none !important;}
html body #splashScreen .splash-copy .splash-tagline {display: block !important; width: auto !important; max-width: 420px !important; margin: 0 0 32px !important; color: #3d5b5b !important; font: 450 clamp(16px,1.28vw,19px)/1.65 system-ui,sans-serif !important; text-shadow: none !important;}
html body #splashScreen #splashPlayButton {
  display: inline-flex !important; justify-content: space-between !important; align-items: center !important; gap: 32px !important;
  width: min(310px,100%) !important; min-width: 0 !important; min-height: 62px !important; margin: 0 !important; padding: 14px 24px !important;
  border: 1px solid #00594f !important; border-radius: 16px !important; background: #00594f !important; color: white !important;
  box-shadow: 0 7px 0 #00463e,0 16px 28px #00594f1f !important; text-shadow: none !important; transform: none !important;
  transition: background .18s,box-shadow .18s !important;
}
html body #splashScreen #splashPlayButton:hover:not(:disabled) { background: #007367 !important; box-shadow: 0 7px 0 #00463e,0 18px 32px #00594f30 !important; }
html body #splashScreen #splashPlayButton:active:not(:disabled) {box-shadow: 0 3px 0 #00463e !important;}
html body #splashScreen #splashPlayButton:disabled {opacity: .62 !important;cursor: wait !important;}
html body #splashScreen #splashPlayButton span { color: #fff !important; font: 800 16px/1.4 system-ui,sans-serif !important; letter-spacing: .08em !important; text-shadow: none !important;}
html body #splashScreen #splashPlayButton svg {width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto;}
html body #splashScreen #bootStatus176 {margin: 22px 0 8px !important; color: #365658 !important; font: 500 14px/1.5 system-ui,sans-serif !important; text-shadow: none !important;}
html body #splashScreen #bootRetry176 {background: #fff !important; color: #00594f !important; border: 1px solid #95b4ae !important; min-height: 44px !important; border-radius: 12px !important; padding: 10px 16px !important; box-shadow: none !important;}
html body #splashScreen .opening-scene184 {min-width: 0; position: relative; padding: 16px 0;}
html body #splashScreen .splash-cinema-frame {
  position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 1672/941 !important;
  display: block !important; padding: 0 !important; margin: 0 !important; transform: none !important; filter: none !important;
  background: #dce9e1 !important; border: 7px solid #fffdf7 !important; border-radius: 28px !important; box-sizing: border-box;
  box-shadow: 0 28px 70px #183d4026,0 0 0 1px #00594f1a !important; overflow: hidden !important; animation: none !important;
}
html body #splashScreen .splash-cinema-frame::before,html body #splashScreen .splash-cinema-frame::after { display: none !important; background: none !important; }
html body #splashScreen .opening-landscape184 { display: block; width: 100%; height: auto; aspect-ratio: 1672/941; object-fit: contain; }
html body #splashScreen .opening-mote184 {position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff7cc; box-shadow: 0 0 12px 3px #f5bd3299; pointer-events: none; animation: opening-mote184 6s ease-in-out infinite alternate;}
html body #splashScreen .opening-mote184--one {left: 10%; top: 28%;}
html body #splashScreen .opening-mote184--two {left: 72%; top: 46%;animation-delay: -2s;}
html body #splashScreen .opening-mote184--three {left: 40%; top: 65%;animation-delay: -4s;}
html body #splashScreen .opening-promises184 {display: grid;grid-template-columns: repeat(3,minmax(0,1fr));gap: 12px;padding: 0;margin: 24px 4px 0;list-style: none;}
html body #splashScreen .opening-promises184 li {display: flex;align-items: center;justify-content: center;gap: 8px;min-width: 0;padding: 12px 4px;color: #365658;border-top: 1px solid #00594f26;font: 650 12px/1.45 system-ui,sans-serif;}
html body #splashScreen .opening-promises184 svg {width: 28px;height: 28px;fill: none;stroke: #704571;stroke-width: 1.7;stroke-linecap: round;stroke-linejoin: round;flex: 0 0 auto;}
html body #splashScreen #splashLanguageMount {position: absolute;top: max(20px,env(safe-area-inset-top));right: max(28px,env(safe-area-inset-right));z-index: 12;}
html body #splashScreen .gl-language {background: #ffffffdb !important;color: #183d40 !important;border: 1px solid #adc5bf !important;min-height: 44px !important;border-radius: 12px !important;}
html body #splashScreen .gl-language-mark {color: #00594f;}
html body #splashScreen .gl-language select {min-height: 38px;}
html body #splashScreen :is(button,select):focus-visible {outline-color: #b3354a !important;}
html body #loginScreen .brand-masthead184 {display: flex !important;align-items: center !important;gap: 20px !important;flex-wrap: wrap !important;background: #f7f7ed !important;border: 1px solid #d0ded5 !important;border-radius: 16px !important;padding: 18px 22px !important;margin: 0 0 14px !important;}
html body #loginScreen .brand-masthead184 img {display: block;width: 208px;height: auto;max-width: 100%;object-fit: contain;}
html body #loginScreen .brand-masthead184 strong {font-size: 28px !important;letter-spacing: -.04em !important;color: #00594f !important;}
html body #settingsDialog .settings-brand184 {display: flex;align-items: center;gap: 12px;min-width: 0;}
html body #settingsDialog .settings-brand184 img {display: block;object-fit: contain;flex: 0 0 auto;}
html body #settingsDialog .settings-brand184 strong {font-size: 25px !important;}
@keyframes opening-mote184 {from {transform: translateY(0);opacity: .35;}to {transform: translateY(-16px);opacity: .9;}}
@media(max-width: 1050px) and (min-width: 761px) {
 html body #splashScreen {padding-left: 28px !important;padding-right: 28px !important;}
 html body #splashScreen .opening-layout184 {grid-template-columns: minmax(300px,.9fr) minmax(0,1.1fr);gap: 28px;}
 html body #splashScreen .opening-promises184 {gap: 6px;}
 html body #splashScreen .opening-promises184 li {flex-direction: column;text-align: center;gap: 6px;}
}
@media(max-width: 760px) {
 html body #splashScreen {display: block !important;padding: max(84px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left)) !important;}
 html body #splashScreen .opening-layout184 {display: flex;flex-direction: column;gap: 26px;max-width: 580px;margin: auto;}
 html body #splashScreen .splash-copy {max-width: 520px !important;text-align: center !important;}
 html body #splashScreen #splashTitle {gap: 14px;align-items: center;text-align: center !important;margin-bottom: 18px !important;}
 html body #splashScreen .opening-wordmark184 {width: min(280px,100%);}
 html body #splashScreen #splashTitle strong {font-size: clamp(36px,8.5vw,54px) !important;}
 html body #splashScreen .splash-copy .eyebrow {font-size: 10px !important;margin-bottom: 10px !important;}
 html body #splashScreen .splash-copy .splash-tagline {margin: 0 auto 24px !important;font-size: 15px !important;line-height: 1.6 !important;max-width: 410px !important;}
 html body #splashScreen #splashPlayButton {min-height: 56px !important;width: min(300px,100%) !important;}
 html body #splashScreen .opening-scene184 {width: 100%;padding: 0;}
 html body #splashScreen .splash-cinema-frame {border-width: 4px !important;border-radius: 20px !important;}
 html body #splashScreen .opening-promises184 {gap: 6px;margin-top: 16px;}
 html body #splashScreen .opening-promises184 li {flex-direction: column;text-align: center;font-size: 11px;padding: 12px 0 0;gap: 6px;}
 html body #splashScreen .opening-promises184 svg {width: 24px;height: 24px;}
 html body #splashScreen #splashLanguageMount {top: max(14px,env(safe-area-inset-top));right: max(18px,env(safe-area-inset-right));}
 html body #loginScreen .brand-masthead184 {gap: 10px !important;padding: 14px 16px !important;}
 html body #loginScreen .brand-masthead184 img {width: 180px;}
 html body #loginScreen .brand-masthead184 strong {font-size: 23px !important;}
}
@media(max-height: 540px) and (min-width: 761px) {
 html body #splashScreen {padding-top: 76px !important;padding-bottom: 24px !important;align-items: start !important;}
 html body #splashScreen .opening-wordmark184 {width: 250px;}
 html body #splashScreen #splashTitle {gap: 12px;margin-bottom: 14px !important;}
 html body #splashScreen #splashTitle strong {font-size: 38px !important;}
 html body #splashScreen .splash-copy .splash-tagline {font-size: 14px !important;line-height: 1.5 !important;margin-bottom: 18px !important;}
 html body #splashScreen #splashPlayButton {min-height: 50px !important;}
 html body #splashScreen .opening-promises184 {margin-top: 14px;}
}
@media(prefers-reduced-motion: reduce) {
 html body #splashScreen,html body #splashScreen * {animation: none !important;transition: none !important;}
}
}
@layer prism-ui {
html body #splashScreen #splashPlayButton::before,html body #splashScreen #splashPlayButton::after {content:none !important;display:none !important;}
html body #splashScreen .gl-language-mark {color:#00594f !important;}
}
@layer prism-ui {
@media(max-width:760px) and (min-width:560px) and (max-height:540px) {
 html body #splashScreen {padding:70px 24px 24px !important;}
 html body #splashScreen .opening-layout184 {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;max-width:none;align-items:center;}
 html body #splashScreen .splash-copy {text-align:left !important;}
 html body #splashScreen #splashTitle {align-items:flex-start;text-align:left !important;gap:8px;margin-bottom:12px !important;}
 html body #splashScreen .opening-wordmark184 {width:220px;}
 html body #splashScreen #splashTitle strong {font-size:32px !important;}
 html body #splashScreen .splash-copy .eyebrow {font-size:9px !important;letter-spacing:.06em !important;margin-bottom:8px !important;}
 html body #splashScreen .splash-copy .splash-tagline {font-size:13px !important;line-height:1.45 !important;margin-bottom:14px !important;}
 html body #splashScreen #splashPlayButton {min-height:48px !important;padding:10px 18px !important;}
 html body #splashScreen .opening-promises184 {margin-top:12px;}
 html body #splashScreen .opening-promises184 li {font-size:10px;}
}
}
@layer prism-ui {
html body #splashScreen .splash-cinema-frame {min-height:0 !important;min-width:0 !important;max-height:none !important;}
}

/* V208: the full tools row needs room for branding and the tactical map.
   Reuse the Tools drawer on narrower desktops; existing phone and short
   landscape rules retain their own dimensions and safe-area placement. */
@layer prism-ui {
 @media (min-width: 901px) and (max-width: 1400px) and (min-height: 501px) {
  html body .game-shell .hud .ability-button--menu { display: flex !important; }
  html body .game-shell .hud .hud-tools {
    display: none !important; position: fixed !important; top: auto !important;
    bottom: var(--hud-mega-bottom182,94px) !important; left: 50% !important;
    width: min(360px,calc(100vw - 24px)) !important; transform: translateX(-50%) !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 8px !important; padding: 14px !important;
    background: #1c2238fa !important; border: 1px solid #8b7d92 !important; border-radius: 18px !important; z-index: 120;
    box-shadow: 0 20px 100px #020612aa !important;
  }
  html body.is-tools-open .game-shell .hud .hud-tools { display: grid !important; }
  html body .game-shell .hud .hud-tools .ability-button { width: 100% !important; height: 65px !important; border: 1px solid #474963 !important; background: #2a3047 !important; }
  html body .game-shell .hud .hud-tools .ability-button b { font-size: 10px !important; }
  html body .game-shell .hud .hud-tools .ability-icon { width: 28px !important; height: 28px !important; }
  html body.is-tools-open .game-shell .hud .ability-button--menu { background: #5a4d4e !important; border-color: var(--ui-gold) !important; }
 }
}


/* Original source: menu-icons.css; SHA256 569bfefff2160f8ae3e029de992c76ae6fa2ca2dcbb746ae271de22749f9db26 */
/* Original Prism enamel icon family. Load after ui-overhaul.css. Decorative
   backgrounds preserve every visible label, keyboard shortcut and ARIA name.
   data-prism-icon is an optional explicit hook for dynamically built buttons. */
html body .game-shell #playButton,
html body .game-shell #splashPlayButton,
html body .game-shell #arcadeStartButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20play%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m11%205%2017%2011-17%2011Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M5%207v18%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #newGameButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20new%20game%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%208h17v20H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2014h7M10%2019h5%22%2F%3E%3Cpath%20d%3D%22M25%203v10M20%208h10%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M5%2024h17%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #codexButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20codex%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%207C12%203%206%203%203%205v21c4-2%209-2%2013%201%204-3%209-3%2013-1V5c-3-2-9-2-13%202Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M16%207v20M7%2010h5M7%2015h5M20%2019h5%22%2F%3E%3Cpath%20d%3D%22m23%209%202%203-2%203-2-3Z%22%20fill%3D%22%239ce2c9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #hintButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20hint%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%2021c0-4-4-5-4-10a9%209%200%200%201%2018%200c0%205-4%206-4%2010Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M11%2024h10M13%2028h6M13%2012l3%203%203-3M16%2015v6%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M3%207%201%205M29%207l2-2%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #questToggleButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20quest%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h16v24l-8-5-8%205Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m16%208%201.4%203%203.4.4-2.5%202.3.7%203.3-3-1.7-3%201.7.7-3.3-2.5-2.3%203.4-.4Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M5%206H3v23M27%206h2v23%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #supportButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20support%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2018v-3a11%2011%200%200%201%2022%200v8c0%204-4%206-9%206%22%2F%3E%3Cpath%20d%3D%22M4%2014h5v10H4ZM23%2014h5v10h-5Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22M14%2027h5v3h-5Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #chatToggleButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20chat%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%205h22v17H14l-7%206v-6H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2011h12M10%2016h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m23%2020%204%204%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #chatForm > button,
html body .game-shell #supportForm button[type="submit"],
html body .game-shell #sendGrownupCodeButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20send%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%204%2027%2012L3%2028l4-10%2014-2-14-2Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m7%2018%2014-2-14-2M21%2016h9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M3%204l4%2010M3%2028l4-10%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #saleReminderShopButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20shop%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2010h16l3%2018H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M11%2011V8a5%205%200%200%201%2010%200v3%22%2F%3E%3Cpath%20d%3D%22m16%2015%201.8%203.6%204%20.6-2.9%202.8.7%204-3.6-1.9-3.6%201.9.7-4-2.9-2.8%204-.6Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #verifyGrownupCodeButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20check%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2016%206%206L26%208%22%20stroke%3D%22%239ce2c9%22%20stroke-width%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M5%2025h22%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #atlasFitButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20fit%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%204H4v7M21%204h7v7M4%2021v7h7M28%2021v7h-7%22%2F%3E%3Cpath%20d%3D%22m16%2010%206%206-6%206-6-6Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #atlasZoomIn { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20zoom%20in%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2213%22%20r%3D%229%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m21%2020%208%208M14%209v8M10%2013h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #atlasZoomOut { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20zoom%20out%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2213%22%20r%3D%229%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m21%2020%208%208M10%2013h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #dialogueArcadeButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20arcade%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h16l2%2015%203%204v7H3v-7l3-4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%207h12v9H10Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M9%2022v4M7%2024h4M20%2023h.1M24%2025h.1%22%20stroke%3D%22%23edc87b%22%20stroke-width%3D%222.7%22%2F%3E%3Cpath%20d%3D%22M13%2011h6%22%20stroke%3D%22%2333314d%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #dialogueSkipButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20skip%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%206%2015%2010L5%2026Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M25%206v20%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #dialogueNextButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20arrow%20next%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2016h23M18%207l9%209-9%209%22%2F%3E%3Cpath%20d%3D%22M4%2012v8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #arcadeClaimButton { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20trophy%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%204h12v10a6%206%200%200%201-12%200ZM10%208H4v4a6%206%200%200%200%206%206M22%208h6v4a6%206%200%200%201-6%206M16%2020v7M10%2028h12%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m16%207%201.2%202.5%202.8.4-2%201.9.5%202.8-2.5-1.3-2.5%201.3.5-2.8-2-1.9%202.8-.4Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #settingsList .setting-action-row > button:first-child { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20save%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%204h17l5%205v19H4V4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%204v9h12V4M9%2028V18h14v10%22%2F%3E%3Cpath%20d%3D%22M18%206v4M12%2022h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell #settingsList .setting-action-row > .danger-button { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20exit%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%205H5v22h9M19%2010l7%206-7%206M10%2016h16%22%2F%3E%3Cpath%20d%3D%22M9%205h5v22H9%22%20fill%3D%22%23c7b7ec%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .admin-open-button { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20admin%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%203%2011%204v9c0%206-6%2011-11%2014C11%2027%205%2022%205%2016V7Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2013%203%203%207-7M11%2022h10%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%203v4%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .shop-credit-button { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20credits%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M23%2012c4%200%207%202%207%205v6c0%203-3%205-7%205s-7-2-7-5v-6c0-3%203-5%207-5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cellipse%20cx%3D%2223%22%20cy%3D%2217%22%20rx%3D%227%22%20ry%3D%224%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M17%2022c4%203%208%203%2012%200%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m12%206%201.6%203.6%203.9.4-3%202.6.9%203.9-3.4-2-3.4%202%20.9-3.9-3-2.6%203.9-.4Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .gear-unequip-all,
html body .game-shell .gear-unequip { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20return%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13%206%204%2014l9%208M5%2014h15c8%200%209%2012%200%2012h-5%22%2F%3E%3Cpath%20d%3D%22M13%206%204%2014%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .prism-shop-tabs [data-shop-filter="featured"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20super%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%203-9%2014h7l-1%2012%2011-17h-8Z%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M6%207%204%205M27%2024l2%202M4%2015H2M28%2016h2%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .prism-shop-tabs [data-shop-filter="adventures"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20maps%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%209-3%209%203%208-3v21l-8%203-9-3-9%203Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M12%204v21M21%207v21%22%2F%3E%3Cpath%20d%3D%22m6%2020%204-5%205%203%206-6%205%201%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m24%2010%204%203-4%203%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .prism-shop-tabs [data-shop-filter="gear"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20gear%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2010V7c0-5%2012-5%2012%200v3M8%2010h16l2%2018H6Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2017h12v8H10Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22M8%2010h16M16%2014v6%22%2F%3E%3Cpath%20d%3D%22m14%2020%202%202%202-2%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .prism-shop-tabs [data-shop-filter="powers"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20magic%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2027%2014-14M5%2024l3%203M19%2011l2%202%22%2F%3E%3Cpath%20d%3D%22m23%203%201.6%205.4L30%2010l-5.4%201.6L23%2017l-1.6-5.4L16%2010l5.4-1.6Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M8%205v5M5.5%207.5h5M26%2023v4M24%2025h4%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .prism-shop-tabs [data-shop-filter="rides"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20stable%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%208%203-6%202%208%206%206-4%204-6-3-3%205v6H6v-8l4-8%207-4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2012-4%201-3%207M18%2017l-5-1M7%2028h12%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22m20%2010%205-6-2%209%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Ccircle%20cx%3D%2221%22%20cy%3D%2214%22%20r%3D%221%22%20fill%3D%22%23f8f1df%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .prism-shop-tabs [data-shop-filter="companions"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20pals%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2027v-3c0-5%209-7%2012-3%203-4%2012-2%2012%203v3%22%20fill%3D%22%2333314d%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2211%22%20r%3D%225%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2213%22%20r%3D%224%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%2022v6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .prism-shop-tabs [data-shop-filter="credits"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20credits%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M23%2012c4%200%207%202%207%205v6c0%203-3%205-7%205s-7-2-7-5v-6c0-3%203-5%207-5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cellipse%20cx%3D%2223%22%20cy%3D%2217%22%20rx%3D%227%22%20ry%3D%224%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M17%2022c4%203%208%203%2012%200%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m12%206%201.6%203.6%203.9.4-3%202.6.9%203.9-3.4-2-3.4%202%20.9-3.9-3-2.6%203.9-.4Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .prism-shop-tabs [data-shop-filter="owned"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20check%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2016%206%206L26%208%22%20stroke%3D%22%239ce2c9%22%20stroke-width%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M5%2025h22%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell [data-prism-icon="collect"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20collect%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%204%208%207-8%2013-8-13Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m8%2011%208%202%208-2M16%204v9l-4%205%22%2F%3E%3Cpath%20d%3D%22m4%2020%205%205h13l6-7M9%2025v3%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="attack"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20attack%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m22%204%206%200v6L15%2023l-6-6Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22m12%2020%2011-11M6%2017l9%209M10%2022l-6%206M3%2025l4%204%22%2F%3E%3Cpath%20d%3D%22m23%204%205%200v5%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="magic"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20magic%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2027%2014-14M5%2024l3%203M19%2011l2%202%22%2F%3E%3Cpath%20d%3D%22m23%203%201.6%205.4L30%2010l-5.4%201.6L23%2017l-1.6-5.4L16%2010l5.4-1.6Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M8%205v5M5.5%207.5h5M26%2023v4M24%2025h4%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="super"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20super%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%203-9%2014h7l-1%2012%2011-17h-8Z%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M6%207%204%205M27%2024l2%202M4%2015H2M28%2016h2%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="solve"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20solve%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2017h5a3%203%200%201%200%200-6H6V6h7a3%203%200%201%201%206%200h7v8a3%203%200%201%200%200%206v6H6Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M6%2017v9h9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m19%2021%202%202%205-6%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="menu"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20menu%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%204%205%205-5%205-5-5Zm18%200%205%205-5%205-5-5ZM7%2018l5%205-5%205-5-5Zm18%200%205%205-5%205-5-5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m7%204%205%205-5%205-5-5Z%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22m25%2018%205%205-5%205-5-5Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="gear"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20gear%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2010V7c0-5%2012-5%2012%200v3M8%2010h16l2%2018H6Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2017h12v8H10Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22M8%2010h16M16%2014v6%22%2F%3E%3Cpath%20d%3D%22m14%2020%202%202%202-2%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="bag"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20bag%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%209V7a6%206%200%200%201%2012%200v2M7%209h18l2%2019H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%209v4M22%209v4%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m16%2016%204%204-4%204-4-4Z%22%20fill%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="market"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20market%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2013v15h22V13M3%2012l4-8h18l4%208Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M3%2012v3a3.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200v-3%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M13%2028V19h7v9M9%204l-1%208M16%204v8M23%204l1%208%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="world"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20world%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2212%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M4%2016h24M16%204c-8%207-8%2017%200%2024%208-7%208-17%200-24Z%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M6%2010h20M6%2022h20%22%2F%3E%3Cpath%20d%3D%22m24%202%201.1%203.9L29%207l-3.9%201.1L24%2012l-1.1-3.9L19%207l3.9-1.1Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="stable"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20stable%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%208%203-6%202%208%206%206-4%204-6-3-3%205v6H6v-8l4-8%207-4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2012-4%201-3%207M18%2017l-5-1M7%2028h12%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22m20%2010%205-6-2%209%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Ccircle%20cx%3D%2221%22%20cy%3D%2214%22%20r%3D%221%22%20fill%3D%22%23f8f1df%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="maps"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20maps%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%209-3%209%203%208-3v21l-8%203-9-3-9%203Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M12%204v21M21%207v21%22%2F%3E%3Cpath%20d%3D%22m6%2020%204-5%205%203%206-6%205%201%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m24%2010%204%203-4%203%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="chat"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20chat%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%205h22v17H14l-7%206v-6H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2011h12M10%2016h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m23%2020%204%204%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="settings"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20settings%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m13%203%206%200%201%204%203%202%204-1%203%205-3%203v3l3%203-3%205-4-1-3%202-1%203h-6l-1-3-3-2-4%201-3-5%203-3v-3l-3-3%203-5%204%201%203-2Z%22%20transform%3D%22translate%280%20-1%29%20scale%281%20.94%29%22%20fill%3D%22%2333314d%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2215.5%22%20r%3D%225%22%20fill%3D%22%239ce2c9%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2215.5%22%20r%3D%221.5%22%20fill%3D%22%2333314d%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="shop"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20shop%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2010h16l3%2018H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M11%2011V8a5%205%200%200%201%2010%200v3%22%2F%3E%3Cpath%20d%3D%22m16%2015%201.8%203.6%204%20.6-2.9%202.8.7%204-3.6-1.9-3.6%201.9.7-4-2.9-2.8%204-.6Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="credits"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20credits%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M23%2012c4%200%207%202%207%205v6c0%203-3%205-7%205s-7-2-7-5v-6c0-3%203-5%207-5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cellipse%20cx%3D%2223%22%20cy%3D%2217%22%20rx%3D%227%22%20ry%3D%224%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M17%2022c4%203%208%203%2012%200%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m12%206%201.6%203.6%203.9.4-3%202.6.9%203.9-3.4-2-3.4%202%20.9-3.9-3-2.6%203.9-.4Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="save"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20save%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%204h17l5%205v19H4V4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%204v9h12V4M9%2028V18h14v10%22%2F%3E%3Cpath%20d%3D%22M18%206v4M12%2022h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="exit"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20exit%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%205H5v22h9M19%2010l7%206-7%206M10%2016h16%22%2F%3E%3Cpath%20d%3D%22M9%205h5v22H9%22%20fill%3D%22%23c7b7ec%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="quest"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20quest%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h16v24l-8-5-8%205Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m16%208%201.4%203%203.4.4-2.5%202.3.7%203.3-3-1.7-3%201.7.7-3.3-2.5-2.3%203.4-.4Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M5%206H3v23M27%206h2v23%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="codex"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20codex%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%207C12%203%206%203%203%205v21c4-2%209-2%2013%201%204-3%209-3%2013-1V5c-3-2-9-2-13%202Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M16%207v20M7%2010h5M7%2015h5M20%2019h5%22%2F%3E%3Cpath%20d%3D%22m23%209%202%203-2%203-2-3Z%22%20fill%3D%22%239ce2c9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="arcade"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20arcade%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h16l2%2015%203%204v7H3v-7l3-4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%207h12v9H10Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M9%2022v4M7%2024h4M20%2023h.1M24%2025h.1%22%20stroke%3D%22%23edc87b%22%20stroke-width%3D%222.7%22%2F%3E%3Cpath%20d%3D%22M13%2011h6%22%20stroke%3D%22%2333314d%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="support"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20support%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2018v-3a11%2011%200%200%201%2022%200v8c0%204-4%206-9%206%22%2F%3E%3Cpath%20d%3D%22M4%2014h5v10H4ZM23%2014h5v10h-5Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22M14%2027h5v3h-5Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="admin"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20admin%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%203%2011%204v9c0%206-6%2011-11%2014C11%2027%205%2022%205%2016V7Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2013%203%203%207-7M11%2022h10%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%203v4%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="close"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20close%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%209%2014%2014M23%209%209%2023%22%2F%3E%3Cpath%20d%3D%22m8%208%202%202M22%2022l2%202%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="play"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20play%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m11%205%2017%2011-17%2011Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M5%207v18%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="new-game"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20new%20game%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%208h17v20H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2014h7M10%2019h5%22%2F%3E%3Cpath%20d%3D%22M25%203v10M20%208h10%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M5%2024h17%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="resume"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20resume%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%206a12%2012%200%201%201-6%2010M4%205v8h8%22%2F%3E%3Cpath%20d%3D%22m14%2011%208%205-8%205Z%22%20fill%3D%22%239ce2c9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="hint"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20hint%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%2021c0-4-4-5-4-10a9%209%200%200%201%2018%200c0%205-4%206-4%2010Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M11%2024h10M13%2028h6M13%2012l3%203%203-3M16%2015v6%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M3%207%201%205M29%207l2-2%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="zoom-in"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20zoom%20in%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2213%22%20r%3D%229%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m21%2020%208%208M14%209v8M10%2013h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="zoom-out"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20zoom%20out%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2213%22%20r%3D%229%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m21%2020%208%208M10%2013h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="fit"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20fit%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%204H4v7M21%204h7v7M4%2021v7h7M28%2021v7h-7%22%2F%3E%3Cpath%20d%3D%22m16%2010%206%206-6%206-6-6Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="send"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20send%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%204%2027%2012L3%2028l4-10%2014-2-14-2Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m7%2018%2014-2-14-2M21%2016h9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M3%204l4%2010M3%2028l4-10%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="arrow-next"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20arrow%20next%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2016h23M18%207l9%209-9%209%22%2F%3E%3Cpath%20d%3D%22M4%2012v8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="skip"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20skip%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%206%2015%2010L5%2026Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M25%206v20%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="trophy"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20trophy%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%204h12v10a6%206%200%200%201-12%200ZM10%208H4v4a6%206%200%200%200%206%206M22%208h6v4a6%206%200%200%201-6%206M16%2020v7M10%2028h12%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m16%207%201.2%202.5%202.8.4-2%201.9.5%202.8-2.5-1.3-2.5%201.3.5-2.8-2-1.9%202.8-.4Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="refresh"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20refresh%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M27%2013a11%2011%200%200%200-19-7L4%2010M4%203v7h7M5%2019a11%2011%200%200%200%2019%207l4-4M28%2029v-7h-7%22%2F%3E%3Cpath%20d%3D%22m16%2012%204%204-4%204-4-4Z%22%20fill%3D%22%239ce2c9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="check"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20check%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2016%206%206L26%208%22%20stroke%3D%22%239ce2c9%22%20stroke-width%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M5%2025h22%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="lock"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20lock%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2013V9a7%207%200%200%201%2014%200v4M6%2013h20v16H6Z%22%20fill%3D%22%2333314d%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2220%22%20r%3D%222%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M16%2022v3%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="unlock"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20unlock%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%2013V9a7%207%200%200%201%2013-4M6%2013h20v16H6Z%22%20fill%3D%22%2333314d%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2220%22%20r%3D%222%22%20fill%3D%22%239ce2c9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%2022v3%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="pals"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20pals%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2027v-3c0-5%209-7%2012-3%203-4%2012-2%2012%203v3%22%20fill%3D%22%2333314d%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2211%22%20r%3D%225%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2213%22%20r%3D%224%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%2022v6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="volume"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20volume%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h6l7-7v22l-7-7H4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M21%2011c4%202%204%208%200%2010M25%207c8%204%208%2014%200%2018%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="music"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20music%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2024V7l15-3v17M12%2011l15-3%22%2F%3E%3Cellipse%20cx%3D%228%22%20cy%3D%2225%22%20rx%3D%225%22%20ry%3D%224%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cellipse%20cx%3D%2223%22%20cy%3D%2222%22%20rx%3D%225%22%20ry%3D%224%22%20fill%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="potion"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20potion%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203h8v8l7%209c3%205-1%209-5%209H10c-4%200-8-4-5-9l7-9Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M9%2019h14l3%204c1%203-1%204-4%204H10c-3%200-5-1-4-4Z%22%20fill%3D%22%239ce2c9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M10%203h12M12%207h8%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="shield"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20shield%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%203%2011%204v9c0%206-6%2011-11%2014C11%2027%205%2022%205%2016V7Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m16%209%205%207-5%207-5-7Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%209v14%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell [data-prism-icon="return"] { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20return%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13%206%204%2014l9%208M5%2014h15c8%200%209%2012%200%2012h-5%22%2F%3E%3Cpath%20d%3D%22M13%206%204%2014%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important; }
html body .game-shell #playButton::before,
html body .game-shell #splashPlayButton::before,
html body .game-shell #arcadeStartButton::before,
html body .game-shell #newGameButton::before,
html body .game-shell #codexButton::before,
html body .game-shell #hintButton::before,
html body .game-shell #questToggleButton::before,
html body .game-shell #supportButton::before,
html body .game-shell #chatToggleButton::before,
html body .game-shell #chatForm > button::before,
html body .game-shell #supportForm button[type="submit"]::before,
html body .game-shell #sendGrownupCodeButton::before,
html body .game-shell #saleReminderShopButton::before,
html body .game-shell #verifyGrownupCodeButton::before,
html body .game-shell #atlasFitButton::before,
html body .game-shell #atlasZoomIn::before,
html body .game-shell #atlasZoomOut::before,
html body .game-shell #dialogueArcadeButton::before,
html body .game-shell #dialogueSkipButton::before,
html body .game-shell #dialogueNextButton::before,
html body .game-shell #arcadeClaimButton::before,
html body .game-shell #settingsList .setting-action-row > button:first-child::before,
html body .game-shell #settingsList .setting-action-row > .danger-button::before,
html body .game-shell .admin-open-button::before,
html body .game-shell .shop-credit-button::before,
html body .game-shell .gear-unequip-all::before,
html body .game-shell .gear-unequip::before,
html body .game-shell .prism-shop-tabs [data-shop-filter="featured"]::before,
html body .game-shell .prism-shop-tabs [data-shop-filter="adventures"]::before,
html body .game-shell .prism-shop-tabs [data-shop-filter="gear"]::before,
html body .game-shell .prism-shop-tabs [data-shop-filter="powers"]::before,
html body .game-shell .prism-shop-tabs [data-shop-filter="rides"]::before,
html body .game-shell .prism-shop-tabs [data-shop-filter="companions"]::before,
html body .game-shell .prism-shop-tabs [data-shop-filter="credits"]::before,
html body .game-shell .prism-shop-tabs [data-shop-filter="owned"]::before,
html body .game-shell [data-prism-icon]::before {
  content: ""; display: inline-block; width: 21px; height: 21px;
  flex: 0 0 21px; margin: 0 .45em 0 0; vertical-align: -.25em;
  background: var(--prism-icon) center / contain no-repeat;
  border: 0; border-radius: 0; box-shadow: none; pointer-events: none;
}
html body #gearDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20gear%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2010V7c0-5%2012-5%2012%200v3M8%2010h16l2%2018H6Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2017h12v8H10Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22M8%2010h16M16%2014v6%22%2F%3E%3Cpath%20d%3D%22m14%2020%202%202%202-2%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #mapDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20maps%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%209-3%209%203%208-3v21l-8%203-9-3-9%203Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M12%204v21M21%207v21%22%2F%3E%3Cpath%20d%3D%22m6%2020%204-5%205%203%206-6%205%201%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m24%2010%204%203-4%203%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #shopDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20shop%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2010h16l3%2018H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M11%2011V8a5%205%200%200%201%2010%200v3%22%2F%3E%3Cpath%20d%3D%22m16%2015%201.8%203.6%204%20.6-2.9%202.8.7%204-3.6-1.9-3.6%201.9.7-4-2.9-2.8%204-.6Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #hintDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20hint%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%2021c0-4-4-5-4-10a9%209%200%200%201%2018%200c0%205-4%206-4%2010Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M11%2024h10M13%2028h6M13%2012l3%203%203-3M16%2015v6%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M3%207%201%205M29%207l2-2%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #economyDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20market%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2013v15h22V13M3%2012l4-8h18l4%208Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M3%2012v3a3.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200v-3%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M13%2028V19h7v9M9%204l-1%208M16%204v8M23%204l1%208%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #localShopDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20bag%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%209V7a6%206%200%200%201%2012%200v2M7%209h18l2%2019H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%209v4M22%209v4%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m16%2016%204%204-4%204-4-4Z%22%20fill%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #dialogueDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20chat%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%205h22v17H14l-7%206v-6H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2011h12M10%2016h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m23%2020%204%204%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #arcadeDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20arcade%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h16l2%2015%203%204v7H3v-7l3-4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%207h12v9H10Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M9%2022v4M7%2024h4M20%2023h.1M24%2025h.1%22%20stroke%3D%22%23edc87b%22%20stroke-width%3D%222.7%22%2F%3E%3Cpath%20d%3D%22M13%2011h6%22%20stroke%3D%22%2333314d%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #stableDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20stable%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%208%203-6%202%208%206%206-4%204-6-3-3%205v6H6v-8l4-8%207-4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2012-4%201-3%207M18%2017l-5-1M7%2028h12%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22m20%2010%205-6-2%209%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Ccircle%20cx%3D%2221%22%20cy%3D%2214%22%20r%3D%221%22%20fill%3D%22%23f8f1df%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #settingsDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20settings%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m13%203%206%200%201%204%203%202%204-1%203%205-3%203v3l3%203-3%205-4-1-3%202-1%203h-6l-1-3-3-2-4%201-3-5%203-3v-3l-3-3%203-5%204%201%203-2Z%22%20transform%3D%22translate%280%20-1%29%20scale%281%20.94%29%22%20fill%3D%22%2333314d%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2215.5%22%20r%3D%225%22%20fill%3D%22%239ce2c9%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2215.5%22%20r%3D%221.5%22%20fill%3D%22%2333314d%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #adminDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20admin%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%203%2011%204v9c0%206-6%2011-11%2014C11%2027%205%2022%205%2016V7Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2013%203%203%207-7M11%2022h10%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%203v4%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #codexDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20codex%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%207C12%203%206%203%203%205v21c4-2%209-2%2013%201%204-3%209-3%2013-1V5c-3-2-9-2-13%202Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M16%207v20M7%2010h5M7%2015h5M20%2019h5%22%2F%3E%3Cpath%20d%3D%22m23%209%202%203-2%203-2-3Z%22%20fill%3D%22%239ce2c9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #supportDialog .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20support%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2018v-3a11%2011%200%200%201%2022%200v8c0%204-4%206-9%206%22%2F%3E%3Cpath%20d%3D%22M4%2014h5v10H4ZM23%2014h5v10h-5Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22M14%2027h5v3h-5Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body #worldMapOverlay .dialog-head strong { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20world%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2212%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M4%2016h24M16%204c-8%207-8%2017%200%2024%208-7%208-17%200-24Z%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M6%2010h20M6%2022h20%22%2F%3E%3Cpath%20d%3D%22m24%202%201.1%203.9L29%207l-3.9%201.1L24%2012l-1.1-3.9L19%207l3.9-1.1Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .game-shell .dialog-head strong::before {
  content: ""; display: inline-block; width: 28px; height: 28px;
  margin-right: 9px; vertical-align: -.35em;
  background: var(--prism-icon) center / contain no-repeat; pointer-events: none;
}
html body .game-shell :is(.icon-button, .sale-reminder-close) {
  font-size: 0 !important; line-height: 0 !important;
  color: transparent !important; -webkit-text-fill-color: transparent !important;
  text-indent: -10000px !important; white-space: nowrap !important;
  overflow: hidden !important; position: relative !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
}
/* Keep the reminder's dismiss control out of its three-column content grid. */
html body .game-shell .sale-reminder-close { position: absolute !important; }
html body .game-shell :is(.icon-button, .sale-reminder-close)::before {
  content: ""; width: 24px; height: 24px; display: block;
  position: absolute !important; left: 50% !important; top: 50% !important;
  right: auto !important; bottom: auto !important; transform: translate(-50%, -50%) !important;
  margin: 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20close%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%209%2014%2014M23%209%209%2023%22%2F%3E%3Cpath%20d%3D%22m8%208%202%202M22%2022l2%202%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") center / contain no-repeat;
  pointer-events: none;
}
html body .game-shell :is(.icon-button, .sale-reminder-close, #atlasZoomIn, #atlasZoomOut)::after {
  content: none !important; display: none !important;
}
html body .hud .ability-button .ability-icon {
  width: 29px !important; height: 29px !important; flex: 0 0 29px;
  margin: 0 !important; padding: 0 !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
  transform: none !important; filter: none !important; opacity: 1 !important;
  background: var(--prism-icon) center / contain no-repeat !important;
}
html body .hud .ability-button .ability-icon::before,
html body .hud .ability-button .ability-icon::after { content: none !important; display: none !important; }
html body .hud .ability-icon--collect { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20collect%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%204%208%207-8%2013-8-13Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m8%2011%208%202%208-2M16%204v9l-4%205%22%2F%3E%3Cpath%20d%3D%22m4%2020%205%205h13l6-7M9%2025v3%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .is-dig-ready .ability-icon--collect { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%3E%0A%20%3Cdefs%3E%3ClinearGradient%20id%3D%22metal%22%20x1%3D%2220%22%20y1%3D%2231%22%20x2%3D%2243%22%20y2%3D%2257%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23e1fbff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235dacc9%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22wood%22%20x1%3D%2237%22%20y1%3D%228%22%20x2%3D%2226%22%20y2%3D%2243%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23ffe29a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23bb7a35%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%0A%20%3Cpath%20d%3D%22M39%208c8-4%2016%203%2011%2010l-6%208-12-8%207-10Z%22%20fill%3D%22url%28%23wood%29%22%20stroke%3D%22%23263746%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%3Cpath%20d%3D%22m40%2013%205%203-3%205-5-3%203-5Z%22%20fill%3D%22%23193d4c%22%2F%3E%0A%20%3Cpath%20d%3D%22m35%2022%207%205-15%2023-7-5%2015-23Z%22%20fill%3D%22url%28%23wood%29%22%20stroke%3D%22%23263746%22%20stroke-width%3D%223%22%2F%3E%0A%20%3Cpath%20d%3D%22m17%2036%2019%2013c-3%209-11%2011-23%208-5-11-3-18%204-21Z%22%20fill%3D%22url%28%23metal%29%22%20stroke%3D%22%23263746%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%3Cpath%20d%3D%22m19%2042%209%207-11%204%22%20stroke%3D%22%23f7ffff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%3Cpath%20d%3D%22m50%2037%201-4%201%204%204%201-4%201-1%204-1-4-4-1%204-1Z%22%20fill%3D%22%23ffe4a0%22%2F%3E%0A%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--attack { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20attack%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m22%204%206%200v6L15%2023l-6-6Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22m12%2020%2011-11M6%2017l9%209M10%2022l-6%206M3%2025l4%204%22%2F%3E%3Cpath%20d%3D%22m23%204%205%200v5%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--magic { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20magic%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2027%2014-14M5%2024l3%203M19%2011l2%202%22%2F%3E%3Cpath%20d%3D%22m23%203%201.6%205.4L30%2010l-5.4%201.6L23%2017l-1.6-5.4L16%2010l5.4-1.6Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M8%205v5M5.5%207.5h5M26%2023v4M24%2025h4%22%20stroke%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--super { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20super%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%203-9%2014h7l-1%2012%2011-17h-8Z%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M6%207%204%205M27%2024l2%202M4%2015H2M28%2016h2%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--solve { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20solve%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2017h5a3%203%200%201%200%200-6H6V6h7a3%203%200%201%201%206%200h7v8a3%203%200%201%200%200%206v6H6Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M6%2017v9h9%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m19%2021%202%202%205-6%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--menu { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20menu%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%204%205%205-5%205-5-5Zm18%200%205%205-5%205-5-5ZM7%2018l5%205-5%205-5-5Zm18%200%205%205-5%205-5-5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m7%204%205%205-5%205-5-5Z%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22m25%2018%205%205-5%205-5-5Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud #toolsToggleButton .ability-icon--menu {
  --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20menu%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%204%205%205-5%205-5-5Zm18%200%205%205-5%205-5-5ZM7%2018l5%205-5%205-5-5Zm18%200%205%205-5%205-5-5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m7%204%205%205-5%205-5-5Z%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22m25%2018%205%205-5%205-5-5Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") !important;
  position: relative !important;
}
html body .hud #toolsToggleButton .ability-icon--menu::after {
  content: "" !important; display: block !important;
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20menu%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%204%205%205-5%205-5-5Zm18%200%205%205-5%205-5-5ZM7%2018l5%205-5%205-5-5Zm18%200%205%205-5%205-5-5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m7%204%205%205-5%205-5-5Z%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22m25%2018%205%205-5%205-5-5Z%22%20fill%3D%22%239ce2c9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") center / contain no-repeat !important;
  border: 0 !important; box-shadow: none !important; pointer-events: none;
}
html body .hud .ability-icon--gear { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20gear%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2010V7c0-5%2012-5%2012%200v3M8%2010h16l2%2018H6Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2017h12v8H10Z%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22M8%2010h16M16%2014v6%22%2F%3E%3Cpath%20d%3D%22m14%2020%202%202%202-2%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--market { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20market%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2013v15h22V13M3%2012l4-8h18l4%208Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M3%2012v3a3.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200%203.25%203.25%200%200%200%206.5%200v-3%22%20fill%3D%22%23edc87b%22%2F%3E%3Cpath%20d%3D%22M13%2028V19h7v9M9%204l-1%208M16%204v8M23%204l1%208%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--world { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20world%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2212%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M4%2016h24M16%204c-8%207-8%2017%200%2024%208-7%208-17%200-24Z%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M6%2010h20M6%2022h20%22%2F%3E%3Cpath%20d%3D%22m24%202%201.1%203.9L29%207l-3.9%201.1L24%2012l-1.1-3.9L19%207l3.9-1.1Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--stable { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20stable%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%208%203-6%202%208%206%206-4%204-6-3-3%205v6H6v-8l4-8%207-4Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22m11%2012-4%201-3%207M18%2017l-5-1M7%2028h12%22%20stroke%3D%22%23c7b7ec%22%2F%3E%3Cpath%20d%3D%22m20%2010%205-6-2%209%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3Ccircle%20cx%3D%2221%22%20cy%3D%2214%22%20r%3D%221%22%20fill%3D%22%23f8f1df%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--maps { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20maps%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%209-3%209%203%208-3v21l-8%203-9-3-9%203Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M12%204v21M21%207v21%22%2F%3E%3Cpath%20d%3D%22m6%2020%204-5%205%203%206-6%205%201%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m24%2010%204%203-4%203%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--chat { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20chat%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%205h22v17H14l-7%206v-6H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M10%2011h12M10%2016h8%22%20stroke%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22m23%2020%204%204%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--settings { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20settings%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m13%203%206%200%201%204%203%202%204-1%203%205-3%203v3l3%203-3%205-4-1-3%202-1%203h-6l-1-3-3-2-4%201-3-5%203-3v-3l-3-3%203-5%204%201%203-2Z%22%20transform%3D%22translate%280%20-1%29%20scale%281%20.94%29%22%20fill%3D%22%2333314d%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2215.5%22%20r%3D%225%22%20fill%3D%22%239ce2c9%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2215.5%22%20r%3D%221.5%22%20fill%3D%22%2333314d%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .ability-icon--shop { --prism-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20shop%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2010h16l3%2018H5Z%22%20fill%3D%22%2333314d%22%2F%3E%3Cpath%20d%3D%22M11%2011V8a5%205%200%200%201%2010%200v3%22%2F%3E%3Cpath%20d%3D%22m16%2015%201.8%203.6%204%20.6-2.9%202.8.7%204-3.6-1.9-3.6%201.9.7-4-2.9-2.8%204-.6Z%22%20fill%3D%22%23edc87b%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body .hud .hud-tools .ability-button .ability-icon {
  width: 25px !important; height: 25px !important; flex-basis: 25px;
}
html body .game-shell #worldMapOverlay .atlas-toolbar > :is(#atlasZoomIn, #atlasZoomOut) {
  font-size: 0 !important; line-height: 0 !important;
  color: transparent !important; -webkit-text-fill-color: transparent !important;
  text-indent: -10000px !important; white-space: nowrap !important;
  overflow: hidden !important; position: relative !important;
  background: #303449 var(--prism-icon) center / 23px 23px no-repeat !important;
}
html body .game-shell :is(#atlasZoomIn, #atlasZoomOut)::before {
  content: none !important; display: none !important;
  margin: 0; width: 23px; height: 23px;
  position: absolute !important; left: 50% !important; top: 50% !important;
  right: auto !important; bottom: auto !important; transform: translate(-50%, -50%) !important;
}
@media (max-width: 600px) {
  html body .hud .ability-button .ability-icon {
    width: 26px !important; height: 26px !important; flex-basis: 26px;
  }
  html body .game-shell .dialog-head strong::before { width: 24px; height: 24px; margin-right: 7px; }
}
@media (forced-colors: active) {
  html body .hud .ability-button .ability-icon { forced-color-adjust: none; }
  html body .game-shell :is(.icon-button, .sale-reminder-close)::before {
    forced-color-adjust: none; background: ButtonText !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20close%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%209%2014%2014M23%209%209%2023%22%2F%3E%3Cpath%20d%3D%22m8%208%202%202M22%2022l2%202%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20close%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%209%2014%2014M23%209%209%2023%22%2F%3E%3Cpath%20d%3D%22m8%208%202%202M22%2022l2%202%22%20stroke%3D%22%23edc87b%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A") center / contain no-repeat;
  }
}

/* Match the existing important UI layer so its button shorthand cannot clear these icons. */
@layer prism-ui {
  html body .game-shell #worldMapOverlay .atlas-toolbar > :is(#atlasZoomIn, #atlasZoomOut) {
    background: #303449 var(--prism-icon) center / 23px 23px no-repeat !important;
  }
}


/* Original source: shop-atlas.css; SHA256 758d4780556604db27018faf7b6ddeb591d2dd7dd3172b2767f85116101e1e86 */
@layer prism-ui {
/* Earned gear, a readable collection, and the illustrated campaign atlas. */
html body .game-shell #shopDialog.shop-v151 {
  width: min(1160px, calc(100vw - 36px)) !important;
  max-height: calc(100dvh - 36px) !important;
  box-sizing: border-box !important;
  padding: 22px !important;
  overflow: auto !important;
}
html body .game-shell #shopDialog.shop-v151 > form { display: block !important; min-width: 0 !important; }
html body .game-shell #shopDialog.shop-v151 .dialog-head { position: sticky !important; top: -22px !important; z-index: 4 !important; padding: 12px 0 !important; background: #182032 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-note { color: #c8c4d0 !important; font-size: 13px !important; line-height: 1.5 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-bar { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 12px !important; margin: 16px 0 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-card { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; gap: 6px !important; padding: 16px !important; min-width: 0 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-card > span { font-size: 11px !important; color: #bdc6d7 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-card > strong { font-size: 23px !important; color: #f7ead5 !important; line-height: 1.25 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-card--earned { border-color: #79ad99 !important; background: #203a37 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-card--earned > strong { color: #c9ecd7 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-card > em { display: block !important; color: #c5c5d0 !important; font-size: 11px !important; font-style: normal !important; line-height: 1.45 !important; }
html body .game-shell #shopDialog.shop-v151 #shopPreviewStrip[hidden] { display: none !important; }
html body .game-shell #shopDialog.shop-v151 .shop-browser { display: block !important; min-width: 0 !important; }
html body .game-shell #shopDialog.shop-v151 .prism-shop-tabs { display: flex !important; overflow-x: auto !important; gap: 6px !important; padding: 6px 0 10px !important; margin: 10px 0 !important; }
html body .game-shell #shopDialog.shop-v151 .prism-shop-tabs > button { flex: 0 0 auto !important; min-height: 42px !important; padding: 9px 13px !important; font-size: 12px !important; border-radius: 9px !important; }
html body .game-shell #shopDialog.shop-v151 .prism-shop-tabs > button.is-active { background: #aacebd !important; color: #172b28 !important; border-color: #d1e9d8 !important; }
html body .game-shell #shopDialog.shop-v151 .prism-shop-tabs b { margin-left: 7px !important; opacity: .75 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-browse-tools { display: grid !important; grid-template-columns: minmax(0,1fr) 180px auto !important; align-items: end !important; gap: 12px !important; margin: 12px 0 18px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-browse-tools label { display: grid !important; gap: 6px !important; color: #c9c6d4 !important; font-size: 11px !important; min-width: 0 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-browse-tools :is(input,select) { width: 100% !important; height: 42px !important; padding: 8px 12px !important; box-sizing: border-box !important; border: 1px solid #596070 !important; border-radius: 8px !important; background: #151f30 !important; color: #f3eada !important; font: 14px system-ui !important; }
html body .game-shell #shopDialog.shop-v151 .shop-browse-tools output { padding: 11px 0 !important; font: 11px system-ui !important; color: #b6bfcd !important; white-space: nowrap !important; }
html body .game-shell #shopDialog.shop-v151 .shop-product-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 14px !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-card { display: grid !important; grid-template-columns: 88px minmax(0,1fr) !important; grid-template-rows: minmax(120px,auto) auto !important; gap: 12px !important; padding: 14px !important; min-width: 0 !important; overflow: hidden !important; align-items: start !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-art { position: relative !important; grid-column: 1 !important; grid-row: 1 !important; width: 88px !important; min-height: 104px !important; height: 104px !important; border-radius: 9px !important; background-color: #151d2e !important; background-size: contain !important; background-position: center 6px !important; background-repeat: no-repeat !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-art > span { position: absolute !important; left: 4px !important; right: 4px !important; bottom: 4px !important; top: auto !important; padding: 4px !important; border-radius: 4px !important; background: #111b2de8 !important; color: #ead9b4 !important; font: 9px system-ui !important; text-align: center !important; text-transform: capitalize !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-copy { grid-column: 2 !important; grid-row: 1 !important; padding: 0 !important; min-width: 0 !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-copy > strong { display: block !important; color: #f4e9d6 !important; font: 600 16px/1.25 Georgia,serif !important; overflow-wrap: anywhere !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-copy > p { color: #c4c4d0 !important; font-size: 11px !important; line-height: 1.5 !important; margin: 8px 0 !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-chips { display: flex !important; flex-wrap: wrap !important; gap: 4px !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-chips > span { padding: 4px 6px !important; border: 1px solid #53536a !important; border-radius: 5px !important; color: #d6d5df !important; font-size: 9px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-comparison { display: block !important; color: #a8d5c3 !important; margin-top: 8px !important; font: 10px/1.5 system-ui !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-purchase { grid-column: 1 / -1 !important; grid-row: 2 !important; display: grid !important; gap: 7px !important; align-self: end !important; min-width: 0 !important; padding: 12px 0 0 !important; border-top: 1px solid #48475b !important; }
html body .game-shell #shopDialog.shop-v151 .shop-price { color: #f0dfb7 !important; font: 600 16px/1.3 system-ui !important; overflow-wrap: anywhere !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-purchase > small { color: #c1c0cd !important; font-size: 10px !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-actions { display: flex !important; flex-direction: column !important; gap: 7px !important; width: 100% !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-actions :is(.shop-earned-buy,.shop-manage-button) { display: block !important; width: 100% !important; min-height: 44px !important; border: 1px solid #cae9d5 !important; border-radius: 8px !important; background: #acd6c1 !important; color: #142c27 !important; font: 700 13px system-ui !important; padding: 10px !important; box-shadow: none !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-actions button:disabled { opacity: .68 !important; cursor: default !important; }
html body .game-shell #shopDialog.shop-v151 .is-equipped { border-color: #a3c3a5 !important; background: #233933 !important; }
html body .game-shell #shopDialog.shop-v151 .is-equipped .shop-manage-button { opacity: 1 !important; background: #2e4e43 !important; color: #c9e4c9 !important; border-color: #628c72 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-buy-only { width: 100% !important; min-height: 32px !important; border: 0 !important; background: transparent !important; color: #d1c9b9 !important; font: 11px system-ui !important; box-shadow: none !important; }
html body .game-shell #shopDialog.shop-v151 .shop-other-payment { width: 100% !important; font: 10px/1.5 system-ui !important; color: #beb7c8 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-other-payment > summary { padding: 8px 0 !important; cursor: pointer !important; }
html body .game-shell #shopDialog.shop-v151 .shop-provider-strip { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 5px !important; margin-top: 6px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-provider-strip button { min-width: 0 !important; min-height: 36px !important; font: 11px system-ui !important; padding: 6px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-provider-strip > small { grid-column: 1/-1 !important; color: #beb9cb !important; font: 10px/1.5 system-ui !important; }
html body .game-shell #shopDialog.shop-v151 .shop-payment-options { display: grid !important; gap: 6px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-credit-button { min-height: 40px !important; width: 100% !important; font: 11px system-ui !important; }
html body .game-shell .regional-field-journal { grid-column: 1 / -1 !important; display: grid !important; grid-template-columns: minmax(0,1fr) auto !important; align-items: center !important; gap: 16px !important; padding: 14px 16px !important; margin: 12px 0 !important; border: 1px solid #6c6a65 !important; border-radius: 12px !important; background: #26343b !important; color: #e6ddc9 !important; min-width: 0 !important; }
html body .game-shell .regional-journal-copy { min-width: 0 !important; }
html body .game-shell .regional-journal-copy > span { display: block !important; color: #b9d3c5 !important; font: 10px system-ui !important; letter-spacing: .04em !important; margin-bottom: 5px !important; }
html body .game-shell .regional-journal-copy > strong { display: block !important; font: 600 17px Georgia,serif !important; }
html body .game-shell .regional-journal-copy > p { font: 12px/1.5 system-ui !important; color: #c9c9ce !important; margin: 7px 0 !important; }
html body .game-shell .regional-journal-copy > small { display: block !important; margin-top: 8px !important; color: #e1cb9e !important; font: 11px/1.5 system-ui !important; }
html body .game-shell .regional-journal-progress { display: flex !important; gap: 6px 12px !important; flex-wrap: wrap !important; color: #bed6ce !important; font: 11px/1.5 system-ui !important; }
html body .game-shell .regional-field-journal > button { min-height: 44px !important; min-width: 130px !important; padding: 10px 14px !important; background: #d7c697 !important; color: #263131 !important; border: 1px solid #eadbb5 !important; border-radius: 8px !important; font: 700 12px system-ui !important; }
html body .game-shell .regional-field-journal > button:disabled { background: #39474d !important; color: #b9c1c3 !important; border-color: #5c696b !important; }
html body .atlas-toolbar { flex-wrap: wrap !important; }
html body .atlas-toolbar .atlas-world-picker { display: flex !important; align-items: center !important; gap: 8px !important; color: #cfc6b7 !important; font: 11px system-ui !important; margin-right: auto !important; min-width: 0 !important; }
html body .atlas-world-picker select { max-width: min(290px,65vw) !important; height: 36px !important; padding: 6px 10px !important; border: 1px solid #777082 !important; border-radius: 7px !important; background: #222b3e !important; color: #f0e1c7 !important; font: 13px system-ui !important; }
html body .world-map-details > .regional-field-journal { margin: 8px 0 0 !important; }
@media (max-width: 1050px) {
  html body .game-shell #shopDialog.shop-v151 .shop-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
  html body .game-shell #shopDialog.shop-v151 { width: calc(100vw - 18px) !important; max-height: calc(100dvh - 18px) !important; padding: 12px !important; }
  html body .game-shell #shopDialog.shop-v151 .dialog-head { top: -12px !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-wallet-bar { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 7px !important; margin: 10px 0 !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-wallet-card { padding: 11px !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-wallet-card > strong { font-size: 18px !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-wallet-card > em { font-size: 10px !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-wallet-card:nth-child(3) { display: none !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-product-grid { grid-template-columns: minmax(0,1fr) !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-browse-tools { grid-template-columns: minmax(0,1fr) 130px !important; gap: 8px !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-browse-tools output { grid-column: 1 / -1 !important; padding: 0 !important; }
  html body .game-shell #shopDialog.shop-v151 .shop-browse-tools :is(input,select) { font-size: 16px !important; }
  html body .game-shell #shopDialog.shop-v151 .prism-product-card { grid-template-columns: 92px minmax(0,1fr) !important; }
  html body .game-shell .regional-field-journal { grid-template-columns: minmax(0,1fr) !important; gap: 10px !important; padding: 12px !important; }
  html body .game-shell .regional-field-journal > button { width: 100% !important; }
  html body .atlas-toolbar .atlas-world-picker { width: 100% !important; justify-content: space-between !important; }
  html body .atlas-world-picker select { flex: 1 !important; max-width: calc(100% - 55px) !important; font-size: 16px !important; }
}

/* Keep useful gear visible before optional journal details. */
html body .game-shell #shopDialog.shop-v151 { max-width: 1160px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-note { margin: 8px 0 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-bar { margin: 10px 0 !important; gap: 8px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-card { padding: 10px 12px !important; gap: 4px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-wallet-card > em { display: none !important; }
html body .game-shell #shopDialog.shop-v151 .shop-browser { display: flex !important; flex-direction: column !important; }
html body .game-shell #shopDialog.shop-v151 .prism-shop-tabs { order: 1 !important; flex-wrap: nowrap !important; margin: 5px 0 !important; }
html body .game-shell #shopDialog.shop-v151 .shop-browse-tools { order: 2 !important; margin: 4px 0 12px !important; }
html body .game-shell #shopDialog.shop-v151 .shop-product-grid { order: 3 !important; }
html body .game-shell #shopDialog.shop-v151 .credit-pack-hero { order: 3 !important; }
html body .game-shell #shopDialog.shop-v151 .regional-field-journal { order: 4 !important; }

html body .game-shell #shopDialog.shop-v151 .prism-product-purchase { grid-template-columns: minmax(0,1fr) !important; }
html body .game-shell #shopDialog.shop-v151 .prism-product-actions { min-width: 0 !important; }
html body .game-shell #shopDialog.shop-v151 .prism-shop-tabs > button.is-active :is(span,b) { color: #172b28 !important; }
html body .game-shell #worldMapDetails { gap: 12px !important; }
html body .game-shell #worldMapDetails > .regional-field-journal { grid-template-columns: minmax(0,1fr) !important; gap: 10px !important; padding: 12px !important; }
html body .game-shell #worldMapDetails .regional-field-journal > button { width: 100% !important; min-width: 0 !important; }
html body .game-shell #worldMapDetails .regional-journal-copy > strong { white-space: normal !important; overflow-wrap: anywhere !important; }
}


/* Original source: level-loading.css; SHA256 07cd7fb2d62075695411dbba196cccae539167ba57cd92bdb6bea97c60e10c07 */
.level-loading {
  position: fixed;
  inset: 0;
  z-index: 2147480000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 64px);
  overflow: auto;
  color: #faf2de;
  background: linear-gradient(110deg, rgba(9, 18, 31, .94), rgba(21, 31, 47, .85)),
    var(--level-art, url("assets/png/maps/sunny_lobby.png")) center / cover, #111e30;
  isolation: isolate;
}
.level-loading[hidden] { display: none !important; }
.level-loading__card {
  width: min(100%, 600px);
  box-sizing: border-box;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid #b8a77b;
  border-radius: 24px;
  background: #18283a;
  box-shadow: 0 24px 90px #0009, inset 0 1px #fbe8ae22;
}
.level-loading__eyebrow { margin: 0 0 16px; color: #b9dccf; font: 700 11px/1.5 system-ui; letter-spacing: .13em; text-transform: uppercase; }
.level-loading h1 { margin: 0 0 18px; color: #fff2ce; font: 600 clamp(25px, 5vw, 38px)/1.15 Georgia, serif; overflow-wrap: anywhere; }
.level-loading p { line-height: 1.55; }
.level-loading [data-level-status] { min-height: 3.1em; color: #edf4ef; }
.level-loading progress { display: block; width: 100%; height: 12px; border: 0; border-radius: 20px; background: #0b1828; accent-color: #9dd2bc; }
.level-loading progress::-webkit-progress-bar { border-radius: 20px; background: #0b1828; }
.level-loading progress::-webkit-progress-value { border-radius: 20px; background: linear-gradient(90deg, #69b3ac, #e9d393); }
.level-loading__note { margin: 18px 0 0; color: #bcc9cb; font-size: 13px; }
.level-loading__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.level-loading__actions button { min-height: 46px; padding: 11px 18px; border: 1px solid #c8b67d; border-radius: 11px; background: #ead59f; color: #152337; font: 700 14px/1.35 system-ui; cursor: pointer; }
.level-loading__actions [data-level-back] { background: #253c4d; color: #f4eddc; }
.level-loading__actions button:focus-visible { outline: 3px solid #baf9ee; outline-offset: 4px; }
.level-loading__actions button[hidden] { display: none !important; }
body.is-level-loading #game, body.is-level-loading #gpuGame { visibility: hidden; }
@media (max-width: 480px) {
  .level-loading__actions { flex-direction: column; }
  .level-loading__actions button { width: 100%; }
}


/* Original source: i18n.css; SHA256 4d7084e520c5e5a6950c4ab4a483f0227712294db761f21cc46d8e57fc9cb67a */
/* Language controls and room for translated copy. System fonts cover CJK scripts. */
.gl-language {display:inline-flex;align-items:center;gap:7px;max-width:260px;min-height:40px;padding:3px 9px;border:1px solid #9bbac08a;border-radius:12px;background:#182238ed;color:#f4fbff;font:600 13px/1.3 system-ui,"Segoe UI",sans-serif;letter-spacing:0;box-sizing:border-box}
.gl-language select {appearance:auto;display:block;min-width:0;max-width:140px;width:124px;min-height:34px;margin:0;padding:2px 4px;background:transparent;color:inherit;border:0;border-radius:5px;font:inherit;cursor:pointer}
.gl-language select option {color:#f4fbff;background:#182238;font:500 15px system-ui,sans-serif}
.gl-language-mark {font-size:12px;white-space:nowrap;color:#b6f5e6}
.gl-language-label {font-size:12px;white-space:nowrap}
.gl-language--compact .gl-language-label {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gl-language:focus-within {outline:2px solid #a6f8db;outline-offset:3px}
.gl-language[aria-busy="true"] {border-color:#a6f8db}
.gl-language-notice:empty {display:none}
.gl-language-notice:not(:empty) {position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:2147483000;width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;padding:12px 17px;border:1px solid #c6b475;border-radius:12px;background:#17243af5;color:#fff;font:500 14px/1.45 system-ui,sans-serif;box-shadow:0 5px 24px #0006}
html:not([lang="en"]) :is(button,input,select,textarea) {font-family:inherit;letter-spacing:0}
html:is([lang="zh-CN"],[lang="ja"],[lang="ko"]) body {font-family:system-ui,"Segoe UI","Microsoft YaHei","Yu Gothic UI","Malgun Gothic",sans-serif}
html[lang="ja"] body {font-family:system-ui,"Yu Gothic UI",Meiryo,sans-serif}
html[lang="ko"] body {font-family:system-ui,"Malgun Gothic",sans-serif}
html[lang="zh-CN"] body {font-family:system-ui,"Microsoft YaHei",sans-serif}
html:not([lang="en"]) :is(.shop-item-name,.shop-item-description,.regional-task-title,.regional-task-copy,.world-map-details h3,.quest-step-copy) {overflow-wrap:anywhere;white-space:normal;line-height:1.4}
@media(max-width:600px) {
  .gl-language {gap:5px;max-width:220px;min-height:42px;padding:3px 7px}
  .gl-language select {width:114px;min-height:36px;font-size:16px}
  .gl-language-label {font-size:12px}
}


/* Original source: daily-rewards.css; SHA256 4e91396c78f4833f3d9cef7278fd8b8cbeefb3124f56e467d3ca2ffe080924bb */
/* Optional Daily Adventure journal. Server-owned rewards; no timed animation. */
html body #dailyRewardsButton { position: relative; }
html body #dailyRewardsButton .ability-icon--rewards {
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs%3E%3ClinearGradient id='a' x2='0' y2='1'%3E%3Cstop stop-color='%23fff3b2'/%3E%3Cstop offset='1' stop-color='%23e9b56d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='7' y='10' width='34' height='32' rx='7' fill='%2319233c' stroke='%2384cfbd' stroke-width='2.4'/%3E%3Cpath d='M7 20h34M16 6v9m16-9v9' fill='none' stroke='%2384cfbd' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='m24 23 2.4 5 5.6.8-4 4 .9 5.5-4.9-2.6-4.9 2.6.9-5.5-4-4 5.6-.8z' fill='url(%23a)'/%3E%3C/svg%3E") !important;
  border: 0 !important; box-shadow: none !important;
}
html body #dailyRewardsBadge {
  position: absolute; top: 0; right: 1px; min-width: 16px; height: 16px;
  padding: 0 3px; display: grid; place-items: center; border-radius: 20px;
  background: #f7d28b; color: #172a35; border: 1px solid #fff0c4;
  font: 800 10px/1 system-ui, sans-serif; box-shadow: 0 2px 5px #0005;
}
html body #dailyRewardsBadge[hidden] { display: none; }
html body dialog.daily-rewards-dialog {
  --daily-ink: #edf7f3; --daily-muted: #b9c9d0; --daily-mint: #a2e5cd;
  box-sizing: border-box; width: min(900px, calc(100vw - 32px)); max-width: 900px;
  max-height: min(900px, calc(100dvh - 32px)); padding: 0; overflow: auto;
  color: var(--daily-ink); background: radial-gradient(ellipse at 15% 0, #294254b3, transparent 60%), #111d2e;
  border: 1px solid #68838c; border-radius: 25px; box-shadow: 0 25px 100px #000a;
  font-family: inherit; scrollbar-color: #668786 #142133;
}
html body dialog.daily-rewards-dialog::backdrop { background: #07101edb; backdrop-filter: blur(8px); }
html body .daily-rewards-dialog * { box-sizing: border-box; }
html body .daily-rewards-dialog h2,
html body .daily-rewards-dialog h3,
html body .daily-rewards-dialog h4,
html body .daily-rewards-dialog p { margin: 0; overflow-wrap: anywhere; }
html body .daily-rewards-dialog h2 { font-size: clamp(25px, 4vw, 34px); line-height: 1.2; color: #fff5d8; letter-spacing: -.7px; }
html body .daily-rewards-dialog h3 { font-size: 18px; line-height: 1.4; }
html body .daily-rewards-dialog h4 { font-size: 16px; line-height: 1.35; }
html body .daily-rewards-dialog p { font-size: 13px; line-height: 1.6; color: var(--daily-muted); }
html body .daily-rewards-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 28px 20px; border-bottom: 1px solid #8fbcb32b; }
html body .daily-eyebrow { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: #b0e5d3; }
html body .daily-rewards-dialog button { font: inherit; cursor: pointer; min-height: 44px; border-radius: 12px; padding: 10px 17px; line-height: 1.3; overflow-wrap: anywhere; }
html body .daily-rewards-dialog button:focus-visible { outline: 3px solid #fff0aa; outline-offset: 3px; }
html body .daily-rewards-dialog button:disabled { cursor: default; opacity: .58; }
html body .daily-rewards-dialog .daily-close-button { min-width: 44px; width: 44px; flex: 0 0 44px; padding: 0; color: #d9efe8; background: #ffffff09; border: 1px solid #6e96985e; font-size: 29px; }
html body .daily-rewards-dialog .daily-close-button:hover { background: #ffffff18; }
html body .daily-rewards-body { display: grid; gap: 18px; padding: 22px 28px 25px; }
html body .daily-rewards-message { border: 1px solid #88b6a75c; background: #94d6be12; padding: 12px 15px; border-radius: 12px; }
html body .daily-rewards-message.is-error { border-color: #d8a39a; color: #ffe0d8; background: #a14d4020; }
html body .daily-welcome { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px; border: 1px solid #b6d69d61; border-radius: 18px; background: linear-gradient(110deg, #9adab624, #d1b6600a); }
html body .daily-welcome-emblem { display: grid; place-items: center; width: 58px; height: 64px; color: #ffe0a2; font-size: 45px; filter: drop-shadow(0 0 13px #f7d18d38); }
html body .daily-welcome h3 { font-size: 24px; color: #fff0bd; margin-bottom: 4px; }
html body .daily-rewards-dialog .daily-claim-button { background: #c5e7ce; border: 1px solid #ddf2df; color: #153329; font-weight: 800; box-shadow: 0 3px 0 #071b1e50; }
html body .daily-rewards-dialog .daily-claim-button:hover:enabled { background: #e2f5dc; }
html body .daily-rewards-dialog .daily-claim-button:disabled { color: #abc6bf; background: #263e45; border-color: #486269; box-shadow: none; opacity: 1; }
html body .daily-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; }
html body .daily-section-heading > span { color: var(--daily-muted); font-size: 11px; line-height: 1.5; }
html body .daily-missions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
html body .daily-mission { min-width: 0; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(160deg, #26374c, #19283b); border: 1px solid #5b748454; border-radius: 17px; padding: 17px; }
html body .daily-mission.is-ready { border-color: #a3d9b2a6; }
html body .daily-mission.is-claimed { border-color: #83b5a568; background: #182d35; }
html body .daily-mission-heading { display: flex; gap: 9px; align-items: baseline; }
html body .daily-mission-marker { color: #f5d7a2; font-size: 19px; }
html body .daily-mission .daily-mission-description { flex: 1; min-height: 42px; }
html body .daily-progress { appearance: none; width: 100%; height: 7px; background: #0d1728; border: 0; border-radius: 8px; overflow: hidden; }
html body .daily-progress::-webkit-progress-bar { background: #0d1728; border-radius: 8px; }
html body .daily-progress::-webkit-progress-value { background: linear-gradient(90deg, #71c9b5, #d7e6a2); border-radius: 8px; }
html body .daily-progress::-moz-progress-bar { background: #94d7bb; border-radius: 8px; }
html body .daily-progress-row { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; font-size: 11px; color: #b7cad1; line-height: 1.5; }
html body .daily-reward-value { color: #f5d7a2; font-size: 12px; line-height: 1.5; }
html body .daily-reward-status { color: #b7d6c8; font-size: 11px; }
html body .daily-mission .daily-claim-button { width: 100%; }
html body .daily-completion { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; border: 1px solid #b7a56444; border-radius: 16px; background: #d2ad6010; padding: 17px 19px; }
html body .daily-journal { border: 1px solid #82aba04d; border-radius: 18px; padding: 20px; background: radial-gradient(ellipse at 85% 0, #69958614, transparent 60%), #11242f; }
html body .daily-journal > p { margin-top: 6px; }
html body .daily-stamps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
html body .daily-stamp { display: grid; place-items: center; height: 55px; border: 1px dashed #7d989c7a; border-radius: 15px; color: #849da7; font-size: 18px; background: #0d1b29; }
html body .daily-stamp.is-filled { color: #ffdc9d; border: 1px solid #a6d9b580; background: linear-gradient(145deg, #3b6557, #1b3939); font-size: 27px; box-shadow: inset 0 0 16px #b6e4c40c; }
html body .daily-journal-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
html body .daily-rewards-footer { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 18px 28px 23px; background: #0a142259; border-top: 1px solid #8fbcb32b; }
html body .daily-rewards-footer > p { max-width: 390px; font-size: 12px; }
html body .daily-footer-actions { display: flex; flex-shrink: 0; gap: 8px; }
html body .daily-rewards-dialog .daily-refresh-button { background: transparent; border: 1px solid #628584; color: #c9ddd9; }
html body .daily-rewards-dialog .daily-shop-button { background: #f1d29c; color: #342a1c; border: 1px solid #ffe7bd; font-weight: 800; }
@media (max-width: 650px) {
  html body dialog.daily-rewards-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 19px; }
  html body .daily-rewards-header { padding: 20px 18px 17px; }
  html body .daily-rewards-body { padding: 17px; gap: 17px; }
  html body .daily-welcome { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 17px; }
  html body .daily-welcome-emblem { display: none; }
  html body .daily-welcome h3 { font-size: 20px; }
  html body .daily-welcome .daily-eyebrow { letter-spacing: .6px; }
  html body .daily-missions { grid-template-columns: 1fr; gap: 11px; }
  html body .daily-mission { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 15px; }
  html body .daily-mission-heading, html body .daily-mission-description, html body .daily-mission .daily-progress, html body .daily-mission .daily-progress-row { grid-column: 1 / -1; }
  html body .daily-mission .daily-mission-description { min-height: 0; }
  html body .daily-mission .daily-reward-status { align-self: center; }
  html body .daily-mission .daily-claim-button { min-width: 98px; }
  html body .daily-completion { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; gap: 12px; }
  html body .daily-completion > div { grid-column: 1 / -1; }
  html body .daily-journal { padding: 17px; }
  html body .daily-stamps { gap: 6px; margin: 17px 0; }
  html body .daily-stamp { height: 40px; font-size: 14px; border-radius: 10px; }
  html body .daily-stamp.is-filled { font-size: 22px; }
  html body .daily-rewards-footer { padding: 17px; flex-direction: column; align-items: stretch; gap: 14px; }
  html body .daily-footer-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html body .daily-rewards-dialog *, html body #dailyRewardsButton { animation: none !important; transition: none !important; }
}
/* The established UI's shared dialog shell uses important declarations inside
   prism-ui. Keep this one shell in that same layer so its edge-to-edge journal
   layout also wins on phones; the component's normal rules stay unlayered. */
@layer prism-ui {
  html body .game-shell #dailyRewardsDialog {
    width: min(900px, calc(100vw - 32px)) !important; max-width: 900px !important;
    max-height: min(900px, calc(100dvh - 32px)) !important; padding: 0 !important;
    background: radial-gradient(ellipse at 15% 0, #294254b3, transparent 60%), #111d2e !important;
    border: 1px solid #68838c !important; border-radius: 25px !important;
    box-shadow: 0 25px 100px #000a !important; color: #edf7f3 !important;
  }
  @media (max-width: 650px) {
    html body .game-shell #dailyRewardsDialog {
      width: calc(100vw - 20px) !important; max-width: calc(100vw - 20px) !important;
      max-height: calc(100dvh - 20px) !important; padding: 0 !important; border-radius: 19px !important;
    }
  }
}


/* Original source: mega-summons.css; SHA256 468e9f764a239d400a313594362ead5377900d3d12c9d39130011e9ab2459406 */
/* Mega Friends: compact battle charge and optional companion collection. */
@layer prism-ui {
  html body .game-shell .mega-dock { position:absolute;left:50%;bottom:111px;transform:translateX(-50%);display:flex;gap:5px;width:300px;max-width:calc(100vw - 20px);padding:5px;border:1px solid #887fb5;border-radius:14px;background:#131d32f5;color:#f3f5ff;pointer-events:auto;box-shadow:0 8px 24px #060d2060; }
  html body .game-shell .mega-dock[hidden],html body .game-shell .mega-caption[hidden],html body .game-shell #megaSkipButton[hidden] {display:none!important;}
  html body .game-shell #megaCastButton { position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 9px;flex:1;min-width:0;min-height:46px;margin:0;padding:6px 9px 10px;border:1px solid #67739a;border-radius:9px;background:#26344e;color:#f1efff;overflow:hidden;text-align:left;cursor:pointer; }
  html body .game-shell #megaCastButton:disabled {opacity:1;cursor:default;}
  html body .game-shell #megaCastButton.is-ready {background:#51416d;border-color:#f6d58e;box-shadow:inset 0 0 14px #bca0f526;cursor:pointer;}
  html body .game-shell #megaDockLabel {font-size:10px;letter-spacing:.14em;font-weight:800;color:#d7caff;}
  html body .game-shell #megaHotkey {font-size:10px;grid-column:2;grid-row:1;color:#dce7fa;text-align:right;}
  html body .game-shell #megaSelectedName {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.3;font-weight:650;}
  html body .game-shell #megaReadout {font-size:11px;line-height:1.3;font-variant-numeric:tabular-nums;color:#ffdf99;font-weight:800;}
  html body .game-shell #megaProgress {position:absolute;left:0;right:0;bottom:0;height:4px;background:#0b1425;}
  html body .game-shell #megaFill {display:block;height:100%;width:0;background:linear-gradient(90deg,#a3b8ff,#c6a4f4,#f6d58e);transition:width .22s ease;}
  html body .game-shell #megaFriendsButton {flex:0 0 64px;min-width:44px;min-height:46px;padding:4px;border:1px solid #67739a;border-radius:9px;background:#273550;color:#e9e5ff;font-size:11px!important;font-weight:700;line-height:1.3!important;overflow-wrap:anywhere;}
  html body .game-shell :is(#megaCastButton,#megaFriendsButton,#megaSkipButton,#megaDialog button):focus-visible {outline:3px solid #ffe2a5;outline-offset:2px;}
  html body .game-shell #megaDialog {width:min(950px,calc(100vw - 28px));max-width:950px;max-height:calc(100dvh - 32px);padding:22px;border:1px solid #8b8bb4;border-radius:22px;background:#111c30;color:#f2f4ff;overflow:auto;}
  html body .game-shell #megaDialog::backdrop {background:#080d1dcc;backdrop-filter:blur(5px);}
  html body .game-shell #megaDialog .mega-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:20px;}
  html body .game-shell #megaDialog h2 {margin:4px 0 8px;color:#f5e5b8;font-size:28px;line-height:1.15;}
  html body .game-shell #megaDialog .mega-eyebrow {margin:0;color:#c9b9ff;font-size:11px;letter-spacing:.14em;font-weight:800;text-transform:uppercase;}
  html body .game-shell #megaDialog p {color:#c6d5ea;font-size:13px;line-height:1.6;}
  html body .game-shell #megaDialogClose {min-width:48px;min-height:44px;padding:7px 12px;border:1px solid #8b8bb4;border-radius:9px;background:#26344e;color:#f3f5ff;}
  html body .game-shell .mega-friends-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;}
  html body .game-shell #megaDialog .mega-friend-card {display:flex;flex-direction:column;min-width:0;padding:14px;border:1px solid #566886;border-radius:16px;background:linear-gradient(155deg,#24334c,#18253d);}
  html body .game-shell #megaDialog .mega-friend-card.is-selected {border-color:#f2d28b;box-shadow:inset 0 0 0 1px #f2d28b50;}
  html body .game-shell #megaDialog .mega-friend-card.is-locked {border-style:dashed;}
  html body .game-shell .mega-friend-art {position:relative;display:grid;place-items:center;flex-shrink:0;height:146px;min-width:0;overflow:hidden;border-radius:11px;background:radial-gradient(ellipse at 50% 70%,#bba5ff2b,transparent 65%);}
  /* Keep intrinsic sprite dimensions out of the grid track so the full silhouette fits. */
  html body .game-shell .mega-friend-art img {position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;padding:6px;object-fit:contain;object-position:center;filter:drop-shadow(0 10px 10px #03091c44);}
  html body .game-shell .mega-friend-emblem {position:absolute;color:var(--mega-tint,#c9b9ff);font-family:Georgia,serif;font-weight:bold;font-size:76px;opacity:.18;}
  html body .game-shell #megaDialog .mega-friend-card h3 {margin:10px 0 5px;color:#f0efff;font-size:17px;line-height:1.25;overflow-wrap:anywhere;}
  html body .game-shell .mega-friend-attack {font-size:11px;color:var(--mega-tint,#d7caff);font-weight:750;}
  html body .game-shell #megaDialog .mega-friend-card p {flex:1;margin:9px 0;color:#c7d6eb;font-size:12px;}
  html body .game-shell .mega-friend-status {display:block;min-height:34px;font-size:11px;color:#d9c9ff;line-height:1.5;}
  html body .game-shell #megaDialog :is(.mega-friend-card p,.mega-friend-attack,.mega-friend-status,.mega-equip) {min-width:0;max-width:100%;overflow-wrap:anywhere;}
  html body .game-shell #megaDialog .mega-equip {display:block;min-width:0!important;width:100%;min-height:44px;padding:9px;border:1px solid #8798b8;border-radius:8px;background:#324560;color:#f4f6ff;font-size:13px!important;line-height:1.3!important;font-weight:700;white-space:normal;}
  html body .game-shell #megaDialog .mega-equip:disabled {opacity:1;color:#cad6e8;background:#24354e;border-color:#596e8c;}
  html body .game-shell .mega-caption {position:absolute;top:19%;left:50%;transform:translateX(-50%);display:grid;gap:4px;max-width:min(560px,calc(100vw - 24px));padding:9px 22px;border:1px solid #e5d4ad8c;border-radius:40px;background:#101b32ed;color:#fff4d8;text-align:center;pointer-events:none;z-index:12;box-shadow:0 9px 28px #0b0b2138;}
  html body .game-shell #megaCaptionName {font-size:clamp(16px,2vw,26px);font-weight:850;line-height:1.1;}
  html body .game-shell #megaCaptionAttack {font-size:11px;line-height:1.35;color:#d7e4ff;}
  html body .game-shell #megaSkipButton {position:absolute;right:18px;bottom:111px;min-width:44px;min-height:44px;max-width:150px;padding:9px 13px;border:1px solid #a8abc5;border-radius:10px;background:#13213bed;color:#f0f3ff;pointer-events:auto;font-size:12px!important;line-height:1.3!important;overflow-wrap:anywhere;z-index:14;}
  html body .game-shell .mega-announcement {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
  @media(max-width:900px){html body .game-shell .mega-dock{left:auto;right:10px;bottom:86px;transform:none;width:238px;}html body .game-shell #megaSkipButton{bottom:145px;right:10px;}}
  @media(max-width:600px){
    html body .game-shell .mega-dock{left:auto;right:8px;bottom:86px;transform:none;width:calc(100vw - 190px);min-width:122px;max-width:180px;gap:3px;padding:3px;border-radius:10px;}
    html body .game-shell #megaCastButton{gap:3px;min-height:46px;padding:5px 5px 9px;}html body .game-shell #megaFriendsButton{flex-basis:44px;font-size:9px!important;}
    html body .game-shell #megaDockLabel{font-size:9px;letter-spacing:.07em;}html body .game-shell #megaSelectedName{display:none;}html body .game-shell #megaReadout{grid-column:1 / -1;font-size:11px;}html body .game-shell #megaHotkey{display:none;}
    html body .game-shell #megaDialog{padding:16px;border-radius:16px;}html body .game-shell #megaDialog h2{font-size:23px;}
    html body .game-shell .mega-friends-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}html body .game-shell #megaDialog .mega-friend-card{padding:10px;}html body .game-shell .mega-friend-art{height:110px;}
    html body .game-shell #megaDialog .mega-friend-card h3{font-size:15px;}html body .game-shell .mega-caption{top:24%;padding:8px 16px;}html body .game-shell #megaSkipButton{bottom:147px;font-size:10px!important;min-height:44px;max-width:130px;}
  }
  @media(max-height:480px) and (min-width:601px){html body .game-shell .mega-dock{bottom:93px;width:205px;}html body .game-shell .mega-caption{top:17%;}html body .game-shell #megaSkipButton{bottom:96px;right:228px;}}
  @media(max-height:480px) and (min-width:901px){html body .game-shell #megaSkipButton{left:calc(50% + 116px);right:auto;}}
  @media(prefers-reduced-motion:reduce){html body .game-shell #megaFill{transition:none;}}
}


/* Original source: mystery-shop166.css; SHA256 7a91743aae2b3e4871b72ee12908ca6160caf28272d2eacbbe92d9a61b51b190 */
@layer prism-ui {
  html body .game-shell .mystery-item-art { position:relative;isolation:isolate;display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden;border-radius:12px;background:radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--mystery-tint,#b6a5ee) 24%,transparent),transparent 70%),#111b2e; }
  html body .game-shell .mystery-item-art > img { position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;box-sizing:border-box;padding:10px;object-fit:contain;object-position:center;filter:drop-shadow(0 8px 10px #0007); }
  html body .game-shell .mystery-item-art.is-mysterious > img { filter:brightness(0) drop-shadow(0 0 2px #c7c2efb3) drop-shadow(0 0 15px #c7c2ef44);opacity:.94; }
  html body .game-shell .mystery-question { position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;min-width:48px;min-height:58px;margin:0;padding:0 9px;border:1px solid #dcd5ffa6;border-radius:40%;background:#152139c9;color:#fff1cb;font:800 45px/1.1 Georgia,serif;text-shadow:0 3px 8px #000;box-shadow:0 0 24px #b6a5ee40;pointer-events:none; }
  html body .game-shell #shopDialog.shop-v151 .prism-product-card.is-legend { grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(150px,auto) auto!important;border-color:#857d9f!important;background:linear-gradient(155deg,#2b304c,#19273a)!important; }
  html body .game-shell #shopDialog.shop-v151 .is-legend > .mystery-item-art { grid-column:1!important;grid-row:1!important;width:100%!important;height:190px!important;min-height:190px!important; }
  html body .game-shell #shopDialog.shop-v151 .is-legend > .prism-product-copy { grid-column:1!important;grid-row:2!important; }
  html body .game-shell #shopDialog.shop-v151 .is-legend > .prism-product-purchase { grid-row:3!important; }
  html body .game-shell #shopDialog.shop-v151 .legend-card-label { display:block!important;margin:0 0 8px!important;color:#dac9ff!important;font:750 10px/1.4 system-ui!important;letter-spacing:.08em!important;text-transform:uppercase!important; }
  html body .game-shell #shopDialog.shop-v151 .legend-reveal-note { display:block!important;margin-top:9px!important;color:#c1cae1!important;font:11px/1.5 system-ui!important; }
  html body .game-shell #shopDialog.shop-v151 .legend-payment { padding:8px!important;border:1px solid #5e6281!important;border-radius:9px!important;background:#141f32!important; }
  html body .game-shell #shopDialog.shop-v151 .legend-payment > small { color:#d8d6e9!important;font:11px/1.5 system-ui!important; }
  html body .game-shell #shopDialog.shop-v151 .legend-payment > .shop-credit-button { margin-top:7px!important;min-height:44px!important;border-color:#a899c7!important;background:#3d3658!important;color:#f3edff!important; }
  html body .game-shell #shopDialog.shop-v151 .legend-shop-intro { order:2;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 14px;margin:0 0 12px;border:1px solid #756b94;border-radius:12px;background:#2a2944;color:#eee7ff; }
  html body .game-shell .legend-shop-intro p { margin:4px 0 0;color:#cbd2e8;font:12px/1.5 system-ui; }
  html body .game-shell .legend-shop-intro strong { color:#f6e3b5;font:650 17px/1.3 Georgia,serif; }
  html body .game-shell .gear-item .mystery-item-art { width:76px;height:86px;flex-shrink:0; }
  /* Reserve each preview's actual width instead of the legacy 38px icon slot. */
  html body .game-shell #gearDialog .gear-item { grid-template-columns:max-content minmax(0,1fr) auto!important; }
  html body .game-shell #gearDialog .gear-item > button { min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important; }
  html body .game-shell #gearDialog .gear-item > :nth-child(2) :is(strong,span) { overflow-wrap:anywhere!important; }
  html body .game-shell .gear-item .mystery-question { min-width:26px;min-height:34px;font-size:26px; }
  html body .game-shell #megaDialog .mega-friend-art.mystery-item-art { height:146px; }
  html body .game-shell #megaDialog .mega-friend-card.is-shop-only { border-color:#8d7ba7;background:linear-gradient(155deg,#2e304d,#1b2940); }
  html body .game-shell #megaDialog .mega-friend-card.is-shop-only .mega-friend-status { color:#f2d69a; }
  html body .game-shell .spellbook-help { grid-column:1/-1;padding:13px 15px;border:1px solid #6b7498;border-radius:10px;background:#23314a;color:#d8e6f7;font:13px/1.5 system-ui; }
  html body .game-shell #shopDialog.shop-v151 .prism-shop-tabs > button { min-height:44px!important; }
  @media(max-width:600px) {
    html body .game-shell #gearDialog .gear-item { grid-template-columns:max-content minmax(0,1fr)!important;align-items:start!important; }
    html body .game-shell #gearDialog .gear-item > :first-child { grid-column:1!important;grid-row:1 / 3!important; }
    html body .game-shell #gearDialog .gear-item > :nth-child(2) { grid-column:2!important;grid-row:1!important; }
    html body .game-shell #gearDialog .gear-item > button { grid-column:2!important;grid-row:2!important;justify-self:start!important;min-height:44px!important; }
    html body .game-shell #shopDialog.shop-v151 .is-legend > .mystery-item-art { height:185px!important;min-height:185px!important; }
    html body .game-shell #shopDialog.shop-v151 .is-legend { grid-template-rows:auto auto auto!important; }
    html body .game-shell #megaDialog .mega-friend-art.mystery-item-art { height:110px; }
    html body .game-shell .legend-shop-intro { flex-direction:column;align-items:flex-start; }
  }
}


/* Original source: party-interface173.css; SHA256 9e566376639041aafc31972922a2813522d78e288680b0bdc7977971424b786a */
/* Original party interface, matching the Prism enamel menu family. */
#partyButton { --prism-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Ctitle%3EPrism%20pals%3C%2Ftitle%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f8f1df%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2027v-3c0-5%209-7%2012-3%203-4%2012-2%2012%203v3%22%20fill%3D%22%2333314d%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2211%22%20r%3D%225%22%20fill%3D%22%23c7b7ec%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2213%22%20r%3D%224%22%20fill%3D%22%239ce2c9%22%2F%3E%3Cpath%20d%3D%22M16%2022v6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); }
html body.is-coop-party173 .hud .roster-panel { display:none!important; }
body.is-level-loading .party-dock173 { display:none!important; }
.party-dialog173 { width:min(760px,calc(100vw - 24px)); max-height:90svh; overflow:auto; box-sizing:border-box; padding:24px; color:#f3f4ff; background:linear-gradient(145deg,#202740,#111a30); border:1px solid #a2b1df80; border-radius:24px; box-shadow:0 24px 90px #030615b8; font:500 15px/1.5 system-ui,sans-serif; }
.party-dialog173::backdrop { background:#050b1cb8; backdrop-filter:blur(4px); }
.party-dialog173 [hidden],.party-dock173[hidden] { display:none!important; }
.p173-head,.p173-title,.p173-actions,.p173-invite,.p173-create { display:flex; align-items:center; gap:16px; }
.p173-head,.p173-create { justify-content:space-between; }
.p173-title img { width:52px; height:52px; }
.p173-title small { font-size:10px; letter-spacing:.18em; color:#b8c3e9; }
.party-dialog173 h2 { margin:0; font-size:27px; line-height:1.25; color:#fff6d6; }
.party-dialog173 h3 { margin:0 0 4px; font-size:18px; color:#e5eaff; }
.party-dialog173 p { margin:10px 0 18px; color:#c7d5ed; }
.party-dialog173 section { margin-top:22px; padding:18px; border:1px solid #899bc841; background:#0b132548; border-radius:18px; }
.party-dialog173 button { border:1px solid #91a3d165; color:#f4f5ff; background:#334564; border-radius:12px; padding:11px 16px; font:inherit; font-weight:700; cursor:pointer; min-height:44px; }
.party-dialog173 button:hover { background:#425b80; border-color:#b9cef6; }
.party-dialog173 button:focus-visible,.party-dialog173 input:focus-visible { outline:3px solid #8ff0d9; outline-offset:3px; }
.party-dialog173 button:disabled { opacity:.5; cursor:wait; }
.party-dialog173 .p173-primary { background:linear-gradient(125deg,#627d90,#466785); border-color:#b1dfed; color:#fffbdc; }
.party-dialog173 .p173-leave { margin-left:auto; background:#54394d; }
.party-dialog173 form { display:flex; align-items:end; gap:12px; margin:16px 0 0; }
.party-dialog173 label { display:flex; flex:1; flex-direction:column; gap:6px; font-size:13px; font-weight:700; color:#d4dff7; min-width:0; }
.party-dialog173 input { min-height:44px; width:100%; box-sizing:border-box; padding:10px 12px; border:1px solid #8c9cbf70; background:#080f22; color:#f8f9ff; border-radius:11px; font:inherit; }
.party-dialog173 .p173-code { text-transform:uppercase; letter-spacing:.12em; font-size:18px; }
.p173-create p { font-size:13px; margin:0; }
.p173-invite { padding:14px; background:linear-gradient(120deg,#35406399,#26575677); border:1px solid #b7d3cb55; border-radius:14px; flex-wrap:wrap; }
.p173-invite>div { flex:1; min-width:190px; display:flex; flex-direction:column; }
.p173-invite strong { font-size:28px; letter-spacing:.16em; color:#fff5bf; }
.p173-invite small { color:#d9e4f4; }
.p173-members { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:18px 0; }
.p173-member { display:flex; align-items:center; gap:11px; min-width:0; padding:12px; border:1px solid #9db3d750; border-radius:14px; background:#253351aa; }
.p173-member.is-offline { opacity:.6; }
.p173-portrait { width:54px; height:62px; flex:none; display:grid; place-items:center; color:#f4d9a1; background:radial-gradient(ellipse,#9b74a952,transparent 70%); }
.p173-portrait img { width:100%; height:100%; object-fit:contain; }
.p173-member-info { min-width:0; flex:1; }
.p173-member-info>strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; color:#fff6db; }
.p173-member-info>small { color:#c1d0ea; font-size:10px; line-height:1.35; display:block; }
.p173-stat { height:5px; margin-top:5px; background:#071027; border-radius:5px; overflow:hidden; }
.p173-stat>i { display:block; height:100%; background:#86cca0; border-radius:inherit; transition:width .18s ease-out; }
.p173-mp>i { background:#7cafdc; }
.p173-member>button { padding:6px 9px; font-size:11px; }
.party-dialog173 .p173-follow-note { font-size:12px; }
.p173-actions { flex-wrap:wrap; }
.party-dialog173 .p173-message { min-height:23px; margin-bottom:0; color:#b9eed3; }
.party-dialog173 .p173-message.is-error { color:#ffd5be; }
.party-dock173 { position:absolute; z-index:35; top:148px; left:16px; width:210px; border-radius:14px; border:1px solid #91a7cf7a; background:#121c31dc; box-shadow:0 6px 18px #07101f33; padding:7px; box-sizing:border-box; pointer-events:none; font:500 11px/1.3 system-ui,sans-serif; color:#ecf4ff; }
.p173-dock-head { width:100%; border:0; border-radius:8px; padding:5px 8px; text-align:left; background:#34445a; color:#fff4c9; font:700 11px/1.3 system-ui,sans-serif; cursor:pointer; pointer-events:auto; }
.party-dock173 .p173-member { border:0; border-radius:0; background:transparent; padding:5px 2px; gap:6px; }
.party-dock173 .p173-portrait { width:29px; height:34px; }
.party-dock173 .p173-member-info>strong { font-size:10px; }
.party-dock173 .p173-member-info>small { font-size:8px; }
.party-dock173 .p173-stat { height:3px; margin-top:3px; }
@media(max-width:700px),(max-height:550px) {
 .party-dialog173 { padding:16px; border-radius:18px; }
 .party-dialog173 h2 { font-size:22px; }
 .p173-title img { width:40px; height:40px; }
 .party-dialog173 section { padding:12px; }
 .p173-members { grid-template-columns:1fr; gap:8px; }
 .party-dialog173 form { flex-wrap:wrap; }
 .party-dialog173 form>button { flex:1; }
 .party-dialog173 label { flex-basis:150px; }
 .p173-create { align-items:stretch; flex-direction:column; }
 .p173-actions>button { flex:1 1 130px; }
 .party-dock173 { top:105px; left:8px; width:166px; padding:5px; }
 .party-dock173 .p173-member { padding:3px 1px; }
 .party-dock173 .p173-portrait { width:23px; height:27px; }
}
@media(prefers-reduced-motion:reduce) { .p173-stat>i { transition:none; } }

.p173-challenge177{display:grid;gap:5px;margin:12px 0;padding:14px 16px;background:#1a2c3d;border:1px solid #688f9b;border-radius:16px;color:#f4f8ed}
.p173-challenge177 strong{font-size:15px;color:#bcecd8}.p173-challenge177 b{font-size:14px;font-weight:600}.p173-challenge177 p{margin:0;color:#e0e8ef;font-size:13px;line-height:1.5}.p173-challenge177[hidden]{display:none}

/* V178 bilateral trade review. Keep both sides readable on narrow screens. */
.p178-trade{margin:16px 0;background:#122b38!important;border:1px solid #75bfae!important;border-radius:16px;padding:16px!important;color:#f2f6ef}
.p178-trade h3{color:#d6f4d9;margin:0 0 8px}.p178-trade p{line-height:1.5}.p178-note{font-size:12px;color:#c3d6dc}.p178-status{display:block;padding:10px 12px;background:#294653;border-radius:10px;color:#fff1b1;font-size:14px}
.p178-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.p178-offer{background:#1c3345;border:1px solid #577b8b;border-radius:12px;padding:12px;min-width:0}.p178-offer h4{color:#ace6d5;margin:0 0 8px}.p178-offer ul{margin:0;padding-left:18px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.p178-empty{color:#bbc9d6}.p178-confirmed{display:block;color:#bcf2b2;font-size:12px;margin-top:8px}.p178-revision{font-size:12px;color:#cfdee4}
.p178-editor{margin:12px 0;background:#192e3c;border-radius:10px;padding:10px}.p178-editor summary{font-weight:700;cursor:pointer;min-height:32px}.party-dialog173 .p178-editor form{display:block;margin:10px 0 0}.p178-editor form>p{font-size:12px;color:#ccdae1}.p178-inventory{max-height:260px;overflow:auto;overscroll-behavior:contain;margin:10px 0}.party-dialog173 .p178-item{display:grid;grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:12px;border-bottom:1px solid #47606d;padding:7px 2px;font-size:13px;flex-basis:auto}.party-dialog173 .p178-item input{width:76px;min-height:44px;font-size:16px;padding:6px;color:#fff;background:#10232e;border:1px solid #7d9ca8}.p178-actions{display:flex;gap:10px;flex-wrap:wrap}.p178-actions button{flex:1 1 150px}.p178-unsaved{color:#ffe6a7!important}.p178-trade button{min-height:44px}.p178-trade [hidden]{display:none!important}.p173-member:has([data-p173-action="trade_start"]){flex-wrap:wrap}.p173-member [data-p173-action="trade_start"]{background:#2b554c;color:#e0f9d8;border-color:#7ea795}
@media(max-width:600px){.p178-trade{padding:12px!important}.p178-columns{gap:8px}.p178-offer{padding:9px}.p178-offer h4{font-size:13px}.p178-offer ul{font-size:12px;padding-left:14px}.p173-member [data-p173-action="trade_start"]{min-height:40px}.p173-dock-head{overflow-wrap:break-word}}


/* Original source: experience174.css; SHA256 29d43e64892b6ae0d662dea1b25ca1b5dfe47c109537b4fc6a56d1d5b03ac363 */
/* Scoped guide/menu polish; custom HUD coordinates remain untouched. */
@layer prism-ui {
  html body.experience174-ready .hud #saleReminder { display:none!important; }
  html body .game-shell #experienceDialog174 { box-sizing:border-box!important;width:min(850px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:24px!important;overflow:auto!important;overscroll-behavior:contain;color:#f4f3ed!important;background:#161e30!important;border:1px solid #61758b!important;border-radius:20px!important;box-shadow:0 24px 90px #030714a6!important;font:400 14px/1.55 Inter,system-ui,sans-serif!important;scrollbar-color:#7a9ca8 #182438; }
  html body #experienceDialog174::backdrop { background:#050b18a8;backdrop-filter:blur(4px); }
  html body #experienceDialog174 * { box-sizing:border-box;min-width:0; }
  html body #experienceDialog174 .e174-head { position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:12px;border-bottom:1px solid #3e5068;background:#161e30; }
  html body #experienceDialog174 .e174-eyebrow { color:#a1d9ce;font:700 10px/1.4 Inter,system-ui,sans-serif;letter-spacing:.15em; }
  html body #experienceDialog174 h2 { margin:4px 0 0!important;color:#fff7e9!important;font:750 clamp(22px,4vw,30px)/1.2 Inter,system-ui,sans-serif!important;overflow-wrap:anywhere; }
  html body #experienceDialog174 h3 { margin:0 0 8px!important;color:#e6d3a9!important;font:700 15px/1.4 Inter,system-ui,sans-serif!important; }
  html body #experienceDialog174 p { margin:0!important;color:#d5e0eb!important;font:400 13px/1.65 Inter,system-ui,sans-serif!important;overflow-wrap:anywhere; }
  html body #experienceDialog174 .e174-intro { margin:14px 0 20px!important;color:#b3c6d8!important; }
  html body #experienceDialog174 .e174-cards { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
  html body #experienceDialog174 .e174-card { padding:16px;border:1px solid #3d5269;border-radius:14px;background:#202c40; }
  html body #experienceDialog174 .e174-card:first-child { border-color:#578b89;background:#20363e; }
  html body #experienceDialog174 .e174-card .e174-counter-tip { margin-top:12px!important;padding:10px 12px;border-left:2px solid #c4b58a;border-radius:0 7px 7px 0;background:#2a3a42;color:#f3e6c9!important;font-size:12px!important; }
  html body #experienceDialog174 :is(.e174-bindings,.e174-graphics,.e174-trial) { margin-top:20px;padding:18px;border:1px solid #3d5269;border-radius:14px;background:#1c293c; }
  html body #experienceDialog174 :is(.e174-trial,.e174-graphics)[hidden] { display:none!important; }
  html body #experienceDialog174 button,html body #experienceDialog174 select { min-height:44px!important;max-width:100%;padding:10px 14px!important;border:1px solid #6f849b!important;border-radius:10px!important;box-shadow:none!important;transform:none!important;background:#304359!important;color:#f6f4eb!important;font:650 13px/1.35 Inter,system-ui,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere;cursor:pointer; }
  html body #experienceDialog174 button:hover { background:#3c536b!important;border-color:#b4dbd5!important; }
  html body #experienceDialog174 :is(button,select):focus-visible { outline:3px solid #f0d290!important;outline-offset:3px!important; }
  html body #experienceDialog174 .e174-close { flex:0 0 auto; }
  html body #experienceDialog174 .e174-links { display:flex;flex-wrap:wrap;gap:9px;margin:0 0 18px; }
  html body #experienceDialog174 .e174-links button:first-child { color:#152333!important;background:#addbd1!important;border-color:#c1e7df!important; }
  html body #experienceDialog174 .e174-keys { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0!important; }
  html body #experienceDialog174 .e174-keys>div { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:9px 10px;background:#142034;border-radius:9px; }
  html body #experienceDialog174 .e174-keys dt { color:#dce7ef;font-size:12px; }
  html body #experienceDialog174 .e174-keys dd { margin:0; }
  html body #experienceDialog174 kbd { display:inline-block;max-width:100%;padding:3px 6px;color:#fff1cc;background:#263c50;border:1px solid #73889a;border-radius:5px;font:700 12px/1.4 ui-monospace,monospace;overflow-wrap:anywhere; }
  html body #experienceDialog174 .e174-movement-keys { display:flex;flex-wrap:wrap;gap:7px 10px;margin-top:12px; }
  html body #experienceDialog174 .e174-movement-keys>span { display:flex;align-items:center;gap:4px;color:#d0e5e0;font-size:11px; }
  html body #experienceDialog174 .e174-quality-label { display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 7px;color:#dce7ef; }
  html body #experienceDialog174 .e174-quality-label select { min-width:150px; }
  html body #experienceDialog174 .e174-quality-help { color:#b5d9d2!important; }
  html body #experienceDialog174 .e174-trial { background:#202b3a; }
  html body #experienceDialog174 .e174-trial button { margin-top:12px; }
  html body .hud .experience-guide174 .e174-guide-icon { display:grid!important;place-items:center!important;color:#b5e6dc!important;background:transparent!important;border:1px solid #8ebbb8!important;border-radius:50%!important;font:800 16px/1 system-ui,sans-serif!important; }
  html body .hud .ability-button.is-queued { outline:2px solid #eacb8b!important;outline-offset:2px!important; }
  html body .hud #battleCounter174 { display:inline-flex!important;align-items:center;gap:5px;margin-top:7px!important;max-width:100%;padding:5px 8px!important;border:1px solid #8d9272;border-radius:7px;background:#323e39!important;color:#f6e5b8!important;font:750 11px/1.4 Inter,system-ui,sans-serif!important;white-space:normal;overflow-wrap:anywhere; }
  html body .hud #battleCounter174[hidden] { display:none!important; }
  html body .hud #attackButton.is-counter-ready { border-color:#b4e1ce!important;box-shadow:inset 0 0 0 1px #b4e1ce66!important; }
  html body .game-shell #gearDialog .e174-comparison { display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:8px;padding-top:8px;border-top:1px solid #506278;color:#e1e8ef;font:600 11px/1.45 Inter,system-ui,sans-serif; }
  html body .game-shell #gearDialog .e174-comparison small { flex-basis:100%;color:#b7c8da!important;font:500 10px/1.45 Inter,system-ui,sans-serif!important; }
  html body .game-shell #gearDialog .e174-comparison span { display:inline-block!important;max-width:100%;padding:3px 6px;border-radius:5px;font:700 11px/1.4 Inter,system-ui,sans-serif!important;overflow-wrap:anywhere!important; }
  html body .game-shell #gearDialog .e174-stat-up { color:#bcf0dc!important;background:#24443d!important; }
  html body .game-shell #gearDialog .e174-stat-down { color:#ffd4bd!important;background:#473932!important; }
  html body .game-shell #gearDialog .e174-stat-neutral { color:#d0dbe5!important;background:#2b3a4d!important; }
  @media(max-width:600px) {
    html body .game-shell #experienceDialog174 { width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:16px!important;border-radius:15px!important; }
    html body #experienceDialog174 .e174-cards { grid-template-columns:minmax(0,1fr);gap:9px; }
    html body #experienceDialog174 .e174-card { padding:14px; }
    html body #experienceDialog174 .e174-keys { grid-template-columns:repeat(2,minmax(0,1fr)); }
    html body #experienceDialog174 .e174-links { display:grid;grid-template-columns:repeat(2,minmax(0,1fr)); }
    html body #experienceDialog174 :is(.e174-bindings,.e174-graphics,.e174-trial) { padding:14px; }
    html body #experienceDialog174 .e174-head { gap:8px; }
    html body #experienceDialog174 .e174-close { max-width:38%; }
    html body #experienceDialog174 .e174-quality-label { align-items:stretch;flex-direction:column;gap:6px; }
  }
  @media(prefers-reduced-motion:reduce) { html body #experienceDialog174,html body #experienceDialog174 * { scroll-behavior:auto!important;animation:none!important;transition:none!important; } }
  @media(forced-colors:active) { html body #experienceDialog174,html body #experienceDialog174 :is(.e174-card,.e174-bindings,.e174-graphics,.e174-trial,button,select,kbd),html body #gearDialog .e174-comparison span { color:CanvasText!important;background:Canvas!important;border-color:ButtonText!important; } }
}


/* Original source: racing185.css; SHA256 1545622a3ffa5a849c2fb2954ba0ed9c54e8e822919c93c7fcb9876c44aff9ef */
/* Original PrismWorlds race broadcast. Scoped so the other arcade games keep
   their established layout, and all controls remain available by scrolling. */
@layer prism-ui {
  html body #stableDialog .stable-race185 { display: grid !important; gap: 10px !important; min-width: 0 !important; padding: 12px !important; border: 1px solid #7f9b7a !important; border-radius: 15px !important; background: linear-gradient(135deg,#244d47,#192f38) !important; }
  html body #stableDialog .stable-race-header185 { display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap !important; gap: 9px 14px !important; }
  html body #stableDialog .stable-race-header185 > :is(strong,span) { min-width: 0; color: #efd8a6 !important; font-size: 15px !important; overflow-wrap: anywhere; }
  html body #stableDialog .stable-race-header185 button { min-height: 44px !important; padding: 9px 14px !important; border: 1px solid #b6bc8a !important; border-radius: 9px !important; color: #e9e7c7 !important; background: #365a4c !important; }
  html body #stableDialog .stable-race-header185 button:focus-visible { outline: 3px solid #efd8a6 !important; outline-offset: 3px !important; }
  html body .game-shell #stableDialog .stable-race-canvas185 { display: block !important; width: 100% !important; height: clamp(340px,42vw,460px) !important; min-width: 0 !important; border: 1px solid #a8b98b6b !important; border-radius: 12px !important; background: #547d70 !important; }
  html body .game-shell #arcadeDialog.is-derby185 {
    width: min(1230px,calc(100vw - 32px)) !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 20px !important;
    background: linear-gradient(150deg,#193e3f,#152d36 68%,#1b303a) !important;
    border: 1px solid #93b7a16b !important;
    border-radius: 21px !important;
    box-shadow: 0 28px 100px #061c256b !important;
  }
  html body #arcadeDialog.is-derby185 .dialog-head { gap: 20px !important; min-height: 0 !important; height: auto !important; top: -20px !important; margin-bottom: 13px !important; padding: 5px 0 12px !important; border: 0 !important; background: #193e3f !important; box-shadow: none !important; }
  html body #arcadeDialog.is-derby185 .dialog-head > div { min-width: 0 !important; }
  html body #arcadeDialog.is-derby185 .dialog-head .icon-button { flex: 0 0 44px !important; width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; background: #1d4545 !important; border: 1px solid #91b19a !important; color: #e8dfb8 !important; }
  html body #arcadeDialog.is-derby185 #arcadeTitle { color: #f3dfb1 !important; font-size: clamp(20px,2.5vw,28px) !important; letter-spacing: -.04em; }
  html body #arcadeDialog.is-derby185 #arcadeSubtitle { color: #bfd2c8 !important; max-width: 760px; font-size: 12px !important; line-height: 1.5; margin: 5px 0 0; }
  html body #arcadeDialog.is-derby185 .arcade-cabinet-tabs { background: #153033 !important; border-color: #517870 !important; border-radius: 11px !important; margin-bottom: 14px !important; }
  html body #arcadeDialog.is-derby185 .arcade-cabinet-tabs > button { min-height: 40px !important; background: transparent !important; color: #c4d7cb !important; border-color: transparent !important; }
  html body #arcadeDialog.is-derby185 .arcade-cabinet-tabs > button.is-selected { background: #f1d69e !important; color: #233d3d !important; border-color: #f8e6bd !important; }
  html body #arcadeDialog.is-derby185 .arcade-shell { grid-template-columns: minmax(0,1fr) !important; grid-template-areas: 'board' 'marquee' 'controls' 'side' !important; gap: 12px !important; }
  html body #arcadeDialog.is-derby185 .arcade-board--unicorn_derby { padding: 0 !important; border: 1px solid #d5d8b365 !important; border-radius: 16px !important; overflow: hidden !important; background: #345a56 !important; min-height: 0 !important; height: auto !important; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-canvas { width: 100% !important; height: clamp(380px,44vw,510px) !important; min-height: 0 !important; border: 0 !important; border-radius: 0 !important; display: block !important; background: #749e8d !important; }
  html body #arcadeDialog.is-derby185 .arcade-marquee { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 3px !important; background: transparent !important; border: 0 !important; padding: 1px 3px !important; box-shadow: none !important; }
  html body #arcadeDialog.is-derby185 .arcade-marquee > span { display: none !important; }
  html body #arcadeDialog.is-derby185 #arcadeGoalText { color: #ecdfb9 !important; font-size: 13px !important; }
  html body #arcadeDialog.is-derby185 #arcadeRewardText { color: #afcabe !important; font-size: 11px !important; font-style: normal; line-height: 1.5; }
  html body #arcadeDialog.is-derby185 .arcade-controls { grid-template-columns: minmax(0,1fr) !important; min-width: 0 !important; width: 100% !important; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-card { display: grid !important; grid-template-columns: minmax(180px,1.3fr) minmax(110px,.65fr) minmax(150px,1fr) auto auto !important; align-items: end !important; width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; gap: 11px !important; padding: 14px !important; background: #173437 !important; border: 1px solid #54786f !important; border-radius: 13px !important; }
  html body #arcadeDialog.is-derby185 .unicorn-derby-card label { display: grid !important; gap: 6px !important; min-width: 0 !important; color: #d1dfcc !important; font-size: 11px !important; line-height: 1.3; }
  html body #arcadeDialog.is-derby185 .unicorn-derby-card :is(select,input) { width: 100% !important; min-width: 0 !important; height: 44px !important; box-sizing: border-box !important; color: #f1ebd2 !important; background: #102c31 !important; border: 1px solid #719083 !important; border-radius: 8px !important; font-size: 12px !important; padding: 9px 10px !important; }
  html body #arcadeDialog.is-derby185 .unicorn-derby-card :is(button,select,input):focus-visible { outline: 3px solid #f1d79f !important; outline-offset: 3px !important; }
  html body #arcadeDialog.is-derby185 :is(.unicorn-derby-go,.unicorn-derby-cheer) { min-height: 44px !important; height: auto !important; border-radius: 8px !important; font-size: 12px !important; padding: 10px 14px !important; background: #efd299 !important; color: #1f3939 !important; border: 1px solid #ffebc1 !important; }
  html body #arcadeDialog.is-derby185 .unicorn-derby-cheer { background: #365d58 !important; border-color: #89ab97 !important; color: #e5ead1 !important; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-boosts { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 8px !important; grid-column: 1 / -1 !important; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-boosts > button { min-height: 59px !important; display: grid !important; gap: 4px !important; align-content: center !important; text-align: left !important; padding: 10px 12px !important; border-radius: 9px !important; background: #1c4141 !important; border: 1px solid #5b8073 !important; transform: none !important; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-boosts > button > strong { color: #e4e8cd !important; font-size: 12px !important; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-boosts > button > span { color: #b9d0c1 !important; font-size: 10px !important; line-height: 1.4; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-boosts > button.is-active { border-color: #efd39b !important; background: #365c50 !important; box-shadow: inset 3px 0 #efd39b !important; }
  html body #arcadeDialog.is-derby185 .arcade-side { display: grid !important; grid-template-columns: repeat(3,minmax(70px,.5fr)) auto auto !important; align-items: center !important; gap: 10px !important; }
  html body #arcadeDialog.is-derby185 .arcade-side > div { display: grid !important; gap: 3px !important; min-height: 0 !important; padding: 10px 12px !important; background: #193e3e !important; border-color: #567b70 !important; border-radius: 9px !important; }
  html body #arcadeDialog.is-derby185 .arcade-side > div > span { color: #b6cdbd !important; font-size: 9px !important; }
  html body #arcadeDialog.is-derby185 .arcade-side > div > strong { color: #f0dcac !important; font-size: 17px !important; }
  html body #arcadeDialog.is-derby185 .arcade-side > button { min-height: 44px !important; padding: 9px 15px !important; border-radius: 8px !important; }
  html body #arcadeDialog.is-derby185 #arcadeStatus { grid-column: 1 / -1 !important; color: #c4d9c9 !important; margin: 0 !important; font-size: 11px !important; line-height: 1.5; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-result { grid-column: 1 / -1 !important; background: #284b42 !important; border: 1px solid #b5ac79 !important; color: #edf0d6 !important; padding: 14px !important; border-radius: 10px !important; }
  html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-result :is(strong,span,li,b,em) { color: #e5ead1 !important; }
  html body #arcadeDialog.is-derby185 .unicorn-derby-result ol { grid-template-columns: repeat(3,minmax(0,1fr)) !important; font-size: 11px !important; gap: 7px 18px !important; }
  html body #arcadeDialog.is-derby185.is-racing185 .unicorn-derby-result { display: none !important; }
  html body #arcadeDialog.is-derby185 button:disabled { opacity: .55 !important; transform: none !important; }
  @media (max-width:1000px) {
    html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-card { grid-template-columns: minmax(0,1.2fr) minmax(0,.7fr) minmax(0,1fr) !important; }
    html body #arcadeDialog.is-derby185 .unicorn-derby-go { grid-column: 1 / 3 !important; }
    html body #arcadeDialog.is-derby185 .arcade-side { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
    html body #arcadeDialog.is-derby185 .arcade-side > button { grid-column: auto !important; }
  }
  @media (max-width:600px) {
    html body #stableDialog .stable-race185 { padding: 8px !important; border-radius: 11px !important; }
    html body .game-shell #stableDialog .stable-race-canvas185 { height: 350px !important; }
    html body .game-shell #arcadeDialog.is-derby185 { width: calc(100vw - 12px) !important; max-height: calc(100dvh - 12px) !important; padding: 11px !important; border-radius: 15px !important; }
    html body #arcadeDialog.is-derby185 .dialog-head { gap: 10px !important; top: -11px !important; }
    html body #arcadeDialog.is-derby185 #arcadeTitle { font-size: 21px !important; }
    html body #arcadeDialog.is-derby185 #arcadeSubtitle { font-size: 11px !important; }
    html body #arcadeDialog.is-derby185 .arcade-cabinet-tabs { padding: 5px !important; gap: 3px !important; margin-bottom: 9px !important; }
    html body #arcadeDialog.is-derby185 .arcade-cabinet-tabs > button { min-height: 44px !important; font-size: 10px !important; padding: 7px 9px !important; }
    html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-canvas { height: 350px !important; }
    html body #arcadeDialog.is-derby185 .arcade-shell { gap: 10px !important; }
    html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-card { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; padding: 11px !important; }
    html body #arcadeDialog.is-derby185 .unicorn-derby-card > label:first-child { grid-column: 1 / -1 !important; }
    html body #arcadeDialog.is-derby185 .unicorn-derby-go { grid-column: auto !important; }
    html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-boosts { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    html body #arcadeDialog.is-derby185 .unicorn-derby-result ol { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    html body #arcadeDialog.is-derby185 .arcade-side > div { padding: 8px !important; }
    html body #arcadeDialog.is-derby185 .arcade-side > div > strong { font-size: 15px !important; }
    html body #arcadeDialog.is-derby185 .arcade-side > button { grid-column: span 1 !important; padding: 9px !important; font-size: 11px !important; }
  }
  @media (max-height:500px) and (min-width:601px) {
    html body .game-shell #arcadeDialog.is-derby185 { padding: 12px !important; }
    html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-canvas { height: 320px !important; }
  }
  @media (prefers-reduced-motion:reduce) {
    html body #arcadeDialog.is-derby185 * { animation: none !important; transition: none !important; }
  }
}


/* Original source: arena185.css; SHA256 5ffc9cf58816cfdef834357083c1b6f6f9d854d7d3706d97a2bd16438e9d31f3 */
/* Original Prism Crown Arena menu. The host controls dialog and HUD placement. */
@layer prism-ui {
  html body .game-shell #arenaButton185 {--prism-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23f8f1df' stroke-width='1.65' stroke-linejoin='round'%3E%3Cpath d='m5 9 5 5 6-9 6 9 5-5-3 15H8Z' fill='%23334e48'/%3E%3Cpath d='M8 27h16M12 19h8' stroke='%23edc87b'/%3E%3Ccircle cx='16' cy='5' r='2' fill='%23edc87b'/%3E%3Ccircle cx='5' cy='9' r='1.5' fill='%239ce2c9'/%3E%3Ccircle cx='27' cy='9' r='1.5' fill='%239ce2c9'/%3E%3C/g%3E%3C/svg%3E");}
  html body .game-shell #arenaButton185.has-arena-rewards185 {border-color:#e6cc8b !important;box-shadow:inset 0 0 0 1px #e6cc8b88 !important;}
  html body .arena-dialog185 { width:min(1140px,calc(100vw - 28px)) !important;max-height:calc(100dvh - 28px) !important;overflow:auto !important;box-sizing:border-box !important;padding:22px !important;border:1px solid #98b18a !important;border-radius:21px !important;background:linear-gradient(145deg,#183d3b,#142b34 74%) !important;color:#f1ead4 !important;box-shadow:0 30px 110px #071c2377 !important; }
  html body .arena-dialog185::backdrop {background:#061b25b8;backdrop-filter:blur(4px);}
  html body .arena-dialog185 .arena-head185 {position:sticky;top:-22px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:3px 0 16px;margin:0 0 13px;background:#183d3b;border-bottom:1px solid #8ca27950;}
  html body .arena-dialog185 .arena-head185 h2 {margin:3px 0 0;font:760 30px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.04em;color:#f2dda7;}
  html body .arena-dialog185 .arena-head185 > div {min-width:0;}
  html body .arena-dialog185 .arena-close185 {flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #9bb18b;border-radius:50%;background:#244a41;color:#eddfb4;font:400 27px/1 Inter,system-ui,sans-serif;cursor:pointer;}
  html body .arena-dialog185 .arena-close185:focus-visible {outline:3px solid #efd69f;outline-offset:3px;}
  html body .arena-dialog185 .arena-close185:disabled {opacity:.5;cursor:default;}
  html body .game-shell #arenaClose185 {font-size:27px !important;font-weight:400 !important;line-height:1 !important;color:#eddfb4 !important;}
  html body .arena-dialog185 > form {margin:0 !important;padding:0 !important;background:transparent !important;border:0 !important;}
  html body .arena-dialog185 .dialog-head {top:-22px !important;background:#183d3b !important;border:0 !important;box-shadow:none !important;padding:5px 0 12px !important;}
  html body .arena-dialog185 .dialog-head .icon-button {width:44px !important;height:44px !important;min-width:44px !important;min-height:44px !important;border-color:#8dab8a !important;background:#234941 !important;color:#eee1b5 !important;}
  .gl-arena185 {font:500 14px/1.5 Inter,system-ui,sans-serif;color:#ece9d1;min-width:0;}
  .gl-arena185 [hidden],.arena-hud185[hidden] {display:none !important;}
  .arena-hero185 {display:flex;align-items:center;gap:21px;padding:9px 7px 24px;border-bottom:1px solid #93aa7e45;margin-bottom:22px;}
  .arena-crest185 {width:110px;height:110px;flex:0 0 110px;filter:drop-shadow(0 8px 14px #071f2770);}
  .arena-crest185.is-small {width:35px;height:35px;flex:0 0 35px;filter:none;}
  .arena-hero-copy185 {min-width:0;}
  .arena-eyebrow185 {display:block;color:#b5c89e;font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px;}
  .gl-arena185 .arena-hero185 .arena-pitch185 {margin:0 0 8px;color:#f5dfab;font-size:clamp(21px,2.5vw,28px);font-weight:760;letter-spacing:-.04em;line-height:1.2;}
  .gl-arena185 .arena-hero185 p {margin:0;max-width:690px;color:#b8d0bf;font-size:13px;line-height:1.7;}
  .arena-columns185 {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start;}
  .arena-run-panel185,.arena-exchange185 {min-width:0;padding:20px;border:1px solid #76978180;border-radius:15px;background:#173739;}
  .arena-exchange185 {background:#142f34;}
  .arena-section-head185 {margin:0 0 15px;}
  .gl-arena185 .arena-section-head185 h3 {font-size:18px;letter-spacing:-.025em;font-weight:730;color:#eddfb5;margin:0 0 5px;line-height:1.3;}
  .gl-arena185 .arena-section-head185 p {margin:0;color:#b2cbbd;font-size:11px;line-height:1.6;}
  .arena-rounds185 {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 18px;padding:0;list-style:none;}
  .arena-round185 {display:grid;justify-items:center;align-content:start;gap:4px;min-width:0;min-height:96px;padding:10px 5px 8px;border:1px solid #68887a65;border-radius:10px;background:#133032;text-align:center;}
  .arena-round-number185 {display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#2c5048;color:#c3d6bc;font-size:12px;font-weight:800;}
  .arena-round-name185 {max-width:100%;font-size:10px;font-weight:700;color:#c3d3bd;line-height:1.3;overflow-wrap:anywhere;}
  .arena-round185 small {font-size:9px;color:#91afa0;line-height:1.2;}
  .arena-round185.is-complete {background:#244b40;border-color:#7a9b73;}
  .arena-round185.is-complete .arena-round-number185 {background:#b3c893;color:#244134;}
  .arena-round185.is-complete small {color:#c4dab3;}
  .arena-round185.is-active,.arena-round185.is-next {border-color:#e8c887;box-shadow:inset 0 0 0 1px #e8c88755;background:#354d3d;}
  .arena-round185.is-active .arena-round-number185,.arena-round185.is-next .arena-round-number185 {background:#f1d395;color:#304336;}
  .arena-round185.is-active small,.arena-round185.is-next small {color:#f0dca8;}
  .gl-arena185 .arena-round-number185 {color:#d5e3c9 !important;font-weight:800 !important;}
  .gl-arena185 .arena-round185.is-complete .arena-round-number185 {color:#243f35 !important;}
  .gl-arena185 .arena-round185:is(.is-active,.is-next) .arena-round-number185 {color:#2d3c32 !important;}
  .arena-rounds185.is-compact {grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;}
  .arena-rounds185.is-compact .arena-round185 {position:relative;min-height:57px;padding:12px 3px;}
  .arena-rounds185.is-compact .arena-round-name185,.arena-rounds185.is-compact .arena-round185 small {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
  .arena-entry185,.arena-progress185 {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;margin:0 0 12px;border-top:1px solid #92aa7c38;border-bottom:1px solid #92aa7c38;color:#b6cfbd;font-size:12px;}
  .arena-entry185 strong,.arena-progress185 strong {color:#eed9a7;font-size:15px;white-space:nowrap;}
  html body .game-shell .gl-arena185 .arena-action185 {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;height:auto;padding:11px 16px;border:1px solid #86a68a;border-radius:9px;background:#2d554b;color:#e4e8ca;font:750 12px/1.35 Inter,system-ui,sans-serif;text-align:center;white-space:normal;box-shadow:none;cursor:pointer;max-width:100%;overflow-wrap:anywhere;}
  html body .game-shell .gl-arena185 .arena-action185--primary {background:#efd398;color:#263d38;border-color:#ffebbb;}
  html body .game-shell .gl-arena185 .arena-action185--exchange {background:#37594a;color:#eee3b8;border-color:#9db07d;font-size:11px;padding:9px 12px;}
  html body .game-shell .gl-arena185 .arena-action185:disabled {opacity:.5;cursor:default;transform:none;}
  html body .game-shell .gl-arena185 .arena-action185:focus-visible,.arena-handicap185:focus-within {outline:3px solid #f0daaa;outline-offset:3px;}
  .arena-run-panel185 > .arena-action185 {width:100%;}
  .arena-run-panel185 > .arena-action185 + .arena-action185 {margin-top:9px;}
  .gl-arena185 .arena-small185 {margin:13px 0 0;color:#a7c2b2;font-size:10px;line-height:1.65;}
  .arena-rewards185 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 20px;}
  .arena-reward185 {padding:12px;border:1px solid #a3af7c50;border-radius:10px;background:#24483d;min-width:0;}
  .arena-reward185 dt {font-size:9px;color:#bfd0a8;text-transform:uppercase;letter-spacing:.05em;}
  .arena-reward185 dd {font-size:23px;line-height:1.2;font-weight:770;color:#f2db9e;margin:5px 0 0;overflow-wrap:anywhere;}
  .arena-handicaps185 {border:0;padding:0;margin:0 0 18px;min-width:0;}
  .arena-handicaps185 legend {color:#ecddb0;font-size:17px;font-weight:730;letter-spacing:-.025em;line-height:1.35;margin-bottom:7px;}
  .gl-arena185 .arena-explainer185 {font-size:11px;color:#b0c8b6;margin:0 0 12px;line-height:1.6;}
  .arena-handicap-options185 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
  .arena-handicap185 {position:relative;display:flex;align-items:flex-start;gap:8px;padding:12px 10px 27px;border:1px solid #74917b;border-radius:11px;background:#1a3c3a;cursor:pointer;min-width:0;min-height:139px;box-sizing:border-box;}
  .arena-handicap185 input {width:17px;height:17px;min-width:17px;min-height:17px;flex:0 0 17px;accent-color:#edd294;margin:2px 0 0;padding:0;}
  .arena-handicap-copy185 {display:grid;gap:7px;min-width:0;}
  .arena-handicap-copy185 strong {font-size:12px;color:#e6e4c7;line-height:1.35;overflow-wrap:anywhere;}
  .arena-handicap-copy185 > span {font-size:10px;color:#b3ccba;line-height:1.6;overflow-wrap:anywhere;}
  .arena-handicap185.is-selected {background:#375340;border-color:#efd294;box-shadow:inset 0 0 0 1px #efd29466;}
  .arena-selected185 {position:absolute;bottom:9px;left:10px;right:10px;color:#e9d6a6;font-size:8px;font-weight:700;line-height:1.3;}
  .arena-handicap185.is-unavailable {opacity:.5;cursor:default;}
  .arena-decisions185 {display:flex;flex-wrap:wrap;gap:10px;}
  .arena-decisions185 > button {flex:1 1 170px;}
  .arena-active-handicaps185 {border-top:1px solid #93a57d3b;padding-top:17px;margin-top:21px;}
  .arena-next-handicap185 {margin:18px 0 0;padding:15px;border:1px solid #a4af7b77;border-radius:12px;background:#2a483b;}
  .arena-round-decision212 {margin:0 0 20px;padding:15px;border:1px solid #d9c48a;border-radius:12px;background:linear-gradient(125deg,#365643,#24453e);}
  .gl-arena185 .arena-round-decision212 h4 {margin:0 0 7px;color:#f6e4b5;font-size:16px;line-height:1.4;overflow-wrap:anywhere;}
  .gl-arena185 .arena-round-decision212 p {margin:0 0 13px;color:#d3ddc4;font-size:12px;line-height:1.65;overflow-wrap:anywhere;}
  .arena-round-decision212 .arena-decisions185 {margin:0;}
  .arena-next-handicap185 .arena-section-head185 {margin-bottom:12px;}
  .arena-reel185 {display:flex;gap:8px;justify-content:center;padding:11px;border:1px solid #9ca77a;border-radius:10px;background:#142f31;}
  .arena-reel185 > span {display:grid;place-items:center;position:relative;overflow:hidden;width:62px;height:58px;border:1px solid #b9b47f;border-radius:8px;background:linear-gradient(#465d45,#274a40 48%,#395b47);color:#f0da9e;font-size:31px;font-weight:760;box-shadow:inset 0 5px 9px #0b282d55,inset 0 -5px 8px #0b282d55;}
  .arena-reel185.is-spinning > span {animation:arena-reel185 .35s ease-in-out infinite alternate;}
  .arena-reel185.is-spinning > span:nth-child(2) {animation-delay:.08s;}
  .arena-reel185.is-spinning > span:nth-child(3) {animation-delay:.16s;}
  @keyframes arena-reel185 {from{color:#f0da9e;background-position:0 0}to{color:#a2c59c;background-position:0 18px}}
  .gl-arena185 .arena-active-handicaps185 h4 {margin:0 0 9px;color:#c3d3b5;font-size:11px;text-transform:uppercase;letter-spacing:.04em;}
  .gl-arena185 .arena-active-handicaps185 p {margin:0;font-size:11px;color:#a5c0ae;}
  .arena-active-handicaps185 ul {display:grid;gap:8px;margin:0;padding:0;list-style:none;}
  .arena-active-handicaps185 li {display:grid;gap:3px;padding-left:10px;border-left:2px solid #c6b47f;}
  .arena-active-handicaps185 li strong {font-size:11px;color:#d3dcba;}
  .arena-active-handicaps185 li span {font-size:10px;color:#a9c4b2;}
  .arena-wallet185 {display:flex;align-items:center;gap:10px;padding:13px 15px;margin:0 0 15px;border:1px solid #a5b27c;border-radius:12px;background:linear-gradient(120deg,#365240,#243f3a);}
  .arena-wallet185 > span {font-size:11px;color:#d2dbb7;flex:1;min-width:0;}
  .arena-wallet185 > strong {font-size:28px;color:#f4dda2;font-weight:770;}
  .arena-prizes185 {display:grid;gap:10px;}
  .arena-prize185 {display:grid;grid-template-columns:63px minmax(0,1fr);gap:10px;padding:13px;border:1px solid #6f927c6b;border-radius:11px;background:#1b3c3a;min-width:0;}
  .arena-prize-image185,.arena-prize-emblem185 {display:grid;place-items:center;width:63px;height:73px;object-fit:contain;grid-row:1 / 3;align-self:center;background:radial-gradient(ellipse,#64826130,transparent 70%);}
  .arena-prize-emblem185 .arena-crest185 {width:48px;height:48px;}
  .arena-prize-copy185 {min-width:0;}
  .gl-arena185 .arena-prize-copy185 h4 {font-size:13px;color:#e9e3c5;margin:0 0 4px;line-height:1.35;overflow-wrap:anywhere;}
  .gl-arena185 .arena-prize-copy185 p {font-size:10px;color:#aec7b6;margin:0 0 6px;line-height:1.6;overflow-wrap:anywhere;}
  .arena-prize-cost185 {font-size:11px;color:#ecd59d;font-weight:700;}
  .arena-prize-copy185 small {display:block;font-size:9px;color:#c2b99c;line-height:1.5;margin-top:5px;}
  .arena-prize185 > button {justify-self:start;grid-column:2;}
  .arena-prize185.is-owned {border-color:#a4bd8c;}
  .gl-arena185 .arena-empty185 {padding:17px;color:#b9cdb8;font-size:12px;margin:0;border:1px dashed #7a967d;border-radius:9px;}
  .arena-notice185 {border:1px solid #98b180;padding:12px 14px;border-radius:10px;background:#33523f;color:#e4e3bf;margin:0 0 17px;line-height:1.6;overflow-wrap:anywhere;}
  .arena-notice185.is-error {background:#513a38;border-color:#c59282;color:#f4d4c2;}
  .arena-notice185.is-unavailable {background:#324844;border-color:#8ba38a;color:#d8dfbf;}
  .arena-busy185 {font-size:12px;color:#eddda5;margin:0 0 15px;}
  .arena-live185 {padding:16px;border:1px solid #a0b37e;border-radius:11px;background:#2d5040;margin-bottom:16px;}
  .arena-live185 > strong {color:#f0dfab;font-size:15px;}
  .gl-arena185 .arena-live185 p {margin:6px 0 0;font-size:12px;color:#bfd3b7;}
  .arena-footer185 {display:flex;justify-content:flex-end;margin-top:17px;}
  .arena-hud185 {max-width:220px;min-width:0;color:#f0e3bd;}
  html body .game-shell .arena-hud185 .arena-hud-open185 {display:flex;align-items:center;gap:9px;min-height:49px;width:100%;box-sizing:border-box;padding:6px 10px;border:1px solid #b0bd8a;border-radius:10px;background:#183e39ec;color:#eedca8;text-align:left;box-shadow:0 5px 18px #071e282b;cursor:pointer;}
  .arena-hud-open185:focus-visible {outline:3px solid #f4d694;outline-offset:3px;}
  .arena-hud185 .arena-crest185 {width:30px;height:30px;flex:0 0 30px;}
  .arena-hud-copy185 {display:grid;gap:3px;min-width:0;}
  .arena-hud-copy185 strong {font:750 11px/1.2 Inter,system-ui,sans-serif;color:#f1dda9;}
  .arena-hud-copy185 small {font:500 9px/1.3 Inter,system-ui,sans-serif;color:#c0d5b5;}
  @media(max-width:850px){.arena-columns185{grid-template-columns:minmax(0,1fr)}.arena-prizes185{grid-template-columns:repeat(2,minmax(0,1fr))}.arena-run-panel185,.arena-exchange185{padding:17px;}}
  @media(max-width:600px){html body .arena-dialog185{width:calc(100vw - 12px) !important;max-height:calc(100dvh - 12px) !important;padding:13px !important;border-radius:15px !important;}html body .arena-dialog185 .dialog-head,html body .arena-dialog185 .arena-head185{top:-13px !important;}html body .arena-dialog185 .arena-head185 h2{font-size:26px;}.arena-hero185{gap:12px;padding:3px 0 18px;margin-bottom:16px;align-items:flex-start;}.arena-hero185 > .arena-crest185{width:66px;height:72px;flex:0 0 66px;}.arena-eyebrow185{font-size:8px;letter-spacing:.06em;}.gl-arena185 .arena-hero185 .arena-pitch185{font-size:23px;}.gl-arena185 .arena-hero185 p{font-size:11px;line-height:1.6;}.arena-columns185{gap:15px;}.arena-run-panel185,.arena-exchange185{padding:13px;}.arena-handicap-options185{grid-template-columns:minmax(0,1fr)}.arena-handicap185{min-height:92px;padding:13px 12px 28px;gap:11px}.arena-handicap-copy185 strong{font-size:13px;}.arena-handicap-copy185 > span{font-size:11px;}.arena-selected185{left:40px;font-size:9px;}.arena-prizes185{grid-template-columns:minmax(0,1fr)}.arena-prize185{grid-template-columns:64px minmax(0,1fr)}.arena-rounds185{gap:6px;}.arena-round185{min-height:89px;padding:9px 3px;}.arena-round-name185{font-size:9px;}.arena-round185 small{font-size:8px}.arena-reward185{padding:10px;}.arena-reward185 dd{font-size:22px;}.arena-decisions185 > button{flex-basis:100%;}.arena-wallet185{padding:11px;}.arena-wallet185 > strong{font-size:25px;}.arena-hud185{max-width:190px;}}
  @media(prefers-reduced-motion:reduce){.gl-arena185 *,.arena-hud185 *{animation:none !important;transition:none !important;}}
  @media(max-width:600px){.arena-rounds185.is-compact .arena-round-number185{width:24px;height:24px;font-size:10px;}.arena-rounds185.is-compact .arena-round185{min-height:49px;padding:11px 2px;}}
}


/* Original source: loading185.css; SHA256 e50423788cac9d503c400840c10c67f8851d6f9ed61738308085809155d0436a */
/* Illustrated destination cards. This layer never controls gameplay readiness. */
.level-loading.loading185 {
  --loading-accent185:#f0d8a1;
  --loading-ink185:#f7f3e5;
  position:fixed; inset:0; display:block; padding:0; overflow:hidden;
  color:var(--loading-ink185); background:#102332; isolation:isolate;
}
.loading185[hidden] { display:none!important; }
.loading185[data-loading-theme185="ember"] { --loading-accent185:#f4bf9b; background:#2a2130; }
.loading185[data-loading-theme185="aurora"] { --loading-accent185:#ced7f7; background:#182438; }
.loading185[data-loading-theme185="tideglass"] { --loading-accent185:#a9e1d9; background:#112c3a; }
.loading185[data-loading-theme185="secret"] { --loading-accent185:#d4e6b6; background:#17302e; }
.loading185 .loading-art185 { position:absolute; inset:0; overflow:hidden; background:radial-gradient(ellipse at 68% 38%,#486b6533,transparent 64%); z-index:-3; }
.loading185 [data-loading-picture185] { position:absolute; inset:0; z-index:1; display:block; width:100%; height:100%; opacity:0; transition:opacity .45s ease; }
.loading185.is-loading-art-ready185 [data-loading-picture185] { opacity:1; }
.loading185 [data-loading-image185],.loading185 .loading-thumb185 { display:block; width:100%; height:100%; object-fit:cover; object-position:var(--loading-focus-wide185,60% 50%); }
.loading185 .loading-thumb185 { position:absolute; inset:0; z-index:0; filter:blur(12px); transform:scale(1.045); opacity:.8; }
.loading185 .loading-scrim185 { position:absolute; inset:0; pointer-events:none; z-index:-2; background:linear-gradient(90deg,#081a2da6 0%,#0a1b2d4d 27%,#0c1f3500 55%),linear-gradient(0deg,#071927b8 0%,#0a203612 42%,#09192c08 100%); }
.loading185 .loading-brand185 { position:absolute; top:max(26px,env(safe-area-inset-top)); left:max(38px,env(safe-area-inset-left)); display:flex; flex-direction:column; align-items:flex-start; gap:3px; max-width:min(60vw,320px); color:#fff8e9; filter:drop-shadow(0 3px 12px #07121dcc); }
.loading185 .loading-brand185 img { display:block; width:auto; height:auto; max-width:100%; max-height:64px; object-fit:contain; object-position:left center; }
.loading185 .loading-brand185 strong { font:750 12px/1.2 system-ui,sans-serif; letter-spacing:.15em; }
.loading185 .loading-region185 { position:absolute; top:max(128px,calc(env(safe-area-inset-top) + 108px)); left:max(40px,env(safe-area-inset-left)); max-width:calc(100% - 80px); padding:8px 13px 8px 29px; border:1px solid #efe1bc44; border-radius:999px; color:#f6ead0; background:#132c3cc2; box-shadow:0 2px 18px #07121d26; font:700 10px/1.35 system-ui,sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.loading185 .loading-region185::before { content:""; position:absolute; left:13px; top:50%; width:5px; height:5px; border:1px solid currentColor; transform:translateY(-50%) rotate(45deg); }
.loading185 .level-loading__card { position:absolute; left:max(38px,env(safe-area-inset-left)); bottom:max(36px,env(safe-area-inset-bottom)); width:min(560px,calc(54vw - 38px)); box-sizing:border-box; padding:24px 28px; border:1px solid #efe1bc35; border-radius:20px; background:linear-gradient(125deg,#122a3cda,#102537bd); box-shadow:0 16px 54px #06111c42; backdrop-filter:blur(10px); }
.loading185 .level-loading__eyebrow { margin:0 0 9px; color:#cfdece; font:700 10px/1.35 system-ui,sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.loading185 h1 { margin:0 0 12px; color:#fff7e2; font:600 clamp(29px,3.4vw,48px)/1.08 Georgia,"Times New Roman",serif; letter-spacing:-.025em; overflow-wrap:anywhere; text-wrap:balance; }
.loading185 [data-level-status] { min-height:0; margin:0 0 15px; color:#f0f2e9; font:500 14px/1.5 system-ui,sans-serif; overflow-wrap:anywhere; }
.loading185 progress { display:block; width:100%; height:7px; border:0; border-radius:12px; background:#071927; accent-color:var(--loading-accent185); box-shadow:0 0 0 1px #cadbc119; }
.loading185 progress::-webkit-progress-bar { border-radius:12px; background:#071927; }
.loading185 progress::-webkit-progress-value { border-radius:12px; background:linear-gradient(90deg,#85c3b6,var(--loading-accent185)); }
.loading185 progress::-moz-progress-bar { border-radius:12px; background:linear-gradient(90deg,#85c3b6,var(--loading-accent185)); }
.loading185 .level-loading__note { margin:12px 0 0; color:#c4d2ce; font:400 11px/1.5 system-ui,sans-serif; }
.loading185 .loading-tip185 { margin:14px 0 0; padding:12px 0 0; border-top:1px solid #d9dfc71f; color:#e2e9d4; font:500 12px/1.5 system-ui,sans-serif; }
.loading185 .loading-tip185 > span { display:block; color:var(--loading-accent185); font:700 9px/1.35 system-ui,sans-serif; letter-spacing:.09em; text-transform:uppercase; }
.loading185 .loading-tip185 p { margin:5px 0 0; font:inherit; line-height:1.5; }
.loading185 .level-loading__actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:18px; }
.loading185 .level-loading__actions:has(button:not([hidden])) { padding-top:2px; }
.loading185 .level-loading__actions button { width:100%; min-width:0; min-height:46px; padding:10px 13px; border:1px solid #ebdbb3; border-radius:12px; color:#172d3a; background:#efddb3; box-shadow:inset 0 1px #fff9e966,0 3px 12px #0002; font:750 13px/1.25 system-ui,sans-serif; overflow-wrap:anywhere; cursor:pointer; }
.loading185 .level-loading__actions [data-level-back] { color:#faf1db; background:#1d3b4c; border-color:#bfd0c66b; }
.loading185 .level-loading__actions button:focus-visible { outline:3px solid #b8ffef; outline-offset:3px; }
.loading185.has-error185 .loading-tip185 { display:none; }
@media (max-width:700px) and (orientation:portrait) {
  .loading185 .loading-art185 { bottom:auto; height:68%; }
  .loading185 [data-loading-image185],.loading185 .loading-thumb185 { object-position:var(--loading-focus-compact185,58% 50%); }
  .loading185 .loading-scrim185 { background:linear-gradient(0deg,#0b1c2b 0%,#0b1c2b 25%,#0b1c2bc9 38%,#0b1c2b00 68%),linear-gradient(180deg,#07172920,transparent 28%); }
  .loading185 .loading-brand185 { top:max(17px,env(safe-area-inset-top)); left:max(20px,env(safe-area-inset-left)); max-width:68%; }
  .loading185 .loading-brand185 img { max-height:43px; }
  .loading185 .loading-region185 { top:max(94px,calc(env(safe-area-inset-top) + 77px)); left:max(20px,env(safe-area-inset-left)); max-width:calc(100% - 40px); padding:7px 12px 7px 27px; font-size:9px; letter-spacing:.09em; }
  .loading185 .level-loading__card { left:max(12px,env(safe-area-inset-left)); right:max(12px,env(safe-area-inset-right)); bottom:max(14px,env(safe-area-inset-bottom)); width:auto; padding:20px 20px 18px; border-radius:18px; background:linear-gradient(125deg,#122b3ee8,#102639dd); }
  .loading185 h1 { font-size:clamp(26px,7.5vw,36px); line-height:1.1; }
  .loading185 [data-level-status] { margin-bottom:13px; font-size:13px; line-height:1.45; }
  .loading185 .level-loading__note { font-size:10px; }
  .loading185 .loading-tip185 { margin-top:12px; padding-top:10px; font-size:11px; }
  .loading185.has-error185 .level-loading__note { display:none; }
  .loading185 .level-loading__actions { gap:9px; margin-top:15px; }
}
@media (max-width:360px) and (orientation:portrait) {
  .loading185 .level-loading__card { padding:16px; bottom:max(10px,env(safe-area-inset-bottom)); }
  .loading185 .level-loading__eyebrow { margin-bottom:7px; font-size:9px; }
  .loading185 h1 { margin-bottom:10px; font-size:25px; }
  .loading185 [data-level-status] { font-size:12px; }
  .loading185 .level-loading__actions button { padding:9px 8px; font-size:12px; }
  .loading185 .loading-tip185 { font-size:10px; }
}
@media (max-height:520px) and (min-aspect-ratio:6/5) {
  .loading185 .loading-brand185 { top:max(13px,env(safe-area-inset-top)); left:calc(50% + 12px); max-width:calc(50% - 32px); }
  .loading185 .loading-brand185 img { max-height:30px; }
  .loading185 .loading-brand185 strong { font-size:9px; }
  .loading185 .loading-region185 { top:max(71px,calc(env(safe-area-inset-top) + 58px)); left:calc(50% + 12px); max-width:calc(50% - 32px); font-size:8px; padding:6px 10px 6px 24px; }
  .loading185 .level-loading__card { left:max(18px,env(safe-area-inset-left)); bottom:max(14px,env(safe-area-inset-bottom)); width:calc(50% - 26px); padding:16px 18px; border-radius:15px; }
  .loading185 h1 { margin-bottom:10px; font-size:clamp(22px,3.8vw,30px); }
  .loading185 .level-loading__eyebrow,.loading185 .level-loading__note,.loading185 .loading-tip185 { display:none; }
  .loading185 [data-level-status] { font-size:12px; line-height:1.4; margin-bottom:11px; }
  .loading185 .level-loading__actions { margin-top:12px; gap:8px; }
  .loading185 .level-loading__actions button { font-size:12px; padding:8px; min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  .loading185 [data-loading-picture185] { transition:none; }
  .loading185 .loading-thumb185 { transform:none; }
}

.loading185.loading-inline185 { position:relative; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; box-sizing:border-box; min-height:240px; width:100%; padding:22px; gap:12px; overflow:hidden; isolation:isolate; border:1px solid #d5dfc947; border-radius:18px; background:#173e3d; color:#fff7e4; }
.loading185.loading-inline185 .loading-art185 { inset:0; height:100%; }
.loading185.loading-inline185 .loading-scrim185 { background:linear-gradient(0deg,#0c2439ed 0%,#10283d70 48%,#0b21352b 100%); }
.loading185.loading-inline185 > p { margin:0; max-width:620px; color:#fff7e4; font:650 14px/1.5 system-ui,sans-serif; text-shadow:0 1px 3px #0b1d30; }
.loading185.loading-inline185 > button { min-height:44px; padding:9px 17px; border:1px solid #dfd3af; border-radius:10px; color:#203847; background:#efddb5; font:700 13px/1.3 system-ui,sans-serif; }
@media (max-width:480px) { .loading185.loading-inline185 { min-height:210px; padding:18px; } }

@layer prism-ui { html body .game-shell #arcadeDialog.is-derby185 .unicorn-derby-canvas[hidden] { display:none!important; } }

/* Ready chapters remain readable until the player chooses to enter. */
.loading185 .level-loading__actions [data-level-continue]{grid-column:1/-1;min-height:48px}
.loading185.is-awaiting-continue207 .level-loading__card{max-height:calc(100dvh - max(160px,env(safe-area-inset-top)) - max(28px,env(safe-area-inset-bottom)));overflow-y:auto;overscroll-behavior:contain}
.loading185.is-awaiting-continue207 progress{opacity:.7}
.loading185.is-awaiting-continue207 .level-loading__note{color:#fff1cf;font-weight:600}
@media(max-height:520px) and (min-aspect-ratio:6/5){.loading185.is-awaiting-continue207 .level-loading__card{max-height:calc(100dvh - max(28px,env(safe-area-inset-top)) - max(28px,env(safe-area-inset-bottom)))}.loading185.is-awaiting-continue207 .level-loading__note{display:block;margin-top:9px;font-size:10px}}


/* Original source: keepers185.css; SHA256 c64f9bdd079eb728d28f68efb6c5423674df64afac603ecbc40a6c4425842e9d */
/* Original Eightfold Bloom field journal; scoped to its optional menu. */
@layer prism-ui {
  html body .game-shell #keepersButton185 {--prism-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg stroke='%23f3dfab' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath fill='%23395f4e' d='M4 6c5-2 8-1 12 2 4-3 7-4 12-2v21c-5-2-8-1-12 1-4-2-7-3-12-1Z'/%3E%3Cpath fill='none' d='M16 9v18M8 11l4 1M8 16l4 1'/%3E%3Cpath fill='%23a5d2a4' d='M21 20c-6-6-1-10 4-10 1 4 1 9-4 10Z'/%3E%3C/g%3E%3C/svg%3E");}
  html body .keepers-dialog185 {box-sizing:border-box;width:min(1160px,calc(100vw - 28px))!important;max-height:calc(100dvh - 28px)!important;overflow:auto!important;padding:22px!important;border:1px solid #a2b78b!important;border-radius:22px!important;background:linear-gradient(135deg,#183e3c,#132b35 80%)!important;color:#f2ead1!important;box-shadow:0 30px 100px #051a237d!important;}
  html body .keepers-dialog185::backdrop {background:#071b24bd;backdrop-filter:blur(4px);}
  html body .keepers-dialog185 .keepers-head185 {display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:-22px;z-index:4;padding:4px 0 15px;margin:0 0 18px;border-bottom:1px solid #91ac814b;background:#183d3b;}
  html body .keepers-dialog185 .keepers-head185>div {min-width:0;}
  .keepers-eyebrow185 {display:block;margin:0 0 5px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#b7cda3;}
  html body .keepers-dialog185 .keepers-head185 h2 {margin:0;font:760 clamp(22px,3vw,31px)/1.2 Inter,system-ui,sans-serif;letter-spacing:-.035em;color:#f1dba4;overflow-wrap:anywhere;}
  html body .keepers-dialog185 .keepers-close185 {display:grid;place-items:center;flex:0 0 44px;min-width:44px;width:44px;min-height:44px;height:44px;padding:0!important;border:1px solid #95b28e;border-radius:50%;background:#2c5047;color:#f2dfb2;font:400 27px/1 system-ui,sans-serif!important;}
  .gl-keepers185 {font:500 13px/1.55 Inter,system-ui,sans-serif;color:#d8e0cb;min-width:0;}
  .gl-keepers185 [hidden] {display:none!important;}
  .gl-keepers185 h3,.gl-keepers185 h4,.gl-keepers185 p {margin-top:0;}
  .keeper-intro185 {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 22px;}
  .keeper-intro185>div:first-child {max-width:700px;min-width:0;}
  .gl-keepers185 .keeper-intro185 h3 {font-size:20px;line-height:1.3;letter-spacing:-.025em;color:#f0e2bd;margin-bottom:7px;}
  .gl-keepers185 .keeper-intro185 p {font-size:12px;color:#b6cebb;margin-bottom:0;}
  .keeper-progress185 {display:grid;justify-items:center;flex:0 0 104px;padding:13px 10px;border:1px solid #9eb47f8a;border-radius:16px;background:#2d4e3f;}
  .keeper-progress185 strong {font-size:26px;line-height:1.1;color:#f1d99a;}
  .keeper-progress185 span {font-size:9px;text-align:center;color:#cfddbb;margin-top:5px;}
  .keeper-columns185 {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start;}
  .keeper-clues185,.keeper-puzzle185 {min-width:0;}
  .gl-keepers185 .keeper-section-title185 {font-size:17px;line-height:1.35;letter-spacing:-.02em;color:#ead8a8;margin:0 0 12px;}
  .keeper-cards185 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .keeper-card185 {display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;padding:12px 10px;min-width:0;border:1px solid #75977c8c;border-radius:14px;background:#1c3e3b;}
  .keeper-card185.is-unknown {border-style:dashed;background:#143235;border-color:#698c795d;}
  .keeper-portrait185 {display:grid;place-items:center;align-self:center;min-width:0;width:70px;height:88px;background:radial-gradient(ellipse,#9fb88c1f,transparent 70%);}
  .keeper-portrait185 img {display:block;width:100%;height:100%;object-fit:contain;object-position:center;}
  .keeper-question185,.keeper-portrait185.is-missing::after {content:'✦';display:grid;place-items:center;width:48px;height:56px;border:1px solid #77988055;border-radius:45% 45% 48% 48%;background:#28473e;color:#a2b594;font-size:27px;line-height:1;font-weight:600;}
  .keeper-card-copy185 {min-width:0;}
  .gl-keepers185 .keeper-card185 h4 {margin:0 0 6px;color:#e5e6c9;font-size:12px;line-height:1.35;font-weight:750;overflow-wrap:anywhere;}
  .gl-keepers185 .keeper-card185.is-unknown h4 {color:#a9c1ab;font-size:11px;}
  .keeper-symbol-label185 {display:flex;align-items:center;gap:5px;margin:0 0 5px;font-size:10px;font-weight:750;color:#e8ce91;}
  .keeper-symbol-label185 .keeper-rune185 {width:20px;height:20px;}
  .gl-keepers185 .keeper-clue-text185 {font-size:11px;line-height:1.65;color:#c3d6bf;margin:0;}
  .gl-keepers185 .keeper-world-hint185 {font-size:11px;line-height:1.65;color:#8eaf9f;margin:0;}
  .keeper-puzzle185 {position:sticky;top:85px;padding:20px;border:1px solid #a2ad798c;border-radius:17px;background:linear-gradient(145deg,#284b40,#1b3837);}
  .gl-keepers185 .keeper-instructions185 {font-size:11px;color:#c2d3ba;margin:0 0 15px;}
  .keeper-slots185 {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;list-style:none;margin:0 0 10px;padding:0;}
  .keeper-slots185 li {min-width:0;}
  html body .game-shell .gl-keepers185 .keeper-button185 {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;height:auto;max-width:100%;padding:10px 13px;border:1px solid #8aa98a;border-radius:9px;background:#30594a;color:#e2e8ce;font:700 11px/1.35 Inter,system-ui,sans-serif;cursor:pointer;text-align:center;white-space:normal;overflow-wrap:anywhere;box-shadow:none;}
  html body .game-shell .gl-keepers185 .keeper-button185:disabled {opacity:.46;cursor:default;transform:none;}
  html body .game-shell .gl-keepers185 .keeper-button185:focus-visible,html body .keepers-dialog185 .keepers-close185:focus-visible {outline:3px solid #f4dfad;outline-offset:3px;}
  html body .game-shell .gl-keepers185 .keeper-button185--primary {width:100%;background:#edd294;color:#233f37;border-color:#ffebb9;font-size:12px;}
  html body .game-shell .gl-keepers185 .keeper-button185--slot {display:grid;justify-items:center;align-content:center;gap:4px;position:relative;width:100%;min-height:83px;padding:14px 3px 8px;background:#183833;border-color:#8aa47c6e;color:#dce0b7;}
  html body .game-shell .gl-keepers185 .keeper-button185--slot small {position:absolute;left:6px;top:4px;color:#a7bd97;font-size:9px;}
  html body .game-shell .gl-keepers185 .keeper-button185--slot>span {font-size:9px;line-height:1.2;}
  html body .game-shell .gl-keepers185 .keeper-button185--slot:disabled {opacity:.7;}
  html body .game-shell .gl-keepers185 .keeper-button185--slot.is-selected {border-color:#f4d58d;background:#40573e;box-shadow:inset 0 0 0 1px #f4d58d77;}
  .keeper-rune185 {display:block;flex:0 0 auto;width:30px;height:30px;color:#e7d697;}
  .keeper-rune185--tide {color:#9cdddc;}.keeper-rune185--leaf,.keeper-rune185--seed {color:#b2d795;}.keeper-rune185--ember {color:#f6b38b;}.keeper-rune185--frost {color:#bfdaed;}.keeper-rune185--moon {color:#d2c0ef;}.keeper-rune185--stone {color:#cbbba1;}
  .keeper-slot-dot185 {font-size:30px!important;color:#809a7e;}
  .keeper-edit185 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:15px;}
  html body .game-shell .gl-keepers185 .keeper-edit185 .keeper-button185 {padding:8px 5px;font-size:9px;}
  .keeper-bank185 {display:flex;flex-wrap:wrap;gap:6px;border:0;padding:0;margin:0 0 16px;min-width:0;}
  .keeper-bank185 legend {font-size:10px;color:#d5ddbd;font-weight:700;padding:0 0 8px;}
  html body .game-shell .gl-keepers185 .keeper-button185--rune {gap:5px;padding:7px 9px;font-size:10px;min-height:44px;flex:1 1 78px;}
  .keeper-button185--rune .keeper-rune185 {width:22px;height:22px;}
  .keeper-bank185 p,.gl-keepers185 .keeper-bank-note185 {width:100%;margin:3px 0 0;font-size:10px;color:#aac6ad;}
  .gl-keepers185 .keeper-location185 {margin:10px 0 0;font-size:11px;color:#e8d29a;}
  .gl-keepers185 .keeper-small185 {margin:10px 0 0;font-size:9px;line-height:1.65;color:#a8c2ae;}
  html body .game-shell .gl-keepers185 .keeper-button185--quiet {margin-top:13px;font-size:10px;background:transparent;border-color:#72957b77;color:#bad0b6;}
  .keeper-notice185 {padding:12px 14px;margin:0 0 18px;border:1px solid #98af7d77;border-radius:10px;color:#e6e5bd;background:#34503b;font-size:12px;}
  .keeper-notice185.is-error {color:#ffe4c8;background:#543c35;border-color:#cb9f83;}
  .keeper-footer185 {display:flex;justify-content:flex-end;gap:9px;padding-top:19px;margin-top:20px;border-top:1px solid #8eaa7c40;}
  .keeper-success185 {display:grid;justify-items:center;gap:14px;text-align:center;padding:20px 4px 14px;}
  .keeper-success185>.keeper-rune185 {width:72px;height:72px;filter:drop-shadow(0 0 18px #dfc67d33);}
  .gl-keepers185 .keeper-success185 p {font-size:12px;line-height:1.7;margin:0;color:#d4dfbf;}
  .gl-keepers185 .keeper-puzzle185>h4 {color:#ead7a7;margin:8px 0;font-size:12px;}
  .keeper-earned185 {list-style:none;margin:0 0 17px;padding:0;display:grid;gap:7px;}
  .keeper-earned185 li {padding:10px;border:1px solid #adc18570;border-radius:8px;color:#e6ddb1;background:#34513b;font-size:12px;}
  @media(max-width:900px){.keeper-columns185{grid-template-columns:1fr;gap:22px}.keeper-puzzle185{position:static}.keeper-columns185.has-all-symbols185 .keeper-puzzle185{order:-1}.keeper-cards185{grid-template-columns:repeat(2,minmax(0,1fr))}.keeper-card185{grid-template-columns:66px minmax(0,1fr)}.keeper-portrait185{width:66px}.keeper-puzzle185 .keeper-slots185{grid-template-columns:repeat(8,minmax(0,1fr))}}
  @media(max-width:600px){html body .keepers-dialog185{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:15px!important;border-radius:16px!important}html body .keepers-dialog185 .keepers-head185{top:-15px;margin-bottom:16px}.keeper-intro185{gap:12px;padding-bottom:19px}.gl-keepers185 .keeper-intro185 h3{font-size:16px}.gl-keepers185 .keeper-intro185 p{font-size:11px}.keeper-progress185{flex-basis:66px;padding:11px 7px}.keeper-progress185 strong{font-size:23px}.keeper-progress185 span{font-size:8px}.keeper-cards185{gap:8px}.keeper-card185{display:flex;flex-direction:column;gap:8px;padding:10px;align-items:center}.keeper-portrait185{height:84px;width:78px}.keeper-card-copy185{width:100%}.gl-keepers185 .keeper-card185 h4{text-align:center}.keeper-symbol-label185{justify-content:center}.keeper-puzzle185{padding:15px}.keeper-puzzle185 .keeper-slots185{grid-template-columns:repeat(4,minmax(0,1fr))}.keeper-footer185{justify-content:stretch}.keeper-footer185>button{flex:1}.keepers-eyebrow185{font-size:9px}}
  @media(prefers-reduced-motion:reduce){.gl-keepers185 *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
}

/* Keep progress out of the shared icon/label layout. */
@layer prism-ui {
 html body .game-shell #keepersButton185 { position:relative!important; }
 html body .game-shell #keepersButton185 .ability-icon { align-self:center!important; justify-self:center!important; }
 html body .game-shell #keepersCount185:not([hidden]) { position:absolute!important; top:1px!important; right:2px!important; margin:0!important; padding:1px 3px!important; width:auto!important; min-width:0!important; font:700 8px/1.2 system-ui,sans-serif!important; border-radius:6px; background:#183a37; color:#f4dfa4; pointer-events:none; }
}


/* Original source: omega185.css; SHA256 56ea20291e31b94f327cf84380f1dab5ef5fcbd162a5798206e3dfa96eb88686 */
html body .game-shell .omega-finale185 { display:grid; grid-template-columns:76px minmax(0,1fr) auto; align-items:center; gap:14px; padding:15px; border:1px solid #9b855c; border-radius:14px; background:linear-gradient(125deg,#253c43,#302c45); color:#f6ecdb; }
html body .game-shell .omega-portrait185 { display:grid; place-items:center; width:76px; height:84px; border-radius:50%; background:radial-gradient(ellipse,#84927440,transparent 70%); color:#e8cd91; font:700 40px Georgia,serif; }
html body .game-shell .omega-portrait185 img { width:100%; height:100%; object-fit:contain; max-height:84px; filter:drop-shadow(0 3px 5px #101624); }
html body .game-shell .omega-copy185 { min-width:0; display:flex; flex-direction:column; gap:4px; }
html body .game-shell .omega-copy185 small { font-size:10px; font-weight:800; letter-spacing:.08em; color:#ead39a; }
html body .game-shell .omega-copy185 strong { font-size:15px; line-height:1.35; overflow-wrap:anywhere; }
html body .game-shell .omega-copy185 p { margin:0; font-size:12px; line-height:1.55; color:#d7dde2; }
html body .game-shell .omega-bounty185 { font-size:11px; line-height:1.5; color:#bce1cf; }
html body .game-shell .omega-finale185 button { white-space:normal; overflow-wrap:anywhere; max-width:160px; min-height:40px; }
html body .game-shell .omega-finale185[data-status="defeated"] { border-color:#6f9c8c; background:linear-gradient(125deg,#243c35,#243341); }
html body .game-shell .omega-finale185[data-status="locked"] .omega-portrait185 { opacity:.65; }
html body .game-shell #worldMapDetails .omega-finale185 { grid-template-columns:48px minmax(0,1fr); gap:9px; padding:10px; }
html body .game-shell #worldMapDetails .omega-portrait185 { width:48px; height:66px; }
html body .game-shell #worldMapDetails .omega-portrait185 img { max-height:66px; }
html body .game-shell #worldMapDetails .omega-finale185 button { grid-column:1/-1; width:100%; max-width:none; }
html body .game-shell #worldMapDetails .omega-copy185 strong { font-size:12px; }
/* Keep the center of a large painted guardian clear of the target readout. */
@layer prism-ui {
 html body .game-shell .hud .battle-panel:not(.is-custom-position) { left:var(--hud-battle-left185,18px) !important; right:auto !important; top:var(--hud-battle-top185,118px) !important; transform:none !important; width:246px !important; max-width:calc(100vw - 36px) !important; max-height:var(--hud-battle-room185,none); overflow:auto; }
 @media(max-width:700px) {
  html body .game-shell .hud .battle-panel:not(.is-custom-position) { left:var(--hud-battle-left185,10px) !important; top:var(--hud-battle-top185,128px) !important; width:180px !important; max-height:var(--hud-battle-room185,108px); overflow:auto; }
 }
 @media(max-height:500px) and (min-width:701px) {
  html body.is-coop-party173 .game-shell .hud .battle-panel:not(.is-custom-position) { padding:6px 9px !important; }
  html body.is-coop-party173 .game-shell .hud .battle-panel #targetName { margin:0 0 3px !important; font-size:10px !important; line-height:1.15 !important; }
  html body.is-coop-party173 .game-shell .hud .battle-panel .target-health183 { gap:2px; }
  html body.is-coop-party173 .game-shell .hud .battle-panel #targetHpReadout183 { margin:0 !important; font-size:8px !important; line-height:1.1 !important; }
  html body.is-coop-party173 .game-shell .hud .battle-panel .target-track { margin:0 !important; height:4px !important; }
 }
}
html body .game-shell .party-dock173 { max-height:var(--party-room185,none); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; pointer-events:auto; }
@media(max-height:500px) and (min-width:701px) {
 html body .game-shell .party-dock173 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:5px; row-gap:2px; width:246px; padding:5px; }
 html body .game-shell .party-dock173 .p173-dock-head { grid-column:1/-1; padding:3px 6px; font-size:10px; }
 html body .game-shell .party-dock173 .p173-member { min-width:0; padding:1px; gap:4px; }
 html body .game-shell .party-dock173 .p173-portrait { width:18px; height:22px; }
 html body .game-shell .party-dock173 .p173-member-info>strong { font-size:9px; line-height:1.1; }
 html body .game-shell .party-dock173 .p173-member-info>small { font-size:7px; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 html body .game-shell .party-dock173 .p173-stat { height:2px; margin-top:1px; }
}
@media(max-width:600px) {
 html body .game-shell .omega-finale185 { grid-template-columns:58px minmax(0,1fr); gap:10px; padding:12px; }
 html body .game-shell .omega-portrait185 { width:58px; height:72px; }
 html body .game-shell .omega-portrait185 img { max-height:72px; }
 html body .game-shell .omega-finale185 button { grid-column:1/-1; max-width:none; width:100%; }
}


/* Original source: omega-hunts213.css; SHA256 67bd377bc2596b16371c7c6f5198432fa113fa99c013390354d0b2d173845355 */
/* Secret Omega notes: scoped styles, static artwork, no per-frame work. */
.omega-hunts-topbar213{position:sticky;top:2px;z-index:4;height:44px;margin-bottom:-44px;display:flex;justify-content:flex-end;pointer-events:none}html body .game-shell .gl-omega-hunts213 .omega-hunts-topbar213>.omega-hunts-top-close213,.gl-omega-hunts213 .omega-hunts-topbar213>.omega-hunts-top-close213{pointer-events:auto;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0;font:400 29px/1 system-ui,sans-serif;background:#1b3b45;color:#f6e4bf;border-color:#b8c3a5;box-shadow:0 2px 9px #10232c55}.gl-omega-hunts213 .omega-hunts-header213{padding-right:60px}@media(max-width:680px){.gl-omega-hunts213 .omega-hunts-header213{padding-right:54px}.omega-hunts-topbar213{top:0}}
.gl-omega-hunts213{--oh-ink:#eceddf;--oh-muted:#b5c7ca;--oh-gold:#efd5a2;--oh-panel:#18323d;max-width:1120px;margin:auto;padding:clamp(16px,3vw,30px);border:1px solid #a6b8b259;border-radius:19px;background:radial-gradient(ellipse at 90% 0,#3e626459,transparent 48%),#112b36;color:var(--oh-ink);font:14px/1.6 system-ui,sans-serif;overflow-wrap:anywhere;box-sizing:border-box}
.gl-omega-hunts213 *{box-sizing:border-box}.gl-omega-hunts213 :is(h2,h3,h4,p){margin:0}.gl-omega-hunts213 h2{font:700 clamp(25px,4vw,38px)/1.18 Georgia,serif;color:#f4e3be;letter-spacing:-.025em}.gl-omega-hunts213 h3{font:700 clamp(21px,2.5vw,27px)/1.25 Georgia,serif;color:#f1e3c7}.gl-omega-hunts213 h4{font:750 10px/1.45 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#c9d2ba}.omega-hunts-header213{display:flex;align-items:center;gap:24px;padding:0 0 21px;border-bottom:1px solid #b4c0a63d}.omega-hunts-heading213{flex:1;min-width:0}.omega-hunts-heading213>p{margin-top:10px;color:var(--oh-muted);font-size:13px}.omega-hunts-eyebrow213{display:block;margin-bottom:9px;color:#bbd2c9;font:750 10px/1.4 system-ui;letter-spacing:.13em;text-transform:uppercase}.omega-hunts-stamp213{flex:0 0 82px}.omega-hunt-crest213{display:block;width:100%;height:100%}.omega-hunts-overall213{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0 10px;color:#bcd0c7;font-size:12px}.omega-hunts-overall213 strong{font:700 27px/1.2 Georgia,serif;color:var(--oh-gold)}.omega-hunts-rules213,.omega-hunts-footnote213{color:var(--oh-muted);font-size:12px;line-height:1.65}.gl-omega-hunts213 .omega-hunts-rules213{margin-bottom:20px}.omega-hunts-grid213{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}.omega-hunt-card213{min-width:0;border:1px solid #8eaaa268;border-radius:14px;overflow:hidden;background:#1a343e}.omega-hunt-card213.is-defeated{border-color:#d1bc80}.omega-hunt-art213{position:relative;display:flex;align-items:center;justify-content:center;height:208px;padding:11px;background:radial-gradient(ellipse at 50% 76%,#4d737259,transparent 68%),#122a36;overflow:hidden;border-bottom:1px solid #9baea036}.omega-hunt-art213.is-secret{background:radial-gradient(ellipse at 50% 70%,#42606c3b,transparent 66%),#122a36}.omega-hunt-art213>.omega-hunt-crest213{width:152px;height:152px;opacity:.9}.omega-hunt-art213.is-secret>.omega-hunt-crest213{opacity:.65}.omega-hunt-image213{display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:none;transform:none}.omega-hunt-question213{position:absolute;left:50%;top:50%;transform:translate(-50%,-47%);color:#c3d2d2;font:700 54px/1 Georgia,serif;text-shadow:0 2px 6px #071722}.omega-hunt-number213{position:absolute;top:13px;left:17px;color:#b7c7b0;font:700 12px/1.2 Georgia,serif;letter-spacing:.15em}.omega-hunt-content213{padding:22px}.omega-hunt-status213{display:inline-block;margin-bottom:9px;padding:3px 8px;border:1px solid #8baba070;border-radius:20px;background:#254a4b;color:#d8e8d5;font:750 9px/1.5 system-ui;letter-spacing:.055em;text-transform:uppercase}.is-defeated .omega-hunt-status213{background:#5b5135;border-color:#cfb77b;color:#fff0c7}.is-awake .omega-hunt-status213{background:#594156;border-color:#bd9eae;color:#ffe3f0}.omega-hunt-location213{color:#aec9c5;font-size:12px;margin-top:7px!important}.omega-hunt-level213{font-size:11px;color:#dbcba9;margin-top:5px!important}.omega-hunt-clue213{border-left:2px solid #cdb87d;padding:0 0 0 13px;margin:18px 0}.omega-hunt-clue213>p{color:#c5d1c8;font:italic 14px/1.7 Georgia,serif;margin-top:5px}.omega-hunt-progress213{display:grid;grid-template-columns:1fr auto;gap:7px 12px;margin:20px 0 13px;color:#b9ccc1;font-size:11px}.omega-hunt-progress213>strong{font-weight:750;color:#eddbb2}.omega-hunt-progress-track213{display:flex;gap:5px;grid-column:1/-1}.omega-hunt-progress-track213>span{flex:1;height:5px;border-radius:4px;background:#546a6a}.omega-hunt-progress-track213>.is-complete{background:#ecd6a0}.omega-hunt-sigils213{list-style:none;margin:0;padding:0}.omega-hunt-sigils213>li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #a0b19e24}.omega-hunt-sigil-mark213{display:grid;place-items:center;width:25px;height:25px;border:1px solid #8ca29a99;border-radius:50%;color:#b4c6bf;font:700 11px/1 system-ui}.is-attuned>.omega-hunt-sigil-mark213{background:#c8d8b2;color:#254d43;border-color:#c8d8b2}.omega-hunt-sigil-copy213{display:grid;min-width:0}.omega-hunt-sigil-copy213 strong{font-size:12px;font-weight:700;color:#d2ded2}.omega-hunt-sigil-copy213 small{font-size:10px;color:#abc0b8}.omega-hunt-sigils213 .omega-hunt-button213{grid-column:2;margin-top:2px;justify-self:start}.omega-hunt-rewards213{margin-top:20px;padding-top:17px;border-top:1px solid #b6be983d}.omega-hunt-bounty213{display:flex;flex-wrap:wrap;gap:5px 16px;align-items:baseline;color:#cfdbc2;margin:7px 0 13px!important;font-size:12px}.omega-hunt-bounty213 strong{font:700 21px/1.3 Georgia;color:#f1d9a4}.omega-hunt-items213{display:grid;gap:10px}.omega-hunt-item213{display:flex;gap:12px;align-items:center;min-width:0;padding:9px;border:1px solid #a3b2a534;border-radius:9px;background:#132d38}.omega-hunt-gift213{position:relative;display:grid;place-items:center;flex:0 0 54px;height:62px;border-radius:7px;background:#24404b;color:#ddc998;font:30px Georgia;overflow:hidden}.omega-hunt-gear-image213{width:100%;height:100%;object-fit:contain;padding:4px}.omega-hunt-gear-image213.is-silhouette{filter:brightness(0) opacity(.65)}.omega-hunt-gift-question213{position:absolute;inset:0;display:grid;place-items:center;color:#ecdfbd;font:700 27px Georgia;text-shadow:0 2px 5px #07121a}.omega-hunt-gift-copy213{display:grid;gap:1px;min-width:0}.omega-hunt-gift-copy213>small{font-size:9px;color:#a9bfb9}.omega-hunt-gift-copy213>strong{font-size:12px;line-height:1.4;color:#e7e5ce}.omega-hunt-gift-copy213>.omega-hunt-item-state213{color:#cfbd94}.is-owned .omega-hunt-item-state213{color:#bbd8ac}.gl-omega-hunts213 .omega-hunt-earned213{margin-top:14px;font-size:11px;color:#c6dbb6}.gl-omega-hunts213 .omega-hunt-earned213+.omega-hunt-button213{margin-top:10px;width:100%}
html body .game-shell .gl-omega-hunts213 .omega-hunt-button213,.gl-omega-hunts213 .omega-hunt-button213{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;height:auto;max-width:100%;padding:10px 15px;border:1px solid #a6b9a9;border-radius:8px;background:#294b4c;color:#eff1de;font:750 12px/1.4 system-ui,sans-serif;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer;box-shadow:none}.gl-omega-hunts213 .omega-hunt-button213.is-primary{color:#263c37;background:#efd5a2;border-color:#f8e7c1}.gl-omega-hunts213 .omega-hunt-button213:hover:not(:disabled){border-color:#fff0c4;background:#385c59}.gl-omega-hunts213 .omega-hunt-button213.is-primary:hover:not(:disabled){background:#ffe6b5}.gl-omega-hunts213 .omega-hunt-button213:disabled{opacity:.5;cursor:default;transform:none}.gl-omega-hunts213 :is(button,h2):focus-visible{outline:3px solid #fff0bb;outline-offset:3px}.gl-omega-hunts213 .omega-hunts-notice213{padding:11px 13px;border:1px solid #a5b7a76b;border-radius:8px;background:#264a4a;color:#e1e8cd;font-size:12px;margin:0 0 15px}.gl-omega-hunts213 .omega-hunt-content213>.omega-hunts-notice213{margin-top:15px}.gl-omega-hunts213 .omega-hunts-notice213.is-error{border-color:#d7aa8c;background:#4c3b36;color:#ffe2c5}.gl-omega-hunts213 .omega-hunts-footnote213{margin-top:21px}.omega-hunts-footer213{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:21px;padding-top:17px;border-top:1px solid #b4c0a63d}.gl-omega-hunts213[aria-busy=true]{cursor:progress}@media(max-width:680px){.gl-omega-hunts213{padding:16px;border-radius:13px}.omega-hunts-header213{gap:12px}.omega-hunts-stamp213{flex-basis:58px}.omega-hunts-grid213{grid-template-columns:1fr;gap:16px}.omega-hunt-art213{height:190px}.omega-hunt-content213{padding:18px}.omega-hunts-footer213>.omega-hunt-button213{flex:1;min-width:100px}.omega-hunts-heading213>p{font-size:12px}.omega-hunts-eyebrow213{font-size:9px;letter-spacing:.08em}}@media(forced-colors:active){.omega-hunt-card213,.omega-hunt-item213{border-color:CanvasText}.omega-hunt-progress-track213>span{border:1px solid CanvasText}.omega-hunt-progress-track213>.is-complete{background:Highlight}.omega-hunt-question213{color:CanvasText}}


/* Original source: walkin-shop185.css; SHA256 2f24639180458cd9bcea872550b6e489e5255de5dd69a2023801b1f298a92336 */
/* Original Lantern Store. The scoped importance is intentional: the legacy
   game menu theme uses global !important declarations inside prism-ui.
   No selectors below change another dialog or the world HUD. */
@layer prism-ui {
html body #localShopDialog.walkin-shop-dialog185 {position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;box-sizing:border-box!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#102c2d!important;color:#fff3d8!important;box-shadow:none!important;}
html body #localShopDialog.walkin-shop-dialog185::backdrop {background:#071a20!important;}
html body #localShopDialog.walkin-shop-dialog185 > form {height:100%!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
html body #localShopDialog.walkin-shop-dialog185 > form > .dialog-head,html body #localShopDialog.walkin-shop-dialog185 #localShopSubtitle,html body #localShopDialog.walkin-shop-dialog185 .local-shop-scene {display:none!important;}
html body #localShopDialog.walkin-shop-dialog185 #localShopList {flex:1!important;height:100%!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important;gap:0!important;overflow:hidden!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 {--store-gold:#f4d39a!important;--store-ink:#102d2e!important;--store-light:#fff1d5!important;--store-muted:#b9d2c9!important;--store-border:#b2a87970!important;isolation:isolate!important;box-sizing:border-box!important;color:var(--store-light)!important;font:500 14px/1.5 Inter,system-ui,sans-serif!important;background:#123536!important;height:100%!important;min-height:0!important;overflow:hidden!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 * {box-sizing:border-box!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 [hidden] {display:none!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 :is(h2,h3,h4,p,blockquote,dl,dd) {margin:0!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 button {font-family:inherit!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-icon185 {display:block!important;width:23px!important;height:23px!important;flex:0 0 23px!important;overflow:visible!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-header185 {position:relative!important;z-index:3!important;display:flex!important;align-items:center!important;gap:24px!important;flex:0 0 auto!important;min-height:89px!important;padding:17px 34px!important;border-bottom:1px solid #c5bb865c!important;background:linear-gradient(115deg,#163a39,#193e3c 63%,#244a40)!important;box-shadow:0 6px 24px #041e224d!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-brand185 {display:flex!important;align-items:center!important;gap:13px!important;flex:1!important;min-width:0!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-brand185 > .store-icon185 {width:39px!important;height:39px!important;flex-basis:39px!important;color:var(--store-gold)!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-brand185 > div {min-width:0!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-eyebrow185 {display:block!important;font-size:10px!important;font-weight:750!important;line-height:1.4!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:#e4c68b!important;margin:0 0 4px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-title185 {font-size:clamp(18px,2.2vw,29px)!important;font-weight:780!important;line-height:1.15!important;letter-spacing:-.035em!important;color:#fff0d2!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-wallet185 {display:flex!important;align-items:center!important;gap:9px!important;padding:0 22px 0 4px!important;border-right:1px solid #c5bb8650!important;flex:0 0 auto!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-wallet185 > .store-icon185 {color:var(--store-gold)!important;width:22px!important;height:22px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-wallet185 small {display:block!important;font-size:10px!important;line-height:1.4!important;color:#bdd4bf!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-wallet185 strong {display:block!important;font-size:22px!important;font-weight:780!important;line-height:1.1!important;color:#fff0c9!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stage185 {display:grid!important;grid-template-columns:minmax(280px,.85fr) minmax(0,1.25fr)!important;flex:1!important;min-height:0!important;overflow:hidden!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner185 {position:relative!important;isolation:isolate!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-width:0!important;min-height:0!important;padding:38px 35px!important;overflow:hidden!important;background:#29483d!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-scenic185 {position:absolute!important;inset:0!important;z-index:-3!important;overflow:hidden!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-scenic185 > img {display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:43% 50%!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner185::after {content:''!important;position:absolute!important;inset:0!important;z-index:-1!important;background:linear-gradient(0deg,#0c282cec 0%,#12313285 26%,#14333205 63%),linear-gradient(90deg,transparent 70%,#153a3b60)!important;pointer-events:none!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-art185 {position:absolute!important;left:8%!important;right:8%!important;top:7%!important;bottom:142px!important;z-index:-2!important;display:flex!important;justify-content:center!important;align-items:flex-end!important;pointer-events:none!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-art185 > img {display:block!important;width:100%!important;height:100%!important;max-width:430px!important;object-fit:contain!important;object-position:center bottom!important;filter:drop-shadow(0 15px 17px #142d326b)!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-caption185 {position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-owner-caption185 > h3 {font-size:clamp(25px,3vw,40px)!important;font-weight:780!important;letter-spacing:-.04em!important;line-height:1.12!important;color:#fff3d8!important;text-shadow:0 3px 15px #092a2b!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-owner-caption185 > .store-eyebrow185 {margin:0!important;color:#f4d49d!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-panel185 {display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;background:linear-gradient(145deg,#193e3de8,#0e2e32f5)!important;border-left:1px solid #d2b87b50!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-nav185 {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;flex:0 0 auto!important;gap:5px!important;padding:17px 26px 14px!important;background:#153a3bd9!important;border-bottom:1px solid #c5bb8633!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185 {display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;max-width:100%!important;min-width:0!important;width:auto!important;min-height:44px!important;height:auto!important;margin:0!important;padding:11px 16px!important;border:1px solid #97b09a!important;border-radius:10px!important;background:#2b5147!important;color:#f4e8ca!important;box-shadow:none!important;text-shadow:none!important;font:720 12px/1.35 Inter,system-ui,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;cursor:pointer!important;transform:none!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185:hover:not(:disabled) {background:#365f50!important;border-color:#e2cd95!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185:disabled,html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item185:disabled {opacity:.53!important;cursor:default!important;transform:none!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185:focus-visible,html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item185:focus-visible {outline:3px solid #ffe2a6!important;outline-offset:3px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185 .store-icon185 {width:20px!important;height:20px!important;flex-basis:20px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--primary {background:#f1d39b!important;border-color:#fff1c5!important;color:#203e39!important;min-width:116px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--primary:hover:not(:disabled) {background:#ffe4ae!important;border-color:#fff5d9!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--exit {padding:9px 12px!important;background:#24493f!important;color:#f6e5be!important;font-size:11px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--tab {padding:9px 8px!important;border-color:transparent!important;border-radius:8px!important;background:transparent!important;color:#bbd3c6!important;font-size:12px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--tab.is-active {background:#e9ce94!important;color:#203e37!important;border-color:#f4deab!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--owner-talk {background:#163b36dc!important;border-color:#d5bc83!important;color:#f7e6c1!important;font-size:11px!important;margin-top:3px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-content185 {flex:1!important;min-height:0!important;min-width:0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;padding:28px 28px 30px!important;scroll-padding:18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-notice185 {padding:11px 14px!important;margin:0 0 18px!important;border:1px solid #aeae7f7d!important;border-radius:9px!important;background:#2c5043!important;color:#f3e4bf!important;font-size:12px!important;line-height:1.6!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-notice185.is-error {border-color:#d3a68e!important;background:#583e38!important;color:#ffe0cd!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-recovery185 {display:flex!important;justify-content:flex-end!important;margin:-6px 0 18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-welcome185 {max-width:720px!important;min-width:0!important;padding:12px 0!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-welcome185 > h3 {margin:13px 0 24px!important;font-size:clamp(29px,3.5vw,43px)!important;font-weight:760!important;letter-spacing:-.045em!important;line-height:1.15!important;color:#f9e9c7!important;max-width:520px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185 {padding:20px 23px!important;margin:0 0 25px!important;border:1px solid #a0af8452!important;border-left:3px solid #debd80!important;border-radius:0 13px 13px 0!important;background:#2a4c412e!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185 > p {font-size:16px!important;line-height:1.8!important;color:#e0e4ca!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185 > cite {display:block!important;margin-top:13px!important;font-size:11px!important;font-style:normal!important;font-weight:700!important;color:#ddb985!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-choices185 {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--choice {justify-content:flex-start!important;display:grid!important;grid-template-columns:35px minmax(0,1fr)!important;column-gap:11px!important;row-gap:3px!important;text-align:left!important;padding:16px 18px!important;background:#234a42!important;border-color:#869c7966!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--choice > .store-icon185 {grid-column:1!important;grid-row:1 / 3!important;width:27px!important;height:27px!important;color:#ead099!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--choice > span {font-size:15px!important;line-height:1.3!important;color:#f5e5bf!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--choice > small {grid-column:2!important;font-size:11px!important;font-weight:500!important;line-height:1.5!important;color:#bdd0bc!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-footnote185 {margin:23px 0 0!important;font-size:11px!important;line-height:1.7!important;color:#adcbbd!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-section-head185 {margin:0 0 18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-section-head185 > h3 {color:#f0dfb8!important;font-size:25px!important;font-weight:760!important;line-height:1.2!important;letter-spacing:-.035em!important;margin-bottom:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-section-head185 > p {color:#b9d0c2!important;font-size:11px!important;line-height:1.7!important;max-width:600px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-filters185 {display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0 0 18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--filter {padding:6px 10px!important;min-height:35px!important;font-size:10px!important;border-radius:7px!important;border-color:#7f9b8066!important;background:#193d3b!important;color:#bed2c0!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--filter.is-active {background:#395b48!important;color:#f4dfad!important;border-color:#bdbd85!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail185 {display:grid!important;grid-template-columns:105px minmax(0,1fr)!important;gap:14px 17px!important;padding:20px!important;margin:0 0 21px!important;border:1px solid #b3ac7b8a!important;border-radius:14px!important;background:linear-gradient(135deg,#3151436b,#1e403c)!important;box-shadow:0 8px 23px #061f2224!important;min-width:0!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-art185 {position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;isolation:isolate!important;width:66px!important;min-width:0!important;height:83px!important;padding:6px!important;background:radial-gradient(ellipse at center,#8daf7430,transparent 72%)!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-art185 > img {display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;filter:drop-shadow(0 4px 5px #102e3a35)!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-art185 > .store-icon185 {width:32px!important;height:32px!important;color:#d0c88a!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-art185.is-mystery > img {filter:brightness(0) saturate(0) drop-shadow(0 0 7px #c5ddbf60)!important;opacity:.83!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-mystery185 {position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;color:#fce8b9!important;font-size:28px!important;line-height:1!important;font-weight:800!important;text-shadow:0 2px 4px #0d2c34!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail-art185 {width:105px!important;height:136px!important;padding:8px!important;align-self:center!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail-art185 .store-mystery185 {font-size:43px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail-copy185 {min-width:0!important;align-self:center!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-detail-copy185 > h4 {font-size:20px!important;line-height:1.25!important;font-weight:760!important;letter-spacing:-.025em!important;color:#fff0ce!important;margin:0 0 8px!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-description185 {font-size:11px!important;line-height:1.7!important;color:#c8d8c2!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stats185 {display:flex!important;flex-wrap:wrap!important;gap:5px 13px!important;margin-top:11px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stats185 > div {display:flex!important;align-items:baseline!important;gap:5px!important;font-size:10px!important;line-height:1.6!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stats185 dt {color:#b5c9ae!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stats185 dd {color:#f4dda7!important;font-weight:750!important;margin:0!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-owned185 {margin-top:9px!important;font-size:10px!important;line-height:1.5!important;font-weight:700!important;color:#d8c991!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-purchase185 {grid-column:1 / -1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px 13px!important;min-width:0!important;padding-top:13px!important;border-top:1px solid #9faf8040!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-price185 {font-size:16px!important;font-weight:780!important;line-height:1.3!important;color:#f9dba2!important;margin-right:auto!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-purchase185 > small {font-size:10px!important;color:#b6cbb7!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-reason185 {flex:1 0 100%!important;font-size:10px!important;line-height:1.65!important;color:#d8c6a8!important;text-align:right!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-shelves185 {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item185 {display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;max-width:100%!important;min-height:111px!important;height:auto!important;margin:0!important;padding:9px 11px!important;border:1px solid #6f92796b!important;border-radius:11px!important;background:#153a3a!important;color:#eee2bf!important;text-align:left!important;white-space:normal!important;box-shadow:none!important;cursor:pointer!important;transform:none!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item185:hover:not(:disabled) {background:#254b42!important;border-color:#c3b780!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item185.is-selected {background:#345443!important;border-color:#ebcd91!important;box-shadow:inset 0 0 0 1px #d8c48c45!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-item185 > .store-art185 {flex:0 0 66px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-item-copy185 {display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item-copy185 > strong {font:730 12px/1.4 Inter,system-ui,sans-serif!important;color:#efdfb7!important;overflow-wrap:anywhere!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item-copy185 > small {font:600 10px/1.4 Inter,system-ui,sans-serif!important;color:#c2d2b7!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-lock185 {font-size:9px!important;line-height:1.4!important;color:#c1b8a3!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-empty185 {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;padding:28px 23px!important;border:1px dashed #91a67a8c!important;border-radius:13px!important;background:#24473e50!important;min-width:0!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-empty185 > .store-icon185 {color:#c9c18b!important;width:40px!important;height:40px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-empty185 > h3 {font-size:21px!important;line-height:1.3!important;color:#ecdfb6!important;letter-spacing:-.025em!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-empty185 > p {font-size:12px!important;line-height:1.7!important;color:#b4cdbb!important;}
@media(min-width:1500px) {
html body #localShopDialog.walkin-shop-dialog185 .store-stage185 {grid-template-columns:minmax(390px,1fr) minmax(0,1.2fr)!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-content185 {padding:35px 40px 40px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-nav185 {padding-left:40px!important;padding-right:40px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner185 {padding:44px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-art185 {bottom:160px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail185 {grid-template-columns:135px minmax(0,1fr)!important;padding:24px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail-art185 {width:135px!important;height:160px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-shelves185 {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-item185>.store-art185 {width:60px!important;flex-basis:60px!important;}
}
@media(max-width:1000px) {
html body #localShopDialog.walkin-shop-dialog185 .store-header185 {padding:14px 22px!important;gap:15px!important;min-height:78px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stage185 {grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr)!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner185 {padding:28px 22px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-art185 {left:4%!important;right:4%!important;bottom:158px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-nav185 {padding:14px 17px 12px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-content185 {padding:22px 18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail185 {grid-template-columns:86px minmax(0,1fr)!important;padding:15px!important;gap:12px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail-art185 {width:86px!important;height:124px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-shelves185 {gap:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item185 {padding:8px!important;gap:4px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-item185>.store-art185 {width:54px!important;flex-basis:54px!important;height:76px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-welcome185>h3 {font-size:33px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-wallet185 {padding-right:15px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail-copy185>.store-eyebrow185 {font-size:9px!important;}
}
@media(max-width:720px) {
html body #localShopDialog.walkin-shop-dialog185 .store-header185 {gap:10px!important;min-height:67px!important;padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left))!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-brand185 {gap:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-brand185>.store-icon185 {width:27px!important;height:27px!important;flex-basis:27px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-eyebrow185 {font-size:8px!important;letter-spacing:.08em!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-title185 {font-size:16px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-wallet185 {gap:5px!important;padding-right:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-wallet185>.store-icon185 {width:16px!important;height:16px!important;flex-basis:16px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-wallet185 small {font-size:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-wallet185 strong {font-size:18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--exit {padding:8px!important;font-size:10px!important;gap:4px!important;max-width:84px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--exit .store-icon185 {width:17px!important;height:17px!important;flex-basis:17px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stage185 {display:flex!important;flex-direction:column!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner185 {flex:0 0 160px!important;min-height:160px!important;padding:15px 18px!important;justify-content:center!important;border-bottom:1px solid #d6b98068!important;overflow:hidden!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-scenic185>img {object-position:center 52%!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner185::after {background:linear-gradient(90deg,#153332a8 0%,#1637344d 58%,#14353220 100%),linear-gradient(0deg,#123032a1,transparent 65%)!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-art185 {top:5px!important;bottom:5px!important;left:auto!important;right:14px!important;width:135px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-art185>img {width:100%!important;height:100%!important;object-fit:contain!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-caption185 {max-width:calc(100% - 150px)!important;gap:5px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-owner-caption185>h3 {font-size:25px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--owner-talk {font-size:10px!important;padding:7px 10px!important;min-height:38px!important;gap:6px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-caption185 .store-icon185 {width:17px!important;height:17px!important;flex-basis:17px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-panel185 {flex:1!important;min-height:0!important;border-left:0!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-nav185 {padding:9px 11px 8px!important;gap:5px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--tab {min-height:40px!important;padding:7px 5px!important;font-size:11px!important;gap:5px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-button185--tab .store-icon185 {width:17px!important;height:17px!important;flex-basis:17px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-content185 {padding:18px 14px max(24px,env(safe-area-inset-bottom))!important;scrollbar-gutter:auto!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-welcome185>h3 {font-size:29px!important;max-width:400px!important;margin:8px 0 18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185 {padding:14px 16px!important;margin-bottom:18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185>p {font-size:13px!important;line-height:1.75!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185>cite {font-size:10px!important;margin-top:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--choice {padding:13px 14px!important;grid-template-columns:28px minmax(0,1fr)!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--choice>span {font-size:14px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--choice>small {font-size:10px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-section-head185 {margin-bottom:14px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-section-head185>h3 {font-size:23px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-section-head185>p {font-size:10px!important;line-height:1.6!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-filters185 {gap:5px!important;margin-bottom:14px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--filter {padding:6px 9px!important;min-height:34px!important;font-size:10px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail185 {padding:13px!important;grid-template-columns:77px minmax(0,1fr)!important;gap:10px 12px!important;margin-bottom:15px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail-art185 {width:77px!important;height:112px!important;padding:4px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-detail-copy185>h4 {font-size:18px!important;margin-bottom:6px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-description185 {font-size:10px!important;line-height:1.6!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stats185 {gap:3px 10px!important;margin-top:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-stats185>div {font-size:9px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-owned185 {font-size:9px!important;margin-top:7px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-purchase185 {padding-top:11px!important;gap:7px 10px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-price185 {font-size:15px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--primary {min-height:43px!important;padding:10px 13px!important;font-size:11px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-reason185 {font-size:9px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-shelves185 {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item185 {min-height:94px!important;padding:7px!important;gap:4px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-item185>.store-art185 {width:47px!important;flex-basis:47px!important;height:73px!important;padding:2px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item-copy185>strong {font-size:10px!important;line-height:1.4!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-item-copy185>small {font-size:9px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-lock185 {font-size:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-notice185 {font-size:11px!important;padding:10px 12px!important;margin-bottom:14px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-empty185 {padding:22px 18px!important;}
}
@media(max-width:380px) {
html body #localShopDialog.walkin-shop-dialog185 .store-header185 {gap:7px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-brand185>.store-icon185 {display:none!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-title185 {font-size:15px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-wallet185 {padding-right:6px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--exit {max-width:72px!important;font-size:9px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner185 {flex-basis:145px!important;min-height:145px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-art185 {right:8px!important;width:120px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-caption185 {max-width:calc(100% - 125px)!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-owner-caption185>h3 {font-size:23px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--owner-talk {font-size:9px!important;padding:7px 8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-content185 {padding:16px 11px 23px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail185 {grid-template-columns:65px minmax(0,1fr)!important;padding:11px!important;gap:9px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-detail-art185 {width:65px!important;height:104px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-detail-copy185>h4 {font-size:16px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-item185>.store-art185 {width:39px!important;flex-basis:39px!important;height:67px!important;}
}
@media(max-height:600px) and (min-width:721px) {
html body #localShopDialog.walkin-shop-dialog185 .store-header185 {min-height:66px!important;padding-top:10px!important;padding-bottom:10px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner185 {padding:21px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-owner-art185 {top:4%!important;bottom:120px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-owner-caption185>h3 {font-size:27px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-nav185 {padding-top:10px!important;padding-bottom:9px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-content185 {padding-top:18px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-welcome185>h3 {font-size:29px!important;margin:9px 0 16px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185 {padding:14px 17px!important;margin-bottom:17px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185>p {font-size:13px!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--choice {padding:12px 15px!important;}
}
@media(max-height:550px) and (max-width:720px) {
html body #localShopDialog.walkin-shop-dialog185 .store-owner185 {display:none!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-header185 {min-height:58px!important;padding-top:8px!important;padding-bottom:8px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-nav185 {padding-top:6px!important;padding-bottom:6px!important;}
html body #localShopDialog.walkin-shop-dialog185 .store-content185 {padding-top:13px!important;}
}
@media(prefers-reduced-motion:reduce) {
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 * {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
}
@layer prism-ui {
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185 > :is(span,svg) {color:inherit!important;}
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-button185--tab.is-active:hover:not(:disabled) {background:#f2d79e!important;color:#203e37!important;border-color:#fff0bf!important;}
}

/* Original source: prismstorm185.css; SHA256 113a972dc98330ebd5f5604555fbffa7f49552b77615df30c9008948948e3824 */
/* The host is positioned by the main HUD; this module owns only its button. */
@layer prism-ui {
 html body .game-shell .hud .mega-dock.has-prismstorm185 { width:458px!important; max-width:calc(100vw - 24px)!important; align-items:stretch; }
 html body .game-shell .hud .mega-dock .prismstorm-host185 { flex:0 0 146px; align-self:center; }
 @media(max-width:900px) {
  html body .game-shell .hud .mega-dock.has-prismstorm185 { width:238px!important; flex-wrap:wrap; }
  html body .game-shell .hud .mega-dock .prismstorm-host185 { flex:1 0 100%; width:100%; }
 }
 @media(max-width:600px) { html body .game-shell .hud .mega-dock.has-prismstorm185 { width:calc(100vw - 190px)!important; max-width:180px!important; } }
 @media(max-height:480px) { html body .game-shell .hud .mega-dock.has-prismstorm185 .prismstorm-button185 { min-height:34px; padding:3px 8px; } }
}
html body .game-shell .prismstorm-host185[hidden] { display:none!important; }
html body .game-shell .prismstorm-host185 { min-width:0; width:148px; max-width:100%; }
html body .game-shell .prismstorm-button185 { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 8px; align-items:center; width:100%; min-height:44px; padding:7px 10px; border:1px solid #9a8bba; border-radius:10px; color:#f3e8cd; background:linear-gradient(125deg,#273b50,#3e3158); box-shadow:0 2px 10px #10162455; cursor:pointer; }
html body .game-shell .prismstorm-button185:disabled { cursor:default; opacity:.78; }
html body .game-shell .prismstorm-button185.is-ready { border-color:#f1d89a; background:linear-gradient(125deg,#364d57,#54436c); box-shadow:0 0 12px #d6b9e74a; }
html body .game-shell .prismstorm-button185:focus-visible { outline:2px solid #f5dfaa; outline-offset:3px; }
html body .game-shell .prismstorm-title185 { font-size:11px; line-height:1.25; font-weight:850; overflow-wrap:anywhere; text-align:left; }
html body .game-shell .prismstorm-readout185 { font-size:10px; line-height:1.25; color:#f0dca9; }
html body .game-shell .prismstorm-track185 { grid-column:1/-1; height:4px; border-radius:4px; background:#151c31; overflow:hidden; }
html body .game-shell .prismstorm-fill185 { display:block; height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg,#92d8d9,#beaaef,#f1d69b); }
@media(max-width:600px) { html body .game-shell .prismstorm-host185 { width:126px; } html body .game-shell .prismstorm-button185 { padding:6px 8px; gap:3px 6px; } html body .game-shell .prismstorm-title185 { font-size:10px; } html body .game-shell .prismstorm-readout185 { font-size:9px; } }


/* Original source: dialogue187.css; SHA256 759675a6fd536e5c8ce73ae303f48e2fcc87a9b693f46cc92232a7adaa21b6e6 */
/* Authored conversation text remains selectable and fully scrollable. */
html body .gl-keepers185 .keeper-clue-text185,
html body .gl-keepers185 .keeper-world-hint185,
html body #dialogueDialog #dialogueText,
html body #dialogueDialog .dialogue-speaker,
html body #localShopDialog.walkin-shop-dialog185 .gl-walkin-shop185 .store-greeting185 > p {
  white-space: pre-line !important;
  overflow-wrap: anywhere !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
}
html body #dialogueDialog :is(.dialogue-scroll, .dialogue-speaker, #dialogueText) {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Keep the conversation controls in reach on phones and short landscapes. */
@layer prism-ui {
@media (max-width: 600px), (max-height: 600px) {
  html body .game-shell #dialogueDialog {
    width: min(720px, calc(100vw - 24px)) !important;
    max-height: calc(100dvh - 24px) !important;
    overflow: hidden !important;
  }
  html body .game-shell #dialogueDialog form {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 12px !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 58px) !important;
    overflow: hidden !important;
  }
  html body .game-shell #dialogueDialog .dialog-head {
    margin-bottom: 0 !important;
    padding-bottom: 8px !important;
  }
  html body .game-shell #dialogueDialog .dialog-head strong {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  html body .game-shell #dialogueDialog .shop-note {
    margin: 7px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  html body .game-shell #dialogueDialog .dialogue-stage {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  html body .game-shell #dialogueDialog .dialogue-portrait {
    width: 56px !important;
    height: 90px !important;
    min-height: 90px !important;
  }
  html body .game-shell #dialogueDialog .dialogue-portrait::before {
    height: 56px !important;
    margin-bottom: 30px !important;
  }
  html body .game-shell #dialogueDialog .dialogue-portrait--npc {
    display: none !important;
  }
  html body .game-shell #dialogueDialog .dialogue-scroll {
    min-height: 0 !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 10px !important;
  }
  html body .game-shell #dialogueDialog .dialogue-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
  }
  html body .game-shell #dialogueDialog .dialogue-actions > button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 8px 5px !important;
    font-size: 11px !important;
    white-space: normal !important;
  }
}
}


/* Original source: save-slots187.css; SHA256 765d58c10174808990c574bdff2d19958b4f9f00d84360c0927aafc77677ba96 */
/* Save cards own their layout; no fixed row height or clipped translations. */
#loginScreen #saveSlotList .save-slot187-list { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; min-width:0!important; margin:10px 0 0!important; }
#loginScreen #saveSlotList { overflow-x:visible!important; min-width:0!important; }
#loginScreen #saveSlotList .save-slot187-card { display:flex!important; flex-direction:column!important; gap:10px!important; width:100%!important; min-width:0!important; min-height:0!important; height:auto!important; margin:0!important; padding:13px!important; color:#eceafc!important; text-align:left!important; white-space:normal!important; overflow:visible!important; border:1px solid #736a9c!important; border-radius:15px!important; background:linear-gradient(145deg,#27263e,#181c31)!important; box-shadow:inset 0 1px 0 #ffffff16,0 5px 13px #17152f20!important; transition:border-color .15s,box-shadow .15s!important; }
#loginScreen #saveSlotList .save-slot187-card:hover { border-color:#d7c998!important; }
#loginScreen #saveSlotList .save-slot187-card.is-selected { border-color:#f7d480!important; background:linear-gradient(145deg,#353149,#1d2540)!important; box-shadow:0 0 0 2px #f4d28a32,inset 0 1px 0 #fff4d726!important; }
#loginScreen #saveSlotList .save-slot187-card:focus-visible { outline:3px solid #7ae5ed!important; outline-offset:3px!important; }
#loginScreen #saveSlotList .save-slot187-card :is(span,strong,small,time) { min-width:0!important; max-width:100%!important; white-space:normal!important; text-overflow:clip!important; overflow:visible!important; overflow-wrap:anywhere!important; position:static!important; transform:none!important; }
#loginScreen #saveSlotList .save-slot187-head { display:flex!important; flex-wrap:wrap!important; justify-content:space-between!important; align-items:center!important; gap:5px!important; }
#loginScreen #saveSlotList .save-slot187-index { color:#c9c2e7!important; font-size:.68rem!important; font-weight:850!important; letter-spacing:.06em!important; text-transform:uppercase!important; }
#loginScreen #saveSlotList .save-slot187-selected { color:#ffe6a8!important; font-size:.65rem!important; font-weight:850!important; padding:3px 6px!important; border-radius:6px!important; background:#f6d79516!important; }
#loginScreen #saveSlotList .save-slot187-hero { display:flex!important; align-items:center!important; gap:10px!important; }
#loginScreen #saveSlotList .save-slot187-portrait { width:64px!important; height:76px!important; min-width:64px!important; flex:none!important; display:grid!important; place-items:center!important; border-radius:12px!important; background:radial-gradient(ellipse at center,#7765a244,transparent 72%)!important; }
#loginScreen #saveSlotList .save-slot187-portrait > * { grid-area:1/1!important; }
#loginScreen #saveSlotList .save-slot187-portrait > .save-slot187-initial[hidden] { display:none!important; }
#loginScreen #saveSlotList .save-slot187-portrait img { display:block!important; max-width:100%!important; max-height:100%!important; width:100%!important; height:100%!important; object-fit:contain!important; object-position:center!important; }
#loginScreen #saveSlotList .save-slot187-initial { color:#e3d8ff!important; font-size:1.7rem!important; font-weight:900!important; }
#loginScreen #saveSlotList .save-slot187-identity { display:flex!important; flex:1!important; flex-direction:column!important; align-items:flex-start!important; gap:4px!important; }
#loginScreen #saveSlotList .save-slot187-name { color:#fff3d8!important; font:900 .98rem/1.2 var(--gk-body-font,system-ui)!important; }
#loginScreen #saveSlotList .save-slot187-location { color:#d5e5f7!important; font-size:.76rem!important; line-height:1.3!important; font-weight:700!important; }
#loginScreen #saveSlotList .save-slot187-level { color:#bfb5db!important; font-size:.66rem!important; line-height:1.3!important; }
#loginScreen #saveSlotList .save-slot187-details { display:grid!important; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important; gap:10px!important; border-block:1px solid #9385af33!important; padding-block:9px!important; }
#loginScreen #saveSlotList .save-slot187-detail { display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:5px!important; line-height:1.3!important; }
#loginScreen #saveSlotList .save-slot187-label { color:#b9b2d6!important; font-size:.64rem!important; font-weight:650!important; }
#loginScreen #saveSlotList .save-slot187-value { color:#f6f2ff!important; font-size:.75rem!important; font-weight:850!important; line-height:1.35!important; }
#loginScreen #saveSlotList .save-slot187-played .save-slot187-value { color:#a7f0e0!important; font-size:1rem!important; font-variant-numeric:tabular-nums!important; letter-spacing:.035em!important; }
#loginScreen #saveSlotList .save-slot187-relative { color:#c7c0dc!important; font-size:.61rem!important; line-height:1.3!important; font-weight:550!important; }
#loginScreen #saveSlotList .save-slot187-progress { display:flex!important; flex-wrap:wrap!important; gap:5px 12px!important; color:#e1d6b9!important; font-size:.65rem!important; line-height:1.3!important; font-weight:750!important; }
#loginScreen #saveSlotList .save-slot187-card.is-empty { border-style:dashed!important; background:linear-gradient(145deg,#27263edd,#181c31dd)!important; justify-content:flex-start!important; }
#loginScreen #saveSlotList .save-slot187-card.is-empty .save-slot187-portrait { background:#d6c5fb0c!important; border:1px dashed #d6c5fb55!important; }
#loginScreen #saveSlotList .save-slot187-note { margin:10px 2px 3px!important; color:#c9c4d9!important; font-size:.7rem!important; line-height:1.45!important; white-space:normal!important; }
@media(max-width:560px) { #loginScreen #saveSlotList .save-slot187-list { grid-template-columns:minmax(0,1fr)!important; } #loginScreen #saveSlotList .save-slot187-portrait { width:58px!important; min-width:58px!important; height:68px!important; } }
@media(prefers-reduced-motion:reduce) { #loginScreen #saveSlotList .save-slot187-card { transition:none!important; } }

.save-linked225{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.save-linked225 button{flex:1;min-height:44px;white-space:normal;line-height:1.35}.save-linked225 button[aria-current="true"]{outline:2px solid #a9e1d0;outline-offset:2px}
#playerLevel[data-encore225="NG+"]::after{content:"NG+";display:inline-block;margin-left:5px;padding:1px 5px;border:1px solid #cbb2ff80;border-radius:10px;background:#bba0ff22;color:#ecddff;font-size:9px;font-weight:850;line-height:1.3;vertical-align:middle}

/* The global form theme colors nested spans directly. Keep every save-summary
   value readable on the card, including its quest/star/item children. */
#loginScreen #saveSlotList .save-slot187-card .save-slot187-progress,
#loginScreen #saveSlotList .save-slot187-card .save-slot187-progress > span {
  color:#e1d6b9!important; font-size:.72rem!important; line-height:1.45!important;
}


/* Original source: mega-gauge197.css; SHA256 a9f69db19d2f0dcdb311f4071bf51b5be34563cdaf4895b88d9d346f7c493fec */
/* A separate summon orb beside Solve. Charge only updates one paint property. */
@layer prism-ui {
 /* Keep Solve last so its separately positioned summon orb never overlaps Menu. */
 html body .game-shell .hud #toolsToggleButton{order:-1}
 html body .game-shell .hud .ability-bar:not(.is-custom-position){left:calc(50% - 40px)!important;max-width:calc(100vw - 96px)!important;bottom:calc(env(safe-area-inset-bottom,0px) + 20px)!important}
 html body .game-shell .hud #megaDock{position:absolute!important;left:var(--mega-left197,calc(50% + 155px))!important;right:auto!important;top:auto!important;bottom:var(--mega-bottom197,18px)!important;transform:none!important;display:flex!important;flex-direction:column;align-items:center;gap:3px;width:68px!important;min-width:0!important;max-width:68px!important;height:auto;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#f9e9bd;z-index:6;pointer-events:auto}
 html body .game-shell .hud #megaDock[hidden]{display:none!important}
 html body .game-shell .hud .mega-orb197{position:relative;display:grid;place-items:center;width:64px;height:64px;isolation:isolate;filter:drop-shadow(0 3px 7px #070b2590)}
 html body .game-shell .hud #megaProgress{position:absolute;inset:0!important;width:100%;height:100%!important;border-radius:50%;background:conic-gradient(from -90deg,#f3d49e var(--mega-charge,0%),#82729f66 0);box-shadow:inset 0 0 0 1px #e1cffb66,0 0 0 1px #10182d}
 html body .game-shell .hud #megaProgress::after{content:"";position:absolute;inset:4px;border-radius:50%;background:#151d31;box-shadow:inset 0 1px 5px #02061190}
 html body .game-shell .hud #megaFill{display:none!important}
 html body .game-shell .hud #megaCastButton{position:relative;inset:auto;display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:0;width:52px;height:52px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid #82709f88;border-radius:50%;overflow:visible;background:radial-gradient(circle at 40% 20%,#41445e,#1d263d 80%);color:#f3e9ff;text-align:center;box-shadow:inset 0 1px 3px #ffffff16;cursor:pointer}
 html body .game-shell .hud #megaCastButton:disabled{opacity:.82;cursor:default}
 html body .game-shell .hud #megaCastButton.is-ready{opacity:1;background:radial-gradient(circle at 40% 20%,#78618c,#3c345b 85%);border-color:#ffdf9e;box-shadow:inset 0 0 12px #f2d6a730,0 0 14px #e3b9f036}
 html body .game-shell .hud #megaDockLabel{position:absolute;top:50%;left:50%;transform:translateX(-50%);font:700 9px/1.2 system-ui,sans-serif;letter-spacing:0;color:inherit;max-width:none;white-space:nowrap;overflow:visible;overflow-wrap:normal}
 html body .game-shell .hud .mega-summon-icon197{position:absolute;top:6px;left:50%;transform:translateX(-50%);display:block;flex:none;width:19px;height:19px;fill:#e8d4ff;filter:drop-shadow(0 0 3px #b89bfc77)}
 html body .game-shell .hud #megaHotkey{position:absolute;top:4px;right:8px;font:600 7px/1 system-ui,sans-serif;color:#d1bddc;opacity:.8}
 html body .game-shell .hud #megaReadout{display:block;grid-column:auto;font:750 11px/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.025em;color:#fae3b5;text-shadow:0 1px 3px #070b19}
 html body .game-shell .hud .mega-sr197{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
 html body .game-shell .hud #megaDock.is-charged .mega-orb197::before{content:"";position:absolute;inset:-4px;border:1px solid #ffdf9f99;border-radius:50%;box-shadow:0 0 14px 3px #ffd57870;pointer-events:none;animation:mega-ready198 1.8s ease-in-out infinite}
 html body .game-shell .hud #megaDock.is-charged #megaProgress{box-shadow:0 0 0 1px #fff3c9,0 0 10px #ffd06faa}
 html body .game-shell .hud #megaDock.is-charged #megaCastButton{opacity:1;background:radial-gradient(circle at 40% 20%,#b08ab5,#5b4879 75%);border-color:#fff0b7;color:#fff8dc;box-shadow:inset 0 0 12px #ffd77a55}
 html body .game-shell .hud #megaDock.is-charged #megaReadout{color:#fff1ba;text-shadow:0 0 6px #ffd36f90,0 1px 3px #070b19}
 @keyframes mega-ready198{0%,100%{opacity:.4}50%{opacity:1}}
 html body .game-shell .hud .hud-tools #megaFriendsButton{flex:0 0 auto;min-width:44px;min-height:44px;font-family:inherit!important;line-height:inherit!important;overflow:visible}
 html body .game-shell .hud .ability-icon--friends197{background-image:none!important;display:block;position:relative}
 html body .game-shell .hud .ability-icon--friends197 svg{display:block;width:100%;height:100%;fill:#d9bdf1;filter:drop-shadow(0 0 3px #bd9be74d)}
 html body .game-shell .hud .prismstorm-host185{position:absolute;left:50%;bottom:var(--hud-prism-bottom197,110px);transform:translateX(-50%);width:148px;max-width:calc(100vw - 20px);z-index:6;pointer-events:auto}
 @media(max-width:980px){
  html body .game-shell .hud .ability-bar:not(.is-custom-position){width:min(381px,calc(100vw - 96px))!important;max-width:calc(100vw - 96px)!important}
 }
 @media(max-width:600px){
  html body .game-shell .hud .ability-bar:not(.is-custom-position){left:calc(50% - 36px)!important;width:min(381px,calc(100vw - 88px))!important;max-width:calc(100vw - 88px)!important;padding:5px!important;gap:3px!important}
  html body .game-shell .hud .ability-bar>.ability-button{height:58px!important;min-width:44px!important}
  html body .game-shell .hud #megaDock{width:62px!important;max-width:62px!important}
  html body .game-shell .hud .mega-orb197{width:58px;height:58px}
  html body .game-shell .hud #megaCastButton{width:46px;height:46px}
  html body .game-shell .hud .mega-summon-icon197{top:5px;width:17px;height:17px}
  html body .game-shell .hud #megaHotkey{display:none}
  html body .game-shell .hud .hud-tools #megaFriendsButton{width:100%!important}
 }
 @media(max-width:380px){
  html body .game-shell .hud .ability-bar:not(.is-custom-position){left:calc(50% - 30px)!important;width:calc(100vw - 76px)!important;max-width:calc(100vw - 76px)!important;padding:4px!important;gap:2px!important}
  html body .game-shell .hud #megaDock{width:54px!important;max-width:54px!important}
  html body .game-shell .hud .mega-orb197{width:52px;height:52px}
  html body .game-shell .hud #megaCastButton{width:44px;height:44px}
  html body .game-shell .hud #megaDockLabel{font-size:8.5px}
  html body .game-shell .hud .mega-summon-icon197{top:4px;width:16px;height:16px}
  html body .game-shell .hud #megaProgress::after{inset:3px}
 }
 @media(max-width:340px){html body .game-shell .hud .ability-bar>.ability-button{min-width:37px!important}html body .game-shell .hud .ability-bar .ability-icon{width:25px!important;height:25px!important}}
 @media(prefers-reduced-motion:reduce){html body .game-shell .hud #megaDock *,html body .game-shell .hud #megaDock ::before{transition:none!important;animation:none!important}}
}


/* Original source: progression-celebration199.css; SHA256 ea057b1953a7e4d96a523d98a84f11fc36087313ef622767ec8415af7810ce59 */
/* A brief earned-level hero card; the world and bottom controls keep working. */
@layer prism-ui {
  .gl-progress199 { position:fixed; inset:0; z-index:109; pointer-events:none; isolation:isolate; contain:layout style; color:#fff6e8; font-family:inherit; }
  .gl-progress199-card { box-sizing:border-box; position:absolute; top:clamp(86px,17vh,164px); left:50%; transform:translateX(-50%); width:min(590px,calc(100% - 28px)); min-height:175px; display:grid; grid-template-columns:minmax(0,1fr); align-items:center; padding:23px 54px 23px 28px; gap:16px; border:1px solid #e8c887c4; border-radius:26px; background:radial-gradient(ellipse at 14% 20%,#547d7b66,transparent 55%),linear-gradient(125deg,#16383df5,#242a48f5 58%,#3f2d51f5); box-shadow:0 16px 52px #06182588,0 0 32px #f1c87826,inset 0 0 26px #b3f5dc0d; animation:gl-progress199-enter 320ms ease-out both; }
  .gl-progress199-card::before { content:""; position:absolute; left:25px; right:25px; top:0; height:1px; background:linear-gradient(90deg,transparent,#fff5c5,transparent); }
  .gl-progress199-card.has-hero { grid-template-columns:140px minmax(0,1fr); padding-left:14px; }
  .gl-progress199-copy { grid-column:1; min-width:0; }
  .gl-progress199-card.has-hero .gl-progress199-copy { grid-column:2; }
  .gl-progress199-hero { grid-column:1; grid-row:1; display:block; align-self:center; justify-self:center; width:140px; height:162px; object-fit:contain; object-position:center; filter:drop-shadow(0 5px 12px #07181c77); }
  .gl-progress199-eyebrow { margin:0 0 6px!important; font-size:11px!important; font-weight:800!important; line-height:1.35!important; letter-spacing:.17em; text-transform:uppercase; color:#eccc90!important; overflow-wrap:anywhere; }
  .gl-progress199-level { margin:0!important; font-size:clamp(29px,4.2vw,42px)!important; font-weight:850!important; line-height:1.1!important; color:#fff4d5!important; text-shadow:0 2px 12px #f0cb7544; white-space:normal!important; text-overflow:clip!important; overflow:visible!important; overflow-wrap:anywhere; }
  .gl-progress199-name { margin:7px 0 0!important; color:#e3eeed!important; font-size:14px!important; line-height:1.3!important; overflow-wrap:anywhere; }
  .gl-progress199-multiple { margin:5px 0 0!important; color:#aee9dc!important; font-size:12px!important; line-height:1.3!important; }
  .gl-progress199-gains { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0!important; margin:13px 0 0!important; }
  .gl-progress199-gain { max-width:100%; min-width:0; display:inline-flex; gap:6px; align-items:center; padding:5px 8px!important; margin:0!important; border:1px solid #8dbab642; border-radius:9px; background:#0e282d88; font-size:11px!important; line-height:1.25!important; color:#c8dfd9!important; }
  .gl-progress199-gain span { min-width:0; overflow-wrap:anywhere; }
  .gl-progress199-gain strong { flex-shrink:0; color:#f5dda4!important; font-weight:800; font-size:12px; }
  button.gl-progress199-close { position:absolute; top:6px; right:6px; display:grid; place-items:center; width:44px; min-width:44px; height:44px; min-height:44px; margin:0!important; padding:0!important; border:0!important; border-radius:50%!important; background:transparent!important; color:#e6dfc9!important; font-size:25px!important; line-height:1!important; box-shadow:none!important; cursor:pointer; pointer-events:auto; touch-action:manipulation; }
  button.gl-progress199-close:hover { background:#d7ebdc18!important; }
  button.gl-progress199-close:focus-visible { outline:3px solid #ffe8ac; outline-offset:-4px; }
  @keyframes gl-progress199-enter { from { opacity:0; transform:translate(-50%,8px) scale(.98); } to { opacity:1; transform:translate(-50%,0) scale(1); } }
  @media(max-width:600px) {
    .gl-progress199-card { top:clamp(100px,17vh,144px); min-height:158px; gap:8px; padding:19px 42px 19px 18px; border-radius:22px; }
    .gl-progress199-card.has-hero { grid-template-columns:91px minmax(0,1fr); padding-left:8px; }
    .gl-progress199-hero { width:91px; height:135px; }
    .gl-progress199-level { font-size:29px!important; }
    .gl-progress199-eyebrow { font-size:10px!important; letter-spacing:.1em; }
    .gl-progress199-name { font-size:12px!important; }
    .gl-progress199-gains { gap:4px; margin-top:9px!important; }
    .gl-progress199-gain { gap:4px; padding:4px 6px!important; font-size:10px!important; }
    .gl-progress199-gain strong { font-size:11px; }
  }
  @media(max-height:480px) {
    .gl-progress199-card { top:60px; min-height:136px; padding-top:15px; padding-bottom:15px; }
    .gl-progress199-card.has-hero { grid-template-columns:100px minmax(0,1fr); }
    .gl-progress199-hero { width:100px; height:128px; }
    .gl-progress199-level { font-size:30px!important; }
  }
  @media(max-height:380px) {
    .gl-progress199-card { top:48px; min-height:112px; padding-top:10px; padding-bottom:10px; gap:8px; }
    .gl-progress199-card.has-hero { grid-template-columns:72px minmax(0,1fr); }
    .gl-progress199-hero { width:72px; height:90px; }
    .gl-progress199-level { font-size:25px!important; }
    .gl-progress199-eyebrow { margin-bottom:3px!important; font-size:9px!important; }
    .gl-progress199-name { display:none; }
    .gl-progress199-multiple { margin-top:3px!important; font-size:10px!important; }
    .gl-progress199-gains { gap:3px; margin-top:6px!important; }
    .gl-progress199-gain { gap:3px; padding:3px 5px!important; font-size:9px!important; }
    .gl-progress199-gain strong { font-size:10px; }
  }
  .gl-progress199-reduced .gl-progress199-card { animation:none; }
  @media(prefers-reduced-motion:reduce) { .gl-progress199-card { animation:none!important; } }
}

@layer prism-ui{.gl-progress199{transition:opacity 600ms ease;opacity:1}.gl-progress199.is-leaving251{opacity:0}.gl-progress199.is-leaving251 .gl-progress199-close{pointer-events:none}@media(prefers-reduced-motion:reduce){.gl-progress199{transition:none}}}


/* Original source: glowkin-reactions203.css; SHA256 df148bd2857500c9f58233106ea95886175b97d934cffb63c7d052c139de6b0e */
.glowkin-cheers203 {
  position: fixed;
  z-index: 96;
  box-sizing: border-box;
  width: min(296px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 15px 14px 12px;
  border: 1px solid #a5b7ec;
  border-radius: 21px;
  color: #f9f7ff;
  background: radial-gradient(ellipse at 4% 0%, #514471 0, transparent 60%), linear-gradient(160deg, #273250, #141c35 78%);
  box-shadow: 0 18px 55px #070b22b0, 0 0 0 4px #c5d0ff0f, inset 0 1px #ffffff19;
  pointer-events: auto;
  font: 600 13px/1.35 system-ui, sans-serif;
  isolation: isolate;
}
.glowkin-cheers203[hidden] { display: none !important; }
.glowkin-cheers203-title { display: block; padding: 0 36px 0 1px; color: #fff2cd; font-size: 16px; letter-spacing: .02em; }
.glowkin-cheers203-hint { margin: 6px 20px 11px 1px; color: #d2d9f3; font-size: 11px; font-weight: 500; }
.glowkin-cheers203-close {
  position: absolute;
  top: 4px; right: 4px;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  padding: 0; border: 0; border-radius: 50%;
  color: #f6edff; background: transparent; box-shadow: none;
  font: 500 25px/1 system-ui, sans-serif;
}
.glowkin-cheers203-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.glowkin-cheers203-choice {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-sizing: border-box; min-width: 44px; min-height: 100px;
  padding: 7px 1px 6px; border: 1px solid #8fa1cd70; border-radius: 15px;
  color: #fff9eb; background: linear-gradient(#ffffff0b, #ffffff02); box-shadow: inset 0 1px #ffffff11;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.glowkin-cheers203-label { display: block; width: 100%; margin-top: 3px; text-align: center; overflow-wrap: anywhere; font: 650 11px/1.25 system-ui, sans-serif; }
.glowkin-cheers203-choice:hover:not(:disabled) { border-color: #e6d6a6; background: #d1c7ff18; }
.glowkin-cheers203-choice:active:not(:disabled) .glowkin-cheer203 { transform: scale(.94); }
.glowkin-cheers203-choice:disabled { cursor: wait; opacity: .55; }
.glowkin-cheers203-choice:focus-visible, .glowkin-cheers203-close:focus-visible { outline: 3px solid #ffe798; outline-offset: 3px; }
.glowkin-cheers203-status { margin: 10px 2px 1px; color: #ffe0b3; font-size: 11px; line-height: 1.45; }
.glowkin-cheers203-status[hidden] { display: none; }
.glowkin-cheer203 {
  position: relative; display: inline-block; flex: 0 0 auto;
  width: 68px; height: 68px;
  border-radius: 50%;
  background-color: #18203a;
  background: radial-gradient(ellipse at 45% 30%, color-mix(in srgb, var(--cheer-color) 28%, #29304d), #18203a 76%);
  box-shadow: inset 0 0 0 1px var(--cheer-color), 0 3px 6px #0c102930;
  transition: transform 100ms ease;
}
.glowkin-cheer203-face { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; pointer-events: none; }
.glowkin-cheer203 > svg { position: absolute; inset: -4%; width: 108%; height: 108%; overflow: visible; fill: none; stroke: var(--cheer-color); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px #122037a0); pointer-events: none; }
.glowkin-cheer203--thanks > svg { fill: var(--cheer-color); stroke-width: 1.2; }
.glowkin-cheer203--sleepy > svg { stroke-width: 2; }
.glowkin-cheer203--brave > svg { stroke-width: 2.3; }
.glowkin-cheers203-trigger .ability-icon { background: none !important; }
.glowkin-cheers203-trigger .ability-icon > img { width: 100%; height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .glowkin-cheer203 { transition: none; }
  .glowkin-cheers203-choice:active:not(:disabled) .glowkin-cheer203 { transform: none; }
}
@media (max-height: 420px) {
  .glowkin-cheers203 { padding-top: 11px; }
  .glowkin-cheers203-hint { margin-top: 4px; margin-bottom: 7px; }
  .glowkin-cheers203-choice { min-height: 82px; padding-top: 4px; padding-bottom: 4px; }
  .glowkin-cheer203 { width: 54px; height: 54px; }
}


/* Original source: hud-quest-safety228.css; SHA256 b51285f0328b9cf8f130881fcb56eab63ed4e412f0ff08e078cedd533c357b74 */
/* The measured quest chip keeps its familiar anchor whenever that space is free. */
@layer prism-ui {
  html body .hud .quest-compact {
    left: var(--hud-quest-left228,18px) !important;
    top: var(--hud-quest-top228,60px) !important;
    max-width: calc(var(--hud-width179,100vw) - 16px) !important;
  }
  html body .hud #questPanel:not(.is-custom-position) {
    left: var(--hud-quest-panel-left228,18px) !important;
    top: var(--hud-quest-panel-top228,117px) !important;
    max-height: min(420px,calc(100dvh - 208px),var(--hud-quest-panel-room228,420px)) !important;
  }
  @media (max-width:600px) {
    html body .hud .quest-compact { left:var(--hud-quest-left228,8px) !important;top:var(--hud-quest-top228,47px) !important; }
    html body .hud #questPanel:not(.is-custom-position) { left:var(--hud-quest-panel-left228,8px) !important;top:var(--hud-quest-panel-top228,102px) !important;max-height:min(420px,calc(100dvh - 188px),var(--hud-quest-panel-room228,420px)) !important; }
  }
  @media (max-height:500px) and (min-width:601px) {
    html body .hud .quest-compact { left:var(--hud-quest-left228,8px) !important;top:var(--hud-quest-top228,58px) !important; }
    html body .hud #questPanel:not(.is-custom-position) { left:var(--hud-quest-panel-left228,8px) !important;top:var(--hud-quest-panel-top228,108px) !important;max-height:min(calc(100dvh - 126px),var(--hud-quest-panel-room228,420px)) !important; }
  }
}


/* Original source: reward-opening233.css; SHA256 7f8333c3f1cf2245ebf09575b76cdb53b54bfe8b5d71c013caca83966da33d42 */
/* Brief, nonmodal feedback for a server-confirmed reward. */
@layer prism-ui {
 html body .reward-opening233 {box-sizing:border-box;grid-column:1/-1;flex:0 0 auto;display:grid!important;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:10px;position:relative;isolation:isolate;min-width:0;max-width:100%;min-height:114px;margin:10px 0 14px;padding:7px 20px 7px 8px;border:1px solid #adc99a;border-radius:18px;background:radial-gradient(ellipse at 12% 50%,#678b6650,transparent 58%),linear-gradient(110deg,#183d38,#1d303d);box-shadow:inset 0 1px 0 #f5e7b51c,0 6px 18px #061d2429;color:#fff2ce;pointer-events:none;animation:reward-arrive233 .2s ease-out both;}
 html body .reward-chest233 {width:108px;height:96px;overflow:visible;}
 html body .reward-chest233 svg {display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 5px 4px #081f3340);}
 html body .reward-copy233 {display:grid;gap:6px;min-width:0;}
 html body .reward-copy233 strong {font:750 18px/1.2 Inter,system-ui,sans-serif!important;color:#fff0b8!important;overflow-wrap:anywhere;}
 html body .reward-copy233 span {font:550 13px/1.5 Inter,system-ui,sans-serif!important;color:#d5eddb!important;white-space:normal!important;overflow-wrap:anywhere;}
 html body .reward-opening233 .rw-chest233 {transform-origin:80px 113px;animation:reward-shake233 .32s ease-in-out;}
 html body .reward-opening233 .rw-lid233 {transform-origin:80px 72px;animation:reward-lid233 .65s .16s cubic-bezier(.18,.85,.25,1.18) both;}
 html body .reward-opening233 .rw-light233 {transform-origin:80px 80px;animation:reward-light233 .8s .23s ease-out both;}
 html body .reward-opening233 .rw-sparks233 {transform-origin:80px 80px;animation:reward-sparks233 1.1s .32s ease-out both;}
 html body .reward-opening233.is-floating {position:fixed;z-index:135;right:max(18px,env(safe-area-inset-right));bottom:150px;width:min(410px,calc(100vw - 36px));margin:0;}
 html body .daily-mission .reward-opening233,html body .arcade-side .reward-opening233 {grid-template-columns:68px minmax(0,1fr);padding:6px;gap:7px;min-height:88px;}
 html body .daily-mission .reward-chest233,html body .arcade-side .reward-chest233 {width:68px;height:82px;}
 html body .daily-mission .reward-copy233 strong,html body .arcade-side .reward-copy233 strong {font-size:14px!important;}
 @keyframes reward-arrive233 {from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
 @keyframes reward-shake233 {0%,100%{transform:rotate(0)}25%{transform:rotate(-5deg)}65%{transform:rotate(4deg)}}
 @keyframes reward-lid233 {from{transform:translateY(0) rotate(0)}to{transform:translateY(-23px) rotate(-17deg)}}
 @keyframes reward-light233 {from{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}
 @keyframes reward-sparks233 {0%{opacity:0;transform:translateY(22px) scale(.4)}35%{opacity:1}100%{opacity:0;transform:translateY(-12px) scale(1.12)}}
 @media(max-width:600px){html body .reward-opening233{grid-template-columns:80px minmax(0,1fr);gap:8px;padding:6px 12px 6px 4px;min-height:96px;}html body .reward-chest233{width:80px;height:86px;}html body .reward-copy233 strong{font-size:16px!important;}html body .reward-copy233 span{font-size:12px!important;}}
 @media(prefers-reduced-motion:reduce){html body .reward-opening233,html body .reward-opening233 *{animation:none!important;}html body .reward-opening233 .rw-lid233{transform:translateY(-23px) rotate(-17deg);}html body .reward-opening233 .rw-sparks233{opacity:0;}}
}


/* Original source: item-card-art234.css; SHA256 fc4c5dfa17df13ff41b60d543b9f2b889508434c75eb84b33e9fe8a7dca013f9 */
/* Crisp, uncropped item illustrations; all slots reserve their final size. */
@layer prism-ui {
 html body .game-shell #gearDialog .gear-item > .item-card-art234,
 html body .game-shell #gearDialog .gear-item > .mystery-item-art {width:96px!important;height:108px!important;min-width:96px!important;flex:0 0 96px!important;box-sizing:border-box!important;border:1px solid #a9beb44d!important;border-radius:14px!important;overflow:hidden!important;}
 html body .game-shell .item-card-art234 {display:grid!important;place-items:center;position:relative;background:radial-gradient(ellipse at 50% 48%,color-mix(in srgb,var(--card-item-tint,#9bd6d0) 18%,transparent),transparent 76%),#192e37!important;}
 html body .game-shell .item-card-art234 img {display:block!important;position:static!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:5px!important;filter:drop-shadow(0 3px 3px #09152335);}
 html body .game-shell #gearDialog .gear-item > .mystery-item-art > img {padding:5px!important;}
 html body .game-shell #shopDialog .prism-product-art {background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;}
 @media(max-width:600px){html body .game-shell #gearDialog .gear-item > .item-card-art234,html body .game-shell #gearDialog .gear-item > .mystery-item-art{width:72px!important;height:86px!important;min-width:72px!important;flex-basis:72px!important;}}
}


/* Original source: expansion235.css; SHA256 1b1603007ec359c9f542d9fab36bef0f15e8358394b0bb39c358f9c97fc1d201 */
@layer prism-ui {
 .expansion-contents235 {margin-top:12px;line-height:1.55;color:#e0eceb;}
 .expansion-contents235 summary {cursor:pointer;color:#e9c888;font-weight:700;min-height:28px;}
 .expansion-contents235 ul {padding-left:20px;margin:8px 0;}
 .expansion-contents235 small {display:block;color:#c4d4db;}
 .shop-product--adventures .prism-product-art {min-height:130px;background-size:cover!important;}
 @media(max-width:600px){.shop-product--adventures .prism-product-art{min-height:190px;}}
}
@layer prism-ui {
 html body .game-shell #shopDialog.shop-v151 .prism-product-card.is-expansion235 {grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;}
 html body .game-shell #shopDialog.shop-v151 .is-expansion235 .prism-product-art {grid-column:1!important;grid-row:1!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:20 / 13!important;background-size:cover!important;background-position:center!important;}
 html body .game-shell #shopDialog.shop-v151 .is-expansion235 .prism-product-copy {grid-column:1!important;grid-row:2!important;}
 html body .game-shell #shopDialog.shop-v151 .is-expansion235 .prism-product-purchase {grid-column:1!important;grid-row:3!important;}
 html body .game-shell #shopDialog.shop-v151 .is-expansion235 .prism-product-art>span {left:auto!important;width:auto!important;padding:5px 10px!important;}
}

@layer prism-ui {html body .game-shell #shopDialog .expansion-contents235 li {color:#e0eceb!important;font:13px/1.65 system-ui!important;} }


/* Original source: expedition236.css; SHA256 1c0e4d9b1fbd6cd3a5884819921c72c93b11e7996b32b30c811e443300a8f64e */
@layer prism-ui {
 html body .game-shell #mapDialog .campaign-world-tabs{display:flex;overflow-x:auto;gap:9px;scroll-snap-type:x proximity;padding:3px 2px 10px;scrollbar-color:#788b91 #172335;}
 html body .game-shell #mapDialog .campaign-world-tabs button{flex:0 0 181px;min-width:181px;min-height:80px;padding:11px!important;gap:4px;scroll-snap-align:center;}
 .trail236-panel{--trail236-accent:#b9dcbd;margin:18px 0;padding:22px;border:1px solid color-mix(in srgb,var(--trail236-accent) 42%,transparent);border-radius:22px;background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--trail236-accent) 15%,transparent),transparent 70%),#172535;color:#edf3ee;box-shadow:0 12px 28px #060e1929;}
 .trail236-kicker{display:block;color:var(--trail236-accent);font:700 11px/1.5 system-ui;letter-spacing:.12em;text-transform:uppercase;}
 .trail236-heading h3{margin:3px 0 18px!important;color:#f5e5c7!important;font:700 24px/1.25 Georgia,serif!important;}
 .trail236-progress-label{display:flex;justify-content:space-between;gap:12px;align-items:center;font:12px/1.5 system-ui;}
 .trail236-progress-label span{color:#c7d1db;}
 .trail236-pips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:8px 0 16px;}
 .trail236-pips i{height:6px;background:#344254;border-radius:8px;}
 .trail236-pips .is-complete{background:var(--trail236-accent);}
 .trail236-pips .is-current{background:#e8c98b;}
 .trail236-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}
 .trail236-step{min-width:0;min-height:94px;padding:10px 4px!important;background:#253347!important;border:1px solid #73829655!important;border-radius:14px!important;display:flex;flex-direction:column;align-items:center;gap:4px;white-space:normal!important;color:#e8eef3!important;}
 .trail236-step strong{font:700 12px/1.35 system-ui;overflow-wrap:anywhere;}
 .trail236-step small{font:11px/1.35 system-ui;color:#c2d0db;}
 .trail236-number{width:28px;height:28px;border:1px solid #76869a;border-radius:50%;display:grid;place-items:center;color:#f1d9a7;font:700 15px/1 Georgia;}
 .trail236-step.is-complete .trail236-number{background:var(--trail236-accent);border-color:transparent;color:#153a30;}
 .trail236-step.is-current{border-color:#efd092!important;}
 .trail236-step.is-mystery{border-style:dashed!important;background:#202b3c!important;}
 .trail236-step:focus-visible,.trail236-action:focus-visible{outline:3px solid #f7dfa7;outline-offset:3px;}
 .trail236-next{margin-top:18px;padding:16px;border-radius:14px;background:#0b172780;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;align-items:center;}
 .trail236-next>.trail236-kicker,.trail236-next>strong,.trail236-next>p{grid-column:1;}
 .trail236-next>strong{font:700 17px/1.5 Georgia;color:#f4e8d2;}
 .trail236-next>p{font:12px/1.6 system-ui;color:#d3dce6;margin:6px 0 0;max-width:58ch;}
 .trail236-action{grid-column:2;grid-row:1/4;max-width:190px;background:var(--trail236-accent)!important;color:#173431!important;font:700 12px/1.4 system-ui!important;padding:12px 18px!important;border-radius:12px!important;white-space:normal!important;min-height:44px;}
 .trail236-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;}
 .trail236-reward{display:flex;align-items:center;gap:14px;padding:12px;border-radius:14px;border:1px solid #6a7d9555;background:#203145;min-width:0;}
 .trail236-reward img{width:68px;height:68px;object-fit:contain;flex:none;}
 .trail236-reward>div{min-width:0;display:grid;gap:3px;}
 .trail236-reward small,.trail236-reward span{font:11px/1.4 system-ui;color:#bfccd9;}
 .trail236-reward strong{font:700 13px/1.45 system-ui;color:#f1e5cb;overflow-wrap:anywhere;}
 .trail236-reward.is-earned{border-color:var(--trail236-accent);}
 .trail236-reward.is-earned span{color:var(--trail236-accent);}
 .trail236-progress.is-compact{margin:12px 0 0;color:#e4eede;}
 .trail236-progress.is-compact .trail236-pips{margin-bottom:2px;}
 .campaign-level-card.is-secret236 .campaign-level-preview{background:radial-gradient(circle at 50% 42%,#536a7966,transparent 58%),#182534;display:grid;place-items:center;color:#e4c987;font:700 54px/1 Georgia;}
 @media(max-width:650px){
  .trail236-panel{padding:16px;border-radius:18px;}.trail236-heading h3{font-size:21px!important;}
  .trail236-steps{grid-template-columns:repeat(3,minmax(0,1fr));}.trail236-step{min-height:86px;}
  .trail236-next{grid-template-columns:minmax(0,1fr);}.trail236-action{grid-column:1;grid-row:auto;max-width:none;margin-top:12px;width:100%;}
  .trail236-rewards{grid-template-columns:minmax(0,1fr);}.trail236-progress-label{align-items:flex-start;}.trail236-progress-label span{max-width:40%;text-align:right;}
 }
}


/* Original source: inventory-ux238.css; SHA256 c7a0e6ec998446d7196a083776e80bdf98c2eeed7d5ddcf84be18ace20812aa1 */
@layer prism-ui {
 .gear-search238{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin:14px 0;align-items:center;}
 .gear-search238 label{grid-column:1/-1;color:#d2dedb;font-size:12px;}
 .gear-search238 input{width:100%;min-width:0;min-height:44px;border:1px solid #607483;border-radius:12px;background:#10202f;color:#f3f3e6;padding:10px 14px;font:16px/1.4 system-ui;}
 .gear-search238 button{min-height:44px;white-space:normal;padding:10px 14px;background:#223746;color:#ecf0e3;border:1px solid #70878c;border-radius:12px;font:600 13px/1.4 system-ui;cursor:pointer;}
 .gear-search238 button:disabled{opacity:.45;cursor:default;}
 .gear-search238 button:focus-visible{outline:3px solid #ead8a7;outline-offset:3px;}
 .gear-results-count238{margin:4px 0 12px;color:#b9d2cf;font-size:12px;}
 .gear-empty238{padding:20px;border:1px dashed #6d8191;border-radius:16px;color:#d6e2dd;line-height:1.6;}
 #gearList [data-gear-id]:focus-visible{outline:3px solid #ead8a7;outline-offset:3px;}
 #gearList.gear-searching238>.gear-power-dashboard,#gearList.gear-searching238>.gear-loadout,#gearList.gear-searching238>.gear-loadout-tools,#gearList.gear-searching238>.combo-panel{display:none!important;}
 #gearList>[hidden]{display:none!important;}
 @media(max-width:520px){.gear-search238{grid-template-columns:minmax(0,1fr);}.gear-search238 button{justify-self:start;}.gear-search238 input{scroll-margin-block:20px;}}
}

@layer prism-ui {
 html body .game-shell #gearList{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body .game-shell #gearList>:not(.gear-item){grid-column:1/-1}
 .gear-controls258{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:16px;align-items:end;min-width:0}
 html body .game-shell .gear-controls258 .gear-search238{margin:0;gap:5px 8px}
 html body .game-shell .gear-controls258 .gear-search238 label{font-size:11px}
 html body .game-shell .gear-controls258 .gear-sort240{display:grid!important;gap:5px!important;margin:0!important}
 html body .game-shell .gear-controls258 .gear-sort240 label{font-size:11px!important;font-weight:400!important;color:#ccd7d5!important}
 html body .game-shell .gear-controls258 .gear-sort240 select{width:100%;min-height:44px;margin:0}
 .gear-context258{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:start;min-width:0}
 .gear-overview258{border:1px solid #596471;border-radius:12px;background:#162937;color:#eaf1df;min-width:0}
 .gear-overview258>summary{display:list-item;padding:10px 12px;cursor:pointer;font-size:12px;color:#f8dfa4;list-style-position:inside;min-height:20px}
 .gear-overview258>summary>strong{float:right;color:#b9e6d3;font-size:12px}
 .gear-overview258>summary:focus-visible{outline:3px solid #ead8a7;outline-offset:2px;border-radius:12px}
 .gear-overview258[open]{grid-column:1/-1}
 .gear-overview258[open]>summary{border-bottom:1px solid #52616c}
 .gear-overview-body258{padding:10px;display:grid;gap:10px;min-width:0}
 html body .game-shell .gear-context258 .loot-history240{margin:0!important;padding:10px 12px!important;min-width:0;font-size:12px!important;box-sizing:border-box}
 .gear-context258 .loot-history240[open]{grid-column:1/-1}
 html body .game-shell #gearList>.gear-results-count238{margin:0;font-size:11px}
 html body .game-shell #gearList>.gear-section-title{margin-top:4px!important;padding-top:3px!important}
 html body .game-shell #gearList.gear-searching238>.gear-context258{display:none!important}
 html body .game-shell #gearList>.gear-item{grid-template-columns:76px minmax(0,1fr) auto!important;gap:10px!important;padding:12px!important}
 html body .game-shell #gearList>.gear-item>:first-child{width:76px!important;min-width:0!important;height:86px!important}
 html body .game-shell #gearList .e174-comparison>span{font-size:11px!important;font-weight:700!important;line-height:1.5!important}
 html body .game-shell #gearList .e174-stat-down{color:#ffd1c7!important;background:#6a424a!important}
 html body .game-shell #gearList .e174-stat-up{color:#c5f7df!important;background:#275744!important}
 @media(max-width:760px){
   html body .game-shell #gearList{grid-template-columns:minmax(0,1fr)!important}
   .gear-controls258{grid-template-columns:minmax(0,1fr) 155px;gap:8px}
   html body .game-shell .gear-controls258 .gear-search238{grid-template-columns:minmax(0,1fr) auto}
   html body .game-shell .gear-controls258 .gear-search238 button{font-size:10px;padding:5px 7px;max-width:58px}
   html body .game-shell .gear-controls258 .gear-sort240 select{font-size:12px!important;padding:8px;min-height:44px}
 }
 @media(max-width:440px){
   .gear-controls258{grid-template-columns:minmax(0,1fr) 130px}
   html body .game-shell .gear-controls258 .gear-search238 button{width:44px!important;min-width:44px!important;max-width:44px!important;font-size:0!important;min-height:44px;padding:0!important}
   html body .game-shell .gear-controls258 .gear-search238 button::after{content:'×';font-size:20px!important}
   html body .game-shell .gear-controls258 .gear-search238 input{padding:8px;font-size:16px}
   html body .game-shell .gear-context258 .loot-history240,.gear-overview258>summary{padding:9px 7px;font-size:11px}
   .gear-overview258>summary>strong{font-size:10px}
   html body .game-shell #gearList>.gear-item{grid-template-columns:62px minmax(0,1fr)!important;gap:8px!important;padding:10px!important}
   html body .game-shell #gearList>.gear-item>:first-child{width:62px!important;min-width:0!important;height:74px!important}
 }
 @media(max-height:500px){
   html body .game-shell #gearDialog{padding:10px!important;max-height:calc(100dvh - 12px)!important}
   html body .game-shell #gearDialog .dialog-head{padding:5px 0 8px!important;margin-bottom:8px!important;min-height:44px!important}
   html body .game-shell #gearDialog .dialog-head strong{font-size:18px!important}
   html body .game-shell #gearList{gap:5px!important}
   html body .game-shell #gearList .gear-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;margin:0!important;padding:0 0 3px!important}
   html body .game-shell #gearList .gear-tabs>button{flex:0 0 auto!important;min-height:34px!important;padding:6px 10px!important}
   html body .game-shell .gear-controls258 label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
   .gear-overview258>summary,html body .game-shell .gear-context258 .loot-history240{padding:6px 9px!important}
   html body .game-shell #gearList>.gear-results-count238{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
   html body .game-shell #gearList>.gear-item{grid-template-columns:44px minmax(0,1fr) auto!important;padding:6px!important;gap:8px!important;min-height:68px!important}
   html body .game-shell #gearList>.gear-item>:first-child{width:44px!important;height:50px!important;grid-row:1!important;grid-column:1!important}
   html body .game-shell #gearList>.gear-item>:nth-child(2){grid-row:1!important;grid-column:2!important}
   html body .game-shell #gearList>.gear-item>button{grid-row:1!important;grid-column:3!important;min-height:44px!important}
   html body .game-shell #gearList>.gear-item strong{font-size:12px!important}
   html body .game-shell #gearList>.gear-item span{font-size:10px!important;line-height:1.35!important}
 }
}


/* Original source: evolution240.css; SHA256 0f93e5519908c5c5e352465af5f72668ec7b74169c63df1444575080520451c1 */
.loot-receipt240{position:fixed;z-index:70;right:18px;top:232px;width:min(340px,calc(100vw - 24px));box-sizing:border-box;padding:16px 18px;border:1px solid #ddbd76a6;border-radius:18px;background:linear-gradient(135deg,#182d39f5,#12212cf2);box-shadow:0 12px 36px #0006;color:#f6f2df;pointer-events:none}.loot-receipt240[hidden]{display:none}.loot-receipt240 h3{margin:0 0 10px;color:#ffe2a1;font-size:17px;letter-spacing:.04em}.loot-row240{display:flex;align-items:center;gap:12px;min-height:54px;margin:6px 0}.loot-row240 img{width:52px;height:52px;object-fit:contain;flex:none}.loot-row240 strong{display:block;font-size:20px;line-height:1.25;overflow-wrap:anywhere}.loot-row240 small{display:block;font-size:13px;color:#bde3d6;margin-top:3px}.loot-currency240{display:grid;place-items:center;color:#ffe09a;font-size:25px;width:52px}.loot-footnote240{display:block;margin-top:10px;font-size:12px;color:#b7cdc6}.loot-history240{margin:8px 0 14px;background:#142837;border:1px solid #668b8b66;border-radius:12px;padding:10px 14px}.loot-history240 summary{cursor:pointer;color:#ffe0a4;font-weight:700}.loot-history-list240{max-height:300px;overflow:auto}.loot-history240 .loot-row240 strong{font-size:16px}.loot-history240 time{margin-left:auto;font-size:12px;color:#bccac7;white-space:nowrap}.gear-sort240{display:flex;align-items:center;gap:12px;margin:8px 0 14px;color:#e4eddd}.gear-sort240 label{font-weight:700}.gear-sort240 select{background:#19313f;color:#fff2cb;border:1px solid #8aaaac;border-radius:9px;padding:10px;font:inherit;min-height:44px}.battle-rhythm240{position:fixed;bottom:104px;left:50%;transform:translateX(-50%);z-index:45;width:240px;padding:7px 12px;border-radius:12px;background:#122330e8;color:#dbece4;pointer-events:none;text-align:center;font-size:12px;border:1px solid #7199a56b}.battle-rhythm240[hidden]{display:none}.battle-rhythm240 strong{display:block;font-size:14px}.battle-rhythm240 progress{display:block;accent-color:#e8cc82;width:100%;height:6px;margin-top:5px}.battle-rhythm240.is-counter{border-color:#f4d270;color:#ffe298;box-shadow:0 0 18px #eaca713d}@media(max-width:720px){.loot-receipt240{top:132px;right:10px;width:264px;padding:11px 13px}.loot-receipt240 h3{font-size:15px;margin-bottom:6px}.loot-row240{gap:9px;min-height:40px;margin:4px 0}.loot-row240 img{width:39px;height:39px}.loot-row240 strong{font-size:17px}.loot-row240 small{font-size:11px}.loot-currency240{width:39px;font-size:21px}.battle-rhythm240{bottom:110px;width:180px;padding:5px 10px}.gear-sort240{flex-wrap:wrap}.gear-sort240 select{max-width:100%}}@media(prefers-reduced-motion:reduce){.loot-receipt240,.battle-rhythm240{animation:none;transition:none}}

.battle-rhythm240 small{display:block;line-height:1.3;margin-top:4px;color:#ffd1b0}.battle-rhythm240 small:empty{display:none}
@media(max-height:720px) and (max-width:720px){.loot-receipt240{top:110px;width:232px;padding:9px 12px}.loot-receipt240 h3{font-size:14px}.loot-row240{min-height:32px;margin:3px 0}.loot-row240 img{width:30px;height:30px}.loot-row240 strong{font-size:15px}.loot-currency240{width:30px}.loot-row240:nth-of-type(n+4){display:none}.loot-footnote240{margin-top:5px}.battle-rhythm240{bottom:94px}}

@media(max-width:720px){.battle-rhythm240{left:auto;right:10px;transform:none;width:160px}}

.loot-equip245{pointer-events:auto;width:100%;box-sizing:border-box;padding:7px 8px;text-align:left;font:inherit;color:inherit;background:#254451;border:1px solid #77a7a988;border-radius:12px;cursor:pointer;touch-action:manipulation}.loot-equip245>div{flex:1;min-width:0}.loot-equip245 strong{font-size:18px}.loot-equip245:hover:not(:disabled){background:#305564;border-color:#ffe2a1}.loot-equip245:focus-visible{outline:3px solid #ffe2a1;outline-offset:2px}.loot-equip245:disabled{cursor:default;background:#1c3843;color:#e6f0e6;opacity:1}.loot-equip-label245{font-size:12px;line-height:1.3;color:#ffe2a1;max-width:76px;text-align:center;flex:0 0 auto;overflow-wrap:anywhere}.loot-equip245[aria-busy=true]{border-color:#ffe2a1}@media(max-width:720px){.loot-equip245{gap:7px;padding:6px}.loot-equip245 strong{font-size:15px}.loot-equip-label245{max-width:56px;font-size:11px}}

/* One readable reward on a small screen; the rest remain one tap away. */
.loot-head251{display:flex;justify-content:space-between;align-items:center;gap:8px}.loot-head251 h3{margin:0}.loot-close251,.loot-more251{pointer-events:auto;border:0;color:#ffe6b2;background:transparent;font:inherit;cursor:pointer;touch-action:manipulation}.loot-close251{min-width:32px;min-height:32px;font-size:24px;line-height:1;padding:0}.loot-items251{max-height:min(38dvh,300px);overflow:auto;overscroll-behavior:contain}.loot-totals251{display:flex;gap:12px;flex-wrap:wrap;color:#ffe2a1;font-size:13px;padding-top:5px}.loot-more251{display:block;min-height:36px;font-size:12px;text-align:left;padding:4px 0}.loot-receipt240.is-compact251{top:124px;right:8px;width:min(238px,calc(100vw - 112px));max-height:calc(100dvh - 242px);padding:6px 10px 8px;border-radius:13px}.loot-receipt240.is-compact251 .loot-items251{max-height:calc(100dvh - 362px)}.loot-receipt240.is-compact251 h3{font-size:13px}.loot-receipt240.is-compact251 .loot-row240{min-height:38px;gap:6px;margin:3px 0;padding:5px}.loot-receipt240.is-compact251 img{width:32px;height:32px}.loot-receipt240.is-compact251 .loot-row240 strong{font-size:13px;line-height:1.22}.loot-receipt240.is-compact251 .loot-equip-label245{font-size:10px;max-width:42px}.loot-receipt240.is-compact251 small,.loot-receipt240.is-compact251 .loot-footnote240{font-size:10px}.loot-receipt240.is-compact251 .loot-footnote240{margin-top:3px}.loot-receipt240.is-compact251 .loot-totals251{gap:7px;font-size:11px}.loot-receipt240.is-compact251 .loot-row240:nth-of-type(n+4){display:flex}
@media(max-height:650px){.loot-receipt240.is-compact251{top:76px;right:8px;width:228px;max-height:calc(100dvh - 170px)}.loot-receipt240.is-compact251 .loot-items251{max-height:calc(100dvh - 256px)}}


/* Combat keeps the arena clear. Damage still appears at the struck actor;
   routine log entries stay out of the playfield while a fight is active. */
@layer prism-ui {
  html body.is-battle-hud276 .game-shell .hud .battle-notices {
    left:auto!important;right:10px!important;top:var(--battle-notice-top276,174px)!important;
    bottom:auto!important;transform:none!important;width:min(244px,38vw)!important;
    max-height:78px!important;gap:0!important;
  }
  html body.is-battle-hud276 .game-shell .hud .battle-notices .combat-feed {display:none!important}
  html body.is-battle-hud276 .game-shell .hud .battle-notices .toast {
    padding:7px 10px!important;font-size:11px!important;line-height:1.35!important;
    -webkit-line-clamp:3!important;border-radius:9px!important;text-align:left!important;
    box-shadow:0 3px 12px #07101f33!important;
  }
  html body .game-shell .hud .ability-bar .battle-rhythm240:not([hidden]) {
    position:absolute!important;left:var(--battle-rhythm-left276,0px)!important;right:var(--battle-rhythm-right276,0px)!important;top:auto!important;
    bottom:calc(100% + 6px)!important;transform:none!important;width:auto!important;
    box-sizing:border-box!important;display:grid!important;grid-template-columns:auto minmax(50px,1fr);
    align-items:center;gap:3px 10px;padding:5px 10px!important;max-height:58px!important;
    border-radius:9px!important;pointer-events:none!important;
  }
  html body .game-shell .hud .ability-bar .battle-rhythm240 strong {
    font-size:11px!important;line-height:1.25!important;
  }
  html body .game-shell .hud .ability-bar .battle-rhythm240 progress {
    width:100%!important;height:5px!important;margin:0!important;min-width:0;
  }
  html body .game-shell .hud .ability-bar .battle-rhythm240 small {
    grid-column:1/-1;font-size:10px!important;line-height:1.3!important;margin:0!important;
    overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  }
  html body .game-shell .hud .ability-bar .battle-rhythm240 small:empty {display:none!important}
  html body .game-shell .boss-fight-announcement:not([hidden]) {
    position:absolute!important;inset:12px auto auto 50%!important;transform:translateX(-50%)!important;
    width:min(360px,calc(100vw - 24px))!important;height:auto!important;display:block!important;
    overflow:visible!important;pointer-events:none!important;
  }
  html body .game-shell .boss-fight-announcement__card {
    width:100%!important;box-sizing:border-box!important;padding:9px 14px!important;
    border:1px solid #c2a271!important;border-radius:12px!important;
    background:#182839f5!important;color:#fff1cd!important;
    box-shadow:0 4px 14px #08132144!important;opacity:1!important;transform:none!important;animation:none!important;
  }
  html body .game-shell .boss-fight-announcement :is(.boss-fight-announcement__rays,.boss-fight-announcement__tag),
  html body .game-shell .boss-fight-announcement__card::before,
  html body .game-shell .boss-fight-announcement__card::after {display:none!important}
  html body .game-shell .boss-fight-announcement strong {
    color:#fff1cd!important;font:800 16px/1.25 system-ui,sans-serif!important;
    text-shadow:none!important;-webkit-text-stroke:0!important;
  }
  html body .game-shell .boss-fight-announcement em {
    color:#d5e5e1!important;font:600 12px/1.35 system-ui,sans-serif!important;margin:4px 0 0!important;
  }
  html body .game-shell .boss-fight-announcement__card>span:last-child {display:none!important}
  @media(max-width:600px) {
    html body.is-battle-hud276 .game-shell .hud .battle-notices {
      right:8px!important;width:min(180px,46vw)!important;max-height:66px!important;
    }
    html body.is-battle-hud276 .game-shell .hud .battle-notices .toast {
      font-size:10px!important;padding:6px 8px!important;
    }
    html body .game-shell .hud .ability-bar .battle-rhythm240:not([hidden]) {padding:4px 7px!important;gap:2px 7px;grid-template-columns:minmax(0,1fr);text-align:left}
  }
  @media(max-height:500px) and (min-width:601px) {
    html body.is-battle-hud276 .game-shell .hud .battle-notices {width:200px!important;max-height:58px!important}
  }
}
