.sidebar{
  gap:14px;
}

.sidebar .side-panel{
  position:relative;
  overflow:hidden;
  padding:16px;
  border:1px solid rgba(108,137,176,.18);
  border-radius:16px;
  background:
    radial-gradient(circle at 100% 0,rgba(73,201,255,.055),transparent 34%),
    linear-gradient(155deg,rgba(13,21,34,.97),rgba(7,12,21,.99));
  box-shadow:0 16px 42px rgba(0,0,0,.2);
}

.sidebar .side-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.2;
  background:repeating-linear-gradient(135deg,rgba(255,255,255,.022) 0 1px,transparent 1px 18px);
}

.sidebar .side-title{
  position:relative;
  z-index:1;
  gap:10px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(116,151,194,.15);
}

.sidebar .side-title>span{
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border:1px solid rgba(83,220,255,.24);
  border-radius:9px;
  background:rgba(37,210,255,.05);
  color:#63e8ff;
  font-size:12px;
  box-shadow:0 0 18px rgba(49,223,255,.08);
}

.sidebar .side-title h3{
  font-size:13px;
  font-weight:950;
  letter-spacing:.07em;
}

.popular-list{
  position:relative;
  z-index:1;
  padding-top:4px;
}

.popular-list li{
  position:relative;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  align-items:center;
  min-height:72px;
  padding:11px 8px 11px 0;
  border-bottom:1px solid rgba(109,139,177,.11);
  border-radius:10px;
  transition:background .18s ease,padding-left .18s ease,transform .18s ease;
}

.popular-list li:hover{
  padding-left:6px;
  background:rgba(255,255,255,.025);
  transform:translateX(2px);
}

.popular-list li:last-child{border-bottom:0}

.popular-list b{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid rgba(255,126,153,.2);
  border-radius:10px;
  background:rgba(255,108,143,.055);
  color:#ff93a9;
  font-size:13px;
  font-weight:950;
  box-shadow:inset 0 0 18px rgba(255,113,145,.035);
}

.popular-list li:nth-child(1) b{
  color:#ffd078;
  border-color:rgba(255,202,104,.25);
  background:rgba(255,194,78,.06);
}

.popular-list li:nth-child(2) b{
  color:#9eeaff;
  border-color:rgba(95,218,255,.22);
  background:rgba(67,207,255,.05);
}

.popular-list li:nth-child(3) b{
  color:#bca0ff;
  border-color:rgba(180,140,255,.22);
  background:rgba(154,100,255,.05);
}

.popular-list span{
  min-width:0;
  color:#d7dfeb;
  font-size:11px;
  font-weight:780;
  line-height:1.32;
}

.popular-list small{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:6px;
  color:#73859c;
  font-size:8px;
  font-weight:650;
}

.popular-list small::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ff7693;
  box-shadow:0 0 9px rgba(255,118,147,.36);
}

.community-panel{
  border-color:rgba(77,216,193,.17)!important;
  background:
    radial-gradient(circle at 0 100%,rgba(54,223,157,.055),transparent 34%),
    linear-gradient(155deg,rgba(13,21,34,.97),rgba(7,12,21,.99))!important;
}

.community-panel .side-title>span{
  color:#65ebc5;
  border-color:rgba(74,231,186,.24);
  background:rgba(54,223,157,.055);
  box-shadow:0 0 18px rgba(54,223,157,.08);
}

.community-post{
  position:relative;
  z-index:1;
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  padding:13px 6px;
  border-bottom:1px solid rgba(104,146,176,.11);
  border-radius:10px;
  transition:background .18s ease,transform .18s ease;
}

.community-post:hover{
  background:rgba(255,255,255,.024);
  transform:translateX(2px);
}

.community-post>i{
  width:36px;
  height:36px;
  border:1px solid rgba(96,226,198,.18);
  border-radius:12px;
  background:
    radial-gradient(circle at 30% 25%,rgba(255,255,255,.18),transparent 24%),
    linear-gradient(135deg,#7658dd,#24c8bc);
  font-size:11px;
  box-shadow:0 7px 20px rgba(40,179,180,.1);
}

.community-post>span{
  min-width:0;
}

.community-post b{
  color:#7cebd2;
  font-size:10px;
  font-weight:900;
}

.community-post small{
  color:#6d7f96;
  font-size:8px;
}

.community-post p{
  margin:5px 0 7px;
  color:#b5c0d0;
  font-size:10px;
  line-height:1.45;
}

.community-post em{
  display:inline-flex;
  align-items:center;
  padding:3px 7px;
  border:1px solid rgba(255,126,156,.12);
  border-radius:999px;
  background:rgba(255,104,140,.035);
  color:#e8a0b0;
  font-size:8px;
  font-weight:800;
}

.community-btn{
  position:relative;
  z-index:1;
  margin-top:13px;
  padding:9px 12px;
  border-color:rgba(83,231,202,.28);
  background:rgba(54,223,157,.035);
  color:#8bf0d3;
  font-weight:900;
  letter-spacing:.025em;
  transition:border-color .18s ease,background .18s ease,color .18s ease;
}

.community-btn:hover,
.community-btn:focus-visible{
  border-color:rgba(83,231,202,.52);
  background:rgba(54,223,157,.075);
  color:#c7ffef;
}

.side-promo{
  min-height:300px;
  border-color:rgba(90,185,255,.2);
  border-radius:16px;
  box-shadow:0 16px 44px rgba(0,0,0,.22),inset 0 0 80px rgba(48,184,255,.035);
}

.side-promo h3{
  max-width:240px;
  font-size:26px;
  line-height:.96;
  letter-spacing:-.035em;
}

.side-promo p{
  max-width:220px;
  line-height:1.55;
}

@media(min-width:1160px){
  .sidebar{
    position:sticky;
    top:94px;
    align-self:start;
  }
}

@media(max-width:1159px){
  .sidebar{position:relative;top:auto}
}

@media(max-width:760px){
  .sidebar{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    gap:12px!important;
    margin-top:30px!important;
  }

  .sidebar .side-panel,
  .side-promo{
    margin:0;
  }

  .side-promo{
    grid-column:1 / -1;
    min-height:250px;
  }
}

@media(max-width:560px){
  .sidebar{
    grid-template-columns:1fr;
    gap:10px!important;
    margin-top:24px!important;
  }

  .sidebar .side-panel{
    padding:14px!important;
    border-radius:14px!important;
  }

  .popular-list li{
    min-height:66px;
  }

  .popular-list span{
    font-size:12px!important;
  }

  .community-post p{
    font-size:11px!important;
  }

  .side-promo{
    grid-column:auto;
    min-height:235px;
  }
}

@media(prefers-reduced-motion:reduce){
  .popular-list li,
  .community-post,
  .community-btn{transition:none}
  .popular-list li:hover,
  .community-post:hover{transform:none}
}
