:root {
  --year-font-size: 12px;
}


.board {
  width: 100vw;
  height: 100vh;
  position: relative;
  margin: 0;
  background: radial-gradient(
    ellipse at 95% center, /* Center even closer to right */
    #333333 0%,            /* Very dark gray center */
    #666666 30%,           /* Medium dark gray */
    #cccccc 60%,           /* Lighter gray */
    #ffffff 90%            /* White near the left */
  );
  background-repeat: no-repeat;
  background-size: cover;
}

.headline {
  position: absolute;
  left: 45%;
  top: 2%;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-weight: bold;
  font-size: 30px;
}

.battle-map {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  left: 3%;
  top: 13%;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  text-shadow: #cccccc;
  color: white;
  background: black;

  font-size: min(1.8vw,3.6vh);
  height: min(8vw, 15vh);
  width: min(8vw, 15vh);
  border: 4px solid gold;
  border-radius: 50% 50% 50% 50% / 12% 12% 88% 88%;
}

.forty-seven {
  position: absolute;
  left: 72%;
  top: 11%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4vw;
  height: 4vw;
  font-size: 16px;
  font-weight: bold;
  color: black;
  border-radius: 50%;
  z-index: 20;
}

.piece {
  width: 60px;
  transform: translate(-50%, -50%);
  overflow: hidden;
  img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
    display: block;
  }
  &.label {
    width: 100%;
    overflow: auto;
    position: absolute;
    color: orange;
    text-shadow: 2px 2px 4px black;
    font-size: clamp(12px, 1.6vw, 34px);
    font-weight: bold;
    z-index: 70;
  }

}

.person {
  width: min(3.4vw, 6vh);
  height: min(3.4vw, 6vh);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid black;   
  transform: translate(-50%, -50%);
}

.person-med {
  width: min(5.2vw, 9vh);
  height: min(5.2vw, 9vh);
}

.person-large{
  width: clamp(2rem, min(7vw,15vh), 16.6rem); 
  height: clamp(2rem, min(7vw,15vh), 16.6rem); 
  transform: translate(-50%, -50%);
}

.person-small {
  width: 4.8rem; 
}

.piece-flag {
  width: min(3.2vw, 6.2vh);
  height: 2.4vw;
}

.piece-small {
  width: 72px;
}

.piece-med {
  width: clamp(80px, 8.2vw, 300px);
}

.piece-large {
  width: 220px;
}

.capitol {
  width: 11vw;
}

.circle-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;         
}

.alert {
  background-color: black;
  color: white;
  /* border: gold 1px solid; */
  padding: 1px 3px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  max-width: 220px;
  text-align: center;         /* Center the text */
  white-space: normal;        /* Allow line breaks */
  word-wrap: break-word;      /* Break long words */
  display: inline-block;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;         
  }
}

.swamp {
  width: clamp(100px, min(25vw, 35vh), 300px);
  transform: translate(-50%, -50%);
}

.supreme {
  width: 150px;
}

.world {
  width: clamp(60px, min(12vw, 24vh), 300px);
}

.dump {
  width: clamp(60px, min(16vw, 25vh), 300px);
  transform: translate(-80%, -50%);
  /* width: 150px; */
  /* height: 120px; */
}
.dump.dump1 {
  /* width: 290px; */
  width: clamp(60px, min(30vw, 35vh), 600px);
  transform: translate(-10%, -10%);
  /* height: 120px; */
}

.sun {
  width: 160px;
}

.perkins {
  width: 40px;
  /* height: 20px; */
}

.weiss {
  /* width: 60px; */
  width: clamp(10px, min(4vw, 9vh), 200px);
}
.columbia {
  width: clamp(10px, min(4.8vw, 9.8vh), 200px);
}

.afd {
  width: clamp(10px, min(4vw, 9vh), 200px);
}

.cbs {
  width: 48px;
}

.web {
  width: clamp(80px, min(25.5vw, 20vh), 400px);
  /* height: 120px; */
}

.web2 {
  /* width: 220px; */
  width: clamp(80px, min(35.5vw, 30vh), 220px);
  /* height: 120px; */
}


.war-theater {
  position: absolute;
  font-size: 20px;
  color: lightyellow;
  opacity: 60%;;
  z-index: 30;
}

.dark-cloud {
  position: absolute;
  right: -50%;
  top: -15%;
  height: 140%;
  width: 90%;
  z-index: 2;
  opacity: 70%;
}

.date-widget {
  background: black;
  color: white;
  padding: 2px;
  display: flex;
  align-items: stretch;
  gap: 0;
  position: absolute;
  z-index: 40;
  height: 30px;
  &.dw-rap {
    top: 0%;
    left: 1%;
  }
}

.date-year {
  display: inline;
}

.year-static {
  border: none;
  background: transparent;
  appearance: none;
  pointer-events: none;
  /* font-size: inherit; */
  font-size: var(--year-font-size);
  font-weight: inherit;
  color: inherit;
}

.date-form {
  display: inline;
  height: 100%;
}

.date-nav {
  background: black;
  color: white;
  border: none;
  padding: 2px 4px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-widget .date-nav:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.date-widget .date-nav:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.date-dropdown {
  background: black;
  color: white;
  padding: 2px;
  height: 100%;
}
.line-container {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.line-svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

path {
  stroke: red;
  stroke-width: 0.3;
  fill: none;
}

.circle {
  position: absolute;
  z-index: 50;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: yellow;
}

.battleline-container {
  position: relative;
}

.battleline-right {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  background-color: black;
  z-index: 0;
}

.line-container {
  z-index: 1;
}

.theater {
  position: absolute;
  opacity: 0.4;
  border-radius: 20%;
}

.theater-name {
  position: absolute;
  opacity: .8;
  font-size: clamp(12px, min(3.5vw, 5.5vh) ,35px);
  font-weight: bold;
  top: 80%;
  left: 10%;
  &.war-text {
    top: 50%;
    left: -10%;
  }
  &.trade-war-text {
    left: 7%;
    top: 82%;
  }
  &.gov-text {
    left: 33%;
    top: 92%;
  }
}
.cfpb {
  width: 50px;
}

.explosion-shape {
  width: 100%;
  height: 100%;
  fill: gold; /* or any explosion-like color */
}

.alcatraz {
  width: 80px;
}

.harvard {
  width: 70px;
}

.walmart {
  width: 100px;
}

.qatari-jet {
  width: 130px;
}
.day-count {
  position: absolute;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: clamp(12px, 2.2vw, 52px);
  &.dc-rap {
    top: 7%;
    left: 3%;
  }
}

.freedom {
  position: absolute;
  left: 8%;
  top: 62%;
  font-size: clamp(20px, 3.5vw, 60px);
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  opacity: .9;
  z-index: 1;
}

.tyranny {
  position: absolute;
  left: 57%;
  top: 3px;
  font-size: clamp(20px, 3.5vw, 60px);
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  color: black;
  opacity: .9;
  z-index: 1;
}

.nih {
  width: clamp(5px, min(7vw, 12vh), 200px);
}

.cdc {
  width: clamp(5px, min(6vw, 10vh), 200px);
}
.usaid {
  width: clamp(5px, min(8vw, 14vh), 200px);
}

.cfpb {
  width: clamp(5px, min(4vw, 8vh), 200px);
}
