/* ==========================================================================
   Design Tokens / Variables
   ========================================================================== */

:root {
  /* Bootstrap radius override */
  --bs-border-radius: 0.9rem !important;

  /* App palette */
  --app-action: #4a5df9;
  --app-action-hover: #3f51e6;
  --app-action-active: #3649d1;

  --app-discord: #5865f2;
  --app-telegram: #0088cc;

  /* Default app text color */
  --text-action-color: rgb(102, 119, 255);
}

/* ==========================================================================
   Base / Typography
   ========================================================================== */

body {
  font-family: "Inter", sans-serif !important;
  max-width: 100%;
  overflow-x: hidden;
}

p {
  margin-bottom: 0.25rem;
}

a {
  font-weight: 600;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
.read-more-btn {
    text-decoration: none !important;
}

a img {
    text-decoration: none !important;
}
/* ==========================================================================
   Components: Bootstrap tweaks
   ========================================================================== */

.modal-content {
  border-radius: 1.075rem;
}

.btn:not(.btn-lg):not(.rounded-circle):not(.btn-reactions) {
    border-radius: var(--bs-border-radius-lg) !important;
}

.btn-reactions {
    border-radius: var(--bs-border-radius-xxl);
}

.btn {
  font-weight: 600 !important;
}

.card,
.accordion,
.accordion-item,
.list-group-item {
  border: none !important;
}

.card {
  box-shadow: var(--bs-box-shadow-sm) !important;
}
.card-bg-opacity {
    --bs-bg-opacity: 0.75;
    background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.cursor-move { cursor: grab; }
.cursor-pointer { cursor: pointer !important; }

.sortable-ghost { opacity: 0.4; }

.opacity-50-hover { opacity: 0.5 !important; }
.opacity-50-hover:hover { opacity: 1 !important; }

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

@media (min-width: 768px) {
  .text-sm-left { text-align: left !important; }
}

/* Font-size utilities */
.fs-8  { font-size: 8px !important; }
.fs-9  { font-size: 9px !important; }
.fs-10 { font-size: 10px !important; }
.fs-11 { font-size: 11px !important; }
.fs-12 { font-size: 12px !important; }
.fs-13 { font-size: 13px !important; }
.fs-14 { font-size: 14px !important; }
.fs-15 { font-size: 15px !important; }
.fs-16 { font-size: 16px !important; }
.fs-18 { font-size: 18px !important; }
.fs-20 { font-size: 20px !important; }
.fs-24 { font-size: 24px !important; }
.fs-28 { font-size: 28px !important; }
.fs-32 { font-size: 32px !important; }
.fs-36 { font-size: 36px !important; }
.fs-40 { font-size: 40px !important; }
.fs-44 { font-size: 44px !important; }
.fs-48 { font-size: 48px !important; }

/* Font-weight utilities */
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

.text-stroke {
  -webkit-text-stroke: 0.1px #000000 !important;
  text-stroke: 0.1px #000000 !important;
}

/* Width utilities */
.w-25-px  { width: 25px !important; }
.w-30-px  { width: 30px !important; }
.w-35-px  { width: 35px !important; }
.w-40-px  { width: 40px !important; }
.w-45-px  { width: 45px !important; }
.w-50-px  { width: 50px !important; }
.w-55-px  { width: 55px !important; }
.w-60-px  { width: 60px !important; }
.w-65-px  { width: 65px !important; }
.w-70-px  { width: 70px !important; }
.w-75-px  { width: 75px !important; }
.w-80-px  { width: 80px !important; }
.w-85-px  { width: 85px !important; }
.w-90-px  { width: 90px !important; }
.w-95-px  { width: 95px !important; }
.w-100-px { width: 100px !important; }
.w-105-px { width: 105px !important; }
.w-110-px { width: 110px !important; }
.w-115-px { width: 115px !important; }
.w-120-px { width: 120px !important; }
.w-125-px { width: 125px !important; }
.w-130-px { width: 130px !important; }
.w-135-px { width: 135px !important; }
.w-140-px { width: 140px !important; }
.w-145-px { width: 145px !important; }
.w-150-px { width: 150px !important; }
.w-155-px { width: 155px !important; }
.w-160-px { width: 160px !important; }
.w-165-px { width: 165px !important; }
.w-170-px { width: 170px !important; }
.w-175-px { width: 175px !important; }
.w-180-px { width: 180px !important; }
.w-185-px { width: 185px !important; }
.w-190-px { width: 190px !important; }
.w-195-px { width: 195px !important; }
.w-200-px { width: 200px !important; }
.w-205-px { width: 205px !important; }
.w-210-px { width: 210px !important; }
.w-215-px { width: 215px !important; }
.w-220-px { width: 220px !important; }
.w-225-px { width: 225px !important; }
.w-230-px { width: 230px !important; }
.w-235-px { width: 235px !important; }
.w-240-px { width: 240px !important; }
.w-245-px { width: 245px !important; }
.w-250-px { width: 250px !important; }

/* Min-width utilities */
.min-w-25-px  { min-width: 25px !important; }
.min-w-30-px  { min-width: 30px !important; }
.min-w-35-px  { min-width: 35px !important; }
.min-w-40-px  { min-width: 40px !important; }
.min-w-45-px  { min-width: 45px !important; }
.min-w-50-px  { min-width: 50px !important; }
.min-w-55-px  { min-width: 55px !important; }
.min-w-60-px  { min-width: 60px !important; }
.min-w-65-px  { min-width: 65px !important; }
.min-w-70-px  { min-width: 70px !important; }
.min-w-75-px  { min-width: 75px !important; }
.min-w-80-px  { min-width: 80px !important; }
.min-w-85-px  { min-width: 85px !important; }
.min-w-90-px  { min-width: 90px !important; }
.min-w-95-px  { min-width: 95px !important; }
.min-w-100-px { min-width: 100px !important; }
.min-w-105-px { min-width: 105px !important; }
.min-w-110-px { min-width: 110px !important; }
.min-w-115-px { min-width: 115px !important; }
.min-w-120-px { min-width: 120px !important; }
.min-w-125-px { min-width: 125px !important; }
.min-w-130-px { min-width: 130px !important; }
.min-w-135-px { min-width: 135px !important; }
.min-w-140-px { min-width: 140px !important; }
.min-w-145-px { min-width: 145px !important; }
.min-w-150-px { min-width: 150px !important; }
.min-w-155-px { min-width: 155px !important; }
.min-w-160-px { min-width: 160px !important; }
.min-w-165-px { min-width: 165px !important; }
.min-w-170-px { min-width: 170px !important; }
.min-w-175-px { min-width: 175px !important; }
.min-w-180-px { min-width: 180px !important; }
.min-w-185-px { min-width: 185px !important; }
.min-w-190-px { min-width: 190px !important; }
.min-w-195-px { min-width: 195px !important; }
.min-w-200-px { min-width: 200px !important; }
.min-w-205-px { min-width: 205px !important; }
.min-w-210-px { min-width: 210px !important; }
.min-w-215-px { min-width: 215px !important; }
.min-w-220-px { min-width: 220px !important; }
.min-w-225-px { min-width: 225px !important; }
.min-w-230-px { min-width: 230px !important; }
.min-w-235-px { min-width: 235px !important; }
.min-w-240-px { min-width: 240px !important; }
.min-w-245-px { min-width: 245px !important; }
.min-w-250-px { min-width: 250px !important; }

/* Max-width utilities */
.max-w-25-px  { max-width: 25px !important; }
.max-w-30-px  { max-width: 30px !important; }
.max-w-35-px  { max-width: 35px !important; }
.max-w-40-px  { max-width: 40px !important; }
.max-w-45-px  { max-width: 45px !important; }
.max-w-50-px  { max-width: 50px !important; }
.max-w-55-px  { max-width: 55px !important; }
.max-w-60-px  { max-width: 60px !important; }
.max-w-65-px  { max-width: 65px !important; }
.max-w-70-px  { max-width: 70px !important; }
.max-w-75-px  { max-width: 75px !important; }
.max-w-80-px  { max-width: 80px !important; }
.max-w-85-px  { max-width: 85px !important; }
.max-w-90-px  { max-width: 90px !important; }
.max-w-95-px  { max-width: 95px !important; }
.max-w-100-px { max-width: 100px !important; }
.max-w-105-px { max-width: 105px !important; }
.max-w-110-px { max-width: 110px !important; }
.max-w-115-px { max-width: 115px !important; }
.max-w-120-px { max-width: 120px !important; }
.max-w-125-px { max-width: 125px !important; }
.max-w-130-px { max-width: 130px !important; }
.max-w-135-px { max-width: 135px !important; }
.max-w-140-px { max-width: 140px !important; }
.max-w-145-px { max-width: 145px !important; }
.max-w-150-px { max-width: 150px !important; }
.max-w-155-px { max-width: 155px !important; }
.max-w-160-px { max-width: 160px !important; }
.max-w-165-px { max-width: 165px !important; }
.max-w-170-px { max-width: 170px !important; }
.max-w-175-px { max-width: 175px !important; }
.max-w-180-px { max-width: 180px !important; }
.max-w-185-px { max-width: 185px !important; }
.max-w-190-px { max-width: 190px !important; }
.max-w-195-px { max-width: 195px !important; }
.max-w-200-px { max-width: 200px !important; }
.max-w-205-px { max-width: 205px !important; }
.max-w-210-px { max-width: 210px !important; }
.max-w-215-px { max-width: 215px !important; }
.max-w-220-px { max-width: 220px !important; }
.max-w-225-px { max-width: 225px !important; }
.max-w-230-px { max-width: 230px !important; }
.max-w-235-px { max-width: 235px !important; }
.max-w-240-px { max-width: 240px !important; }
.max-w-245-px { max-width: 245px !important; }
.max-w-250-px { max-width: 250px !important; }
.max-w-300-px { max-width: 300px !important; }
.max-w-350-px { max-width: 350px !important; }
.max-w-450-px { max-width: 450px !important; }

/* Max-height utilities */
.max-h-25-px  { max-height: 25px !important; }
.max-h-30-px  { max-height: 30px !important; }
.max-h-35-px  { max-height: 35px !important; }
.max-h-40-px  { max-height: 40px !important; }
.max-h-45-px  { max-height: 45px !important; }
.max-h-50-px  { max-height: 50px !important; }
.max-h-55-px  { max-height: 55px !important; }
.max-h-60-px  { max-height: 60px !important; }
.max-h-65-px  { max-height: 65px !important; }
.max-h-70-px  { max-height: 70px !important; }
.max-h-75-px  { max-height: 75px !important; }
.max-h-80-px  { max-height: 80px !important; }
.max-h-85-px  { max-height: 85px !important; }
.max-h-90-px  { max-height: 90px !important; }
.max-h-95-px  { max-height: 95px !important; }
.max-h-100-px { max-height: 100px !important; }
.max-h-105-px { max-height: 105px !important; }
.max-h-110-px { max-height: 110px !important; }
.max-h-115-px { max-height: 115px !important; }
.max-h-120-px { max-height: 120px !important; }
.max-h-125-px { max-height: 125px !important; }
.max-h-130-px { max-height: 130px !important; }
.max-h-135-px { max-height: 135px !important; }
.max-h-140-px { max-height: 140px !important; }
.max-h-145-px { max-height: 145px !important; }
.max-h-150-px { max-height: 150px !important; }
.max-h-155-px { max-height: 155px !important; }
.max-h-160-px { max-height: 160px !important; }
.max-h-165-px { max-height: 165px !important; }
.max-h-170-px { max-height: 170px !important; }
.max-h-175-px { max-height: 175px !important; }
.max-h-180-px { max-height: 180px !important; }
.max-h-185-px { max-height: 185px !important; }
.max-h-190-px { max-height: 190px !important; }
.max-h-195-px { max-height: 195px !important; }
.max-h-200-px { max-height: 200px !important; }
.max-h-205-px { max-height: 205px !important; }
.max-h-210-px { max-height: 210px !important; }
.max-h-215-px { max-height: 215px !important; }
.max-h-220-px { max-height: 220px !important; }
.max-h-225-px { max-height: 225px !important; }
.max-h-230-px { max-height: 230px !important; }
.max-h-235-px { max-height: 235px !important; }
.max-h-240-px { max-height: 240px !important; }
.max-h-245-px { max-height: 245px !important; }
.max-h-250-px { max-height: 250px !important; }
.max-h-300-px { max-height: 300px !important; }
.max-h-350-px { max-height: 350px !important; }
.max-h-450-px { max-height: 450px !important; }

/* ==========================================================================
   Text helpers
   ========================================================================== */

.post-text {
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.text-action {
  color: var(--text-action-color) !important;
}

/* ==========================================================================
   Forms / Inputs
   ========================================================================== */

.form-control {
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
  border-radius: 0.4rem;
  /* border: none!important; */
}

.dropdown-toggle::after {
  content: none;
}

/* ==========================================================================
   Action links & buttons
   ========================================================================== */

.block-action-btn {
  text-decoration: none !important;
}

.block-action-btn:hover {
  transform: scale(0.96);
}

.btn-outline-action {
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity));
  border: 1px solid var(--app-action);
}

.btn-outline-action:hover {
  color: #fff;
  background-color: var(--app-action);
  border-color: var(--app-action);
}

.btn-action {
  color: #fff;
  background-color: var(--app-action);
  border-color: var(--app-action);
}

.btn-action:hover {
  color: #fff;
  background-color: var(--app-action-hover);
  border-color: var(--app-action-hover);
}

.btn-action:focus,
.btn-action.focus {
  color: #fff;
  background-color: var(--app-action-hover);
  border-color: var(--app-action-hover);
  box-shadow: 0 0 0 0.25rem rgba(74, 93, 249, 0.5);
}

.btn-action:active,
.btn-action.active {
  color: #fff;
  background-color: var(--app-action-active);
  border-color: var(--app-action-active);
}

.btn-action:disabled,
.btn-action.disabled {
  color: #fff;
  background-color: var(--app-action);
  border-color: var(--app-action);
  opacity: 0.65;
}

/* Background helpers */
.bg-action { background-color: var(--app-action) !important; }

/* Hover helpers */
.hover-action:hover {
  --bs-bg-opacity: 1;
  background-color: var(--app-action) !important;
}

.hover-light:hover {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
}

.hover-dark {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity));
}

.hover-dark:hover {
  --bs-bg-opacity: 1;
  background-color: var(--bs-body-bg) !important;
}

.hover-blue:hover,
.hover-blue:active,
.hover-blue.active {
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary-text-emphasis);
}

.hover-blue:hover .nav-link,
.hover-blue:active .nav-link,
.hover-blue.active .nav-link,
.hover-blue:hover i,
.hover-blue:active i,
.hover-blue.active i,
.hover-blue:hover span,
.hover-blue:active span,
.hover-blue.active span {
  color: var(--bs-primary-text-emphasis);
}

/* ==========================================================================
   Theme switcher (icons / transitions)
   ========================================================================== */

.mirror-icon {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}
.mirror-icon-rotate-25 {
  transform: scaleX(-1) rotate(-25deg);
  -webkit-transform: scaleX(-1) rotate(-25deg)
}


.theme-toggle {
  cursor: pointer;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.theme-icon-active { display: inline-block; }
.theme-icon-inactive { display: none; }

.theme-transition * {
  transition: background-color 0.3s ease, color 0.2s ease;
}

/* ==========================================================================
   Tooltips
   ========================================================================== */

.tooltip .tooltip-inner {
  font-weight: 600;
  padding: 10px 13px;
}

/* ==========================================================================
   Sidebar layout
   ========================================================================== */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 70px;
  height: 100vh;
  
  border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  z-index: 1000;

  overflow-y: auto;
  overflow-x: hidden;

  scrollbar-width: thin;
  scrollbar-color: rgba(108, 117, 125, 0.38) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  min-height: 34px;
  background-clip: padding-box;
  background-color: rgba(108, 117, 125, 0.32);
  border: 2px solid transparent;
  border-radius: 999px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(108, 117, 125, 0.48);
}

.sidebar::-webkit-scrollbar-thumb:active {
  background-color: rgba(108, 117, 125, 0.62);
}

.sidebar .nav-link {
  color: #6c757d;
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity));
  font-size: 18px;
  margin: 4px 0;
  border-radius: 0.8rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}

.sidebar .nav-link.no-icon:hover {
  background-color: var(--app-discord);
  color: #fff !important;
}

.sidebar .nav-link img {
  width: 44px;
  height: 44px;
}

.sidebar-divider {
  width: 40px;
  margin: 5px auto;
}

.sidebar-bottom {
  margin-top: auto;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.sidebar.sidebar-open {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
}

/* ==========================================================================
   Floating controls (toTop / toBottom) + Mobile fixed helpers
   ========================================================================== */

#toTop {
  position: fixed;
  bottom: 13px;
  left: 7px;
  cursor: pointer;
  display: block;
  z-index: 1000;
}

#toBottom {
  position: fixed;
  bottom: 13px;
  right: 7px;
  cursor: pointer;
  display: block;
  z-index: 999;
}

@media (max-width: 992px) {
  #toTop { bottom: 70px; }
  #toBottom { bottom: 70px; }
}

@media (max-width: 576px) {
  .fixed-sm-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
  }
}

/* ==========================================================================
   Emoji picker popover
   ========================================================================== */

.emoji-popover {
  position: fixed;
  z-index: 1080;
  width: 352px;
  max-width: calc(100vw - 16px);
  height: 420px;
  max-height: calc(100vh - 16px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.emoji-popover[hidden] { display: none !important; }

.emoji-popover emoji-picker {
  --bs-bg-opacity: 1;
  --input-font-color: var(--bs-body-color) !important;
  --button-hover-background: rgba(var(--bs-primary-rgb), 0.10) !important;

  --input-focus-border-color: rgba(var(--bs-border-color-rgb), 1) !important;
  --input-focus-box-shadow: none !important;

  --background: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
  --border-color: rgba(var(--bs-primary-rgb), 0.20) !important;
  --text-color: rgba(var(--bs-body-color-rgb), 1) !important;

  --input-background: rgba(var(--bs-body-bg-rgb), 1) !important;
  --input-border-color: rgba(var(--bs-border-color-rgb), 1) !important;

  --border-radius: 0.75rem !important;
}

emoji-picker {
  height: 100%;
  width: 100%;
}

/* ==========================================================================
   Custom comments overlay (Instagram-like)
   ========================================================================== */

.cmodal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1055;
}

.cmodal.cmodal-opened { display: block; }

.cmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.cmodal-dialog {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem;
}

.cmodal-content {
  --bs-bg-opacity: 1;
  width: min(1100px, 100%);
  height: min(80vh, 900px);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.cmodal-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}

.cmodal-body {
  flex: 1;
  overflow: hidden;
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
  min-height: 0;
}

.cmodal-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 0;
}

.cmodal-left {
  overflow: auto;
  padding: 0.5rem 0.25rem;
  -webkit-overflow-scrolling: touch;
  border-right: 1px solid var(--bs-border-color);
  min-height: 0;
}

.cmodal-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.cmodal-right-scroll {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0.25rem;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

.cmodal-composer {
  flex: 0 0 auto;
  border-top: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0;
  position: sticky;
  bottom: 0;
  z-index: 2;
}

@media (max-width: 992px) {
  .cmodal-content { height: 92vh; }

  .cmodal-body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cmodal-grid {
    display: block;
    height: auto;
    min-height: 0;
  }

  .cmodal-left {
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--bs-border-color);
  }

  .cmodal-right-scroll {
    overflow: visible;
    height: auto;
    min-height: 0;
  }
}

body.cmodal-body-open { overflow: hidden; }

/* ==========================================================================
   Post UI (sticky avatar / progress / image grid)
   ========================================================================== */

.post-wrapper { position: relative; }

.sticky-avatar-wrapper { width: 35px; }

.sticky-avatar {
  position: sticky;
  top: 10px;
}

.upload-progress-wrapper {
  height: 6px;
  background: #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4e73df, #224abe);
  transition: width 0.2s ease;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}

.image-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.image-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 325px;
  object-fit: cover;
}

@media (max-width: 420px) {
  .image-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Message composer (contenteditable + buttons)
   ========================================================================== */

.message-editor {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-y: hidden;
  cursor: text;
}

.message-editor:empty::before {
  content: attr(data-placeholder);
  color: #6c757d;
  pointer-events: none;
}

.message-box {
  position: relative;
  display: flex;
  align-items: center;
}

.message-input {
  display: block;
    width: 100%;
    font-weight: 400;
    color: var(--bs-body-color);
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;  
  min-height: 44px !important;
  max-height: 166px !important;
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
  resize: none;
  box-shadow: none !important;
  height: 30px;
  padding: 10px 35px 10px 75px;
  line-height: 1.4;
  border-radius: var(--bs-border-radius-xl) !important;
  font-size: 16px;
}

.message-input:focus { outline: none; }

.send-load {
  position: absolute;
  right: 4px;
  width: 31px;
  height: 31px;
  bottom: 7px;
}

.send-btn {
  position: absolute;
  right: 4px;
  width: 31px;
  height: 31px;
  bottom: 7px;
  border: none;
  border-radius: 50%;
  background: #4c7dff;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.send-btn:hover { background: #3b6cff; }

.send-btn i {
  font-size: 1.1rem;
  display: inline-block;
  transform-origin: center;
}

.upload-btn,
.emoji-btn {
  font-size: 1.1rem;    
  position: absolute;
  width: 35px;
  height: 35px;
  bottom: 5px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--bs-nav-tabs-link-active-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.upload-btn { left: 2px; }
.emoji-btn { left: 35px; }

.upload-btn:hover,
.emoji-btn:hover {
  background: var(--bs-body-bg);
}

/* ==========================================================================
   Role icons & color tiles
   ========================================================================== */

.role-icon-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
}

.role-icon-img-sm {
  width: 21px;
  height: 21px;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
}

.color-tile {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  background: #ccc;
}

.color-tile:hover { transform: scale(1.05); }
.color-tile.active { border-color: #000; }

.color-default {
  background: var(--app-discord);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.color-custom {
  background: #2f3136;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Tabs: custom style + horizontal scroll
   ========================================================================== */

@media (max-width: 576px) {
  .tabs-scroll .nav-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    min-width: max-content;
  }
}

@media (min-width: 576px) {
  .tabs-scroll .nav-tabs {
    display: flex;
    width: 100%;
  }
}

.underline-tabs .nav-tabs {
  border-bottom: 0;
}

.underline-tabs .nav-tabs .nav-link,
.underline-tabs .nav-tabs .nav-link:hover,
.underline-tabs .nav-tabs .nav-link:focus,
.underline-tabs .nav-tabs .nav-link:focus-visible,
.underline-tabs .nav-tabs .nav-link.active {
  border: 0;
  margin-bottom: 0;
  color: var(--bs-nav-tabs-link-active-color);
  background: transparent;
  border-radius: var(--bs-border-radius);
  box-shadow: none;
}

.underline-tabs .nav-tabs .nav-link {
  font-weight: 500;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.underline-tabs .nav-tabs .nav-link:hover,
.underline-tabs .nav-tabs .nav-link:focus,
.underline-tabs .nav-tabs .nav-link:focus-visible,
.underline-tabs .nav-tabs .nav-link.active {
  background: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity, 1));
  color: var(--bs-nav-tabs-link-active-color);
}

.underline-tabs .nav-tabs .nav-link.active {
  font-weight: 600;
}

.tab-pane.fade {
  transition: opacity 0.2s ease-out;
}

.tab-pane.fade.show {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabs-scroll {
  padding: 0.4rem;
  background: var(--bs-body-bg);
  border-radius: var(--bs-border-radius);
  border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  box-shadow: var(--bs-box-shadow-sm);
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.tabs-scroll .nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.tabs-scroll .nav .nav-item {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 14px;
}

.tabs-scroll .nav .nav-link {
  white-space: nowrap;
  margin: 0 1px;
}

.w-fixed-icon-1 {
  font-size: 0.9rem;
  margin-right: 1rem;
  width: 0.9rem;
  min-width: 0.9rem;
  text-align: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

/* ==========================================================================
   Avatar status indicators
   ========================================================================== */

.avatar-wrapper {
  --avatar-status-size: 16px;
  --avatar-status-border-width: 2px;
  --avatar-status-font-size: 0.7rem;
  --avatar-status-offset: 4%;
  position: relative;
  display: inline-block;
}

.avatar-img {
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-wrapper.avatar-status-sm,
.avatar-status.avatar-status-sm,
.avatar-status-offline.avatar-status-sm,
.avatar-status-warning.avatar-status-sm {
  --avatar-status-size: 13px;
  --avatar-status-border-width: 2px;
  --avatar-status-font-size: 0.51rem;
  --avatar-status-offset: 1px;
}

.avatar-wrapper.avatar-status-md,
.avatar-status.avatar-status-md,
.avatar-status-offline.avatar-status-md,
.avatar-status-warning.avatar-status-md {
  --avatar-status-size: 16px;
  --avatar-status-border-width: 2px;
  --avatar-status-font-size: 0.7rem;
  --avatar-status-offset: 3%;
}

.avatar-wrapper.avatar-status-lg,
.avatar-status.avatar-status-lg,
.avatar-status-offline.avatar-status-lg,
.avatar-status-warning.avatar-status-lg {
  --avatar-status-size: 22px;
  --avatar-status-border-width: 3px;
  --avatar-status-font-size: 0.9rem;
  --avatar-status-offset: 4%;
}

.avatar-wrapper.avatar-status-xl,
.avatar-status.avatar-status-xl,
.avatar-status-offline.avatar-status-xl,
.avatar-status-warning.avatar-status-xl {
  --avatar-status-size: 26px;
  --avatar-status-border-width: 3px;
  --avatar-status-font-size: 1rem;
  --avatar-status-offset: 4%;
}

.avatar-wrapper.avatar-status-xxl,
.avatar-status.avatar-status-xxl,
.avatar-status-offline.avatar-status-xxl,
.avatar-status-warning.avatar-status-xxl {
  --avatar-status-size: 32px;
  --avatar-status-border-width: 4px;
  --avatar-status-font-size: 1.2rem;
  --avatar-status-offset: 4%;
}

.avatar-status,
.avatar-status-offline,
.avatar-status-warning {
  position: absolute;
  bottom: var(--avatar-status-offset);
  right: var(--avatar-status-offset);
  width: var(--avatar-status-size);
  height: var(--avatar-status-size);
  border: var(--avatar-status-border-width) solid rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity));
  border-radius: 50%;
}

.avatar-status { background-color: #28a745; }
.avatar-status-offline { background-color: #6c757d; }
.avatar-status-warning { background-color: #ffc107; }

.avatar-status-presence-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--bs-body-bg-rgb), 0.98) !important;
  font-size: var(--avatar-status-font-size);
  line-height: 1;
}

.avatar-status-presence-icon i {
  line-height: 1;
}

.avatar-status-warning.avatar-status-presence-icon,
.avatar-status-offline.avatar-status-presence-icon {
  color: #6c757d;
}

/* ==========================================================================
   Events
   ========================================================================== */

.event-unpublish { 
    border: 2px solid #ffc107;
}
.event-active { border: 2px solid #ff7b72; }
.event-today { border: 2px solid #3fb950; }

.event-inactive {
  border: 2px solid var(--bs-card-border-color);
  filter: grayscale(100%);
}

.event-online {
  border: 2px solid #7289da;
  transition: border-color 0.3s ease-in-out;
  position: relative;
}

.event-online::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(76, 119, 224, 0.15);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  animation: ripple-lite 1.5s ease-out infinite;
}

@keyframes ripple-lite {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* ==========================================================================
   Club Awards
   ========================================================================== */

.award-thumb-box {
  min-width: 100px;
  max-width: 120px;
  height: 100px;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-thumb-box-sm {
  min-width: 75px;
  max-width: 95px;
  height: 75px;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .award-thumb-box {
    min-width: 80px;
    max-width: 100px;
    height: 80px;
  }

  .award-thumb-box-sm {
    min-width: 65px;
    max-width: 85px;
    height: 65px;
  }
}

@media (max-width: 576px) {
  .award-thumb-box {
    min-width: 70px;
    max-width: 90px;
    height: 70px;
  }
}

.award-thumb-box-sm:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  transform: scale(1.1);
  filter: brightness(1.08) contrast(1.04);
}

.award-thumb-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.award-thumb-box-sm img,
.award-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.award-thumb-box:hover img {
  transform: scale(1.1);
  filter: brightness(1.08) contrast(1.04);
}

#club-awards-page .js-awards-filter-button {
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

#club-awards-page .js-awards-filter-button:hover {
  transform: translateY(-1px);
}

#club-awards-page .js-awards-filter-button.active {
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.08);
}

#club-awards-page .club-awards-sort-status {
  min-height: 18px;
  opacity: 0;
  transform: translateY(-2px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    color 0.18s ease;
}

#club-awards-page .club-awards-sort-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#club-awards-page .js-category-item,
#club-awards-page .js-awards-filter-section,
#club-awards-page .js-award-item {
  backface-visibility: hidden;
}

#club-awards-page .js-category-item,
#club-awards-page .js-award-item {
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease;
}

#club-awards-page .js-category-handle,
#club-awards-page .js-award-handle {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#club-awards-page .js-category-item:hover .js-category-handle,
#club-awards-page .js-award-item:hover .js-award-handle {
  transform: translateY(-1px);
}

#club-awards-page .club-awards-sortable-ghost {
  opacity: 0.28 !important;
}

#club-awards-page .club-awards-sortable-chosen {
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.12);
}

#club-awards-page .club-awards-sortable-drag {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.16);
  transform: scale(1.01);
  z-index: 20;
}

#club-awards-page .is-sort-updated {
  animation: clubAwardsSortUpdated 0.45s ease;
}

@keyframes clubAwardsSortUpdated {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.18);
  }

  100% {
    box-shadow: 0 0 0 0.65rem rgba(13, 110, 253, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #club-awards-page .js-awards-filter-button,
  #club-awards-page .club-awards-sort-status,
  #club-awards-page .js-category-item,
  #club-awards-page .js-award-item,
  #club-awards-page .js-category-handle,
  #club-awards-page .js-award-handle {
    transition: none;
  }

  #club-awards-page .is-sort-updated {
    animation: none;
  }
}

/* ==========================================================================
   Club themes: generic gradients
   ========================================================================== */

.card-bg-gradient-action { background: linear-gradient(135deg, #6f7cfc, #4a5df9); color: #fff; }
.card-bg-gradient-blue   { background: linear-gradient(135deg, #6fb1fc, #4364f7); color: #fff; }
.card-bg-gradient-green  { background: linear-gradient(135deg, #5efc82, #00b36b); color: #fff; }
.card-bg-gradient-purple { background: linear-gradient(135deg, #a18cd1, #fbc2eb); color: #2d0036; }
.card-bg-gradient-orange { background: linear-gradient(135deg, #f6d365, #fda085); color: #4a2c00; }

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Telegram helpers
   ========================================================================== */

.text-telegram { color: var(--app-telegram) !important; }
.bg-telegram { background-color: var(--app-telegram) !important; }

.btn-telegram {
  background-color: #54a9eb;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-telegram:hover,
.btn-telegram:focus {
  background-color: #46a1e7;
  color: #fff;
}

.btn-telegram:active {
  background-color: #46a1e7;
  color: #fff;
}

/* ==========================================================================
   Dropdown / Pills rounding
   ========================================================================== */

.dropdown-item,
.nav-pills .nav-link,
.hover-light,
.hover-blue {
  border-radius: var(--bs-border-radius-xl) !important;
}

/* ==========================================================================
   Avatar clickable + group avatar size
   ========================================================================== */

#avatar-clickable:hover {
  transform: scale(1.04);
  transition: transform 0.3s ease;
}

.img-gr-av {
  width: 145px;
  height: 145px;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .img-gr-av { width: 125px; height: 125px; }
}

@media (max-width: 992px) {
  .img-gr-av { width: 115px; height: 115px; }
}

@media (max-width: 768px) {
  .img-gr-av { width: 105px; height: 105px; }

  .mobile-edge {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 576px) {
  .img-gr-av { width: 100px; height: 100px; }
}

/* ==========================================================================
   Blockquote
   ========================================================================== */

blockquote {
  position: relative;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--bs-primary);
  border-radius: 0.25rem;
  color: var(--bs-body-color);
  font-size: 0.95rem;
  line-height: 1.4;
}

blockquote p { margin-bottom: 0; }

blockquote footer {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
}

/* ==========================================================================
   Post images
   ========================================================================== */

.gallery-grid {
  display: grid;
  gap: 0.21rem;
}

.gallery-grid__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--bs-secondary-bg, #f1f3f5);
  text-decoration: none;
}

.gallery-grid__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid__item--xl { aspect-ratio: 16 / 9; }
.gallery-grid__item--lg { aspect-ratio: 5 / 3; }
.gallery-grid__item--md { aspect-ratio: 4 / 3; }
.gallery-grid__item--sm { aspect-ratio: 1 / 1; }

.gallery-grid__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
}

/* Layouts 1..10 */
.gallery-grid--1 { grid-template-columns: 1fr; }
.gallery-grid--2 { grid-template-columns: repeat(2, 1fr); }

.gallery-grid--3 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid--3 .gallery-grid__item:nth-child(1) {
  grid-column: 1 / -1;
}

.gallery-grid--4 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid--4 .gallery-grid__item:nth-child(1) {
  grid-column: 1 / -1;
}

.gallery-grid--5 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-grid--5 .gallery-grid__item:nth-child(1),
.gallery-grid--5 .gallery-grid__item:nth-child(2) {
  grid-column: span 3;
}

.gallery-grid--5 .gallery-grid__item:nth-child(n + 3) {
  grid-column: span 2;
}

.gallery-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid--7 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-grid--7 .gallery-grid__item:nth-child(1),
.gallery-grid--7 .gallery-grid__item:nth-child(2) {
  grid-column: span 3;
}

.gallery-grid--7 .gallery-grid__item:nth-child(3),
.gallery-grid--7 .gallery-grid__item:nth-child(4),
.gallery-grid--7 .gallery-grid__item:nth-child(5) {
  grid-column: span 2;
}

.gallery-grid--7 .gallery-grid__item:nth-child(6),
.gallery-grid--7 .gallery-grid__item:nth-child(7) {
  grid-column: span 3;
}

.gallery-grid--8 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-grid--8 .gallery-grid__item:nth-child(1),
.gallery-grid--8 .gallery-grid__item:nth-child(2) {
  grid-column: span 3;
}

.gallery-grid--8 .gallery-grid__item:nth-child(n + 3) {
  grid-column: span 2;
}

.gallery-grid--9 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid--10 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-grid--10 .gallery-grid__item:nth-child(1),
.gallery-grid--10 .gallery-grid__item:nth-child(2) {
  grid-column: span 3;
}

.gallery-grid--10 .gallery-grid__item:nth-child(3),
.gallery-grid--10 .gallery-grid__item:nth-child(4),
.gallery-grid--10 .gallery-grid__item:nth-child(5),
.gallery-grid--10 .gallery-grid__item:nth-child(6),
.gallery-grid--10 .gallery-grid__item:nth-child(7),
.gallery-grid--10 .gallery-grid__item:nth-child(8) {
  grid-column: span 2;
}

.gallery-grid--10 .gallery-grid__item:nth-child(9),
.gallery-grid--10 .gallery-grid__item:nth-child(10) {
  grid-column: span 3;
}

.gallery-grid__item:hover .gallery-grid__img {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

.gallery-grid__img {
  transition: transform 0.2s ease;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .gallery-grid__item--xl,
  .gallery-grid__item--lg,
  .gallery-grid__item--md {
    aspect-ratio: 4 / 3;
  }

  .gallery-grid__item--sm {
    aspect-ratio: 1 / 1;
  }

  .gallery-grid--1 .gallery-grid__item:nth-child(1),
  .gallery-grid--3 .gallery-grid__item:nth-child(1),
  .gallery-grid--4 .gallery-grid__item:nth-child(1) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .gallery-grid--single .gallery-grid__item {
    aspect-ratio: auto !important;
    max-width: min(100%, 720px);
    max-height: 520px;
    background: var(--bs-secondary-bg, #f1f3f5);
    margin: 0 auto;
  }

  .gallery-grid--single .gallery-grid__img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    margin: 0 auto;
  }
}


/* ==========================================================================
   Nav links: Bootstrap 5.3 override
   ========================================================================== */

.nav-vertical .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--bs-nav-tabs-link-active-color);
  background: transparent;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-vertical .nav-link:hover,
.nav-vertical .nav-link:focus,
.nav-vertical .nav-link:focus-visible,
.nav-vertical .nav-link.active,
.nav-vertical .nav-link:active {
  background: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity, 1));
  color: var(--bs-nav-tabs-link-active-color);
  box-shadow: none;
}

/* BEGIN fixed icon sizing */
.fixed-icon-size-1 { --fixed-icon-size: .75rem; }
.fixed-icon-size-2 { --fixed-icon-size: .875rem; }
.fixed-icon-size-3 { --fixed-icon-size: 1rem; }
.fixed-icon-size-4 { --fixed-icon-size: 1.125rem; }
.fixed-icon-size-5 { --fixed-icon-size: 1.25rem; }
.fixed-icon-size-6 { --fixed-icon-size: 1.375rem; }
.fixed-icon-size-7 { --fixed-icon-size: 1.5rem; }
.fixed-icon-size-8 { --fixed-icon-size: 1.75rem; }
.fixed-icon-size-9 { --fixed-icon-size: 2rem; }
.fixed-icon-size-10 { --fixed-icon-size: 2.25rem; }

.fixed-icon-size-1,
.fixed-icon-size-2,
.fixed-icon-size-3,
.fixed-icon-size-4,
.fixed-icon-size-5,
.fixed-icon-size-6,
.fixed-icon-size-7,
.fixed-icon-size-8,
.fixed-icon-size-9,
.fixed-icon-size-10 {
  width: var(--fixed-icon-size);
  min-width: var(--fixed-icon-size);
  height: var(--fixed-icon-size);
  min-height: var(--fixed-icon-size);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--fixed-icon-size);
  font-size: var(--fixed-icon-size) !important;
  line-height: 1 !important;
  text-align: center;
  vertical-align: middle;
}

.fixed-icon-size-1::before,
.fixed-icon-size-2::before,
.fixed-icon-size-3::before,
.fixed-icon-size-4::before,
.fixed-icon-size-5::before,
.fixed-icon-size-6::before,
.fixed-icon-size-7::before,
.fixed-icon-size-8::before,
.fixed-icon-size-9::before,
.fixed-icon-size-10::before {
  display: block;
  line-height: 1 !important;
}
/* END fixed icon sizing */