/* Sustained chain atmosphere v290. Native card zones remain above every backplate. */
.v289-chain-ambience,
.v289-field-ambience {
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  color: #eed6a2;
  box-sizing: border-box;
  contain: layout style;
}
.v289-chain-ambience *,
.v289-field-ambience * { box-sizing: border-box; pointer-events: none !important; }
.v289-chain-ambience {
  position: absolute;
  inset: 0;
  z-index: 39;
  border: 2px solid transparent;
}
.v289-chain-ambience.v289-ambience-viewport { position: fixed; }
.v289-field-ambience {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.v289-chain-ambience svg,
.v289-field-ambience svg { display: block; width: 100%; height: 100%; overflow: visible; }
[data-v289-chain-ambience="revolution"] {
  --v290-hot: #f0c572;
  --v290-rgb: 205, 41, 49;
}
[data-v289-chain-ambience="bomb"] {
  --v290-hot: #ffdc95;
  --v290-rgb: 242, 125, 34;
}
[data-v289-chain-ambience="revolution"] .v289-chain-ambience {
  border-color: #b3393c9c;
  box-shadow: inset 0 0 40px #b91f3038, inset 0 0 145px #9f142c36;
  background: linear-gradient(90deg, #81162851, transparent 17%, transparent 83%, #81162851);
}
[data-v289-chain-ambience="bomb"] .v289-chain-ambience {
  border-color: #a77842a3;
  box-shadow: inset 0 0 55px #e2732940, inset 0 0 160px #a94b2033;
  background: linear-gradient(90deg, #9a4c2240, transparent 16%, transparent 84%, #9a4c2240);
}
.v290-war-haze,
.v290-war-banners,
.v290-ambient-embers,
.v290-burning-perimeter { position: absolute; inset: 0; }
.v290-war-haze { overflow: hidden; }
.v290-war-haze i {
  position: absolute;
  top: 17%; left: -9%;
  width: 31%; height: 63%;
  border-radius: 45%;
  background: radial-gradient(ellipse, rgba(var(--v290-rgb), .25), rgba(var(--v290-rgb), .08) 42%, transparent 72%);
  filter: blur(17px);
  animation: v290-battle-haze var(--v290-cycle, 8000ms) ease-in-out infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-war-haze i:nth-child(2) { left: auto; right: -9%; top: 26%; animation-direction: reverse; }
.v290-war-haze i:nth-child(3) { top: auto; bottom: -24%; left: 22%; width: 56%; height: 45%; opacity: .65; }
[data-v289-chain-ambience="bomb"] .v290-war-haze i {
  background: radial-gradient(ellipse at 40% 66%, #c284433b, transparent 62%),
    radial-gradient(ellipse at 60% 32%, #77716845, #38352f22 46%, transparent 71%);
  filter: blur(13px);
}
.v290-war-banners i {
  position: absolute;
  top: 13%; left: -2%;
  width: clamp(85px, 11vw, 172px); height: 62%;
  clip-path: polygon(0 0, 100% 5%, 87% 81%, 53% 100%, 17% 83%);
  transform-origin: 10% 0;
  background: linear-gradient(96deg, #290b13 1%, #9b263d 19%, #4d111e 38%, #aa3544 61%, #3e0c18 86%);
  border-left: 4px solid #d4ae64;
  box-shadow: inset 0 0 22px #08040980;
  opacity: .73;
  animation: v290-banner-war var(--v290-cycle, 8000ms) ease-in-out infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-war-banners i::before {
  content: "";
  position: absolute; inset: 17px 12px 15%;
  border: 1px solid #d4ae6499;
  background: linear-gradient(45deg, transparent 47%, #c9a35d45 49%, #c9a35d45 51%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, #c9a35d45 49%, #c9a35d45 51%, transparent 53%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.v290-war-banners i:nth-child(2) { left: auto; right: -2%; transform-origin: 90% 0; animation-direction: reverse; }
.v290-perimeter-duel {
  position: absolute;
  top: 17%;
  width: clamp(235px, 27vw, 415px);
  height: min(64vh, 560px);
  opacity: .88;
}
.v290-perimeter-duel-left { left: -5%; transform: rotate(-8deg); }
.v290-perimeter-duel-right { right: -5%; transform: scaleX(-1) rotate(-8deg); }
.v290-duel {
  position: absolute; left: 50%; top: 50%;
  width: 100%; height: auto; aspect-ratio: 1.1;
  transform: translate(-50%, -50%);
}
.v290-steel-sword {
  position: absolute;
  top: -2%;
  width: auto; height: 104%; aspect-ratio: 100 / 480;
  transform-origin: 50% 91%;
  filter: drop-shadow(0 0 2px #13080d) drop-shadow(0 1px 6px #e4b67e55);
  animation-duration: var(--v290-cycle, 8000ms);
  animation-timing-function: cubic-bezier(.4, .02, .29, 1);
  animation-iteration-count: infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
  will-change: transform;
}
.v290-steel-sword-left { left: -1%; animation-name: v290-left-combat; }
.v290-steel-sword-right { right: -1%; animation-name: v290-right-combat; }
.v290-blade-dark { fill: var(--v290-steel-dark, #59676f); stroke: #becbc8; stroke-width: 1.2; }
.v290-blade-bright { fill: var(--v290-steel-bevel, #dae2d5); }
.v290-blade-edge { fill: none; stroke: #fff3d5; stroke-width: 1.4; opacity: .8; }
.v290-blade-etch { fill: none; stroke: #36505c; stroke-width: .75; opacity: .5; }
.v290-sword-guard { fill: var(--v290-sword-gold, #c19a50); stroke: #d4b270; stroke-width: 1.4; }
.v290-guard-engraving { fill: none; stroke: #f9df9b; stroke-width: .9; opacity: .68; }
.v290-sword-grip { fill: #361421; stroke: #ac7945; stroke-width: 1.4; }
.v290-grip-wrap { fill: none; stroke: #b68d58; stroke-width: 3; }
.v290-sword-pommel { fill: var(--v290-sword-gold, #ae8b49); stroke: #d3b374; stroke-width: 1.4; }
.v290-sword-gem { fill: #a72e46; stroke: #edbd71; stroke-width: 1; }
.v290-steel-sword-right .v290-sword-grip { fill: #18252c; }
.v290-steel-sword-right .v290-sword-gem { fill: #3b6571; }
.v290-cut-trail {
  position: absolute;
  left: -10%; top: 24%;
  width: 120% !important; height: 75% !important;
  fill: none;
  opacity: 0;
  transform: rotate(-7deg);
  animation: v290-cut-stroke var(--v290-cycle, 8000ms) linear infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-trail-red { stroke: #e9414a; stroke-width: 15; opacity: .37; }
.v290-trail-gold { stroke: #ffe6a1; stroke-width: 2.5; opacity: .92; }
.v290-parry-glint {
  position: absolute;
  left: 49.44%; top: 54.19%;
  width: 20px; height: 20px;
  margin: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d6 0 8%, #ffdd80 18%, #d9621e66 45%, transparent 72%);
  box-shadow: 0 0 20px #ffb23d66;
  opacity: 0;
  animation: v290-parry-contact var(--v290-cycle, 8000ms) linear infinite,
    v290-contact-position var(--v290-cycle, 8000ms) linear infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-parry-glint::before,
.v290-parry-glint::after {
  content: "";
  position: absolute;
  left: 49%; top: -90%; width: 1px; height: 280%;
  background: linear-gradient(transparent, #fff5c3, transparent);
  transform: rotate(47deg);
}
.v290-parry-glint::after { transform: rotate(-47deg); }
.v290-parry-sparks {
  position: absolute; left: 49.44%; top: 54.19%; width: 1px; height: 1px;
  animation: v290-contact-position var(--v290-cycle, 8000ms) linear infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-parry-sparks i {
  position: absolute; left: 0; top: 0;
  width: 2px; height: 12px;
  background: linear-gradient(#fff1bb, #ffb449 60%, transparent);
  box-shadow: 0 0 5px #f79d38;
  border-radius: 50%;
  opacity: 0;
  animation: v290-parry-shower var(--v290-cycle, 8000ms) linear infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-field-haze { position: absolute; inset: 0; }
[data-v289-chain-ambience="revolution"] .v290-field-haze {
  background: radial-gradient(ellipse at 50% 68%, #98263924, transparent 64%),
    linear-gradient(90deg, #9b233448, transparent 27%, transparent 73%, #9b233448);
}
.v290-field-standard {
  position: absolute; top: 0; bottom: 0; left: 6%; width: 15%;
  background: linear-gradient(90deg, #9e32443b, #65192b66 49%, #bc53633d);
  border-inline: 1px solid #c79a5766;
  clip-path: polygon(0 0, 100% 0, 100% 77%, 50% 100%, 0 77%);
  animation: v290-field-standard var(--v290-cycle, 8000ms) ease-in-out infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-field-fight {
  position: absolute;
  width: min(64%, 480px); height: 340px;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  opacity: .69;
}
.v290-field-fight .v290-parry-sparks i { height: 9px; }
.v290-field-fuse { position: absolute; inset: 2px; border-radius: inherit; }
[data-v289-chain-ambience="revolution"] .v290-field-fuse {
  border: 1px solid #b54d4c9c;
  box-shadow: inset 0 0 18px #a92b3833;
}
.v290-field-pressure {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(260px, 31vw, 370px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .79;
}
.v290-pressure-device { position: absolute; inset: 0; }
.v290-pressure-backlight {
  position: absolute; inset: -17%; border-radius: 50%;
  background: radial-gradient(circle, #ffb94526 0 20%, #e378253b 40%, #b7602420 57%, transparent 72%);
  animation: v290-pressure-breathe 1500ms ease-out infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-housing-metal { fill: var(--v290-gauge-metal, #151b1dc9); stroke: #b89b6d; stroke-width: 2.2; }
.v290-housing-ring { fill: none; stroke: var(--v290-gauge-copper, #645a45); stroke-width: 12; }
.v290-pressure-screws { fill: #e1c18a; stroke: #291b15; stroke-width: 1.5; }
.v290-housing-dial { fill: var(--v290-gauge-dial, #101719b3); stroke: #d1a763; stroke-width: 1.4; }
.v290-pressure-ticks { fill: none; stroke: #d8b676; stroke-width: 2.1; }
.v290-dial-inner { fill: #0c141666; stroke: #81623f; stroke-width: 1; }
.v290-gauge-glass { fill: var(--v290-gauge-glass, #eee9cf22); }
.v290-gauge-glass-edge { fill: none; stroke: #e8e2b7; stroke-width: .8; opacity: .3; }
.v290-danger-sector { fill: none; stroke: #ef6831; stroke-width: 8; opacity: .9; }
.v290-device-brace { fill: none; stroke: #c5a56e; stroke-width: 5; }
.v290-pressure-scan {
  position: absolute; inset: 10%; border-radius: 50%;
  background: conic-gradient(from -90deg, transparent 75%, #ffbe5c17 89%, #ffe0a044 99%, transparent);
  animation: v290-pressure-tick var(--v290-cycle, 12000ms) steps(16, end) infinite;
  animation-delay: calc(var(--v290-phase-delay, 0ms) - 550ms);
}
.v290-pressure-needle {
  position: absolute; inset: 0;
  animation: v290-pressure-charge var(--v290-cycle, 12000ms) cubic-bezier(.33, .05, .8, .97) infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-pressure-needle i {
  position: absolute; left: 49.2%; top: 18%; width: 1.6%; height: 38%;
  background: linear-gradient(#fff0b4 0 68%, #a95f34 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 4px #f4ac48);
}
.v290-pressure-hub {
  position: absolute; top: 47%; left: 47%; width: 6%; height: 6%;
  border: 2px solid #eac180; border-radius: 50%; background: #3e2c20;
  box-shadow: 0 0 9px #cb8b3540;
}
.v290-pressure-inscription {
  position: absolute; left: 0; right: 0; top: 62%;
  text-align: center; color: #eac789;
  font: 600 clamp(8px, .8vw, 11px)/1.55 Georgia, serif;
  letter-spacing: .22em;
}
.v290-pressure-inscription span { color: #e98b48; font-size: .74em; letter-spacing: .18em; }
.v290-heartbeat-light {
  position: absolute; width: 9px; height: 9px; left: calc(50% - 4px); top: 29%;
  border: 1px solid #e8a44f; border-radius: 50%;
  background: #c9672c; box-shadow: 0 0 6px #e9943a;
  animation: v290-heartbeat 1500ms linear infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
[data-v289-chain-ambience="bomb"] .v290-field-haze {
  background: radial-gradient(ellipse at 50% 50%, #a654202c, transparent 66%),
    linear-gradient(90deg, #bf752f4d, transparent 32%, transparent 68%, #bf752f4d);
  animation: v290-field-pressure var(--v290-cycle, 12000ms) ease-in-out infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
[data-v289-chain-ambience="bomb"] .v290-field-fuse {
  border: 2px solid #c38b4c;
  box-shadow: inset 0 0 19px #e98c3738, 0 0 3px #ffb96180;
  animation: v290-fuse-heartbeat 1500ms linear infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-burning-perimeter { width: 100%; height: 100%; }
.v290-fuse-bed { fill: none; stroke: #d8934566; stroke-width: 1.5; stroke-dasharray: 2 7; }
.v290-fuse-fire {
  fill: none; stroke: #ffcf77; stroke-width: 2.5;
  stroke-dasharray: 145 855; stroke-linecap: round;
  filter: drop-shadow(0 0 4px #ffb04d);
  animation: v290-burning-fuse var(--v290-cycle, 12000ms) linear infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-fuse-head-halo,
.v290-fuse-head-core {
  fill: none; stroke-linecap: round;
  animation: v290-burning-head var(--v290-cycle, 12000ms) linear infinite;
  animation-delay: var(--v290-phase-delay, 0ms);
}
.v290-fuse-head-halo {
  stroke: #ef862e; stroke-width: 6; stroke-dasharray: 5 995;
  filter: drop-shadow(0 0 4px #ff9d26);
}
.v290-fuse-head-core {
  stroke: #fff4cf; stroke-width: 2.8; stroke-dasharray: 3 997;
  filter: drop-shadow(0 0 2px #ffd37d);
}
.v290-ambient-embers i {
  position: absolute; left: var(--v290-x); top: 86%;
  width: 3px; height: 7px; border-radius: 50%;
  background: #ffd190; box-shadow: 0 0 7px #f19e52;
  opacity: 0;
  animation: v290-rising-embers var(--v290-cycle, 8000ms) linear infinite;
  animation-delay: calc(var(--v290-phase-delay, 0ms) + var(--v290-ember-delay, 0s));
}
.v290-battle-margin {
  position: absolute; left: 24px; bottom: 30px;
  display: flex; flex-direction: column; gap: 5px;
  color: #e9c78f; text-shadow: 0 2px 7px #000;
  font-family: Georgia, "Times New Roman", serif;
}
.v290-battle-margin b { font-size: 13px; font-weight: 600; letter-spacing: .29em; }
.v290-battle-margin span { font-size: 7px; letter-spacing: .25em; color: #bc9c7a; }
[data-v289-chain-ambience="revolution"] .v290-only-bomb,
[data-v289-chain-ambience="revolution"] .v290-field-pressure,
[data-v289-chain-ambience="revolution"] .v290-burning-perimeter,
[data-v289-chain-ambience="bomb"] .v290-only-revolution,
[data-v289-chain-ambience="bomb"] .v290-war-banners,
[data-v289-chain-ambience="bomb"] .v290-perimeter-duel,
[data-v289-chain-ambience="bomb"] .v290-field-fight,
[data-v289-chain-ambience="bomb"] .v290-field-standard { display: none; }
.v289-ambience-paused *,
.v289-ambience-paused *::before,
.v289-ambience-paused *::after { animation-play-state: paused !important; }

/* Six contacts match the 8-second combat soundtrack: .52 / 1.74 / 3.05 / 4.35 / 5.78 / 7.12. */
@keyframes v290-left-combat {
  0%, 100% { transform: rotate(-24deg) translateX(-4%); }
  3% { transform: rotate(-40deg) translateX(-6%); }
  6.5% { transform: rotate(48deg) translateX(6%); }
  8.5% { transform: rotate(39deg) translateX(3%); }
  13% { transform: rotate(-8deg); }
  19% { transform: rotate(-31deg) translateY(-2%); }
  21.75% { transform: rotate(56deg) translateX(5%); }
  24% { transform: rotate(43deg); }
  30% { transform: rotate(5deg) translateY(2%); }
  35.5% { transform: rotate(-45deg); }
  38.125% { transform: rotate(64deg) translateX(8%); }
  40.5% { transform: rotate(53deg) translateY(1%); }
  47% { transform: rotate(-13deg); }
  51.5% { transform: rotate(-36deg) translateX(-4%); }
  54.375% { transform: rotate(49deg) translateX(5%); }
  56.8% { transform: rotate(38deg); }
  63% { transform: rotate(2deg) translateY(-2%); }
  69% { transform: rotate(-40deg); }
  72.25% { transform: rotate(58deg) translateX(6%); }
  74.8% { transform: rotate(45deg); }
  81% { transform: rotate(-3deg) translateY(2%); }
  86% { transform: rotate(-46deg); }
  89% { transform: rotate(66deg) translateX(8%); }
  91.5% { transform: rotate(51deg); }
}
@keyframes v290-right-combat {
  0%, 100% { transform: rotate(31deg) translateY(1%); }
  3% { transform: rotate(22deg) translateX(4%); }
  6.5% { transform: rotate(-49deg) translateX(-5%); }
  8.5% { transform: rotate(-35deg); }
  13% { transform: rotate(17deg) translateY(-2%); }
  19% { transform: rotate(49deg); }
  21.75% { transform: rotate(-48deg) translateX(-5%); }
  24% { transform: rotate(-39deg); }
  30% { transform: rotate(24deg) translateX(-3%); }
  35.5% { transform: rotate(39deg) translateY(-2%); }
  38.125% { transform: rotate(-61deg) translateX(-8%); }
  40.5% { transform: rotate(-46deg); }
  47% { transform: rotate(18deg); }
  51.5% { transform: rotate(44deg); }
  54.375% { transform: rotate(-53deg) translateX(-5%); }
  56.8% { transform: rotate(-37deg); }
  63% { transform: rotate(10deg) translateY(2%); }
  69% { transform: rotate(52deg); }
  72.25% { transform: rotate(-55deg) translateX(-6%); }
  74.8% { transform: rotate(-42deg); }
  81% { transform: rotate(21deg); }
  86% { transform: rotate(35deg) translateY(-2%); }
  89% { transform: rotate(-64deg) translateX(-8%); }
  91.5% { transform: rotate(-49deg); }
}
@keyframes v290-parry-contact {
  0%, 5.8%, 10%, 21%, 25%, 37.5%, 42%, 53.7%, 58%, 71.6%, 76%, 88.3%, 93%, 100% { opacity: 0; transform: scale(.4); }
  6.5%, 21.75%, 38.125%, 54.375%, 72.25%, 89% { opacity: 1; transform: scale(1.9); }
  7%, 22.3%, 38.7%, 55%, 72.8%, 89.7% { opacity: .65; transform: scale(1); }
}
/* Coordinates are intersections of the two rendered steel centerlines at each contact.
   A fixed 1.1 duel ratio and native 100:480 sword ratio keep all fields registered. */
@keyframes v290-contact-position {
  0%, 6.5%, 10.8%, 100% { left: 49.44%; top: 54.19%; }
  21.75%, 26% { left: 55.82%; top: 59.1%; }
  38.125%, 42.5% { left: 52.58%; top: 71.1%; }
  54.375%, 58.7% { left: 47.11%; top: 57.49%; }
  72.25%, 76.6% { left: 52.3%; top: 64.3%; }
  89%, 93.4% { left: 51.84%; top: 73.48%; }
}
@keyframes v290-parry-shower {
  0%, 6.3%, 21.55%, 37.925%, 54.175%, 72.05%, 88.8%, 100% { opacity: 0; transform: translate(0, 0) rotate(var(--v290-turn)) scaleY(.2); }
  6.5%, 21.75%, 38.125%, 54.375%, 72.25%, 89% { opacity: 1; transform: translate(0, 0) rotate(var(--v290-turn)) scaleY(1); }
  10.8%, 26%, 42.5%, 58.7%, 76.6%, 93.4% { opacity: 0; transform: translate(var(--v290-dx), var(--v290-dy)) rotate(var(--v290-turn)) scaleY(.2); }
}
@keyframes v290-cut-stroke {
  0%, 5.5%, 11%, 20.75%, 26.2%, 37.1%, 42.6%, 53.4%, 58.9%, 71.25%, 76.8%, 88%, 94%, 100% { opacity: 0; stroke-dasharray: 640; stroke-dashoffset: 640; }
  6.5%, 21.75%, 38.125%, 54.375%, 72.25%, 89% { opacity: .86; stroke-dasharray: 640; stroke-dashoffset: 0; }
  9%, 24.5%, 41%, 57%, 75%, 92% { opacity: 0; stroke-dasharray: 640; stroke-dashoffset: -100; }
}
@keyframes v290-banner-war {
  0%, 100% { transform: perspective(550px) rotateY(8deg) skewY(2deg) scaleX(.95); }
  26% { transform: perspective(550px) rotateY(-9deg) skewY(-3deg) scaleX(1.04); }
  52% { transform: perspective(550px) rotateY(5deg) skewY(1deg) scaleX(.96); }
  78% { transform: perspective(550px) rotateY(-5deg) skewY(-2deg) scaleX(1.02); }
}
@keyframes v290-field-standard { 0%, 100% { transform: skewX(-3deg); opacity: .68; } 50% { transform: skewX(3deg); opacity: 1; } }
@keyframes v290-battle-haze { 0%, 100% { transform: translate(-3%, 5%) scale(.95); opacity: .65; } 45% { transform: translate(8%, -7%) scale(1.17); opacity: 1; } 75% { transform: translate(1%, 2%) scale(1.05); opacity: .84; } }
@keyframes v290-pressure-charge { 0% { transform: rotate(-112deg); } 32% { transform: rotate(-38deg); } 61% { transform: rotate(48deg); } 75% { transform: rotate(111deg); } 81% { transform: rotate(116deg); } 100% { transform: rotate(-112deg); } }
@keyframes v290-pressure-tick { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes v290-field-pressure { 0%, 100% { opacity: .58; } 75% { opacity: 1; } 85% { opacity: .9; } }
/* Double pulse every 1500ms. Peaks at 80ms and 335ms align with the audio heartbeat. */
@keyframes v290-heartbeat { 0%, 13%, 36%, 100% { opacity: .48; transform: scale(.8); box-shadow: 0 0 5px var(--v291-pulse-low, #e9943a); } 5.333%, 22.333% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 15px var(--v291-pulse-high, #ffc470); } }
@keyframes v290-pressure-breathe { 0%, 13%, 36%, 100% { opacity: .66; transform: scale(.98); } 5.333% { opacity: 1; transform: scale(1.025); } 22.333% { opacity: .9; transform: scale(1.015); } }
@keyframes v290-fuse-heartbeat { 0%, 13%, 36%, 100% { border-color: var(--v291-fuse-low, #af7841); box-shadow: inset 0 0 15px var(--v291-fuse-low-inset, #d8833029), 0 0 2px var(--v291-fuse-low-glow, #ffb96166); } 5.333%, 22.333% { border-color: var(--v291-fuse-high, #e8b873); box-shadow: inset 0 0 25px var(--v291-fuse-high-inset, #e9943f4a), 0 0 5px var(--v291-fuse-high-glow, #ffc27199); } }
@keyframes v290-burning-fuse { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1000; } }
@keyframes v290-burning-head { from { stroke-dashoffset: -143; } to { stroke-dashoffset: -1143; } }
@keyframes v290-rising-embers { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 8%, 47% { opacity: .8; } 80% { opacity: .38; } 100% { opacity: 0; transform: translate(var(--v290-drift), -55vh) scale(.2); } }

/* v291: amethyst pressure, ink-violet smoke and lilac-hot fuse. Bomb colors only. */
[data-v289-chain-ambience="bomb"] {
  --v290-hot: #eed9ff;
  --v290-rgb: 145, 69, 218;
  --v291-pulse-low: #ae62ee;
  --v291-pulse-high: #e1adff;
  --v291-fuse-low: #8e55bd;
  --v291-fuse-low-inset: #8e40ce29;
  --v291-fuse-low-glow: #c78bff66;
  --v291-fuse-high: #d2a0f6;
  --v291-fuse-high-inset: #ac5ee64a;
  --v291-fuse-high-glow: #dba4ff99;
}
[data-v289-chain-ambience="bomb"] .v289-chain-ambience {
  color: #e9d7fa;
  border-color: #9b63c9a3;
  box-shadow: inset 0 0 55px #9a42dd40, inset 0 0 160px #60229c33;
  background: linear-gradient(90deg, #642e9c40, transparent 16%, transparent 84%, #642e9c40);
}
[data-v289-chain-ambience="bomb"] .v290-war-haze i {
  background: radial-gradient(ellipse at 40% 66%, #a25bda3b, transparent 62%),
    radial-gradient(ellipse at 60% 32%, #82708e45, #30233e22 46%, transparent 71%);
}
[data-v289-chain-ambience="bomb"] .v290-field-haze {
  background: radial-gradient(ellipse at 50% 50%, #7935ad2c, transparent 66%),
    linear-gradient(90deg, #8d40c24d, transparent 32%, transparent 68%, #8d40c24d);
}
[data-v289-chain-ambience="bomb"] .v290-pressure-backlight {
  background: radial-gradient(circle, #d29aff26 0 20%, #9c4ddd3b 40%, #702cad20 57%, transparent 72%);
}
[data-v289-chain-ambience="bomb"] .v290-housing-metal { stroke: #b29bc9; }
[data-v289-chain-ambience="bomb"] .v290-pressure-screws { fill: #d9c3ed; stroke: #24172e; }
[data-v289-chain-ambience="bomb"] .v290-housing-dial { stroke: #b88fd7; }
[data-v289-chain-ambience="bomb"] .v290-pressure-ticks { stroke: #cfafe8; }
[data-v289-chain-ambience="bomb"] .v290-dial-inner { fill: #130c1f66; stroke: #77518f; }
[data-v289-chain-ambience="bomb"] .v290-gauge-glass-edge { stroke: #eddcff; }
[data-v289-chain-ambience="bomb"] .v290-danger-sector { stroke: #be66f1; }
[data-v289-chain-ambience="bomb"] .v290-device-brace { stroke: #bda1d8; }
[data-v289-chain-ambience="bomb"] .v290-pressure-scan {
  background: conic-gradient(from -90deg, transparent 75%, #c38aff17 89%, #edceff44 99%, transparent);
}
[data-v289-chain-ambience="bomb"] .v290-pressure-needle i {
  background: linear-gradient(#f2deff 0 68%, #8555b0 100%);
  filter: drop-shadow(0 0 4px #c17cf0);
}
[data-v289-chain-ambience="bomb"] .v290-pressure-hub {
  border-color: #d9b3f2; background: #30203e; box-shadow: 0 0 9px #a764dc40;
}
[data-v289-chain-ambience="bomb"] .v290-pressure-inscription { color: #ddc1f1; }
[data-v289-chain-ambience="bomb"] .v290-pressure-inscription span { color: #bd7eeb; }
[data-v289-chain-ambience="bomb"] .v290-heartbeat-light {
  border-color: #d49af5; background: #9953ce; box-shadow: 0 0 6px #ae62ee;
}
[data-v289-chain-ambience="bomb"] .v290-field-fuse {
  border-color: #a06bc7; box-shadow: inset 0 0 19px #9743d438, 0 0 3px #cb90ff80;
}
[data-v289-chain-ambience="bomb"] .v290-fuse-bed { stroke: #af7cdb66; }
[data-v289-chain-ambience="bomb"] .v290-fuse-fire { stroke: #dfb3ff; filter: drop-shadow(0 0 4px #b474f1); }
[data-v289-chain-ambience="bomb"] .v290-fuse-head-halo { stroke: #b95fec; filter: drop-shadow(0 0 4px #b36aff); }
[data-v289-chain-ambience="bomb"] .v290-fuse-head-core { stroke: #faf0ff; filter: drop-shadow(0 0 2px #e8c3ff); }
[data-v289-chain-ambience="bomb"] .v290-ambient-embers i { background: #e4c0ff; box-shadow: 0 0 7px #b475ed; }
[data-v289-chain-ambience="bomb"] .v290-battle-margin { color: #dfc1f5; }
[data-v289-chain-ambience="bomb"] .v290-battle-margin span { color: #ac91bf; }
/* Presentation attributes in each native SVG retain their geometry and opacity. */
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-metal"] stop:nth-child(1) { stop-color: #b2a3c4; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-metal"] stop:nth-child(2) { stop-color: #554962; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-metal"] stop:nth-child(3) { stop-color: #281a38; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-metal"] stop:nth-child(4) { stop-color: #65516f; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-metal"] stop:nth-child(5) { stop-color: #32233e; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-metal"] stop:nth-child(6) { stop-color: #a887bb; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-copper"] stop:nth-child(1) { stop-color: #eedcfb; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-copper"] stop:nth-child(2) { stop-color: #b18ecf; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-copper"] stop:nth-child(3) { stop-color: #483055; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-copper"] stop:nth-child(4) { stop-color: #b78bd7; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-copper"] stop:nth-child(5) { stop-color: #594067; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-dial"] stop:nth-child(1) { stop-color: #30203f; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-dial"] stop:nth-child(2) { stop-color: #1d122b; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-dial"] stop:nth-child(3) { stop-color: #100b18; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-glass"] stop:nth-child(1) { stop-color: #f6e8ff; }
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-glass"] stop:nth-child(2),
[data-v289-chain-ambience="bomb"] .v290-pressure-housing [id$="-glass"] stop:nth-child(3) { stop-color: #e3d7ee; }

@media (max-width: 720px) {
  .v290-perimeter-duel { top: 19%; width: 230px; height: 420px; opacity: .78; }
  .v290-perimeter-duel-left { left: -103px; }
  .v290-perimeter-duel-right { right: -103px; }
  .v290-war-banners i { top: 13%; width: 75px; left: -16px; height: 60%; opacity: .66; }
  .v290-war-banners i:nth-child(2) { right: -16px; }
  .v290-field-fight { width: min(86%, 420px); height: 300px; opacity: .72; }
  .v290-field-pressure { width: 280px; opacity: .82; }
  .v290-field-standard { left: 3%; width: 19%; }
  .v290-battle-margin { left: 12px; bottom: 14px; gap: 3px; }
  .v290-battle-margin b { font-size: 9px; letter-spacing: .23em; }
  .v290-battle-margin span { font-size: 6px; letter-spacing: .18em; }
  .v290-war-haze i { width: 43%; }
}
@media (max-width: 400px) {
  .v290-field-fight { width: 94%; height: 270px; }
  .v290-field-pressure { width: 260px; }
  .v290-perimeter-duel { opacity: .68; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .v290-perimeter-duel { top: -15%; height: 135vh; width: 240px; }
  .v290-field-fight { height: 235px; width: 370px; }
  .v290-field-pressure { width: 240px; }
  .v290-battle-margin { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .v289-chain-ambience *, .v289-chain-ambience *::before, .v289-chain-ambience *::after,
  .v289-field-ambience *, .v289-field-ambience *::before, .v289-field-ambience *::after { animation: none !important; }
  .v290-steel-sword-left { transform: rotate(48deg) translateX(6%); }
  .v290-steel-sword-right { transform: rotate(-49deg) translateX(-5%); }
  .v290-war-banners i { transform: skewY(-2deg); }
  .v290-pressure-needle { transform: rotate(60deg); }
  .v290-pressure-scan { transform: rotate(225deg); }
  .v290-heartbeat-light { opacity: .85; }
  .v290-parry-glint, .v290-parry-sparks, .v290-cut-trail, .v290-ambient-embers { display: none; }
}
