/* FFX Projects | IRC Sidebar v2 | approved illustrated artwork */
@media (min-width: 901px) {
  .layout { grid-template-columns: 300px minmax(0, 1fr); gap: 22px; }
}
.sidebar.irc-sidebar-v2 {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 8px;
  padding: 11px;
  background: linear-gradient(165deg, #07141e 0%, #03101b 72%, #061520 100%);
  border: 1px solid #ff9c2e;
  border-radius: 17px;
  box-shadow: 0 0 21px #ff85001b, inset 0 0 13px #ff87000d;
}
.sidebar.irc-sidebar-v2 > a {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 13px;
  align-items: center;
  gap: 7px;
  min-height: 71px;
  padding: 5px 9px;
  font-size: 14px;
  line-height: 1.25;
  background: linear-gradient(110deg, #071b28, #061725);
  color: #f8fafc;
  border: 1px solid #256b82;
  border-radius: 11px;
  text-decoration: none;
  box-shadow: inset 0 0 10px #00c8e608;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.sidebar.irc-sidebar-v2 > a.active {
  color: #fff;
  border-color: #ffd675;
  background: linear-gradient(110deg, #a23a05, #4b240f 65%, #241a14);
  box-shadow: inset 0 0 16px #ffb34224, 0 0 17px #ff8a2370;
}
.sidebar.irc-sidebar-v2 > a:hover,
.sidebar.irc-sidebar-v2 > a:focus-visible {
  border-color: #ffb547;
  box-shadow: 0 0 14px #ff901955;
  outline-offset: 2px;
}
.sidebar.irc-sidebar-v2 .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  min-width: 74px;
  height: 64px;
  font-size: 0;
  line-height: 0;
  filter: none;
}
.sidebar.irc-sidebar-v2 .ico img {
  width: 73px;
  height: 63px;
  object-fit: contain;
  display: block;
}
.sidebar.irc-sidebar-v2 .nav-text {
  min-width: 0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.24;
  overflow-wrap: anywhere;
  color: inherit;
}
.sidebar.irc-sidebar-v2 .nav-text small {
  font-size: 11px;
  font-weight: 550;
}
.sidebar.irc-sidebar-v2 .arrow {
  justify-self: end;
  color: #05e1f3;
  font-size: 22px;
  font-weight: 700;
}
.sidebar.irc-sidebar-v2 .side-art.irc-side-terminal {
  position: relative;
  display: block;
  min-height: 0;
  margin-top: 4px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: none;
  box-shadow: none;
}
.sidebar.irc-sidebar-v2 .irc-side-terminal > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 11px;
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar.irc-sidebar-v2 { max-width: 470px; }
  .sidebar.irc-sidebar-v2 > a { grid-template-columns: 74px minmax(0, 1fr) 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar.irc-sidebar-v2 > a { transition: none; }
}

/* FFX mIRC icon size adjustment */
.sidebar.irc-sidebar-v2 > a[href="./mirc/"] .ico img {
    width: 58px;
    height: 50px;
}
