/* Thronebound battlefield presentation. No rules, routing or global camera effects. */
.pvp-world {
  --pvp-gold: #ead399;
  --pvp-blue: #68c9ff;
  --pvp-ink: #091322;
  --pvp-border: rgba(174, 202, 222, 0.16);
  position: relative;
  color: #dce8f0;
  isolation: isolate;
  min-width: 0;
}
.pvp-world * {
  box-sizing: border-box;
  min-width: 0;
}
.pvp-world h1,
.pvp-world h2,
.pvp-world h3 {
  color: #f2ead8;
  overflow-wrap: anywhere;
}
.pvp-world h1 {
  font-size: clamp(26px, 4vw, 42px);
  margin: 6px 0 12px;
  line-height: 1.25;
}
.pvp-world h2 {
  font-size: clamp(19px, 2.6vw, 27px);
  margin: 6px 0 12px;
}
.pvp-world h3 {
  font-size: 17px;
  margin: 8px 0;
}
.pvp-world h3 small,
.pvp-world h2 small {
  font-size: 12px;
  font-weight: 600;
  color: var(--pvp-gold);
  white-space: nowrap;
}
.pvp-world p {
  line-height: 1.65;
}
.pvp-world .eyebrow {
  color: var(--pvp-gold);
  font-size: 10px;
  letter-spacing: 2.5px;
  margin: 0;
}
.pvp-header,
.pvp-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
}
.pvp-header > div > p:last-child {
  color: #8faabd;
  margin: 0;
}
.pvp-section-title {
  padding-top: 10px;
}
.pvp-section-title > span {
  font-size: 12px;
  color: #96adbb;
}
.pvp-world .pvp-button {
  min-height: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 18px;
  border: 1px solid rgba(220, 186, 113, 0.46);
  border-radius: 9px;
  background: linear-gradient(145deg, #354451, #152638);
  box-shadow:
    inset 0 1px rgba(255, 230, 174, 0.14),
    0 5px 15px #0004;
  color: #f0d69c;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  touch-action: manipulation;
}
.pvp-world .pvp-button:hover:not(:disabled) {
  border-color: #edcf80;
  box-shadow:
    0 0 22px #5dbbff24,
    inset 0 1px #ffe6a14d;
  transform: translateY(-1px);
}
.pvp-world .pvp-button:active:not(:disabled) {
  transform: translateY(1px);
}
.pvp-world button:focus-visible {
  outline: 2px solid #72d3ff;
  outline-offset: 4px;
}
.pvp-world .pvp-button:disabled {
  cursor: not-allowed;
  opacity: 0.43;
  filter: saturate(0.4);
}
.pvp-button img,
.pvp-button svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}
.pvp-overview {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  margin-bottom: 30px;
  border: 1px solid var(--pvp-border);
  border-radius: 18px;
  background: linear-gradient(115deg, #142c41e6, #0b1727f2);
  box-shadow: inset 0 1px #75a5c21a;
}
.pvp-overview > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pvp-overview .avatar-art {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border: 1px solid #c8ac6766;
  border-radius: 50%;
  background-color: #132c42;
}
.pvp-overview h2 {
  font-size: 18px;
  margin: 5px 0;
}
.pvp-overview > b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pvp-gold);
  font-size: 18px;
  background: #09132099;
  border-radius: 10px;
  padding: 12px;
}
.pvp-overview > b img,
.pvp-overview > b svg {
  width: 32px;
  height: 32px;
}
.pvp-overview > .pvp-health {
  grid-column: 1/-1;
}
.pvp-overview > small {
  grid-column: 1/-1;
  font-size: 11px;
  color: #7f9aae;
}
.pvp-ready,
.pvp-recovering,
.pvp-dead,
.pvp-protected,
.pvp-engaged {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 11px;
  margin: 4px 4px 0 0;
  line-height: 1.5;
  border: 1px solid;
}
.pvp-ready {
  color: #a5dec8;
  background: #1c393944;
  border-color: #6cbfac33;
}
.pvp-recovering {
  color: #b6dcff;
  background: #16345466;
  border-color: #66aaff44;
}
.pvp-dead {
  color: #ffb7bd;
  background: #56233866;
  border-color: #dd7f8b44;
}
.pvp-protected {
  color: #b6e7ff;
  background: #16457666;
  border-color: #66caff66;
  box-shadow: 0 0 16px #5ebcff1a;
}
.pvp-engaged {
  color: #ecc894;
  background: #55412466;
  border-color: #dbb77844;
}
.pvp-protected i,
.pvp-dead i {
  font-style: normal;
  font-size: 17px;
  filter: drop-shadow(0 0 5px currentColor);
}
.pvp-player-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 30px;
}
.pvp-player {
  position: relative;
  overflow: hidden;
  border: 1px solid #90abc333;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 6%, #3263906b, transparent 60%),
    linear-gradient(150deg, #142a3e, #081321);
  box-shadow: 0 12px 28px #0003;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.pvp-player:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #bfad7430;
  border-radius: 11px;
  pointer-events: none;
}
.pvp-player:hover,
.pvp-player:focus-within {
  border-color: #d8c089;
  box-shadow:
    0 0 28px #6cc4ff20,
    0 12px 28px #0004;
}
.pvp-opponent-portrait {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 75%, #679df638, transparent 62%);
  border-bottom: 1px solid #ffffff0a;
}
.pvp-opponent-portrait:after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 14px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #83ccf46b;
  box-shadow: 0 0 20px #47a9e329;
  pointer-events: none;
}
.pvp-opponent-portrait .traveler-sprite {
  width: 160px;
  height: 180px;
  z-index: 1;
  pointer-events: none;
}
.pvp-opponent-emblem {
  position: absolute;
  right: 19px;
  top: 18px;
  font-size: 27px;
  color: #e7cf93;
  text-shadow: 0 0 15px #ffdc74;
  pointer-events: none;
}
.is-protected .pvp-opponent-portrait {
  background: radial-gradient(ellipse, #337eb657, transparent 70%);
}
.is-protected .pvp-opponent-emblem {
  color: #94e4ff;
  text-shadow: 0 0 16px #59c9ff;
}
.is-recovering .traveler-sprite {
  opacity: 0.6;
  filter: saturate(0.4);
}
.pvp-opponent-info {
  position: relative;
  padding: 20px;
  text-align: center;
}
.pvp-opponent-info h3 {
  font-size: 19px;
}
.pvp-opponent-info > p:not(.eyebrow) {
  font-size: 12px;
  color: #9db4c7;
  margin: 12px 0;
}
.pvp-opponent-info > .pvp-button {
  width: 100%;
  margin: 3px 0 10px;
}
.pvp-opponent-info > small {
  display: block;
  font-size: 11px;
  color: #89a0b1;
}
.pvp-empty {
  grid-column: 1/-1;
  text-align: center;
  border: 1px dashed #cbb47840;
  padding: 32px;
  background: linear-gradient(145deg, #112438, #0c1824);
  border-radius: 14px;
}
.pvp-empty > span {
  font-size: 48px;
  color: #c6b37f;
}
.pvp-empty p {
  color: #92a9ba;
  font-size: 13px;
}
.pvp-scout-banner,
.pvp-raid-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin: 24px 0 16px;
  background: linear-gradient(120deg, #1f3b5099, #0b182699);
  border-left: 3px solid #d7bd7c;
  border-radius: 4px 14px 14px 4px;
}
.pvp-scout-banner {
  flex-wrap: wrap;
}
.pvp-scout-banner > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pvp-scout-banner .avatar-art {
  width: 52px;
  height: 52px;
}
.pvp-scout-banner h2 {
  font-size: 19px;
  margin: 0;
}
.pvp-scout-banner p {
  font-size: 12px;
  color: #9fb7c6;
}
.pvp-raid-head > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.pvp-raid-head p {
  font-size: 12px;
  margin: 0;
  color: #bbd4e3;
}
.pvp-raid-head small {
  font-size: 11px;
  color: #97afbc;
}
.pvp-raid-progress {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #80bddc;
}
.pvp-raid-progress > i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 27px;
  height: 29px;
  background: #233e55;
  border: 1px solid #75b3d255;
  border-radius: 4px;
}
.pvp-raid-progress > .is-broken {
  color: #d7b97b;
  border-color: #dcc99166;
  background: #5c482433;
}
.pvp-raid-progress > span {
  font-size: 11px;
}
.pvp-city-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #708faa44;
  border-radius: 20px;
  margin: 0 0 32px;
  padding: 24px 18px 26px;
  background:
    radial-gradient(ellipse at 50% 0, #42668580, transparent 55%),
    linear-gradient(180deg, #102439, #0b1a2d 45%, #16313b 74%, #111e2a);
  box-shadow:
    inset 0 0 80px #04081190,
    0 20px 40px #0003;
}
.pvp-city-scene:before {
  content: "";
  position: absolute;
  inset: 43% -30% -60%;
  transform: perspective(350px) rotateX(46deg);
  background:
    repeating-linear-gradient(90deg, transparent 0 75px, #87b4c417 76px 77px),
    repeating-linear-gradient(0deg, transparent 0 48px, #90bedb17 49px 50px);
  pointer-events: none;
  z-index: -1;
}
.pvp-city-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -20px 70px #05101cd9;
  pointer-events: none;
  z-index: -1;
}
.pvp-scene-caption {
  position: relative;
  text-align: center;
  padding: 5px 0 26px;
}
.pvp-scene-caption > span {
  display: block;
  letter-spacing: 4px;
  font-size: 11px;
  color: #cfbf92;
}
.pvp-scene-caption > small {
  display: block;
  font-size: 11px;
  color: #8eaec2;
  margin-top: 9px;
}
.pvp-castle-silhouette {
  position: absolute;
  inset: 6% 10% auto;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}
.pvp-castle-silhouette > i {
  display: block;
  width: 17%;
  height: 65%;
  background: #1c3c59;
  clip-path: polygon(
    0 0,
    22% 0,
    22% 10%,
    42% 10%,
    42% 0,
    64% 0,
    64% 10%,
    82% 10%,
    82% 0,
    100% 0,
    100% 100%,
    0 100%
  );
}
.pvp-castle-silhouette > i:nth-child(2) {
  height: 100%;
  width: 28%;
}
.pvp-city-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.pvp-building {
  position: relative;
  text-align: center;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  overflow: visible;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.pvp-building.is-targeted {
  border-color: #c7aa68a8;
  background: linear-gradient(180deg, #c7ad6810, #447dab16);
  box-shadow: 0 0 25px #54c1ff15;
}
.pvp-building-info {
  padding: 8px 9px 12px;
  position: relative;
}
.pvp-building-info h3 {
  font-size: 13px;
  line-height: 1.5;
  min-height: 36px;
  margin: 7px 0 8px;
}
.pvp-building-info h3 small {
  display: block;
  font-size: 10px;
  color: #e3c68c;
}
.pvp-target-zone {
  height: 166px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.pvp-target-art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pvp-target-art:disabled {
  cursor: default;
  opacity: 1 !important;
}
.pvp-target-art > * {
  pointer-events: none;
}
.pvp-target-art .building-art {
  width: 100%;
  max-width: 160px;
  height: 100%;
  max-height: 166px;
}
.pvp-ground {
  position: absolute;
  width: 92%;
  height: 25%;
  bottom: 5%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #5b8f9659,
    #14302a8c 55%,
    transparent 70%
  );
  box-shadow: 0 0 16px #609c9222;
  pointer-events: none;
  z-index: 0;
}
.pvp-target-reticle {
  position: absolute;
  inset: 12% 7% 3%;
  border: 1px solid #d3b87766;
  border-radius: 40% 40% 15% 15%;
  box-shadow:
    inset 0 0 18px #59caff1c,
    0 0 15px #67bdff1a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.is-targeted .pvp-target-reticle {
  opacity: 1;
  animation: pvp-target-pulse 2.6s ease-in-out infinite;
}
.pvp-active .pvp-target-art:hover .building-art {
  filter: drop-shadow(0 0 8px #8bd6ff70);
  transform: translateY(-2px);
}
.pvp-status {
  font-size: 8px;
  letter-spacing: 1px;
  color: #9ac5d6;
}
.pvp-destroyed .pvp-status {
  color: #c49981;
}
.pvp-repairing .pvp-status {
  color: #edcc8b;
}
.pvp-destroyed .pvp-target-art {
  filter: grayscale(0.9) brightness(0.5);
  opacity: 0.5 !important;
  transform: translateY(8px) scale(0.91);
}
.pvp-repairing .pvp-target-art {
  opacity: 0.55 !important;
  filter: saturate(0.6);
}
.pvp-repair-overlay {
  position: absolute;
  z-index: 3;
  top: 30%;
  left: 35%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0f233de0;
  box-shadow: 0 0 16px #ffd99744;
  border: 1px dashed #e1bd68;
  font-size: 26px;
  pointer-events: none;
}
.pvp-rubble {
  position: absolute;
  bottom: 4px;
  left: 16%;
  right: 16%;
  color: #ad815e;
  text-shadow: 0 0 10px #ff702e66;
  font-size: 23px;
  pointer-events: none;
  z-index: 2;
}
.pvp-smoke {
  position: absolute;
  inset: 14% 20% 12%;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(ellipse, #9ebbd738, transparent 67%);
  pointer-events: none;
  z-index: 2;
}
.pvp-condition-damaged .pvp-smoke {
  opacity: 0.45;
  animation: pvp-smoke-drift 4s ease-in-out infinite;
}
.pvp-condition-critical .pvp-smoke,
.pvp-destroyed .pvp-smoke {
  opacity: 0.75;
  animation: pvp-smoke-drift 3.6s ease-in-out infinite;
}
.pvp-condition-critical .pvp-ground {
  background: radial-gradient(ellipse, #c8544a57, transparent 68%);
}
.pvp-condition-damaged .pvp-target-art:after,
.pvp-condition-critical .pvp-target-art:after {
  content: "";
  position: absolute;
  inset: 38% 25% 23%;
  clip-path: polygon(
    50% 0,
    42% 31%,
    66% 47%,
    38% 65%,
    54% 100%,
    34% 68%,
    53% 48%,
    31% 33%
  );
  background: #0b1529a3;
  pointer-events: none;
}
.pvp-condition-critical .pvp-target-art {
  filter: drop-shadow(0 0 7px #eb655c40);
}
.pvp-building .pvp-button {
  width: 100%;
  font-size: 10px;
  padding: 9px 5px;
  gap: 3px;
}
.pvp-building .pvp-button img {
  width: 20px;
  height: 20px;
}
.pvp-repair-price,
.pvp-repair-time {
  font-size: 10px;
  margin: 9px 0 4px;
  color: #a5bece;
}
.pvp-building progress {
  height: 5px;
  width: 100%;
  accent-color: #ccbd82;
}
.pvp-health {
  position: relative;
  min-width: 0;
}
.pvp-health > strong {
  display: block;
  color: #dce9ed;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.7;
}
.pvp-health-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border: 1px solid #7cabb32e;
  background: #071320e0;
  border-radius: 6px;
  margin-top: 5px;
  box-shadow: inset 0 2px 4px #0006;
}
.pvp-health-track > i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  background: linear-gradient(90deg, #328977, #95d4b4);
  transition: width var(--hp-time, 300ms) ease-out;
  box-shadow: 0 0 8px #80dfc43d;
}
.pvp-health-track > i.pvp-health-trail {
  background: #d6b573;
  transition: width 0.6s 0.18s ease-out;
  box-shadow: none;
}
.pvp-health.is-low [data-pvp-hp-fill] {
  background: linear-gradient(90deg, #8d394a, #ea7874);
  animation: pvp-low-hp 1.8s ease-in-out infinite;
}
.pvp-health.is-low > strong {
  color: #ffc0be;
}
.pvp-building .pvp-health strong {
  font-size: 9px;
}
.pvp-lord {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px;
  text-align: center;
  margin: 0 0 32px;
  border: 1px solid #c6b2766b;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 45%, #3098d433, transparent 70%),
    linear-gradient(135deg, #192e42, #0c1526);
  box-shadow: 0 0 40px #4cc5ff13;
}
.pvp-gate-art {
  position: relative;
  width: 120px;
  height: 100px;
  margin: 0 auto 18px;
  display: flex;
  justify-content: center;
  perspective: 300px;
  filter: drop-shadow(0 0 14px #6fceff50);
}
.pvp-gate-art > i {
  width: 48px;
  height: 100%;
  border: 2px solid #c6ae71;
  border-radius: 42px 0 0;
  background: repeating-linear-gradient(
    90deg,
    #203a4d 0 9px,
    #b7a57338 10px 11px
  );
  transform-origin: left center;
  transition:
    transform 0.7s ease,
    opacity 0.7s;
}
.pvp-gate-art > i:nth-child(2) {
  border-radius: 0 42px 0 0;
  transform-origin: right center;
}
.pvp-gate-art > span {
  position: absolute;
  top: 30%;
  color: #e2c581;
  font-size: 30px;
}
.is-opening .pvp-gate-art > i:first-child,
.is-open .pvp-gate-art > i:first-child {
  transform: rotateY(-65deg);
}
.is-opening .pvp-gate-art > i:nth-child(2),
.is-open .pvp-gate-art > i:nth-child(2) {
  transform: rotateY(65deg);
}
.pvp-lord > h2 {
  color: #f1d896;
}
.pvp-lord > p:not(.eyebrow) {
  color: #96baca;
  font-size: 13px;
  margin-bottom: 24px;
}
.pvp-lord-action {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.35s,
    transform 0.35s;
  min-height: 76px;
}
.is-open .pvp-lord-action {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.pvp-lord-action > small {
  display: block;
  margin-top: 12px;
  font-size: 10px;
  color: #839ead;
}
.pvp-arena {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #9eb2cf44;
  border-radius: 22px;
  padding: 28px 24px;
  margin: 26px 0 38px;
  background:
    radial-gradient(ellipse at 50% 10%, #567ca94d, transparent 70%),
    linear-gradient(180deg, #122a42, #0a182a 55%, #1e3343);
  box-shadow:
    inset 0 0 70px #06102399,
    0 22px 50px #0003;
}
.pvp-arena:before {
  content: "";
  position: absolute;
  width: 40%;
  height: 70%;
  left: 30%;
  top: 3%;
  border: 1px solid #c2b28026;
  border-radius: 50% 50% 0 0;
  background: repeating-linear-gradient(
    90deg,
    #8cc6ed06 0 30px,
    #9ecbef10 31px 32px
  );
  pointer-events: none;
  z-index: -1;
}
.pvp-arena:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, transparent 45%, #03081488);
  pointer-events: none;
  z-index: -1;
}
.pvp-arena-title {
  text-align: center;
  margin-bottom: 24px;
}
.pvp-arena-title h2 {
  font-size: 22px;
}
.pvp-arena-title > span {
  font-size: 9px;
  letter-spacing: 3px;
  color: #96c3e2;
  padding: 5px 12px;
  border: 1px solid #829baa44;
  border-radius: 4px;
}
.pvp-duel-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  text-align: center;
}
.pvp-fighter {
  position: relative;
  border-top: 1px solid #cab57e3b;
  padding: 17px 12px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #17324e6b, transparent);
}
.pvp-fighter-role {
  color: #a3c0d5;
  letter-spacing: 1.8px;
  font-size: 9px;
  margin: 0;
}
.pvp-fighter h3 {
  font-size: 20px;
  min-height: 28px;
}
.pvp-fighter h3 small {
  display: inline-block;
  color: #d9c18a;
  font-size: 11px;
}
.pvp-fighter .pvp-health {
  text-align: center;
  max-width: 320px;
  margin: auto;
}
.pvp-fighter .pvp-health-track {
  height: 12px;
}
.pvp-fighter-stage {
  position: relative;
  height: 270px;
  margin: 12px auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.pvp-fighter-stage .pvp-target-art {
  height: 100%;
  width: 100%;
  pointer-events: none;
}
.pvp-fighter-stage .traveler-sprite {
  height: 270px;
  width: 270px;
  max-width: 100%;
  filter: drop-shadow(0 9px 12px #0006);
  pointer-events: none;
}
.pvp-fighter-rune {
  position: absolute;
  bottom: 9px;
  left: 15%;
  right: 15%;
  height: 40px;
  border: 1px solid #7fc9ea77;
  border-radius: 50%;
  background: radial-gradient(ellipse, #528ec64d, transparent 65%);
  box-shadow:
    0 0 22px #42a7d233,
    inset 0 0 20px #71c7f11a;
  pointer-events: none;
  z-index: -1;
}
.pvp-fighter-rune:after {
  content: "";
  position: absolute;
  inset: 5px 10%;
  border: 1px dashed #ead5a666;
  border-radius: 50%;
  pointer-events: none;
}
.pvp-versus {
  font:
    italic 800 31px Georgia,
    serif;
  letter-spacing: -2px;
  color: #ddc58e;
  text-shadow: 0 0 22px #ceae5844;
}
.pvp-mini-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 9px;
  color: #90adc2;
}
.pvp-mini-stats > span {
  padding: 6px;
  background: #0713218a;
  border-radius: 5px;
  border: 1px solid #9abfce1c;
}
.pvp-mini-stats b {
  color: #d3e4eb;
  margin-left: 3px;
  font-size: 11px;
}
.pvp-battle-log {
  min-height: 27px;
  text-align: center;
  font-size: 12px;
  color: #b7d1df;
  margin: 18px 0 0;
}
.pvp-battle-result {
  position: relative;
  text-align: center;
  padding: 24px 8px 8px;
  margin-top: 24px;
  border-top: 1px solid #c7b77844;
  min-height: 58px;
}
.pvp-battle-result.is-pending {
  padding: 12px;
  margin-top: 16px;
  border-color: #89b1d029;
  color: #93b4ca;
  font-size: 12px;
}
.pvp-result-symbol {
  display: block;
  color: #efd49a;
  font-size: 46px;
  text-shadow: 0 0 30px #eacb7159;
  pointer-events: none;
}
.pvp-result-title {
  font:
    700 clamp(30px, 5vw, 47px) Georgia,
    serif;
  letter-spacing: 7px;
  color: #f4d598;
  margin: 7px 0 14px !important;
}
.pvp-battle-result > h2 {
  font-size: 19px;
}
.pvp-battle-result > p:not(.pvp-result-title) {
  font-size: 12px;
  color: #a8c0cf;
}
.pvp-arena.is-victory {
  border-color: #cbb67c88;
  box-shadow:
    inset 0 0 60px #bd9c2c0d,
    0 0 30px #cfb54b1a;
}
.pvp-arena.is-defeat {
  border-color: #aa68745c;
  box-shadow: inset 0 0 100px #8b16301e;
}
.is-defeat .pvp-result-title,
.is-defeat .pvp-result-symbol {
  color: #d88791;
  text-shadow: 0 0 20px #ee52682b;
}
.is-fallen .pvp-target-art {
  opacity: 0.45;
  filter: grayscale(0.65);
  transform: translateY(8px);
}
.pvp-inventory {
  margin-top: 28px;
  border-top: 1px solid #b2cbd61f;
  padding-top: 22px;
}
.pvp-inventory > p {
  font-size: 12px;
  color: #8ca7ba;
}
.pvp-shield-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pvp-shield-grid article {
  position: relative;
  padding: 19px;
  text-align: center;
  border-radius: 13px;
  border: 1px solid #68a5d02e;
  background:
    radial-gradient(ellipse at 50% 0, #4a9dd827, transparent 65%), #0f2032;
}
.pvp-shield-glyph {
  display: block;
  font-size: 35px;
  color: #97cce9;
  filter: drop-shadow(0 0 10px #60c9ff30);
  pointer-events: none;
}
.pvp-shield-grid h3 {
  font-size: 15px;
}
.pvp-shield-grid p {
  font-size: 11px;
  color: #93aec1;
}
.pvp-shield-grid article > div {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pvp-shield-grid .pvp-button {
  flex: 1;
}
.pvp-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 50px 24px;
  border: 1px solid #baab7259;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 25%, #47799f66, transparent 65%),
    linear-gradient(160deg, #102b45, #081424);
  box-shadow: inset 0 0 80px #02081177;
}
.pvp-intro-crown {
  font-size: 62px;
  color: #dbc38b;
  text-shadow: 0 0 25px #92cffe44;
  margin-bottom: 16px;
}
.pvp-intro h1 {
  font-size: clamp(28px, 4vw, 43px);
}
.pvp-intro em {
  font-style: normal;
  color: #e1c892;
}
.pvp-intro > p:not(.eyebrow) {
  font-size: 13px;
  color: #9bb7ca;
}
.pvp-intro > small {
  max-width: 500px;
  font-size: 11px;
  color: #829aaf;
  margin-top: 20px;
  line-height: 1.8;
}
.pvp-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 18px 0 25px;
  font-size: 11px;
  color: #d6c799;
}
.pvp-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.pvp-atmosphere > i {
  position: absolute;
  width: 3px;
  height: 3px;
  left: 13%;
  top: 70%;
  border-radius: 50%;
  background: #b4d8ec;
  box-shadow: 0 0 7px #73bfff;
  opacity: 0.2;
  animation: pvp-ambient 8s ease-in-out infinite;
  pointer-events: none;
}
.pvp-atmosphere > i:nth-child(2) {
  left: 78%;
  top: 75%;
  animation-delay: -3s;
}
.pvp-atmosphere > i:nth-child(3) {
  left: 42%;
  top: 50%;
  animation-delay: -5s;
}
.pvp-atmosphere > i:nth-child(4) {
  left: 89%;
  top: 30%;
  animation-delay: -1s;
}
.pvp-atmosphere > i:nth-child(5) {
  left: 24%;
  top: 25%;
  animation-delay: -6s;
}
.pvp-effect {
  position: absolute;
  pointer-events: none !important;
  z-index: 12;
  user-select: none;
}
.pvp-floating {
  top: 22%;
  left: 8%;
  right: 8%;
  text-align: center;
  font-weight: 900;
  font-size: clamp(20px, 3vw, 30px);
  color: #ffe4c9;
  text-shadow:
    0 2px 2px #061223,
    0 0 9px #0a182b;
  white-space: nowrap;
  animation: pvp-float 0.85s ease-out both;
}
.pvp-floating.is-critical {
  font-size: clamp(21px, 3.5vw, 35px);
  color: #ffe490;
  line-height: 1.3;
  white-space: normal;
  text-shadow:
    0 0 12px #ffc56655,
    0 2px #041023;
}
.pvp-floating.is-heal {
  color: #95efb2;
}
.pvp-hammer-swing {
  top: -10px;
  left: 20%;
  width: 60%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: 80% 80%;
  animation: pvp-hammer 0.65s ease-in both;
}
.pvp-hammer-swing img,
.pvp-hammer-swing svg {
  width: 95px;
  height: 95px;
  filter: drop-shadow(0 0 12px #b5eaff66);
}
.pvp-slash {
  inset: 20% 7% 23%;
  background: linear-gradient(
    130deg,
    transparent 37%,
    #9adcff99 43%,
    #e4eddfcc 46%,
    #efd49399 49%,
    transparent 55%
  );
  clip-path: polygon(0 20%, 100% 0, 82% 100%, 5% 82%);
  animation: pvp-slash 0.38s ease-out both;
}
.pvp-slash.is-critical {
  background: linear-gradient(
    130deg,
    transparent 32%,
    #49a5ffb3 41%,
    #ffe8afc9 46%,
    #dec07a9c 54%,
    transparent 61%
  );
}
.pvp-impact-flash {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse, #69c5ff38, transparent 70%);
  animation: pvp-flash 0.35s ease-out both;
}
.pvp-impact-flash.is-heavy {
  background: radial-gradient(
    ellipse,
    #ffd58f2e,
    #3884bf1a 35%,
    transparent 73%
  );
}
.pvp-spark {
  width: 4px;
  height: 4px;
  border-radius: 1px;
  left: 50%;
  top: 45%;
  background: #eed19a;
  box-shadow: 0 0 6px #8ddaff;
  animation: pvp-spark 0.54s ease-out both;
}
.pvp-destruction-dust {
  inset: 25% 10% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #b4a78652, transparent 68%);
  animation: pvp-dust 0.58s ease-out both;
}
.pvp-destroy-label {
  top: 33%;
  left: 2%;
  right: 2%;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #ffe4a5;
  text-shadow:
    0 2px #0a1725,
    0 0 14px #f2c06644;
  animation: pvp-float 0.7s ease-out both;
}
.pvp-action-status {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 12px;
  background: #172e43e8;
  border: 1px solid #c8b16a55;
  border-radius: 6px;
  color: #d5c693;
  font-size: 10px;
  pointer-events: none;
  z-index: 15;
}
@keyframes pvp-target-pulse {
  50% {
    opacity: 0.48;
    box-shadow: 0 0 20px #76bdf72e;
  }
}
@keyframes pvp-ambient {
  50% {
    transform: translate(12px, -40px);
    opacity: 0.45;
  }
  100% {
    transform: translate(-5px, -70px);
    opacity: 0;
  }
}
@keyframes pvp-smoke-drift {
  50% {
    transform: translateY(-10px) scale(1.12);
    opacity: 0.38;
  }
}
@keyframes pvp-low-hp {
  50% {
    opacity: 0.65;
  }
}
@keyframes pvp-float {
  0% {
    transform: translate(var(--drift, 0), 7px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--drift, 0), -40px);
    opacity: 0;
  }
}
@keyframes pvp-hammer {
  0% {
    transform: translate(-15px, -28px) rotate(-50deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  35% {
    transform: translate(8px, 8px) rotate(30deg);
  }
  65% {
    opacity: 0.9;
  }
  100% {
    transform: translate(10px, 12px) rotate(35deg);
    opacity: 0;
  }
}
@keyframes pvp-slash {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}
@keyframes pvp-flash {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
  }
}
@keyframes pvp-spark {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--spark-x), var(--spark-y)) scale(0.2);
  }
}
@keyframes pvp-dust {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.5) translateY(8px);
  }
}
@media (max-width: 1000px) {
  .pvp-city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .pvp-city-grid > .pvp-building:nth-child(4) {
    grid-column: 1;
  }
  .pvp-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pvp-target-zone {
    height: 190px;
  }
  .pvp-target-art .building-art {
    max-width: 190px;
    max-height: 190px;
  }
}
@media (max-width: 560px) {
  .pvp-header {
    align-items: flex-start;
    gap: 10px;
  }
  .pvp-header h1 {
    font-size: 26px;
  }
  .pvp-header > div > p:last-child {
    font-size: 11px;
  }
  .pvp-header > .pvp-button {
    font-size: 10px;
    padding: 10px 8px;
  }
  .pvp-overview {
    padding: 15px;
    gap: 12px;
  }
  .pvp-overview > div:first-child {
    gap: 8px;
  }
  .pvp-overview .avatar-art {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .pvp-overview h2 {
    font-size: 14px;
  }
  .pvp-overview > b {
    font-size: 13px;
    padding: 8px;
    gap: 3px;
  }
  .pvp-overview > b img {
    width: 25px;
    height: 25px;
  }
  .pvp-overview .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .pvp-ready,
  .pvp-dead,
  .pvp-protected,
  .pvp-engaged {
    font-size: 9px;
    padding: 5px 6px;
  }
  .pvp-player-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pvp-player {
    display: grid;
    grid-template-columns: 34% 66%;
  }
  .pvp-opponent-portrait {
    height: auto;
    min-height: 200px;
    border-bottom: 0;
    border-right: 1px solid #a9c3d514;
  }
  .pvp-opponent-portrait .traveler-sprite {
    width: 120px;
    height: 170px;
  }
  .pvp-opponent-emblem {
    font-size: 18px;
    right: 9px;
    top: 9px;
  }
  .pvp-opponent-info {
    padding: 18px 12px;
    text-align: left;
  }
  .pvp-opponent-info h3 {
    font-size: 17px;
  }
  .pvp-opponent-info > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  .pvp-section-title {
    align-items: flex-start;
    gap: 12px;
  }
  .pvp-section-title > span {
    font-size: 10px;
    max-width: 115px;
    text-align: right;
  }
  .pvp-section-title h2 {
    font-size: 21px;
  }
  .pvp-section-title .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  .pvp-scout-banner,
  .pvp-raid-head {
    padding: 16px;
    gap: 12px;
    align-items: flex-start;
  }
  .pvp-raid-head h2 {
    font-size: 18px;
  }
  .pvp-raid-head > div:last-child p {
    font-size: 10px;
  }
  .pvp-raid-head > div:last-child {
    min-width: 100px;
  }
  .pvp-raid-head > .eyebrow {
    font-size: 8px;
  }
  .pvp-city-scene {
    padding: 19px 9px 15px;
    border-radius: 15px;
  }
  .pvp-scene-caption {
    padding-bottom: 20px;
  }
  .pvp-scene-caption > span {
    font-size: 9px;
    letter-spacing: 3px;
  }
  .pvp-scene-caption > small {
    font-size: 9px;
    line-height: 1.7;
  }
  .pvp-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 6px;
  }
  .pvp-city-grid > .pvp-building:nth-child(4) {
    grid-column: auto;
  }
  .pvp-city-grid > .pvp-building:first-child {
    grid-column: 1/-1;
    width: 52%;
    justify-self: center;
  }
  .pvp-target-zone {
    height: 152px;
  }
  .pvp-target-art .building-art {
    max-height: 152px;
    max-width: 150px;
  }
  .pvp-building-info {
    padding: 6px 7px 10px;
  }
  .pvp-building-info h3 {
    font-size: 12px;
  }
  .pvp-building .pvp-health strong {
    font-size: 9px;
  }
  .pvp-status {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .pvp-lord {
    padding: 24px 15px;
  }
  .pvp-lord h2 {
    font-size: 23px;
  }
  .pvp-lord-action > .pvp-button {
    font-size: 12px;
    width: 100%;
  }
  .pvp-arena {
    padding: 22px 10px;
    border-radius: 17px;
  }
  .pvp-arena-title h2 {
    font-size: 22px;
  }
  .pvp-duel-columns {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 2px;
    align-items: start;
  }
  .pvp-fighter {
    padding: 12px 4px 9px;
  }
  .pvp-fighter-role {
    font-size: 7px;
    letter-spacing: 0.5px;
    min-height: 22px;
    line-height: 1.6;
  }
  .pvp-fighter h3 {
    font-size: 14px;
    min-height: 39px;
    line-height: 1.6;
  }
  .pvp-fighter h3 small {
    display: block;
    font-size: 9px;
  }
  .pvp-fighter .pvp-health strong {
    font-size: 9px;
  }
  .pvp-fighter .pvp-health-track {
    height: 9px;
  }
  .pvp-fighter-stage {
    height: 165px;
    margin: 12px 0 8px;
  }
  .pvp-fighter-stage .traveler-sprite {
    height: 165px;
    width: 165px;
  }
  .pvp-fighter-rune {
    left: 4%;
    right: 4%;
    height: 25px;
    bottom: 4px;
  }
  .pvp-mini-stats {
    gap: 3px;
    flex-direction: column;
    align-items: center;
    font-size: 8px;
  }
  .pvp-mini-stats > span {
    width: 90%;
    padding: 4px;
  }
  .pvp-mini-stats b {
    font-size: 9px;
  }
  .pvp-versus {
    font-size: 18px;
    align-self: center;
    letter-spacing: -1px;
  }
  .pvp-floating {
    font-size: 20px;
    left: 0;
    right: 0;
    top: 36%;
  }
  .pvp-floating.is-critical {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .pvp-battle-log {
    font-size: 10px;
    line-height: 1.7;
  }
  .pvp-result-title {
    font-size: 31px;
    letter-spacing: 5px;
  }
  .pvp-battle-result > p:not(.pvp-result-title) {
    font-size: 11px;
  }
  .pvp-shield-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .pvp-shield-grid article {
    padding: 15px 10px;
  }
  .pvp-shield-grid .pvp-button {
    font-size: 11px;
    padding: 9px 5px;
  }
  .pvp-intro {
    padding: 34px 18px;
  }
  .pvp-flow {
    font-size: 10px;
    gap: 9px;
  }
  .pvp-world .eyebrow {
    overflow-wrap: anywhere;
  }
  body:has(.pvp-world) #navigation {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  body:has(.pvp-world) .nav-link {
    min-width: 0;
    padding-inline: 1px;
  }
  body:has(.pvp-world) .nav-link span {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pvp-atmosphere > i,
  .pvp-target-reticle,
  .pvp-smoke,
  .pvp-health.is-low [data-pvp-hp-fill] {
    animation: none !important;
  }
  .pvp-floating,
  .pvp-destroy-label {
    animation: pvp-flash 0.45s ease-out both !important;
    transform: none !important;
  }
  .pvp-hammer-swing {
    animation: pvp-flash 0.4s ease-out both !important;
    transform: none !important;
  }
  .pvp-gate-art > i,
  .pvp-lord-action {
    transition-duration: 0.12s !important;
  }
  .pvp-world .pvp-button:hover,
  .pvp-active .pvp-target-art:hover .building-art {
    transform: none;
  }
  .pvp-health-track > i {
    transition-duration: 0.12s !important;
  }
  .pvp-spark,
  .pvp-destruction-dust {
    display: none !important;
  }
}
body.reduced .pvp-world .pvp-atmosphere > i,
body.reduced .pvp-world .pvp-smoke,
body.reduced .pvp-world .pvp-target-reticle,
body.reduced .pvp-world .pvp-health.is-low [data-pvp-hp-fill] {
  animation: none !important;
}
body.reduced .pvp-world .pvp-floating,
body.reduced .pvp-world .pvp-destroy-label,
body.reduced .pvp-world .pvp-hammer-swing {
  animation: pvp-flash 0.45s ease-out both !important;
  transform: none !important;
}
body.reduced .pvp-world .pvp-spark,
body.reduced .pvp-world .pvp-destruction-dust {
  display: none !important;
}

.pvp-avatar-frame {
  display: block;
  overflow: hidden;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 1px solid #c8ac6766;
  border-radius: 50%;
  background: #132c42;
}
.pvp-overview .pvp-avatar-frame .avatar-art,
.pvp-scout-banner .pvp-avatar-frame .avatar-art {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  flex: none;
}
.pvp-scout-banner .pvp-avatar-frame {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
}
@media (max-width: 560px) {
  .pvp-overview .pvp-avatar-frame {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}
.pvp-building-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 7px;
}
.pvp-building-action > small {
  font-size: 9px;
  color: #789daf;
}
.pvp-breach-seal {
  color: #d9c58d;
  font-size: 12px;
}
.pvp-battle-result > .pvp-button {
  margin-top: 18px;
}

.pvp-floating {
  white-space: normal;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.pvp-shield-glyph .item-art {
  width: 42px;
  height: 42px;
}
.pvp-protected i .item-art {
  width: 18px;
  height: 18px;
}
.pvp-opponent-emblem .item-art {
  width: 30px;
  height: 30px;
}
.pvp-protected i,
.pvp-opponent-emblem .item-art,
.pvp-shield-glyph .item-art {
  pointer-events: none;
}

.pvp-wait-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #ddc28944;
  border-top-color: #ecd89d;
  border-radius: 50%;
  animation: pvp-wait-turn 1.4s linear infinite;
  pointer-events: none;
}
@keyframes pvp-wait-turn {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pvp-wait-spinner {
    animation: none;
  }
}
body.reduced .pvp-wait-spinner {
  animation: none;
}

/* Equipped-weapon sigils reuse the Character aura; effects stay behind art and inside its stage. */
.pvp-opponent-portrait{isolation:isolate}
.pvp-opponent-portrait>.weapon-aura{inset:auto;width:164px;height:164px;top:4px;left:50%;transform:translateX(-50%)}
.pvp-fighter-stage .pvp-target-art{position:relative;isolation:isolate}
.pvp-fighter-stage .weapon-aura{inset:auto;left:50%;top:1%;width:min(92%,260px);height:92%;transform:translateX(-50%)}
.pvp-fighter-stage .traveler-sprite{position:relative;z-index:1}
.pvp-world .weapon-aura svg{stroke-width:1.2}
.pvp-world .weapon-aura-tier-1{color:#8edbff;filter:drop-shadow(0 0 5px #43adf688)}
.pvp-world .weapon-aura-tier-2{color:#9de6ff;filter:drop-shadow(0 0 7px #46b8ff99)}
.pvp-world .weapon-aura-tier-3{color:#689dff;filter:drop-shadow(0 0 9px #5385ffa0)}
.pvp-world .weapon-aura-tier-3 .aura-ring-crown{stroke-width:1.6;color:#f7d994}
@media(max-width:600px){
 .pvp-opponent-portrait>.weapon-aura{width:148px;height:148px;top:2px}
 .pvp-fighter-stage .weapon-aura{width:min(100%,160px);height:94%}
}
body.reduced .pvp-world .weapon-aura{opacity:.82}
@media(prefers-reduced-motion:reduce){.pvp-world .weapon-aura{opacity:.82}}
