.grid-layout {
  display: flex;  
  gap: 20px;
  position: relative;
  justify-content: space-between;  
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0; 
  width: 200px;  
}

.identity-box {
  width: 200px;
  height: 200px;
  background:
    repeating-linear-gradient(
      45deg,
      #010101,
      #010101 10px,
      var(--tpurple) 10px,
      var(--tpurple) 11px
    ),
    linear-gradient(to bottom, rgba(0,0,0,0.89), var(--tpurple));
  border: 2px solid #010101;
  outline: 1px solid var(--tpurple);
  outline-offset: -4px;
  box-shadow: 3px 2px 0 rgba(3, 3, 3, 0.9);
  overflow: hidden;
  position: relative;
}

.identity-box img {
  width: 200px;
  height: 200px;
  object-fit: none;  
  object-position: center;
  image-rendering: -webkit-crisp-edges; 
  image-rendering: auto;  
}

.navigation-panel {
  background:
    linear-gradient(90deg, #010101 50%, var(--tpurple) 50%),
    #010101;
  background-size: 2px 100%;
  min-width: 200px;
  max-width: 200px;
  padding: 10px 0;
  border: 2px solid #010101;
  outline-offset: -4px;
  box-shadow: 2px 2px 0 #010101;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
}

.navigation-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.79));
  pointer-events: none;
}

.nav-link {
  display: block;
  padding: 10px;
  background: linear-gradient(to bottom, #0b0b0b, #010101);
  border: 2px double #010101;
  outline: 1px solid var(--tpurple);
  outline-offset: -3px;
  box-shadow: 1px 1px 0 #010101;
  color: #bfbfbf;
  text-align: center;
  font-size: 12px;
  font-family: "MS UI Gothic", monospace;
  text-decoration: none;
  transition: all 0.2s;
  text-shadow: 1px 1px 2px #010101;
  position: relative;
  width: calc(100% - 20px);
  margin: 0 5px;
  box-sizing: border-box;
}

.nav-link:hover {
  color: #fffffe;
  font-style: italic;
  text-shadow: 0 0 6px var(--tpurple), 1px 1px 2px #010101;
  background: linear-gradient(to bottom, #010101, #0b0b0b);
}

.nav-link:active {
  transform: translateY(1px);
}

.nav-link::before {
  content: "▷　";
  color: #fffffe;
  font-size: 10px;
}

.chibi-widget {
  position: absolute;
  top: 390px;
  right: -100px;
  width: 400px;
  height: 280px;
  overflow: visible;
  z-index: 20;
  transform: rotate(-15deg);
  transform-origin: center;
  pointer-events: none; 
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.chibi-widget img {
  width: 400px;
  height: 280px;
  display: block;
  object-fit: none;
  object-position: center;
  image-rendering: -webkit-crisp-edges;
  image-rendering: auto;
}

.content-zone {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 460px; 
  flex-shrink: 0;  
}

.banner-section {
  width: 460px;  
  height: 120px;
}

.banner-frame {
  width: 460px; 
  height: 120px;
  background: url("../img/banner.png") no-repeat center;
  background-size: 460px 120px; 
  border: 2px solid #010101;
  outline: 1px solid var(--tpurple);
  outline-offset: -4px;
  box-shadow: 3px 2px 0 rgba(3, 3, 3, 0.89);
  position: relative;
  image-rendering: -webkit-crisp-edges; 
  image-rendering: auto; 
}

.primary-content {
  width: 460px; 
  background:
    radial-gradient(ellipse at top right, var(--tpurple) 0%, transparent 40%),
    linear-gradient(180deg, #0b0b0b, #010101);
  border: 2px double #010101;
  outline: 1px solid var(--tpurple);
  outline-offset: -4px;
  box-shadow: 3px 2px 0 rgba(3, 3, 3, 0.89);
  padding: 20px;
  position: relative;
  min-height: 320px;
}

.content-header {
  color: #fffffe;
  font-size: 20px;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #454545;
  text-shadow:
    -1px -1px 0 #010101,
    0px -1px 0 #010101,
    1px -1px 0 #010101,
    -1px 0px 0 #010101,
    1px 0px 0 #010101,
    -1px 1px 0 #010101,
    0px 1px 0 #010101,
    1px 1px 0 #010101;
  letter-spacing: 3px;
  text-align: right;
}

.content-body {
  color: #c0c0c0;
  font-size: 12px;
  line-height: 1.6;
  text-align: justify;
  text-shadow:
    -1px -1px 0 #010101,
    0px -1px 0 #010101,
    1px -1px 0 #010101,
    -1px 0px 0 #010101,
    1px 0px 0 #010101,
    -1px 1px 0 #010101,
    0px 1px 0 #010101,
    1px 1px 0 #010101;
  font-family: "MS UI Gothic", monospace;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 460px;  
}

.info-block {
  background:
    linear-gradient(90deg, #010101 50%, var(--tpurple) 50%),
    #010101;
  background-size: 2px 100%;
  border: 2px double #010101;
  outline-offset: -4px;
  box-shadow: 2px 2px 0 #010101;
  padding: 12px;
  min-height: 80px;
  position: relative;
}

.info-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.79));
  pointer-events: none;
}

.block-title {
  color: #fffffe;
  font-size: 12px;
  font-style: italic;
  text-decoration: underline;
  margin-bottom: 8px;
  text-shadow: 1px 1px 3px #010101;
  font-weight: normal;
}

.block-text {
  color: #ffffff; 
  font-size: 11px;
  line-height: 1.5;
  text-shadow: 1px 1px 2px #010101;
  margin: 0;
}

.copy-popup {
  position: fixed;
  display: block;
  opacity: 0;
  max-width: 200px;
  border-radius: 6px;
  padding: 8px 12px;
  background: linear-gradient(180deg, var(--tpurple) 0%, #050505 100%);
  border: 1px solid rgba(99, 77, 147, 0.35);
  outline: 1px solid rgba(30, 16, 63, 0.2);
  font-family: "MS UI Gothic", "MS Gothic", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: #d0cce5;
  z-index: 999999999;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.75);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(5px);
}

.copy-popup.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}