@tailwind base;
@tailwind components;
@tailwind utilities;

html {
    font-family: "Inter", sans-serif;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-feature-settings: normal;
}

:root{
  --header-h:4.5rem;
  --gap: 24px;
  --left-w: 260px;
  --right-w: 420px;
  --center-w: 780px;
  --brd: #e5e7eb;
  --panel:#fff;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
    --toastify-icon-color-success: #28a745;
  --toastify-icon-color-error: #dc3545;
  --toastify-icon-color-white: #FFF;
}

body{
  background-color:#f4f4f4 !important;color:#191919 !important;    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
i[class^="ki-"]{ font-size:18px; line-height:1;color:#3479E5;}
.ki-16 { font-size: 16px !important; }
.ki-18 { font-size: 18px !important; }
.ki-20 { font-size: 20px !important; }
.ki-22 { font-size: 22px !important; }
.ki-24 { font-size: 24px !important; }
.ki-26 { font-size: 26px !important; }
.ki-28 { font-size: 28px !important; }
.ki-30 { font-size: 30px !important; }
.ki-32 { font-size: 32px !important; }
.fs-7 {
    font-size: .875rem !important;
}
.primary{color:#2385e7 !important;}
.btn-primary{background-color:#0284c7 !important;}
.btn-primary:hover{background-color:#0ea5e9 !important;}
.btn-secondary{background-color:#f1f1f4 !important;border:0 !important;color:#000 !important;}
.btn-secondary:hover{background-color:#dbdfe9 !important;}
.btn-success{background-color:#d1e7dd !important;color:#000 !important;}
.dropdown-menu{
    padding: 0 !important;
}
.frame{
  display:flex;
  gap: var(--gap);
  padding:0;
  min-height: calc(100vh - var(--header-h));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #c9eaff;
  padding: .5rem 1rem;
  box-sizing: border-box;
  min-height:4.5rem;
}

.site-header .header-left {
  flex: 0 0 var(--left-w);
  max-width: var(--left-w);
  display: flex;
  align-items: center;
}

.site-header .topbar-center {
  flex: 0 0 var(--center-w);
  max-width: var(--center-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.site-header .header-right {
  flex: 0 0 var(--right-w);
  max-width: var(--right-w);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
}

.site-header .topbar-search {
  width: 100%;
  height: 42px;
  background-color: #9dd4f6 !important;
  border-radius:.475rem !important
}
.header-burger {
  width: 34px;
  height: 30px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 2px;
  margin-right: 12px;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .site-header .header-left {
    flex: 0 0 auto;
  }
  .site-header .topbar-center {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .site-header .header-right {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .site-header .topbar-search {
    display: none;
  }
}
.topbar-search{
  height: 42px;
  background-color: #9dd4f6 !important;

}
@media (max-width: 767.98px) {
  .topbar-search {
    display: none !important;
  }
}

@media (max-width: 992px){
  :root { --center-width: 600px; }
}
@media (max-width: 768px){
  :root { --center-width: 100%; }
}
.left{
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: auto;
  flex: 0 0 var(--left-w);
  width: var(--left-w);
  background:#f4f4f4;
  padding-left:15px;
  display: flex;
  flex-direction: column;
}
.left__scroll{
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding:0;
}
.middle{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  justify-content:center;
}
.center{
  flex: 0 0 var(--center-w);
  width: var(--center-w);
  max-width: 100%;
}

.right{
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: auto;
  flex: 0 0 var(--right-w);
  width: var(--right-w);
  background:#f4f4f4;
  margin-right: 0;
}

.left.is-collapsed,
.right.is-collapsed{ display:none; }
@media (max-width: 1024px) {
  #rightToggle {
    color: transparent;
  }
  #rightToggle::after {
    content: '‹';
    color: #000;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    pointer-events: none;
  }
}
@media (min-width: 1025px) {
  .rb-toggle .rb-ico svg {
    display: inline-block;
    transition: transform .18s ease-out;
  }

  .rb-toggle.is-collapsed .rb-ico svg {
    transform: rotate(180deg);
  }
}
.rb-toggle {
  position: fixed;
  right: 15px;
  top: 85px;
  z-index: 100;
  width: 45px;
  height: 45px;
  border: 1px solid var(--brd);
  background: #fff;
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .rb-toggle {
    top: auto;
    bottom: 30px;
    right: 16px;
  }
  .left__scroll{
  padding:0;
}
}
.sb-caption .sb-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 0;
  color:#111;
  border-radius: 5px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}


@media (min-width: 1025px) {
  .sb-caption .sb-close-btn {
    display: none !important;
  }
}

.left-mobile-head.d-flex {
  display: none !important;
}

@media (max-width: 1024px) {
  .left-mobile-head.d-flex {
    display: flex !important;
  }
}
@media (max-width: 1024px) {
  .left-mobile-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    background: #c9eaff;
    position: sticky;
    height:4.5rem;
    margin-bottom:20px;
    top: 0;
    z-index: 2;
  }
}

.left-mobile-logo {
  font-size: 1.2rem;
  letter-spacing: 0.3px;
  color: #111;
}

.left-mobile-head .sb-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 0;
  color:#111;
  border-radius: 5px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .left-mobile-head {
    display: flex;
  }
}
@media (max-width: 1024px){
  .left,
  .right {
    position: fixed;
    top: 0;
    bottom: 0;
    height: auto;
    z-index: 1200;
    background: #f4f4f4;
    padding: 0 !important;
  }

  .left {
    left: 0;
    width: min(80vw, 260px);
    transform: translateX(-100%);
    transition: transform .18s ease-out;
  }
  .right {
    right: 0;
    width: min(80vw, 260px);
    transform: translateX(100%);
    transition: transform .18s ease-out;
  }

  .left.is-open {
    transform: translateX(0);
  }
  .right.is-open {
    transform: translateX(0);
  }

  .left.is-collapsed {
    display: none;
  }
  .right.is-collapsed {
    display: none;
  }

  .frame {
    gap: 0;
  }
}
@media (max-width: 768px){
  .right {
    width: 100vw;
  }
}
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(2px);
  z-index: 1190;
}
.sidebar-overlay.d-none {
  display: none;
}
@media (max-width: 1024px) {
  .sidebar-comment-item {
    border-top: 1px solid #ddd;
    padding-top:10px;
  }
}
.sb-section + .sb-section{ margin-top: 28px; }
.sb-caption{
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 700;
  color: #9aa2b1;
  margin:10px;
  text-transform: uppercase;
}

.sb-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 6px 8px;
  border-radius: 10px;
  color: #111827;
  text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease, transform .02s;
}
.sb-item:hover{
  background: #fff;
}
.sb-item:active{
  transform: translateY(1px);
}
.sb-item.is-active{
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  border: 1px solid #e8ebf1;
}

.sb-ico{
  width: 28px; height: 28px;
  flex: 0 0 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  overflow: hidden;
}
.sb-ico img{ width:100%; height:100%; object-fit: cover; display:block; }
.sb-ico-placeholder{
  width:100%; height:100%;
  display:grid; place-items:center;
  font-weight: 800; color:#9aa2b1;
}

.sb-ico-round{
  border-radius: 50%;
  background: #fff;
}

.sb-title{
  font-size: 16px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sb-content {
    flex: 1;
}

.sidebar__footer{
  margin-top: auto;
  padding: 16px;
}
.sidebar__footer a{
  font-size:13px;display:block; color:#6b7280; text-decoration:none; margin:6px 0;
}
.sidebar__footer a:hover{ text-decoration: underline; }

  .stack-avatars { display: flex; flex-direction: column; }
  .avatar-sq {
    width: 44px; height: 44px;
    border-radius: 12px;
    object-fit: cover;
    background: #222;
  }
  .post-hero-title {
    font-weight: 700;
    line-height: 1.2;
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  }
  .post-hero-sub { font-size: 0.95rem; }
  .shadow-sm { box-shadow: 0 2px 6px rgba(0,0,0,.2); }

  .community-hero{
    background:#fff;
    color:#191919;
    border-radius:0.675rem;
    padding:0;
  }
  .community-avatar--placeholder{
  display:flex;
  align-items:center;
  justify-content:center;

  width:180px;
  height:180px;

  background:#749BF4;
  color:#fff;

  font-weight:700;
  font-size:72px;
  line-height:1;

  border:4px solid #fff;
  border-radius:.675rem;
}
  .community-title{
    font-weight:800;
    letter-spacing:.2px;
    font-size: 1.875rem;
    line-height: 1.4;
    color:#191919;
  }
  .community-subtitle{
    color:#000;
    font-size:clamp(16px, 2vw, 20px);
    margin:8px 0 16px;
  }
  .community-meta{
    list-style:none; padding:0;
    display:flex; gap:28px; justify-content:center; flex-wrap:wrap;
    color:#000;
  }
  .community-meta li{ display:inline-flex; align-items:center; gap:8px; }
  .community-meta .meta-ico{ font-size:18px; line-height:1; }

  .community-tabs{
    border-top:1px solid rgba(255,255,255,.08);
    background:transparent;
  }
  .community-tabs .nav-underline .nav-link{
    color:#707077;;
    padding:18px 0 15px;
    border-bottom:3px solid transparent;
  }
  .community-tabs .nav-underline .nav-link:hover{
    color:#000;
  }
  .community-tabs .nav-underline .nav-link.active{
    color:#000;
    border-bottom-color:#ffaf3d;
  }

  .list-group-item:first-child
 {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
@media (min-width: 1200px) {
h1.card-title, h2.card-title
 {
  font-size: 1.745rem;
  line-height: 1.4;
}
}
h1.card-title a[href]::before,
h1.card-title a[href]::after {
  content: none !important;
}
.badge-online{
  background-color:#18b36b;
  color:#fff;
  font-weight:600;
  font-size:12px;
  line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pm-avatars {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.pm-user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #eee;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.pm-user--placeholder {
  width: 40px;
  height: 40px;
  border-radius: .675rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: #3479E5;
}

.pm-comm {
  position: absolute;
  bottom: -7px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  object-fit: cover;
  background: #FFF;
  border: 1px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.pm-comm--placeholder {
  position: absolute;
  bottom: -7px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: #98a2b3;
  border: 1px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.pm-text {
  flex: 1;
  min-width: 0;
}

.pm-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-title {
  font-size: .875rem;
  letter-spacing: .2px;
  line-height: 1.2;
}

.pm-title a {
  color: #303134;
  text-decoration: none;
}

.pm-title a:hover {
  text-decoration: none;
}

.pm-sub {
  margin: 5px 0 0 5px;
  color: #6b7280;
  font-size:.875rem;
}

.pm-author {
  color: #4c4d4f;
  text-decoration: none;
}

.pm-author:hover {
  text-decoration: none;
}

.pm-time {
  font-size: .85rem;
  white-space: nowrap;
}

  #editorjs-view .codex-editor__redactor {
    padding-bottom: 0 !important;
  }

  .ce-block__content{
    max-width:100% !important;
  }
.reactions-block {
    display: none !important;
}
.reaction-container {
    position: relative;
    display: inline-block;
}

.reaction-popup {
    position: absolute;
    bottom: 110%;
    left: 0;
    display: flex;
    gap: 5px;
    background: #fff;
    border-radius: 20px;
    padding: 6px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 999;
}

.reaction-container:hover .reaction-popup {
    opacity: 1;
    visibility: visible;
}

.reaction-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 20px;
    padding: 0;
    transition: transform 0.2s ease;
}

.reaction-btn:hover {
    transform: scale(1.15);
}
@keyframes pop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.4); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.animate-pop {
  animation: pop 0.4s ease;
}
.reaction-splash {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  width: 10px;
  height: 10px;
  background: rgba(0, 123, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: splash 0.6s ease-out forwards;
  z-index: 1000;
}

@keyframes splash {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(8);
  }
}
.cursor{
  cursor: pointer;
}
.community-tabs .nav-underline .nav-link{
  font-size: .8rem;font-weight: 600;
}
.card, .card-img, .community-hero, .alert{ border-radius:.675rem !important; }
.icon-button{
  background: none;
  border: 0;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}
.comment {
  margin-bottom: 16px;
}
.comment-text {
  font-size: 1.1rem !important;
  line-height: 1.6;
  color: #09090b;
  font-weight:400
}
.comment-text--emoji {
  font-size: 32px !important;
  line-height: 1.2 !important;
  text-align: left;
}
.page-text h1 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2.5rem;
}
.page-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
}
.page-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    margin-top: 1.75rem;
}
 .page-text p {
    margin-bottom: .75rem;
    margin-top: .75rem;
}
.page-text ul {
    padding-left: 1.25rem;
}
.page-text ul li {
    padding-left: 1.75rem;
    position: relative;
}
.c-body {
  position: relative;
  min-height: 36px;
}

.c-ava {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.c-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.c-ava.is-online::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 7px;
  height: 7px;
  background: #30b03d;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #FFF;
    transform: translate(calc (36px - 10px), calc(-1 * 10px + 1px));
}

.c-ava-inline {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.c-ava-inline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-ava-inline.is-online::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 7px;
  height: 7px;
  background: #30b03d;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #fff;
}

.c-content {
  margin-top: 0
}
.c-content,
[class*="c-content"] {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.c-content .pm-title {
  line-height: 1.2;
}
.comment-editor textarea,
#reply-form textarea {
  width: 100%;
  background: transparent;
}

.c-actions a {
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}
.c-actions a:hover {
  text-decoration: underline;
}

.c-reply-form {
  margin-top: 8px;
}
.c-content .pm-title > .d-flex.flex-column {
    margin-left: 45px;
}

:root{
  --c-line: #e5e7eb;
  --elbow-top: 18px;
  --elbow-w: 14px;
}
.c-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.c-children {
  position: relative;
  padding-left: 14px;
}

.c-children.c-children--flat {
  padding-left: 0;
}
.c-children.c-children--flat > .c-list > .c-item::before,
.c-children.c-children--flat > .c-list > .c-item::after {
  content: none;
}

.c-children > .c-list > .c-item {
  position: relative;
}

.c-children > .c-list > .c-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -18px;
  bottom: -8px;
  border-left: 1px solid #e4e4e7;
}

.c-children > .c-list > .c-item:last-child::before {
  bottom: auto;
  height: 26px;
}

.c-children > .c-list > .c-item::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 2px;
  width: 10px;
  height: 18px;

  border-left: 1px solid #e4e4e7;
  border-bottom: 1px solid #e4e4e7;

  border-bottom-left-radius: 14px;
}
.c-children.c-children--flat > .c-list > .c-item::before,
.c-children.c-children--flat > .c-list > .c-item::after {
  content: none;
}
.c-body.comment-focus {
  background-color: #fef3c7;
  border-radius: 12px;
  transition: background-color .4s ease;
}

@keyframes commentFocusFlash {
  0%   { background-color: #fef9c3; }
  60%  { background-color: #fef3c7; }
  100% { background-color: transparent; }
}

.c-body.comment-focus--flash {
  animation: commentFocusFlash 3.5s ease-out forwards;
}
.c-item,
.comment,
.c-body {
  width: 100%;
}

.c-content {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.c-ava {
  flex: 0 0 auto;
}

.reply-slot {
  width: 100%;
}
.community-cover {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.community-avatar-wrapper {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
}

.community-avatar {
    width: 180px;
    height: 180px;
    border: 4px solid #fff;
    object-fit: cover;
}

.community-info {
    margin-top: 80px;
}
.default-cover {
    height: 40px;
}
.rounded-top-block {
        border-top-left-radius: .675rem !important;
    border-top-right-radius: .675rem !important;
}
.card-body img {
    margin-left: auto;
    margin-right: auto;
        display: block;
    width: 100%;
    border-radius:.675rem !important;
}
.card-body img.img-fluid {
        width:auto !important;
    border-radius:.675rem !important;
}
.post-body{--muted:#6c757d;line-height:1.6;font-size:16px}
.post-body p{}
.post-body h1,.post-body h2,.post-body h3,.post-body h4,.post-body h5,.post-body h6{
  margin:1.25rem 0 .75rem;font-weight:600;line-height:1.25
}
.post-body h1{font-size:2rem}
.post-body h2{font-size:1.75rem}
.post-body h3{font-size:1.5rem}
.post-body h4{font-size:1.25rem}
.post-body h5{font-size:1.125rem}
.post-body h6{font-size:1rem}
.post-body ul,.post-body ol{padding-left:1.25rem;margin:0 0 1rem 1rem}
.post-body li+li{margin-top:.25rem}
.post-body a{color:#0b5dd7;text-decoration:none}
.post-body a:hover{text-decoration:underline}
.editorjs-view img { max-width: 100%; height: auto; border-radius:.675rem; display: block; }
.editorjs-view figure { margin: 1rem 0; }
.editorjs-view figcaption { color: #6c757d; font-size: .9rem; margin-top: .25rem; }
.editorjs-view blockquote { border-left: 4px solid #e5e7eb; padding: .75rem 1rem; color:#444; margin: 1rem 0; }
.post-body blockquote, .post-preview blockquote{margin:0 0 1rem !important;padding:.75rem 1rem;border-left:4px solid #369fff;background:#fafafa;border-radius:.5rem}
.post-body blockquote p, .post-preview blockquote p{margin:0}
.post-body blockquote cite, .post-preview blockquote cite{display:block;margin-top:.5rem;color:#555 !important;font-style:normal}
.comment-text blockquote{margin:1rem 0 !important;padding:.75rem 1rem;border-left:4px solid #369fff;background:#fafafa;border-radius:.5rem}
.codex-editor .cdx-quote {
  display: block;
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border-left: 4px solid #369fff;
  background: #fafafa;
  border-radius: .5rem;
}
.codex-editor .cdx-quote__text {
  margin: 0;
}
.codex-editor .cdx-quote__caption {
  display: block;
  margin: .5rem 0 0;
  color: var(--muted);
  font-style: normal;
}
.cdx-quote__text {
    min-height: auto !important
}
.post-preview blockquote p + p{
  display: block;
  margin-top: .5rem;
  color: var(--muted);
  font-style: normal;
}
.post-body hr.edx-delimiter{border:0;height:1px;background:#eee;margin:1.25rem 0}

.post-body figure{margin:0 0 1rem}
.post-body figure img{max-width:100%;height:auto;display:block;border-radius:.5rem}
.post-body figure figcaption{font-size:.875rem;color:var(--muted);margin-top:.25rem}

.post-body .ratio{margin:0 0 1rem}
.post-body .ratio iframe{width:100%;height:100%;border:0}

.post-body mark{background:#fff3cd;padding:.05em .25em;border-radius:.2em}
.post-body code{background:#f6f8fa;border:1px solid #eee;border-radius:.25rem;padding:.15em .35em;font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.post-body u{text-decoration:underline}
.post-body s{text-decoration:line-through}

.post-body .cdx-checklist{margin:0 0 1rem}
.post-body .cdx-checklist__item{display:flex;align-items: flex-start;gap:.5rem;padding:.25rem 0}
.post-body .cdx-checklist__item input[type="checkbox"]{
  width:20px;height:20px;flex:0 0 20px;margin:0;border-radius:.35rem;
  border:2px solid #cbd5e1;background:#fff;cursor:default;position:relative;
  appearance:none !important;-webkit-appearance:none !important;-moz-appearance:none !important;outline:0 !important;
  box-shadow:none !important;background-clip:padding-box;margin-top: calc(.785em - 10px);
}
.post-body .cdx-checklist__item input[type="checkbox"]:checked{
  background:#369fff;border-color:#369fff;margin-top: calc(.785em - 9px);
}
.post-body .cdx-checklist__item input[type="checkbox"]:checked::after{
  content:"";position:absolute;left:1px;top:-2px;right:0;bottom:0;margin:auto;
  width:6px;height:10px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg)
}
.post-body .cdx-checklist__item span{display:inline-block}

.post-body table{width:100%;border-collapse:collapse;margin:0 0 1rem}
.post-body td,.post-body th{border:1px solid #e5e7eb;padding:.5rem;vertical-align:top}
.post-body th{background:#fafafa;font-weight:600}

.ejs-table-wrapper {
  margin: 16px 0;
  overflow-x: auto;
}

.ejs-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

.ejs-table th,
.ejs-table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  vertical-align: top;
}

.ejs-table th {
  font-weight: 600;
  background-color: #f9fafb;
}

.ejs-table--with-headings th {
  background-color: #f9fafb;
}
.post-body .ejs-spoiler-block,
.ejs-spoiler-block {
  margin: 0 0 1rem;
  border: none;
  border-radius: 7px;
  background: transparent;
  padding: 0;
}

.post-body .ejs-spoiler-head,
.ejs-spoiler-head {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;

  border: 1px solid #a3c9ff;
  border-radius: 12px;
  background: #e5edff;
}

.post-body .ejs-spoiler-title,
.ejs-spoiler-title {
  flex: 1;
  font-weight: 400;
  color: #111827;
  text-align: left;
  border: 0;
  padding: 0;
}

.post-body .ejs-spoiler-toggle,
.ejs-spoiler-toggle {
  border: none;
  background: transparent;
  padding: 0;
  font-size: .875rem;
  color: #0b57d0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.post-body .ejs-spoiler-body,
.ejs-spoiler-body {
  display: none;
  padding: 12px 16px;
  background: rgba(245, 248, 255, 0.5);

  border: 1px solid #a3c9ff;
  border-top: none;
  border-radius: 0 0 12px 12px;
  color: #191919;
}

.post-body .ejs-spoiler-block.is-open .ejs-spoiler-head,
.ejs-spoiler-block.is-open .ejs-spoiler-head {
  border-radius: 12px 12px 0 0;
}

.post-body .ejs-spoiler-block.is-open .ejs-spoiler-body,
.ejs-spoiler-block.is-open .ejs-spoiler-body {
  display: block;
}

.ce-delimiter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
  font-size: 1.25rem;
  line-height: 1;
  width: 100%;
    text-align: center;
}

.ce-delimiter:before {
    display: inline-block;
    content: "***";
    font-size: 30px;
    height: 30px;
    letter-spacing: .2em;
}

.ce-block__content,
.ce-toolbar__content {
  margin-left: 20px;
  max-width: calc(100% - 40px);
}
.card-body .ce-block__content {
  margin-left: 0 !important; }
.ce-toolbar {
  left: 0 !important;
}
.ejs-spoiler-preview .ejs-spoiler-toggle {
  pointer-events: none;
  cursor: default;
  opacity: .9;
}

.ce-paragraph[contenteditable="true"]:empty::before,
.ce-paragraph[contenteditable="true"]:has(br:only-child)::before {
  content: attr(data-placeholder);
  color: #9aa1b2;
  display: block;
  pointer-events: none;
}
#editorjs .codex-editor__redactor {min-height:450px;
  padding-bottom: 10px !important;}

.ce-block__content .ce-paragraph{
    padding-top: 5px;
    padding-bottom: 5px;
}
.cdx-block, .card p, .card ol li
 {
    font-size:1.1rem !important;
    line-height: 1.6 !important;
    color: #111 !important;;
}
.card p.text-secondary
 {
    font-size:.9rem !important;
    line-height: 1.6 !important;
    color: #6c757d !important;;
}
.cdx-input
 {
    border:0;
    -webkit-box-shadow: none;
    box-shadow:none;
    border-radius: 0;
    padding: 0;
    color:#6c757d;
}
.cdx-input.cdx-quote__text
 {
    color:#191919 !important;
}
.cdx-input.cdx-quote__caption
 {
    color:#6c757d !important;
}
.image-tool__image img.image-tool__image-picture {
    margin: 0 auto !important;
}
.image-tool__image-picture
 {
    border-radius:.675rem;margin-bottom:0;
}
.image-tool__image {
    margin-bottom: 0 !important;
}
.accordion-button:focus {
    border: 0 !important;box-shadow:none !important;
}
.accordion-button:not(.collapsed) {
    background-color:#f8f9fa !important;
    box-shadow:none !important;
}
.accordion-button:after {
    color:#212529bf !important;
}
.tabs-scroll{
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#d0d0d0 transparent;
}


.tabs-scroll::-webkit-scrollbar{height:6px}
.tabs-scroll::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:10px}
.tabs-scroll::-webkit-scrollbar-track{background:transparent}


.tabs-row{
  flex-wrap:nowrap!important;
  white-space:nowrap;
}

.tabs-row .nav-item{display:inline-flex}
.tabs-row .nav-link{padding-inline:0.75rem}

.tabs-scroll.is-scrollable{
  mask-image: linear-gradient(to right, transparent 0, black 16px, black calc(100% - 16px), transparent 100%);
}
.modal-backdrop.show {
  opacity: 1;
}
.modal-backdrop {
  background: rgba(34, 37, 44, 0.65);
  backdrop-filter: blur(34px) saturate(220%);
  -webkit-backdrop-filter: blur(34px) saturate(220%);
}

.auth-modal .modal-dialog {
  max-width: 420px;
  margin: 1.75rem auto;
  transition: transform .2s ease, opacity .2s ease;
}
@media (max-width: 480px) {
  .auth-modal .modal-dialog { max-width: 92vw; }
}

.auth-modal .modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow:
    0 20px 50px rgba(0,0,0,.25),
    0 2px 10px rgba(0,0,0,.08);
}

.auth-modal .modal-header {
  border: 0;
  justify-content: center;
  padding: 18px 18px 0;
  position: relative;
}
.auth-modal .modal-title {
  font-weight: 700;
  font-size: 18px;
}
.auth-modal .modal-header .btn-close {
  position: absolute;
  right: 20px;
  top: 20px;
  opacity: .6;
}
.auth-modal .modal-header .btn-close:hover { opacity: 1; }

.auth-modal .modal-body {
  padding: 18px 22px 24px;
}

.auth-modal .form-control {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
}
.auth-modal .form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}

.auth-modal .btn-primary, .auth-modal .btn-outline-primary {
  border-radius: 12px;
  height: 44px;
  font-weight: 600;
}
.btn-outline-primary{
  color:#749BF4 !important;
}
.btn-outline-primary:hover{
  border: 1px solid #749BF4 !important;
  background:#FFF !important;
  text-decoration: nona !important;
  color:#749BF4 !important;
  text-decoration: none !important;
}
.auth-modal .modal-body .auth-links,
.auth-modal .modal-body .d-flex.justify-content-between {
  font-size: 14px;
}
.auth-modal a { text-decoration: none; }
.auth-modal a:hover { text-decoration: underline; }

.auth-modal.show .modal-dialog { transform: translateY(0) scale(1); opacity: 1; }
.auth-modal .modal-dialog { transform: translateY(4px) scale(.99); opacity: 0; }

body.modal-open .frame {
  filter: blur(10.2px);
  transition: filter .2s ease;
}
.card iframe {
  border-radius: .675rem;
  overflow: hidden; 
}

.bookmark-btn .bookmark-icon svg { vertical-align: -0.125em; }

.bookmark-btn[data-bookmarked="1"] .bookmark-icon { color: #0ea5e9; }
.bookmark-btn[data-bookmarked="1"] .bookmark-icon g path:first-child { fill: currentColor; }

.bookmark-btn[data-bookmarked="0"] .bookmark-icon g path:first-child { fill: none; }
.actions-row .d-inline-flex svg {
  display: block;
}

.actions-row .d-inline-flex span {
  line-height: 1;
  display: flex;
  align-items: center;
}

.actions-row .d-inline-flex {
  align-items: center;
}
.bookmark-btn svg { display: block; }
.bookmark-count { line-height: 1; display: flex; align-items: center; }
.comment-preview-row:hover svg,  .comment-preview-row:hover span.text-body{
  color: #0ea5e9 !important;
}
.highlight-comment {
  animation: highlight-fade 3.5s ease;
}
@keyframes highlight-fade {
  0%   { background-color: #fef9c3; }
  60%  { background-color: #fef3c7; }
  100% { background-color: transparent; }
}
.attach-name{
  min-width: 0; 
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis; 
  white-space: nowrap; 
}

.comment-attach-left{ min-width:0; overflow:hidden; }
  .c-menu {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1060;
    min-width: 240px;
    background: #fff;
    padding: 8px;
  }
  .c-menu .dropdown-item {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: left;
    font-size: .95rem;
    color: #111827;
  }
  .c-menu .dropdown-item:hover { background: #f5f5f7; }

  .dropdown-menu {
    padding: 6px !important;
    background-color: #FFF !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08), 0 0 1px rgba(0, 0, 0, .16) !important;
    border-radius: 10px !important;
    border:0 !important;
}
.dropdown-item {
    border-radius: 6px !important;font-size:15px !important;line-height:22px !important;
}
.dropdown-item:hover {
    background-color:#f2f2f2 !important;
}

.toast-item{
  display:flex; align-items:center; gap:.5rem;
  padding:.75rem 1rem; margin:0 0 .5rem 0; border-radius:7px;
  color:#09090b; box-shadow:0 8px 24px rgba(0,0,0,.12);
  animation:toastIn .18s ease-out;
  backdrop-filter: blur(6px);
}
.toast-item.success{ background:#FFF; border-bottom: 5px solid rgba(30,160,90,.95); }
.toast-item.error  { background:#FFF; border-bottom: 5px solid rgba(200,60,60,.95); }
.toast-item .toast-close{
  margin-left:auto; background:transparent; border:0; color:#fff;
  font-size:20px; line-height:1; opacity:.9; cursor:pointer;
}
@keyframes toastIn { from{ transform:translateY(-6px); opacity:0 } to{ transform:none; opacity:1 } }
.topbar-center {
  display: flex;
  align-items: center;
  flex: 0 0 var(--center-w);
  max-width: var(--center-w);
  margin: 0 auto;
}

.topbar-search {
  height: 42px;
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 10px;
  padding-left: 14px;
  transition: all 0.15s ease-in-out;
}
.topbar-search:focus {
  border-color: #9dd4f6 !important;
  box-shadow: 0 0 0 3px rgba(157, 212, 246, 0.4);
}

.topbar-center .btn-light {
  background: #fff !important;
  border: 2px solid #fff !important;
  color: #111 !important;
  transition: all 0.15s ease-in-out;
  border-radius:.475rem;
}
.topbar-center .btn-light:hover {
  background: #fff !important;
  border-color: #fff !important;
}

@media (max-width: 767.98px) {
  .topbar-center {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
  .topbar-center .btn-light,
  .topbar-center form {
    display: none !important;
  }
}

.snowflake {
  position: fixed;
  top: -10px;
  color: #9DD4F7;
  font-size: 1rem;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 10px rgba(255,255,255,.8);
  animation-name: snowFall;
  animation-timing-function: linear;
}

@keyframes snowFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}
.mobile-search-form {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #f4f4f4;
  padding: 8px 12px 10px;
  gap: 6px;
  display: flex;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease-out, opacity .18s ease-out;
  z-index: 1100;
}

.mobile-search-form input.form-control {
  background: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  font-size: .9rem;
}

.site-header.mobile-search-open .mobile-search-form {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .mobile-search-form {
    display: none;
  }
}

.topbar-search:focus,
#mobile-search-panel input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

  .shadow-lite{
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  }

.pencil{
    flex-shrink: 0;
    height:.8rem;
    width:.8rem;
}
@media (max-width: 575px) {
  .accordion-body .actions-row {
    flex-direction: column !important;
    text-align: center;
    gap: .5rem !important;
  }
}
@media (max-width: 576px) {
    .profile-post .card,
    .community-hero .card, .community-hero , .rounded-top-block, .card {
        border-radius: 0 !important;
    }
}

  .profile-menu .dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem !important;
    font-size: .95rem !important;
  }

  .profile-menu li + li {
    border-top: 1px solid #f1f1f3;
  }

  .profile-menu .dropdown-item:hover, .profile-menu .dropdown-item:focus {
    background-color: #f9fafb;border-radius:0 !important;
    color: #000 !important;
  }
    .card.pinned .card-body .card.mt-3, .card.pinned .card-body .card.mb-3{
    margin-top: 0 !important;margin-bottom: 0 !important
}
.card.pinned {
    border: none;
    border-radius: .675rem !important;
}
@media (max-width: 767px) {
    .card.pinned {
        border-radius: 0 !important;
    }
.post-body .ejs-spoiler-head, .ejs-spoiler-head {
    padding:7px;
}    
}

.dtf-like{
  display:inline-flex;
  align-items:center;
  border:0;
  border-radius:999px;
  background:#f3f4f6;
  color:#212529cc;
  cursor:pointer;
  line-height:1;
  padding:.4rem .55rem;
  transition:background .15s ease, color .15s ease;
}

.dtf-like.has-count{
  padding:.35rem .55rem;
}

.dtf-like__icon,
.dtf-like svg{
  display:block;
  flex:0 0 auto;
}

.dtf-like__count{
  margin-left:.45rem;
  font-weight:500;
  font-size:1rem;
  line-height:1;
}

.dtf-like:hover{ background:#e5e7eb; }

.dtf-like.is-active{
  background:#fee2e2;
  color:#ff5656;
}
.dtf-like.is-active .dtf-like__icon{
  transform:scale(1.05);
  transition:transform .15s ease, color .15s ease;
}

.dtf-like__count:empty{
  display:none;
}

.dtf-like__heart-filled { display: none; }

.dtf-like.is-active .dtf-like__heart-outline { display: none; }
.dtf-like.is-active .dtf-like__heart-filled  { display: block; }

.dtf-like__icon .dtf-like__heart-outline,
.dtf-like__icon .dtf-like__heart-filled{
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  transition: opacity .15s ease, transform .15s ease;
}

.dtf-like__icon .dtf-like__heart-outline{ opacity: 1; transform: scale(1); }
.dtf-like__icon .dtf-like__heart-filled { opacity: 0; transform: scale(.92); }

.dtf-like.is-active .dtf-like__icon .dtf-like__heart-outline{
  opacity: 0;
  transform: scale(.92);
}
.dtf-like.is-active .dtf-like__icon .dtf-like__heart-filled{
  opacity: 1;
  transform: scale(1.06);
}

a.dtf-like,
a.dtf-like:hover,
a.dtf-like:focus,
a.dtf-like:active {
  text-decoration: none !important;
}

.dtf-like__icon path {
  stroke: currentColor;
  stroke-width: 0.4;
  stroke-linejoin: round;
}

.dtf-like.is-active .dtf-like__icon {
  transform: scale(1.1);
}

.dtf-like__comm__count {
    margin-left: .25rem;
    font-weight: 500;
    font-size: .8rem;
    line-height: 1;
}

.pagination { flex-wrap: wrap; }
.pagination .page-link { white-space: nowrap; }
.c-picker{
  position: relative;
  z-index: 3000;
  display: inline-block;
  min-width: 320px;
}
.c-picker__trigger{
  border-radius:12px;
  padding:.5rem .75rem;
  background:#fff;
  border:1px solid var(--bs-border-color);
}

.c-picker__dropdown{
  position: absolute !important;
  top: calc(100% + 6px);
  left: 0;
  z-index: 3050;
  margin: 0 !important;
}
.c-picker__search{
  position:sticky;
  top:0;
  background:#f8f9fa;
  z-index:2;
}

.c-picker__scroll{
  max-height:320px;
  overflow:auto;
}

.c-picker__item{
  display:flex;
  align-items:center;
  padding:.55rem .75rem;
  cursor:pointer;
  gap:.5rem;
}
.c-picker__item:hover,
.c-picker__item.is-focused{
  background:rgba(0,0,0,.04);
}

.c-picker__none{
  border-bottom:1px solid rgba(0,0,0,.08);
}

.cp-ico-placeholder{
  width:26px;
  height:26px;
  border-radius:8px;
  background:#e2e8f0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:600;
  color:#495057;
  flex:0 0 26px;
}
.c-picker__list .c-picker__item:not(.c-picker__none) + .c-picker__item:not(.c-picker__none){
  border-top: 1px solid rgba(0,0,0,.08);
}
.comm-name{
  white-space: normal;
}

@media (max-width: 576px){
  .comm-name{
    display: inline-block;
    max-width: 8ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }
}

.profile-communities{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.profile-communities__card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:14px;
}
.profile-communities__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.profile-communities__title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}
.profile-communities__count{
  font-size:12px;
  padding:.2rem .5rem;
  border-radius:999px;
  background:rgba(0,0,0,.05);
  color:rgba(0,0,0,.55);
}
.profile-communities__list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pc-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.06);
  background:#f8f9fa;
  text-decoration:none;
  color:inherit;
  max-width:100%;
}
.pc-chip:hover{ background:#f1f3f5; }
.pc-chip__ico{
  width:22px;height:22px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 26px;
  overflow:hidden;
  background:#e2e8f0;
  color:#495057;
  font-weight:700;
  font-size:13px;
  text-transform:uppercase;
}
.pc-chip__ico img{ width:100%; height:100%; object-fit:cover; display:block; }
.pc-chip__name{
  font-weight:400;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:220px;
}
@media (max-width: 576px){
  .pc-chip__name{ max-width:140px; }
}
.comment-text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
  border-radius: 6px;
}
.pagination-wrap {
    display: flex;
    justify-content: center;
}

.pagination-wrap nav {
    background: #fff;
    padding:.50rem;
    border-radius: .65rem;
    display: inline-block;
}
.page-link { margin-left: -1px; }

.pagination.pagination-noname{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:.50rem;
    padding-left:0;
    list-style:none;
}

.pagination.pagination-noname .page-link{
    margin-left:0 !important;
    border-radius:.75rem;
    height:2.5rem;
    min-width:2.5rem;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:500;
    font-size:1.075rem;

    color:#4b5675;
    background:#fff;
    border:1px solid #dee2e6;
    transition:color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.pagination.pagination-noname .page-link:hover{
    z-index:2;
    color:#1b84ff;
    background-color:#f9f9f9;
}

.pagination.pagination-noname .page-link:focus{
    z-index:3;
    outline:0;
    box-shadow:0 0 0 0.2rem rgba(56,103,214,.25)
}

.pagination.pagination-noname .page-item.active .page-link{
    z-index:3;
    color:#fff;
    background-color:#1b84ff;
}

.pagination.pagination-noname .page-item.disabled .page-link{
    color:#888;
    pointer-events:none;
    cursor:auto;
    background-color:#fff;
    border-color:#dee2e6;
}
.pagination.pagination-noname .page-link {
    border-radius: .75rem !important;
}

.pagination.pagination-noname .page-item:first-child .page-link,
.pagination.pagination-noname .page-item:last-child .page-link {
    border-radius: .75rem !important;
}
.feed-date{
  background:#FFF;
  border-radius:.675rem;
  padding:5px;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.feed-date-btn {
  border: none;
}

.feed-date-btn.show,
.feed-date-btn:focus,
.feed-date-btn:focus-visible,
.feed-date-btn:active {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
.feed-switch{
  display:flex;
  align-items:stretch;
  gap:10px;
  background:#eaebf1;
  border-radius:.675rem;
  padding:8px;
  width:max-content;
}

.feed-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:.475rem;
  font-weight:500;
  text-decoration:none;
  user-select:none;
  white-space:nowrap;
}

.feed-pill:link,
.feed-pill:visited,
.feed-pill:hover,
.feed-pill:active{
  text-decoration:none;
}

.feed-pill-left{
  color:#111;
  background:transparent;
}

.feed-pill-left.is-active{
  background:#fff;
  color:#111;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
  padding:5px 10px;
}

.feed-pill-left.is-locked{
  color:#9aa3ad;
  opacity:.9;
}

.feed-pill-right{
  background:transparent;
  color:#111;
  box-shadow:none;
  padding:0;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  border-radius:.475rem;
}

.feed-pill-right.is-active{
  background:#fff;
  color:#111;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
  padding:0 0 0 10px;
}

.feed-pill-right-link{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:5px 5px 5px 0;
  color:inherit;
  text-decoration:none;
  white-space:nowrap;
}
.feed-pill-right-link:hover{
  text-decoration:none;
  color:inherit;
}

.feed-pill-right:not(.is-active) .feed-caret{
  display:none;
}

.feed-caret{
  border:0;
  background:transparent;
  padding:5px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
}

.feed-caret:focus,
.feed-caret:focus-visible{
  outline:none;
  box-shadow:none;
}

.feed-caret:hover{
  background:rgba(0,0,0,.04);
}

.feed-dropdown{
  border:0;
  border-radius:16px;
  padding:10px;
  min-width:240px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.feed-dropdown.dropdown-menu{
  margin-top:8px !important;
}

.feed-dropdown .dropdown-item{
  border-radius:12px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:600;
}

.feed-dropdown .dropdown-item.active,
.feed-dropdown .dropdown-item:active{
  background:rgba(0,0,0,.04);
  color:#111;
}
.feed-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  flex-wrap:nowrap;
}

.feed-date-btn{
  border:0;
  background:#eef0f3;
  border-radius:999px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.feed-date-btn:hover{
  background:#e4e7ec;
}

.feed-date-menu{
  border:0;
  border-radius:16px;
  min-width:280px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.ejs-spoiler-block {
  margin: 0 0 1rem;
  border: 1px solid #a3c9ff;
  border-radius: 12px;
  background: #f5f8ff;
  overflow: hidden;
}

.ejs-spoiler-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #e5edff;
  border: 0;
}

.ejs-spoiler-title {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
  color: #111827;
  padding: 0;
  outline: none;
  order: 1;
}

.ejs-spoiler-toggle {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #0b57d0;
  font-size: .95rem;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.ejs-spoiler-inner {
  display: none;
  border-top: 1px solid #a3c9ff;
  background: rgba(245, 248, 255, 0.7);
}

.ejs-spoiler-block.is-open .ejs-spoiler-inner {
  display: block;
}

.ejs-spoiler-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 0;
}

.ejs-spoiler-tool {
  border: 1px solid #c7cfdb;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
}

.ejs-spoiler-tool:hover {
  background: #f3f6fb;
}

.ejs-spoiler-body-editor {
  position: relative;
  min-height: 120px;
  padding: 12px 16px 16px;
  outline: none;
  color: #191919;
  line-height: 1.6;
  font-size: 1rem;
}

.ejs-spoiler-body-editor[data-empty="1"]::before {
  content: attr(data-placeholder);
  position: absolute;
  top: 12px;
  left: 16px;
  color: #9aa1b2;
  pointer-events: none;
  line-height: 1.6;
}

.ejs-spoiler-body-editor p {
  margin: 0 0 .75rem 0;
}

.ejs-spoiler-body-editor p:last-child {
  margin-bottom: 0;
}

.ejs-spoiler-body-editor ul,
.ejs-spoiler-body-editor ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.ejs-spoiler-body-editor a {
  color: #0b57d0;
  text-decoration: none;
}

.ejs-spoiler-body-editor a:hover {
  text-decoration: underline;
}
.ejs-spoiler-body p:last-child,
.ejs-spoiler-body-editor p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .ejs-spoiler-head {
    padding: 10px 12px;
  }

  .ejs-spoiler-toolbar {
    padding: 10px 12px 0;
    gap: 6px;
  }

  .ejs-spoiler-tool {
    padding: 7px 10px;
    font-size: .9rem;
  }

  .ejs-spoiler-body-editor {
    padding: 10px 12px 12px;
  }

  .ejs-spoiler-body-editor[data-empty="1"]::before {
    top: 10px;
    left: 12px;
  }
}
