:root {
  color-scheme: dark;
  --lcx-bg: #04060b;
  --lcx-panel: #0a1019ee;
  --lcx-panel-2: #101827e8;
  --lcx-line: #ffffff18;
  --lcx-copy: #f8f5ed;
  --lcx-muted: #98a8b9;
  --lcx-gold: #f3ca70;
  --lcx-type: #c98cff;
  --lcx-type-rgb: 201, 140, 255;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--lcx-bg);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--lcx-copy);
  background:
    radial-gradient(circle at 76% -8%, rgba(var(--lcx-type-rgb), .18), transparent 32rem),
    radial-gradient(circle at -8% 35%, #153c4c55, transparent 35rem),
    linear-gradient(155deg, #050812 0, #03050a 54%, #07100f 100%);
}

button,
input,
select {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lcx-gold);
  outline-offset: 3px;
}

.lcx-app {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
}

.lcx-noise,
.lcx-aurora {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.lcx-noise {
  opacity: .25;
  background:
    repeating-linear-gradient(110deg, transparent 0 27px, #ffffff08 28px, transparent 29px 57px),
    repeating-linear-gradient(28deg, transparent 0 44px, #a4ceff05 45px, transparent 46px 91px);
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

.lcx-aurora {
  inset: -20%;
  opacity: .62;
  background:
    radial-gradient(circle at 74% 18%, rgba(var(--lcx-type-rgb), .18), transparent 22%),
    radial-gradient(circle at 18% 74%, #31a98415, transparent 24%);
  filter: blur(22px);
  animation: lcx-aurora 18s ease-in-out infinite alternate;
}

.lcx-topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  padding: 10px clamp(14px, 2.5vw, 36px);
  border-bottom: 1px solid #ffffff12;
  background: #050812e8;
  box-shadow: 0 18px 50px #0008;
  backdrop-filter: blur(18px) saturate(1.2);
}

.lcx-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
}

.lcx-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e4be6e66;
  border-radius: 50%;
  color: #10120d;
  background:
    radial-gradient(circle at 34% 28%, #fff5c9, transparent 18%),
    linear-gradient(135deg, #f6de82, #b56cff);
  box-shadow: 0 0 26px #b56cff46;
  font: 950 1rem/1 system-ui;
}

.lcx-brand-copy {
  display: grid;
  gap: 2px;
}

.lcx-brand-copy strong {
  font-size: .88rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.lcx-brand-copy span {
  color: #91a6b5;
  font-size: .56rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.lcx-nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.lcx-nav a {
  position: relative;
  min-width: 82px;
  min-height: 44px;
  padding: 12px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #9eb0bd;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.lcx-nav a:hover {
  color: #fff;
  background: #ffffff09;
}

.lcx-nav a.is-active {
  border-color: rgba(var(--lcx-type-rgb), .38);
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--lcx-type-rgb), .2), #ffffff08);
  box-shadow: inset 0 -2px var(--lcx-type), 0 0 24px rgba(var(--lcx-type-rgb), .14);
}

.lcx-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lcx-top-actions a {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #ffffff1c;
  border-radius: 11px;
  color: #d7e1e7;
  background: #0e1722;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.lcx-top-actions a:first-child {
  border-color: #f3ca7066;
  color: #f7dda1;
}

.lcx-game-rail {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: stretch;
  gap: 7px;
  padding: 8px clamp(14px, 2.5vw, 36px);
  overflow-x: auto;
  border-bottom: 1px solid #ffffff0d;
  background: #060a12e8;
  scrollbar-width: none;
}

.lcx-game-rail::-webkit-scrollbar {
  display: none;
}

.lcx-game-rail > strong {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding-right: 10px;
  color: var(--lcx-gold);
  font-size: .56rem;
  font-weight: 950;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.lcx-game-rail a {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 126px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #ffffff12;
  border-radius: 9px;
  color: #f1f5f7;
  background: linear-gradient(135deg, #111a28, #0a1019);
  text-decoration: none;
}

.lcx-game-rail a:hover {
  border-color: rgba(var(--lcx-type-rgb), .48);
  background: linear-gradient(135deg, rgba(var(--lcx-type-rgb), .15), #0a1019);
}

.lcx-game-rail span {
  font-size: .61rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lcx-game-rail small {
  overflow: hidden;
  color: #8093a2;
  font-size: .49rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr);
  min-height: 330px;
  overflow: hidden;
  border-bottom: 1px solid #ffffff14;
  background: #070a13;
}

.lcx-stage-back {
  position: absolute;
  inset: -28px;
  background:
    linear-gradient(90deg, #050711 4%, #050711cc 33%, transparent 70%),
    linear-gradient(0deg, #050711 0, transparent 55%),
    var(--lcx-stage-image, none) center 36% / cover no-repeat;
  filter: blur(15px) saturate(1.22) brightness(.38);
  transform: scale(1.1);
  opacity: .78;
}

.lcx-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 54%, rgba(var(--lcx-type-rgb), .2), transparent 25%),
    linear-gradient(90deg, #050711 0 18%, transparent 68%, #050711aa);
}

.lcx-stage-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  min-width: 0;
  max-width: 780px;
  padding: clamp(34px, 6vw, 78px) 24px clamp(34px, 6vw, 70px) clamp(18px, 5vw, 76px);
}

.lcx-kicker,
.lcx-overline,
.lcx-stat-label {
  color: var(--lcx-type);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lcx-stage h1 {
  max-width: 820px;
  margin: 8px 0 8px;
  font: 950 clamp(1.65rem, calc(6.3vw * var(--lcx-name-scale, 1)), 5.8rem)/.85 Inter, system-ui;
  letter-spacing: -.075em;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 6px 32px #000;
}

.lcx-stage-meta {
  display: flex;
  gap: 9px 14px;
  flex-wrap: wrap;
  align-items: center;
  color: #bcc9d2;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.lcx-stage-meta b {
  color: #fff;
}

.lcx-stage-lore {
  max-width: 610px;
  margin: 15px 0 0;
  color: #b7c4ce;
  font-size: .78rem;
  line-height: 1.6;
}

.lcx-stage-art {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 20px 40px 12px 10px;
}

.lcx-stage-art::before,
.lcx-stage-art::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(30vw, 360px);
  aspect-ratio: 1;
  content: "";
  border: 2px solid rgba(var(--lcx-type-rgb), .38);
  border-radius: 50%;
  box-shadow:
    0 0 35px rgba(var(--lcx-type-rgb), .28),
    inset 0 0 38px rgba(var(--lcx-type-rgb), .18);
  transform: translate(-50%, -50%);
}

.lcx-stage-art::after {
  width: min(25vw, 300px);
  border-style: dashed;
  opacity: .7;
  animation: lcx-spin 18s linear infinite;
}

.lcx-stage-art img {
  position: relative;
  z-index: 3;
  width: min(32vw, 390px);
  height: 290px;
  object-fit: contain;
  filter:
    drop-shadow(0 25px 14px #000b)
    drop-shadow(0 0 24px rgba(var(--lcx-type-rgb), .48));
  animation: lcx-float 4.4s ease-in-out infinite;
}

.lcx-level-seal {
  position: absolute;
  z-index: 6;
  top: 22px;
  right: 24px;
  display: grid;
  justify-items: end;
  text-align: right;
}

.lcx-level-seal strong {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: .8;
  letter-spacing: -.07em;
}

.lcx-level-seal span {
  margin-top: 8px;
  color: var(--lcx-type);
  font-size: .56rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lcx-workspace {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 18px;
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: 22px clamp(14px, 2.8vw, 38px) 70px;
}

.lcx-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.lcx-view-collection .lcx-stage {
  display: none;
}

.lcx-view-bestiary .lcx-stage {
  display: none;
}

.lcx-kamidex-workspace {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  width: min(1580px, 100%);
  padding-top: 16px;
}

.lcx-kamidex-sidebar {
  top: 146px;
  gap: 10px;
}

.lcx-kamidex-sidebar .lcx-filter-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.lcx-kamidex-sidebar .lcx-filter-panel label {
  min-width: 0;
  margin: 0;
}

.lcx-kamidex-sidebar .lcx-filter-panel label:first-child {
  grid-column: 1 / -1;
}

.lcx-kamidex-sidebar .lcx-filter-panel input,
.lcx-kamidex-sidebar .lcx-filter-panel select {
  height: 40px;
  margin: 0;
  padding-inline: 10px;
  font-size: .68rem;
}

.lcx-kami-browser {
  min-height: 0;
  overflow: hidden;
}

.lcx-kami-browser-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #ffffff12;
}

.lcx-kami-browser-head strong,
.lcx-kami-browser-head span {
  display: block;
}

.lcx-kami-browser-head strong {
  margin-top: 3px;
  color: #fff4d5;
  font-size: .78rem;
}

.lcx-kami-browser-count {
  color: #80919e;
  font-size: .51rem;
  font-weight: 850;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

.lcx-kami-browser-count b {
  color: #edf3f5;
}

.lcx-kami-browser-count span {
  display: inline;
  color: var(--lcx-type);
}

.lcx-kami-index-list {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 230px;
  max-height: calc(100svh - 430px);
  padding: 7px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(var(--lcx-type-rgb), .5) #050811;
  scrollbar-width: thin;
}

.lcx-kami-index-choice {
  --row-type: #c98cff;
  appearance: none;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 60px;
  padding: 5px 8px 5px 5px;
  overflow: hidden;
  border: 1px solid #ffffff10;
  border-left: 3px solid color-mix(in srgb, var(--row-type) 70%, #fff 5%);
  border-radius: 10px;
  color: #edf3f5;
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--row-type) 10%, #0a1019), #070b12 62%);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.lcx-kami-index-choice:hover {
  border-color: color-mix(in srgb, var(--row-type) 58%, white 18%);
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--row-type) 20%, #0a1019), #080d15 66%);
  transform: translateX(2px);
}

.lcx-kami-index-choice.is-selected {
  border-color: var(--row-type);
  background:
    radial-gradient(circle at 14% 50%, color-mix(in srgb, var(--row-type) 24%, transparent), transparent 46%),
    linear-gradient(110deg, color-mix(in srgb, var(--row-type) 19%, #0a1019), #080d15 70%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--row-type) 38%, transparent),
    0 0 20px color-mix(in srgb, var(--row-type) 14%, transparent);
}

.lcx-kami-index-art {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--row-type) 28%, #ffffff14);
  border-radius: 9px;
  background: radial-gradient(circle, color-mix(in srgb, var(--row-type) 20%, transparent), #050811 74%);
}

.lcx-kami-index-art img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 5px 3px #000b);
}

.lcx-kami-index-copy,
.lcx-kami-index-copy strong,
.lcx-kami-index-copy small,
.lcx-kami-index-status {
  display: block;
  min-width: 0;
}

.lcx-kami-index-copy strong {
  overflow: hidden;
  font-size: .66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-kami-index-copy small {
  margin-top: 4px;
  overflow: hidden;
  color: #8698a5;
  font-size: .48rem;
  font-weight: 850;
  letter-spacing: .045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.lcx-kami-index-status {
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 5px;
  min-width: 38px;
}

.lcx-kami-index-status b {
  color: var(--row-type);
  font-size: .55rem;
}

.lcx-kami-index-status small {
  padding: 3px 4px;
  border-radius: 5px;
  color: #1b160b;
  background: #f0ca72;
  font-size: .4rem;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.lcx-kami-index-empty {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 20px;
  color: #8495a2;
  font-size: .68rem;
  text-align: center;
}

.lcx-kamidex-record {
  margin: 0;
  overflow: hidden;
  border-color: rgba(var(--lcx-type-rgb), .36);
  background:
    radial-gradient(circle at 18% 10%, rgba(var(--lcx-type-rgb), .13), transparent 36rem),
    linear-gradient(145deg, #0f1724f5, #070b13f2);
  box-shadow:
    0 28px 70px #0008,
    0 0 36px rgba(var(--lcx-type-rgb), .08),
    inset 0 1px #ffffff0f;
}

.lcx-record-main {
  display: grid;
  grid-template-columns: minmax(300px, 37%) minmax(0, 1fr);
  min-height: 330px;
}

.lcx-record-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  border-right: 1px solid #ffffff13;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(var(--lcx-type-rgb), .27), transparent 42%),
    radial-gradient(ellipse at 52% 88%, rgba(var(--lcx-type-rgb), .15), transparent 38%),
    linear-gradient(155deg, #101924, #03060b 78%);
  isolation: isolate;
}

.lcx-record-art::before {
  position: absolute;
  z-index: 0;
  inset: 9% 9% 11%;
  content: "";
  border: 1px solid rgba(var(--lcx-type-rgb), .28);
  border-radius: 50%;
  box-shadow:
    0 0 44px rgba(var(--lcx-type-rgb), .14),
    inset 0 0 55px rgba(var(--lcx-type-rgb), .1);
}

.lcx-record-art::after {
  position: absolute;
  z-index: 0;
  right: -14%;
  bottom: -24%;
  left: -14%;
  height: 54%;
  content: "";
  border-top: 1px solid rgba(var(--lcx-type-rgb), .21);
  border-radius: 50%;
  background:
    repeating-radial-gradient(ellipse at 50% 0, transparent 0 17px, rgba(var(--lcx-type-rgb), .08) 18px 19px);
  opacity: .65;
  transform: perspective(220px) rotateX(62deg);
}

.lcx-record-atmosphere,
.lcx-record-atmosphere i {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lcx-record-atmosphere i {
  z-index: 1;
  width: 9px;
  height: 9px;
  margin: auto;
  border-radius: 50%;
  background: var(--lcx-type);
  box-shadow: 0 0 13px 4px rgba(var(--lcx-type-rgb), .58);
  opacity: .7;
  animation: lcx-record-wisp 7s ease-in-out infinite;
}

.lcx-record-atmosphere i:nth-child(1) {
  translate: -128px -80px;
}

.lcx-record-atmosphere i:nth-child(2) {
  width: 6px;
  height: 6px;
  translate: 118px -38px;
  animation-delay: -2.4s;
}

.lcx-record-atmosphere i:nth-child(3) {
  width: 5px;
  height: 5px;
  translate: -92px 102px;
  animation-delay: -4.1s;
}

.lcx-record-art img {
  position: relative;
  z-index: 3;
  width: 92%;
  height: 300px;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 12px #000c)
    drop-shadow(0 0 22px rgba(var(--lcx-type-rgb), .42));
  animation: lcx-float 5.8s ease-in-out infinite;
}

.lcx-record-art-label {
  position: absolute;
  z-index: 4;
  left: 13px;
  bottom: 11px;
  color: #81939f;
  font-size: .43rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lcx-record-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(24px, 4vw, 54px);
}

.lcx-record-copy h1 {
  margin: 8px 0 18px;
  overflow-wrap: anywhere;
  font: 950 clamp(1.8rem, calc(4.2vw * var(--lcx-record-name-scale, 1)), 4.2rem)/.88 Inter, system-ui;
  letter-spacing: -.068em;
  white-space: nowrap;
  text-transform: uppercase;
}

.lcx-record-lore {
  max-width: 760px;
  margin: 0;
  color: #b7c4cd;
  font-size: clamp(.72rem, 1.05vw, .87rem);
  line-height: 1.68;
}

.lcx-record-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.lcx-kamidex-record .lcx-data-strip {
  background: #070b13a8;
}

.lcx-kamidex-record .lcx-ability-deck {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  padding: 10px;
}

.lcx-kamidex-record .lcx-ability {
  min-height: 82px;
}

.lcx-kamidex-showcase {
  grid-template-columns: minmax(450px, 1.22fr) minmax(320px, .78fr);
  min-height: 600px;
}

.lcx-kamidex-scene {
  min-height: 600px;
  border-right: 1px solid #ffffff16;
  background: #03070c;
}

.lcx-kamidex-scene::before {
  z-index: 2;
  opacity: calc(.08 + var(--preview-intensity) * .2);
  mix-blend-mode: screen;
}

.lcx-kamidex-scene::after {
  z-index: 2;
  right: 7%;
  bottom: 8%;
  opacity: calc(.24 + var(--preview-intensity) * .58);
}

.lcx-kamidex-scene .lc-graphics-canvas {
  z-index: 1;
}

.lcx-kamidex-scene .lcx-mastery-fallback {
  z-index: 1;
  width: min(72%, 560px);
  height: 82%;
}

.lcx-kamidex-expand {
  appearance: none;
  position: absolute;
  z-index: 8;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(var(--lcx-type-rgb), .5);
  border-radius: 10px;
  color: #eff6f7;
  background: #060b12c9;
  box-shadow: 0 10px 26px #0008;
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: .53rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcx-kamidex-expand:hover {
  border-color: var(--lcx-type);
  background: rgba(var(--lcx-type-rgb), .2);
}

.lcx-kamidex-expand b {
  color: var(--lcx-type);
  font-size: 1.05rem;
}

.lcx-kamidex-scene-track {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  pointer-events: none;
}

.lcx-kamidex-scene-track i {
  position: relative;
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #ffffff1c;
  box-shadow: 0 0 0 1px #0006;
}

.lcx-kamidex-scene-track i.is-earned {
  background: color-mix(in srgb, var(--lcx-type) 62%, #ffffff 10%);
  box-shadow: 0 0 9px rgba(var(--lcx-type-rgb), .42);
}

.lcx-kamidex-scene-track i.is-active {
  height: 7px;
  margin-top: -1px;
  background: #fff2c9;
  box-shadow: 0 0 15px var(--lcx-type);
}

.lcx-kamidex-scene-track span {
  position: absolute;
  right: 0;
  bottom: 10px;
  color: #dce7e9;
  font-size: .42rem;
  font-style: normal;
  font-weight: 950;
  opacity: 0;
}

.lcx-kamidex-scene-track i.is-active span {
  opacity: .86;
}

[data-ability-target-surface] {
  cursor: crosshair;
}

.lcx-ability-crosshair {
  position: absolute;
  z-index: 8;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff3c3;
  background: transparent;
  filter: drop-shadow(0 3px 7px #000d);
  opacity: .92;
  outline: none;
  transform: translate(-50%, -50%);
  transition: filter .16s ease, opacity .16s ease, transform .16s ease;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.lcx-ability-crosshair::before {
  position: absolute;
  inset: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px #020509b8,
    0 0 17px rgba(var(--lcx-type-rgb), .84),
    inset 0 0 15px rgba(var(--lcx-type-rgb), .3);
  content: "";
}

.lcx-ability-crosshair::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 4px, currentColor 4px 17px, transparent 17px calc(100% - 17px), currentColor calc(100% - 17px) calc(100% - 4px), transparent calc(100% - 4px)) center / 100% 2px no-repeat,
    linear-gradient(transparent 0 4px, currentColor 4px 17px, transparent 17px calc(100% - 17px), currentColor calc(100% - 17px) calc(100% - 4px), transparent calc(100% - 4px)) center / 2px 100% no-repeat;
  content: "";
}

.lcx-ability-crosshair span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #020509;
  border-radius: 50%;
  background: var(--lcx-type);
  box-shadow: 0 0 12px var(--lcx-type);
  transform: translate(-50%, -50%);
}

.lcx-ability-crosshair:hover,
.lcx-ability-crosshair:focus-visible {
  color: #ffffff;
  filter: drop-shadow(0 0 11px rgba(var(--lcx-type-rgb), .9));
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

[data-ability-target-surface].is-aiming .lcx-ability-crosshair {
  color: #ffffff;
  filter: drop-shadow(0 0 15px rgba(var(--lcx-type-rgb), 1));
  transform: translate(-50%, -50%) scale(1.16);
  cursor: grabbing;
}

[data-ability-target-surface].is-casting .lcx-ability-crosshair {
  animation: lcx-crosshair-hit .62s cubic-bezier(.2, .8, .2, 1);
}

.lcx-kamidex-showcase .lcx-record-copy {
  align-self: stretch;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-left: 1px solid #ffffff0b;
  background:
    linear-gradient(145deg, rgba(var(--lcx-type-rgb), .07), transparent 40%),
    #080d16d9;
}

.lcx-domain-control {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(var(--lcx-type-rgb), .24);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(var(--lcx-type-rgb), .09), #060a12c7);
}

.lcx-domain-control-head {
  display: grid;
  gap: 7px;
}

.lcx-domain-control-head span,
.lcx-domain-control > label {
  display: block;
  color: var(--lcx-type);
  font-size: .5rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lcx-domain-control-head strong {
  display: block;
  margin-top: 4px;
  color: #fff2d1;
  font-size: .76rem;
}

.lcx-domain-control-head small {
  color: #91a3af;
  font-size: .58rem;
  line-height: 1.5;
}

.lcx-domain-control > label {
  margin: 13px 0 7px;
}

.lcx-domain-control .lcx-mastery-range {
  width: 100%;
}

.lcx-domain-fixed {
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #aebdc5;
  background: #050910a6;
  font-size: .57rem;
  font-weight: 800;
}

.lcx-domain-preview-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 11px;
}

.lcx-domain-preview-actions [hidden] {
  display: none;
}

.lcx-domain-preview-actions .lcx-btn {
  min-height: 39px;
  padding-inline: 10px;
  font-size: .53rem;
}

.lcx-kamidex-ability {
  appearance: none;
  position: relative;
  padding-right: 54px;
  color: #eef4f5;
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.lcx-kamidex-ability:hover,
.lcx-kamidex-ability.is-playing {
  border-color: color-mix(in srgb, var(--lcx-type) 72%, #fff 12%);
  background: linear-gradient(145deg, rgba(var(--lcx-type-rgb), .23), #0a0e17);
  transform: translateY(-2px);
}

.lcx-kamidex-ability > i {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--lcx-type-rgb), .5);
  border-radius: 50%;
  color: #fff2ca;
  background: rgba(var(--lcx-type-rgb), .12);
  font-size: .37rem;
  font-style: normal;
  font-weight: 950;
  transform: translateY(-50%);
}

.lcx-kamidex-ability.is-playing > i {
  color: #171107;
  background: #f3ca70;
  animation: lcx-play-pulse .72s ease-out;
}

body.lcx-scene-open {
  overflow: hidden;
}

body.lcx-scene-open .lcx-kamidex-record {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: visible;
}

.lcx-kamidex-scene.is-expanded {
  position: fixed !important;
  z-index: 5000;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  background: #020509;
}

.lcx-kamidex-scene.is-expanded .lcx-mastery-stage-hud {
  top: clamp(20px, 4vw, 48px);
  left: clamp(20px, 4vw, 54px);
}

.lcx-kamidex-scene.is-expanded .lcx-kamidex-expand {
  top: clamp(20px, 4vw, 44px);
  right: clamp(20px, 4vw, 48px);
}

.lcx-kamidex-scene.is-expanded .lcx-kamidex-scene-track {
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(22px, 5vw, 58px);
  left: clamp(20px, 5vw, 70px);
}

@keyframes lcx-record-wisp {
  0%,
  100% { opacity: .18; transform: translate3d(-16px, 10px, 0) scale(.72); }
  36% { opacity: .9; transform: translate3d(14px, -19px, 0) scale(1.18); }
  68% { opacity: .42; transform: translate3d(26px, 8px, 0) scale(.88); }
}

.lcx-collection-workspace {
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  width: min(1680px, 100%);
  padding-top: 18px;
}

.lcx-collection-sidebar {
  top: 148px;
}

.lcx-collection-head {
  margin-bottom: 12px;
}

.lcx-collection-head h2 {
  margin-top: 3px;
}

.lcx-bond-browser {
  min-height: 0;
  overflow: hidden;
}

.lcx-bond-browser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px 9px;
  border-bottom: 1px solid #ffffff12;
}

.lcx-bond-browser-head strong,
.lcx-bond-browser-head span {
  font-size: .55rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcx-bond-browser-head strong {
  color: #fff2ca;
}

.lcx-bond-browser-head span {
  color: #8294a2;
}

.lcx-bond-list {
  display: grid;
  align-content: start;
  gap: 5px;
  max-height: calc(100svh - 470px);
  min-height: 190px;
  padding: 7px;
  overflow: auto;
  scrollbar-width: thin;
}

.lcx-bond-choice {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 58px;
  min-height: 58px;
  padding: 5px 8px 5px 5px;
  border: 1px solid #ffffff12;
  border-left: 3px solid var(--bond-type);
  border-radius: 10px;
  color: #eef3f4;
  background: linear-gradient(135deg, color-mix(in srgb, var(--bond-type) 10%, #0b111b), #070b12);
  cursor: pointer;
  text-align: left;
}

.lcx-bond-choice:hover,
.lcx-bond-choice.is-selected {
  border-color: color-mix(in srgb, var(--bond-type) 72%, #fff);
  background: linear-gradient(135deg, color-mix(in srgb, var(--bond-type) 22%, #0b111b), #080d15);
  box-shadow: inset 0 0 20px color-mix(in srgb, var(--bond-type) 12%, transparent);
}

.lcx-bond-choice img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 6px 4px #0009);
}

.lcx-bond-choice span,
.lcx-bond-choice strong,
.lcx-bond-choice small {
  display: block;
  min-width: 0;
}

.lcx-bond-choice strong {
  overflow: hidden;
  font-size: .66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-bond-choice small {
  margin-top: 4px;
  color: #8fa1ae;
  font-size: .5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lcx-panel {
  border: 1px solid var(--lcx-line);
  border-radius: 18px;
  background: linear-gradient(145deg, #101827ed, #080d16eb);
  box-shadow: 0 20px 54px #0006, inset 0 1px #ffffff0c;
  backdrop-filter: blur(14px);
}

.lcx-filter-panel {
  padding: 14px;
}

.lcx-filter-panel label,
.lcx-field-label {
  display: block;
  margin: 0 0 6px;
  color: #8495a5;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lcx-filter-panel input,
.lcx-filter-panel select {
  width: 100%;
  height: 44px;
  margin: 0 0 10px;
  padding: 0 12px;
  border: 1px solid #ffffff18;
  border-radius: 11px;
  color: #f6f8f9;
  background: #050912dd;
  font-size: .75rem;
  font-weight: 700;
}

.lcx-filter-panel select {
  cursor: pointer;
}

.lcx-side-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  padding: 12px 14px;
}

.lcx-side-stat span {
  color: #8fa0ae;
  font-size: .62rem;
  font-weight: 800;
}

.lcx-side-stat strong {
  color: #fff4cd;
  font-size: .7rem;
}

.lcx-content {
  min-width: 0;
}

.lcx-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 14px;
}

.lcx-section-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.lcx-section-head p {
  max-width: 560px;
  margin: 0;
  color: #91a2af;
  font-size: .72rem;
  line-height: 1.5;
  text-align: right;
}

.lcx-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 10px;
}

.lcx-kami-card {
  --card-type: #c98cff;
  position: relative;
  min-width: 0;
  min-height: 228px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #ffffff16;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--card-type) 23%, transparent), transparent 45%),
    linear-gradient(155deg, #121a27, #060a11);
  box-shadow: inset 0 -3px color-mix(in srgb, var(--card-type) 75%, transparent);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.lcx-kami-card:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--card-type) 62%, white 14%);
  box-shadow: inset 0 -3px var(--card-type), 0 16px 32px #0008, 0 0 22px color-mix(in srgb, var(--card-type) 20%, transparent);
  transform: translateY(-3px);
}

.lcx-kami-card.is-selected {
  border-color: var(--card-type);
  box-shadow: inset 0 0 0 1px var(--card-type), 0 0 28px color-mix(in srgb, var(--card-type) 30%, transparent);
}

.lcx-kami-card img {
  display: block;
  width: 100%;
  height: 154px;
  object-fit: contain;
  filter: drop-shadow(0 12px 7px #000b);
}

.lcx-kami-card-copy {
  display: grid;
  gap: 4px;
  padding: 10px 11px 12px;
}

.lcx-kami-card-copy strong {
  overflow: hidden;
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-kami-card-copy span {
  overflow: hidden;
  color: #94a3af;
  font-size: .54rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.lcx-card-rank,
.lcx-card-owned {
  position: absolute;
  z-index: 3;
  top: 8px;
  padding: 4px 6px;
  border: 1px solid #ffffff1e;
  border-radius: 7px;
  background: #050810d9;
  font-size: .48rem;
  font-weight: 950;
  letter-spacing: .07em;
}

.lcx-card-rank {
  left: 8px;
  color: var(--card-type);
}

.lcx-card-owned {
  right: 8px;
  color: #11150f;
  background: #f3ca70;
}

.lcx-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 30px;
  border: 1px dashed #ffffff20;
  border-radius: 18px;
  color: #8394a0;
  text-align: center;
}

.lcx-actions,
.lcx-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lcx-btn,
.lcx-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #ffffff20;
  border-radius: 10px;
  color: #e6edf1;
  background: #111a26;
  cursor: pointer;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.lcx-btn:hover,
.lcx-chip:hover {
  border-color: var(--lcx-type);
  background: #192535;
}

.lcx-btn.is-primary {
  border-color: #f7df9d;
  color: #16130c;
  background: linear-gradient(135deg, #fff0aa, #e4a849);
  box-shadow: 0 8px 24px #d69f4530;
}

.lcx-btn.is-type,
.lcx-chip.is-active {
  border-color: color-mix(in srgb, var(--lcx-type) 72%, white 12%);
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--lcx-type) 28%, #111722), #101622);
}

.lcx-btn.is-danger {
  border-color: #ff806044;
  color: #ffc1b2;
  background: #341716;
}

.lcx-btn:disabled,
.lcx-chip:disabled {
  cursor: not-allowed;
  filter: grayscale(.5);
  opacity: .42;
}

.lcx-detail {
  margin-bottom: 20px;
  overflow: hidden;
}

.lcx-index-profile {
  border-color: rgba(var(--lcx-type-rgb), .3);
  background:
    radial-gradient(circle at 10% 0, rgba(var(--lcx-type-rgb), .13), transparent 34rem),
    linear-gradient(145deg, #101827ed, #080d16eb);
}

.lcx-index-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}

.lcx-index-profile-head h2 {
  margin: 5px 0 4px;
  overflow-wrap: anywhere;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.lcx-index-profile-head p {
  margin: 0;
  color: #93a4b1;
  font-size: .66rem;
  font-weight: 750;
}

.lcx-index-profile-head .lcx-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.lcx-mastery-gallery {
  margin-bottom: 18px;
  overflow: hidden;
  border-color: rgba(var(--lcx-type-rgb), .34);
  background:
    radial-gradient(circle at 22% 22%, rgba(var(--lcx-type-rgb), .18), transparent 30rem),
    linear-gradient(145deg, #0d1721f5, #060a11f2);
  box-shadow:
    0 30px 76px #000a,
    0 0 48px rgba(var(--lcx-type-rgb), .12),
    inset 0 1px #ffffff12;
}

.lcx-mastery-gallery > .lcx-empty {
  min-height: 72px;
  margin: 10px;
  padding: 14px;
  border-radius: 11px;
  font-size: .6rem;
}

.lcx-mastery-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.18fr) minmax(360px, .82fr);
  min-height: 500px;
}

.lcx-mastery-stage {
  --preview-intensity: .14;
  position: relative;
  min-width: 0;
  min-height: 500px;
  overflow: hidden;
  border-right: 1px solid #ffffff16;
  background:
    radial-gradient(circle at 50% 48%, rgba(var(--lcx-type-rgb), calc(.12 + var(--preview-intensity) * .18)), transparent 37%),
    linear-gradient(165deg, #0b1b22, #020609 78%);
  isolation: isolate;
}

.lcx-mastery-stage::before,
.lcx-mastery-stage::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.lcx-mastery-stage::before {
  inset: 0;
  opacity: calc(.25 + var(--preview-intensity) * .52);
  background:
    repeating-linear-gradient(32deg, transparent 0 33px, rgba(var(--lcx-type-rgb), .05) 34px, transparent 35px 70px),
    radial-gradient(circle at 50% 76%, rgba(var(--lcx-type-rgb), .2), transparent 36%);
  mask-image: linear-gradient(180deg, #000, #000b 74%, transparent);
}

.lcx-mastery-stage::after {
  right: 9%;
  bottom: 14%;
  width: 19%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--lcx-type-rgb), .52);
  border-radius: 50%;
  opacity: .72;
  box-shadow:
    0 0 22px rgba(var(--lcx-type-rgb), .32),
    inset 0 0 20px rgba(var(--lcx-type-rgb), .15);
  transform: rotateX(68deg);
}

.lcx-mastery-stage .lc-graphics-canvas {
  z-index: 1;
}

.lcx-mastery-fallback {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(66%, 430px);
  height: 74%;
  object-fit: contain;
  opacity: 1;
  filter:
    drop-shadow(0 24px 13px #000c)
    drop-shadow(0 0 calc(10px + 24px * var(--preview-intensity)) rgba(var(--lcx-type-rgb), .62));
  transform: translate(-50%, -48%);
  transition: opacity .18s ease;
}

.lcx-mastery-stage.lc-graphics-ready .lcx-mastery-fallback {
  opacity: 0;
}

.lcx-mastery-stage-hud,
.lcx-mastery-owned,
.lcx-mastery-target {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.lcx-mastery-stage-hud {
  top: 18px;
  left: 18px;
  display: grid;
  gap: 5px;
}

.lcx-mastery-stage-hud span,
.lcx-mastery-owned,
.lcx-mastery-target span {
  color: #d9e5e8;
  font-size: .5rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lcx-mastery-stage-hud strong {
  color: #fff2c9;
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(var(--lcx-type-rgb), .55);
}

.lcx-mastery-owned {
  top: 18px;
  right: 18px;
  padding: 7px 9px;
  border: 1px solid #f3ca7066;
  border-radius: 8px;
  color: #18140b;
  background: linear-gradient(135deg, #fff0a8, #d9a24b);
  box-shadow: 0 8px 22px #0008;
}

.lcx-mastery-target {
  right: 6%;
  bottom: 11%;
  display: grid;
  place-items: center;
  gap: 5px;
  width: 25%;
  min-width: 92px;
  opacity: .72;
}

.lcx-mastery-target i {
  display: block;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(var(--lcx-type-rgb), .7);
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 48%, rgba(var(--lcx-type-rgb), .55) 49% 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(var(--lcx-type-rgb), .55) 49% 51%, transparent 52%);
  box-shadow: 0 0 22px rgba(var(--lcx-type-rgb), .4);
  animation: lcx-target-pulse 2.3s ease-in-out infinite;
}

.lcx-mastery-stage.is-casting .lcx-mastery-target i {
  animation: lcx-target-hit .68s cubic-bezier(.2, .8, .2, 1);
}

.lcx-mastery-controls {
  position: relative;
  z-index: 4;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 26px);
  background:
    linear-gradient(145deg, rgba(var(--lcx-type-rgb), .07), transparent 35%),
    #080d15e8;
}

.lcx-mastery-controls h2 {
  margin: 6px 0 10px;
  overflow-wrap: normal;
  font-size: clamp(1.5rem, calc(2.7vw * var(--mastery-name-scale, 1)), 2.35rem);
  line-height: .92;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.lcx-mastery-controls > p {
  display: -webkit-box;
  margin: 0 0 20px;
  overflow: hidden;
  color: #aebdc7;
  font-size: .72rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.lcx-collection-rankline {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 13px;
}

.lcx-collection-rankline span {
  padding: 5px 7px;
  border: 1px solid rgba(var(--lcx-type-rgb), .25);
  border-radius: 999px;
  color: #a8b6be;
  background: rgba(var(--lcx-type-rgb), .08);
  font-size: .48rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lcx-mastery-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.lcx-mastery-slider-head label,
.lcx-mastery-slider-head output {
  font-size: .56rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcx-mastery-slider-head label {
  color: #94a6b2;
}

.lcx-mastery-slider-head output {
  color: #fff0bd;
}

.lcx-mastery-range {
  appearance: none;
  display: block;
  width: 100%;
  height: 24px;
  margin: 0;
  cursor: ew-resize;
  background: transparent;
}

.lcx-mastery-range::-webkit-slider-runnable-track {
  height: 7px;
  border: 1px solid rgba(var(--lcx-type-rgb), .42);
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--lcx-type), #f3ca70);
  box-shadow: 0 0 18px rgba(var(--lcx-type-rgb), .28);
}

.lcx-mastery-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 3px solid #070b11;
  border-radius: 50%;
  background: #fff2bd;
  box-shadow: 0 0 0 2px var(--lcx-type), 0 0 18px rgba(var(--lcx-type-rgb), .72);
}

.lcx-mastery-range::-moz-range-track {
  height: 7px;
  border: 1px solid rgba(var(--lcx-type-rgb), .42);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lcx-type), #f3ca70);
}

.lcx-mastery-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #070b11;
  border-radius: 50%;
  background: #fff2bd;
  box-shadow: 0 0 0 2px var(--lcx-type), 0 0 18px rgba(var(--lcx-type-rgb), .72);
}

.lcx-mastery-fixed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(var(--lcx-type-rgb), .32);
  border-radius: 10px;
  background: rgba(var(--lcx-type-rgb), .09);
}

.lcx-mastery-fixed span {
  flex: 0 0 auto;
  color: #fff0bd;
  font-size: .58rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcx-mastery-fixed small {
  color: #8fa0ac;
  font-size: .52rem;
  font-weight: 750;
  text-align: right;
}

.lcx-earned-unlocks {
  margin: 10px 0 17px;
}

.lcx-earned-unlocks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.lcx-earned-unlocks-head strong,
.lcx-earned-unlocks-head span {
  font-size: .52rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcx-earned-unlocks-head strong {
  color: #fff0c4;
}

.lcx-earned-unlocks-head span {
  color: #8194a0;
}

.lcx-mastery-milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 4px;
  margin: 0 0 8px;
}

.lcx-mastery-milestones button {
  min-width: 0;
  min-height: 44px;
  padding: 5px 2px;
  border: 1px solid #ffffff13;
  border-radius: 8px;
  color: #647481;
  background: #050911;
  cursor: pointer;
}

.lcx-mastery-milestones button.is-reached {
  border-color: rgba(var(--lcx-type-rgb), .38);
  color: #dce8eb;
  background: rgba(var(--lcx-type-rgb), .1);
}

.lcx-mastery-milestones button[aria-current="true"] {
  border-color: #f3ca70;
  color: #fff4cd;
  box-shadow: inset 0 -2px var(--lcx-type), 0 0 16px rgba(var(--lcx-type-rgb), .22);
}

.lcx-mastery-milestones b,
.lcx-mastery-milestones span {
  display: block;
}

.lcx-mastery-milestones b {
  font-size: .62rem;
}

.lcx-mastery-milestones span {
  margin-top: 3px;
  overflow: hidden;
  font-size: .39rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.lcx-next-unlock {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 82px;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px dashed rgba(var(--lcx-type-rgb), .38);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(var(--lcx-type-rgb), .11), transparent 68%),
    #050a12;
}

.lcx-next-unlock::after {
  position: absolute;
  right: 10px;
  top: 8px;
  content: "LOCKED";
  color: #738491;
  font-size: .42rem;
  font-weight: 950;
  letter-spacing: .14em;
}

.lcx-next-unlock.is-complete::after {
  content: "COMPLETE";
  color: #f1d98d;
}

.lcx-next-orb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(var(--lcx-type-rgb), .35);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--lcx-type-rgb), .18), transparent 64%);
  filter: grayscale(.35);
}

.lcx-next-orb i {
  width: 25px;
  height: 34px;
  border-radius: 50% 50% 42% 42%;
  background: #000;
  box-shadow: 0 0 18px rgba(var(--lcx-type-rgb), .5);
  clip-path: polygon(50% 0, 67% 21%, 92% 34%, 78% 62%, 100% 88%, 58% 80%, 50% 100%, 41% 80%, 0 88%, 22% 61%, 8% 34%, 35% 21%);
}

.lcx-next-unlock span,
.lcx-next-unlock strong,
.lcx-next-unlock small,
.lcx-next-unlock em {
  display: block;
}

.lcx-next-unlock span {
  color: var(--lcx-type);
  font-size: .46rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lcx-next-unlock strong {
  margin: 3px 62px 3px 0;
  color: #f3ead2;
  font-size: .68rem;
  text-transform: uppercase;
}

.lcx-next-unlock small {
  max-width: 52ch;
  color: #82939f;
  font-size: .49rem;
  line-height: 1.42;
}

.lcx-next-unlock em {
  margin-top: 5px;
  color: #b9c5ca;
  font-size: .46rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.lcx-next-progress {
  width: min(260px, 100%);
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #ffffff10;
}

.lcx-next-progress i {
  display: block;
  width: var(--next-progress);
  height: 100%;
  background: linear-gradient(90deg, var(--lcx-type), #f3ca70);
  box-shadow: 0 0 10px rgba(var(--lcx-type-rgb), .45);
}

.lcx-mastery-kit-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.lcx-mastery-kit-head strong {
  color: #fff3cf;
  font-size: .72rem;
  text-transform: uppercase;
}

.lcx-mastery-kit-head span {
  color: #778a98;
  font-size: .5rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lcx-mastery-abilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 17px;
}

.lcx-gallery-ability {
  position: relative;
  min-width: 0;
  min-height: 78px;
  overflow: hidden;
  padding: 10px 55px 10px 11px;
  border: 1px solid #ffffff18;
  border-left: 3px solid var(--lcx-type);
  border-radius: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 96% 18%, rgba(var(--lcx-type-rgb), .23), transparent 40%),
    linear-gradient(145deg, rgba(var(--lcx-type-rgb), .12), #090e17);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.lcx-gallery-ability:hover,
.lcx-gallery-ability.is-playing {
  border-color: var(--lcx-type);
  box-shadow: 0 0 24px rgba(var(--lcx-type-rgb), .24), inset 0 0 24px rgba(var(--lcx-type-rgb), .08);
  transform: translateY(-2px);
}

.lcx-gallery-ability.is-locked {
  border-color: #ffffff12;
  border-left-color: #5f6c75;
  color: #7c8a94;
  background: #070b11;
  cursor: not-allowed;
  filter: saturate(.35);
}

.lcx-gallery-ability.is-locked:hover {
  box-shadow: none;
  transform: none;
}

.lcx-gallery-ability span,
.lcx-gallery-ability strong,
.lcx-gallery-ability small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-gallery-ability span {
  color: var(--lcx-type);
  font-size: .46rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcx-gallery-ability strong {
  margin: 8px 0 5px;
  color: #fff2d0;
  font-size: .72rem;
}

.lcx-gallery-ability small {
  color: #899ba7;
  font-size: .49rem;
}

.lcx-gallery-ability > i {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(var(--lcx-type-rgb), .44);
  border-radius: 50%;
  color: #fff0bd;
  background: rgba(var(--lcx-type-rgb), .14);
  font-size: .38rem;
  font-style: normal;
  font-weight: 950;
  transform: translateY(-50%);
}

.lcx-gallery-ability.is-playing > i {
  color: #151008;
  background: #f3ca70;
  animation: lcx-play-pulse .72s ease-out;
}

.lcx-detail-main {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  min-height: 270px;
}

.lcx-detail-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(var(--lcx-type-rgb), .3), transparent 54%),
    #070b13;
}

.lcx-detail-art::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  content: "";
  border: 3px double rgba(var(--lcx-type-rgb), .5);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(var(--lcx-type-rgb), .3);
  animation: lcx-spin 17s linear infinite;
}

.lcx-detail-art img {
  position: relative;
  z-index: 2;
  width: 92%;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 17px 9px #000b) drop-shadow(0 0 15px rgba(var(--lcx-type-rgb), .5));
}

.lcx-detail-copy {
  padding: clamp(18px, 3vw, 30px);
}

.lcx-detail-copy h2 {
  margin: 5px 0 6px;
  overflow-wrap: anywhere;
  font-size: clamp(1.7rem, 4vw, 3.15rem);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.lcx-detail-copy > p {
  max-width: 720px;
  color: #b5c2cb;
  font-size: .76rem;
  line-height: 1.62;
}

.lcx-data-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #ffffff12;
}

.lcx-data-strip > div {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid #ffffff10;
}

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

.lcx-data-strip strong,
.lcx-data-strip span {
  display: block;
}

.lcx-data-strip strong {
  margin-top: 4px;
  overflow: hidden;
  color: #fff2c8;
  font-size: .7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-ability-deck {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 12px;
  border-top: 1px solid #ffffff12;
  background: #050811aa;
}

.lcx-ability-pool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid #ffffff12;
  color: #f5d788;
  background: #090e18d9;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.lcx-ability-pool-head span {
  color: #91a2ae;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.lcx-ability {
  min-width: 0;
  min-height: 86px;
  padding: 10px;
  border: 1px solid #ffffff17;
  border-left: 3px solid var(--lcx-type);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(var(--lcx-type-rgb), .12), #0a0e17);
}

.lcx-ability.is-locked {
  filter: grayscale(.65);
  opacity: .52;
}

.lcx-ability span,
.lcx-ability strong,
.lcx-ability small {
  display: block;
}

.lcx-ability span {
  color: var(--lcx-type);
  font-size: .47rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lcx-ability strong {
  margin: 7px 0 5px;
  overflow: hidden;
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-ability small {
  color: #8fa0ac;
  font-size: .52rem;
  line-height: 1.35;
}

.lcx-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.lcx-team-layout,
.lcx-collection-layout,
.lcx-trade-layout {
  display: grid;
  gap: 16px;
}

.lcx-squad {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.lcx-slot {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 170px;
  overflow: hidden;
  padding: 7px;
  border: 1px dashed #ffffff22;
  border-radius: 13px;
  background: #050912b5;
}

.lcx-slot.is-filled {
  border-style: solid;
  border-color: color-mix(in srgb, var(--slot-type) 50%, #ffffff1c);
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--slot-type) 18%, transparent), transparent 44%),
    #080d16;
}

.lcx-slot.is-captain {
  box-shadow: inset 0 0 0 2px #f3ca70, 0 0 25px #f3ca7028;
}

.lcx-slot img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 9px 5px #000b);
}

.lcx-slot strong,
.lcx-slot small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-slot strong {
  margin-top: 4px;
  font-size: .66rem;
}

.lcx-slot small {
  margin: 3px 0 7px;
  color: #8fa0ac;
  font-size: .51rem;
}

.lcx-slot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.lcx-slot-actions button {
  min-height: 44px;
  padding: 0 5px;
  border: 1px solid #ffffff18;
  border-radius: 7px;
  color: #ccd8de;
  background: #101925;
  cursor: pointer;
  font-size: .5rem;
  font-weight: 900;
}

.lcx-slot-empty {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: #4f6170;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lcx-roster-list,
.lcx-roll-list,
.lcx-trade-pool {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.lcx-roster-row,
.lcx-roll-card,
.lcx-trade-card {
  --row-type: #c98cff;
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 9px;
  border: 1px solid #ffffff14;
  border-left: 4px solid var(--row-type);
  border-radius: 11px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--row-type) 10%, #0b111c), #080d15);
}

.lcx-roster-row img,
.lcx-trade-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 8px 4px #000a);
}

.lcx-row-copy {
  min-width: 0;
}

.lcx-row-copy strong,
.lcx-row-copy span,
.lcx-row-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-row-copy strong {
  color: #fff3d2;
  font-size: .74rem;
}

.lcx-row-copy span {
  margin: 4px 0;
  color: var(--row-type);
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.lcx-row-copy small {
  color: #8798a5;
  font-size: .52rem;
}

.lcx-roll-card {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 104px;
  padding: 12px;
}

.lcx-roll-card.is-active {
  border-color: #f3ca70;
  box-shadow: inset 0 0 0 1px #f3ca7055;
}

.lcx-roll-card h3 {
  margin: 0 0 6px;
  color: #fff3cf;
  font-size: .78rem;
}

.lcx-roll-card p {
  margin: 4px 0;
  color: #92a2ad;
  font-size: .58rem;
  line-height: 1.45;
}

.lcx-rank {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #f3ca7066;
  border-radius: 50%;
  color: #17140d;
  background: linear-gradient(135deg, #fff0a8, #d69342);
  font: 950 1rem/1 Inter, system-ui;
}

.lcx-trade-machine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, .75fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
}

.lcx-trade-side {
  min-width: 0;
  padding: 16px;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  background: #060b13c9;
}

.lcx-trade-side h3 {
  margin: 0 0 12px;
  color: #92a4b2;
  font-size: .58rem;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
}

.lcx-trade-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 8px;
}

.lcx-trade-slot {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 128px;
  overflow: hidden;
  border: 1px dashed #ffffff25;
  border-radius: 12px;
  color: #465665;
  background: #050811;
  cursor: default;
}

.lcx-trade-slot.is-filled {
  position: relative;
  border-style: solid;
  border-color: #f3ca7066;
  cursor: pointer;
}

.lcx-trade-slot img {
  width: 100%;
  height: 96px;
  object-fit: contain;
}

.lcx-trade-slot span {
  max-width: 100%;
  padding: 0 5px;
  overflow: hidden;
  color: #e9d49c;
  font-size: .5rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-trade-arrow {
  display: grid;
  place-items: center;
  color: var(--lcx-type);
  font-size: 2.4rem;
  text-shadow: 0 0 20px rgba(var(--lcx-type-rgb), .5);
}

.lcx-trade-prize {
  display: grid;
  place-items: center;
  min-height: 148px;
  text-align: center;
}

.lcx-trade-prize strong {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.lcx-trade-prize span {
  margin-top: 6px;
  color: #92a4b2;
  font-size: .6rem;
  line-height: 1.45;
}

.lcx-trade-card {
  grid-template-columns: 64px minmax(0, 1fr);
  cursor: pointer;
}

.lcx-trade-card:hover,
.lcx-trade-card.is-selected {
  border-color: #f3ca70;
  box-shadow: inset 0 0 0 1px #f3ca7055;
}

.lcx-trade-card img {
  width: 64px;
  height: 64px;
}

.lcx-result {
  display: grid;
  justify-items: center;
  padding: 28px;
  text-align: center;
}

.lcx-result img {
  width: min(240px, 60vw);
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 10px #000b) drop-shadow(0 0 25px rgba(var(--lcx-type-rgb), .48));
}

.lcx-result h2 {
  margin: 5px 0;
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  text-transform: uppercase;
}

.lcx-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  max-width: calc(100% - 28px);
  padding: 11px 16px;
  border: 1px solid #f3ca7055;
  border-radius: 11px;
  color: #fff2c6;
  background: #090e16ed;
  box-shadow: 0 15px 45px #000b;
  font-size: .68rem;
  font-weight: 850;
  pointer-events: none;
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

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

.lcx-loading {
  display: grid;
  place-items: center;
  min-height: 60svh;
  color: #c6d0d7;
}

.lcx-loading::before {
  width: 46px;
  height: 46px;
  margin-right: 14px;
  content: "";
  border: 3px solid #ffffff14;
  border-top-color: var(--lcx-type);
  border-radius: 50%;
  animation: lcx-loader 1s linear infinite;
}

.lcx-footer-note {
  padding: 12px;
  color: #657785;
  font-size: .57rem;
  line-height: 1.5;
  text-align: center;
}

@keyframes lcx-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes lcx-loader {
  to { transform: rotate(360deg); }
}

@keyframes lcx-float {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-8px); }
}

@keyframes lcx-aurora {
  to { transform: translate3d(2%, -2%, 0) scale(1.04); }
}

@keyframes lcx-target-pulse {
  0%, 100% { opacity: .5; transform: scale(.92) rotate(0); }
  50% { opacity: 1; transform: scale(1.08) rotate(90deg); }
}

@keyframes lcx-target-hit {
  0% { opacity: .7; transform: scale(.9); }
  28% { opacity: 1; transform: scale(1.42) rotate(18deg); }
  100% { opacity: .35; transform: scale(.82) rotate(80deg); }
}

@keyframes lcx-crosshair-hit {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(.9); }
  26% { opacity: 1; transform: translate(-50%, -50%) scale(1.34); }
  100% { opacity: .92; transform: translate(-50%, -50%) scale(1); }
}

@keyframes lcx-play-pulse {
  0% { box-shadow: 0 0 0 0 #f3ca70aa; transform: translateY(-50%) scale(.82); }
  100% { box-shadow: 0 0 0 18px #f3ca7000; transform: translateY(-50%) scale(1); }
}

@media (max-width: 1320px) {
  .lcx-kamidex-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lcx-kamidex-showcase .lcx-kamidex-scene {
    border-right: 0;
    border-bottom: 1px solid #ffffff16;
  }

  .lcx-kamidex-showcase .lcx-record-copy {
    border-left: 0;
  }
}

@media (max-width: 1050px) {
  .lcx-topbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .lcx-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .lcx-nav::-webkit-scrollbar {
    display: none;
  }

  .lcx-top-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .lcx-topbar {
    gap: 6px 16px;
    padding-bottom: 7px;
  }

  .lcx-workspace {
    grid-template-columns: 1fr;
  }

  .lcx-sidebar {
    position: static;
    grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
  }

  .lcx-collection-sidebar {
    grid-template-columns: minmax(0, 2fr) minmax(190px, 1fr);
  }

  .lcx-bond-browser {
    grid-column: 1 / -1;
  }

  .lcx-bond-list {
    display: flex;
    min-height: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .lcx-bond-choice {
    flex: 0 0 205px;
  }

  .lcx-filter-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .lcx-filter-panel label {
    min-width: 0;
  }

  .lcx-filter-panel input,
  .lcx-filter-panel select {
    margin: 0;
  }

  .lcx-squad {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .lcx-mastery-stage {
    min-height: 500px;
    border-right: 0;
    border-bottom: 1px solid #ffffff16;
  }
}

@media (max-width: 720px) {
  .lcx-brand-copy span,
  .lcx-top-actions a:first-child {
    display: none;
  }

  .lcx-brand-mark {
    width: 44px;
    height: 44px;
  }

  .lcx-game-rail {
    padding: 6px 10px;
  }

  .lcx-game-rail > strong {
    display: none;
  }

  .lcx-game-rail a {
    min-width: 104px;
    padding: 7px 9px;
  }

  .lcx-nav a {
    min-width: 72px;
    min-height: 44px;
    padding: 12px 8px;
  }

  .lcx-stage {
    grid-template-columns: minmax(0, 1fr) 150px;
    min-height: 268px;
  }

  .lcx-stage-copy {
    padding: 28px 8px 28px 16px;
  }

  .lcx-stage h1 {
    font-size: clamp(1.45rem, calc(10vw * var(--lcx-name-scale, 1)), 3.6rem);
  }

  .lcx-stage-lore {
    display: -webkit-box;
    overflow: hidden;
    font-size: .67rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .lcx-stage-art {
    min-height: 268px;
    padding: 18px 8px;
  }

  .lcx-stage-art img {
    width: 170px;
    height: 205px;
  }

  .lcx-stage-art::before {
    width: 150px;
  }

  .lcx-stage-art::after {
    width: 128px;
  }

  .lcx-level-seal {
    top: 12px;
    right: 10px;
  }

  .lcx-level-seal strong {
    font-size: 2.65rem;
  }

  .lcx-workspace {
    padding: 14px 10px 64px;
  }

  .lcx-sidebar {
    grid-template-columns: 1fr;
  }

  .lcx-collection-sidebar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lcx-collection-stat {
    display: none;
  }

  .lcx-bond-browser {
    grid-column: auto;
  }

  .lcx-bond-choice {
    flex-basis: 184px;
  }

  .lcx-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcx-side-stat {
    display: none;
  }

  .lcx-section-head {
    align-items: start;
    flex-direction: column;
  }

  .lcx-section-head p {
    text-align: left;
  }

  .lcx-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .lcx-kami-card {
    min-height: 205px;
  }

  .lcx-kami-card img {
    height: 132px;
  }

  .lcx-detail-main {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .lcx-detail-art img {
    height: 180px;
  }

  .lcx-detail-copy {
    padding: 15px 13px;
  }

  .lcx-detail-copy > p {
    font-size: .64rem;
    line-height: 1.52;
  }

  .lcx-index-profile-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 15px 13px;
  }

  .lcx-index-profile-head .lcx-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .lcx-data-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcx-data-strip > div:nth-child(2) {
    border-right: 0;
  }

  .lcx-data-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid #ffffff10;
  }

  .lcx-ability-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcx-mastery-stage {
    min-height: 430px;
  }

  .lcx-mastery-controls {
    padding: 20px 16px;
  }

  .lcx-mastery-controls h2 {
    font-size: clamp(1.55rem, calc(9vw * var(--mastery-name-scale, 1)), 2.6rem);
  }

  .lcx-mastery-milestones {
    grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  }

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

  .lcx-roster-list,
  .lcx-roll-list,
  .lcx-trade-pool {
    grid-template-columns: 1fr;
  }

  .lcx-trade-machine {
    grid-template-columns: 1fr;
  }

  .lcx-trade-arrow {
    height: 36px;
    transform: rotate(90deg);
  }
}

@media (max-width: 430px) {
  .lcx-topbar {
    padding-left: 10px;
    padding-right: 10px;
  }

  .lcx-top-actions a {
    min-height: 44px;
    padding: 0 10px;
    font-size: .57rem;
  }

  .lcx-stage {
    grid-template-columns: minmax(0, 1fr) 118px;
  }

  .lcx-stage h1 {
    font-size: clamp(1rem, calc(7.4vw * var(--lcx-name-scale, 1)), 2.5rem);
  }

  .lcx-stage-art img {
    width: 145px;
    height: 185px;
  }

  .lcx-stage-art::before {
    width: 120px;
  }

  .lcx-stage-art::after {
    width: 102px;
  }

  .lcx-stage-meta {
    font-size: .56rem;
  }

  .lcx-filter-panel {
    padding: 10px;
  }

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

  .lcx-kami-card {
    min-height: 188px;
  }

  .lcx-kami-card img {
    height: 117px;
  }

  .lcx-detail-main {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .lcx-detail-art img {
    height: 150px;
  }

  .lcx-detail-copy h2 {
    font-size: 1.35rem;
  }

  .lcx-detail-copy > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .lcx-mastery-stage {
    min-height: 370px;
  }

  .lcx-view-collection .lcx-mastery-stage {
    min-height: 330px;
  }

  .lcx-mastery-fixed {
    align-items: flex-start;
    flex-direction: column;
  }

  .lcx-mastery-fixed small {
    text-align: left;
  }

  .lcx-next-unlock {
    grid-template-columns: 48px minmax(0, 1fr);
    padding-right: 9px;
  }

  .lcx-next-orb {
    width: 46px;
    height: 46px;
  }

  .lcx-mastery-stage-hud {
    top: 12px;
    left: 12px;
  }

  .lcx-mastery-owned {
    top: 12px;
    right: 12px;
  }

  .lcx-mastery-target {
    right: 2%;
    min-width: 76px;
  }

  .lcx-mastery-target i {
    width: 44px;
    height: 44px;
  }

  .lcx-mastery-abilities {
    grid-template-columns: 1fr;
  }

  .lcx-gallery-ability {
    min-height: 80px;
  }

  .lcx-squad {
    padding: 8px;
  }

  .lcx-slot {
    min-height: 158px;
  }

  .lcx-slot img {
    height: 86px;
  }

  .lcx-roster-row,
  .lcx-trade-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .lcx-roster-row img,
  .lcx-trade-card img {
    width: 58px;
    height: 58px;
  }

  .lcx-trade-slots {
    grid-template-columns: repeat(3, minmax(62px, 1fr));
  }

  .lcx-trade-slot {
    height: 108px;
  }
}

@media (max-width: 1050px) {
  .lcx-kamidex-workspace {
    grid-template-columns: 1fr;
  }

  .lcx-kamidex-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
  }

  .lcx-kamidex-sidebar .lcx-filter-panel {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lcx-kamidex-sidebar .lcx-filter-panel label:first-child {
    grid-column: auto;
  }

  .lcx-kami-index-list {
    display: flex;
    min-height: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .lcx-kami-index-choice {
    flex: 0 0 230px;
  }

  .lcx-record-main,
  .lcx-kamidex-showcase {
    grid-template-columns: 1fr;
  }

  .lcx-kamidex-scene {
    min-height: 560px;
  }
}

@media (max-width: 720px) {
  .lcx-kamidex-workspace {
    gap: 10px;
    padding-top: 10px;
  }

  .lcx-kamidex-sidebar .lcx-filter-panel {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .lcx-kamidex-sidebar .lcx-filter-panel label,
  .lcx-kamidex-sidebar .lcx-filter-panel label:first-child {
    flex: 0 0 145px;
  }

  .lcx-kamidex-sidebar .lcx-filter-panel label:first-child {
    flex-basis: 210px;
  }

  .lcx-kami-browser-head {
    padding: 9px 10px;
  }

  .lcx-kami-index-list {
    padding: 6px;
  }

  .lcx-kami-index-choice {
    flex-basis: 208px;
    min-height: 58px;
  }

  .lcx-record-main,
  .lcx-kamidex-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lcx-kamidex-scene {
    min-height: 460px;
  }

  .lcx-record-art {
    min-height: 285px;
  }

  .lcx-record-art img {
    width: 118%;
    height: 246px;
  }

  .lcx-record-art-label {
    display: none;
  }

  .lcx-record-copy {
    padding: 20px 16px;
  }

  .lcx-record-copy h1 {
    margin: 6px 0 13px;
    font-size: clamp(1.35rem, calc(7.6vw * var(--lcx-record-name-scale, 1)), 2.8rem);
    line-height: .93;
  }

  .lcx-record-lore {
    font-size: .66rem;
    line-height: 1.55;
  }

  .lcx-record-actions {
    margin-top: 15px;
  }

  .lcx-record-actions .lcx-btn {
    min-height: 40px;
    padding: 0 10px;
    font-size: .56rem;
  }

  .lcx-kamidex-record .lcx-ability-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
  }

  .lcx-kamidex-record .lcx-ability {
    min-height: 92px;
    padding: 8px;
  }

  .lcx-kamidex-record .lcx-kamidex-ability {
    padding-right: 50px;
  }

  .lcx-domain-control {
    margin-top: 16px;
  }
}

@media (max-width: 430px) {
  .lcx-record-main,
  .lcx-kamidex-showcase {
    grid-template-columns: 1fr;
  }

  .lcx-kamidex-scene {
    min-height: 380px;
  }

  .lcx-kamidex-scene .lcx-mastery-stage-hud {
    top: 12px;
    left: 12px;
  }

  .lcx-kamidex-expand {
    top: 11px;
    right: 10px;
    min-height: 38px;
    padding: 0 9px;
  }

  .lcx-kamidex-expand span {
    display: none;
  }

  .lcx-kamidex-scene-track {
    right: 11px;
    bottom: 11px;
    left: 11px;
  }

  .lcx-record-art {
    min-height: 205px;
    border-right: 0;
    border-bottom: 1px solid #ffffff13;
  }

  .lcx-record-art::before {
    inset: -21% 16% -17%;
  }

  .lcx-record-art img {
    width: 82%;
    height: 202px;
  }

  .lcx-record-copy {
    padding: 18px 15px 20px;
  }

  .lcx-record-copy h1 {
    font-size: clamp(1.7rem, calc(10.6vw * var(--lcx-record-name-scale, 1)), 2.75rem);
  }

  .lcx-record-lore {
    display: block;
  }

  .lcx-record-actions .lcx-btn {
    flex: 1 1 140px;
  }

  .lcx-kamidex-record .lcx-data-strip strong {
    white-space: normal;
  }

  .lcx-ability-pool-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .lcx-ability-crosshair {
    width: 56px;
    height: 56px;
  }
}

/* Trade Post: dedicated exchange surface. */
.lcx-view-trade {
  --lcx-trade-gold: #f1c96c;
  --lcx-trade-mint: #61e5b7;
}

.lcx-view-trade .lcx-stage {
  display: none;
}

.lcx-trade-page {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 42px) clamp(14px, 3.4vw, 52px) 90px;
}

.lcx-trade-page h1,
.lcx-trade-page h2,
.lcx-trade-page h3,
.lcx-trade-page p {
  margin-top: 0;
}

.lcx-trade-page.is-result .lcx-trade-hero {
  display: none;
}

.lcx-trade-page.is-result .lcx-trade-result {
  margin-top: 0;
}

.lcx-trade-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(520px, .82fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid #f3ca7035;
  border-radius: 28px;
  background:
    linear-gradient(115deg, #0b111a 0 50%, transparent 74%),
    radial-gradient(circle at 81% 35%, #9f6cff55, transparent 15rem),
    radial-gradient(circle at 72% 75%, #34d39a2c, transparent 21rem),
    linear-gradient(145deg, #111928, #070a11 72%);
  box-shadow: 0 35px 90px #0008, inset 0 1px #ffffff12;
}

.lcx-trade-hero::before,
.lcx-trade-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.lcx-trade-hero::before {
  top: -44%;
  right: -5%;
  width: min(52vw, 660px);
  aspect-ratio: 1;
  border: 1px solid #f1c96c24;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 38px, #ffffff08 39px, transparent 40px 78px),
    conic-gradient(from 20deg, transparent, #f1c96c21, transparent 18%, #9f6cff24, transparent 42%);
  box-shadow: inset 0 0 80px #9f6cff18, 0 0 100px #0008;
  animation: lcx-trade-rotate 42s linear infinite;
}

.lcx-trade-hero::after {
  right: 8%;
  bottom: 14%;
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #61e5b7aa, transparent);
  box-shadow: 0 -70px #f1c96c55, 0 70px #ae82ff55;
}

@keyframes lcx-trade-rotate {
  to { transform: rotate(1turn); }
}

.lcx-trade-hero-copy,
.lcx-trade-hero-stats {
  position: relative;
  z-index: 1;
}

.lcx-trade-hero .lcx-overline {
  color: var(--lcx-trade-mint);
}

.lcx-trade-hero h1 {
  margin: 8px 0 14px;
  color: #fffaf0;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  font-weight: 950;
  line-height: .78;
  letter-spacing: -.085em;
  text-transform: uppercase;
}

.lcx-trade-hero-copy > p {
  max-width: 680px;
  margin-bottom: 25px;
  color: #b9c6cf;
  font-size: clamp(.82rem, 1.2vw, 1.02rem);
  line-height: 1.65;
}

.lcx-trade-laws {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lcx-trade-laws span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px 0 7px;
  border: 1px solid #ffffff16;
  border-radius: 999px;
  color: #c4d0d7;
  background: #050912a8;
  font-size: .61rem;
  font-weight: 850;
}

.lcx-trade-laws b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #f1c96c55;
  border-radius: 50%;
  color: var(--lcx-trade-gold);
  font-size: .51rem;
}

.lcx-trade-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #ffffff18;
  border-radius: 18px;
  background: #050912c9;
  box-shadow: 0 24px 60px #0007;
  backdrop-filter: blur(16px);
}

.lcx-trade-hero-stats > div {
  display: grid;
  align-content: center;
  min-height: 98px;
  padding: 18px;
  border-right: 1px solid #ffffff12;
  border-bottom: 1px solid #ffffff12;
}

.lcx-trade-hero-stats > div:nth-child(2n) {
  border-right: 0;
}

.lcx-trade-hero-stats > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.lcx-trade-hero-stats span,
.lcx-trade-hero-stats small {
  color: #82939f;
  font-size: .52rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.lcx-trade-hero-stats strong {
  margin: 8px 0 5px;
  color: #fff5d8;
  font-size: 2.1rem;
  line-height: .8;
}

.lcx-trade-hero-stats i {
  color: #7f909c;
  font-size: .76rem;
  font-style: normal;
}

.lcx-trade-hero-stats .is-protected strong {
  color: var(--lcx-trade-mint);
  text-shadow: 0 0 22px #61e5b777;
}

.lcx-trade-machine,
.lcx-trade-vault,
.lcx-trade-history,
.lcx-trade-result {
  margin-top: clamp(18px, 2.5vw, 32px);
  border: 1px solid #ffffff17;
  border-radius: 24px;
  background: linear-gradient(145deg, #0c131fef, #070b12ed);
  box-shadow: 0 24px 70px #0006, inset 0 1px #ffffff0b;
}

.lcx-trade-recovery {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: clamp(18px, 2.5vw, 32px);
  padding: 17px 20px;
  border: 1px solid #f3ca7055;
  border-radius: 15px;
  background:
    radial-gradient(circle at 0 50%, #f3ca7017, transparent 20rem),
    #0b111b;
  box-shadow: 0 14px 40px #0006;
}

.lcx-trade-recovery > div {
  display: grid;
  gap: 4px;
}

.lcx-trade-recovery strong {
  color: #fff0c1;
  font-size: .72rem;
}

.lcx-trade-recovery span {
  color: #8ea0ac;
  font-size: .56rem;
}

.lcx-trade-machine {
  display: block;
  padding: 0;
  overflow: hidden;
}

.lcx-trade-machine-head,
.lcx-trade-vault-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.lcx-trade-machine-head {
  padding: 24px 28px;
  border-bottom: 1px solid #ffffff12;
  background: linear-gradient(90deg, #ffffff05, transparent);
}

.lcx-trade-machine h2,
.lcx-trade-vault h2,
.lcx-trade-history h2 {
  margin: 5px 0 0;
  color: #fff8e8;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.lcx-trade-safety {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 9px;
  align-items: center;
  min-width: 260px;
  padding: 11px 14px;
  border: 1px solid #61e5b733;
  border-radius: 12px;
  background: #61e5b70b;
}

.lcx-trade-safety > span {
  grid-row: 1 / 3;
}

.lcx-trade-safety strong {
  color: #b8f8df;
  font-size: .66rem;
}

.lcx-trade-safety small {
  color: #789f91;
  font-size: .51rem;
}

.lcx-trade-machine-body {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) 80px minmax(280px, .72fr);
  gap: 18px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 34px);
}

.lcx-trade-offer,
.lcx-trade-output {
  min-width: 0;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid #ffffff12;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0, #ffffff08, transparent 56%),
    #050912b5;
}

.lcx-trade-side-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lcx-trade-side-label span {
  color: #728594;
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lcx-trade-side-label strong {
  color: #f5edd8;
  font-size: .71rem;
}

.lcx-trade-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lcx-trade-slot {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  place-items: center;
  min-width: 0;
  height: 205px;
  overflow: hidden;
  padding: 10px;
  border: 1px dashed #ffffff28;
  border-radius: 14px;
  color: #536575;
  background: linear-gradient(155deg, #0b111b, #04070c);
}

.lcx-trade-slot > i {
  align-self: end;
  margin-bottom: 8px;
  color: #718391;
  font-size: 2rem;
  font-style: normal;
  font-weight: 200;
}

.lcx-trade-slot > strong {
  align-self: start;
  overflow: hidden;
  max-width: 100%;
  color: #9aabb6;
  font-size: .64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-trade-slot > small {
  margin-top: 4px;
  color: #5c6d78;
  font-size: .48rem;
}

.lcx-trade-slot.is-filled {
  border-style: solid;
  border-color: #f1c96c66;
  color: #fff;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--reward-color) 14%, transparent), transparent 55%),
    linear-gradient(155deg, #111927, #060910);
  cursor: pointer;
}

.lcx-trade-slot.is-filled:hover {
  border-color: #f1c96c;
  transform: translateY(-2px);
}

.lcx-trade-slot img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 12px 7px #000c);
}

.lcx-trade-slot.is-filled > strong {
  color: #fff1c9;
}

.lcx-trade-slot-number,
.lcx-trade-slot-rank {
  position: absolute;
  z-index: 1;
  top: 9px;
  padding: 0 !important;
  color: #7f909c !important;
  font-size: .46rem !important;
  font-weight: 950;
  letter-spacing: .1em;
}

.lcx-trade-slot-number {
  left: 10px;
}

.lcx-trade-slot-rank {
  right: 10px;
  color: var(--lcx-trade-gold) !important;
}

.lcx-trade-offer-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  color: #6e7f8b;
  font-size: .51rem;
}

.lcx-trade-offer-meta b {
  color: #f3e4b8;
}

.lcx-trade-reactor {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  color: #778896;
}

.lcx-trade-reactor i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #f1c96c66;
  border-radius: 50%;
  color: var(--lcx-trade-gold);
  background: radial-gradient(circle, #f1c96c22, transparent 68%);
  box-shadow: 0 0 38px #f1c96c25, inset 0 0 18px #f1c96c18;
  font-size: 1.35rem;
  font-style: normal;
}

.lcx-trade-reactor span {
  font-size: .54rem;
  font-weight: 950;
}

.lcx-trade-prize {
  display: grid;
  place-items: center;
  min-height: 230px;
  text-align: center;
}

.lcx-trade-prize-orb {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--reward-color) 58%, white 5%);
  border-radius: 50%;
  color: var(--reward-color);
  background:
    repeating-radial-gradient(circle, transparent 0 17px, color-mix(in srgb, var(--reward-color) 18%, transparent) 18px, transparent 19px 28px),
    radial-gradient(circle, color-mix(in srgb, var(--reward-color) 24%, transparent), transparent 68%);
  box-shadow: 0 0 62px color-mix(in srgb, var(--reward-color) 28%, transparent);
}

.lcx-trade-prize-orb i {
  font-size: 2rem;
  font-style: normal;
  text-shadow: 0 0 22px var(--reward-color);
}

.lcx-trade-prize strong {
  color: color-mix(in srgb, var(--reward-color) 76%, white);
  font-size: 1.35rem;
  letter-spacing: .12em;
}

.lcx-trade-prize span {
  max-width: 310px;
  margin-top: 9px;
  color: #c3cdd4;
  font-size: .65rem;
  line-height: 1.5;
}

.lcx-trade-prize small {
  max-width: 290px;
  margin-top: 9px;
  color: #6f808d;
  font-size: .51rem;
  line-height: 1.5;
}

.lcx-trade-commitbar {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px 28px;
  border-top: 1px solid #ffffff12;
  background: #070c14e8;
}

.lcx-trade-utility {
  display: flex;
  gap: 8px;
}

.lcx-trade-utility .lcx-btn {
  min-height: 38px;
  padding: 0 11px;
  font-size: .54rem;
}

.lcx-trade-commit-copy {
  display: grid;
  justify-self: end;
  text-align: right;
}

.lcx-trade-commit-copy strong {
  color: #f2ead7;
  font-size: .65rem;
}

.lcx-trade-commit-copy small {
  margin-top: 3px;
  color: #71828e;
  font-size: .5rem;
}

.lcx-trade-review {
  min-width: 180px;
}

.lcx-trade-vault,
.lcx-trade-history {
  padding: clamp(20px, 3vw, 34px);
}

.lcx-trade-vault-head {
  align-items: end;
}

.lcx-trade-vault-head p {
  max-width: 740px;
  margin: 9px 0 0;
  color: #8797a3;
  font-size: .66rem;
  line-height: 1.55;
}

.lcx-trade-vault-count {
  display: grid;
  justify-items: end;
}

.lcx-trade-vault-count strong {
  color: #fff0bd;
  font-size: 2.25rem;
  line-height: .9;
}

.lcx-trade-vault-count span {
  margin-top: 5px;
  color: #71818e;
  font-size: .48rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lcx-trade-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, .72fr));
  gap: 9px;
  margin: 23px 0 15px;
  padding: 11px;
  border: 1px solid #ffffff11;
  border-radius: 14px;
  background: #050912;
}

.lcx-trade-filters label {
  display: grid;
  gap: 6px;
}

.lcx-trade-filters label > span {
  padding-left: 3px;
  color: #748590;
  font-size: .47rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lcx-trade-filters input,
.lcx-trade-filters select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #ffffff18;
  border-radius: 9px;
  color: #e9eef1;
  background: #0b121d;
  font-size: .61rem;
}

.lcx-trade-vault-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lcx-trade-card {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-width: 0;
  min-height: 188px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff14;
  border-left: 1px solid #ffffff14;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 30%, color-mix(in srgb, var(--row-type) 17%, transparent), transparent 45%),
    #080d16;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.lcx-trade-card:hover {
  border-color: color-mix(in srgb, var(--row-type) 65%, white 10%);
  box-shadow: 0 14px 35px #0007;
  transform: translateY(-2px);
}

.lcx-trade-card.is-selected {
  border-color: var(--lcx-trade-gold);
  box-shadow: inset 0 0 0 1px #f1c96c55, 0 0 28px #f1c96c18;
}

.lcx-trade-card-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  border-right: 1px solid #ffffff0f;
  background: linear-gradient(145deg, #ffffff08, transparent);
}

.lcx-trade-card-art::after {
  position: absolute;
  inset: 23%;
  border: 1px solid color-mix(in srgb, var(--row-type) 34%, transparent);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 35px color-mix(in srgb, var(--row-type) 16%, transparent);
}

.lcx-trade-card .lcx-trade-card-art img {
  position: relative;
  z-index: 1;
  width: 116px;
  height: 142px;
  object-fit: contain;
  filter: drop-shadow(0 14px 7px #000c);
}

.lcx-trade-card-copy {
  min-width: 0;
  padding: 15px 13px 13px 0;
}

.lcx-trade-card-kickers {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.lcx-trade-card-kickers span {
  padding: 4px 6px;
  border: 1px solid #ffffff15;
  border-radius: 5px;
  color: #9caab4;
  background: #050912b0;
  font-size: .42rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.lcx-trade-card-kickers span:first-child {
  border-color: color-mix(in srgb, var(--rarity-color) 50%, transparent);
  color: color-mix(in srgb, var(--rarity-color) 78%, white);
}

.lcx-trade-card-copy > strong {
  display: block;
  overflow: hidden;
  color: #fff6df;
  font-size: .85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-trade-card-score {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: 2px 8px;
  margin: 10px 0;
}

.lcx-trade-card-score b {
  grid-row: 1 / 3;
  color: var(--lcx-trade-gold);
  font-size: 1.25rem;
}

.lcx-trade-card-score span {
  color: #c6d0d6;
  font-size: .53rem;
  font-weight: 800;
}

.lcx-trade-card-score small {
  color: #71828e;
  font-size: .45rem;
}

.lcx-trade-card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.lcx-trade-card-stats span,
.lcx-trade-result-stats span {
  padding: 6px 3px;
  border: 1px solid #ffffff0e;
  border-radius: 6px;
  color: #657784;
  background: #05091280;
  font-size: .42rem;
  font-weight: 850;
  text-align: center;
}

.lcx-trade-card-stats b,
.lcx-trade-result-stats b {
  color: #d8e1e5;
}

.lcx-trade-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-top: 9px;
  color: #6e7f8b;
  font-size: .43rem;
}

.lcx-trade-card-foot span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-trade-selected-order {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  padding: 5px 7px;
  border-radius: 5px;
  color: #17130b;
  background: var(--lcx-trade-gold);
  box-shadow: 0 5px 15px #0008;
  font-size: .43rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcx-trade-empty {
  display: grid;
  justify-items: center;
  min-height: 330px;
  padding: 50px 24px;
  border: 1px dashed #ffffff1d;
  border-radius: 18px;
  color: #8b9aa5;
  background:
    radial-gradient(circle at 50% 35%, #9f6cff12, transparent 14rem),
    #05091180;
  text-align: center;
}

.lcx-trade-empty-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 17px;
  border: 1px solid #f1c96c40;
  border-radius: 50%;
  color: var(--lcx-trade-gold);
  background: #f1c96c0b;
  font-size: 1.6rem;
}

.lcx-trade-empty h3 {
  margin-bottom: 8px;
  color: #f8eed4;
  font-size: 1.15rem;
}

.lcx-trade-empty p {
  max-width: 590px;
  font-size: .68rem;
  line-height: 1.6;
}

.lcx-trade-empty-rule {
  display: grid;
  gap: 4px;
  max-width: 540px;
  margin: 10px 0 20px;
  padding: 13px 17px;
  border: 1px solid #ffffff13;
  border-radius: 10px;
  background: #0c131e;
}

.lcx-trade-empty-rule b {
  color: #f3ca70;
  font-size: .65rem;
}

.lcx-trade-empty-rule span {
  font-size: .56rem;
}

.lcx-trade-result {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 65px);
  border-color: color-mix(in srgb, var(--rarity-color) 42%, #ffffff15);
  background:
    radial-gradient(circle at 22% 48%, rgba(var(--lcx-type-rgb), .26), transparent 28rem),
    linear-gradient(145deg, #101826, #05070d);
}

.lcx-trade-result-burst {
  position: absolute;
  top: -35%;
  left: -8%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 10deg, color-mix(in srgb, var(--rarity-color) 16%, transparent) 0 1deg, transparent 1deg 12deg),
    repeating-radial-gradient(circle, transparent 0 49px, #ffffff0b 50px, transparent 51px 84px);
  mask-image: radial-gradient(circle, black, transparent 70%);
  animation: lcx-trade-rotate 55s linear infinite reverse;
}

.lcx-trade-result > *:not(.lcx-trade-result-burst) {
  position: relative;
  z-index: 1;
}

.lcx-trade-result-grid {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.lcx-trade-result-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}

.lcx-trade-result-art::before,
.lcx-trade-result-art::after {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--rarity-color) 45%, transparent);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 90px color-mix(in srgb, var(--rarity-color) 18%, transparent);
}

.lcx-trade-result-art::after {
  width: 54%;
  border-style: dashed;
}

.lcx-trade-result-art > span {
  position: absolute;
  z-index: 3;
  top: 8%;
  left: 8%;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--rarity-color) 58%, transparent);
  border-radius: 7px;
  color: color-mix(in srgb, var(--rarity-color) 78%, white);
  background: #050811cc;
  font-size: .52rem;
  font-weight: 950;
  letter-spacing: .13em;
}

.lcx-trade-result-art img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 25px 13px #000d) drop-shadow(0 0 35px rgba(var(--lcx-type-rgb), .3));
}

.lcx-trade-result-copy h2 {
  margin: 8px 0 14px;
  color: #fff8e7;
  font-size: clamp(2.4rem, 5vw, 5.7rem);
  line-height: .85;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.lcx-trade-result-copy > p {
  max-width: 650px;
  color: #9baab4;
  font-size: .72rem;
  line-height: 1.6;
}

.lcx-trade-result-score {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0 9px;
  margin: 12px 0 15px;
}

.lcx-trade-result-score strong {
  grid-row: 1 / 3;
  color: var(--lcx-trade-gold);
  font-size: 3.1rem;
  line-height: .8;
}

.lcx-trade-result-score span {
  color: #7d8e99;
  font-size: .53rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lcx-trade-result-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 90px));
  gap: 6px;
  margin-bottom: 11px;
}

.lcx-trade-result-stats span {
  padding: 9px 5px;
}

.lcx-trade-result-moves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lcx-trade-result-moves li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(var(--lcx-type-rgb), .2);
  border-radius: 9px;
  background: rgba(var(--lcx-type-rgb), .07);
}

.lcx-trade-result-moves span {
  grid-column: 1 / 3;
  color: var(--lcx-type);
  font-size: .4rem;
  font-weight: 950;
  letter-spacing: .1em;
}

.lcx-trade-result-moves strong {
  overflow: hidden;
  color: #eaf0f2;
  font-size: .57rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-trade-result-moves b {
  color: #7e909b;
  font-size: .48rem;
}

.lcx-trade-result-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #ffffff12;
}

.lcx-trade-history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.lcx-trade-history-grid article {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  background: #060a11;
}

.lcx-trade-history-art {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ffffff06;
}

.lcx-trade-history-art img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.lcx-trade-history-grid article > div:last-child {
  display: grid;
  align-content: center;
  min-width: 0;
}

.lcx-trade-history-grid span,
.lcx-trade-history-grid small,
.lcx-trade-history-grid strong,
.lcx-trade-history-grid p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-trade-history-grid span {
  color: #6f808c;
  font-size: .44rem;
}

.lcx-trade-history-grid strong {
  margin: 4px 0;
  color: #f5edd8;
  font-size: .66rem;
}

.lcx-trade-history-grid small,
.lcx-trade-history-grid p {
  margin: 0;
  color: #81919c;
  font-size: .47rem;
}

.lcx-trade-modal-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #010308da;
  backdrop-filter: blur(16px);
}

.lcx-trade-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100svh - 36px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #f1c96c55;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0, #f1c96c17, transparent 20rem),
    linear-gradient(145deg, #111927, #060a11);
  box-shadow: 0 50px 150px #000, inset 0 1px #ffffff16;
}

.lcx-trade-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  color: #a8b4bc;
  background: #050911;
  cursor: pointer;
  font-size: 1.3rem;
}

.lcx-trade-modal h2 {
  margin: 7px 40px 9px 0;
  color: #fff6dc;
  font-size: clamp(1.65rem, 4vw, 3rem);
  letter-spacing: -.055em;
}

.lcx-trade-modal > p {
  color: #ffb6a5;
  font-size: .7rem;
}

.lcx-trade-confirm-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px 130px;
  gap: 13px;
  align-items: center;
  margin: 24px 0 17px;
}

.lcx-trade-confirm-offer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.lcx-trade-confirm-offer > div,
.lcx-trade-confirm-reward {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #ffffff15;
  border-radius: 11px;
  background: #050911;
  text-align: center;
}

.lcx-trade-confirm-offer img {
  width: 100%;
  height: 82px;
  object-fit: contain;
}

.lcx-trade-confirm-offer strong {
  overflow: hidden;
  width: 100%;
  color: #eee7d5;
  font-size: .55rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lcx-trade-confirm-offer span {
  margin-top: 4px;
  color: #71818d;
  font-size: .45rem;
}

.lcx-trade-confirm-arrow {
  color: var(--lcx-trade-gold);
  font-size: 1.3rem;
  text-align: center;
}

.lcx-trade-confirm-reward {
  min-height: 130px;
  align-content: center;
  border-color: color-mix(in srgb, var(--reward-color) 45%, transparent);
}

.lcx-trade-confirm-reward i {
  color: var(--reward-color);
  font-size: 1.5rem;
  font-style: normal;
  text-shadow: 0 0 20px var(--reward-color);
}

.lcx-trade-confirm-reward strong {
  margin: 7px 0 3px;
  color: color-mix(in srgb, var(--reward-color) 75%, white);
  font-size: .78rem;
}

.lcx-trade-confirm-reward span {
  color: #7b8c97;
  font-size: .46rem;
}

.lcx-trade-confirm-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.lcx-trade-confirm-checks span {
  padding: 9px;
  border: 1px solid #61e5b71f;
  border-radius: 7px;
  color: #9dddc6;
  background: #61e5b708;
  font-size: .48rem;
  line-height: 1.35;
}

.lcx-trade-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid #ffffff11;
}

@media (max-width: 1120px) {
  .lcx-trade-hero {
    grid-template-columns: 1fr;
  }

  .lcx-trade-hero-stats {
    max-width: 680px;
  }

  .lcx-trade-machine-body {
    grid-template-columns: minmax(0, 1fr) 64px minmax(260px, .72fr);
  }

  .lcx-trade-vault-grid,
  .lcx-trade-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .lcx-view-trade .lcx-game-rail {
    display: none;
  }

  .lcx-view-trade .lcx-top-actions a:first-child {
    display: grid;
  }

  .lcx-trade-page {
    padding: 12px 10px 90px;
  }

  .lcx-trade-recovery {
    align-items: stretch;
    flex-direction: column;
  }

  .lcx-trade-hero {
    min-height: 0;
    padding: 27px 18px 18px;
    border-radius: 18px;
  }

  .lcx-trade-hero::before {
    top: -20%;
    right: -40%;
    width: 100vw;
  }

  .lcx-trade-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .lcx-trade-hero-copy > p {
    font-size: .72rem;
  }

  .lcx-trade-laws {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .lcx-trade-laws span {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 66px;
    padding: 6px;
    text-align: center;
  }

  .lcx-trade-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lcx-trade-hero-stats > div,
  .lcx-trade-hero-stats > div:nth-child(2n),
  .lcx-trade-hero-stats > div:nth-last-child(-n + 2) {
    min-height: 68px;
    padding: 10px 6px;
    border-right: 1px solid #ffffff12;
    border-bottom: 0;
    text-align: center;
  }

  .lcx-trade-hero-stats > div:last-child {
    border-right: 0;
  }

  .lcx-trade-hero-stats strong {
    margin: 5px 0 3px;
    font-size: 1.25rem;
  }

  .lcx-trade-hero-stats span,
  .lcx-trade-hero-stats small {
    font-size: .4rem;
  }

  .lcx-trade-machine,
  .lcx-trade-vault,
  .lcx-trade-history,
  .lcx-trade-result {
    border-radius: 17px;
  }

  .lcx-trade-machine-head,
  .lcx-trade-vault-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 19px 16px;
  }

  .lcx-trade-safety {
    width: 100%;
    min-width: 0;
  }

  .lcx-trade-machine-body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .lcx-trade-offer,
  .lcx-trade-output {
    padding: 14px;
  }

  .lcx-trade-reactor {
    grid-template-columns: 1fr auto 1fr;
  }

  .lcx-trade-reactor i {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .lcx-trade-slot {
    height: 160px;
    padding: 6px;
  }

  .lcx-trade-slot img {
    height: 88px;
  }

  .lcx-trade-slot > strong {
    font-size: .52rem;
  }

  .lcx-trade-slot > small {
    font-size: .4rem;
  }

  .lcx-trade-offer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .lcx-trade-prize {
    min-height: 190px;
  }

  .lcx-trade-prize-orb {
    width: 88px;
    height: 88px;
  }

  .lcx-trade-commitbar {
    position: sticky;
    z-index: 20;
    bottom: 0;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px;
    box-shadow: 0 -16px 40px #000b;
  }

  .lcx-trade-utility {
    grid-column: 1 / 3;
    order: 2;
  }

  .lcx-trade-commit-copy {
    justify-self: start;
    text-align: left;
  }

  .lcx-trade-review {
    min-width: 144px;
  }

  .lcx-trade-vault,
  .lcx-trade-history {
    padding: 18px 12px;
  }

  .lcx-trade-vault-head {
    padding: 0;
  }

  .lcx-trade-vault-count {
    justify-items: start;
  }

  .lcx-trade-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px;
  }

  .lcx-trade-filters .is-search {
    grid-column: 1 / 4;
  }

  .lcx-trade-vault-grid,
  .lcx-trade-history-grid {
    grid-template-columns: 1fr;
  }

  .lcx-trade-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .lcx-trade-result {
    padding: 24px 15px;
  }

  .lcx-trade-result-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lcx-trade-result-art {
    min-height: 300px;
  }

  .lcx-trade-result-art img {
    height: 285px;
  }

  .lcx-trade-result-actions {
    justify-content: stretch;
  }

  .lcx-trade-result-actions .lcx-btn {
    flex: 1 1 160px;
  }

  .lcx-trade-confirm-flow {
    grid-template-columns: 1fr;
  }

  .lcx-trade-confirm-arrow {
    transform: rotate(90deg);
  }

  .lcx-trade-confirm-reward {
    min-height: 100px;
  }

  .lcx-trade-confirm-checks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .lcx-trade-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcx-trade-hero-stats > div,
  .lcx-trade-hero-stats > div:nth-child(2n),
  .lcx-trade-hero-stats > div:nth-last-child(-n + 2) {
    border-right: 1px solid #ffffff12;
    border-bottom: 1px solid #ffffff12;
  }

  .lcx-trade-hero-stats > div:nth-child(2n) {
    border-right: 0;
  }

  .lcx-trade-hero-stats > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .lcx-trade-side-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .lcx-trade-slot {
    height: 144px;
  }

  .lcx-trade-slot img {
    height: 76px;
  }

  .lcx-trade-filters {
    grid-template-columns: 1fr 1fr;
  }

  .lcx-trade-filters .is-search,
  .lcx-trade-filters label:last-child {
    grid-column: 1 / 3;
  }

  .lcx-trade-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 174px;
  }

  .lcx-trade-card .lcx-trade-card-art img {
    width: 92px;
    height: 128px;
  }

  .lcx-trade-card-copy {
    padding-right: 9px;
  }

  .lcx-trade-card-stats {
    grid-template-columns: 1fr 1fr;
  }

  .lcx-trade-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .lcx-trade-result-moves {
    grid-template-columns: 1fr;
  }

  .lcx-trade-result-stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .lcx-trade-modal {
    width: 100%;
    max-height: 92svh;
    padding: 25px 14px max(20px, env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 19px 19px 0 0;
  }

  .lcx-trade-confirm-offer {
    gap: 4px;
  }

  .lcx-trade-confirm-offer > div {
    padding: 6px;
  }

  .lcx-trade-confirm-offer img {
    height: 68px;
  }

  .lcx-trade-modal-actions .lcx-btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
