/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar-title {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
}

.sidebar-title .ja {
  font-family: var(--font-ja-serif);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.sidebar-title .en {
  font-size: 1.25rem;
  line-height: 0.8;
  white-space: normal;
  margin-top: 0px;
  text-transform: uppercase;
  font-family: var(--font-en);
  letter-spacing: 0.01em;
  display: block;
  text-align: center;
  transform: none;
  opacity: 1;
  color: var(--text-muted);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
  margin-bottom: 0;
}

.nav-item:hover {
  border-color: var(--green);
  background: rgba(12, 38, 23, 0.4);
  color: var(--green-bright);
  text-shadow: var(--glow-green);
}

.nav-item.active {
  border-color: var(--orange);
  background: rgba(125, 50, 22, 0.6);
  color: var(--orange-bright);
  text-shadow: var(--glow-orange);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--green-dim);
  background: rgba(42, 167, 101, 0.1);
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 2px;
}

.nav-item:hover .nav-icon {
  border-color: var(--green);
  background: rgba(42, 167, 101, 0.25);
  box-shadow: 0 0 6px rgba(114, 255, 178, 0.4);
}

.nav-item.active .nav-icon {
  border-color: var(--orange);
  background: rgba(255, 122, 45, 0.35);
  box-shadow: 0 0 8px rgba(255, 122, 45, 0.5);
}

.nav-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nav-copy .ja {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.nav-copy .en {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  line-height: 0.8;
  text-transform: uppercase;
  font-family: var(--font-en);
  color: var(--text-muted);
}

.sidebar-lower {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.vertical-keywords {
  font-family: ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  opacity: 0.5;
  text-align: center;
}

.sidebar-slogan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.slogan-header {
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  opacity: 0.8;
}

.slogan-keywords {
  font-family: ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.5;
  opacity: 0.9;
}

.slogan-version {
  font-family: ui-monospace, monospace;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.slogan-main {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.85;
  letter-spacing: -0.03em;
}

.slogan-sub {
  font-family: ui-monospace, monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.5;
}
