.launge_sidebar_card {
  position: relative;
  height: 200px;
  border-radius: 20px;
  overflow: visible;
  margin-bottom: 20px;
  background-color: #1c1c24;
  background-size: cover !important;
  background-position: center;
  box-shadow: 0px 5px 10px #13151a4f;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.launge_sidebar_card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 10px 20px #13151a66;
}

.launge_sidebar_card__overlay {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(16deg, #101014f2 0%, #10101499 55%, #10101433 100%);
}

.launge_sidebar_card__inner {
  position: relative;
  height: 100%;
  padding: 20px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.launge_sidebar_card__label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0px 2px 6px #00000080;
}

.launge_sidebar_card {
  cursor: pointer;
}

.launge_sidebar_card .launge-widget__menu {
  display: none !important;
}

.launge_sidebar_card .launge-widget__chev {
  display: none !important;
}

.launge_sidebar_card__hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 2px;
  border-radius: 50%;
  background: #ffffff14;
  color: #b5f9d8;
  font-size: 12px;
  cursor: help;
}

.launge-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.launge-modal.is-open {
  display: flex;
}

.launge-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #08080cb3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.launge-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(165deg, #30313f 0%, #21222d 100%);
  border: 1px solid #ffffff17;
  box-shadow: 0px 28px 56px -16px #000000a6;
  animation: launge_modal_in 0.2s ease both;
}

@keyframes launge_modal_in {
  from { opacity: 0; transform: translateY(-10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.launge-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.launge-modal__title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.launge-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ffffff1a;
  background: #ffffff0f;
  color: #e6e6f0;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.launge-modal__close:hover {
  background: #ffffff1f;
  border-color: #ffffff33;
}

.launge-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  overflow-y: auto;
  padding-right: 2px;
}

.launge-modal__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 14px;
  background: #ffffff0a;
  border: 1px solid #ffffff17;
  color: #e6e6f0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.launge-modal__tile:hover {
  background: #ffffff17;
  border-color: #ffffff33;
  transform: translateY(-2px);
}

.launge-modal__tile.is-active {
  background: #5dba8d26;
  border-color: #5dba8d80;
  color: #c7ffe9;
}

.launge-modal__tile-flag {
  width: 30px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 0 1px #ffffff1a;
}

.launge-modal__tile-flag--text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, #3a3f4f, #2b3042);
  font-size: 9px;
}

.launge-modal__tile-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 420px) {
  .launge-modal__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sidebar-tasks-widget {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #1c1c24;
  background-size: cover !important;
  background-position: center;
  box-shadow: 0px 5px 10px #13151a4f;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sidebar-tasks-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0px 10px 20px #13151a66;
}

.sidebar-tasks-widget__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #101014f2 0%, #101014e6 40%, #10101499 100%);
}

.sidebar-tasks-widget__inner {
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-tasks-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-tasks-widget__label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0px 2px 6px #00000080;
}

.sidebar-tasks-widget__all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #b5f9d8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-tasks-widget__all:hover {
  color: #ffffff;
  text-decoration: none;
}

.sidebar-tasks-widget__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-tasks-widget__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: #16161ecc;
  border: 1px solid #ffffff1a;
}

.sidebar-tasks-widget__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(240, 180, 41, .12);
  color: #f0b429;
  font-size: 17px;
}

.sidebar-tasks-widget__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sidebar-tasks-widget__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.sidebar-tasks-widget__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sidebar-tasks-widget__title {
  font-size: 12px;
  font-weight: 700;
  color: #e6e6f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-tasks-widget__reward {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #b5f9d8;
  flex-shrink: 0;
}

.sidebar-tasks-widget__bar {
  height: 5px;
  border-radius: 50px;
  background: #ffffff14;
  overflow: hidden;
}

.sidebar-tasks-widget__bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, #5dba8d, #b5f9d8);
}

.sidebar-tasks-widget__progress-label {
  font-size: 10px;
  color: #9599ad;
}
