.zion-v2 {
  --zion-line: rgb(91 232 219 / .32);
  --zion-line-soft: rgb(91 232 219 / .14);
  --zion-gold: #ffd274;
  --zion-mint: #8ff5df;
  position: relative;
  min-height: 100%;
  overflow: hidden;
  color: #e8fffb;
  background:
    radial-gradient(circle at 20% 25%, rgb(95 245 220 / .08) 0 1px, transparent 1.5px) 0 0 / 27px 27px,
    radial-gradient(circle at 70% 60%, rgb(255 210 116 / .06) 0 1px, transparent 1.5px) 0 0 / 41px 41px,
    linear-gradient(180deg, #061b22 0%, #031017 45%, #020b11 100%);
  isolation: isolate;
}
.zion-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 52% 40%, rgb(74 237 221 / .12), transparent 38%),
    radial-gradient(ellipse at 18% 74%, rgb(255 205 120 / .06), transparent 32%);
}
.zion-v2-hero {
  position: relative;
  min-height: 250px;
  padding: 18px 18px 0;
  overflow: hidden;
  border-bottom: 1px solid rgb(112 243 222 / .18);
  background: linear-gradient(180deg, rgb(4 22 29 / .18), rgb(2 12 18 / .94)), url("/assets/zion/xion/hero.webp") center 34% / cover no-repeat;
}
.zion-v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(78 236 216 / .08), rgb(3 12 18 / .92) 82%), url("/assets/zion/xion/hero.webp") center 34% / cover no-repeat;
  filter: saturate(.55) brightness(.8) contrast(1.12);
  opacity: .9;
}
.zion-v2-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, #031017);
  pointer-events: none;
}
.zion-v2-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-width: 720px;
  margin: 0 auto;
}
.zion-v2-tabs button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  border: 1px solid rgb(115 235 218 / .22);
  border-radius: 5px;
  padding: 7px 6px;
  background: linear-gradient(180deg, rgb(9 42 49 / .82), rgb(3 17 24 / .9));
  color: #a9d8d0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: inset 0 1px rgb(218 255 246 / .08), 0 4px 12px rgb(0 0 0 / .25);
  cursor: pointer;
}
.zion-v2-tabs button.is-active {
  border-color: rgb(255 210 116 / .72);
  color: #fff0c9;
  background: linear-gradient(180deg, rgb(65 55 20 / .72), rgb(5 29 34 / .94));
  box-shadow: inset 0 1px rgb(255 247 207 / .22), inset 0 -2px rgb(255 197 79 / .34), 0 0 18px rgb(255 196 78 / .12);
}
.zion-v2-tabs button.is-active::after {
  content: "";
  position: absolute;
  inset: auto 14% -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd274, transparent);
}
.zion-v2-tabs button.is-locked { color: rgb(161 190 186 / .42); border-color: rgb(110 166 159 / .12); cursor: not-allowed; filter: grayscale(.65); }
.zion-v2-tabs button small { color: rgb(255 210 116 / .46); font-size: 8px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.zion-v2-hero-title {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 22px 0 18px;
  text-align: center;
}
.zion-v2-hero-title span { color: rgb(131 235 218 / .72); font-size: 9px; font-weight: 800; letter-spacing: .28em; }
.zion-v2-hero-title strong { color: #f2fffc; font-size: 25px; line-height: 1.1; letter-spacing: .08em; text-shadow: 0 0 18px rgb(91 240 216 / .32), 0 2px 10px #000; }
.zion-v2-hero-title em { color: #f1cd80; font-size: 10px; font-style: normal; letter-spacing: .05em; }
.zion-v2-body { position: relative; display: grid; gap: 10px; width: min(100%, 760px); margin: 0 auto; padding: 10px 12px 20px; }
.zion-v2-powders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.zion-v2-powder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-height: 96px;
  border: 1px solid rgb(107 226 213 / .22);
  border-radius: 6px;
  padding: 8px 6px 10px;
  background: linear-gradient(150deg, rgb(9 35 41 / .86), rgb(4 15 21 / .95));
  color: #d9f5ec;
  text-align: center;
  box-shadow: inset 0 1px rgb(206 255 245 / .08), 0 5px 12px rgb(0 0 0 / .26);
  cursor: pointer;
}
.zion-v2-powder.is-active { border-color: rgb(255 210 116 / .64); background: linear-gradient(150deg, rgb(60 51 20 / .55), rgb(5 26 31 / .96)); box-shadow: inset 0 1px rgb(255 247 207 / .15), 0 0 14px rgb(255 202 90 / .08); }
.zion-v2-powder img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 0 9px rgb(115 239 222 / .28)); }
.zion-v2-powder span { color: #b9e9df; font-size: 11px; font-weight: 700; }
.zion-v2-powder strong { color: #fff0c5; font-family: var(--font-data); font-size: 15px; }
.zion-v2-synth, .zion-v2-result, .zion-v2-owned, .zion-v2-placeholder {
  border: 1px solid var(--zion-line-soft);
  border-radius: 7px;
  background: linear-gradient(160deg, rgb(8 34 40 / .9), rgb(3 15 21 / .96));
  box-shadow: inset 0 1px rgb(213 255 247 / .07), 0 8px 20px rgb(0 0 0 / .26);
}
.zion-v2-synth { padding: 10px; }
.zion-v2-card-head, .zion-v2-result > header, .zion-v2-owned > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--zion-line-soft);
}
.zion-v2-card-head div, .zion-v2-result > header, .zion-v2-owned > header { min-width: 0; }
.zion-v2-card-head div { display: grid; gap: 2px; }
.zion-v2-card-head span, .zion-v2-result > header span, .zion-v2-owned > header span { color: rgb(116 226 208 / .65); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.zion-v2-card-head strong, .zion-v2-result > header strong, .zion-v2-owned > header strong { color: #e9fffa; font-size: 15px; }
.zion-v2-card-head em, .zion-v2-result > header em { color: #a9d8cd; font-size: 9px; font-style: normal; }
.zion-v2-recipes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.zion-v2-recipe {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 0;
  border: 1px solid rgb(96 213 202 / .2);
  border-radius: 5px;
  padding: 4px 3px 5px;
  background: linear-gradient(180deg, rgb(12 42 47 / .76), rgb(3 17 23 / .9));
  color: #e8fffa;
  cursor: pointer;
}
.zion-v2-recipe.is-active { border-color: #ffd274; background: linear-gradient(180deg, rgb(62 51 18 / .65), rgb(5 28 33 / .94)); box-shadow: inset 0 -2px rgb(255 202 87 / .45), 0 0 12px rgb(255 203 95 / .1); }
.zion-v2-recipe.is-locked { filter: grayscale(.75); opacity: .48; cursor: not-allowed; }
.zion-v2-recipe img { width: min(100%, 58px); aspect-ratio: 1; object-fit: contain; }
.zion-v2-recipe span { color: #d8f8ef; font-family: var(--font-data); font-size: 9px; font-weight: 800; }
.zion-v2-recipe strong { color: #9fe2d2; font-size: 10px; }
.zion-v2-recipe.is-active strong { color: #ffd274; }
.zion-v2-console { display: grid; gap: 7px; margin-top: 9px; padding: 9px; border: 1px solid var(--zion-line); border-radius: 5px; background: linear-gradient(180deg, rgb(2 17 22 / .84), rgb(2 10 15 / .92)); box-shadow: inset 0 2px 8px rgb(0 0 0 / .35); }
.zion-v2-readout { display: flex; align-items: baseline; justify-content: space-between; }
.zion-v2-readout span { color: #9bd8ca; font-size: 11px; }
.zion-v2-readout strong { color: #ffe4a5; font-family: var(--font-data); font-size: 20px; }
.zion-v2-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  margin: 2px 0;
  background: transparent;
  cursor: pointer;
}
.zion-v2-range::-webkit-slider-runnable-track {
  height: 22px;
  border: 0;
  border-radius: 4px;
  background: url("/assets/zion/xion/bar.webp") center / 100% 100% no-repeat;
}
.zion-v2-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 54px;
  height: 26px;
  margin-top: -2px;
  border: 0;
  background: url("/assets/zion/xion/handle.webp") center / contain no-repeat;
}
.zion-v2-range::-moz-range-track {
  height: 22px;
  border: 0;
  border-radius: 4px;
  background: url("/assets/zion/xion/bar.webp") center / 100% 100% no-repeat;
}
.zion-v2-range::-moz-range-thumb {
  width: 54px;
  height: 26px;
  border: 0;
  background: url("/assets/zion/xion/handle.webp") center / contain no-repeat;
}
.zion-v2-range:disabled { filter: grayscale(.6); opacity: .55; cursor: not-allowed; }
.zion-v2-console-row { display: flex; align-items: center; gap: 9px; }
.zion-v2-console-row label { display: flex; align-items: center; gap: 5px; color: #9bd8ca; font-size: 10px; }
.zion-v2-console-row input { width: 70px; border: 1px solid rgb(95 220 205 / .34); border-radius: 4px; padding: 5px 6px; background: rgb(0 12 16 / .8); color: #effffb; font-family: var(--font-data); font-size: 12px; }
.zion-v2-console-row > span { margin-left: auto; color: #8ec8bd; font-size: 10px; }
.zion-v2-console-row > span strong { color: #ffe4a5; font-family: var(--font-data); }
.zion-v2-max { flex: none; border: 1px solid rgb(116 234 215 / .3); border-radius: 4px; padding: 5px 8px; background: linear-gradient(180deg, rgb(20 63 64 / .72), rgb(5 27 32 / .9)); color: #bff5e8; font-size: 10px; cursor: pointer; }
.zion-v2-synthesize {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgb(132 240 255 / .62);
  border-radius: 5px;
  background: linear-gradient(180deg, #2ec7dd 0%, #0e7f97 46%, #064a5a 100%);
  color: #f0feff;
  box-shadow: inset 0 1px rgb(226 253 255 / .6), inset 0 -3px rgb(3 42 52 / .7), 0 6px 12px rgb(0 0 0 / .38), 0 0 16px rgb(64 212 238 / .18);
  text-shadow: 0 1px 2px #04252c;
  cursor: pointer;
}
.zion-v2-synth-icon { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 0 6px rgb(120 240 255 / .5)); }
.zion-v2-synthesize b { font-size: 16px; letter-spacing: .12em; }
.zion-v2-synthesize span { color: rgb(255 244 205 / .74); font-family: var(--font-data); font-size: 9px; }
.zion-v2-synthesize:disabled { filter: grayscale(.7); opacity: .48; cursor: not-allowed; }
.zion-v2-probability { display: flex; justify-content: space-between; gap: 8px; padding-top: 1px; color: #81bdb2; font-size: 9px; }
.zion-v2-probability b { color: #ffd274; font-family: var(--font-data); font-size: 11px; }
.zion-v2-result { padding: 9px 10px; }
.zion-v2-result ul { display: grid; gap: 4px; margin: 7px 0 0; padding: 0; list-style: none; }
.zion-v2-result li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 4px 8px; border: 1px solid rgb(104 218 201 / .12); border-radius: 3px; background: rgb(255 255 255 / .025); color: #c6ece4; font-size: 11px; }
.zion-v2-result li strong { color: #ffe2a0; font-family: var(--font-data); font-size: 13px; }
.zion-v2-result li.is-empty { color: #7faea5; }
.zion-v2-result > p { margin: 7px 0 0; color: #83b9af; font-size: 9px; line-height: 1.45; }
.zion-v2-owned { padding: 9px 10px 10px; }
.zion-v2-owned-row { display: grid; gap: 4px; margin-top: 7px; }
.zion-v2-owned-row h4 { display: flex; align-items: center; gap: 6px; margin: 0; color: #b8e8de; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.zion-v2-owned-row h4 i { width: 9px; height: 9px; border-radius: 2px; background: #8fd8ff; box-shadow: 0 0 6px rgb(120 210 255 / .6); }
.zion-v2-owned-row.zion-color-red h4 i { background: #ff9a8f; box-shadow: 0 0 6px rgb(255 140 120 / .6); }
.zion-v2-owned-row.zion-color-gray h4 i { background: #c9c9d6; box-shadow: 0 0 6px rgb(200 200 220 / .5); }
.zion-v2-owned-row > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.zion-v2-owned-row span.zion-v2-slot {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0;
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  padding: 8px 5px 5px;
  background: url("/assets/zion/xion/slot.webp") center / 100% 100% no-repeat;
}
.zion-v2-owned-row .zion-v2-slot img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 6px rgb(90 210 240 / .22)); }
.zion-v2-owned-row .zion-v2-slot b { position: absolute; top: 4px; left: 6px; color: #9fe4ff; font-size: 8px; letter-spacing: .06em; }
.zion-v2-owned-row .zion-v2-slot em { position: absolute; right: 6px; bottom: 4px; }
.zion-v2-owned-row.zion-color-red .zion-v2-slot b { color: #ffb3a4; }
.zion-v2-owned-row.zion-color-gray .zion-v2-slot b { color: #d5d5e2; }
.zion-v2-owned-row b { color: #8ec9bc; font-size: 8px; }
.zion-v2-owned-row em { color: #f4d38d; font-family: var(--font-data); font-size: 10px; font-style: normal; }
.zion-v2-placeholder { display: grid; gap: 6px; padding: 30px 18px; text-align: center; }
.zion-v2-placeholder span { color: #72d9c3; font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.zion-v2-placeholder h3 { margin: 0; color: #e9fffa; font-size: 20px; }
.zion-v2-placeholder p { margin: 0; color: #93c9bd; font-size: 11px; }
@media (max-width: 520px) {
  .zion-v2-hero { min-height: 220px; padding: 12px 10px 0; }
  .zion-v2-hero-title { padding: 16px 0 12px; }
  .zion-v2-hero-title strong { font-size: 21px; }
  .zion-v2-tabs button { min-height: 48px; font-size: 11px; }
  .zion-v2-tabs button small { font-size: 7px; }
  .zion-v2-body { padding: 8px 9px 16px; }
  .zion-v2-powders { gap: 5px; }
  .zion-v2-powder { min-height: 84px; padding: 7px 4px 8px; }
  .zion-v2-powder img { width: 46px; height: 46px; }
  .zion-v2-powder strong { font-size: 13px; }
  .zion-v2-powder span { font-size: 10px; }
  .zion-v2-synth { padding: 8px; }
  .zion-v2-recipe img { width: min(100%, 46px); }
  .zion-v2-console-row { flex-wrap: wrap; }
  .zion-v2-console-row > span { margin-left: 0; }
  .zion-v2-synth .zion-v2-synthesize { min-height: 44px; }
}
/* Layered metal frames: keep the reference's bevelled, inset-card feel. */
.zion-v2-synth, .zion-v2-result, .zion-v2-owned, .zion-v2-placeholder {
  border: 1px solid rgb(93 229 210 / .62);
  box-shadow:
    inset 0 0 0 2px rgb(2 17 21 / .94),
    inset 0 0 0 3px rgb(105 237 214 / .12),
    inset 0 1px 0 rgb(240 255 250 / .20),
    inset 0 -2px 0 rgb(0 0 0 / .78),
    0 2px 0 rgb(0 10 13 / .92),
    0 9px 20px rgb(0 0 0 / .42);
}
.zion-v2-powder {
  border-color: rgb(103 231 211 / .40);
  box-shadow:
    inset 0 0 0 1px rgb(1 14 18 / .9),
    inset 0 1px 0 rgb(220 255 246 / .13),
    inset 0 -2px 0 rgb(0 0 0 / .62),
    0 2px 0 rgb(0 9 12 / .8),
    0 6px 12px rgb(0 0 0 / .30);
}
.zion-v2-powder.is-active {
  border-color: rgb(84 236 246 / .95);
  box-shadow:
    inset 0 0 0 2px rgb(59 214 229 / .72),
    inset 0 1px 0 rgb(235 255 255 / .35),
    inset 0 -2px 0 rgb(0 20 24 / .8),
    0 0 16px rgb(53 227 236 / .28),
    0 2px 0 rgb(0 9 12 / .8);
}
.zion-v2-recipe {
  border-color: rgb(94 219 204 / .34);
  box-shadow: inset 0 0 0 1px rgb(1 13 17 / .82), inset 0 1px 0 rgb(225 255 247 / .13), inset 0 -2px 0 rgb(0 0 0 / .55), 0 2px 0 rgb(0 9 12 / .65);
}
.zion-v2-recipe.is-active {
  border-color: rgb(255 210 116 / .96);
  box-shadow: inset 0 0 0 2px rgb(255 199 83 / .38), inset 0 1px 0 rgb(255 252 220 / .45), inset 0 -2px 0 rgb(77 43 6 / .72), 0 0 14px rgb(255 195 75 / .20), 0 2px 0 rgb(0 9 12 / .7);
}
.zion-v2-console {
  border-color: rgb(99 226 210 / .52);
  box-shadow: inset 0 3px 10px rgb(0 0 0 / .55), inset 0 0 0 1px rgb(0 12 15 / .9), 0 1px 0 rgb(157 250 231 / .12);
}
.zion-v2-synthesize {
  border-color: rgb(255 221 142 / .9);
  box-shadow: inset 0 2px 0 rgb(255 252 225 / .78), inset 0 -4px 0 rgb(72 43 8 / .82), inset 0 0 0 1px rgb(77 46 8 / .6), 0 4px 0 rgb(40 23 5 / .9), 0 8px 16px rgb(0 0 0 / .42);
}
.zion-v2-tabs button.is-active {
  box-shadow: inset 0 0 0 1px rgb(255 210 116 / .45), inset 0 1px 0 rgb(255 255 237 / .30), inset 0 -3px 0 rgb(91 54 9 / .55), 0 2px 0 rgb(0 10 12 / .8), 0 0 15px rgb(255 197 81 / .15);
}
/* Stronger bevelled outer rails, closer to the reference's metal frames. */
.zion-v2-synth, .zion-v2-result, .zion-v2-owned, .zion-v2-placeholder {
  position: relative;
  border: 2px solid rgb(32 105 108 / .95);
  outline: 1px solid rgb(151 255 235 / .16);
  outline-offset: 2px;
  box-shadow:
    inset 0 0 0 2px rgb(1 13 17 / .96),
    inset 0 0 0 3px rgb(113 235 215 / .22),
    inset 0 2px 0 rgb(230 255 248 / .18),
    inset 0 -3px 0 rgb(0 0 0 / .82),
    0 3px 0 rgb(0 9 12 / .95),
    0 0 0 1px rgb(0 8 10 / .95),
    0 10px 22px rgb(0 0 0 / .46);
}
.zion-v2-synth::before, .zion-v2-result::before, .zion-v2-owned::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 0;
  border: 1px solid rgb(255 210 116 / .14);
  border-radius: 3px;
  pointer-events: none;
}
.zion-v2-corner, .zion-v2-synth::after, .zion-v2-result::after, .zion-v2-owned::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 0;
  pointer-events: none;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgb(255 210 116 / .42), transparent 14%) left top / 34px 1px no-repeat,
    linear-gradient(180deg, rgb(255 210 116 / .42), transparent 20%) left top / 1px 34px no-repeat,
    linear-gradient(270deg, rgb(255 210 116 / .42), transparent 14%) right top / 34px 1px no-repeat,
    linear-gradient(180deg, rgb(255 210 116 / .42), transparent 20%) right top / 1px 34px no-repeat;
}
.zion-v2-synth > *, .zion-v2-result > *, .zion-v2-owned > * { position: relative; z-index: 1; }
.zion-v2-powder.is-active { border-width: 2px; }
.zion-v2-recipe.is-active { border-width: 2px; }
.zion-v2-tabs button { border-width: 2px; }[data-screen="zion-lab"] .special-center-head { display: none; }
[data-screen="zion-lab"] .special-center-mount { min-height: 100dvh; }
.zion-v2 { min-height: 100dvh; }
/* Reference-style heavy brass/steel frame: dark outer rail, teal inner plate, gold corner inlays. */
.zion-v2-synth, .zion-v2-result, .zion-v2-owned, .zion-v2-placeholder {
  border: 1px solid rgb(169 143 86 / .9) !important;
  outline: 1px solid rgb(0 7 9 / .98);
  outline-offset: 3px;
  box-shadow:
    inset 0 0 0 3px rgb(2 13 17 / .98),
    inset 0 0 0 4px rgb(42 126 122 / .92),
    inset 0 0 0 5px rgb(3 23 27 / .97),
    inset 0 3px 0 rgb(255 239 189 / .26),
    inset 0 -5px 0 rgb(0 0 0 / .82),
    0 0 0 1px rgb(0 7 9 / .98),
    0 4px 0 rgb(0 8 11 / .96),
    0 5px 0 rgb(105 88 47 / .55),
    0 11px 22px rgb(0 0 0 / .48) !important;
}
.zion-v2-synth::before, .zion-v2-result::before, .zion-v2-owned::before {
  inset: 8px !important;
  border: 1px solid rgb(255 214 128 / .30) !important;
}
.zion-v2-synth::after, .zion-v2-result::after, .zion-v2-owned::after {
  inset: 3px !important;
  background:
    linear-gradient(90deg, rgb(255 214 128 / .8), transparent 15%) left top / 42px 2px no-repeat,
    linear-gradient(180deg, rgb(255 214 128 / .8), transparent 19%) left top / 2px 42px no-repeat,
    linear-gradient(270deg, rgb(255 214 128 / .8), transparent 15%) right top / 42px 2px no-repeat,
    linear-gradient(180deg, rgb(255 214 128 / .8), transparent 19%) right top / 2px 42px no-repeat,
    linear-gradient(90deg, rgb(255 214 128 / .55), transparent 15%) left bottom / 42px 2px no-repeat,
    linear-gradient(270deg, rgb(255 214 128 / .55), transparent 15%) right bottom / 42px 2px no-repeat !important;
}
.zion-v2-tabs button {
  border: 1px solid rgb(155 132 82 / .8) !important;
  box-shadow: inset 0 0 0 2px rgb(2 15 19 / .96), inset 0 0 0 3px rgb(44 119 116 / .55), inset 0 1px 0 rgb(255 245 207 / .20), inset 0 -3px 0 rgb(0 0 0 / .72), 0 2px 0 rgb(0 8 10 / .92), 0 6px 14px rgb(0 0 0 / .36);
}
.zion-v2-tabs button.is-active {
  border-color: rgb(255 215 126 / .98) !important;
  box-shadow: inset 0 0 0 2px rgb(71 48 13 / .75), inset 0 0 0 3px rgb(255 206 97 / .42), inset 0 1px 0 rgb(255 255 235 / .32), inset 0 -3px 0 rgb(76 43 6 / .72), 0 2px 0 rgb(0 8 10 / .92), 0 0 16px rgb(255 196 75 / .16) !important;
}
.zion-v2-powder { border-color: rgb(157 136 83 / .72) !important; }
.zion-v2-powder.is-active { border-color: rgb(82 232 244 / .98) !important; box-shadow: inset 0 0 0 3px rgb(39 190 207 / .9), inset 0 0 0 4px rgb(2 21 25 / .98), inset 0 2px 0 rgb(235 255 255 / .45), 0 0 18px rgb(51 224 236 / .28), 0 3px 0 rgb(0 7 9 / .9) !important; }
.zion-v2-recipe { border-color: rgb(143 126 84 / .62) !important; }
.zion-v2-recipe.is-active { border-color: rgb(255 215 126 / .98) !important; box-shadow: inset 0 0 0 3px rgb(255 202 86 / .32), inset 0 0 0 4px rgb(40 28 9 / .75), inset 0 2px 0 rgb(255 252 220 / .38), 0 0 14px rgb(255 195 75 / .18), 0 3px 0 rgb(0 7 9 / .9) !important; }.zion-v2-synth, .zion-v2-result, .zion-v2-owned { padding-top: 16px; }
.zion-v2-synth > .zion-v2-card-head, .zion-v2-result > header, .zion-v2-owned > header { position: relative; z-index: 2; }

/* ===== 2026-11-19 v3：改用 11.19 素材的亮色底图，结晶不再套黑灰方框 ===== */
[data-screen="zion-lab"] .special-center-mount { min-height: 0 !important; height: auto !important; display: block !important; }
.zion-v2 {
  min-height: 100% !important;
  overflow: visible !important;
  background: #eef5f8 url("/assets/zion/xion/bg-soft.webp") center top / 100% auto no-repeat !important;
  color: #123039;
}
.zion-v2::after { background: none !important; }
.zion-v2-hero {
  min-height: 200px !important;
  background: linear-gradient(180deg, rgb(3 16 22 / .34), rgb(3 16 22 / .04) 58%, rgb(238 245 248 / .9)) !important;
  border-bottom: 0 !important;
}
.zion-v2-hero::before { background: none !important; }
.zion-v2-hero::after { background: linear-gradient(180deg, transparent, rgb(238 245 248 / .92)) !important; height: 64px !important; }
.zion-v2-hero-title span { color: rgb(255 255 255 / .8) !important; text-shadow: 0 1px 8px rgb(0 14 22 / .7); }
.zion-v2-hero-title strong { color: #fff !important; text-shadow: 0 2px 12px rgb(0 14 22 / .75); }
.zion-v2-hero-title em { color: rgb(255 255 255 / .84) !important; text-shadow: 0 1px 8px rgb(0 14 22 / .7); }
.zion-v2-synth, .zion-v2-result, .zion-v2-placeholder {
  border: 1px solid rgb(70 205 222 / .38) !important;
  outline: 0 !important;
  box-shadow: inset 0 1px rgb(214 255 255 / .12), 0 10px 24px rgb(8 30 38 / .26) !important;
  background: linear-gradient(180deg, rgb(4 21 27 / .9), rgb(3 14 19 / .95)) !important;
}
.zion-v2-synth::before, .zion-v2-result::before, .zion-v2-owned::before,
.zion-v2-synth::after, .zion-v2-result::after, .zion-v2-owned::after { background: none !important; border: 0 !important; }
.zion-v2-owned {
  padding: 12px 2px 8px !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: linear-gradient(180deg, rgb(255 255 255 / .58), rgb(255 255 255 / .26)) !important;
}
.zion-v2-owned > header span { color: rgb(21 54 64 / .58) !important; text-shadow: 0 1px 0 rgb(255 255 255 / .8); }
.zion-v2-owned > header strong { color: #102b34 !important; text-shadow: 0 1px 0 rgb(255 255 255 / .85); }
.zion-v2-owned-row h4 { color: #102b34 !important; text-shadow: 0 1px 0 rgb(255 255 255 / .85); }
.zion-v2-owned-row.zion-color-red h4 { color: #a83434 !important; }
.zion-v2-owned-row.zion-color-blue h4 { color: #23639e !important; }
.zion-v2-owned-row.zion-color-gray h4 { color: #4b5560 !important; }
.zion-v2-owned-row span.zion-v2-slot {
  aspect-ratio: auto !important;
  padding: 16px 0 4px !important;
  background: none !important;
  border: 0 !important;
  gap: 2px !important;
}
.zion-v2-owned-row .zion-v2-slot img { width: 46px !important; height: 46px !important; filter: drop-shadow(0 6px 10px rgb(0 20 30 / .45)); }
.zion-v2-owned-row .zion-v2-slot b { top: 1px !important; left: 2px !important; color: #2c4f5a !important; font-size: 9px !important; text-shadow: 0 1px 0 rgb(255 255 255 / .8); }
.zion-v2-owned-row .zion-v2-slot em { position: static !important; color: #102b34 !important; font-size: 12px !important; text-shadow: 0 1px 0 rgb(255 255 255 / .8); }

/* 亮底上液玻璃会把粉末格冲成灰白，这里强制压回深色玻璃 */
.zion-v2-powder, .zion-v2-powder.lg-control {
  background: linear-gradient(150deg, rgb(9 35 41 / .93), rgb(4 15 21 / .97)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #d9f5ec !important;
}
.zion-v2-powder.is-active, .zion-v2-powder.is-active.lg-control {
  background: linear-gradient(150deg, rgb(18 62 70 / .96), rgb(5 22 28 / .98)) !important;
}
.zion-v2-powder span { color: #cfece5 !important; }
.zion-v2-powder strong { color: #ffe6ae !important; }
.zion-v2-max.lg-control, .zion-v2-max {
  background: linear-gradient(180deg, rgb(22 66 74 / .95), rgb(5 27 32 / .98)) !important;
  backdrop-filter: none !important;
  color: #d8f7ef !important;
}
.zion-v2-synthesize.lg-control { backdrop-filter: none !important; }
.zion-v2-synthesize, .zion-v2-synthesize.lg-control {
  background: linear-gradient(180deg, #2ec7dd 0%, #0e7f97 46%, #064a5a 100%) !important;
}
.zion-unlock-gate button, .zion-unlock-gate button.lg-control {
  background: linear-gradient(180deg, #2ec7dd 0%, #0d6d84 58%, #063f4d 100%) !important;
  border-color: rgba(140, 240, 255, .6) !important;
  color: #f2feff !important;
  backdrop-filter: none !important;
}

/* ===== 2026-11-19 v4：宇宙星点背景 + 只剩图标 ===== */
.zion-v2 {
  padding-bottom: 108px !important;
  color: #eaf7ff;
  background:
    radial-gradient(140% 70% at 50% -12%, rgb(46 132 178 / .34), transparent 62%),
    radial-gradient(90% 46% at 18% 24%, rgb(116 66 168 / .16), transparent 62%),
    url("/assets/zion/xion/stars-1.webp") center top / 560px auto repeat,
    url("/assets/zion/xion/stars-2.webp") center top / 420px auto repeat,
    url("/assets/zion/xion/bg-galaxy.webp") center top / cover no-repeat,
    #02060c !important;
}
.zion-v2::after { background: radial-gradient(ellipse at 50% 8%, rgb(70 190 255 / .16), transparent 46%) !important; }
.zion-v2-hero { background: none !important; }
.zion-v2-hero::after { background: linear-gradient(180deg, transparent, rgb(2 6 12 / .55)) !important; }

/* 粉末：只有图标 + 数字 */
.zion-v2-powders { gap: 10px; }
.zion-v2-powder, .zion-v2-powder.lg-control {
  min-height: 0 !important;
  padding: 6px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.zion-v2-powder img { width: 62px !important; height: 62px !important; filter: drop-shadow(0 0 14px rgb(96 200 255 / .38)); }
.zion-v2-powder strong { color: #fff !important; font-size: 15px !important; text-shadow: 0 1px 6px rgb(0 10 20 / .85); }
.zion-v2-powder.is-active, .zion-v2-powder.is-active.lg-control {
  background: none !important;
  box-shadow: 0 0 0 2px rgb(96 232 255 / .75), 0 0 20px rgb(70 200 255 / .35) !important;
}

/* 晶体选择：去卡片底、只留图标 + 小标 + 成功率 */
.zion-v2-synth { background: none !important; border: 0 !important; box-shadow: none !important; padding: 4px 0 0 !important; }
.zion-v2-recipe, .zion-v2-recipe.lg-control {
  min-height: 0 !important;
  padding: 6px 2px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.zion-v2-recipe img { width: 44px !important; height: 44px !important; filter: drop-shadow(0 0 12px rgb(96 200 255 / .32)); }
.zion-v2-recipe span { color: #eaf7ff !important; font-size: 9px !important; text-shadow: 0 1px 5px rgb(0 10 20 / .85); }
.zion-v2-recipe strong { color: #9fe6ff !important; font-size: 10px !important; text-shadow: 0 1px 5px rgb(0 10 20 / .85); }
.zion-v2-recipe.is-active { box-shadow: 0 0 0 2px rgb(255 210 116 / .85), 0 0 18px rgb(255 190 80 / .35) !important; }
.zion-v2-recipe.is-active strong { color: #ffd274 !important; }
.zion-v2-recipe.is-locked { opacity: .45; }

/* 结晶库：去面板，图标 + 小标 + 数量 */
.zion-v2-owned { background: none !important; padding: 6px 2px 0 !important; }
.zion-v2-owned > header span { color: rgb(210 235 250 / .6) !important; text-shadow: 0 1px 6px rgb(0 10 20 / .8) !important; }
.zion-v2-owned > header { padding-right: 84px; }
.zion-v2-owned > header strong { color: #f2fbff !important; text-shadow: 0 1px 8px rgb(0 10 20 / .9) !important; }
.zion-v2-owned-row h4 { color: #eaf7ff !important; text-shadow: 0 1px 8px rgb(0 10 20 / .9) !important; }
.zion-v2-owned-row.zion-color-red h4 { color: #ff9d8f !important; }
.zion-v2-owned-row.zion-color-blue h4 { color: #8fc9ff !important; }
.zion-v2-owned-row.zion-color-gray h4 { color: #cfd6e2 !important; }
.zion-v2-owned-row .zion-v2-slot b { color: rgb(220 240 255 / .9) !important; text-shadow: 0 1px 6px rgb(0 10 20 / .9) !important; }
.zion-v2-owned-row .zion-v2-slot em { color: #fff !important; text-shadow: 0 1px 6px rgb(0 10 20 / .9) !important; }



/* 2026-11-20：氙石分解 / 氙金合成 */
.zion-v2-decompose, .zion-v2-xion { display: grid; gap: 10px; }
.zion-v2-crystal-vault, .zion-v2-xion-block, .zion-v2-xion-event {
  border: 1px solid var(--zion-line-soft);
  border-radius: 7px;
  background: linear-gradient(160deg, rgb(8 34 40 / .9), rgb(3 15 21 / .96));
  box-shadow: inset 0 1px rgb(213 255 247 / .07), 0 8px 20px rgb(0 0 0 / .26);
}
.zion-v2-crystal-vault, .zion-v2-xion-block { padding: 10px; }
.zion-v2-crystal-vault > header, .zion-v2-xion-block > header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--zion-line-soft);
}
.zion-v2-crystal-vault > header div, .zion-v2-xion-block > header div { display: grid; gap: 2px; }
.zion-v2-crystal-vault > header span, .zion-v2-xion-block > header span { color: rgb(116 226 208 / .65); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.zion-v2-crystal-vault > header strong, .zion-v2-xion-block > header strong { color: #e9fffa; font-size: 15px; }
.zion-v2-crystal-vault > header em, .zion-v2-xion-block > header em { color: #a9d8cd; font-size: 9px; font-style: normal; }
.zion-v2-decompose-colors { display: flex; gap: 5px; margin-top: 8px; }
.zion-v2-decompose-colors button {
  flex: 1; min-height: 28px; border: 1px solid rgb(96 213 202 / .2); border-radius: 4px;
  background: rgb(7 29 35 / .8); color: #a9d8cd; font-size: 10px; cursor: pointer;
}
.zion-v2-decompose-colors button.is-active { border-color: #ffd274; color: #ffe4a5; background: rgb(54 43 15 / .55); }
.zion-v2-decompose .zion-v2-recipes { margin-top: 6px; }
.zion-v2-decompose-powders { padding: 10px; border: 1px solid var(--zion-line-soft); border-radius: 7px; background: linear-gradient(160deg, rgb(8 34 40 / .9), rgb(3 15 21 / .96)); }
.zion-v2-decompose-powders > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--zion-line-soft); }
.zion-v2-decompose-powders > header span { color: rgb(116 226 208 / .65); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.zion-v2-decompose-powders > header strong { color: #e9fffa; font-size: 14px; }
.zion-v2-decompose-powders > header em { color: #a9d8cd; font-size: 9px; font-style: normal; }
.zion-v2-powder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.zion-v2-powder-grid .zion-v2-powder { min-height: 82px; cursor: default; }
.zion-v2-disassemble { background: linear-gradient(180deg, #b28a3f 0%, #6f4d1e 48%, #3c2b12 100%); border-color: rgb(255 220 144 / .65); }
.zion-v2-xion-event { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-color: rgb(255 209 115 / .34); background: linear-gradient(105deg, rgb(55 41 16 / .72), rgb(5 22 28 / .9)); }
.zion-v2-xion-event div { display: grid; gap: 2px; }
.zion-v2-xion-event span { color: rgb(255 210 116 / .7); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.zion-v2-xion-event strong { color: #ffe6b2; font-size: 14px; }
.zion-v2-xion-event em { color: #d9bd85; font-size: 9px; font-style: normal; white-space: nowrap; }
.zion-v2-xion-event:not(.is-active) { filter: grayscale(.45); opacity: .72; }
.zion-v2-xion-powder-grid, .zion-v2-xion-gold-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.zion-v2-xion-powder, .zion-v2-xion-gold {
  display: grid; justify-items: center; gap: 2px; min-height: 100px; border: 1px solid rgb(255 205 105 / .2);
  border-radius: 6px; padding: 7px 5px; background: linear-gradient(160deg, rgb(36 28 11 / .72), rgb(5 20 26 / .94));
  color: #f3e5c4; cursor: pointer;
}
.zion-v2-xion-powder.is-active, .zion-v2-xion-gold.is-active { border-color: #ffd274; box-shadow: inset 0 -2px rgb(255 202 87 / .35), 0 0 12px rgb(255 203 95 / .1); }
.zion-v2-xion-powder img, .zion-v2-xion-gold img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 0 8px rgb(255 196 90 / .24)); }
.zion-v2-xion-powder span, .zion-v2-xion-gold span { color: #e7d3a6; font-size: 10px; font-weight: 700; }
.zion-v2-xion-powder strong, .zion-v2-xion-gold strong { color: #ffe4a5; font-family: var(--font-data); font-size: 14px; }
.zion-v2-xion-gold { cursor: default; min-height: 86px; }
.zion-v2-xion-gold img { width: 48px; height: 48px; }
@media (max-width: 420px) {
  .zion-v2-xion-event { align-items: flex-start; flex-direction: column; }
  .zion-v2-xion-event em { white-space: normal; }
}

/* 2026-11-20 用户指定：大标题区域使用氙石中心实景图，页签移到标题下方。 */
.zion-v2-hero {
  min-height: 300px !important;
  padding: 14px 16px 0 !important;
  border-bottom: 1px solid rgb(112 243 222 / .18) !important;
  background:
    linear-gradient(180deg, rgb(2 10 15 / .32), rgb(2 10 15 / .82) 72%, rgb(2 6 12 / .96)),
    url("/assets/zion/xion/hero.webp") center 42% / cover no-repeat !important;
}
.zion-v2-hero::before { display: none !important; }
.zion-v2-hero::after {
  height: 90px !important;
  background: linear-gradient(180deg, transparent, #02060c) !important;
}
.zion-v2-hero-title {
  padding: 30px 0 16px !important;
}
.zion-v2-tabs {
  margin: 6px auto 14px !important;
}
.zion-v2-tabs button small {
  display: none !important;
}
.zion-v2-crystal-vault > header { display: none !important; }

/* 2026-11-20 修正：收掉大标题下方的空带，让中心实景图更清楚。 */
.zion-v2-hero {
  min-height: 250px !important;
  background:
    linear-gradient(180deg, rgb(2 10 15 / .18), rgb(2 10 15 / .62) 70%, rgb(2 6 12 / .9)),
    url("/assets/zion/xion/hero.webp") center 42% / cover no-repeat !important;
}
.zion-v2-hero::after { height: 64px !important; }
.zion-v2-hero-title { padding: 24px 0 12px !important; }
.zion-v2-tabs { margin: 2px auto 8px !important; }
.zion-v2-body { padding-top: 4px !important; }

/* 让氙石中心实景图成为大标题的实际背景，并收紧下方空带。 */
.zion-v2-hero {
  min-height: 215px !important;
  background:
    linear-gradient(180deg, rgb(2 10 15 / .06), rgb(2 10 15 / .38) 58%, rgb(2 6 12 / .78)),
    url("/assets/zion/xion/hero.webp") center 38% / cover no-repeat !important;
}
.zion-v2-hero-title { padding: 18px 0 8px !important; }
.zion-v2-hero-title strong { text-shadow: 0 2px 14px rgb(0 10 16 / .9), 0 0 22px rgb(0 10 16 / .7) !important; }
.zion-v2-hero-title span, .zion-v2-hero-title em { text-shadow: 0 1px 8px rgb(0 10 16 / .9) !important; }
.zion-v2-tabs { margin: 2px auto 6px !important; }
.zion-v2-tabs button { backdrop-filter: blur(5px); }

/* 2026-12-02 氙金合成页：粉末与氙金图标无外框纯净呈现 */
.zion-v2-xion-powder,
.zion-v2-xion-gold {
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.zion-v2-xion-powder.is-active,
.zion-v2-xion-gold.is-active {
  border: 0 !important;
  background: radial-gradient(circle at 50% 42%, rgba(255, 210, 116, .18), transparent 72%) !important;
  box-shadow: none !important;
}
.zion-v2-xion-powder img,
.zion-v2-xion-gold img {
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
}
