#modalBackdrop { position: fixed; inset: 0; background: radial-gradient(circle at 50% 32%, rgba(86, 207, 255, 0.12) 0%, rgba(19, 50, 95, 0.10) 22%, rgba(0, 0, 0, 0.82) 76%); backdrop-filter: blur(12px) saturate(120%); display: none; z-index: 1000; }
#modalBackdrop.open { display: block; }
#regionModal { position: fixed; top: 50%; left: 50%; width: min(700px, calc(100vw - 28px)); max-height: calc(100vh - 24px); overflow: auto; transform: translate(-50%, -50%); background: radial-gradient(circle at top left, rgba(94, 227, 255, 0.18) 0%, rgba(94, 227, 255, 0.04) 24%, rgba(94, 227, 255, 0) 44%), linear-gradient(180deg, rgba(6, 13, 27, 0.82) 0%, rgba(8, 16, 31, 0.72) 100%); color: #ecf8ff; border-radius: 28px; border: 1px solid rgba(116, 227, 255, 0.18); box-shadow: 0 30px 84px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255,255,255,0.06), 0 0 44px rgba(67, 196, 255, 0.16); backdrop-filter: blur(22px) saturate(120%); display: none; z-index: 1001; padding: 16px; }
#regionModal::before { content:""; position:absolute; inset:1px; border:1px solid rgba(255,255,255,.045); border-radius: 27px; pointer-events:none; }
#regionModal::after { content:""; position:absolute; inset:0; border-radius: 28px; padding:1px; background: linear-gradient(135deg, rgba(131,232,255,0.0), rgba(131,232,255,0.28), rgba(111,123,255,0.22), rgba(131,232,255,0.0)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }
#regionModal.open { display: block; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.modal-region-name { margin: 0; font-size: 26px; line-height: 1.02; font-weight: 900; color: #f6fdff; letter-spacing: 0.02em; text-transform: uppercase; }
.modal-node-number { margin-top: 5px; color: rgba(164, 220, 241, 0.86); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.modal-scale { margin-top: 8px; display: inline-block; background: linear-gradient(180deg, rgba(21,35,63,.88) 0%, rgba(10,20,39,.82) 100%); color: #dffbff; border: 1px solid rgba(111, 230, 255, 0.16); border-radius: 999px; padding: 7px 12px; font-size: 11px; font-weight: 800; white-space: nowrap; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.modal-badges { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.modal-badges .modal-scale { margin-top: 0; }
.modal-scale-base { background: linear-gradient(180deg, rgba(30,56,34,.94) 0%, rgba(12,28,16,.88) 100%); border-color: rgba(145,255,172,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 18px rgba(99,255,145,0.10); }

.modal-close { border: 1px solid rgba(117, 226, 255, 0.18); background: linear-gradient(180deg, rgba(21,35,63,.88) 0%, rgba(10,20,39,.82) 100%); color: #f4fdff; width: 42px; height: 42px; border-radius: 14px; cursor: pointer; font-size: 22px; line-height: 1; flex: 0 0 auto; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); backdrop-filter:blur(12px); transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease; }
.modal-close:hover { transform:translateY(-1px); border-color: rgba(130, 232, 255, 0.36); box-shadow: 0 0 0 1px rgba(84, 213, 255, 0.08), 0 12px 24px rgba(0, 0, 0, 0.28), 0 0 22px rgba(84, 213, 255, 0.12); }
.modal-current,.modal-timeline-block { position: relative; border: 1px solid rgba(117, 226, 255, 0.12); border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.035) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.03); backdrop-filter:blur(14px) saturate(115%); }
.modal-current::before,.modal-timeline-block::before,.timeline-card::before{content:"";position:absolute;inset:1px;border-radius:inherit;border:1px solid rgba(255,255,255,.025);pointer-events:none;}
.modal-current { text-align: center; padding: 12px 12px 14px; }
.modal-current-label { font-size: 11px; color: rgba(177, 214, 228, 0.82); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.2em; }
.modal-faction-logo { width: 96px; height: 96px; object-fit: contain; display: block; margin: 0 auto 8px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.28)); }
.modal-empty-symbol { width: 96px; height: 96px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 54px; background: rgba(232, 241, 245, 0.08); color: #9dc0cf; border: 1px solid rgba(117, 226, 255, 0.1); border-radius: 22px; }
.modal-current-name { font-size: 20px; font-weight: 800; white-space: nowrap; color: #ffffff; }
.modal-timeline-block { margin-top: 12px; padding: 12px; }
.modal-timeline-title { font-size: 12px; font-weight: 800; margin-bottom: 10px; color: #effcff; letter-spacing: 0.16em; text-transform: uppercase; }
.timeline-row { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.timeline-card { --timeline-accent: rgba(117, 226, 255, 0.22); position:relative; width: 140px; min-height: 142px; border: 1px solid color-mix(in srgb, var(--timeline-accent) 44%, rgba(255,255,255,0.08)); border-radius: 20px; background: linear-gradient(180deg, color-mix(in srgb, var(--timeline-accent) 18%, rgba(255,255,255,0.08)) 0%, rgba(255,255,255,0.03) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 18px color-mix(in srgb, var(--timeline-accent) 45%, transparent); padding: 11px 9px; text-align: center; backdrop-filter:blur(14px) saturate(115%); }
.timeline-logo { width: 56px; height: 56px; object-fit: contain; display: block; margin: 0 auto 8px; }
.timeline-empty-symbol { width: 56px; height: 56px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 32px; background: rgba(232, 241, 245, 0.08); color: #9dc0cf; border: 1px solid rgba(117, 226, 255, 0.1); border-radius: 18px; }
.timeline-name { font-weight: 800; font-size: 13px; margin-bottom: 5px; white-space: nowrap; color: #f8fdff; }
.timeline-date { font-size: 11px; color: rgba(177, 214, 228, 0.82); white-space: nowrap; }
.timeline-arrow { font-size: 20px; color: rgba(132, 208, 232, 0.66); line-height: 1; align-self: center; }
.timeline-empty { color: rgba(177, 214, 228, 0.82); text-align: center; padding: 8px 0 2px; }
@media (max-width: 900px) { #regionModal { width: calc(100vw - 14px); max-width: none; max-height: calc(100vh - 14px); padding: 12px; border-radius: 24px; } #regionModal::before{border-radius:23px;} #regionModal::after{border-radius:24px;} .modal-header { gap: 10px; margin-bottom: 10px; } .modal-region-name { font-size: 20px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; } .modal-node-number { margin-top: 4px; font-size: 11px; } .modal-scale { margin-top: 7px; font-size: 10px; padding: 6px 10px; } .modal-close { width: 38px; height: 38px; font-size: 20px; } .modal-current { padding: 11px 9px 13px; } .modal-current-label { font-size: 10px; margin-bottom: 9px; } .modal-faction-logo, .modal-empty-symbol { width: 78px; height: 78px; margin-bottom: 7px; } .modal-empty-symbol { font-size: 40px; } .modal-current-name { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .modal-timeline-block { margin-top: 10px; padding: 10px; } .modal-timeline-title { font-size: 11px; margin-bottom: 9px; } .timeline-row { gap: 8px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; -webkit-overflow-scrolling: touch; } .timeline-card { width: 114px; min-width: 114px; min-height: 122px; padding: 9px 8px; flex: 0 0 auto; } .timeline-logo, .timeline-empty-symbol { width: 46px; height: 46px; margin-bottom: 7px; } .timeline-empty-symbol { font-size: 26px; } .timeline-name { font-size: 11px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .timeline-date { font-size: 10px; white-space: nowrap; } .timeline-arrow { font-size: 18px; flex: 0 0 auto; } }


.modal-influence {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ad7ff;
    text-shadow: 0 0 12px rgba(100, 190, 255, 0.22);
}


/* Freedom green modal overrides */
#modalBackdrop { background: radial-gradient(circle at 50% 32%, rgba(118,255,154,0.10) 0%, rgba(34,77,40,0.10) 24%, rgba(0, 0, 0, 0.82) 76%); }
#regionModal { background: radial-gradient(circle at top left, rgba(118,255,154,0.14) 0%, rgba(118,255,154,0.04) 24%, rgba(118,255,154,0) 44%), linear-gradient(180deg, rgba(7, 15, 9, 0.84) 0%, rgba(8, 16, 10, 0.76) 100%); color: #f4fff3; border-color: rgba(145,255,172,0.18); box-shadow: 0 30px 84px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.05), 0 0 44px rgba(99,255,145,.12); }
#regionModal::after { background: linear-gradient(135deg, rgba(131,232,255,0.0), rgba(145,255,172,0.22), rgba(172,255,131,0.18), rgba(131,232,255,0.0)); }
.modal-region-name { color: #f7fff5; }
.modal-node-number, .modal-influence { color: #c4ffd1; text-shadow: 0 0 12px rgba(120,255,160,0.18); }
.modal-scale { background: linear-gradient(180deg, rgba(21,45,25,.88) 0%, rgba(10,24,14,.82) 100%); color: #eaffea; border-color: rgba(145,255,172,0.20); }
.modal-scale-base { background: linear-gradient(180deg, rgba(26,58,31,.94) 0%, rgba(10,30,15,.88) 100%); border-color: rgba(145,255,172,0.28); color: #f2fff2; }


.modal-claim-state{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 0 0 1px rgba(120,255,160,.08), 0 0 34px rgba(120,255,160,.14);
}
.claim-pulse{animation:claimPulseLogo 1.7s ease-in-out infinite}
.modal-claim-copy{margin-top:10px;color:#d8ffe0;font-size:13px;line-height:1.5}
@keyframes claimPulseLogo{
  0%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(120,255,160,0));}
  50%{transform:scale(1.04);filter:drop-shadow(0 0 16px rgba(120,255,160,.45));}
  100%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(120,255,160,0));}
}

/* Terra Abrasada */
.modal-scorched-state{
  position:relative;
  overflow:hidden;
  padding:18px 18px 22px;
  background:linear-gradient(180deg, rgba(20,10,6,.78) 0%, rgba(10,6,4,.86) 100%);
  background-color:#120d0a;
  border-color: rgba(255,170,96,.16);
  box-shadow: inset 0 0 0 1px rgba(255,196,132,.06), 0 18px 40px rgba(0,0,0,.28);
}
.modal-scorched-cinematic-bg{
  position:absolute;
  inset:0;
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:.96;
  transform:scale(1.02);
  filter: saturate(1.02) brightness(.88) contrast(1.04);
  pointer-events:none;
  z-index:0;
}
.modal-scorched-state::before{
  content:"";
  position:absolute;
  inset:-3%;
  background:
    radial-gradient(circle at 22% 26%, rgba(255,160,74,.18) 0%, rgba(255,160,74,0) 34%),
    radial-gradient(circle at 76% 20%, rgba(255,208,128,.12) 0%, rgba(255,208,128,0) 30%),
    linear-gradient(180deg, rgba(8,5,3,.18) 0%, rgba(8,5,3,.42) 42%, rgba(6,4,3,.74) 100%);
  pointer-events:none;
  z-index:1;
}
.modal-scorched-state::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(4,3,2,.18) 0%, rgba(7,5,4,.42) 28%, rgba(7,5,4,.62) 62%, rgba(6,4,3,.76) 100%),
    radial-gradient(circle at 50% 22%, rgba(255,196,138,.10) 0%, rgba(255,196,138,0) 26%);
  backdrop-filter: blur(3px) saturate(90%);
  pointer-events:none;
  z-index:1;
}
.modal-scorched-state > *{ position:relative; z-index:2; }
.modal-radiation-logo{
  display:block;
  width:112px;
  height:112px;
  margin:0 auto;
  background: var(--modal-radiation-color, var(--scorched-logo-color, #000000));
  transform: scale(var(--modal-radiation-scale, var(--scorched-logo-modal-scale, 1.08)));
  transform-origin:center center;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
  filter: drop-shadow(0 0 calc(var(--scorched-logo-glow, 24px) * .42) rgba(166,255,122,.32)) drop-shadow(0 0 calc(var(--scorched-logo-glow, 24px) * 1.08) rgba(166,255,122,.18));
  animation: modalRadiationPulse 2.8s ease-in-out infinite;
}
.modal-scorched-copy{
  margin:10px auto 0;
  max-width:520px;
  color:#ffe7d4;
  line-height:1.6;
  font-size:14px;
}
.modal-scorched-timer-label{
  margin-top:18px;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#ffd89b;
}
.modal-scorched-timer{
  margin-top:8px;
  font-size:19px;
  font-weight:900;
  color:#fff7ef;
  text-shadow:0 0 16px rgba(255,164,92,.22);
}
.modal-scorched-smoke{
  position:absolute;
  inset:auto;
  width:220px;
  height:120px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(196,196,196,.34) 0%, rgba(108,108,108,.22) 38%, rgba(28,28,28,.12) 58%, rgba(0,0,0,0) 78%);
  filter:blur(18px);
  pointer-events:none;
  z-index:1;
  animation: modalScorchedSmoke 10s linear infinite;
}
.modal-scorched-smoke.smoke-a{ left:-20px; bottom:10px; }
.modal-scorched-smoke.smoke-b{ right:-30px; top:24px; animation-duration:12s; }
.modal-scorched-smoke.smoke-c{ left:22%; top:-14px; animation-duration:11s; }
.scorched-pill{
  background: linear-gradient(180deg, rgba(58,28,17,.92) 0%, rgba(28,14,11,.86) 100%);
  border-color: rgba(255,160,96,.22);
  color:#ffe8d2;
}
@keyframes modalScorchedSmoke{
  0%{ transform:translateX(0) translateY(0) scale(.86); opacity:0; }
  15%{ opacity:.8; }
  50%{ transform:translateX(26px) translateY(-18px) scale(1.02); opacity:.42; }
  100%{ transform:translateX(54px) translateY(-36px) scale(1.18); opacity:0; }
}
@keyframes modalRadiationPulse{
  0%,100%{ transform:scale(var(--modal-radiation-scale, var(--scorched-logo-modal-scale, 1.08))); }
  50%{ transform:scale(calc(var(--modal-radiation-scale, var(--scorched-logo-modal-scale, 1.08)) * 1.05)); }
}
@media (max-width:900px){
  .modal-radiation-logo{ width:88px; height:88px; }
  .modal-scorched-copy{ font-size:13px; }
  .modal-scorched-timer{ font-size:15px; }
}



#modalBackdrop.modal-backdrop-scorched {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,160,88,0.24) 0%, rgba(255,160,88,0.10) 18%, rgba(12,7,5,0.30) 42%, rgba(0,0,0,0.88) 78%),
    linear-gradient(180deg, rgba(24,11,7,0.28) 0%, rgba(0,0,0,0.68) 100%);
}
#regionModal.modal-theme-scorched {
  background:
    linear-gradient(180deg, rgba(12,7,5,0.28) 0%, rgba(8,5,4,0.62) 48%, rgba(4,3,2,0.82) 100%),
    radial-gradient(circle at 18% 18%, rgba(255,163,92,0.22) 0%, rgba(255,163,92,0.00) 28%),
    radial-gradient(circle at 82% 10%, rgba(157,105,255,0.20) 0%, rgba(157,105,255,0.00) 22%),
    var(--scorched-modal-bg, none);
  background-size: cover, auto, auto, cover;
  background-position: center center, left top, right top, center center;
  color: #fff3e8;
  border-color: rgba(255,170,96,0.24);
  box-shadow: 0 36px 92px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,248,236,.06), 0 0 var(--scorched-modal-glow, 38px) rgba(255,132,74,.14);
}
#regionModal.modal-theme-scorched::before {
  border-color: rgba(255,240,223,.05);
}
#regionModal.modal-theme-scorched::after {
  background: linear-gradient(135deg, rgba(255,255,255,0.0), rgba(255,164,92,0.24), rgba(183,128,255,0.14), rgba(255,255,255,0.0));
}
#regionModal.modal-theme-scorched .modal-region-name,
#regionModal.modal-theme-scorched .modal-current-name,
#regionModal.modal-theme-scorched .modal-timeline-title,
#regionModal.modal-theme-scorched .timeline-name {
  color: #fff8f2;
  text-shadow: 0 2px 18px rgba(0,0,0,0.34);
}
#regionModal.modal-theme-scorched .modal-node-number,
#regionModal.modal-theme-scorched .modal-current-label,
#regionModal.modal-theme-scorched .timeline-date,
#regionModal.modal-theme-scorched .timeline-empty,
#regionModal.modal-theme-scorched .modal-scorched-copy,
#regionModal.modal-theme-scorched .modal-scorched-timer-label {
  color: #ffe0c3;
  text-shadow: 0 2px 16px rgba(0,0,0,0.44);
}
#regionModal.modal-theme-scorched .modal-scale,
#regionModal.modal-theme-scorched .modal-close,
#regionModal.modal-theme-scorched .scorched-pill {
  background: linear-gradient(180deg, rgba(71,34,18,.92) 0%, rgba(28,14,10,.88) 100%);
  color: #fff0df;
  border-color: rgba(255,176,104,0.24);
}
#regionModal.modal-theme-scorched .modal-close:hover {
  border-color: rgba(255,188,124,0.42);
  box-shadow: 0 0 0 1px rgba(255,180,112,0.10), 0 12px 24px rgba(0,0,0,0.30), 0 0 24px rgba(255,132,74,0.18);
}
#regionModal.modal-theme-scorched .modal-current,
#regionModal.modal-theme-scorched .modal-timeline-block,
#regionModal.modal-theme-scorched .timeline-card {
  background: linear-gradient(180deg, rgba(18,10,7,0.66) 0%, rgba(9,6,5,0.74) 100%);
  border-color: rgba(255,179,118,0.20);
  box-shadow: inset 0 1px 0 rgba(255,247,237,0.04), 0 0 26px rgba(255,132,74,0.10);
  backdrop-filter: blur(16px) saturate(110%);
}
#regionModal.modal-theme-scorched .timeline-card {
  --timeline-accent: rgba(255,150,92,0.24);
}
#regionModal.modal-theme-scorched .timeline-arrow {
  color: rgba(255,205,168,0.82);
  text-shadow: 0 2px 10px rgba(0,0,0,0.30);
}
#regionModal.modal-theme-scorched .modal-empty-symbol,
#regionModal.modal-theme-scorched .timeline-empty-symbol {
  background: rgba(255,241,226,0.08);
  border-color: rgba(255,176,104,0.18);
  color: #ffd5b3;
}

/* Facção: tema dinâmico para domínio/reivindicação */
#modalBackdrop.modal-backdrop-faction {
  background: radial-gradient(circle at 50% 30%, var(--modal-backdrop-a, rgba(118,255,154,0.16)) 0%, var(--modal-backdrop-b, rgba(18,36,24,0.18)) 24%, rgba(0,0,0,0.84) 76%);
}
#regionModal.modal-theme-faction {
  background:
    radial-gradient(circle at top left, var(--modal-accent-mid, rgba(118,255,154,0.22)) 0%, rgba(0,0,0,0) 34%),
    radial-gradient(circle at 100% 0%, var(--modal-accent-soft, rgba(118,255,154,0.14)) 0%, rgba(0,0,0,0) 28%),
    linear-gradient(180deg, var(--modal-panel-bg-a, rgba(17,26,20,.86)) 0%, var(--modal-panel-bg-b, rgba(8,12,10,.96)) 100%);
  color: var(--modal-text, #f5fff7);
  border-color: var(--modal-border, rgba(145,255,172,0.24));
  box-shadow: 0 30px 84px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.05), 0 0 44px var(--modal-glow, rgba(99,255,145,.16));
}
#regionModal.modal-theme-faction::after {
  background: linear-gradient(135deg, rgba(255,255,255,0.0), var(--modal-accent-strong, rgba(145,255,172,0.24)), var(--modal-accent-mid, rgba(172,255,131,0.18)), rgba(255,255,255,0.0));
}
#regionModal.modal-theme-faction .modal-region-name,
#regionModal.modal-theme-faction .modal-current-name,
#regionModal.modal-theme-faction .modal-timeline-title,
#regionModal.modal-theme-faction .timeline-name {
  color: var(--modal-text-strong, #ffffff);
}
#regionModal.modal-theme-faction .modal-node-number,
#regionModal.modal-theme-faction .modal-influence,
#regionModal.modal-theme-faction .modal-current-label,
#regionModal.modal-theme-faction .timeline-date,
#regionModal.modal-theme-faction .timeline-empty,
#regionModal.modal-theme-faction .modal-claim-copy {
  color: var(--modal-text-muted, rgba(220,255,232,0.92));
  text-shadow: 0 0 12px var(--modal-glow, rgba(120,255,160,0.18));
}
#regionModal.modal-theme-faction .modal-scale,
#regionModal.modal-theme-faction .modal-close {
  background: linear-gradient(180deg, var(--modal-pill-bg-a, rgba(21,45,25,.88)) 0%, var(--modal-pill-bg-b, rgba(10,24,14,.82)) 100%);
  color: var(--modal-text-strong, #ffffff);
  border-color: var(--modal-border, rgba(145,255,172,0.24));
}
#regionModal.modal-theme-faction .modal-close:hover {
  border-color: var(--modal-border, rgba(145,255,172,0.36));
  box-shadow: 0 0 0 1px var(--modal-border-soft, rgba(145,255,172,0.14)), 0 12px 24px rgba(0, 0, 0, 0.30), 0 0 22px var(--modal-glow-strong, rgba(84, 213, 255, 0.18));
}
#regionModal.modal-theme-faction .modal-current,
#regionModal.modal-theme-faction .modal-timeline-block {
  border-color: var(--modal-border-soft, rgba(145,255,172,0.18));
  background: linear-gradient(180deg, color-mix(in srgb, var(--modal-accent-soft, rgba(118,255,154,0.16)) 60%, rgba(255,255,255,0.06)) 0%, rgba(255,255,255,0.03) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 24px color-mix(in srgb, var(--modal-glow, rgba(99,255,145,.16)) 55%, transparent);
}
#regionModal.modal-theme-faction .modal-empty-symbol,
#regionModal.modal-theme-faction .timeline-empty-symbol {
  color: var(--modal-text, #f5fff7);
  background: color-mix(in srgb, var(--modal-accent-soft, rgba(118,255,154,0.16)) 65%, rgba(255,255,255,0.04));
  border-color: var(--modal-border-soft, rgba(145,255,172,0.18));
}
#regionModal.modal-theme-faction .timeline-arrow {
  color: var(--modal-text-muted, rgba(220,255,232,0.92));
}
#regionModal.modal-theme-faction .claim-pulse {
  animation: claimPulseLogoFaction 1.7s ease-in-out infinite;
}
@keyframes claimPulseLogoFaction {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
  50% { transform: scale(1.045); filter: drop-shadow(0 0 16px var(--modal-glow-strong, rgba(120,255,160,.45))); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
}

#regionModal.modal-theme-scorched .modal-scorched-copy,
#regionModal.modal-theme-scorched .modal-scorched-timer,
#regionModal.modal-theme-scorched .modal-scorched-timer-label {
  position: relative;
}
#regionModal.modal-theme-scorched .modal-scorched-copy {
  max-width: 560px;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10,7,5,0.34) 0%, rgba(10,7,5,0.18) 100%);
  box-shadow: inset 0 1px 0 rgba(255,240,225,0.03);
}
#regionModal.modal-theme-scorched .modal-scorched-timer {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(32,16,11,0.72) 0%, rgba(16,9,7,0.82) 100%);
  border: 1px solid rgba(255,176,104,0.16);
}
