* {
  box-sizing: border-box;
}

/* Master Layout Frame Container Shell */
.changelogcontentcontainer {
  background-color: transparent; 
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box; 
  padding: 20px 0;
}

.changelogheader-window {
  width: 100%;
  background: var(--banner-header-analogous); 
  border: 2px solid var(--bordercolor);
  border-bottom: none; 
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-sizing: border-box;
}

.changelogtitle {
  width: 100%;
  color: var(--content-text-color);
  font-family: var(--site-font), sans-serif;
  font-size: clamp(24px, 8vw, 50px); 
  font-weight: bold;
  word-wrap: break-word; 
  text-align: center;
}

.changelogdate {
  width: 100%;
  color: var(--content-text-color);
  font-family: var(--site-font), sans-serif;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.changelogtype {
  background: var(--btn-bg-analogous);
  border: 2px solid var(--btn-border-analogous);
  color: var(--content-text-color);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  
  width: 100%;             
  max-width: 240px;  
  height: auto;            
  min-height: 160px;       
  
  float: left;
  margin-right: 25px;   
  margin-bottom: 15px;  
  
  display: flex;
  flex-direction: column;     
  align-items: center;     
  justify-content: center;   
  gap: 10px;               
  padding: 15px;
  box-sizing: border-box;
}

.changelogtype-sprite {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;          
}

.changelogtype-sprite img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.changelogtype-text {
  font-family: var(--site-font), monospace;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;      
  word-break: break-word;
}

.changelogcontent {
  width: 100%;
  background: var(--banner-content-bg);
  border: 2px solid var(--bordercolor);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 25px;
  box-sizing: border-box;
  overflow: auto;
}

.changelogcontent::after {
  content: "";
  display: block;
  clear: both;
}

.changelogcontent-text {
  display: contents;
  font-size: 17px;
  line-height: 1.6;
  color: var(--content-text-color);
  font-family: var(--site-font), sans-serif;
}

.changelogpgbrk {
  width: 100%;
  height: auto;
  min-height: 24px;
  background-color: transparent; 
  clear: both; 
  margin: 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-weight: bold;
  color: var(--bordercolor);
  letter-spacing: 2px;
  text-align: center;
}

.changelogpgbrk img {
  width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain; 
}

.changelogreader {
  width: 100%;             
  max-width: 450px;        
  height: auto;            
  aspect-ratio: 450 / 250; 
  align-self: flex-start;
  margin-top: 15px;

  background: transparent;
  border: none;
  box-shadow: none;
  
  display: flex;
  align-items: center;
  justify-content: center;
}

.changelogreader img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 600px) {
  .changelogtype {
    float: none;           
    margin: 0 auto 20px auto; 
    width: 100%;           
  }

  .changelogcontent {
    padding: 15px;         
    font-size: 16px;       
    line-height: 1.5;      
  }
}
